[ { "dataset": "CompRealVul", "file": "kvmppc_host_cpu_class_init_967", "fun_name": "kvmppc_host_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.3.reg2mem = alloca i64\n %rax.2.reg2mem = alloca i64\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = trunc i64 %1 to i32\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n %6 = icmp eq i32 %2, -1\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = icmp eq i32 %2, 0\n %8 = icmp eq i1 %7, false\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %0, i64 1, i64 %9)\n %11 = icmp ult i32 %2, 2\n %12 = icmp ne i1 %11, true\n %13 = add i64 %0, 4\n %14 = zext i1 %12 to i64\n %15 = call i64 @FUNC(i64 %13, i64 2, i64 %14)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %16 = trunc i64 %3 to i32\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %17 = icmp eq i32 %16, -1\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i64 %0, 4\n %19 = and i64 %3, 4294967295\n %20 = call i64 @FUNC(i64 %18, i64 3, i64 %19)\n store i64 %20, i64* %rax.1.reg2mem\n br label LBL_4\n LBL_4:\n %21 = trunc i64 %4 to i32\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n %22 = icmp eq i32 %21, -1\n store i64 %rax.1.reload, i64* %rax.2.reg2mem\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = add i64 %0, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 %21, i32* %24, align 4\n store i64 %0, i64* %rax.2.reg2mem\n br label LBL_6\n LBL_6:\n %25 = trunc i64 %5 to i32\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n %26 = icmp eq i32 %25, -1\n store i64 %rax.2.reload, i64* %rax.3.reg2mem\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = add i64 %0, 12\n %28 = inttoptr i64 %27 to i32*\n store i32 %25, i32* %28, align 4\n store i64 %0, i64* %rax.3.reg2mem\n br label LBL_8\n LBL_8:\n %rax.3.reload = load i64, i64* %rax.3.reg2mem\n ret i64 %rax.3.reload\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 0, 6, 1, 5, 4, 3, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @alter_insns, { 2, 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 (i8*)* @kvmppc_read_int_cpu_dt, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gdb_continue_5050", "fun_name": "gdb_continue", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %0, align 4\n %1 = call i64 @FUNC(i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC()\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tls12_get_hash_info_10385", "fun_name": "tls12_get_hash_info", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i8\n %1 = icmp eq i8 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = add nuw nsw i64 %indvars.iv.reload, ptrtoint (i8** @gv_0 to i64)\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp eq i8 %5, %0\n %7 = icmp eq i1 %6, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %8 = icmp ult i64 %indvars.iv.next, 5\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "count_delta_18013", "fun_name": "count_delta", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_2.1.ph.lcssa.reg2mem = alloca i64\n %sv_3.1.reg2mem = alloca i64\n %.reg2mem72 = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %.reg2mem70 = alloca i64\n %sv_1.06.reg2mem = alloca i64\n %sv_0.07.reg2mem = alloca i64\n %.reg2mem68 = alloca i64\n %sv_1.0.ph15.reg2mem = alloca i64\n %sv_2.1.ph16.reg2mem = alloca i64\n %sv_0.0.ph17.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_4 = alloca i64, align 8\n %0 = icmp ult i64 %arg2, 6\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %0, label LBL_12, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %1, i64* %sv_4, align 8\n %2 = add i64 %1, %arg2\n %3 = call i64 @FUNC(i64* nonnull %sv_4)\n %4 = call i64 @FUNC(i64* nonnull %sv_4)\n %5 = load i64, i64* %sv_4, align 8\n %6 = icmp ugt i64 %2, %5\n store i64 %5, i64* %.reg2mem\n store i64 0, i64* %sv_0.0.ph17.reg2mem\n store i64 0, i64* %sv_2.1.ph16.reg2mem\n store i64 0, i64* %sv_1.0.ph15.reg2mem\n store i64 0, i64* %sv_2.1.ph.lcssa.reg2mem\n store i64 0, i64* %sv_1.0.lcssa.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n store i64 %5, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_2, label LBL_10\n LBL_2:\n %sv_1.0.ph15.reload = load i64, i64* %sv_1.0.ph15.reg2mem\n %sv_2.1.ph16.reload = load i64, i64* %sv_2.1.ph16.reg2mem\n %sv_0.0.ph17.reload = load i64, i64* %sv_0.0.ph17.reg2mem\n %.reload = load i64, i64* %.reg2mem\n store i64 %.reload, i64* %.reg2mem68\n store i64 %sv_0.0.ph17.reload, i64* %sv_0.07.reg2mem\n store i64 %sv_1.0.ph15.reload, i64* %sv_1.06.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %.reload69 = load i64, i64* %.reg2mem68\n %7 = add i64 %.reload69, 1\n store i64 %7, i64* %sv_4, align 8\n %8 = inttoptr i64 %.reload69 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = sext i8 %9 to i32\n %11 = icmp slt i8 %9, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_9, label LBL_4\n LBL_4:\n %13 = urem i32 %10, 2\n %14 = icmp eq i32 %13, 0\n %15 = add i64 %.reload69, 2\n %16 = select i1 %14, i64 %7, i64 %15\n %17 = and i32 %10, 2\n %18 = icmp ne i32 %17, 0\n %19 = zext i1 %18 to i64\n %spec.select34 = add i64 %16, %19\n %20 = and i32 %10, 4\n %21 = icmp ne i32 %20, 0\n %22 = zext i1 %21 to i64\n %spec.select35 = add i64 %spec.select34, %22\n %23 = and i32 %10, 8\n %24 = icmp ne i32 %23, 0\n %25 = zext i1 %24 to i64\n %spec.select36 = add i64 %spec.select35, %25\n %26 = urem i32 %10, 16\n %27 = icmp eq i32 %26, 0\n br i1 %27, label %29, label %28\n LBL_5:\n %32 = add i64 %spec.select36, 1\n store i64 %32, i64* %sv_4, align 8\n %33 = inttoptr i64 %spec.select36 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i64\n store i64 %32, i64* %.reg2mem70\n store i64 %35, i64* %sv_3.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %.reload71 = load i64, i64* %.reg2mem70\n %36 = and i32 %10, 32\n %37 = icmp eq i32 %36, 0\n store i64 %.reload71, i64* %.reg2mem72\n store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem\n br i1 %37, label LBL_8, label LBL_7\n LBL_7:\n %38 = add i64 %.reload71, 1\n store i64 %38, i64* %sv_4, align 8\n %39 = inttoptr i64 %.reload71 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i64\n %42 = mul i64 %41, 256\n %43 = or i64 %42, %sv_3.0.reload\n store i64 %38, i64* %.reg2mem72\n store i64 %43, i64* %sv_3.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem\n %.reload73 = load i64, i64* %.reg2mem72\n %44 = icmp eq i64 %sv_3.1.reload, 0\n %45 = icmp eq i1 %44, false\n %spec.select = select i1 %45, i64 %sv_3.1.reload, i64 65536\n %46 = and i32 %10, 64\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n %49 = select i1 %48, i64 0, i64 %spec.select\n %sv_2.0 = add i64 %49, %sv_2.1.ph16.reload\n %50 = add i64 %spec.select, %sv_1.06.reload\n %51 = icmp ugt i64 %2, %.reload73\n store i64 %.reload73, i64* %.reg2mem\n store i64 %sv_0.07.reload, i64* %sv_0.0.ph17.reg2mem\n store i64 %sv_2.0, i64* %sv_2.1.ph16.reg2mem\n store i64 %50, i64* %sv_1.0.ph15.reg2mem\n store i64 %sv_2.0, i64* %sv_2.1.ph.lcssa.reg2mem\n store i64 %50, i64* %sv_1.0.lcssa.reg2mem\n store i64 %sv_0.07.reload, i64* %sv_0.0.lcssa.reg2mem\n store i64 %.reload73, i64* %.lcssa.reg2mem\n br i1 %51, label LBL_2, label LBL_10\n LBL_9:\n %52 = urem i32 %10, 256\n %53 = zext i32 %52 to i64\n %54 = add i64 %sv_0.07.reload, %53\n %55 = add i64 %sv_1.06.reload, %53\n %56 = add i64 %7, %53\n store i64 %56, i64* %sv_4, align 8\n %57 = icmp ugt i64 %2, %56\n store i64 %56, i64* %.reg2mem68\n store i64 %54, i64* %sv_0.07.reg2mem\n store i64 %55, i64* %sv_1.06.reg2mem\n store i64 %sv_2.1.ph16.reload, i64* %sv_2.1.ph.lcssa.reg2mem\n store i64 %55, i64* %sv_1.0.lcssa.reg2mem\n store i64 %54, i64* %sv_0.0.lcssa.reg2mem\n store i64 %56, i64* %.lcssa.reg2mem\n br i1 %57, label LBL_3, label LBL_10\n LBL_10:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %58 = icmp eq i64 %2, %.lcssa.reload\n %59 = icmp eq i64 %sv_1.0.lcssa.reload, %4\n %or.cond = icmp eq i1 %59, %58\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_12\n LBL_11:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_2.1.ph.lcssa.reload = load i64, i64* %sv_2.1.ph.lcssa.reg2mem\n %60 = sub i64 %3, %sv_2.1.ph.lcssa.reload\n %61 = add i64 %60, %sv_0.0.lcssa.reload\n store i64 %61, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload73, { 0, 2, 1 }\n uselistorder i64 %sv_3.1.reload, { 1, 0 }\n uselistorder i64 %.reload71, { 2, 1, 0 }\n uselistorder i64 %sv_3.0.reload, { 1, 0 }\n uselistorder i64 %spec.select36, { 2, 3, 0, 1 }\n uselistorder i32 %10, { 0, 3, 4, 5, 1, 6, 7, 8, 2 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64 %.reload69, { 2, 0, 1 }\n uselistorder i64 %sv_0.07.reload, { 1, 0, 2 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64* %sv_4, { 4, 5, 6, 0, 7, 1, 2, 3, 8 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.ph17.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.1.ph16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.ph15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem68, { 1, 0, 2 }\n uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.1.ph.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6, 7 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64*)* @get_hdr_size, { 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label %29, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "normalize_samples_2334", "fun_name": "normalize_samples", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %0, i64 256)\n %2 = trunc i64 %1 to i32\n %3 = sub i32 14, %2\n %4 = call i64 @FUNC(i64 %0, i64 256, i32 %3)\n %5 = add i32 %3, 6\n %6 = zext i32 %5 to i64\n ret i64 %6\n\n uselistorder i64 %0, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migration_incoming_state_destroy_1334", "fun_name": "migration_incoming_state_destroy", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %1, align 8\n br label LBL_2\n LBL_2:\n %5 = add i64 %0, 8\n %6 = call i64 @FUNC(i64 %5)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_incoming_6951", "fun_name": "do_incoming", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = mul i64 %arg2, 4\n %2 = and i64 %1, 17179869180\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_7\n LBL_1:\n %7 = add i64 %0, 84\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %3, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, -1\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %3)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %16 = icmp eq i32 %12, 1\n %17 = icmp eq i1 %16, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n %18 = add i64 %0, 80\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = urem i32 %20, 10\n %22 = mul i32 %21, 4\n %23 = zext i32 %22 to i64\n %24 = add i64 %0, 40\n %25 = add i64 %24, %23\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = call i64 @FUNC(i64 %25)\n br label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %25, i64 %3)\n %31 = load i32, i32* %19, align 4\n %32 = add i32 %31, 1\n store i32 %32, i32* %19, align 4\n %33 = zext i32 %21 to i64\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %21, { 1, 0 }\n uselistorder i32* %19, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 2, 3, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64)* @kill_TCP_secure_connection, { 1, 0 }\n uselistorder label LBL_7, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_dev_ioctl_create_vm_10853", "fun_name": "kvm_dev_ioctl_create_vm", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_8\n LBL_1:\n %3 = call i64 @FUNC(i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %0)\n %8 = and i64 %3, 4294967295\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1, i64 %0, i64 0)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = and i64 %3, 4294967295\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %0)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n %15 = call i64 @FUNC(i64 %0, i64 %12)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %12)\n %20 = call i64 @FUNC(i64 %9)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %21 = call i64 @FUNC(i64 %12, i64 %9)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 0, 1, 2, 4, 3 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @put_unused_fd, { 1, 0 }\n uselistorder i64 (i64)* @kvm_put_kvm, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i32 1, { 2, 1, 3, 0, 4 }\n uselistorder label LBL_8, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inject_emulated_exception_7958", "fun_name": "inject_emulated_exception", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 14\n %4 = icmp eq i1 %3, false\n %5 = ptrtoint i32* %arg1 to i64\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %5, i64 %5)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %7 = add i64 %5, 4\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i64 %1, 4294967295\n %15 = call i64 @FUNC(i64 %5, i64 %14, i32 %13)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 %5, i64 %16)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 2, 1, 3, 5, 4, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shadow_client_refresh_rect_5420", "fun_name": "shadow_client_refresh_rect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem8 = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64* @calloc(i32 1, i32 16)\n %5 = ptrtoint i64* %4 to i64\n %6 = icmp ne i64* %4, null\n %7 = icmp eq i64 %arg3, 0\n %8 = icmp eq i1 %7, false\n %or.cond = icmp eq i1 %8, %6\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %9 = icmp eq i64* %4, null\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %9, label LBL_9, label LBL_2\n LBL_2:\n call void @free(i64* nonnull %4)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %10 = trunc i64 %arg2 to i32\n %11 = urem i32 %10, 256\n %12 = bitcast i64* %4 to i32*\n store i32 %11, i32* %12, align 4\n %13 = icmp eq i32 %11, 0\n br i1 %13, label LBL_3.LBL_8_crit_edge, label LBL_5\n LBL_4:\n %.pre3 = add i64 %5, 8\n %.pre4 = inttoptr i64 %.pre3 to i64*\n %.pre7 = load i64, i64* %.pre4, align 8\n store i64 %.pre7, i64* %.reg2mem\n store i64 0, i64* %.reg2mem8\n br label LBL_8\n LBL_5:\n %14 = call i64* @calloc(i32 %11, i32 16)\n %15 = ptrtoint i64* %14 to i64\n %16 = add i64 %5, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = icmp eq i64* %14, null\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre = load i32, i32* %12, align 4\n %phitmp = zext i32 %.pre to i64\n %phitmp6 = mul i64 %phitmp, 16\n store i64 %15, i64* %.reg2mem\n store i64 %phitmp6, i64* %.reg2mem8\n br label LBL_8\n LBL_7:\n call void @free(i64* nonnull %4)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %.reload9 = load i64, i64* %.reg2mem8\n %.reload = load i64, i64* %.reg2mem\n %20 = call i64 @FUNC(i64 %.reload, i64 %arg3, i64 %.reload9)\n store i64 1, i64* %sv_0, align 8\n %21 = inttoptr i64 %3 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22, i64* nonnull %sv_0)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %11, { 1, 2, 0 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* (i32, i32)* @calloc, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_9, { 2, 3, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssh_buffer_add_data_5659", "fun_name": "ssh_buffer_add_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %arg2, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_8\n LBL_2:\n %8 = trunc i64 %1 to i32\n %9 = add i32 %8, %arg3\n %10 = icmp ugt i32 %9, %arg3\n %11 = icmp eq i32 %8, 0\n %12 = or i1 %11, %10\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_8\n LBL_3:\n %13 = add i64 %4, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp ult i32 %15, %9\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n %18 = add i64 %4, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %4)\n br label LBL_6\n LBL_6:\n %23 = zext i32 %9 to i64\n %24 = call i64 @FUNC(i64 %4, i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %27, label LBL_7, label LBL_8\n LBL_7:\n %28 = add i64 %4, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = and i64 %1, 4294967295\n %32 = add i64 %30, %31\n %33 = inttoptr i64 %32 to i64*\n %34 = inttoptr i64 %arg2 to i64*\n %35 = call i64* @memcpy(i64* %33, i64* %34, i32 %arg3)\n %36 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %36, align 4\n %37 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %9, { 0, 1, 3, 2 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 0, 5, 4, 3, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64)* @buffer_verify, { 1, 0 }\n uselistorder i32 %arg3, { 2, 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_8, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ctnetlink_setup_nat_4987", "fun_name": "ctnetlink_setup_nat", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = icmp eq i64* %arg2, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_5\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8, i64 0, i64 %0)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = and i64 %9, 4294967295\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %8, i64 1, i64 %16)\n %18 = and i64 %17, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @ctnetlink_parse_nat_setup, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rsvp_destroy_10387", "fun_name": "rsvp_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv4.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem7 = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %indvars.iv4.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_9, label LBL_7\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %3 = inttoptr i64 %.reload to i64*\n %4 = load i64, i64* %3, align 8\n store i64 %4, i64* %24, align 8\n %5 = add i64 %.reload, 8\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_2:\n %.reload8 = load i64, i64* %.reg2mem7\n %6 = inttoptr i64 %.reload8 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 %7, i64* %14, align 8\n %8 = call i64 @FUNC(i64 %0, i64 %.reload8)\n %9 = load i64, i64* %14, align 8\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %.reg2mem7\n br i1 %11, label LBL_2, label LBL_3\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 17\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %12 = mul i64 %indvars.iv.reload, 8\n %13 = add i64 %5, %12\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %.reg2mem7\n br i1 %17, label LBL_2, label LBL_3\n LBL_5:\n %18 = call i64 @FUNC(i64 %.reload)\n %19 = load i64, i64* %24, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %19, i64* %.reg2mem\n br i1 %21, label LBL_1, label LBL_6\n LBL_6:\n %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1\n %exitcond6 = icmp eq i64 %indvars.iv.next5, 256\n store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem\n br i1 %exitcond6, label LBL_8, label LBL_7\n LBL_7:\n %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem\n %22 = mul i64 %indvars.iv4.reload, 8\n %23 = add i64 %22, %1\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp eq i64 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %25, i64* %.reg2mem\n br i1 %27, label LBL_1, label LBL_6\n LBL_8:\n %28 = call i64 @FUNC(i64 %1)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv4.reload, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 2, 0 }\n uselistorder i64* %.reg2mem7, { 1, 2, 0 }\n uselistorder i64* %indvars.iv4.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 0, 3, 1, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_rtp_send_h263_201", "fun_name": "ff_rtp_send_h263", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32*\n %sv_2.15.reg2mem = alloca i32*\n %sv_1.17.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sext = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp slt i32 %3, 0\n %6 = icmp eq i1 %5, false\n %7 = icmp eq i1 %4, false\n %8 = icmp eq i1 %6, %7\n br i1 %8, label LBL_2, label LBL_0.LBL_12_crit_edge\n LBL_1:\n %.pre9 = and i64 %1, 4294967295\n store i64 %.pre9, i64* %rax.0.pre-phi.reg2mem\n br label LBL_12\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %1, 4294967294\n %13 = and i64 %12, 4294967295\n %14 = add i64 %9, 20\n %15 = inttoptr i64 %14 to i32*\n %16 = add i64 %9, 16\n %17 = inttoptr i64 %16 to i32*\n store i32 %3, i32* %.reg2mem\n store i64 %2, i64* %sv_1.17.reg2mem\n store i32* %arg2, i32** %sv_2.15.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.15.reload = load i32*, i32** %sv_2.15.reg2mem\n %sv_1.17.reload = load i64, i64* %sv_1.17.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %18 = load i64, i64* %11, align 8\n %19 = icmp slt i32 %.reload, 2\n br i1 %19, label LBL_7, label LBL_4\n LBL_4:\n %20 = bitcast i32* %sv_2.15.reload to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_7, label LBL_5\n LBL_5:\n %24 = ptrtoint i32* %sv_2.15.reload to i64\n %25 = add i64 %24, 1\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = inttoptr i64 %18 to i8*\n store i8 4, i8* %30, align 1\n %31 = add i64 %24, 2\n %32 = inttoptr i64 %31 to i32*\n %33 = mul i64 %sv_1.17.reload, 4294967296\n %sext3 = add i64 %33, -8589934592\n %34 = ashr exact i64 %sext3, 32\n store i32* %32, i32** %sv_2.0.reg2mem\n store i64 %34, i64* %sv_1.0.reg2mem\n br label LBL_8\n LBL_7:\n %35 = inttoptr i64 %18 to i8*\n store i8 0, i8* %35, align 1\n store i32* %sv_2.15.reload, i32** %sv_2.0.reg2mem\n store i64 %sv_1.17.reload, i64* %sv_1.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32*, i32** %sv_2.0.reg2mem\n %sv_3.0 = add i64 %18, 1\n %36 = inttoptr i64 %sv_3.0 to i8*\n store i8 0, i8* %36, align 1\n %37 = and i64 %sv_1.0.reload, 4294967295\n %38 = call i64 @FUNC(i64 %13, i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = trunc i64 %sv_1.0.reload to i32\n %41 = icmp slt i32 %39, %40\n br i1 %41, label LBL_10, label LBL_8.LBL_11_crit_edge\n LBL_9:\n %.pre = ptrtoint i32* %sv_2.0.reload to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i32 %39, i32* %sv_0.0.reg2mem\n br label LBL_11\n LBL_10:\n %sext4 = mul i64 %38, 4294967296\n %42 = ashr exact i64 %sext4, 32\n %43 = ptrtoint i32* %sv_2.0.reload to i64\n %44 = add i64 %42, %43\n %45 = call i64 @FUNC(i64 %43, i64 %44)\n %46 = sub i64 %45, %43\n %47 = trunc i64 %46 to i32\n store i64 %43, i64* %.pre-phi.reg2mem\n store i32 %47, i32* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %48 = add i64 %18, 2\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %49 = inttoptr i64 %48 to i64*\n %50 = bitcast i32* %sv_2.0.reload to i64*\n %51 = call i64* @memcpy(i64* %49, i64* %50, i32 %sv_0.0.reload)\n %52 = zext i32 %sv_0.0.reload to i64\n %53 = add i64 %48, %52\n %54 = load i32, i32* %15, align 4\n store i32 %54, i32* %17, align 4\n %55 = icmp eq i32 %sv_0.0.reload, %40\n %56 = load i64, i64* %11, align 8\n %57 = sub i64 %53, %56\n %58 = zext i1 %55 to i64\n %59 = and i64 %57, 4294967295\n %60 = call i64 @FUNC(i64 %9, i64 %56, i64 %59, i64 %58)\n %61 = sext i32 %sv_0.0.reload to i64\n %62 = add i64 %.pre-phi.reload, %61\n %63 = inttoptr i64 %62 to i32*\n %64 = sub i32 %40, %sv_0.0.reload\n %65 = sext i32 %64 to i64\n %66 = icmp eq i32 %64, 0\n %67 = icmp slt i32 %64, 0\n %68 = icmp eq i1 %67, false\n %69 = icmp eq i1 %66, false\n %70 = icmp eq i1 %68, %69\n store i32 %64, i32* %.reg2mem\n store i64 %65, i64* %sv_1.17.reg2mem\n store i32* %63, i32** %sv_2.15.reg2mem\n store i64 %52, i64* %rax.0.pre-phi.reg2mem\n br i1 %70, label LBL_3, label LBL_12\n LBL_12:\n %rax.0.pre-phi.reload = load i64, i64* %rax.0.pre-phi.reg2mem\n ret i64 %rax.0.pre-phi.reload\n\n uselistorder i32 %64, { 0, 2, 1, 3 }\n uselistorder i64 %56, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 4, 3, 2, 0, 1 }\n uselistorder i64 %43, { 0, 2, 3, 1 }\n uselistorder i32* %sv_2.0.reload, { 1, 0, 2 }\n uselistorder i32* %sv_2.15.reload, { 0, 2, 1 }\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.17.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_2.15.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 3, 0, 1, 4, 5, 6 }\n uselistorder i1 false, { 5, 2, 3, 4, 0, 1 }\n uselistorder i32 0, { 2, 3, 0, 1, 4, 5, 6 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readstr_upto_12082", "fun_name": "readstr_upto", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa426.reg2mem = alloca i64\n %sext.lcssa27.reg2mem = alloca i64\n %.lcssa28.reg2mem = alloca i64\n %.reg2mem44 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 %0)\n %sext5 = mul i64 %4, 4294967296\n %5 = ashr exact i64 %sext5, 32\n %6 = add i64 %5, %0\n %7 = icmp eq i32 %2, 0\n store i64 %6, i64* %.lcssa28.reg2mem\n store i64 %sext5, i64* %sext.lcssa27.reg2mem\n store i64 %3, i64* %.lcssa426.reg2mem\n br i1 %7, label LBL_6, label LBL_1\n LBL_1:\n %8 = ptrtoint i8* %arg2 to i64\n %9 = call i64 @FUNC(i64 %8, i64 %3)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i32 %2, i32* %.reg2mem\n store i64 %6, i64* %.reg2mem44\n store i64 %6, i64* %.lcssa28.reg2mem\n store i64 %sext5, i64* %sext.lcssa27.reg2mem\n store i64 %3, i64* %.lcssa426.reg2mem\n br i1 %11, label LBL_2, label LBL_6\n LBL_2:\n %.reload45 = load i64, i64* %.reg2mem44\n %.reload = load i32, i32* %.reg2mem\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i32\n %14 = and i64 %12, 4294967295\n %15 = call i64 @FUNC(i64 %14, i64 %.reload45)\n %sext = mul i64 %15, 4294967296\n %16 = ashr exact i64 %sext, 32\n %17 = add i64 %16, %.reload45\n %18 = icmp eq i32 %13, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %8, i64 %14)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i32 %13, i32* %.reg2mem\n store i64 %17, i64* %.reg2mem44\n br i1 %21, label LBL_2, label LBL_4\n LBL_4:\n %22 = add i64 %0, 2\n %23 = icmp eq i64 %17, %22\n %24 = icmp eq i32 %.reload, 92\n %25 = icmp eq i1 %24, %23\n store i64 %17, i64* %.lcssa28.reg2mem\n store i64 %sext, i64* %sext.lcssa27.reg2mem\n store i64 %14, i64* %.lcssa426.reg2mem\n br i1 %25, label LBL_5, label LBL_6\n LBL_5:\n %26 = inttoptr i64 %17 to i8*\n store i8 0, i8* %26, align 1\n br label LBL_7\n LBL_6:\n %.lcssa426.reload = load i64, i64* %.lcssa426.reg2mem\n %sext.lcssa27.reload = load i64, i64* %sext.lcssa27.reg2mem\n %.lcssa28.reload = load i64, i64* %.lcssa28.reg2mem\n %27 = call i64 @FUNC(i64 %0, i64 %.lcssa426.reload)\n %sext2 = sub i64 0, %sext.lcssa27.reload\n %28 = ashr exact i64 %sext2, 32\n %29 = add i64 %28, %.lcssa28.reload\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n br label LBL_7\n LBL_7:\n ret i64 %0\n\n uselistorder i64 %17, { 3, 0, 2, 1 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 3, 4, 5, 6, 0, 1, 2 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem44, { 2, 0, 1 }\n uselistorder i64* %.lcssa28.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sext.lcssa27.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %.lcssa426.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @is_one_of, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i64 32, { 1, 2, 0, 3 }\n uselistorder i64 (i64, i64)* @g_unichar_to_utf8, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @inchar, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hardware_enable_11418", "fun_name": "hardware_enable", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC()\n %sext = mul i64 %2, 4294967296\n %3 = ashr exact i64 %sext, 29\n %4 = add i64 %3, ptrtoint (i64* @gv_0 to i64)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC()\n %9 = and i64 %8, 8192\n %10 = icmp eq i64 %9, 0\n store i64 4294967280, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_5\n LBL_1:\n %11 = add i64 %3, ptrtoint (i64* @gv_1 to i64)\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 58, i64 %1)\n %14 = call i64 @FUNC()\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %spec.select = select i1 %16, i64 3, i64 7\n %17 = sub i64 0, %1\n %18 = sub i64 %17, 1\n %19 = and i64 %spec.select, %18\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = or i64 %spec.select, %1\n %22 = call i64 @FUNC(i64 58, i64 %21)\n br label LBL_3\n LBL_3:\n %23 = call i64 @FUNC()\n %24 = or i64 %23, 8192\n %25 = call i64 @FUNC(i64 %24)\n %26 = load i32, i32* @gv_2, align 4\n %27 = icmp eq i32 %26, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = call i64 @FUNC(i64 %7)\n %29 = call i64 @FUNC()\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 ()* @read_cr4, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bfa_attach_4258", "fun_name": "bfa_attach", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg4 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = icmp ne i64* %arg3, null\n %3 = icmp ne i64* %arg4, null\n %not.or.cond = icmp eq i1 %2, %3\n %storemerge2 = zext i1 %not.or.cond to i64\n %4 = call i64 @FUNC(i64 %storemerge2)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = mul i64 %indvars.iv.reload, 32\n %6 = add i64 %5, %0\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %6, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = add i64 %6, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %6, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %16 = ptrtoint i64* %arg3 to i64\n %17 = ptrtoint i64* %arg5 to i64\n %18 = ptrtoint i64* %arg1 to i64\n %19 = call i64 @FUNC(i64 %18, i64 %arg2, i64 %16, i64 %0, i64 %17)\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %20 = sext i32 %storemerge.reload to i64\n %21 = mul i64 %20, 8\n %22 = add i64 %21, ptrtoint (i64* @gv_0 to i64)\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n %27 = add i32 %storemerge.reload, 1\n store i32 %27, i32* %storemerge.reg2mem\n br i1 %26, label LBL_3, label LBL_4\n LBL_4:\n %28 = call i64 @FUNC(i64 %18, i64 %0)\n ret i64 %28\n\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_get_suspend_job_lock_8680", "fun_name": "_get_suspend_job_lock", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_1.15.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4210828)\n %1 = load i32, i32* @gv_0, align 4\n %2 = icmp eq i32 %1, 0\n %.pre = trunc i64 %arg1 to i32\n br i1 %2, label LBL_9, label LBL_1\n LBL_1:\n %3 = zext i32 %1 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge6.reg2mem\n store i32 -1, i32* %sv_1.15.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %4 = mul i64 %.reload, 4\n %5 = add i64 %4, ptrtoint (i32** @gv_1 to i64)\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i32 %storemerge6.reload, i32* %sv_1.0.reg2mem\n br i1 %9, label LBL_3, label LBL_5\n LBL_3:\n %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem\n %10 = icmp eq i32 %7, %.pre\n %11 = icmp eq i1 %10, false\n store i32 %sv_1.15.reload, i32* %sv_1.0.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64 0, i64* %storemerge2.in.reg2mem\n br label LBL_13\n LBL_5:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %13 = add i32 %storemerge6.reload, 1\n %14 = sext i32 %13 to i64\n %15 = icmp slt i64 %14, %3\n store i64 %14, i64* %.reg2mem\n store i32 %13, i32* %storemerge6.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.15.reg2mem\n br i1 %15, label LBL_2, label LBL_6\n LBL_6:\n %16 = icmp eq i32 %sv_1.0.reload, -1\n br i1 %16, label LBL_8, label LBL_7\n LBL_7:\n %17 = sext i32 %sv_1.0.reload to i64\n %18 = mul i64 %17, 4\n %19 = add i64 %18, ptrtoint (i32** @gv_1 to i64)\n %20 = inttoptr i64 %19 to i32*\n store i32 %.pre, i32* %20, align 4\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_8:\n %21 = icmp sgt i32 %1, 9\n br i1 %21, label LBL_10, label LBL_9\n LBL_9:\n store i32 ptrtoint (i64* @gv_3 to i32), i32* @gv_0, align 4\n %22 = sext i32 %1 to i64\n %23 = mul i64 %22, 4\n %24 = add i64 %23, ptrtoint (i32** @gv_1 to i64)\n %25 = inttoptr i64 %24 to i32*\n store i32 %.pre, i32* %25, align 4\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_10:\n %26 = load i8, i8* bitcast (i64* @gv_2 to i8*), align 8\n %27 = icmp eq i8 %26, 1\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %27, label LBL_12, label LBL_11\n LBL_11:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @gv_4, i64 0, i64 0), i64 10)\n store i8 1, i8* bitcast (i64* @gv_2 to i8*), align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %29 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64 %sv_0.0.reload, i64* %storemerge2.in.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem\n %storemerge2 = and i64 %storemerge2.in.reload, 4294967295\n ret i64 %storemerge2\n\n uselistorder i32 %storemerge6.reload, { 1, 0 }\n uselistorder i32 %.pre, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 (i64*)* @slurm_mutex_unlock, { 1, 0 }\n uselistorder i64* @gv_2, { 1, 2, 0 }\n uselistorder i64 ptrtoint (i32** @gv_1 to i64), { 1, 2, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_ccw_hcall_notify_1419", "fun_name": "virtio_ccw_hcall_notify", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = bitcast i32* %sv_0 to i64*\n %5 = bitcast i32* %sv_1 to i64*\n %6 = bitcast i32* %sv_2 to i64*\n %7 = bitcast i32* %sv_3 to i64*\n %8 = call i64 @FUNC(i64 %0, i64* nonnull %4, i64* nonnull %5, i64* nonnull %6, i64* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_4\n LBL_1:\n %11 = load i32, i32* %sv_3, align 4\n %12 = zext i32 %11 to i64\n %13 = load i32, i32* %sv_2, align 4\n %14 = zext i32 %13 to i64\n %15 = load i32, i32* %sv_1, align 4\n %16 = zext i32 %15 to i64\n %17 = load i32, i32* %sv_0, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18, i64 %16, i64 %14, i64 %12)\n %20 = icmp eq i64 %19, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %20, label LBL_4, label LBL_2\n LBL_2:\n %21 = call i64 @FUNC(i64 %19)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp ult i64 %3, 256\n %or.cond = icmp eq i1 %25, %24\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_3:\n %26 = call i64 @FUNC(i64 %19)\n %27 = call i64 @FUNC(i64 %26, i64 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 4294967274, { 1, 0, 2 }\n uselistorder label LBL_4, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "redisAeAttach_7129", "fun_name": "redisAeAttach", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = call i64 @FUNC(i64 32)\n %6 = inttoptr i64 %5 to i64*\n store i64 %0, i64* %6, align 8\n %7 = add i64 %5, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %arg1, i64* %8, align 8\n %9 = bitcast i64* %rsi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = add i64 %5, 16\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = add i64 %5, 24\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %5, 20\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %0, 16\n %18 = inttoptr i64 %17 to i64*\n store i64 4198736, i64* %18, align 8\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i64*\n store i64 4198751, i64* %20, align 8\n %21 = add i64 %0, 32\n %22 = inttoptr i64 %21 to i64*\n store i64 4198766, i64* %22, align 8\n %23 = add i64 %0, 40\n %24 = inttoptr i64 %23 to i64*\n store i64 4198781, i64* %24, align 8\n %25 = add i64 %0, 48\n %26 = inttoptr i64 %25 to i64*\n store i64 4198796, i64* %26, align 8\n store i64 %5, i64* %2, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lpfc_sli4_fp_intr_handler_3919", "fun_name": "lpfc_sli4_fp_intr_handler", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = load i64, i64* %0\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i64* %arg2, null\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_14\n LBL_1:\n %8 = zext i32 %5 to i64\n %9 = mul i64 %8, 8\n %10 = add i64 %9, %1\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_14\n LBL_2:\n %15 = call i64 @FUNC(i64 %1)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_5\n LBL_3:\n %20 = inttoptr i64 %12 to i32*\n %21 = call i64 @FUNC(i64 %12)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %21, i64* %.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n br i1 %23, label LBL_8, label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %12, i64 1)\n br label LBL_12\n LBL_5:\n %25 = add i64 %1, 16\n %26 = call i64 @FUNC(i64 %25, i64 %2)\n %27 = load i32, i32* %4, align 4\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %1, i64 %12)\n br label LBL_7\n LBL_7:\n %31 = call i64 @FUNC(i64 %25, i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_8:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %32 = call i64 @FUNC(i64 %1, i64 %.reload, i32 %5)\n %33 = add i32 %sv_0.03.reload, 1\n %34 = load i32, i32* %20, align 4\n %35 = ashr i32 %33, 31\n %36 = zext i32 %33 to i64\n %37 = zext i32 %35 to i64\n %38 = mul i64 %37, 4294967296\n %39 = or i64 %38, %36\n %40 = zext i32 %34 to i64\n %41 = srem i64 %39, %40\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_9, label LBL_10\n LBL_9:\n %45 = call i64 @FUNC(i64 %12)\n %46 = icmp eq i64 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %45, i64* %.reg2mem\n store i32 %33, i32* %sv_0.03.reg2mem\n br i1 %47, label LBL_8, label LBL_11\n LBL_10:\n %48 = call i64 @FUNC(i64 %12, i64 0)\n br label LBL_9\n LBL_11:\n %phitmp = icmp eq i32 %33, 0\n %phitmp4 = icmp eq i1 %phitmp, false\n %49 = call i64 @FUNC(i64 %12, i64 1)\n store i64 1, i64* %rax.0.reg2mem\n br i1 %phitmp4, label LBL_14, label LBL_12\n LBL_12:\n %50 = add i64 %1, 12\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = icmp eq i32 %52, 1\n %54 = icmp eq i1 %53, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_14, label LBL_13\n LBL_13:\n %55 = call i64 @FUNC(i64 %1, i64 2, i64 3, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %33, { 1, 0, 2, 3 }\n uselistorder i64 %12, { 3, 2, 4, 5, 0, 1, 6, 7 }\n uselistorder i64 %1, { 4, 3, 5, 1, 2, 6, 0, 7 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 6, 4, 5 }\n uselistorder i64 (i64, i64)* @lpfc_sli4_eq_release, { 1, 2, 0 }\n uselistorder i64 1, { 1, 0, 3, 2 }\n uselistorder i64 (i64)* @lpfc_sli4_eq_get, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4 }\n uselistorder i1 false, { 6, 0, 7, 5, 8, 1, 2, 9, 3, 4 }\n uselistorder label LBL_14, { 1, 2, 0, 5, 3, 4 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_libssh2_check_length_5879", "fun_name": "_libssh2_check_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, %0\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = sub i64 %4, %7\n %9 = icmp uge i64 %8, %arg2\n %10 = zext i1 %9 to i64\n ret i64 %10\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "celt_search_for_intensity_500", "fun_name": "celt_search_for_intensity", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %xmm0.0.reg2mem = alloca i128\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %zf.07.reg2mem = alloca i1\n %storemerge8.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_2 = alloca i32, align 4\n %3 = call i128 @__asm_movss.1(i32 2139095039)\n %4 = call i64 @FUNC(i128 %3)\n %5 = trunc i64 %1 to i32\n %6 = and i64 %1, 4294967295\n %7 = icmp slt i32 %5, 2\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %7, label LBL_6, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = trunc i64 %2 to i32\n %10 = trunc i64 %4 to i32\n %11 = call i128 @FUNC(i128 %3, i128 %3)\n %12 = call i64 @FUNC(i128 %11)\n %13 = trunc i64 %12 to i32\n %14 = call i128 @FUNC(i128 %11, i128 %11)\n %15 = call i128 @FUNC(i32 %9)\n call void @FUNC(i128 %15, i32 %13)\n %16 = ptrtoint i32* %arg2 to i64\n %17 = add i64 %16, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = bitcast i32* %sv_2 to i64*\n store i32 %9, i32* %storemerge8.reg2mem\n store i1 false, i1* %zf.07.reg2mem\n store i32 %10, i32* %sv_0.15.reg2mem\n store i32 15, i32* %sv_1.14.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %zf.07.reload = load i1, i1* %zf.07.reg2mem\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n store i32 %storemerge8.reload, i32* %18, align 4\n %20 = call i64 @FUNC(i64 %8, i64 %16, i64* nonnull %19)\n %21 = load i32, i32* %sv_2, align 4\n %22 = call i128 @__asm_movss.1(i32 %21)\n %23 = call i128 @__asm_movss.1(i32 %sv_0.15.reload)\n call void @__asm_comiss.2(i128 %23, i128 %22)\n store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n store i128 %23, i128* %xmm0.0.reg2mem\n br i1 %zf.07.reload, label LBL_4, label LBL_3\n LBL_3:\n %24 = load i32, i32* %sv_2, align 4\n %25 = call i128 @__asm_movss.1(i32 %24)\n %26 = call i64 @FUNC(i128 %25)\n %27 = trunc i64 %26 to i32\n store i32 %storemerge8.reload, i32* %sv_1.0.reg2mem\n store i32 %27, i32* %sv_0.0.reg2mem\n store i128 %25, i128* %xmm0.0.reg2mem\n br label LBL_4\n LBL_4:\n %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %28 = add i32 %storemerge8.reload, -1\n %29 = icmp eq i32 %storemerge8.reload, 0\n %30 = icmp eq i32 %28, 0\n %31 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload)\n %32 = call i128 @FUNC(i32 %28)\n call void @FUNC(i128 %32, i32 %13)\n %33 = icmp eq i1 %29, false\n store i32 %28, i32* %storemerge8.reg2mem\n store i1 %30, i1* %zf.07.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.14.reg2mem\n br i1 %33, label LBL_2, label LBL_5\n LBL_5:\n store i32 %sv_1.0.reload, i32* %18, align 4\n %34 = add i64 %8, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = call i128 @__asm_movss.1(i32 %36)\n %38 = load i32, i32* %18, align 4\n %39 = call i128 @FUNC(i128 %32, i128 %32)\n %40 = call i128 @FUNC(i32 %38)\n %41 = call i128 @FUNC(i128 %40, i128 %37)\n %42 = load i32, i32* inttoptr (i64 4202572 to i32*), align 4\n %43 = call i128 @__asm_movss.1(i32 %42)\n %44 = call i128 @FUNC(i128 %41, i128 %43)\n %45 = call i64 @FUNC(i128 %44)\n %46 = trunc i64 %45 to i32\n store i32 %46, i32* %35, align 4\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i128 %32, { 1, 0, 2 }\n uselistorder i128 %xmm0.0.reload, { 1, 0 }\n uselistorder i32 %storemerge8.reload, { 1, 3, 0, 2 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i128 %3, { 1, 0, 2 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 }\n uselistorder i1* %zf.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder void (i128, i32)* @__asm_comiss, { 1, 0 }\n uselistorder i128 (i32)* @__asm_cvtsi2ss, { 1, 2, 0, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "register_avcodec_1302", "fun_name": "register_avcodec", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %1 = inttoptr i64 %storemerge.reload to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_2:\n store i64 %arg1, i64* %1, align 8\n %5 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %5, align 8\n ret i64 %arg1\n\n uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_neon_trn_u8_1999", "fun_name": "gen_neon_trn_u8", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = and i64 %arg1, 4294967295\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 %4, i64 8)\n %7 = call i64 @FUNC(i64 %5, i64 %5, i64 4278255360)\n %8 = and i64 %2, 4294967295\n %9 = call i64 @FUNC(i64 %8, i64 %0, i64 16711935)\n %10 = call i64 @FUNC(i64 %5, i64 %5, i32 %3)\n %11 = call i64 @FUNC(i64 %0, i64 %0, i64 8)\n %12 = call i64 @FUNC(i64 %0, i64 %0, i64 16711935)\n %13 = call i64 @FUNC(i64 %8, i64 %4, i64 4278255360)\n %14 = call i64 @FUNC(i64 %0, i64 %0, i32 %3)\n %15 = call i64 @FUNC(i64 %4, i64 %5)\n %16 = call i64 @FUNC(i64 %8)\n %17 = call i64 @FUNC(i64 %5)\n ret i64 %17\n\n uselistorder i64 %5, { 0, 1, 3, 2, 5, 4, 6 }\n uselistorder i64 %0, { 0, 1, 4, 5, 2, 3, 6 }\n uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @tcg_gen_or_i32, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_i32, { 3, 2, 1, 0 }\n uselistorder i64 ()* @tcg_temp_new_i32, { 1, 0 }\n uselistorder i64 4294967295, { 2, 3, 4, 1, 5, 6, 0, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "async_chainiv_init_9392", "fun_name": "async_chainiv_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %1, 4\n %4 = call i64 @FUNC(i64 %3, i64 100)\n %5 = add i64 %1, 8\n %6 = call i64 @FUNC(i64 %5, i64 4198709)\n %7 = call i64 @FUNC(i64 %0)\n ret i64 %7\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usbip_recv_xbuff_5490", "fun_name": "usbip_recv_xbuff", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = and i64 %2, 4294967295\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_15\n LBL_2:\n %10 = ptrtoint i32* %arg2 to i64\n %11 = add i64 %10, 4\n store i64 %11, i64* %storemerge.in.in.reg2mem\n br label LBL_5\n LBL_3:\n %12 = call i64 @FUNC(i64 %6)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_15\n LBL_4:\n %15 = ptrtoint i32* %arg2 to i64\n %16 = add i64 %15, 8\n store i64 %16, i64* %storemerge.in.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.in.reload = load i64, i64* %storemerge.in.in.reg2mem\n %storemerge.in = inttoptr i64 %storemerge.in.in.reload to i32*\n %storemerge = load i32, i32* %storemerge.in, align 4\n %17 = icmp eq i32 %storemerge, 0\n %18 = icmp slt i32 %storemerge, 0\n %19 = icmp eq i1 %18, false\n %20 = icmp eq i1 %17, false\n %21 = icmp eq i1 %19, %20\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_15\n LBL_6:\n %22 = ptrtoint i32* %arg2 to i64\n %23 = add i64 %22, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = sext i32 %storemerge to i64\n %28 = icmp sgt i64 %27, %26\n br i1 %28, label LBL_7, label LBL_10\n LBL_7:\n %29 = ptrtoint i32* %arg1 to i64\n br i1 %5, label LBL_9, label LBL_8\n LBL_8:\n %30 = call i64 @FUNC(i64 %29, i64 3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %31 = call i64 @FUNC(i64 %29, i64 2)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_10:\n %32 = add i64 %22, 24\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = ptrtoint i32* %arg1 to i64\n %36 = add i64 %35, 4\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39, i64 %34, i32 %storemerge)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %storemerge, %41\n br i1 %42, label LBL_10.dec_label_pc_4012c7_crit_edge, label LBL_12\n LBL_11:\n %.pre = and i64 %40, 4294967295\n store i64 %.pre, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %43 = add i64 %22, 16\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = and i64 %40, 4294967295\n %47 = call i64 @FUNC(i64 %45, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %46)\n br i1 %5, label LBL_14, label LBL_13\n LBL_13:\n %48 = call i64 @FUNC(i64 %35, i64 3)\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %49 = call i64 @FUNC(i64 %35, i64 2)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %40, { 1, 0, 2 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i32 %storemerge, { 1, 0, 2, 4, 3 }\n uselistorder i1 %5, { 1, 0, 2 }\n uselistorder i64* %storemerge.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 8, 7, 3, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @usbip_event_add, { 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32* %arg2, { 1, 2, 0 }\n uselistorder label LBL_15, { 5, 0, 1, 6, 7, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_stswx_1291", "fun_name": "gen_stswx", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = and i64 %4, 4294967295\n %7 = call i64 @FUNC(i64 %2, i64 %6)\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %11 = zext i32 %10 to i64\n %12 = and i64 %8, 4294967295\n %13 = call i64 @FUNC(i64 %12, i64 %11)\n %14 = call i64 @FUNC(i64 %12, i64 %12, i64 127)\n %15 = and i64 %1, 4294967295\n %16 = call i64 @FUNC(i64 %15)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21, i32 %5, i32 %9, i32 %19)\n %23 = call i64 @FUNC(i64 %6)\n %24 = call i64 @FUNC(i64 %12)\n %25 = and i64 %18, 4294967295\n %26 = call i64 @FUNC(i64 %25)\n ret i64 %26\n\n uselistorder i64 %12, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "list_modules_8848", "fun_name": "list_modules", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %2 = call i32 @fwrite(i64* bitcast ([21 x i8]* @gv_1 to i64*), i32 1, i32 20, %_IO_FILE* %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %6 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload)\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %6 to i8*\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8* %8)\n br label LBL_3\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %11 = call i64 @FUNC(i64 %0)\n %12 = and i64 %11, 4294967295\n %13 = icmp ult i64 %indvars.iv.next, %12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %13, label LBL_1, label LBL_4\n LBL_4:\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %15 = call i32 @fputc(i32 10, %_IO_FILE* %14)\n %16 = sext i32 %15 to i64\n ret i64 %16\n\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @gf_modules_get_count, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "remove_short_3484", "fun_name": "remove_short", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge39.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = urem i64 %2, 2\n %5 = icmp eq i64 %4, 0\n %.pre = add i64 %2, 8\n %.pre14 = inttoptr i64 %.pre to i32*\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = load i32, i32* %.pre14, align 4\n %7 = zext i32 %6 to i64\n %8 = and i64 %3, 4294967295\n %9 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %7, i64 %1)\n br label LBL_2\n LBL_2:\n %10 = load i32, i32* %.pre14, align 4\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_10, label LBL_3\n LBL_3:\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = trunc i64 %3 to i32\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge39.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge39.reload = load i32, i32* %storemerge39.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %15 = load i64, i64* %13, align 8\n %16 = mul i64 %.reload, 8\n %17 = add i64 %15, %16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i32*\n br i1 %5, label LBL_6, label LBL_5\n LBL_5:\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = zext i32 %storemerge39.reload to i64\n %24 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %22, i64 %19)\n br label LBL_6\n LBL_6:\n %25 = load i32, i32* %20, align 4\n %26 = icmp eq i32 %25, %14\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_9, label LBL_7\n LBL_7:\n %28 = load i64, i64* %13, align 8\n %29 = add i64 %28, %16\n %30 = inttoptr i64 %29 to i64*\n store i64 0, i64* %30, align 8\n %31 = load i32, i32* %.pre14, align 4\n %32 = add i32 %31, -1\n store i32 %32, i32* %.pre14, align 4\n %33 = icmp eq i32 %32, 0\n store i64 %19, i64* %storemerge.reg2mem\n br i1 %33, label LBL_10, label LBL_8\n LBL_8:\n %34 = sub i32 %32, %storemerge39.reload\n %35 = mul i32 %34, 8\n %36 = load i64, i64* %13, align 8\n %37 = add i64 %36, %16\n %38 = add i64 %37, 8\n %39 = inttoptr i64 %37 to i64*\n %40 = inttoptr i64 %38 to i64*\n %41 = call i64* @memmove(i64* %39, i64* %40, i32 %35)\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_9:\n %42 = add i32 %storemerge39.reload, 1\n %43 = load i32, i32* %.pre14, align 4\n %44 = zext i32 %43 to i64\n %45 = sext i32 %42 to i64\n %46 = icmp slt i64 %45, %44\n store i64 %45, i64* %.reg2mem\n store i32 %42, i32* %storemerge39.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %46, label LBL_4, label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %32, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0, 2, 3 }\n uselistorder i64 %16, { 2, 1, 0 }\n uselistorder i32 %storemerge39.reload, { 1, 2, 0 }\n uselistorder i64* %13, { 1, 0, 2 }\n uselistorder i32* %.pre14, { 3, 1, 0, 2, 4 }\n uselistorder i1 %5, { 1, 0 }\n uselistorder i64 %2, { 2, 4, 3, 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge39.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder label LBL_10, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "diffcore_pathspec_3849", "fun_name": "diffcore_pathspec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem24 = alloca i64\n %.reg2mem22 = alloca i64\n %storemerge2.lcssa.reg2mem = alloca i32\n %storemerge26.reg2mem = alloca i32\n %storemerge19.reg2mem = alloca i32\n %.reg2mem20 = alloca i64\n %.reg2mem18 = alloca i64*\n %.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %1 = sext i32 %storemerge3.reload to i64\n %2 = mul i64 %1, 8\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n %8 = add i32 %storemerge3.reload, 1\n store i32 %8, i32* %storemerge3.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_2:\n %9 = mul i64 %1, 16\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i64, i64* %arg1, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %.reg2mem\n store i64* %arg1, i64** %.reg2mem18\n store i64 0, i64* %.reg2mem20\n store i32 0, i32* %storemerge19.reg2mem\n br i1 %13, label LBL_3, label LBL_8\n LBL_3:\n %storemerge19.reload = load i32, i32* %storemerge19.reg2mem\n %.reload21 = load i64, i64* %.reg2mem20\n %.reload19 = load i64*, i64** %.reg2mem18\n %.reload = load i64, i64* %.reg2mem\n %14 = mul i64 %.reload21, 16\n %15 = add i64 %14, %10\n %16 = inttoptr i64 %15 to i64*\n store i64 %.reload, i64* %16, align 8\n %17 = load i64, i64* %.reload19, align 8\n %18 = inttoptr i64 %17 to i8*\n %19 = call i32 @strlen(i8* %18)\n %20 = icmp slt i32 %19, 1\n store i32 %19, i32* %storemerge2.lcssa.reg2mem\n br i1 %20, label LBL_7, label LBL_4\n LBL_4:\n %21 = load i64, i64* %.reload19, align 8\n %22 = add i64 %21, -1\n store i32 %19, i32* %storemerge26.reg2mem\n br label LBL_6\n LBL_5:\n %23 = add i32 %storemerge26.reload, -1\n %24 = icmp slt i32 %23, 1\n store i32 %23, i32* %storemerge26.reg2mem\n store i32 0, i32* %storemerge2.lcssa.reg2mem\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %storemerge26.reload = load i32, i32* %storemerge26.reg2mem\n %25 = sext i32 %storemerge26.reload to i64\n %26 = add i64 %22, %25\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, 47\n store i32 %storemerge26.reload, i32* %storemerge2.lcssa.reg2mem\n br i1 %29, label LBL_5, label LBL_7\n LBL_7:\n %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem\n %30 = add i64 %15, 8\n %31 = inttoptr i64 %30 to i32*\n store i32 %storemerge2.lcssa.reload, i32* %31, align 4\n %32 = add i32 %storemerge19.reload, 1\n %33 = sext i32 %32 to i64\n %34 = mul i64 %33, 8\n %35 = add i64 %34, %0\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 %37, i64* %.reg2mem\n store i64* %36, i64** %.reg2mem18\n store i64 %33, i64* %.reg2mem20\n store i32 %32, i32* %storemerge19.reg2mem\n br i1 %39, label LBL_3, label LBL_8\n LBL_8:\n %40 = load i32, i32* @gv_0, align 4\n %41 = icmp eq i32 %40, 0\n %42 = load i64, i64* @gv_1, align 8\n store i64 %42, i64* %.reg2mem22\n store i64 0, i64* %.reg2mem24\n store i32 0, i32* %storemerge5.reg2mem\n store i64 %42, i64* %.lcssa.reg2mem\n br i1 %41, label LBL_14, label LBL_9\n LBL_9:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload25 = load i64, i64* %.reg2mem24\n %.reload23 = load i64, i64* %.reg2mem22\n %43 = mul i64 %.reload25, 8\n %44 = add i64 %43, %.reload23\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = call i64 @FUNC(i64 %50, i64 %10, i32 %storemerge3.reload)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_11, label LBL_10\n LBL_10:\n %55 = add i64 %46, 8\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = call i64 @FUNC(i64 %59, i64 %10, i32 %storemerge3.reload)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n br i1 %62, label LBL_12, label LBL_11\n LBL_11:\n %63 = call i64 @FUNC(i64* nonnull %sv_0, i64 %46)\n br label LBL_13\n LBL_12:\n %64 = call i64 @FUNC(i64 %46)\n br label LBL_13\n LBL_13:\n %65 = add i32 %storemerge5.reload, 1\n %66 = load i32, i32* @gv_0, align 4\n %67 = zext i32 %66 to i64\n %68 = sext i32 %65 to i64\n %69 = icmp slt i64 %68, %67\n %70 = load i64, i64* @gv_1, align 8\n store i64 %70, i64* %.reg2mem22\n store i64 %68, i64* %.reg2mem24\n store i32 %65, i32* %storemerge5.reg2mem\n store i64 %70, i64* %.lcssa.reg2mem\n br i1 %69, label LBL_9, label LBL_14\n LBL_14:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %71 = inttoptr i64 %.lcssa.reload to i64*\n call void @free(i64* %71)\n %72 = load i64, i64* %sv_0, align 8\n store i64 %72, i64* @gv_1, align 8\n store i32 0, i32* @gv_0, align 4\n ret i64 %72\n\n uselistorder i64 %72, { 1, 0 }\n uselistorder i64 %46, { 0, 2, 1, 3 }\n uselistorder i32 %storemerge26.reload, { 0, 2, 1 }\n uselistorder i32 %19, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 2, 0 }\n uselistorder i32 %storemerge3.reload, { 3, 2, 1, 0 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.reg2mem18, { 2, 0, 1 }\n uselistorder i64* %.reg2mem20, { 2, 0, 1 }\n uselistorder i32* %storemerge19.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem22, { 2, 0, 1 }\n uselistorder i64* %.reg2mem24, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @matches_pathspec, { 1, 0 }\n uselistorder i64* @gv_1, { 1, 2, 0 }\n uselistorder i32* @gv_0, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i64 8, { 3, 0, 1, 4, 2 }\n uselistorder i32 0, { 5, 7, 8, 0, 4, 1, 2, 3, 6 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_unregister_device_5949", "fun_name": "nfc_unregister_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %5)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %5)\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %5)\n %14 = icmp eq i64* %arg1, null\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %5)\n %16 = call i64 @FUNC(i64 %5)\n br label LBL_4\n LBL_4:\n %17 = add i64 %5, 8\n %18 = inttoptr i64 %17 to i8*\n store i8 1, i8* %18, align 1\n %19 = call i64 @FUNC(i64 %5)\n %20 = add i64 %5, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = add i64 %5, 24\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %5, 28\n %29 = call i64 @FUNC(i64 %28)\n br label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %5)\n %31 = call i64 @FUNC(i64 4210732)\n store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_3 to i32*), align 8\n %32 = call i64 @FUNC(i64 %5)\n %33 = call i64 @FUNC(i64* nonnull @gv_4)\n ret i64 %33\n\n uselistorder i64 %5, { 6, 5, 4, 3, 8, 7, 9, 2, 1, 10, 0, 11, 12 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 1, 0 }\n uselistorder i64 (i64)* @dev_name, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qtest_irq_handler_1832", "fun_name": "qtest_irq_handler", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %4 = zext i32 %arg3 to i64\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = ashr exact i64 %sext, 30\n %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64)\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = icmp eq i32 %9, %arg3\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = and i64 %arg2, 4294967295\n %13 = load i64, i64* @gv_1, align 8\n store i32 %arg3, i32* %8, align 4\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp eq i32 %arg3, 0\n %. = select i1 %15, i64 ptrtoint ([6 x i8]* @gv_2 to i64), i64 ptrtoint ([6 x i8]* @gv_3 to i64)\n %16 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 %., i64 %12, i64 %2, i64 %1)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 %arg3, { 1, 2, 0, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "epoll_init_3784", "fun_name": "epoll_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = call i32 @epoll_create1(i32 524288)\n %1 = icmp eq i32 %0, -1\n %2 = icmp eq i1 %1, false\n store i32 %0, i32* %sv_0.0.reg2mem\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = call i32 @epoll_create(i32 32000)\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = call i32* @__errno_location()\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 38\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_24, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_4:\n %10 = zext i32 %3 to i64\n %11 = call i64 @FUNC(i64 %10)\n store i32 %3, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %12 = call i64 @FUNC(i64 1, i64 24)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_7, label LBL_6\n LBL_6:\n %15 = call i32 @close(i32 %sv_0.0.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_7:\n %16 = inttoptr i64 %12 to i32*\n store i32 %sv_0.0.reload, i32* %16, align 4\n %17 = call i64 @FUNC(i64 16, i64 12)\n %18 = add i64 %12, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = icmp eq i64 %17, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_9, label LBL_8\n LBL_8:\n %22 = call i64 @FUNC(i64 %12)\n %23 = call i32 @close(i32 %sv_0.0.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_9:\n %24 = ptrtoint i64* %arg1 to i64\n %25 = add i64 %12, 16\n %26 = inttoptr i64 %25 to i32*\n store i32 16, i32* %26, align 4\n %27 = bitcast i64* %rdi to i32*\n %28 = load i32, i32* %27, align 8\n %29 = urem i32 %28, 2\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_12, label LBL_10\n LBL_10:\n %32 = and i32 %28, 4\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i32 %28, i32* %.reg2mem\n br i1 %34, label LBL_13, label LBL_11\n LBL_11:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n %36 = icmp eq i64 %35, 0\n store i32 %28, i32* %.reg2mem\n br i1 %36, label LBL_13, label LBL_12\n LBL_12:\n %37 = add i64 %24, 8\n %38 = inttoptr i64 %37 to i64*\n store i64 ptrtoint (i64* @gv_2 to i64), i64* %38, align 8\n %.pre = load i32, i32* %27, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_13\n LBL_13:\n %.reload = load i32, i32* %.reg2mem\n %39 = and i32 %.reload, 2\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_22, label LBL_14\n LBL_14:\n %41 = add i64 %24, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = icmp eq i32 %43, 1\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_22, label LBL_15\n LBL_15:\n %46 = call i32 @timerfd_create(i32 1, i32 526336)\n %47 = add i64 %12, 4\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n %49 = icmp slt i32 %46, 0\n br i1 %49, label LBL_18, label LBL_16\n LBL_16:\n %50 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 12)\n store i64 1, i64* %sv_1, align 8\n %51 = load i32, i32* %16, align 4\n %52 = bitcast i64* %sv_1 to %epoll_event*\n %53 = call i32 @epoll_ctl(i32 %51, i32 1, i32 %46, %epoll_event* nonnull %52)\n %54 = icmp slt i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_23, label LBL_17\n LBL_17:\n %56 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0))\n %57 = call i32 @close(i32 %46)\n store i32 -1, i32* %48, align 4\n br label LBL_23\n LBL_18:\n %58 = call i32* @__errno_location()\n %59 = load i32, i32* %58, align 4\n %60 = icmp eq i32 %59, 22\n br i1 %60, label LBL_21, label LBL_19\n LBL_19:\n %61 = call i32* @__errno_location()\n %62 = load i32, i32* %61, align 4\n %63 = icmp eq i32 %62, 38\n br i1 %63, label LBL_21, label LBL_20\n LBL_20:\n %64 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_21\n LBL_21:\n store i32 -1, i32* %48, align 4\n br label LBL_23\n LBL_22:\n %65 = add i64 %12, 4\n %66 = inttoptr i64 %65 to i32*\n store i32 -1, i32* %66, align 4\n br label LBL_23\n LBL_23:\n %67 = call i64 @FUNC(i64 %24)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %48, { 1, 0, 2 }\n uselistorder i32 %46, { 1, 0, 2, 3 }\n uselistorder i32 %28, { 1, 0, 3, 2 }\n uselistorder i64 %24, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64, i64)* @mm_calloc, { 1, 0 }\n uselistorder i64 (i8*)* @event_warn, { 2, 1, 0 }\n uselistorder i32 -1, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_24, { 2, 3, 4, 1, 0 }\n uselistorder label LBL_23, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow_make_empty_2767", "fun_name": "qcow_make_empty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = mul i32 %5, 8\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = call i64* @memset(i64* %10, i32 0, i32 %6)\n %12 = load i64, i64* %8, align 8\n %13 = add i64 %3, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %9, i64 %15, i64 %12, i32 %6)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %19, label LBL_1, label LBL_4\n LBL_1:\n %20 = load i64, i64* %14, align 8\n %21 = zext i32 %6 to i64\n %22 = add i64 %20, %21\n %23 = call i64 @FUNC(i64 %9, i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_3, label LBL_2\n LBL_2:\n %27 = and i64 %23, 4294967295\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %28 = add i64 %3, 24\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = mul i32 %30, 2048\n %32 = add i64 %3, 32\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i64*\n %36 = call i64* @memset(i64* %35, i32 0, i32 %31)\n %37 = add i64 %3, 40\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = inttoptr i64 %39 to i64*\n %41 = call i64* @memset(i64* %40, i32 0, i32 2048)\n %42 = add i64 %3, 48\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = inttoptr i64 %44 to i64*\n %46 = call i64* @memset(i64* %45, i32 0, i32 1024)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 2, 1, 0 }\n uselistorder i64 %3, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 2, 3, 1, 0 }\n uselistorder i32 0, { 0, 1, 2, 4, 5, 3 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "idiv32_377", "fun_name": "idiv32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = sext i32 %arg3 to i64\n %1 = udiv i64 %arg2, %0\n store i64 %1, i64* %arg1, align 8\n %2 = urem i64 %arg2, %0\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "srs_timestamp_check_5748", "fun_name": "srs_timestamp_check", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %sv_1 = alloca i128, align 8\n %2 = inttoptr i64 %arg2 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = icmp eq i32 %3, 2\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = load i8, i8* %2, align 1\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i8 %5, i8* %.reg2mem\n store i64 %arg2, i64* %storemerge25.reg2mem\n store i64 0, i64* %sv_0.04.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %7, label LBL_2, label LBL_4\n LBL_2:\n %.reload = load i8, i8* %.reg2mem\n %8 = sext i8 %.reload to i32\n %9 = call i32 @toupper(i32 %8)\n %10 = call i8* @strchr(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %9)\n %11 = icmp eq i8* %10, null\n %12 = icmp eq i1 %11, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_7\n LBL_3:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %storemerge25.reload = load i64, i64* %storemerge25.reg2mem\n %13 = ptrtoint i8* %10 to i64\n %14 = sub i64 %13, sext (i32 ptrtoint ([27 x i8]* @gv_0 to i32) to i64)\n %15 = mul i64 %sv_0.04.reload, 32\n %sext = mul i64 %14, 4294967296\n %16 = ashr exact i64 %sext, 32\n %17 = or i64 %16, %15\n %18 = add i64 %storemerge25.reload, 1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 0\n %22 = icmp eq i1 %21, false\n store i8 %20, i8* %.reg2mem\n store i64 %18, i64* %storemerge25.reg2mem\n store i64 %17, i64* %sv_0.04.reg2mem\n store i64 %17, i64* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_2, label LBL_4\n LBL_4:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %23 = bitcast i128* %sv_1 to i32*\n %24 = call i32 @time(i32* nonnull %23)\n %25 = load i128, i128* %sv_1, align 8\n %26 = trunc i128 %25 to i64\n %27 = lshr i64 %26, 63\n store i64 %27, i64* %storemerge.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %28 = icmp sgt i64 %sv_0.0.lcssa.reload, %storemerge.in.reload\n %29 = add i64 %storemerge.in.reload, 1440\n store i64 %29, i64* %storemerge.in.reg2mem\n br i1 %28, label LBL_5, label LBL_6\n LBL_6:\n %storemerge = sext i64 %storemerge.in.reload to i128\n store i128 %storemerge, i128* %sv_1, align 8\n %sext6 = mul i64 %1, 4294967296\n %30 = ashr exact i64 %sext6, 32\n %31 = add i64 %sv_0.0.lcssa.reload, %30\n %32 = icmp slt i64 %31, %storemerge.in.reload\n %. = select i1 %32, i64 4294967295, i64 0\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.in.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i8* %10, { 1, 0 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 32, { 1, 2, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_transform_5440", "fun_name": "print_transform", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i8* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = mul i64 %arg3, 8\n %5 = and i64 %4, 34359738360\n %6 = add i64 %5, ptrtoint ([2 x i8*]* @gv_0 to i64)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n %11 = call i64 @FUNC(i64 %3, i64 %2, i64 %10, i64 %9)\n %12 = trunc i64 %11 to i8\n %13 = icmp eq i8 %12, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_3\n LBL_1:\n %14 = ptrtoint i32* %arg4 to i64\n %15 = add i64 %14, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp slt i32 %17, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = add i64 %3, 256\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %21, %3\n %23 = zext i32 %17 to i64\n %24 = inttoptr i64 %22 to i8*\n %25 = trunc i64 %21 to i32\n %26 = sub i32 256, %25\n %27 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %24, i32 %26, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %23)\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %3, i64 %28)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "streamLookupCG_9721", "fun_name": "streamLookupCG", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg2)\n %3 = call i64 @FUNC(i64 %arg2, i64 %arg2, i64 %2)\n %4 = load i64, i64* @gv_0, align 8\n %5 = icmp eq i64 %3, %4\n %. = select i1 %5, i64 0, i64 %3\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %arg2, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_fd_getpagesize_409", "fun_name": "qemu_fd_getpagesize", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i32\n %1 = icmp eq i32 %0, -1\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = bitcast i64* %sv_0 to %statfs*\n br label LBL_2\n LBL_2:\n %3 = call i32 @fstatfs(i32 %0, %statfs* nonnull %2)\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_4, label LBL_3\n LBL_3:\n %5 = call i32* @__errno_location()\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 4\n br i1 %7, label LBL_2, label LBL_5\n LBL_4:\n %8 = load i64, i64* %sv_0, align 8\n %9 = icmp eq i64 %8, 2508478710\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_5, label LBL_6\n LBL_5:\n %11 = call i32 @getpagesize()\n %12 = sext i32 %11 to i64\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unit_name_path_escape_5558", "fun_name": "unit_name_path_escape", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rbx.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %4 = inttoptr i64 %arg1 to i8*\n %5 = call i8* @strdup(i8* %4)\n %6 = ptrtoint i8* %5 to i64\n store i64 %6, i64* %sv_0, align 8\n %7 = icmp eq i8* %5, null\n %8 = icmp eq i1 %7, false\n store i64 4294967284, i64* %rbx.0.reg2mem\n br i1 %8, label LBL_5, label LBL_11\n LBL_5:\n %9 = call i64 @FUNC(i64 %6)\n %10 = load i64, i64* %sv_0, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_7, label LBL_6\n LBL_6:\n %14 = call i8* @strdup(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0))\n %15 = ptrtoint i8* %14 to i64\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_7:\n %16 = load i64, i64* %sv_0, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 4294967274, i64* %rbx.0.reg2mem\n br i1 %20, label LBL_8, label LBL_11\n LBL_8:\n %21 = load i64, i64* %sv_0, align 8\n %22 = call i64 @FUNC(i64 %21, i64* nonnull @gv_5)\n %23 = load i64, i64* %sv_0, align 8\n %24 = call i64 @FUNC(i64 %23, i64* nonnull @gv_5)\n %25 = call i64 @FUNC(i64 %24)\n store i64 %25, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %26 = icmp eq i64 %storemerge.reload, 0\n %27 = icmp eq i1 %26, false\n store i64 4294967284, i64* %rbx.0.reg2mem\n br i1 %27, label LBL_10, label LBL_11\n LBL_10:\n store i64 %storemerge.reload, i64* %arg2, align 8\n store i64 0, i64* %rbx.0.reg2mem\n br label LBL_11\n LBL_11:\n %rbx.0.reload = load i64, i64* %rbx.0.reg2mem\n %28 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %rbx.0.reload\n\n uselistorder i64 %storemerge.reload, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rbx.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i8* (i8*)* @strdup, { 2, 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder label LBL_11, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipoctal_init_2931", "fun_name": "ipoctal_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %3 = bitcast i64* %sv_0 to i8*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %4 = mul nuw nsw i64 %indvars.iv.reload, 24\n %5 = add i64 %4, %2\n %6 = add i64 %5, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 %2, i64* %7, align 8\n %8 = inttoptr i64 %5 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n store i64 30506449997099113, i64* %sv_1, align 8\n %11 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %12 = zext i32 %11 to i64\n %13 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i64 %12)\n %14 = load i64, i64* %8, align 8\n %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %14, i64 0)\n %16 = add i64 %5, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = icmp eq i64 %15, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_0 to i32*), align 8\n %19 = load i64, i64* %17, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = load i64, i64* %17, align 8\n %22 = call i64 @FUNC(i64 %21, i64 4198796, i64 4198803, i64 4198810, i64 %5)\n %23 = load i64, i64* %8, align 8\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %indvars.iv.reload, i64 %23, i64* nonnull %sv_0, i64 %5, i64 %1)\n br label LBL_5\n LBL_4:\n %25 = load i64, i64* %8, align 8\n %26 = inttoptr i64 %14 to i64*\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i64 %indvars.iv.reload, i64 %25, i64* %26, i64 %12, i64 %1)\n br label LBL_5\n LBL_5:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_1\n LBL_6:\n ret i64 0\n\n uselistorder i64* %17, { 1, 0, 2 }\n uselistorder i64* %8, { 1, 0, 2, 3 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i8*, i64, i64, i64*, i64, i64)* @DPRINTF, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "calloc_6812", "fun_name": "calloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = zext i64 %arg2 to i128\n %1 = zext i64 %arg1 to i128\n %2 = mul nuw i128 %0, %1\n %3 = icmp ugt i128 %2, 18446744073709551615\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i32* @__errno_location()\n store i32 12, i32* %5, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %6 = trunc i128 %2 to i64\n %7 = call i64 @FUNC(i64 %6)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i128 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "FillSecondShaper_9232", "fun_name": "FillSecondShaper", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %xmm0.2.reg2mem = alloca i128\n %xmm0.34.reg2mem = alloca i128\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = trunc i64 %arg3 to i32\n %3 = icmp eq i32 %2, 0\n %4 = load i128, i128* @gv_0, align 8\n %5 = trunc i128 %4 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %xmm0.34.reload = load i128, i128* %xmm0.34.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %6 = call i128 @FUNC(i128 %xmm0.34.reload, i128 %xmm0.34.reload)\n %7 = trunc i64 %indvars.iv.reload to i32\n %8 = call i128 @FUNC(i32 %7)\n %9 = call i128 @FUNC(i64 4670232813583204352)\n %10 = call i128 @FUNC(i128 %8, i128 %9)\n %11 = call i128 @FUNC(i128 %10)\n %12 = call i64 @FUNC(i128 %11)\n %13 = trunc i64 %12 to i32\n %14 = call i128 @FUNC(i32 %13)\n %15 = call i128 @FUNC(i64 %0)\n %16 = call i32 @__asm_movd.2(i128 %15)\n %17 = call i128 @FUNC(i128 %9, i128 %9)\n %18 = call i128 @FUNC(i32 %16)\n %19 = call i128 @FUNC(i64 %5)\n %20 = call i128 @FUNC(i128 %19, i128 %18)\n call void @FUNC(i128 %20, i128 %4)\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %21 = mul i64 %indvars.iv.reload, 2\n %22 = add i64 %21, %1\n %23 = inttoptr i64 %22 to i16*\n store i16 -256, i16* %23, align 2\n store i128 %20, i128* %xmm0.2.reg2mem\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %24 = call i128 @FUNC(i128 %18, i128 %18)\n %25 = call i128 @FUNC(i32 %16)\n %26 = call i128 @FUNC(i64 %5)\n %27 = call i128 @FUNC(i128 %26, i128 %25)\n %28 = call i32 @FUNC(i128 %27)\n %29 = trunc i32 %28 to i16\n %30 = mul i64 %indvars.iv.reload, 2\n %31 = add i64 %30, %1\n %32 = inttoptr i64 %31 to i16*\n store i16 %29, i16* %32, align 2\n store i128 %27, i128* %xmm0.2.reg2mem\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %xmm0.2.reload = load i128, i128* %xmm0.2.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16385\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i128 %xmm0.2.reload, i128* %xmm0.34.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_1\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i128 %18, { 1, 0, 2 }\n uselistorder i128 %9, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i128 %xmm0.34.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.34.reg2mem, { 1, 0 }\n uselistorder i128* %xmm0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lo_complete_rq_8608", "fun_name": "lo_complete_rq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi2.reg2mem = alloca i32*\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = add i64 %1, 12\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp slt i32 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = zext i32 %14 to i64\n %17 = load i64, i64* %2, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = icmp sgt i64 %18, %16\n store i64 1, i64* %storemerge.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %20 = call i64 @FUNC(i64 %storemerge.reload)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre = add i64 %1, 12\n %.pre1 = inttoptr i64 %.pre to i32*\n store i32* %.pre1, i32** %.pre-phi2.reg2mem\n br label LBL_8\n LBL_7:\n %23 = load i64, i64* %2, align 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %1, 12\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %25, i64 %29)\n %31 = call i64 @FUNC(i64 %25)\n store i32* %27, i32** %.pre-phi2.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem\n %32 = load i32, i32* %.pre-phi2.reload, align 4\n %33 = icmp slt i32 %32, 0\n %34 = zext i1 %33 to i64\n %35 = call i64 @FUNC(i64 %0, i64 %34)\n ret i64 %35\n\n uselistorder i64* %2, { 1, 0, 2 }\n uselistorder i64 %1, { 3, 0, 2, 1, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 12, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reallocate_lines_4706", "fun_name": "reallocate_lines", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = mul i64 %0, 3\n %2 = udiv i64 %1, 2\n %3 = add nuw i64 %2, 2\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @reallocarray(i64 %4, i64 %3, i64 8)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = load i32, i32* @gv_1, align 4\n %9 = load i64, i64* @gv_2, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = call i32 @munmap(i64* %10, i32 %8)\n store i64 0, i64* @gv_2, align 8\n %12 = load i64, i64* @gv_0, align 8\n %13 = inttoptr i64 %12 to i64*\n call void @free(i64* %13)\n store i64 0, i64* @gv_0, align 8\n store i64 0, i64* %arg1, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n store i64 %2, i64* %arg1, align 8\n store i64 %5, i64* @gv_0, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gfs2_inplace_release_4037", "fun_name": "gfs2_inplace_release", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %3 = call i64 @FUNC(i64 %0)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftrace_convert_nops_3843", "fun_name": "ftrace_convert_nops", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64* nonnull @gv_0)\n %3 = icmp ult i64* %arg2, %arg3\n br i1 %3, label LBL_1, label LBL_5\n LBL_1:\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg2 to i64\n store i64 %5, i64* %sv_0.01.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %6 = inttoptr i64 %sv_0.01.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %11 = call i64 @FUNC(i64 %8)\n br label LBL_4\n LBL_4:\n %12 = add i64 %sv_0.01.reload, 8\n %13 = icmp ult i64 %12, %4\n store i64 %12, i64* %sv_0.01.reg2mem\n br i1 %13, label LBL_2, label LBL_5\n LBL_5:\n %14 = ptrtoint i64* %arg1 to i64\n %15 = call i64 @FUNC(i64 %1)\n %16 = call i64 @FUNC(i64 %14)\n %17 = call i64 @FUNC(i64 %1)\n %18 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 0\n\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mcf_fec_do_tx_13793", "fun_name": "mcf_fec_do_tx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.0.be.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %.reg2mem6 = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %sv_2.12.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i64, i64* %0\n %7 = load i64, i64* %0\n %8 = ptrtoint i64* %arg1 to i64\n %9 = load i32, i32* %1\n %10 = load i32, i32* %1\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, align 8\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %6, i64 %7, i64 %3, i64 %2)\n %12 = ptrtoint i64* %sv_5 to i64\n %13 = trunc i64 %4 to i32\n %14 = bitcast i32* %sv_4 to i64*\n %15 = zext i32 %9 to i64\n %16 = zext i32 %10 to i64\n %17 = add i64 %8, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = add i64 %8, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = add i64 %8, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 1, i32* %.reg2mem\n store i64 %12, i64* %sv_1.14.reg2mem\n store i32 %13, i32* %sv_0.03.reg2mem\n store i32 0, i32* %sv_2.12.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %23 = zext i32 %sv_0.03.reload to i64\n %24 = call i64 @FUNC(i64* nonnull %14, i64 %23)\n %25 = load i32, i32* %sv_4, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %23, i64 %26, i64 %15, i64 %16, i64 %2)\n %28 = load i32, i32* %sv_4, align 4\n %29 = urem i32 %28, 2\n %30 = icmp eq i32 %29, 0\n store i32 %sv_0.03.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %30, label LBL_11, label LBL_2\n LBL_2:\n %sv_2.12.reload = load i32, i32* %sv_2.12.reg2mem\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %31 = add i32 %sv_2.12.reload, %9\n %32 = icmp slt i32 %31, 1501\n store i32 %31, i32* %.pre-phi.reg2mem\n br i1 %32, label LBL_4, label LBL_3\n LBL_3:\n %33 = sub i32 1500, %sv_2.12.reload\n %34 = load i32, i32* %18, align 4\n %35 = or i32 %34, 8\n store i32 %35, i32* %18, align 4\n store i32 1500, i32* %.pre-phi.reg2mem\n store i32 %33, i32* %sv_3.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %36 = call i64 @FUNC(i64 %16, i64 %sv_1.14.reload, i32 %sv_3.0.reload)\n %37 = load i32, i32* %sv_4, align 4\n %38 = and i32 %37, 2\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %40 = sext i32 %sv_3.0.reload to i64\n %41 = add i64 %sv_1.14.reload, %40\n %.pre = load i32, i32* %18, align 4\n store i32 %.pre, i32* %.reg2mem6\n store i32 %.pre-phi.reload, i32* %sv_2.0.reg2mem\n store i64 %41, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_6:\n %42 = zext i32 %sv_3.0.reload to i64\n %43 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %sv_1.14.reload, i64 %42, i64 %sv_1.14.reload, i64 %16, i64 %2)\n %44 = load i64, i64* %20, align 8\n %45 = call i64 @FUNC(i64 %44)\n %46 = call i64 @FUNC(i64 %45, i64* nonnull %sv_5, i32 %sv_3.0.reload)\n %47 = load i32, i32* %18, align 4\n %48 = or i32 %47, 16\n store i32 %48, i32* %18, align 4\n store i32 %48, i32* %.reg2mem6\n store i32 0, i32* %sv_2.0.reg2mem\n store i64 %12, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %.reload7 = load i32, i32* %.reg2mem6\n %49 = or i32 %.reload7, 32\n store i32 %49, i32* %18, align 4\n %50 = load i32, i32* %sv_4, align 4\n %51 = and i32 %50, -2\n store i32 %51, i32* %sv_4, align 4\n %52 = call i64 @FUNC(i64* nonnull %14, i64 %23)\n %53 = load i32, i32* %sv_4, align 4\n %54 = and i32 %53, 4\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_10, label LBL_8\n LBL_8:\n %56 = load i32, i32* %22, align 4\n store i32 %56, i32* %sv_0.0.be.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem\n %57 = add nuw nsw i32 %.reload, 1\n %58 = icmp ult i32 %.reload, 32\n store i32 %57, i32* %.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.14.reg2mem\n store i32 %sv_0.0.be.reload, i32* %sv_0.03.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.12.reg2mem\n store i32 %sv_0.0.be.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %58, label LBL_1, label LBL_11\n LBL_10:\n %59 = add i32 %sv_0.03.reload, 8\n store i32 %59, i32* %sv_0.0.be.reg2mem\n br label LBL_9\n LBL_11:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %60 = bitcast i64* %arg1 to i32*\n store i32 %sv_0.0.lcssa.reload, i32* %60, align 4\n ret i64 %8\n\n uselistorder i32 %sv_3.0.reload, { 3, 1, 2, 0 }\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i64 %sv_1.14.reload, { 0, 1, 3, 2 }\n uselistorder i32 %sv_0.03.reload, { 1, 0, 2 }\n uselistorder i32* %18, { 1, 3, 2, 0, 4, 5 }\n uselistorder i64 %16, { 1, 0, 2 }\n uselistorder i32* %sv_4, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %8, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.12.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.be.reg2mem, { 2, 0, 1 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 8, { 1, 2, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 2, 0, 3, 4, 1 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 2, 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smp_proc_id_info_10619", "fun_name": "smp_proc_id_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %1, i64 %0, i64 16)\n %4 = call i64 @FUNC(i64 %1, i64 0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_simple_idct84_add_757", "fun_name": "ff_simple_idct84_add", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n store i64 0, i64* %indvars.iv5.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %1 = mul i64 %indvars.iv5.reload, 32\n %2 = add i64 %1, %0\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 4\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br i1 %exitcond7, label LBL_2, label LBL_1\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %6 = mul i64 %indvars.iv.reload, 4\n %7 = add i64 %6, %0\n %8 = add i64 %indvars.iv.reload, %4\n %9 = call i64 @FUNC(i64 %8, i64 %5, i64 %7)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n ret i64 %9\n\n uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rv30_decode_intra_types_3451", "fun_name": "rv30_decode_intra_types", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.01433.reg2mem = alloca i32\n %sv_1.21334.reg2mem = alloca i64\n %.reg2mem43 = alloca i32\n %sv_1.08.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rcx.111.lcssa.reg2mem = alloca i64\n %storemerge1230.reg2mem = alloca i32\n %sv_1.11031.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = mul i32 %5, 2\n %7 = icmp ult i32 %6, 162\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = ptrtoint i64* %arg3 to i64\n store i32 %6, i32* %.reg2mem43\n store i64 %11, i64* %sv_1.21334.reg2mem\n store i32 0, i32* %sv_0.01433.reg2mem\n br label LBL_3.lr.ph\n LBL_2:\n %12 = call i64 @FUNC(i64 %3)\n %13 = trunc i64 %12 to i32\n %14 = mul i32 %13, 2\n %15 = icmp ult i32 %14, 162\n store i32 %14, i32* %.reg2mem\n store i64 %51, i64* %sv_1.11031.reg2mem\n store i32 %54, i32* %storemerge1230.reg2mem\n store i64 %53, i64* %rcx.111.lcssa.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %storemerge1230.reload = load i32, i32* %storemerge1230.reg2mem\n %sv_1.11031.reload = load i64, i64* %sv_1.11031.reg2mem\n %.reload = load i32, i32* %.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %sv_1.11031.reload, i64* %sv_1.08.reg2mem\n br label LBL_5\n LBL_4:\n %rcx.111.lcssa.reload = load i64, i64* %rcx.111.lcssa.reg2mem\n %16 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.111.lcssa.reload, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %17 = load i32, i32* %10, align 4\n %18 = sub i32 0, %17\n %19 = sext i32 %18 to i64\n %20 = add i64 %sv_1.08.reload, %19\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = sext i8 %22 to i32\n %24 = add i64 %sv_1.08.reload, -1\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = sext i8 %26 to i32\n %28 = mul nsw i32 %23, 90\n %29 = mul nsw i32 %27, 9\n %30 = trunc i64 %indvars.iv.reload to i32\n %31 = or i32 %.reload, %30\n %32 = zext i32 %31 to i64\n %33 = mul i64 %32, 4\n %34 = add i64 %33, ptrtoint (i32** @gv_1 to i64)\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add nsw i32 %28, 99\n %38 = add i32 %37, %36\n %39 = add i32 %38, %29\n %40 = sext i32 %39 to i64\n %41 = mul i64 %40, 4\n %42 = add i64 %41, ptrtoint (i32** @gv_2 to i64)\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = trunc i32 %44 to i8\n %46 = inttoptr i64 %sv_1.08.reload to i8*\n store i8 %45, i8* %46, align 1\n %47 = icmp eq i8 %45, 9\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_7, label LBL_6\n LBL_6:\n %49 = zext i32 %44 to i64\n %50 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64 %49, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %51 = add i64 %sv_1.08.reload, 1\n %52 = icmp eq i64 %indvars.iv.reload, 1\n store i64 1, i64* %indvars.iv.reg2mem\n store i64 %51, i64* %sv_1.08.reg2mem\n br i1 %52, label LBL_8, label LBL_5\n LBL_8:\n %53 = zext i32 %44 to i64\n %54 = add nuw nsw i32 %storemerge1230.reload, 2\n %55 = icmp ult i32 %54, 4\n br i1 %55, label LBL_2, label LBL_9\n LBL_9:\n %56 = add nuw nsw i32 %sv_0.01433.reload, 1\n %57 = icmp ult i32 %56, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %57, label LBL_10, label LBL_12\n LBL_10:\n %58 = add i64 %sv_1.08.reload, -3\n %59 = load i32, i32* %10, align 4\n %60 = sext i32 %59 to i64\n %61 = add i64 %58, %60\n %62 = call i64 @FUNC(i64 %3)\n %63 = trunc i64 %62 to i32\n %64 = mul i32 %63, 2\n %65 = icmp ult i32 %64, 162\n store i64 %53, i64* %rcx.111.lcssa.reg2mem\n store i32 %64, i32* %.reg2mem43\n store i64 %61, i64* %sv_1.21334.reg2mem\n store i32 %56, i32* %sv_0.01433.reg2mem\n br i1 %65, label LBL_3.lr.ph, label LBL_4\n LBL_11:\n %sv_0.01433.reload = load i32, i32* %sv_0.01433.reg2mem\n %sv_1.21334.reload = load i64, i64* %sv_1.21334.reg2mem\n %.reload44 = load i32, i32* %.reg2mem43\n store i32 %.reload44, i32* %.reg2mem\n store i64 %sv_1.21334.reload, i64* %sv_1.11031.reg2mem\n store i32 0, i32* %storemerge1230.reg2mem\n br label LBL_3\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %54, { 1, 0 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i64 %sv_1.08.reload, { 4, 1, 0, 2, 3 }\n uselistorder i64 %3, { 1, 3, 2, 4, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.11031.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1230.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.111.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i32 162, { 1, 2, 0 }\n uselistorder i32 2, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @svq3_get_ue_golomb, { 1, 2, 0 }\n uselistorder label LBL_3.lr.ph, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hso_free_net_device_12377", "fun_name": "hso_free_net_device", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_8, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %0 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %7)\n br label LBL_3\n LBL_3:\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = mul i64 %indvars.iv.reload, 8\n %11 = add i64 %10, %0\n %12 = add i64 %11, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %11, 96\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 0, i64* %17, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %20 = add i64 %0, 176\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %0, 184\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26)\n store i64 0, i64* %25, align 8\n %28 = load i64, i64* %6, align 8\n %29 = icmp eq i64 %28, 0\n %30 = trunc i64 %arg2 to i8\n %31 = icmp eq i8 %30, 1\n %or.cond = or i1 %31, %29\n br i1 %or.cond, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %28)\n br label LBL_7\n LBL_7:\n %33 = call i64 @FUNC(i64 %arg1)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 0, 4, 3, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @kfree, { 2, 0, 1 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "usb_alloc_streams_4397", "fun_name": "usb_alloc_streams", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %storemerge36.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %10, label LBL_10, label LBL_1\n LBL_1:\n %11 = add i64 %7, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %15, label LBL_2, label LBL_10\n LBL_2:\n %16 = inttoptr i64 %1 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 3\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %18, label LBL_3, label LBL_10\n LBL_3:\n %19 = add i64 %1, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp sgt i32 %21, 1\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_4, label LBL_10\n LBL_4:\n %23 = ptrtoint i64* %arg2 to i64\n %24 = icmp eq i32 %arg3, 0\n store i32 0, i32* %storemerge36.reg2mem\n store i64 %5, i64* %rax.0.shrunk.reg2mem\n br i1 %24, label LBL_10, label LBL_5\n LBL_5:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %25 = sext i32 %storemerge36.reload to i64\n %26 = mul i64 %25, 8\n %27 = add i64 %26, %23\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %33, label LBL_6, label LBL_10\n LBL_6:\n %34 = load i64, i64* %28, align 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 0\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %37, label LBL_7, label LBL_10\n LBL_7:\n %38 = add nuw i32 %storemerge36.reload, 1\n %39 = icmp ult i32 %38, %arg3\n store i32 %38, i32* %storemerge36.reg2mem\n br i1 %39, label LBL_5, label LBL_8\n LBL_8:\n %40 = trunc i64 %5 to i32\n %41 = icmp slt i32 %40, 0\n store i32 0, i32* %storemerge5.reg2mem\n store i64 %5, i64* %rax.0.shrunk.reg2mem\n br i1 %41, label LBL_10, label LBL_9\n LBL_9:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %42 = sext i32 %storemerge5.reload to i64\n %43 = mul i64 %42, 8\n %44 = add i64 %43, %23\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %46 to i32*\n store i32 %40, i32* %47, align 4\n %48 = add nuw i32 %storemerge5.reload, 1\n %exitcond = icmp eq i32 %48, %arg3\n store i32 %48, i32* %storemerge5.reg2mem\n store i64 %5, i64* %rax.0.shrunk.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %5, { 0, 2, 3, 1, 4 }\n uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 5, 1, 2, 4, 6, 7, 9, 8 }\n uselistorder i32 %arg3, { 0, 2, 1 }\n uselistorder label LBL_10, { 2, 4, 0, 1, 3, 5, 6, 8, 7 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "post_xfer_5368", "fun_name": "post_xfer", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = sub i32 0, %9\n %11 = sub i32 %10, 1\n %12 = and i32 %11, %6\n %13 = load i32, i32* %2, align 4\n %14 = zext i32 %12 to i64\n %15 = zext i32 %13 to i64\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n %17 = load i32, i32* %2, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %0, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = add i64 %0, 20\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = sub i32 0, %28\n %30 = sub i32 %29, 1\n %31 = and i32 %30, %25\n %32 = load i32, i32* %21, align 4\n %33 = zext i32 %31 to i64\n %34 = zext i32 %32 to i64\n %35 = call i64 @FUNC(i64 %34, i64 %33)\n %36 = load i32, i32* %21, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n %39 = add i64 %0, 24\n %40 = call i64 @FUNC(i64 %39)\n ret i64 %40\n\n uselistorder i64 %0, { 3, 0, 1, 2, 4 }\n uselistorder i64 (i64, i64)* @WREG32, { 1, 0 }\n uselistorder i64 (i64)* @RREG32, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_msmouse_2257", "fun_name": "qemu_chr_open_msmouse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 16)\n %1 = inttoptr i64 %0 to i64*\n store i64 4198726, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 4198733, i64* %3, align 8\n %4 = call i64 @FUNC(i64 4198824, i64 %0, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "WM_FreePatches_9175", "fun_name": "WM_FreePatches", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem5 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %1 = inttoptr i64 %.reload to i64*\n %2 = load i64, i64* %1, align 8\n %3 = add i64 %.reload, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n call void @free(i64* %6)\n %7 = load i64, i64* %35, align 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n call void @free(i64* %10)\n %11 = load i64, i64* %35, align 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %2, i64* %12, align 8\n %13 = load i64, i64* %35, align 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %.reg2mem\n store i64 %13, i64* %.lcssa.reg2mem\n br i1 %17, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %18 = add i64 %.lcssa.reload, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i64*\n call void @free(i64* %21)\n %22 = load i64, i64* %35, align 8\n %23 = add i64 %22, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %22 to i64*\n call void @free(i64* %26)\n store i64 %25, i64* %35, align 8\n %27 = icmp eq i64 %25, 0\n %28 = icmp eq i1 %27, false\n store i64 %25, i64* %.reg2mem5\n br i1 %28, label LBL_3, label LBL_4\n LBL_3:\n %.reload6 = load i64, i64* %.reg2mem5\n %29 = inttoptr i64 %.reload6 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %30, i64* %.reg2mem\n store i64 %.reload6, i64* %.lcssa.reg2mem\n br i1 %32, label LBL_1, label LBL_2\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 128\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %33 = mul i64 %indvars.iv.reload, 8\n %34 = add i64 %33, ptrtoint (i64* @gv_1 to i64)\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp eq i64 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 %36, i64* %.reg2mem5\n br i1 %38, label LBL_3, label LBL_4\n LBL_6:\n %39 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %39\n\n uselistorder i64* %35, { 0, 4, 3, 5, 2, 1 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i64 %.reload6, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 2, 0 }\n uselistorder i64* %.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem5, { 1, 0, 2 }\n uselistorder i1 false, { 0, 1, 3, 2 }\n uselistorder void (i64*)* @free, { 1, 0, 3, 2 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "film_read_close_16594", "fun_name": "film_read_close", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n ret i64 0\n\n uselistorder i64 (i64)* @av_free, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "DestroyPixelList_8199", "fun_name": "DestroyPixelList", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdi.12.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge13.reg2mem\n store i64 %arg1, i64* %rdi.12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %rdi.12.reload = load i64, i64* %rdi.12.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %2 = mul i64 %storemerge13.reload, 8\n %3 = add i64 %2, %rdi.12.reload\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 %rdi.12.reload, i64* %rdi.0.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %5)\n store i64 %7, i64* %4, align 8\n store i64 %5, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %8 = add nuw nsw i64 %storemerge13.reload, 1\n %exitcond = icmp eq i64 %8, 10\n store i64 %8, i64* %storemerge13.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.12.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %9 = call i64 @FUNC(i64 %arg1)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "maxr_Write_9906", "fun_name": "maxr_Write", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n %3 = icmp eq i1 %2, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = ptrtoint i32* %arg2 to i64\n %5 = call i64 @FUNC(i64 %arg1, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = and i64 %5, 4294967295\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %4, i64 %9)\n %11 = add i64 %arg1, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %4, i64 %14)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lxclock_name_245", "fun_name": "lxclock_name", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %.reg2mem8 = alloca i8*\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem = alloca i8*\n %0 = call i32 @strlen(i8* %arg2)\n %1 = call i32 @strlen(i8* %arg1)\n %2 = call i64 @FUNC()\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_18\n LBL_1:\n %5 = inttoptr i64 %2 to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = add i32 %0, 13\n %8 = add i32 %7, %1\n %9 = add i32 %8, %6\n %10 = call i64* @malloc(i32 %9)\n %11 = icmp eq i64* %10, null\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %2 to i64*\n call void @free(i64* %13)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_3:\n %14 = bitcast i64* %10 to i8*\n %15 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %14, i32 %9, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* %5, i8* %arg1)\n %16 = icmp sgt i32 %15, -1\n %17 = icmp slt i32 %15, %9\n %or.cond = icmp eq i1 %16, %17\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n call void @free(i64* %10)\n %18 = inttoptr i64 %2 to i64*\n call void @free(i64* %18)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_5:\n %19 = ptrtoint i64* %10 to i64\n %20 = call i64 @FUNC(i64 %19, i64 493)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_14, label LBL_6\n LBL_6:\n %24 = call i32 @strlen(i8* %arg2)\n %25 = call i32 @strlen(i8* %arg1)\n %26 = add i32 %24, 22\n %27 = add i32 %26, %25\n %28 = icmp sgt i32 %27, %9\n store i8* %14, i8** %.reg2mem\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %28, label LBL_7, label LBL_9\n LBL_7:\n %29 = call i64* @realloc(i64* %10, i32 %27)\n %30 = bitcast i64* %29 to i8*\n %31 = icmp eq i64* %29, null\n %32 = icmp eq i1 %31, false\n store i8* %30, i8** %.reg2mem\n store i32 %27, i32* %sv_0.0.reg2mem\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n call void @free(i64* %10)\n %33 = inttoptr i64 %2 to i64*\n call void @free(i64* %33)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload = load i8*, i8** %.reg2mem\n %34 = call i32 @geteuid()\n %35 = zext i32 %34 to i64\n %36 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %.reload, i32 %sv_0.0.reload, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %35, i8* %arg1)\n %37 = icmp sgt i32 %36, -1\n %38 = icmp slt i32 %36, %sv_0.0.reload\n %or.cond6 = icmp eq i1 %37, %38\n br i1 %or.cond6, label LBL_11, label LBL_10\n LBL_10:\n %39 = bitcast i8* %.reload to i64*\n call void @free(i64* %39)\n %40 = inttoptr i64 %2 to i64*\n call void @free(i64* %40)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_11:\n %41 = ptrtoint i8* %.reload to i64\n %42 = call i64 @FUNC(i64 %41, i64 493)\n %43 = trunc i64 %42 to i32\n %44 = icmp slt i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_13, label LBL_12\n LBL_12:\n %46 = bitcast i8* %.reload to i64*\n call void @free(i64* %46)\n %47 = inttoptr i64 %2 to i64*\n call void @free(i64* %47)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_13:\n %48 = call i32 @geteuid()\n %49 = zext i32 %48 to i64\n %50 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %.reload, i32 %sv_0.0.reload, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %49, i8* %arg1, i8* %arg2)\n store i8* %.reload, i8** %.reg2mem8\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i32 %50, i32* %storemerge.reg2mem\n br label LBL_15\n LBL_14:\n %51 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %14, i32 %9, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i8* %5, i8* %arg1, i8* %arg2)\n store i8* %14, i8** %.reg2mem8\n store i32 %9, i32* %sv_0.1.reg2mem\n store i32 %51, i32* %storemerge.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.reload9 = load i8*, i8** %.reg2mem8\n %52 = inttoptr i64 %2 to i64*\n call void @free(i64* %52)\n %53 = icmp sgt i32 %storemerge.reload, -1\n %54 = icmp slt i32 %storemerge.reload, %sv_0.1.reload\n %or.cond7 = icmp eq i1 %53, %54\n br i1 %or.cond7, label LBL_17, label LBL_16\n LBL_16:\n %55 = bitcast i8* %.reload9 to i64*\n call void @free(i64* %55)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n %56 = ptrtoint i8* %.reload9 to i64\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %.reload9, { 1, 0 }\n uselistorder i32 %36, { 1, 0 }\n uselistorder i8* %.reload, { 0, 1, 2, 5, 4, 3 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 3, 1 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i8* %14, { 0, 2, 1, 3 }\n uselistorder i64* %10, { 1, 2, 0, 3, 5, 4 }\n uselistorder i32 %9, { 0, 4, 1, 3, 2, 5, 6 }\n uselistorder i64 %2, { 1, 2, 3, 0, 4, 5, 6, 7 }\n uselistorder i8** %.reg2mem8, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 4, 5, 3, 8, 2, 1 }\n uselistorder i32 ()* @geteuid, { 1, 0 }\n uselistorder i64 (i64, i64)* @mkdir_p, { 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 3, 0 }\n uselistorder i32 (i8*)* @strlen, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i8* %arg2, { 2, 0, 1, 3 }\n uselistorder i8* %arg1, { 3, 0, 1, 2, 4, 5 }\n uselistorder label LBL_18, { 1, 2, 3, 4, 5, 6, 7, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pdf_summarize_7696", "fun_name": "pdf_summarize", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i32\n %storemerge17.reg2mem = alloca i32\n %.reg2mem74 = alloca i64\n %sv_0.2.lcssa.reg2mem = alloca i32\n %.reg2mem72 = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %.reg2mem70 = alloca i32\n %.pre3739.reg2mem = alloca i32\n %sv_0.018.reg2mem = alloca i32\n %storemerge819.reg2mem = alloca i32\n %.reg2mem68 = alloca i64\n %.reg2mem66 = alloca i64\n %.pre373850.reg2mem = alloca i32\n %.reg2mem64 = alloca i32\n %storemerge72251.reg2mem = alloca i32\n %sv_0.22152.reg2mem = alloca i32\n %.reg2mem62 = alloca i64\n %sv_1.3.reg2mem = alloca i32\n %sv_1.2.lcssa49.reg2mem = alloca i32\n %sv_1.229.reg2mem = alloca i32\n %storemerge930.reg2mem = alloca i32\n %.reg2mem60 = alloca i64\n %sv_2.0.reg2mem = alloca i64*\n %sv_3.0.reg2mem = alloca %_IO_FILE*\n %.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %sv_4 = alloca i64, align 8\n %4 = icmp eq i8* %arg3, null\n br i1 %4, label LBL_0.LBL_8_crit_edge, label LBL_2\n LBL_1:\n %5 = trunc i64 %3 to i32\n %.pre41 = bitcast i64* %rsi to i32*\n store i32* %.pre41, i32** %.pre-phi.reg2mem\n store i32 %5, i32* %.reg2mem\n store %_IO_FILE* null, %_IO_FILE** %sv_3.0.reg2mem\n store i64* null, i64** %sv_2.0.reg2mem\n br label LBL_8\n LBL_2:\n %6 = call i32 @strlen(i8* nonnull %arg3)\n %7 = mul i32 %6, 2\n %8 = add i32 %7, 16\n %9 = call i64* @malloc(i32 %8)\n %10 = bitcast i64* %9 to i8*\n %11 = call i32 (i8*, i8*, ...) @sprintf(i8* %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* nonnull %arg3, i8* nonnull %arg3)\n %12 = call i8* @strrchr(i8* %10, i32 46)\n %13 = icmp eq i8* %12, null\n br i1 %13, label LBL_5, label LBL_3\n LBL_3:\n %14 = call i32 @strncmp(i8* nonnull %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 4)\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n store i8 0, i8* %12, align 1\n br label LBL_5\n LBL_5:\n %17 = call i32 @strlen(i8* %10)\n %18 = sext i32 %17 to i64\n %19 = ptrtoint i64* %9 to i64\n %20 = add i64 %18, %19\n %21 = inttoptr i64 %20 to i64*\n store i64 8751164148550038318, i64* %21, align 8\n %22 = add i64 %20, 8\n %23 = inttoptr i64 %22 to i8*\n store i8 0, i8* %23, align 1\n %24 = call %_IO_FILE* @fopen(i8* %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))\n %25 = icmp eq %_IO_FILE* %24, null\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.phi.trans.insert = bitcast i64* %rsi to i32*\n %.pre = load i32, i32* %.phi.trans.insert, align 8\n store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem\n store %_IO_FILE* %24, %_IO_FILE** %sv_3.0.reg2mem\n store i64* %9, i64** %sv_2.0.reg2mem\n br label LBL_8\n LBL_7:\n %27 = ptrtoint i8* %arg3 to i64\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 %19, i64 %18, i64 %27, i64 %2, i64 %1)\n store i64 %28, i64* %rax.1.reg2mem\n br label LBL_38\n LBL_8:\n %29 = ptrtoint i64* %arg2 to i64\n %sv_2.0.reload = load i64*, i64** %sv_2.0.reg2mem\n %sv_3.0.reload = load %_IO_FILE*, %_IO_FILE** %sv_3.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %31 = icmp eq i32 %.reload, 0\n br i1 %31, label LBL_13, label LBL_9\n LBL_9:\n %32 = add i64 %29, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp ne i32 %36, 0\n %38 = sext i1 %37 to i32\n %spec.select = add i32 %.reload, %38\n %39 = icmp eq i32 %.reload, 1\n store i32 %spec.select, i32* %sv_1.2.lcssa49.reg2mem\n br i1 %39, label LBL_12, label LBL_10\n LBL_10:\n %40 = zext i32 %.reload to i64\n store i64 1, i64* %.reg2mem60\n store i32 1, i32* %storemerge930.reg2mem\n store i32 %spec.select, i32* %sv_1.229.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.229.reload = load i32, i32* %sv_1.229.reg2mem\n %storemerge930.reload = load i32, i32* %storemerge930.reg2mem\n %.reload61 = load i64, i64* %.reg2mem60\n %41 = mul nsw i64 %.reload61, 24\n %42 = or i64 %41, 4\n %43 = add i64 %42, %34\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = icmp eq i32 %45, 0\n %47 = sext i1 %46 to i32\n %spec.select12 = add i32 %sv_1.229.reload, %47\n %48 = add i32 %storemerge930.reload, 1\n %49 = sext i32 %48 to i64\n %50 = icmp slt i64 %49, %40\n store i64 %49, i64* %.reg2mem60\n store i32 %48, i32* %storemerge930.reg2mem\n store i32 %spec.select12, i32* %sv_1.229.reg2mem\n store i32 %spec.select12, i32* %sv_1.2.lcssa49.reg2mem\n br i1 %50, label LBL_11, label LBL_12\n LBL_12:\n %sv_1.2.lcssa49.reload = load i32, i32* %sv_1.2.lcssa49.reg2mem\n %51 = icmp eq i32 %sv_1.2.lcssa49.reload, 0\n %52 = icmp eq i1 %51, false\n %53 = icmp eq i32 %36, 0\n %or.cond59 = or i1 %52, %53\n store i32 %sv_1.2.lcssa49.reload, i32* %sv_1.3.reg2mem\n br i1 %or.cond59, label LBL_14, label LBL_13\n LBL_13:\n store i32 1, i32* %sv_1.3.reg2mem\n br label LBL_14\n LBL_14:\n %54 = icmp eq %_IO_FILE* %sv_3.0.reload, null\n %storemerge10.in = select i1 %54, %_IO_FILE* %30, %_IO_FILE* %sv_3.0.reload\n %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem\n %55 = add i64 %29, 24\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n %.pre42 = urem i64 %arg4, 2\n store i32 %57, i32* %.reg2mem72\n store i32 0, i32* %sv_0.2.lcssa.reg2mem\n br i1 %59, label LBL_23, label LBL_15\n LBL_15:\n %60 = ptrtoint i64* %sv_4 to i64\n %61 = icmp eq i64 %.pre42, 0\n %62 = icmp eq i1 %61, false\n %63 = add i64 %29, 8\n %64 = inttoptr i64 %63 to i64*\n %65 = add i64 %29, 16\n %66 = inttoptr i64 %65 to i64*\n %67 = add i64 %60, -16\n %68 = inttoptr i64 %67 to i64*\n store i64 0, i64* %.reg2mem62\n store i32 0, i32* %sv_0.22152.reg2mem\n store i32 0, i32* %storemerge72251.reg2mem\n store i32 %57, i32* %.reg2mem64\n store i32 %57, i32* %.pre373850.reg2mem\n store i32 %57, i32* %.reg2mem72\n store i32 0, i32* %sv_0.2.lcssa.reg2mem\n br i1 %31, label LBL_23, label LBL_16\n LBL_16:\n %.pre373850.reload = load i32, i32* %.pre373850.reg2mem\n %.reload65 = load i32, i32* %.reg2mem64\n %storemerge72251.reload = load i32, i32* %storemerge72251.reg2mem\n %sv_0.22152.reload = load i32, i32* %sv_0.22152.reg2mem\n store i32 %.pre373850.reload, i32* %.pre3739.reg2mem\n store i32 %.reload65, i32* %.reg2mem70\n store i32 %sv_0.22152.reload, i32* %sv_0.1.reg2mem\n br i1 %62, label LBL_21, label LBL_17\n LBL_17:\n %.reload63 = load i64, i64* %.reg2mem62\n %69 = load i64, i64* %64, align 8\n %70 = mul nsw i64 %.reload63, 24\n %71 = add i64 %69, %70\n %72 = add i64 %71, 12\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = icmp eq i32 %74, 0\n store i32 %.pre373850.reload, i32* %.pre3739.reg2mem\n store i32 %.pre373850.reload, i32* %.reg2mem70\n store i32 %sv_0.22152.reload, i32* %sv_0.1.reg2mem\n br i1 %75, label LBL_21, label LBL_18\n LBL_18:\n %76 = zext i32 %storemerge72251.reload to i64\n store i64 0, i64* %.reg2mem66\n store i64 %71, i64* %.reg2mem68\n store i32 0, i32* %storemerge819.reg2mem\n store i32 %sv_0.22152.reload, i32* %sv_0.018.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem\n %storemerge819.reload = load i32, i32* %storemerge819.reg2mem\n %.reload69 = load i64, i64* %.reg2mem68\n %.reload67 = load i64, i64* %.reg2mem66\n %77 = add i32 %sv_0.018.reload, 1\n %78 = add i64 %.reload69, 16\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = mul i64 %.reload67, 4\n %82 = add i64 %80, %81\n %83 = inttoptr i64 %82 to i32*\n %84 = load i32, i32* %83, align 4\n %85 = zext i32 %84 to i64\n %86 = call i64 @FUNC(i64 %arg1, i64 %85, i64 %.reload69)\n %87 = load i64, i64* %64, align 8\n %88 = add i64 %87, %70\n %89 = add i64 %88, 16\n %90 = inttoptr i64 %89 to i64*\n %91 = load i64, i64* %90, align 8\n %92 = add i64 %91, %81\n %93 = inttoptr i64 %92 to i32*\n %94 = load i32, i32* %93, align 4\n %95 = add i64 %88, 8\n %96 = inttoptr i64 %95 to i32*\n %97 = load i32, i32* %96, align 4\n %98 = call i64 @FUNC(i64 %29, i64 %76, i32 %storemerge819.reload)\n %99 = load i64, i64* %66, align 8\n store i64 %86, i64* %68, align 8\n %100 = zext i32 %94 to i64\n %101 = zext i32 %97 to i64\n %102 = inttoptr i64 %99 to i8*\n %103 = trunc i64 %98 to i8\n %104 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %storemerge10.in, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_5, i64 0, i64 0), i8* %102, i8 %103, i64 %101, i64 %100)\n %105 = call i32 @fputc(i32 10, %_IO_FILE* %storemerge10.in)\n %106 = add i32 %storemerge819.reload, 1\n %107 = load i64, i64* %64, align 8\n %108 = add i64 %107, %70\n %109 = add i64 %108, 12\n %110 = inttoptr i64 %109 to i32*\n %111 = load i32, i32* %110, align 4\n %112 = zext i32 %111 to i64\n %113 = sext i32 %106 to i64\n %114 = icmp slt i64 %113, %112\n store i64 %113, i64* %.reg2mem66\n store i64 %108, i64* %.reg2mem68\n store i32 %106, i32* %storemerge819.reg2mem\n store i32 %77, i32* %sv_0.018.reg2mem\n br i1 %114, label LBL_19, label LBL_20\n LBL_20:\n %.pre37.pre = load i32, i32* %56, align 4\n store i32 %.pre37.pre, i32* %.pre3739.reg2mem\n store i32 %.pre37.pre, i32* %.reg2mem70\n store i32 %77, i32* %sv_0.1.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.reload71 = load i32, i32* %.reg2mem70\n %115 = icmp eq i32 %.reload71, 0\n %116 = icmp eq i1 %115, false\n store i32 %.reload71, i32* %.reg2mem72\n store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem\n br i1 %116, label LBL_23, label LBL_21.dec_label_pc_4015c0_crit_edge\n LBL_22:\n %.pre3739.reload = load i32, i32* %.pre3739.reg2mem\n %117 = add i32 %storemerge72251.reload, 1\n %.pre36 = load i32, i32* %.pre-phi.reload, align 8\n %118 = zext i32 %.pre36 to i64\n %119 = sext i32 %117 to i64\n %120 = icmp slt i64 %119, %118\n store i64 %119, i64* %.reg2mem62\n store i32 %sv_0.1.reload, i32* %sv_0.22152.reg2mem\n store i32 %117, i32* %storemerge72251.reg2mem\n store i32 %.reload71, i32* %.reg2mem64\n store i32 %.pre3739.reload, i32* %.pre373850.reg2mem\n store i32 %.reload71, i32* %.reg2mem72\n store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem\n br i1 %120, label LBL_16, label LBL_23\n LBL_23:\n %121 = icmp eq i64 %.pre42, 0\n %122 = icmp eq i1 %121, false\n br i1 %122, label LBL_35, label LBL_24\n LBL_24:\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %.reload73 = load i32, i32* %.reg2mem72\n %123 = icmp eq i32 %.reload73, 0\n %124 = icmp eq i32 %sv_0.2.lcssa.reload, 0\n %125 = icmp eq i1 %124, false\n %or.cond14 = icmp eq i1 %123, %125\n %.pre44 = add i64 %29, 16\n %.pre46 = inttoptr i64 %.pre44 to i64*\n br i1 %or.cond14, label LBL_26, label LBL_25\n LBL_25:\n %126 = load i64, i64* %.pre46, align 8\n %127 = inttoptr i64 %126 to i8*\n %128 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %storemerge10.in, i8* getelementptr inbounds ([98 x i8], [98 x i8]* @gv_6, i64 0, i64 0), i8* %127, i8* %127)\n br label LBL_26\n LBL_26:\n %129 = load i64, i64* %.pre46, align 8\n %130 = zext i32 %sv_1.3.reload to i64\n %131 = inttoptr i64 %129 to i8*\n %132 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %storemerge10.in, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_7, i64 0, i64 0), i8* %131, i64 %130)\n %133 = load i32, i32* %56, align 4\n %134 = zext i32 %133 to i64\n %135 = icmp eq i32 %133, 0\n %136 = icmp eq i1 %135, false\n store i64 %134, i64* %rax.0.reg2mem\n br i1 %136, label LBL_36, label LBL_27\n LBL_27:\n %137 = load i32, i32* %.pre-phi.reload, align 8\n %138 = icmp eq i32 %137, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %138, label LBL_36, label LBL_28\n LBL_28:\n %139 = zext i32 %137 to i64\n %140 = add i64 %29, 8\n %141 = inttoptr i64 %140 to i64*\n store i64 0, i64* %.reg2mem74\n store i32 0, i32* %storemerge17.reg2mem\n br label LBL_29\n LBL_29:\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %.reload75 = load i64, i64* %.reg2mem74\n %142 = load i64, i64* %141, align 8\n %143 = mul nsw i64 %.reload75, 24\n %144 = add i64 %142, %143\n %145 = inttoptr i64 %144 to i32*\n %146 = load i32, i32* %145, align 4\n %147 = icmp eq i32 %146, 0\n %148 = icmp eq i1 %147, false\n br i1 %148, label LBL_34, label LBL_30\n LBL_30:\n %149 = add i64 %144, 12\n %150 = inttoptr i64 %149 to i32*\n %151 = load i32, i32* %150, align 4\n %152 = inttoptr i64 %142 to i32*\n %153 = load i32, i32* %152, align 4\n %154 = icmp eq i32 %153, 0\n store i32 %151, i32* %sv_0.3.reg2mem\n br i1 %154, label LBL_32, label LBL_31\n LBL_31:\n %155 = add i64 %142, 12\n %156 = inttoptr i64 %155 to i32*\n %157 = load i32, i32* %156, align 4\n %158 = add i32 %157, %151\n store i32 %158, i32* %sv_0.3.reg2mem\n br label LBL_32\n LBL_32:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %159 = add i64 %144, 8\n %160 = inttoptr i64 %159 to i32*\n %161 = load i32, i32* %160, align 4\n %162 = icmp eq i32 %161, 0\n %163 = icmp eq i32 %sv_0.3.reload, 0\n %or.cond = or i1 %163, %162\n br i1 %or.cond, label LBL_34, label LBL_33\n LBL_33:\n %164 = zext i32 %161 to i64\n %165 = zext i32 %sv_0.3.reload to i64\n %166 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %storemerge10.in, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_8, i64 0, i64 0), i64 %164, i64 %165)\n br label LBL_34\n LBL_34:\n %167 = add i32 %storemerge17.reload, 1\n %168 = sext i32 %167 to i64\n %169 = icmp slt i64 %168, %139\n store i64 %168, i64* %.reg2mem74\n store i32 %167, i32* %storemerge17.reg2mem\n store i64 %139, i64* %rax.0.reg2mem\n br i1 %169, label LBL_29, label LBL_36\n LBL_35:\n %170 = add i64 %29, 16\n %171 = inttoptr i64 %170 to i64*\n %172 = load i64, i64* %171, align 8\n %173 = zext i32 %sv_1.3.reload to i64\n %174 = inttoptr i64 %172 to i8*\n %175 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %storemerge10.in, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_9, i64 0, i64 0), i8* %174, i64 %173)\n %176 = sext i32 %175 to i64\n store i64 %176, i64* %rax.0.reg2mem\n br label LBL_36\n LBL_36:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %54, label LBL_38, label LBL_37\n LBL_37:\n %177 = call i32 @fclose(%_IO_FILE* nonnull %sv_3.0.reload)\n call void @free(i64* %sv_2.0.reload)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.1.reg2mem\n br label LBL_38\n LBL_38:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %151, { 1, 0 }\n uselistorder i64 %142, { 2, 1, 0 }\n uselistorder i32 %137, { 1, 0 }\n uselistorder i32 %.reload71, { 1, 3, 0, 2 }\n uselistorder i32 %sv_0.1.reload, { 1, 2, 0 }\n uselistorder i64 %81, { 1, 0 }\n uselistorder i32 %sv_0.22152.reload, { 2, 0, 1 }\n uselistorder i64* %64, { 2, 1, 0 }\n uselistorder i64 %.pre42, { 1, 0 }\n uselistorder i32 %57, { 0, 2, 3, 1, 4 }\n uselistorder i32* %56, { 1, 0, 2 }\n uselistorder %_IO_FILE* %storemerge10.in, { 5, 2, 3, 4, 0, 1 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i32* %.pre-phi.reload, { 1, 0 }\n uselistorder i32 %.reload, { 0, 2, 3, 1 }\n uselistorder %_IO_FILE* %sv_3.0.reload, { 2, 0, 1 }\n uselistorder i64 %29, { 6, 5, 0, 3, 2, 4, 7, 1 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64* %rsi, { 1, 0 }\n uselistorder i64* %.reg2mem60, { 1, 0, 2 }\n uselistorder i32* %storemerge930.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.229.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem62, { 2, 0, 1 }\n uselistorder i32* %sv_0.22152.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge72251.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem64, { 2, 0, 1 }\n uselistorder i32* %.pre373850.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem66, { 1, 0, 2 }\n uselistorder i64* %.reg2mem68, { 1, 0, 2 }\n uselistorder i32* %storemerge819.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.018.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.pre3739.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %.reg2mem70, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %.reg2mem72, { 0, 2, 1, 3, 4 }\n uselistorder i32* %sv_0.2.lcssa.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %.reg2mem74, { 1, 0, 2 }\n uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 2, 1, 3, 4 }\n uselistorder i64 24, { 2, 1, 3, 0 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i1 false, { 2, 3, 1, 5, 6, 4, 0, 7, 8, 9 }\n uselistorder label LBL_36, { 2, 0, 1, 3 }\n uselistorder label LBL_34, { 1, 2, 0 }\n uselistorder label LBL_29, { 1, 0 }\n uselistorder label LBL_26, { 1, 0 }\n uselistorder label LBL_23, { 1, 2, 0, 3 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sctp_auto_asconf_init_7079", "fun_name": "sctp_auto_asconf_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 8\n %7 = add i64 %arg1, 8\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n %9 = call i64 @FUNC(i64 %4)\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n store i64 %arg1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i32 1, { 3, 2, 1, 0, 4 }\n uselistorder i64 %arg1, { 0, 2, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "klv_read_packet_10183", "fun_name": "klv_read_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64 4)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = add i32 %7, -4\n %9 = bitcast i64* %arg1 to i32*\n store i32 %8, i32* %9, align 4\n %10 = add i64 %5, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %5, 8\n %13 = call i64 @FUNC(i64 %0, i64 %12, i64 12)\n %14 = call i64 @FUNC(i64 %0)\n %15 = trunc i64 %14 to i32\n %16 = add i64 %5, 20\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = icmp eq i32 %15, -1\n %19 = icmp eq i1 %18, false\n %. = select i1 %19, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RemoveUnknownSections_5731", "fun_name": "RemoveUnknownSections", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.0.ph.lcssa.reg2mem = alloca i64\n %sv_0.0.ph4.reg2mem = alloca i64\n %sv_1.0.ph5.reg2mem = alloca i32\n %.reg2mem19 = alloca i64\n %.reg2mem17 = alloca i32\n %sv_1.02.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 1\n store i32 %0, i32* %.reg2mem17\n store i64 0, i64* %.reg2mem19\n store i32 0, i32* %sv_1.0.ph5.reg2mem\n store i64 0, i64* %sv_0.0.ph4.reg2mem\n store i64 0, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %1, label LBL_6, label LBL_1.lr.ph\n LBL_1:\n %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %2 = mul i64 %.reload, 16\n %3 = add i64 %2, %42\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp ult i32 %5, 27\n %7 = icmp ne i1 %6, true\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = urem i32 %5, 64\n %11 = icmp ne i32 %10, 0\n %12 = zext i32 %10 to i64\n %13 = lshr i64 134213359, %12\n %.op = urem i64 %13, 2\n %14 = icmp eq i64 %.op, 0\n %15 = icmp eq i1 %11, %14\n %16 = icmp eq i1 %15, false\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i32 %sv_1.02.reload, 1\n %19 = sext i32 %18 to i64\n %20 = icmp slt i64 %19, %44\n store i64 %19, i64* %.reg2mem\n store i32 %18, i32* %sv_1.02.reg2mem\n store i64 %sv_0.0.ph4.reload, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %20, label LBL_1, label LBL_6\n LBL_4:\n %21 = or i64 %2, 8\n %22 = add i64 %21, %42\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %24 to i64*\n call void @free(i64* %25)\n %26 = load i32, i32* @gv_0, align 4\n %27 = xor i32 %sv_1.02.reload, 268435455\n %28 = add i32 %26, %27\n %29 = mul i32 %28, 16\n %30 = load i64, i64* @gv_1, align 8\n %31 = add i64 %30, %2\n %32 = add i64 %31, 16\n %33 = inttoptr i64 %31 to i64*\n %34 = inttoptr i64 %32 to i64*\n %35 = call i64* @memmove(i64* %33, i64* %34, i32 %29)\n %36 = load i32, i32* @gv_0, align 4\n %37 = add i32 %36, -1\n store i32 %37, i32* @gv_0, align 4\n %38 = add i32 %36, -2\n %39 = zext i32 %38 to i64\n %40 = sext i32 %sv_1.02.reload to i64\n %41 = icmp slt i64 %40, %39\n store i32 %37, i32* %.reg2mem17\n store i64 %40, i64* %.reg2mem19\n store i32 %sv_1.02.reload, i32* %sv_1.0.ph5.reg2mem\n store i64 1, i64* %sv_0.0.ph4.reg2mem\n store i64 1, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %41, label LBL_1.lr.ph, label LBL_6\n LBL_5:\n %sv_0.0.ph4.reload = load i64, i64* %sv_0.0.ph4.reg2mem\n %sv_1.0.ph5.reload = load i32, i32* %sv_1.0.ph5.reg2mem\n %.reload20 = load i64, i64* %.reg2mem19\n %.reload18 = load i32, i32* %.reg2mem17\n %42 = load i64, i64* @gv_1, align 8\n %43 = add i32 %.reload18, -1\n %44 = zext i32 %43 to i64\n store i64 %.reload20, i64* %.reg2mem\n store i32 %sv_1.0.ph5.reload, i32* %sv_1.02.reg2mem\n br label LBL_1\n LBL_6:\n %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem\n %45 = and i64 %sv_0.0.ph.lcssa.reload, 4294967295\n ret i64 %45\n\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i32 %sv_1.02.reload, { 0, 2, 3, 1 }\n uselistorder i64* %.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.02.reg2mem, { 2, 1, 0 }\n uselistorder i32* %.reg2mem17, { 0, 2, 1 }\n uselistorder i64* %.reg2mem19, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.ph5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph4.reg2mem, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i1 false, { 0, 2, 3, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_1.lr.ph, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "janus_voicemail_destroy_session_6675", "fun_name": "janus_voicemail_destroy_session", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64* inttoptr (i64 4210724 to i64*))\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = bitcast i64* %arg2 to i32*\n store i32 -1, i32* %9, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = call i64 @FUNC(i64* nonnull @gv_1)\n %12 = call i64 @FUNC(i64 %10)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64* nonnull @gv_1)\n %16 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_2, i64 0, i64 0))\n %17 = bitcast i64* %arg2 to i32*\n store i32 -2, i32* %17, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0))\n %19 = call i64 @FUNC(i64 %10)\n %20 = load i64, i64* @gv_4, align 8\n %21 = call i64 @FUNC(i64 %20, i64 %10)\n %22 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i8*)* @JANUS_LOG, { 1, 0 }\n uselistorder i64 (i64*)* @janus_mutex_unlock, { 1, 0 }\n uselistorder i64 (i64*)* @g_atomic_int_get, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_bytes_17099", "fun_name": "decode_bytes", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge34.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 4\n %4 = zext i32 %3 to i64\n %5 = sub i64 %1, %4\n %6 = icmp eq i32 %3, 0\n %7 = mul i32 %3, 8\n %8 = lshr i32 1400856835, %7\n %storemerge = select i1 %6, i32 1400856835, i32 %8\n %9 = sub nsw i32 0, %7\n %10 = and i32 %9, 24\n %11 = shl i32 1400856835, %10\n %12 = or i32 %11, %storemerge\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = add nuw nsw i32 %3, 3\n %17 = trunc i64 %arg3 to i32\n %18 = add i32 %16, %17\n %19 = sdiv i32 %18, 8\n %20 = zext i32 %19 to i64\n %.off = add i32 %18, 7\n %21 = icmp ult i32 %.off, 15\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge34.reg2mem\n br i1 %21, label LBL_2, label LBL_1\n LBL_1:\n %storemerge34.reload = load i32, i32* %storemerge34.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %22 = mul i64 %.reload, 4\n %23 = add i64 %5, %22\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %22, %0\n %27 = xor i32 %25, %15\n %28 = inttoptr i64 %26 to i32*\n store i32 %27, i32* %28, align 4\n %29 = add i32 %storemerge34.reload, 1\n %30 = sext i32 %29 to i64\n %31 = icmp slt i64 %30, %20\n store i64 %30, i64* %.reg2mem\n store i32 %29, i32* %storemerge34.reg2mem\n br i1 %31, label LBL_1, label LBL_2\n LBL_2:\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n br label LBL_4\n LBL_4:\n ret i64 %4\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i32 %3, { 3, 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge34.reg2mem, { 2, 0, 1 }\n uselistorder i32 1400856835, { 2, 0, 1 }\n uselistorder i32 8, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_blk_get_request_10353", "fun_name": "virtio_blk_get_request", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "manager_invoke_notify_message_18975", "fun_name": "manager_invoke_notify_message", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_1, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_1, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %4 = icmp eq i64 %arg4, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_1, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %6 = icmp eq i64 %arg5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_1, i64 0, i64 0), i32 72, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %8 = call i64 @FUNC(i64 %arg4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n store i64 %8, i64* %sv_0, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_10, label LBL_9\n LBL_9:\n %11 = call i64 @FUNC()\n br label LBL_13\n LBL_10:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_12, label LBL_11\n LBL_11:\n %17 = call i64 @FUNC(i64 %12)\n br label LBL_13\n LBL_12:\n %18 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_7, i64 0, i64 0))\n br label LBL_13\n LBL_13:\n %19 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %19\n\n uselistorder i64 (i64)* @UNIT_VTABLE, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 0, 8, 1 }\n uselistorder i64* null, { 1, 2, 3, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_13, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fuse_dev_splice_read_4331", "fun_name": "fuse_dev_splice_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.33.reg2mem = alloca i32\n %.reg2mem20 = alloca i64\n %sv_1.3.ph.reg2mem = alloca i32\n %sv_0.3.ph.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i32\n %sv_2.05.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_13\n LBL_1:\n %sext = mul i64 %1, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = mul nsw i64 %6, 24\n %8 = call i64 @FUNC(i64 %7, i64 0)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 -2, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_13\n LBL_2:\n %11 = bitcast i32* %sv_3 to i64*\n %12 = call i64 @FUNC(i64* nonnull %11, i64 1, i64 0)\n %13 = call i64 @FUNC(i64 %3, i64 %2, i64* nonnull %11, i64 %arg4)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n store i32 0, i32* %sv_0.3.ph.reg2mem\n store i32 %14, i32* %sv_1.3.ph.reg2mem\n br i1 %15, label LBL_9, label LBL_3\n LBL_3:\n %16 = trunc i64 %1 to i32\n %17 = ptrtoint i32* %arg3 to i64\n %18 = add i64 %17, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = load i32, i32* %sv_3, align 4\n %22 = add i32 %21, %20\n %23 = icmp ugt i32 %22, %16\n store i32 0, i32* %sv_0.2.reg2mem\n store i32 -3, i32* %sv_1.2.reg2mem\n br i1 %23, label LBL_8, label LBL_4\n LBL_4:\n %24 = icmp eq i32 %21, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %sv_2.05.reg2mem\n store i32 0, i32* %sv_0.04.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n store i32 0, i32* %sv_1.2.reg2mem\n br i1 %24, label LBL_8, label LBL_5\n LBL_5:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %25 = mul nsw i64 %.reload, 24\n %26 = add i64 %25, %8\n %27 = inttoptr i64 %26 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %27, align 8\n %28 = add i64 %26, 16\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i32 %sv_0.04.reload, 1\n %31 = call i64 @FUNC(i64 %17, i64 %26)\n %32 = trunc i64 %31 to i32\n %33 = icmp sgt i32 %32, -1\n %34 = icmp eq i1 %33, false\n store i32 %sv_2.05.reload, i32* %sv_2.0.lcssa.reg2mem\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = add i32 %sv_2.05.reload, %32\n %36 = load i32, i32* %sv_3, align 4\n %37 = zext i32 %36 to i64\n %38 = sext i32 %30 to i64\n %39 = icmp slt i64 %38, %37\n store i64 %38, i64* %.reg2mem\n store i32 %35, i32* %sv_2.05.reg2mem\n store i32 %30, i32* %sv_0.04.reg2mem\n store i32 %35, i32* %sv_2.0.lcssa.reg2mem\n br i1 %39, label LBL_5, label LBL_7\n LBL_7:\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n %40 = icmp eq i32 %sv_2.0.lcssa.reload, 0\n store i32 %30, i32* %sv_0.2.reg2mem\n store i32 %32, i32* %sv_1.2.reg2mem\n store i32 %30, i32* %sv_0.3.ph.reg2mem\n store i32 %sv_2.0.lcssa.reload, i32* %sv_1.3.ph.reg2mem\n br i1 %40, label LBL_8, label LBL_9\n LBL_8:\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.3.ph.reg2mem\n store i32 %sv_1.2.reload, i32* %sv_1.3.ph.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.3.ph.reload = load i32, i32* %sv_1.3.ph.reg2mem\n %sv_0.3.ph.reload = load i32, i32* %sv_0.3.ph.reg2mem\n %41 = load i32, i32* %sv_3, align 4\n %42 = zext i32 %41 to i64\n %43 = sext i32 %sv_0.3.ph.reload to i64\n %44 = icmp slt i64 %43, %42\n br i1 %44, label LBL_10, label LBL_12\n LBL_10:\n %45 = add i64 %8, 8\n store i64 %43, i64* %.reg2mem20\n store i32 %sv_0.3.ph.reload, i32* %sv_0.33.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.33.reload = load i32, i32* %sv_0.33.reg2mem\n %.reload21 = load i64, i64* %.reg2mem20\n %46 = mul nsw i64 %.reload21, 24\n %47 = add i64 %45, %46\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %49)\n %51 = add i32 %sv_0.33.reload, 1\n %52 = load i32, i32* %sv_3, align 4\n %53 = zext i32 %52 to i64\n %54 = sext i32 %51 to i64\n %55 = icmp slt i64 %54, %53\n store i64 %54, i64* %.reg2mem20\n store i32 %51, i32* %sv_0.33.reg2mem\n br i1 %55, label LBL_11, label LBL_12\n LBL_12:\n %56 = call i64 @FUNC(i64 %8)\n %57 = sext i32 %sv_1.3.ph.reload to i64\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_2.05.reload, { 1, 0 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64 %8, { 1, 2, 0, 3 }\n uselistorder i32* %sv_3, { 3, 0, 2, 1, 4 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.05.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %sv_1.2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.3.ph.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_1.3.ph.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %.reg2mem20, { 1, 0, 2 }\n uselistorder i32* %sv_0.33.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 8, 9, 1, 2, 4, 5, 6, 3, 0, 10, 11, 7 }\n uselistorder i64 24, { 1, 0, 2 }\n uselistorder label LBL_13, { 2, 0, 1 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 0, 2, 1 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "network_to_result_14942", "fun_name": "network_to_result", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = call i32 @ntohl(i32 %3)\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n store i64 %9, i64* %7, align 8\n ret i64 %9\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i32 (i32)* @ntohl, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mtv_read_packet_15765", "fun_name": "mtv_read_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %3, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = trunc i64 %7 to i32\n %12 = sub i32 %11, %10\n %13 = trunc i64 %1 to i32\n %14 = add i32 %12, %13\n %15 = add i64 %3, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = ashr i32 %14, 31\n %19 = zext i32 %14 to i64\n %20 = zext i32 %18 to i64\n %21 = mul i64 %20, 4294967296\n %22 = or i64 %21, %19\n %23 = zext i32 %17 to i64\n %24 = srem i64 %22, %23\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_3, label LBL_1\n LBL_1:\n %27 = call i64 @FUNC(i64 %6, i64 16)\n %28 = call i64 @FUNC(i64 %6, i64 %2, i64 1024)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 1024\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %30, label LBL_2, label LBL_9\n LBL_2:\n %31 = add i64 %2, 4\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i32 %33, -16\n store i32 %34, i32* %32, align 4\n %35 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %35, align 4\n store i64 %28, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_3:\n %36 = and i64 %1, 4294967295\n %37 = call i64 @FUNC(i64 %6, i64 %2, i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %13, %38\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %39, label LBL_4, label LBL_9\n LBL_4:\n %40 = icmp slt i32 %13, 0\n %41 = zext i1 %40 to i32\n %42 = add i32 %41, %13\n %43 = icmp ugt i32 %42, 1\n br i1 %43, label LBL_5, label LBL_7\n LBL_5:\n %44 = bitcast i64* %rdi to i32*\n %45 = add i64 %2, 8\n %46 = inttoptr i64 %45 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %47 = load i64, i64* %46, align 8\n %48 = mul i64 %.reload, 2\n %49 = add i64 %47, %48\n %50 = inttoptr i64 %49 to i16*\n %51 = load i16, i16* %50, align 2\n %52 = zext i16 %51 to i64\n %53 = call i64 @FUNC(i64 %52)\n %54 = trunc i64 %53 to i16\n store i16 %54, i16* %50, align 2\n %55 = add i32 %storemerge1.reload, 1\n %56 = load i32, i32* %44, align 8\n %57 = icmp slt i32 %56, 0\n %58 = zext i1 %57 to i32\n %59 = add i32 %56, %58\n %60 = ashr i32 %59, 1\n %61 = zext i32 %60 to i64\n %62 = sext i32 %55 to i64\n %63 = icmp slt i64 %62, %61\n store i64 %62, i64* %.reg2mem\n store i32 %55, i32* %storemerge1.reg2mem\n br i1 %63, label LBL_6, label LBL_7\n LBL_7:\n %64 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %64, align 4\n store i64 %37, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %65 = and i64 %sv_0.0.reload, 4294967295\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %13, { 1, 0, 3, 2 }\n uselistorder i64 %6, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 2, 3, 0, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64)* @av_get_packet, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "svhandler_flash_erase_sector_6475", "fun_name": "svhandler_flash_erase_sector", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i8, i8* bitcast (i64* @gv_0 to i8*), align 8\n %1 = zext i8 %0 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = and i64 %2, 4294967295\n %4 = xor i64 %3, 1\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC(i64 %1, i64 0)\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i8\n store i8 %12, i8* bitcast (i64* @gv_0 to i8*), align 8\n store i8 0, i8* inttoptr (i64 4210721 to i8*), align 1\n store i8 0, i8* inttoptr (i64 4210722 to i8*), align 2\n %13 = call i64 @FUNC()\n %14 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %15 = and i32 %14, -4\n %16 = or i32 %15, 2\n %17 = zext i32 %16 to i64\n store i32 %16, i32* @gv_1, align 4\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vcpu_init_fpu_6186", "fun_name": "vcpu_init_fpu", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %storemerge.in.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %4 = icmp eq i64* %arg1, null\n br i1 %4, label LBL_5, label LBL_2\n LBL_2:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %0, i64* %6, align 8\n %7 = load i32, i32* @gv_0, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = load i32, i32* inttoptr (i64 4210760 to i32*), align 8\n %11 = icmp eq i32 %10, 0\n store i64 %1, i64* %storemerge.in.reg2mem\n br i1 %11, label LBL_7, label LBL_4\n LBL_4:\n %12 = inttoptr i64 %5 to i32*\n store i32 1, i32* %12, align 4\n store i64 %1, i64* %storemerge.in.reg2mem\n br label LBL_7\n LBL_5:\n %13 = call i64 @FUNC(i64 8, i64 16)\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = icmp eq i64 %13, 0\n store i64 4294967284, i64* %storemerge.in.reg2mem\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = inttoptr i64 %13 to i32*\n store i32 895, i32* %17, align 4\n %18 = add i64 %13, 4\n %19 = inttoptr i64 %18 to i32*\n store i32 8064, i32* %19, align 4\n store i64 %1, i64* %storemerge.in.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %13, { 1, 2, 0, 3 }\n uselistorder i64 %1, { 2, 1, 0, 3, 4 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 4, 1, 3, 2, 5 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_7, { 2, 3, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tg3_find_peer_8042", "fun_name": "tg3_find_peer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge14.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = and i32 %1, -8\n store i64 %0, i64* %.reg2mem\n store i32 0, i32* %storemerge14.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %3 = or i32 %storemerge14.reload, %2\n %4 = add i64 %.reload, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = zext i32 %3 to i64\n %8 = call i64 @FUNC(i64 %6, i64 %7)\n %9 = icmp eq i64 %8, 0\n %.not = icmp ne i1 %9, true\n %10 = icmp eq i64 %8, %6\n %11 = icmp eq i1 %10, false\n %or.cond = icmp eq i1 %11, %.not\n br i1 %or.cond, label LBL_4, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %8)\n %13 = add nuw nsw i32 %storemerge14.reload, 1\n %14 = icmp ult i32 %13, 8\n store i64 %8, i64* %.reg2mem\n store i32 %13, i32* %storemerge14.reg2mem\n br i1 %14, label LBL_1, label LBL_3\n LBL_3:\n %15 = icmp eq i1 %9, false\n br i1 %15, label LBL_4, label LBL_5\n LBL_4:\n %16 = call i64 @FUNC(i64 %8)\n br label LBL_5\n LBL_5:\n ret i64 %8\n\n uselistorder i1 %9, { 1, 0 }\n uselistorder i64 %8, { 1, 2, 0, 4, 3, 5 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @pci_dev_put, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sldns_str2wire_str_buf_5602", "fun_name": "sldns_str2wire_str_buf", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i32\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i8, align 1\n store i8 0, i8* %sv_2, align 1\n store i64 %arg1, i64* %sv_1, align 8\n %0 = icmp eq i64* %arg3, null\n %1 = icmp eq i1 %0, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %sv_1 to i64\n %4 = call i64 @FUNC(i8* nonnull %sv_2, i64* nonnull %sv_1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i32 0, i32* %sv_0.04.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %7, label LBL_2, label LBL_7\n LBL_2:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %8 = icmp ult i32 %sv_0.04.reload, 255\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = load i64, i64* %sv_1, align 8\n %10 = sub i64 %9, %arg1\n %11 = call i64 @FUNC(i64 4294967294, i64 %10)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %12 = sext i32 %sv_0.04.reload to i64\n %13 = add nsw i64 %12, 2\n %14 = icmp ugt i64 %13, %3\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = load i64, i64* %sv_1, align 8\n %17 = sub i64 %16, %arg1\n %18 = call i64 @FUNC(i64 4294967295, i64 %17)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %19 = add nsw i64 %12, 1\n %20 = trunc i64 %19 to i32\n %21 = add i64 %19, %2\n %22 = load i8, i8* %sv_2, align 1\n %23 = inttoptr i64 %21 to i8*\n store i8 %22, i8* %23, align 1\n %24 = call i64 @FUNC(i8* nonnull %sv_2, i64* nonnull %sv_1)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i32 %20, i32* %sv_0.04.reg2mem\n store i32 %20, i32* %sv_0.0.lcssa.reg2mem\n br i1 %27, label LBL_2, label LBL_7\n LBL_7:\n %28 = load i64, i64* %sv_1, align 8\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 4294967293, i64* %rax.0.reg2mem\n br i1 %30, label LBL_8, label LBL_9\n LBL_8:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %31 = trunc i32 %sv_0.0.lcssa.reload to i8\n %32 = bitcast i64* %arg2 to i8*\n store i8 %31, i8* %32, align 1\n %33 = sext i32 %sv_0.0.lcssa.reload to i64\n %34 = add nsw i64 %33, 1\n store i64 %34, i64* %arg3, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.04.reload, { 1, 0 }\n uselistorder i8* %sv_2, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1, { 2, 1, 4, 5, 0, 3, 6 }\n uselistorder i32* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 5, 4, 2 }\n uselistorder i64 1, { 1, 2, 0, 3 }\n uselistorder i64 (i64, i64)* @RET_ERR, { 1, 0 }\n uselistorder i64 (i8*, i64*)* @sldns_parse_char, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_9, { 2, 0, 3, 4, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "store_tabletYtilt_9607", "fun_name": "store_tabletYtilt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = bitcast i32* %sv_0 to i64*\n %3 = call i64 @FUNC(i64 %arg3, i64 10, i64* nonnull %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %arg4, -1\n %7 = add i64 %6, %arg3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 10\n %11 = icmp eq i1 %10, false\n %storemerge = select i1 %11, i64 %arg4, i64 %6\n %12 = inttoptr i64 %arg3 to i8*\n %13 = trunc i64 %storemerge to i32\n %14 = call i32 @strncmp(i8* %12, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i32 %13)\n %15 = icmp eq i32 %14, 0\n store i32 -1, i32* %storemerge4.reg2mem\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_2:\n %16 = load i32, i32* %sv_0, align 4\n %17 = icmp ult i32 %16, 101\n store i32 %16, i32* %storemerge4.reg2mem\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n %18 = inttoptr i64 %1 to i32*\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n store i32 %storemerge4.reload, i32* %18, align 4\n store i64 %arg4, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8 10, { 1, 0 }\n uselistorder i64 %arg4, { 0, 2, 1 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uvesafb_init_9030", "fun_name": "uvesafb_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 4294967277, i64* %rax.0.shrunk.reg2mem\n br i1 %6, label LBL_1, label LBL_9\n LBL_1:\n %7 = load i64, i64* %sv_0, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = load i64, i64* @gv_1, align 8\n %10 = call i64 @FUNC(i64* nonnull @gv_2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %10, i64* %rax.0.shrunk.reg2mem\n br i1 %12, label LBL_2, label LBL_9\n LBL_2:\n %13 = call i64 @FUNC(i64* nonnull @gv_3)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %13, i64* %rax.0.shrunk.reg2mem\n br i1 %16, label LBL_9, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0)\n store i64 %17, i64* @gv_4, align 8\n %18 = icmp eq i64 %17, 0\n store i64 0, i64* %.reg2mem\n store i64 4294967284, i64* %storemerge1.reg2mem\n br i1 %18, label LBL_6, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %17)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_7, label LBL_4.LBL_6_crit_edge\n LBL_5:\n %.pre = load i64, i64* @gv_4, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %19, i64* %storemerge1.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %22 = call i64 @FUNC(i64 %.reload)\n %23 = call i64 @FUNC(i64* nonnull @gv_3)\n %24 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64 %storemerge1.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_7:\n %25 = call i64 @FUNC(i64* nonnull @gv_3, i64* nonnull @gv_5)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_6, i64 0, i64 0), i64 ptrtoint (i64* @gv_5 to i64), i64 %9, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 2, 6, 3, 4, 5 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64* @gv_5, { 1, 0 }\n uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 0, 4, 3, 2, 1 }\n uselistorder label LBL_9, { 2, 1, 5, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tee_shm_get_from_id_13025", "fun_name": "tee_shm_get_from_id", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 -22, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 %2)\n %5 = add i64 %2, 40\n %6 = call i64 @FUNC(i64 %5, i64 %3)\n %7 = icmp eq i64 %6, 0\n store i64 -22, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %6 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, %2\n store i64 -22, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = add i64 %6, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = urem i32 %13, 2\n %15 = icmp eq i32 %14, 0\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = add i64 %6, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 %6, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = call i64 @FUNC(i64 %2)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %2, { 1, 0, 3, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 2, 3, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "remove_bond_12551", "fun_name": "remove_bond", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tls_finish_handshake_12580", "fun_name": "tls_finish_handshake", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = and i64 %7, 4294967295\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_4:\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = call i64 @FUNC(i64 %arg1)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = add i64 %arg1, 56\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 0, i64* %17, align 8\n br label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i64 %arg1)\n %21 = add i64 %arg1, 64\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = bitcast i64* %rdi to i32*\n %24 = load i32, i32* %23, align 8\n %25 = icmp eq i32 %24, 0\n %.pre = add i64 %arg1, 4\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = load i32, i32* %.pre1, align 4\n %27 = icmp eq i32 %26, 2\n %28 = icmp eq i1 %27, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %28, label LBL_15, label LBL_8\n LBL_8:\n store i32 0, i32* %.pre1, align 4\n %29 = add i64 %arg1, 80\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = load i32, i32* %23, align 8\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = call i64 @FUNC(i64 %arg1, i64 1)\n %34 = add i64 %arg1, 40\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = add i64 %36, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i32 %39, 1\n store i32 %40, i32* %38, align 4\n %41 = add i64 %arg1, 72\n %42 = inttoptr i64 %41 to i64*\n store i64 4198833, i64* %42, align 8\n br label LBL_13\n LBL_10:\n %43 = call i64 @FUNC(i64 %arg1, i64 2)\n %44 = add i64 %arg1, 8\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, 0\n %.pre3 = add i64 %arg1, 40\n %.pre5 = inttoptr i64 %.pre3 to i64*\n br i1 %47, label LBL_12, label LBL_11\n LBL_11:\n %48 = load i64, i64* %.pre5, align 8\n %49 = add i64 %48, 12\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i32 %51, 1\n store i32 %52, i32* %50, align 4\n br label LBL_12\n LBL_12:\n %53 = add i64 %arg1, 72\n %54 = inttoptr i64 %53 to i64*\n store i64 4198840, i64* %54, align 8\n %55 = load i64, i64* %.pre5, align 8\n %56 = add i64 %55, 16\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = add i32 %58, 1\n store i32 %59, i32* %57, align 4\n br label LBL_13\n LBL_13:\n %60 = call i64 @FUNC(i64 %arg1)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %62, label LBL_15, label LBL_14\n LBL_14:\n %63 = add i64 %arg1, 48\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = inttoptr i64 %65 to i32*\n store i32 0, i32* %66, align 4\n %67 = load i64, i64* %64, align 8\n %68 = add i64 %67, 4\n %69 = inttoptr i64 %68 to i32*\n store i32 0, i32* %69, align 4\n %70 = load i64, i64* %64, align 8\n %71 = add i64 %70, 8\n %72 = inttoptr i64 %71 to i32*\n store i32 0, i32* %72, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64 (i64, i64)* @ssl_update_cache, { 1, 0 }\n uselistorder i64 1, { 2, 1, 3, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64)* @SSL_IS_DTLS, { 2, 1, 0 }\n uselistorder i64 %arg1, { 7, 8, 9, 0, 10, 11, 5, 6, 12, 13, 1, 14, 15, 4, 16, 17, 2, 3, 18 }\n uselistorder label LBL_15, { 2, 1, 0, 3 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "split_certinfo_10314", "fun_name": "split_certinfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i64 %2, 0\n store i64 %2, i64* %sv_0.0.in.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i8*\n %4 = call i8* @strstr(i8* %sv_0.0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i8* %4, null\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n store i8 0, i8* %4, align 1\n br label LBL_3\n LBL_3:\n %6 = inttoptr i64 %sv_0.0.in.reload to i64*\n %7 = call i64* @memchr(i64* %6, i32 61, i32 64)\n %8 = icmp eq i64* %7, null\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n %9 = bitcast i64* %7 to i8*\n store i8 0, i8* %9, align 1\n %10 = ptrtoint i64* %7 to i64\n %11 = add i64 %10, 1\n %12 = call i64 @FUNC(i64 %0, i64 %sv_0.0.in.reload, i64 %11)\n br label LBL_5\n LBL_5:\n %13 = ptrtoint i8* %4 to i64\n %14 = add i64 %13, 2\n %15 = icmp eq i1 %5, false\n store i64 %14, i64* %sv_0.0.in.reg2mem\n br i1 %15, label LBL_1, label LBL_6\n LBL_6:\n %16 = call i64 @FUNC(i64 %2)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %7, { 0, 2, 1 }\n uselistorder i64 %sv_0.0.in.reload, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tipc_sk_remove_10765", "fun_name": "tipc_sk_remove", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1, i64 0)\n %3 = load i64, i64* @gv_0, align 8\n %4 = add i64 %0, 4\n %5 = call i64 @FUNC(i64 %2, i64 %4, i64 %3)\n %6 = and i64 %5, 4294967295\n %7 = xor i64 %6, 1\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 1\n %13 = zext i1 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i64 %0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "matchExpression_4297", "fun_name": "matchExpression", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_11\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_11\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %9 = ashr exact i64 %sext, 32\n %10 = and i64 %9, 4294967295\n store i64 %10, i64* @0, align 8\n %trunc = trunc i64 %9 to i32\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_11 [\n i32 1, label LBL_3\n i32 2, label LBL_4\n i32 3, label LBL_5\n i32 4, label LBL_6\n i32 5, label LBL_7\n i32 6, label LBL_8\n i32 7, label LBL_9\n i32 8, label LBL_10\n ]\n LBL_3:\n %11 = add i64 %8, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i64 %5)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %15 = add i64 %8, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %5)\n %19 = urem i64 %18, 256\n %20 = icmp eq i64 %19, 0\n %21 = zext i1 %20 to i64\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %22 = add i64 %8, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24, i64 %5)\n %26 = icmp slt i64 %25, 0\n %27 = zext i1 %26 to i64\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %28 = add i64 %8, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30, i64 %5)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 1\n %34 = zext i1 %33 to i64\n %35 = and i64 %31, -256\n %36 = or i64 %35, %34\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %37 = add i64 %8, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39, i64 %5)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp slt i32 %41, 0\n %44 = icmp eq i1 %43, false\n %45 = icmp eq i1 %42, false\n %46 = icmp eq i1 %44, %45\n %47 = zext i1 %46 to i64\n %48 = and i64 %40, -256\n %49 = or i64 %48, %47\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %50 = add i64 %8, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %52, i64 %5)\n %54 = icmp sgt i64 %53, -1\n %55 = zext i1 %54 to i64\n store i64 %55, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %56 = add i64 %8, 8\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = call i64 @FUNC(i64 %58, i64 %5)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n %63 = zext i1 %62 to i64\n %64 = and i64 %59, -256\n %65 = or i64 %64, %63\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %66 = add i64 %8, 8\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = call i64 @FUNC(i64 %68, i64 %5)\n %70 = trunc i64 %69 to i32\n %71 = icmp eq i32 %70, 0\n %72 = zext i1 %71 to i64\n %73 = and i64 %69, -256\n %74 = or i64 %73, %72\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %69, { 1, 0 }\n uselistorder i64 %59, { 1, 0 }\n uselistorder i32 %41, { 1, 0 }\n uselistorder i64 %40, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %8, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %5, { 7, 6, 5, 4, 3, 2, 1, 0, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 11, 10, 9, 8, 7, 6, 5, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @scontains, { 1, 0 }\n uselistorder i64 (i64, i64)* @scmp, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @smatch, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder label LBL_11, { 3, 4, 5, 6, 7, 8, 9, 10, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iscsi_retry_timer_expired_2756", "fun_name": "iscsi_retry_timer_expired", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %4)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "irda_bind_12652", "fun_name": "irda_bind", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg3 to i32\n %4 = call i64 @FUNC(i64 %2)\n %5 = inttoptr i64 %4 to i64*\n %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64* %5)\n %7 = icmp eq i32 %3, 68\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_12\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = trunc i64 %1 to i32\n %10 = call i64 @FUNC()\n %11 = icmp eq i32 %9, 2\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_7, label LBL_2\n LBL_2:\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 1\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_7, label LBL_3\n LBL_3:\n %18 = inttoptr i64 %4 to i8*\n %19 = add i64 %8, 2\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n store i8 %21, i8* %18, align 1\n %22 = icmp slt i8 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967201, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_5:\n %25 = zext i8 %21 to i64\n %26 = call i64 @FUNC(i64 %4, i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp slt i32 %27, 0\n store i64 %26, i64* %sv_0.0.reg2mem\n br i1 %28, label LBL_11, label LBL_6\n LBL_6:\n %29 = add i64 %2, 8\n %30 = inttoptr i64 %29 to i32*\n store i32 2, i32* %30, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_7:\n %31 = load i64, i64* @gv_3, align 8\n %32 = add i64 %8, 3\n %33 = call i64 @FUNC(i64 %32, i64 %31)\n %34 = add i64 %4, 8\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = icmp eq i64 %33, 0\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %36, label LBL_11, label LBL_8\n LBL_8:\n %37 = add i64 %8, 2\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = zext i8 %39 to i64\n %41 = call i64 @FUNC(i64 %4, i64 %40, i64 %32)\n %42 = trunc i64 %41 to i32\n %43 = icmp slt i32 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_10, label LBL_9\n LBL_9:\n %45 = load i64, i64* %35, align 8\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = call i64 @FUNC(i64 %47)\n %49 = load i64, i64* %35, align 8\n %50 = call i64 @FUNC(i64 %49)\n store i64 %41, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_10:\n %51 = add i64 %4, 16\n %52 = inttoptr i64 %51 to i8*\n %53 = load i8, i8* %52, align 1\n %54 = zext i8 %53 to i64\n %55 = load i64, i64* %35, align 8\n %56 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i64 %54, i64 0)\n %57 = load i64, i64* %35, align 8\n %58 = call i64 @FUNC(i64 %57)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %59 = call i64 @FUNC()\n %60 = and i64 %sv_0.0.reload, 4294967295\n store i64 %60, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %35, { 2, 3, 0, 1, 4 }\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 6, 2, 3, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 2, 3, 0, 4, 1, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tty_register_driver_10306", "fun_name": "tty_register_driver", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %.pre-phi12.reg2mem = alloca i32*\n %storemerge37.reg2mem = alloca i32\n %storemerge48.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %2, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = bitcast i32* %sv_1 to i64*\n %16 = call i64 @FUNC(i64* nonnull %15, i32 %14, i32 %11, i64 %8)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 %17, i32* %sv_0.0.reg2mem\n br i1 %19, label LBL_4, label LBL_2\n LBL_2:\n %20 = load i32, i32* %sv_1, align 4\n %21 = ashr i32 %20, 20\n %22 = bitcast i64* %arg1 to i32*\n store i32 %21, i32* %22, align 4\n %23 = urem i32 %20, 1048576\n store i32 %23, i32* %13, align 4\n store i32 %17, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %24 = mul i32 %3, 1048576\n %25 = add i64 %2, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = or i32 %27, %24\n store i32 %28, i32* %sv_1, align 4\n %29 = add i64 %2, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = add i64 %2, 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = sext i32 %28 to i64\n %36 = zext i32 %34 to i64\n %37 = call i64 @FUNC(i64 %35, i64 %36, i64 %31)\n %38 = trunc i64 %37 to i32\n store i32 %38, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %39 = icmp slt i32 %sv_0.0.reload, 0\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %39, label LBL_16, label LBL_5\n LBL_5:\n %40 = add i64 %2, 24\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = urem i32 %42, 2\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_7, label LBL_6\n LBL_6:\n %45 = add i64 %2, 8\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = load i32, i32* %sv_1, align 4\n %49 = sext i32 %48 to i64\n %50 = zext i32 %47 to i64\n %51 = call i64 @FUNC(i64 %2, i64 %49, i64 0, i64 %50)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n store i32* %46, i32** %.pre-phi12.reg2mem\n store i32 %52, i32* %sv_0.1.reg2mem\n br i1 %54, label LBL_15, label LBL_7\n LBL_7:\n %55 = call i64 @FUNC(i64* nonnull @gv_0)\n %56 = add i64 %2, 32\n %57 = call i64 @FUNC(i64 %56, i64* nonnull @gv_1)\n %58 = call i64 @FUNC(i64* nonnull @gv_0)\n %59 = load i32, i32* %41, align 4\n %60 = and i32 %59, 2\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_12, label LBL_8\n LBL_8:\n %63 = add i64 %2, 8\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = icmp eq i32 %65, 0\n store i32 0, i32* %storemerge48.reg2mem\n br i1 %66, label LBL_12, label LBL_9\n LBL_9:\n %storemerge48.reload = load i32, i32* %storemerge48.reg2mem\n %67 = zext i32 %storemerge48.reload to i64\n %68 = call i64 @FUNC(i64 %2, i64 %67, i64 0)\n %69 = icmp ult i64 %68, -1000\n br i1 %69, label LBL_11, label LBL_10\n LBL_10:\n %storemerge36 = add i32 %storemerge48.reload, -1\n %70 = icmp slt i32 %storemerge36, 0\n %71 = icmp eq i1 %70, false\n store i32 %storemerge36, i32* %storemerge37.reg2mem\n br i1 %71, label LBL_13, label LBL_14\n LBL_11:\n %72 = add i32 %storemerge48.reload, 1\n %73 = load i32, i32* %64, align 4\n %74 = zext i32 %73 to i64\n %75 = sext i32 %72 to i64\n %76 = icmp slt i64 %75, %74\n store i32 %72, i32* %storemerge48.reg2mem\n br i1 %76, label LBL_9, label LBL_12\n LBL_12:\n %77 = call i64 @FUNC(i64 %2)\n %78 = load i32, i32* %41, align 4\n %79 = or i32 %78, 4\n store i32 %79, i32* %41, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_17\n LBL_13:\n %storemerge37.reload = load i32, i32* %storemerge37.reg2mem\n %80 = zext i32 %storemerge37.reload to i64\n %81 = call i64 @FUNC(i64 %2, i64 %80)\n %storemerge3 = add i32 %storemerge37.reload, -1\n %82 = icmp slt i32 %storemerge3, 0\n %83 = icmp eq i1 %82, false\n store i32 %storemerge3, i32* %storemerge37.reg2mem\n br i1 %83, label LBL_13, label LBL_14\n LBL_14:\n %84 = trunc i64 %68 to i32\n %85 = call i64 @FUNC(i64* nonnull @gv_0)\n %86 = call i64 @FUNC(i64 %56)\n %87 = call i64 @FUNC(i64* nonnull @gv_0)\n store i32* %64, i32** %.pre-phi12.reg2mem\n store i32 %84, i32* %sv_0.1.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.pre-phi12.reload = load i32*, i32** %.pre-phi12.reg2mem\n %88 = load i32, i32* %.pre-phi12.reload, align 4\n %89 = load i32, i32* %sv_1, align 4\n %90 = sext i32 %89 to i64\n %91 = zext i32 %88 to i64\n %92 = call i64 @FUNC(i64 %90, i64 %91)\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %93 = zext i32 %sv_0.2.reload to i64\n store i64 %93, i64* %storemerge.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge37.reload, { 1, 0 }\n uselistorder i32 %storemerge48.reload, { 0, 2, 1 }\n uselistorder i32* %64, { 0, 2, 1 }\n uselistorder i32* %41, { 1, 0, 2, 3 }\n uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 }\n uselistorder i64 %2, { 0, 3, 2, 1, 4, 6, 7, 5, 8, 13, 12, 9, 11, 10 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %storemerge48.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge37.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64*)* @mutex_lock, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 0, { 3, 2, 0, 1, 4, 5, 6, 7, 8, 9 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__split_vma_4117", "fun_name": "__split_vma", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %4)\n %6 = sub i64 0, %5\n %7 = sub i64 %6, 1\n %8 = and i64 %7, %arg3\n %9 = icmp eq i64 %8, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_23\n LBL_2:\n %10 = load i64, i64* @gv_0, align 8\n %11 = call i64 @FUNC(i64 %10, i64 0)\n %12 = icmp eq i64 %11, 0\n store i64 4294967284, i64* %sv_0.2.reg2mem\n br i1 %12, label LBL_22, label LBL_3\n LBL_3:\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %11 to i64*\n store i64 0, i64* %16, align 8\n %17 = add i64 %11, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %15, i64* %18, align 8\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %11, 16\n %26 = inttoptr i64 %25 to i64*\n store i64 %21, i64* %26, align 8\n %27 = add i64 %11, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %24, i64* %28, align 8\n %29 = add i64 %0, 32\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = add i64 %0, 40\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %11, 32\n %36 = inttoptr i64 %35 to i64*\n store i64 %31, i64* %36, align 8\n %37 = add i64 %11, 40\n %38 = inttoptr i64 %37 to i64*\n store i64 %34, i64* %38, align 8\n %39 = add i64 %0, 48\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %11, 48\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n %44 = call i64 @FUNC(i64 %42)\n %45 = icmp eq i32 %arg4, 0\n br i1 %45, label LBL_5, label LBL_4\n LBL_4:\n store i64 %arg3, i64* %18, align 8\n br label LBL_6\n LBL_5:\n store i64 %arg3, i64* %16, align 8\n %46 = load i64, i64* %26, align 8\n %47 = udiv i64 %arg3, 4096\n %48 = add i64 %46, %47\n store i64 %48, i64* %26, align 8\n br label LBL_6\n LBL_6:\n %49 = call i64 @FUNC(i64 %0)\n %50 = call i64 @FUNC(i64 %49)\n %51 = call i64 @FUNC(i64 %50)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_8, label LBL_7\n LBL_7:\n %54 = call i64 @FUNC(i64 %50)\n store i64 %54, i64* %sv_0.1.reg2mem\n br label LBL_21\n LBL_8:\n %55 = call i64 @FUNC(i64 %11, i64 %50)\n %56 = call i64 @FUNC(i64 %11, i64 %0)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %59, label LBL_20, label LBL_9\n LBL_9:\n %60 = ptrtoint i64* %arg1 to i64\n %61 = load i64, i64* %38, align 8\n %62 = icmp eq i64 %61, 0\n br i1 %62, label LBL_12, label LBL_10\n LBL_10:\n %63 = call i64 @FUNC(i64 %61)\n %64 = inttoptr i64 %22 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = urem i32 %65, 2\n %67 = icmp eq i32 %66, 0\n br i1 %67, label LBL_12, label LBL_11\n LBL_11:\n %68 = call i64 @FUNC(i64 %60)\n br label LBL_12\n LBL_12:\n %69 = load i64, i64* %20, align 8\n br i1 %45, label LBL_14, label LBL_13\n LBL_13:\n %70 = load i64, i64* %16, align 8\n %71 = sub i64 %arg3, %70\n %72 = udiv i64 %71, 4096\n %73 = add i64 %72, %69\n %74 = load i64, i64* %14, align 8\n %75 = call i64 @FUNC(i64 %0, i64 %arg3, i64 %74, i64 %73, i64 %11)\n store i64 %75, i64* %storemerge.in.reg2mem\n br label LBL_15\n LBL_14:\n %76 = call i64 @FUNC(i64 %0, i64 %0, i64 %arg3, i64 %69, i64 %11)\n store i64 %76, i64* %storemerge.in.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %77 = icmp eq i32 %storemerge, 0\n %78 = icmp eq i1 %77, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %78, label LBL_16, label LBL_23\n LBL_16:\n %79 = load i64, i64* %38, align 8\n %80 = icmp eq i64 %79, 0\n store i64 %storemerge.in.reload, i64* %sv_0.0.reg2mem\n br i1 %80, label LBL_20, label LBL_17\n LBL_17:\n %81 = inttoptr i64 %22 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = urem i32 %82, 2\n %84 = icmp eq i32 %83, 0\n store i64 %79, i64* %.reg2mem\n br i1 %84, label LBL_19, label LBL_18\n LBL_18:\n %85 = call i64 @FUNC(i64 %60)\n %.pre = load i64, i64* %38, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_19\n LBL_19:\n %.reload = load i64, i64* %.reg2mem\n %86 = call i64 @FUNC(i64 %.reload)\n store i64 %storemerge.in.reload, i64* %sv_0.0.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %87 = call i64 @FUNC(i64 %50)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %88 = load i64, i64* @gv_0, align 8\n %89 = call i64 @FUNC(i64 %88, i64 %11)\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br label LBL_22\n LBL_22:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %90 = and i64 %sv_0.2.reload, 4294967295\n store i64 %90, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %69, { 1, 0 }\n uselistorder i64 %60, { 1, 0 }\n uselistorder i64* %26, { 1, 0, 2 }\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i64 %11, { 2, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 12 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @vma_adjust, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 %arg3, { 4, 3, 2, 0, 5, 6, 1 }\n uselistorder label LBL_23, { 2, 0, 1 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_20, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_errno_to_system_errno_706", "fun_name": "nbd_errno_to_system_errno", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n store i64 %1, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_5 [\n i32 0, label LBL_7\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n i32 5, label LBL_6\n ]\n LBL_1:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n store i64 5, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n store i64 12, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n store i64 28, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %1)\n br label LBL_6\n LBL_6:\n store i64 22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 4, 5, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_json_image_info_1829", "fun_name": "dump_json_image_info", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n store i64 %arg1, i64* %sv_0, align 8\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1, i64 0, i64* nonnull %sv_0, i64 4198837)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %4)\n %8 = inttoptr i64 %7 to i8*\n %9 = call i32 @puts(i8* %8)\n %10 = call i64 @FUNC(i64 %3)\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC(i64 %4)\n ret i64 %12\n\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "probe_common_4853", "fun_name": "probe_common", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 48, i64 0)\n %2 = call i64 @FUNC(i64 40, i64 0)\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = add i64 %1, 40\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 4198895, i64* %7, align 8\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 4198902, i64* %9, align 8\n %10 = add i64 %1, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 %1, i64* %11, align 8\n store i64 %1, i64* %arg1, align 8\n %12 = call i64 @FUNC(i64 %0, i64 4198909, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %13 = add i64 %1, 32\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = icmp ult i64 %12, -1000\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = load i64, i64* %3, align 8\n %17 = call i64 @FUNC(i64 %16)\n store i64 0, i64* %14, align 8\n %18 = call i64 @FUNC(i64 %1)\n %19 = and i64 %12, 4294967295\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %20 = add i32 %sv_0.0.reload, 1\n %21 = load i64, i64* %3, align 8\n %22 = zext i32 %sv_0.0.reload to i64\n %23 = inttoptr i64 %21 to i8*\n %24 = call i32 (i8*, i8*, ...) @sprintf(i8* %23, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %22)\n %25 = call i64 @FUNC(i64 %1)\n %26 = trunc i64 %25 to i32\n store i32 %20, i32* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %26, label LBL_3 [\n i32 -1, label LBL_2\n i32 0, label LBL_4\n ]\n LBL_3:\n %27 = load i64, i64* %3, align 8\n %28 = call i64 @FUNC(i64 %27)\n store i64 0, i64* %14, align 8\n %29 = call i64 @FUNC(i64 %1)\n %30 = and i64 %25, 4294967295\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %14, { 1, 0, 2 }\n uselistorder i64* %3, { 1, 2, 0, 3 }\n uselistorder i64 %1, { 1, 2, 0, 3, 4, 6, 5, 7, 8, 9, 10 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 40, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avcodec_align_dimensions_16860", "fun_name": "avcodec_align_dimensions", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = trunc i64 %1 to i32\n %5 = and i64 %1, 4294967295\n store i64 %5, i64* @0, align 8\n store i32 1, i32* %sv_1.1.reg2mem\n store i32 1, i32* %sv_1.1.reg2mem\n store i32 1, i32* %sv_1.1.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_1.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n store i32 16, i32* %sv_0.2.reg2mem\n switch i32 %4, label LBL_7 [\n i32 0, label LBL_8\n i32 1, label LBL_8\n i32 2, label LBL_8\n i32 3, label LBL_8\n i32 4, label LBL_8\n i32 5, label LBL_8\n i32 6, label LBL_8\n i32 7, label LBL_8\n i32 8, label LBL_8\n i32 9, label LBL_8\n i32 10, label LBL_8\n i32 11, label LBL_8\n i32 12, label LBL_2\n i32 13, label LBL_2\n i32 14, label LBL_3\n i32 15, label LBL_0.LBL_4_crit_edge\n i32 16, label LBL_5\n i32 17, label LBL_5\n i32 18, label LBL_5\n i32 19, label LBL_6\n ]\n LBL_1:\n %.pre = ptrtoint i32* %arg1 to i64\n %.pre11 = add i64 %.pre, 4\n %.pre13 = inttoptr i64 %.pre11 to i32*\n %.pre15 = load i32, i32* %.pre13, align 4\n store i32 %.pre15, i32* %.reg2mem\n store i32 1, i32* %sv_1.0.reg2mem\n br label LBL_4\n LBL_2:\n store i32 32, i32* %sv_1.2.reg2mem\n store i32 8, i32* %sv_0.2.reg2mem\n br label LBL_8\n LBL_3:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %spec.select = select i1 %11, i32 1, i32 64\n store i32 %9, i32* %.reg2mem\n store i32 %spec.select, i32* %sv_1.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %12 = icmp eq i32 %.reload, 1\n %13 = icmp eq i1 %12, false\n %spec.select4 = select i1 %13, i32 %sv_1.0.reload, i32 4\n store i32 %spec.select4, i32* %sv_1.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %14 = ptrtoint i32* %arg1 to i64\n %15 = add i64 %14, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 2\n %19 = icmp eq i1 %18, false\n %spec.select6 = select i1 %19, i32 %sv_1.1.reload, i32 4\n store i32 %spec.select6, i32* %sv_1.2.reg2mem\n store i32 %spec.select6, i32* %sv_0.2.reg2mem\n br label LBL_8\n LBL_6:\n %20 = ptrtoint i32* %arg1 to i64\n %21 = add i64 %20, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp ne i32 %23, 3\n %25 = icmp eq i32 %23, 4\n %26 = icmp eq i1 %25, false\n %or.cond = icmp eq i1 %24, %26\n %spec.select9 = select i1 %or.cond, i32 1, i32 4\n store i32 %spec.select9, i32* %sv_1.2.reg2mem\n store i32 %spec.select9, i32* %sv_0.2.reg2mem\n br label LBL_8\n LBL_7:\n store i32 1, i32* %sv_1.2.reg2mem\n store i32 1, i32* %sv_0.2.reg2mem\n br label LBL_8\n LBL_8:\n %27 = trunc i64 %2 to i32\n %28 = trunc i64 %3 to i32\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %29 = add i32 %27, -1\n %30 = add i32 %29, %sv_1.2.reload\n %31 = sub i32 0, %sv_1.2.reload\n %32 = and i32 %30, %31\n store i32 %32, i32* %arg2, align 4\n %33 = add i32 %28, -1\n %34 = add i32 %33, %sv_0.2.reload\n %35 = sub i32 0, %sv_0.2.reload\n %36 = and i32 %34, %35\n %37 = bitcast i64* %arg3 to i32*\n store i32 %36, i32* %37, align 4\n %38 = ptrtoint i32* %arg1 to i64\n %39 = add i64 %38, 4\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = zext i32 %41 to i64\n %43 = icmp eq i32 %41, 5\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %rax.0.reg2mem\n br i1 %44, label LBL_10, label LBL_9\n LBL_9:\n %45 = ptrtoint i64* %arg3 to i64\n %46 = add i32 %28, 2\n store i32 %46, i32* %37, align 4\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %28, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_1.2.reg2mem, { 0, 16, 1, 2, 15, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 16, 1, 2, 15, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i1 false, { 4, 0, 1, 2, 3 }\n uselistorder i64 4, { 4, 1, 2, 3, 0 }\n uselistorder i32 2, { 1, 0, 2 }\n uselistorder i32 16, { 24, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i32* %arg1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_8, { 15, 0, 1, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "net_tap_fd_init_3512", "fun_name": "net_tap_fd_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 16)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = inttoptr i64 %0 to i32*\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %3 to i32\n store i32 %6, i32* %4, align 4\n %7 = call i64 @FUNC(i64 %5, i64 4198890, i64 0, i64 %0)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = load i32, i32* %4, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64 4198897, i64 0, i64 %0)\n %13 = load i64, i64* %9, align 8\n %14 = and i64 %3, 4294967295\n %15 = inttoptr i64 %13 to i8*\n %16 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %15, i32 256, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %14)\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_launch_handler_4913", "fun_name": "_launch_handler", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %4, 8\n %6 = and i64 %3, 4294967295\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %6, i64 %5, i64 %2, i64 %1)\n %8 = add i64 %4, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %5, i64 %5, i64 %2, i64 %1)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %14 = trunc i64 %3 to i32\n %15 = call i32 @pthread_mutex_lock(i64* %arg1)\n %16 = icmp slt i32 %14, 0\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = ptrtoint i64* %arg1 to i64\n %18 = add i64 %17, 40\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp ugt i32 %20, %14\n br i1 %21, label LBL_4, label LBL_5\n LBL_4:\n %22 = add i64 %17, 48\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %sext = mul i64 %3, 4294967296\n %25 = ashr exact i64 %sext, 30\n %26 = add i64 %24, %25\n %27 = inttoptr i64 %26 to i32*\n store i32 1, i32* %27, align 4\n br label LBL_6\n LBL_5:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %5, i64 %6, i64 %5, i64 %2, i64 %1)\n br label LBL_6\n LBL_6:\n %29 = call i32 @pthread_mutex_unlock(i64* %arg1)\n %30 = sext i32 %29 to i64\n store i64 %30, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 2, 3, 0, 5, 4 }\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "s_zero_446", "fun_name": "s_zero", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge7.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = trunc i64 %arg1 to i32\n %2 = icmp eq i32 %1, 0\n %3 = add i64 %0, 40\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %0, 20\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = mul i32 %8, 255\n %10 = ashr i32 %9, 8\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %0, 44\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = xor i32 %13, %1\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n %. = select i1 %16, i32 128, i32 -128\n %17 = add nsw i32 %., %10\n store i32 %17, i32* %7, align 4\n store i32 %5, i32* %12, align 4\n %18 = load i32, i32* %7, align 4\n %19 = mul i32 %18, %5\n %20 = ashr i32 %19, 15\n %21 = add i64 %0, 36\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %0, 16\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = mul i32 %26, 255\n %28 = ashr i32 %27, 8\n %29 = load i32, i32* %4, align 4\n %30 = xor i32 %29, %1\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n %storemerge5 = select i1 %32, i32 128, i32 -128\n %33 = add nsw i32 %storemerge5, %28\n store i32 %33, i32* %25, align 4\n store i32 %23, i32* %4, align 4\n %34 = load i32, i32* %25, align 4\n %35 = mul i32 %34, %23\n %36 = ashr i32 %35, 15\n %37 = add nsw i32 %36, %20\n %38 = add i64 %0, 32\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i64 %0, 12\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = mul i32 %43, 255\n %45 = ashr i32 %44, 8\n %46 = load i32, i32* %22, align 4\n %47 = xor i32 %46, %1\n %48 = icmp slt i32 %47, 0\n %49 = icmp eq i1 %48, false\n %.8 = select i1 %49, i32 128, i32 -128\n %50 = add nsw i32 %.8, %45\n store i32 %50, i32* %42, align 4\n store i32 %40, i32* %22, align 4\n %51 = load i32, i32* %42, align 4\n %52 = mul i32 %51, %40\n %53 = ashr i32 %52, 15\n %54 = add nsw i32 %37, %53\n %55 = add i64 %0, 28\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i64 %0, 8\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = mul i32 %60, 255\n %62 = ashr i32 %61, 8\n %63 = load i32, i32* %39, align 4\n %64 = xor i32 %63, %1\n %65 = icmp slt i32 %64, 0\n %66 = icmp eq i1 %65, false\n %storemerge3 = select i1 %66, i32 128, i32 -128\n %67 = add nsw i32 %storemerge3, %62\n store i32 %67, i32* %59, align 4\n store i32 %57, i32* %39, align 4\n %68 = load i32, i32* %59, align 4\n %69 = mul i32 %68, %57\n %70 = ashr i32 %69, 15\n %71 = add nsw i32 %54, %70\n %72 = add i64 %0, 24\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = add i64 %0, 4\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = mul i32 %77, 255\n %79 = ashr i32 %78, 8\n %80 = load i32, i32* %56, align 4\n %81 = xor i32 %80, %1\n %82 = icmp slt i32 %81, 0\n %83 = icmp eq i1 %82, false\n %.9 = select i1 %83, i32 128, i32 -128\n %84 = add nsw i32 %.9, %79\n store i32 %84, i32* %76, align 4\n store i32 %74, i32* %56, align 4\n %85 = load i32, i32* %76, align 4\n %86 = mul i32 %85, %74\n %87 = ashr i32 %86, 15\n %88 = add nsw i32 %71, %87\n %89 = mul i32 %1, 2\n %90 = bitcast i64* %rsi to i32*\n %91 = load i32, i32* %90, align 8\n %92 = mul i32 %91, 255\n %93 = ashr i32 %92, 8\n %94 = load i32, i32* %73, align 4\n %95 = xor i32 %94, %1\n %96 = icmp slt i32 %95, 0\n %97 = icmp eq i1 %96, false\n %storemerge = select i1 %97, i32 128, i32 -128\n %98 = add nsw i32 %storemerge, %93\n %99 = bitcast i64* %arg2 to i32*\n store i32 %98, i32* %99, align 4\n store i32 %89, i32* %73, align 4\n %100 = load i32, i32* %90, align 8\n %101 = mul i32 %100, %89\n %102 = ashr i32 %101, 15\n %103 = add nsw i32 %88, %102\n store i32 %103, i32* %storemerge7.reg2mem\n br label LBL_3\n LBL_2:\n store i32 %10, i32* %7, align 4\n %104 = add i64 %0, 44\n %105 = inttoptr i64 %104 to i32*\n store i32 %5, i32* %105, align 4\n %106 = load i32, i32* %7, align 4\n %107 = mul i32 %106, %5\n %108 = ashr i32 %107, 15\n %109 = add i64 %0, 36\n %110 = inttoptr i64 %109 to i32*\n %111 = load i32, i32* %110, align 4\n %112 = add i64 %0, 16\n %113 = inttoptr i64 %112 to i32*\n %114 = load i32, i32* %113, align 4\n %115 = mul i32 %114, 255\n %116 = ashr i32 %115, 8\n store i32 %116, i32* %113, align 4\n store i32 %111, i32* %4, align 4\n %117 = load i32, i32* %113, align 4\n %118 = mul i32 %117, %111\n %119 = ashr i32 %118, 15\n %120 = add nsw i32 %119, %108\n %121 = add i64 %0, 32\n %122 = inttoptr i64 %121 to i32*\n %123 = load i32, i32* %122, align 4\n %124 = add i64 %0, 12\n %125 = inttoptr i64 %124 to i32*\n %126 = load i32, i32* %125, align 4\n %127 = mul i32 %126, 255\n %128 = ashr i32 %127, 8\n store i32 %128, i32* %125, align 4\n store i32 %123, i32* %110, align 4\n %129 = load i32, i32* %125, align 4\n %130 = mul i32 %129, %123\n %131 = ashr i32 %130, 15\n %132 = add nsw i32 %120, %131\n %133 = add i64 %0, 28\n %134 = inttoptr i64 %133 to i32*\n %135 = load i32, i32* %134, align 4\n %136 = add i64 %0, 8\n %137 = inttoptr i64 %136 to i32*\n %138 = load i32, i32* %137, align 4\n %139 = mul i32 %138, 255\n %140 = ashr i32 %139, 8\n store i32 %140, i32* %137, align 4\n store i32 %135, i32* %122, align 4\n %141 = load i32, i32* %137, align 4\n %142 = mul i32 %141, %135\n %143 = ashr i32 %142, 15\n %144 = add nsw i32 %132, %143\n %145 = add i64 %0, 24\n %146 = inttoptr i64 %145 to i32*\n %147 = load i32, i32* %146, align 4\n %148 = add i64 %0, 4\n %149 = inttoptr i64 %148 to i32*\n %150 = load i32, i32* %149, align 4\n %151 = mul i32 %150, 255\n %152 = ashr i32 %151, 8\n store i32 %152, i32* %149, align 4\n store i32 %147, i32* %134, align 4\n %153 = load i32, i32* %149, align 4\n %154 = mul i32 %153, %147\n %155 = ashr i32 %154, 15\n %156 = add nsw i32 %144, %155\n %157 = bitcast i64* %rsi to i32*\n %158 = load i32, i32* %157, align 8\n %159 = mul i32 %158, 255\n %160 = ashr i32 %159, 8\n %161 = bitcast i64* %arg2 to i32*\n store i32 %160, i32* %161, align 4\n store i32 0, i32* %146, align 4\n store i32 %156, i32* %storemerge7.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %162 = add i64 %0, 48\n %163 = inttoptr i64 %162 to i32*\n store i32 %storemerge7.reload, i32* %163, align 4\n ret i64 %0\n\n uselistorder i32 %89, { 1, 0 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i32* %7, { 2, 3, 0, 1, 4 }\n uselistorder i32 %5, { 0, 3, 1, 2 }\n uselistorder i32* %4, { 2, 0, 1, 3 }\n uselistorder i32 %1, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 %0, { 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1, 0, 3, 2, 5, 4, 7, 6, 8, 21, 20 }\n uselistorder i64* %rsi, { 1, 0 }\n uselistorder i32* %storemerge7.reg2mem, { 0, 2, 1 }\n uselistorder i32 8, { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 5 }\n uselistorder i32 255, { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_drive_add_793", "fun_name": "hmp_drive_add", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 %6)\n %8 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %8, label LBL_7, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_6\n LBL_3:\n %15 = inttoptr i64 %7 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %19, i64* %rax.1.reg2mem\n br label LBL_7\n LBL_5:\n %20 = zext i32 %16 to i64\n %21 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i64 %20, i64 %4, i64 %2, i64 %1)\n br label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %7)\n %23 = call i64 @FUNC(i64 %22)\n store i64 %23, i64* %rax.1.reg2mem\n br label LBL_7\n LBL_7:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %9, { 2, 1, 0 }\n uselistorder i64 %7, { 0, 2, 1, 3 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @monitor_printf, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_host_handle_reset_14104", "fun_name": "usb_host_handle_reset", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 4\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = trunc i64 %1 to i32\n %6 = zext i32 %4 to i64\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n %9 = icmp eq i32 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = add i64 %arg1, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i64 %arg1, i64 0)\n %16 = call i64 @FUNC(i64 %arg1)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 2, 1, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ndpi_netbios_name_interpret_12350", "fun_name": "ndpi_netbios_name_interpret", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge319.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.in.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i64\n %sv_3.0.ph.reg2mem = alloca i32\n %sv_2.0.ph.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg4 to i32\n %3 = trunc i64 %1 to i8\n %4 = lshr i8 %3, 7\n %5 = add i8 %4, %3\n %6 = ashr i8 %5, 1\n %7 = sext i8 %6 to i32\n %8 = add i32 %2, -1\n %9 = bitcast i64* %arg3 to i8*\n store i8 0, i8* %9, align 1\n %10 = icmp ult i32 %8, %7\n %11 = icmp eq i8 %6, 0\n %or.cond = or i1 %11, %10\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_15, label LBL_1\n LBL_1:\n %12 = mul i32 %7, 2\n %13 = zext i32 %12 to i64\n %14 = icmp ugt i64 %13, %arg2\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %15, label LBL_2, label LBL_15\n LBL_2:\n %16 = ptrtoint i64* %arg3 to i64\n %sext = mul i64 %arg2, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = ptrtoint i32* %arg1 to i64\n %19 = add i64 %18, 1\n store i64 %19, i64* %sv_2.0.ph.in.reg2mem\n store i32 0, i32* %sv_3.0.ph.reg2mem\n store i64 %17, i64* %sv_1.0.ph.reg2mem\n store i32 %7, i32* %sv_0.0.ph.reg2mem\n br label LBL_9\n LBL_3:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %20 = trunc i64 %sv_1.0.reload to i32\n %21 = icmp ult i32 %20, 2\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\n %sv_2.0.in.reload = load i64, i64* %sv_2.0.in.reg2mem\n %sv_2.0 = inttoptr i64 %sv_2.0.in.reload to i8*\n %22 = load i8, i8* %sv_2.0, align 1\n %.off = add i8 %22, -65\n %23 = icmp ugt i8 %.off, 15\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = add i64 %sv_2.0.in.reload, 1\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %.off9 = add i8 %26, -65\n %27 = icmp ult i8 %.off9, 16\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n store i8 0, i8* %50, align 1\n br label LBL_11\n LBL_7:\n %28 = add i32 %sv_0.0.reload, -1\n %29 = mul i8 %22, 16\n %30 = add i8 %29, -81\n %31 = add i8 %30, %26\n store i8 %31, i8* %50, align 1\n %32 = add i64 %sv_2.0.in.reload, 2\n %33 = mul i64 %sv_1.0.reload, 4294967296\n %sext4 = add i64 %33, -8589934592\n %34 = ashr exact i64 %sext4, 32\n %35 = call i16** @__ctype_b_loc()\n %36 = load i16*, i16** %35, align 8\n %37 = ptrtoint i16* %36 to i64\n %38 = load i8, i8* %50, align 1\n %39 = sext i8 %38 to i64\n %40 = mul i64 %39, 2\n %41 = add i64 %40, %37\n %42 = inttoptr i64 %41 to i16*\n %43 = load i16, i16* %42, align 2\n %44 = and i16 %43, 16384\n %45 = icmp eq i16 %44, 0\n store i64 %32, i64* %sv_2.0.in.reg2mem\n store i64 %34, i64* %sv_1.0.reg2mem\n store i32 %28, i32* %sv_0.0.reg2mem\n br i1 %45, label LBL_10, label LBL_8\n LBL_8:\n %46 = add i32 %sv_3.0.ph.reload, 1\n store i64 %32, i64* %sv_2.0.ph.in.reg2mem\n store i32 %46, i32* %sv_3.0.ph.reg2mem\n store i64 %34, i64* %sv_1.0.ph.reg2mem\n store i32 %28, i32* %sv_0.0.ph.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem\n %sv_2.0.ph.in.reload = load i64, i64* %sv_2.0.ph.in.reg2mem\n %47 = icmp ult i32 %sv_3.0.ph.reload, %8\n %48 = zext i32 %sv_3.0.ph.reload to i64\n %49 = add i64 %48, %16\n %50 = inttoptr i64 %49 to i8*\n store i64 %sv_2.0.ph.in.reload, i64* %sv_2.0.in.reg2mem\n store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %51 = icmp ne i32 %sv_0.0.reload, 0\n %or.cond8 = icmp eq i1 %47, %51\n br i1 %or.cond8, label LBL_3, label LBL_11\n LBL_11:\n %52 = icmp eq i32 %sv_3.0.ph.reload, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %52, label LBL_15, label LBL_12\n LBL_12:\n store i8 0, i8* %50, align 1\n %storemerge318 = add i32 %sv_3.0.ph.reload, -1\n %53 = icmp eq i32 %storemerge318, 0\n store i32 %storemerge318, i32* %storemerge319.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %53, label LBL_15, label LBL_14\n LBL_13:\n store i8 0, i8* %57, align 1\n %storemerge3 = add i32 %storemerge319.reload, -1\n %54 = icmp eq i32 %storemerge3, 0\n store i32 %storemerge3, i32* %storemerge319.reg2mem\n store i64 %48, i64* %storemerge.reg2mem\n br i1 %54, label LBL_15, label LBL_14\n LBL_14:\n %storemerge319.reload = load i32, i32* %storemerge319.reg2mem\n %55 = zext i32 %storemerge319.reload to i64\n %56 = add i64 %55, %16\n %57 = inttoptr i64 %56 to i8*\n %58 = load i8, i8* %57, align 1\n %59 = icmp eq i8 %58, 32\n store i64 %48, i64* %storemerge.reg2mem\n br i1 %59, label LBL_13, label LBL_15\n LBL_15:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %57, { 1, 0 }\n uselistorder i8* %50, { 0, 1, 3, 2 }\n uselistorder i32 %sv_3.0.ph.reload, { 3, 4, 1, 2, 0 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i32 %28, { 1, 0 }\n uselistorder i64 %sv_2.0.in.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64* %sv_2.0.in.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 2, 0 }\n uselistorder i32* %storemerge319.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder i32 0, { 2, 1, 3, 4, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i8 0, { 1, 3, 2, 0, 4 }\n uselistorder i32 -1, { 1, 0, 2, 3 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_15, { 0, 1, 3, 2, 4, 5 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "netlink_walk_start_9265", "fun_name": "netlink_walk_start", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 4\n %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 29\n %5 = add i64 %4, ptrtoint (i64* @gv_0 to i64)\n %6 = call i64 @FUNC(i64 %5, i64 %3, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n store i32 10, i32* %arg1, align 4\n %9 = and i64 %6, 4294967295\n ret i64 %9\n LBL_2:\n %10 = call i64 @FUNC(i64 %3)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, -11\n %13 = and i64 %10, 4294967295\n %spec.select = select i1 %12, i64 0, i64 %13\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_read_track_3165", "fun_name": "mxf_read_track", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = icmp eq i32 %arg3, 19201\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = icmp sgt i32 %arg3, 19201\n br i1 %3, label LBL_9, label LBL_2\n LBL_2:\n %4 = icmp eq i32 %arg3, 18436\n br i1 %4, label LBL_6, label LBL_3\n LBL_3:\n %5 = icmp sgt i32 %arg3, 18436\n br i1 %5, label LBL_9, label LBL_4\n LBL_4:\n switch i32 %arg3, label LBL_9 [\n i32 18433, label LBL_5\n i32 18435, label LBL_8\n ]\n LBL_5:\n %6 = call i64 @FUNC(i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, align 4\n br label LBL_9\n LBL_6:\n %9 = add i64 %1, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %0, i64 %12, i64 4)\n br label LBL_9\n LBL_7:\n %14 = call i64 @FUNC(i64 %0)\n %15 = trunc i64 %14 to i32\n %16 = add i64 %1, 12\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = call i64 @FUNC(i64 %0)\n %19 = trunc i64 %18 to i32\n %20 = add i64 %1, 8\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n br label LBL_9\n LBL_8:\n %22 = add i64 %1, 16\n %23 = call i64 @FUNC(i64 %0, i64 %22, i64 16)\n br label LBL_9\n LBL_9:\n ret i64 0\n\n uselistorder i64 %1, { 2, 0, 1, 3 }\n uselistorder i64 %0, { 0, 3, 4, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @get_buffer, { 1, 0 }\n uselistorder i64 (i64)* @get_be32, { 2, 1, 0 }\n uselistorder i32 18436, { 1, 0 }\n uselistorder i32 19201, { 1, 0 }\n uselistorder i32 %arg3, { 0, 3, 2, 1, 4 }\n uselistorder label LBL_9, { 1, 2, 3, 4, 0, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zmalloc_no_tcache_13273", "fun_name": "zmalloc_no_tcache", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 16\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %arg1)\n unreachable\n LBL_2:\n %5 = call i64 @FUNC(i64 %1)\n %6 = call i64 @FUNC(i64 %5)\n ret i64 %1\n\n uselistorder i64 %1, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vring_notify_10541", "fun_name": "vring_notify", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i1\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = call i64 @FUNC()\n %5 = trunc i64 %1 to i32\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = trunc i64 %2 to i16\n %9 = icmp eq i16 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %3)\n %12 = add i64 %3, 2\n %13 = inttoptr i64 %12 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = trunc i64 %11 to i16\n %16 = icmp eq i16 %14, %15\n %17 = icmp eq i1 %16, false\n store i1 true, i1* %rax.0.shrunk.reg2mem\n br i1 %17, label LBL_3, label LBL_7\n LBL_3:\n %18 = and i32 %5, 2\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %3)\n %22 = urem i64 %21, 2\n %23 = icmp eq i64 %22, 0\n store i1 %23, i1* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_5:\n %24 = add i64 %3, 4\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n store i8 1, i8* %25, align 1\n %27 = add i64 %3, 6\n %28 = inttoptr i64 %27 to i16*\n %29 = load i16, i16* %28, align 2\n %30 = call i64 @FUNC(i64 %3)\n %31 = trunc i64 %30 to i16\n store i16 %31, i16* %28, align 2\n %32 = icmp eq i8 %26, 1\n %33 = icmp eq i1 %32, false\n store i1 true, i1* %rax.0.shrunk.reg2mem\n br i1 %33, label LBL_7, label LBL_6\n LBL_6:\n %34 = call i64 @FUNC(i64 %3)\n %35 = zext i16 %29 to i64\n %36 = urem i64 %30, 65536\n %37 = urem i64 %34, 65536\n %38 = call i64 @FUNC(i64 %37, i64 %36, i64 %35)\n %39 = trunc i64 %38 to i8\n %40 = icmp ne i8 %39, 0\n store i1 %40, i1* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.shrunk.reload = load i1, i1* %rax.0.shrunk.reg2mem\n %rax.0 = zext i1 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %3, { 2, 4, 3, 5, 6, 1, 0 }\n uselistorder i1* %rax.0.shrunk.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_713", "fun_name": "init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %2, align 8\n %3 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %3, align 4\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "AppLayerProtoDetectDestroyCtxThread_10936", "fun_name": "AppLayerProtoDetectDestroyCtxThread", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = add i64 %arg1, 40\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %arg1, 32\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %5)\n br label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %arg1)\n ret i64 %8\n\n uselistorder i64 %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ks8695_poll_4621", "fun_name": "ks8695_poll", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %sext = mul i64 %arg2, 4294967296\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 4100)\n %5 = call i64 @FUNC(i64 %1)\n %6 = call i64 @FUNC(i64 %1, i64 %3)\n %7 = ashr exact i64 %sext, 32\n %8 = icmp ult i64 %6, %7\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = trunc i64 %5 to i32\n %11 = urem i32 %10, 32\n %12 = shl i32 1, %11\n %storemerge = sext i32 %12 to i64\n %13 = call i64 @FUNC(i64 %1, i64 %2)\n %14 = call i64 @FUNC(i64 %1)\n %15 = or i64 %4, %storemerge\n %16 = call i64 @FUNC(i64 %15, i64 4100)\n %17 = call i64 @FUNC(i64 %1, i64 %2)\n br label LBL_2\n LBL_2:\n ret i64 %6\n\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uc32_cpu_get_phys_page_debug_2855", "fun_name": "uc32_cpu_get_phys_page_debug", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_0, i64 0, i64 0))\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc9_decode_init_14720", "fun_name": "vc9_decode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %4 = add i64 %3, 48\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_17, label LBL_1\n LBL_1:\n %11 = add i64 %3, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_17\n LBL_2:\n %16 = add i64 %3, 24\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = inttoptr i64 %6 to i64*\n store i64 %3, i64* %18, align 8\n %19 = call i64 @FUNC(i64 %3)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_3, label LBL_17\n LBL_3:\n %23 = call i64 @FUNC(i64 %6)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %26, label LBL_4, label LBL_17\n LBL_4:\n %27 = bitcast i64* %rdi to i32*\n %28 = load i32, i32* %27, align 8\n %29 = add i64 %3, 28\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = add i64 %3, 4\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i64 %3, 32\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %36 = add i64 %3, 56\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 1\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_8, label LBL_5\n LBL_5:\n %41 = load i32, i32* %8, align 4\n %42 = load i64, i64* %12, align 8\n %43 = call i64 @FUNC(i64* nonnull %sv_0, i64 %42, i32 %41)\n %44 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0)\n %45 = load i32, i32* %8, align 4\n %46 = mul i32 %45, 8\n %47 = call i64 @FUNC(i64* nonnull %sv_0)\n %48 = trunc i64 %47 to i32\n %49 = sub i32 %46, %48\n %50 = icmp slt i32 %49, 1\n br i1 %50, label LBL_7, label LBL_6\n LBL_6:\n %51 = zext i32 %49 to i64\n %52 = call i64 @FUNC(i64* nonnull %sv_0, i64 %51)\n %53 = and i64 %52, 4294967295\n %54 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %51, i64 %53, i64 %1)\n br label LBL_8\n LBL_7:\n %55 = sub i32 0, %49\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %56, i64 %2, i64 %1)\n br label LBL_8\n LBL_8:\n %58 = add i64 %3, 36\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n %63 = zext i1 %62 to i32\n %64 = add i64 %3, 40\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n %66 = load i32, i32* %30, align 4\n %67 = add i32 %66, 15\n %68 = ashr i32 %67, 4\n %69 = add i64 %6, 8\n %70 = inttoptr i64 %69 to i32*\n store i32 %68, i32* %70, align 4\n %71 = load i32, i32* %35, align 4\n %72 = add i32 %71, 15\n %73 = ashr i32 %72, 4\n %74 = add i64 %6, 12\n %75 = inttoptr i64 %74 to i32*\n store i32 %73, i32* %75, align 4\n %76 = load i32, i32* %70, align 4\n %77 = add i64 %6, 40\n %78 = zext i32 %76 to i64\n %79 = call i64 @FUNC(i64 %77, i64 %78, i32 %73)\n %80 = trunc i64 %79 to i32\n %81 = icmp slt i32 %80, 0\n %82 = icmp eq i1 %81, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %82, label LBL_9, label LBL_17\n LBL_9:\n %83 = load i32, i32* %75, align 4\n %84 = load i32, i32* %70, align 4\n %85 = zext i32 %84 to i64\n %86 = call i64 @FUNC(i64 %77, i64 %85, i32 %83)\n %87 = trunc i64 %86 to i32\n %88 = icmp slt i32 %87, 0\n %89 = icmp eq i1 %88, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %89, label LBL_10, label LBL_17\n LBL_10:\n %90 = load i32, i32* %75, align 4\n %91 = load i32, i32* %70, align 4\n %92 = add i64 %6, 48\n %93 = zext i32 %91 to i64\n %94 = call i64 @FUNC(i64 %92, i64 %93, i32 %90)\n %95 = trunc i64 %94 to i32\n %96 = icmp slt i32 %95, 0\n %97 = icmp eq i1 %96, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %97, label LBL_11, label LBL_17\n LBL_11:\n %98 = load i32, i32* %75, align 4\n %99 = load i32, i32* %70, align 4\n %100 = add i64 %6, 56\n %101 = zext i32 %99 to i64\n %102 = call i64 @FUNC(i64 %100, i64 %101, i32 %98)\n %103 = trunc i64 %102 to i32\n %104 = icmp slt i32 %103, 0\n %105 = icmp eq i1 %104, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %105, label LBL_12, label LBL_17\n LBL_12:\n %106 = add i64 %6, 16\n %107 = inttoptr i64 %106 to i32*\n %108 = load i32, i32* %107, align 4\n %109 = mul i32 %108, 4\n %110 = sext i32 %109 to i64\n %111 = call i64 @FUNC(i64 %110)\n %112 = add i64 %6, 24\n %113 = inttoptr i64 %112 to i64*\n store i64 %111, i64* %113, align 8\n %114 = icmp eq i64 %111, 0\n %115 = icmp eq i1 %114, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %115, label LBL_13, label LBL_17\n LBL_13:\n %116 = add i64 %6, 32\n %117 = inttoptr i64 %116 to i32*\n %118 = load i32, i32* %117, align 4\n %119 = icmp slt i32 %118, 1\n br i1 %119, label LBL_16, label LBL_14\n LBL_14:\n %120 = load i32, i32* %75, align 4\n %121 = load i32, i32* %70, align 4\n %122 = add i64 %6, 64\n %123 = zext i32 %121 to i64\n %124 = call i64 @FUNC(i64 %122, i64 %123, i32 %120)\n %125 = trunc i64 %124 to i32\n %126 = icmp slt i32 %125, 0\n %127 = icmp eq i1 %126, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %127, label LBL_15, label LBL_17\n LBL_15:\n %128 = load i32, i32* %75, align 4\n %129 = load i32, i32* %70, align 4\n %130 = add i64 %6, 72\n %131 = zext i32 %129 to i64\n %132 = call i64 @FUNC(i64 %130, i64 %131, i32 %128)\n %133 = trunc i64 %132 to i32\n %134 = icmp slt i32 %133, 0\n %135 = icmp eq i1 %134, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %135, label LBL_16, label LBL_17\n LBL_16:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11 }\n uselistorder i64 %3, { 4, 3, 1, 0, 2, 5, 7, 6, 8, 9, 10, 12, 11, 13, 14 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @alloc_bitplane, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 13 }\n uselistorder label LBL_17, { 11, 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 9 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "anetListen_6783", "fun_name": "anetListen", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = bitcast i64* %arg3 to %sockaddr*\n %5 = call i32 @bind(i32 %arg2, %sockaddr* %4, i32 %arg4)\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32* @__errno_location()\n %9 = load i32, i32* %8, align 4\n %10 = call i8* @strerror(i32 %9)\n %11 = ptrtoint i8* %10 to i64\n %12 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %2, i64 %arg5, i64 %arg6)\n %13 = call i32 @close(i32 %arg2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %14 = trunc i64 %1 to i16\n %15 = icmp eq i16 %14, 1\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = trunc i64 %arg6 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = add i64 %2, 2\n %20 = inttoptr i64 %19 to i8*\n %21 = call i32 @chmod(i8* %20, i32 %17)\n br label LBL_5\n LBL_5:\n %22 = trunc i64 %arg5 to i32\n %23 = call i32 @listen(i32 %arg2, i32 %22)\n %24 = icmp eq i32 %23, -1\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = call i32* @__errno_location()\n %27 = load i32, i32* %26, align 4\n %28 = call i8* @strerror(i32 %27)\n %29 = ptrtoint i8* %28 to i64\n %30 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %2, i64 %arg5, i64 %arg6)\n %31 = call i32 @close(i32 %arg2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @anetSetError, { 1, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i64 %arg6, { 2, 0, 1 }\n uselistorder i64 %arg5, { 2, 0, 1 }\n uselistorder i32 %arg2, { 1, 2, 0, 3 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rgb2hsb_10408", "fun_name": "rgb2hsb", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %.reg2mem = alloca i32\n %xmm0.27.reg2mem = alloca i128\n %indvars.iv.reg2mem = alloca i64\n %xmm0.1.reg2mem = alloca i128\n %storemerge2.reg2mem = alloca i128\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_2.19.reg2mem = alloca i32\n %sv_0.110.reg2mem = alloca i32\n %sv_1.111.reg2mem = alloca i32\n %indvars.iv17.reg2mem = alloca i64\n %xmm0.014.reg2mem = alloca i128\n %indvars.iv20.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i128, i128* %0\n %sv_3 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_3 to i64\n %3 = call i128 @FUNC(i32 1065353216)\n %4 = call i64 @__asm_movss.1(i128 %3)\n %5 = add i64 %2, -28\n store i64 0, i64* %indvars.iv20.reg2mem\n store i128 %3, i128* %xmm0.014.reg2mem\n br label LBL_1\n LBL_1:\n %xmm0.014.reload = load i128, i128* %xmm0.014.reg2mem\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %6 = call i128 @FUNC(i128 %xmm0.014.reload, i128 %xmm0.014.reload)\n %7 = call i64 @__asm_movss.1(i128 %6)\n %8 = mul i64 %indvars.iv20.reload, 4\n %9 = add i64 %8, %5\n %10 = trunc i64 %7 to i32\n %11 = inttoptr i64 %9 to i32*\n store i32 %10, i32* %11, align 4\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %exitcond22 = icmp eq i64 %indvars.iv.next21, 3\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n store i128 %6, i128* %xmm0.014.reg2mem\n br i1 %exitcond22, label LBL_2, label LBL_1\n LBL_2:\n %12 = trunc i64 %4 to i32\n %13 = ptrtoint i32* %arg1 to i64\n store i64 0, i64* %indvars.iv17.reg2mem\n store i32 %12, i32* %sv_0.110.reg2mem\n store i32 0, i32* %sv_2.19.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.19.reload = load i32, i32* %sv_2.19.reg2mem\n %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem\n %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %14 = mul i64 %indvars.iv17.reload, 4\n %15 = add i64 %14, %13\n %16 = icmp ult i64 %15, %13\n %17 = icmp eq i64 %15, 0\n %18 = inttoptr i64 %15 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = call i128 @FUNC(i32 %19)\n %21 = call i128 @FUNC(i32 %sv_1.111.reload)\n call void @FUNC(i128 %20, i128 %21)\n %22 = or i1 %16, %17\n store i32 %sv_2.19.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = load i32, i32* %18, align 4\n %24 = call i128 @FUNC(i32 %23)\n %25 = call i64 @__asm_movss.1(i128 %24)\n %26 = trunc i64 %25 to i32\n %27 = trunc i64 %indvars.iv17.reload to i32\n store i32 %27, i32* %sv_2.0.reg2mem\n store i32 %26, i32* %sv_1.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %28 = load i32, i32* %18, align 4\n %29 = call i128 @FUNC(i32 %28)\n %30 = call i128 @FUNC(i32 %sv_0.110.reload)\n call void @FUNC(i128 %30, i128 %29)\n store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %31 = load i32, i32* %18, align 4\n %32 = call i128 @FUNC(i32 %31)\n %33 = call i64 @__asm_movss.1(i128 %32)\n %34 = trunc i64 %33 to i32\n store i32 %34, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1\n %exitcond19 = icmp eq i64 %indvars.iv.next18, 3\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.19.reg2mem\n br i1 %exitcond19, label LBL_8, label LBL_3\n LBL_8:\n %35 = call i128 @FUNC(i32 %sv_1.0.reload)\n %36 = call i128 @FUNC(i128 %29, i128 %29)\n call void @FUNC(i128 %35, i128 %36)\n %37 = call i128 @FUNC(i128 %36, i128 %36)\n call void @FUNC(i128 %35, i128 %37)\n %38 = call i128 @FUNC(i32 %sv_1.0.reload)\n %39 = call i128 @FUNC(i128 %38, i32 %sv_0.0.reload)\n %40 = call i64 @__asm_movss.1(i128 %39)\n %41 = trunc i64 %40 to i32\n %42 = call i128 @FUNC(i32 %sv_1.0.reload)\n %43 = call i128 @FUNC(i32 %41)\n %44 = call i128 @FUNC(i128 %43, i128 %42)\n %45 = call i64 @__asm_movss.1(i128 %44)\n %46 = icmp eq i32 %sv_2.0.reload, 2\n br i1 %46, label LBL_16, label LBL_9\n LBL_9:\n %47 = icmp sgt i32 %sv_2.0.reload, 2\n store i128 %44, i128* %xmm0.1.reg2mem\n br i1 %47, label LBL_17, label LBL_10\n LBL_10:\n store i128 %44, i128* %xmm0.1.reg2mem\n switch i32 %sv_2.0.reload, label LBL_17 [\n i32 0, label LBL_11\n i32 1, label LBL_15\n ]\n LBL_11:\n %48 = call i128 @FUNC(i128 %44, i128 %44)\n call void @__asm_ucomiss.2(i128 %48, i32 %41)\n %49 = add i64 %13, 4\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = call i128 @FUNC(i32 %51)\n %53 = add i64 %13, 8\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = call i128 @FUNC(i32 %55)\n %57 = call i128 @__asm_subss.3(i128 %52, i128 %56)\n %58 = call i128 @FUNC(i128 %57)\n %59 = call i128 @FUNC(i128 %1, i128 %1)\n %60 = call i128 @__asm_cvtss2sd.4(i32 %41)\n %61 = call i128 @FUNC(i64 4618441417868443648)\n %62 = call i128 @FUNC(i128 %60, i128 %61)\n %63 = call i128 @FUNC(i128 %58)\n %64 = call i128 @FUNC(i128 %63, i128 %62)\n %65 = load i32, i32* %54, align 4\n %66 = call i128 @FUNC(i32 %65)\n %67 = icmp ugt i32* %arg1, inttoptr (i64 -5 to i32*)\n %68 = icmp eq i64 %49, 0\n %69 = load i32, i32* %50, align 4\n %70 = call i128 @FUNC(i32 %69)\n call void @FUNC(i128 %66, i128 %70)\n %71 = or i1 %67, %68\n br i1 %71, label LBL_13, label LBL_12\n LBL_12:\n %72 = call i128 @FUNC(i64 4607182418800017408)\n store i128 %72, i128* %storemerge2.reg2mem\n br label LBL_14\n LBL_13:\n %73 = call i128 @FUNC(i128 %66, i128 %66)\n store i128 %73, i128* %storemerge2.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge2.reload = load i128, i128* %storemerge2.reg2mem\n %74 = call i128 @FUNC(i128 %storemerge2.reload, i128 %64)\n %75 = call i128 @FUNC(i128 %74)\n %76 = call i64 @__asm_movss.1(i128 %75)\n store i128 %75, i128* %xmm0.1.reg2mem\n br label LBL_17\n LBL_15:\n %77 = add i64 %13, 8\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = call i128 @FUNC(i32 %79)\n %81 = bitcast i64* %rdi to i32*\n %82 = load i32, i32* %81, align 8\n %83 = call i128 @FUNC(i32 %82)\n %84 = call i128 @__asm_subss.3(i128 %80, i128 %83)\n %85 = call i128 @FUNC(i128 %84)\n %86 = call i128 @FUNC(i128 %1, i128 %1)\n %87 = call i128 @__asm_cvtss2sd.4(i32 %41)\n %88 = call i128 @FUNC(i64 4618441417868443648)\n %89 = call i128 @FUNC(i128 %87, i128 %88)\n %90 = call i128 @FUNC(i128 %85)\n %91 = call i128 @FUNC(i128 %90, i128 %89)\n %92 = call i128 @FUNC(i64 4599676419421066581)\n %93 = call i128 @FUNC(i128 %92, i128 %91)\n %94 = call i128 @FUNC(i128 %93)\n %95 = call i64 @__asm_movss.1(i128 %94)\n store i128 %94, i128* %xmm0.1.reg2mem\n br label LBL_17\n LBL_16:\n %96 = bitcast i64* %rdi to i32*\n %97 = load i32, i32* %96, align 8\n %98 = call i128 @FUNC(i32 %97)\n %99 = add i64 %13, 4\n %100 = inttoptr i64 %99 to i32*\n %101 = load i32, i32* %100, align 4\n %102 = call i128 @FUNC(i32 %101)\n %103 = call i128 @__asm_subss.3(i128 %98, i128 %102)\n %104 = call i128 @FUNC(i128 %103)\n %105 = call i128 @FUNC(i128 %1, i128 %1)\n %106 = call i128 @__asm_cvtss2sd.4(i32 %41)\n %107 = call i128 @FUNC(i64 4618441417868443648)\n %108 = call i128 @FUNC(i128 %106, i128 %107)\n %109 = call i128 @FUNC(i128 %104)\n %110 = call i128 @FUNC(i128 %109, i128 %108)\n %111 = call i128 @FUNC(i64 4604180019048437077)\n %112 = call i128 @FUNC(i128 %111, i128 %110)\n %113 = call i128 @FUNC(i128 %112)\n %114 = call i64 @__asm_movss.1(i128 %113)\n store i128 %113, i128* %xmm0.1.reg2mem\n br label LBL_17\n LBL_17:\n %xmm0.1.reload = load i128, i128* %xmm0.1.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i128 %xmm0.1.reload, i128* %xmm0.27.reg2mem\n br label LBL_18\n LBL_18:\n %xmm0.27.reload = load i128, i128* %xmm0.27.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %115 = mul i64 %indvars.iv.reload, 4\n %116 = add i64 %115, %5\n %117 = inttoptr i64 %116 to i32*\n %118 = load i32, i32* %117, align 4\n %119 = call i128 @FUNC(i32 %118)\n %120 = call i128 @FUNC(i128 %xmm0.27.reload, i128 %xmm0.27.reload)\n call void @FUNC(i128 %120, i128 %119)\n %121 = add i64 %115, %13\n %122 = icmp ult i64 %121, %13\n %123 = icmp eq i64 %121, 0\n %124 = inttoptr i64 %121 to i32*\n %125 = load i32, i32* %124, align 4\n %126 = call i128 @FUNC(i32 %125)\n %127 = call i128 @FUNC(i32 1065353216)\n call void @FUNC(i128 %126, i128 %127)\n %128 = or i1 %122, %123\n br i1 %128, label LBL_18.LBL_21_crit_edge, label LBL_20\n LBL_19:\n %.pre = load i32, i32* %117, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_21\n LBL_20:\n %129 = call i128 @FUNC(i32 1065353216)\n %130 = call i64 @__asm_movss.1(i128 %129)\n %131 = trunc i64 %130 to i32\n store i32 %131, i32* %117, align 4\n store i32 %131, i32* %.reg2mem\n br label LBL_21\n LBL_21:\n %.reload = load i32, i32* %.reg2mem\n %132 = call i128 @FUNC(i32 %.reload)\n %133 = call i64 @__asm_movss.1(i128 %132)\n %134 = trunc i64 %133 to i32\n store i32 %134, i32* %124, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i128 %132, i128* %xmm0.27.reg2mem\n br i1 %exitcond, label LBL_22, label LBL_18\n LBL_22:\n ret i64 0\n\n uselistorder i32* %117, { 1, 0, 2 }\n uselistorder i64 %115, { 1, 0 }\n uselistorder i128 %xmm0.27.reload, { 1, 0 }\n uselistorder i128 %66, { 1, 0, 2 }\n uselistorder i128 %44, { 3, 2, 0, 1, 4 }\n uselistorder i32 %41, { 3, 0, 1, 2, 4 }\n uselistorder i128 %36, { 1, 0, 2 }\n uselistorder i128 %29, { 1, 0, 2 }\n uselistorder i32 %sv_2.0.reload, { 2, 0, 1, 3 }\n uselistorder i32 %sv_1.0.reload, { 2, 1, 0, 3 }\n uselistorder i32* %18, { 1, 2, 0, 3 }\n uselistorder i64 %13, { 2, 0, 3, 6, 5, 4, 7, 1 }\n uselistorder i128 %xmm0.014.reload, { 1, 0 }\n uselistorder i128 %1, { 4, 5, 2, 3, 0, 1 }\n uselistorder i64* %rdi, { 1, 0 }\n uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.014.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.111.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.110.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.19.reg2mem, { 1, 0, 2 }\n uselistorder i128* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i128* %xmm0.1.reg2mem, { 0, 5, 2, 3, 1, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.27.reg2mem, { 1, 0, 2 }\n uselistorder i64 4618441417868443648, { 0, 2, 1, 3 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 3, { 2, 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 4, { 0, 3, 4, 1, 2 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_17, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ethtool_ntuple_flush_8804", "fun_name": "ethtool_ntuple_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i32*\n store i32 0, i32* %2, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tpm_inf_recv_4375", "fun_name": "tpm_inf_recv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv10.reg2mem = alloca i64\n %indvars.iv14.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* inttoptr (i64 4210764 to i32*), align 4\n %2 = add i64 %1, 2\n %3 = bitcast i64* %rsi to i8*\n %4 = add i64 %0, 1\n %5 = inttoptr i64 %4 to i8*\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n br label LBL_1\n LBL_1:\n store i64 0, i64* %indvars.iv14.reg2mem\n br label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %1, i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_26\n LBL_3:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n %11 = add i64 %indvars.iv14.reload, %0\n %12 = call i64 @FUNC(i64 %2)\n %13 = trunc i64 %12 to i8\n %14 = inttoptr i64 %11 to i8*\n store i8 %13, i8* %14, align 1\n %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1\n %15 = icmp ult i64 %indvars.iv.next15, 4\n store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem\n br i1 %15, label LBL_2, label LBL_4\n LBL_4:\n %16 = load i8, i8* %3, align 8\n %17 = icmp eq i8 %16, 3\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = load i64, i64* %7, align 8\n %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_6:\n %20 = load i8, i8* %5, align 1\n %21 = icmp eq i8 %20, 4\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_16, label LBL_7\n LBL_7:\n %23 = add i64 %0, 2\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = zext i8 %25 to i32\n %27 = mul i32 %26, 256\n %28 = add i64 %0, 3\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = zext i8 %30 to i32\n %32 = or i32 %27, %31\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_15, label LBL_8\n LBL_8:\n %wide.trip.count12 = zext i32 %32 to i64\n store i64 0, i64* %indvars.iv10.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %34 = call i64 @FUNC(i64 %1, i64 1)\n %35 = add i64 %indvars.iv10.reload, %0\n %36 = call i64 @FUNC(i64 %2)\n %37 = trunc i64 %36 to i8\n %38 = inttoptr i64 %35 to i8*\n store i8 %37, i8* %38, align 1\n %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1\n %exitcond13 = icmp eq i64 %indvars.iv.next11, %wide.trip.count12\n store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem\n br i1 %exitcond13, label LBL_10, label LBL_9\n LBL_10:\n %39 = icmp eq i32 %32, 27904\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_13, label LBL_11\n LBL_11:\n %41 = load i8, i8* %5, align 1\n %42 = icmp eq i8 %41, -128\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_13, label LBL_12\n LBL_12:\n %44 = load i64, i64* %7, align 8\n %45 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_13:\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_14\n LBL_14:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %46 = add i64 %indvars.iv.reload, %0\n %47 = add i64 %46, 6\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = inttoptr i64 %46 to i8*\n store i8 %49, i8* %50, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_15, label LBL_14\n LBL_15:\n %51 = add nsw i32 %32, -6\n %52 = zext i32 %51 to i64\n store i64 %52, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_16:\n %53 = icmp eq i8 %20, 5\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_21, label LBL_17\n LBL_17:\n %55 = load i64, i64* %7, align 8\n %56 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n %57 = load i32, i32* @gv_3, align 4\n %58 = icmp sgt i32 %57, 9\n br i1 %58, label LBL_20, label LBL_18\n LBL_18:\n %59 = call i64 @FUNC(i64 %1)\n br label LBL_1.backedge\n LBL_19:\n br label LBL_1\n LBL_20:\n %60 = call i64 @FUNC(i64 %1)\n br label LBL_1.backedge\n LBL_21:\n %61 = icmp eq i8 %20, 6\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_23, label LBL_22\n LBL_22:\n %63 = load i64, i64* %7, align 8\n %64 = call i64 @FUNC(i64 %63, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_23:\n %65 = icmp eq i8 %20, 7\n %66 = icmp eq i1 %65, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %66, label LBL_26, label LBL_24\n LBL_24:\n %67 = load i64, i64* %7, align 8\n %68 = call i64 @FUNC(i64 %67, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0))\n %69 = add i64 %0, 4\n %70 = inttoptr i64 %69 to i8*\n %71 = load i8, i8* %70, align 1\n %72 = icmp eq i8 %71, 8\n %73 = icmp eq i1 %72, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %73, label LBL_26, label LBL_25\n LBL_25:\n %74 = load i64, i64* %7, align 8\n %75 = call i64 @FUNC(i64 %74, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_6, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_26:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %32, { 2, 3, 0, 1 }\n uselistorder i64* %7, { 1, 0, 2, 5, 3, 4 }\n uselistorder i64 %1, { 1, 2, 0, 5, 3, 4 }\n uselistorder i64 %0, { 3, 0, 1, 6, 5, 2, 4 }\n uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv10.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 8, 7, 6, 5, 1 }\n uselistorder i64 (i64, i8*)* @dev_info, { 1, 0 }\n uselistorder i64 (i64, i8*)* @dev_err, { 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64)* @inb, { 1, 0 }\n uselistorder i64 (i64, i64)* @wait, { 1, 0 }\n uselistorder i64 1, { 3, 2, 1, 8, 5, 7, 9, 4, 6, 0, 10, 11 }\n uselistorder i32 0, { 0, 2, 3, 1 }\n uselistorder label LBL_26, { 3, 2, 1, 4, 5, 6, 7, 0 }\n uselistorder label LBL_1.backedge, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "serial_tty_free_18247", "fun_name": "serial_tty_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %3 = trunc i64 %1 to i32\n %4 = icmp slt i32 %3, 0\n %.pre = add i64 %arg1, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = load i64, i64* %.pre1, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %5 to %termios*\n %8 = call i32 @tcsetattr(i32 %3, i32 0, %termios* %7)\n br label LBL_3\n LBL_3:\n %9 = call i32 @close(i32 %3)\n br label LBL_4\n LBL_4:\n %10 = add i64 %arg1, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i64*\n call void @free(i64* %13)\n %14 = load i64, i64* %.pre1, align 8\n %15 = inttoptr i64 %14 to i64*\n call void @free(i64* %15)\n %16 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %16)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i32 %3, { 0, 2, 1 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dump_mask_stack_9172", "fun_name": "dump_mask_stack", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.lcssa.reg2mem = alloca i64\n %rax.01.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = icmp eq i64* %arg1, null\n %5 = icmp eq i1 %4, false\n store i32 0, i32* %sv_0.02.reg2mem\n store i64 %3, i64* %rax.01.reg2mem\n store i64 %3, i64* %rax.0.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %rax.01.reload = load i64, i64* %rax.01.reg2mem\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %6 = add i64 %rax.01.reload, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = zext i32 %sv_0.02.reload to i64\n %10 = call i64 @FUNC(i64 118, i64 %8, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %2, i64 %1)\n %11 = inttoptr i64 %rax.01.reload to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = load i64, i64* %7, align 8\n %16 = zext i32 %14 to i64\n %17 = call i64 @FUNC(i64 118, i64 %15, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %2, i64 %1)\n %18 = load i64, i64* %11, align 8\n %19 = add i64 %18, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = load i64, i64* %7, align 8\n %23 = zext i32 %21 to i64\n %24 = call i64 @FUNC(i64 118, i64 %22, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %2, i64 %1)\n %25 = add i32 %sv_0.02.reload, 1\n %26 = add i64 %rax.01.reload, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i32 %25, i32* %sv_0.02.reg2mem\n store i64 %28, i64* %rax.01.reg2mem\n store i64 %28, i64* %rax.0.lcssa.reg2mem\n br i1 %30, label LBL_1, label LBL_2\n LBL_2:\n %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem\n ret i64 %rax.0.lcssa.reload\n\n uselistorder i64 %rax.01.reload, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @if_debug1m, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_set_open_stateid_13636", "fun_name": "nfs_set_open_stateid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1, i64 %0, i32 %arg3)\n %4 = call i64 @FUNC(i64 %1)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aux_create_slave_15203", "fun_name": "aux_create_slave", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %1, i64 %4)\n %6 = call i64 @FUNC(i64 %1)\n %7 = call i64 @FUNC(i64 %1)\n %8 = call i64 @FUNC(i64 %1)\n %9 = call i64 @FUNC(i64 %8)\n %10 = zext i32 %arg3 to i64\n %11 = call i64 @FUNC(i64 %9, i64 %7, i64 %10)\n ret i64 %1\n\n uselistorder i64 %1, { 0, 4, 3, 2, 1, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ptirq_free_irte_6319", "fun_name": "ptirq_free_irte", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i8, align 1\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n store i8 1, i8* %sv_0, align 1\n br label LBL_3\n LBL_2:\n store i8 0, i8* %sv_0, align 1\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n br label LBL_3\n LBL_3:\n %11 = add i64 %2, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i8* nonnull %sv_0, i64 %14)\n ret i64 %15\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "probe_303", "fun_name": "probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.111.reg2mem = alloca i32\n %storemerge12.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 22\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_22, label LBL_1\n LBL_1:\n %5 = trunc i64 %0 to i16\n %6 = icmp eq i16 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_22, label LBL_2\n LBL_2:\n %8 = add i64 %0, 2\n %9 = inttoptr i64 %8 to i16*\n %10 = load i16, i16* %9, align 2\n %11 = icmp eq i16 %10, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_22\n LBL_3:\n %12 = add i64 %0, 4\n %13 = inttoptr i64 %12 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = icmp eq i16 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_22\n LBL_4:\n %17 = zext i16 %14 to i32\n %18 = add i32 %3, -8\n %19 = add i64 %0, 18\n store i32 0, i32* %storemerge12.reg2mem\n store i32 0, i32* %sv_0.111.reg2mem\n br label LBL_19\n LBL_5:\n %20 = or i32 %71, 10\n %21 = zext i32 %20 to i64\n %22 = add i64 %21, %0\n %23 = inttoptr i64 %22 to i16*\n %24 = load i16, i16* %23, align 2\n %25 = icmp ult i16 %24, 2\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = icmp ult i32 %storemerge12.reload, 25\n %27 = select i1 %26, i32 %storemerge12.reload, i32 25\n %28 = zext i32 %27 to i64\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_7:\n %29 = or i32 %71, 13\n %30 = zext i32 %29 to i64\n %31 = add i64 %30, %0\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, 0\n br i1 %34, label LBL_9, label LBL_8\n LBL_8:\n %35 = icmp ult i32 %storemerge12.reload, 25\n %36 = select i1 %35, i32 %storemerge12.reload, i32 25\n %37 = zext i32 %36 to i64\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_9:\n %38 = or i32 %71, 14\n %39 = zext i32 %38 to i64\n %40 = add i64 %39, %0\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp ult i32 %42, 40\n br i1 %43, label LBL_10, label LBL_11\n LBL_10:\n %44 = icmp ult i32 %storemerge12.reload, 25\n %45 = select i1 %44, i32 %storemerge12.reload, i32 25\n %46 = zext i32 %45 to i64\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_11:\n %47 = zext i32 %71 to i64\n %48 = add i64 %19, %47\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = icmp ult i32 %50, 22\n br i1 %51, label LBL_12, label LBL_13\n LBL_12:\n %52 = icmp ult i32 %storemerge12.reload, 25\n %53 = select i1 %52, i32 %storemerge12.reload, i32 25\n %54 = zext i32 %53 to i64\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_13:\n %55 = icmp ugt i32 %50, %18\n store i32 %sv_0.111.reload, i32* %sv_0.0.reg2mem\n br i1 %55, label LBL_18, label LBL_14\n LBL_14:\n %56 = zext i32 %50 to i64\n %57 = add i64 %56, %0\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = icmp eq i8 %59, 40\n br i1 %60, label LBL_17, label LBL_15\n LBL_15:\n %61 = inttoptr i64 %57 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = icmp eq i64 %62, -8552249625308161526\n br i1 %63, label LBL_17, label LBL_16\n LBL_16:\n %64 = icmp ult i32 %storemerge12.reload, 25\n %65 = select i1 %64, i32 %storemerge12.reload, i32 25\n %66 = zext i32 %65 to i64\n store i64 %66, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_17:\n %67 = add i32 %sv_0.111.reload, 1\n store i32 %67, i32* %sv_0.0.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %68 = add i32 %storemerge12.reload, 1\n %69 = icmp ult i32 %68, %17\n %70 = icmp eq i1 %69, false\n store i32 %68, i32* %storemerge12.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.111.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %70, label LBL_20, label LBL_19\n LBL_19:\n %sv_0.111.reload = load i32, i32* %sv_0.111.reg2mem\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %71 = mul i32 %storemerge12.reload, 16\n %72 = add i32 %71, 22\n %73 = icmp ugt i32 %72, %3\n store i32 %sv_0.111.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %73, label LBL_20, label LBL_5\n LBL_20:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %74 = icmp ult i32 %sv_0.1.lcssa.reload, %17\n %75 = icmp eq i1 %74, false\n store i64 51, i64* %rax.0.reg2mem\n br i1 %75, label LBL_22, label LBL_21\n LBL_21:\n %76 = icmp eq i32 %sv_0.1.lcssa.reload, 0\n %77 = icmp eq i1 %76, false\n %78 = select i1 %77, i64 26, i64 25\n store i64 %78, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge12.reload, { 11, 2, 1, 4, 3, 10, 9, 8, 7, 6, 5, 0 }\n uselistorder i32 %sv_0.111.reload, { 0, 2, 1 }\n uselistorder i16 %14, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 3, 4, 1, 6, 5, 7, 8 }\n uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 11, 1, 8, 9, 10, 7, 6, 2, 5, 4, 3 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i32 22, { 1, 0, 2 }\n uselistorder label LBL_22, { 10, 0, 5, 6, 7, 8, 9, 1, 4, 3, 2 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_pipe_info_6202", "fun_name": "free_pipe_info", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %arg1, i64 %2, i64 0)\n %4 = add i64 %arg1, 24\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %9 = sext i32 %storemerge.reload to i64\n %10 = icmp sgt i64 %2, %9\n %11 = add i32 %storemerge.reload, 1\n store i32 %11, i32* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %12 = add i64 %arg1, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %14)\n br label LBL_4\n LBL_4:\n %17 = add i64 %arg1, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 %arg1)\n ret i64 %21\n\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_layoutget_done_8924", "fun_name": "nfs4_layoutget_done", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg2 to i64\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %6, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n %13 = call i64 @FUNC(i64 %7, i64 %6)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_7, label LBL_1\n LBL_1:\n %16 = trunc i64 %3 to i32\n %17 = icmp eq i32 %16, 0\n store i64 %6, i64* %rdx.0.reg2mem\n br i1 %17, label LBL_6, label LBL_2\n LBL_2:\n %18 = icmp sgt i32 %16, -1\n %19 = add i32 %16, -1\n %20 = icmp ult i32 %19, 2\n %or.cond = icmp eq i1 %18, %20\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_3:\n store i32 3, i32* %arg1, align 4\n br label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %7, i64 %11, i64 0)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, -11\n %24 = icmp eq i1 %23, false\n store i64 %11, i64* %rcx.0.reg2mem\n store i64 0, i64* %rdx.0.reg2mem\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %7)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %16, { 1, 2, 0 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @dprintk, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acceptTcpHandler_10261", "fun_name": "acceptTcpHandler", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %2 = ptrtoint i32* %sv_1 to i64\n %3 = zext i32 %arg2 to i64\n %4 = bitcast i32* %sv_1 to i64*\n store i32 99, i32* %.reg2mem\n br label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64* nonnull @gv_0, i64 %3, i64* nonnull %sv_0, i64 16, i64* nonnull %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, -1\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = call i32* @__errno_location()\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 11\n store i64 11, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64* nonnull @gv_0, i64 16, i64 %2, i64 %1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %13 = load i32, i32* %sv_1, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 %14, i64 %2, i64 %1)\n %16 = and i64 %5, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 0, i64* nonnull %sv_0)\n %18 = add nsw i32 %.reload, -1\n %19 = icmp eq i32 %.reload, 0\n %20 = icmp eq i1 %19, false\n store i32 %18, i32* %.reg2mem\n br i1 %20, label LBL_1, label LBL_5\n LBL_5:\n %21 = zext i32 %.reload to i64\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.reload, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64, i8*, i64*, i64, i64, i64)* @serverLog, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder label LBL_6, { 0, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fix_small_imbalance_9568", "fun_name": "fix_small_imbalance", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem6 = alloca i64\n %sv_1.0.off0.reg2mem = alloca i64\n %.pre-phi4.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %.pre2 = add i64 %0, 40\n %.pre3 = inttoptr i64 %.pre2 to i64*\n %.pre5 = load i64, i64* %.pre3, align 8\n store i64 %.pre5, i64* %.reg2mem\n store i64* %.pre3, i64** %.pre-phi4.reg2mem\n store i64 2, i64* %sv_1.0.off0.reg2mem\n br label LBL_3\n LBL_2:\n %7 = add i64 %0, 40\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp ugt i64 %9, %12\n %spec.select = select i1 %13, i64 1, i64 2\n store i64 %9, i64* %.reg2mem\n store i64* %8, i64** %.pre-phi4.reg2mem\n store i64 %spec.select, i64* %sv_1.0.off0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.off0.reload = load i64, i64* %sv_1.0.off0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %14 = mul i64 %.reload, 1024\n %15 = add i64 %0, 56\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = udiv i64 %14, %17\n %19 = add i64 %0, 48\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %21, %18\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = mul i64 %18, %sv_1.0.off0.reload\n %27 = add i64 %25, %26\n %28 = icmp ult i64 %22, %27\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = add i64 %1, 8\n %30 = inttoptr i64 %29 to i64*\n store i64 %.reload, i64* %30, align 8\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem\n %31 = call i64 @FUNC(i64 %.reload, i64 %21)\n %32 = add i64 %0, 24\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = load i64, i64* %24, align 8\n %36 = add i64 %0, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38, i64 %35)\n %40 = load i64, i64* %20, align 8\n %41 = icmp ugt i64 %40, %18\n %42 = icmp eq i1 %41, false\n store i64 %40, i64* %.reg2mem6\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %42, label LBL_7, label LBL_6\n LBL_6:\n %43 = load i64, i64* %16, align 8\n %44 = sub i64 %40, %18\n %45 = load i64, i64* %.pre-phi4.reload, align 8\n %46 = call i64 @FUNC(i64 %45, i64 %44)\n %47 = mul i64 %46, %43\n %.pre = load i64, i64* %20, align 8\n store i64 %.pre, i64* %.reg2mem6\n store i64 %47, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %48 = mul i64 %31, %17\n %49 = mul i64 %39, %34\n %50 = add i64 %49, %48\n %51 = udiv i64 %50, 1024\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %52 = load i64, i64* %16, align 8\n %53 = mul i64 %52, %.reload7\n %54 = load i64, i64* %.pre-phi4.reload, align 8\n %55 = mul i64 %54, 1024\n %56 = icmp ult i64 %53, %55\n %57 = icmp eq i1 %56, false\n %58 = load i64, i64* %33, align 8\n %. = select i1 %57, i64 %55, i64 %53\n %storemerge = udiv i64 %., %58\n %59 = load i64, i64* %24, align 8\n %60 = add i64 %59, %storemerge\n %61 = load i64, i64* %37, align 8\n %62 = call i64 @FUNC(i64 %61, i64 %60)\n %63 = mul i64 %62, %58\n %64 = add i64 %63, %sv_0.0.reload\n %65 = udiv i64 %64, 1024\n %66 = icmp ugt i64 %65, %51\n store i64 %65, i64* %rax.0.reg2mem\n br i1 %66, label LBL_8, label LBL_9\n LBL_8:\n %67 = load i64, i64* %.pre-phi4.reload, align 8\n %68 = add i64 %1, 8\n %69 = inttoptr i64 %68 to i64*\n store i64 %67, i64* %69, align 8\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %55, { 1, 0 }\n uselistorder i64 %40, { 2, 0, 1 }\n uselistorder i64* %.pre-phi4.reload, { 1, 2, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %18, { 3, 2, 0, 1 }\n uselistorder i64* %16, { 1, 0, 2 }\n uselistorder i64 %.reload, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 4, 0, 3, 2 }\n uselistorder i64 %0, { 6, 5, 7, 2, 3, 8, 1, 0, 4 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.pre-phi4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.off0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @min, { 3, 2, 1, 0 }\n uselistorder i64 1024, { 2, 0, 3, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 40, { 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hist_browser__toggle_fold_4035", "fun_name": "hist_browser__toggle_fold", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp ne i64* %arg1, null\n %7 = icmp eq i64 %5, 0\n %8 = icmp eq i1 %7, false\n %or.cond = icmp eq i1 %6, %8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_9\n LBL_1:\n %9 = icmp eq i64 %5, %2\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %2)\n store i64 %11, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_3:\n %12 = call i64 @FUNC(i64 %5)\n store i64 %12, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i8\n %13 = icmp eq i8 %storemerge, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_9, label LBL_5\n LBL_5:\n %14 = trunc i64 %1 to i32\n %15 = call i64 @FUNC(i64 %2)\n %16 = add i64 %2, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = bitcast i64* %rdi to i32*\n %20 = sub i32 %18, %14\n store i32 %20, i32* %17, align 4\n %21 = add i64 %2, 20\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = load i32, i32* %19, align 8\n %25 = sub i32 %23, %24\n store i32 %25, i32* %22, align 4\n %26 = add i64 %2, 4\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, 0\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = add i64 %2, 5\n %31 = call i64 @FUNC(i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = bitcast i64* %arg1 to i32*\n store i32 %32, i32* %33, align 4\n br label LBL_8\n LBL_7:\n %34 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %34, align 4\n br label LBL_8\n LBL_8:\n %35 = load i32, i32* %17, align 4\n %36 = load i32, i32* %19, align 8\n %37 = add i32 %36, %35\n store i32 %37, i32* %17, align 4\n %38 = load i32, i32* %22, align 4\n %39 = load i32, i32* %19, align 8\n %40 = add i32 %39, %38\n store i32 %40, i32* %22, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %22, { 1, 0, 2, 3 }\n uselistorder i32* %17, { 1, 0, 2, 3 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3, 4, 6, 5, 7 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 5, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "try_decode_frame_398", "fun_name": "try_decode_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %2, i64* %.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = and i64 %2, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %11, label LBL_2, label LBL_8\n LBL_2:\n %12 = call i64 @FUNC(i64 %8, i64 %9)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %8, i64* %.reg2mem\n store i32 %13, i32* %sv_0.0.reg2mem\n store i32 %13, i32* %rax.0.shrunk.reg2mem\n br i1 %15, label LBL_3, label LBL_8\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %16 = call i64 @FUNC(i64 %.reload)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %19, label LBL_8, label LBL_4\n LBL_4:\n %20 = ptrtoint i64* %arg2 to i64\n %21 = add i64 %.reload, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem\n switch i32 %23, label LBL_8 [\n i32 0, label LBL_5\n i32 1, label LBL_6\n ]\n LBL_5:\n %24 = ptrtoint i32* %sv_2 to i64\n %25 = bitcast i32* %sv_2 to i64*\n %26 = call i64 @FUNC(i64* nonnull %25)\n %27 = call i64 @FUNC(i64 %24, i64* nonnull %25, i64* nonnull %sv_1, i64 %20)\n %28 = trunc i64 %27 to i32\n store i32 %28, i32* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_6:\n %29 = trunc i64 %1 to i32\n %30 = add i32 %29, -192000\n %31 = sub i32 191999, %29\n %32 = and i32 %31, %29\n %33 = icmp slt i32 %32, 0\n %34 = icmp slt i32 %30, 0\n %35 = icmp eq i1 %34, %33\n %36 = select i1 %35, i32 %29, i32 192000\n store i32 %36, i32* %sv_2, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n %39 = icmp eq i64 %38, 0\n store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %39, label LBL_8, label LBL_7\n LBL_7:\n %40 = bitcast i32* %sv_2 to i64*\n %41 = call i64 @FUNC(i64 %37, i64 %38, i64* nonnull %40, i64 %20)\n %42 = trunc i64 %41 to i32\n %43 = call i64 @FUNC(i64 %38)\n store i32 %42, i32* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i64 %38, { 1, 0, 2 }\n uselistorder i32 %29, { 2, 0, 3, 1 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i64 %8, { 0, 2, 1 }\n uselistorder i32* %sv_2, { 3, 1, 2, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 3, 4, 1, 5, 6, 7 }\n uselistorder i32 0, { 2, 3, 1, 4, 5, 0 }\n uselistorder label LBL_8, { 1, 3, 0, 4, 2, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vcc_destroy_socket_8944", "fun_name": "vcc_destroy_socket", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 0, i64 %1)\n %3 = call i64 @FUNC(i64 1, i64 %1)\n %4 = add i64 %1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = add i64 %1, 24\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %0)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %.reg2mem\n br i1 %14, label LBL_2, label LBL_3\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %15 = inttoptr i64 %.reload to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %1, i64 %17)\n %19 = call i64 @FUNC(i64 %.reload)\n %20 = call i64 @FUNC(i64 %0)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %.reg2mem\n br i1 %22, label LBL_2, label LBL_3\n LBL_3:\n %23 = load i64, i64* %5, align 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %25, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = load i64, i64* %5, align 8\n %31 = call i64 @FUNC(i64 %30)\n br label LBL_4\n LBL_4:\n %32 = call i64 @FUNC(i64 %0)\n ret i64 %32\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @skb_dequeue, { 1, 0 }\n uselistorder i64 (i64)* @module_put, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "adx_decode_frame_4203", "fun_name": "adx_decode_frame", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.315.reg2mem = alloca i16*\n %storemerge16.reg2mem = alloca i64\n %.in.reg2mem = alloca i32\n %.reg2mem29 = alloca i32\n %sv_0.2.reg2mem = alloca i16*\n %.reg2mem27 = alloca i32\n %sv_0.111.reg2mem = alloca i16*\n %storemerge612.reg2mem = alloca i32\n %.reg2mem25 = alloca i64\n %r8.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i16*\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %2 = load i64, i64* %0\n %rcx = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i32* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %12, align 4\n %13 = and i64 %3, 4294967295\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_2:\n %14 = trunc i64 %3 to i32\n %15 = inttoptr i64 %7 to i32*\n %16 = ptrtoint i32* %arg4 to i64\n %17 = add i64 %16, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i16*\n %21 = load i16, i16* %20, align 2\n %22 = icmp eq i16 %21, -32768\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_2.LBL_8_crit_edge, label LBL_4\n LBL_3:\n %.pre = load i32, i32* %15, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %14, i32* %sv_1.0.reg2mem\n store i16* %20, i16** %sv_0.0.reg2mem\n br label LBL_8\n LBL_4:\n %24 = add i64 %7, 24\n %25 = ptrtoint i32* %sv_2 to i64\n store i64 %25, i64* %rcx, align 8\n %26 = bitcast i32* %sv_2 to i64*\n %27 = call i64 @FUNC(i64 %4, i64 %19, i32 %14, i64* nonnull %26, i64 %24)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %25, i64 %24, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_6:\n %32 = trunc i64 %2 to i32\n store i32 %32, i32* %15, align 4\n %33 = load i32, i32* %sv_2, align 4\n %34 = zext i32 %33 to i64\n %sext = mul i64 %3, 4294967296\n %35 = ashr exact i64 %sext, 32\n %36 = icmp slt i64 %35, %34\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %36, label LBL_23, label LBL_7\n LBL_7:\n %37 = sext i32 %33 to i64\n %38 = add i64 %19, %37\n %39 = inttoptr i64 %38 to i16*\n %40 = sub i32 %14, %33\n store i32 %32, i32* %.reg2mem\n store i32 %40, i32* %sv_1.0.reg2mem\n store i16* %39, i16** %sv_0.0.reg2mem\n store i64 %24, i64* %r8.0.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %41 = icmp eq i32 %.reload, 0\n %42 = icmp slt i32 %.reload, 0\n %43 = icmp eq i1 %42, false\n %44 = icmp eq i1 %41, false\n %45 = icmp eq i1 %43, %44\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %45, label LBL_9, label LBL_23\n LBL_9:\n %46 = bitcast i64* %rcx to i32*\n %sv_0.0.reload = load i16*, i16** %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %47 = mul i32 %.reload, 16\n %48 = ashr i32 %sv_1.0.reload, 31\n %49 = zext i32 %sv_1.0.reload to i64\n %50 = zext i32 %48 to i64\n %51 = mul i64 %50, 4294967296\n %52 = or i64 %51, %49\n %53 = zext i32 %47 to i64\n %54 = sdiv i64 %52, %53\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n br i1 %56, label LBL_11, label LBL_10\n LBL_10:\n %57 = bitcast i64* %rdi to i32*\n %58 = load i32, i32* %57, align 8\n %59 = mul i32 %58, 16\n %60 = zext i32 %59 to i64\n %61 = srem i64 %52, %60\n %62 = trunc i64 %61 to i32\n %63 = icmp eq i32 %62, 0\n br i1 %63, label LBL_14, label LBL_11\n LBL_11:\n %64 = icmp slt i32 %sv_1.0.reload, 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %64, label LBL_23, label LBL_12\n LBL_12:\n %65 = load i16, i16* %sv_0.0.reload, align 2\n %66 = icmp slt i16 %65, 0\n %67 = icmp eq i1 %66, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %67, label LBL_23, label LBL_13\n LBL_13:\n store i32 1, i32* %9, align 4\n %68 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %68, align 4\n %69 = load i32, i32* %46, align 8\n %70 = zext i32 %69 to i64\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_14:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %71 = mul i32 %55, 16\n %72 = add i64 %7, 8\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n store i64 %72, i64* %rcx, align 8\n %74 = trunc i64 %4 to i32\n %75 = icmp slt i32 %74, 0\n %76 = icmp eq i1 %75, false\n br i1 %76, label LBL_16, label LBL_15\n LBL_15:\n %77 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %72, i64 %r8.0.reload, i64 %1)\n %78 = and i64 %4, 4294967295\n store i64 %78, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_16:\n %79 = add i64 %7, 16\n %80 = inttoptr i64 %79 to i64*\n %81 = load i64, i64* %80, align 8\n %.pre20 = load i32, i32* %15, align 4\n store i32 %.pre20, i32* %.reg2mem29\n store i32 %55, i32* %.in.reg2mem\n store i64 %81, i64* %storemerge16.reg2mem\n store i16* %sv_0.0.reload, i16** %sv_0.315.reg2mem\n br label LBL_21\n LBL_17:\n %sv_0.111.reload = load i16*, i16** %sv_0.111.reg2mem\n %storemerge612.reload = load i32, i32* %storemerge612.reg2mem\n %.reload26 = load i64, i64* %.reg2mem25\n %82 = mul i64 %.reload26, 2\n %83 = add i64 %82, %storemerge16.reload\n %84 = ptrtoint i16* %sv_0.111.reload to i64\n %85 = call i64 @FUNC(i64 %7, i64 %83, i64 %84, i32 %storemerge612.reload)\n %86 = trunc i64 %85 to i32\n %87 = icmp eq i32 %86, 0\n br i1 %87, label LBL_19, label LBL_18\n LBL_18:\n store i32 1, i32* %9, align 4\n %88 = load i64, i64* %18, align 8\n %89 = load i32, i32* %46, align 8\n %90 = sext i32 %89 to i64\n %91 = add i64 %88, %90\n %92 = inttoptr i64 %91 to i16*\n %.pre21 = load i32, i32* %15, align 4\n store i32 %.pre21, i32* %.reg2mem27\n store i16* %92, i16** %sv_0.2.reg2mem\n br label LBL_20\n LBL_19:\n %93 = add i64 %84, 16\n %94 = inttoptr i64 %93 to i16*\n %95 = add i32 %storemerge612.reload, 1\n %96 = load i32, i32* %15, align 4\n %97 = zext i32 %96 to i64\n %98 = sext i32 %95 to i64\n %99 = icmp slt i64 %98, %97\n store i64 %98, i64* %.reg2mem25\n store i32 %95, i32* %storemerge612.reg2mem\n store i16* %94, i16** %sv_0.111.reg2mem\n store i32 %96, i32* %.reg2mem27\n store i16* %94, i16** %sv_0.2.reg2mem\n br i1 %99, label LBL_17, label LBL_20\n LBL_20:\n %100 = add i32 %.in.reload, -1\n %sv_0.2.reload = load i16*, i16** %sv_0.2.reg2mem\n %.reload28 = load i32, i32* %.reg2mem27\n %101 = mul i32 %.reload28, 16\n %102 = sext i32 %101 to i64\n %103 = mul i64 %102, 2\n %104 = add i64 %103, %storemerge16.reload\n %105 = icmp eq i32 %100, 0\n %106 = icmp eq i1 %105, false\n store i32 %.reload28, i32* %.reg2mem29\n store i32 %100, i32* %.in.reg2mem\n store i64 %104, i64* %storemerge16.reg2mem\n store i16* %sv_0.2.reload, i16** %sv_0.315.reg2mem\n br i1 %106, label LBL_21, label LBL_22\n LBL_21:\n %sv_0.315.reload = load i16*, i16** %sv_0.315.reg2mem\n %storemerge16.reload = load i64, i64* %storemerge16.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %.reload30 = load i32, i32* %.reg2mem29\n %107 = icmp eq i32 %.reload30, 0\n store i64 0, i64* %.reg2mem25\n store i32 0, i32* %storemerge612.reg2mem\n store i16* %sv_0.315.reload, i16** %sv_0.111.reg2mem\n store i32 0, i32* %.reg2mem27\n store i16* %sv_0.315.reload, i16** %sv_0.2.reg2mem\n br i1 %107, label LBL_20, label LBL_17\n LBL_22:\n %108 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %108, align 4\n %109 = load i64, i64* %80, align 8\n %110 = inttoptr i64 %72 to i64*\n %111 = load i64, i64* %110, align 8\n %112 = inttoptr i64 %arg2 to i64*\n store i64 %111, i64* %112, align 8\n %113 = add i64 %arg2, 8\n %114 = inttoptr i64 %113 to i64*\n store i64 %109, i64* %114, align 8\n %115 = load i64, i64* %18, align 8\n %116 = ptrtoint i16* %sv_0.2.reload to i64\n %117 = sub i64 %116, %115\n store i64 %117, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i16* %sv_0.315.reload, { 1, 0 }\n uselistorder i16* %sv_0.2.reload, { 1, 0 }\n uselistorder i64 %72, { 1, 0, 2, 3 }\n uselistorder i32 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i32 %.reload, { 2, 1, 0 }\n uselistorder i32* %15, { 4, 0, 1, 3, 2 }\n uselistorder i32 %14, { 2, 1, 0 }\n uselistorder i32* %sv_2, { 1, 2, 0 }\n uselistorder i64 %4, { 4, 2, 3, 0, 1, 5 }\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64* %rcx, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem25, { 1, 2, 0 }\n uselistorder i32* %storemerge612.reg2mem, { 1, 2, 0 }\n uselistorder i16** %sv_0.111.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem27, { 2, 0, 1, 3 }\n uselistorder i16** %sv_0.2.reg2mem, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 9, 2, 1, 3, 4, 6, 5 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 0, { 0, 7, 3, 4, 8, 5, 6, 1, 2, 9 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i32 0, { 0, 1, 2, 4, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder label LBL_23, { 4, 5, 6, 1, 0, 2, 3, 7, 8 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_20, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DestroyPolygonInfo_8039", "fun_name": "DestroyPolygonInfo", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg1, 0\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 %3, i64* %.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n store i64 %3, i64* %.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %4 = mul i64 %storemerge2.reload, 8\n %5 = add i64 %4, %.reload\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %6, align 8\n %9 = add nuw nsw i64 %storemerge2.reload, 1\n %10 = icmp slt i64 %9, %7\n %11 = load i64, i64* %2, align 8\n store i64 %11, i64* %.reg2mem\n store i64 %9, i64* %storemerge2.reg2mem\n store i64 %11, i64* %.lcssa.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %12 = call i64 @FUNC(i64 %.lcssa.reload)\n store i64 %12, i64* %2, align 8\n %13 = call i64 @FUNC(i64 %arg1)\n ret i64 %13\n\n uselistorder i64* %2, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @RelinquishMagickMemory, { 1, 0, 2 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fw_cfg_add_i16_441", "fun_name": "fw_cfg_add_i16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i16\n %2 = call i64 @FUNC(i64 2)\n %3 = urem i64 %arg3, 65536\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i16\n %6 = inttoptr i64 %2 to i16*\n store i16 %5, i16* %6, align 2\n %7 = call i64 @FUNC(i64 %0, i16 %1, i64 %2, i64 2)\n ret i64 %7\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dv_decode_ac_16000", "fun_name": "dv_decode_ac", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %3, 20\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp slt i32 %12, 1\n store i32 0, i32* %sv_1.0.ph.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = sub i32 0, %12\n store i32 0, i32* %11, align 4\n store i32 %14, i32* %sv_1.0.ph.reg2mem\n br label LBL_2\n LBL_2:\n %15 = ptrtoint i64* %arg3 to i64\n %16 = trunc i64 %2 to i32\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %sext = mul i64 %2, 4294967296\n %17 = ashr exact i64 %sext, 32\n store i32 %9, i32* %sv_0.0.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %18 = zext i32 %sv_1.0.reload to i64\n %19 = zext i32 %sv_0.0.reload to i64\n %20 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 0, i64 %18, i64 %1)\n %21 = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n %24 = sub i32 0, %21\n %sv_2.0 = select i1 %23, i32 %21, i32 %24\n %25 = add i32 %sv_2.0, %sv_1.0.reload\n %26 = zext i32 %25 to i64\n %27 = icmp slt i64 %17, %26\n br i1 %27, label LBL_4, label LBL_5\n LBL_4:\n %28 = sub i32 %16, %sv_1.0.reload\n store i32 %28, i32* %11, align 4\n %29 = add i64 %3, 24\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_7\n LBL_5:\n %31 = load i32, i32* bitcast (i32** @gv_2 to i32*), align 8\n %32 = sext i32 %31 to i64\n %.op = mul nsw i64 %32, 12\n %33 = select i1 %23, i64 0, i64 %.op\n %34 = add i64 %33, ptrtoint (i32** @gv_2 to i64)\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %33, ptrtoint (i32** @gv_3 to i64)\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %36 to i64\n %41 = zext i32 %39 to i64\n %42 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %41, i64 %40, i64 %18, i64 %1)\n %43 = add i32 %39, %sv_0.0.reload\n %44 = icmp sgt i32 %43, 63\n store i32 %43, i32* %sv_0.1.reg2mem\n br i1 %44, label LBL_7, label LBL_6\n LBL_6:\n %45 = sext i32 %43 to i64\n %46 = mul i64 %45, 4\n %47 = add i64 %46, %6\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = mul i32 %49, %36\n %51 = xor i32 %50, -2147483648\n %52 = add i64 %45, %3\n %53 = inttoptr i64 %52 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = zext i8 %54 to i64\n %56 = mul i64 %55, 4\n %57 = add i64 %56, %15\n %58 = inttoptr i64 %57 to i32*\n store i32 %51, i32* %58, align 4\n store i32 %43, i32* %sv_0.0.reg2mem\n store i32 %25, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_7:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n store i32 %sv_0.1.reload, i32* %8, align 4\n ret i64 %3\n\n uselistorder i64 %45, { 1, 0 }\n uselistorder i32 %43, { 1, 2, 0, 3 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32 %sv_1.0.reload, { 2, 1, 0 }\n uselistorder i32* %11, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32** @gv_2, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @av_dlog, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gf_m4a_get_profile_name_66", "fun_name": "gf_m4a_get_profile_name", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = urem i32 %0, 256\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = mul i64 %indvars.iv.reload, 16\n %3 = add i64 %2, ptrtoint (i32** @gv_0 to i64)\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 8\n %6 = icmp eq i32 %1, %5\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %2, ptrtoint ([10 x i8]** @gv_1 to i64)\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %11 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 ptrtoint ([28 x i8]* @gv_2 to i64), i64* %storemerge.reg2mem\n br i1 %11, label LBL_1, label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_writehdr_alloc_8675", "fun_name": "nfs_writehdr_alloc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %1 to i64*\n %4 = call i64* @memset(i64* %3, i32 0, i32 56)\n %5 = call i64 @FUNC(i64 %1)\n %6 = add i64 %1, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %1, 32\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %1, 36\n %11 = call i64 @FUNC(i64 %10, i64 0)\n %12 = add i64 %1, 48\n %13 = add i64 %1, 40\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n br label LBL_2\n LBL_2:\n ret i64 %1\n\n uselistorder i64 %1, { 3, 2, 0, 1, 7, 6, 5, 4, 8 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cifs_set_vol_auth_7928", "fun_name": "cifs_set_vol_auth", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n store i64 %3, i64* @0, align 8\n switch i32 %2, label LBL_6 [\n i32 0, label LBL_1\n i32 1, label LBL_2\n i32 2, label LBL_3\n i32 3, label LBL_4\n i32 4, label LBL_5\n ]\n LBL_1:\n %4 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %4, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %5 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %5, align 4\n br label LBL_6\n LBL_3:\n %6 = bitcast i64* %arg1 to i32*\n store i32 3, i32* %6, align 4\n br label LBL_6\n LBL_4:\n %7 = bitcast i64* %arg1 to i32*\n store i32 4, i32* %7, align 4\n br label LBL_6\n LBL_5:\n %8 = bitcast i64* %arg1 to i32*\n store i32 5, i32* %8, align 4\n br label LBL_6\n LBL_6:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = ptrtoint i64* %arg1 to i64\n %11 = call i64 @FUNC(i64 %10, i64 %9)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64* %arg1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_unique_ts_10800", "fun_name": "check_unique_ts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa8.reg2mem = alloca i32\n %sv_0.1.lcssa7.reg2mem = alloca i32\n %sv_1.1.lcssa9.reg2mem = alloca i64\n %rdi.1.lcssa10.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.11.reg2mem = alloca i32\n %sv_1.12.reg2mem = alloca i64\n %rdi.13.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* @gv_0, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %2, i64* %storemerge4.reg2mem\n store i64 %1, i64* %rdi.13.reg2mem\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %sv_1.12.reg2mem\n store i32 1, i32* %sv_0.11.reg2mem\n store i64 %1, i64* %rdi.1.lcssa10.reg2mem\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %sv_1.1.lcssa9.reg2mem\n store i32 1, i32* %sv_0.1.lcssa7.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem\n %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %7 = add i64 %storemerge4.reload, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %storemerge4.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = sub i64 %0, %11\n %13 = icmp slt i64 %12, 6\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %storemerge4.reload)\n %15 = add i64 %sv_1.12.reload, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 %9, i64* %16, align 8\n store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i64 %storemerge4.reload, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_3:\n %rdi.13.reload = load i64, i64* %rdi.13.reg2mem\n %17 = add i64 %sv_1.12.reload, 16\n %18 = inttoptr i64 %17 to i64*\n store i64 %storemerge4.reload, i64* %18, align 8\n %19 = load i64, i64* %10, align 8\n %20 = icmp eq i64 %19, %rdi.13.reload\n %21 = icmp eq i1 %20, false\n store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem\n store i64 %storemerge4.reload, i64* %sv_1.0.reg2mem\n store i64 %rdi.13.reload, i64* %rdi.0.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = add i64 %storemerge4.reload, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = load i64, i64* %6, align 8\n %26 = icmp eq i64 %24, %25\n %27 = icmp eq i1 %26, false\n %spec.select = select i1 %27, i32 %sv_0.11.reload, i32 0\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n store i64 %storemerge4.reload, i64* %sv_1.0.reg2mem\n store i64 %rdi.13.reload, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %28 = icmp eq i64 %9, 0\n %29 = icmp eq i1 %28, false\n store i64 %9, i64* %storemerge4.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.13.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.12.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem\n br i1 %29, label LBL_1, label LBL_6\n LBL_6:\n %30 = icmp eq i32 %sv_0.0.reload, 0\n store i64 %rdi.0.reload, i64* %rdi.1.lcssa10.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa9.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa7.reg2mem\n store i32 0, i32* %sv_0.1.lcssa8.reg2mem\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.1.lcssa7.reload = load i32, i32* %sv_0.1.lcssa7.reg2mem\n %sv_1.1.lcssa9.reload = load i64, i64* %sv_1.1.lcssa9.reg2mem\n %rdi.1.lcssa10.reload = load i64, i64* %rdi.1.lcssa10.reg2mem\n %31 = call i64 @FUNC()\n %32 = add i64 %sv_1.1.lcssa9.reload, 16\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n %34 = add i64 %31, 16\n %35 = inttoptr i64 %34 to i64*\n store i64 0, i64* %35, align 8\n %36 = load i64, i64* %6, align 8\n %37 = inttoptr i64 %31 to i64*\n store i64 %rdi.1.lcssa10.reload, i64* %37, align 8\n %38 = add i64 %31, 8\n %39 = inttoptr i64 %38 to i64*\n store i64 %36, i64* %39, align 8\n store i32 %sv_0.1.lcssa7.reload, i32* %sv_0.1.lcssa8.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.lcssa8.reload = load i32, i32* %sv_0.1.lcssa8.reg2mem\n %40 = zext i32 %sv_0.1.lcssa8.reload to i64\n ret i64 %40\n\n uselistorder i64 %31, { 1, 0, 2, 3 }\n uselistorder i64 %storemerge4.reload, { 1, 4, 2, 5, 0, 3, 7, 6 }\n uselistorder i64 %sv_1.12.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.11.reload, { 2, 1, 0 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.12.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.11.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rdi.1.lcssa10.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.1.lcssa9.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.lcssa7.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.lcssa8.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 3, 4, 0, 1, 2 }\n uselistorder i64 8, { 2, 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "PSDBlendModeToCompositeOperator_8505", "fun_name": "PSDBlendModeToCompositeOperator", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_24\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_24\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_24\n LBL_3:\n %10 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 4)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_24\n LBL_4:\n %14 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 4)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 3, i64* %rax.0.reg2mem\n br i1 %17, label LBL_5, label LBL_24\n LBL_5:\n %18 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i64 4)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 4, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_24\n LBL_6:\n %22 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 4)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 5, i64* %rax.0.reg2mem\n br i1 %25, label LBL_7, label LBL_24\n LBL_7:\n %26 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i64 4)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 6, i64* %rax.0.reg2mem\n br i1 %29, label LBL_8, label LBL_24\n LBL_8:\n %30 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64 4)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 7, i64* %rax.0.reg2mem\n br i1 %33, label LBL_9, label LBL_24\n LBL_9:\n %34 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i64 4)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 8, i64* %rax.0.reg2mem\n br i1 %37, label LBL_10, label LBL_24\n LBL_10:\n %38 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i64 4)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 9, i64* %rax.0.reg2mem\n br i1 %41, label LBL_11, label LBL_24\n LBL_11:\n %42 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0), i64 4)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 10, i64* %rax.0.reg2mem\n br i1 %45, label LBL_12, label LBL_24\n LBL_12:\n %46 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_11, i64 0, i64 0), i64 4)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 11, i64* %rax.0.reg2mem\n br i1 %49, label LBL_13, label LBL_24\n LBL_13:\n %50 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i64 4)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n store i64 12, i64* %rax.0.reg2mem\n br i1 %53, label LBL_14, label LBL_24\n LBL_14:\n %54 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0), i64 4)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n store i64 13, i64* %rax.0.reg2mem\n br i1 %57, label LBL_15, label LBL_24\n LBL_15:\n %58 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_14, i64 0, i64 0), i64 4)\n %59 = trunc i64 %58 to i32\n %60 = icmp eq i32 %59, 0\n %61 = icmp eq i1 %60, false\n store i64 14, i64* %rax.0.reg2mem\n br i1 %61, label LBL_16, label LBL_24\n LBL_16:\n %62 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_15, i64 0, i64 0), i64 4)\n %63 = trunc i64 %62 to i32\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n store i64 15, i64* %rax.0.reg2mem\n br i1 %65, label LBL_17, label LBL_24\n LBL_17:\n %66 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0), i64 4)\n %67 = trunc i64 %66 to i32\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n store i64 16, i64* %rax.0.reg2mem\n br i1 %69, label LBL_18, label LBL_24\n LBL_18:\n %70 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_17, i64 0, i64 0), i64 4)\n %71 = trunc i64 %70 to i32\n %72 = icmp eq i32 %71, 0\n %73 = icmp eq i1 %72, false\n store i64 17, i64* %rax.0.reg2mem\n br i1 %73, label LBL_19, label LBL_24\n LBL_19:\n %74 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_18, i64 0, i64 0), i64 4)\n %75 = trunc i64 %74 to i32\n %76 = icmp eq i32 %75, 0\n %77 = icmp eq i1 %76, false\n store i64 18, i64* %rax.0.reg2mem\n br i1 %77, label LBL_20, label LBL_24\n LBL_20:\n %78 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_19, i64 0, i64 0), i64 4)\n %79 = trunc i64 %78 to i32\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n store i64 19, i64* %rax.0.reg2mem\n br i1 %81, label LBL_21, label LBL_24\n LBL_21:\n %82 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_20, i64 0, i64 0), i64 4)\n %83 = trunc i64 %82 to i32\n %84 = icmp eq i32 %83, 0\n %85 = icmp eq i1 %84, false\n store i64 20, i64* %rax.0.reg2mem\n br i1 %85, label LBL_22, label LBL_24\n LBL_22:\n %86 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_21, i64 0, i64 0), i64 4)\n %87 = trunc i64 %86 to i32\n %88 = icmp eq i32 %87, 0\n %89 = icmp eq i1 %88, false\n store i64 21, i64* %rax.0.reg2mem\n br i1 %89, label LBL_23, label LBL_24\n LBL_23:\n %90 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_22, i64 0, i64 0), i64 4)\n %91 = trunc i64 %90 to i32\n %92 = icmp eq i32 %91, 0\n %93 = icmp eq i1 %92, false\n %. = select i1 %93, i64 0, i64 22\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64, i8*, i64)* @LocaleNCompare, { 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 0, 19, 20, 21, 22, 23 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvmet_req_init_4002", "fun_name": "nvmet_req_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg3 to i64\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %2, i64* %5, align 8\n %6 = add i64 %3, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 %1, i64* %7, align 8\n %8 = add i64 %3, 24\n %9 = inttoptr i64 %8 to i64*\n store i64 %0, i64* %9, align 8\n %10 = add i64 %3, 32\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %11, align 8\n %12 = add i64 %3, 40\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %3, 44\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %3, 48\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i16*\n store i16 0, i16* %19, align 2\n %20 = add i64 %3, 56\n %21 = inttoptr i64 %20 to i64*\n store i64 0, i64* %21, align 8\n %22 = call i64 @FUNC(i64 %3, i64 96)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ebml_read_binary_14750", "fun_name": "ebml_read_binary", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %1)\n store i64 %3, i64* %arg3, align 8\n %4 = icmp eq i64* %arg3, null\n %5 = icmp eq i1 %4, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %1 to i32\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = call i64 @FUNC(i64 %6)\n %11 = trunc i64 %10 to i32\n %12 = add i64 %0, 12\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %6, i64 %0, i32 %7)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %7, %15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %0)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ssl_renegotiate_9418", "fun_name": "ssl_renegotiate", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n store i32 2, i32* %arg1, align 4\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 3, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %5)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = and i64 %8, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %12 = call i64 @FUNC(i64 %5)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = and i64 %12, 4294967295\n %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %15)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %17 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i8*)* @SSL_DEBUG_MSG, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_readdir_7233", "fun_name": "fuse_readdir", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 2, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = add i64 %2, 4\n %9 = call i64 @FUNC(i64 %8)\n %10 = urem i64 %1, 2\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %2, i64 %7)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, -1\n %15 = icmp eq i1 %14, false\n store i64 %12, i64* %sv_0.1.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %2, i64 %7)\n store i64 %16, i64* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %17 = call i64 @FUNC(i64 %8)\n %18 = and i64 %sv_0.1.reload, 4294967295\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "FixExtensionMap_5875", "fun_name": "FixExtensionMap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.05.reg2mem = alloca i32\n %.reg2mem = alloca i16\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = urem i32 %5, 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = zext i32 %5 to i64\n %9 = and i64 %1, 4294967295\n %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %8)\n call void @exit(i32 255)\n unreachable\n LBL_2:\n %11 = icmp sgt i32 %5, 212\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = zext i32 %5 to i64\n %13 = and i64 %1, 4294967295\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %12)\n call void @exit(i32 255)\n unreachable\n LBL_4:\n %15 = sext i32 %5 to i64\n %16 = add nsw i64 %15, 8589934380\n %17 = udiv i64 %16, 2\n %18 = trunc i64 %17 to i32\n %19 = add i64 %2, 12\n %20 = inttoptr i64 %19 to i16*\n %21 = load i16, i16* %20, align 2\n %22 = icmp eq i16 %21, 0\n %23 = icmp slt i32 %18, 0\n %or.cond4 = or i1 %23, %22\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %or.cond4, label LBL_10, label LBL_5\n LBL_5:\n %sext = mul i64 %17, 4294967296\n %24 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n store i16 %21, i16* %.reg2mem\n store i32 0, i32* %sv_0.05.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i16, i16* %.reg2mem\n %25 = icmp ult i16 %.reload, 101\n %26 = zext i16 %.reload to i64\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %27 = and i64 %1, 4294967295\n %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_2, i64 0, i64 0), i64 %27, i64 %26, i64 100)\n call void @exit(i32 255)\n unreachable\n LBL_8:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = mul i64 %26, 4\n %30 = add i64 %29, ptrtoint (i32** @gv_3 to i64)\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i32 %32, %sv_0.05.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %34 = mul i64 %indvars.iv.next, 2\n %35 = add i64 %34, %19\n %36 = inttoptr i64 %35 to i16*\n %37 = load i16, i16* %36, align 2\n %38 = icmp eq i16 %37, 0\n %39 = icmp sge i64 %indvars.iv.reload, %24\n %or.cond = or i1 %39, %38\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i16 %37, i16* %.reg2mem\n store i32 %33, i32* %sv_0.05.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_6\n LBL_9:\n %40 = trunc i64 %indvars.iv.next to i32\n store i32 %33, i32* %sv_0.0.lcssa.reg2mem\n store i32 %40, i32* %storemerge.lcssa.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %41 = add i64 %2, 8\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = icmp eq i32 %sv_0.0.lcssa.reload, %43\n br i1 %44, label LBL_12, label LBL_11\n LBL_11:\n %45 = zext i32 %sv_0.0.lcssa.reload to i64\n %46 = zext i32 %43 to i64\n %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_4, i64 0, i64 0), i64 %46, i64 %45)\n store i32 %sv_0.0.lcssa.reload, i32* %42, align 4\n br label LBL_12\n LBL_12:\n %48 = zext i32 %storemerge.lcssa.reload to i64\n %49 = icmp eq i32 %storemerge.lcssa.reload, %18\n store i64 %48, i64* %rax.0.reg2mem\n br i1 %49, label LBL_15, label LBL_13\n LBL_13:\n %50 = sub i32 %18, %storemerge.lcssa.reload\n %51 = icmp eq i32 %50, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %51, label LBL_15, label LBL_14\n LBL_14:\n %52 = bitcast i64* %rdi to i32*\n %53 = load i32, i32* %52, align 8\n %54 = and i64 %17, 4294967295\n %55 = zext i32 %53 to i64\n %56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_5, i64 0, i64 0), i64 %55, i64 %54, i64 %48)\n %57 = sext i32 %56 to i64\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %48, { 1, 0 }\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 2, 0 }\n uselistorder i32 %storemerge.lcssa.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.next, { 2, 0, 1 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i32 %18, { 2, 1, 0 }\n uselistorder i64 %17, { 2, 0, 1 }\n uselistorder i32 %5, { 1, 2, 3, 4, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i16* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i16 0, { 1, 0 }\n uselistorder void (i32)* @exit, { 2, 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 4, 0, 3, 2 }\n uselistorder i64 4294967295, { 3, 0, 1, 2 }\n uselistorder i32 0, { 2, 0, 1, 3, 4 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtc_irq_eoi_tracking_reset_5233", "fun_name": "rtc_irq_eoi_tracking_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = call i64 @FUNC(i64 %2, i64 256)\n ret i64 %3\n\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "object_resolve_path_component_2956", "fun_name": "object_resolve_path_component", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = inttoptr i64 %0 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = inttoptr i64 %0 to i64*\n %16 = load i64, i64* %15, align 8\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder label LBL_5, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_copy_packet_side_data_2308", "fun_name": "av_copy_packet_side_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rsi.01.reg2mem = alloca i64\n %rdi.02.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = sext i32 %3 to i64\n %7 = mul i64 %6, 16\n %8 = call i64 @FUNC(i64 %5, i64 %0, i64 %7, i64 0, i64 1)\n %9 = load i32, i32* %2, align 4\n %10 = mul i32 %9, 16\n %11 = call i64* @memset(i64* %arg1, i32 0, i32 %10)\n %12 = load i32, i32* %2, align 4\n %13 = icmp eq i32 %12, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %5, i64* %rdi.02.reg2mem\n store i64 0, i64* %rsi.01.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %rsi.01.reload = load i64, i64* %rsi.01.reg2mem\n %rdi.02.reload = load i64, i64* %rdi.02.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %14 = mul i64 %.reload, 16\n %15 = add i64 %rsi.01.reload, %14\n %16 = add i64 %15, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = sext i32 %18 to i64\n %20 = inttoptr i64 %15 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %rdi.02.reload, %14\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24, i64 %21, i64 %19, i64 1, i64 1)\n %26 = add i64 %21, %14\n %27 = add i64 %24, %14\n %28 = add i64 %26, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i64 %27, 8\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = add i64 %26, 12\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = add i64 %27, 12\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = add i32 %storemerge3.reload, 1\n %39 = load i32, i32* %2, align 4\n %40 = zext i32 %39 to i64\n %41 = sext i32 %38 to i64\n %42 = icmp slt i64 %41, %40\n store i64 %41, i64* %.reg2mem\n store i32 %38, i32* %storemerge3.reg2mem\n store i64 %24, i64* %rdi.02.reg2mem\n store i64 %21, i64* %rsi.01.reg2mem\n br i1 %42, label LBL_2, label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %14, { 3, 2, 1, 0 }\n uselistorder i32* %2, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rsi.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @DUP_DATA, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 0, { 0, 1, 2, 4, 3, 5 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nft_delchain_77", "fun_name": "nft_delchain", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = icmp ult i64 %1, -1000\n store i64 %1, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = trunc i64 %0 to i32\n %4 = add i32 %3, -1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %8)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_current_sample_dec_9197", "fun_name": "mov_current_sample_dec", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, -1\n store i32 %4, i32* %arg1, align 4\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i32 %7, -1\n store i32 %8, i32* %6, align 4\n %9 = add i64 %2, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_1\n LBL_1:\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = icmp ult i32 %8, %17\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %19, label LBL_2, label LBL_4\n LBL_2:\n %20 = icmp ugt i64 %15, %11\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %20, label LBL_3, label LBL_4\n LBL_3:\n %21 = add i64 %15, -8\n store i64 %21, i64* %14, align 8\n %22 = add i64 %15, -4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i32 %24, -1\n store i32 %25, i32* %6, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder label LBL_4, { 2, 0, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "intel_sdvo_detect_hdmi_audio_4637", "fun_name": "intel_sdvo_detect_hdmi_audio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %5 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %5)\n %phitmp = urem i64 %11, 256\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %12 = call i64 @FUNC(i64 %5)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 0, { 1, 2, 4, 0, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "red_channel_client_send_empty_msg_9261", "fun_name": "red_channel_client_send_empty_msg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0)\n %3 = call i64 @FUNC(i64 %1)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_rw_cb_416", "fun_name": "nvme_rw_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %4 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = sext i32 %8 to i64\n %10 = mul i64 %9, 8\n %11 = add i64 %10, %6\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i32 %3, 0\n %15 = icmp eq i1 %14, false\n %16 = add i64 %2, 16\n %17 = and i64 %1, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %19 = call i64 @FUNC(i64 %18, i64 %16)\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %20 = call i64 @FUNC(i64 %18, i64 %16)\n store i32 1, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n store i32 %storemerge.reload, i32* %7, align 4\n %21 = add i64 %2, 12\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = add i64 %2, 24\n %26 = call i64 @FUNC(i64 %25)\n br label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %13, i64 %2)\n ret i64 %27\n\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hexagon_v6_op_7259", "fun_name": "hexagon_v6_op", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = trunc i64 %arg5 to i32\n %1 = icmp sgt i32 %0, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = ptrtoint i32* %arg4 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %arg3, 4294967295\n %5 = and i64 %3, 4294967295\n %6 = bitcast i32* %sv_0 to i64*\n %7 = call i64 @FUNC(i64 %5, i64* nonnull %6, i64 %4)\n %8 = trunc i64 %7 to i32\n store i32 %8, i32* %sv_0, align 4\n %9 = bitcast i64* %arg2 to i32*\n store i32 %8, i32* %9, align 4\n %10 = icmp eq i32 %8, 0\n %11 = icmp slt i32 %8, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %10, false\n %14 = icmp eq i1 %12, %13\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = and i64 %7, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %16 = ptrtoint i64* %arg2 to i64\n %17 = add i64 %16, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %arg3, i64* %18, align 8\n %19 = call i64 @FUNC(i64* nonnull %6, i64 %16)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_set_font_6728", "fun_name": "bm_set_font", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n store i64 %2, i64* %arg1, align 8\n ret i64 %3\n\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_all_goto_snapshot_1543", "fun_name": "bdrv_all_goto_snapshot", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i32\n %storemerge.lcssa.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i32\n %sv_0.12.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = call i64 @FUNC(i64* nonnull %sv_1)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %storemerge3.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n store i64 %0, i64* %storemerge.lcssa.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %3 = call i64 @FUNC(i64 %storemerge3.reload)\n store i64 %3, i64* %sv_1, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %storemerge3.reload)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %8 = load i64, i64* %sv_1, align 8\n %9 = call i64 @FUNC(i64 %8)\n store i32 %sv_0.12.reload, i32* %sv_0.01.reg2mem\n br label LBL_4\n LBL_3:\n %10 = call i64 @FUNC(i64 %storemerge3.reload, i64 %arg1)\n %11 = trunc i64 %10 to i32\n %12 = load i64, i64* %sv_1, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp slt i32 %11, 0\n store i32 %11, i32* %sv_0.01.reg2mem\n store i64 %storemerge3.reload, i64* %storemerge.lcssa.reg2mem\n store i32 %11, i32* %sv_0.2.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem\n %15 = call i64 @FUNC(i64* nonnull %sv_1)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %storemerge3.reg2mem\n store i32 %sv_0.01.reload, i32* %sv_0.12.reg2mem\n store i64 %15, i64* %storemerge.lcssa.reg2mem\n store i32 %sv_0.01.reload, i32* %sv_0.2.reg2mem\n br i1 %17, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n store i64 %storemerge.lcssa.reload, i64* %arg2, align 8\n %18 = zext i32 %sv_0.2.reload to i64\n ret i64 %18\n\n uselistorder i64 %storemerge3.reload, { 0, 1, 3, 2 }\n uselistorder i64* %sv_1, { 1, 3, 0, 4, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @aio_context_release, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_irq_invert_16606", "fun_name": "qemu_irq_invert", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 4198734, i64 %0, i64 1)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jazz_led_init_16708", "fun_name": "jazz_led_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 4210725, i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 1)\n %2 = call i64 @FUNC(i64 %0, i64 %0)\n %3 = call i64 @FUNC(i64 4198794, i64 4198801, i64 4198808, i64 4198815, i64 %0)\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n ret i64 0\n\n uselistorder i64 %0, { 0, 1, 3, 2, 5, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dns_reset_resolution_9576", "fun_name": "dns_reset_resolution", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 4198673, i64* %5, align 8\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %0, 20\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 28\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %0, 24\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %0, 32\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %0, 56\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %0, 48\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 7, 8, 6, 5, 4, 3, 2, 1, 0, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aio_flush_f_15050", "fun_name": "aio_flush_f", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "complete_collecting_data_2402", "fun_name": "complete_collecting_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 3\n %6 = icmp eq i1 %5, false\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %2, 52\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n store i32 %9, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %10 = trunc i64 %1 to i32\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %11 = bitcast i64* %arg1 to i32*\n store i32 %storemerge1.reload, i32* %11, align 4\n %12 = icmp sgt i32 %4, 0\n br i1 %12, label LBL_3, label LBL_5\n LBL_3:\n %13 = add i64 %2, 36\n %14 = mul i32 %10, 256\n %wide.trip.count = and i64 %3, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n store i32 %14, i32* %11, align 4\n %15 = mul i64 %indvars.iv.reload, 4\n %16 = add i64 %13, %15\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = or i32 %18, %10\n store i32 %19, i32* %11, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %20 = add i64 %2, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i32 %22, -1\n %24 = and i32 %23, %10\n store i32 %24, i32* %11, align 4\n %25 = add i64 %2, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n store i64 %2, i64* @0, align 8\n %27 = add i64 %2, 12\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = mul i64 %30, 8\n %32 = add i64 %31, ptrtoint (i64* @gv_0 to i64)\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n store i64 %34, i64* %rax.0.reg2mem\n switch i64 %2, label LBL_19 [\n i64 0, label LBL_6\n i64 1, label LBL_6\n i64 2, label LBL_6\n i64 3, label LBL_6\n i64 4, label LBL_6\n i64 5, label LBL_7\n i64 6, label LBL_7\n i64 7, label LBL_7\n i64 8, label LBL_7\n i64 9, label LBL_7\n i64 10, label LBL_7\n i64 11, label LBL_7\n i64 12, label LBL_7\n i64 13, label LBL_7\n i64 14, label LBL_7\n i64 15, label LBL_7\n i64 16, label LBL_7\n i64 17, label LBL_8\n i64 18, label LBL_8\n i64 19, label LBL_8\n i64 20, label LBL_8\n i64 21, label LBL_8\n i64 22, label LBL_8\n i64 23, label LBL_9\n i64 24, label LBL_15\n i64 25, label LBL_16\n i64 26, label LBL_17\n i64 27, label LBL_18\n ]\n LBL_6:\n store i32 1, i32* %26, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_7:\n store i32 2, i32* %26, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_8:\n %35 = bitcast i64* %rdi to i32*\n %36 = load i32, i32* %35, align 8\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %2, i64 %37, i32 %29)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_9:\n %39 = call i64 @FUNC(i64 23)\n %40 = trunc i64 %39 to i32\n switch i32 %40, label LBL_13 [\n i32 0, label LBL_10\n i32 1, label LBL_11\n ]\n LBL_10:\n %41 = load i32, i32* inttoptr (i64 63 to i32*), align 4\n %42 = and i32 %41, 2\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n %45 = zext i1 %44 to i8\n store i8 %45, i8* inttoptr (i64 40 to i8*), align 8\n br label LBL_13\n LBL_11:\n %46 = load i32, i32* inttoptr (i64 59 to i32*), align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %47, i64 6, i64 1)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n %52 = zext i1 %51 to i8\n store i8 %52, i8* inttoptr (i64 40 to i8*), align 8\n %53 = load i32, i32* inttoptr (i64 55 to i32*), align 4\n %54 = icmp slt i32 %53, 2\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n %55 = load i32, i32* inttoptr (i64 63 to i32*), align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %56, i64 5, i64 1)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n %61 = zext i1 %60 to i8\n store i8 %61, i8* inttoptr (i64 41 to i8*), align 1\n br label LBL_13\n LBL_13:\n %62 = load i8, i8* inttoptr (i64 39 to i8*), align 1\n %63 = icmp eq i8 %62, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %63, label LBL_19, label LBL_14\n LBL_14:\n store i8 0, i8* inttoptr (i64 39 to i8*), align 1\n store i64 23, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_15:\n %64 = load i32, i32* inttoptr (i64 60 to i32*), align 4\n store i32 %64, i32* inttoptr (i64 76 to i32*), align 4\n store i64 24, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_16:\n %65 = load i32, i32* inttoptr (i64 61 to i32*), align 4\n %66 = load i32, i32* inttoptr (i64 65 to i32*), align 4\n %67 = mul i32 %66, 256\n %68 = or i32 %67, %65\n store i32 %68, i32* inttoptr (i64 45 to i32*), align 4\n store i64 25, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_17:\n %69 = load i32, i32* inttoptr (i64 62 to i32*), align 4\n store i32 %69, i32* inttoptr (i64 50 to i32*), align 4\n store i64 26, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_18:\n %70 = load i32, i32* inttoptr (i64 63 to i32*), align 4\n store i32 %70, i32* inttoptr (i64 55 to i32*), align 4\n store i64 27, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %10, { 1, 2, 0 }\n uselistorder i64 %2, { 5, 1, 0, 3, 7, 6, 8, 9, 2, 4, 10 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 4, 5, 3, 2, 1, 10 }\n uselistorder i8* inttoptr (i64 39 to i8*), { 1, 0 }\n uselistorder i32* inttoptr (i64 55 to i32*), { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @extract32, { 1, 0 }\n uselistorder i8* inttoptr (i64 40 to i8*), { 1, 0 }\n uselistorder i32* inttoptr (i64 63 to i32*), { 2, 1, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i32 0, { 5, 6, 7, 3, 8, 2, 0, 4, 1, 9, 10 }\n uselistorder label LBL_19, { 3, 4, 5, 6, 1, 0, 7, 8, 9, 2 }\n uselistorder label LBL_13, { 2, 1, 3, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_anonymous_page_13822", "fun_name": "do_anonymous_page", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.1.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %sv_2 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %3, i64 %arg3)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_14\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = urem i64 %arg6, 2\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = add i64 %3, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = call i64 @FUNC(i64 %arg3)\n %16 = zext i32 %14 to i64\n %17 = and i64 %15, 4294967295\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n %19 = and i64 %18, 4294967295\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 %8, i64 %arg5)\n store i64 %21, i64* %sv_2, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = and i64 %2, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %arg4, i64* %sv_0.0.reg2mem\n store i64 %20, i64* %sv_1.1.in.reg2mem\n store i64 %arg4, i64* %sv_0.1.reg2mem\n br i1 %27, label LBL_10, label LBL_11\n LBL_3:\n %28 = call i64 @FUNC(i64 %arg4)\n %29 = call i64 @FUNC(i64 %3)\n %30 = and i64 %29, 4294967295\n %31 = call i64 @FUNC(i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %34, label LBL_14, label LBL_4\n LBL_4:\n %35 = call i64 @FUNC(i64 %3, i64 %arg3)\n %36 = icmp eq i64 %35, 0\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %36, label LBL_14, label LBL_5\n LBL_5:\n %37 = call i64 @FUNC(i64 %35)\n %38 = call i64 @FUNC(i64 %35, i64 %8, i64 32)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_13, label LBL_6\n LBL_6:\n %42 = add i64 %3, 4\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %35, i64 %45)\n %47 = and i64 %1, 2\n %48 = icmp eq i64 %47, 0\n store i64 %46, i64* %sv_1.0.in.reg2mem\n br i1 %48, label LBL_8, label LBL_7\n LBL_7:\n %49 = and i64 %46, 4294967295\n %50 = call i64 @FUNC(i64 %49)\n %51 = and i64 %50, 4294967295\n %52 = call i64 @FUNC(i64 %51)\n store i64 %52, i64* %sv_1.0.in.reg2mem\n br label LBL_8\n LBL_8:\n %53 = call i64 @FUNC(i64 %8, i64 %arg5, i64 %arg3, i64* nonnull %sv_2)\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %56)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n br i1 %59, label LBL_12, label LBL_9\n LBL_9:\n %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem\n %60 = call i64 @FUNC(i64 %8, i64 1)\n %61 = call i64 @FUNC(i64 %35, i64 %3, i64 %arg3)\n store i64 %53, i64* %sv_0.0.reg2mem\n store i64 %sv_1.0.in.reload, i64* %sv_1.1.in.reg2mem\n br label LBL_10\n LBL_10:\n %sv_1.1.in.reload = load i64, i64* %sv_1.1.in.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.1 = trunc i64 %sv_1.1.in.reload to i32\n %62 = call i64 @FUNC(i64 %8, i64 %arg3, i64 %sv_0.0.reload, i32 %sv_1.1)\n %63 = call i64 @FUNC(i64 %3, i64 %arg3, i64 %sv_0.0.reload)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %64 = load i64, i64* %sv_2, align 8\n %65 = call i64 @FUNC(i64 %sv_0.1.reload, i64 %64)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_12:\n %66 = call i64 @FUNC(i64 %35)\n %67 = call i64 @FUNC(i64 %35)\n store i64 %53, i64* %sv_0.1.reg2mem\n br label LBL_11\n LBL_13:\n %68 = call i64 @FUNC(i64 %35)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %46, { 1, 0 }\n uselistorder i64 %35, { 4, 2, 1, 0, 3, 6, 5, 7 }\n uselistorder i64 %8, { 1, 2, 3, 4, 0 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.1.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 3, 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 3, 2, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @page_cache_release, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4294967294, { 0, 2, 1 }\n uselistorder i64 (i64)* @pte_none, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder i64 %arg4, { 2, 0, 1 }\n uselistorder i64 %arg3, { 2, 1, 3, 4, 5, 0, 6 }\n uselistorder label LBL_14, { 0, 4, 2, 1, 3 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmlinux_path__exit_4680", "fun_name": "vmlinux_path__exit", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* @gv_0, align 4\n %1 = add i32 %0, -1\n store i32 %1, i32* @gv_0, align 4\n %2 = icmp slt i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %5 = sext i32 %4 to i64\n %6 = mul i64 %5, 8\n %7 = add i64 %6, ptrtoint (i64* @gv_1 to i64)\n %8 = call i64 @FUNC(i64 %7)\n %9 = load i32, i32* @gv_0, align 4\n %10 = add i32 %9, -1\n store i32 %10, i32* @gv_0, align 4\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_1, label LBL_2\n LBL_2:\n store i32 0, i32* @gv_0, align 4\n %13 = call i64 @FUNC(i64 ptrtoint (i64* @gv_1 to i64))\n ret i64 %13\n\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32* @gv_0, { 4, 3, 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_init_table_18158", "fun_name": "parse_init_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %r8.2.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %.lcssa7.reg2mem = alloca i16\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i8\n %.lcssa65.reg2mem = alloca i64\n %.lcssa67.reg2mem = alloca i64*\n %.lcssa69.reg2mem = alloca i64\n %.reg2mem136 = alloca i32\n %.reg2mem134 = alloca i16\n %sv_1.02185.reg2mem = alloca i64\n %r8.12086.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1.0.in16 = mul i64 %arg2, 281474976710656\n %sv_1.017 = ashr exact i64 %sv_1.0.in16, 48\n %4 = trunc i64 %2 to i16\n %5 = trunc i64 %sv_1.017 to i16\n %6 = icmp ugt i16 %4, %5\n %7 = icmp eq i1 %6, false\n store i16 %5, i16* %.lcssa7.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %7, label LBL_12, label LBL_1\n LBL_1:\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = trunc i64 %3 to i32\n %11 = and i64 %3, 4294967295\n %12 = icmp slt i32 %10, 0\n %13 = icmp eq i1 %12, false\n %14 = add i64 %3, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = icmp slt i32 %10, 1\n store i32 1, i32* %.reg2mem\n store i64 %sv_1.017, i64* %sv_1.02185.reg2mem\n store i16 %5, i16* %.reg2mem134\n br label LBL_2\n LBL_2:\n %.reload135 = load i16, i16* %.reg2mem134\n %sv_1.02185.reload = load i64, i64* %sv_1.02185.reg2mem\n %r8.12086.reload = load i64, i64* %r8.12086.reg2mem\n %17 = load i64, i64* %9, align 8\n %18 = urem i64 %sv_1.02185.reload, 65536\n %19 = add i64 %17, %18\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = load i64, i64* @gv_0, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_6, label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %24 = load i8, i8* bitcast (i8** @gv_1 to i8*), align 8\n %25 = icmp eq i8 %21, %24\n %26 = icmp eq i1 %25, false\n store i32 1, i32* %.reg2mem136\n store i64 %22, i64* %.lcssa69.reg2mem\n store i64* @gv_0, i64** %.lcssa67.reg2mem\n store i64 0, i64* %.lcssa65.reg2mem\n store i8 %24, i8* %.lcssa.reg2mem\n br i1 %26, label LBL_4, label LBL_7\n LBL_4:\n %.reload137 = load i32, i32* %.reg2mem136\n %27 = sext i32 %.reload137 to i64\n %28 = mul nsw i64 %27, 24\n %29 = add i64 %28, ptrtoint (i64* @gv_0 to i64)\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n %33 = add i64 %28, ptrtoint (i8** @gv_1 to i64)\n %34 = inttoptr i64 %33 to i8*\n %35 = load i8, i8* %34, align 8\n %36 = icmp eq i8 %21, %35\n %37 = icmp eq i1 %36, false\n %38 = add i32 %.reload137, 1\n store i32 %38, i32* %.reg2mem136\n store i64 %31, i64* %.lcssa69.reg2mem\n store i64* %30, i64** %.lcssa67.reg2mem\n store i64 %28, i64* %.lcssa65.reg2mem\n store i8 %35, i8* %.lcssa.reg2mem\n br i1 %37, label LBL_4, label LBL_7\n LBL_6:\n %39 = load i64, i64* %15, align 8\n %40 = call i64 @FUNC(i64 %39, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i16 %.reload135, i8 %21, i64 %r8.12086.reload, i64 %1)\n store i64 4294967294, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_7:\n %.lcssa.reload = load i8, i8* %.lcssa.reg2mem\n %.lcssa65.reload = load i64, i64* %.lcssa65.reg2mem\n %.lcssa69.reload = load i64, i64* %.lcssa69.reg2mem\n %41 = zext i8 %.lcssa.reload to i64\n %42 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i16 %.reload135, i64 %41, i64 %.lcssa69.reload, i64 %1)\n %43 = add i64 %.lcssa65.reload, ptrtoint (i64* @gv_4 to i64)\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n store i64 %18, i64* %rcx.0.reg2mem\n store i64 %45, i64* %r8.0.reg2mem\n br i1 %13, label LBL_9, label LBL_8\n LBL_8:\n %.lcssa67.reload = load i64*, i64** %.lcssa67.reg2mem\n %46 = load i64, i64* %.lcssa67.reload, align 8\n %47 = load i64, i64* %15, align 8\n %48 = trunc i64 %46 to i8\n %49 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_5, i64 0, i64 0), i16 %.reload135, i8 %48, i64 %11, i64 %1)\n store i64 %46, i64* %rcx.0.reg2mem\n store i64 %11, i64* %r8.0.reg2mem\n br label LBL_9\n LBL_9:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n store i16 %.reload135, i16* %.lcssa7.reg2mem\n store i32 %.reload, i32* %sv_0.1.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.2.reg2mem\n store i64 %r8.0.reload, i64* %r8.2.reg2mem\n br i1 %16, label LBL_12, label LBL_10\n LBL_10:\n %50 = add i64 %sv_1.02185.reload, %3\n %sv_1.0.in = mul i64 %50, 281474976710656\n %sv_1.0 = ashr exact i64 %sv_1.0.in, 48\n %51 = trunc i64 %sv_1.0 to i16\n %52 = icmp ugt i16 %4, %51\n %53 = icmp eq i1 %52, false\n store i16 %51, i16* %.lcssa7.reg2mem\n store i32 %.reload, i32* %sv_0.1.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.2.reg2mem\n store i64 %r8.0.reload, i64* %r8.2.reg2mem\n br i1 %53, label LBL_12, label LBL_11\n LBL_11:\n %54 = add nuw nsw i32 %.reload, 1\n %55 = icmp ult i32 %.reload, 256\n store i32 %54, i32* %.reg2mem\n store i64 %r8.0.reload, i64* %r8.12086.reg2mem\n store i64 %sv_1.0, i64* %sv_1.02185.reg2mem\n store i16 %51, i16* %.reg2mem134\n store i16 %51, i16* %.lcssa7.reg2mem\n store i32 %54, i32* %sv_0.1.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.2.reg2mem\n store i64 %r8.0.reload, i64* %r8.2.reg2mem\n br i1 %55, label LBL_2, label LBL_12\n LBL_12:\n %r8.2.reload = load i64, i64* %r8.2.reg2mem\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.lcssa7.reload = load i16, i16* %.lcssa7.reg2mem\n %56 = icmp ult i16 %.lcssa7.reload, %4\n br i1 %56, label LBL_14, label LBL_13\n LBL_13:\n %57 = add i64 %3, 16\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = call i64 @FUNC(i64 %59, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_6, i64 0, i64 0), i16 %.lcssa7.reload, i64 %rcx.2.reload, i64 %r8.2.reload, i64 %1)\n br label LBL_14\n LBL_14:\n %61 = icmp slt i32 %sv_0.1.reload, 256\n store i64 0, i64* %storemerge.reg2mem\n br i1 %61, label LBL_16, label LBL_15\n LBL_15:\n %62 = add i64 %3, 16\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = call i64 @FUNC(i64 %64, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_7, i64 0, i64 0), i16 256, i64 %rcx.2.reload, i64 %r8.2.reload, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i16 %51, { 1, 2, 0, 3 }\n uselistorder i64 %rcx.0.reload, { 1, 0, 2 }\n uselistorder i64 %r8.0.reload, { 1, 3, 0, 2 }\n uselistorder i32 %.reload137, { 1, 0 }\n uselistorder i32 %.reload, { 2, 3, 0, 1 }\n uselistorder i8 %21, { 0, 2, 1 }\n uselistorder i16 %.reload135, { 0, 2, 1, 3 }\n uselistorder i64* %15, { 1, 0 }\n uselistorder i16 %5, { 1, 0, 2 }\n uselistorder i64 %3, { 7, 6, 0, 4, 1, 3, 2, 5 }\n uselistorder i64 %1, { 4, 3, 1, 2, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.12086.reg2mem, { 1, 0 }\n uselistorder i64* %sv_1.02185.reg2mem, { 1, 0, 2 }\n uselistorder i16* %.reg2mem134, { 1, 0, 2 }\n uselistorder i32* %.reg2mem136, { 2, 0, 1 }\n uselistorder i16* %.lcssa7.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %r8.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i16, i64, i64, i64)* @NV_WARN, { 1, 0 }\n uselistorder i64 (i64, i8*, i16, i8, i64, i64)* @NV_ERROR, { 1, 0 }\n uselistorder i8** @gv_1, { 1, 0 }\n uselistorder i64* @gv_0, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 4, 3, 0, 2, 1 }\n uselistorder i64 48, { 1, 0 }\n uselistorder label LBL_16, { 1, 0, 2 }\n uselistorder label LBL_12, { 1, 2, 0, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "strlen_m_ext_handle_4624", "fun_name": "strlen_m_ext_handle", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.be.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i64\n %sv_0.09.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %0 = trunc i64 %arg4 to i32\n %1 = icmp ult i32 %0, 2\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = trunc i64 %3 to i32\n %5 = or i32 %4, 1\n %6 = icmp eq i32 %5, 3\n br i1 %6, label LBL_3, label LBL_4\n LBL_3:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_4:\n %8 = icmp eq i64 %arg2, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_5, label LBL_23\n LBL_5:\n %10 = inttoptr i64 %arg2 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp ne i8 %11, 0\n %13 = icmp slt i8 %11, 0\n %14 = icmp eq i1 %13, false\n %or.cond7 = icmp eq i1 %12, %14\n store i64 0, i64* %sv_0.09.reg2mem\n store i64 %arg2, i64* %sv_1.08.reg2mem\n store i64 %arg2, i64* %sv_1.0.lcssa.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n store i8 %11, i8* %.reg2mem\n br i1 %or.cond7, label LBL_6, label LBL_7\n LBL_6:\n %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem\n %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem\n %15 = add i64 %sv_1.08.reload, 1\n %16 = add i64 %sv_0.09.reload, 1\n %17 = inttoptr i64 %15 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = icmp ne i8 %18, 0\n %20 = icmp slt i8 %18, 0\n %21 = icmp eq i1 %20, false\n %or.cond = icmp eq i1 %19, %21\n store i64 %16, i64* %sv_0.09.reg2mem\n store i64 %15, i64* %sv_1.08.reg2mem\n store i64 %15, i64* %sv_1.0.lcssa.reg2mem\n store i64 %16, i64* %sv_0.0.lcssa.reg2mem\n store i8 %18, i8* %.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_7:\n %.reload = load i8, i8* %.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %22 = icmp eq i8 %.reload, 0\n %23 = icmp eq i1 %22, false\n store i64 %sv_0.0.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %23, label LBL_8, label LBL_23\n LBL_8:\n %24 = ptrtoint i64* %arg1 to i64\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %25 = and i64 %3, 4294967295\n %26 = icmp ult i32 %0, 5\n %27 = icmp eq i32 %0, 5\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.16.reg2mem\n store i64 %sv_1.0.lcssa.reload, i64* %sv_1.15.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n %28 = call i64 @FUNC(i64 %sv_1.15.reload, i64 5)\n %29 = call i64 @FUNC(i64 %24, i64 %sv_1.15.reload, i64 %28, i64 %25, i64* nonnull %sv_2)\n %30 = trunc i64 %29 to i32\n %31 = load i64, i64* %sv_2, align 8\n br i1 %26, label LBL_11, label LBL_10\n LBL_10:\n br i1 %27, label LBL_15, label LBL_22\n LBL_11:\n %32 = icmp sgt i32 %30, 65535\n br i1 %32, label LBL_14, label LBL_12\n LBL_12:\n %33 = add i64 %sv_0.16.reload, 1\n store i64 %33, i64* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_13:\n %34 = add i64 %31, %sv_1.15.reload\n %sv_0.1.be.reload = load i64, i64* %sv_0.1.be.reg2mem\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = icmp eq i8 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 %sv_0.1.be.reload, i64* %sv_0.16.reg2mem\n store i64 %34, i64* %sv_1.15.reg2mem\n store i64 %sv_0.1.be.reload, i64* %rax.0.reg2mem\n br i1 %38, label LBL_9, label LBL_23\n LBL_14:\n %39 = add i64 %sv_0.16.reload, 2\n store i64 %39, i64* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_15:\n %40 = icmp sgt i32 %30, 127\n br i1 %40, label LBL_17, label LBL_16\n LBL_16:\n %41 = add i64 %sv_0.16.reload, 1\n store i64 %41, i64* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_17:\n %42 = icmp sgt i32 %30, 2047\n br i1 %42, label LBL_19, label LBL_18\n LBL_18:\n %43 = add i64 %sv_0.16.reload, 2\n store i64 %43, i64* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_19:\n %44 = icmp sgt i32 %30, 65535\n br i1 %44, label LBL_21, label LBL_20\n LBL_20:\n %45 = add i64 %sv_0.16.reload, 3\n store i64 %45, i64* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_21:\n %46 = add i64 %sv_0.16.reload, 4\n store i64 %46, i64* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_22:\n %47 = add i64 %sv_0.16.reload, 1\n store i64 %47, i64* %sv_0.1.be.reg2mem\n br label LBL_13\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %30, { 2, 1, 0, 3 }\n uselistorder i64 %sv_0.16.reload, { 4, 2, 3, 1, 0, 5, 6 }\n uselistorder i64 %sv_1.15.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %0, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_0.09.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.be.reg2mem, { 5, 4, 3, 2, 1, 7, 0, 6 }\n uselistorder i8 0, { 4, 5, 2, 6, 0, 1, 7, 3 }\n uselistorder i1 false, { 3, 4, 2, 0, 5, 6, 7, 1 }\n uselistorder i64 (i8*)* @smb_panic, { 1, 0 }\n uselistorder label LBL_13, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_rawmidi_output_trigger_17514", "fun_name": "snd_rawmidi_output_trigger", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 0\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %5)\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "is_integer_6298", "fun_name": "is_integer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i16** @__ctype_b_loc()\n %3 = load i16*, i16** %2, align 8\n %4 = ptrtoint i16* %3 to i64\n %5 = trunc i64 %1 to i8\n %6 = mul i64 %1, 2\n %7 = and i64 %6, 510\n %8 = add i64 %7, %4\n %9 = inttoptr i64 %8 to i16*\n %10 = load i16, i16* %9, align 2\n %11 = and i16 %10, 2048\n %12 = icmp eq i16 %11, 0\n %13 = icmp ne i8 %5, 45\n %or.cond.not = icmp eq i1 %13, %12\n %14 = icmp eq i8 %5, 43\n %15 = icmp eq i1 %14, false\n %or.cond2 = icmp eq i1 %15, %or.cond.not\n br i1 %or.cond2, label LBL_5, label LBL_1\n LBL_1:\n %16 = ptrtoint i64* %arg1 to i64\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = add i64 %sv_0.0.reload, 1\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %20, label LBL_6, label LBL_3\n LBL_3:\n %21 = call i16** @__ctype_b_loc()\n %22 = load i16*, i16** %21, align 8\n %23 = ptrtoint i16* %22 to i64\n %24 = load i8, i8* %18, align 1\n %25 = zext i8 %24 to i64\n %26 = mul i64 %25, 2\n %27 = add i64 %26, %23\n %28 = inttoptr i64 %27 to i16*\n %29 = load i16, i16* %28, align 2\n %30 = and i16 %29, 2048\n %31 = icmp eq i16 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %17, i64* %sv_0.0.reg2mem\n br i1 %32, label LBL_2, label LBL_4\n LBL_4:\n %33 = icmp eq i8 %24, 0\n %34 = icmp eq i1 %33, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %34, label LBL_5, label LBL_6\n LBL_5:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8 %5, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SRXAFSCB_CallBack_17623", "fun_name": "SRXAFSCB_CallBack", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 4202512)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = add i64 %arg1, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %arg1, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %arg1, i64 %8, i64 %4)\n %10 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %10\n\n uselistorder i64 %arg1, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "add_to_group_4750", "fun_name": "add_to_group", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %.pre = add i64 %0, 8\n %.pre4 = inttoptr i64 %.pre to i32*\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = load i32, i32* %.pre4, align 4\n %3 = sext i32 %2 to i64\n %4 = mul nsw i64 %3, 24\n %5 = add i64 %0, -24\n %6 = add i64 %5, %4\n %7 = icmp eq i64 %6, 0\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %6 to i8*\n %9 = bitcast i64* %arg2 to i8*\n %10 = call i32 @strncmp(i8* %8, i8* %9, i32 2)\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %6, i64* %rdi.0.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = add i64 %6, 20\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i32 %21, 1\n store i32 %22, i32* %20, align 4\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %23 = load i32, i32* %.pre4, align 4\n %24 = add i32 %23, 1\n store i32 %24, i32* %.pre4, align 4\n %25 = mul i32 %24, 24\n %26 = inttoptr i64 %rdi.0.reload to i64*\n %27 = call i64* @realloc(i64* %26, i32 %25)\n %28 = ptrtoint i64* %27 to i64\n store i64 %28, i64* %arg1, align 8\n %29 = icmp eq i64 %rdi.0.reload, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_7, label LBL_6\n LBL_6:\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %31 = ptrtoint i64* %arg2 to i64\n %32 = load i32, i32* %.pre4, align 4\n %33 = sext i32 %32 to i64\n %34 = mul nsw i64 %33, 24\n %35 = add i64 %rdi.0.reload, -24\n %36 = add i64 %35, %34\n %37 = bitcast i64* %rsi to i16*\n %38 = load i16, i16* %37, align 8\n %39 = inttoptr i64 %36 to i16*\n store i16 %38, i16* %39, align 2\n %40 = add i64 %31, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = add i64 %36, 8\n %44 = inttoptr i64 %43 to i64*\n store i64 %42, i64* %44, align 8\n %45 = trunc i64 %arg3 to i32\n %46 = add i64 %36, 16\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = add i64 %36, 20\n %49 = inttoptr i64 %48 to i32*\n store i32 1, i32* %49, align 4\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rdi.0.reload, { 2, 0, 1 }\n uselistorder i64 %6, { 0, 2, 1, 5, 4, 3 }\n uselistorder i64 %0, { 1, 3, 0, 2 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aio_write_done_14911", "fun_name": "aio_write_done", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %4 = trunc i64 %arg2 to i32\n %5 = bitcast i64* %sv_0 to %timeval*\n %6 = call i32 @gettimeofday(%timeval* nonnull %5, %timezone* null)\n %7 = icmp slt i32 %4, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = sub i32 0, %4\n %10 = call i8* @strerror(i32 %9)\n %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* %10)\n %12 = sext i32 %11 to i64\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %13 = add i64 %arg1, 32\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = icmp eq i32 %15, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = ptrtoint i64* %sv_0 to i64\n %20 = add i64 %arg1, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = load i64, i64* %sv_0, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %3, i64 %19, i64 %22, i64 %2, i64 %1)\n store i64 %24, i64* %sv_0, align 8\n %25 = add i64 %arg1, 36\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %27 to i64\n %29 = add i64 %arg1, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = add i64 %arg1, 24\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 %34, i64 %31, i64 %31, i64 1, i64 %28)\n %36 = add i64 %arg1, 40\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %40)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 3, 4, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 4, 3, 2, 5, 6 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unassigned_mem_readl_18928", "fun_name": "unassigned_mem_readl", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %1 = call i64 @FUNC(i64 %arg2, i64 0, i64 0, i64 0, i64 4)\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_cmsReadWCharArray_10216", "fun_name": "_cmsReadWCharArray", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = icmp eq i32* %arg1, null\n %1 = icmp eq i1 %0, false\n %2 = zext i1 %1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %arg2 to i32\n %5 = icmp eq i32 %4, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg3 to i64\n %7 = bitcast i32* %sv_0 to i64*\n %8 = icmp eq i64* %arg3, null\n %9 = ptrtoint i32* %arg1 to i64\n %10 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %9, i64* nonnull %7)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_7\n LBL_4:\n %15 = load i32, i32* %sv_0, align 4\n %16 = mul i64 %indvars.iv.reload, 4\n %17 = add i64 %16, %6\n %18 = urem i32 %15, 65536\n %19 = inttoptr i64 %17 to i32*\n store i32 %18, i32* %19, align 4\n br label LBL_6\n LBL_5:\n %20 = call i64 @FUNC(i64 %9, i64* null)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_6, label LBL_7\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %24 = icmp ult i64 %indvars.iv.next, %10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %24, label LBL_2, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64*)* @_cmsReadUInt16Number, { 1, 0 }\n uselistorder i64* null, { 1, 0, 2 }\n uselistorder i64 1, { 0, 3, 1, 2 }\n uselistorder label LBL_7, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mpfree_4049", "fun_name": "mpfree", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = icmp eq i64 %arg1, 0\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = icmp slt i32 %1, 10\n br i1 %3, label LBL_2, label LBL_4\n LBL_2:\n %4 = sext i32 %1 to i64\n store i64 %4, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = mul i64 %indvars.iv.reload, 8\n %6 = add i64 %5, %arg1\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n call void @free(i64* %9)\n store i64 0, i64* %7, align 8\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %10 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %10)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setHeadersFromCache_13527", "fun_name": "setHeadersFromCache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i8* @strstr(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %2 = icmp eq i8* %1, null\n %3 = icmp eq i1 %2, false\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = ptrtoint i8* %1 to i64\n %6 = sub i64 %5, %arg2\n %7 = call i64 @FUNC(i64 %arg2, i64 %6)\n %8 = add i64 %5, 2\n %9 = call i64 @FUNC(i64 %7, i64* nonnull @gv_1, i64* nonnull %sv_2)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %storemerge1.reg2mem\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_2, label LBL_6\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %12 = call i64 @FUNC(i64 %storemerge1.reload, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_1)\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0))\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = load i64, i64* %sv_1, align 8\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = inttoptr i64 %12 to i32*\n store i32 %18, i32* %19, align 4\n br label LBL_5\n LBL_4:\n %20 = call i64 @FUNC(i64 %4, i64 %12, i64 %16)\n br label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 0, i64* nonnull @gv_1, i64* nonnull %sv_2)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %21, i64* %storemerge1.reg2mem\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_2, label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %12, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i8* %1, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64*, i64*)* @stok, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 %arg2, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "core_rtas_register_types_15857", "fun_name": "core_rtas_register_types", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 4198694)\n %1 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 4198701)\n %2 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 4198708)\n %3 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 4198715)\n %4 = call i64 @FUNC(i64 5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 4198722)\n %5 = call i64 @FUNC(i64 6, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), i64 4198729)\n %6 = call i64 @FUNC(i64 7, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i64 4198736)\n %7 = call i64 @FUNC(i64 8, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_7, i64 0, i64 0), i64 4198743)\n %8 = call i64 @FUNC(i64 9, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_8, i64 0, i64 0), i64 4198750)\n %9 = call i64 @FUNC(i64 10, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_9, i64 0, i64 0), i64 4198757)\n ret i64 %9\n\n uselistorder i64 (i64, i8*, i64)* @spapr_rtas_register, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qdict_do_flatten_3328", "fun_name": "qdict_do_flatten", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %rcx.2.be.reg2mem = alloca i64\n %sv_0.0.be.reg2mem = alloca i64\n %rcx.11.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8\n %sv_2.0.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %rcx.26.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %sv_0.0.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_11\n LBL_1:\n %6 = icmp eq i64 %arg3, 0\n store i64 %3, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %rcx.26.reload = load i64, i64* %rcx.26.reg2mem\n %7 = call i64 @FUNC(i64 %arg1, i64 %sv_0.02.reload)\n %8 = call i64 @FUNC(i64 %sv_0.02.reload)\n store i64 0, i64* %sv_2.0.reg2mem\n store i8 0, i8* %sv_1.0.reg2mem\n store i64 %rcx.26.reload, i64* %rcx.0.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %8)\n %10 = inttoptr i64 %sv_0.02.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %11, i64 %rcx.26.reload, i64 %2, i64 %1)\n %13 = call i64 @FUNC(i64 %arg2, i64 %12, i64 %8)\n store i64 %12, i64* %sv_2.0.reg2mem\n store i8 1, i8* %sv_1.0.reg2mem\n store i64 %12, i64* %rcx.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %14 = call i64 @FUNC(i64 %8)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 1\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_8, label LBL_5\n LBL_5:\n %18 = icmp eq i64 %sv_2.0.reload, 0\n %19 = icmp eq i1 %18, false\n store i64 %sv_2.0.reload, i64* %storemerge.reg2mem\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = inttoptr i64 %sv_0.02.reload to i64*\n %21 = load i64, i64* %20, align 8\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %22 = call i64 @FUNC(i64 %8)\n %23 = call i64 @FUNC(i64 %22, i64 %arg2, i64 %storemerge.reload)\n %24 = call i64 @FUNC(i64 %sv_2.0.reload)\n store i64 %22, i64* %rcx.11.reg2mem\n br label LBL_9\n LBL_8:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %25 = call i64 @FUNC(i64 %sv_2.0.reload)\n %26 = icmp eq i8 %sv_1.0.reload, 0\n store i64 %rcx.0.reload, i64* %rcx.11.reg2mem\n store i64 %7, i64* %sv_0.0.be.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.2.be.reg2mem\n br i1 %26, label LBL_10, label LBL_9\n LBL_9:\n %rcx.11.reload = load i64, i64* %rcx.11.reg2mem\n %27 = inttoptr i64 %sv_0.02.reload to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %arg1, i64 %28)\n %30 = call i64 @FUNC(i64 %arg1)\n store i64 %30, i64* %sv_0.0.be.reg2mem\n store i64 %rcx.11.reload, i64* %rcx.2.be.reg2mem\n br label LBL_10\n LBL_10:\n %rcx.2.be.reload = load i64, i64* %rcx.2.be.reg2mem\n %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem\n %31 = icmp eq i64 %sv_0.0.be.reload, 0\n %32 = icmp eq i1 %31, false\n store i64 %rcx.2.be.reload, i64* %rcx.26.reg2mem\n store i64 %sv_0.0.be.reload, i64* %sv_0.02.reg2mem\n store i64 %sv_0.0.be.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %32, label LBL_2, label LBL_11\n LBL_11:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i64 %sv_0.0.be.reload, { 0, 2, 1 }\n uselistorder i64 %sv_2.0.reload, { 1, 3, 0, 2 }\n uselistorder i64 %8, { 2, 3, 0, 1 }\n uselistorder i64 %rcx.26.reload, { 1, 0 }\n uselistorder i64 %sv_0.02.reload, { 4, 3, 0, 1, 2 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %rcx.26.reg2mem, { 1, 0 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.be.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.2.be.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i8 0, { 1, 0, 2 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i64 (i64)* @qdict_first, { 1, 0 }\n uselistorder i32 1, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 0, 3, 2, 1 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipc_lock_9866", "fun_name": "ipc_lock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i32*\n %sv_0.0.reg2mem = alloca i32*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = inttoptr i64 %3 to i32*\n %5 = call i64 @FUNC(i64 %3)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i32* %4, i32** %sv_0.0.reg2mem\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = add i64 %3, 4\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i32, i32* %4, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32* %4, i32** %storemerge.in.reg2mem\n br i1 %13, label LBL_2, label LBL_4\n LBL_2:\n %14 = call i64 @FUNC(i64 %9)\n %15 = call i64 @FUNC(i64 4294967274)\n %16 = inttoptr i64 %15 to i32*\n store i32* %16, i32** %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %17 = call i64 @FUNC()\n store i32* %sv_0.0.reload, i32** %storemerge.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.in.reload = load i32*, i32** %storemerge.in.reg2mem\n %storemerge = ptrtoint i32* %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32* %4, { 0, 2, 1 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i32** %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SFDGetSpiros_12751", "fun_name": "SFDGetSpiros", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %.reg2mem4 = alloca i32\n %rsi.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = inttoptr i64 %arg1 to %_IO_FILE*\n %7 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i64* nonnull %sv_1, i64* nonnull %sv_0)\n %8 = icmp eq i32 %7, 3\n %9 = icmp eq i64* %arg2, null\n br i1 %8, label LBL_1, label LBL_7\n LBL_1:\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %0, 12\n %13 = inttoptr i64 %12 to i32*\n br label LBL_2\n LBL_2:\n br i1 %9, label LBL_3, label LBL_4\n LBL_3:\n %14 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i64* nonnull %sv_1, i64* nonnull %sv_0)\n %15 = icmp eq i32 %14, 3\n br i1 %15, label LBL_2, label LBL_7\n LBL_4:\n %16 = load i32, i32* %11, align 4\n %17 = load i32, i32* %13, align 4\n %18 = icmp ult i32 %16, %17\n store i32 %16, i32* %.reg2mem\n store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %rsi.0.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = add i32 %17, 10\n store i32 %19, i32* %13, align 4\n %20 = sext i32 %19 to i64\n %21 = mul nsw i64 %20, 24\n %22 = trunc i64 %21 to i32\n %23 = call i64* @realloc(i64* bitcast ([11 x i8]* @gv_0 to i64*), i32 %22)\n %24 = ptrtoint i64* %23 to i64\n store i64 %24, i64* %arg2, align 8\n %.pre = load i32, i32* %11, align 4\n store i32 %.pre, i32* %.reg2mem\n store i64 %21, i64* %rsi.0.reg2mem\n br label LBL_6\n LBL_6:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %25 = add i32 %.reload, 1\n store i32 %25, i32* %11, align 4\n %26 = sext i32 %.reload to i64\n %27 = mul nsw i64 %26, 24\n %28 = add i64 %27, %rsi.0.reload\n %29 = load i64, i64* %sv_2, align 8\n %30 = load i64, i64* %sv_1, align 8\n %31 = inttoptr i64 %28 to i64*\n store i64 %29, i64* %31, align 8\n %32 = add i64 %28, 8\n %33 = inttoptr i64 %32 to i64*\n store i64 %30, i64* %33, align 8\n %34 = load i64, i64* %sv_0, align 8\n %35 = add i64 %28, 16\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n br label LBL_3\n LBL_7:\n br i1 %9, label LBL_11, label LBL_8\n LBL_8:\n %37 = add i64 %0, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %0, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp ult i32 %39, %42\n store i32 %39, i32* %.reg2mem4\n store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %rsi.1.reg2mem\n br i1 %43, label LBL_10, label LBL_9\n LBL_9:\n %44 = add i32 %42, 1\n store i32 %44, i32* %41, align 4\n %45 = sext i32 %44 to i64\n %46 = mul nsw i64 %45, 24\n %47 = trunc i64 %46 to i32\n %48 = call i64* @realloc(i64* bitcast ([11 x i8]* @gv_0 to i64*), i32 %47)\n %49 = ptrtoint i64* %48 to i64\n store i64 %49, i64* %arg2, align 8\n %.pre3 = load i32, i32* %38, align 4\n store i32 %.pre3, i32* %.reg2mem4\n store i64 %46, i64* %rsi.1.reg2mem\n br label LBL_10\n LBL_10:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %.reload5 = load i32, i32* %.reg2mem4\n %50 = sext i32 %.reload5 to i64\n %51 = mul nsw i64 %50, 24\n %52 = add i64 %51, %rsi.1.reload\n %53 = inttoptr i64 %52 to i64*\n %54 = call i64* @memset(i64* %53, i32 0, i32 24)\n %55 = load i32, i32* %38, align 4\n %56 = add i32 %55, 1\n store i32 %56, i32* %38, align 4\n %57 = sext i32 %55 to i64\n %58 = mul nsw i64 %57, 24\n %59 = add nsw i64 %58, 16\n %60 = inttoptr i64 %59 to i8*\n store i8 -1, i8* %60, align 8\n br label LBL_11\n LBL_11:\n %61 = call i64 @FUNC(i64 %arg1)\n %62 = trunc i64 %61 to i32\n %63 = icmp eq i32 %62, 69\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_13, label LBL_12\n LBL_12:\n %65 = call i64 @FUNC(i64 %arg1)\n %66 = call i64 @FUNC(i64 %arg1)\n %67 = call i64 @FUNC(i64 %arg1)\n %68 = call i64 @FUNC(i64 %arg1)\n %69 = call i64 @FUNC(i64 %arg1)\n %70 = call i64 @FUNC(i64 %arg1)\n %71 = call i64 @FUNC(i64 %arg1)\n store i64 %71, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_13:\n %72 = call i32 @ungetc(i32 %62, %_IO_FILE* %6)\n %73 = sext i32 %72 to i64\n store i64 %73, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %38, { 2, 1, 0, 3 }\n uselistorder i64 %28, { 2, 1, 0 }\n uselistorder i32* %11, { 1, 0, 2 }\n uselistorder %_IO_FILE* %6, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 2, 1, 0 }\n uselistorder i64* %sv_1, { 2, 1, 0 }\n uselistorder i64* %sv_0, { 2, 1, 0 }\n uselistorder i64 %0, { 2, 3, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* bitcast ([11 x i8]* @gv_0 to i64*), { 1, 0 }\n uselistorder i64 24, { 2, 3, 4, 0, 1 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fscanf, { 1, 0 }\n uselistorder [11 x i8]* @gv_0, { 0, 2, 1 }\n uselistorder i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64)* @nlgetc, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "BN_options_10245", "fun_name": "BN_options", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i32, i32* @gv_0, align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i32 ptrtoint (i32* @gv_1 to i32), i32* @gv_0, align 4\n %5 = call i64 @FUNC(i64* nonnull @gv_2, i64 16, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 64, i64 64, i64 %1)\n br label LBL_2\n LBL_2:\n ret i64 ptrtoint (i64* @gv_2 to i64)\n\n uselistorder i64 64, { 1, 0 }\n uselistorder i64* @gv_2, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i32* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shift_6387", "fun_name": "shift", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.be.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC()\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %arg1, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1)\n %7 = call i64 @FUNC(i64 4, i64 %sv_0.0.reload, i64 %6)\n store i64 %7, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_3:\n %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem\n store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_4:\n %8 = call i64 @FUNC(i64 %arg1, i64 2)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_6, label LBL_5\n LBL_5:\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = call i64 @FUNC(i64 5, i64 %sv_0.0.reload, i64 %11)\n store i64 %12, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_6:\n %13 = call i64 @FUNC(i64 %arg1, i64 3)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %16 = call i64 @FUNC(i64 %arg1)\n %17 = call i64 @FUNC(i64 6, i64 %sv_0.0.reload, i64 %16)\n store i64 %17, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_8:\n %18 = call i64 @FUNC()\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.be.reg2mem, { 3, 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @EXP2, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @jsP_accept, { 2, 1, 0 }\n uselistorder i64 (i64)* @additive, { 3, 2, 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_1.backedge, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__put_task_struct_7199", "fun_name": "__put_task_struct", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %arg1, 4\n %7 = call i64 @FUNC(i64 %6)\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = load i64, i64* @gv_0, align 8\n %11 = icmp eq i64 %10, %arg1\n %12 = zext i1 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %arg1)\n %15 = call i64 @FUNC(i64 %arg1)\n %16 = call i64 @FUNC(i64 %arg1, i64 1)\n %17 = call i64 @FUNC(i64 %arg1)\n %18 = call i64 @FUNC(i64 %arg1)\n %19 = call i64 @FUNC(i64 %arg1)\n %20 = add i64 %arg1, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = call i64 @FUNC(i64 %arg1)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %24, i64* %rax.0.reg2mem\n br i1 %27, label LBL_2, label LBL_1\n LBL_1:\n %28 = call i64 @FUNC(i64 %arg1)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @WARN_ON, { 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 3, 4, 5, 6, 7, 8, 9, 1, 10 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Jsi_ValueFree_8128", "fun_name": "Jsi_ValueFree", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, -1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC()\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %2)\n %9 = call i64 @FUNC(i64 %2, i64 %arg2)\n %10 = call i64 @FUNC(i64 %arg2)\n ret i64 %10\n\n uselistorder i64 %arg2, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "util_remove_4084", "fun_name": "util_remove", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ensure_open_passwd_9452", "fun_name": "ensure_open_passwd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0)\n ret i64 %6\n\n uselistorder i64 (i64)* @pr_auth_setgrent, { 1, 0 }\n uselistorder i64 (i64)* @pr_auth_setpwent, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__btrfs_set_acl_13385", "fun_name": "__btrfs_set_acl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.ph.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_4 = alloca i32*, align 8\n store i32* %arg3, i32** %sv_4, align 8\n %3 = trunc i64 %arg4 to i32\n %sext = mul i64 %arg4, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = icmp eq i32 %3, 1\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %4 to i32\n %7 = icmp eq i32 %6, 2\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %7, label LBL_4, label LBL_12\n LBL_2:\n %8 = icmp eq i32* %arg3, null\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3.0.reg2mem\n br i1 %8, label LBL_6, label LBL_3\n LBL_3:\n %9 = ptrtoint i32* %arg2 to i64\n %10 = bitcast i32** %sv_4 to i64*\n %11 = call i64 @FUNC(i64 %9, i64 %9, i64* nonnull %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3.0.reg2mem\n store i64 %11, i64* %rax.0.shrunk.reg2mem\n br i1 %13, label LBL_6, label LBL_12\n LBL_4:\n %14 = and i64 %1, 4294967295\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i8** %sv_3.0.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = load i32*, i32** %sv_4, align 8\n %20 = icmp eq i32* %19, null\n %. = select i1 %20, i64 0, i64 4294967274\n store i64 %., i64* %rax.0.shrunk.reg2mem\n br label LBL_12\n LBL_6:\n %sv_3.0.reload = load i8*, i8** %sv_3.0.reg2mem\n %21 = load i32*, i32** %sv_4, align 8\n %22 = icmp eq i32* %21, null\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_10, label LBL_7\n LBL_7:\n %23 = and i64 %2, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %sext5 = mul i64 %24, 4294967296\n %25 = ashr exact i64 %sext5, 32\n %26 = call i64 @FUNC(i64 %25, i64 0)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 4294967284, i64* %sv_2.0.ph.reg2mem\n br i1 %28, label LBL_8, label LBL_9\n LBL_8:\n %29 = trunc i64 %24 to i32\n %30 = load i32*, i32** %sv_4, align 8\n %31 = ptrtoint i32* %30 to i64\n %32 = call i64 @FUNC(i64* nonnull @gv_2, i64 %31, i64 %26, i32 %29)\n %33 = trunc i64 %32 to i32\n %34 = icmp slt i32 %33, 0\n store i64 %32, i64* %sv_2.0.ph.reg2mem\n store i64 %24, i64* %sv_1.0.reg2mem\n store i64 %26, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_9, label LBL_10\n LBL_9:\n %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem\n %35 = call i64 @FUNC(i64 %26)\n store i64 %sv_2.0.ph.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_12\n LBL_10:\n %36 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %37 = ptrtoint i8* %sv_3.0.reload to i64\n %38 = ptrtoint i32* %arg2 to i64\n %39 = and i64 %sv_1.0.reload, 4294967295\n %40 = call i64 @FUNC(i64 %36, i64 %38, i64 %37, i64 %sv_0.0.reload, i64 %39, i64 0)\n %41 = trunc i64 %40 to i32\n %42 = call i64 @FUNC(i64 %sv_0.0.reload)\n %43 = icmp eq i32 %41, 0\n %44 = icmp eq i1 %43, false\n store i64 %40, i64* %rax.0.shrunk.reg2mem\n br i1 %44, label LBL_12, label LBL_11\n LBL_11:\n %45 = load i32*, i32** %sv_4, align 8\n %46 = ptrtoint i32* %45 to i64\n %47 = and i64 %4, 4294967295\n %48 = call i64 @FUNC(i64 %38, i64 %47, i64 %46)\n store i64 %40, i64* %rax.0.shrunk.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %40, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %26, { 1, 0, 2, 3 }\n uselistorder i64 %24, { 0, 2, 1 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i32** %sv_4, { 4, 3, 2, 1, 5, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1, 5, 6, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i32* null, { 1, 2, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_12, { 2, 1, 0, 4, 5, 3 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtnl_net_fill_8647", "fun_name": "rtnl_net_fill", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %3, 12\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = trunc i64 %1 to i32\n %15 = zext i32 %7 to i64\n %16 = call i64 @FUNC(i64 %4, i32 %14, i32 %13, i32 %10, i64 4, i64 %15, i64 %2)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 4294967206, i64* %rax.0.reg2mem\n br i1 %18, label LBL_1, label LBL_6\n LBL_1:\n %19 = call i64 @FUNC(i64 %16)\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %3, 16\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %4, i64 1, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_5, label LBL_2\n LBL_2:\n %29 = add i64 %3, 24\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_4, label LBL_3\n LBL_3:\n %33 = add i64 %3, 20\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %4, i64 2, i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_5, label LBL_4\n LBL_4:\n %41 = call i64 @FUNC(i64 %4, i64 %16)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %42 = call i64 @FUNC(i64 %4, i64 %16)\n store i64 4294967206, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %16, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 2, 1, 0, 3, 4 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @nla_put_s32, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 4294967206, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "br_nf_pre_routing_finish_bridge_8656", "fun_name": "br_nf_pre_routing_finish_bridge", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = inttoptr i64 %arg1 to i64*\n store i64 %3, i64* %4, align 8\n %5 = icmp eq i64 %arg1, 0\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %8, i64 %arg1)\n %11 = inttoptr i64 %2 to i64*\n %12 = load i64, i64* %11, align 8\n store i64 %12, i64* %4, align 8\n %13 = call i64 @FUNC(i64 %arg1)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %14 = add i64 %6, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = load i64, i64* %1, align 8\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %arg1, i64 4294967288, i64 %21, i64 8)\n %23 = add i64 %2, 16\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = or i32 %25, 1\n store i32 %26, i32* %24, align 4\n store i64 %arg1, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %27 = call i64 @FUNC(i64 %arg1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 5, 0, 3, 1, 2, 4, 6, 7, 8, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsG_freeobject_6634", "fun_name": "jsG_freeobject", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32\n %0 = icmp eq i64 %arg2, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n br label LBL_2\n LBL_2:\n %2 = add i64 %arg2, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 1\n %6 = icmp eq i1 %5, false\n store i32 %4, i32* %.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = add i64 %arg2, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %arg1, i64 %9)\n %11 = add i64 %arg2, 24\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %arg1, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %arg1, i64 %16, i64 %13)\n %.pre = load i32, i32* %3, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %18 = icmp eq i32 %.reload, 2\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = add i64 %arg2, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %arg1, i64 %22)\n br label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n ret i64 %24\n\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @js_free, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 2, 4, 5, 3, 0, 6 }\n uselistorder i64 %arg1, { 5, 4, 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "impeg2d_get_mb_addr_incr_6173", "fun_name": "impeg2d_get_mb_addr_incr", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.lcssa.reg2mem = alloca i16\n %storemerge2.reg2mem = alloca i16\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 5)\n %4 = trunc i64 %3 to i16\n %5 = icmp eq i16 %4, 31\n %6 = icmp eq i1 %5, false\n store i16 0, i16* %storemerge.lcssa.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n store i16 0, i16* %storemerge2.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %2, i64 5)\n %11 = add i16 %storemerge2.reload, 33\n %12 = call i64 @FUNC(i64 %2, i64 5)\n %13 = trunc i64 %12 to i16\n %14 = icmp eq i16 %13, 31\n %15 = icmp eq i1 %14, false\n store i16 %11, i16* %storemerge2.reg2mem\n store i16 %11, i16* %storemerge.lcssa.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %storemerge2.reload = load i16, i16* %storemerge2.reg2mem\n %16 = load i32, i32* %9, align 4\n %17 = icmp ugt i32 %16, %7\n store i16 %storemerge2.reload, i16* %storemerge.lcssa.reg2mem\n br i1 %17, label LBL_2, label LBL_4\n LBL_4:\n %storemerge.lcssa.reload = load i16, i16* %storemerge.lcssa.reg2mem\n %18 = call i64 @FUNC(i64 %2, i64* nonnull @gv_0, i64 5)\n %19 = trunc i64 %18 to i16\n %20 = add i16 %storemerge.lcssa.reload, 1\n %21 = add i16 %20, %19\n %22 = zext i16 %21 to i64\n ret i64 %22\n\n uselistorder i64 %2, { 0, 4, 3, 2, 1 }\n uselistorder i16 0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i16 31, { 1, 0 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 1, 0 }\n uselistorder i64 5, { 1, 2, 3, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "textsearch_prepare_18429", "fun_name": "textsearch_prepare", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n %3 = urem i64 %arg5, 2\n %4 = icmp eq i64 %3, 0\n %or.cond = or i1 %4, %2\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)\n %6 = call i64 @FUNC(i64 %arg1)\n store i64 %6, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %7 = icmp eq i64 %sv_0.0.reload, 0\n store i64 -2, i64* %storemerge.reg2mem\n br i1 %7, label LBL_6, label LBL_3\n LBL_3:\n %8 = icmp ult i64 %arg2, -4095\n br i1 %8, label LBL_4, label LBL_5\n LBL_4:\n %9 = inttoptr i64 %arg2 to i64*\n store i64 %sv_0.0.reload, i64* %9, align 8\n store i64 %arg2, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %sext3 = mul i64 %arg2, 4294967296\n %phitmp = ashr exact i64 %sext3, 32\n %10 = add i64 %sv_0.0.reload, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @lookup_ts_algo, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 3, 2 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qio_channel_socket_finalize_3263", "fun_name": "qio_channel_socket_finalize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, -1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_5, label LBL_1\n LBL_1:\n %4 = urem i32 %2, 2\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n store i64 0, i64* %sv_0, align 8\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0)\n %8 = load i64, i64* %sv_0, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %8)\n store i64 0, i64* %sv_0, align 8\n br label LBL_4\n LBL_4:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = call i32 @close(i32 %2)\n %13 = bitcast i64* %arg1 to i32*\n store i32 -1, i32* %13, align 4\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "moxie_cpu_initfn_2728", "fun_name": "moxie_cpu_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = load i32, i32* @gv_0, align 4\n %8 = zext i32 %7 to i64\n %9 = icmp eq i32 %7, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n store i32 1, i32* @gv_0, align 4\n %11 = call i64 @FUNC()\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mobi_search_links_kf7_12538", "fun_name": "mobi_search_links_kf7", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.3.be.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.116.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.023.reg2mem = alloca i64\n %sv_0.326.reg2mem = alloca i64\n %sv_2.128.reg2mem = alloca i8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n store i64 0, i64* %arg1, align 8\n %6 = add i64 %3, 16\n %7 = inttoptr i64 %6 to i8*\n store i8 0, i8* %7, align 1\n %8 = icmp ne i64* %arg2, null\n %9 = icmp eq i8* %arg3, null\n %10 = icmp eq i1 %9, false\n %or.cond8 = icmp eq i1 %8, %10\n br i1 %or.cond8, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64* nonnull @gv_1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_4:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0))\n %14 = sext i32 %13 to i64\n %15 = call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0))\n %16 = sext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %14, i64 %16)\n %18 = add i64 %17, %12\n %19 = ptrtoint i8* %arg3 to i64\n %20 = icmp ugt i64 %18, %19\n %21 = bitcast i8* %arg3 to i64*\n %22 = icmp ult i64* %21, %arg2\n %or.cond38 = or i1 %22, %20\n store i8 60, i8* %sv_2.128.reg2mem\n store i64 %12, i64* %sv_0.326.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond38, label LBL_24, label LBL_5\n LBL_5:\n %sv_0.326.reload = load i64, i64* %sv_0.326.reg2mem\n %sv_2.128.reload = load i8, i8* %sv_2.128.reg2mem\n %23 = inttoptr i64 %sv_0.326.reload to i8*\n %24 = load i8, i8* %23, align 1\n %25 = icmp ne i8 %24, 60\n %26 = icmp eq i8 %24, 62\n %27 = icmp eq i1 %26, false\n %or.cond10 = icmp eq i1 %25, %27\n %spec.select14 = select i1 %or.cond10, i8 %sv_2.128.reload, i8 %24\n %28 = add i64 %sv_0.326.reload, %17\n %29 = icmp ugt i64 %28, %19\n br i1 %29, label LBL_22, label LBL_6\n LBL_6:\n %30 = inttoptr i64 %sv_0.326.reload to i64*\n %31 = call i32 @memcmp(i64* %30, i64* bitcast ([9 x i8]* @gv_3 to i64*), i32 %13)\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %33 = call i32 @memcmp(i64* %30, i64* bitcast ([10 x i8]* @gv_4 to i64*), i32 %15)\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_22, label LBL_8\n LBL_8:\n %36 = icmp eq i8 %spec.select14, 60\n store i64 %28, i64* %sv_0.3.be.reg2mem\n br i1 %36, label LBL_9, label LBL_23\n LBL_9:\n %37 = icmp ult i64 %sv_0.326.reload, %12\n store i64 %sv_0.326.reload, i64* %sv_0.023.reg2mem\n store i64 %sv_0.326.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %37, label LBL_12, label LBL_11\n LBL_10:\n %38 = add i64 %sv_0.023.reload, -1\n %39 = icmp ult i64 %38, %12\n store i64 %38, i64* %sv_0.023.reg2mem\n store i64 %38, i64* %sv_0.0.lcssa.reg2mem\n br i1 %39, label LBL_12, label LBL_11\n LBL_11:\n %sv_0.023.reload = load i64, i64* %sv_0.023.reg2mem\n %40 = call i16** @__ctype_b_loc()\n %41 = load i16*, i16** %40, align 8\n %42 = ptrtoint i16* %41 to i64\n %43 = inttoptr i64 %sv_0.023.reload to i8*\n %44 = load i8, i8* %43, align 1\n %45 = zext i8 %44 to i64\n %46 = mul i64 %45, 2\n %47 = add i64 %46, %42\n %48 = inttoptr i64 %47 to i16*\n %49 = load i16, i16* %48, align 2\n %50 = and i16 %49, 8192\n %51 = icmp eq i16 %50, 0\n %52 = icmp eq i8 %44, 60\n %53 = icmp eq i1 %52, false\n %or.cond12 = icmp eq i1 %53, %51\n store i64 %sv_0.023.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %or.cond12, label LBL_10, label LBL_12\n LBL_12:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %54 = add i64 %sv_0.0.lcssa.reload, 1\n store i64 %54, i64* %arg1, align 8\n %55 = icmp ugt i64 %54, %19\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %54, i64* %sv_0.116.reg2mem\n store i64 %54, i64* %sv_0.1.lcssa.reg2mem\n store i32 0, i32* %sv_1.0.lcssa.reg2mem\n br i1 %55, label LBL_19, label LBL_14\n LBL_13:\n %56 = add i64 %sv_0.116.reload, 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %57 = add i64 %indvars.iv.reload, %6\n %58 = inttoptr i64 %57 to i8*\n store i8 %64, i8* %58, align 1\n %59 = icmp ugt i64 %56, %19\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %56, i64* %sv_0.116.reg2mem\n br i1 %59, label LBL_17, label LBL_14\n LBL_14:\n %sv_0.116.reload = load i64, i64* %sv_0.116.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %60 = call i16** @__ctype_b_loc()\n %61 = load i16*, i16** %60, align 8\n %62 = ptrtoint i16* %61 to i64\n %63 = inttoptr i64 %sv_0.116.reload to i8*\n %64 = load i8, i8* %63, align 1\n %65 = zext i8 %64 to i64\n %66 = mul i64 %65, 2\n %67 = add i64 %66, %62\n %68 = inttoptr i64 %67 to i16*\n %69 = load i16, i16* %68, align 2\n %70 = and i16 %69, 8192\n %71 = icmp eq i16 %70, 0\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_14.LBL_19_crit_edge, label LBL_15\n LBL_15:\n %73 = icmp ne i8 %64, 62\n %74 = icmp ult i64 %indvars.iv.reload, 256\n %or.cond = icmp eq i1 %74, %73\n br i1 %or.cond, label LBL_13, label LBL_15.LBL_19_crit_edge\n LBL_16:\n %75 = trunc i64 %indvars.iv.reload to i32\n store i64 %sv_0.116.reload, i64* %sv_0.1.lcssa.reg2mem\n store i32 %75, i32* %sv_1.0.lcssa.reg2mem\n br label LBL_19\n LBL_17:\n %76 = trunc i64 %indvars.iv.next to i32\n store i64 %56, i64* %sv_0.1.lcssa.reg2mem\n store i32 %76, i32* %sv_1.0.lcssa.reg2mem\n br label LBL_19\n LBL_18:\n %77 = trunc i64 %indvars.iv.reload to i32\n store i64 %sv_0.116.reload, i64* %sv_0.1.lcssa.reg2mem\n store i32 %77, i32* %sv_1.0.lcssa.reg2mem\n br label LBL_19\n LBL_19:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %78 = add i64 %sv_0.1.lcssa.reload, -1\n %79 = inttoptr i64 %78 to i8*\n %80 = load i8, i8* %79, align 1\n %81 = icmp eq i8 %80, 47\n %82 = icmp eq i1 %81, false\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.reg2mem\n br i1 %82, label LBL_21, label LBL_20\n LBL_20:\n %83 = inttoptr i64 %sv_0.1.lcssa.reload to i8*\n %84 = load i8, i8* %83, align 1\n %85 = icmp eq i8 %84, 62\n %86 = icmp eq i1 %85, false\n %spec.select = select i1 %86, i64 %sv_0.1.lcssa.reload, i64 %78\n %not. = icmp ne i1 %86, true\n %87 = sext i1 %not. to i32\n %spec.select13 = add i32 %sv_1.0.lcssa.reload, %87\n store i64 %spec.select, i64* %sv_0.2.reg2mem\n store i32 %spec.select13, i32* %sv_1.1.reg2mem\n br label LBL_21\n LBL_21:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n store i64 %sv_0.2.reload, i64* %5, align 8\n %88 = sext i32 %sv_1.1.reload to i64\n %89 = add i64 %6, %88\n %90 = inttoptr i64 %89 to i8*\n store i8 0, i8* %90, align 1\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_22:\n %91 = add i64 %sv_0.326.reload, 1\n store i64 %91, i64* %sv_0.3.be.reg2mem\n br label LBL_23\n LBL_23:\n %sv_0.3.be.reload = load i64, i64* %sv_0.3.be.reg2mem\n %92 = icmp ugt i64 %sv_0.3.be.reload, %19\n store i8 %spec.select14, i8* %sv_2.128.reg2mem\n store i64 %sv_0.3.be.reload, i64* %sv_0.326.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %92, label LBL_24, label LBL_5\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.3.be.reload, { 1, 0 }\n uselistorder i64 %sv_0.1.lcssa.reload, { 1, 3, 0, 2 }\n uselistorder i32 %sv_1.0.lcssa.reload, { 1, 0 }\n uselistorder i8 %64, { 1, 2, 0 }\n uselistorder i64 %indvars.iv.reload, { 4, 3, 1, 0, 2 }\n uselistorder i64 %indvars.iv.next, { 1, 0 }\n uselistorder i64 %sv_0.326.reload, { 4, 0, 1, 6, 2, 5, 3 }\n uselistorder i64 %19, { 3, 1, 0, 2, 4 }\n uselistorder i64 %12, { 3, 2, 0, 1 }\n uselistorder i8* %sv_2.128.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.326.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.023.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.116.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %sv_0.3.be.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 5, 3 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder i8 62, { 2, 1, 0 }\n uselistorder i8 60, { 1, 3, 2, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 1, { 3, 2, 4, 5, 1, 0 }\n uselistorder i64 (i8*, i64*)* @debug_print, { 1, 0 }\n uselistorder i8* %arg3, { 0, 2, 1 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder i64* %arg1, { 0, 1, 3, 2 }\n uselistorder label LBL_24, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "select_soundhw_10188", "fun_name": "select_soundhw", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa16.in.reg2mem = alloca i8*\n %rcx.3.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rsi.1.reg2mem = alloca i64\n %rdx.2.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %.reg2mem52 = alloca i8*\n %rdx.0.reg2mem = alloca i64\n %storemerge618.reg2mem = alloca i8**\n %.reg2mem50 = alloca i8*\n %storemerge7.reg2mem = alloca i64\n %sv_0.123.reg2mem = alloca i32\n %rcx.424.reg2mem = alloca i64\n %rdx.325.reg2mem = alloca i64\n %storemerge426.reg2mem = alloca i64\n %.reg2mem48 = alloca i8*\n %storemerge331.reg2mem = alloca i8**\n %storemerge17.reg2mem = alloca i8**\n %.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = load i32, i32* inttoptr (i64 4210920 to i32*), align 8\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = call i32 @puts(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0))\n %9 = load i8*, i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), align 8\n %10 = icmp eq i8* %9, null\n %11 = icmp eq i1 %10, false\n store i8* %9, i8** %.reg2mem\n store i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), i8*** %storemerge17.reg2mem\n br i1 %11, label LBL_3, label LBL_4\n LBL_3:\n %storemerge17.reload = load i8**, i8*** %storemerge17.reg2mem\n %.reload = load i8*, i8** %.reg2mem\n %12 = ptrtoint i8** %storemerge17.reload to i64\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i8*\n %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i8* %.reload, i8* %16)\n %18 = add i64 %12, 24\n %19 = inttoptr i64 %18 to i8**\n %20 = load i8*, i8** %19, align 8\n %21 = icmp eq i8* %20, null\n %22 = icmp eq i1 %21, false\n store i8* %20, i8** %.reg2mem\n store i8** %19, i8*** %storemerge17.reg2mem\n br i1 %22, label LBL_3, label LBL_4\n LBL_4:\n %23 = call i32 @puts(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_6\n LBL_5:\n %24 = call i32 @puts(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %25 = call i64 @FUNC(i64 %arg1)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = zext i1 %27 to i32\n call void @exit(i32 %28)\n unreachable\n LBL_7:\n %29 = inttoptr i64 %arg1 to i8*\n %30 = call i32 @strcmp(i8* %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0))\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %33 = load i8*, i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), align 8\n %34 = icmp eq i8* %33, null\n %35 = icmp eq i1 %34, false\n store i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), i8*** %storemerge331.reg2mem\n store i8* %33, i8** %.lcssa16.in.reg2mem\n br i1 %35, label LBL_11, label LBL_27\n LBL_9:\n %36 = load i8, i8* %29, align 1\n %37 = icmp eq i8 %36, 0\n %38 = icmp eq i1 %37, false\n store i8* %29, i8** %.reg2mem48\n store i64 %arg1, i64* %storemerge426.reg2mem\n store i32 0, i32* %sv_0.123.reg2mem\n br i1 %38, label LBL_12, label LBL_10\n LBL_10:\n %39 = zext i8 %36 to i64\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_11:\n %storemerge331.reload = load i8**, i8*** %storemerge331.reg2mem\n %40 = ptrtoint i8** %storemerge331.reload to i64\n %41 = add i64 %40, 16\n %42 = inttoptr i64 %41 to i32*\n store i32 1, i32* %42, align 4\n %43 = add i64 %40, 24\n %44 = inttoptr i64 %43 to i8**\n %45 = load i8*, i8** %44, align 8\n %46 = icmp eq i8* %45, null\n %47 = icmp eq i1 %46, false\n store i8** %44, i8*** %storemerge331.reg2mem\n store i8* %45, i8** %.lcssa16.in.reg2mem\n br i1 %47, label LBL_11, label LBL_27\n LBL_12:\n %sv_0.123.reload = load i32, i32* %sv_0.123.reg2mem\n %rcx.424.reload = load i64, i64* %rcx.424.reg2mem\n %rdx.325.reload = load i64, i64* %rdx.325.reg2mem\n %storemerge426.reload = load i64, i64* %storemerge426.reg2mem\n %.reload49 = load i8*, i8** %.reg2mem48\n %48 = call i8* @strchr(i8* %.reload49, i32 44)\n %49 = icmp eq i8* %48, null\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_14, label LBL_13\n LBL_13:\n %51 = call i32 @strlen(i8* %.reload49)\n %52 = sext i32 %51 to i64\n store i64 %52, i64* %storemerge7.reg2mem\n br label LBL_15\n LBL_14:\n %53 = ptrtoint i8* %48 to i64\n %54 = sub i64 %53, %storemerge426.reload\n store i64 %54, i64* %storemerge7.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %55 = trunc i64 %storemerge7.reload to i32\n %56 = load i8*, i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), align 8\n %57 = icmp eq i8* %56, null\n %58 = icmp eq i1 %57, false\n store i8* %56, i8** %.reg2mem52\n store i64 %rcx.424.reload, i64* %rcx.1.reg2mem\n store i64 %rdx.325.reload, i64* %rdx.2.reg2mem\n store i64 44, i64* %rsi.1.reg2mem\n br i1 %58, label LBL_16, label LBL_21\n LBL_16:\n %sext8 = mul i64 %storemerge7.reload, 4294967296\n %59 = ashr exact i64 %sext8, 32\n store i8* %56, i8** %.reg2mem50\n store i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), i8*** %storemerge618.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge618.reload = load i8**, i8*** %storemerge618.reg2mem\n %.reload51 = load i8*, i8** %.reg2mem50\n %60 = call i32 @strncmp(i8* %.reload51, i8* %.reload49, i32 %55)\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n store i64 %59, i64* %rdx.0.reg2mem\n br i1 %62, label LBL_20, label LBL_18\n LBL_18:\n %63 = load i8*, i8** %storemerge618.reload, align 8\n %64 = ptrtoint i8* %63 to i64\n %65 = add i64 %59, %64\n %66 = inttoptr i64 %65 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = icmp eq i8 %67, 0\n %69 = icmp eq i1 %68, false\n store i64 %64, i64* %rdx.0.reg2mem\n br i1 %69, label LBL_20, label LBL_19\n LBL_19:\n %70 = ptrtoint i8** %storemerge618.reload to i64\n %71 = add i64 %70, 16\n %72 = inttoptr i64 %71 to i32*\n store i32 1, i32* %72, align 4\n %.pre = load i8*, i8** %storemerge618.reload, align 8\n store i8* %.pre, i8** %.reg2mem52\n store i64 %storemerge426.reload, i64* %rcx.1.reg2mem\n store i64 %64, i64* %rdx.2.reg2mem\n store i64 %storemerge426.reload, i64* %rsi.1.reg2mem\n br label LBL_21\n LBL_20:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %73 = ptrtoint i8** %storemerge618.reload to i64\n %74 = add i64 %73, 24\n %75 = inttoptr i64 %74 to i8**\n %76 = load i8*, i8** %75, align 8\n %77 = icmp eq i8* %76, null\n %78 = icmp eq i1 %77, false\n store i8* %76, i8** %.reg2mem50\n store i8** %75, i8*** %storemerge618.reg2mem\n store i8* %76, i8** %.reg2mem52\n store i64 %storemerge426.reload, i64* %rcx.1.reg2mem\n store i64 %rdx.0.reload, i64* %rdx.2.reg2mem\n store i64 %storemerge426.reload, i64* %rsi.1.reg2mem\n br i1 %78, label LBL_17, label LBL_21\n LBL_21:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %.reload53 = load i8*, i8** %.reg2mem52\n %79 = icmp eq i8* %.reload53, null\n %80 = icmp eq i1 %79, false\n store i32 %sv_0.123.reload, i32* %sv_0.0.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.3.reg2mem\n br i1 %80, label LBL_25, label LBL_22\n LBL_22:\n %81 = icmp ult i32 %55, 81\n br i1 %81, label LBL_24, label LBL_23\n LBL_23:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %rdx.2.reload = load i64, i64* %rdx.2.reg2mem\n %82 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_6, i64 0, i64 0), i64 %rsi.1.reload, i64 %rdx.2.reload, i64 %rcx.1.reload, i64 %2, i64 %1)\n store i32 1, i32* %sv_0.0.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.3.reg2mem\n br label LBL_25\n LBL_24:\n %83 = and i64 %storemerge7.reload, 4294967295\n %84 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_7, i64 0, i64 0), i64 %83, i64 %storemerge426.reload, i64 %83, i64 %2, i64 %1)\n store i32 1, i32* %sv_0.0.reg2mem\n store i64 %83, i64* %rcx.3.reg2mem\n br label LBL_25\n LBL_25:\n %rcx.3.reload = load i64, i64* %rcx.3.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %85 = zext i1 %50 to i64\n %sext = mul i64 %storemerge7.reload, 4294967296\n %86 = ashr exact i64 %sext, 32\n %87 = add i64 %storemerge426.reload, %85\n %88 = add i64 %87, %86\n %89 = inttoptr i64 %88 to i8*\n %90 = load i8, i8* %89, align 1\n %91 = icmp eq i8 %90, 0\n %92 = icmp eq i1 %91, false\n store i8* %89, i8** %.reg2mem48\n store i64 %88, i64* %storemerge426.reg2mem\n store i64 %85, i64* %rdx.325.reg2mem\n store i64 %rcx.3.reload, i64* %rcx.424.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.123.reg2mem\n br i1 %92, label LBL_12, label LBL_26\n LBL_26:\n %93 = zext i8 %90 to i64\n %94 = icmp eq i32 %sv_0.0.reload, 0\n %95 = icmp eq i1 %94, false\n store i64 %93, i64* %rax.0.reg2mem\n br i1 %95, label LBL_1, label LBL_28\n LBL_27:\n %.lcssa16.in.reload = load i8*, i8** %.lcssa16.in.reg2mem\n %.lcssa16 = ptrtoint i8* %.lcssa16.in.reload to i64\n store i64 %.lcssa16, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_28:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rcx.1.reload, { 0, 2, 1 }\n uselistorder i8** %storemerge618.reload, { 1, 3, 2, 0 }\n uselistorder i64 %59, { 1, 0 }\n uselistorder i8* %56, { 1, 0, 2 }\n uselistorder i64 %storemerge7.reload, { 3, 1, 2, 0 }\n uselistorder i8* %48, { 1, 0 }\n uselistorder i8* %.reload49, { 2, 0, 1 }\n uselistorder i64 %storemerge426.reload, { 6, 5, 0, 2, 1, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i8** %.reg2mem, { 2, 0, 1 }\n uselistorder i8*** %storemerge17.reg2mem, { 2, 0, 1 }\n uselistorder i8*** %storemerge331.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem48, { 2, 0, 1 }\n uselistorder i64* %storemerge426.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdx.325.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.424.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.123.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem50, { 1, 0, 2 }\n uselistorder i8*** %storemerge618.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem52, { 0, 1, 3, 2 }\n uselistorder i64* %rcx.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rdx.2.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rsi.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rcx.3.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i8 0, { 3, 2, 0, 4, 1 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 0, 1 }\n uselistorder i1 false, { 9, 10, 6, 7, 4, 5, 2, 8, 11, 1, 0, 12, 13, 3 }\n uselistorder i8* null, { 3, 4, 1, 5, 6, 0, 7, 2 }\n uselistorder i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), { 0, 4, 1, 3, 2, 5 }\n uselistorder i32 (i8*)* @puts, { 1, 2, 0 }\n uselistorder i32 0, { 6, 5, 0, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4 }\n uselistorder i64 (i64)* @is_help_option, { 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 3 }\n uselistorder label LBL_28, { 1, 2, 0 }\n uselistorder label LBL_25, { 1, 0, 2 }\n uselistorder label LBL_21, { 0, 2, 1 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "install_session_keyring_to_cred_8736", "fun_name": "install_session_keyring_to_cred", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi2.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = icmp eq i64 %arg2, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n %spec.store.select = select i1 %7, i64 1, i64 2\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %10, i64 %0, i64 7, i64 %spec.store.select, i64 0)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64* %5, i64** %.pre-phi2.reg2mem\n store i64 %11, i64* %sv_0.0.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %13, label LBL_3, label LBL_5\n LBL_2:\n %14 = call i64 @FUNC(i64 %arg2)\n %.pre = add i64 %0, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n store i64* %.pre1, i64** %.pre-phi2.reg2mem\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem\n %15 = load i64, i64* %.pre-phi2.reload, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %sv_0.0.reload)\n %17 = icmp eq i64 %15, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %15)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %15, { 1, 2, 0 }\n uselistorder i64 %0, { 0, 3, 1, 2, 4 }\n uselistorder i64** %.pre-phi2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_read_custom_2plus_679", "fun_name": "mov_read_custom_2plus", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge5.in.reg2mem = alloca i8**\n %sv_0.0.reg2mem = alloca i32\n %storemerge10.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i8*, align 8\n %sv_5 = alloca i8*, align 8\n %3 = call i64 @FUNC(i64 %2)\n store i8* null, i8** %sv_5, align 8\n store i8* null, i8** %sv_4, align 8\n %4 = trunc i64 %2 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp slt i32 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_20\n LBL_1:\n %10 = trunc i64 %3 to i32\n %11 = add i32 %10, %arg3\n %12 = sext i32 %11 to i64\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %sext11 = mul i64 %2, 4294967296\n %16 = ashr exact i64 %sext11, 29\n %17 = add nsw i64 %16, -8\n %18 = add i64 %17, %15\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %22 to i32*\n store i32 1, i32* %storemerge10.reg2mem\n br label LBL_2\n LBL_2:\n %24 = call i64 @FUNC(i64 %2)\n %sext = mul i64 %24, 4294967296\n %25 = ashr exact i64 %sext, 32\n %26 = sub nsw i64 %12, %25\n %27 = icmp slt i64 %26, 13\n br i1 %27, label LBL_12, label LBL_3\n LBL_3:\n %28 = call i64 @FUNC(i64 %2)\n %29 = trunc i64 %28 to i32\n %30 = call i64 @FUNC(i64 %2)\n %31 = call i64 @FUNC(i64 %2, i64 4)\n %32 = icmp ult i32 %29, 12\n br i1 %32, label LBL_12, label LBL_4\n LBL_4:\n %33 = add i64 %28, 4294967284\n %34 = and i64 %33, 4294967295\n %35 = call i64 @FUNC(i64 %2)\n %sext4 = mul i64 %35, 4294967296\n %36 = ashr exact i64 %sext4, 32\n %37 = sub nsw i64 %12, %36\n %38 = icmp slt i64 %37, %34\n br i1 %38, label LBL_12, label LBL_5\n LBL_5:\n %storemerge10.reload = load i32, i32* %storemerge10.reg2mem\n %39 = trunc i64 %30 to i32\n %40 = add i32 %29, -12\n %41 = icmp eq i32 %39, 1851878757\n %42 = icmp eq i1 %41, false\n store i32 %40, i32* %sv_0.0.reg2mem\n store i8** %sv_5, i8*** %storemerge5.in.reg2mem\n br i1 %42, label LBL_6, label LBL_8\n LBL_6:\n %43 = icmp eq i32 %39, 1684108385\n %44 = icmp eq i1 %43, false\n %45 = icmp ult i32 %40, 5\n %or.cond = or i1 %45, %44\n br i1 %or.cond, label LBL_12, label LBL_7\n LBL_7:\n %46 = call i64 @FUNC(i64 %2, i64 4)\n %47 = add i32 %29, -16\n store i32 %47, i32* %sv_0.0.reg2mem\n store i8** %sv_4, i8*** %storemerge5.in.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge5.in.reload = load i8**, i8*** %storemerge5.in.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %48 = add i32 %sv_0.0.reload, 1\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %49)\n %51 = bitcast i8** %storemerge5.in.reload to i64*\n store i64 %50, i64* %51, align 8\n %52 = icmp eq i64 %50, 0\n br i1 %52, label LBL_12, label LBL_9\n LBL_9:\n %53 = call i64 @FUNC(i64 %2, i64 %50, i32 %sv_0.0.reload)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %sv_0.0.reload, %54\n br i1 %55, label LBL_11, label LBL_10\n LBL_10:\n %storemerge5.le = ptrtoint i8** %storemerge5.in.reload to i64\n %56 = call i64 @FUNC(i64 %storemerge5.le)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_11:\n %57 = load i8*, i8** %storemerge5.in.reload, align 8\n %58 = ptrtoint i8* %57 to i64\n %59 = zext i32 %sv_0.0.reload to i64\n %60 = add i64 %58, %59\n %61 = inttoptr i64 %60 to i8*\n store i8 0, i8* %61, align 1\n %62 = icmp ult i32 %storemerge10.reload, 2\n store i32 2, i32* %storemerge10.reg2mem\n br i1 %62, label LBL_2, label LBL_12\n LBL_12:\n %63 = load i8*, i8** %sv_5, align 8\n %64 = icmp eq i8* %63, null\n %65 = load i8*, i8** %sv_4, align 8\n %66 = icmp eq i8* %65, null\n %or.cond8 = or i1 %64, %66\n br i1 %or.cond8, label LBL_19, label LBL_13\n LBL_13:\n %67 = call i32 @strcmp(i8* nonnull %63, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_17, label LBL_14\n LBL_14:\n %70 = load i8*, i8** %sv_4, align 8\n %71 = inttoptr i64 %1 to i32*\n %72 = call i32 (i8*, i8*, ...) @sscanf(i8* %70, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3, i32* %71)\n %73 = icmp eq i32 %72, 3\n %74 = icmp eq i1 %73, false\n br i1 %74, label LBL_17, label LBL_15\n LBL_15:\n %75 = load i64, i64* %sv_1, align 8\n %76 = trunc i64 %75 to i32\n %.off = add i32 %76, -1\n %77 = icmp ugt i32 %.off, 16382\n br i1 %77, label LBL_17, label LBL_16\n LBL_16:\n store i32 %76, i32* %23, align 4\n br label LBL_17\n LBL_17:\n %78 = load i8*, i8** %sv_5, align 8\n %79 = call i32 @strcmp(i8* %78, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %80 = icmp eq i32 %79, 0\n br i1 %80, label LBL_19, label LBL_18\n LBL_18:\n %81 = ptrtoint i8* %78 to i64\n %82 = load i8*, i8** %sv_4, align 8\n %83 = ptrtoint i8* %82 to i64\n %84 = load i8*, i8** %sv_5, align 8\n %85 = ptrtoint i8* %84 to i64\n %86 = add i64 %81, 16\n %87 = call i64 @FUNC(i64 %86, i64 %85, i64 %83, i64 3)\n store i8* null, i8** %sv_4, align 8\n %88 = bitcast i8** %sv_5 to i64*\n store i64 0, i64* %88, align 8\n br label LBL_19\n LBL_19:\n %89 = call i64 @FUNC(i64 %2, i64 %12, i64 0)\n %90 = ptrtoint i8** %sv_5 to i64\n %91 = call i64 @FUNC(i64 %90)\n %92 = ptrtoint i8** %sv_4 to i64\n %93 = call i64 @FUNC(i64 %92)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %78, { 1, 0 }\n uselistorder i32 %76, { 1, 0 }\n uselistorder i64 %50, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 3, 1, 2, 0 }\n uselistorder i8** %storemerge5.in.reload, { 2, 1, 0 }\n uselistorder i32 %40, { 1, 0 }\n uselistorder i32 %39, { 1, 0 }\n uselistorder i64 %12, { 1, 0, 2 }\n uselistorder i8** %sv_5, { 6, 1, 5, 4, 3, 0, 2 }\n uselistorder i8** %sv_4, { 6, 5, 4, 3, 1, 0, 2 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64 %2, { 9, 3, 4, 5, 6, 8, 7, 10, 0, 1, 2, 11 }\n uselistorder i32* %storemerge10.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i8*** %storemerge5.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i64 (i64)* @av_freep, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0 }\n uselistorder i8* null, { 2, 0, 1, 3, 4 }\n uselistorder i64 (i64)* @avio_tell, { 2, 1, 0 }\n uselistorder label LBL_20, { 1, 2, 0 }\n uselistorder label LBL_12, { 2, 0, 3, 4, 5, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_larval_lookup_11843", "fun_name": "crypto_larval_lookup", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i8* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 -2, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %sext3 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext3, 32\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = and i64 %3, -4\n %5 = and i64 %4, %2\n %6 = and i64 %2, 4294967292\n %7 = ptrtoint i8* %arg1 to i64\n %8 = and i64 %5, 4294967292\n %9 = call i64 @FUNC(i64 %7, i64 %8, i64 %6)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %7)\n %13 = xor i64 %5, 4\n %14 = and i64 %2, 4\n %15 = and i64 %14, %13\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %7)\n br label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %7, i64 %8, i64 %6)\n store i64 %19, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %sv_0.0.reload)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %23, label LBL_9, label LBL_7\n LBL_7:\n %24 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %25 = call i64 @FUNC(i64 %7, i64 %8, i64 %6)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %7, { 3, 1, 0, 2, 4 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i8*, i64)* @request_module, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @crypto_alg_lookup, { 1, 0 }\n uselistorder i64 4294967292, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_9, { 2, 3, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvm_s390_flic_class_init_1699", "fun_name": "kvm_s390_flic_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198676, i64* %2, align 8\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "local_file_exists_18003", "fun_name": "local_file_exists", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64* @malloc(i32 8)\n %3 = add i64 %1, 24\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = and i32 %5, 61440\n %7 = icmp eq i32 %6, 32768\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = load i64, i64* %2, align 8\n %11 = inttoptr i64 %10 to i8*\n %12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i8* %11)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 0, { 1, 2, 0, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs4_alloc_session_10902", "fun_name": "nfs4_alloc_session", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 480, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = inttoptr i64 %0 to i32*\n %4 = ptrtoint i64* %arg1 to i64\n store i32 -1, i32* %3, align 4\n %5 = add i64 %0, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %0, 48\n %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n %9 = add i64 %0, 136\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %0, 232\n %12 = inttoptr i64 %11 to i32*\n store i32 -1, i32* %12, align 4\n %13 = add i64 %0, 240\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %0, 280\n %16 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0))\n %17 = add i64 %0, 368\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %0, 464\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n %21 = add i64 %0, 472\n %22 = inttoptr i64 %21 to i64*\n store i64 %4, i64* %22, align 8\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 1, 2, 6, 5, 4, 3, 7, 8, 9, 10, 11 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @init_completion, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock_init, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mb_cpu_class_init_2147", "fun_name": "mb_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %arg1, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198711, i64* %12, align 8\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i64*\n store i64 4198718, i64* %14, align 8\n %15 = add i64 %0, 80\n %16 = inttoptr i64 %15 to i64*\n store i64 4198732, i64* %16, align 8\n %17 = add i64 %0, 88\n %18 = inttoptr i64 %17 to i64*\n store i64 4198739, i64* %18, align 8\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n %19 = load i64, i64* @gv_1, align 8\n store i64 %19, i64* %4, align 8\n %20 = add i64 %0, 64\n %21 = inttoptr i64 %20 to i32*\n store i32 37, i32* %21, align 4\n %22 = add i64 %0, 72\n %23 = inttoptr i64 %22 to i64*\n store i64 4198746, i64* %23, align 8\n %24 = inttoptr i64 %5 to i8*\n store i8 1, i8* %24, align 1\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rdp_read_flow_control_pdu_7324", "fun_name": "rdp_read_flow_control_pdu", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp ult i64 %5, 6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = urem i32 %1, 256\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %4, i64 %8)\n %10 = trunc i32 %1 to i16\n %11 = urem i16 %10, 256\n %12 = bitcast i64* %arg2 to i16*\n store i16 %11, i16* %12, align 2\n %13 = call i64 @FUNC(i64 %4)\n %14 = call i64 @FUNC(i64 %4)\n %15 = call i64 @FUNC(i64 %4)\n %16 = call i64 @FUNC(i64 %4)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @Stream_Seek_UINT8, { 2, 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvmppc_mmu_map_4108", "fun_name": "kvmppc_mmu_map", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = mul i64 %arg4, 16\n %9 = and i64 %8, 68719476720\n %10 = add i64 %7, %9\n %11 = add i64 %10, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %10, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i64 @FUNC(i64 %10)\n %18 = call i64 @FUNC()\n store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8\n %19 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %20 = icmp ult i32 %19, ptrtoint (i32* @gv_0 to i32)\n %21 = select i1 %20, i64 0, i64 zext (i32 ptrtoint (i32* @gv_0 to i32) to i64)\n %22 = trunc i64 %21 to i32\n store i32 %22, i32* bitcast (i64* @gv_1 to i32*), align 8\n %23 = call i64 @FUNC()\n %24 = udiv i64 %arg3, 4096\n %25 = add i64 %4, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %27, i64 %24)\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_2, label LBL_1\n LBL_1:\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %24, i64 %24, i64 %arg4, i64 %2, i64 %1)\n %33 = call i64 @FUNC(i64 %28)\n store i64 %33, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_2:\n %34 = trunc i64 %17 to i32\n %35 = call i64 @FUNC(i64 %28)\n %36 = call i64 @FUNC(i64 %5, i64 %21)\n store i32 3, i32* %sv_1, align 4\n %37 = icmp ult i32 %34, 4096\n %38 = trunc i64 %arg2 to i32\n br i1 %37, label LBL_4, label LBL_3\n LBL_3:\n %39 = and i32 %38, -4096\n %40 = or i32 %39, 7\n store i32 %40, i32* %sv_1, align 4\n store i64 %35, i64* %sv_0.0.in.reg2mem\n br label LBL_5\n LBL_4:\n %41 = and i32 %38, 4084\n %42 = or i32 %41, 11\n store i32 %42, i32* %sv_1, align 4\n %43 = or i64 %35, %arg3\n store i64 %43, i64* %sv_0.0.in.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %44 = and i32 %sv_0.0, -1024\n %45 = ashr i32 %sv_0.0, 31\n %46 = urem i32 %45, 16\n %47 = or i32 %46, %44\n %48 = and i64 %3, 16\n %49 = zext i32 %16 to i64\n %50 = call i64 @FUNC(i64 %49, i64 %48)\n %51 = urem i32 %13, 256\n %52 = icmp eq i32 %51, 0\n %53 = zext i1 %52 to i32\n %54 = add i64 %5, 8\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = mul nuw nsw i64 %21, 24\n %58 = add i64 %56, %57\n %59 = inttoptr i64 %58 to i64*\n store i64 %28, i64* %59, align 8\n %60 = trunc i64 %arg4 to i32\n %61 = add i64 %58, 8\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n %63 = and i64 %50, 32\n %64 = icmp eq i64 %63, 0\n %65 = icmp eq i1 %64, false\n %66 = zext i1 %65 to i32\n %67 = add i64 %58, 12\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %69 = add i64 %58, 16\n %70 = inttoptr i64 %69 to i32*\n store i32 %53, i32* %70, align 4\n %71 = call i64 @FUNC(i64 %5, i64 %21)\n %72 = call i64 @FUNC(i64 %21, i32* nonnull %sv_1)\n %73 = load i32, i32* %sv_1, align 4\n %74 = and i64 %50, 4294967295\n %75 = call i64 @FUNC(i64 %21, i32 %53, i32 %73, i32 %47, i64 %74)\n store i64 %75, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %38, { 1, 0 }\n uselistorder i64 %35, { 1, 0 }\n uselistorder i64 %28, { 1, 2, 0, 3 }\n uselistorder i64 %24, { 2, 1, 0 }\n uselistorder i64 %21, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %sv_1, { 1, 0, 2, 3, 4 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4096, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i32 ptrtoint (i32* @gv_0 to i32), { 1, 0, 2 }\n uselistorder i64 16, { 2, 1, 0 }\n uselistorder i64 %arg4, { 1, 2, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rgb8tobgr8_3528", "fun_name": "rgb8tobgr8", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg3, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i32* %arg1 to i64\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %2 = add i64 %storemerge2.reload, %1\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = udiv i8 %4, 64\n %narrow = mul i8 %5, 2\n %6 = and i8 %4, 56\n %7 = mul i8 %4, 64\n %8 = add i64 %storemerge2.reload, %arg2\n %9 = or i8 %7, %6\n %10 = or i8 %9, %narrow\n %11 = inttoptr i64 %8 to i8*\n store i8 %10, i8* %11, align 1\n %12 = add nuw nsw i64 %storemerge2.reload, 1\n %exitcond = icmp eq i64 %12, %arg3\n store i64 %12, i64* %storemerge2.reg2mem\n store i64 %arg3, i64* %storemerge.lcssa.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i8 %4, { 0, 2, 1 }\n uselistorder i64 %storemerge2.reload, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_remove_personalities_308", "fun_name": "io_remove_personalities", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg3 to i64\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %2)\n br label LBL_2\n LBL_2:\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "iio_channel_get_17577", "fun_name": "iio_channel_get", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %0 = icmp eq i8* %arg1, null\n %1 = icmp eq i8* %arg2, null\n %2 = icmp eq i1 %0, %1\n store i64 -19, i64* %rax.0.reg2mem\n br i1 %2, label LBL_12, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %storemerge5.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n br i1 %0, label LBL_4, label LBL_3\n LBL_3:\n %4 = inttoptr i64 %storemerge5.reload to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i8*\n %9 = call i32 @strcmp(i8* nonnull %arg1, i8* %8)\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_4\n LBL_4:\n br i1 %1, label LBL_8, label LBL_5\n LBL_5:\n %12 = inttoptr i64 %storemerge5.reload to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i8*\n %18 = call i32 @strcmp(i8* nonnull %arg2, i8* %17)\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_8\n LBL_6:\n %21 = add i64 %storemerge5.reload, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %storemerge5.reg2mem\n br i1 %25, label LBL_2, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 -19, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %27 = add i64 %storemerge5.reload, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = call i64 @FUNC(i64* nonnull @gv_0)\n %32 = icmp eq i64 %storemerge5.reload, 0\n %33 = icmp eq i1 %32, false\n store i64 -19, i64* %rax.0.reg2mem\n br i1 %33, label LBL_9, label LBL_12\n LBL_9:\n %34 = call i64 @FUNC(i64 16, i64 0)\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 -12, i64* %rax.0.reg2mem\n br i1 %36, label LBL_10, label LBL_12\n LBL_10:\n %37 = load i64, i64* %28, align 8\n %38 = inttoptr i64 %34 to i64*\n store i64 %37, i64* %38, align 8\n %39 = inttoptr i64 %storemerge5.reload to i64*\n %40 = load i64, i64* %39, align 8\n %41 = add i64 %40, 16\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = icmp eq i64 %43, 0\n store i64 %34, i64* %rax.0.reg2mem\n br i1 %44, label LBL_12, label LBL_11\n LBL_11:\n %45 = call i64 @FUNC(i64 %37, i64 %43)\n %46 = add i64 %34, 8\n %47 = inttoptr i64 %46 to i64*\n store i64 %45, i64* %47, align 8\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %34, { 1, 2, 0, 3, 4 }\n uselistorder i64 %storemerge5.reload, { 4, 5, 3, 2, 0, 1 }\n uselistorder i1 %1, { 1, 0 }\n uselistorder i1 %0, { 1, 0 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6 }\n uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder i64* @gv_0, { 1, 0, 2 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i8* %arg2, { 1, 0 }\n uselistorder label LBL_12, { 3, 2, 4, 5, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "impeg2d_dec_seq_ext_data_6172", "fun_name": "impeg2d_dec_seq_ext_data", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.18.reg2mem = alloca i32\n %.reg2mem = alloca i1\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 4)\n %storemerge6 = trunc i64 %3 to i32\n %4 = icmp ne i32 %storemerge6, 181\n %5 = icmp eq i32 %storemerge6, 178\n %6 = icmp eq i1 %5, false\n %or.cond7 = icmp eq i1 %4, %6\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond7, label LBL_9, label LBL_1\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n store i1 %6, i1* %.reg2mem\n store i32 0, i32* %sv_0.18.reg2mem\n br label LBL_8\n LBL_2:\n %.reload = load i1, i1* %.reg2mem\n br i1 %.reload, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %2)\n store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_4:\n %11 = call i64 @FUNC(i64 %2, i64 4)\n %12 = call i64 @FUNC(i64 %2, i64 2)\n %13 = trunc i64 %12 to i32\n store i32 1, i32* %sv_0.0.reg2mem\n switch i32 %13, label LBL_6 [\n i32 179, label LBL_5\n i32 180, label LBL_7\n ]\n LBL_5:\n %14 = call i64 @FUNC(i64 %2)\n store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %15 = call i64 @FUNC(i64 %2, i64 2)\n %16 = call i64 @FUNC(i64 %2)\n store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %17 = call i64 @FUNC(i64 %2, i64 4)\n %storemerge = trunc i64 %17 to i32\n %18 = icmp ne i32 %storemerge, 181\n %19 = icmp eq i32 %storemerge, 178\n %20 = icmp eq i1 %19, false\n %or.cond = icmp eq i1 %18, %20\n %21 = icmp eq i32 %sv_0.0.reload, 0\n %22 = icmp eq i1 %21, false\n %or.cond5 = or i1 %22, %or.cond\n store i1 %20, i1* %.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond5, label LBL_9, label LBL_8\n LBL_8:\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %23 = load i32, i32* %9, align 4\n %24 = icmp ugt i32 %23, %7\n store i32 %sv_0.18.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %24, label LBL_2, label LBL_9\n LBL_9:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %25 = zext i32 %sv_0.1.lcssa.reload to i64\n ret i64 %25\n\n uselistorder i32 %sv_0.18.reload, { 0, 3, 1, 2 }\n uselistorder i64 %2, { 1, 3, 4, 2, 7, 6, 0, 5, 8 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i1* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 178, { 1, 0 }\n uselistorder i32 181, { 1, 0 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 2, 1, 0 }\n uselistorder i64 4, { 0, 1, 3, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "send_framebuffer_update_hextile_2651", "fun_name": "send_framebuffer_update_hextile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in20.reg2mem = alloca i64\n %storemerge16.in18.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %3 = trunc i64 %arg2 to i32\n %4 = trunc i64 %arg3 to i32\n %sext7 = mul i64 %arg3, 4294967296\n %5 = trunc i64 %arg4 to i32\n %6 = and i64 %arg5, 4294967295\n %7 = call i64 @FUNC(i64 %2, i32 %3, i32 %4, i32 %5, i64 %6, i64 5)\n %8 = trunc i64 %1 to i32\n %9 = call i64* @malloc(i32 %8)\n %10 = call i64* @malloc(i32 %8)\n store i32 0, i32* %sv_1, align 4\n store i32 0, i32* %sv_0, align 4\n %storemerge19 = ashr exact i64 %sext7, 32\n %11 = add i64 %arg5, %arg3\n %12 = and i64 %11, 4294967295\n %13 = icmp slt i64 %storemerge19, %12\n br i1 %13, label LBL_1, label LBL_5\n LBL_1:\n %14 = ptrtoint i64* %sv_2 to i64\n %sext = mul i64 %arg2, 4294967296\n %15 = ptrtoint i64* %9 to i64\n %storemerge1617 = ashr exact i64 %sext, 32\n %16 = add i64 %arg4, %arg2\n %17 = and i64 %16, 4294967295\n %18 = icmp slt i64 %storemerge1617, %17\n %19 = add i64 %14, -16\n %20 = inttoptr i64 %19 to i64*\n %21 = ptrtoint i32* %sv_0 to i64\n %22 = add i64 %14, -24\n %23 = inttoptr i64 %22 to i64*\n %24 = ptrtoint i32* %sv_1 to i64\n %25 = add i64 %14, -32\n %26 = inttoptr i64 %25 to i64*\n store i64 %sext7, i64* %storemerge.in20.reg2mem\n br label LBL_4\n LBL_2:\n %storemerge16.in18.reload = load i64, i64* %storemerge16.in18.reg2mem\n store i64 %21, i64* %20, align 8\n store i64 %24, i64* %23, align 8\n store i64 %15, i64* %26, align 8\n %sext15 = add i64 %storemerge16.in18.reload, 68719476736\n %storemerge16 = ashr exact i64 %sext15, 32\n %27 = icmp slt i64 %storemerge16, %17\n store i64 %sext15, i64* %storemerge16.in18.reg2mem\n br i1 %27, label LBL_2, label LBL_3\n LBL_3:\n %sext14 = add i64 %storemerge.in20.reload, 68719476736\n %storemerge = ashr exact i64 %sext14, 32\n %28 = icmp slt i64 %storemerge, %12\n store i64 %sext14, i64* %storemerge.in20.reg2mem\n br i1 %28, label LBL_4, label LBL_5\n LBL_4:\n %storemerge.in20.reload = load i64, i64* %storemerge.in20.reg2mem\n store i64 %sext, i64* %storemerge16.in18.reg2mem\n br i1 %18, label LBL_2, label LBL_3\n LBL_5:\n call void @free(i64* %9)\n call void @free(i64* %10)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %14, { 2, 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64* %storemerge16.in18.reg2mem, { 1, 2, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 68719476736, { 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "visit_type_int32_14531", "fun_name": "visit_type_int32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = icmp eq i64* %arg4, null\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = trunc i64 %1 to i32\n %10 = ptrtoint i32* %arg2 to i64\n store i32 %9, i32* %arg2, align 4\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "skip_data_stream_element_779", "fun_name": "skip_data_stream_element", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 8)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 255\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 8)\n %7 = add i64 %6, %2\n store i64 %7, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %8 = trunc i64 %1 to i32\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %0)\n br label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 %0)\n %12 = mul i64 %sv_0.0.reload, 8\n %13 = and i64 %12, 4294967288\n %14 = icmp slt i64 %11, %13\n br i1 %14, label LBL_5, label LBL_6\n LBL_5:\n %15 = load [15 x i8]*, [15 x i8]** @gv_0, align 8\n %16 = ptrtoint [15 x i8]* %15 to i64\n %17 = call i64 @FUNC(i64 %0, i64 0, i64 %16)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n %18 = call i64 @FUNC(i64 %0, i64 %13)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 3, 4, 1, 0, 5, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdhci_end_transfer_14407", "fun_name": "sdhci_end_transfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32, i32* %1\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %7 = and i64 %2, 4\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n store i32 12, i32* %sv_1, align 4\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 12, i32 0)\n %10 = add i64 %3, 32\n %11 = bitcast i32* %sv_0 to i64*\n %12 = bitcast i32* %sv_1 to i8*\n %13 = call i64 @FUNC(i64 %10, i8* nonnull %12, i64* nonnull %11)\n %14 = load i32, i32* %sv_0, align 4\n %15 = mul i32 %14, 16777216\n %16 = mul i32 %6, 65536\n %17 = and i32 %16, 16711680\n %18 = mul i32 %5, 256\n %19 = and i32 %18, 65280\n %20 = urem i32 %4, 256\n %21 = or i32 %19, %20\n %22 = or i32 %21, %17\n %23 = or i32 %22, %15\n %24 = add i64 %3, 28\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n br label LBL_2\n LBL_2:\n %26 = add i64 %3, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = and i32 %28, -64\n store i32 %29, i32* %27, align 4\n %30 = add i64 %3, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = urem i32 %32, 2\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_4, label LBL_3\n LBL_3:\n %35 = add i64 %3, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = or i32 %37, 2\n store i32 %38, i32* %36, align 4\n br label LBL_4\n LBL_4:\n %39 = call i64 @FUNC(i64 %3)\n ret i64 %39\n\n uselistorder i32* %sv_1, { 1, 0 }\n uselistorder i64 %3, { 2, 4, 3, 5, 0, 1 }\n uselistorder i32* %1, { 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "find_headers_search_validate_787", "fun_name": "find_headers_search_validate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %indvars.iv.next11.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64*\n %storemerge2.lcssa.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i64\n %storemerge24.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %3 = trunc i64 %arg2 to i32\n %4 = add i64 %2, 16\n %5 = add i64 %2, 8\n %6 = call i64 @FUNC(i64 %2, i32 %3, i64 1024, i64 %5, i64 %4)\n store i64 %6, i64* %sv_2, align 8\n %7 = call i64 @FUNC(i64 %2, i64 %6, i64* nonnull %sv_2)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_10, label LBL_1\n LBL_1:\n %10 = add i64 %2, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %.reg2mem\n store i32 1, i32* %storemerge24.reg2mem\n store i64 %10, i64* %sv_1.0.lcssa.reg2mem\n store i32 1, i32* %storemerge2.lcssa.reg2mem\n store i64* %11, i64** %.lcssa.reg2mem\n br i1 %14, label LBL_2, label LBL_3\n LBL_2:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %15 = add i64 %.reload, 16\n %phitmp = add i32 %storemerge24.reload, 1\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %.reg2mem\n store i32 %phitmp, i32* %storemerge24.reg2mem\n store i64 %15, i64* %sv_1.0.lcssa.reg2mem\n store i32 %phitmp, i32* %storemerge2.lcssa.reg2mem\n store i64* %16, i64** %.lcssa.reg2mem\n br i1 %19, label LBL_2, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem\n %20 = call i64 @FUNC(i64 24)\n store i64 %20, i64* %.lcssa.reload, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 24, i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %4, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %24 = inttoptr i64 %20 to i32*\n store i32 %3, i32* %24, align 4\n %25 = load i64, i64* %.lcssa.reload, align 8\n %26 = call i64 @FUNC(i64 64)\n %27 = add i64 %25, 8\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n %29 = load i64, i64* %.lcssa.reload, align 8\n %30 = add i64 %29, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_6, label LBL_7\n LBL_6:\n %35 = inttoptr i64 %32 to i32*\n store i32 0, i32* %35, align 4\n store i64 1, i64* %indvars.iv.next11.reg2mem\n br label LBL_8\n LBL_7:\n %36 = call i64 @FUNC(i64 %sv_1.0.lcssa.reload)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %indvars.iv.next11.reload = load i64, i64* %indvars.iv.next11.reg2mem\n %.pre = load i64, i64* %.lcssa.reload, align 8\n %37 = add i64 %.pre, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = mul i64 %indvars.iv.next11.reload, 4\n %41 = add i64 %39, %40\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.next11.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.next11.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %43 = add i64 %2, 32\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i32 %45, 1\n store i32 %46, i32* %44, align 4\n store i32 %storemerge2.lcssa.reload, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %47 = zext i32 %sv_0.0.reload to i64\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i64* %.lcssa.reload, { 3, 0, 1, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.next11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i32 0, { 2, 1, 0, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qpci_pc_config_writeb_15360", "fun_name": "qpci_pc_config_writeb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = mul i64 %arg2, 256\n %1 = urem i64 %arg3, 256\n %2 = and i64 %0, 2147483392\n %.masked = or i64 %1, %2\n %3 = or i64 %.masked, 2147483648\n %4 = call i64 @FUNC(i64 3320, i64 %3)\n %5 = urem i64 %arg4, 256\n %6 = call i64 @FUNC(i64 3324, i64 %5)\n ret i64 %6\n\n uselistorder i64 256, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__close_fd_get_file_6853", "fun_name": "__close_fd_get_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = load i64, i64* @gv_0, align 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %3)\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp ugt i32 %8, %0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_1\n LBL_1:\n %11 = add i64 %6, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = mul i64 %arg1, 8\n %15 = and i64 %14, 34359738360\n %16 = add i64 %13, %15\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = and i64 %arg1, 4294967295\n %21 = call i64 @FUNC(i64 %18, i64 0)\n %22 = call i64 @FUNC(i64 %3, i64 %20)\n %23 = call i64 @FUNC(i64 %4)\n %24 = call i64 @FUNC(i64 %18)\n store i64 %18, i64* %storemerge2.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %25 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %storemerge2.reg2mem\n store i64 4294967294, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n store i64 %storemerge2.reload, i64* %arg2, align 8\n ret i64 %storemerge.reload\n\n uselistorder i64 %18, { 0, 2, 1, 3 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_file_rate_limit_863", "fun_name": "qemu_file_rate_limit", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = icmp slt i32 %6, 1\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp ugt i32 %10, %6\n store i64 1, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_read_moov_8003", "fun_name": "mov_read_moov", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %3 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i64 %6, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %13 = zext i32 %arg3 to i64\n %14 = call i64 @FUNC(i64 %5, i64 %13)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %15 = call i64 @FUNC(i64 %6, i64 %5, i32 %arg3)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = and i64 %15, 4294967295\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %20 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %20, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qvirtio_9p_pci_stop_2564", "fun_name": "qvirtio_9p_pci_stop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %0, i64 %8, i64 %5)\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC(i64 %0)\n ret i64 %12\n\n uselistorder i64 %0, { 0, 3, 4, 5, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "walk_string_5464", "fun_name": "walk_string", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rax.0.ph.in.reg2mem = alloca i32\n %rcx.1.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg4 to i64\n %sv_0 = alloca i32, align 4\n %1 = icmp eq i64* %arg4, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_13, label LBL_1\n LBL_1:\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, -1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_13, label LBL_2\n LBL_2:\n %6 = bitcast i32* %sv_0 to i64*\n %7 = trunc i64 %arg2 to i32\n %8 = icmp eq i32 %7, 32\n %9 = trunc i64 %arg3 to i32\n %10 = icmp eq i32 %9, 0\n %11 = add i64 %0, 12\n %12 = inttoptr i64 %11 to i32*\n store i32 %4, i32* %.reg2mem\n store i64 %0, i64* %rcx.0.reg2mem\n br label LBL_3\n LBL_3:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %13 = sext i32 %.reload to i64\n %14 = add i64 %rcx.0.reload, %13\n %15 = call i64 @FUNC(i64* nonnull %6, i64 %14)\n %16 = load i32, i32* %sv_0, align 4\n %17 = icmp eq i32 %16, %7\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = trunc i64 %15 to i32\n %20 = load i32, i32* %3, align 4\n %21 = add i32 %20, %19\n store i32 %21, i32* %3, align 4\n br label LBL_8\n LBL_5:\n store i32 %16, i32* %rax.0.ph.in.reg2mem\n br i1 %8, label LBL_12, label LBL_6\n LBL_6:\n %22 = icmp eq i32 %16, 32\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n store i32 -1, i32* %3, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n br i1 %10, label LBL_10, label LBL_9\n LBL_9:\n %sext5 = mul i64 %15, 4294967296\n %23 = ashr exact i64 %sext5, 32\n %24 = add i64 %23, %14\n %25 = inttoptr i64 %24 to i8*\n %26 = call i32 @strlen(i8* %25)\n %27 = add i32 %26, 1\n %28 = inttoptr i64 %14 to i64*\n %29 = inttoptr i64 %24 to i64*\n %30 = call i64* @memmove(i64* %28, i64* %29, i32 %27)\n store i32 1, i32* %12, align 4\n store i64 %24, i64* %rcx.1.reg2mem\n br label LBL_10\n LBL_10:\n %31 = load i32, i32* %sv_0, align 4\n %32 = icmp eq i32 %31, %7\n %33 = icmp eq i1 %32, false\n store i32 %31, i32* %rax.0.ph.in.reg2mem\n br i1 %33, label LBL_10.LBL_3_crit_edge, label LBL_12\n LBL_11:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %.pre = load i32, i32* %3, align 4\n store i32 %.pre, i32* %.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.0.reg2mem\n br label LBL_3\n LBL_12:\n %rax.0.ph.in.reload = load i32, i32* %rax.0.ph.in.reg2mem\n %rax.0.ph = zext i32 %rax.0.ph.in.reload to i64\n store i64 %rax.0.ph, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %16, { 1, 0, 2 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i32 %7, { 0, 2, 1 }\n uselistorder i32* %3, { 0, 3, 2, 1, 4 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %0, { 0, 2, 3, 4, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %rax.0.ph.in.reg2mem, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder label LBL_13, { 0, 3, 2, 1 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_decode_sei_16558", "fun_name": "ff_h264_decode_sei", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp sgt i32 %5, 16\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_19\n LBL_1:\n %7 = urem i64 %3, 2\n %8 = icmp eq i64 %7, 0\n br label LBL_2.preheader\n LBL_2:\n %9 = call i64 @FUNC(i64 %3)\n %10 = trunc i64 %9 to i32\n %11 = icmp sgt i32 %10, 7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_19\n LBL_3:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %12 = call i64 @FUNC(i64 %3, i64 8)\n %13 = trunc i64 %12 to i32\n %14 = add i32 %sv_1.0.reload, %13\n %15 = call i64 @FUNC(i64 %3, i64 8)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 255\n store i32 %14, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %17, label LBL_2, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %3)\n %19 = trunc i64 %18 to i32\n %20 = icmp sgt i32 %19, 7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_5, label LBL_19\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %21 = call i64 @FUNC(i64 %3, i64 8)\n %22 = trunc i64 %21 to i32\n %23 = add i32 %sv_0.0.reload, %22\n %24 = call i64 @FUNC(i64 %3, i64 8)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 255\n store i32 %23, i32* %sv_0.0.reg2mem\n br i1 %26, label LBL_4, label LBL_6\n LBL_6:\n br i1 %8, label LBL_6.LBL_9_crit_edge, label LBL_8\n LBL_7:\n %.pre = zext i32 %14 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_8:\n %27 = zext i32 %23 to i64\n %28 = zext i32 %14 to i64\n %29 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %28, i64 %27, i64 %1)\n store i64 %28, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_9:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n store i64 %.pre-phi.reload, i64* @0, align 8\n switch i32 %14, label LBL_16 [\n i32 0, label LBL_10\n i32 1, label LBL_11\n i32 2, label LBL_12\n i32 3, label LBL_13\n i32 4, label LBL_14\n i32 5, label LBL_15\n ]\n LBL_10:\n %30 = call i64 @FUNC(i64 %2)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %33, label LBL_17, label LBL_19\n LBL_11:\n %34 = zext i32 %23 to i64\n %35 = call i64 @FUNC(i64 %2, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %38, label LBL_17, label LBL_19\n LBL_12:\n %39 = zext i32 %23 to i64\n %40 = call i64 @FUNC(i64 %2, i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %43, label LBL_17, label LBL_19\n LBL_13:\n %44 = call i64 @FUNC(i64 %2)\n %45 = trunc i64 %44 to i32\n %46 = icmp slt i32 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %47, label LBL_17, label LBL_19\n LBL_14:\n %48 = call i64 @FUNC(i64 %2)\n %49 = trunc i64 %48 to i32\n %50 = icmp slt i32 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %51, label LBL_17, label LBL_19\n LBL_15:\n %52 = zext i32 %23 to i64\n %53 = call i64 @FUNC(i64 %2, i64 %52)\n %54 = trunc i64 %53 to i32\n %55 = icmp slt i32 %54, 0\n %56 = icmp eq i1 %55, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %56, label LBL_16, label LBL_19\n LBL_16:\n %57 = mul i32 %23, 8\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %3, i64 %58)\n br label LBL_17\n LBL_17:\n %60 = call i64 @FUNC(i64 %3)\n %61 = call i64 @FUNC(i64 %3)\n %62 = trunc i64 %61 to i32\n %63 = icmp sgt i32 %62, 16\n store i64 0, i64* %rax.0.reg2mem\n br i1 %63, label LBL_2.preheader, label LBL_19\n LBL_18:\n store i32 0, i32* %sv_1.0.reg2mem\n br label LBL_2\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %23, { 1, 4, 3, 2, 5, 0 }\n uselistorder i32 %14, { 1, 3, 2, 0 }\n uselistorder i64 %3, { 11, 3, 4, 1, 5, 6, 7, 8, 9, 10, 0, 2 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1, 9, 8, 10 }\n uselistorder i32 0, { 1, 3, 4, 5, 6, 7, 8, 2, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder i64 (i64, i64)* @show_bits, { 1, 0 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i64 (i64)* @get_bits_left, { 1, 3, 2, 0 }\n uselistorder label LBL_19, { 6, 5, 4, 3, 2, 1, 0, 8, 7, 9 }\n uselistorder label LBL_2.preheader, { 1, 0 }\n uselistorder label LBL_17, { 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "Balloc_5815", "fun_name": "Balloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32*\n %0 = trunc i64 %arg1 to i32\n %1 = icmp slt i32 %0, 101\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %3 = load i64, i64* @gv_1, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = ashr exact i64 %sext, 29\n %6 = add i64 %5, ptrtoint (i64* @gv_2 to i64)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = inttoptr i64 %8 to i32*\n %11 = add i64 %8, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n store i64 %13, i64* %7, align 8\n store i32* %10, i32** %sv_0.0.reg2mem\n br label LBL_7\n LBL_4:\n %14 = urem i32 %0, 32\n %15 = shl i32 1, %14\n %16 = mul i32 %15, 8\n %17 = add i32 %16, 16\n %18 = call i64* @malloc(i32 %17)\n %19 = icmp eq i64* %18, null\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = load i64, i64* @gv_1, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_6:\n %24 = bitcast i64* %18 to i32*\n store i32 %0, i32* %24, align 4\n %25 = ptrtoint i64* %18 to i64\n %26 = add i64 %25, 4\n %27 = inttoptr i64 %26 to i32*\n store i32 %15, i32* %27, align 4\n store i32* %24, i32** %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %28 = load i64, i64* @gv_1, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = ptrtoint i32* %sv_0.0.reload to i64\n %31 = add i64 %30, 12\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %33 = add i64 %30, 8\n %34 = inttoptr i64 %33 to i32*\n store i32 0, i32* %34, align 4\n ret i64 %30\n\n uselistorder i64* %18, { 0, 2, 1 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i32 %0, { 1, 0, 2 }\n uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @_THREAD_PRIVATE_MUTEX_UNLOCK, { 1, 0 }\n uselistorder i64 (i64, i8*)* @zend_error, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_rtl8139_init_14747", "fun_name": "pci_rtl8139_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = zext i32 %arg3 to i64\n %3 = sext i32 %arg3 to i64\n %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 312, i64 %2, i64 0, i64 0, i64 %3, i64 %0)\n %5 = call i64 @FUNC(i64 %4, i64 4332)\n %6 = call i64 @FUNC(i64 %4, i64 33081)\n %7 = add i64 %4, 4\n %8 = inttoptr i64 %7 to i8*\n store i8 5, i8* %8, align 1\n %9 = add i64 %4, 8\n %10 = inttoptr i64 %9 to i8*\n store i8 0, i8* %10, align 1\n %11 = call i64 @FUNC(i64 %4, i64 131072)\n %12 = add i64 %4, 14\n %13 = inttoptr i64 %12 to i8*\n store i8 0, i8* %13, align 1\n %14 = add i64 %4, 61\n %15 = inttoptr i64 %14 to i8*\n store i8 1, i8* %15, align 1\n %16 = add i64 %4, 52\n %17 = inttoptr i64 %16 to i8*\n store i8 -36, i8* %17, align 1\n %18 = add i64 %4, 256\n %19 = call i64 @FUNC(i64 0, i64 4199006, i64 4199013, i64 %18)\n %20 = add i64 %4, 304\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = call i64 @FUNC(i64 %4, i64 0, i64 256, i64 0, i64 4199020)\n %23 = call i64 @FUNC(i64 %4, i64 1, i64 256, i64 1, i64 4199027)\n %24 = add i64 %4, 272\n %25 = inttoptr i64 %24 to i64*\n store i64 %4, i64* %25, align 8\n %26 = inttoptr i64 %18 to i64*\n %27 = call i64* @memcpy(i64* %26, i64* %arg2, i32 6)\n %28 = call i64 @FUNC(i64 %18)\n %29 = add i64 %0, 24\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = add i64 %0, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %0, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38, i64 %34, i64 %31, i64 4199034, i64 4199041, i64 %18)\n %40 = add i64 %4, 264\n %41 = inttoptr i64 %40 to i64*\n store i64 %39, i64* %41, align 8\n %42 = call i64 @FUNC(i64 %39, i64 %18)\n %43 = add i64 %4, 280\n %44 = inttoptr i64 %43 to i64*\n store i64 0, i64* %44, align 8\n %45 = add i64 %4, 288\n %46 = inttoptr i64 %45 to i64*\n store i64 0, i64* %46, align 8\n %47 = add i64 %4, 296\n %48 = inttoptr i64 %47 to i64*\n store i64 0, i64* %48, align 8\n %49 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 4294967295, i64 4, i64 4199048, i64 4199055, i64 %18)\n ret i64 %4\n\n uselistorder i64 %4, { 6, 0, 1, 2, 3, 7, 4, 8, 9, 5, 10, 11, 12, 13, 14, 15, 16, 17, 18 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @pci_register_io_region, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gart_map_sg_17763", "fun_name": "gart_map_sg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.128.reg2mem = alloca i32\n %storemerge29.reg2mem = alloca i64\n %sv_1.127.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_2.1.lcssa.reg2mem = alloca i64\n %sv_3.1.lcssa.reg2mem = alloca i64\n %sv_4.1.lcssa.reg2mem = alloca i32\n %sv_5.1.lcssa.reg2mem = alloca i32\n %sv_6.0.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_4.0.reg2mem = alloca i32\n %sv_5.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_1.130.reg2mem = alloca i64\n %sv_6.031.reg2mem = alloca i32\n %sv_5.132.reg2mem = alloca i32\n %sv_4.134.reg2mem = alloca i32\n %sv_3.136.reg2mem = alloca i64\n %sv_2.138.reg2mem = alloca i64\n %sv_7.040.reg2mem = alloca i64\n %sv_0.041.reg2mem = alloca i32\n %storemerge542.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %2, label LBL_1, label LBL_23\n LBL_1:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n %spec.select = select i1 %7, i32 %5, i32 ptrtoint (i32* @gv_0 to i32)\n %8 = icmp sgt i32 %0, 0\n store i64 0, i64* %sv_1.1.lcssa.reg2mem\n store i64 0, i64* %sv_6.0.lcssa.reg2mem\n store i32 0, i32* %sv_5.1.lcssa.reg2mem\n store i32 0, i32* %sv_4.1.lcssa.reg2mem\n store i64 %3, i64* %sv_3.1.lcssa.reg2mem\n store i64 %3, i64* %sv_2.1.lcssa.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %8, label LBL_2, label LBL_13\n LBL_2:\n %9 = sext i32 %spec.select to i64\n store i64 %3, i64* %storemerge542.reg2mem\n store i32 0, i32* %sv_0.041.reg2mem\n store i64 0, i64* %sv_7.040.reg2mem\n store i64 %3, i64* %sv_2.138.reg2mem\n store i64 %3, i64* %sv_3.136.reg2mem\n store i32 0, i32* %sv_4.134.reg2mem\n store i32 0, i32* %sv_5.132.reg2mem\n store i32 0, i32* %sv_6.031.reg2mem\n store i64 0, i64* %sv_1.130.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge542.reload = load i64, i64* %storemerge542.reg2mem\n %10 = add i64 %storemerge542.reload, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %16 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %15)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %sv_1.130.reload = load i64, i64* %sv_1.130.reg2mem\n %sv_5.132.reload = load i32, i32* %sv_5.132.reg2mem\n %sv_4.134.reload = load i32, i32* %sv_4.134.reg2mem\n %sv_3.136.reload = load i64, i64* %sv_3.136.reg2mem\n %sv_2.138.reload = load i64, i64* %sv_2.138.reg2mem\n %sv_0.041.reload = load i32, i32* %sv_0.041.reg2mem\n %17 = inttoptr i64 %storemerge542.reload to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %9, i64 %18, i32 %12)\n %20 = trunc i64 %19 to i32\n %21 = icmp sgt i32 %sv_0.041.reload, %sv_4.134.reload\n store i64 %sv_1.130.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_5.132.reload, i32* %sv_5.0.reg2mem\n store i32 %sv_4.134.reload, i32* %sv_4.0.reg2mem\n store i64 %sv_3.136.reload, i64* %sv_3.0.reg2mem\n store i64 %sv_2.138.reload, i64* %sv_2.0.reg2mem\n br i1 %21, label LBL_6, label LBL_11\n LBL_6:\n %sv_6.031.reload = load i32, i32* %sv_6.031.reg2mem\n %22 = load i32, i32* @gv_3, align 4\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i32 %20, 0\n %or.cond = or i1 %24, %23\n %25 = icmp eq i32 %sv_6.031.reload, 0\n %or.cond8 = or i1 %25, %or.cond\n br i1 %or.cond8, label LBL_9, label LBL_7\n LBL_7:\n %26 = add i64 %storemerge542.reload, 12\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_9, label LBL_8\n LBL_8:\n %sv_7.040.reload = load i64, i64* %sv_7.040.reg2mem\n %31 = add i64 %sv_7.040.reload, 12\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i64 %sv_7.040.reload, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i32 %36, %33\n %38 = urem i32 %37, 4096\n %39 = icmp eq i32 %38, 0\n store i64 %sv_1.130.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_5.132.reload, i32* %sv_5.0.reg2mem\n store i32 %sv_4.134.reload, i32* %sv_4.0.reg2mem\n store i64 %sv_3.136.reload, i64* %sv_3.0.reg2mem\n store i64 %sv_2.138.reload, i64* %sv_2.0.reg2mem\n br i1 %39, label LBL_11, label LBL_9\n LBL_9:\n %40 = sub i32 %sv_0.041.reload, %sv_4.134.reload\n %41 = zext i32 %40 to i64\n %42 = zext i32 %sv_6.031.reload to i64\n %43 = call i64 @FUNC(i64 %sv_2.138.reload, i64 %41, i64 %sv_3.136.reload, i64 %sv_1.130.reload, i64 %42)\n %44 = trunc i64 %43 to i32\n %45 = icmp slt i32 %44, 0\n store i64 %9, i64* %.pre-phi.reg2mem\n store i64 %sv_1.130.reload, i64* %sv_1.127.reg2mem\n br i1 %45, label LBL_17, label LBL_10\n LBL_10:\n %46 = add i32 %sv_5.132.reload, 1\n %47 = add i64 %sv_3.136.reload, 24\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 %46, i32* %sv_5.0.reg2mem\n store i32 %sv_0.041.reload, i32* %sv_4.0.reg2mem\n store i64 %47, i64* %sv_3.0.reg2mem\n store i64 %storemerge542.reload, i64* %sv_2.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %48 = load i32, i32* %11, align 4\n %49 = add i32 %48, 4095\n %50 = add i32 %48, 8190\n %51 = icmp slt i32 %49, 0\n %52 = select i1 %51, i32 %50, i32 %49\n %53 = ashr i32 %52, 12\n %54 = sext i32 %53 to i64\n %55 = add i64 %sv_1.0.reload, %54\n %56 = add nuw nsw i32 %sv_0.041.reload, 1\n %57 = add i64 %storemerge542.reload, 24\n %58 = icmp slt i32 %56, %0\n store i64 %57, i64* %storemerge542.reg2mem\n store i32 %56, i32* %sv_0.041.reg2mem\n store i64 %storemerge542.reload, i64* %sv_7.040.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.138.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.136.reg2mem\n store i32 %sv_4.0.reload, i32* %sv_4.134.reg2mem\n store i32 %sv_5.0.reload, i32* %sv_5.132.reg2mem\n store i32 %20, i32* %sv_6.031.reg2mem\n store i64 %55, i64* %sv_1.130.reg2mem\n br i1 %58, label LBL_3, label LBL_12\n LBL_12:\n %phitmp = and i64 %19, 4294967295\n store i64 %55, i64* %sv_1.1.lcssa.reg2mem\n store i64 %phitmp, i64* %sv_6.0.lcssa.reg2mem\n store i32 %sv_5.0.reload, i32* %sv_5.1.lcssa.reg2mem\n store i32 %sv_4.0.reload, i32* %sv_4.1.lcssa.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.1.lcssa.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.1.lcssa.reg2mem\n store i32 %56, i32* %sv_0.0.lcssa.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %sv_2.1.lcssa.reload = load i64, i64* %sv_2.1.lcssa.reg2mem\n %sv_3.1.lcssa.reload = load i64, i64* %sv_3.1.lcssa.reg2mem\n %sv_4.1.lcssa.reload = load i32, i32* %sv_4.1.lcssa.reg2mem\n %sv_6.0.lcssa.reload = load i64, i64* %sv_6.0.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n %59 = sub i32 %sv_0.0.lcssa.reload, %sv_4.1.lcssa.reload\n %60 = zext i32 %59 to i64\n %61 = call i64 @FUNC(i64 %sv_2.1.lcssa.reload, i64 %60, i64 %sv_3.1.lcssa.reload, i64 %sv_1.1.lcssa.reload, i64 %sv_6.0.lcssa.reload)\n %62 = trunc i64 %61 to i32\n %63 = icmp slt i32 %62, 0\n br i1 %63, label LBL_13.LBL_17_crit_edge, label LBL_15\n LBL_14:\n %.pre = sext i32 %spec.select to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %sv_1.1.lcssa.reload, i64* %sv_1.127.reg2mem\n br label LBL_17\n LBL_15:\n %sv_5.1.lcssa.reload = load i32, i32* %sv_5.1.lcssa.reg2mem\n %64 = add i32 %sv_5.1.lcssa.reload, 1\n %65 = call i64 @FUNC()\n %66 = icmp slt i32 %64, %0\n store i32 %64, i32* %rax.0.shrunk.reg2mem\n br i1 %66, label LBL_16, label LBL_23\n LBL_16:\n %67 = add i64 %sv_3.1.lcssa.reload, 40\n %68 = inttoptr i64 %67 to i32*\n store i32 0, i32* %68, align 4\n store i32 %64, i32* %rax.0.shrunk.reg2mem\n br label LBL_23\n LBL_17:\n %sv_1.127.reload = load i64, i64* %sv_1.127.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %69 = call i64 @FUNC()\n %70 = trunc i64 %arg4 to i32\n %71 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %3, i32 %0, i32 %70)\n %72 = load i32, i32* @gv_0, align 4\n %73 = load i32, i32* @gv_3, align 4\n %74 = or i32 %73, %72\n %75 = icmp eq i32 %74, 0\n br i1 %75, label LBL_19, label LBL_18\n LBL_18:\n %76 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %3, i32 %0, i32 %70)\n %77 = trunc i64 %76 to i32\n %78 = icmp slt i32 %77, 1\n store i32 %77, i32* %rax.0.shrunk.reg2mem\n br i1 %78, label LBL_19, label LBL_23\n LBL_19:\n %79 = load i32, i32* @gv_4, align 4\n %80 = icmp eq i32 %79, 0\n br i1 %80, label LBL_21, label LBL_20\n LBL_20:\n %81 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i64 %sv_1.127.reload)\n unreachable\n LBL_21:\n %82 = mul i64 %sv_1.127.reload, 4096\n %83 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %82, i32 %70)\n store i64 %3, i64* %storemerge29.reg2mem\n store i32 0, i32* %sv_0.128.reg2mem\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_22, label LBL_23\n LBL_22:\n %sv_0.128.reload = load i32, i32* %sv_0.128.reg2mem\n %storemerge29.reload = load i64, i64* %storemerge29.reg2mem\n %84 = load i64, i64* @gv_6, align 8\n %85 = inttoptr i64 %storemerge29.reload to i64*\n store i64 %84, i64* %85, align 8\n %86 = add nuw nsw i32 %sv_0.128.reload, 1\n %87 = add i64 %storemerge29.reload, 24\n %exitcond = icmp eq i32 %86, %0\n store i64 %87, i64* %storemerge29.reg2mem\n store i32 %86, i32* %sv_0.128.reg2mem\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %exitcond, label LBL_23, label LBL_22\n LBL_23:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %70, { 1, 0, 2 }\n uselistorder i64 %.pre-phi.reload, { 1, 0, 2 }\n uselistorder i64 %sv_1.127.reload, { 1, 0 }\n uselistorder i64 %sv_7.040.reload, { 1, 0 }\n uselistorder i32 %sv_0.041.reload, { 1, 0, 2, 3 }\n uselistorder i64 %sv_2.138.reload, { 2, 1, 0 }\n uselistorder i64 %sv_3.136.reload, { 3, 2, 1, 0 }\n uselistorder i32 %sv_4.134.reload, { 3, 1, 0, 2 }\n uselistorder i32 %sv_5.132.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.130.reload, { 0, 3, 2, 1 }\n uselistorder i64 %storemerge542.reload, { 1, 3, 0, 2, 5, 4 }\n uselistorder i64 %3, { 0, 6, 7, 3, 4, 5, 1, 2 }\n uselistorder i32 %0, { 5, 4, 3, 2, 0, 1, 6 }\n uselistorder i64* %storemerge542.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.041.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_7.040.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.138.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_3.136.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_4.134.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_5.132.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_6.031.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.130.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_5.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_4.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_3.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_1.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_6.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_5.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_4.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_3.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.127.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge29.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.128.reg2mem, { 2, 0, 1 }\n uselistorder i64 ()* @flush_gart, { 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder %_IO_FILE** @gv_1, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 0, { 0, 1, 3, 19, 12, 26, 27, 20, 21, 22, 23, 13, 14, 24, 25, 7, 8, 9, 10, 4, 5, 6, 11, 15, 2, 28, 16, 17, 18 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vfio_bar_quirk_teardown_2560", "fun_name": "vfio_bar_quirk_teardown", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 28\n %2 = add i64 %1, %0\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %2 to i64*\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %5, i64 %5)\n %8 = call i64 @FUNC(i64 %5)\n %9 = load i64, i64* %6, align 8\n %10 = call i64 @FUNC(i64 %9)\n br label LBL_2\n LBL_3:\n ret i64 %2\n\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %2, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opdiv_6436", "fun_name": "opdiv", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i32* %arg1 to i64\n %5 = or i64 %2, %1\n %6 = trunc i64 %5 to i32\n store i32 %6, i32* %arg1, align 4\n %7 = call i64 @FUNC(i64 %4, i64 1)\n %8 = call i64 @FUNC(i64 %3, i64 1)\n %9 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = zext i32 %11 to i64\n %14 = add i64 %4, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = ashr i32 %16, 31\n %18 = zext i32 %16 to i64\n %19 = zext i32 %17 to i64\n %20 = mul i64 %19, 4294967296\n %21 = or i64 %20, %18\n %22 = sdiv i64 %21, %13\n %23 = trunc i64 %22 to i32\n store i32 %23, i32* %15, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @checktype, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__fimc_md_create_flite_source_links_18131", "fun_name": "__fimc_md_create_flite_source_links", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.11.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = mul i64 %indvars.iv.reload, 8\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %4, i64 0, i64 %4, i64 0, i64 1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i32 %7, i32* %sv_0.0.reg2mem\n store i32 %7, i32* %sv_0.2.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %10 = icmp ult i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %10, label LBL_1, label LBL_4\n LBL_4:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %11 = zext i32 %sv_0.2.reload to i64\n ret i64 %11\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.11.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "patch_cs420x_18300", "fun_name": "patch_cs420x", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = inttoptr i64 %0 to i32*\n store i64 %0, i64* %arg1, align 8\n store i32 4660, i32* %4, align 4\n %5 = load i64, i64* @gv_0, align 8\n %6 = load i64, i64* @gv_1, align 8\n %7 = load i64, i64* @gv_2, align 8\n %8 = call i64 @FUNC(i64 %3, i64 %7, i64 %6, i64 %5)\n %9 = call i64 @FUNC(i64 %3, i64 0)\n %10 = call i64 @FUNC(i64 %3)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = load i64, i64* @gv_3, align 8\n %14 = add i64 %3, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = call i64 @FUNC(i64 %3, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %17 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %arg1, align 8\n %18 = and i64 %10, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 0, 1, 5, 4, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @snd_hda_apply_fixup, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "internal_add_error_12716", "fun_name": "internal_add_error", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i64*\n %.reg2mem = alloca i8\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 16)\n %2 = trunc i64 %1 to i8\n %3 = trunc i64 %0 to i8\n %4 = icmp eq i8 %3, -1\n %5 = icmp eq i1 %4, false\n %6 = add i64 %0, 1\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = icmp eq i8 %8, -1\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([26 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %10 = add i64 %rdi.0.reload, 1\n %11 = inttoptr i64 %10 to i8*\n store i8 %2, i8* %11, align 1\n %12 = inttoptr i64 %rdi.0.reload to i8*\n store i8 %2, i8* %12, align 1\n %.pre1 = urem i64 %1, 256\n %.pre2 = add i64 %rdi.0.reload, 8\n %.pre4 = inttoptr i64 %.pre2 to i64*\n store i64* %.pre4, i64** %.pre-phi5.reg2mem\n store i64 %.pre1, i64* %.pre-phi.reg2mem\n br label LBL_7\n LBL_4:\n %13 = icmp eq i1 %9, false\n store i64 %0, i64* %rdi.1.reg2mem\n store i8 %8, i8* %.reg2mem\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i8, i8* inttoptr (i64 add (i64 ptrtoint ([26 x i8]* @gv_3 to i64), i64 1) to i8*), align 1\n store i64 ptrtoint ([26 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem\n store i8 %.pre, i8* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i8, i8* %.reg2mem\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %14 = add i64 %rdi.1.reload, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = zext i8 %.reload to i64\n %18 = add i64 %16, %17\n %19 = urem i64 %1, 256\n %20 = inttoptr i64 %18 to i64*\n store i64 %19, i64* %20, align 8\n %21 = add i64 %rdi.1.reload, 1\n %22 = inttoptr i64 %21 to i8*\n store i8 %2, i8* %22, align 1\n store i64* %15, i64** %.pre-phi5.reg2mem\n store i64 %19, i64* %.pre-phi.reg2mem\n br label LBL_7\n LBL_7:\n %23 = ptrtoint i64* %arg2 to i64\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem\n %24 = load i64, i64* %.pre-phi5.reload, align 8\n %25 = add i64 %24, %.pre-phi.reload\n %26 = inttoptr i64 %25 to i64*\n store i64 %23, i64* %26, align 8\n %27 = add i64 %25, 8\n %28 = inttoptr i64 %27 to i64*\n store i64 -1, i64* %28, align 8\n ret i64 %23\n\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64 %rdi.0.reload, { 2, 0, 1 }\n uselistorder i1 %9, { 1, 0 }\n uselistorder i8 %2, { 2, 0, 1 }\n uselistorder i64** %.pre-phi5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder [26 x i8]* @gv_3, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder [26 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 1, { 2, 0, 4, 3, 1, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "test_dealloc_partial_1970", "fun_name": "test_dealloc_partial", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.reg2mem3 = alloca i64\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n store i64 0, i64* %sv_1, align 8\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %2)\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0, i64 0, i64* nonnull %sv_1)\n %8 = call i64 @FUNC(i64 %5)\n %9 = call i64 @FUNC(i64 %0)\n %10 = load i64, i64* %sv_0, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %.reg2mem\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %13 = inttoptr i64 %.reload to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %.reg2mem3\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 84, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n %.pre1 = load i64, i64* %sv_0, align 8\n %.phi.trans.insert = inttoptr i64 %.pre1 to i64*\n %.pre2 = load i64, i64* %.phi.trans.insert, align 8\n store i64 %.pre2, i64* %.reg2mem3\n br label LBL_4\n LBL_4:\n %.reload4 = load i64, i64* %.reg2mem3\n %17 = inttoptr i64 %.reload4 to i8*\n %18 = call i32 @strcmp(i8* %17, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %20 = load i64, i64* %sv_0, align 8\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 86, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %25 = call i64 @FUNC(i64* nonnull %sv_1)\n %26 = load i64, i64* %sv_0, align 8\n %27 = call i64 @FUNC(i64 %26)\n ret i64 %27\n\n uselistorder i64* %sv_0, { 3, 4, 0, 1, 5, 2, 6 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem3, { 0, 2, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @QOBJECT, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_ctl_id_hash_5822", "fun_name": "get_ctl_id_hash", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = mul nsw i64 %3, 31\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = sext i32 %7 to i64\n %9 = add nsw i64 %4, %8\n %10 = mul nsw i64 %9, 31\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = sext i32 %13 to i64\n %15 = add nsw i64 %10, %14\n %16 = add i64 %2, 12\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %15, i64* %sv_0.01.reg2mem\n br label LBL_2\n LBL_1:\n %17 = mul i64 %sv_0.01.reload, 31\n %18 = sext i8 %25 to i64\n %19 = add i64 %17, %18\n %20 = add nuw i32 %storemerge2.reload, 1\n %21 = icmp ugt i32 %storemerge2.reload, 30\n store i32 %20, i32* %storemerge2.reg2mem\n store i64 %19, i64* %sv_0.01.reg2mem\n store i64 %19, i64* %sv_0.0.lcssa.reg2mem\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %22 = sext i32 %storemerge2.reload to i64\n %23 = add i64 %16, %22\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp eq i8 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %sv_0.01.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %27, label LBL_1, label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %28 = mul i64 %sv_0.0.lcssa.reload, 31\n %29 = add i64 %2, 44\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = sext i32 %31 to i64\n %33 = add i64 %28, %32\n %34 = and i64 %33, 9223372036854775807\n ret i64 %34\n\n uselistorder i8 %25, { 1, 0 }\n uselistorder i32 %storemerge2.reload, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 31, { 1, 0, 2, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ossl_policy_cache_set_mapping_13323", "fun_name": "ossl_policy_cache_set_mapping", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = add i64 %arg1, 16\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_1, label LBL_14\n LBL_1:\n %7 = call i64 @FUNC(i64 %arg2)\n %8 = icmp sgt i64 %7, 0\n store i64 1, i64* %sv_0.01.reg2mem\n br i1 %8, label LBL_2, label LBL_16\n LBL_2:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = inttoptr i64 %2 to i64*\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %12 = zext i32 %storemerge2.reload to i64\n %13 = call i64 @FUNC(i64 %arg2, i64 %12)\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_14, label LBL_4\n LBL_4:\n %19 = add i64 %13, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_14\n LBL_5:\n %26 = load i64, i64* %20, align 8\n %27 = call i64 @FUNC(i64 %2, i64 %26)\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_10, label LBL_6\n LBL_6:\n %30 = load i64, i64* %10, align 8\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_13, label LBL_7\n LBL_7:\n %32 = add i64 %30, 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = urem i32 %34, 2\n %36 = zext i32 %35 to i64\n %37 = load i64, i64* %20, align 8\n %38 = call i64 @FUNC(i64 0, i64 %37, i64 %36)\n %39 = icmp eq i64 %38, 0\n store i64 0, i64* %sv_0.01.reg2mem\n br i1 %39, label LBL_16, label LBL_8\n LBL_8:\n %40 = load i64, i64* %10, align 8\n %41 = add i64 %40, 16\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i64 %38, 16\n %45 = inttoptr i64 %44 to i64*\n store i64 %43, i64* %45, align 8\n %46 = add i64 %38, 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = or i32 %48, 12\n store i32 %49, i32* %47, align 4\n %50 = load i64, i64* %11, align 8\n %51 = call i64 @FUNC(i64 %50, i64 %38)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n store i64 %38, i64* %sv_1.0.reg2mem\n br i1 %54, label LBL_11, label LBL_9\n LBL_9:\n %55 = call i64 @FUNC(i64 %38)\n store i64 0, i64* %sv_0.01.reg2mem\n br label LBL_16\n LBL_10:\n %56 = add i64 %27, 8\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = or i32 %58, 2\n store i32 %59, i32* %57, align 4\n store i64 %27, i64* %sv_1.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %60 = load i64, i64* %14, align 8\n %61 = inttoptr i64 %sv_1.0.reload to i64*\n %62 = load i64, i64* %61, align 8\n %63 = call i64 @FUNC(i64 %62, i64 %60)\n %64 = trunc i64 %63 to i32\n %65 = icmp eq i32 %64, 0\n store i64 0, i64* %sv_0.01.reg2mem\n br i1 %65, label LBL_16, label LBL_12\n LBL_12:\n store i64 0, i64* %14, align 8\n br label LBL_13\n LBL_13:\n %66 = add i32 %storemerge2.reload, 1\n %67 = call i64 @FUNC(i64 %arg2)\n %68 = sext i32 %66 to i64\n %69 = icmp sgt i64 %67, %68\n store i32 %66, i32* %storemerge2.reg2mem\n store i64 1, i64* %sv_0.01.reg2mem\n br i1 %69, label LBL_3, label LBL_16\n LBL_14:\n %70 = add i64 %arg1, 8\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = call i64 @FUNC(i64 %72)\n %74 = trunc i64 %73 to i32\n %75 = icmp eq i32 %74, 0\n store i64 4294967295, i64* %sv_0.01.reg2mem\n br i1 %75, label LBL_16, label LBL_15\n LBL_15:\n %76 = bitcast i64* %rdi to i32*\n %77 = load i32, i32* %76, align 8\n %78 = or i32 %77, 16\n %79 = inttoptr i64 %arg1 to i32*\n store i32 %78, i32* %79, align 4\n %80 = load i64, i64* %71, align 8\n %81 = call i64 @FUNC(i64 %80)\n store i64 4294967295, i64* %sv_0.01.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %82 = call i64 @FUNC(i64 %arg2, i64 4198997)\n ret i64 %sv_0.01.reload\n\n uselistorder i64 %38, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 0, 7, 6, 3, 1, 5, 2, 4 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64)* @OBJ_obj2nid, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6, 7 }\n uselistorder i64 (i64)* @sk_POLICY_MAPPING_num, { 2, 0, 1 }\n uselistorder i64 %arg2, { 1, 3, 2, 0, 4 }\n uselistorder label LBL_16, { 5, 6, 2, 0, 4, 1, 3 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lookup_4024", "fun_name": "lookup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n store i32 0, i32* %sv_3, align 4\n store i64 0, i64* %sv_2, align 8\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i8* @strrchr(i8* %0, i32 47)\n %2 = icmp eq i8* %1, null\n %3 = ptrtoint i8* %1 to i64\n %4 = add i64 %3, 1\n %storemerge = select i1 %2, i64 %arg1, i64 %4\n %5 = bitcast i64* %sv_1 to i8*\n %6 = inttoptr i64 %storemerge to i8*\n %7 = call i8* @strncpy(i8* nonnull %5, i8* %6, i32 4096)\n %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i8* %0)\n %9 = call i8* @strrchr(i8* nonnull %5, i32 46)\n %10 = icmp eq i8* %9, null\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n store i8 0, i8* %9, align 1\n br label LBL_2\n LBL_2:\n %11 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_1)\n br label LBL_4\n LBL_4:\n %15 = icmp eq i64 %arg2, 0\n %16 = icmp eq i1 %15, false\n store i64 %arg2, i64* %sv_0.03.reg2mem\n br i1 %16, label LBL_5, label LBL_9\n LBL_5:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %17 = inttoptr i64 %sv_0.03.reload to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i32 %18, %arg3\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = add i64 %sv_0.03.reload, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC(i64 %23, i64* nonnull %sv_1, i32* nonnull %sv_3, i64* nonnull %sv_2)\n br label LBL_8\n LBL_8:\n %26 = add i64 %sv_0.03.reload, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %sv_0.03.reg2mem\n br i1 %30, label LBL_5, label LBL_9\n LBL_9:\n %31 = load i64, i64* %sv_2, align 8\n %32 = inttoptr i64 %31 to i64*\n call void @free(i64* %32)\n %33 = load i32, i32* %sv_3, align 4\n %34 = icmp ne i32 %33, 0\n %35 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %36 = icmp eq i32 %35, 0\n %or.cond = icmp eq i1 %34, %36\n br i1 %or.cond, label LBL_12, label LBL_10\n LBL_10:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %36, label LBL_13, label LBL_11\n LBL_11:\n %37 = zext i32 %33 to i64\n %38 = icmp slt i32 %33, 2\n store i64 %37, i64* %rax.0.reg2mem\n br i1 %38, label LBL_13, label LBL_12\n LBL_12:\n %39 = call i32 @putchar(i32 10)\n %40 = sext i32 %39 to i64\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %36, { 1, 0 }\n uselistorder i32 %33, { 1, 0, 2 }\n uselistorder i64 %sv_0.03.reload, { 0, 2, 1 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 2, 0, 1, 3 }\n uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i32 0, { 0, 3, 2, 4, 1 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "of_get_next_available_child_4007", "fun_name": "of_get_next_available_child", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge1.lcssa.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1)\n %5 = icmp eq i64 %arg2, 0\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %6 = add i64 %arg1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n store i64 %8, i64* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %9 = icmp eq i64 %storemerge2.reload, 0\n %10 = icmp eq i1 %9, false\n store i64 %storemerge2.reload, i64* %storemerge13.reg2mem\n store i64 %storemerge2.reload, i64* %storemerge1.lcssa.reg2mem\n br i1 %10, label LBL_4, label LBL_7\n LBL_4:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %11 = call i64 @FUNC(i64 %storemerge13.reload)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = call i64 @FUNC(i64 %storemerge13.reload)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %storemerge13.reload, i64* %storemerge1.lcssa.reg2mem\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = inttoptr i64 %storemerge13.reload to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %storemerge13.reg2mem\n store i64 %18, i64* %storemerge1.lcssa.reg2mem\n br i1 %20, label LBL_4, label LBL_7\n LBL_7:\n %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem\n %21 = call i64 @FUNC(i64 %arg2)\n %22 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1)\n store i64 %storemerge1.lcssa.reload, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge13.reload, { 3, 0, 1, 2 }\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge1.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ip6_append_data_mtu_13728", "fun_name": "ip6_append_data_mtu", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i32 %arg3, i32* %arg4, i32* %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 2\n %5 = zext i32 %4 to i64\n %6 = icmp eq i32 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_8, label LBL_1\n LBL_1:\n %8 = trunc i64 %2 to i32\n %9 = icmp eq i32* %arg4, null\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = ptrtoint i32* %arg5 to i64\n %12 = add i64 %11, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sub i32 %8, %14\n store i32 %15, i32* %storemerge6.reg2mem\n br label LBL_7\n LBL_3:\n %16 = trunc i64 %arg6 to i8\n %17 = icmp eq i8 %16, 0\n %18 = ptrtoint i32* %arg5 to i64\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %25 = add i64 %18, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %27)\n store i64 %28, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %29 = and i64 %storemerge.reload, 4294967295\n %30 = and i64 %2, 4294967295\n %31 = call i64 @FUNC(i64 %30, i64 %29)\n %32 = trunc i64 %31 to i32\n store i32 %32, i32* %storemerge6.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n store i32 %storemerge6.reload, i32* %arg1, align 4\n %33 = sub i32 %8, %arg3\n %34 = and i32 %33, -8\n %35 = add i32 %34, %arg3\n %36 = ptrtoint i32* %arg2 to i64\n store i32 %35, i32* %arg2, align 4\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %18, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32* %arg5, { 1, 0 }\n uselistorder i32* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drm_gtf_modes_for_range_18563", "fun_name": "drm_gtf_modes_for_range", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.11.reg2mem = alloca i32\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n store i32 0, i32* %sv_0.11.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = mul nsw i64 %.reload, 12\n %6 = add i64 %5, ptrtoint (i32** @gv_0 to i64)\n %7 = add i64 %5, add (i64 ptrtoint (i32** @gv_0 to i64), i64 8)\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %5, add (i64 ptrtoint (i32** @gv_0 to i64), i64 4)\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = inttoptr i64 %6 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = call i64 @FUNC(i64 %2, i32 %14, i32 %12, i32 %9, i64 0, i64 0, i32 %storemerge2.reload)\n %16 = call i64 @FUNC(i64 %15, i64 %1, i64 %0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC(i64 %2, i64 %15)\n store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %21 = call i64 @FUNC(i64 %2, i64 %15)\n %22 = add i32 %sv_0.11.reload, 1\n store i32 %22, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %23 = add i32 %storemerge2.reload, 1\n %24 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %25 = zext i32 %24 to i64\n %26 = sext i32 %23 to i64\n %27 = icmp slt i64 %26, %25\n store i64 %26, i64* %.reg2mem\n store i32 %23, i32* %storemerge2.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %27, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %28 = zext i32 %sv_0.1.lcssa.reload to i64\n ret i64 %28\n\n uselistorder i32 %sv_0.11.reload, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.11.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 5, 0, 1, 2, 3, 4 }\n uselistorder i32* inttoptr (i64 4210740 to i32*), { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ahci_unmap_fis_address_9467", "fun_name": "ahci_unmap_fis_address", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0))\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = and i32 %12, -2\n store i32 %13, i32* %11, align 4\n %14 = load i64, i64* %4, align 8\n %15 = add i64 %2, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %14, i64 256, i64 0, i64 256)\n store i64 0, i64* %4, align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 256, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_set_events_1563", "fun_name": "vmxnet3_set_events", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i32\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i32 %0)\n %2 = and i64 %arg2, 4294967295\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mmap_read_frame_3399", "fun_name": "mmap_read_frame", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = alloca i32\n %rax.0.reg2mem = alloca i64\n %3 = load i64, i64* %1\n %4 = load i64, i64* %1\n %5 = load i64, i64* %1\n %6 = load i64, i64* %1\n %7 = load i128, i128* %0\n %8 = load i32, i32* %2\n %sv_0 = alloca i64, align 8\n %9 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 88)\n %10 = trunc i64 %5 to i32\n %11 = call i32 (i32, i32, ...) @ioctl(i32 %10, i32 -1067952623)\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_1\n LBL_1:\n %14 = call i32* @__errno_location()\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 11\n br i1 %16, label LBL_2, label LBL_3\n LBL_2:\n %17 = call i32 (i32, i32, ...) @ioctl(i32 %10, i32 -1067952623)\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_1\n LBL_3:\n %20 = call i32* @__errno_location()\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 4\n br i1 %22, label LBL_2, label LBL_4\n LBL_4:\n %23 = call i32* @__errno_location()\n %24 = load i32, i32* %23, align 4\n %25 = call i8* @strerror(i32 %24)\n %26 = ptrtoint i8* %25 to i64\n %27 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 %4, i64 %3)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %28 = load i64, i64* %sv_0, align 8\n %29 = trunc i64 %28 to i32\n %30 = ptrtoint i32* %arg1 to i64\n %31 = add i64 %30, 4\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp ugt i32 %33, %29\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %35 = add i64 %30, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %8, %37\n br i1 %38, label LBL_9, label LBL_8\n LBL_8:\n %39 = zext i32 %37 to i64\n %40 = zext i32 %8 to i64\n %41 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_4, i64 0, i64 0), i64 %40, i64 %39, i64 %3)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %42 = add i64 %30, 16\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = load i64, i64* %sv_0, align 8\n %46 = mul i64 %45, 8\n %47 = and i64 %46, 34359738360\n %48 = add i64 %47, %44\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = inttoptr i64 %arg2 to i64*\n %52 = inttoptr i64 %50 to i64*\n %53 = call i64* @memcpy(i64* %51, i64* %52, i32 %8)\n %54 = trunc i128 %7 to i64\n %55 = mul i64 %54, 1000000\n %56 = add i64 %55, %6\n store i64 %56, i64* %arg3, align 8\n %57 = call i32 (i32, i32, ...) @ioctl(i32 %10, i32 -1067952625)\n %58 = icmp slt i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_11, label LBL_10\n LBL_10:\n %60 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i64 3227014671, i64 %4, i64 %3)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %61 = add i64 %30, 24\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = load i64, i64* %sv_0, align 8\n %65 = mul i64 %64, 4\n %66 = and i64 %65, 17179869180\n %67 = add i64 %66, %63\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = zext i32 %69 to i64\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %30, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0, { 1, 2, 3, 0 }\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %1, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i32 (i32, i32, ...)* @ioctl, { 2, 1, 0 }\n uselistorder i32 -1067952623, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_get_stsc_samples_15345", "fun_name": "mov_get_stsc_samples", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %.pre-phi8.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = and i64 %1, 4294967295\n %4 = and i64 %arg2, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = ashr exact i64 %sext, 29\n %12 = add i64 %10, %11\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = inttoptr i64 %12 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = sub i32 %15, %17\n store i64 %10, i64* %.reg2mem\n store i64 %11, i64* %.pre-phi8.reg2mem\n store i32 %18, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %19 = add i64 %2, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = ashr exact i64 %sext, 29\n %26 = add i64 %24, %25\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %.neg6 = add i32 %21, 1\n %29 = sub i32 %.neg6, %28\n store i64 %24, i64* %.reg2mem\n store i64 %25, i64* %.pre-phi8.reg2mem\n store i32 %29, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %.pre-phi8.reload = load i64, i64* %.pre-phi8.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %30 = or i64 %.pre-phi8.reload, 4\n %31 = add i64 %.reload, %30\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = mul i32 %33, %storemerge.reload\n %35 = zext i32 %34 to i64\n ret i64 %35\n\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi8.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "export_11420", "fun_name": "export", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = trunc i64 %1 to i32\n %4 = icmp slt i32 %3, 2\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %8 = trunc i64 %arg3 to i32\n %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 1024, i64 %7, i32 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = zext i1 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n br label LBL_3\n LBL_2:\n %14 = bitcast i64* %sv_0 to i8*\n %15 = inttoptr i64 %7 to i8*\n %16 = call i8* @strcpy(i8* nonnull %14, i8* %15)\n br label LBL_3\n LBL_3:\n %17 = ptrtoint i64* %arg2 to i64\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 1\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %2, i64 %17, i64* nonnull %sv_0)\n store i64 %23, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %24 = call i64 @FUNC(i64 %2, i64 %17, i64* nonnull %sv_0)\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jslGetTokenString_7292", "fun_name": "jslGetTokenString", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32*, i32** @gv_0, align 8\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %3, i64 %arg2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %2, i64 %1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = icmp eq i32 %5, 2\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC(i64 %3, i64 %arg2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %12, i64 %2, i64 %1)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %14 = zext i32 %5 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %3, i64 %arg2)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @espruino_snprintf, { 1, 0 }\n uselistorder i64 ()* @jslGetTokenValueAsString, { 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_metadata_size_3562", "fun_name": "get_metadata_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i64 %1, %0\n %3 = add i64 %0, 4\n %4 = bitcast i32* %sv_1 to i64*\n %5 = bitcast i32* %sv_2 to i64*\n store i64 %3, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %6 = sub i64 %2, %sv_0.0.reload\n %7 = icmp sgt i64 %6, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_5\n LBL_2:\n %8 = call i64 @FUNC(i64 %sv_0.0.reload, i64* nonnull %4, i64 0, i64* nonnull %5)\n %9 = add i64 %sv_0.0.reload, 4\n %10 = sub i64 %2, %9\n %11 = load i32, i32* %sv_2, align 4\n %12 = sext i32 %11 to i64\n %13 = icmp slt i64 %10, %12\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_3\n LBL_3:\n %14 = add i64 %9, %12\n %15 = load i32, i32* %sv_1, align 4\n %16 = icmp eq i32 %15, 0\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_1, label LBL_4\n LBL_4:\n %17 = sub i64 %14, %0\n %18 = and i64 %17, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prom_init_5107", "fun_name": "prom_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %3, i64 0, i64 %arg1)\n %5 = icmp eq i64 %arg2, 0\n %6 = icmp eq i1 %5, false\n %spec.select = select i1 %6, i8* %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0)\n %7 = ptrtoint i8* %spec.select to i64\n %8 = call i64 @FUNC(i64 0, i64 %7)\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_4, label LBL_1\n LBL_1:\n %10 = add i64 %arg1, -1048576\n %11 = call i64 @FUNC(i64 %8, i64 %10, i64 0, i64 0, i64 0, i64 1)\n %12 = trunc i64 %11 to i32\n %13 = icmp ult i32 %12, 2097153\n br i1 %13, label LBL_2, label LBL_3\n LBL_2:\n %14 = call i64 @FUNC(i64 %8)\n store i64 %14, i64* %.reg2mem\n br label LBL_5\n LBL_3:\n %15 = call i64 @FUNC(i64 %8, i64 %arg1, i64 2097152)\n %16 = trunc i64 %15 to i32\n %17 = call i64 @FUNC(i64 %8)\n %18 = icmp ult i32 %16, 2097153\n store i64 %17, i64* %.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i8* %spec.select)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n ret i64 %.reload\n\n uselistorder i64 %8, { 2, 1, 0, 3, 4 }\n uselistorder i8* %spec.select, { 1, 0 }\n uselistorder i64 (i64)* @qemu_free, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfssvc_decode_writeargs_11344", "fun_name": "nfssvc_decode_writeargs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64*\n %.lcssa1.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.02.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = call i64 @FUNC(i64 %arg2, i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = add i64 %1, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = call i32 @ntohl(i32 %6)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %1, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = call i32 @ntohl(i32 %12)\n %14 = add i64 %0, 12\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = icmp ult i32 %13, 8193\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_8\n LBL_2:\n %17 = ptrtoint i64* %arg1 to i64\n %18 = add i64 %1, 16\n %19 = trunc i64 %18 to i32\n %20 = sub i32 %19, %12\n %21 = add i64 %17, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = trunc i64 %23 to i32\n %25 = mul i32 %24, 2\n %26 = sub i32 %25, %20\n %27 = add i32 %13, 3\n %28 = and i32 %27, -4\n %29 = icmp ult i32 %26, %28\n %30 = icmp eq i1 %29, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_3, label LBL_8\n LBL_3:\n %31 = add i64 %17, 16\n %32 = inttoptr i64 %31 to i64*\n store i64 %18, i64* %32, align 8\n %33 = load i64, i64* %22, align 8\n %34 = zext i32 %20 to i64\n %35 = sub i64 %33, %34\n %36 = add i64 %17, 24\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = zext i32 %13 to i64\n %39 = icmp ult i64 %35, %38\n store i32 1, i32* %sv_0.0.lcssa.reg2mem\n store i64 %38, i64* %.lcssa1.reg2mem\n store i64* %37, i64** %.lcssa.reg2mem\n br i1 %39, label LBL_4, label LBL_7\n LBL_4:\n %40 = add i64 %17, 272\n store i64 %35, i64* %.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n store i32 %13, i32* %sv_1.02.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %41 = trunc i64 %.reload to i32\n %42 = sub i32 %sv_1.02.reload, %41\n %43 = add i32 %sv_0.03.reload, 1\n %44 = sext i32 %43 to i64\n %45 = mul i64 %44, 8\n %46 = add i64 %40, %45\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48)\n %50 = mul i64 %44, 16\n %51 = add i64 %50, %31\n %52 = inttoptr i64 %51 to i64*\n store i64 %49, i64* %52, align 8\n %53 = add i64 %51, 8\n %54 = inttoptr i64 %53 to i64*\n store i64 4096, i64* %54, align 8\n %55 = zext i32 %42 to i64\n %56 = add i64 %50, %36\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = icmp ult i64 %58, %55\n store i64 %58, i64* %.reg2mem\n store i32 %43, i32* %sv_0.03.reg2mem\n store i32 %42, i32* %sv_1.02.reg2mem\n br i1 %59, label LBL_5, label LBL_6\n LBL_6:\n %phitmp = add i32 %sv_0.03.reload, 2\n store i32 %phitmp, i32* %sv_0.0.lcssa.reg2mem\n store i64 %55, i64* %.lcssa1.reg2mem\n store i64* %57, i64** %.lcssa.reg2mem\n br label LBL_7\n LBL_7:\n %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem\n %.lcssa1.reload = load i64, i64* %.lcssa1.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n store i64 %.lcssa1.reload, i64* %.lcssa.reload, align 8\n %60 = add i64 %0, 16\n %61 = inttoptr i64 %60 to i32*\n store i32 %sv_0.0.lcssa.reload, i32* %61, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %50, { 1, 0 }\n uselistorder i32 %sv_0.03.reload, { 1, 0 }\n uselistorder i32 %20, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i32 %13, { 0, 1, 3, 2, 4 }\n uselistorder i64 %1, { 2, 1, 0, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.lcssa1.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 16, { 2, 0, 3, 1 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i32 (i32)* @ntohl, { 1, 0 }\n uselistorder i64 0, { 0, 1, 2, 4, 3 }\n uselistorder label LBL_8, { 3, 0, 1, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "node_is_equal_ex_7216", "fun_name": "node_is_equal_ex", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i8* %arg2, null\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = icmp eq i64* %arg1, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_6, label LBL_2\n LBL_2:\n %2 = bitcast i64* %arg1 to i8*\n %3 = call i32 @strcmp(i8* %2, i8* nonnull %arg2)\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_6, label LBL_3\n LBL_3:\n %6 = icmp eq i64 %arg3, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_6, label LBL_4\n LBL_4:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %10 = inttoptr i64 %8 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i8*\n %13 = inttoptr i64 %arg3 to i8*\n %14 = call i32 @strcmp(i8* %12, i8* %13)\n %15 = icmp eq i32 %14, 0\n %16 = zext i1 %15 to i64\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %arg1, { 2, 0, 1 }\n uselistorder label LBL_6, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "m48t59_init_isa_2204", "fun_name": "m48t59_init_isa", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 %arg3)\n %4 = urem i32 %1, 65536\n %5 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i32 %4)\n %6 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i32 %0)\n %7 = call i64 @FUNC(i64 %2)\n %8 = icmp eq i32 %0, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = and i64 %arg1, 4294967295\n %10 = load i64, i64* @gv_4, align 8\n %11 = call i64 @FUNC(i64 %9, i64 4, i64 1, i64 %10, i64 %2)\n %12 = load i64, i64* @gv_5, align 8\n %13 = call i64 @FUNC(i64 %9, i64 4, i64 1, i64 %12, i64 %2)\n br label LBL_2\n LBL_2:\n ret i64 %2\n\n uselistorder i64 %2, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i32)* @qdev_prop_set_uint32, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "getint_10313", "fun_name": "getint", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge5.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge6.lcssa.reg2mem = alloca i64\n %storemerge610.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext3, 32\n %3 = icmp eq i32 %0, 0\n %4 = icmp eq i1 %3, false\n %.pre = trunc i64 %2 to i32\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = icmp eq i32 %.pre, 0\n %6 = icmp slt i32 %.pre, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = trunc i64 %1 to i32\n %11 = icmp ne i32 %10, 0\n %12 = icmp sgt i32 %.pre, 1\n %or.cond = icmp eq i1 %11, %12\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %13 = add i32 %.pre, 7\n %14 = add i32 %.pre, 14\n %15 = icmp slt i32 %13, 0\n %16 = select i1 %15, i32 %14, i32 %13\n %17 = icmp slt i32 %16, 8\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %storemerge6.lcssa.reg2mem\n br i1 %18, label LBL_5, label LBL_8\n LBL_5:\n %19 = ptrtoint i64* %arg1 to i64\n %20 = sdiv i32 %.pre, 16384\n %21 = add nsw i32 %20, -1\n store i32 %21, i32* %.reg2mem\n store i64 0, i64* %storemerge610.reg2mem\n br label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %19)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, -1\n %25 = icmp eq i1 %24, false\n store i64 4294967295, i64* %storemerge5.reg2mem\n br i1 %25, label LBL_7, label LBL_11\n LBL_7:\n %storemerge610.reload = load i64, i64* %storemerge610.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %26 = mul i64 %storemerge610.reload, 256\n %sext7 = mul i64 %22, 4294967296\n %27 = ashr exact i64 %sext7, 32\n %28 = or i64 %27, %26\n %29 = add i32 %.reload, -1\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i32 %29, i32* %.reg2mem\n store i64 %28, i64* %storemerge610.reg2mem\n store i64 %28, i64* %storemerge6.lcssa.reg2mem\n br i1 %31, label LBL_6, label LBL_8\n LBL_8:\n %storemerge6.lcssa.reload = load i64, i64* %storemerge6.lcssa.reg2mem\n %32 = urem i32 %.pre, 32\n %33 = icmp eq i32 %32, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %33, label %36, label %34\n LBL_9:\n %40 = and i64 %2, 4294967295\n %41 = call i64 @FUNC(i64 %37, i64 %40)\n store i64 %41, i64* %arg4, align 8\n store i64 0, i64* %storemerge5.reg2mem\n br label LBL_11\n LBL_10:\n store i64 %37, i64* %arg4, align 8\n store i64 0, i64* %storemerge5.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n ret i64 %storemerge5.reload\n\n uselistorder i64 %37, { 1, 0 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge610.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 -1, { 0, 3, 2, 1 }\n uselistorder label LBL_11, { 2, 1, 0 }\n uselistorder label %36, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_cont_2716", "fun_name": "qmp_cont", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 2)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %0, i64 100)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %9 = call i64 @FUNC(i64 3)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %12, label LBL_9, label LBL_4\n LBL_4:\n %13 = load i64, i64* @gv_0, align 8\n %14 = call i64 @FUNC(i64 %13, i64 0)\n %15 = load i64, i64* @gv_1, align 8\n %16 = ptrtoint i64* %sv_0 to i64\n %17 = call i64 @FUNC(i64 %15, i64 %16)\n %18 = load i64, i64* %sv_0, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %0, i64 %18)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %21 = call i64 @FUNC(i64 4)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_8, label LBL_7\n LBL_7:\n store i32 1, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %24 = call i64 @FUNC()\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 (i64, i64)* @bdrv_iterate, { 1, 0 }\n uselistorder i64 (i64, i64)* @error_set, { 1, 0 }\n uselistorder i64 (i64)* @runstate_check, { 3, 2, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "list_length_6029", "fun_name": "list_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* %sv_2.0.reg2mem\n store i64 %arg2, i64* %sv_1.0.reg2mem\n store i64 %arg2, i64* %sv_0.0.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br label LBL_1\n LBL_1:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %1 = icmp eq i64 %sv_1.0.reload, %rdi.0.reload\n %2 = icmp eq i1 %1, false\n store i32 %sv_2.0.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %2, label LBL_2, label LBL_9\n LBL_2:\n %3 = call i64 @FUNC(i64 %sv_1.0.reload)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = sub i32 -2, %sv_2.0.reload\n store i32 %7, i32* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_4:\n %8 = call i64 @FUNC(i64 %sv_1.0.reload)\n %9 = icmp eq i64 %8, %sv_1.0.reload\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_6, label LBL_5\n LBL_5:\n %11 = or i32 %sv_2.0.reload, 1\n store i32 %11, i32* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_6:\n %12 = call i64 @FUNC(i64 %8)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %16 = sub i32 -3, %sv_2.0.reload\n store i32 %16, i32* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = add i32 %sv_2.0.reload, 2\n %18 = call i64 @FUNC(i64 %8)\n %19 = call i64 @FUNC(i64 %sv_0.0.reload)\n %20 = icmp eq i64 %18, %19\n %21 = icmp eq i1 %20, false\n store i32 %17, i32* %sv_2.0.reg2mem\n store i64 %18, i64* %sv_1.0.reg2mem\n store i64 %19, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %rdi.0.reg2mem\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %21, label LBL_1, label LBL_9\n LBL_9:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %sv_2.0.reload, { 1, 4, 3, 2, 0 }\n uselistorder i64 %sv_1.0.reload, { 2, 3, 0, 1 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 1, 5, 4, 3, 2 }\n uselistorder i64 (i64)* @cdr, { 2, 1, 0 }\n uselistorder i64 (i64)* @is_pair, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_9, { 0, 2, 3, 4, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fsmMkdir_11995", "fun_name": "fsmMkdir", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = urem i32 %0, 4096\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i32 @mkdir(i8* %2, i32 %1)\n %4 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = icmp slt i32 %3, 0\n %7 = icmp eq i1 %6, false\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i32* @__errno_location()\n %9 = load i32, i32* %8, align 4\n %10 = call i8* @strerror(i32 %9)\n %11 = ptrtoint i8* %10 to i64\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %12 = urem i64 %arg2, 4096\n %13 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %12, i64 %storemerge.reload)\n br label LBL_4\n LBL_4:\n %14 = icmp slt i32 %3, 0\n %15 = icmp eq i1 %14, false\n %16 = zext i32 %3 to i64\n %17 = select i1 %15, i64 %16, i64 4294967295\n ret i64 %17\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 4, 3, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_tcg_wait_io_event_2342", "fun_name": "qemu_tcg_wait_io_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0)\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC()\n %12 = call i64 @FUNC(i64 %0)\n ret i64 %12\n\n uselistorder i64 %0, { 1, 3, 2, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64)* @qemu_tcg_should_sleep, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bnx2x_nic_init_4128", "fun_name": "bnx2x_nic_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %4 = trunc i64 %1 to i32\n %5 = and i64 %arg2, 4294967295\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i64 %2)\n %8 = call i64 @FUNC(i64 %2)\n %9 = add i64 %2, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %2, 24\n %16 = call i64 @FUNC(i64 %2, i64 %15, i32 %4, i64 %14, i64 %11, i64 0)\n %17 = call i64 @FUNC(i64 %2)\n %18 = call i64 @FUNC(i64 %2)\n %19 = call i64 @FUNC(i64 %2)\n %20 = call i64 @FUNC(i64 %2)\n %21 = call i64 @FUNC(i64 %2, i64 %5)\n %22 = call i64 @FUNC(i64 %2)\n %23 = call i64 @FUNC(i64 %2)\n %24 = call i64 @FUNC()\n %25 = call i64 @FUNC()\n %26 = call i64 @FUNC(i64 %2)\n %27 = call i64 @FUNC(i64 %2, i64 256)\n %28 = urem i64 %27, 2\n %29 = call i64 @FUNC(i64 %2, i64 %28)\n ret i64 %29\n\n uselistorder i64 %2, { 2, 1, 0, 5, 4, 3, 11, 10, 9, 8, 7, 6, 15, 14, 13, 12, 16 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_vcpu_uninit_8602", "fun_name": "kvm_vcpu_uninit", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = zext i32 %2 to i64\n %4 = call i64 @FUNC(i64 %3, i64 1)\n %5 = and i64 %4, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = call i64 @FUNC(i64 %arg1)\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "anetUnixServer_6784", "fun_name": "anetUnixServer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %4 = inttoptr i64 %arg2 to i8*\n %5 = call i32 @strlen(i8* %4)\n %6 = icmp ult i32 %5, 108\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i32 @strlen(i8* %4)\n %8 = sext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 108, i64 %2, i64 %1)\n br label LBL_4\n LBL_2:\n %10 = call i64 @FUNC(i64 %3, i64 1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, -1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n %14 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 110)\n store i64 1, i64* %sv_1, align 8\n %15 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg2, i64 108)\n %16 = zext i32 %arg3 to i64\n %17 = zext i32 %arg4 to i64\n %18 = call i64 @FUNC(i64 %3, i32 %11, i64* nonnull %sv_1, i64 110, i64 %17, i64 %16)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, -1\n %21 = icmp eq i1 %20, false\n %22 = and i64 %10, 4294967295\n %spec.select = select i1 %21, i64 %22, i64 4294967295\n ret i64 %spec.select\n LBL_4:\n ret i64 4294967295\n\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967295, { 3, 4, 5, 1, 0, 2 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @anetSetError, { 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cdrom_switch_blocksize_212", "fun_name": "cdrom_switch_blocksize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 3)\n store i64 8, i64* %sv_1, align 8\n %2 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 32)\n ret i64 %0\n\n uselistorder i64* %sv_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vcard_emul_replay_insertion_events_1408", "fun_name": "vcard_emul_replay_insertion_events", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %storemerge1.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %4 = call i64 @FUNC(i64 %storemerge1.reload)\n %5 = call i64 @FUNC(i64 %storemerge1.reload)\n %6 = call i64 @FUNC(i64 %4)\n %7 = icmp eq i64 %5, 0\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %storemerge1.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %0)\n ret i64 %9\n\n uselistorder i64 %storemerge1.reload, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_line_2184", "fun_name": "put_line", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.02.reg2mem = alloca i32\n %sv_1.03.reg2mem = alloca i32\n %sv_2.04.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %2 = trunc i64 %arg2 to i32\n %3 = call i64 @FUNC(i64* nonnull %sv_3, i64 %1, i32 %2)\n %4 = trunc i64 %arg3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp slt i32 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n store i32 %4, i32* %.reg2mem\n store i32 0, i32* %sv_2.04.reg2mem\n store i32 -1, i32* %sv_1.03.reg2mem\n br i1 %9, label LBL_1, label LBL_8\n LBL_1:\n %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem\n %sv_2.04.reload = load i32, i32* %sv_2.04.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %10 = sext i32 %sv_2.04.reload to i64\n %11 = mul i64 %10, 4\n %12 = add i64 %11, %0\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sub i32 0, %sv_1.03.reload\n %16 = sub i32 %15, 1\n %17 = icmp sgt i32 %14, 16\n store i32 %14, i32* %sv_0.0.lcssa.reg2mem\n br i1 %17, label LBL_2, label LBL_5\n LBL_2:\n %18 = add i32 %14, -17\n store i32 %14, i32* %sv_0.02.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %19 = call i64 @FUNC(i64* nonnull %sv_3, i64 16, i32 %16)\n %20 = add nsw i32 %sv_0.02.reload, -16\n %21 = icmp sgt i32 %20, 16\n store i32 %20, i32* %sv_0.02.reg2mem\n br i1 %21, label LBL_3, label LBL_4\n LBL_4:\n %22 = and i32 %18, -16\n %23 = add i32 %14, -16\n %24 = sub i32 %23, %22\n store i32 %24, i32* %sv_0.0.lcssa.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %25 = icmp eq i32 %sv_0.0.lcssa.reload, 0\n br i1 %25, label LBL_6, label LBL_7\n LBL_6:\n %26 = add i32 %sv_2.04.reload, 1\n %27 = sub i32 %.reload, %14\n %28 = icmp eq i32 %27, 0\n %29 = icmp slt i32 %27, 0\n %30 = icmp eq i1 %29, false\n %31 = icmp eq i1 %28, false\n %32 = icmp eq i1 %30, %31\n store i32 %27, i32* %.reg2mem\n store i32 %26, i32* %sv_2.04.reg2mem\n store i32 %16, i32* %sv_1.03.reg2mem\n br i1 %32, label LBL_1, label LBL_8\n LBL_7:\n %33 = zext i32 %sv_0.0.lcssa.reload to i64\n %34 = call i64 @FUNC(i64* nonnull %sv_3, i64 %33, i32 %16)\n br label LBL_6\n LBL_8:\n %35 = call i64 @FUNC(i64* nonnull %sv_3)\n ret i64 %35\n\n uselistorder i32 %27, { 0, 2, 1 }\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %16, { 2, 0, 1 }\n uselistorder i32 %14, { 5, 3, 1, 2, 0, 4 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.04.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32 -16, { 1, 0, 2 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i1 false, { 3, 2, 0, 1 }\n uselistorder i32 0, { 5, 6, 4, 1, 0, 2, 3, 7 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtnl_fill_link_ifmap_12268", "fun_name": "rtnl_fill_link_ifmap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %0, i64* %sv_0, align 8\n %2 = call i64 @FUNC(i64 %1, i64 1, i64 40, i64* nonnull %sv_0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %. = select i1 %4, i64 0, i64 4294967284\n ret i64 %.\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qdev_print_devinfo_3488", "fun_name": "qdev_print_devinfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rsi.2.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1)\n %8 = add i64 %5, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n store i64 %6, i64* %rsi.0.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %10, i64* %rsi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %13 = call i64 @FUNC(i64 %5)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 %rsi.0.reload, i64* %rsi.1.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %5)\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %16, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %16, i64* %rsi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %18 = add i64 %5, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n store i64 %rsi.1.reload, i64* %rsi.2.reg2mem\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %20, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %20, i64* %rsi.2.reg2mem\n br label LBL_6\n LBL_6:\n %rsi.2.reload = load i64, i64* %rsi.2.reg2mem\n %23 = add i64 %5, 24\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %rsi.2.reload, i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_8\n LBL_8:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0), i64 %rsi.2.reload, i64 %3, i64 %4, i64 %2, i64 %1)\n ret i64 %28\n\n uselistorder i64 %5, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64 %4, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_printf, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "local_file_exists_4349", "fun_name": "local_file_exists", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 0)\n %2 = icmp eq i64* %arg3, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg3 to i64\n %4 = call i64 @FUNC(i64 0, i64 %3)\n br label LBL_3\n LBL_2:\n %5 = call i64 @FUNC(i64 0, i64 %0)\n br label LBL_3\n LBL_3:\n %6 = call i64 @FUNC(i64 0, i64* nonnull @gv_0)\n %7 = add i64 %0, 24\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %0, 32\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = sub i64 %14, %17\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %21, %17\n %23 = call i64 @FUNC(i64 0, i64 %22, i64 %18)\n br label LBL_6\n LBL_5:\n %24 = add i64 %0, 8\n %25 = call i64 @FUNC(i64 0, i64 %24)\n br label LBL_6\n LBL_6:\n call void @llvm.trap()\n unreachable\n\n uselistorder i64 %0, { 0, 3, 1, 2, 4, 5 }\n uselistorder i64 (i64, i64)* @cherokee_buffer_add_buffer, { 2, 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_on_suback_timeout_5898", "fun_name": "_on_suback_timeout", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg2, null\n %1 = icmp eq i1 %0, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n store i64 0, i64* %arg2, align 8\n store i64 2, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "write_entry_7561", "fun_name": "write_entry", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %5, 40\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n %11 = add i64 %5, 16\n %storemerge = select i1 %10, i64 %11, i64 %5\n %12 = call i64 @FUNC(i64 %storemerge, i64 %4)\n %13 = call i64 @FUNC(i64 %5, i64 %4)\n %14 = urem i64 %13, 2\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_4, label LBL_1\n LBL_1:\n %16 = add i64 %4, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 1\n br i1 %19, label LBL_4, label LBL_2\n LBL_2:\n %20 = add i64 %4, 80\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 5\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i32 %18, i64 %3, i64 %2, i64 %1)\n br label LBL_4\n LBL_4:\n %25 = trunc i64 %13 to i32\n %26 = and i32 %25, 2\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_7, label LBL_5\n LBL_5:\n %28 = add i64 %4, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([8 x i8]* @gv_1 to i64*))\n %33 = load i64, i64* %29, align 8\n %34 = call i64 @FUNC(i64 %storemerge, i64 %33)\n br label LBL_7\n LBL_7:\n %35 = and i32 %25, 4\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_10, label LBL_8\n LBL_8:\n %37 = add i64 %4, 24\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n br i1 %40, label LBL_10, label LBL_9\n LBL_9:\n %41 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([8 x i8]* @gv_2 to i64*))\n %42 = load i64, i64* %38, align 8\n %43 = call i64 @FUNC(i64 %storemerge, i64 %42)\n br label LBL_10\n LBL_10:\n %44 = and i32 %25, 8\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_16, label LBL_11\n LBL_11:\n %46 = add i64 %4, 32\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = icmp eq i64 %48, 0\n br i1 %49, label LBL_13, label LBL_12\n LBL_12:\n %50 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([8 x i8]* @gv_3 to i64*))\n %51 = load i64, i64* %47, align 8\n %52 = call i64 @FUNC(i64 %storemerge, i64 %51)\n br label LBL_16\n LBL_13:\n %53 = add i64 %5, 32\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = icmp eq i32 %55, 0\n br i1 %56, label LBL_16, label LBL_14\n LBL_14:\n %57 = add i64 %5, 36\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = and i32 %59, 8\n %61 = icmp eq i32 %60, 0\n br i1 %61, label LBL_16, label LBL_15\n LBL_15:\n %62 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([12 x i8]* @gv_4 to i64*))\n br label LBL_16\n LBL_16:\n %63 = and i32 %25, 16\n %64 = icmp eq i32 %63, 0\n br i1 %64, label LBL_18, label LBL_17\n LBL_17:\n %65 = add i64 %4, 48\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = add i64 %4, 40\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = trunc i64 %70 to i32\n %72 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i32 %71, i64 %67, i64 %2, i64 %1)\n store i64 %67, i64* %rcx.0.reg2mem\n br label LBL_18\n LBL_18:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %73 = and i32 %25, 32\n %74 = icmp eq i32 %73, 0\n br i1 %74, label LBL_20, label LBL_19\n LBL_19:\n %75 = add i64 %4, 56\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0), i32 %77, i64 %rcx.0.reload, i64 %2, i64 %1)\n br label LBL_20\n LBL_20:\n %79 = and i32 %25, 64\n %80 = icmp eq i32 %79, 0\n br i1 %80, label LBL_22, label LBL_21\n LBL_21:\n %81 = add i64 %4, 64\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n %84 = trunc i64 %83 to i32\n %85 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i32 %84, i64 %rcx.0.reload, i64 %2, i64 %1)\n br label LBL_22\n LBL_22:\n %86 = trunc i64 %13 to i8\n %87 = icmp sgt i8 %86, -1\n br i1 %87, label LBL_24, label LBL_23\n LBL_23:\n %88 = add i64 %4, 72\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = trunc i64 %90 to i32\n %92 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i32 %91, i64 %rcx.0.reload, i64 %2, i64 %1)\n br label LBL_24\n LBL_24:\n store i64 %4, i64* @0, align 8\n switch i64 %4, label LBL_43 [\n i64 1, label LBL_25\n i64 2, label LBL_29\n i64 3, label LBL_31\n i64 4, label LBL_35\n i64 5, label LBL_39\n i64 6, label LBL_41\n ]\n LBL_25:\n %93 = and i32 %25, 256\n %94 = icmp eq i32 %93, 0\n br i1 %94, label LBL_27, label LBL_26\n LBL_26:\n %95 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([11 x i8]* @gv_9 to i64*))\n br label LBL_27\n LBL_27:\n %96 = and i32 %25, 512\n %97 = icmp eq i32 %96, 0\n br i1 %97, label LBL_47, label LBL_28\n LBL_28:\n %98 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([7 x i8]* @gv_10 to i64*))\n %99 = load i64, i64* inttoptr (i64 89 to i64*), align 8\n %100 = call i64 @FUNC(i64 %storemerge, i64 %99)\n br label LBL_47\n LBL_29:\n %101 = and i32 %25, 256\n %102 = icmp eq i32 %101, 0\n br i1 %102, label LBL_47, label LBL_30\n LBL_30:\n %103 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([13 x i8]* @gv_11 to i64*))\n br label LBL_47\n LBL_31:\n %104 = and i32 %25, 256\n %105 = icmp eq i32 %104, 0\n br i1 %105, label LBL_33, label LBL_32\n LBL_32:\n %106 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([11 x i8]* @gv_12 to i64*))\n br label LBL_33\n LBL_33:\n %107 = and i32 %25, 1024\n %108 = icmp eq i32 %107, 0\n br i1 %108, label LBL_47, label LBL_34\n LBL_34:\n %109 = load i64, i64* inttoptr (i64 107 to i64*), align 8\n %110 = load i64, i64* inttoptr (i64 99 to i64*), align 8\n %111 = trunc i64 %110 to i32\n %112 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_13, i64 0, i64 0), i32 %111, i64 %109, i64 %2, i64 %1)\n br label LBL_47\n LBL_35:\n %113 = and i32 %25, 256\n %114 = icmp eq i32 %113, 0\n br i1 %114, label LBL_37, label LBL_36\n LBL_36:\n %115 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([12 x i8]* @gv_14 to i64*))\n br label LBL_37\n LBL_37:\n %116 = and i32 %25, 1024\n %117 = icmp eq i32 %116, 0\n br i1 %117, label LBL_47, label LBL_38\n LBL_38:\n %118 = load i64, i64* inttoptr (i64 108 to i64*), align 8\n %119 = load i64, i64* inttoptr (i64 100 to i64*), align 8\n %120 = trunc i64 %119 to i32\n %121 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_13, i64 0, i64 0), i32 %120, i64 %118, i64 %2, i64 %1)\n br label LBL_47\n LBL_39:\n %122 = and i32 %25, 256\n %123 = icmp eq i32 %122, 0\n br i1 %123, label LBL_47, label LBL_40\n LBL_40:\n %124 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([10 x i8]* @gv_15 to i64*))\n br label LBL_47\n LBL_41:\n %125 = and i32 %25, 256\n %126 = icmp eq i32 %125, 0\n br i1 %126, label LBL_47, label LBL_42\n LBL_42:\n %127 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([11 x i8]* @gv_16 to i64*))\n br label LBL_47\n LBL_43:\n %128 = and i32 %25, 256\n %129 = icmp eq i32 %128, 0\n br i1 %129, label LBL_45, label LBL_44\n LBL_44:\n %130 = call i64 @FUNC(i64 %storemerge, i64* bitcast ([11 x i8]* @gv_17 to i64*))\n br label LBL_45\n LBL_45:\n %131 = and i32 %25, 2048\n %132 = icmp eq i32 %131, 0\n br i1 %132, label LBL_47, label LBL_46\n LBL_46:\n %133 = add i64 %4, 112\n %134 = inttoptr i64 %133 to i64*\n %135 = load i64, i64* %134, align 8\n %136 = trunc i64 %135 to i32\n %137 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_18, i64 0, i64 0), i32 %136, i64 %rcx.0.reload, i64 %2, i64 %1)\n br label LBL_47\n LBL_47:\n %138 = add i64 %4, 80\n %139 = inttoptr i64 %138 to i32*\n %140 = load i32, i32* %139, align 4\n %141 = icmp eq i32 %140, 7\n %142 = icmp eq i1 %141, false\n br i1 %142, label LBL_49, label LBL_48\n LBL_48:\n %143 = call i64 @FUNC(i64 %storemerge, i64 %4)\n br label LBL_49\n LBL_49:\n %144 = call i64 @FUNC(i64 %storemerge, i64* nonnull @gv_19)\n %145 = load i32, i32* %8, align 4\n %146 = icmp eq i32 %145, 0\n br i1 %146, label LBL_51, label LBL_50\n LBL_50:\n %147 = call i64 @FUNC(i64 %5)\n br label LBL_51\n LBL_51:\n %148 = add i64 %5, 24\n %149 = inttoptr i64 %148 to i64*\n %150 = load i64, i64* %149, align 8\n %151 = icmp ult i64 %150, 32769\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %151, label LBL_53, label LBL_52\n LBL_52:\n %152 = inttoptr i64 %11 to i64*\n %153 = load i64, i64* %152, align 8\n %154 = call i64 @FUNC(i64 %5, i64 %153, i64 %150)\n %155 = call i64 @FUNC(i64 %11)\n %phitmp = and i64 %154, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_53\n LBL_53:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %25, { 9, 10, 8, 7, 5, 6, 3, 4, 2, 0, 1, 11, 12, 13, 14, 15, 16 }\n uselistorder i64 %13, { 1, 2, 0 }\n uselistorder i64 %storemerge, { 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 13, 14, 12, 11, 10, 9, 8, 7, 5, 6, 3, 4, 1, 2, 0, 26 }\n uselistorder i64 %5, { 2, 3, 4, 1, 0, 5, 7, 6, 8, 9 }\n uselistorder i64 %4, { 12, 11, 10, 14, 13, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 15, 16 }\n uselistorder i64 %2, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_13, i64 0, i64 0), { 1, 0 }\n uselistorder i32 256, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i64 (i64, i64*)* @archive_strcat, { 9, 8, 16, 15, 14, 13, 12, 11, 10, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @archive_string_sprintf, { 5, 7, 6, 4, 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64, i64)* @mtree_quote, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 9, 10, 11, 0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 18, 19, 20 }\n uselistorder i64 (i64)* @archive_string_empty, { 1, 0 }\n uselistorder label LBL_53, { 1, 0 }\n uselistorder label LBL_47, { 1, 0, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10, 13, 12 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xmlInitializeDict_11504", "fun_name": "xmlInitializeDict", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = call i64 @FUNC()\n store i64 %2, i64* @gv_1, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n store i32 1, i32* @gv_0, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 1, { 2, 0, 1 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dlm_add_member_5285", "fun_name": "dlm_add_member", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 8, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 8, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %0)\n %10 = and i64 %5, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = inttoptr i64 %0 to i32*\n %13 = trunc i64 %3 to i32\n store i32 %13, i32* %12, align 4\n %14 = add i64 %0, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %6, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %11, i64 %0)\n %17 = add i64 %11, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = add i32 %19, 1\n store i32 %20, i32* %18, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_read_extradata_1111", "fun_name": "mov_read_extradata", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp slt i32 %3, 0\n %6 = icmp eq i1 %5, false\n %7 = icmp eq i1 %4, false\n %8 = icmp eq i1 %6, %7\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_1, label LBL_5\n LBL_1:\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %sext = mul i64 %1, 4294967296\n %12 = ashr exact i64 %sext, 29\n %13 = add nsw i64 %12, -8\n %14 = add i64 %13, %11\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = sext i32 %21 to i64\n %23 = zext i32 %arg3 to i64\n %24 = add nuw nsw i64 %23, 40\n %25 = add nsw i64 %24, %22\n %26 = icmp ult i64 %25, 2147483648\n %27 = icmp slt i32 %arg3, 0\n %28 = icmp eq i1 %27, false\n %or.cond = icmp eq i1 %28, %26\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_5\n LBL_2:\n %29 = call i64 @FUNC(i64 %18, i64 %25)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n %33 = load i64, i64* %17, align 8\n br i1 %32, label LBL_4, label LBL_3\n LBL_3:\n %34 = add i64 %33, 8\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n store i64 %29, i64* %rax.0.shrunk.reg2mem\n br label LBL_5\n LBL_4:\n %36 = ptrtoint i64* %arg2 to i64\n %37 = inttoptr i64 %33 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = add i64 %33, 8\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = sext i32 %41 to i64\n %43 = add i64 %38, %42\n %44 = trunc i64 %25 to i32\n %45 = add i32 %44, -32\n store i32 %45, i32* %40, align 4\n %46 = add i32 %arg3, 8\n %47 = udiv i32 %46, 16777216\n %48 = trunc i32 %47 to i8\n %49 = inttoptr i64 %43 to i8*\n store i8 %48, i8* %49, align 1\n %50 = udiv i32 %46, 65536\n %51 = add i64 %43, 1\n %52 = trunc i32 %50 to i8\n %53 = inttoptr i64 %51 to i8*\n store i8 %52, i8* %53, align 1\n %54 = udiv i32 %46, 256\n %55 = add i64 %43, 2\n %56 = trunc i32 %54 to i8\n %57 = inttoptr i64 %55 to i8*\n store i8 %56, i8* %57, align 1\n %58 = add i64 %43, 3\n %59 = trunc i32 %arg3 to i8\n %60 = add i8 %59, 8\n %61 = inttoptr i64 %58 to i8*\n store i8 %60, i8* %61, align 1\n %62 = add i64 %43, 4\n %63 = trunc i32 %2 to i8\n %64 = inttoptr i64 %62 to i8*\n store i8 %63, i8* %64, align 1\n %65 = udiv i32 %2, 256\n %66 = add i64 %43, 5\n %67 = trunc i32 %65 to i8\n %68 = inttoptr i64 %66 to i8*\n store i8 %67, i8* %68, align 1\n %69 = udiv i32 %2, 65536\n %70 = add i64 %43, 6\n %71 = trunc i32 %69 to i8\n %72 = inttoptr i64 %70 to i8*\n store i8 %71, i8* %72, align 1\n %73 = udiv i32 %2, 16777216\n %74 = add i64 %43, 7\n %75 = trunc i32 %73 to i8\n %76 = inttoptr i64 %74 to i8*\n store i8 %75, i8* %76, align 1\n %77 = add i64 %43, 8\n %78 = call i64 @FUNC(i64 %36, i64 %77, i64 %23)\n %79 = trunc i64 %78 to i32\n %80 = icmp slt i32 %79, 0\n %81 = icmp eq i1 %80, false\n %. = select i1 %81, i64 0, i64 %78\n store i64 %., i64* %rax.0.shrunk.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %33, { 1, 2, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i32 %2, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i1 false, { 2, 3, 0, 4, 1, 5 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }\n uselistorder i32 %arg3, { 1, 2, 0, 3 }\n uselistorder label LBL_5, { 0, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "armpmu_enable_156", "fun_name": "armpmu_enable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %1, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %1 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = inttoptr i64 %4 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = zext i32 %6 to i64\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = add i64 %1, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lookup_last_8786", "fun_name": "lookup_last", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = sext i32 %8 to i64\n %10 = add i64 %2, 8\n %11 = add i64 %10, %9\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = add i64 %2, 264\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = or i32 %17, 3\n store i32 %18, i32* %16, align 4\n br label LBL_3\n LBL_3:\n %19 = ptrtoint i64* %arg2 to i64\n %20 = add i64 %2, 264\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = and i32 %22, -5\n store i32 %23, i32* %21, align 4\n %24 = urem i32 %22, 2\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %2, i64 %19, i64 %25)\n ret i64 %26\n\n uselistorder i64 %2, { 3, 4, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "phar_zip_d2u_time_9904", "fun_name": "phar_zip_d2u_time", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i16* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 65536\n %5 = trunc i64 %2 to i32\n %6 = call i32 @time(i32* null)\n %7 = sext i32 %6 to i64\n store i64 %7, i64* %sv_1, align 8\n %8 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_0)\n %9 = udiv i32 %5, 512\n %10 = urem i32 %9, 128\n %narrow = add nuw nsw i32 %10, 80\n %11 = add i64 %8, 20\n %12 = inttoptr i64 %11 to i32*\n store i32 %narrow, i32* %12, align 4\n %13 = udiv i32 %5, 32\n %14 = urem i32 %13, 16\n %15 = add nsw i32 %14, -1\n %16 = add i64 %8, 16\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = urem i32 %5, 32\n %19 = add i64 %8, 12\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = udiv i32 %4, 2048\n %22 = add i64 %8, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = udiv i32 %3, 32\n %25 = urem i32 %24, 64\n %26 = add i64 %8, 4\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = mul i32 %4, 2\n %29 = and i32 %28, 62\n %30 = inttoptr i64 %8 to i32*\n store i32 %29, i32* %30, align 4\n %31 = inttoptr i64 %8 to %tm*\n %32 = call i32 @mktime(%tm* %31)\n %33 = sext i32 %32 to i64\n ret i64 %33\n\n uselistorder i32 %5, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 32, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cbs_h2645_write_nal_unit_4253", "fun_name": "cbs_h2645_write_nal_unit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %.pre-phi1.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n store i32 %8, i32* %sv_0, align 4\n %9 = icmp eq i64* %arg1, null\n %10 = icmp eq i1 %9, false\n %.pre = add i64 %3, 8\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = inttoptr i64 %.pre to i64*\n store i64 1048576, i64* %11, align 8\n store i64 1048576, i64* %.reg2mem\n store i64* %11, i64** %.pre-phi1.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %12 = call i64 @FUNC(i64 %3, i64 %.reload)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %.pre-phi1.reload = load i64*, i64** %.pre-phi1.reg2mem\n %16 = load i64, i64* %.pre-phi1.reload, align 8\n %17 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %2, i64 %1)\n %18 = and i64 %12, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_4:\n %19 = ptrtoint i64* %arg2 to i64\n %20 = inttoptr i64 %.pre to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i32* nonnull %sv_0, i64 %3, i64 %21)\n %23 = load i32, i32* %sv_0, align 4\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %3, i64 %19, i32* nonnull %sv_0)\n store i64 %26, i64* %storemerge.in.reg2mem\n br label LBL_7\n LBL_6:\n %27 = call i64 @FUNC(i64 %3, i64 %19, i32* nonnull %sv_0)\n store i64 %27, i64* %storemerge.in.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %28 = icmp eq i32 %storemerge, -28\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = load i64, i64* %20, align 8\n %31 = mul i64 %30, 2\n store i64 %31, i64* %20, align 8\n store i64 %31, i64* %.reg2mem\n store i64* %20, i64** %.pre-phi1.reg2mem\n br label LBL_2\n LBL_9:\n %32 = call i64 @FUNC(i32* nonnull %sv_0)\n %33 = load i64, i64* %20, align 8\n %34 = mul i64 %33, 8\n %35 = icmp ule i64 %32, %34\n %36 = zext i1 %35 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = icmp slt i32 %storemerge, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %40 = and i64 %storemerge.in.reload, 4294967295\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_11:\n %41 = call i64 @FUNC(i32* nonnull %sv_0)\n %42 = urem i64 %41, 8\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_13, label LBL_12\n LBL_12:\n %44 = call i64 @FUNC(i32* nonnull %sv_0)\n %45 = trunc i64 %44 to i32\n %46 = urem i32 %45, 8\n %47 = sub nsw i32 8, %46\n %48 = add i64 %19, 16\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n br label LBL_14\n LBL_13:\n %50 = add i64 %19, 16\n %51 = inttoptr i64 %50 to i32*\n store i32 0, i32* %51, align 4\n br label LBL_14\n LBL_14:\n %52 = call i64 @FUNC(i32* nonnull %sv_0)\n %53 = add i64 %52, 7\n %54 = udiv i64 %53, 8\n %55 = add i64 %19, 8\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n %57 = call i64 @FUNC(i32* nonnull %sv_0)\n %58 = load i64, i64* %56, align 8\n %59 = call i64 @FUNC(i64 %19, i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = icmp slt i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_16, label LBL_15\n LBL_15:\n %63 = and i64 %59, 4294967295\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %64 = load i64, i64* %56, align 8\n %65 = inttoptr i64 %58 to i64*\n %66 = trunc i64 %64 to i32\n %67 = call i64* @memcpy(i64* %65, i64* %arg2, i32 %66)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.in.reload, { 1, 0 }\n uselistorder i64* %20, { 3, 0, 2, 1, 4 }\n uselistorder i64 %19, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i32* %sv_0, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 9 }\n uselistorder i64 %3, { 3, 4, 1, 2, 0, 5 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.pre-phi1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 (i32*)* @put_bits_count, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @av_reallocp, { 1, 0 }\n uselistorder i64 8, { 4, 1, 2, 0, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "audit_filter_task_10357", "fun_name": "audit_filter_task", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge24.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC()\n %2 = bitcast i32* %sv_0 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge24.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge24.reload = load i64, i64* %storemerge24.reg2mem\n %3 = call i64 @FUNC(i64 %0, i64 %storemerge24.reload, i64 0, i64 0, i64* nonnull %2, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = load i32, i32* %sv_0, align 4\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = inttoptr i64 %storemerge24.reload to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i64 0)\n store i64 %11, i64* %arg2, align 8\n br label LBL_4\n LBL_4:\n %12 = call i64 @FUNC()\n %13 = load i32, i32* %sv_0, align 4\n %14 = zext i32 %13 to i64\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_5:\n %15 = add i64 %storemerge24.reload, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %storemerge24.reg2mem\n br i1 %19, label LBL_1, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC()\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge24.reload, { 0, 2, 1 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge24.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "AcquirePixelThreadSet_5547", "fun_name": "AcquirePixelThreadSet", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %storemerge27.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 0)\n %2 = icmp ugt i64 %0, %1\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1)\n store i64 %3, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_2:\n %4 = call i64 @FUNC(i64 0)\n store i64 %4, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %5 = call i64 @FUNC(i64 %storemerge3.reload, i64 8)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_14\n LBL_4:\n %8 = icmp eq i64 %arg1, 0\n %9 = icmp eq i1 %8, false\n store i64 %arg1, i64* %storemerge27.reg2mem\n store i64 %storemerge3.reload, i64* %sv_0.06.reg2mem\n store i64 %storemerge3.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %9, label LBL_5, label LBL_6\n LBL_5:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %storemerge27.reload = load i64, i64* %storemerge27.reg2mem\n %10 = inttoptr i64 %storemerge27.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp ult i64 %sv_0.06.reload, %11\n %13 = icmp eq i1 %12, false\n %14 = select i1 %13, i64 %sv_0.06.reload, i64 %11\n %15 = add i64 %storemerge27.reload, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %storemerge27.reg2mem\n store i64 %14, i64* %sv_0.06.reg2mem\n store i64 %14, i64* %sv_0.0.lcssa.reg2mem\n br i1 %19, label LBL_5, label LBL_6\n LBL_6:\n %20 = icmp sgt i64 %storemerge3.reload, 0\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %20, label LBL_7, label LBL_14\n LBL_7:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %21 = icmp sgt i64 %sv_0.0.lcssa.reload, 0\n %exitcond8 = icmp eq i64 %sv_0.0.lcssa.reload, 1\n store i64 0, i64* %storemerge5.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %22 = mul i64 %storemerge5.reload, 8\n %23 = add i64 %22, %5\n %24 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 0)\n %25 = inttoptr i64 %23 to i64*\n store i64 %24, i64* %25, align 8\n %26 = icmp eq i64 %24, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_9, label LBL_11\n LBL_9:\n br i1 %21, label LBL_10, label LBL_13\n LBL_10:\n %28 = call i64 @FUNC(i64 %arg1, i64 %24)\n store i64 1, i64* %.reg2mem\n br i1 %exitcond8, label LBL_13, label LBL_12\n LBL_11:\n %29 = call i64 @FUNC(i64 %5)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_12:\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i64, i64* %25, align 8\n %30 = call i64 @FUNC(i64 %arg1, i64 %.pre)\n %31 = add nuw nsw i64 %.reload, 1\n %exitcond = icmp eq i64 %31, %sv_0.0.lcssa.reload\n store i64 %31, i64* %.reg2mem\n br i1 %exitcond, label LBL_13, label LBL_12\n LBL_13:\n %32 = add nuw nsw i64 %storemerge5.reload, 1\n %33 = icmp slt i64 %32, %storemerge3.reload\n store i64 %32, i64* %storemerge5.reg2mem\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %33, label LBL_8, label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.lcssa.reload, { 2, 0, 3, 1 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %5, { 0, 3, 2, 1, 4 }\n uselistorder i64 %storemerge3.reload, { 3, 4, 0, 1, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge27.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 (i64, i64)* @GetMagickPixelPacket, { 1, 0 }\n uselistorder i64 1, { 4, 3, 0, 2, 1 }\n uselistorder i1 false, { 1, 3, 2, 0, 4 }\n uselistorder i64 (i64, i64)* @AcquireQuantumMemory, { 1, 0 }\n uselistorder i64 (i64)* @GetMagickResourceLimit, { 1, 0 }\n uselistorder i64 (i64)* @GetImageListLength, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 1, 0, 2, 4, 5 }\n uselistorder label LBL_14, { 0, 3, 1, 2 }\n uselistorder label LBL_13, { 1, 0, 2 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Jsi_HashClear_10818", "fun_name": "Jsi_HashClear", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.1.lcssa.reg2mem = alloca i64\n %.reg2mem6 = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %rdi.22.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_11, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 192\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %8, label LBL_11, label LBL_3\n LBL_3:\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n store i64 %11, i64* %.reg2mem\n store i64 0, i64* %storemerge3.reg2mem\n store i64 %1, i64* %rdi.22.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.22.reload = load i64, i64* %rdi.22.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = mul i64 %storemerge3.reload, 8\n %13 = add i64 %12, %.reload\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %sv_0.01.reg2mem\n store i64 %.reload, i64* %.reg2mem6\n store i64 %rdi.22.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %17, label LBL_5, label LBL_7\n LBL_5:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %18 = inttoptr i64 %sv_0.01.reload to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %sv_0.01.reload)\n %21 = load i64, i64* %10, align 8\n %22 = add i64 %21, %12\n %23 = inttoptr i64 %22 to i64*\n store i64 %19, i64* %23, align 8\n %24 = icmp eq i64 %19, 0\n %25 = icmp eq i1 %24, false\n store i64 %19, i64* %sv_0.01.reg2mem\n br i1 %25, label LBL_5, label LBL_6\n LBL_6:\n %.pre = load i64, i64* %10, align 8\n store i64 %.pre, i64* %.reg2mem6\n store i64 %sv_0.01.reload, i64* %rdi.1.lcssa.reg2mem\n br label LBL_7\n LBL_7:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %26 = add nuw i64 %storemerge3.reload, 1\n %27 = icmp ult i64 %26, %rdi.1.lcssa.reload\n store i64 %.reload7, i64* %.reg2mem\n store i64 %26, i64* %storemerge3.reg2mem\n store i64 %rdi.1.lcssa.reload, i64* %rdi.22.reg2mem\n br i1 %27, label LBL_4, label LBL_8\n LBL_8:\n %28 = add i64 %1, 16\n %29 = icmp eq i64 %.reload7, %28\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %.reload7)\n br label LBL_10\n LBL_10:\n %31 = load i64, i64* %3, align 8\n %32 = icmp eq i64 %31, 0\n %spec.select = select i1 %32, i64 0, i64 %1\n ret i64 %spec.select\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload7, { 1, 0, 2 }\n uselistorder i64 %rdi.1.lcssa.reload, { 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64* %10, { 0, 2, 1 }\n uselistorder i64 %1, { 2, 4, 1, 3, 0, 5, 6 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem6, { 0, 2, 1 }\n uselistorder i64* %rdi.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TTF_PSDupsDefault_12977", "fun_name": "TTF_PSDupsDefault", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.1.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = icmp eq i64* %arg1, null\n store i64 %2, i64* %storemerge13.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %3, label LBL_23, label LBL_2\n LBL_1:\n %4 = add i64 %storemerge13.reload, 56\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n store i64 %6, i64* %storemerge13.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %7, label LBL_23, label LBL_2\n LBL_2:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %8 = inttoptr i64 %storemerge13.reload to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 1033\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_1, label LBL_3\n LBL_3:\n %12 = add i64 %storemerge13.reload, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_6, label LBL_4\n LBL_4:\n %16 = add i64 %2, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %14 to i8*\n %20 = inttoptr i64 %18 to i8*\n %21 = call i32 @strcmp(i8* %19, i8* %20)\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = load i64, i64* %13, align 8\n %25 = inttoptr i64 %24 to i64*\n call void @free(i64* %25)\n store i64 0, i64* %13, align 8\n br label LBL_6\n LBL_6:\n %26 = add i64 %storemerge13.reload, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_9, label LBL_7\n LBL_7:\n %30 = add i64 %2, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %28 to i8*\n %34 = inttoptr i64 %32 to i8*\n %35 = call i32 @strcmp(i8* %33, i8* %34)\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %38 = load i64, i64* %27, align 8\n %39 = inttoptr i64 %38 to i64*\n call void @free(i64* %39)\n store i64 0, i64* %27, align 8\n br label LBL_9\n LBL_9:\n %40 = add i64 %storemerge13.reload, 24\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_12, label LBL_10\n LBL_10:\n %44 = add i64 %2, 24\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %42 to i8*\n %48 = inttoptr i64 %46 to i8*\n %49 = call i32 @strcmp(i8* %47, i8* %48)\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_12, label LBL_11\n LBL_11:\n %52 = load i64, i64* %41, align 8\n %53 = inttoptr i64 %52 to i64*\n call void @free(i64* %53)\n store i64 0, i64* %41, align 8\n br label LBL_12\n LBL_12:\n %54 = add i64 %2, 32\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_14, label LBL_13\n LBL_13:\n %59 = add i64 %2, 40\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = icmp eq i64 %61, 0\n br i1 %62, label LBL_19, label LBL_15\n LBL_14:\n %63 = add i64 %2, 36\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = call i128 @FUNC(i32 %65)\n %67 = call i128 @FUNC(i128 %1, i128 %1)\n %68 = call i128 @FUNC(i128 %66)\n %69 = call i64 @FUNC(i128 %68)\n %70 = call i128 @__asm_movq.1(i64 %69)\n %71 = bitcast i64* %sv_0 to i8*\n %72 = trunc i128 %70 to i64\n %73 = bitcast i64 %72 to double\n %74 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %71, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), double %73)\n br label LBL_16\n LBL_15:\n %75 = bitcast i64* %sv_0 to i8*\n %76 = inttoptr i64 %61 to i8*\n %77 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %75, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* %76)\n br label LBL_16\n LBL_16:\n %78 = add i64 %storemerge13.reload, 32\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = icmp eq i64 %80, 0\n br i1 %81, label LBL_19, label LBL_17\n LBL_17:\n %82 = inttoptr i64 %80 to i8*\n %83 = bitcast i64* %sv_0 to i8*\n %84 = call i32 @strcmp(i8* %82, i8* nonnull %83)\n %85 = icmp eq i32 %84, 0\n %86 = icmp eq i1 %85, false\n br i1 %86, label LBL_19, label LBL_18\n LBL_18:\n %87 = load i64, i64* %79, align 8\n %88 = inttoptr i64 %87 to i64*\n call void @free(i64* %88)\n store i64 0, i64* %79, align 8\n br label LBL_19\n LBL_19:\n %89 = add i64 %storemerge13.reload, 40\n %90 = inttoptr i64 %89 to i64*\n %91 = load i64, i64* %90, align 8\n %92 = icmp eq i64 %91, 0\n br i1 %92, label LBL_22, label LBL_20\n LBL_20:\n %93 = call i64 @FUNC(i64 %2)\n %94 = load i64, i64* %90, align 8\n %95 = inttoptr i64 %94 to i8*\n %96 = inttoptr i64 %93 to i8*\n %97 = call i32 @strcmp(i8* %95, i8* %96)\n %98 = icmp eq i32 %97, 0\n %99 = icmp eq i1 %98, false\n br i1 %99, label LBL_22, label LBL_21\n LBL_21:\n %100 = load i64, i64* %90, align 8\n %101 = inttoptr i64 %100 to i64*\n call void @free(i64* %101)\n store i64 0, i64* %90, align 8\n br label LBL_22\n LBL_22:\n %102 = add i64 %storemerge13.reload, 48\n %103 = inttoptr i64 %102 to i64*\n %104 = load i64, i64* %103, align 8\n %105 = inttoptr i64 %104 to i64*\n call void @free(i64* %105)\n store i64 0, i64* %103, align 8\n store i64 %storemerge13.reload, i64* %rax.1.reg2mem\n br label LBL_23\n LBL_23:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %storemerge13.reload, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 %2, { 4, 5, 7, 6, 3, 2, 1, 0 }\n uselistorder i64* %storemerge13.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_23, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "evtchn_unmask_13230", "fun_name": "evtchn_unmask", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = and i64 %arg1, 4294967295\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = call i64 @FUNC(i64 %2, i64 %3)\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xenstore_record_dm_state_2006", "fun_name": "xenstore_record_dm_state", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_1 to i64*), i32 1, i32 36, %_IO_FILE* %2)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %4 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %5 = bitcast i64* %sv_0 to i8*\n %6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 50, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i32 %4)\n %7 = inttoptr i64 %arg2 to i8*\n %8 = call i32 @strlen(i8* %7)\n %9 = sext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %arg1, i64 0, i64* nonnull %sv_0, i64 %arg2, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %15 = call i32 @fwrite(i64* bitcast ([26 x i8]* @gv_3 to i64*), i32 1, i32 25, %_IO_FILE* %14)\n call void @exit(i32 1)\n unreachable\n LBL_4:\n ret i64 %10\n\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_handle_packet_800", "fun_name": "usb_handle_packet", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i32* %arg1, null\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_18\n LBL_1:\n %5 = trunc i64 %2 to i32\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, %5\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = add i64 %8, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 57, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = add i64 %13, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 1\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 58, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %18 = add i64 %13, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_14, label LBL_8\n LBL_8:\n %23 = add i64 %13, 12\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 2\n br i1 %26, label LBL_13, label LBL_9\n LBL_9:\n %27 = icmp sgt i32 %25, 2\n store i64 4294967294, i64* %sv_0.02.reg2mem\n br i1 %27, label LBL_17, label LBL_10\n LBL_10:\n store i64 4294967294, i64* %sv_0.02.reg2mem\n switch i32 %25, label LBL_17 [\n i32 0, label LBL_11\n i32 1, label LBL_12\n ]\n LBL_11:\n %28 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %28, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_12:\n %29 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %29, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_13:\n %30 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %30, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_14:\n %31 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %31, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %32 = icmp eq i32 %sv_0.0, -3\n %33 = icmp eq i1 %32, false\n store i64 %sv_0.0.in.reload, i64* %sv_0.02.reg2mem\n br i1 %33, label LBL_17, label LBL_16\n LBL_16:\n %34 = load i32, i32* %19, align 4\n %35 = add i64 %13, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %8, i64 %38, i32 %34)\n %40 = trunc i64 %39 to i32\n %41 = add i64 %13, 16\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n store i32 2, i32* %15, align 4\n store i64 %sv_0.0.in.reload, i64* %sv_0.02.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %43 = and i64 %sv_0.02.reload, 4294967295\n store i64 %43, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.in.reload, { 1, 0, 2 }\n uselistorder i64 %13, { 3, 4, 7, 2, 0, 1, 6, 5, 8 }\n uselistorder i64 %8, { 3, 4, 2, 0, 1, 5 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967294, { 1, 0 }\n uselistorder i32 2, { 2, 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_package_list_8903", "fun_name": "read_package_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %3 = call i32 @pthread_mutex_lock(i64* %arg1)\n %4 = add i64 %2, 40\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6, i64 4198905, i64 %6)\n %8 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %9 = icmp eq %_IO_FILE* %8, null\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_1, label LBL_3\n LBL_1:\n %11 = bitcast i64* %sv_0 to i8*\n %12 = call i8* @fgets(i8* nonnull %11, i32 512, %_IO_FILE* %8)\n %13 = icmp eq i8* %12, null\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_7\n LBL_2:\n %15 = inttoptr i64 %1 to i64*\n %16 = bitcast i64* %sv_1 to i8*\n br label LBL_4\n LBL_3:\n %17 = call i32* @__errno_location()\n %18 = load i32, i32* %17, align 4\n %19 = call i8* @strerror(i32 %18)\n %20 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i8* %19)\n %22 = call i32 @pthread_mutex_unlock(i64* %arg1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_4:\n %23 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %11, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3, i64* %15)\n %24 = icmp eq i32 %23, 3\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_6\n LBL_5:\n %26 = call i8* @fgets(i8* nonnull %11, i32 512, %_IO_FILE* %8)\n %27 = icmp eq i8* %26, null\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_4, label LBL_7\n LBL_6:\n %29 = call i8* @strdup(i8* nonnull %16)\n %30 = ptrtoint i8* %29 to i64\n %31 = load i64, i64* %sv_2, align 8\n %sext = mul i64 %31, 4294967296\n %32 = ashr exact i64 %sext, 32\n %33 = load i64, i64* %5, align 8\n %34 = call i64 @FUNC(i64 %33, i64 %30, i64 %32)\n br label LBL_5\n LBL_7:\n %35 = load i64, i64* %5, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_5, i64 0, i64 0), i64 %36)\n %38 = call i32 @fclose(%_IO_FILE* %8)\n %39 = add i64 %2, 56\n %40 = add i64 %2, 48\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i64 %42, i64 %39)\n %44 = call i32 @pthread_mutex_unlock(i64* %arg1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %11, { 2, 1, 0 }\n uselistorder %_IO_FILE* %8, { 1, 2, 0, 3 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8* null, { 1, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i32 512, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_bits_1458", "fun_name": "get_bits", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.in.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = add i32 %2, -1\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = ptrtoint i64* %arg1 to i64\n %8 = icmp eq i32 %6, 0\n %9 = icmp eq i1 %8, false\n %10 = add i64 %7, 8\n %11 = bitcast i64* %arg1 to i32*\n %12 = add i32 %6, -1\n %13 = urem i32 %6, 32\n %14 = icmp eq i32 %13, 0\n store i32 %3, i32* %.in.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %10)\n %16 = trunc i64 %15 to i8\n %17 = icmp eq i8 %16, -1\n %18 = select i1 %17, i32 7, i32 8\n store i32 %18, i32* %11, align 4\n br label LBL_4\n LBL_4:\n %19 = mul i32 %storemerge3.reload, 2\n store i32 %12, i32* %11, align 4\n %20 = call i64 @FUNC(i64 %10)\n %21 = trunc i64 %20 to i32\n %22 = urem i32 %21, 256\n %23 = lshr i32 %22, %13\n %24 = zext i32 %23 to i64\n %rdx.0 = select i1 %14, i64 %20, i64 %24\n %25 = trunc i64 %rdx.0 to i32\n %26 = urem i32 %25, 2\n %27 = or i32 %26, %19\n %28 = add i32 %.in.reload, -1\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i32 %28, i32* %.in.reg2mem\n store i32 %27, i32* %storemerge3.reg2mem\n br i1 %30, label LBL_2, label LBL_5\n LBL_5:\n %phitmp = zext i32 %27 to i64\n store i64 %phitmp, i64* %storemerge.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i32 %27, { 1, 0 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i32 %6, { 0, 2, 1 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 4, 0, 2, 3, 1 }\n uselistorder i32 -1, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "regional_create_custom_5666", "fun_name": "regional_create_custom", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = call i64* @malloc(i32 %0)\n %2 = add i64 %arg1, 7\n %3 = and i64 %2, -8\n %4 = icmp eq i64 %3, 0\n %5 = icmp ne i1 %4, true\n %6 = zext i1 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = icmp eq i64* %1, null\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = ptrtoint i64* %1 to i64\n store i64 %3, i64* %1, align 8\n %11 = call i64 @FUNC(i64 %10)\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %1, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 3, 4, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "njs_module_path_5799", "fun_name": "njs_module_path", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %sv_3 = alloca i64, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64* %arg2, null\n store i32 0, i32* %sv_2.0.reg2mem\n store i64 %4, i64* %sv_1.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, %4\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_10\n LBL_2:\n %12 = add i64 %1, -1\n %13 = add i64 %12, %8\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 47\n %17 = icmp eq i1 %16, false\n %18 = zext i1 %17 to i32\n %19 = zext i1 %17 to i64\n %spec.select = add i64 %9, %19\n store i32 %18, i32* %sv_2.0.reg2mem\n store i64 %spec.select, i64* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %20 = icmp ult i64 %sv_1.0.reload, 4097\n %21 = icmp ne i1 %20, true\n %22 = zext i1 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %25, label LBL_4, label LBL_10\n LBL_4:\n %26 = bitcast i64* %sv_3 to i8*\n store i8* %26, i8** %sv_0.0.reg2mem\n br i1 %5, label LBL_7, label LBL_5\n LBL_5:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %27 = add i64 %1, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = ptrtoint i64* %sv_3 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %1, i64 %29)\n %32 = inttoptr i64 %31 to i8*\n %33 = icmp eq i32 %sv_2.0.reload, 0\n store i8* %32, i8** %sv_0.0.reg2mem\n br i1 %33, label LBL_7, label LBL_6\n LBL_6:\n %34 = add i64 %31, 1\n %35 = inttoptr i64 %34 to i8*\n store i8 47, i8* %32, align 1\n store i8* %35, i8** %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %36 = load i64, i64* %3, align 8\n %37 = ptrtoint i8* %sv_0.0.reload to i64\n %38 = call i64 @FUNC(i64 %37, i64 %36, i64 %36)\n %39 = inttoptr i64 %38 to i8*\n store i8 0, i8* %39, align 1\n %40 = add i64 %0, 16\n %41 = inttoptr i64 %40 to i8*\n %42 = call i8* @realpath(i8* nonnull %26, i8* %41)\n %43 = icmp eq i8* %42, null\n %44 = icmp eq i1 %43, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %44, label LBL_8, label LBL_10\n LBL_8:\n %45 = call i32 (i8*, i32, ...) @open(i8* %41, i32 0)\n %46 = add i64 %0, 4116\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = icmp slt i32 %45, 0\n %49 = icmp eq i1 %48, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %49, label LBL_9, label LBL_10\n LBL_9:\n %50 = add i64 %0, 4120\n %51 = inttoptr i64 %50 to i64*\n store i64 %40, i64* %51, align 8\n %52 = call i64 @FUNC(i64 %40)\n %53 = add i64 %0, 4128\n %54 = inttoptr i64 %53 to i64*\n store i64 %52, i64* %54, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %36, { 1, 0 }\n uselistorder i8* %32, { 1, 0 }\n uselistorder i8* %26, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %1, { 2, 3, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64, i64)* @njs_cpymem, { 1, 0 }\n uselistorder i8 47, { 1, 0 }\n uselistorder label LBL_10, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "EC_GROUP_free_4361", "fun_name": "EC_GROUP_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_8, label LBL_1\n LBL_1:\n %1 = add i64 %arg1, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %arg1, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %5)\n br label LBL_3\n LBL_3:\n %8 = add i64 %arg1, 24\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64 %10)\n br label LBL_5\n LBL_5:\n %13 = add i64 %arg1, 32\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %arg1, 36\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %arg1, 40\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %19)\n br label LBL_7\n LBL_7:\n %22 = call i64 @FUNC(i64 %arg1)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @OPENSSL_free, { 1, 0 }\n uselistorder i64 (i64)* @BN_free, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 2, 1, 4, 6, 5, 7 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migration_end_16024", "fun_name": "migration_end", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3)\n store i64 0, i64* @gv_0, align 8\n br label LBL_2\n LBL_2:\n %5 = load i64, i64* @gv_1, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %5)\n %8 = load i64, i64* @gv_1, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = load i64, i64* @gv_2, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = load i64, i64* @gv_3, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = load i64, i64* @gv_4, align 8\n %15 = call i64 @FUNC(i64 %14)\n store i64 0, i64* @gv_1, align 8\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvm_set_lapic_tscdeadline_msr_10650", "fun_name": "kvm_set_lapic_tscdeadline_msr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %0)\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 %arg2, i64* %14, align 8\n %15 = call i64 @FUNC(i64 %0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 }\n uselistorder label LBL_4, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qht_statistics_init_15306", "fun_name": "qht_statistics_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa7.reg2mem = alloca i64\n %xmm3.1.reg2mem = alloca i128\n %xmm0.0.reg2mem = alloca i128\n %storemerge3.reg2mem = alloca i128\n %storemerge4.reg2mem = alloca i128\n %storemerge5.reg2mem = alloca i64\n %xmm3.0.reg2mem = alloca i128\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.18.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %xmm0.110.reg2mem = alloca i128\n %xmm3.211.reg2mem = alloca i128\n %storemerge12.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = bitcast i64* %arg2 to i32*\n store i32 %5, i32* %6, align 4\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %0, 12\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %11)\n %14 = load i32, i32* %4, align 4\n %15 = icmp eq i32 %14, 0\n store i64 0, i64* %.lcssa7.reg2mem\n br i1 %15, label LBL_22, label LBL_1\n LBL_1:\n %16 = inttoptr i64 %2 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_2\n LBL_2:\n %xmm0.110.reload = load i128, i128* %xmm0.110.reg2mem\n %xmm3.211.reload = load i128, i128* %xmm3.211.reg2mem\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %17 = load i64, i64* %16, align 8\n %18 = mul nsw i64 %.reload, 48\n %19 = add i64 %17, %18\n %20 = add i64 %19, 40\n br label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %20)\n store i32 0, i32* %sv_2.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %19, i64* %sv_1.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = mul i64 %indvars.iv.reload, 8\n %23 = add i64 %22, %sv_1.0.reload\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n store i32 %sv_0.18.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %27 = add i32 %sv_0.18.reload, 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %28 = icmp ult i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %27, i32* %sv_0.18.reg2mem\n store i32 %27, i32* %sv_0.1.lcssa.reg2mem\n br i1 %28, label LBL_5, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %29 = add i32 %sv_2.0.reload, 1\n %30 = add i64 %sv_1.0.reload, 32\n %31 = call i64 @FUNC(i64 %30)\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n store i32 %29, i32* %sv_2.0.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.0.reg2mem\n store i64 %31, i64* %sv_1.0.reg2mem\n br i1 %33, label LBL_4, label LBL_8\n LBL_8:\n %34 = and i64 %21, 4294967295\n %35 = call i64 @FUNC(i64 %20, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_3, label LBL_9\n LBL_9:\n %39 = icmp eq i32 %sv_0.1.lcssa.reload, 0\n br i1 %39, label LBL_20, label LBL_10\n LBL_10:\n %40 = sext i32 %29 to i64\n %41 = icmp slt i32 %29, 0\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = call i128 @FUNC(i128 %xmm3.211.reload, i128 %xmm3.211.reload)\n %43 = call i128 @FUNC(i64 %40)\n %44 = call i64 @FUNC(i128 %43)\n store i128 %43, i128* %xmm3.0.reg2mem\n store i64 %44, i64* %storemerge5.reg2mem\n br label LBL_13\n LBL_12:\n %45 = udiv i64 %40, 2\n %46 = urem i64 %40, 2\n %47 = or i64 %45, %46\n %48 = call i128 @FUNC(i128 %xmm0.110.reload, i128 %xmm0.110.reload)\n %49 = call i128 @FUNC(i64 %47)\n %50 = call i128 @FUNC(i128 %49, i128 %49)\n %51 = call i64 @FUNC(i128 %50)\n store i128 %xmm3.211.reload, i128* %xmm3.0.reg2mem\n store i64 %51, i64* %storemerge5.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %xmm3.0.reload = load i128, i128* %xmm3.0.reg2mem\n %52 = call i128 @__asm_movq.1(i64 %storemerge5.reload)\n %53 = call i64 @FUNC(i64 %11)\n %54 = sext i32 %sv_0.1.lcssa.reload to i64\n %55 = icmp slt i32 %sv_0.1.lcssa.reload, 0\n br i1 %55, label LBL_15, label LBL_14\n LBL_14:\n %56 = call i128 @FUNC(i128 %52, i128 %52)\n %57 = call i128 @FUNC(i64 %54)\n store i128 %57, i128* %storemerge4.reg2mem\n br label LBL_16\n LBL_15:\n %58 = udiv i64 %54, 2\n %59 = urem i64 %54, 2\n %60 = or i64 %58, %59\n %61 = call i128 @FUNC(i128 %52, i128 %52)\n %62 = call i128 @FUNC(i64 %60)\n %63 = call i128 @FUNC(i128 %62, i128 %62)\n store i128 %63, i128* %storemerge4.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge4.reload = load i128, i128* %storemerge4.reg2mem\n %64 = call i128 @__asm_movsd.2(i64 4616189618054758400)\n %65 = call i128 @FUNC(i128 %storemerge4.reload)\n %66 = call i128 @FUNC(i128 %65, i128 %64)\n br i1 %41, label LBL_18, label LBL_17\n LBL_17:\n %67 = call i128 @FUNC(i128 %storemerge4.reload, i128 %storemerge4.reload)\n %68 = call i128 @FUNC(i64 %40)\n store i128 %68, i128* %storemerge3.reg2mem\n br label LBL_19\n LBL_18:\n %69 = udiv i64 %40, 2\n %70 = urem i64 %40, 2\n %71 = or i64 %69, %70\n %72 = call i128 @FUNC(i128 %storemerge4.reload, i128 %storemerge4.reload)\n %73 = call i128 @FUNC(i64 %71)\n %74 = call i128 @FUNC(i128 %73, i128 %73)\n store i128 %74, i128* %storemerge3.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge3.reload = load i128, i128* %storemerge3.reg2mem\n %75 = call i128 @FUNC(i128 %66, i128 %storemerge3.reload)\n %76 = call i64 @FUNC(i128 %75)\n %77 = call i128 @__asm_movq.1(i64 %76)\n %78 = call i64 @FUNC(i64 %11)\n %79 = load i32, i32* %8, align 4\n %80 = add i32 %79, 1\n store i32 %80, i32* %8, align 4\n %81 = load i32, i32* %10, align 4\n %82 = add i32 %81, %sv_0.1.lcssa.reload\n store i32 %82, i32* %10, align 4\n store i128 %77, i128* %xmm0.0.reg2mem\n store i128 %xmm3.0.reload, i128* %xmm3.1.reg2mem\n br label LBL_21\n LBL_20:\n %83 = call i128 @__asm_movq.1(i64 0)\n %84 = call i64 @FUNC(i64 %11)\n store i128 %83, i128* %xmm0.0.reg2mem\n store i128 %xmm3.211.reload, i128* %xmm3.1.reg2mem\n br label LBL_21\n LBL_21:\n %xmm3.1.reload = load i128, i128* %xmm3.1.reg2mem\n %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem\n %85 = add i32 %storemerge12.reload, 1\n %86 = load i32, i32* %4, align 4\n %87 = zext i32 %86 to i64\n %88 = sext i32 %85 to i64\n %89 = icmp slt i64 %88, %87\n store i64 %88, i64* %.reg2mem\n store i32 %85, i32* %storemerge12.reg2mem\n store i128 %xmm3.1.reload, i128* %xmm3.211.reg2mem\n store i128 %xmm0.0.reload, i128* %xmm0.110.reg2mem\n store i64 %87, i64* %.lcssa7.reg2mem\n br i1 %89, label LBL_2, label LBL_22\n LBL_22:\n %.lcssa7.reload = load i64, i64* %.lcssa7.reg2mem\n ret i64 %.lcssa7.reload\n\n uselistorder i128 %73, { 1, 0 }\n uselistorder i128 %storemerge4.reload, { 1, 2, 3, 4, 0 }\n uselistorder i128 %62, { 1, 0 }\n uselistorder i64 %54, { 1, 0, 2 }\n uselistorder i128 %52, { 3, 2, 1, 0 }\n uselistorder i128 %49, { 1, 0 }\n uselistorder i64 %40, { 1, 0, 4, 3, 2, 5 }\n uselistorder i32 %29, { 2, 1, 0 }\n uselistorder i32 %sv_0.1.lcssa.reload, { 3, 1, 0, 2, 4 }\n uselistorder i32 %sv_0.18.reload, { 1, 0 }\n uselistorder i128 %xmm3.211.reload, { 0, 1, 3, 2 }\n uselistorder i128 %xmm0.110.reload, { 1, 0 }\n uselistorder i64 %11, { 2, 0, 1, 3, 4 }\n uselistorder i32* %10, { 1, 0, 2 }\n uselistorder i32* %4, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm3.211.reg2mem, { 1, 0 }\n uselistorder i128* %xmm0.110.reg2mem, { 1, 0 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm3.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i128* %xmm0.0.reg2mem, { 0, 2, 1 }\n uselistorder i128* %xmm3.1.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @qdist_inc, { 2, 1, 0 }\n uselistorder i64 2, { 1, 0, 3, 2, 5, 4 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @qdist_init, { 1, 0 }\n uselistorder i32 0, { 4, 5, 6, 7, 8, 0, 1, 2, 3, 9, 10 }\n uselistorder i64 (i64)* @atomic_rcu_read, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unlink_anon_vmas_9072", "fun_name": "unlink_anon_vmas", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0)\n %1 = icmp eq i64 %arg1, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = load i64, i64* inttoptr (i64 -8 to i64*), align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 0)\n %6 = call i64 @FUNC(i64 -8)\n br label LBL_2\n LBL_2:\n ret i64 %arg1\n\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "size_autodetect_8485", "fun_name": "size_autodetect", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %storemerge.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i64, i64* %0\n %7 = load i32, i32* %1\n %sv_0 = alloca i64, align 8\n %8 = trunc i64 %arg1 to i32\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %3, i64 %2)\n %10 = bitcast i64* %sv_0 to %stat*\n %11 = call i32 @fstat(i32 %8, %stat* nonnull %10)\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = and i32 %7, 61440\n %15 = icmp eq i32 %14, 32768\n store i64 0, i64* %storemerge.reg2mem\n br i1 %15, label LBL_9, label LBL_3\n LBL_2:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_3:\n %17 = ptrtoint i64* %sv_0 to i64\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %17, i64 %17, i64 %6, i64 %3, i64 %2)\n %19 = call i32 @lseek(i32 %8, i32 0, i32 2)\n %20 = icmp slt i32 %19, 1\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = sext i32 %19 to i64\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_5:\n %22 = call i32* @__errno_location()\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 9\n store i64 1, i64* %rax.0.reg2mem\n br i1 %24, label LBL_8, label LBL_6\n LBL_6:\n %25 = call i32* @__errno_location()\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 29\n store i64 2, i64* %rax.0.reg2mem\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = call i32* @__errno_location()\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 22\n %31 = icmp eq i1 %30, false\n %. = select i1 %31, i64 4, i64 3\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 %rax.0.reload, i64 2, i64 %6, i64 %3, i64 %2)\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_4, i64 0, i64 0))\n unreachable\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %19, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %6, { 2, 1, 0 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i64 (i8*)* @err, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DEBUG, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mlx4_en_complete_rx_desc_4453", "fun_name": "mlx4_en_complete_rx_desc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i32\n %storemerge.lcssa18.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i32 0, i32* %storemerge.lcssa18.reg2mem\n br i1 %4, label LBL_8, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg5 to i64\n %6 = ptrtoint i64* %arg4 to i64\n %7 = ptrtoint i64* %arg3 to i64\n %8 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg6, 4294967296\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = ashr exact i64 %sext, 32\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = load i64, i64* %10, align 8\n %13 = mul i64 %.reload, 4\n %14 = add i64 %12, %13\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = icmp sgt i64 %11, %17\n store i32 %storemerge7.reload, i32* %storemerge.lcssa.reg2mem\n store i64 %.reload, i64* %.lcssa.reg2mem\n br i1 %18, label LBL_3, label LBL_6\n LBL_3:\n %19 = mul i64 %.reload, 16\n %20 = add i64 %19, %7\n %21 = add i64 %19, %6\n %22 = inttoptr i64 %20 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %21 to i64*\n store i64 %23, i64* %24, align 8\n %25 = add i64 %20, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %21, 8\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = add i64 %20, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %21, 12\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = mul i64 %.reload, 8\n %36 = add i64 %35, %8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = zext i32 %storemerge7.reload to i64\n %41 = call i64 @FUNC(i64 %0, i64 %8, i64 %7, i64 %5, i64 %40)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_4, label LBL_5\n LBL_4:\n %45 = icmp eq i32 %storemerge7.reload, 0\n %46 = icmp slt i32 %storemerge7.reload, 0\n %47 = icmp eq i1 %46, false\n %48 = icmp eq i1 %45, false\n %49 = icmp eq i1 %47, %48\n store i32 %storemerge7.reload, i32* %sv_0.06.reg2mem\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %49, label LBL_9, label LBL_10\n LBL_5:\n %50 = load i32, i32* %26, align 4\n %51 = call i64 @FUNC(i64 %0, i64 %39, i32 %50, i64 0)\n %52 = add i32 %storemerge7.reload, 1\n %53 = load i32, i32* %2, align 4\n %54 = zext i32 %53 to i64\n %55 = sext i32 %52 to i64\n %56 = icmp slt i64 %55, %54\n store i64 %55, i64* %.reg2mem\n store i32 %52, i32* %storemerge7.reg2mem\n store i32 %52, i32* %storemerge.lcssa.reg2mem\n store i64 %55, i64* %.lcssa.reg2mem\n br i1 %56, label LBL_2, label LBL_6\n LBL_6:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %57 = icmp slt i32 %storemerge.lcssa.reload, 1\n store i32 %storemerge.lcssa.reload, i32* %storemerge.lcssa18.reg2mem\n br i1 %57, label LBL_8, label LBL_7\n LBL_7:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %58 = load i64, i64* %10, align 8\n %59 = mul i64 %.lcssa.reload, 4\n %60 = add nsw i64 %59, -4\n %61 = add i64 %60, %58\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = mul i64 %.lcssa.reload, 16\n %65 = trunc i64 %arg6 to i32\n %66 = sub i32 %65, %63\n %67 = add i64 %6, -8\n %68 = add i64 %67, %64\n %69 = inttoptr i64 %68 to i32*\n store i32 %66, i32* %69, align 4\n store i32 %storemerge.lcssa.reload, i32* %storemerge.lcssa18.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.lcssa18.reload = load i32, i32* %storemerge.lcssa18.reg2mem\n %70 = zext i32 %storemerge.lcssa18.reload to i64\n store i64 %70, i64* %storemerge3.reg2mem\n br label LBL_10\n LBL_9:\n %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem\n %71 = add i32 %sv_0.06.reload, -1\n %72 = sext i32 %71 to i64\n %73 = mul i64 %72, 16\n %74 = add i64 %73, %6\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = call i64 @FUNC(i64 %76)\n %78 = icmp eq i32 %71, 0\n %79 = icmp slt i32 %71, 0\n %80 = icmp eq i1 %79, false\n %81 = icmp eq i1 %78, false\n %82 = icmp eq i1 %80, %81\n store i32 %71, i32* %sv_0.06.reg2mem\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %82, label LBL_9, label LBL_10\n LBL_10:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i64 %.lcssa.reload, { 1, 0 }\n uselistorder i32 %storemerge.lcssa.reload, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %.reload, { 3, 2, 0, 1 }\n uselistorder i32 %storemerge7.reload, { 2, 0, 4, 5, 3, 1 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i32* %2, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.lcssa18.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.06.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 1, 3, 2 }\n uselistorder i1 false, { 3, 2, 0, 1, 4 }\n uselistorder i32 0, { 5, 6, 3, 4, 7, 1, 0, 2 }\n uselistorder i64 %arg6, { 1, 0 }\n uselistorder label LBL_10, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_auth_sasl_mechname_len_16549", "fun_name": "protocol_client_auth_sasl_mechname_len", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i32* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %4, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = and i64 %6, 4294967295\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %10 = icmp ult i32 %7, 101\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %12 = call i64 @FUNC(i64 %5)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %13 = icmp eq i32 %7, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %16 = call i64 @FUNC(i64 %5)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %17 = call i64 @FUNC(i64 %5, i64 4198996, i32 %7)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @vnc_client_error, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @VNC_DEBUG, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "wl12xx_allocate_link_4595", "fun_name": "wl12xx_allocate_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1, i64 10)\n %4 = trunc i64 %3 to i8\n %5 = icmp ult i8 %4, 10\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = sext i8 %4 to i32\n %7 = add i64 %1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = mul i32 %6, 4\n %11 = and i32 %10, 1020\n %12 = zext i32 %11 to i64\n %13 = add i64 %9, %12\n %14 = urem i32 %6, 256\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %1, i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = inttoptr i64 %13 to i32*\n store i32 %17, i32* %18, align 4\n %19 = add i64 %1, 64\n %20 = call i64 @FUNC(i64 %19, i64 %2)\n %21 = call i64 @FUNC(i64 %15, i64 %19)\n %22 = call i64 @FUNC(i64 %15, i64 %19)\n %23 = call i64 @FUNC(i64 %19, i64 %2)\n %24 = add i64 %1, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = add i64 %28, %12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add nuw nsw i32 %11, 16\n %33 = zext i32 %32 to i64\n %34 = add i64 %24, %33\n %35 = inttoptr i64 %34 to i32*\n store i32 %31, i32* %35, align 4\n %36 = bitcast i64* %arg3 to i8*\n store i8 %4, i8* %36, align 1\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i8 %4, { 0, 2, 1 }\n uselistorder i64 %1, { 0, 1, 3, 2, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @__set_bit, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qlcnic_napi_enable_4255", "fun_name": "qlcnic_napi_enable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 1\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = add i64 %6, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %13 = load i64, i64* %12, align 8\n %14 = mul i64 %.reload, 4\n %15 = add i64 %13, %14\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %15)\n %18 = add i32 %storemerge1.reload, 1\n %19 = load i32, i32* %8, align 4\n %20 = zext i32 %19 to i64\n %21 = sext i32 %18 to i64\n %22 = icmp slt i64 %21, %20\n store i64 %21, i64* %.reg2mem\n store i32 %18, i32* %storemerge1.reg2mem\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %22, label LBL_3, label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %8, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_update_mappings_128", "fun_name": "pci_update_mappings", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i16*\n %3 = load i16, i16* %2, align 2\n %4 = zext i16 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 256\n %7 = urem i64 %5, 2\n %8 = icmp eq i64 %7, 0\n %9 = and i64 %5, 2\n %10 = icmp eq i64 %9, 0\n %11 = add i64 %0, 10\n %12 = inttoptr i64 %11 to i8*\n %13 = add i64 %0, 11\n %14 = inttoptr i64 %13 to i8*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul nuw nsw i64 %indvars.iv.reload, 24\n %16 = add i64 %6, %15\n %17 = add i64 %16, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_16, label LBL_2\n LBL_2:\n %21 = icmp eq i64 %indvars.iv.reload, 2\n %22 = icmp eq i1 %21, false\n %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32\n %23 = mul i32 %indvars.iv.tr, 4\n %24 = add i32 %23, 16\n %storemerge2 = select i1 %22, i32 %24, i32 48\n %25 = add i64 %16, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = urem i32 %27, 2\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_5, label LBL_3\n LBL_3:\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_8, label LBL_4\n LBL_4:\n %30 = zext i32 %storemerge2 to i64\n %31 = add i64 %30, %0\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = load i32, i32* %18, align 4\n %38 = sub i32 0, %37\n %39 = and i32 %36, %38\n %40 = add i32 %37, -1\n %41 = add i32 %40, %39\n %42 = icmp ugt i32 %41, %39\n %43 = icmp ne i32 %39, 0\n %or.cond.not = icmp eq i1 %43, %42\n %44 = icmp ult i32 %41, 65536\n %or.cond5 = icmp eq i1 %44, %or.cond.not\n %spec.select = select i1 %or.cond5, i32 %39, i32 -1\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_5:\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %10, label LBL_8, label LBL_6\n LBL_6:\n %45 = zext i32 %storemerge2 to i64\n %46 = add i64 %45, %0\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %49)\n %51 = trunc i64 %50 to i32\n %52 = urem i32 %51, 2\n %53 = icmp eq i32 %52, 0\n %or.cond = icmp eq i1 %21, %53\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %54 = load i32, i32* %18, align 4\n %55 = sub i32 0, %54\n %56 = and i32 %55, %51\n %57 = add i32 %56, %54\n %58 = add i32 %57, -1\n %59 = icmp ugt i32 %58, %56\n %60 = icmp ne i32 %56, 0\n %or.cond7.not = icmp eq i1 %60, %59\n %61 = icmp eq i32 %57, 0\n %62 = icmp eq i1 %61, false\n %or.cond10 = icmp eq i1 %62, %or.cond7.not\n %spec.select12 = select i1 %or.cond10, i32 %56, i32 -1\n store i32 %spec.select12, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %63 = inttoptr i64 %16 to i32*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %64 = load i32, i32* %63, align 4\n %65 = zext i32 %64 to i64\n %66 = icmp eq i32 %sv_0.0.reload, %64\n store i64 %65, i64* %rax.0.reg2mem\n br i1 %66, label LBL_16, label LBL_9\n LBL_9:\n %67 = icmp eq i32 %64, -1\n br i1 %67, label LBL_15, label LBL_10\n LBL_10:\n %68 = load i32, i32* %26, align 4\n %69 = urem i32 %68, 2\n %70 = icmp eq i32 %69, 0\n br i1 %70, label LBL_14, label LBL_11\n LBL_11:\n %71 = load i8, i8* %12, align 1\n %72 = load i8, i8* %14, align 1\n %73 = zext i8 %72 to i32\n %74 = mul i32 %73, 256\n %75 = zext i8 %71 to i32\n %76 = or i32 %74, %75\n %77 = icmp eq i32 %76, 257\n %.pre = load i32, i32* %18, align 4\n %78 = icmp eq i32 %.pre, 4\n %79 = icmp eq i1 %78, %77\n br i1 %79, label LBL_12, label LBL_13\n LBL_12:\n %80 = add i32 %64, 2\n %81 = zext i32 %80 to i64\n %82 = call i64 @FUNC(i64 %81, i64 1)\n br label LBL_15\n LBL_13:\n %83 = zext i32 %.pre to i64\n %84 = call i64 @FUNC(i64 %65, i64 %83)\n br label LBL_15\n LBL_14:\n %85 = load i32, i32* %18, align 4\n %86 = call i64 @FUNC(i64 %65)\n %87 = zext i32 %85 to i64\n %88 = and i64 %86, 4294967295\n %89 = call i64 @FUNC(i64 %88, i64 %87, i64 0)\n br label LBL_15\n LBL_15:\n store i32 %sv_0.0.reload, i32* %63, align 4\n %90 = zext i32 %sv_0.0.reload to i64\n %91 = icmp eq i32 %sv_0.0.reload, -1\n %spec.select11 = select i1 %91, i64 %90, i64 %0\n store i64 %spec.select11, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_1\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %65, { 2, 1, 0 }\n uselistorder i32 %64, { 1, 0, 2, 3 }\n uselistorder i32 %sv_0.0.reload, { 1, 2, 3, 0 }\n uselistorder i32 %56, { 1, 2, 3, 0 }\n uselistorder i32 %51, { 1, 0 }\n uselistorder i32 %39, { 1, 2, 3, 0 }\n uselistorder i32* %18, { 2, 0, 3, 1, 4 }\n uselistorder i64 %16, { 2, 0, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 3, 1, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %0, { 3, 0, 1, 5, 4, 2, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 3, 2, 5, 4 }\n uselistorder i64 (i64, i64)* @isa_unassign_ioport, { 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }\n uselistorder i32 -1, { 7, 8, 4, 6, 1, 0, 5, 3, 2 }\n uselistorder i32 2, { 3, 0, 1, 2 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 0, { 4, 0, 2, 5, 1, 3, 6, 7, 8 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder label LBL_8, { 0, 3, 2, 1, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fastLog2_10525", "fun_name": "fastLog2", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.4.reg2mem = alloca i32\n %sv_1.3.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = add i64 %arg1, 4294967295\n %2 = and i64 %1, %arg1\n %3 = trunc i64 %2 to i32\n %4 = icmp ne i32 %3, 0\n %spec.select = zext i1 %4 to i32\n %5 = and i64 %arg1, 4294901760\n %6 = icmp eq i64 %5, 0\n store i64 %0, i64* %sv_1.0.reg2mem\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = or i32 %spec.select, 16\n %8 = udiv i64 %0, 65536\n %9 = urem i64 %8, 65536\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 %7, i32* %sv_0.1.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %10 = and i64 %sv_1.0.reload, 4294967040\n %11 = icmp eq i64 %10, 0\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = add nsw i32 %sv_0.1.reload, 8\n %13 = udiv i64 %sv_1.0.reload, 256\n %14 = urem i64 %13, 16777216\n store i64 %14, i64* %sv_1.1.reg2mem\n store i32 %12, i32* %sv_0.2.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %15 = and i64 %sv_1.1.reload, 4294967280\n %16 = icmp eq i64 %15, 0\n store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = add nsw i32 %sv_0.2.reload, 4\n %18 = udiv i64 %sv_1.1.reload, 16\n %19 = urem i64 %18, 268435456\n store i64 %19, i64* %sv_1.2.reg2mem\n store i32 %17, i32* %sv_0.3.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %20 = and i64 %sv_1.2.reload, 4294967292\n %21 = icmp eq i64 %20, 0\n store i64 %sv_1.2.reload, i64* %sv_1.3.reg2mem\n store i32 %sv_0.3.reload, i32* %sv_0.4.reg2mem\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = add i32 %sv_0.3.reload, 2\n %23 = udiv i64 %sv_1.2.reload, 4\n %24 = urem i64 %23, 1073741824\n store i64 %24, i64* %sv_1.3.reg2mem\n store i32 %22, i32* %sv_0.4.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem\n %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem\n %25 = and i64 %sv_1.3.reload, 4294967294\n %26 = icmp ne i64 %25, 0\n %27 = zext i1 %26 to i32\n %spec.select2 = add i32 %sv_0.4.reload, %27\n %28 = zext i32 %spec.select2 to i64\n ret i64 %28\n\n uselistorder i64 %sv_1.2.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.3.reload, { 1, 0 }\n uselistorder i64 %sv_1.1.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.2.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64 65536, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_calc_verify_tls_8450", "fun_name": "ssl_calc_verify_tls", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0)\n %3 = add i64 %0, 16\n %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3)\n %5 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 36)\n %6 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n ret i64 %6\n\n uselistorder i64 (i64, i8*)* @SSL_DEBUG_MSG, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aarch64_cpu_class_init_3465", "fun_name": "aarch64_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198676, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198683, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198690, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i32*\n store i32 34, i32* %10, align 4\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 ptrtoint ([17 x i8]* @gv_0 to i64), i64* %12, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "consume_encoded_name_new_5793", "fun_name": "consume_encoded_name_new", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i64\n %.pn.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n %1 = bitcast i32* %sv_1 to i64*\n %2 = call i64 @FUNC(i64 %0, i64 %arg2, i64* nonnull %1, i64* nonnull %sv_2)\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_16\n LBL_1:\n %5 = load i32, i32* %sv_1, align 4\n %6 = mul i32 %5, 4\n %7 = or i32 %6, 2\n %8 = call i64* @malloc(i32 %7)\n %9 = icmp eq i64* %8, null\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_3\n LBL_2:\n %11 = zext i32 %7 to i64\n %12 = ptrtoint i64* %8 to i64\n %13 = load i32, i32* %sv_1, align 4\n %14 = icmp ne i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %storemerge4.reg2mem\n store i32 0, i32* %sv_0.13.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %15, label LBL_9, label LBL_8\n LBL_3:\n %16 = load i64, i64* %sv_2, align 8\n %17 = inttoptr i64 %16 to i64*\n call void @free(i64* %17)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_4:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %18 = load i64, i64* %sv_2, align 8\n %19 = add i64 %18, %storemerge4.reload\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp slt i8 %21, 0\n %23 = add i64 %34, %12\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %24 = inttoptr i64 %23 to i8*\n store i8 %21, i8* %24, align 1\n store i32 1, i32* %.pn.reg2mem\n br label LBL_7\n LBL_6:\n %25 = sext i8 %21 to i32\n %26 = inttoptr i64 %23 to i8*\n %27 = sub i32 %7, %sv_0.13.reload\n %28 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %26, i32 %27, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %25)\n store i32 %28, i32* %.pn.reg2mem\n br label LBL_7\n LBL_7:\n %.pn.reload = load i32, i32* %.pn.reg2mem\n %sv_0.0 = add i32 %.pn.reload, %sv_0.13.reload\n %29 = add i64 %storemerge4.reload, 1\n %30 = load i32, i32* %sv_1, align 4\n %31 = zext i32 %30 to i64\n %32 = icmp ult i64 %29, %31\n %33 = icmp eq i1 %32, false\n store i64 %29, i64* %storemerge4.reg2mem\n store i32 %sv_0.0, i32* %sv_0.13.reg2mem\n store i32 %sv_0.0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %33, label LBL_9, label LBL_8\n LBL_8:\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %34 = sext i32 %sv_0.13.reload to i64\n %35 = add nsw i64 %34, 6\n %36 = icmp ult i64 %35, %11\n store i32 %sv_0.13.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %36, label LBL_4, label LBL_9\n LBL_9:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %37 = sext i32 %sv_0.1.lcssa.reload to i64\n %38 = icmp ugt i64 %11, %37\n br i1 %38, label LBL_11, label LBL_10\n LBL_10:\n %39 = add i64 %12, -1\n %40 = add i64 %39, %11\n %41 = inttoptr i64 %40 to i8*\n store i8 0, i8* %41, align 1\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem\n br label LBL_12\n LBL_11:\n %42 = add i32 %sv_0.1.lcssa.reload, 1\n %43 = add i64 %37, %12\n %44 = inttoptr i64 %43 to i8*\n store i8 0, i8* %44, align 1\n store i32 %42, i32* %sv_0.2.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %45 = load i64, i64* %sv_2, align 8\n %46 = inttoptr i64 %45 to i64*\n call void @free(i64* %46)\n %47 = call i64* @realloc(i64* %8, i32 %sv_0.2.reload)\n %48 = icmp eq i64* %47, null\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_14, label LBL_13\n LBL_13:\n call void @free(i64* %8)\n call void @free(i64* %47)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %50 = ptrtoint i64* %47 to i64\n store i64 %50, i64* %arg4, align 8\n %51 = icmp eq i64* %arg3, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %51, label LBL_16, label LBL_15\n LBL_15:\n %52 = load i32, i32* %sv_1, align 4\n %53 = bitcast i64* %arg3 to i32*\n store i32 %52, i32* %53, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %47, { 2, 0, 1 }\n uselistorder i32 %sv_0.1.lcssa.reload, { 2, 0, 1 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i8 %21, { 1, 0, 2 }\n uselistorder i64 %12, { 0, 2, 1 }\n uselistorder i64 %11, { 0, 2, 1 }\n uselistorder i64* %8, { 0, 1, 3, 2 }\n uselistorder i32 %7, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 1, 2, 3, 0, 4 }\n uselistorder i32* %sv_1, { 3, 2, 0, 1, 4 }\n uselistorder i32* %.pn.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.13.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 }\n uselistorder i64 1, { 1, 0, 2, 3 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_16, { 1, 0, 3, 4, 2 }\n uselistorder label LBL_9, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tc6393xb_init_16351", "fun_name": "tc6393xb_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 88)\n %1 = trunc i64 %arg3 to i32\n %2 = inttoptr i64 %0 to i32*\n store i32 %1, i32* %2, align 4\n %3 = call i64 @FUNC(i64 4199090, i64 %0, i64 16)\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = call i64 @FUNC(i64 4199097, i64 %0, i64 0)\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i32*\n store i32 1, i32* %10, align 4\n %11 = call i64 @FUNC(i64 4199104, i64 %0, i64 8)\n %12 = add i64 %0, 32\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = call i64 @FUNC(i64 0, i64 0, i64 0)\n %15 = icmp eq i64 %14, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = call i64 @FUNC(i64 %14)\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %17 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %18 = ashr exact i64 %sext, 32\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %19 = call i64 @FUNC(i64 %storemerge.reload, i64 1, i64 118)\n %20 = add i64 %0, 40\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = add i64 %0, 48\n %23 = call i64 @FUNC(i64 %22, i64 0, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 65536)\n %24 = and i64 %18, 4294967295\n %25 = call i64 @FUNC(i64 %17, i64 %24, i64 %22)\n %26 = add i64 %0, 56\n %27 = call i64 @FUNC(i64 %26, i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 1048576, i64 4199111)\n %28 = call i64 @FUNC(i64 %26)\n %29 = call i64 @FUNC(i64 %26)\n %30 = add i64 %0, 64\n %31 = inttoptr i64 %30 to i64*\n store i64 %29, i64* %31, align 8\n %32 = add nsw i64 %18, 1048576\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64 %17, i64 %33, i64 %26)\n %35 = add i64 %0, 72\n %36 = inttoptr i64 %35 to i32*\n store i32 480, i32* %36, align 4\n %37 = add i64 %0, 76\n %38 = inttoptr i64 %37 to i32*\n store i32 640, i32* %38, align 4\n %39 = call i64 @FUNC(i64 0, i64 0, i64* nonnull @gv_3, i64 %0)\n %40 = add i64 %0, 80\n %41 = inttoptr i64 %40 to i64*\n store i64 %39, i64* %41, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @memory_region_add_subregion, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @qemu_allocate_irqs, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ivr_read_header_47", "fun_name": "ivr_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %r9.2.lcssa.reg2mem = alloca i64\n %r8.4.lcssa.reg2mem = alloca i64\n %r9.1.reg2mem = alloca i64\n %r8.3.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64*\n %storemerge525.reg2mem = alloca i32\n %storemerge4.in.reg2mem = alloca i64\n %r9.0.reg2mem = alloca i64\n %r8.2.reg2mem = alloca i64\n %r8.426.reg2mem = alloca i64\n %r9.227.reg2mem = alloca i64\n %storemerge328.reg2mem = alloca i32\n %r8.531.reg2mem = alloca i64\n %r9.332.reg2mem = alloca i64\n %storemerge33.reg2mem = alloca i32\n %r8.1.lcssa.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi47.reg2mem = alloca i64*\n %storemerge734.reg2mem = alloca i32\n %sv_0.136.reg2mem = alloca i32\n %r8.137.reg2mem = alloca i64\n %storemerge638.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.lcssa.reg2mem = alloca i32\n %storemerge842.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 1295077934\n %7 = icmp eq i1 %6, false\n store i64 %3, i64* %sv_2.0.reg2mem\n store i32 %5, i32* %sv_1.0.reg2mem\n br i1 %7, label LBL_9, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %2)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 1\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %10, label LBL_2, label LBL_56\n LBL_2:\n %11 = call i64 @FUNC(i64 %2)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 1\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %13, label LBL_3, label LBL_56\n LBL_3:\n %14 = call i64 @FUNC(i64 %2)\n %15 = and i64 %14, 4294967295\n %16 = call i64 @FUNC(i64 %2, i64 %15)\n %17 = call i64 @FUNC(i64 %2, i64 5)\n %18 = call i64 @FUNC(i64 %2)\n %19 = call i64 @FUNC(i64 %2)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i64 %18, 0\n %23 = icmp eq i1 %22, false\n %or.cond41 = icmp eq i1 %23, %21\n store i64 %18, i64* %storemerge842.reg2mem\n br i1 %or.cond41, label LBL_4, label LBL_6\n LBL_4:\n %storemerge842.reload = load i64, i64* %storemerge842.reg2mem\n %24 = call i64 @FUNC(i64 %2)\n %25 = call i64 @FUNC(i64 %2)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i64 %24, 0\n %29 = icmp eq i1 %28, false\n %or.cond = icmp eq i1 %29, %27\n store i64 %24, i64* %storemerge842.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_5\n LBL_5:\n %30 = trunc i64 %storemerge842.reload to i32\n store i32 %30, i32* %sv_3.0.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem\n %31 = call i64 @FUNC(i64 %2)\n %32 = trunc i64 %31 to i32\n %33 = sub i32 %sv_3.0.lcssa.reload, %32\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %2, i64 %34)\n %36 = call i64 @FUNC(i64 %2)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 1\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %38, label LBL_7, label LBL_56\n LBL_7:\n %39 = call i64 @FUNC(i64 %2)\n %40 = and i64 %39, 4294967295\n %41 = call i64 @FUNC(i64 %2, i64 %40)\n %42 = call i64 @FUNC(i64 %2)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 2\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %44, label LBL_8, label LBL_56\n LBL_8:\n %45 = call i64 @FUNC(i64 %2, i64 16)\n %46 = call i64 @FUNC(i64 %2)\n %47 = call i64 @FUNC(i64 %2)\n %48 = trunc i64 %47 to i32\n store i64 %46, i64* %sv_2.0.reg2mem\n store i32 %48, i32* %sv_1.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %49 = icmp eq i32 %sv_1.0.reload, 1128616494\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %49, label LBL_10, label LBL_56\n LBL_10:\n %50 = call i64 @FUNC(i64 %2)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %52, label LBL_11, label LBL_56\n LBL_11:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %53 = call i64 @FUNC(i64 %2)\n %54 = trunc i64 %53 to i32\n %55 = icmp sgt i32 %54, 0\n br i1 %55, label LBL_12, label LBL_26\n LBL_12:\n %56 = ptrtoint i64* %sv_4 to i64\n %57 = bitcast i64* %sv_5 to i8*\n store i32 0, i32* %storemerge638.reg2mem\n br label LBL_13\n LBL_13:\n %58 = call i64 @FUNC(i64 %2)\n %59 = trunc i64 %58 to i32\n %60 = icmp eq i32 %59, 0\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %60, label LBL_14, label LBL_56\n LBL_14:\n %sv_0.136.reload = load i32, i32* %sv_0.136.reg2mem\n %storemerge638.reload = load i32, i32* %storemerge638.reg2mem\n %61 = call i64 @FUNC(i64 %2)\n %62 = trunc i64 %61 to i32\n %63 = call i64 @FUNC(i64 %2)\n %64 = trunc i64 %63 to i32\n %65 = call i64 @FUNC(i64 %2, i32 %64, i64* nonnull %sv_5, i64 256)\n %66 = call i64 @FUNC(i64 %2)\n %67 = icmp eq i32 %62, 5\n %68 = icmp eq i1 %67, false\n br i1 %68, label LBL_16, label LBL_15\n LBL_15:\n %69 = trunc i64 %66 to i32\n %70 = call i64 @FUNC(i64 %2, i32 %69, i64* nonnull %sv_4, i64 256)\n %71 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_5, i64* nonnull %sv_4, i64 %1)\n store i32 %sv_0.136.reload, i32* %sv_0.0.reg2mem\n store i64 %56, i64* %r8.0.reg2mem\n br label LBL_25\n LBL_16:\n %r8.137.reload = load i64, i64* %r8.137.reg2mem\n %72 = icmp eq i32 %62, 4\n %73 = icmp eq i1 %72, false\n br i1 %73, label LBL_20, label LBL_17\n LBL_17:\n %74 = inttoptr i64 %r8.137.reload to i64*\n %75 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_5, i64* %74, i64 %1)\n %76 = trunc i64 %66 to i32\n %77 = icmp eq i32 %76, 0\n store i32 0, i32* %storemerge734.reg2mem\n store i64* %sv_5, i64** %.pre-phi47.reg2mem\n br i1 %77, label LBL_19, label LBL_18\n LBL_18:\n %storemerge734.reload = load i32, i32* %storemerge734.reg2mem\n %78 = call i64 @FUNC(i64 %2)\n %79 = and i64 %78, 4294967295\n %80 = inttoptr i64 %79 to i64*\n %81 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* %80, i64* %74, i64 %1)\n %82 = add nuw i32 %storemerge734.reload, 1\n %exitcond45 = icmp eq i32 %82, %76\n store i32 %82, i32* %storemerge734.reg2mem\n store i64* %80, i64** %.pre-phi47.reg2mem\n br i1 %exitcond45, label LBL_19, label LBL_18\n LBL_19:\n %.pre-phi47.reload = load i64*, i64** %.pre-phi47.reg2mem\n %83 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64* %.pre-phi47.reload, i64* %74, i64 %1)\n store i32 %sv_0.136.reload, i32* %sv_0.0.reg2mem\n store i64 %r8.137.reload, i64* %r8.0.reg2mem\n br label LBL_25\n LBL_20:\n %84 = trunc i64 %66 to i32\n %85 = icmp eq i32 %84, 4\n %86 = icmp eq i32 %62, 3\n %87 = icmp eq i1 %86, %85\n br i1 %87, label LBL_21, label LBL_24\n LBL_21:\n %88 = call i32 @strncmp(i8* nonnull %57, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i32 %64)\n %89 = icmp eq i32 %88, 0\n %90 = icmp eq i1 %89, false\n %91 = call i64 @FUNC(i64 %2)\n br i1 %90, label LBL_23, label LBL_22\n LBL_22:\n %92 = trunc i64 %91 to i32\n store i32 %92, i32* %sv_0.0.reg2mem\n store i64 %r8.137.reload, i64* %r8.0.reg2mem\n br label LBL_25\n LBL_23:\n %93 = and i64 %91, 4294967295\n %94 = inttoptr i64 %93 to i64*\n %95 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_5, i64* %94, i64 %1)\n store i32 %sv_0.136.reload, i32* %sv_0.0.reg2mem\n store i64 %93, i64* %r8.0.reg2mem\n br label LBL_25\n LBL_24:\n %96 = and i64 %66, 4294967295\n %97 = inttoptr i64 %r8.137.reload to i64*\n %98 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_5, i64* %97, i64 %1)\n %99 = call i64 @FUNC(i64 %2, i64 %96)\n store i32 %sv_0.136.reload, i32* %sv_0.0.reg2mem\n store i64 %r8.137.reload, i64* %r8.0.reg2mem\n br label LBL_25\n LBL_25:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %100 = add nuw nsw i32 %storemerge638.reload, 1\n %101 = icmp slt i32 %100, %54\n store i32 %100, i32* %storemerge638.reg2mem\n store i64 %r8.0.reload, i64* %r8.137.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.136.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.lcssa.reg2mem\n br i1 %101, label LBL_13, label LBL_26\n LBL_26:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %102 = icmp sgt i32 %sv_0.1.lcssa.reload, 0\n br i1 %102, label LBL_27, label LBL_53\n LBL_27:\n %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem\n %103 = ptrtoint i64* %sv_4 to i64\n %104 = bitcast i64* %sv_5 to i8*\n store i32 0, i32* %storemerge33.reg2mem\n store i64 %r8.1.lcssa.reload, i64* %r8.531.reg2mem\n br label LBL_28\n LBL_28:\n %105 = call i64 @FUNC(i64 %2, i64 0)\n %106 = icmp eq i64 %105, 0\n %107 = icmp eq i1 %106, false\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %107, label LBL_29, label LBL_56\n LBL_29:\n %r8.531.reload = load i64, i64* %r8.531.reg2mem\n %r9.332.reload = load i64, i64* %r9.332.reg2mem\n %108 = call i64 @FUNC()\n %109 = inttoptr i64 %105 to i64*\n store i64 %108, i64* %109, align 8\n %110 = icmp eq i64 %108, 0\n %111 = icmp eq i1 %110, false\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %111, label LBL_30, label LBL_56\n LBL_30:\n %112 = call i64 @FUNC(i64 %2)\n %113 = trunc i64 %112 to i32\n %114 = icmp eq i32 %113, 1\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %114, label LBL_31, label LBL_56\n LBL_31:\n %storemerge33.reload = load i32, i32* %storemerge33.reg2mem\n %115 = call i64 @FUNC(i64 %2)\n %116 = trunc i64 %115 to i32\n %117 = icmp sgt i32 %116, 0\n store i64 %r8.531.reload, i64* %r8.4.lcssa.reg2mem\n store i64 %r9.332.reload, i64* %r9.2.lcssa.reg2mem\n br i1 %117, label LBL_32, label LBL_52\n LBL_32:\n %118 = add i64 %105, 8\n %119 = inttoptr i64 %118 to i32*\n store i32 0, i32* %storemerge328.reg2mem\n store i64 %r9.332.reload, i64* %r9.227.reg2mem\n store i64 %r8.531.reload, i64* %r8.426.reg2mem\n br label LBL_33\n LBL_33:\n %120 = call i64 @FUNC(i64 %2)\n %121 = trunc i64 %120 to i32\n %122 = icmp eq i32 %121, 0\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %122, label LBL_34, label LBL_56\n LBL_34:\n %r9.227.reload = load i64, i64* %r9.227.reg2mem\n %storemerge328.reload = load i32, i32* %storemerge328.reg2mem\n %123 = call i64 @FUNC(i64 %2)\n %124 = trunc i64 %123 to i32\n %125 = call i64 @FUNC(i64 %2)\n %126 = trunc i64 %125 to i32\n %127 = call i64 @FUNC(i64 %2, i32 %126, i64* nonnull %sv_5, i64 256)\n %128 = call i64 @FUNC(i64 %2)\n %129 = icmp eq i32 %124, 5\n %130 = icmp eq i1 %129, false\n br i1 %130, label LBL_36, label LBL_35\n LBL_35:\n %131 = trunc i64 %128 to i32\n %132 = call i64 @FUNC(i64 %2, i32 %131, i64* nonnull %sv_4, i64 256)\n %133 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_5, i64* nonnull %sv_4, i64 %r9.227.reload)\n store i64 %103, i64* %r8.3.reg2mem\n store i64 %r9.227.reload, i64* %r9.1.reg2mem\n br label LBL_51\n LBL_36:\n %r8.426.reload = load i64, i64* %r8.426.reg2mem\n %134 = and i64 %128, 4294967295\n %135 = icmp eq i32 %124, 4\n %136 = icmp eq i1 %135, false\n br i1 %136, label LBL_46, label LBL_37\n LBL_37:\n %137 = call i32 @strncmp(i8* nonnull %104, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0), i32 %126)\n %138 = icmp eq i32 %137, 0\n %139 = icmp eq i1 %138, false\n br i1 %139, label LBL_43, label LBL_38\n LBL_38:\n %140 = call i64 @FUNC(i64 %2, i64 4)\n %141 = trunc i64 %140 to i32\n %142 = icmp slt i32 %141, 0\n %143 = icmp eq i1 %142, false\n store i64 %140, i64* %rax.0.shrunk.reg2mem\n br i1 %143, label LBL_39, label LBL_56\n LBL_39:\n %144 = call i64 @FUNC(i64 %2)\n %145 = trunc i64 %144 to i32\n %146 = icmp eq i32 %145, 1230261325\n %147 = icmp eq i1 %146, false\n br i1 %147, label LBL_41, label LBL_40\n LBL_40:\n %148 = call i64 @FUNC(i64 %2, i64 %2, i64 %105, i64 0)\n store i64 %r8.426.reload, i64* %r8.2.reg2mem\n store i64 %r9.227.reload, i64* %r9.0.reg2mem\n store i64 %148, i64* %storemerge4.in.reg2mem\n br label LBL_42\n LBL_41:\n %149 = call i64 @FUNC(i64 %2, i64 -4, i64 1)\n %150 = load i64, i64* %109, align 8\n %151 = call i64 @FUNC(i64 %2, i64 %2, i64 %105, i64 %150, i64 %134, i64 0)\n store i64 %134, i64* %r8.2.reg2mem\n store i64 0, i64* %r9.0.reg2mem\n store i64 %151, i64* %storemerge4.in.reg2mem\n br label LBL_42\n LBL_42:\n %storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem\n %r9.0.reload = load i64, i64* %r9.0.reg2mem\n %r8.2.reload = load i64, i64* %r8.2.reg2mem\n %storemerge4 = trunc i64 %storemerge4.in.reload to i32\n %152 = icmp slt i32 %storemerge4, 0\n %153 = icmp eq i1 %152, false\n store i64 %r8.2.reload, i64* %r8.3.reg2mem\n store i64 %r9.0.reload, i64* %r9.1.reg2mem\n store i64 %storemerge4.in.reload, i64* %rax.0.shrunk.reg2mem\n br i1 %153, label LBL_51, label LBL_56\n LBL_43:\n %154 = inttoptr i64 %r8.426.reload to i64*\n %155 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_5, i64* %154, i64 %r9.227.reload)\n %156 = trunc i64 %128 to i32\n %157 = icmp eq i32 %156, 0\n store i32 0, i32* %storemerge525.reg2mem\n store i64* %sv_5, i64** %.pre-phi.reg2mem\n br i1 %157, label LBL_45, label LBL_44\n LBL_44:\n %storemerge525.reload = load i32, i32* %storemerge525.reg2mem\n %158 = call i64 @FUNC(i64 %2)\n %159 = and i64 %158, 4294967295\n %160 = inttoptr i64 %159 to i64*\n %161 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* %160, i64* %154, i64 %r9.227.reload)\n %162 = add nuw i32 %storemerge525.reload, 1\n %exitcond = icmp eq i32 %162, %156\n store i32 %162, i32* %storemerge525.reg2mem\n store i64* %160, i64** %.pre-phi.reg2mem\n br i1 %exitcond, label LBL_45, label LBL_44\n LBL_45:\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %163 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64* %.pre-phi.reload, i64* %154, i64 %r9.227.reload)\n store i64 %r8.426.reload, i64* %r8.3.reg2mem\n store i64 %r9.227.reload, i64* %r9.1.reg2mem\n br label LBL_51\n LBL_46:\n %164 = trunc i64 %128 to i32\n %165 = icmp eq i32 %164, 4\n %166 = icmp eq i32 %124, 3\n %167 = icmp eq i1 %166, %165\n br i1 %167, label LBL_47, label LBL_50\n LBL_47:\n %168 = call i32 @strncmp(i8* nonnull %104, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i32 %126)\n %169 = icmp eq i32 %168, 0\n %170 = icmp eq i1 %169, false\n %171 = call i64 @FUNC(i64 %2)\n br i1 %170, label LBL_49, label LBL_48\n LBL_48:\n %172 = trunc i64 %171 to i32\n store i32 %172, i32* %119, align 4\n store i64 %r8.426.reload, i64* %r8.3.reg2mem\n store i64 %r9.227.reload, i64* %r9.1.reg2mem\n br label LBL_51\n LBL_49:\n %173 = and i64 %171, 4294967295\n %174 = inttoptr i64 %173 to i64*\n %175 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_5, i64* %174, i64 %r9.227.reload)\n store i64 %173, i64* %r8.3.reg2mem\n store i64 %r9.227.reload, i64* %r9.1.reg2mem\n br label LBL_51\n LBL_50:\n %176 = inttoptr i64 %r8.426.reload to i64*\n %177 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_5, i64* %176, i64 %r9.227.reload)\n %178 = call i64 @FUNC(i64 %2, i64 %134)\n store i64 %r8.426.reload, i64* %r8.3.reg2mem\n store i64 %r9.227.reload, i64* %r9.1.reg2mem\n br label LBL_51\n LBL_51:\n %r9.1.reload = load i64, i64* %r9.1.reg2mem\n %r8.3.reload = load i64, i64* %r8.3.reg2mem\n %179 = add nuw nsw i32 %storemerge328.reload, 1\n %180 = icmp slt i32 %179, %116\n store i32 %179, i32* %storemerge328.reg2mem\n store i64 %r9.1.reload, i64* %r9.227.reg2mem\n store i64 %r8.3.reload, i64* %r8.426.reg2mem\n store i64 %r8.3.reload, i64* %r8.4.lcssa.reg2mem\n store i64 %r9.1.reload, i64* %r9.2.lcssa.reg2mem\n br i1 %180, label LBL_33, label LBL_52\n LBL_52:\n %r9.2.lcssa.reload = load i64, i64* %r9.2.lcssa.reg2mem\n %r8.4.lcssa.reload = load i64, i64* %r8.4.lcssa.reg2mem\n %181 = add nuw nsw i32 %storemerge33.reload, 1\n %182 = icmp slt i32 %181, %sv_0.1.lcssa.reload\n store i32 %181, i32* %storemerge33.reg2mem\n store i64 %r9.2.lcssa.reload, i64* %r9.332.reg2mem\n store i64 %r8.4.lcssa.reload, i64* %r8.531.reg2mem\n br i1 %182, label LBL_28, label LBL_53\n LBL_53:\n %183 = call i64 @FUNC(i64 %2)\n %184 = trunc i64 %183 to i32\n %185 = icmp eq i32 %184, 6\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %185, label LBL_54, label LBL_56\n LBL_54:\n %186 = call i64 @FUNC(i64 %2, i64 12)\n %187 = call i64 @FUNC(i64 %2)\n %188 = add i64 %187, %sv_2.0.reload\n %189 = call i64 @FUNC(i64 %2)\n %190 = sub i64 %188, %189\n %191 = and i64 %190, 4294967295\n %192 = call i64 @FUNC(i64 %2, i64 %191)\n %193 = call i64 @FUNC(i64 %2)\n %194 = trunc i64 %193 to i32\n %195 = icmp eq i32 %194, 8\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %195, label LBL_55, label LBL_56\n LBL_55:\n %196 = call i64 @FUNC(i64 %2, i64 8)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_56\n LBL_56:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %171, { 1, 0 }\n uselistorder i64 %134, { 1, 0, 2 }\n uselistorder i64 %r8.426.reload, { 2, 5, 1, 0, 4, 3 }\n uselistorder i64 %128, { 0, 1, 3, 2 }\n uselistorder i32 %126, { 1, 0, 2 }\n uselistorder i64 %r9.227.reload, { 4, 11, 3, 10, 2, 1, 7, 8, 9, 5, 0, 6 }\n uselistorder i32 %116, { 1, 0 }\n uselistorder i64 %r9.332.reload, { 1, 0 }\n uselistorder i64 %r8.531.reload, { 1, 0 }\n uselistorder i64 %105, { 1, 0, 2, 3, 4 }\n uselistorder i64 %91, { 1, 0 }\n uselistorder i64 %r8.137.reload, { 2, 4, 1, 0, 3 }\n uselistorder i64 %66, { 3, 0, 1, 2 }\n uselistorder i32 %sv_0.136.reload, { 3, 2, 1, 0 }\n uselistorder i32 %54, { 1, 0 }\n uselistorder i64* %sv_5, { 2, 3, 0, 4, 6, 7, 5, 8, 9, 1, 11, 12, 13, 10 }\n uselistorder i64* %sv_4, { 0, 1, 4, 2, 3, 5 }\n uselistorder i64 %2, { 18, 19, 20, 22, 21, 23, 24, 40, 41, 38, 39, 34, 35, 36, 37, 30, 29, 31, 28, 27, 32, 33, 25, 26, 42, 43, 44, 45, 46, 47, 48, 49, 58, 59, 56, 57, 52, 53, 54, 55, 50, 51, 60, 61, 62, 63, 64, 65, 66, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 0, 12, 13, 14, 15, 16, 17, 67, 68 }\n uselistorder i64 %1, { 0, 1, 4, 3, 2, 5 }\n uselistorder i64* %storemerge842.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge638.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.137.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.136.reg2mem, { 1, 0 }\n uselistorder i32* %storemerge734.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %r8.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32* %storemerge33.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r9.332.reg2mem, { 1, 0 }\n uselistorder i64* %r8.531.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge328.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r9.227.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.426.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r9.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge4.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge525.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.3.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %r9.1.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 16, 8, 9, 5, 6, 7, 2, 3, 4, 1, 10, 11, 12, 13, 14, 15 }\n uselistorder i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), { 1, 0 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 0, 2, 1 }\n uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i32 4, { 2, 3, 0, 1 }\n uselistorder i64 (i64, i64, i8*, i64*, i64*, i64)* @av_log, { 11, 10, 8, 9, 7, 6, 5, 4, 2, 3, 1, 0 }\n uselistorder i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder i32 5, { 1, 0 }\n uselistorder i64 (i64, i32, i64*, i64)* @avio_get_str, { 3, 2, 1, 0 }\n uselistorder i32 0, { 11, 0, 6, 12, 13, 14, 15, 1, 7, 2, 8, 16, 3, 5, 17, 4, 9, 18, 19, 10 }\n uselistorder i64 (i64)* @avio_feof, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @avio_rb64, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @avio_skip, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @avio_rb32, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @avio_r8, { 10, 6, 9, 8, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 0, 14 }\n uselistorder i64 (i64)* @avio_rl32, { 1, 0 }\n uselistorder i64 (i64)* @avio_tell, { 3, 2, 1, 0 }\n uselistorder label LBL_56, { 15, 7, 8, 4, 5, 6, 1, 2, 3, 0, 9, 10, 11, 12, 13, 14 }\n uselistorder label LBL_44, { 1, 0 }\n uselistorder label LBL_33, { 1, 0 }\n uselistorder label LBL_28, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handle_emulation_failure_6587", "fun_name": "handle_emulation_failure", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, 1\n store i32 %4, i32* %arg1, align 4\n %5 = call i64 @FUNC(i64 %2)\n %6 = call i64 @FUNC(i64 %2)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = trunc i64 %2 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i32*\n store i32 2, i32* %16, align 4\n %17 = load i64, i64* %14, align 8\n %18 = add i64 %17, 4\n %19 = inttoptr i64 %18 to i32*\n store i32 3, i32* %19, align 4\n %20 = load i64, i64* %14, align 8\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = call i64 @FUNC(i64 %2, i64 4)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %2, { 2, 1, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dequantize_slice_buffered_1270", "fun_name": "dequantize_slice_buffered", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3, i64 %arg4, i32 %arg5, i32 %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.in.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge47.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg3 to i64\n %4 = trunc i64 %1 to i32\n %5 = add i64 %3, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i32 %7, %4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9, i64 0, i64 256)\n %11 = mul i64 %10, 4\n %12 = and i64 %11, 60\n %13 = add i64 %12, ptrtoint (i32** @gv_0 to i64)\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = ptrtoint i32* %arg1 to i64\n %17 = add i64 %16, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %4, 0\n store i32 0, i32* %rax.0.in.reg2mem\n br i1 %20, label LBL_10, label LBL_1\n LBL_1:\n %21 = trunc i64 %arg7 to i32\n %22 = icmp sgt i32 %21, %arg6\n store i32 %arg6, i32* %rax.0.in.reg2mem\n br i1 %22, label LBL_2, label LBL_10\n LBL_2:\n %23 = trunc i64 %2 to i32\n %24 = trunc i64 %10 to i32\n %25 = udiv i32 %24, 16\n %26 = urem i32 %25, 32\n %27 = shl i32 %15, %26\n %28 = mul i32 %27, %19\n %29 = ashr i32 %28, 8\n %30 = add i64 %3, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = add i64 %3, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = ptrtoint i32* %arg2 to i64\n %35 = add i64 %3, 16\n %36 = inttoptr i64 %35 to i32*\n %37 = icmp sgt i32 %23, 0\n %wide.trip.count = and i64 %2, 4294967295\n store i32 %arg6, i32* %storemerge47.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge47.reload = load i32, i32* %storemerge47.reg2mem\n %38 = load i32, i32* %31, align 4\n %39 = mul i32 %38, %storemerge47.reload\n %40 = load i32, i32* %33, align 4\n %41 = add i32 %39, %40\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %34, i64 %42)\n %44 = load i32, i32* %36, align 4\n %45 = sext i32 %44 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %37, label LBL_4, label LBL_9\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %reass.add = add nsw i64 %indvars.iv.reload, %45\n %reass.mul = mul i64 %reass.add, 4\n %46 = add i64 %reass.mul, %43\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp slt i32 %48, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_6, label LBL_5\n LBL_5:\n %51 = mul i32 %48, %27\n %52 = sub i32 %51, %29\n store i32 %52, i32* %47, align 4\n br label LBL_8\n LBL_6:\n %53 = icmp slt i32 %48, 1\n br i1 %53, label LBL_8, label LBL_7\n LBL_7:\n %54 = mul i32 %48, %27\n %55 = add i32 %54, %29\n store i32 %55, i32* %47, align 4\n br label LBL_8\n LBL_8:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_4\n LBL_9:\n %56 = add nsw i32 %storemerge47.reload, 1\n %exitcond8 = icmp eq i32 %56, %21\n store i32 %56, i32* %storemerge47.reg2mem\n store i32 %21, i32* %rax.0.in.reg2mem\n br i1 %exitcond8, label LBL_10, label LBL_3\n LBL_10:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = zext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %48, { 0, 2, 1, 3 }\n uselistorder i32* %47, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4, { 0, 2, 1, 3 }\n uselistorder i32 %arg6, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_mime_9034", "fun_name": "init_mime", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i32\n %0 = load i32, i32* @gv_0, align 4\n %1 = load i64, i64* @gv_1, align 8\n %2 = inttoptr i64 %1 to i64*\n call void @qsort(i64* %2, i32 %0, i32 32, i32 (i64*, i64*)* inttoptr (i64 4198758 to i32 (i64*, i64*)*))\n %3 = load i32, i32* @gv_2, align 4\n %4 = load i64, i64* @gv_3, align 8\n %5 = inttoptr i64 %4 to i64*\n call void @qsort(i64* %5, i32 %3, i32 32, i32 (i64*, i64*)* inttoptr (i64 4198758 to i32 (i64*, i64*)*))\n %6 = load i32, i32* @gv_0, align 4\n %7 = icmp eq i32 %6, 0\n store i32 0, i32* %storemerge13.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %8 = load i64, i64* @gv_1, align 8\n %9 = sext i32 %storemerge13.reload to i64\n %10 = mul i64 %9, 32\n %11 = add i64 %10, %8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i8*\n %15 = call i32 @strlen(i8* %14)\n %16 = sext i32 %15 to i64\n %17 = add i64 %11, 16\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = load i64, i64* @gv_1, align 8\n %20 = add i64 %19, %10\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i8*\n %25 = call i32 @strlen(i8* %24)\n %26 = sext i32 %25 to i64\n %27 = add i64 %20, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n %29 = add nuw i32 %storemerge13.reload, 1\n %30 = load i32, i32* @gv_0, align 4\n %31 = icmp ult i32 %29, %30\n store i32 %29, i32* %storemerge13.reg2mem\n br i1 %31, label LBL_1, label LBL_2\n LBL_2:\n %32 = load i32, i32* @gv_2, align 4\n %33 = icmp eq i32 %32, 0\n store i32 0, i32* %storemerge2.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %33, label LBL_5, label LBL_3\n LBL_3:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %34 = load i64, i64* @gv_3, align 8\n %35 = sext i32 %storemerge2.reload to i64\n %36 = mul i64 %35, 32\n %37 = add i64 %36, %34\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = inttoptr i64 %39 to i8*\n %41 = call i32 @strlen(i8* %40)\n %42 = sext i32 %41 to i64\n %43 = add i64 %37, 16\n %44 = inttoptr i64 %43 to i64*\n store i64 %42, i64* %44, align 8\n %45 = load i64, i64* @gv_3, align 8\n %46 = add i64 %45, %36\n %47 = add i64 %46, 8\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = inttoptr i64 %49 to i8*\n %51 = call i32 @strlen(i8* %50)\n %52 = sext i32 %51 to i64\n %53 = add i64 %46, 24\n %54 = inttoptr i64 %53 to i64*\n store i64 %52, i64* %54, align 8\n %55 = add nuw i32 %storemerge2.reload, 1\n %56 = load i32, i32* @gv_2, align 4\n %57 = icmp ult i32 %55, %56\n store i32 %55, i32* %storemerge2.reg2mem\n br i1 %57, label LBL_3, label LBL_4\n LBL_4:\n %phitmp = sext i32 %56 to i64\n store i64 %phitmp, i64* %.lcssa.reg2mem\n br label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %36, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*)* @strlen, { 3, 2, 1, 0 }\n uselistorder void (i64*, i32, i32, i32 (i64*, i64*)*)* @qsort, { 1, 0 }\n uselistorder i32 1, { 3, 4, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jfs_evict_inode_5830", "fun_name": "jfs_evict_inode", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_9, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_9, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = add i64 %arg1, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 1\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_10, label LBL_3\n LBL_3:\n %16 = add i64 %arg1, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %11)\n %22 = call i64 @FUNC(i64 1, i64 %arg1)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = call i64 @FUNC(i64 %arg1)\n br label LBL_5\n LBL_5:\n %26 = icmp eq i64 %20, 0\n br i1 %26, label LBL_8, label LBL_6\n LBL_6:\n %27 = add i64 %20, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %31 = call i64 @FUNC(i64 %arg1)\n br label LBL_8\n LBL_8:\n %32 = call i64 @FUNC(i64 %arg1)\n br label LBL_10\n LBL_9:\n %33 = add i64 %arg1, 16\n %34 = call i64 @FUNC(i64 %33)\n br label LBL_10\n LBL_10:\n %35 = call i64 @FUNC(i64 %arg1)\n %36 = call i64 @FUNC(i64 %arg1)\n %37 = add i64 %arg1, 8\n %38 = call i64 @FUNC(i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = zext i1 %40 to i64\n %42 = call i64 @FUNC(i64 %41)\n %43 = add i64 %arg1, 4\n %44 = call i64 @FUNC(i64 %43)\n %45 = icmp eq i32 %3, -1\n br i1 %45, label LBL_12, label LBL_11\n LBL_11:\n %46 = inttoptr i64 %37 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = add i64 %47, 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %sext = mul i64 %1, 4294967296\n %53 = ashr exact i64 %sext, 30\n %54 = add i64 %52, %53\n %55 = call i64 @FUNC(i64 %54)\n %56 = inttoptr i64 %arg1 to i32*\n store i32 -1, i32* %56, align 4\n br label LBL_12\n LBL_12:\n %57 = call i64 @FUNC(i64 %43)\n ret i64 %57\n\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 -1, { 2, 0, 1 }\n uselistorder i64 (i64)* @truncate_inode_pages_final, { 1, 0 }\n uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 8, 9, 10, 12, 11, 13, 2, 1, 0, 3, 4, 6, 5, 7, 14 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_physical_memory_write_rom_internal_11548", "fun_name": "cpu_physical_memory_write_rom_internal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.07.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i64\n %sv_2.09.reg2mem = alloca i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %0 = call i64 @FUNC()\n %sv_2.0.in5 = mul i64 %arg4, 4294967296\n %sv_2.06 = ashr exact i64 %sv_2.0.in5, 32\n %1 = trunc i64 %sv_2.06 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp slt i32 %1, 0\n %4 = icmp eq i1 %3, false\n %5 = icmp eq i1 %2, false\n %6 = icmp eq i1 %4, %5\n br i1 %6, label LBL_1, label LBL_8\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = ptrtoint i64* %arg3 to i64\n %9 = trunc i64 %arg5 to i32\n store i64 %sv_2.06, i64* %sv_2.09.reg2mem\n store i64 %8, i64* %sv_1.08.reg2mem\n store i64 %arg2, i64* %sv_0.07.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem\n %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem\n store i64 %sv_2.09.reload, i64* %sv_4, align 8\n %10 = call i64 @FUNC(i64 %7, i64 %sv_0.07.reload, i64* nonnull %sv_3, i64* nonnull %sv_4, i64 1)\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %10)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %10)\n %19 = load i64, i64* %sv_3, align 8\n %20 = add i64 %19, %18\n store i64 %20, i64* %sv_3, align 8\n %21 = call i64 @FUNC(i64 %20)\n switch i32 %9, label LBL_7 [\n i32 0, label LBL_5\n i32 1, label LBL_6\n ]\n LBL_5:\n %22 = load i64, i64* %sv_4, align 8\n %23 = inttoptr i64 %21 to i64*\n %24 = inttoptr i64 %sv_1.08.reload to i64*\n %25 = trunc i64 %22 to i32\n %26 = call i64* @memcpy(i64* %23, i64* %24, i32 %25)\n %27 = load i64, i64* %sv_4, align 8\n %28 = load i64, i64* %sv_3, align 8\n %29 = call i64 @FUNC(i64 %10, i64 %28, i64 %27)\n br label LBL_7\n LBL_6:\n %30 = load i64, i64* %sv_4, align 8\n %31 = add i64 %30, %21\n %32 = call i64 @FUNC(i64 %21, i64 %31)\n br label LBL_7\n LBL_7:\n %33 = load i64, i64* %sv_4, align 8\n %34 = sub i64 %sv_2.09.reload, %33\n %35 = add i64 %33, %sv_1.08.reload\n %36 = add i64 %33, %sv_0.07.reload\n %sv_2.0.in = mul i64 %34, 4294967296\n %sv_2.0 = ashr exact i64 %sv_2.0.in, 32\n %37 = trunc i64 %sv_2.0 to i32\n %38 = icmp eq i32 %37, 0\n %39 = icmp slt i32 %37, 0\n %40 = icmp eq i1 %39, false\n %41 = icmp eq i1 %38, false\n %42 = icmp eq i1 %40, %41\n store i64 %sv_2.0, i64* %sv_2.09.reg2mem\n store i64 %35, i64* %sv_1.08.reg2mem\n store i64 %36, i64* %sv_0.07.reg2mem\n br i1 %42, label LBL_2, label LBL_8\n LBL_8:\n %43 = call i64 @FUNC()\n ret i64 %43\n\n uselistorder i32 %37, { 1, 0 }\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 2, 0, 3 }\n uselistorder i64 %sv_2.09.reload, { 1, 0 }\n uselistorder i64 %sv_1.08.reload, { 1, 0 }\n uselistorder i64 %sv_0.07.reload, { 1, 0 }\n uselistorder i64* %sv_4, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %sv_3, { 1, 2, 3, 0 }\n uselistorder i64* %sv_2.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i1 false, { 4, 2, 3, 0, 1 }\n uselistorder i32 0, { 5, 6, 2, 3, 4, 0, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_rdma_data_init_2092", "fun_name": "qemu_rdma_data_init", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i8* %arg1, null\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %0, label LBL_5, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 24)\n %2 = inttoptr i64 %1 to i64*\n %3 = call i64* @memset(i64* %2, i32 0, i32 24)\n %4 = inttoptr i64 %1 to i32*\n store i32 -1, i32* %4, align 4\n %5 = add i64 %1, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 -1, i32* %6, align 4\n %7 = ptrtoint i8* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i64 0)\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = add i64 %8, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i8*\n %14 = call i32 @atoi(i8* %13)\n %15 = add i64 %1, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = inttoptr i64 %8 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i8*\n %20 = call i64 @FUNC(i8* %19)\n %21 = add i64 %1, 16\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n store i64 %1, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %23 = ptrtoint i64* %arg2 to i64\n %24 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %7)\n %25 = call i64 @FUNC(i64 %1)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %26 = call i64 @FUNC(i64 %8)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n ret i64 %sv_0.1.reload\n\n uselistorder i64 %8, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 3, 0, 1, 2, 4, 5, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i8*)* @g_strdup, { 2, 1, 0 }\n uselistorder i64 (i64)* @g_malloc0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_graph_entry_leaf_4263", "fun_name": "print_graph_entry_leaf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64* %arg1, null\n br i1 %11, label LBL_0.LBL_7_crit_edge, label LBL_2\n LBL_1:\n %.pre = bitcast i64* %rsi to i32*\n store i32* %.pre, i32** %.pre-phi.reg2mem\n br label LBL_7\n LBL_2:\n %12 = trunc i64 %2 to i32\n %13 = add i64 %4, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %4, i64 %16)\n %18 = inttoptr i64 %17 to i32*\n %19 = bitcast i64* %rsi to i32*\n %20 = icmp sgt i32 %12, -2\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = add i32 %12, 1\n %22 = bitcast i64* %arg2 to i32*\n store i32 %21, i32* %22, align 4\n %23 = add i32 %12, -1\n store i32 %23, i32* %18, align 4\n br label LBL_5\n LBL_4:\n %24 = add i32 %12, -1\n store i32 %24, i32* %18, align 4\n %25 = icmp sgt i32 %12, 9\n store i32* %19, i32** %.pre-phi.reg2mem\n br i1 %25, label LBL_7, label LBL_5\n LBL_5:\n %26 = load i32, i32* %19, align 8\n %27 = icmp slt i32 %26, 0\n store i32* %19, i32** %.pre-phi.reg2mem\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = sext i32 %26 to i64\n %29 = mul i64 %28, 8\n %30 = add i64 %17, 8\n %31 = add i64 %30, %29\n %32 = inttoptr i64 %31 to i64*\n store i64 0, i64* %32, align 8\n store i32* %19, i32** %.pre-phi.reg2mem\n br label LBL_7\n LBL_7:\n %33 = ptrtoint i64* %arg4 to i64\n %sext = mul i64 %arg5, 4294967296\n %34 = ashr exact i64 %sext, 32\n %35 = sub i64 %3, %10\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %36 = trunc i64 %34 to i32\n %37 = call i64 @FUNC(i64 %7, i64 %35, i64 %33, i32 %36)\n %38 = load i32, i32* %.pre-phi.reload, align 8\n %.mask = urem i32 %38, 1073741824\n %39 = icmp eq i32 %.mask, 0\n br i1 %39, label LBL_10, label LBL_8\n LBL_8:\n %40 = mul i32 %38, 4\n %41 = zext i32 %40 to i64\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %42 = call i64 @FUNC(i64 %33, i64 32)\n %43 = add i32 %storemerge3.reload, 1\n %44 = sext i32 %43 to i64\n %45 = icmp slt i64 %44, %41\n store i32 %43, i32* %storemerge3.reg2mem\n br i1 %45, label LBL_9, label LBL_10\n LBL_10:\n %46 = ptrtoint i64* %arg2 to i64\n %47 = and i64 %34, 4294967295\n %48 = add i64 %46, 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = call i64 @FUNC(i64 %33, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %50, i64 %47, i64 %arg5, i64 %1)\n %52 = call i64 @FUNC(i64 %33)\n ret i64 %52\n\n uselistorder i64 %33, { 1, 0, 2, 3 }\n uselistorder i32* %19, { 2, 1, 3, 0 }\n uselistorder i32* %18, { 1, 0 }\n uselistorder i32 %12, { 1, 2, 0, 4, 3 }\n uselistorder i64* %rsi, { 1, 0 }\n uselistorder i32** %.pre-phi.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 8, { 2, 3, 0, 4, 5, 1 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fbcon_deinit_4855", "fun_name": "fbcon_deinit", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 30\n %3 = add i64 %2, ptrtoint (i32** @gv_0 to i64)\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, -1\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = sext i32 %5 to i64\n %8 = mul i64 %7, 8\n %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_4, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %11 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %11, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_5, label LBL_3\n LBL_3:\n %19 = inttoptr i64 %17 to i32*\n %20 = call i64 @FUNC(i64 %11)\n %21 = load i32, i32* %19, align 4\n %22 = and i32 %21, -2\n store i32 %22, i32* %19, align 4\n br label LBL_5\n LBL_4:\n %23 = call i64 @FUNC(i64 ptrtoint (i64* @gv_2 to i64), i64 1)\n br label LBL_6\n LBL_5:\n %24 = urem i32 %14, 2\n %25 = icmp eq i32 %24, 0\n %26 = zext i1 %25 to i64\n %27 = call i64 @FUNC(i64 ptrtoint (i64* @gv_2 to i64), i64 %26)\n %28 = icmp eq i1 %25, false\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = ptrtoint i32* %arg1 to i64\n %30 = add i64 %29, 8\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n br label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i64* nonnull @gv_3)\n %33 = and i64 %32, 4294967295\n %34 = xor i64 %33, 1\n %35 = trunc i64 %34 to i8\n %36 = icmp eq i8 %35, 0\n store i64 %34, i64* %rax.0.reg2mem\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = call i64 @FUNC()\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %19, { 1, 0 }\n uselistorder i64 (i64, i64)* @fbcon_free_font, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_2 to i64), { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_receive_reply_3188", "fun_name": "nbd_receive_reply", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %5, i64 4, i64 %4)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp slt i32 %8, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp eq i1 %9, false\n %13 = icmp eq i1 %11, %12\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = and i64 %7, 4294967295\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %15 = trunc i64 %3 to i32\n %16 = call i64 @FUNC(i64 %5)\n %17 = icmp eq i32 %15, 1049141084\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = icmp eq i32 %15, 1732535960\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_8, label LBL_4\n LBL_4:\n %20 = add i64 %5, 4\n %21 = call i64 @FUNC(i64 %6, i64 %20, i64 %4)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n store i32 %22, i32* %sv_0.0.reg2mem\n br i1 %23, label LBL_9, label LBL_5\n LBL_5:\n %24 = add i64 %5, 32\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = inttoptr i64 %20 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = load i32, i32* %27, align 4\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %32, i64 %30, i64 %26)\n store i32 %22, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %34 = add i64 %5, 8\n %35 = call i64 @FUNC(i64 %6, i64 %34, i64 %4)\n %36 = trunc i64 %35 to i32\n %37 = icmp slt i32 %36, 0\n store i32 %36, i32* %sv_0.0.reg2mem\n br i1 %37, label LBL_9, label LBL_7\n LBL_7:\n %38 = inttoptr i64 %34 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %40)\n %42 = add i64 %5, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %5, 16\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = load i32, i32* %38, align 4\n %49 = add i64 %5, 12\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = zext i32 %51 to i64\n %53 = call i64 @FUNC(i64 %52, i32 %48, i64 %41, i64 %47, i64 %44)\n store i32 %36, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %54 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i32 %15, i64 %4, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %55 = icmp slt i32 %sv_0.0.reload, 0\n %56 = icmp eq i1 %55, false\n %57 = zext i32 %sv_0.0.reload to i64\n %spec.select = select i1 %56, i64 1, i64 %57\n ret i64 %spec.select\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %15, { 2, 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %5, { 3, 2, 4, 5, 0, 1, 6, 7 }\n uselistorder i64 %4, { 1, 2, 3, 0, 4 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ModeToString_9648", "fun_name": "ModeToString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n store i64 %1, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_8 [\n i32 0, label LBL_9\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n i32 5, label LBL_5\n i32 6, label LBL_6\n i32 7, label LBL_7\n ]\n LBL_1:\n store i64 ptrtoint ([10 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n store i64 ptrtoint ([8 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n store i64 ptrtoint ([4 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n store i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n store i64 ptrtoint ([13 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n store i64 ptrtoint ([8 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n store i64 ptrtoint ([6 x i8]* @gv_7 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n store i64 ptrtoint ([8 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_9, { 8, 1, 2, 3, 4, 5, 6, 7, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_input_event_send_key_14834", "fun_name": "qemu_input_event_send_key", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = urem i64 %arg3, 256\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = call i64 @FUNC(i64 4210717)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %1, i64 %3)\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %3)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1, i64 %3)\n %11 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lsi_do_command_15212", "fun_name": "lsi_do_command", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %6 = trunc i64 %3 to i32\n %7 = and i64 %3, 4294967295\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %4, i64 %5, i64 %2, i64 %1)\n %9 = icmp slt i32 %6, 17\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = bitcast i64* %arg1 to i32*\n store i32 16, i32* %10, align 4\n br label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %11, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = bitcast i32* %sv_0 to i64*\n %17 = call i64 @FUNC(i64 0, i64 %15, i64* nonnull %16, i32 %6)\n %18 = load i32, i32* %sv_0, align 4\n %19 = urem i32 %18, 256\n %20 = add i64 %11, 20\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %22 = add i64 %11, 16\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %11, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = udiv i32 %26, 256\n %28 = urem i32 %27, 16\n %29 = add i64 %11, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %11, 32\n %33 = zext i32 %31 to i64\n %34 = zext i32 %28 to i64\n %35 = call i64 @FUNC(i64 %32, i64 0, i64 %34, i64 %33)\n %36 = icmp eq i64 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_4, label LBL_3\n LBL_3:\n %38 = call i64 @FUNC(i64 %11, i64 %34)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n %39 = add i64 %11, 24\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = icmp eq i64 %41, 0\n br i1 %42, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i32 99, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %43 = call i64 @FUNC(i64 16)\n store i64 %43, i64* %40, align 8\n %44 = load i32, i32* %25, align 4\n %45 = inttoptr i64 %43 to i32*\n store i32 %44, i32* %45, align 4\n %46 = load i64, i64* %40, align 8\n %47 = load i32, i32* %30, align 4\n %48 = inttoptr i64 %46 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = call i64 @FUNC(i64 %35, i32 %49, i32 %47, i64* nonnull %16, i64 %46)\n %51 = add i64 %46, 8\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = load i64, i64* %40, align 8\n %54 = add i64 %53, 8\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n br i1 %59, label LBL_11, label LBL_7\n LBL_7:\n %60 = icmp slt i32 %58, 1\n br i1 %60, label LBL_9, label LBL_8\n LBL_8:\n %61 = call i64 @FUNC(i64 %11, i64 1)\n br label LBL_10\n LBL_9:\n %62 = call i64 @FUNC(i64 %11, i64 2)\n br label LBL_10\n LBL_10:\n %63 = load i64, i64* %40, align 8\n %64 = add i64 %63, 8\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = call i64 @FUNC(i64 %66)\n br label LBL_11\n LBL_11:\n %68 = load i32, i32* %23, align 4\n %69 = zext i32 %68 to i64\n %70 = icmp eq i32 %68, 0\n %71 = icmp eq i1 %70, false\n store i64 %69, i64* %rax.0.reg2mem\n br i1 %71, label LBL_15, label LBL_12\n LBL_12:\n br i1 %59, label LBL_14, label LBL_13\n LBL_13:\n %72 = call i64 @FUNC(i64 %11, i64 2)\n %73 = call i64 @FUNC(i64 %11, i64 4)\n %74 = call i64 @FUNC(i64 %11, i64 3)\n %75 = add i64 %11, 40\n %76 = inttoptr i64 %75 to i32*\n store i32 1, i32* %76, align 4\n %77 = call i64 @FUNC(i64 %11)\n store i64 %77, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %78 = call i64 @FUNC(i64 %11, i64 1)\n store i64 %78, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %46, { 0, 2, 1 }\n uselistorder i64 %11, { 7, 3, 4, 5, 6, 8, 2, 1, 9, 0, 11, 10, 12, 13, 14, 15 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @lsi_add_msg_byte, { 1, 0 }\n uselistorder i64 (i64, i64)* @lsi_set_phase, { 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pvscsi_init_msi_1878", "fun_name": "pvscsi_init_msi", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1, i64 0, i64 1, i64 1, i64 0, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %2, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %8, align 1\n br label LBL_3\n LBL_2:\n %9 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %9, align 1\n br label LBL_3\n LBL_3:\n ret i64 %0\n\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ahd_print_register_4030", "fun_name": "ahd_print_register", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i32* %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %.pn.reg2mem = alloca i32\n %sv_0.11835.reg2mem = alloca i32\n %sv_0.11836.reg2mem = alloca i32\n %sv_1.116.reg2mem = alloca i32\n %sv_0.118.reg2mem = alloca i32\n %sv_0.123.reg2mem = alloca i32\n %sv_1.124.reg2mem = alloca i32\n %storemerge1119.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp eq i32* %arg6, null\n %3 = trunc i64 %1 to i32\n %4 = trunc i64 %arg7 to i32\n %5 = icmp ult i32 %3, %4\n %or.cond38 = or i1 %2, %5\n br i1 %or.cond38, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i32 @putchar(i32 10)\n store i32 0, i32* %arg6, align 4\n br label LBL_2\n LBL_2:\n %7 = trunc i64 %arg5 to i32\n %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* %arg3, i32 %7)\n %9 = icmp eq i32* %arg1, null\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %11 = trunc i64 %arg2 to i32\n %12 = icmp eq i32 %11, 0\n %13 = ptrtoint i32* %arg1 to i64\n store i32 0, i32* %sv_1.124.reg2mem\n store i32 %8, i32* %sv_0.123.reg2mem\n br label LBL_7.preheader\n LBL_4:\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %15 = add i32 %14, %8\n store i32 %15, i32* %storemerge.in.reg2mem\n br i1 %2, label LBL_15, label LBL_5\n LBL_5:\n %16 = add i32 %15, %3\n store i32 %16, i32* %arg6, align 4\n store i32 %15, i32* %storemerge.in.reg2mem\n br label LBL_15\n LBL_6:\n %storemerge1119.reload = load i32, i32* %storemerge1119.reg2mem\n %17 = sext i32 %storemerge1119.reload to i64\n %18 = mul i64 %17, 16\n %19 = add i64 %18, %13\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = and i32 %21, %7\n %23 = add i64 %19, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %22, %25\n %27 = icmp eq i1 %26, false\n %28 = and i32 %21, %sv_1.124.reload\n %29 = icmp eq i32 %28, %21\n %or.cond = or i1 %29, %27\n br i1 %or.cond, label LBL_7, label LBL_8\n LBL_7:\n %30 = add nuw i32 %storemerge1119.reload, 1\n %31 = icmp ult i32 %30, %11\n store i32 %30, i32* %storemerge1119.reg2mem\n store i32 %sv_0.123.reload, i32* %sv_0.118.reg2mem\n store i32 %sv_1.124.reload, i32* %sv_1.116.reg2mem\n br i1 %31, label LBL_6, label LBL_10\n LBL_8:\n %32 = add i64 %19, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i32 %sv_1.124.reload, 0\n %36 = icmp eq i1 %35, false\n %37 = select i1 %36, i8* bitcast (i64* @gv_2 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)\n %38 = inttoptr i64 %34 to i8*\n %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i8* %37, i8* %38)\n %40 = add i32 %39, %sv_0.123.reload\n %41 = load i32, i32* %20, align 4\n %42 = or i32 %41, %sv_1.124.reload\n %43 = icmp eq i32 %42, 255\n %44 = icmp eq i1 %43, false\n store i32 %42, i32* %sv_1.124.reg2mem\n store i32 %40, i32* %sv_0.123.reg2mem\n store i32 %40, i32* %sv_0.118.reg2mem\n store i32 %42, i32* %sv_1.116.reg2mem\n br i1 %44, label LBL_7.preheader, label LBL_10\n LBL_9:\n %sv_0.123.reload = load i32, i32* %sv_0.123.reg2mem\n %sv_1.124.reload = load i32, i32* %sv_1.124.reg2mem\n store i32 0, i32* %storemerge1119.reg2mem\n store i32 %8, i32* %sv_0.11836.reg2mem\n br i1 %12, label LBL_12, label LBL_6\n LBL_10:\n %sv_1.116.reload = load i32, i32* %sv_1.116.reg2mem\n %sv_0.118.reload = load i32, i32* %sv_0.118.reg2mem\n %45 = icmp eq i32 %sv_1.116.reload, 0\n store i32 %sv_0.118.reload, i32* %sv_0.11836.reg2mem\n br i1 %45, label LBL_12, label LBL_11\n LBL_11:\n %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0))\n store i32 %sv_0.118.reload, i32* %sv_0.11835.reg2mem\n store i32 %46, i32* %.pn.reg2mem\n br label LBL_13\n LBL_12:\n %sv_0.11836.reload = load i32, i32* %sv_0.11836.reg2mem\n %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n store i32 %sv_0.11836.reload, i32* %sv_0.11835.reg2mem\n store i32 %47, i32* %.pn.reg2mem\n br label LBL_13\n LBL_13:\n %.pn.reload = load i32, i32* %.pn.reg2mem\n %sv_0.11835.reload = load i32, i32* %sv_0.11835.reg2mem\n %storemerge9 = add i32 %.pn.reload, %sv_0.11835.reload\n store i32 %storemerge9, i32* %storemerge.in.reg2mem\n br i1 %2, label LBL_15, label LBL_14\n LBL_14:\n %48 = add i32 %storemerge9, %3\n store i32 %48, i32* %arg6, align 4\n store i32 %storemerge9, i32* %storemerge.in.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %storemerge9, { 1, 2, 0 }\n uselistorder i32 %sv_1.124.reload, { 2, 0, 1, 3 }\n uselistorder i32 %21, { 2, 0, 1 }\n uselistorder i32 %15, { 1, 2, 0 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32 %8, { 0, 2, 1 }\n uselistorder i1 %2, { 2, 1, 0 }\n uselistorder i32* %storemerge1119.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_0.11836.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.11835.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.pn.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i1 false, { 2, 0, 1, 3 }\n uselistorder i32* %arg6, { 2, 1, 0, 3 }\n uselistorder label LBL_15, { 1, 0, 3, 2 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_7.preheader, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_vdev_port_node_info_4313", "fun_name": "get_vdev_port_node_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %2 = call i64 @FUNC(i64 %0, i64 %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 0)\n %3 = call i64 @FUNC(i64 %0, i64 %arg2)\n %4 = icmp ne i64 %1, 0\n %5 = icmp ne i64 %2, 0\n %or.cond.not = icmp eq i1 %4, %5\n %6 = icmp eq i64 %3, 0\n %7 = icmp eq i1 %6, false\n %or.cond3 = icmp eq i1 %or.cond.not, %7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond3, label LBL_1, label LBL_3\n LBL_1:\n %8 = ptrtoint i64* %arg3 to i64\n %9 = inttoptr i64 %1 to i64*\n %10 = load i64, i64* %9, align 8\n store i64 %10, i64* %arg3, align 8\n %11 = call i64 @FUNC(i64 %2, i64 0)\n %12 = add i64 %8, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = icmp eq i64 %11, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_3\n LBL_2:\n %16 = inttoptr i64 %3 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %8, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i8*, i64)* @mdesc_get_property, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "HEVC_DuplicateConfig_10570", "fun_name": "HEVC_DuplicateConfig", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %2 = icmp eq i32* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = call i64 @FUNC(i64 0, i64 0, i64 1)\n %6 = ptrtoint i32* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %5)\n %8 = bitcast i32* %sv_1 to i64*\n %9 = call i64 @FUNC(i64 %5, i64* nonnull %sv_0, i64* nonnull %8)\n %10 = call i64 @FUNC(i64 %5)\n %11 = load i32, i32* %sv_1, align 4\n %12 = load i64, i64* %sv_0, align 8\n %13 = zext i32 %11 to i64\n %14 = call i64 @FUNC(i64 %12, i64 %13, i64 0)\n %15 = and i64 %1, 4294967295\n %16 = call i64 @FUNC(i64 %14, i64 %15)\n %17 = inttoptr i64 %16 to i32*\n store i32 %4, i32* %17, align 4\n %18 = call i64 @FUNC(i64 %14)\n %19 = load i64, i64* %sv_0, align 8\n %20 = call i64 @FUNC(i64 %19)\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @gf_bs_del, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @gf_bs_new, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cifs_put_tcon_4491", "fun_name": "cifs_put_tcon", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = add i64 %arg1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = bitcast i64* %rdi to i32*\n %8 = trunc i64 %3 to i32\n %9 = and i64 %3, 4294967295\n %10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %2, i64 %1)\n %11 = call i64 @FUNC(i64* nonnull @gv_2)\n %12 = add i32 %8, -1\n %13 = inttoptr i64 %arg1 to i32*\n store i32 %12, i32* %13, align 4\n %14 = load i32, i32* %7, align 8\n %15 = icmp slt i32 %14, 1\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %17 = add i64 %arg1, 16\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC(i64* nonnull @gv_2)\n %20 = call i64 @FUNC()\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %21, i64 %arg1)\n %23 = call i64 @FUNC(i64 %21)\n %24 = call i64 @FUNC(i64 %arg1)\n %25 = call i64 @FUNC(i64 %arg1)\n %26 = call i64 @FUNC(i64 %6)\n store i64 %26, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64*)* @write_unlock, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xen_blk_drain_io_4195", "fun_name": "xen_blk_drain_io", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\n %2 = add i64 %0, 8\n %3 = add i64 %0, 4\n br label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 3\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %2, i64 1)\n %8 = call i64 @FUNC(i64 %0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_1, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %0, i64 0)\n ret i64 %14\n\n uselistorder i64 %0, { 2, 1, 3, 0, 4 }\n uselistorder i64 (i64)* @atomic_read, { 1, 0 }\n uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opj_image_create_17539", "fun_name": "opj_image_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 1, i64 24)\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_11, label LBL_1\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = inttoptr i64 %0 to i32*\n %4 = trunc i64 %arg3 to i32\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i32*\n store i32 %4, i32* %6, align 4\n %7 = trunc i64 %2 to i32\n store i32 %7, i32* %3, align 4\n %8 = and i64 %2, 4294967295\n %9 = mul nuw nsw i64 %8, 48\n %10 = call i64 @FUNC(i64 1, i64 %9)\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = icmp eq i64 %10, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_3\n LBL_2:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = icmp eq i32 %7, 0\n store i64 %10, i64* %.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_11, label LBL_4\n LBL_3:\n %17 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %18 = mul nuw nsw i64 %indvars.iv.reload, 48\n %19 = add i64 %18, %.reload\n %20 = mul nuw nsw i64 %indvars.iv.reload, 36\n %21 = add i64 %20, %15\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = inttoptr i64 %19 to i32*\n store i32 %23, i32* %24, align 4\n %25 = add i64 %21, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %19, 4\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = add i64 %21, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %19, 8\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = add i64 %21, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i64 %19, 12\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = add i64 %21, 16\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %19, 16\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i64 %21, 20\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %19, 20\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = add i64 %21, 24\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %19, 24\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = add i64 %21, 28\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i64 %19, 28\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n %60 = add i64 %21, 32\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = add i64 %19, 32\n %64 = inttoptr i64 %63 to i32*\n store i32 %62, i32* %64, align 4\n %65 = load i32, i32* %39, align 4\n %66 = icmp eq i32 %65, 0\n %.pre6 = load i32, i32* %34, align 4\n %.pre8 = zext i32 %.pre6 to i64\n store i64 0, i64* %.pre-phi.reg2mem\n br i1 %66, label LBL_7, label LBL_5\n LBL_5:\n %67 = zext i32 %65 to i64\n %68 = udiv i64 -1, %67\n %69 = udiv i64 %68, 4\n %70 = icmp ult i64 %69, %.pre8\n store i64 %67, i64* %.pre-phi.reg2mem\n br i1 %70, label LBL_6, label LBL_7\n LBL_6:\n %71 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %72 = mul i64 %.pre8, 4\n %73 = mul i64 %72, %.pre-phi.reload\n %74 = call i64 @FUNC(i64 %73)\n %75 = add i64 %19, 40\n %76 = inttoptr i64 %75 to i64*\n store i64 %74, i64* %76, align 8\n %77 = icmp eq i64 %74, 0\n %78 = icmp eq i1 %77, false\n br i1 %78, label LBL_9, label LBL_8\n LBL_8:\n %79 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %80 = load i32, i32* %34, align 4\n %81 = load i32, i32* %39, align 4\n %82 = mul i32 %80, 4\n %83 = mul i32 %82, %81\n %84 = inttoptr i64 %74 to i64*\n %85 = call i64* @memset(i64* %84, i32 0, i32 %83)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %86 = icmp ult i64 %indvars.iv.next, %8\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %86, label LBL_9.LBL_4_crit_edge, label LBL_11\n LBL_10:\n %.pre = load i64, i64* %12, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %74, { 1, 0, 2 }\n uselistorder i32* %34, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 0, 3, 2, 4, 1, 5, 6, 7, 8 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 5, 4, 2, 3 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 32, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @opj_calloc, { 1, 0 }\n uselistorder i64 24, { 1, 2, 0 }\n uselistorder label LBL_11, { 0, 3, 4, 5, 1, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "br_nf_pre_routing_3796", "fun_name": "br_nf_pre_routing", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i16*\n %3 = load i16, i16* %2, align 2\n %4 = icmp eq i16 %3, -31011\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %arg1, 4294967295\n %7 = ptrtoint i64* %arg3 to i64\n %8 = ptrtoint i64* %arg4 to i64\n %9 = call i64 @FUNC(i64 %6, i64 %0, i64 %7, i64 %8, i64 %arg5)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %10 = icmp eq i16 %3, 2048\n store i64 1, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n call void @llvm.trap()\n unreachable\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_wq_files_match_7198", "fun_name": "io_wq_files_match", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg2, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = icmp eq i64* %arg2, %arg1\n %spec.select = zext i1 %1 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SFS_CompoundExpression_12028", "fun_name": "SFS_CompoundExpression", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1)\n %7 = add i64 %arg1, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %arg1, i64 4202512)\n %14 = call i64 @FUNC(i64 %arg1)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ExprAppendMultiKeysymList_13700", "fun_name": "ExprAppendMultiKeysymList", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %arg2)\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = and i64 %0, 4294967295\n %6 = call i64 @FUNC(i64 %4, i64 %5)\n %7 = add i64 %arg1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %9, i64 %10)\n %12 = call i64 @FUNC(i64 %9, i64 %10)\n %13 = call i64 @FUNC(i64 %arg2)\n ret i64 %arg1\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 (i64, i64)* @darray_append, { 1, 0 }\n uselistorder i64 (i64)* @darray_size, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xen_pt_msi_disable_1884", "fun_name": "xen_pt_msi_disable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = icmp eq i64* %arg1, null\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %2, i64 0)\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %2, 12\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = call i64 @FUNC(i64 %2)\n %12 = urem i64 %1, 256\n %13 = zext i32 %7 to i64\n %14 = zext i32 %10 to i64\n %15 = call i64 @FUNC(i64 %2, i64 %11, i64 %14, i64 %13, i64 0, i64 %12)\n %16 = add i64 %2, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i32 %18, -2\n store i32 %19, i32* %17, align 4\n %20 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %20, align 1\n %21 = add i64 %2, 1\n %22 = inttoptr i64 %21 to i8*\n store i8 0, i8* %22, align 1\n store i32 -1, i32* %6, align 4\n br label LBL_2\n LBL_2:\n ret i64 %2\n\n uselistorder i64 %2, { 0, 1, 2, 3, 6, 5, 4, 7 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_open_7709", "fun_name": "bdrv_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i32, i32* %1\n %4 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i8, align 1\n %5 = load i64, i64* %0\n %6 = load i32, i32* %1\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n store i64 3345178569351197743, i64* %sv_4, align 8\n %7 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 -1, i32* %9, align 4\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 -1, i32* %11, align 4\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = add i64 %2, 24\n %15 = inttoptr i64 %14 to i8*\n %16 = inttoptr i64 %arg2 to i8*\n %17 = call i8* @strcpy(i8* %15, i8* %16)\n %18 = call i32 (i8*, i32, ...) @open(i8* %16, i32 2)\n %19 = call i32 (i8*, i32, ...) @open(i8* %16, i32 2)\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i32 %19, i32* %sv_0.0.reg2mem\n br i1 %21, label LBL_5, label LBL_1\n LBL_1:\n %22 = call i32 (i8*, i32, ...) @open(i8* %16, i32 0)\n %23 = call i32 (i8*, i32, ...) @open(i8* %16, i32 0)\n %24 = icmp slt i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_3, label LBL_2\n LBL_2:\n call void @perror(i8* %16)\n br label LBL_23\n LBL_3:\n %26 = icmp eq i32 %arg3, 0\n %27 = icmp eq i1 %26, false\n store i32 %23, i32* %sv_0.0.reg2mem\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %7, align 4\n store i32 %23, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n store i32 %sv_0.0.reload, i32* %9, align 4\n %28 = call i32 @read(i32 %sv_0.0.reload, i64* nonnull %sv_3, i32 280)\n %29 = icmp eq i32 %28, 280\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i8* %16)\n br label LBL_23\n LBL_7:\n %32 = load i64, i64* %sv_3, align 8\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, -559038737\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_18, label LBL_8\n LBL_8:\n %38 = zext i32 %6 to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 2\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_18, label LBL_9\n LBL_9:\n %43 = call i64 @FUNC(i64 %5)\n %44 = add i64 %43, 511\n %45 = icmp slt i64 %43, 0\n %46 = select i1 %45, i64 %44, i64 %43\n %47 = udiv i64 %46, 512\n %48 = trunc i64 %47 to i32\n %49 = add i64 %2, 280\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n store i32 %sv_0.0.reload, i32* %11, align 4\n store i32 -1, i32* %9, align 4\n %51 = load i8, i8* %sv_2, align 1\n %52 = icmp eq i8 %51, 0\n br i1 %52, label LBL_16, label LBL_10\n LBL_10:\n %53 = bitcast i64* %sv_1 to %stat*\n %54 = call i32 @stat(i8* nonnull %sv_2, %stat* nonnull %53)\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_12, label LBL_11\n LBL_11:\n %56 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %57 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %56, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i8* %16, i8* nonnull %sv_2)\n br label LBL_23\n LBL_12:\n %58 = zext i32 %3 to i64\n %59 = call i64 @FUNC(i64 %58)\n %sext = mul i64 %59, 4294967296\n %60 = ashr exact i64 %sext, 32\n %61 = icmp eq i64 %4, %60\n br i1 %61, label LBL_14, label LBL_13\n LBL_13:\n %62 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %63 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %62, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_3, i64 0, i64 0), i8* %16, i8* nonnull %sv_2)\n br label LBL_23\n LBL_14:\n %64 = call i32 (i8*, i32, ...) @open(i8* nonnull %sv_2, i32 0)\n %65 = icmp slt i32 %64, 0\n br i1 %65, label LBL_23, label LBL_15\n LBL_15:\n store i32 %64, i32* %9, align 4\n br label LBL_16\n LBL_16:\n %66 = load i32, i32* %50, align 4\n %67 = add i32 %66, 7\n %68 = ashr i32 %67, 3\n %narrow = add nsw i32 %68, 280\n %69 = sext i32 %narrow to i64\n %70 = add i64 %2, 288\n %71 = inttoptr i64 %70 to i64*\n store i64 %69, i64* %71, align 8\n %72 = load i32, i32* %11, align 4\n %73 = call i64 @FUNC(i64 %69)\n %74 = inttoptr i64 %73 to i64*\n %75 = call i64* @mmap(i64* %74, i32 %narrow, i32 3, i32 1, i32 %72, i32 0)\n %76 = ptrtoint i64* %75 to i64\n %77 = add i64 %2, 296\n %78 = inttoptr i64 %77 to i64*\n store i64 %76, i64* %78, align 8\n %79 = icmp eq i64* %75, inttoptr (i64 -1 to i64*)\n br i1 %79, label LBL_23, label LBL_17\n LBL_17:\n %80 = add i64 %76, 280\n store i64 %80, i64* %13, align 8\n %81 = load i64, i64* %71, align 8\n %82 = add i64 %81, 511\n %83 = and i64 %82, -512\n %84 = add i64 %2, 304\n %85 = inttoptr i64 %84 to i64*\n store i64 %83, i64* %85, align 8\n br label LBL_22\n LBL_18:\n %86 = call i32 @lseek64(i32 %sv_0.0.reload, i32 0, i32 2)\n %87 = sext i32 %86 to i64\n %88 = add nsw i64 %87, 511\n %89 = icmp slt i32 %86, 0\n %90 = select i1 %89, i64 %88, i64 %87\n %91 = ashr i64 %90, 9\n %92 = trunc i64 %91 to i32\n %93 = add i64 %2, 280\n %94 = inttoptr i64 %93 to i32*\n store i32 %92, i32* %94, align 4\n store i32 %sv_0.0.reload, i32* %9, align 4\n %phitmp = icmp eq i32 %arg3, 0\n br i1 %phitmp, label LBL_22, label LBL_19\n LBL_19:\n %95 = bitcast i64* %sv_4 to i8*\n %96 = call i32 @mkstemp64(i8* nonnull %95)\n %97 = icmp slt i32 %96, 0\n br i1 %97, label LBL_23, label LBL_20\n LBL_20:\n store i32 %96, i32* %11, align 4\n %98 = call i32 @unlink(i8* nonnull %95)\n %99 = load i32, i32* %94, align 4\n %100 = add i32 %99, 7\n %101 = ashr i32 %100, 3\n %102 = sext i32 %101 to i64\n %103 = add i64 %2, 288\n %104 = inttoptr i64 %103 to i64*\n store i64 %102, i64* %104, align 8\n %105 = call i64 @FUNC(i64 %102)\n %106 = inttoptr i64 %105 to i64*\n %107 = call i64* @mmap(i64* %106, i32 %101, i32 3, i32 34, i32 -1, i32 0)\n %108 = ptrtoint i64* %107 to i64\n %109 = add i64 %2, 296\n %110 = inttoptr i64 %109 to i64*\n store i64 %108, i64* %110, align 8\n %111 = icmp eq i64* %107, inttoptr (i64 -1 to i64*)\n br i1 %111, label LBL_23, label LBL_21\n LBL_21:\n store i64 %108, i64* %13, align 8\n %112 = add i64 %2, 304\n %113 = inttoptr i64 %112 to i64*\n store i64 0, i64* %113, align 8\n br label LBL_22\n LBL_22:\n %114 = add i64 %2, 312\n %115 = inttoptr i64 %114 to i32*\n store i32 1, i32* %115, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_24\n LBL_23:\n %116 = call i64 @FUNC(i64 %2)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_24\n LBL_24:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %87, { 1, 0 }\n uselistorder i64 %43, { 2, 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 3, 2, 4, 1, 0 }\n uselistorder i8* %16, { 5, 4, 3, 0, 2, 1, 6, 7, 8 }\n uselistorder i64* %13, { 1, 0, 2 }\n uselistorder i32* %11, { 2, 0, 1, 3 }\n uselistorder i32* %9, { 2, 0, 1, 3, 4 }\n uselistorder i64* %sv_3, { 1, 0 }\n uselistorder i64 %2, { 7, 8, 4, 5, 6, 9, 0, 1, 2, 3, 10, 11, 12, 13 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @get_mmap_addr, { 1, 0 }\n uselistorder i32 3, { 0, 2, 1, 3 }\n uselistorder i64 4294967296, { 0, 1, 3, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 (i64)* @be32_to_cpu, { 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, i32, ...)* @open, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_22, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "chunk_size_store_9754", "fun_name": "chunk_size_store", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64*\n %0 = ptrtoint i32* %arg2 to i64\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64 10, i64* nonnull %sv_1)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %1, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = and i64 %7, 4294967295\n %10 = icmp eq i32 %8, 0\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_10\n LBL_3:\n %11 = add i64 %6, 32\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_7, label LBL_4\n LBL_4:\n %15 = inttoptr i64 %13 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64* inttoptr (i32 -16 to i64*), i64** %sv_0.0.reg2mem\n br i1 %18, label LBL_5, label LBL_9\n LBL_5:\n %19 = add i64 %6, 16\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n store i64* inttoptr (i32 -30 to i64*), i64** %sv_0.0.reg2mem\n br i1 %22, label LBL_6, label LBL_9\n LBL_6:\n %23 = load i64, i64* %sv_1, align 8\n %24 = udiv i64 %23, 512\n %25 = add i64 %6, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = trunc i64 %6 to i32\n %28 = and i64 %6, 4294967295\n %29 = inttoptr i64 %28 to i64*\n %30 = icmp eq i32 %27, 0\n %spec.store.select = select i1 %30, i64 %24, i64 %6\n store i64 %spec.store.select, i64* %26, align 8\n store i64* %29, i64** %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %31 = inttoptr i64 %9 to i64*\n %32 = load i64, i64* %sv_1, align 8\n %33 = udiv i64 %32, 512\n %34 = add i64 %6, 8\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = add i64 %6, 24\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp eq i64 %38, 4294967295\n %40 = icmp eq i1 %39, false\n store i64* %31, i64** %sv_0.0.reg2mem\n br i1 %40, label LBL_9, label LBL_8\n LBL_8:\n %41 = load i64, i64* %sv_1, align 8\n %42 = udiv i64 %41, 512\n store i64 %42, i64* %arg1, align 8\n store i64* %31, i64** %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem\n %43 = call i64 @FUNC(i64 %6)\n %44 = ptrtoint i64* %sv_0.0.reload to i64\n %45 = and i64 %44, 4294967295\n %46 = trunc i64 %44 to i32\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n %spec.select = select i1 %48, i64 %45, i64 %arg3\n ret i64 %spec.select\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %6, { 3, 4, 6, 0, 2, 1, 8, 7, 5, 9 }\n uselistorder i64* %sv_1, { 1, 2, 3, 0 }\n uselistorder i64** %sv_0.0.reg2mem, { 0, 4, 5, 1, 2, 3 }\n uselistorder label LBL_9, { 3, 4, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isa_bus_irqs_3496", "fun_name": "isa_bus_irqs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %arg1, align 8\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stri_dump_9825", "fun_name": "stri_dump", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = and i64 %1, 4294967295\n %12 = zext i32 %6 to i64\n %13 = inttoptr i64 %arg2 to %_IO_FILE*\n %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %10, i64 %12)\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_3, label LBL_1\n LBL_1:\n %19 = add i64 %2, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = load i64, i64* %20, align 8\n %22 = mul i64 %indvars.iv.reload, 4\n %23 = add i64 %21, %22\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = inttoptr i64 %27 to i8*\n %29 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i8* %28)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %30 = load i32, i32* %16, align 4\n %31 = zext i32 %30 to i64\n %32 = icmp ult i64 %indvars.iv.next, %31\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %32, label LBL_2, label LBL_3\n LBL_3:\n %33 = add i64 %2, 24\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_5, label LBL_4\n LBL_4:\n %38 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_3 to i64*), i32 1, i32 41, %_IO_FILE* %13)\n br label LBL_5\n LBL_5:\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %arg2)\n ret i64 0\n\n uselistorder i32* %16, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 0, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "notifier_init_96", "fun_name": "notifier_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %5 to i32\n %7 = insertvalue [2 x i32] undef, i32 %6, 0\n %8 = call i32 @pipe([2 x i32] %7)\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n unreachable\n LBL_2:\n ret i64 0\n\n uselistorder i64* %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "toggle_interruptibility_9276", "fun_name": "toggle_interruptibility", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %0, %arg2\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = trunc i64 %0 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = trunc i64 %arg2 to i32\n %8 = select i1 %3, i32 %7, i32 0\n %9 = icmp ne i32 %8, 0\n %narrow = or i1 %6, %9\n %storemerge = zext i1 %narrow to i64\n %10 = call i64 @FUNC(i64 %storemerge)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_1\n LBL_1:\n %13 = icmp eq i32 %8, 0\n %14 = icmp eq i1 %13, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 1, i64 %0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "manageFile_3853", "fun_name": "manageFile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = icmp eq i64 %arg2, 0\n %spec.select = zext i1 %1 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_block_thresholds_5140", "fun_name": "set_block_thresholds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.2.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %indvars.iv12.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv15.reg2mem = alloca i64\n %indvars.iv18.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = bitcast i64* %rdi to i32*\n %5 = add i64 %3, 8\n %6 = add i64 %3, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = add i64 %3, 12\n %9 = inttoptr i64 %8 to i32*\n %10 = add i64 %2, 4\n %11 = add i64 %2, 40\n %12 = trunc i64 %1 to i32\n store i32 %12, i32* %.reg2mem\n store i64 0, i64* %indvars.iv18.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %13 = call i64 @FUNC(i64 %5, i64 %indvars.iv18.reload, i32 %.reload)\n %14 = trunc i64 %13 to i32\n %15 = load i32, i32* %7, align 4\n %16 = add i32 %15, %14\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i64 0, i64 255)\n %19 = load i32, i32* %9, align 4\n %20 = zext i32 %19 to i64\n %21 = and i64 %18, 4294967295\n %22 = call i64 @FUNC(i64 %21, i64 %20)\n %23 = trunc i64 %22 to i32\n %24 = mul nuw nsw i64 %indvars.iv18.reload, 40\n %25 = add nuw nsw i64 %24, 12\n store i64 0, i64* %indvars.iv15.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem\n %26 = mul i64 %indvars.iv15.reload, 4\n %27 = add i64 %26, ptrtoint (i32** @gv_0 to i64)\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = mul i32 %29, %23\n %31 = udiv i32 2147483647, %30\n %32 = icmp ult i64 %indvars.iv15.reload, 2\n %33 = mul nuw nsw i64 %indvars.iv15.reload, 10\n %34 = add nuw nsw i64 %25, %33\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %indvars.iv12.reg2mem\n br i1 %32, label LBL_6, label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %35 = mul i64 %indvars.iv.reload, 4\n %36 = add i64 %35, %2\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp ugt i32 %31, %38\n store i64 2147483647, i64* %storemerge3.reg2mem\n br i1 %39, label LBL_4, label LBL_5\n LBL_4:\n %40 = mul i32 %38, %30\n %41 = sdiv i32 %40, 8\n %42 = zext i32 %41 to i64\n store i64 %42, i64* %storemerge3.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n store i64 %storemerge3.reload, i64* %rdi, align 8\n %43 = add nuw nsw i64 %indvars.iv.reload, %34\n %44 = trunc i64 %storemerge3.reload to i32\n %45 = mul i64 %43, 4\n %46 = add i64 %45, %10\n %47 = inttoptr i64 %46 to i32*\n store i32 %44, i32* %47, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %43, i64* %rax.2.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_3\n LBL_6:\n %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem\n %48 = mul i64 %indvars.iv12.reload, 4\n %49 = add i64 %11, %48\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = icmp ugt i32 %31, %51\n store i64 2147483647, i64* %storemerge5.reg2mem\n br i1 %52, label LBL_7, label LBL_8\n LBL_7:\n %53 = mul i32 %51, %30\n %54 = sdiv i32 %53, 8\n %55 = zext i32 %54 to i64\n store i64 %55, i64* %storemerge5.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n store i64 %storemerge5.reload, i64* %rdi, align 8\n %56 = add nuw nsw i64 %indvars.iv12.reload, %34\n %57 = trunc i64 %storemerge5.reload to i32\n %58 = mul i64 %56, 4\n %59 = add i64 %58, %10\n %60 = inttoptr i64 %59 to i32*\n store i32 %57, i32* %60, align 4\n %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1\n %exitcond14 = icmp eq i64 %indvars.iv.next13, 3\n store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem\n store i64 %56, i64* %rax.2.reg2mem\n br i1 %exitcond14, label LBL_9, label LBL_6\n LBL_9:\n %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1\n %exitcond17 = icmp eq i64 %indvars.iv.next16, 4\n store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem\n br i1 %exitcond17, label LBL_10, label LBL_2\n LBL_10:\n %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1\n %exitcond20 = icmp eq i64 %indvars.iv.next19, 8\n br i1 %exitcond20, label LBL_12, label LBL_10.LBL_1_crit_edge\n LBL_11:\n %.pre = load i32, i32* %4, align 8\n store i32 %.pre, i32* %.reg2mem\n store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem\n br label LBL_1\n LBL_12:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64 %storemerge5.reload, { 1, 0 }\n uselistorder i64 %storemerge3.reload, { 1, 0 }\n uselistorder i64 %indvars.iv15.reload, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv18.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.2.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i64 40, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "icp_pit_init_556", "fun_name": "icp_pit_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = trunc i64 %arg1 to i32\n %2 = call i64 @FUNC(i64 32)\n %3 = inttoptr i64 %2 to i32*\n store i32 %1, i32* %3, align 4\n %4 = sext i32 %arg3 to i64\n %5 = mul i64 %4, 8\n %6 = add i64 %5, %0\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 40000000, i64 %8)\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 1000000, i64 %14)\n %16 = add i64 %2, 16\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = add i64 %6, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 1000000, i64 %20)\n %22 = add i64 %2, 24\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = load i64, i64* @gv_0, align 8\n %25 = load i64, i64* @gv_1, align 8\n %26 = call i64 @FUNC(i64 0, i64 %25, i64 %24, i64 %2)\n %27 = trunc i64 %26 to i32\n %28 = and i64 %arg1, 4294967295\n %29 = call i64 @FUNC(i64 %28, i64 4096, i32 %27)\n ret i64 %29\n\n uselistorder i64 (i64, i64)* @arm_timer_init, { 2, 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__ptrace_may_access_5478", "fun_name": "__ptrace_may_access", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_15\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = inttoptr i64 %1 to i32*\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %0)\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = load i32, i32* %7, align 4\n %14 = zext i32 %12 to i64\n %15 = zext i32 %13 to i64\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_2\n LBL_2:\n %19 = add i64 %9, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = load i32, i32* %7, align 4\n %23 = zext i32 %21 to i64\n %24 = zext i32 %22 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %23)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_7, label LBL_3\n LBL_3:\n %28 = inttoptr i64 %9 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = load i32, i32* %7, align 4\n %31 = zext i32 %29 to i64\n %32 = zext i32 %30 to i64\n %33 = call i64 @FUNC(i64 %32, i64 %31)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_7, label LBL_4\n LBL_4:\n %36 = add i64 %9, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %1, 12\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = zext i32 %38 to i64\n %43 = zext i32 %41 to i64\n %44 = call i64 @FUNC(i64 %43, i64 %42)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_7, label LBL_5\n LBL_5:\n %47 = add i64 %9, 20\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = load i32, i32* %40, align 4\n %51 = zext i32 %49 to i64\n %52 = zext i32 %50 to i64\n %53 = call i64 @FUNC(i64 %52, i64 %51)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_7, label LBL_6\n LBL_6:\n %56 = add i64 %9, 12\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = load i32, i32* %40, align 4\n %60 = zext i32 %58 to i64\n %61 = zext i32 %59 to i64\n %62 = call i64 @FUNC(i64 %61, i64 %60)\n %63 = trunc i64 %62 to i32\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n store i64 %61, i64* %rdi.0.reg2mem\n br i1 %65, label LBL_9, label LBL_7\n LBL_7:\n %66 = add i64 %9, 24\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = and i64 %6, 4294967295\n %70 = zext i32 %68 to i64\n %71 = call i64 @FUNC(i64 %70, i64 %69)\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 0\n %74 = icmp eq i1 %73, false\n store i64 %70, i64* %rdi.0.reg2mem\n br i1 %74, label LBL_9, label LBL_8\n LBL_8:\n %75 = call i64 @FUNC()\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %76 = call i64 @FUNC()\n %77 = call i64 @FUNC()\n %78 = icmp eq i64 %rdi.0.reload, 0\n br i1 %78, label LBL_13, label LBL_10\n LBL_10:\n %79 = call i64 @FUNC(i64 %rdi.0.reload)\n %80 = trunc i64 %79 to i32\n %phitmp = icmp eq i32 %80, 0\n %81 = call i64 @FUNC()\n br i1 %phitmp, label LBL_14, label LBL_11\n LBL_11:\n %82 = call i64 @FUNC(i64 %0)\n %83 = add i64 %82, 24\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = and i64 %6, 4294967295\n %87 = zext i32 %85 to i64\n %88 = call i64 @FUNC(i64 %87, i64 %86)\n %89 = trunc i64 %88 to i32\n %90 = icmp eq i32 %89, 0\n %91 = icmp eq i1 %90, false\n br i1 %91, label LBL_14, label LBL_12\n LBL_12:\n %92 = call i64 @FUNC()\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %93 = call i64 @FUNC()\n br label LBL_14\n LBL_14:\n %94 = call i64 @FUNC()\n %95 = and i64 %6, 4294967295\n %96 = call i64 @FUNC(i64 %0, i64 %95)\n store i64 %96, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 ()* @rcu_read_unlock, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @ptrace_has_cap, { 1, 0 }\n uselistorder i64 (i64, i64)* @gid_eq, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @uid_eq, { 2, 1, 0 }\n uselistorder i64 (i64)* @__task_cred, { 1, 0 }\n uselistorder i64 ()* @rcu_read_lock, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder label LBL_15, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "from_words52_9404", "fun_name": "from_words52", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i32\n %rax.0.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_2.0.in3.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = icmp eq i64* %arg3, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %arg2 to i32\n %6 = add i32 %5, 63\n %7 = add i32 %5, 126\n %8 = icmp slt i32 %6, 0\n %9 = select i1 %8, i32 %7, i32 %6\n %10 = icmp sgt i32 %9, 63\n br i1 %10, label LBL_5, label LBL_7\n LBL_5:\n %11 = ashr i32 %9, 6\n %12 = sext i32 %11 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %13 = mul i64 %indvars.iv.reload, 8\n %14 = add i64 %13, %4\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %16 = icmp slt i64 %indvars.iv.next, %12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %16, label LBL_6, label LBL_7\n LBL_7:\n %17 = ptrtoint i64* %arg3 to i64\n %sext = mul i64 %arg2, 4294967296\n %18 = icmp sgt i32 %5, 103\n store i64 %4, i64* %sv_0.05.reg2mem\n store i64 %17, i64* %sv_1.04.reg2mem\n store i64 %sext, i64* %sv_2.0.in3.reg2mem\n store i64 %17, i64* %sv_1.0.lcssa.reg2mem\n store i64 %4, i64* %sv_0.0.lcssa.reg2mem\n store i64 %4, i64* %rax.0.lcssa.reg2mem\n store i32 %5, i32* %.lcssa.reg2mem\n br i1 %18, label LBL_8, label LBL_9\n LBL_8:\n %sv_2.0.in3.reload = load i64, i64* %sv_2.0.in3.reg2mem\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %19 = inttoptr i64 %sv_1.04.reload to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %sv_0.05.reload to i64*\n store i64 %20, i64* %21, align 8\n %22 = add i64 %sv_0.05.reload, 6\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %sv_1.04.reload, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = mul i64 %27, 16\n %29 = xor i64 %28, %24\n store i64 %29, i64* %23, align 8\n %30 = add i64 %sv_0.05.reload, 13\n %sext2 = add i64 %sv_2.0.in3.reload, -446676598784\n %31 = add i64 %sv_1.04.reload, 16\n %32 = udiv i64 %sext2, 4294967296\n %33 = trunc i64 %32 to i32\n %34 = icmp sgt i32 %33, 103\n store i64 %30, i64* %sv_0.05.reg2mem\n store i64 %31, i64* %sv_1.04.reg2mem\n store i64 %sext2, i64* %sv_2.0.in3.reg2mem\n store i64 %31, i64* %sv_1.0.lcssa.reg2mem\n store i64 %30, i64* %sv_0.0.lcssa.reg2mem\n store i64 %22, i64* %rax.0.lcssa.reg2mem\n store i32 %33, i32* %.lcssa.reg2mem\n br i1 %34, label LBL_8, label LBL_9\n LBL_9:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %35 = icmp slt i32 %.lcssa.reload, 53\n br i1 %35, label LBL_11, label LBL_10\n LBL_10:\n %36 = inttoptr i64 %sv_1.0.lcssa.reload to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 7, i64 %37)\n %39 = add i64 %sv_0.0.lcssa.reload, 6\n %40 = add i64 %sv_1.0.lcssa.reload, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = mul i64 %42, 16\n %44 = load i64, i64* %36, align 8\n %45 = udiv i64 %44, 281474976710656\n %46 = or i64 %45, %43\n %47 = add i32 %.lcssa.reload, -45\n %48 = add i32 %.lcssa.reload, -38\n %49 = icmp slt i32 %47, 0\n %50 = select i1 %49, i32 %48, i32 %47\n %51 = ashr i32 %50, 3\n %52 = zext i32 %51 to i64\n %53 = call i64 @FUNC(i64 %39, i64 %52, i64 %46)\n store i64 %53, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_11:\n %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem\n %54 = icmp eq i32 %.lcssa.reload, 0\n store i64 %rax.0.lcssa.reload, i64* %rax.1.reg2mem\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n %55 = inttoptr i64 %sv_1.0.lcssa.reload to i64*\n %56 = load i64, i64* %55, align 8\n %57 = sdiv i32 %.lcssa.reload, 16384\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 %58, i64 %56)\n store i64 %59, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_13:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %47, { 1, 0 }\n uselistorder i64 %sv_1.0.lcssa.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 2, 1, 0 }\n uselistorder i32 %.lcssa.reload, { 4, 2, 1, 0, 3 }\n uselistorder i64 %sv_0.05.reload, { 1, 0, 2 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.0.in3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64, i64)* @put_digit52, { 2, 1, 0 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder i64 6, { 1, 0 }\n uselistorder i32 103, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zval_call_destructor_10495", "fun_name": "zval_call_destructor", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n store i64 %0, i64* %.pre-phi.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n store i64 %5, i64* %.pre-phi.reg2mem\n br label LBL_2\n LBL_2:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %6 = call i64 @FUNC(i64 %.pre-phi.reload)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 2\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %.pre-phi.reload)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 1\n %13 = icmp eq i1 %12, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %13, label LBL_4, label LBL_5\n LBL_4:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @Z_TYPE_P, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_iovec_destroy_16967", "fun_name": "qemu_iovec_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, -1\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n ret i64 %9\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vmxnet3_validate_queues_8310", "fun_name": "vmxnet3_validate_queues", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 9\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = icmp slt i32 %9, 9\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %10)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i8*, i64)* @hw_error, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dvvideo_init_encoder_3901", "fun_name": "dvvideo_init_encoder", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %15, i64 %11)\n %18 = call i64 @FUNC(i64 %2, i64 0)\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %19 = call i64 @FUNC()\n %20 = call i64 @FUNC(i64 %2)\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 4, 1, 0, 3, 2, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_old_huffman_tables_6091", "fun_name": "read_old_huffman_tables", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.pre-phi14.reg2mem = alloca i64*\n %indvars.iv8.reg2mem = alloca i64\n %indvars.iv10.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64* nonnull %1, i64* nonnull @gv_0, i64 0)\n %3 = add i64 %0, 3072\n %4 = call i64 @FUNC(i64 %3, i64* nonnull %1)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_13\n LBL_1:\n %8 = ptrtoint i64* %sv_1 to i64\n %9 = call i64 @FUNC(i64* nonnull %1, i64* nonnull @gv_1, i64 0)\n %10 = add i64 %0, 3328\n %11 = call i64 @FUNC(i64 %10, i64* nonnull %1)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %indvars.iv10.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_13\n LBL_2:\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %15 = mul i64 %indvars.iv10.reload, 4\n %16 = add i64 %15, ptrtoint (i32** @gv_2 to i64)\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %15, %0\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1\n %exitcond12 = icmp eq i64 %indvars.iv.next11, 256\n store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem\n br i1 %exitcond12, label LBL_3, label LBL_2\n LBL_3:\n %21 = add i64 %0, 1024\n store i64 0, i64* %indvars.iv8.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %22 = mul i64 %indvars.iv8.reload, 4\n %23 = add i64 %22, ptrtoint (i32** @gv_3 to i64)\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %22, %21\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next9, 256\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %28 = add i64 %0, 3840\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp slt i32 %30, 24\n %.pre = inttoptr i64 %21 to i64*\n br i1 %31, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre13 = inttoptr i64 %10 to i64*\n store i64* %.pre13, i64** %.pre-phi14.reg2mem\n br label LBL_8\n LBL_7:\n %32 = call i64* @memcpy(i64* %.pre, i64* %arg1, i32 1024)\n %33 = inttoptr i64 %10 to i64*\n %34 = inttoptr i64 %3 to i64*\n %35 = call i64* @memcpy(i64* %33, i64* %34, i32 256)\n store i64* %33, i64** %.pre-phi14.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi14.reload = load i64*, i64** %.pre-phi14.reg2mem\n %36 = add i64 %0, 2048\n %37 = inttoptr i64 %36 to i64*\n %38 = call i64* @memcpy(i64* %37, i64* %.pre, i32 1024)\n %39 = add i64 %0, 3584\n %40 = inttoptr i64 %39 to i64*\n %41 = call i64* @memcpy(i64* %40, i64* %.pre-phi14.reload, i32 256)\n %42 = add i64 %0, 3848\n %43 = add i64 %8, -8\n %44 = inttoptr i64 %43 to i64*\n %45 = add i64 %8, -16\n %46 = inttoptr i64 %45 to i64*\n %47 = add i64 %8, -24\n %48 = inttoptr i64 %47 to i64*\n %49 = add i64 %8, -32\n %50 = inttoptr i64 %49 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %51 = mul i64 %indvars.iv.reload, 8\n %52 = add i64 %42, %51\n %53 = call i64 @FUNC(i64 %52)\n %54 = mul i64 %indvars.iv.reload, 1024\n %55 = add i64 %54, %0\n %56 = mul i64 %indvars.iv.reload, 256\n %57 = add i64 %56, %3\n store i64 0, i64* %44, align 8\n store i64 4, i64* %46, align 8\n store i64 4, i64* %48, align 8\n store i64 %55, i64* %50, align 8\n %58 = call i64 @FUNC(i64 %52, i64 12, i64 256, i64 %57, i64 1, i64 1)\n %59 = trunc i64 %58 to i32\n store i32 %59, i32* %sv_0, align 4\n %60 = icmp slt i32 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_11, label LBL_10\n LBL_10:\n %62 = and i64 %58, 4294967295\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %63 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %63, label LBL_9, label LBL_12\n LBL_12:\n %64 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %0, { 4, 0, 3, 5, 6, 7, 2, 1, 8, 9 }\n uselistorder i64* %indvars.iv10.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 }\n uselistorder i64 256, { 3, 0, 2, 1 }\n uselistorder i64 4, { 2, 3, 0, 1 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i64 (i64, i64*)* @read_len_table, { 1, 0 }\n uselistorder i64 (i64*, i64*, i64)* @init_get_bits, { 1, 0 }\n uselistorder label LBL_13, { 3, 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_offset_5701", "fun_name": "check_offset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i64 %1, %0\n %sext1 = mul i64 %arg5, 4294967296\n %3 = ashr exact i64 %sext1, 32\n %4 = add i64 %3, %arg4\n %5 = icmp ule i64 %2, %0\n %6 = icmp ne i64 %sext, 0\n %.not = icmp eq i1 %6, %5\n %7 = icmp ult i64 %4, %arg4\n %or.cond = or i1 %.not, %7\n store i64 1, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %8 = icmp ugt i64 %0, %arg4\n %9 = icmp ugt i64 %2, %arg4\n %10 = icmp eq i1 %9, false\n %or.cond3 = or i1 %8, %10\n %11 = icmp ugt i64 %4, %2\n %or.cond4 = or i1 %or.cond3, %11\n store i64 1, i64* %storemerge.reg2mem\n br i1 %or.cond4, label LBL_2, label LBL_3\n LBL_2:\n %12 = ptrtoint i64* %arg3 to i64\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @globalFUNCvarFUNC402010, i64 0, i64 0))\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 %arg4, { 1, 3, 2, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_cont_16419", "fun_name": "qmp_cont", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i64 100)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %5 = call i64 @FUNC(i64 2)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 3)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64 %0, i64 101)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %13 = call i64 @FUNC(i64 4)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %16, label LBL_9, label LBL_6\n LBL_6:\n %17 = call i64 @FUNC(i64 4198899, i64 0)\n %18 = ptrtoint i64* %sv_0 to i64\n %19 = call i64 @FUNC(i64 4198906, i64 %18)\n %20 = load i64, i64* %sv_0, align 8\n %21 = icmp eq i64 %20, 0\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = call i64 @FUNC(i64 %0, i64 %20)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %23 = call i64 @FUNC()\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 5, 1 }\n uselistorder i64 (i64, i64)* @bdrv_iterate, { 1, 0 }\n uselistorder i64 (i64, i64)* @error_set, { 2, 1, 0 }\n uselistorder i64 (i64)* @runstate_check, { 3, 2, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_fade_2666", "fun_name": "parse_fade", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 60)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i64 45)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 61)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 2, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_7, label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %10 = call i64 @FUNC(i64 %0, i64 62)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_6\n LBL_4:\n %13 = call i64 @FUNC(i64 %0, i64 45)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n %16 = call i64 @FUNC(i64 %0, i64 61)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n store i64 %sv_0.0.reload, i64* %arg2, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @lex_char, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_fill_flex_info_7037", "fun_name": "ext4_fill_flex_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge57.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %1, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 %5, i32* %7, align 4\n %8 = urem i32 %5, 32\n %9 = shl i32 1, %8\n %10 = icmp sgt i32 %9, 1\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n store i32 0, i32* %7, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, %9\n %15 = load i64, i64* %2, align 8\n %16 = add i64 %15, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = add i32 %14, %21\n %23 = ashr i32 %22, 31\n %24 = zext i32 %22 to i64\n %25 = zext i32 %23 to i64\n %26 = mul i64 %25, 4294967296\n %27 = or i64 %26, %24\n %28 = zext i32 %9 to i64\n %29 = sdiv i64 %27, %28\n %sext = mul i64 %29, 4294967296\n %30 = ashr exact i64 %sext, 32\n %31 = ashr exact i64 %sext, 31\n %32 = add nsw i64 %31, %30\n %33 = mul i64 %32, 4\n %34 = call i64 @FUNC(i64 %33, i64 0)\n %35 = add i64 %1, 16\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = icmp eq i64 %34, 0\n %38 = icmp eq i1 %37, false\n store i64 %34, i64* %.reg2mem\n br i1 %38, label LBL_5, label LBL_3\n LBL_3:\n %sext6 = mul i64 %32, 17179869184\n %39 = ashr exact i64 %sext6, 32\n %40 = call i64 @FUNC(i64 %39)\n store i64 %40, i64* %36, align 8\n %41 = icmp eq i64 %40, 0\n br i1 %41, label LBL_7, label LBL_4\n LBL_4:\n %42 = trunc i64 %33 to i32\n %43 = inttoptr i64 %40 to i64*\n %44 = call i64* @memset(i64* %43, i32 0, i32 %42)\n %.pre = load i64, i64* %36, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %45 = icmp eq i64 %.reload, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_6, label LBL_7\n LBL_6:\n %47 = load i32, i32* %12, align 4\n %48 = icmp eq i32 %47, 0\n store i32 0, i32* %storemerge57.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %48, label LBL_9, label LBL_8\n LBL_7:\n %49 = and i64 %29, 4294967295\n %50 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %49)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %storemerge57.reload = load i32, i32* %storemerge57.reg2mem\n %51 = zext i32 %storemerge57.reload to i64\n %52 = call i64 @FUNC(i64 %0, i64 %51, i64 0)\n %53 = call i64 @FUNC(i64 %1, i64 %51)\n %54 = load i64, i64* %36, align 8\n %sext2 = mul i64 %53, 4294967296\n %55 = ashr exact i64 %sext2, 32\n %56 = ashr exact i64 %sext2, 31\n %57 = add nsw i64 %56, %55\n %58 = mul i64 %57, 4\n %59 = add i64 %58, %54\n %60 = call i64 @FUNC(i64 %0, i64 %52)\n %61 = and i64 %60, 4294967295\n %62 = call i64 @FUNC(i64 %61, i64 %59)\n %63 = load i64, i64* %36, align 8\n %64 = add i64 %63, 4\n %65 = add i64 %64, %58\n %66 = call i64 @FUNC(i64 %0, i64 %52)\n %67 = and i64 %66, 4294967295\n %68 = call i64 @FUNC(i64 %67, i64 %65)\n %69 = load i64, i64* %36, align 8\n %70 = add nsw i64 %58, 8\n %71 = add i64 %70, %69\n %72 = call i64 @FUNC(i64 %0, i64 %52)\n %73 = and i64 %72, 4294967295\n %74 = call i64 @FUNC(i64 %73, i64 %71)\n %75 = add i32 %storemerge57.reload, 1\n %76 = load i32, i32* %12, align 4\n %77 = zext i32 %76 to i64\n %78 = sext i32 %75 to i64\n %79 = icmp slt i64 %78, %77\n store i32 %75, i32* %storemerge57.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %79, label LBL_8, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %58, { 0, 2, 1 }\n uselistorder i64 %sext2, { 1, 0 }\n uselistorder i64 %40, { 1, 0, 2 }\n uselistorder i64* %36, { 2, 3, 4, 0, 1, 5 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i32* %12, { 1, 0, 2 }\n uselistorder i32 %9, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge57.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 (i64, i64)* @atomic_add, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0, 2 }\n uselistorder i64 4, { 2, 0, 1, 3 }\n uselistorder i32 0, { 0, 1, 2, 4, 3 }\n uselistorder label LBL_9, { 0, 2, 1, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cdc_ncm_bind_5229", "fun_name": "cdc_ncm_bind", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n store i64 19, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 %0, i64 2, i64 0)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_mtu_9415", "fun_name": "update_mtu", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i32, align 4\n %3 = bitcast i32* %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %2, i64* nonnull %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %9 = ptrtoint i32* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i64 %2)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = load i32, i32* %sv_0, align 4\n br i1 %12, label LBL_8, label LBL_3\n LBL_3:\n %14 = trunc i64 %1 to i32\n %15 = icmp ugt i32 %13, %14\n store i32 %13, i32* %.reg2mem\n br i1 %15, label LBL_4, label LBL_7\n LBL_4:\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 %2, i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre = load i32, i32* %sv_0, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_7\n LBL_6:\n store i32 %14, i32* %sv_0, align 4\n store i32 %14, i32* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %21 = add i64 %2, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 %.reload, i32* %22, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 %13, i32* %24, align 4\n %25 = call i64 @FUNC(i64 %9)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %14, { 0, 2, 1 }\n uselistorder i32 %13, { 2, 0, 1 }\n uselistorder i32* %sv_0, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 4, 1, 2, 3, 5, 0, 6, 7 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d3d11va_frames_uninit_2766", "fun_name": "d3d11va_frames_uninit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64* %arg1, null\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n store i64 0, i64* %arg1, align 8\n %8 = inttoptr i64 %5 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %9)\n br label LBL_4\n LBL_4:\n store i64 0, i64* %8, align 8\n ret i64 %5\n\n uselistorder i64 (i64)* @ID3D11Texture2D_Release, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "umd_cleanup_5754", "fun_name": "umd_cleanup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sio_revents_5283", "fun_name": "sio_revents", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i32, i32* %1\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %5 = trunc i64 %2 to i32\n %6 = icmp slt i32 %5, 2\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = bitcast i64* %sv_1 to %timeval*\n %8 = call i32 @gettimeofday(%timeval* nonnull %7, %timezone* null)\n br label LBL_2\n LBL_2:\n %9 = ptrtoint i32* %arg1 to i64\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n store i64 16, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_7\n LBL_3:\n %14 = add i64 %9, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_7\n LBL_4:\n %19 = bitcast i64* %rdi to i32*\n %20 = add i64 %9, 12\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i32 %22, 1\n store i32 %23, i32* %21, align 4\n %24 = load i32, i32* %19, align 8\n %25 = icmp slt i32 %24, 2\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = trunc i64 %9 to i32\n %27 = bitcast i64* %sv_0 to %timeval*\n %28 = call i32 @gettimeofday(%timeval* nonnull %27, %timezone* null)\n %29 = load i64, i64* %sv_1, align 8\n %30 = add i64 %9, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = sub i64 %29, %32\n %34 = trunc i64 %33 to i32\n %35 = sext i32 %4 to i64\n %36 = add i64 %9, 24\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = sub i64 %35, %38\n %40 = trunc i64 %39 to i32\n %41 = icmp slt i64 %39, 0\n %42 = icmp eq i1 %41, false\n %43 = add i32 %40, 1000000\n %not. = icmp ne i1 %42, true\n %44 = sext i1 %not. to i32\n %sv_2.0 = add i32 %44, %34\n %sv_3.0 = select i1 %42, i32 %40, i32 %43\n %45 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %46 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %45, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i32 %sv_2.0, i32 %sv_3.0)\n %47 = load i64, i64* %sv_0, align 8\n %48 = load i64, i64* %sv_1, align 8\n %49 = sub i64 %47, %48\n %50 = trunc i64 %49 to i32\n %51 = sub i64 %3, %35\n %52 = trunc i64 %51 to i32\n %53 = icmp slt i64 %51, 0\n %54 = icmp eq i1 %53, false\n %55 = add i32 %52, 1000000\n %not.5 = icmp ne i1 %54, true\n %56 = sext i1 %not.5 to i32\n %sv_2.1 = add i32 %50, %56\n %sv_3.1 = select i1 %54, i32 %52, i32 %55\n %57 = mul i32 %sv_2.1, 1000000\n %58 = add i32 %57, %sv_3.1\n %59 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %60 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %59, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i32 %26, i32 %58)\n br label LBL_6\n LBL_6:\n %61 = and i64 %9, 4294967295\n store i64 %61, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %54, { 1, 0 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i1 %42, { 1, 0 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i64 %9, { 3, 0, 1, 2, 4, 5, 6 }\n uselistorder i64* %sv_1, { 1, 2, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "max77686_pmic_dt_parse_pdata_4767", "fun_name": "max77686_pmic_dt_parse_pdata", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %7 = bitcast i64* %arg2 to i32*\n store i32 3, i32* %7, align 4\n %8 = mul i64 %1, 8\n %9 = and i64 %8, 34359738360\n %10 = call i64 @FUNC(i64 %2, i64 %9, i64 0)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_4\n LBL_3:\n %13 = trunc i64 %1 to i32\n %14 = bitcast i64* %rsi to i32*\n %15 = icmp eq i32 %13, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %15, label LBL_6, label LBL_5\n LBL_4:\n %16 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %17 = mul i64 %indvars.iv.reload, 8\n %18 = add i64 %17, ptrtoint ([3 x i8*]* @gv_3 to i64)\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %20, i64* %sv_0, align 8\n %21 = call i64 @FUNC(i64 %2, i64 %3, i64* nonnull %sv_0, i64 1)\n %22 = add i64 %17, %10\n %23 = inttoptr i64 %22 to i64*\n store i64 0, i64* %23, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %24 = load i32, i32* %14, align 8\n %25 = zext i32 %24 to i64\n %26 = icmp ult i64 %indvars.iv.next, %25\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %26, label LBL_5, label LBL_6\n LBL_6:\n %27 = ptrtoint i64* %arg2 to i64\n %28 = add i64 %27, 8\n %29 = inttoptr i64 %28 to i64*\n store i64 %10, i64* %29, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %2, { 2, 1, 3, 0, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 8, { 2, 0, 1, 3 }\n uselistorder i64 (i64, i8*)* @dev_err, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__perf_event_read_size_7065", "fun_name": "__perf_event_read_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = mul i32 %0, 8\n %2 = and i32 %1, 8\n %3 = and i64 %arg1, 2\n %4 = icmp eq i64 %3, 0\n %5 = add nuw nsw i32 %2, 8\n %sv_0.1 = select i1 %4, i32 %2, i32 %5\n %6 = and i64 %arg1, 4\n %7 = icmp eq i64 %6, 0\n %spec.select2 = select i1 %7, i32 8, i32 16\n %8 = and i64 %arg1, 8\n %9 = icmp eq i64 %8, 0\n %10 = add nuw nsw i32 %spec.select2, 8\n %sv_1.1 = select i1 %9, i32 %spec.select2, i32 %10\n %11 = and i64 %arg1, 16\n %12 = icmp eq i64 %11, 0\n %13 = trunc i64 %arg2 to i32\n %14 = add i32 %13, 1\n %15 = add nuw nsw i32 %sv_0.1, 8\n %sv_0.2 = select i1 %12, i32 %sv_0.1, i32 %15\n %sv_2.0 = select i1 %12, i32 1, i32 %14\n %16 = mul i32 %sv_1.1, %sv_2.0\n %17 = add i32 %sv_0.2, %16\n %18 = zext i32 %17 to i64\n ret i64 %18\n\n uselistorder i32 8, { 3, 4, 2, 5, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "databasesCron_9043", "fun_name": "databasesCron", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = load i64, i64* @gv_1, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64 1)\n br label LBL_3\n LBL_3:\n %6 = load i32, i32* @gv_2, align 4\n %7 = zext i32 %6 to i64\n %8 = icmp eq i32 %6, -1\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_12, label LBL_4\n LBL_4:\n %10 = load i32, i32* @gv_3, align 4\n %11 = zext i32 %10 to i64\n %12 = icmp eq i32 %10, -1\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_12, label LBL_5\n LBL_5:\n %14 = load i32, i32* @gv_4, align 4\n %15 = icmp ult i32 %14, 16\n %spec.select = select i1 %15, i32 %14, i32 16\n %16 = icmp sgt i32 %spec.select, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_12\n LBL_6:\n %.pre = load i32, i32* @gv_5, align 4\n %17 = urem i32 %.pre, %14\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n store i32 ptrtoint (i32* @gv_6 to i32), i32* @gv_5, align 4\n %20 = icmp eq i32 %spec.select, 1\n store i32 1, i32* %.reg2mem\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %.pre6 = load i32, i32* @gv_4, align 4\n %21 = urem i32 ptrtoint (i32* @gv_6 to i32), %.pre6\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n store i32 ptrtoint (i32* @gv_6 to i32), i32* @gv_5, align 4\n %24 = add nuw nsw i32 %.reload, 1\n %25 = icmp ult i32 %24, %spec.select\n store i32 %24, i32* %.reg2mem\n br i1 %25, label LBL_7, label LBL_8\n LBL_8:\n %26 = load i32, i32* @gv_7, align 4\n %27 = icmp eq i32 %26, 0\n store i32 0, i32* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_12, label LBL_9\n LBL_9:\n %28 = load i32, i32* inttoptr (i64 4210788 to i32*), align 4\n %29 = load i32, i32* @gv_4, align 4\n %30 = urem i32 %28, %29\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n %33 = trunc i64 %32 to i32\n store i32 ptrtoint (i32* @gv_8 to i32), i32* bitcast (i64* @gv_9 to i32*), align 8\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 ptrtoint (i32* @gv_8 to i64), i64* %rax.0.reg2mem\n br i1 %35, label LBL_12, label LBL_10\n LBL_10:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %36 = add nuw nsw i32 %storemerge2.reload, 1\n %37 = icmp ult i32 %36, %spec.select\n store i32 %36, i32* %storemerge2.reg2mem\n br i1 %37, label LBL_9, label LBL_10.LBL_12.loopexit_crit_edge\n LBL_11:\n %38 = zext i32 %36 to i64\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %36, { 1, 0, 2 }\n uselistorder i32 %spec.select, { 3, 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 2, 5, 6 }\n uselistorder i32* @gv_8, { 1, 0 }\n uselistorder i32 ptrtoint (i32* @gv_6 to i32), { 2, 0, 1 }\n uselistorder i64 (i64)* @tryResizeHashTables, { 1, 0 }\n uselistorder i32* @gv_5, { 2, 0, 1 }\n uselistorder label LBL_12, { 3, 0, 2, 1, 4, 5 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ConvertRGBToCMYK_5631", "fun_name": "ConvertRGBToCMYK", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i128 @__asm_movsd.1(i64 %7)\n %9 = call i64 @FUNC(i128 %8)\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i128 @__asm_movsd.1(i64 %12)\n %14 = call i64 @FUNC(i128 %13)\n %15 = add i64 %2, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i128 @__asm_movsd.1(i64 %17)\n %19 = call i64 @FUNC(i128 %18)\n store i64 %9, i64* %sv_1.0.reg2mem\n store i64 %14, i64* %sv_0.0.reg2mem\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %20 = call i128 @FUNC(i64 %7)\n %21 = call i128 @FUNC()\n %22 = call i64 @__asm_movq.2(i128 %21)\n %23 = add i64 %2, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i128 @FUNC(i64 %25)\n %27 = call i128 @FUNC()\n %28 = call i64 @__asm_movq.2(i128 %27)\n %29 = add i64 %2, 24\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i128 @FUNC(i64 %31)\n %33 = call i128 @FUNC()\n %34 = call i64 @__asm_movq.2(i128 %33)\n store i64 %22, i64* %sv_1.0.reg2mem\n store i64 %28, i64* %sv_0.0.reg2mem\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %35 = call i128 @__asm_movsd.1(i64 %sv_1.0.reload)\n %36 = call i128 @FUNC(i64 9223372036854775807)\n %37 = call i128 @FUNC(i128 %36, i128 %35)\n %38 = call i128 @__asm_movsd.1(i64 4457293557087583675)\n call void @FUNC(i128 %38, i128 %37)\n br i1 %4, label LBL_5, label LBL_4\n LBL_4:\n %39 = call i128 @__asm_movsd.1(i64 %sv_0.0.reload)\n %40 = call i128 @FUNC(i64 9223372036854775807)\n %41 = call i128 @FUNC(i128 %40, i128 %39)\n %42 = call i128 @__asm_movsd.1(i64 4457293557087583675)\n call void @FUNC(i128 %42, i128 %41)\n %43 = call i128 @__asm_movsd.1(i64 %storemerge.reload)\n %44 = call i128 @FUNC(i64 9223372036854775807)\n %45 = call i128 @FUNC(i128 %44, i128 %43)\n %46 = call i128 @__asm_movsd.1(i64 4457293557087583675)\n call void @FUNC(i128 %46, i128 %45)\n %47 = call i128 @__asm_movsd.1(i64 4643176031446892544)\n %48 = call i64 @FUNC(i128 %47)\n %49 = add i64 %2, 32\n %50 = inttoptr i64 %49 to i64*\n store i64 %48, i64* %50, align 8\n br label LBL_6\n LBL_5:\n %51 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %52 = call i128 @FUNC(i128 %51, i64 %sv_1.0.reload)\n %53 = call i64 @FUNC(i128 %52)\n %54 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %55 = call i128 @FUNC(i128 %54, i64 %sv_0.0.reload)\n %56 = call i64 @FUNC(i128 %55)\n %57 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %58 = call i128 @FUNC(i128 %57, i64 %storemerge.reload)\n %59 = call i64 @FUNC(i128 %58)\n %60 = sext i64 %59 to i128\n %61 = call i128 @__asm_movsd.1(i64 %53)\n %62 = call i64 @FUNC(i128 %61)\n %63 = call i128 @__asm_movsd.1(i64 %62)\n %64 = sext i64 %56 to i128\n call void @FUNC(i128 %63, i128 %64)\n %65 = call i128 @__asm_movsd.1(i64 %62)\n call void @FUNC(i128 %65, i128 %60)\n %66 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %67 = call i128 @FUNC(i128 %66, i64 %62)\n %68 = call i64 @__asm_movq.2(i128 %67)\n %69 = call i128 @FUNC(i64 %68)\n %70 = call i64 @FUNC()\n %71 = call i128 @__asm_movsd.1(i64 %53)\n %72 = call i128 @FUNC(i128 %71, i64 %62)\n %73 = call i128 @FUNC(i128 %69, i128 %72)\n %74 = call i64 @FUNC(i128 %73)\n %75 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %76 = call i128 @FUNC(i128 %75, i64 %62)\n %77 = call i64 @__asm_movq.2(i128 %76)\n %78 = call i128 @FUNC(i64 %77)\n %79 = call i64 @FUNC()\n %80 = call i128 @__asm_movsd.1(i64 %56)\n %81 = call i128 @FUNC(i128 %80, i64 %62)\n %82 = call i128 @FUNC(i128 %78, i128 %81)\n %83 = call i64 @FUNC(i128 %82)\n %84 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %85 = call i128 @FUNC(i128 %84, i64 %62)\n %86 = call i64 @__asm_movq.2(i128 %85)\n %87 = call i128 @FUNC(i64 %86)\n %88 = call i64 @FUNC()\n %89 = call i128 @__asm_movsd.1(i64 %59)\n %90 = call i128 @FUNC(i128 %89, i64 %62)\n %91 = call i128 @FUNC(i128 %87, i128 %90)\n %92 = call i64 @FUNC(i128 %91)\n %93 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %93, align 4\n %94 = call i128 @__asm_movsd.1(i64 %74)\n %95 = call i128 @__asm_movsd.1(i64 4643176031446892544)\n %96 = call i128 @FUNC(i128 %95, i128 %94)\n %97 = call i64 @FUNC(i128 %96)\n store i64 %97, i64* %6, align 8\n %98 = call i128 @__asm_movsd.1(i64 %83)\n %99 = call i128 @__asm_movsd.1(i64 4643176031446892544)\n %100 = call i128 @FUNC(i128 %99, i128 %98)\n %101 = call i64 @FUNC(i128 %100)\n %102 = add i64 %2, 16\n %103 = inttoptr i64 %102 to i64*\n store i64 %101, i64* %103, align 8\n %104 = call i128 @__asm_movsd.1(i64 %92)\n %105 = call i128 @__asm_movsd.1(i64 4643176031446892544)\n %106 = call i128 @FUNC(i128 %105, i128 %104)\n %107 = call i64 @FUNC(i128 %106)\n %108 = add i64 %2, 24\n %109 = inttoptr i64 %108 to i64*\n store i64 %107, i64* %109, align 8\n %110 = call i128 @__asm_movsd.1(i64 %62)\n %111 = call i128 @__asm_movsd.1(i64 4643176031446892544)\n %112 = call i128 @FUNC(i128 %111, i128 %110)\n %113 = call i64 @FUNC(i128 %112)\n %114 = add i64 %2, 32\n %115 = inttoptr i64 %114 to i64*\n store i64 %113, i64* %115, align 8\n br label LBL_6\n LBL_6:\n ret i64 %2\n\n uselistorder i64 %62, { 6, 5, 3, 4, 1, 2, 0, 7, 8 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %2, { 0, 4, 5, 6, 3, 7, 8, 1, 2, 9 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 ()* @PerceptibleReciprocal, { 2, 1, 0 }\n uselistorder i128 ()* @DecodePixelGamma, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "apic_timer_update_4191", "fun_name": "apic_timer_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.off0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 20\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = and i32 %3, 65536\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = sub i64 %arg2, %0\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = urem i32 %10, 64\n %12 = zext i32 %11 to i64\n %rdx.0 = ashr i64 %7, %12\n %13 = and i32 %3, 131072\n %14 = icmp eq i32 %13, 0\n %15 = add i64 %0, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n br i1 %14, label LBL_4, label LBL_2\n LBL_2:\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_7, label LBL_3\n LBL_3:\n %19 = add i64 %17, 1\n %20 = udiv i64 %rdx.0, %19\n %21 = add i64 %20, 1\n %22 = mul i64 %21, %19\n store i64 %19, i64* %rdi.0.reg2mem\n store i64 %22, i64* %storemerge2.off0.reg2mem\n br label LBL_6\n LBL_4:\n %23 = icmp sgt i64 %17, %rdx.0\n br i1 %23, label LBL_5, label LBL_7\n LBL_5:\n %24 = add i64 %17, 1\n store i64 %0, i64* %rdi.0.reg2mem\n store i64 %24, i64* %storemerge2.off0.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge2.off0.reload = load i64, i64* %storemerge2.off0.reg2mem\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %storemerge = shl i64 %storemerge2.off0.reload, %12\n %25 = add i64 %storemerge, %rdi.0.reload\n %26 = add i64 %0, 32\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28, i64 %25)\n %30 = add i64 %0, 40\n %31 = inttoptr i64 %30 to i64*\n store i64 %25, i64* %31, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %32 = add i64 %0, 32\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64 %34)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 1, 3, 0, 2 }\n uselistorder i64 %rdx.0, { 1, 0 }\n uselistorder i64 %0, { 7, 0, 3, 2, 1, 4, 5, 6, 8 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.off0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fw_cfg_io_class_init_15810", "fun_name": "fw_cfg_io_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %2, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sco_sock_alloc_8251", "fun_name": "sco_sock_alloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg4 to i32\n %2 = call i64 @FUNC(i64 %0, i64 31, i32 %1, i64* nonnull @gv_0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = call i64 @FUNC(i64 %5, i64 %2)\n %7 = call i64 @FUNC(i64 %2)\n %8 = add i64 %7, 24\n %9 = call i64 @FUNC(i64 %8)\n %10 = inttoptr i64 %2 to i64*\n store i64 4198825, i64* %10, align 8\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 1000, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %2, i64 1)\n %14 = trunc i64 %arg3 to i32\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = add i64 %2, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 2, i32* %18, align 4\n %19 = call i64 @FUNC(i64 %2)\n %20 = inttoptr i64 %19 to i32*\n store i32 3, i32* %20, align 4\n %21 = add i64 %2, 20\n %22 = call i64 @FUNC(i64 %21, i64 4198836, i64 %2)\n %23 = call i64 @FUNC(i64* nonnull @gv_0, i64 %2)\n store i64 %2, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 0, 3, 1, 2, 4, 5, 7, 6, 8, 11, 10, 9, 12 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_video_chains_3865", "fun_name": "dump_video_chains", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %rcx.12.reg2mem = alloca i64\n %r8.13.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n %7 = call i64 @FUNC()\n %8 = icmp sgt i64 %7, 0\n store i32 0, i32* %storemerge4.reg2mem\n store i64 %7, i64* %.lcssa.reg2mem\n br i1 %8, label LBL_1, label LBL_5\n LBL_1:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %9 = zext i32 %storemerge4.reload to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = inttoptr i64 %13 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %10 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %18, i64 %16, i64 %16, i64 %1)\n store i64 %16, i64* %rcx.0.reg2mem\n store i64 %16, i64* %r8.0.reg2mem\n br label LBL_4\n LBL_3:\n %rcx.12.reload = load i64, i64* %rcx.12.reg2mem\n %r8.13.reload = load i64, i64* %r8.13.reg2mem\n %20 = inttoptr i64 %10 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %9, i64 %21, i64 %rcx.12.reload, i64 %r8.13.reload, i64 %1)\n store i64 %rcx.12.reload, i64* %rcx.0.reg2mem\n store i64 %r8.13.reload, i64* %r8.0.reg2mem\n br label LBL_4\n LBL_4:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %23 = add i32 %storemerge4.reload, 1\n %24 = call i64 @FUNC()\n %25 = sext i32 %23 to i64\n %26 = icmp sgt i64 %24, %25\n store i32 %23, i32* %storemerge4.reg2mem\n store i64 %r8.0.reload, i64* %r8.13.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.12.reg2mem\n store i64 %24, i64* %.lcssa.reg2mem\n br i1 %26, label LBL_1, label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %16, { 0, 1, 3, 2 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.13.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.12.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 ()* @omap_dss_get_num_overlays, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DBG, { 2, 1, 0 }\n uselistorder i32 1, { 10, 8, 7, 6, 5, 4, 3, 2, 9, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_hex_bin2str_7280", "fun_name": "r_hex_bin2str", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge4.lcssa.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %storemerge46.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i16, align 2\n %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_7\n LBL_1:\n %3 = ptrtoint i64* %arg3 to i64\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = trunc i64 %4 to i32\n %6 = icmp sgt i32 %5, 0\n br i1 %6, label LBL_3, label LBL_1.LBL_6_crit_edge\n LBL_2:\n %.pre = and i64 %4, 4294967295\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 0, i64* %storemerge4.lcssa.reg2mem\n br label LBL_6\n LBL_3:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = bitcast i16* %sv_0 to i8*\n %wide.trip.count = and i64 %4, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %storemerge46.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge46.reload = load i32, i32* %storemerge46.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %9 = add i64 %indvars.iv.reload, %7\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i32\n %13 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %8, i32 8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %12)\n %14 = sext i32 %storemerge46.reload to i64\n %15 = add i64 %14, %3\n %16 = load i16, i16* %sv_0, align 2\n %17 = inttoptr i64 %15 to i16*\n store i16 %16, i16* %17, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %18 = add nuw i32 %storemerge46.reload, 2\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %18, i32* %storemerge46.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %phitmp = sext i32 %18 to i64\n store i64 %wide.trip.count, i64* %.pre-phi.reg2mem\n store i64 %phitmp, i64* %storemerge4.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge4.lcssa.reload = load i64, i64* %storemerge4.lcssa.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %19 = add i64 %storemerge4.lcssa.reload, %3\n %20 = inttoptr i64 %19 to i8*\n store i8 0, i8* %20, align 1\n store i64 %.pre-phi.reload, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge46.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xps_select_best_font_encoding_13675", "fun_name": "xps_select_best_font_encoding", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem7 = alloca i64\n %.reg2mem = alloca i32*\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8\n %3 = icmp eq i32 %2, -1\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = trunc i64 %1 to i32\n %6 = icmp sgt i32 %5, 0\n %7 = bitcast i32* %sv_0 to i64*\n %8 = bitcast i32* %sv_1 to i64*\n %sext = mul i64 %1, 4294967296\n %9 = ashr exact i64 %sext, 32\n store i32* bitcast (i32** @gv_0 to i32*), i32** %.reg2mem\n store i64 0, i64* %.reg2mem7\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_7\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = trunc i64 %indvars.iv.reload to i32\n %11 = call i64 @FUNC(i64 %0, i32 %10, i64* nonnull %7, i64* nonnull %8)\n %12 = load i32, i32* %.reload, align 8\n %13 = load i32, i32* %sv_0, align 4\n %14 = icmp eq i32 %12, %13\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = load i32, i32* %34, align 8\n %17 = load i32, i32* %sv_1, align 4\n %18 = icmp eq i32 %16, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %0, i64 %indvars.iv.reload)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %23, label LBL_10, label LBL_5\n LBL_5:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %24 = icmp slt i64 %indvars.iv.next, %9\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %24, label LBL_2, label LBL_6\n LBL_6:\n %25 = add i32 %storemerge6.reload, 1\n %26 = sext i32 %25 to i64\n %27 = mul i64 %26, 8\n %28 = add i64 %27, ptrtoint (i32** @gv_0 to i64)\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 8\n %31 = icmp eq i32 %30, -1\n %32 = icmp eq i1 %31, false\n store i32* %29, i32** %.reg2mem\n store i64 %27, i64* %.reg2mem7\n store i32 %25, i32* %storemerge6.reg2mem\n br i1 %32, label LBL_7, label LBL_9\n LBL_7:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n br i1 %6, label LBL_2.lr.ph, label LBL_6\n LBL_8:\n %.reload8 = load i64, i64* %.reg2mem7\n %.reload = load i32*, i32** %.reg2mem\n %33 = add i64 %.reload8, ptrtoint (i32** @gv_1 to i64)\n %34 = inttoptr i64 %33 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_9:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0))\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1, 3, 4 }\n uselistorder i1 false, { 4, 1, 2, 3, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32** @gv_0, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_lifecycle_17270", "fun_name": "perf_lifecycle", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i32\n %0 = call i64 @FUNC()\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %1 = call i64 @FUNC(i64 4198820)\n %2 = call i64 @FUNC(i64 %1, i64 0)\n %3 = add nuw nsw i32 %storemerge1.reload, 1\n %exitcond = icmp eq i32 %3, 1000000\n store i32 %3, i32* %storemerge1.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %4 = call i128 @FUNC()\n %5 = call i64 @__asm_movq.1(i128 %4)\n %6 = call i128 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 1000000)\n ret i64 %7\n\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 5, 4, 3, 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs_map_gid_to_group_8453", "fun_name": "nfs_map_gid_to_group", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg2)\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 %arg4, i64 %1)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i32 %10, i32* %sv_0.1.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %2, i64 %0, i64 %arg4)\n %14 = trunc i64 %13 to i32\n store i32 %14, i32* %sv_0.1.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %15 = call i64 @FUNC(i64 %0, i32 %sv_0.1.reload, i64 %2, i32 %sv_0.1.reload)\n %16 = zext i32 %sv_0.1.reload to i64\n ret i64 %16\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unpack_modes_7462", "fun_name": "unpack_modes", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge219.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %indvars.iv28.reg2mem = alloca i64\n %storemerge20.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_27, label LBL_2\n LBL_2:\n %10 = add i64 %5, 40\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge20.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge20.reload = load i32, i32* %storemerge20.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = load i64, i64* %11, align 8\n %13 = mul i64 %.reload, 4\n %14 = add i64 %12, %13\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i32 %storemerge20.reload, 1\n %17 = load i32, i32* %7, align 4\n %18 = zext i32 %17 to i64\n %19 = sext i32 %16 to i64\n %20 = icmp slt i64 %19, %18\n store i64 %19, i64* %.reg2mem\n store i32 %16, i32* %storemerge20.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_3, label LBL_27\n LBL_4:\n %21 = ptrtoint i64* %arg2 to i64\n %22 = ptrtoint i64* %sv_1 to i64\n %23 = call i64 @FUNC(i64 %21, i64 3)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %21, i64 3)\n %sext = mul i64 %27, 4294967296\n %28 = ashr exact i64 %sext, 30\n %29 = add i64 %22, -1072\n %30 = add i64 %29, %28\n %31 = inttoptr i64 %30 to i32*\n br label LBL_6\n LBL_6:\n %32 = ptrtoint i32* %arg1 to i64\n %33 = add i64 %32, 8\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %35, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %36, label LBL_27, label LBL_7\n LBL_7:\n %37 = add i64 %32, 16\n %38 = inttoptr i64 %37 to i64*\n %39 = add i64 %32, 24\n %40 = inttoptr i64 %39 to i64*\n %41 = add i64 %32, 12\n %42 = inttoptr i64 %41 to i32*\n %43 = icmp eq i32 %24, 7\n %44 = icmp eq i1 %43, false\n %45 = add i64 %32, 56\n %46 = inttoptr i64 %45 to i64*\n %47 = add i64 %22, -1072\n %48 = mul i64 %23, 4294967296\n %sext7 = add i64 %48, -4294967296\n %49 = ashr exact i64 %sext7, 24\n %50 = add i64 %32, 32\n %51 = inttoptr i64 %50 to i64*\n %52 = add i64 %32, 4\n %53 = inttoptr i64 %52 to i32*\n %54 = add i64 %32, 40\n %55 = inttoptr i64 %54 to i64*\n store i32 0, i32* %storemerge219.reg2mem\n br label LBL_26\n LBL_8:\n %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem\n %56 = load i64, i64* %38, align 8\n %57 = add nuw nsw i64 %indvars.iv28.reload, %128\n %58 = mul i64 %57, 4\n %59 = add i64 %58, %56\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = icmp eq i32 %61, -1\n br i1 %62, label LBL_24, label LBL_9\n LBL_9:\n %63 = load i64, i64* %40, align 8\n %64 = sext i32 %61 to i64\n %65 = mul i64 %64, 4\n %66 = add i64 %63, %65\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = icmp eq i32 %68, 1\n br i1 %69, label LBL_24, label LBL_10\n LBL_10:\n %70 = load i32, i32* %42, align 4\n %71 = zext i32 %70 to i64\n %72 = icmp slt i64 %64, %71\n br i1 %72, label LBL_12, label LBL_11\n LBL_11:\n %73 = add i64 %32, 48\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = zext i32 %61 to i64\n %77 = call i64 @FUNC(i64 %75, i64 0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %76, i64 %71, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_12:\n br i1 %44, label LBL_14, label LBL_13\n LBL_13:\n %78 = call i64 @FUNC(i64 %21, i64 3)\n %79 = trunc i64 %78 to i32\n store i32 %79, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_14:\n %80 = load i64, i64* %46, align 8\n %81 = call i64 @FUNC(i64 %21, i64 %80, i64 3, i64 3)\n %sext6 = mul i64 %81, 4294967296\n br i1 %26, label LBL_16, label LBL_15\n LBL_15:\n %82 = ashr exact i64 %sext6, 30\n %83 = add i64 %47, %82\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n store i32 %85, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_16:\n %86 = ashr exact i64 %sext6, 32\n %87 = add nsw i64 %86, %49\n %88 = mul i64 %87, 4\n %89 = add i64 %88, ptrtoint (i32** @gv_1 to i64)\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n store i32 %91, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %92 = load i64, i64* %40, align 8\n %93 = add i64 %92, %65\n %94 = inttoptr i64 %93 to i32*\n store i32 %sv_0.0.reload, i32* %94, align 4\n %95 = mul i32 %61, 6\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_18\n LBL_18:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %96 = load i64, i64* %51, align 8\n %97 = trunc i64 %indvars.iv.reload to i32\n %98 = add i32 %95, %97\n %99 = sext i32 %98 to i64\n %100 = mul i64 %99, 4\n %101 = add i64 %100, %96\n %102 = inttoptr i64 %101 to i32*\n %103 = load i32, i32* %102, align 4\n %104 = icmp eq i32 %103, -1\n br i1 %104, label LBL_23, label LBL_19\n LBL_19:\n %105 = load i32, i32* %53, align 4\n %106 = zext i32 %105 to i64\n %107 = sext i32 %103 to i64\n %108 = icmp slt i64 %107, %106\n br i1 %108, label LBL_21, label LBL_20\n LBL_20:\n %109 = add i64 %32, 48\n %110 = inttoptr i64 %109 to i64*\n %111 = load i64, i64* %110, align 8\n %112 = zext i32 %103 to i64\n %113 = call i64 @FUNC(i64 %111, i64 0, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i64 %112, i64 %106, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_21:\n %114 = load i64, i64* %55, align 8\n %115 = mul i64 %107, 4\n %116 = add i64 %114, %115\n %117 = inttoptr i64 %116 to i32*\n %118 = load i32, i32* %117, align 4\n %119 = icmp eq i32 %118, 1\n br i1 %119, label LBL_23, label LBL_22\n LBL_22:\n store i32 %sv_0.0.reload, i32* %117, align 4\n br label LBL_23\n LBL_23:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %120 = icmp ult i64 %indvars.iv.next, 6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %120, label LBL_18, label LBL_24\n LBL_24:\n %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1\n %121 = icmp ult i64 %indvars.iv.next29, 4\n store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem\n br i1 %121, label LBL_8, label LBL_25\n LBL_25:\n %122 = add i32 %storemerge219.reload, 1\n %123 = load i32, i32* %34, align 4\n %124 = zext i32 %123 to i64\n %125 = sext i32 %122 to i64\n %126 = icmp slt i64 %125, %124\n store i32 %122, i32* %storemerge219.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %126, label LBL_26, label LBL_27\n LBL_26:\n %storemerge219.reload = load i32, i32* %storemerge219.reg2mem\n %127 = mul i32 %storemerge219.reload, 4\n %128 = sext i32 %127 to i64\n store i64 0, i64* %indvars.iv28.reg2mem\n br label LBL_8\n LBL_27:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge219.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %65, { 1, 0 }\n uselistorder i64 %64, { 1, 0 }\n uselistorder i32 %61, { 1, 0, 2, 3 }\n uselistorder i32* %34, { 1, 0 }\n uselistorder i64 %32, { 0, 1, 3, 2, 4, 7, 6, 5, 8, 9 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %21, { 2, 1, 0, 3 }\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv28.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 5, 4, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 2, 3, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 }\n uselistorder i64 3, { 1, 0, 2, 3, 4 }\n uselistorder i64 4, { 6, 0, 1, 2, 3, 4, 7, 5, 8 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_27, { 1, 4, 5, 3, 0, 2 }\n uselistorder label LBL_26, { 1, 0 }\n uselistorder label LBL_24, { 0, 2, 1 }\n uselistorder label LBL_23, { 1, 2, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pvscsi_on_cmd_setup_rings_2739", "fun_name": "pvscsi_on_cmd_setup_rings", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 16\n %4 = call i64 @FUNC(i64 %3, i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl3_read_n_5534", "fun_name": "ssl3_read_n", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %sv_0.123.reg2mem = alloca i64\n %sv_1.024.reg2mem = alloca i32\n %.reg2mem53 = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %.pre-phi36.reg2mem = alloca i32*\n %.reg2mem51 = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = icmp eq i32 %0, 0\n %3 = icmp slt i32 %0, 0\n %4 = icmp eq i1 %3, false\n %5 = icmp eq i1 %2, false\n %6 = icmp eq i1 %4, %5\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %1, 4294967295\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %8, 56\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %8)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_33\n LBL_4:\n %20 = add i64 %11, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = trunc i64 %arg4 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_9, label LBL_5\n LBL_5:\n %26 = icmp eq i32 %22, 0\n %27 = icmp eq i1 %26, false\n %.pre37 = add i64 %11, 12\n %.pre39 = inttoptr i64 %.pre37 to i32*\n br i1 %27, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre47 = load i32, i32* %.pre39, align 4\n %phitmp50 = sext i32 %.pre47 to i64\n store i64 %phitmp50, i64* %.reg2mem\n br label LBL_8\n LBL_7:\n store i32 0, i32* %.pre39, align 4\n store i64 0, i64* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %28 = load i64, i64* %12, align 8\n %29 = add i64 %28, %.reload\n %30 = add i64 %8, 24\n %31 = inttoptr i64 %30 to i64*\n store i64 %29, i64* %31, align 8\n %32 = add i64 %8, 32\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n br label LBL_9\n LBL_9:\n %34 = call i64 @FUNC(i64 %8)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %36, label LBL_12, label LBL_10\n LBL_10:\n %37 = icmp eq i32 %22, 0\n %38 = icmp eq i1 %37, false\n %or.cond = or i1 %24, %38\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_33\n LBL_11:\n %39 = icmp sgt i32 %22, 0\n %40 = trunc i64 %1 to i32\n %41 = icmp slt i32 %22, %40\n %or.cond14 = icmp eq i1 %39, %41\n %42 = sext i32 %22 to i64\n %spec.select17 = select i1 %or.cond14, i64 %42, i64 %1\n store i64 %spec.select17, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %43 = trunc i64 %sv_0.0.reload to i32\n %44 = icmp slt i32 %22, %43\n %45 = add i64 %8, 32\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n br i1 %44, label LBL_14, label LBL_13\n LBL_13:\n %48 = add i32 %47, %43\n store i32 %48, i32* %46, align 4\n %49 = sub i32 %22, %43\n store i32 %49, i32* %21, align 4\n %50 = add i64 %11, 12\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i32 %52, %43\n store i32 %53, i32* %51, align 4\n %54 = and i64 %sv_0.0.reload, 4294967295\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_14:\n %55 = load i64, i64* %12, align 8\n %56 = add i64 %8, 24\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = icmp eq i64 %55, %58\n br i1 %59, label LBL_14.LBL_17_crit_edge, label LBL_16\n LBL_15:\n %.pre33 = add i64 %11, 12\n %.pre35 = inttoptr i64 %.pre33 to i32*\n %.pre48 = load i32, i32* %.pre35, align 4\n store i32 %.pre48, i32* %.reg2mem51\n store i32* %.pre35, i32** %.pre-phi36.reg2mem\n br label LBL_17\n LBL_16:\n %60 = add i32 %47, %22\n %61 = inttoptr i64 %55 to i64*\n %62 = inttoptr i64 %58 to i64*\n %63 = call i64* @memmove(i64* %61, i64* %62, i32 %60)\n store i64 %55, i64* %57, align 8\n %64 = add i64 %11, 12\n %65 = inttoptr i64 %64 to i32*\n store i32 %47, i32* %65, align 4\n store i32 %47, i32* %.reg2mem51\n store i32* %65, i32** %.pre-phi36.reg2mem\n br label LBL_17\n LBL_17:\n %.reload52 = load i32, i32* %.reg2mem51\n %66 = add i64 %11, 16\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = sub i32 %68, %.reload52\n %70 = zext i32 %69 to i64\n %71 = icmp sgt i64 %sv_0.0.reload, %70\n br i1 %71, label LBL_18, label LBL_19\n LBL_18:\n %72 = call i64 @FUNC(i64 1, i64 2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_19:\n %.pre-phi36.reload = load i32*, i32** %.pre-phi36.reg2mem\n %73 = add i64 %8, 52\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = icmp eq i32 %75, 0\n %77 = icmp eq i1 %76, false\n store i32 %43, i32* %.pre-phi.reg2mem\n br i1 %77, label LBL_20, label LBL_21\n LBL_20:\n %sext5 = mul i64 %arg3, 4294967296\n %78 = ashr exact i64 %sext5, 32\n %79 = trunc i64 %78 to i32\n %80 = icmp slt i32 %79, %43\n %spec.select = select i1 %80, i64 %sv_0.0.reload, i64 %78\n %81 = icmp sgt i64 %spec.select, %70\n %82 = zext i32 %69 to i64\n %spec.select18 = select i1 %81, i64 %82, i64 %spec.select\n %.pre49 = trunc i64 %spec.select18 to i32\n store i32 %.pre49, i32* %.pre-phi.reg2mem\n br label LBL_21\n LBL_21:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %83 = add i64 %8, 40\n %84 = inttoptr i64 %83 to i64*\n %85 = add i64 %8, 36\n %86 = inttoptr i64 %85 to i32*\n %87 = sext i32 %47 to i64\n %88 = add i64 %55, %87\n store i32 %43, i32* %.reg2mem53\n store i32 %22, i32* %sv_1.024.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.123.reg2mem\n br label LBL_22\n LBL_22:\n %sv_0.123.reload = load i64, i64* %sv_0.123.reg2mem\n %sv_1.024.reload = load i32, i32* %sv_1.024.reg2mem\n %.reload54 = load i32, i32* %.reg2mem53\n %89 = call i64 @FUNC()\n %90 = load i64, i64* %84, align 8\n %91 = icmp eq i64 %90, 0\n br i1 %91, label LBL_24, label LBL_23\n LBL_23:\n store i32 1, i32* %86, align 4\n %92 = sub i32 %.pre-phi.reload, %sv_1.024.reload\n %93 = zext i32 %92 to i64\n %94 = sext i32 %sv_1.024.reload to i64\n %95 = add i64 %88, %94\n %96 = load i64, i64* %84, align 8\n %97 = call i64 @FUNC(i64 %96, i64 %95, i64 %93)\n %98 = trunc i64 %97 to i32\n store i32 %98, i32* %storemerge.reg2mem\n br label LBL_25\n LBL_24:\n %99 = call i64 @FUNC(i64 1, i64 3)\n store i32 -1, i32* %storemerge.reg2mem\n br label LBL_25\n LBL_25:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %100 = icmp eq i32 %storemerge.reload, 0\n %101 = icmp slt i32 %storemerge.reload, 0\n %102 = icmp eq i1 %101, false\n %103 = icmp eq i1 %100, false\n %104 = icmp eq i1 %102, %103\n br i1 %104, label LBL_31, label LBL_26\n LBL_26:\n store i32 %sv_1.024.reload, i32* %21, align 4\n %105 = add i64 %8, 48\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = and i32 %107, 4\n %109 = icmp eq i32 %108, 0\n br i1 %109, label LBL_30, label LBL_27\n LBL_27:\n %110 = call i64 @FUNC(i64 %8)\n %111 = trunc i64 %110 to i32\n %112 = icmp eq i32 %111, 0\n %113 = icmp eq i1 %112, false\n br i1 %113, label LBL_30, label LBL_28\n LBL_28:\n %114 = sub i32 0, %47\n %115 = icmp eq i32 %sv_1.024.reload, %114\n %116 = icmp eq i1 %115, false\n br i1 %116, label LBL_30, label LBL_29\n LBL_29:\n %117 = call i64 @FUNC(i64 %8)\n br label LBL_30\n LBL_30:\n %118 = zext i32 %storemerge.reload to i64\n store i64 %118, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_31:\n %119 = add i32 %storemerge.reload, %sv_1.024.reload\n %120 = call i64 @FUNC(i64 %8)\n %121 = trunc i64 %120 to i32\n %122 = icmp ne i32 %121, 0\n %123 = icmp slt i32 %119, %.reload54\n %or.cond16 = icmp eq i1 %123, %122\n %124 = sext i32 %119 to i64\n %spec.select19 = select i1 %or.cond16, i64 %124, i64 %sv_0.123.reload\n %125 = trunc i64 %spec.select19 to i32\n %126 = icmp slt i32 %119, %125\n store i32 %125, i32* %.reg2mem53\n store i32 %119, i32* %sv_1.024.reg2mem\n store i64 %spec.select19, i64* %sv_0.123.reg2mem\n br i1 %126, label LBL_22, label LBL_32\n LBL_32:\n %.pre = load i32, i32* %.pre-phi36.reload, align 4\n %phitmp = and i64 %spec.select19, 4294967295\n %127 = add i32 %.pre, %125\n store i32 %127, i32* %.pre-phi36.reload, align 4\n %128 = sub i32 %119, %125\n store i32 %128, i32* %21, align 4\n %129 = load i32, i32* %46, align 4\n %130 = add i32 %129, %125\n store i32 %130, i32* %46, align 4\n store i32 0, i32* %86, align 4\n store i64 %phitmp, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_33:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %125, { 3, 1, 2, 0, 4 }\n uselistorder i64 %spec.select19, { 1, 0, 2 }\n uselistorder i32 %119, { 1, 0, 2, 4, 3 }\n uselistorder i32 %storemerge.reload, { 2, 3, 0, 1 }\n uselistorder i32 %sv_1.024.reload, { 2, 4, 3, 1, 0 }\n uselistorder i32* %.pre-phi36.reload, { 1, 0 }\n uselistorder i64 %55, { 0, 2, 3, 1 }\n uselistorder i32 %47, { 4, 3, 0, 2, 1, 5 }\n uselistorder i32* %46, { 1, 0, 2, 3 }\n uselistorder i32 %43, { 0, 4, 1, 2, 3, 5, 6 }\n uselistorder i64 %sv_0.0.reload, { 0, 4, 3, 2, 1 }\n uselistorder i32* %.pre39, { 1, 0 }\n uselistorder i32 %22, { 0, 1, 6, 7, 4, 3, 2, 5, 8 }\n uselistorder i32* %21, { 1, 2, 0, 3 }\n uselistorder i64* %12, { 1, 0, 2 }\n uselistorder i64 %11, { 4, 3, 1, 2, 0, 5, 6 }\n uselistorder i64 %8, { 6, 3, 5, 4, 8, 7, 9, 10, 11, 12, 1, 2, 0, 13 }\n uselistorder i64 %1, { 1, 2, 0, 3 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem53, { 1, 0, 2 }\n uselistorder i32* %sv_1.024.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.123.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 7, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @SSLerr, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 (i64)* @SSL_IS_DTLS, { 2, 1, 0 }\n uselistorder i64 12, { 2, 1, 3, 0 }\n uselistorder i1 false, { 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 1 }\n uselistorder i32 0, { 8, 3, 2, 4, 5, 6, 7, 9, 0, 10, 11, 12, 1, 13, 14, 15, 16, 17 }\n uselistorder i64 32, { 0, 2, 3, 1 }\n uselistorder label LBL_33, { 3, 2, 4, 5, 0, 1, 6 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ovs_instruction_type_from_ofpact_type_8173", "fun_name": "ovs_instruction_type_from_ofpact_type", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n store i64 %1, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_5 [\n i32 0, label LBL_6\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n ]\n LBL_1:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n store i64 4, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n store i64 5, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_6, { 5, 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "svq1_decode_init_16681", "fun_name": "svq1_decode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 %0, i64* %5, align 8\n %6 = bitcast i64* %rdi to i32*\n %7 = load i32, i32* %6, align 8\n %8 = add i32 %7, 3\n %9 = and i32 %8, -4\n %10 = inttoptr i64 %3 to i32*\n store i32 %9, i32* %10, align 4\n %11 = add i64 %0, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, 3\n %15 = and i32 %14, -4\n %16 = add i64 %3, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = add i64 %0, 32\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %3, 24\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %0, 12\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %0, 16\n %28 = inttoptr i64 %27 to i32*\n store i32 1, i32* %28, align 4\n %29 = add i64 %0, 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %3, 8\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "visit_end_struct_385", "fun_name": "visit_end_struct", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm_ccn_pmu_xp_dt_config_4611", "fun_name": "arm_ccn_pmu_xp_dt_config", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_7, label LBL_1\n LBL_1:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = urem i32 %11, 16\n %13 = icmp eq i32 %12, 1\n %14 = icmp eq i1 %13, false\n %15 = inttoptr i64 %6 to i64*\n %16 = load i64, i64* %15, align 8\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %17 = udiv i32 %11, 16\n %18 = mul i32 %17, 8\n %19 = zext i32 %18 to i64\n %20 = add i64 %16, %19\n store i64 %20, i64* %storemerge5.reg2mem\n br label LBL_4\n LBL_3:\n %21 = udiv i32 %11, 256\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %sext4 = mul i64 %23, 4294967296\n %24 = ashr exact i64 %sext4, 29\n %25 = add i64 %24, %16\n store i64 %25, i64* %storemerge5.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %26 = trunc i64 %arg2 to i32\n %27 = icmp eq i32 %26, 0\n store i32 0, i32* %storemerge3.reg2mem\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = add i64 %2, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n store i32 %30, i32* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %31 = add i64 %6, 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = inttoptr i64 %storemerge5.reload to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %34, 256\n %36 = call i64 @FUNC(i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = mul i32 %7, 8\n %39 = and i32 %38, 24\n %40 = icmp eq i32 %39, 0\n %41 = shl i32 -255, %39\n %phitmp = add nsw i32 %41, -1\n %storemerge = select i1 %40, i32 -256, i32 %phitmp\n %42 = and i32 %storemerge, %37\n %43 = shl i32 %storemerge3.reload, %39\n %44 = or i32 %42, %43\n %45 = load i64, i64* %33, align 8\n %46 = add i64 %45, 256\n %47 = zext i32 %44 to i64\n %48 = call i64 @FUNC(i64 %47, i64 %46)\n %49 = call i64 @FUNC(i64 %31)\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %39, { 1, 0, 2 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_realloc_348", "fun_name": "qemu_realloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n call void @abort()\n unreachable\n LBL_3:\n %phitmp = trunc i64 %arg2 to i32\n %storemerge = select i1 %0, i32 1, i32 %phitmp\n %6 = inttoptr i64 %arg1 to i64*\n %7 = call i64* @realloc(i64* %6, i32 %storemerge)\n %8 = ptrtoint i64* %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %9)\n ret i64 %9\n\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vunmap_4301", "fun_name": "vunmap", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg2, %arg1\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %1, i64 %arg1, i64 %0)\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 %3)\n %5 = load i64, i64* @gv_0, align 8\n %6 = call i64 @FUNC(i64 %5, i64 %arg1, i64 %arg2)\n ret i64 %6\n\n uselistorder i64 ()* @pmap_kernel, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_seq_oss_drain_write_8522", "fun_name": "snd_seq_oss_drain_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_2\n LBL_2:\n %12 = load i32, i32* %6, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = add i64 %4, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %23 = load i64, i64* %19, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %24, i64* %rax.0.reg2mem\n br i1 %27, label LBL_5, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_6, { 0, 2, 3, 4, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_pipe_signaling_1960", "fun_name": "init_pipe_signaling", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %4 to i32\n %6 = insertvalue [2 x i32] undef, i32 %5, 0\n %7 = call i32 @pipe([2 x i32] %6)\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %1)\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %11 = trunc i64 %3 to i32\n %12 = bitcast i64* %rdi to i32*\n %13 = call i32 (i32, i32, ...) @fcntl(i32 %11, i32 4)\n %14 = add i64 %4, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i32 (i32, i32, ...) @fcntl(i32 %16, i32 4)\n %18 = call i32 @getpid()\n %19 = call i32 (i32, i32, ...) @fcntl(i32 %11, i32 8)\n %20 = call i32 @pthread_self()\n %21 = sext i32 %20 to i64\n %22 = add i64 %4, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = load i32, i32* %12, align 8\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25, i64 4198926, i64 0, i64 %4)\n store i64 %26, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 2, 3, 0, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (i32, i32, ...)* @fcntl, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ib_sa_remove_one_4173", "fun_name": "ib_sa_remove_one", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %1 to i32*\n %4 = add i64 %1, 168\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC()\n %7 = add i64 %1, 4\n %8 = inttoptr i64 %7 to i32*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = mul i64 %.reload, 16\n %10 = add i64 %9, %1\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %10, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %17, i64 4198757)\n br label LBL_4\n LBL_4:\n %20 = add i32 %storemerge2.reload, 1\n %21 = load i32, i32* %8, align 4\n %22 = load i32, i32* %3, align 4\n %23 = sub i32 %21, %22\n %24 = zext i32 %23 to i64\n %25 = sext i32 %20 to i64\n %26 = icmp sgt i64 %25, %24\n store i64 %25, i64* %.reg2mem\n store i32 %20, i32* %storemerge2.reg2mem\n br i1 %26, label LBL_5, label LBL_2\n LBL_5:\n %27 = call i64 @FUNC(i64 %1)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sd_init_2609", "fun_name": "sd_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %5 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_1 to i64*), i32 1, i32 36, %_IO_FILE* %4)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_3:\n %6 = call i64 @FUNC(i64 24)\n %7 = call i64 @FUNC(i64 %arg1, i64 512)\n %8 = inttoptr i64 %6 to i64*\n store i64 %7, i64* %8, align 8\n %9 = trunc i64 %arg2 to i8\n %10 = add i64 %6, 8\n %11 = inttoptr i64 %10 to i8*\n store i8 %9, i8* %11, align 1\n %12 = add i64 %6, 9\n %13 = inttoptr i64 %12 to i8*\n store i8 1, i8* %13, align 1\n %14 = call i64 @FUNC(i64 %6, i64 %arg1)\n %15 = add i64 %6, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %17, i64 %6)\n %20 = load i64, i64* %16, align 8\n %21 = call i64 @FUNC(i64 %20, i64* nonnull @gv_2, i64 %6)\n br label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 0, i64 4294967295, i64* nonnull @gv_3, i64 %6)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 0, 3, 1, 2, 4, 5, 6, 7, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_req_complete_852", "fun_name": "scsi_req_complete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, -1\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %5)\n %8 = call i64 @FUNC(i64 %5)\n ret i64 %8\n\n uselistorder i64 %5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_crypt_extended_r_7697", "fun_name": "_crypt_extended_r", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.1.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i32\n %sv_3.2.reg2mem = alloca i64\n %sv_3.1.lcssa.reg2mem = alloca i64\n %sv_3.112.reg2mem = alloca i64\n %sv_4.113.reg2mem = alloca i8*\n %.reg2mem28 = alloca i64\n %sv_5.115.reg2mem = alloca i32\n %sv_1.016.reg2mem = alloca i32\n %sv_5.017.reg2mem = alloca i32\n %sv_2.018.reg2mem = alloca i32\n %sv_3.019.reg2mem = alloca i64\n %sv_4.020.reg2mem = alloca i8*\n %.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %sv_6 = alloca i32, align 4\n %sv_7 = alloca i32, align 4\n %sv_8 = alloca i64, align 8\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n br label LBL_2\n LBL_2:\n %7 = bitcast i64* %sv_8 to i8*\n %8 = ptrtoint i64* %sv_8 to i64\n store i64 %8, i64* %.reg2mem\n store i8* %7, i8** %sv_4.020.reg2mem\n store i64 %arg1, i64* %sv_3.019.reg2mem\n br label LBL_3\n LBL_3:\n %sv_3.019.reload = load i64, i64* %sv_3.019.reg2mem\n %sv_4.020.reload = load i8*, i8** %sv_4.020.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = inttoptr i64 %sv_3.019.reload to i8*\n %10 = load i8, i8* %9, align 1\n %11 = add i64 %.reload, 1\n %12 = inttoptr i64 %11 to i8*\n %13 = mul i8 %10, 2\n store i8 %13, i8* %sv_4.020.reload, align 1\n %14 = icmp ne i8 %13, 0\n %15 = zext i1 %14 to i64\n %spec.select = add i64 %sv_3.019.reload, %15\n %16 = or i64 %8, 7\n %exitcond = icmp eq i64 %.reload, %16\n store i64 %11, i64* %.reg2mem\n store i8* %12, i8** %sv_4.020.reg2mem\n store i64 %spec.select, i64* %sv_3.019.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %17 = call i64 @FUNC(i64* nonnull %sv_8, i64 %2)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_20, label LBL_5\n LBL_5:\n %20 = bitcast i64* %rsi to i8*\n %21 = load i8, i8* %20, align 8\n %22 = icmp eq i8 %21, 36\n %23 = icmp eq i1 %22, false\n store i32 0, i32* %sv_2.018.reg2mem\n store i32 1, i32* %sv_5.017.reg2mem\n br i1 %23, label LBL_17, label LBL_6\n LBL_6:\n %sv_5.017.reload = load i32, i32* %sv_5.017.reg2mem\n %24 = sext i32 %sv_5.017.reload to i64\n %25 = add i64 %24, %arg2\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = sext i8 %27 to i64\n %29 = and i64 %28, 4294967295\n %30 = call i64 @FUNC(i64 %29)\n %sext5 = mul i64 %30, 4294967296\n %31 = ashr exact i64 %sext5, 32\n %32 = add i64 %31, ptrtoint ([75 x i8]* @gv_0 to i64)\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = load i8, i8* %26, align 1\n %36 = icmp eq i8 %34, %35\n store i64 0, i64* %rax.0.reg2mem\n br i1 %36, label LBL_7, label LBL_22\n LBL_7:\n %sv_2.018.reload = load i32, i32* %sv_2.018.reg2mem\n %37 = trunc i64 %30 to i32\n %38 = mul nuw i32 %sv_5.017.reload, 6\n %39 = add nuw nsw i32 %38, 26\n %40 = and i32 %39, 30\n %41 = shl i32 %37, %40\n %42 = or i32 %41, %sv_2.018.reload\n %43 = add nuw i32 %sv_5.017.reload, 1\n %44 = icmp ult i32 %43, 5\n store i32 %42, i32* %sv_2.018.reg2mem\n store i32 %43, i32* %sv_5.017.reg2mem\n br i1 %44, label LBL_6, label LBL_8\n LBL_8:\n %45 = icmp eq i32 %42, 0\n %46 = icmp eq i1 %45, false\n store i32 0, i32* %sv_1.016.reg2mem\n store i32 5, i32* %sv_5.115.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %46, label LBL_9, label LBL_22\n LBL_9:\n %sv_5.115.reload = load i32, i32* %sv_5.115.reg2mem\n %47 = sext i32 %sv_5.115.reload to i64\n %48 = add i64 %47, %arg2\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = sext i8 %50 to i64\n %52 = and i64 %51, 4294967295\n %53 = call i64 @FUNC(i64 %52)\n %sext = mul i64 %53, 4294967296\n %54 = ashr exact i64 %sext, 32\n %55 = add i64 %54, ptrtoint ([75 x i8]* @gv_0 to i64)\n %56 = inttoptr i64 %55 to i8*\n %57 = load i8, i8* %56, align 1\n %58 = load i8, i8* %49, align 1\n %59 = icmp eq i8 %57, %58\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_10, label LBL_22\n LBL_10:\n %sv_1.016.reload = load i32, i32* %sv_1.016.reg2mem\n %60 = trunc i64 %53 to i32\n %61 = mul nuw i32 %sv_5.115.reload, 6\n %62 = add nuw nsw i32 %61, 2\n %63 = and i32 %62, 30\n %64 = shl i32 %60, %63\n %65 = or i32 %64, %sv_1.016.reload\n %66 = add nuw i32 %sv_5.115.reload, 1\n %67 = icmp ult i32 %66, 9\n store i32 %65, i32* %sv_1.016.reg2mem\n store i32 %66, i32* %sv_5.115.reg2mem\n store i64 %spec.select, i64* %sv_3.2.reg2mem\n br i1 %67, label LBL_9, label LBL_15\n LBL_11:\n %68 = call i64 @FUNC(i64* nonnull %sv_8, i64* nonnull %sv_8, i64 0, i64 1, i64 %2)\n %69 = trunc i64 %68 to i32\n %70 = icmp eq i32 %69, 0\n store i64 %8, i64* %.reg2mem28\n store i8* %7, i8** %sv_4.113.reg2mem\n store i64 %sv_3.2.reload, i64* %sv_3.112.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %70, label LBL_13, label LBL_22\n LBL_12:\n %sv_4.113.reload = load i8*, i8** %sv_4.113.reg2mem\n %.reload29 = load i64, i64* %.reg2mem28\n %71 = add i64 %sv_3.112.reload, 1\n %72 = mul i8 %80, 2\n %73 = add i64 %.reload29, 1\n %74 = inttoptr i64 %73 to i8*\n %75 = load i8, i8* %sv_4.113.reload, align 1\n %76 = xor i8 %75, %72\n store i8 %76, i8* %sv_4.113.reload, align 1\n %77 = sub i64 %73, %8\n %78 = icmp ult i64 %77, 8\n store i64 %73, i64* %.reg2mem28\n store i8* %74, i8** %sv_4.113.reg2mem\n store i64 %71, i64* %sv_3.112.reg2mem\n store i64 %71, i64* %sv_3.1.lcssa.reg2mem\n br i1 %78, label LBL_13, label LBL_14\n LBL_13:\n %sv_3.112.reload = load i64, i64* %sv_3.112.reg2mem\n %79 = inttoptr i64 %sv_3.112.reload to i8*\n %80 = load i8, i8* %79, align 1\n %81 = icmp eq i8 %80, 0\n %82 = icmp eq i1 %81, false\n store i64 %sv_3.112.reload, i64* %sv_3.1.lcssa.reg2mem\n br i1 %82, label LBL_12, label LBL_14\n LBL_14:\n %sv_3.1.lcssa.reload = load i64, i64* %sv_3.1.lcssa.reg2mem\n %83 = call i64 @FUNC(i64* nonnull %sv_8, i64 %2)\n %84 = trunc i64 %83 to i32\n %85 = icmp eq i32 %84, 0\n store i64 %sv_3.1.lcssa.reload, i64* %sv_3.2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %85, label LBL_15, label LBL_22\n LBL_15:\n %sv_3.2.reload = load i64, i64* %sv_3.2.reg2mem\n %86 = inttoptr i64 %sv_3.2.reload to i8*\n %87 = load i8, i8* %86, align 1\n %88 = icmp eq i8 %87, 0\n %89 = icmp eq i1 %88, false\n br i1 %89, label LBL_11, label LBL_16\n LBL_16:\n %90 = add i64 %2, 4\n %91 = inttoptr i64 %90 to i64*\n %92 = inttoptr i64 %arg2 to i64*\n %93 = call i64* @memcpy(i64* %91, i64* %92, i32 9)\n %94 = add i64 %2, 13\n %95 = inttoptr i64 %94 to i8*\n store i8 0, i8* %95, align 1\n store i32 %42, i32* %sv_2.1.reg2mem\n store i32 %65, i32* %sv_1.1.reg2mem\n store i8* %95, i8** %sv_0.0.reg2mem\n br label LBL_20\n LBL_17:\n %96 = sext i8 %21 to i64\n %97 = and i64 %96, 4294967295\n %98 = call i64 @FUNC(i64 %97)\n %99 = trunc i64 %98 to i32\n %100 = icmp eq i32 %99, 0\n %101 = icmp eq i1 %100, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %101, label LBL_22, label LBL_18\n LBL_18:\n %102 = add i64 %arg2, 1\n %103 = inttoptr i64 %102 to i8*\n %104 = load i8, i8* %103, align 1\n %105 = sext i8 %104 to i64\n %106 = and i64 %105, 4294967295\n %107 = call i64 @FUNC(i64 %106)\n %108 = trunc i64 %107 to i32\n %109 = icmp eq i32 %108, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %109, label LBL_19, label LBL_22\n LBL_19:\n %110 = load i8, i8* %103, align 1\n %111 = sext i8 %110 to i64\n %112 = and i64 %111, 4294967295\n %113 = call i64 @FUNC(i64 %112)\n %114 = trunc i64 %113 to i32\n %115 = mul i32 %114, 64\n %116 = call i64 @FUNC(i64 %97)\n %117 = trunc i64 %116 to i32\n %118 = or i32 %115, %117\n %119 = add i64 %2, 4\n %120 = inttoptr i64 %119 to i8*\n store i8 %21, i8* %120, align 1\n %121 = load i8, i8* %103, align 1\n %122 = add i64 %2, 5\n %123 = inttoptr i64 %122 to i8*\n store i8 %121, i8* %123, align 1\n %124 = add i64 %2, 6\n %125 = inttoptr i64 %124 to i8*\n store i32 25, i32* %sv_2.1.reg2mem\n store i32 %118, i32* %sv_1.1.reg2mem\n store i8* %125, i8** %sv_0.0.reg2mem\n br label LBL_20\n LBL_20:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %126 = zext i32 %sv_1.1.reload to i64\n %127 = call i64 @FUNC(i64 %126, i64 %2)\n %128 = zext i32 %sv_2.1.reload to i64\n %129 = bitcast i32* %sv_6 to i64*\n %130 = bitcast i32* %sv_7 to i64*\n %131 = call i64 @FUNC(i64 0, i64 0, i64* nonnull %129, i64* nonnull %130, i64 %128, i64 %2)\n %132 = trunc i64 %131 to i32\n %133 = icmp eq i32 %132, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %133, label LBL_21, label LBL_22\n LBL_21:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %134 = load i32, i32* %sv_6, align 4\n %135 = udiv i32 %134, 256\n %136 = udiv i32 %134, 67108864\n %137 = zext i32 %136 to i64\n %138 = add i64 %137, ptrtoint ([75 x i8]* @gv_0 to i64)\n %139 = inttoptr i64 %138 to i8*\n %140 = load i8, i8* %139, align 1\n %141 = ptrtoint i8* %sv_0.0.reload to i64\n %142 = add i64 %141, 1\n store i8 %140, i8* %sv_0.0.reload, align 1\n %143 = udiv i32 %134, 1048576\n %144 = urem i32 %143, 64\n %145 = zext i32 %144 to i64\n %146 = add i64 %145, ptrtoint ([75 x i8]* @gv_0 to i64)\n %147 = inttoptr i64 %146 to i8*\n %148 = load i8, i8* %147, align 1\n %149 = add i64 %141, 2\n %150 = inttoptr i64 %142 to i8*\n store i8 %148, i8* %150, align 1\n %151 = udiv i32 %134, 16384\n %152 = urem i32 %151, 64\n %153 = zext i32 %152 to i64\n %154 = add i64 %153, ptrtoint ([75 x i8]* @gv_0 to i64)\n %155 = inttoptr i64 %154 to i8*\n %156 = load i8, i8* %155, align 1\n %157 = add i64 %141, 3\n %158 = inttoptr i64 %149 to i8*\n store i8 %156, i8* %158, align 1\n %159 = urem i32 %135, 64\n %160 = zext i32 %159 to i64\n %161 = add i64 %160, ptrtoint ([75 x i8]* @gv_0 to i64)\n %162 = inttoptr i64 %161 to i8*\n %163 = load i8, i8* %162, align 1\n %164 = add i64 %141, 4\n %165 = inttoptr i64 %157 to i8*\n store i8 %163, i8* %165, align 1\n %166 = load i32, i32* %sv_6, align 4\n %167 = mul i32 %166, 65536\n %168 = load i32, i32* %sv_7, align 4\n %169 = udiv i32 %168, 65536\n %170 = or i32 %169, %167\n %171 = udiv i32 %166, 4\n %172 = urem i32 %171, 64\n %173 = zext i32 %172 to i64\n %174 = add i64 %173, ptrtoint ([75 x i8]* @gv_0 to i64)\n %175 = inttoptr i64 %174 to i8*\n %176 = load i8, i8* %175, align 1\n %177 = add i64 %141, 5\n %178 = inttoptr i64 %164 to i8*\n store i8 %176, i8* %178, align 1\n %179 = udiv i32 %170, 4096\n %180 = urem i32 %179, 64\n %181 = zext i32 %180 to i64\n %182 = add i64 %181, ptrtoint ([75 x i8]* @gv_0 to i64)\n %183 = inttoptr i64 %182 to i8*\n %184 = load i8, i8* %183, align 1\n %185 = add i64 %141, 6\n %186 = inttoptr i64 %177 to i8*\n store i8 %184, i8* %186, align 1\n %187 = udiv i32 %168, 4194304\n %188 = urem i32 %187, 64\n %189 = zext i32 %188 to i64\n %190 = add i64 %189, ptrtoint ([75 x i8]* @gv_0 to i64)\n %191 = inttoptr i64 %190 to i8*\n %192 = load i8, i8* %191, align 1\n %193 = add i64 %141, 7\n %194 = inttoptr i64 %185 to i8*\n store i8 %192, i8* %194, align 1\n %195 = urem i32 %169, 64\n %196 = zext i32 %195 to i64\n %197 = add i64 %196, ptrtoint ([75 x i8]* @gv_0 to i64)\n %198 = inttoptr i64 %197 to i8*\n %199 = load i8, i8* %198, align 1\n %200 = add i64 %141, 8\n %201 = inttoptr i64 %193 to i8*\n store i8 %199, i8* %201, align 1\n %202 = load i32, i32* %sv_7, align 4\n %203 = mul i32 %202, 4\n %204 = udiv i32 %202, 1024\n %205 = urem i32 %204, 64\n %206 = zext i32 %205 to i64\n %207 = add i64 %206, ptrtoint ([75 x i8]* @gv_0 to i64)\n %208 = inttoptr i64 %207 to i8*\n %209 = load i8, i8* %208, align 1\n %210 = add i64 %141, 9\n %211 = inttoptr i64 %200 to i8*\n store i8 %209, i8* %211, align 1\n %212 = udiv i32 %202, 16\n %213 = urem i32 %212, 64\n %214 = zext i32 %213 to i64\n %215 = add i64 %214, ptrtoint ([75 x i8]* @gv_0 to i64)\n %216 = inttoptr i64 %215 to i8*\n %217 = load i8, i8* %216, align 1\n %218 = add i64 %141, 10\n %219 = inttoptr i64 %210 to i8*\n store i8 %217, i8* %219, align 1\n %220 = and i32 %203, 60\n %221 = zext i32 %220 to i64\n %222 = add i64 %221, ptrtoint ([75 x i8]* @gv_0 to i64)\n %223 = inttoptr i64 %222 to i8*\n %224 = load i8, i8* %223, align 4\n %225 = add i64 %141, 11\n %226 = inttoptr i64 %218 to i8*\n store i8 %224, i8* %226, align 1\n %227 = inttoptr i64 %225 to i8*\n store i8 0, i8* %227, align 1\n %228 = add i64 %2, 4\n store i64 %228, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %202, { 1, 2, 0 }\n uselistorder i32 %169, { 1, 0 }\n uselistorder i32 %166, { 1, 0 }\n uselistorder i64 %141, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 %80, { 1, 0 }\n uselistorder i8* %sv_4.113.reload, { 1, 0 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i32 %42, { 0, 2, 1 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i8 %13, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %sv_3.019.reload, { 1, 0 }\n uselistorder i64 %8, { 3, 0, 2, 1 }\n uselistorder i64* %sv_8, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32* %sv_7, { 1, 0, 2 }\n uselistorder i32* %sv_6, { 1, 0, 2 }\n uselistorder i64 %2, { 7, 9, 8, 4, 5, 6, 2, 3, 0, 1, 10, 11 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_4.020.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_3.019.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.018.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.017.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.016.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.115.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem28, { 2, 0, 1 }\n uselistorder i8** %sv_4.113.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_3.112.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_3.2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 5, 7, 6, 3, 4, 2, 8, 1 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i32 64, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }\n uselistorder i64 (i64)* @ascii_is_unsafe, { 1, 0 }\n uselistorder i64 4, { 1, 0, 2, 3 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 9, { 1, 0 }\n uselistorder i32 30, { 1, 0 }\n uselistorder i32 6, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @ascii_to_bin, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 0, 1, 2, 4, 3 }\n uselistorder i64 (i64*, i64)* @des_setkey, { 1, 0 }\n uselistorder i64 7, { 1, 0 }\n uselistorder i8 0, { 0, 2, 3, 1, 4 }\n uselistorder i64 1, { 1, 2, 3, 4, 0, 5 }\n uselistorder i1 false, { 0, 2, 1, 3, 4, 5 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 7, 1, 8, 9 }\n uselistorder i64 %arg2, { 3, 2, 0, 1 }\n uselistorder label LBL_22, { 8, 4, 6, 5, 2, 3, 1, 7, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "calipso_doi_remove_6821", "fun_name": "calipso_doi_remove", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = and i64 %arg1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64* nonnull @gv_0)\n store i32 -2, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %9 = add i64 %5, 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64* nonnull @gv_0)\n %12 = call i64 @FUNC(i64 %5)\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %13 = ptrtoint i64* %arg2 to i64\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %14 = call i64 @FUNC(i64 0, i64 %13)\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = icmp eq i32 %storemerge.reload, 0\n %17 = zext i1 %16 to i64\n %18 = trunc i64 %arg1 to i32\n %19 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i32 %18, i64 %17, i64 %2, i64 %1)\n %20 = call i64 @FUNC(i64 %14)\n br label LBL_5\n LBL_5:\n %21 = zext i32 %storemerge.reload to i64\n ret i64 %21\n\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64*)* @spin_unlock, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "move_audio_14317", "fun_name": "move_audio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge3.lcssa.reg2mem = alloca i64\n %storemerge45.reg2mem = alloca i32\n %.reg2mem8 = alloca i64\n %.reg2mem = alloca i32*\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32*, align 8\n store i32* null, i32** %sv_0, align 8\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = add i32 %3, 31\n %5 = urem i32 %4, 32\n %6 = shl i32 1, %5\n %storemerge = zext i32 %6 to i64\n %7 = ashr i32 %6, 31\n %8 = zext i32 %7 to i64\n %9 = mul i64 %8, 4294967296\n %10 = or i64 %9, %storemerge\n %11 = zext i32 %arg4 to i64\n %12 = sdiv i64 %10, %11\n %13 = trunc i64 %12 to i32\n %14 = icmp sgt i32 %13, 0\n store i64 0, i64* %storemerge3.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_7\n LBL_1:\n %15 = add i64 %0, 16\n %16 = add i64 %0, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = bitcast i32** %sv_0 to i64*\n %wide.trip.count = and i64 %12, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %19 = call i64 @FUNC(i64 %15)\n %20 = inttoptr i64 %19 to i32*\n store i32* %20, i32** %sv_0, align 8\n %21 = load i32, i32* %20, align 4\n %22 = add i32 %21, %6\n store i32 %22, i32* %arg3, align 4\n %23 = load i32, i32* %17, align 4\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_6, label LBL_3\n LBL_3:\n %25 = trunc i64 %indvars.iv.reload to i32\n %26 = mul i32 %25, %arg4\n %27 = sext i32 %26 to i64\n %28 = mul i64 %27, 4\n store i32* %20, i32** %.reg2mem\n store i64 0, i64* %.reg2mem8\n store i32 0, i32* %storemerge45.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge45.reload = load i32, i32* %storemerge45.reg2mem\n %.reload9 = load i64, i64* %.reg2mem8\n %.reload = load i32*, i32** %.reg2mem\n %29 = ptrtoint i32* %.reload to i64\n %30 = add i64 %29, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = mul i64 %.reload9, 8\n %34 = add i64 %32, %33\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = load i32, i32* %.reload, align 4\n %38 = mul i32 %37, 4\n %39 = add i64 %33, %arg2\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %41, %28\n %43 = inttoptr i64 %42 to i64*\n %44 = inttoptr i64 %36 to i64*\n %45 = call i64* @memcpy(i64* %43, i64* %44, i32 %38)\n %46 = add i32 %storemerge45.reload, 1\n %47 = load i32, i32* %17, align 4\n %48 = zext i32 %47 to i64\n %49 = sext i32 %46 to i64\n %50 = icmp slt i64 %49, %48\n br i1 %50, label LBL_4.LBL_4_crit_edge, label LBL_6\n LBL_5:\n %.pre = load i32*, i32** %sv_0, align 8\n store i32* %.pre, i32** %.reg2mem\n store i64 %49, i64* %.reg2mem8\n store i32 %46, i32* %storemerge45.reg2mem\n br label LBL_4\n LBL_6:\n %51 = call i64 @FUNC(i64* nonnull %18)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %wide.trip.count, i64* %storemerge3.lcssa.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_2\n LBL_7:\n %storemerge3.lcssa.reload = load i64, i64* %storemerge3.lcssa.reg2mem\n ret i64 %storemerge3.lcssa.reload\n\n uselistorder i64 %33, { 1, 0 }\n uselistorder i32* %17, { 1, 0 }\n uselistorder i32** %sv_0, { 0, 2, 3, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem8, { 1, 0, 2 }\n uselistorder i32* %storemerge45.reg2mem, { 1, 0, 2 }\n uselistorder i32 31, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fib6_info_alloc_7087", "fun_name": "fib6_info_alloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 16, i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = add i64 %1, 8\n %6 = call i64 @FUNC(i64 %5, i64 1)\n store i64 %1, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "roundToInt16_2214", "fun_name": "roundToInt16", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 32768\n %1 = udiv i64 %0, 65536\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, -32768\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = icmp slt i32 %2, 32768\n %5 = and i64 %1, 4294967295\n %spec.select = select i1 %4, i64 %5, i64 32767\n ret i64 %spec.select\n LBL_2:\n ret i64 4294934528\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rice_count_exact_2664", "fun_name": "rice_count_exact", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp sgt i32 %0, 0\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = urem i32 %arg3, 32\n %4 = add i32 %arg3, 1\n %wide.trip.count = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = mul i64 %indvars.iv.reload, 4\n %6 = add i64 %5, %2\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = mul i32 %8, 2\n %10 = sub i32 0, %9\n %11 = sub i32 %10, 1\n %12 = ashr i32 %11, 31\n %13 = xor i32 %12, %11\n %14 = ashr i32 %13, %3\n %15 = add i32 %4, %14\n %16 = sext i32 %15 to i64\n %17 = add i64 %sv_0.02.reload, %16\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %17, i64* %sv_0.02.reg2mem\n store i64 %17, i64* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_write_finished_8610", "fun_name": "ssl_write_finished", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %. = select i1 %6, i32 12, i32 36\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n store i32 %., i32* %8, align 4\n %9 = add i64 %0, 56\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = inttoptr i64 %9 to i64*\n %13 = call i64* @memcpy(i64* %11, i64* %12, i32 %.)\n %14 = add nuw nsw i32 %., 4\n %15 = add i64 %0, 308\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = add i64 %0, 312\n %18 = inttoptr i64 %17 to i32*\n store i32 22, i32* %18, align 4\n %19 = add i64 %0, 52\n %20 = inttoptr i64 %19 to i8*\n store i8 20, i8* %20, align 1\n %21 = add i64 %0, 24\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_4, label LBL_1\n LBL_1:\n %25 = add i64 %0, 316\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 1\n %29 = icmp eq i1 %28, false\n %30 = add i64 %0, 320\n %31 = inttoptr i64 %30 to i32*\n br i1 %29, label LBL_3, label LBL_2\n LBL_2:\n store i32 2, i32* %31, align 4\n br label LBL_5\n LBL_3:\n store i32 3, i32* %31, align 4\n br label LBL_5\n LBL_4:\n %32 = add i64 %0, 320\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i32 %34, 1\n store i32 %35, i32* %33, align 4\n br label LBL_5\n LBL_5:\n %36 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0))\n %37 = add i64 %0, 336\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = add i64 %0, 328\n %41 = inttoptr i64 %40 to i64*\n store i64 %39, i64* %41, align 8\n %42 = add i64 %0, 352\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %0, 344\n %46 = inttoptr i64 %45 to i64*\n store i64 %44, i64* %46, align 8\n %47 = add i64 %0, 360\n %48 = inttoptr i64 %47 to i64*\n %49 = call i64* @memset(i64* %48, i32 0, i32 8)\n %50 = call i64 @FUNC(i64 %0)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n br i1 %52, label LBL_7, label LBL_6\n LBL_6:\n %53 = and i64 %50, 4294967295\n %54 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %53)\n store i64 %53, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %55 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0))\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %31, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 3, 2, 5, 4, 6, 8, 7, 13, 9, 10, 11, 14, 12, 15, 16 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*)* @SSL_DEBUG_MSG, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_invoke_set_guest_debug_17058", "fun_name": "kvm_invoke_set_guest_debug", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n %6 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %6, align 4\n br label LBL_2\n LBL_2:\n %7 = add i64 %2, 12\n %8 = call i64 @FUNC(i64 %2, i64 0, i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n ret i64 %8\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ipmi_si_mem_setup_5531", "fun_name": "ipmi_si_mem_setup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 4294967277, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_15\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 4\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = icmp sgt i32 %5, 4\n br i1 %7, label LBL_7, label LBL_3\n LBL_3:\n switch i32 %5, label LBL_7 [\n i32 1, label LBL_4\n i32 2, label LBL_5\n ]\n LBL_4:\n %8 = add i64 %2, 32\n %9 = inttoptr i64 %8 to i64*\n store i64 4198773, i64* %9, align 8\n %10 = add i64 %2, 40\n %11 = inttoptr i64 %10 to i64*\n store i64 4198780, i64* %11, align 8\n br label LBL_8\n LBL_5:\n %12 = add i64 %2, 32\n %13 = inttoptr i64 %12 to i64*\n store i64 4198787, i64* %13, align 8\n %14 = add i64 %2, 40\n %15 = inttoptr i64 %14 to i64*\n store i64 4198794, i64* %15, align 8\n br label LBL_8\n LBL_6:\n %16 = add i64 %2, 32\n %17 = inttoptr i64 %16 to i64*\n store i64 4198801, i64* %17, align 8\n %18 = add i64 %2, 40\n %19 = inttoptr i64 %18 to i64*\n store i64 4198808, i64* %19, align 8\n br label LBL_8\n LBL_7:\n %20 = add i64 %2, 56\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %5)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_8:\n %24 = add i64 %2, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n %.pre = add i64 %2, 16\n %.pre9 = inttoptr i64 %.pre to i32*\n store i32 0, i32* %storemerge5.reg2mem\n store i32 0, i32* %.lcssa.reg2mem\n br i1 %27, label LBL_12, label LBL_9\n LBL_9:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %28 = load i32, i32* %4, align 4\n %29 = sext i32 %28 to i64\n %30 = load i32, i32* %.pre9, align 4\n %31 = mul i32 %30, %storemerge5.reload\n %32 = sext i32 %31 to i64\n %33 = add i64 %32, %2\n %34 = call i64 @FUNC(i64 %33, i64 %29, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_11, label LBL_10\n LBL_10:\n %37 = zext i32 %storemerge5.reload to i64\n %38 = call i64 @FUNC(i64 %2, i64 %37)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_11:\n %39 = add i32 %storemerge5.reload, 1\n %40 = load i32, i32* %25, align 4\n %41 = zext i32 %40 to i64\n %42 = sext i32 %39 to i64\n %43 = icmp slt i64 %42, %41\n store i32 %39, i32* %storemerge5.reg2mem\n store i32 %40, i32* %.lcssa.reg2mem\n br i1 %43, label LBL_9, label LBL_12\n LBL_12:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %44 = load i32, i32* %.pre9, align 4\n %45 = mul i32 %44, %.lcssa.reload\n %46 = load i32, i32* %4, align 4\n %47 = sub i32 %46, %44\n %48 = add i32 %47, %45\n %49 = sext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %2, i64 %49)\n %51 = add i64 %2, 24\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = icmp eq i64 %50, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_14, label LBL_13\n LBL_13:\n %55 = load i32, i32* %25, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %2, i64 %56)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %58 = add i64 %2, 48\n %59 = inttoptr i64 %58 to i64*\n store i64 4198766, i64* %59, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge5.reload, { 0, 2, 1 }\n uselistorder i32* %25, { 0, 2, 1 }\n uselistorder i64 %2, { 8, 7, 9, 10, 11, 0, 1, 12, 6, 13, 14, 2, 3, 4, 5, 15 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 2, 1 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_15, { 1, 3, 2, 4, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "split_der_11082", "fun_name": "split_der", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg4 to i64\n %2 = ptrtoint i64* %arg2 to i64\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %2, i64 %arg3, i64 %1, i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %8 = icmp eq i64 %3, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = load i64, i64* %sv_1, align 8\n %11 = load i64, i64* %sv_0, align 8\n %12 = call i64 @FUNC(i64 %9, i64 %11, i64 %10)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "opfsave_8757", "fun_name": "opfsave", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = ptrtoint i32* %arg3 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 4\n %10 = icmp eq i32 %9, 3\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = bitcast i64* %arg2 to i8*\n store i8 -101, i8* %12, align 1\n %13 = add i64 %11, 1\n %14 = inttoptr i64 %13 to i8*\n store i8 -35, i8* %14, align 1\n %15 = add i64 %5, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %11, 2\n %19 = trunc i32 %17 to i8\n %20 = or i8 %19, 48\n %21 = inttoptr i64 %18 to i8*\n store i8 %20, i8* %21, align 1\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uv__rwlock_fallback_rdunlock_13202", "fun_name": "uv__rwlock_fallback_rdunlock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %1 to i32\n %6 = add i32 %5, -1\n %7 = bitcast i64* %arg1 to i32*\n store i32 %6, i32* %7, align 4\n %8 = icmp eq i32 %5, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = add i64 %2, 48\n %11 = call i64 @FUNC(i64 %10)\n br label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %3)\n ret i64 %12\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 (i64)* @uv_mutex_unlock, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jas_iccgetuint16_13620", "fun_name": "jas_iccgetuint16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64 2, i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = load i32, i32* %sv_0, align 4\n %6 = trunc i32 %5 to i16\n %7 = bitcast i64* %arg2 to i16*\n store i16 %6, i16* %7, align 2\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "java_switch_op_10053", "fun_name": "java_switch_op", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.014.reg2mem = alloca i32\n %storemerge1015.reg2mem = alloca i32\n %storemerge11.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC()\n %4 = sub i64 %arg3, %3\n %5 = add i64 %4, 1\n %6 = urem i64 %5, 4\n %7 = icmp eq i64 %6, 0\n store i32 1, i32* %storemerge11.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = trunc i64 %4 to i32\n %9 = mul i32 %8, 16777216\n %10 = add i32 %9, 16777216\n %11 = and i32 %10, 50331648\n %phitmp = sub nsw i32 83886080, %11\n %12 = udiv i32 %phitmp, 16777216\n store i32 %12, i32* %storemerge11.reg2mem\n br label LBL_2\n LBL_2:\n %13 = trunc i64 %2 to i8\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n %14 = icmp eq i8 %13, -86\n %15 = icmp eq i1 %14, false\n store i32 %storemerge11.reload, i32* %sv_0.1.reg2mem\n br i1 %15, label LBL_10, label LBL_3\n LBL_3:\n %sext = mul i64 %arg5, 4294967296\n %16 = trunc i64 %1 to i32\n %17 = add nuw nsw i32 %storemerge11.reload, 15\n %18 = zext i32 %17 to i64\n %19 = ashr exact i64 %sext, 32\n %20 = icmp sgt i64 %19, %18\n store i32 %16, i32* %storemerge.in.reg2mem\n br i1 %20, label LBL_4, label LBL_11\n LBL_4:\n %21 = ptrtoint i64* %arg4 to i64\n %22 = ptrtoint i64* %arg2 to i64\n %narrow = add nuw nsw i32 %storemerge11.reload, 4\n %23 = zext i32 %narrow to i64\n %24 = add i64 %23, %21\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %narrow6 = add nuw nsw i32 %storemerge11.reload, 8\n %27 = zext i32 %narrow6 to i64\n %28 = add i64 %27, %21\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = zext i32 %storemerge11.reload to i64\n %32 = add i64 %31, %21\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = zext i32 %26 to i64\n %36 = call i64 @FUNC(i64 %arg3, i64 %35, i32 %34)\n %37 = add i64 %22, 8\n %38 = inttoptr i64 %37 to i64*\n store i64 %36, i64* %38, align 8\n %39 = mul i32 %storemerge11.reload, 16777216\n %sext7 = add nuw nsw i32 %39, 201326592\n %40 = udiv i32 %sext7, 16777216\n %41 = icmp sle i32 %30, %26\n %42 = sub i32 %30, %26\n %43 = icmp sgt i32 %42, 16382\n %or.cond = or i1 %41, %43\n store i32 0, i32* %storemerge1015.reg2mem\n store i32 %40, i32* %sv_0.014.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_5\n LBL_5:\n %sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem\n %44 = urem i32 %sv_0.014.reload, 256\n %45 = add nuw nsw i32 %44, 4\n %46 = zext i32 %45 to i64\n %47 = icmp sgt i64 %19, %46\n store i32 %sv_0.014.reload, i32* %sv_0.1.reg2mem\n br i1 %47, label LBL_6, label LBL_10\n LBL_6:\n %storemerge1015.reload = load i32, i32* %storemerge1015.reg2mem\n %48 = zext i32 %44 to i64\n %49 = add i64 %48, %21\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = sext i32 %51 to i64\n %53 = add i64 %52, %arg3\n %54 = add i32 %storemerge1015.reload, %26\n %55 = add i64 %48, %arg3\n %56 = load i64, i64* %38, align 8\n %57 = zext i32 %54 to i64\n %58 = call i64 @FUNC(i64 %56, i64 %55, i64 %57, i64 %53)\n %59 = icmp eq i64 %58, 0\n br i1 %59, label LBL_8, label LBL_7\n LBL_7:\n %60 = inttoptr i64 %58 to i64*\n store i64 %53, i64* %60, align 8\n %61 = add i64 %58, 8\n %62 = inttoptr i64 %61 to i64*\n store i64 %arg3, i64* %62, align 8\n br label LBL_8\n LBL_8:\n %63 = mul i32 %sv_0.014.reload, 16777216\n %sext9 = add i32 %63, 67108864\n %64 = ashr exact i32 %sext9, 24\n %65 = add i32 %storemerge1015.reload, 1\n %66 = icmp ugt i32 %65, %42\n store i32 %65, i32* %storemerge1015.reg2mem\n store i32 %64, i32* %sv_0.014.reg2mem\n store i32 %64, i32* %sv_0.1.reg2mem\n br i1 %66, label LBL_10, label LBL_5\n LBL_9:\n %67 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %68 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %67, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %arg3)\n store i32 %40, i32* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %69 = urem i32 %sv_0.1.reload, 256\n %70 = bitcast i64* %arg2 to i32*\n store i32 %69, i32* %70, align 4\n %storemerge.in.in.phi.trans.insert = bitcast i64* %rsi to i32*\n %storemerge.in.pre = load i32, i32* %storemerge.in.in.phi.trans.insert, align 8\n store i32 %storemerge.in.pre, i32* %storemerge.in.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %44, { 1, 0 }\n uselistorder i32 %sv_0.014.reload, { 2, 0, 1 }\n uselistorder i32 %26, { 0, 1, 3, 2 }\n uselistorder i32 %storemerge11.reload, { 5, 4, 3, 1, 2, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i32* %storemerge11.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge1015.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.014.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 16777216, { 0, 3, 1, 4, 5, 2 }\n uselistorder i64 %arg3, { 3, 2, 0, 1, 4, 5 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_tcg_wait_io_event_1660", "fun_name": "qemu_tcg_wait_io_event", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge1.lcssa.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = load i32, i32* @gv_0, align 4\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = load i64, i64* @gv_1, align 8\n %8 = call i64 @FUNC(i64 %7, i64* nonnull @gv_2)\n %9 = call i64 @FUNC()\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_1, label LBL_2\n LBL_2:\n %13 = load i32, i32* @gv_3, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %16 = call i64 @FUNC(i64 ptrtoint (i64* @gv_4 to i64), i64* nonnull @gv_2)\n %17 = load i32, i32* @gv_3, align 4\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_4\n LBL_4:\n %storemerge12 = load i64, i64* @gv_5, align 8\n %20 = icmp eq i64 %storemerge12, 0\n %21 = icmp eq i1 %20, false\n store i64 %storemerge12, i64* %storemerge13.reg2mem\n store i64 %storemerge12, i64* %storemerge1.lcssa.reg2mem\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %22 = call i64 @FUNC(i64 %storemerge13.reload)\n %23 = inttoptr i64 %storemerge13.reload to i64*\n %storemerge1 = load i64, i64* %23, align 8\n %24 = icmp eq i64 %storemerge1, 0\n %25 = icmp eq i1 %24, false\n store i64 %storemerge1, i64* %storemerge13.reg2mem\n store i64 %storemerge1, i64* %storemerge1.lcssa.reg2mem\n br i1 %25, label LBL_5, label LBL_6\n LBL_6:\n %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem\n ret i64 %storemerge1.lcssa.reload\n\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i32* @gv_3, { 1, 0 }\n uselistorder i64 (i64, i64*)* @qemu_cond_wait, { 1, 0 }\n uselistorder i64* @gv_2, { 1, 0 }\n uselistorder i1 false, { 3, 2, 4, 1, 5, 0 }\n uselistorder i32 0, { 4, 1, 5, 0, 2, 3 }\n uselistorder i64 ()* @all_cpu_threads_idle, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_pcie_aer_inject_error_1536", "fun_name": "hmp_pcie_aer_inject_error", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i64, i64* %0\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %sv_0 = alloca i64, align 8\n %7 = call i64 @FUNC(i64 %3, i64 %2, i64* nonnull %sv_0)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = zext i32 %6 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %10)\n %13 = load i64, i64* %sv_0, align 8\n %14 = and i64 %12, 4294967295\n %15 = zext i32 %5 to i64\n %16 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %4, i64 %15, i64 %14)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2cap_recv_acldata_6009", "fun_name": "l2cap_recv_acldata", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = add i64 %4, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_26, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %4)\n store i64 %14, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %15 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %15, label LBL_26, label LBL_4\n LBL_4:\n %sext = mul i64 %arg3, 281474976710656\n %16 = ashr exact i64 %sext, 48\n %17 = urem i64 %16, 65536\n %18 = add i64 %3, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = trunc i64 %16 to i16\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.0.reload, i32 %20, i16 %21, i64 %2, i64 %1)\n %23 = trunc i64 %16 to i32\n %24 = urem i32 %23, 65536\n %25 = icmp ugt i32 %24, 3\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = icmp eq i32 %24, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_26\n LBL_6:\n %28 = icmp eq i32 %24, 4\n br i1 %28, label LBL_16, label LBL_26\n LBL_7:\n %29 = inttoptr i64 %sv_0.0.reload to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n store i64 %sv_0.0.reload, i64* %rsi.0.reg2mem\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = zext i32 %20 to i64\n %33 = load i32, i32* %19, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %34, i64 %32, i64 %17, i64 %2, i64 %1)\n %36 = call i64 @FUNC(i64 %sv_0.0.reload)\n %37 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)\n store i64 1, i64* %rsi.0.reg2mem\n br label LBL_9\n LBL_9:\n %38 = load i32, i32* %19, align 4\n %39 = icmp sgt i32 %38, 1\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %40 = add i64 %sv_0.0.reload, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3, i32 %42)\n br label LBL_26\n LBL_11:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %44 = call i64 @FUNC(i64 %rsi.0.reload)\n %45 = trunc i64 %44 to i32\n %46 = add i32 %45, 4\n %47 = load i32, i32* %19, align 4\n %48 = icmp eq i32 %46, %47\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_13, label LBL_12\n LBL_12:\n %50 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3)\n store i64 %50, i64* %storemerge.reg2mem\n br label LBL_27\n LBL_13:\n %51 = zext i32 %46 to i64\n %52 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %51, i32 %47, i16 %21, i64 %2, i64 %1)\n %53 = load i32, i32* %19, align 4\n %54 = zext i32 %53 to i64\n %55 = sext i32 %46 to i64\n %56 = icmp slt i64 %55, %54\n br i1 %56, label LBL_14, label LBL_15\n LBL_14:\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i64 %54, i64 %51, i64 %17, i64 %2, i64 %1)\n %58 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)\n br label LBL_26\n LBL_15:\n %59 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3, i32 %46)\n br label LBL_26\n LBL_16:\n %60 = add i64 %sv_0.0.reload, 8\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = load i32, i32* %19, align 4\n %64 = zext i32 %63 to i64\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i64 %64, i32 %62, i16 %21, i64 %2, i64 %1)\n %66 = inttoptr i64 %sv_0.0.reload to i64*\n %67 = load i64, i64* %66, align 8\n %68 = icmp eq i64 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_18, label LBL_17\n LBL_17:\n %70 = zext i32 %62 to i64\n %71 = load i32, i32* %19, align 4\n %72 = zext i32 %71 to i64\n %73 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_5, i64 0, i64 0), i64 %72, i64 %70, i64 %17, i64 %2, i64 %1)\n %74 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)\n br label LBL_26\n LBL_18:\n %75 = add i64 %67, 8\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = icmp sgt i32 %77, 1\n br i1 %78, label LBL_22, label LBL_19\n LBL_19:\n %79 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3)\n %80 = trunc i64 %79 to i32\n %81 = icmp slt i32 %80, 0\n %82 = icmp eq i1 %81, false\n br i1 %82, label LBL_21, label LBL_20\n LBL_20:\n %83 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)\n br label LBL_26\n LBL_21:\n %84 = load i64, i64* %66, align 8\n %85 = add i64 %84, 8\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = icmp slt i32 %87, 2\n br i1 %88, label LBL_26, label LBL_22\n LBL_22:\n %89 = load i32, i32* %19, align 4\n %90 = load i32, i32* %61, align 4\n %91 = icmp ugt i32 %89, %90\n br i1 %91, label LBL_23, label LBL_24\n LBL_23:\n %92 = zext i32 %90 to i64\n %93 = zext i32 %89 to i64\n %94 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i64 %93, i64 %92, i64 %17, i64 %2, i64 %1)\n %95 = call i64 @FUNC(i64 %sv_0.0.reload)\n %96 = call i64 @FUNC(i64 %sv_0.0.reload, i64 1)\n br label LBL_26\n LBL_24:\n %97 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %3, i32 %89)\n %98 = load i32, i32* %61, align 4\n %99 = icmp eq i32 %98, 0\n %100 = icmp eq i1 %99, false\n br i1 %100, label LBL_26, label LBL_25\n LBL_25:\n %101 = load i64, i64* %66, align 8\n store i64 0, i64* %66, align 8\n %102 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %101)\n br label LBL_26\n LBL_26:\n %103 = call i64 @FUNC(i64 %3)\n store i64 %103, i64* %storemerge.reg2mem\n br label LBL_27\n LBL_27:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %66, { 2, 1, 0, 3 }\n uselistorder i32 %62, { 1, 0 }\n uselistorder i32 %46, { 1, 0, 2, 3 }\n uselistorder i16 %21, { 1, 0, 2 }\n uselistorder i32 %20, { 1, 0 }\n uselistorder i32* %19, { 5, 4, 6, 1, 2, 3, 0, 7 }\n uselistorder i64 %16, { 1, 2, 0 }\n uselistorder i64 %sv_0.0.reload, { 9, 6, 8, 7, 10, 4, 11, 5, 3, 14, 13, 15, 16, 17, 19, 18, 0, 12, 2, 1 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64 %3, { 6, 4, 3, 0, 1, 2, 5 }\n uselistorder i64 %2, { 6, 5, 2, 4, 1, 3, 0 }\n uselistorder i64 %1, { 6, 5, 2, 4, 1, 3, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @l2cap_recv_frame, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @l2cap_recv_frag, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @l2cap_conn_unreliable, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @l2cap_recv_reset, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @BT_ERR, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i32, i16, i64, i64)* @BT_DBG, { 2, 1, 0 }\n uselistorder label LBL_26, { 1, 0, 7, 2, 8, 9, 10, 11, 12, 5, 6, 3, 4 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "serial_xmit_466", "fun_name": "serial_xmit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem4 = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %rdi to i32*\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = add i64 %2, 24\n %7 = inttoptr i64 %6 to i32*\n %8 = add i64 %2, 40\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = inttoptr i64 %8 to i32*\n %12 = bitcast i64* %arg1 to i32*\n %13 = add i64 %2, 12\n %14 = inttoptr i64 %13 to i32*\n %15 = add i64 %2, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %2, 20\n %18 = inttoptr i64 %17 to i32*\n %19 = add i64 %2, 32\n %20 = inttoptr i64 %19 to i64*\n %21 = add i64 %2, 28\n %22 = inttoptr i64 %21 to i32*\n %23 = trunc i64 %1 to i32\n store i32 %23, i32* %.reg2mem\n br label LBL_1\n LBL_1:\n %.reload = load i32, i32* %.reg2mem\n %24 = and i32 %.reload, 64\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %26 = load i32, i32* %5, align 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_15, label LBL_4\n LBL_4:\n %29 = and i32 %.reload, 32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %31 = load i32, i32* %7, align 4\n %32 = urem i32 %31, 2\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_11, label LBL_7\n LBL_7:\n %34 = call i64 @FUNC(i64 %8)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 72, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %37 = call i64 @FUNC(i64 %8)\n %38 = trunc i64 %37 to i32\n store i32 %38, i32* %10, align 4\n %39 = load i32, i32* %11, align 4\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n %.pre = load i32, i32* %3, align 8\n store i32 %.pre, i32* %.reg2mem4\n br i1 %41, label LBL_12, label LBL_10\n LBL_10:\n %42 = or i32 %.pre, 32\n store i32 %42, i32* %12, align 4\n store i32 %.pre, i32* %.reg2mem4\n br label LBL_12\n LBL_11:\n %43 = load i32, i32* %14, align 4\n store i32 %43, i32* %10, align 4\n %44 = load i32, i32* %3, align 8\n %45 = or i32 %44, 32\n store i32 %45, i32* %12, align 4\n store i32 %44, i32* %.reg2mem4\n br label LBL_12\n LBL_12:\n %.reload5 = load i32, i32* %.reg2mem4\n %46 = and i32 %.reload5, 32\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_15, label LBL_13\n LBL_13:\n %48 = load i32, i32* %16, align 4\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_15, label LBL_14\n LBL_14:\n store i32 1, i32* %16, align 4\n %51 = call i64 @FUNC(i64 %2)\n br label LBL_15\n LBL_15:\n %52 = load i32, i32* %18, align 4\n %53 = and i32 %52, 16\n %54 = icmp eq i32 %53, 0\n br i1 %54, label LBL_17, label LBL_16\n LBL_16:\n %55 = call i64 @FUNC(i64 %2, i64 %9, i64 1)\n br label LBL_23\n LBL_17:\n %56 = load i64, i64* %20, align 8\n %57 = call i64 @FUNC(i64 %56, i64 %9, i64 1)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 1\n br i1 %59, label LBL_23, label LBL_18\n LBL_18:\n %60 = load i32, i32* %5, align 4\n %61 = icmp sgt i32 %60, 4\n br i1 %61, label LBL_23, label LBL_19\n LBL_19:\n %62 = load i32, i32* %22, align 4\n %63 = icmp eq i32 %62, 0\n br i1 %63, label LBL_21, label LBL_20\n LBL_20:\n call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 86, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_21\n LBL_21:\n %64 = load i64, i64* %20, align 8\n %65 = call i64 @FUNC(i64 %64, i64 3, i64 4198815, i64 %2)\n %66 = trunc i64 %65 to i32\n store i32 %66, i32* %22, align 4\n %67 = icmp slt i32 %66, 1\n br i1 %67, label LBL_23, label LBL_22\n LBL_22:\n %68 = load i32, i32* %5, align 4\n %69 = add i32 %68, 1\n store i32 %69, i32* %5, align 4\n br label LBL_25\n LBL_23:\n store i32 0, i32* %5, align 4\n %70 = load i32, i32* %3, align 8\n %71 = and i32 %70, 32\n %72 = icmp eq i32 %71, 0\n store i32 %70, i32* %.reg2mem\n br i1 %72, label LBL_1, label LBL_24\n LBL_24:\n %73 = call i64 @FUNC(i64 0)\n %74 = add i64 %2, 48\n %75 = inttoptr i64 %74 to i64*\n store i64 %73, i64* %75, align 8\n %76 = load i32, i32* %3, align 8\n %77 = or i32 %76, 64\n store i32 %77, i32* %12, align 4\n br label LBL_25\n LBL_25:\n ret i64 %2\n\n uselistorder i32 %.pre, { 1, 2, 0 }\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i32* %5, { 2, 0, 1, 3, 4 }\n uselistorder i32* %3, { 0, 3, 2, 1 }\n uselistorder i64 %2, { 0, 9, 7, 11, 2, 8, 12, 10, 3, 6, 1, 5, 4, 13 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem4, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }\n uselistorder label LBL_12, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vt_disallocate_all_13357", "fun_name": "vt_disallocate_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_0 to i64\n %1 = call i64 @FUNC()\n %2 = add i64 %0, -96\n store i64 1, i64* %indvars.iv5.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %3 = call i64 @FUNC(i64 %indvars.iv5.reload)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %indvars.iv5.reload)\n %8 = mul i64 %indvars.iv5.reload, 8\n %9 = add i64 %8, %2\n %10 = inttoptr i64 %9 to i64*\n store i64 %7, i64* %10, align 8\n br label LBL_4\n LBL_3:\n %11 = mul i64 %indvars.iv5.reload, 8\n %12 = add i64 %11, %2\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n br label LBL_4\n LBL_4:\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 10\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br i1 %exitcond7, label LBL_5, label LBL_1\n LBL_5:\n %14 = call i64 @FUNC()\n store i64 1, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul i64 %indvars.iv.reload, 8\n %16 = add i64 %15, %2\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_8, label LBL_7\n LBL_7:\n %20 = call i64 @FUNC(i64 %18)\n %21 = load i64, i64* %17, align 8\n %22 = call i64 @FUNC(i64 %21)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_6\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv5.reload, { 0, 4, 3, 1, 2 }\n uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 10, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 1, { 3, 0, 2, 1 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "inet_connect_5051", "fun_name": "inet_connect", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = call i64 @FUNC(i64* nonnull @gv_0, i64 0, i64 0, i64 0)\n %2 = call i64 @FUNC(i64 %1, i64 %arg1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = trunc i64 %arg2 to i8\n %7 = icmp eq i8 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %1, i64 %0)\n %phitmp = and i64 %9, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n %10 = call i64 @FUNC(i64 %0, i64 1)\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %11 = call i64 @FUNC(i64 %1)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %1, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_register_device_6459", "fun_name": "nfc_register_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64* nonnull @gv_1)\n store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_3 to i32*), align 8\n %9 = call i64 @FUNC(i64 %5)\n %10 = trunc i64 %9 to i32\n %11 = call i64 @FUNC(i64* nonnull @gv_1)\n %12 = icmp slt i32 %10, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = and i64 %9, 4294967295\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_2:\n %15 = call i64 @FUNC(i64 %5)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %5)\n %20 = call i64 @FUNC(i64 %5)\n %21 = call i64 @FUNC(i64 %20, i64 %5, i64 1, i64* nonnull @gv_5, i64 %5)\n store i64 %21, i64* %arg1, align 8\n %22 = icmp eq i64 %20, 0\n br i1 %22, label LBL_7, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %20)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %20)\n store i64 0, i64* %arg1, align 8\n br label LBL_7\n LBL_7:\n %28 = call i64 @FUNC(i64 %5)\n %29 = call i64 @FUNC(i64 %5)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = call i64 @FUNC(i64 %5)\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_6, i64 0, i64 0), i64 %32, i64 %5, i64 ptrtoint (i64* @gv_5 to i64), i64 %5, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 0, 1, 2, 4, 3, 8, 6, 7, 5, 9, 10, 11 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64* @gv_5, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 1, 0 }\n uselistorder i64 (i64)* @dev_name, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fgets_extending_8962", "fun_name": "fgets_extending", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = bitcast i64* %arg1 to i8*\n %4 = inttoptr i64 %arg3 to %_IO_FILE*\n %5 = call i8* @fgets(i8* %3, i32 %2, %_IO_FILE* %4)\n %6 = ptrtoint i8* %5 to i64\n %7 = call i32 @feof(%_IO_FILE* %4)\n %8 = icmp eq i32 %7, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_8\n LBL_1:\n %9 = inttoptr i64 %arg3 to i8*\n %10 = add i64 %arg3, -1\n %11 = call i32 @strlen(i8* %9)\n %12 = sext i32 %11 to i64\n %13 = add i64 %10, %12\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 10\n %17 = icmp eq i1 %16, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %17, label LBL_2, label LBL_8\n LBL_2:\n %18 = inttoptr i64 %arg3 to i64*\n %19 = add i32 %2, 1000\n %20 = mul i64 %1, 4294967296\n %sext = add i64 %20, -4294967296\n %21 = ashr exact i64 %sext, 32\n %22 = add i64 %21, %arg3\n %23 = inttoptr i64 %22 to i8*\n br label LBL_4\n LBL_3:\n %24 = call i32 @strlen(i8* %9)\n %25 = sext i32 %24 to i64\n %26 = add i64 %10, %25\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, 10\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_4, label LBL_3.LBL_8.loopexit_crit_edge\n LBL_4:\n store i32 %19, i32* %arg2, align 4\n %31 = call i64* @realloc(i64* %18, i32 %2)\n %32 = icmp eq i64* %31, null\n %33 = icmp eq i1 %32, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_5, label LBL_8\n LBL_5:\n %34 = ptrtoint i64* %31 to i64\n store i64 %34, i64* %arg1, align 8\n %35 = call i8* @fgets(i8* %23, i32 1, %_IO_FILE* %4)\n %36 = call i32 @feof(%_IO_FILE* %4)\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_3, label LBL_5.LBL_8.loopexit_crit_edge\n LBL_6:\n %38 = ptrtoint i8* %35 to i64\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %39 = ptrtoint i8* %35 to i64\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %35, { 1, 0 }\n uselistorder i64* %31, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i8* %9, { 1, 0 }\n uselistorder %_IO_FILE* %4, { 2, 3, 0, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2, 5 }\n uselistorder i8 10, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 (%_IO_FILE*)* @feof, { 1, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i64 %arg3, { 0, 2, 1, 3, 4 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 2, 1, 3, 0, 4 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_aes_gcm_alloc_ctx_5975", "fun_name": "crypto_aes_gcm_alloc_ctx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 0, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n store i64 %0, i64* %arg1, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qht_statistics_init_1592", "fun_name": "qht_statistics_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %xmm3.1.reg2mem = alloca i128\n %xmm0.0.reg2mem = alloca i128\n %storemerge4.reg2mem = alloca i128\n %storemerge5.reg2mem = alloca i128\n %storemerge6.reg2mem = alloca i64\n %xmm3.0.reg2mem = alloca i128\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.19.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %xmm0.111.reg2mem = alloca i128\n %xmm3.212.reg2mem = alloca i128\n %storemerge13.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %0, 4\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %6)\n %9 = icmp eq i64 %2, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_2:\n %13 = inttoptr i64 %2 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %0, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = load i32, i32* %13, align 4\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_24, label LBL_3\n LBL_3:\n %19 = bitcast i64* %rsi to i32*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge13.reg2mem\n br label LBL_4\n LBL_4:\n %xmm0.111.reload = load i128, i128* %xmm0.111.reg2mem\n %xmm3.212.reload = load i128, i128* %xmm3.212.reg2mem\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %20 = mul nsw i64 %.reload, 48\n %21 = add i64 %20, %2\n %22 = add i64 %21, 8\n %23 = add i64 %21, 48\n br label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i64 %23)\n store i32 0, i32* %sv_2.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %22, i64* %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.19.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %25 = mul i64 %indvars.iv.reload, 8\n %26 = add i64 %25, %sv_1.0.reload\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i32 %sv_0.19.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = add i32 %sv_0.19.reload, 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %31 = icmp ult i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %30, i32* %sv_0.19.reg2mem\n store i32 %30, i32* %sv_0.1.lcssa.reg2mem\n br i1 %31, label LBL_7, label LBL_9\n LBL_9:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %32 = add i32 %sv_2.0.reload, 1\n %33 = add i64 %sv_1.0.reload, 32\n %34 = call i64 @FUNC(i64 %33)\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n store i32 %32, i32* %sv_2.0.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.0.reg2mem\n store i64 %34, i64* %sv_1.0.reg2mem\n br i1 %36, label LBL_6, label LBL_10\n LBL_10:\n %37 = and i64 %24, 4294967295\n %38 = call i64 @FUNC(i64 %23, i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_5, label LBL_11\n LBL_11:\n %42 = icmp eq i32 %sv_0.1.lcssa.reload, 0\n br i1 %42, label LBL_22, label LBL_12\n LBL_12:\n %43 = sext i32 %32 to i64\n %44 = icmp slt i32 %32, 0\n br i1 %44, label LBL_14, label LBL_13\n LBL_13:\n %45 = call i128 @FUNC(i128 %xmm3.212.reload, i128 %xmm3.212.reload)\n %46 = call i128 @FUNC(i64 %43)\n %47 = call i64 @FUNC(i128 %46)\n store i128 %46, i128* %xmm3.0.reg2mem\n store i64 %47, i64* %storemerge6.reg2mem\n br label LBL_15\n LBL_14:\n %48 = udiv i64 %43, 2\n %49 = urem i64 %43, 2\n %50 = or i64 %48, %49\n %51 = call i128 @FUNC(i128 %xmm0.111.reload, i128 %xmm0.111.reload)\n %52 = call i128 @FUNC(i64 %50)\n %53 = call i128 @FUNC(i128 %52, i128 %52)\n %54 = call i64 @FUNC(i128 %53)\n store i128 %xmm3.212.reload, i128* %xmm3.0.reg2mem\n store i64 %54, i64* %storemerge6.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %xmm3.0.reload = load i128, i128* %xmm3.0.reg2mem\n %55 = call i128 @__asm_movq.1(i64 %storemerge6.reload)\n %56 = call i64 @FUNC(i64 %6)\n %57 = sext i32 %sv_0.1.lcssa.reload to i64\n %58 = icmp slt i32 %sv_0.1.lcssa.reload, 0\n br i1 %58, label LBL_17, label LBL_16\n LBL_16:\n %59 = call i128 @FUNC(i128 %55, i128 %55)\n %60 = call i128 @FUNC(i64 %57)\n store i128 %60, i128* %storemerge5.reg2mem\n br label LBL_18\n LBL_17:\n %61 = udiv i64 %57, 2\n %62 = urem i64 %57, 2\n %63 = or i64 %61, %62\n %64 = call i128 @FUNC(i128 %55, i128 %55)\n %65 = call i128 @FUNC(i64 %63)\n %66 = call i128 @FUNC(i128 %65, i128 %65)\n store i128 %66, i128* %storemerge5.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge5.reload = load i128, i128* %storemerge5.reg2mem\n %67 = call i128 @__asm_movsd.2(i64 4616189618054758400)\n %68 = call i128 @FUNC(i128 %storemerge5.reload)\n %69 = call i128 @FUNC(i128 %68, i128 %67)\n br i1 %44, label LBL_20, label LBL_19\n LBL_19:\n %70 = call i128 @FUNC(i128 %storemerge5.reload, i128 %storemerge5.reload)\n %71 = call i128 @FUNC(i64 %43)\n store i128 %71, i128* %storemerge4.reg2mem\n br label LBL_21\n LBL_20:\n %72 = udiv i64 %43, 2\n %73 = urem i64 %43, 2\n %74 = or i64 %72, %73\n %75 = call i128 @FUNC(i128 %storemerge5.reload, i128 %storemerge5.reload)\n %76 = call i128 @FUNC(i64 %74)\n %77 = call i128 @FUNC(i128 %76, i128 %76)\n store i128 %77, i128* %storemerge4.reg2mem\n br label LBL_21\n LBL_21:\n %storemerge4.reload = load i128, i128* %storemerge4.reg2mem\n %78 = call i128 @FUNC(i128 %69, i128 %storemerge4.reload)\n %79 = call i64 @FUNC(i128 %78)\n %80 = call i128 @__asm_movq.1(i64 %79)\n %81 = call i64 @FUNC(i64 %6)\n %82 = load i32, i32* %19, align 8\n %83 = add i32 %82, 1\n store i32 %83, i32* %3, align 4\n %84 = load i32, i32* %5, align 4\n %85 = add i32 %84, %sv_0.1.lcssa.reload\n store i32 %85, i32* %5, align 4\n store i128 %80, i128* %xmm0.0.reg2mem\n store i128 %xmm3.0.reload, i128* %xmm3.1.reg2mem\n br label LBL_23\n LBL_22:\n %86 = call i128 @__asm_movq.1(i64 0)\n %87 = call i64 @FUNC(i64 %6)\n store i128 %86, i128* %xmm0.0.reg2mem\n store i128 %xmm3.212.reload, i128* %xmm3.1.reg2mem\n br label LBL_23\n LBL_23:\n %xmm3.1.reload = load i128, i128* %xmm3.1.reg2mem\n %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem\n %88 = add i32 %storemerge13.reload, 1\n %89 = load i32, i32* %13, align 4\n %90 = zext i32 %89 to i64\n %91 = sext i32 %88 to i64\n %92 = icmp slt i64 %91, %90\n store i64 %91, i64* %.reg2mem\n store i32 %88, i32* %storemerge13.reg2mem\n store i128 %xmm3.1.reload, i128* %xmm3.212.reg2mem\n store i128 %xmm0.0.reload, i128* %xmm0.111.reg2mem\n store i64 %90, i64* %rax.0.reg2mem\n br i1 %92, label LBL_4, label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i128 %76, { 1, 0 }\n uselistorder i128 %storemerge5.reload, { 1, 2, 3, 4, 0 }\n uselistorder i128 %65, { 1, 0 }\n uselistorder i64 %57, { 1, 0, 2 }\n uselistorder i128 %55, { 3, 2, 1, 0 }\n uselistorder i128 %52, { 1, 0 }\n uselistorder i64 %43, { 1, 0, 4, 3, 2, 5 }\n uselistorder i32 %32, { 2, 1, 0 }\n uselistorder i32 %sv_0.1.lcssa.reload, { 3, 1, 0, 2, 4 }\n uselistorder i32 %sv_0.19.reload, { 1, 0 }\n uselistorder i128 %xmm3.212.reload, { 0, 1, 3, 2 }\n uselistorder i128 %xmm0.111.reload, { 1, 0 }\n uselistorder i32* %13, { 1, 0, 2 }\n uselistorder i64 %6, { 2, 0, 1, 3, 4 }\n uselistorder i32* %5, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm3.212.reg2mem, { 1, 0 }\n uselistorder i128* %xmm0.111.reg2mem, { 1, 0 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.19.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm3.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i128* %xmm0.0.reg2mem, { 0, 2, 1 }\n uselistorder i128* %xmm3.1.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @qdist_inc, { 2, 1, 0 }\n uselistorder i64 2, { 1, 0, 3, 2, 5, 4 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @qdist_init, { 1, 0 }\n uselistorder i32 0, { 4, 5, 6, 7, 8, 0, 1, 2, 3, 9, 10, 11 }\n uselistorder i64 (i64)* @atomic_rcu_read, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "startInputStream_13100", "fun_name": "startInputStream", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp sgt i32 %0, 4\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = load i32, i32* inttoptr (i64 4210736 to i32*), align 16\n %3 = zext i32 %2 to i64\n %4 = call i64 @FUNC(i64* nonnull @gv_1, i64 %3, i64 35043, i64 5)\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* @gv_2, align 4\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC()\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %9 = and i64 %4, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n br label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 4198802, i64 0, i64* nonnull @gv_3)\n %12 = and i64 %11, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uncurl_ws_accept_5213", "fun_name": "uncurl_ws_accept", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i8*, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0))\n %6 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n store i8* null, i8** %sv_1, align 8\n %7 = bitcast i8** %sv_1 to i64*\n %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = trunc i64 %arg3 to i32\n %12 = icmp sgt i32 %11, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_14\n LBL_4:\n %13 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %14 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_5:\n %15 = and i64 %8, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = mul i64 %indvars.iv.reload, 8\n %17 = add i64 %16, %13\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = load i8*, i8** %sv_1, align 8\n %21 = inttoptr i64 %19 to i8*\n %22 = call i8* @strstr(i8* %20, i8* %21)\n %23 = icmp eq i8* %22, null\n br i1 %23, label LBL_8, label LBL_7\n LBL_7:\n %24 = load i64, i64* %18, align 8\n %25 = inttoptr i64 %24 to i8*\n %26 = call i32 @strcmp(i8* nonnull %22, i8* %25)\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_9\n LBL_8:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %29 = icmp slt i64 %indvars.iv.next, %14\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_14\n LBL_9:\n store i64 0, i64* %sv_0, align 8\n %30 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_0)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %33 = and i64 %30, 4294967295\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_11:\n %34 = load i64, i64* %sv_0, align 8\n %35 = call i64 @FUNC(i64 %34)\n %36 = inttoptr i64 %35 to i8*\n %37 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i8* %36)\n %38 = inttoptr i64 %35 to i64*\n call void @free(i64* %38)\n %39 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_7, i64 0, i64 0), i64 1)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_13, label LBL_12\n LBL_12:\n %42 = and i64 %39, 4294967295\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %43 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %43, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8** %sv_1, { 1, 2, 0 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 5, 4, 3, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 1, 4, 2, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i8*, i64*)* @uncurl_get_header_str, { 1, 0 }\n uselistorder i64 (i64, i8*, i8*)* @uncurl_set_header_str, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder label LBL_14, { 2, 3, 4, 0, 5, 1, 6 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_init_common_7434", "fun_name": "vc1_init_common", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv6.reg2mem = alloca i64\n %indvars.iv9.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %0, i64* %sv_0, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 0, i64* %2, align 8\n %3 = load i64, i64* %sv_0, align 8\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %3 to i64*\n store i64 %6, i64* %7, align 8\n %8 = load i32, i32* @gv_0, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_6, label LBL_1\n LBL_1:\n store i32 1, i32* @gv_0, align 4\n %11 = call i64 @FUNC(i64* nonnull @gv_1, i64 23, i64 23, i64* nonnull @gv_2, i64 1, i64 1)\n %12 = call i64 @FUNC(i64* nonnull @gv_3, i64 4, i64 4, i64* nonnull @gv_4, i64 1, i64 1)\n %13 = call i64 @FUNC(i64* nonnull @gv_5, i64 64, i64 64, i64* nonnull @gv_6, i64 1, i64 1)\n %14 = call i64 @FUNC(i64* nonnull @gv_7, i64 7, i64 7, i64* nonnull @gv_8, i64 1, i64 1)\n %15 = ptrtoint i64* %sv_0 to i64\n %16 = add i64 %15, -8\n %17 = inttoptr i64 %16 to i64*\n %18 = add i64 %15, -16\n %19 = inttoptr i64 %18 to i64*\n %20 = add i64 %15, -24\n %21 = inttoptr i64 %20 to i64*\n %22 = add i64 %15, -32\n %23 = inttoptr i64 %22 to i64*\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %24 = mul i64 %indvars.iv9.reload, 4\n %25 = add i64 %24, ptrtoint (i64* @gv_9 to i64)\n %26 = add i64 %24, ptrtoint (i64* @gv_10 to i64)\n %27 = mul i64 %indvars.iv9.reload, 8\n %28 = add i64 %27, ptrtoint (i64* @gv_11 to i64)\n store i64 0, i64* %17, align 8\n store i64 2, i64* %19, align 8\n store i64 2, i64* %21, align 8\n store i64 %25, i64* %23, align 8\n %29 = inttoptr i64 %28 to i64*\n %30 = inttoptr i64 %26 to i64*\n %31 = call i64 @FUNC(i64* %29, i64 16, i64 16, i64* %30, i64 1, i64 1)\n %32 = add i64 %24, ptrtoint (i64* @gv_12 to i64)\n %33 = add i64 %24, ptrtoint (i64* @gv_13 to i64)\n %34 = add i64 %27, ptrtoint (i64* @gv_14 to i64)\n store i64 0, i64* %17, align 8\n store i64 1, i64* %19, align 8\n store i64 1, i64* %21, align 8\n store i64 %32, i64* %23, align 8\n %35 = inttoptr i64 %34 to i64*\n %36 = inttoptr i64 %33 to i64*\n %37 = call i64 @FUNC(i64* %35, i64 8, i64 8, i64* %36, i64 1, i64 1)\n %38 = add i64 %24, ptrtoint (i64* @gv_15 to i64)\n %39 = add i64 %24, ptrtoint (i64* @gv_16 to i64)\n %40 = add i64 %27, ptrtoint (i64* @gv_17 to i64)\n store i64 0, i64* %17, align 8\n store i64 1, i64* %19, align 8\n store i64 1, i64* %21, align 8\n store i64 %38, i64* %23, align 8\n %41 = inttoptr i64 %40 to i64*\n %42 = inttoptr i64 %39 to i64*\n %43 = call i64 @FUNC(i64* %41, i64 15, i64 15, i64* %42, i64 1, i64 1)\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %exitcond11 = icmp eq i64 %indvars.iv.next10, 3\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n store i64 0, i64* %indvars.iv6.reg2mem\n br i1 %exitcond11, label LBL_3, label LBL_2\n LBL_3:\n %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem\n %44 = mul i64 %indvars.iv6.reload, 4\n %45 = add i64 %44, ptrtoint (i64* @gv_18 to i64)\n %46 = add i64 %44, ptrtoint (i64* @gv_19 to i64)\n %47 = mul i64 %indvars.iv6.reload, 8\n %48 = add i64 %47, ptrtoint (i64* @gv_20 to i64)\n store i64 0, i64* %17, align 8\n store i64 1, i64* %19, align 8\n store i64 1, i64* %21, align 8\n store i64 %45, i64* %23, align 8\n %49 = inttoptr i64 %48 to i64*\n %50 = inttoptr i64 %46 to i64*\n %51 = call i64 @FUNC(i64* %49, i64 16, i64 16, i64* %50, i64 1, i64 1)\n %52 = add i64 %44, ptrtoint (i64* @gv_21 to i64)\n %53 = add i64 %44, ptrtoint (i64* @gv_22 to i64)\n %54 = add i64 %47, ptrtoint (i64* @gv_23 to i64)\n store i64 0, i64* %17, align 8\n store i64 2, i64* %19, align 8\n store i64 2, i64* %21, align 8\n store i64 %52, i64* %23, align 8\n %55 = inttoptr i64 %54 to i64*\n %56 = inttoptr i64 %53 to i64*\n %57 = call i64 @FUNC(i64* %55, i64 64, i64 64, i64* %56, i64 1, i64 1)\n %58 = add i64 %44, ptrtoint (i64* @gv_24 to i64)\n %59 = add i64 %44, ptrtoint (i64* @gv_25 to i64)\n %60 = add i64 %47, ptrtoint (i64* @gv_26 to i64)\n store i64 0, i64* %17, align 8\n store i64 2, i64* %19, align 8\n store i64 2, i64* %21, align 8\n store i64 %58, i64* %23, align 8\n %61 = inttoptr i64 %60 to i64*\n %62 = inttoptr i64 %59 to i64*\n %63 = call i64 @FUNC(i64* %61, i64 73, i64 73, i64* %62, i64 1, i64 1)\n %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1\n %exitcond8 = icmp eq i64 %indvars.iv.next7, 4\n store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond8, label LBL_4, label LBL_3\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %64 = mul nuw nsw i64 %indvars.iv.reload, 20\n %65 = add i64 %64, ptrtoint (i64* @gv_27 to i64)\n %66 = add nuw nsw i64 %64, 4211012\n %67 = mul i64 %indvars.iv.reload, 4\n %68 = add i64 %67, ptrtoint (i32** @gv_28 to i64)\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = mul i64 %indvars.iv.reload, 8\n %72 = add i64 %71, ptrtoint (i64* @gv_29 to i64)\n store i64 0, i64* %17, align 8\n store i64 4, i64* %19, align 8\n store i64 8, i64* %21, align 8\n store i64 %65, i64* %23, align 8\n %73 = zext i32 %70 to i64\n %74 = inttoptr i64 %72 to i64*\n %75 = inttoptr i64 %66 to i64*\n %76 = call i64 @FUNC(i64* %74, i64 8, i64 %73, i64* %75, i64 8, i64 4)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n store i64 0, i64* %17, align 8\n store i64 2, i64* %19, align 8\n store i64 4, i64* %21, align 8\n store i64 ptrtoint (i64* @gv_30 to i64), i64* %23, align 8\n %77 = call i64 @FUNC(i64* nonnull @gv_31, i64 64, i64 64, i64* nonnull @gv_32, i64 4, i64 2)\n br label LBL_6\n LBL_6:\n %78 = load i64, i64* %sv_0, align 8\n %79 = add i64 %78, 16\n %80 = inttoptr i64 %79 to i32*\n store i32 -1, i32* %80, align 4\n %81 = load i64, i64* %sv_0, align 8\n %82 = add i64 %81, 20\n %83 = inttoptr i64 %82 to i32*\n store i32 0, i32* %83, align 4\n ret i64 0\n\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i64 %47, { 2, 1, 0 }\n uselistorder i64 %44, { 4, 5, 2, 3, 1, 0 }\n uselistorder i64 %indvars.iv6.reload, { 0, 2, 1 }\n uselistorder i64 %27, { 2, 1, 0 }\n uselistorder i64 %24, { 4, 5, 2, 3, 1, 0 }\n uselistorder i64 %indvars.iv9.reload, { 0, 2, 1 }\n uselistorder i64* %23, { 0, 1, 4, 3, 2, 5, 6, 7 }\n uselistorder i64* %21, { 0, 1, 4, 3, 2, 5, 6, 7 }\n uselistorder i64* %19, { 0, 1, 4, 3, 2, 5, 6, 7 }\n uselistorder i64* %17, { 0, 1, 4, 3, 2, 5, 6, 7 }\n uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i64 73, { 1, 0 }\n uselistorder i64 15, { 1, 0 }\n uselistorder i64 16, { 4, 1, 0, 3, 2 }\n uselistorder i64 7, { 1, 0 }\n uselistorder i64 64, { 1, 0, 3, 2, 5, 4 }\n uselistorder i64 4, { 4, 9, 5, 8, 0, 3, 1, 2, 7, 6 }\n uselistorder i64 (i64*, i64, i64, i64*, i64, i64)* @init_vlc, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 1, 4, 3, 6, 5, 8, 7, 23, 24, 0, 10, 9, 25, 26, 12, 11, 27, 28, 14, 13, 16, 15, 18, 17, 20, 19, 22, 21 }\n uselistorder i64 23, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i64 8, { 3, 5, 4, 8, 0, 1, 7, 6, 2, 9, 10 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rs_filter_set_previous_9803", "fun_name": "rs_filter_set_previous", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i64*\n %1 = inttoptr i64 %arg2 to i64*\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64* %0, i64* %1)\n %3 = icmp eq i64 %arg1, 0\n %4 = icmp eq i1 %3, false\n %5 = zext i1 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = icmp eq i64 %arg2, 0\n %8 = icmp eq i1 %7, false\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp eq i64 %9, %arg2\n store i64 %arg2, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_1\n LBL_1:\n %12 = icmp eq i1 %8, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = load i64, i64* inttoptr (i64 9 to i64*), align 8\n %14 = call i64 @FUNC(i64 %13, i64 %arg1)\n store i64 %14, i64* inttoptr (i64 9 to i64*), align 8\n %15 = call i64 @FUNC(i64 %13)\n br label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %arg2)\n store i64 %16, i64* %0, align 8\n %17 = add i64 %arg2, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %arg1)\n store i64 %20, i64* %18, align 8\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @g_return_if_fail, { 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 8, 7, 0, 1, 9 }\n uselistorder i32 1, { 2, 4, 3, 8, 7, 6, 5, 1, 9, 10, 0 }\n uselistorder i64 %arg2, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64 %arg1, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uc_invalidate_tb_6974", "fun_name": "uc_invalidate_tb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = add i64 %1, %arg3\n %3 = icmp ult i64 %1, %2\n %4 = icmp eq i64 %arg3, 0\n %5 = or i1 %4, %3\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 %1, i64 %2)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 2, 0, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "method_preset_all_unit_files_4666", "fun_name": "method_preset_all_unit_files", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, align 8\n store i64 0, i64* %sv_5, align 8\n store i32 0, i32* %sv_4, align 4\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_1, i64 0, i64 0), i32 65, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = icmp eq i32* %arg2, null\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_1, i64 0, i64 0), i32 66, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %6 = ptrtoint i64* %arg3 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %6)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = and i64 %8, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_6:\n %13 = bitcast i32* %sv_2 to i64*\n %14 = bitcast i32* %sv_3 to i64*\n %15 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_1, i64* nonnull %13, i64* nonnull %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n %19 = and i64 %15, 4294967295\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_8:\n %20 = load i64, i64* %sv_1, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_9, label LBL_10\n LBL_9:\n %24 = load i64, i64* %sv_1, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %25, i64* %sv_0.0.reg2mem\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %28, label LBL_10, label LBL_16\n LBL_10:\n %29 = ptrtoint i32* %arg2 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %7, i64 %6)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %34 = and i64 %30, 4294967295\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_12:\n %35 = icmp eq i32 %31, 0\n %36 = icmp eq i1 %35, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %36, label LBL_13, label LBL_16\n LBL_13:\n %37 = trunc i64 %1 to i32\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %38 = icmp eq i32 %37, 1\n %39 = icmp eq i1 %38, false\n %. = select i1 %39, i64 2, i64 1\n %40 = load i32, i32* %sv_3, align 4\n %41 = load i32, i32* %sv_2, align 4\n %42 = zext i32 %41 to i64\n %43 = zext i32 %40 to i64\n %44 = and i64 %sv_0.0.reload, 4294967295\n %45 = call i64 @FUNC(i64 %., i64 %42, i64 0, i64 %44, i64 %43, i64* nonnull %sv_5, i32* nonnull %sv_4)\n %46 = trunc i64 %45 to i32\n %47 = icmp slt i32 %46, 0\n %48 = icmp eq i1 %47, false\n %49 = load i32, i32* %sv_4, align 4\n %50 = load i64, i64* %sv_5, align 8\n %51 = zext i32 %49 to i64\n br i1 %48, label LBL_15, label LBL_14\n LBL_14:\n %52 = call i64 @FUNC(i64 %50, i64 %51)\n %53 = and i64 %45, 4294967295\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %54 = call i64 @FUNC(i64 %29, i64 %7, i64 4294967295, i64 %50, i64 %51)\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %51, { 1, 0 }\n uselistorder i64 %50, { 1, 0 }\n uselistorder i64* %sv_5, { 1, 0, 2 }\n uselistorder i32* %sv_4, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 1, 2, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 5, 2, 4, 3 }\n uselistorder i64 1, { 4, 0, 1, 2, 3 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_16, { 2, 3, 0, 4, 1, 5, 6 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openpic_save_IRQ_queue_14516", "fun_name": "openpic_save_IRQ_queue", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = add i64 %0, 128\n %4 = call i64 @FUNC(i64 %1, i64 %3)\n %5 = add i64 %0, 132\n %6 = call i64 @FUNC(i64 %1, i64 %5)\n ret i64 %6\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @qemu_put_sbe32s, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "impl__free_4604", "fun_name": "impl__free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nut_read_header_774", "fun_name": "nut_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem8 = alloca i64\n %.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 16\n store i64 %4, i64* %arg1, align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %6 = call i64 @FUNC(i64 %5, i64 0, i64 %sv_0.0.reload)\n %7 = mul i64 %6, 4294967296\n %sext = add i64 %7, 4294967296\n %8 = icmp slt i64 %sext, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %11 = ashr exact i64 %sext, 32\n %12 = call i64 @FUNC(i64 %4)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %11, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_4, label LBL_1\n LBL_4:\n %16 = add i64 %4, 8\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = call i64 @FUNC(i64 0)\n %19 = inttoptr i64 %5 to i64*\n store i64 %18, i64* %19, align 8\n %20 = load i32, i32* %17, align 4\n %21 = icmp eq i32 %20, 0\n store i32 0, i32* %sv_1.04.reg2mem\n store i64 0, i64* %sv_0.13.reg2mem\n br i1 %21, label LBL_8, label LBL_5\n LBL_5:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %22 = call i64 @FUNC(i64 %5, i64 1, i64 %sv_0.13.reload)\n %23 = mul i64 %22, 4294967296\n %sext1 = add i64 %23, 4294967296\n %24 = icmp eq i64 %sext1, 0\n %25 = icmp slt i64 %sext1, 0\n %26 = icmp eq i1 %25, false\n %27 = icmp eq i1 %24, false\n %28 = icmp eq i1 %26, %27\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %30 = ashr exact i64 %sext1, 32\n %31 = call i64 @FUNC(i64 %4)\n %32 = trunc i64 %31 to i32\n %33 = icmp sgt i32 %32, -1\n %34 = zext i1 %33 to i32\n %spec.select = add i32 %sv_1.04.reload, %34\n %35 = load i32, i32* %17, align 4\n %36 = zext i32 %35 to i64\n %37 = sext i32 %spec.select to i64\n %38 = icmp slt i64 %37, %36\n store i32 %spec.select, i32* %sv_1.04.reg2mem\n store i64 %30, i64* %sv_0.13.reg2mem\n br i1 %38, label LBL_5, label LBL_8\n LBL_8:\n %39 = call i64 @FUNC(i64 %5, i64 0)\n %40 = call i64 @FUNC(i64 %5)\n %41 = icmp eq i64 %39, 0\n %42 = icmp eq i1 %41, false\n store i64 %40, i64* %.reg2mem\n store i64 %39, i64* %.reg2mem8\n br i1 %42, label LBL_10, label LBL_9\n LBL_9:\n %43 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_10:\n %.reload9 = load i64, i64* %.reg2mem8\n %44 = icmp eq i64 %.reload9, 2\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_12, label LBL_11\n LBL_11:\n %46 = add i64 %4, 24\n %47 = inttoptr i64 %46 to i64*\n store i64 %.reload9, i64* %47, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %.reload = load i64, i64* %.reg2mem\n %48 = icmp eq i64 %.reload9, 3\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_14, label LBL_13\n LBL_13:\n %50 = call i64 @FUNC(i64 %4)\n br label LBL_14\n LBL_14:\n %51 = call i64 @FUNC(i64 %5, i64 %.reload)\n %52 = call i64 @FUNC(i64 %5)\n %53 = icmp eq i64 %51, 0\n %54 = icmp eq i1 %53, false\n store i64 %52, i64* %.reg2mem\n store i64 %51, i64* %.reg2mem8\n br i1 %54, label LBL_10, label LBL_9\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload9, { 1, 2, 0 }\n uselistorder i64 %sext1, { 2, 0, 1 }\n uselistorder i32* %17, { 1, 0, 2 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %5, { 4, 3, 0, 1, 5, 2, 6 }\n uselistorder i64 %4, { 3, 2, 1, 5, 4, 6, 7, 0, 8, 9 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem8, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @url_ftell, { 1, 0 }\n uselistorder i64 (i64, i64)* @find_any_startcode, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 2, 0 }\n uselistorder i64 4294967296, { 2, 0, 3, 1 }\n uselistorder i64 (i64, i64, i64)* @find_startcode, { 1, 0 }\n uselistorder label LBL_15, { 0, 2, 1, 3 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "additive_12430", "fun_name": "additive", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.be.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %1 = call i64 @FUNC(i64 %arg1, i64 43)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_4, label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = call i64 @FUNC(i64 1, i64 %sv_0.0.reload, i64 %4)\n store i64 %5, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_3:\n %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem\n store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_4:\n %6 = call i64 @FUNC(i64 %arg1, i64 45)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_6, label LBL_5\n LBL_5:\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = call i64 @FUNC(i64 2, i64 %sv_0.0.reload, i64 %9)\n store i64 %10, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_6:\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.be.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @EXP2, { 1, 0 }\n uselistorder i64 (i64, i64)* @jsP_accept, { 1, 0 }\n uselistorder i64 (i64)* @multiplicative, { 2, 1, 0 }\n uselistorder label LBL_1.backedge, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tcp_parse_options_13224", "fun_name": "tcp_parse_options", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %r8.0.be.reg2mem = alloca i64\n %rcx.0.be.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem8 = alloca i32\n %rcx.04.reg2mem = alloca i64\n %r8.05.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n store i32 0, i32* %sv_0, align 4\n %6 = add i64 %2, 32\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i32 %10, -20\n %12 = load i32, i32* %sv_0, align 4\n %13 = icmp ugt i32 %11, %12\n store i64 0, i64* %storemerge.reg2mem\n br i1 %13, label LBL_1, label LBL_15\n LBL_1:\n %14 = add i64 %5, 20\n %15 = add i64 %2, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = ptrtoint i32* %sv_0 to i64\n store i32 %12, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %rcx.04.reload = load i64, i64* %rcx.04.reg2mem\n %r8.05.reload = load i64, i64* %r8.05.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %18 = add i32 %.reload, 1\n store i32 %18, i32* %sv_0, align 4\n %19 = zext i32 %.reload to i64\n %20 = add i64 %14, %19\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = load i32, i32* %9, align 4\n %24 = add i32 %23, -20\n %25 = icmp ule i32 %24, %18\n %26 = icmp ult i8 %22, 2\n %or.cond = or i1 %26, %25\n store i32 %18, i32* %.reg2mem8\n store i32 1, i32* %storemerge3.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %27 = add i32 %.reload, 2\n store i32 %27, i32* %sv_0, align 4\n %28 = zext i32 %18 to i64\n %29 = add i64 %14, %28\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = sext i8 %31 to i32\n store i32 %27, i32* %.reg2mem8\n store i32 %32, i32* %storemerge3.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %33 = load i64, i64* %16, align 8\n %34 = icmp eq i64 %33, 0\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %.reload9 = load i32, i32* %.reg2mem8\n %35 = zext i32 %.reload9 to i64\n %36 = add i64 %14, %35\n %37 = icmp ugt i64 %36, %33\n store i64 0, i64* %storemerge.reg2mem\n br i1 %37, label LBL_15, label LBL_6\n LBL_6:\n %38 = trunc i32 %storemerge3.reload to i8\n %39 = icmp eq i8 %38, 0\n %40 = icmp eq i1 %39, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %40, label LBL_7, label LBL_15\n LBL_7:\n %41 = zext i8 %22 to i64\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %41, i8 %38, i64 %rcx.04.reload, i64 %r8.05.reload, i64 %1)\n store i64 %41, i64* @0, align 8\n store i64 %rcx.04.reload, i64* %rcx.0.be.reg2mem\n store i64 %rcx.04.reload, i64* %rcx.0.be.reg2mem\n store i64 %r8.05.reload, i64* %r8.0.be.reg2mem\n store i64 %r8.05.reload, i64* %r8.0.be.reg2mem\n switch i8 %22, label LBL_14 [\n i8 0, label LBL_8\n i8 1, label LBL_8\n i8 2, label LBL_11\n i8 3, label LBL_9\n i8 4, label LBL_10\n i8 5, label LBL_13\n i8 8, label LBL_12\n ]\n LBL_8:\n %r8.0.be.reload = load i64, i64* %r8.0.be.reg2mem\n %rcx.0.be.reload = load i64, i64* %rcx.0.be.reg2mem\n %43 = load i32, i32* %9, align 4\n %44 = add i32 %43, -20\n %45 = load i32, i32* %sv_0, align 4\n %46 = icmp ugt i32 %44, %45\n store i32 %45, i32* %.reg2mem\n store i64 %r8.0.be.reload, i64* %r8.05.reg2mem\n store i64 %rcx.0.be.reload, i64* %rcx.04.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %46, label LBL_2, label LBL_15\n LBL_9:\n %47 = call i64 @FUNC(i64 %2, i8 %38, i64 %14, i32* nonnull %sv_0)\n store i64 %17, i64* %rcx.0.be.reg2mem\n store i64 %r8.05.reload, i64* %r8.0.be.reg2mem\n br label LBL_8\n LBL_10:\n %48 = call i64 @FUNC(i64 %2, i64 %2, i8 %38, i32* nonnull %sv_0)\n store i64 %17, i64* %rcx.0.be.reg2mem\n store i64 %r8.05.reload, i64* %r8.0.be.reg2mem\n br label LBL_8\n LBL_11:\n %49 = call i64 @FUNC(i64 %2, i8 %38, i64 %14, i32* nonnull %sv_0)\n store i64 %17, i64* %rcx.0.be.reg2mem\n store i64 %r8.05.reload, i64* %r8.0.be.reg2mem\n br label LBL_8\n LBL_12:\n %50 = call i64 @FUNC(i64 %2, i64 %2, i8 %38, i64 %14, i32* nonnull %sv_0)\n store i64 %14, i64* %rcx.0.be.reg2mem\n store i64 %17, i64* %r8.0.be.reg2mem\n br label LBL_8\n LBL_13:\n %51 = add nsw i32 %storemerge3.reload, 254\n %52 = urem i32 %51, 256\n %53 = zext i32 %52 to i64\n %54 = load i32, i32* %sv_0, align 4\n %55 = zext i32 %54 to i64\n %56 = add i64 %14, %55\n %57 = call i64 @FUNC(i64 %2, i64 %56, i64 %53)\n %58 = load i32, i32* %sv_0, align 4\n %59 = urem i32 %storemerge3.reload, 256\n %60 = add nsw i32 %59, -2\n %61 = add i32 %60, %58\n store i32 %61, i32* %sv_0, align 4\n store i64 %56, i64* %rcx.0.be.reg2mem\n store i64 %r8.05.reload, i64* %r8.0.be.reg2mem\n br label LBL_8\n LBL_14:\n %62 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %41, i8 %38, i64 %rcx.04.reload, i64 %r8.05.reload, i64 %1)\n %63 = load i32, i32* %sv_0, align 4\n %64 = urem i32 %storemerge3.reload, 256\n %65 = add nsw i32 %64, -2\n %66 = add i32 %65, %63\n store i32 %66, i32* %sv_0, align 4\n store i64 %rcx.04.reload, i64* %rcx.0.be.reg2mem\n store i64 %r8.05.reload, i64* %r8.0.be.reg2mem\n br label LBL_8\n LBL_15:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %41, { 2, 1, 0 }\n uselistorder i8 %38, { 4, 0, 3, 1, 2, 5, 6 }\n uselistorder i32 %storemerge3.reload, { 3, 2, 1, 0 }\n uselistorder i8 %22, { 2, 0, 1 }\n uselistorder i32 %18, { 2, 0, 1, 3 }\n uselistorder i32 %.reload, { 0, 2, 1 }\n uselistorder i64 %r8.05.reload, { 6, 7, 5, 2, 4, 3, 0, 1, 8 }\n uselistorder i64 %rcx.04.reload, { 2, 3, 0, 1, 4 }\n uselistorder i64 %17, { 0, 1, 3, 2 }\n uselistorder i64 %14, { 1, 0, 7, 5, 6, 2, 3, 4 }\n uselistorder i32* %9, { 2, 1, 0 }\n uselistorder i32* %sv_0, { 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 12, 13, 11, 0, 14 }\n uselistorder i64 %2, { 4, 6, 5, 0, 3, 2, 1, 7, 8, 9, 10 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.05.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.04.reg2mem, { 1, 0 }\n uselistorder i32* %.reg2mem8, { 0, 2, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.0.be.reg2mem, { 8, 6, 7, 3, 5, 4, 0, 1, 2 }\n uselistorder i64* %r8.0.be.reg2mem, { 8, 6, 7, 3, 5, 4, 0, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64 (i8*, i64, i8, i64, i64, i64)* @tcp_dbg_options, { 1, 0 }\n uselistorder i8 2, { 1, 0 }\n uselistorder i32 -20, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_15, { 2, 0, 1, 3 }\n uselistorder label LBL_8, { 2, 7, 6, 5, 4, 3, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvaser_usb_leaf_set_opt_mode_3643", "fun_name": "kvaser_usb_leaf_set_opt_mode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = call i64 @FUNC(i64 16, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = inttoptr i64 %0 to i32*\n store i32 1, i32* %4, align 4\n %5 = add i64 %0, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 10, i32* %6, align 4\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i8*\n store i8 -1, i8* %8, align 1\n %9 = bitcast i64* %rdi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = trunc i32 %10 to i8\n %12 = add i64 %0, 9\n %13 = inttoptr i64 %12 to i8*\n store i8 %11, i8* %13, align 1\n %14 = add i64 %3, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = and i32 %16, 4\n %18 = icmp eq i32 %17, 0\n %19 = add i64 %0, 12\n %20 = inttoptr i64 %19 to i32*\n %. = select i1 %18, i32 6, i32 5\n store i32 %., i32* %20, align 4\n %21 = load i32, i32* %6, align 4\n %22 = add i64 %3, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24, i64 %0, i32 %21)\n %26 = call i64 @FUNC(i64 %0)\n %27 = and i64 %25, 4294967295\n store i64 %27, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "container_setup_modules_7282", "fun_name": "container_setup_modules", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %1 = load i32, i32* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %2 = bitcast i64* %sv_5 to %utsname*\n %3 = call i32 @uname(%utsname* nonnull %2)\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %6 = bitcast i64* %sv_3 to i8*\n %7 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %6, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_4)\n %8 = bitcast i64* %sv_2 to i8*\n %9 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_3)\n %10 = bitcast i64* %sv_1 to %stat*\n %11 = call i32 @stat(i8* nonnull %8, %stat* nonnull %10)\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_9, label LBL_3\n LBL_3:\n %14 = and i32 %1, 61440\n %15 = icmp eq i32 %14, 16384\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_13\n LBL_4:\n %16 = bitcast i64* %sv_0 to %dirent***\n %17 = call i32 @scandir(i8* nonnull %8, %dirent*** nonnull %16, i32 (%dirent*)* null, i32 (%dirent**, %dirent**)* null)\n %18 = icmp slt i32 %17, 2\n br i1 %18, label LBL_11, label LBL_5\n LBL_5:\n %19 = load i64, i64* %sv_0, align 8\n %wide.trip.count = zext i32 %17 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %19, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %20 = mul i64 %indvars.iv.reload, 8\n %21 = add i64 %20, %.reload\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i64*\n call void @free(i64* %24)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %25 = load i64, i64* %sv_0, align 8\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %25, i64* %.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %phitmp = inttoptr i64 %25 to i64*\n call void @free(i64* %phitmp)\n %26 = icmp slt i32 %17, 3\n br i1 %26, label LBL_11, label LBL_8\n LBL_8:\n %27 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %27, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_2, i64 %wide.trip.count)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_9:\n %29 = call i32* @__errno_location()\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 2\n %32 = icmp eq i1 %31, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %32, label LBL_13, label LBL_10\n LBL_10:\n %33 = call i64 @FUNC(i64* nonnull %sv_2, i64 493)\n %34 = trunc i64 %33 to i32\n %35 = icmp slt i32 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %36, label LBL_11, label LBL_13\n LBL_11:\n %37 = call i32 @mount(i8* nonnull %6, i8* nonnull %8, i8* null, i32 4096, i64* null)\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %39, label LBL_13, label LBL_12\n LBL_12:\n call void @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %25, { 1, 0 }\n uselistorder i32 %17, { 1, 0, 2 }\n uselistorder i8* %8, { 1, 0, 2, 3 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 3, 2, 6, 4, 5 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 }\n uselistorder void (i8*)* @perror, { 1, 0 }\n uselistorder i64 0, { 3, 4, 0, 1, 5, 6, 2, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder label LBL_13, { 4, 0, 2, 1, 5, 3, 6 }\n uselistorder label LBL_11, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_setnum_9556", "fun_name": "put_setnum", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = inttoptr i64 %arg1 to %_IO_FILE*\n %1 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* %arg2, i8* %arg3)\n %2 = icmp slt i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_5\n LBL_1:\n %4 = ptrtoint i64* %arg4 to i64\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %4, i64* nonnull %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = load i32, i32* %sv_0, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10, i64 0)\n %12 = inttoptr i64 %11 to i8*\n %13 = call i32 @fputs(i8* %12, %_IO_FILE* %0)\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_5\n LBL_3:\n %16 = ptrtoint i8* %arg3 to i64\n %17 = trunc i64 %16 to i32\n %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i32 %17)\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_4, label LBL_5\n LBL_4:\n %21 = call i64 @FUNC(i64 %arg1)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n %. = select i1 %24, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder %_IO_FILE* %0, { 1, 0, 2 }\n uselistorder i64 4294967295, { 3, 0, 1, 2, 4 }\n uselistorder i8* %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fd_start_incoming_migration_2188", "fun_name": "fd_start_incoming_migration", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0))\n %1 = inttoptr i64 %arg1 to i8*\n %2 = call i32 @strtol(i8* %1, i8** null, i32 0)\n %3 = zext i32 %2 to i64\n %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i32* @__errno_location()\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %7, i64 %10, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0))\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %12 = call i64 @FUNC(i64 %3, i64 0, i64 4198918, i64 0, i64 %4)\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bit_prop_set_2278", "fun_name": "bit_prop_set", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = trunc i64 %arg3 to i8\n %3 = call i64 @FUNC(i64 %1, i64 %0)\n %4 = inttoptr i64 %3 to i32*\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i8 %2, 0\n %8 = load i32, i32* %4, align 4\n %9 = or i32 %8, %6\n %10 = sub i32 0, %6\n %11 = sub i32 %10, 1\n %12 = and i32 %8, %11\n %storemerge = select i1 %7, i32 %12, i32 %9\n store i32 %storemerge, i32* %4, align 4\n ret i64 %3\n\n uselistorder i32 %8, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xen_evtchn_cpu_prepare_7176", "fun_name": "xen_evtchn_cpu_prepare", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %spec.select = select i1 %5, i64 0, i64 %0\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_highest_vector_111", "fun_name": "find_highest_vector", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge24.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n store i32 223, i32* %storemerge24.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %1 = ashr i32 %storemerge24.reload, 5\n %2 = sext i32 %1 to i64\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = zext i32 %5 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = add i32 %storemerge24.reload, -1\n %11 = add i32 %10, %9\n %12 = zext i32 %11 to i64\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %13 = add nsw i32 %storemerge24.reload, -32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i32 %13, i32* %storemerge24.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %15, label LBL_1, label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge24.reload, { 1, 2, 0 }\n uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 0, { 3, 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_irq_invert_2908", "fun_name": "qemu_irq_invert", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %3 = zext i32 %2 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %0, i64 0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_ins_549", "fun_name": "gen_ins", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = call i64 @FUNC(i64 %0)\n %7 = load i32, i32* @gv_0, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8, i64 0)\n %10 = load i32, i32* @gv_1, align 4\n %11 = load i32, i32* @gv_0, align 4\n %12 = trunc i64 %5 to i32\n %13 = call i64 @FUNC(i64 %0, i32 %12, i32 %11, i32 %10)\n %14 = load i32, i32* @gv_2, align 4\n %15 = load i32, i32* @gv_3, align 4\n %16 = zext i32 %14 to i64\n %17 = zext i32 %15 to i64\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n %19 = load i32, i32* @gv_3, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20, i64 %20, i64 65535)\n %22 = load i32, i32* @gv_3, align 4\n %23 = load i32, i32* @gv_0, align 4\n %24 = zext i32 %23 to i64\n %25 = and i64 %5, 4294967295\n %26 = call i64 @FUNC(i64 %25, i64 %24, i32 %22)\n %27 = load i32, i32* @gv_1, align 4\n %28 = load i32, i32* @gv_0, align 4\n %29 = call i64 @FUNC(i64 %0, i32 %12, i32 %28, i32 %27)\n %30 = call i64 @FUNC(i64 %25)\n %31 = add i64 %0, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %34, i64 3)\n %36 = load i32, i32* @gv_3, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %0, i64 %37, i32 %12)\n %39 = call i64 @FUNC(i64 %0)\n %40 = urem i64 %39, 2\n %41 = icmp eq i64 %40, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %41, label LBL_4, label LBL_3\n LBL_3:\n %42 = call i64 @FUNC()\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 3, 2, 4, 5, 6 }\n uselistorder i32* @gv_3, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i32, i32, i32)* @gen_op_st_v, { 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i32* @gv_0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @tb_cflags, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_config_writel_16599", "fun_name": "virtio_config_writel", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %arg2, 4294967295\n %3 = and i64 %1, 4294967295\n %4 = add nsw i64 %3, -4\n %5 = icmp ugt i64 %2, %4\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %arg3, 4294967295\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = mul i64 %arg2, 4\n %12 = and i64 %11, 17179869180\n %13 = add i64 %10, %12\n %14 = call i64 @FUNC(i64 %13, i64 %6)\n %15 = inttoptr i64 %10 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %spec.select = select i1 %17, i64 0, i64 %7\n ret i64 %spec.select\n LBL_2:\n ret i64 %4\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "TIFFIgnoreTags_6061", "fun_name": "TIFFIgnoreTags", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rbx.011.reg2mem = alloca i64\n %.reg2mem64 = alloca i8*\n %.reg2mem62 = alloca i8*\n %.reg2mem60 = alloca i8\n %.reg2mem58 = alloca i8*\n %.lcssa.reg2mem = alloca i8*\n %.reg2mem56 = alloca i8*\n %sv_0.014.reg2mem = alloca i32\n %.reg2mem54 = alloca i8*\n %.reg2mem52 = alloca i8\n %.reg2mem50 = alloca i8*\n %.reg2mem48 = alloca i8*\n %.reg2mem46 = alloca i8*\n %.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i8*, align 8\n %1 = call i64 @FUNC(i64 %0)\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = load i64, i64* @gv_0, align 8\n %4 = icmp eq i64 %2, %3\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_21, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0)\n %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0))\n %8 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_21, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %7 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 0\n %12 = icmp eq i1 %11, false\n store i8* %9, i8** %.reg2mem54\n store i32 0, i32* %sv_0.014.reg2mem\n br i1 %12, label LBL_9, label LBL_3\n LBL_3:\n %13 = zext i8 %10 to i64\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_4:\n %.reload = load i8*, i8** %.reg2mem\n %14 = ptrtoint i8* %.reload to i64\n %15 = add i64 %14, 1\n %16 = inttoptr i64 %15 to i8*\n %17 = call i16** @__ctype_b_loc()\n %18 = load i16*, i16** %17, align 8\n %19 = ptrtoint i16* %18 to i64\n %20 = load i8, i8* %16, align 1\n %21 = zext i8 %20 to i64\n %22 = mul i64 %21, 2\n %23 = add i64 %22, %19\n %24 = inttoptr i64 %23 to i16*\n %25 = load i16, i16* %24, align 2\n %26 = and i16 %25, 8192\n %27 = icmp eq i16 %26, 0\n %28 = icmp eq i1 %27, false\n store i8* %16, i8** %.reg2mem\n store i8* %16, i8** %.reg2mem46\n br i1 %28, label LBL_4, label LBL_5\n LBL_5:\n %.reload47 = load i8*, i8** %.reg2mem46\n %29 = call i32 @strtol(i8* %.reload47, i8** nonnull %sv_1, i32 10)\n %30 = load i8*, i8** %sv_1, align 8\n %31 = icmp eq i8* %.reload47, %30\n br i1 %31, label LBL_20, label LBL_6\n LBL_6:\n %32 = call i16** @__ctype_b_loc()\n %33 = load i16*, i16** %32, align 8\n %34 = ptrtoint i16* %33 to i64\n %35 = load i8, i8* %30, align 1\n %36 = zext i8 %35 to i64\n %37 = mul i64 %36, 2\n %38 = add i64 %37, %34\n %39 = inttoptr i64 %38 to i16*\n %40 = load i16, i16* %39, align 2\n %41 = and i16 %40, 8192\n %42 = icmp eq i16 %41, 0\n %43 = icmp eq i1 %42, false\n %44 = icmp eq i8 %35, 44\n %or.cond13 = or i1 %44, %43\n store i8* %30, i8** %.reg2mem48\n store i8* %30, i8** %.reg2mem50\n store i8 %35, i8* %.reg2mem52\n br i1 %or.cond13, label LBL_7, label LBL_8\n LBL_7:\n %.reload49 = load i8*, i8** %.reg2mem48\n %45 = ptrtoint i8* %.reload49 to i64\n %46 = add i64 %45, 1\n %47 = inttoptr i64 %46 to i8*\n %48 = call i16** @__ctype_b_loc()\n %49 = load i16*, i16** %48, align 8\n %50 = ptrtoint i16* %49 to i64\n %51 = load i8, i8* %47, align 1\n %52 = zext i8 %51 to i64\n %53 = mul i64 %52, 2\n %54 = add i64 %53, %50\n %55 = inttoptr i64 %54 to i16*\n %56 = load i16, i16* %55, align 2\n %57 = and i16 %56, 8192\n %58 = icmp eq i16 %57, 0\n %59 = icmp eq i1 %58, false\n %60 = icmp eq i8 %51, 44\n %or.cond = or i1 %60, %59\n store i8* %47, i8** %.reg2mem48\n store i8* %47, i8** %.reg2mem50\n store i8 %51, i8* %.reg2mem52\n br i1 %or.cond, label LBL_7, label LBL_8\n LBL_8:\n %61 = add i32 %sv_0.014.reload, 1\n %.reload53 = load i8, i8* %.reg2mem52\n %.reload51 = load i8*, i8** %.reg2mem50\n %62 = icmp eq i8 %.reload53, 0\n %63 = icmp eq i1 %62, false\n store i8* %.reload51, i8** %.reg2mem54\n store i32 %61, i32* %sv_0.014.reg2mem\n br i1 %63, label LBL_9, label LBL_10\n LBL_9:\n %sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem\n %.reload55 = load i8*, i8** %.reg2mem54\n %64 = call i16** @__ctype_b_loc()\n %65 = load i16*, i16** %64, align 8\n %66 = ptrtoint i16* %65 to i64\n %67 = load i8, i8* %.reload55, align 1\n %68 = zext i8 %67 to i64\n %69 = mul i64 %68, 2\n %70 = add i64 %69, %66\n %71 = inttoptr i64 %70 to i16*\n %72 = load i16, i16* %71, align 2\n %73 = and i16 %72, 8192\n %74 = icmp eq i16 %73, 0\n %75 = icmp eq i1 %74, false\n store i8* %.reload55, i8** %.reg2mem\n store i8* %.reload55, i8** %.reg2mem46\n br i1 %75, label LBL_4, label LBL_5\n LBL_10:\n %76 = zext i8 %.reload53 to i64\n %77 = icmp eq i32 %61, 0\n store i64 %76, i64* %rax.0.reg2mem\n br i1 %77, label LBL_21, label LBL_11\n LBL_11:\n %78 = sext i32 %61 to i64\n %79 = call i64 @FUNC(i64 %78, i64 4)\n %80 = icmp eq i64 %79, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %80, label LBL_21, label LBL_12\n LBL_12:\n %81 = mul i64 %78, 4\n %82 = call i64 @FUNC(i64 %79, i64 0, i64 %81)\n %83 = load i8, i8* %9, align 1\n %84 = icmp eq i8 %83, 0\n %85 = icmp eq i1 %84, false\n br i1 %85, label LBL_13, label LBL_19\n LBL_13:\n store i8* %9, i8** %.reg2mem64\n store i64 0, i64* %rbx.011.reg2mem\n br label LBL_18\n LBL_14:\n %.reload57 = load i8*, i8** %.reg2mem56\n %86 = ptrtoint i8* %.reload57 to i64\n %87 = add i64 %86, 1\n %88 = inttoptr i64 %87 to i8*\n %89 = call i16** @__ctype_b_loc()\n %90 = load i16*, i16** %89, align 8\n %91 = ptrtoint i16* %90 to i64\n %92 = load i8, i8* %88, align 1\n %93 = zext i8 %92 to i64\n %94 = mul i64 %93, 2\n %95 = add i64 %94, %91\n %96 = inttoptr i64 %95 to i16*\n %97 = load i16, i16* %96, align 2\n %98 = and i16 %97, 8192\n %99 = icmp eq i16 %98, 0\n %100 = icmp eq i1 %99, false\n store i8* %88, i8** %.reg2mem56\n store i8* %88, i8** %.lcssa.reg2mem\n br i1 %100, label LBL_14, label LBL_15\n LBL_15:\n %.lcssa.reload = load i8*, i8** %.lcssa.reg2mem\n %101 = call i32 @strtol(i8* %.lcssa.reload, i8** nonnull %sv_1, i32 10)\n %102 = mul i64 %rbx.011.reload, 4\n %103 = add i64 %102, %79\n %104 = inttoptr i64 %103 to i32*\n store i32 %101, i32* %104, align 4\n %105 = load i8*, i8** %sv_1, align 8\n %106 = call i16** @__ctype_b_loc()\n %107 = load i16*, i16** %106, align 8\n %108 = ptrtoint i16* %107 to i64\n %109 = load i8, i8* %105, align 1\n %110 = zext i8 %109 to i64\n %111 = mul i64 %110, 2\n %112 = add i64 %111, %108\n %113 = inttoptr i64 %112 to i16*\n %114 = load i16, i16* %113, align 2\n %115 = and i16 %114, 8192\n %116 = icmp eq i16 %115, 0\n %117 = icmp eq i1 %116, false\n %118 = icmp eq i8 %109, 44\n %or.cond410 = or i1 %118, %117\n store i8* %105, i8** %.reg2mem58\n store i8 %109, i8* %.reg2mem60\n store i8* %105, i8** %.reg2mem62\n br i1 %or.cond410, label LBL_16, label LBL_17\n LBL_16:\n %.reload59 = load i8*, i8** %.reg2mem58\n %119 = ptrtoint i8* %.reload59 to i64\n %120 = add i64 %119, 1\n %121 = inttoptr i64 %120 to i8*\n %122 = call i16** @__ctype_b_loc()\n %123 = load i16*, i16** %122, align 8\n %124 = ptrtoint i16* %123 to i64\n %125 = load i8, i8* %121, align 1\n %126 = zext i8 %125 to i64\n %127 = mul i64 %126, 2\n %128 = add i64 %127, %124\n %129 = inttoptr i64 %128 to i16*\n %130 = load i16, i16* %129, align 2\n %131 = and i16 %130, 8192\n %132 = icmp eq i16 %131, 0\n %133 = icmp eq i1 %132, false\n %134 = icmp eq i8 %125, 44\n %or.cond4 = or i1 %134, %133\n store i8* %121, i8** %.reg2mem58\n store i8 %125, i8* %.reg2mem60\n store i8* %121, i8** %.reg2mem62\n br i1 %or.cond4, label LBL_16, label LBL_17\n LBL_17:\n %135 = add i64 %rbx.011.reload, 1\n %.reload63 = load i8*, i8** %.reg2mem62\n %.reload61 = load i8, i8* %.reg2mem60\n %136 = icmp eq i8 %.reload61, 0\n %137 = icmp eq i1 %136, false\n store i8* %.reload63, i8** %.reg2mem64\n store i64 %135, i64* %rbx.011.reg2mem\n br i1 %137, label LBL_18, label LBL_19\n LBL_18:\n %rbx.011.reload = load i64, i64* %rbx.011.reg2mem\n %.reload65 = load i8*, i8** %.reg2mem64\n %138 = call i16** @__ctype_b_loc()\n %139 = load i16*, i16** %138, align 8\n %140 = ptrtoint i16* %139 to i64\n %141 = load i8, i8* %.reload65, align 1\n %142 = zext i8 %141 to i64\n %143 = mul i64 %142, 2\n %144 = add i64 %143, %140\n %145 = inttoptr i64 %144 to i16*\n %146 = load i16, i16* %145, align 2\n %147 = and i16 %146, 8192\n %148 = icmp eq i16 %147, 0\n %149 = icmp eq i1 %148, false\n store i8* %.reload65, i8** %.reg2mem56\n store i8* %.reload65, i8** %.lcssa.reg2mem\n br i1 %149, label LBL_14, label LBL_15\n LBL_19:\n %150 = zext i32 %61 to i64\n %151 = call i64 @FUNC(i64 %0, i64 %79, i64 %150)\n %152 = call i64 @FUNC(i64 %79)\n store i64 %152, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n %153 = ptrtoint i8* %.reload47 to i64\n store i64 %153, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %.reload65, { 2, 1, 0 }\n uselistorder i64 %rbx.011.reload, { 1, 0 }\n uselistorder i64 %79, { 2, 1, 0, 3, 4 }\n uselistorder i8* %.reload55, { 2, 1, 0 }\n uselistorder i8 %.reload53, { 1, 0 }\n uselistorder i32 %61, { 2, 3, 1, 0 }\n uselistorder i8* %.reload47, { 1, 0, 2 }\n uselistorder i8* %9, { 0, 2, 1, 3 }\n uselistorder i8** %sv_1, { 0, 3, 1, 2 }\n uselistorder i8** %.reg2mem, { 1, 2, 0 }\n uselistorder i8** %.reg2mem46, { 2, 0, 1 }\n uselistorder i8** %.reg2mem48, { 2, 0, 1 }\n uselistorder i8** %.reg2mem54, { 0, 2, 1 }\n uselistorder i32* %sv_0.014.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem56, { 1, 2, 0 }\n uselistorder i8** %.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem58, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 5, 2, 6, 7 }\n uselistorder i8 44, { 2, 1, 3, 0 }\n uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 0 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i16 0, { 3, 6, 2, 7, 1, 4, 0, 5 }\n uselistorder i16 8192, { 3, 6, 2, 7, 1, 4, 0, 5 }\n uselistorder i16** ()* @__ctype_b_loc, { 3, 4, 2, 5, 1, 6, 0, 7 }\n uselistorder i64 1, { 3, 1, 2, 4, 5, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i8 0, { 2, 1, 3, 0 }\n uselistorder i1 false, { 5, 8, 6, 4, 7, 3, 2, 11, 9, 1, 10, 0, 12 }\n uselistorder label LBL_21, { 0, 6, 2, 3, 1, 4, 5 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "proto_to_name_8751", "fun_name": "proto_to_name", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i8\n %sext3 = mul i64 %arg1, 72057594037927936\n %1 = ashr exact i64 %sext3, 56\n %2 = icmp eq i8 %0, 0\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = trunc i64 %arg2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = trunc i64 %1 to i32\n %7 = urem i32 %6, 256\n %8 = call %protoent* @getprotobynumber(i32 %7)\n %9 = icmp eq %protoent* %8, null\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = bitcast %protoent* %8 to i64*\n %11 = load i64, i64* %10, align 8\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %12 = load [5 x i8]*, [5 x i8]** @gv_0, align 8\n %13 = icmp eq [5 x i8]* %12, null\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_5, label LBL_8\n LBL_5:\n %15 = ptrtoint [5 x i8]* %12 to i64\n %16 = trunc i64 %1 to i32\n %17 = urem i32 %16, 256\n %18 = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8\n %19 = icmp eq i32 %18, %17\n %20 = icmp eq i1 %19, false\n store i32 1, i32* %.reg2mem\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %20, label LBL_7, label LBL_8\n LBL_6:\n %21 = add i64 %28, ptrtoint (i32** @gv_1 to i64)\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 8\n %24 = icmp eq i32 %23, %17\n %25 = icmp eq i1 %24, false\n %26 = add i32 %.reload, 1\n store i32 %26, i32* %.reg2mem\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %25, label LBL_7, label LBL_8\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %27 = zext i32 %.reload to i64\n %28 = mul i64 %27, 16\n %29 = add i64 %28, ptrtoint ([5 x i8]** @gv_0 to i64)\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_6, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %31, { 1, 0 }\n uselistorder [5 x i8]* %12, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 }\n uselistorder i32** @gv_1, { 1, 0 }\n uselistorder [5 x i8]** @gv_0, { 1, 0 }\n uselistorder i1 false, { 3, 2, 0, 1, 4 }\n uselistorder i32 1, { 3, 1, 2, 0 }\n uselistorder label LBL_8, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_check_nic_model_2483", "fun_name": "qemu_check_nic_model", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %.cast = ptrtoint i8* %arg2 to i64\n store i64 %.cast, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @exit(i32 0)\n unreachable\n LBL_2:\n %4 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 %.cast)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @exit(i32 1)\n unreachable\n LBL_4:\n ret i64 %4\n\n uselistorder i64* %sv_0, { 2, 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "floppy_release_irq_and_dma_7954", "fun_name": "floppy_release_irq_and_dma", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %rsi.3.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rsi.26.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i64* nonnull @gv_0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_20, label LBL_1\n LBL_1:\n %7 = load i32, i32* @gv_1, align 4\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC()\n store i32 0, i32* @gv_1, align 4\n br label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 0, i64 4294967295, i64 8)\n %13 = call i64 @FUNC(i64 1, i64 4294967287, i64 0)\n %14 = load i64, i64* @gv_2, align 8\n %15 = icmp eq i64 %14, 0\n %16 = load i32, i32* @gv_3, align 4\n %17 = icmp eq i32 %16, 0\n %or.cond = or i1 %15, %17\n store i64 4294967287, i64* %rsi.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %18 = mul i32 %16, 1024\n %19 = sext i32 %18 to i64\n store i64 0, i64* @gv_2, align 8\n store i32 0, i32* @gv_3, align 4\n store i32 -1, i32* @gv_4, align 4\n store i32 -1, i32* bitcast (i64* @gv_5 to i32*), align 8\n %20 = call i64 @FUNC(i64 %14, i64 %19)\n store i64 %19, i64* %rsi.0.reg2mem\n br label LBL_5\n LBL_5:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.26.reg2mem\n br label LBL_6\n LBL_6:\n %rsi.26.reload = load i64, i64* %rsi.26.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = load i64, i64* @gv_6, align 8\n %22 = add i64 %21, %indvars.iv.reload\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 %rsi.26.reload, i64* %rsi.1.reg2mem\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_7, i64 0, i64 0), i64 %indvars.iv.reload, i64 %21, i64 %3, i64 %2, i64 %1)\n store i64 %indvars.iv.reload, i64* %rsi.1.reg2mem\n br label LBL_8\n LBL_8:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rsi.1.reload, i64* %rsi.26.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_6\n LBL_9:\n %27 = call i64 @FUNC(i64* nonnull @gv_8)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 %rsi.1.reload, i64* %rsi.3.reg2mem\n br i1 %29, label LBL_11, label LBL_10\n LBL_10:\n %30 = load [17 x i8]*, [17 x i8]** @gv_9, align 8\n %31 = ptrtoint [17 x i8]* %30 to i64\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_10, i64 0, i64 0), i64 %31, i64 %21, i64 %3, i64 %2, i64 %1)\n store i64 %31, i64* %rsi.3.reg2mem\n br label LBL_11\n LBL_11:\n %rsi.3.reload = load i64, i64* %rsi.3.reg2mem\n %33 = call i64 @FUNC(i64* nonnull @gv_11)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_13, label LBL_12\n LBL_12:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_12, i64 0, i64 0), i64 %rsi.3.reload, i64 %21, i64 %3, i64 %2, i64 %1)\n br label LBL_13\n LBL_13:\n %37 = call i64 @FUNC(i64* nonnull @gv_13)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_15, label LBL_14\n LBL_14:\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_14, i64 0, i64 0), i64 %rsi.3.reload, i64 %21, i64 %3, i64 %2, i64 %1)\n br label LBL_15\n LBL_15:\n %41 = load i32, i32* @gv_15, align 4\n store i32 0, i32* @gv_15, align 4\n store i64 0, i64* %storemerge5.reg2mem\n br label LBL_16\n LBL_16:\n %42 = load i32, i32* @gv_16, align 4\n %43 = icmp eq i32 %42, -1\n br i1 %43, label LBL_18, label LBL_17\n LBL_17:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %44 = call i64 @FUNC(i64 %storemerge5.reload)\n br label LBL_18\n LBL_18:\n store i32 ptrtoint (i32* @gv_17 to i32), i32* @gv_15, align 4\n store i64 zext (i32 ptrtoint (i32* @gv_17 to i32) to i64), i64* %storemerge5.reg2mem\n br i1 icmp slt (i32 ptrtoint (i32* @gv_17 to i32), i32 2), label LBL_16, label LBL_19\n LBL_19:\n %45 = zext i32 %41 to i64\n store i32 %41, i32* @gv_15, align 4\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %41, { 1, 0 }\n uselistorder i64 %21, { 0, 1, 2, 4, 3 }\n uselistorder i64 %indvars.iv.reload, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.26.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 ptrtoint (i32* @gv_17 to i32), { 2, 0, 1 }\n uselistorder i32* @gv_15, { 3, 1, 0, 2 }\n uselistorder i64 (i64*)* @delayed_work_pending, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_info, { 3, 2, 0, 1 }\n uselistorder i32 -1, { 0, 1, 3, 2 }\n uselistorder i32* @gv_3, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @set_dor, { 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i32 0, { 0, 6, 7, 9, 8, 10, 1, 11, 12, 13, 14, 2, 3, 4, 5 }\n uselistorder i32 1, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 0, 6, 5, 4, 3, 2, 1, 17 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bson_finish_13415", "fun_name": "bson_finish", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %4, i64 1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, -1\n %13 = icmp eq i1 %12, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n %14 = call i64 @FUNC(i64 %4, i64 0)\n %15 = add i64 %4, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %4, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = sub i64 %17, %20\n %22 = trunc i64 %21 to i32\n store i32 %22, i32* %sv_0, align 4\n %23 = call i64 @FUNC(i64 %20, i32* nonnull %sv_0)\n store i32 1, i32* %6, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_4, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "line_eq_8563", "fun_name": "line_eq", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i128 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load i64, i64* @gv_1, align 8\n %6 = call i128 @__asm_movsd.1(i64 %5)\n %7 = load i64, i64* @gv_0, align 8\n %8 = call i128 @__asm_movsd.1(i64 %7)\n %9 = call i128 @FUNC(i128 %6, i128 %8)\n %10 = call i64 @FUNC(i128 %9)\n store i64 %10, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_2:\n %11 = load i64, i64* @gv_2, align 8\n %12 = call i128 @FUNC(i64 %11)\n %13 = call i64 @FUNC()\n %14 = trunc i64 %13 to i8\n %15 = icmp eq i8 %14, 1\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = load i64, i64* @gv_3, align 8\n %17 = call i128 @__asm_movsd.1(i64 %16)\n %18 = load i64, i64* @gv_2, align 8\n %19 = call i128 @__asm_movsd.1(i64 %18)\n %20 = call i128 @FUNC(i128 %17, i128 %19)\n %21 = call i64 @FUNC(i128 %20)\n store i64 %21, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_4:\n %22 = load i64, i64* @gv_4, align 8\n %23 = call i128 @FUNC(i64 %22)\n %24 = call i64 @FUNC()\n %25 = trunc i64 %24 to i8\n %26 = icmp eq i8 %25, 1\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = load i64, i64* @gv_5, align 8\n %28 = call i128 @__asm_movsd.1(i64 %27)\n %29 = load i64, i64* @gv_4, align 8\n %30 = call i128 @__asm_movsd.1(i64 %29)\n %31 = call i128 @FUNC(i128 %28, i128 %30)\n %32 = call i64 @FUNC(i128 %31)\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %33 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %34 = call i64 @FUNC(i128 %33)\n store i64 %34, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %35 = load i64, i64* @gv_0, align 8\n %36 = call i128 @__asm_movsd.1(i64 %35)\n %37 = call i128 @FUNC(i128 %36, i64 %sv_0.0.reload)\n %38 = load i64, i64* @gv_1, align 8\n %39 = call i128 @FUNC(i128 %37)\n %40 = call i128 @FUNC(i64 %38)\n %41 = call i64 @FUNC()\n %42 = trunc i64 %41 to i8\n %43 = icmp eq i8 %42, 0\n br i1 %43, label LBL_10, label LBL_8\n LBL_8:\n %44 = load i64, i64* @gv_2, align 8\n %45 = call i128 @__asm_movsd.1(i64 %44)\n %46 = call i128 @FUNC(i128 %45, i64 %sv_0.0.reload)\n %47 = load i64, i64* @gv_3, align 8\n %48 = call i128 @FUNC(i128 %46)\n %49 = call i128 @FUNC(i64 %47)\n %50 = call i64 @FUNC()\n %51 = trunc i64 %50 to i8\n %52 = icmp eq i8 %51, 0\n br i1 %52, label LBL_10, label LBL_9\n LBL_9:\n %53 = load i64, i64* @gv_4, align 8\n %54 = call i128 @__asm_movsd.1(i64 %53)\n %55 = call i128 @FUNC(i128 %54, i64 %sv_0.0.reload)\n %56 = load i64, i64* @gv_5, align 8\n %57 = call i128 @FUNC(i128 %55)\n %58 = call i128 @FUNC(i64 %56)\n %59 = call i64 @FUNC()\n %60 = trunc i64 %59 to i8\n %61 = icmp eq i8 %60, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %61, label LBL_10, label LBL_11\n LBL_10:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i64 ()* @FPeq, { 2, 1, 0 }\n uselistorder i64 ()* @FPzero, { 2, 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 3, 1, 4, 2, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pcie_host_mmcfg_init_15501", "fun_name": "pcie_host_mmcfg_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg2, 4294967295\n %3 = and i64 %2, %arg2\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = trunc i64 %arg2 to i32\n %7 = icmp ult i32 %6, 4096\n br i1 %7, label LBL_3, label LBL_4\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 25, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_4:\n %8 = icmp ult i32 %6, 1048577\n br i1 %8, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = bitcast i64* %arg1 to i32*\n store i32 %6, i32* %10, align 4\n %11 = call i64 @FUNC(i64 %9)\n %12 = add i64 %9, 8\n %13 = and i64 %1, 4294967295\n %14 = call i64 @FUNC(i64 %12, i64 %11, i64* nonnull @gv_5, i64 %9, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i64 %13)\n ret i64 %14\n\n uselistorder i64 %9, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qed_dcbnl_get_dcbx_3790", "fun_name": "qed_dcbnl_get_dcbx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = inttoptr i64 %0 to i64*\n %5 = call i64* @memset(i64* %4, i32 0, i32 4)\n %6 = trunc i64 %arg2 to i32\n %7 = call i64 @FUNC(i64 %3, i64 %0, i32 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %11 = icmp eq i32 %6, 1\n %12 = icmp eq i1 %11, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_4\n LBL_4:\n %13 = inttoptr i64 %0 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n %18 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 3, 1, 4, 0, 2, 6, 5, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 4, 3 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_6, { 3, 1, 0, 4, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cp2112_functionality_8452", "fun_name": "cp2112_functionality", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n ret i64 255\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "encode_init_928", "fun_name": "encode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %3, 40\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %3, i64* %7, align 8\n %8 = bitcast i64* %rdi to i32*\n %9 = load i32, i32* %8, align 8\n %10 = icmp slt i32 %9, 3\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %13 = add i64 %3, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp sgt i32 %15, 23999\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = zext i32 %15 to i64\n %18 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_4:\n %19 = add i64 %3, 32\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 1\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 4)\n %27 = add i64 %3, 12\n %28 = inttoptr i64 %27 to i32*\n store i32 4, i32* %28, align 4\n %29 = inttoptr i64 %26 to i8*\n store i8 0, i8* %29, align 1\n %30 = add i64 %26, 1\n %31 = inttoptr i64 %30 to i8*\n store i8 0, i8* %31, align 1\n %32 = add i64 %26, 2\n %33 = inttoptr i64 %32 to i8*\n store i8 1, i8* %33, align 1\n %34 = add i64 %26, 3\n %35 = inttoptr i64 %34 to i8*\n store i8 0, i8* %35, align 1\n store i64 %26, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %36 = icmp eq i32 %23, 2\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_8, label LBL_7\n LBL_7:\n %38 = call i64 @FUNC(i64 10)\n %39 = add i64 %3, 12\n %40 = inttoptr i64 %39 to i32*\n store i32 10, i32* %40, align 4\n %41 = inttoptr i64 %38 to i8*\n store i8 0, i8* %41, align 1\n %42 = add i64 %38, 1\n %43 = inttoptr i64 %42 to i8*\n store i8 0, i8* %43, align 1\n %44 = add i64 %38, 2\n %45 = inttoptr i64 %44 to i8*\n store i8 0, i8* %45, align 1\n %46 = add i64 %38, 3\n %47 = inttoptr i64 %46 to i8*\n store i8 0, i8* %47, align 1\n %48 = add i64 %38, 4\n %49 = inttoptr i64 %48 to i8*\n store i8 1, i8* %49, align 1\n %50 = add i64 %38, 5\n %51 = inttoptr i64 %50 to i8*\n store i8 0, i8* %51, align 1\n store i64 %38, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i32 110, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %52 = add i64 %3, 16\n %53 = inttoptr i64 %52 to i64*\n store i64 %sv_0.0.reload, i64* %53, align 8\n %54 = add i64 %6, 24\n %55 = inttoptr i64 %54 to i32*\n store i32 1, i32* %55, align 4\n %56 = add i64 %6, 28\n %57 = inttoptr i64 %56 to i32*\n store i32 0, i32* %57, align 4\n %58 = add i64 %6, 32\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n %60 = call i64 @FUNC(i64 %3, i64 1)\n %61 = add i64 %6, 8\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = icmp eq i32 %63, 0\n br i1 %64, label LBL_12, label LBL_10\n LBL_10:\n %65 = add i64 %6, 40\n %66 = inttoptr i64 %65 to i32*\n %67 = add i64 %6, 16\n %68 = inttoptr i64 %67 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %69 = load i32, i32* %66, align 4\n %70 = sub i32 1, %storemerge2.reload\n %71 = add i32 %70, %69\n %72 = zext i32 %71 to i64\n %73 = load i64, i64* %68, align 8\n %74 = mul i64 %.reload, 4\n %75 = add i64 %73, %74\n %76 = call i128 @FUNC(i64 4607182418800017408)\n %77 = call i64 @FUNC(i64 %75, i64 %72, i64 0)\n %78 = add i32 %storemerge2.reload, 1\n %79 = load i32, i32* %62, align 4\n %80 = zext i32 %79 to i64\n %81 = sext i32 %78 to i64\n %82 = icmp slt i64 %81, %80\n store i64 %81, i64* %.reg2mem\n store i32 %78, i32* %storemerge2.reg2mem\n br i1 %82, label LBL_11, label LBL_12\n LBL_12:\n %83 = load i32, i32* %14, align 4\n %84 = add i64 %6, 12\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = sext i32 %86 to i64\n %88 = sext i32 %83 to i64\n %89 = mul nsw i64 %87, %88\n %90 = add i64 %3, 8\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = mul i32 %92, 8\n %94 = sext i32 %93 to i64\n %95 = udiv i64 %89, %94\n %96 = trunc i64 %95 to i32\n %97 = add i64 %6, 36\n %98 = inttoptr i64 %97 to i32*\n %99 = add i32 %96, -65536\n %100 = sub i32 65535, %96\n %101 = and i32 %100, %96\n %102 = icmp slt i32 %101, 0\n %103 = icmp eq i32 %99, 0\n %104 = icmp slt i32 %99, 0\n %105 = icmp ne i1 %104, %102\n %106 = or i1 %103, %105\n %107 = select i1 %106, i32 %96, i32 65536\n store i32 %107, i32* %98, align 4\n %108 = add i64 %3, 24\n %109 = inttoptr i64 %108 to i32*\n store i32 %107, i32* %109, align 4\n %110 = load i32, i32* %91, align 4\n %111 = sext i32 %110 to i64\n %112 = sext i32 %107 to i64\n %113 = mul i64 %111, 8\n %114 = mul i64 %113, %112\n %115 = load i32, i32* %85, align 4\n %116 = sext i32 %115 to i64\n %117 = udiv i64 %114, %116\n %118 = trunc i64 %117 to i32\n store i32 %118, i32* %14, align 4\n %119 = load i32, i32* %85, align 4\n %120 = add i64 %3, 28\n %121 = inttoptr i64 %120 to i32*\n store i32 %119, i32* %121, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %99, { 1, 0 }\n uselistorder i32 %96, { 1, 3, 0, 2 }\n uselistorder i32* %62, { 1, 0 }\n uselistorder i64 %6, { 4, 3, 2, 1, 0, 5, 6, 7, 8 }\n uselistorder i64 %3, { 1, 2, 3, 4, 5, 6, 0, 7, 9, 8, 10, 11, 12 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 5, 6, 7, 0, 1, 2, 3, 4 }\n uselistorder i8 0, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8 }\n uselistorder i64 4, { 0, 2, 1, 3 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "write_cb_12038", "fun_name": "write_cb", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg4 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = mul i64 %arg3, %arg2\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %2, 1\n %7 = add i64 %6, %5\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %12 = trunc i64 %2 to i32\n store i64 %8, i64* %arg4, align 8\n %13 = load i64, i64* %4, align 8\n %14 = add i64 %13, %0\n %15 = inttoptr i64 %14 to i64*\n %16 = inttoptr i64 %arg1 to i64*\n %17 = call i64* @memcpy(i64* %15, i64* %16, i32 %12)\n %18 = load i64, i64* %4, align 8\n %sext = mul i64 %2, 4294967296\n %19 = ashr exact i64 %sext, 32\n %20 = add i64 %18, %19\n store i64 %20, i64* %4, align 8\n %21 = add i64 %20, %14\n %22 = inttoptr i64 %21 to i8*\n store i8 0, i8* %22, align 1\n ret i64 %19\n\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64* %4, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64 %0, { 0, 3, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "free_bprm_13710", "fun_name": "free_bprm", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %arg1, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %4)\n br label LBL_2\n LBL_2:\n %7 = add i64 %arg1, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %arg1, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %9, %12\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %9)\n br label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %arg1)\n ret i64 %15\n\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_sasl_client_cleanup_3080", "fun_name": "vnc_sasl_client_cleanup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %0, 12\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %11, align 8\n %12 = add i64 %0, 40\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = add i64 %0, 48\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 56\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n store i64 0, i64* %19, align 8\n store i64 0, i64* %15, align 8\n %22 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xhci_port_reset_8308", "fun_name": "xhci_port_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = urem i64 %arg2, 256\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %6 = call i64 @FUNC(i64 %2)\n %7 = and i64 %6, 4294967295\n %8 = xor i64 %7, 1\n %9 = trunc i64 %8 to i8\n %10 = icmp eq i8 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %11, label LBL_8, label LBL_1\n LBL_1:\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = load i64, i64* %13, align 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp sgt i32 %22, 2\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = icmp slt i32 %22, 0\n %25 = icmp eq i1 %24, false\n store i64 %4, i64* %.pre-phi.reg2mem\n br i1 %25, label LBL_6, label LBL_7\n LBL_3:\n %26 = icmp eq i32 %22, 3\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_4\n LBL_4:\n %28 = trunc i64 %arg2 to i8\n %29 = icmp eq i8 %28, 0\n store i64 %4, i64* %.pre-phi.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = bitcast i64* %rdi to i32*\n %31 = add i64 %2, 4\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = or i32 %33, 1\n store i32 %34, i32* %32, align 4\n %.pre = load i32, i32* %30, align 8\n %.pre2 = zext i32 %.pre to i64\n store i64 %.pre2, i64* %.pre-phi.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %35 = add i64 %2, 4\n %36 = call i64 @FUNC(i64 %35, i64 0, i64 16)\n %37 = call i64 @FUNC(i64 %.pre-phi.reload, i64 0)\n %38 = inttoptr i64 %35 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = or i32 %39, 2\n store i32 %40, i32* %38, align 4\n br label LBL_7\n LBL_7:\n %41 = add i64 %2, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = and i32 %43, -5\n store i32 %44, i32* %42, align 4\n %45 = call i64 @FUNC(i64 %2, i64 8)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %2, { 2, 3, 1, 0, 4, 5 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1, 3, 4, 5, 6 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dvb_ca_ioctl_6611", "fun_name": "dvb_ca_ioctl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = call i64 @FUNC(i64 8, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %3)\n %6 = and i64 %4, 4294967295\n store i64 %6, i64* @0, align 8\n %trunc = trunc i64 %4 to i32\n %7 = trunc i64 %1 to i32\n store i64 4294967274, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_10 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_9\n i32 5, label LBL_9\n i32 6, label LBL_5\n i32 7, label LBL_6\n ]\n LBL_1:\n %8 = add i64 %3, 8\n %9 = call i64 @FUNC(i64 %3, i64 %3, i64 %2, i64 %8)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %10 = add i64 %3, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n store i64 2, i64* %arg3, align 8\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 16, i64* %16, align 8\n br label LBL_9\n LBL_3:\n %17 = icmp ult i32 %7, 2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_10\n LBL_4:\n %18 = bitcast i64* %rdx to i32*\n %sext4 = mul i64 %1, 4294967296\n %19 = ashr exact i64 %sext4, 29\n %20 = add i64 %3, 8\n %21 = add i64 %19, %20\n %22 = inttoptr i64 %21 to i32*\n store i32 %7, i32* %22, align 4\n %23 = add i64 %3, 24\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %.3 = select i1 %29, i32 9, i32 8\n %30 = load i32, i32* %18, align 8\n %31 = sext i32 %30 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %3, 12\n %34 = add i64 %33, %32\n %35 = inttoptr i64 %34 to i32*\n store i32 %.3, i32* %35, align 4\n %36 = load i32, i32* %18, align 8\n %37 = sext i32 %36 to i64\n %38 = mul i64 %37, 8\n %39 = add i64 %38, %20\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n store i64 %41, i64* %arg3, align 8\n br label LBL_9\n LBL_5:\n store i64 16, i64* %arg3, align 8\n br label LBL_9\n LBL_6:\n %42 = icmp slt i32 %7, 16\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %42, label LBL_7, label LBL_10\n LBL_7:\n %43 = add i64 %2, 4\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = icmp slt i32 %45, 2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %46, label LBL_8, label LBL_10\n LBL_8:\n %47 = add i64 %2, 8\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = zext i8 %49 to i64\n %51 = mul i64 %50, 256\n %52 = add i64 %2, 9\n %53 = inttoptr i64 %52 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = zext i8 %54 to i64\n %56 = or i64 %51, %55\n %57 = mul i32 %7, 256\n %58 = or i32 %45, %57\n %59 = zext i32 %58 to i64\n %60 = call i64 @FUNC(i64 %3, i64 12, i64 13, i64 5, i64 %59, i64 %56)\n br label LBL_9\n LBL_9:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %7, { 0, 3, 2, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 7, 4, 5, 6, 3, 0, 2, 1, 8 }\n uselistorder i64 %2, { 3, 4, 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 3, 4, 5, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64)* @FW_CI_LL_SUPPORT, { 1, 0 }\n uselistorder i32 2, { 1, 0, 2 }\n uselistorder i64 4294967274, { 1, 2, 3, 0 }\n uselistorder i64 8, { 3, 0, 1, 4, 5, 6, 2 }\n uselistorder i64* %arg3, { 2, 1, 0, 3 }\n uselistorder label LBL_10, { 4, 1, 2, 3, 5, 0 }\n uselistorder label LBL_9, { 2, 3, 4, 5, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sco_conn_add_9571", "fun_name": "sco_conn_add", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = trunc i64 %arg2 to i8\n %6 = icmp eq i8 %5, 0\n %or.cond = icmp eq i1 %6, %4\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_3\n LBL_1:\n %7 = call i64 @FUNC(i64 40, i64 0)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = add i64 %7, 8\n %11 = call i64 @FUNC(i64 %10)\n store i64 %7, i64* %2, align 8\n %12 = inttoptr i64 %7 to i64*\n store i64 %0, i64* %12, align 8\n %13 = add i64 %7, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 %0, i64* %14, align 8\n %15 = add i64 %0, 8\n %16 = add i64 %7, 24\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = inttoptr i64 %15 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp slt i32 %19, 1\n %21 = add i64 %7, 32\n %22 = inttoptr i64 %21 to i32*\n %. = select i1 %20, i32 60, i32 %19\n store i32 %., i32* %22, align 4\n %23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64* %12)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 1, 2, 3, 4, 6, 5, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "o_stream_send_5296", "fun_name": "o_stream_send", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = icmp eq i64 %arg3, 0\n %6 = icmp eq i1 %5, false\n %. = select i1 %6, i64 %0, i64 0\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_parse_dns_reply_12288", "fun_name": "_parse_dns_reply", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.121.reg2mem = alloca i64\n %storemerge22.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.026.reg2mem = alloca i64\n %storemerge127.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 12\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i16*\n %4 = load i16, i16* %3, align 2\n %5 = call i16 @ntohs(i16 %4)\n %6 = icmp eq i16 %5, 0\n store i32 0, i32* %storemerge127.reg2mem\n store i64 %1, i64* %sv_0.026.reg2mem\n store i64 %1, i64* %sv_0.0.lcssa.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %sv_0.026.reload = load i64, i64* %sv_0.026.reg2mem\n %7 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %sv_0.026.reload)\n %8 = icmp slt i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_16\n LBL_2:\n %storemerge127.reload = load i32, i32* %storemerge127.reg2mem\n %10 = add i64 %sv_0.026.reload, 4\n %11 = add i64 %10, %7\n %12 = add nuw nsw i32 %storemerge127.reload, 1\n %13 = load i16, i16* %3, align 2\n %14 = call i16 @ntohs(i16 %13)\n %15 = zext i16 %14 to i32\n %16 = icmp ult i32 %12, %15\n store i32 %12, i32* %storemerge127.reg2mem\n store i64 %11, i64* %sv_0.026.reg2mem\n store i64 %11, i64* %sv_0.0.lcssa.reg2mem\n br i1 %16, label LBL_1, label LBL_3\n LBL_3:\n %17 = add i64 %0, 6\n %18 = inttoptr i64 %17 to i16*\n %19 = load i16, i16* %18, align 2\n %20 = call i16 @ntohs(i16 %19)\n %21 = icmp eq i16 %20, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, label LBL_16, label LBL_4\n LBL_4:\n %22 = add i64 %0, %arg2\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %23 = icmp eq i32 %arg4, 10\n %24 = icmp eq i32 %arg4, 2\n store i32 0, i32* %storemerge22.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.121.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.121.reload = load i64, i64* %sv_0.121.reg2mem\n %25 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %sv_0.121.reload)\n %26 = icmp slt i64 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %25, i64* %rax.0.reg2mem\n br i1 %27, label LBL_6, label LBL_16\n LBL_6:\n %28 = add i64 %25, %sv_0.121.reload\n %29 = add i64 %28, 8\n %30 = icmp ugt i64 %22, %29\n store i64 4294967222, i64* %rax.0.reg2mem\n br i1 %30, label LBL_7, label LBL_16\n LBL_7:\n %storemerge22.reload = load i32, i32* %storemerge22.reg2mem\n %31 = call i64 @FUNC(i64 %28)\n %32 = trunc i64 %31 to i16\n %33 = call i16 @ntohs(i16 %32)\n %34 = add i64 %28, 2\n %35 = call i64 @FUNC(i64 %34)\n %36 = trunc i64 %35 to i16\n %37 = call i16 @ntohs(i16 %36)\n %38 = call i64 @FUNC(i64 %29)\n %39 = trunc i64 %38 to i16\n %40 = call i16 @ntohs(i16 %39)\n %41 = icmp eq i16 %37, 1\n %42 = icmp eq i1 %41, false\n %43 = icmp eq i16 %33, 1\n %or.cond = icmp eq i1 %23, %43\n %or.cond44 = or i1 %or.cond, %42\n %44 = icmp eq i16 %33, 28\n %or.cond4 = icmp eq i1 %24, %44\n %or.cond45 = or i1 %or.cond4, %or.cond44\n br i1 %or.cond45, label LBL_9, label LBL_8\n LBL_8:\n switch i16 %33, label LBL_9 [\n i16 28, label LBL_11\n i16 1, label LBL_11\n ]\n LBL_9:\n %45 = zext i16 %40 to i64\n %46 = icmp ugt i64 %45, %arg2\n %47 = icmp eq i1 %46, false\n store i64 4294967222, i64* %rax.0.reg2mem\n br i1 %47, label LBL_10, label LBL_16\n LBL_10:\n %48 = add i64 %29, %45\n %49 = add nuw nsw i32 %storemerge22.reload, 1\n %50 = load i16, i16* %18, align 2\n %51 = call i16 @ntohs(i16 %50)\n %52 = zext i16 %51 to i32\n %53 = icmp ult i32 %49, %52\n store i32 %49, i32* %storemerge22.reg2mem\n store i64 %48, i64* %sv_0.121.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %53, label LBL_5, label LBL_16\n LBL_11:\n %54 = icmp ne i16 %40, 4\n %or.cond8 = icmp eq i1 %24, %54\n %55 = icmp ne i16 %40, 16\n %or.cond10 = icmp eq i1 %23, %55\n %or.cond13 = or i1 %or.cond8, %or.cond10\n store i64 4294967222, i64* %rax.0.reg2mem\n br i1 %or.cond13, label LBL_16, label LBL_12\n LBL_12:\n switch i16 %40, label LBL_13 [\n i16 16, label LBL_14\n i16 4, label LBL_14\n ]\n LBL_13:\n %56 = icmp eq i32 %arg4, 0\n %57 = icmp eq i1 %56, false\n store i64 4294967222, i64* %rax.0.reg2mem\n br i1 %57, label LBL_14, label LBL_16\n LBL_14:\n %58 = add i64 %28, 10\n %59 = zext i16 %40 to i64\n %60 = add i64 %58, %59\n %61 = icmp ugt i64 %22, %60\n store i64 4294967222, i64* %rax.0.reg2mem\n br i1 %61, label LBL_15, label LBL_16\n LBL_15:\n %62 = zext i16 %40 to i32\n %63 = inttoptr i64 %arg3 to i64*\n %64 = inttoptr i64 %58 to i64*\n %65 = call i64* @memcpy(i64* %63, i64* %64, i32 %62)\n store i64 %59, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %58, { 1, 0 }\n uselistorder i16 %40, { 4, 2, 0, 1, 3, 5 }\n uselistorder i16 %33, { 2, 0, 1 }\n uselistorder i64 %28, { 0, 2, 1, 3 }\n uselistorder i64 %25, { 1, 0, 2 }\n uselistorder i64 %sv_0.121.reload, { 1, 0 }\n uselistorder i16* %18, { 1, 0 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i16* %3, { 1, 0 }\n uselistorder i64 %0, { 0, 4, 1, 2, 3, 5 }\n uselistorder i32* %storemerge127.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.026.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.121.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 10, 7, 8, 9, 5, 4, 3, 2, 6, 1 }\n uselistorder i16 28, { 1, 0 }\n uselistorder i16 1, { 1, 0, 2 }\n uselistorder i64 (i64)* @_get_short, { 2, 1, 0 }\n uselistorder i64 4294967222, { 2, 3, 4, 1, 0 }\n uselistorder i64 0, { 2, 3, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @_skip_hostname, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i16 (i16)* @ntohs, { 6, 4, 3, 2, 1, 5, 0 }\n uselistorder i32 %arg4, { 2, 1, 0 }\n uselistorder i64 %arg2, { 0, 1, 3, 2 }\n uselistorder label LBL_16, { 9, 6, 7, 8, 4, 3, 2, 1, 5, 0 }\n uselistorder label LBL_14, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lock_rename_9353", "fun_name": "lock_rename", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, %arg2\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg1, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %arg2, i64 %arg1)\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %arg1, i64 0)\n %10 = call i64 @FUNC(i64 %arg1, i64 1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %11 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %12 = call i64 @FUNC(i64 %arg1, i64 0)\n %13 = call i64 @FUNC(i64 0, i64 1)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 (i64, i64)* @d_ancestor, { 1, 0 }\n uselistorder i64 (i64, i64)* @mutex_lock_nested, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 3, 1, 0, 4, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "f2fs_inode_synced_9850", "fun_name": "f2fs_inode_synced", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %arg1, i64 1)\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1)\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 1\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %0, i64 3)\n br label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %arg1, i64 1)\n %14 = call i64 @FUNC(i64 %arg1, i64 2)\n %15 = call i64 @FUNC(i64 %arg1)\n %16 = call i64 @FUNC(i64 %15, i64 0)\n %17 = call i64 @FUNC(i64 %0)\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @clear_inode_flag, { 1, 0 }\n uselistorder i64 (i64)* @F2FS_I, { 1, 0 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i64 1, { 2, 3, 1, 0 }\n uselistorder i64 (i64)* @F2FS_I_SB, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 1, 0, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "swapmode_4514", "fun_name": "swapmode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 0, i64 0, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_9\n LBL_1:\n %7 = mul i32 %4, 12\n %8 = call i64* @malloc(i32 %7)\n %9 = icmp eq i64* %8, null\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_9\n LBL_2:\n %11 = ptrtoint i64* %8 to i64\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i64 1, i64 %11, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, -1\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n call void @free(i64* %8)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %17 = trunc i64 %1 to i32\n %18 = trunc i64 %2 to i32\n %19 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %19, align 4\n %20 = bitcast i64* %arg2 to i32*\n store i32 %17, i32* %20, align 4\n %21 = icmp sgt i32 %4, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %21, label LBL_5, label LBL_8\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = mul nuw nsw i64 %indvars.iv.reload, 12\n %23 = add i64 %22, %11\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = urem i32 %25, 2\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = add i64 %23, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp slt i32 %30, 0\n %32 = zext i1 %31 to i32\n %33 = add i32 %30, %32\n %34 = ashr i32 %33, 1\n %35 = add i32 %34, %17\n store i32 %35, i32* %19, align 4\n %36 = add i64 %23, 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp slt i32 %38, 0\n %40 = zext i1 %39 to i32\n %41 = add i32 %38, %40\n %42 = ashr i32 %41, 1\n %43 = add i32 %42, %18\n store i32 %43, i32* %20, align 4\n br label LBL_7\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_5\n LBL_8:\n call void @free(i64* %8)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %8, { 0, 1, 3, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @swapctl, { 1, 0 }\n uselistorder label LBL_9, { 2, 3, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_divu_2770", "fun_name": "gen_divu", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = trunc i64 %1 to i32\n %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 0, i64 %4, i32 %arg4, i64 0)\n %6 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %7 = zext i32 %arg4 to i64\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %8, i64 %7, i32 %6)\n %10 = zext i32 %arg3 to i64\n %11 = zext i32 %arg2 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %10, i32 %2)\n %13 = call i64 @FUNC(i64 %8)\n %14 = call i64 @FUNC(i64 %0)\n ret i64 %14\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sctp_stream_listen_10793", "fun_name": "sctp_stream_listen", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i32 %1, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_8\n LBL_2:\n %10 = call i64 @FUNC(i64 %4)\n store i32 0, i32* %arg1, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %11 = call i64 @FUNC(i64 %0, i64 1)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_8\n LBL_4:\n %14 = inttoptr i64 %4 to i32*\n store i32 1, i32* %arg1, align 4\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %0)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n store i64 4294967285, i64* %rax.0.reg2mem\n br i1 %20, label LBL_7, label LBL_8\n LBL_6:\n %21 = call i64 @FUNC(i64 %0)\n %22 = add i64 %21, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n br label LBL_7\n LBL_7:\n %26 = add i64 %0, 4\n %27 = inttoptr i64 %26 to i32*\n store i32 %1, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 }\n uselistorder i64 (i64, i64)* @sctp_sstate, { 1, 0 }\n uselistorder i64 (i64)* @sctp_sk, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0, 2 }\n uselistorder label LBL_8, { 3, 0, 1, 4, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_sort_18778", "fun_name": "get_sort", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %.reg2mem30 = alloca i32\n %.reg2mem28 = alloca i64\n %.reg2mem26 = alloca i64\n %sv_1.168.reg2mem = alloca i32\n %sv_1.1.ph.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i8*\n %sv_1.012.reg2mem = alloca i32\n %sv_2.1.in13.reg2mem = alloca i64\n %sv_2.114.reg2mem = alloca i8*\n %.reg2mem = alloca i8\n %rax.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i64\n %sv_0.016.reg2mem = alloca i64\n %sv_4.117.reg2mem = alloca i64\n %sv_3.118.reg2mem = alloca i32\n %.in.in.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = trunc i64 %arg1 to i32\n %22 = icmp ult i32 %21, 5\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_5\n LBL_4:\n %25 = icmp eq i32 %21, 0\n %26 = icmp eq i1 %25, false\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %26, label LBL_5, label LBL_17\n LBL_5:\n %sext = mul i64 %arg1, 4294967296\n %27 = ptrtoint i64* %sv_6 to i64\n %28 = ptrtoint i64* %sv_5 to i64\n store i64 %sext, i64* %.in.in.reg2mem\n store i32 8, i32* %sv_3.118.reg2mem\n store i64 %27, i64* %sv_4.117.reg2mem\n store i64 0, i64* %sv_0.016.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.016.reload = load i64, i64* %sv_0.016.reg2mem\n %sv_4.117.reload = load i64, i64* %sv_4.117.reg2mem\n %sv_3.118.reload = load i32, i32* %sv_3.118.reg2mem\n %.in.in.reload = load i64, i64* %.in.in.reg2mem\n %29 = icmp ult i32 %sv_3.118.reload, 48\n br i1 %29, label LBL_7, label LBL_8\n LBL_7:\n %30 = zext i32 %sv_3.118.reload to i64\n %31 = add i64 %30, %28\n %32 = add i32 %sv_3.118.reload, 8\n store i64 %sv_4.117.reload, i64* %sv_4.0.reg2mem\n store i32 %32, i32* %sv_3.0.reg2mem\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %33 = add i64 %sv_4.117.reload, 8\n store i64 %33, i64* %sv_4.0.reg2mem\n store i32 %sv_3.118.reload, i32* %sv_3.0.reg2mem\n store i64 %sv_4.117.reload, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem\n %34 = inttoptr i64 %rax.0.reload to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n store i32 0, i32* %sv_1.1.ph.reg2mem\n br i1 %36, label %.thread, label LBL_10\n LBL_10:\n %sv_2.111 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %sv_2.111, align 1\n %38 = icmp eq i8 %37, 0\n %39 = icmp eq i1 %38, false\n store i8 %37, i8* %.reg2mem\n store i8* %sv_2.111, i8** %sv_2.114.reg2mem\n store i64 %35, i64* %sv_2.1.in13.reg2mem\n store i32 0, i32* %sv_1.012.reg2mem\n store i32 0, i32* %sv_1.1.ph.reg2mem\n br i1 %39, label LBL_11, label %.thread\n LBL_11:\n %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem\n %sv_2.1.in13.reload = load i64, i64* %sv_2.1.in13.reg2mem\n %sv_2.114.reload = load i8*, i8** %sv_2.114.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %40 = icmp eq i8 %.reload, 42\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_13, label LBL_12\n LBL_12:\n %42 = add i64 %sv_2.1.in13.reload, 1\n %43 = inttoptr i64 %42 to i8*\n %44 = load i8, i8* %43, align 1\n %45 = icmp eq i8 %44, 0\n store i8* %43, i8** %sv_2.0.reg2mem\n br i1 %45, label LBL_13, label LBL_14\n LBL_13:\n %46 = icmp ne i8 %.reload, 63\n %47 = icmp eq i8 %.reload, 33\n %48 = icmp eq i1 %47, false\n %or.cond = icmp eq i1 %46, %48\n store i8* %sv_2.114.reload, i8** %sv_2.0.reg2mem\n br i1 %or.cond, label LBL_14, label LBL_15\n LBL_14:\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %49 = ptrtoint i8* %sv_2.0.reload to i64\n %50 = add i64 %49, 1\n %sv_2.1 = inttoptr i64 %50 to i8*\n %51 = load i8, i8* %sv_2.1, align 1\n %52 = icmp eq i8 %51, 0\n %53 = icmp eq i1 %52, false\n store i8 %51, i8* %.reg2mem\n store i8* %sv_2.1, i8** %sv_2.114.reg2mem\n store i64 %50, i64* %sv_2.1.in13.reg2mem\n store i32 128, i32* %sv_1.012.reg2mem\n store i32 128, i32* %sv_1.1.ph.reg2mem\n br i1 %53, label LBL_11, label %.thread\n LBL_15:\n %55 = sub i64 %sv_2.1.in13.reload, %35\n %56 = trunc i64 %55 to i32\n %57 = add i32 %56, 1\n %58 = mul i64 %sv_0.016.reload, 256\n %59 = icmp eq i32 %57, 0\n %60 = icmp ult i32 %57, 127\n %. = select i1 %60, i32 %57, i32 127\n store i32 %sv_1.012.reload, i32* %sv_1.168.reg2mem\n store i64 %58, i64* %.reg2mem26\n store i64 %58, i64* %.reg2mem28\n store i32 %., i32* %.reg2mem30\n br i1 %59, label %61, label LBL_16\n LBL_16:\n %.in = add i64 %.in.in.reload, -4294967296\n %.reload31 = load i32, i32* %.reg2mem30\n %.reload29 = load i64, i64* %.reg2mem28\n %storemerge = zext i32 %.reload31 to i64\n %62 = add i64 %.reload29, %storemerge\n %63 = icmp eq i64 %.in, 0\n %64 = icmp eq i1 %63, false\n store i64 %.in, i64* %.in.in.reg2mem\n store i32 %sv_3.0.reload, i32* %sv_3.118.reg2mem\n store i64 %sv_4.0.reload, i64* %sv_4.117.reg2mem\n store i64 %62, i64* %sv_0.016.reg2mem\n store i64 %62, i64* %sv_0.0.lcssa.reg2mem\n br i1 %64, label LBL_6, label LBL_17\n LBL_17:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i8 %.reload, { 1, 2, 0 }\n uselistorder i64 %sv_2.1.in13.reload, { 1, 0 }\n uselistorder i64 %35, { 2, 0, 1, 3 }\n uselistorder i32 %sv_3.118.reload, { 0, 2, 3, 1 }\n uselistorder i64 %sv_4.117.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.016.reload, { 1, 0 }\n uselistorder i64* %.in.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.118.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_4.117.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.016.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_2.114.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.1.in13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.012.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem28, { 0, 2, 1 }\n uselistorder i32* %.reg2mem30, { 0, 2, 1 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i1 false, { 5, 4, 2, 3, 1, 0 }\n uselistorder i32 0, { 4, 0, 2, 1, 3 }\n uselistorder i8 0, { 3, 2, 0, 4, 1 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "chnl_box_size_6775", "fun_name": "chnl_box_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = bitcast i64* %rdi to i32*\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, 1\n %5 = inttoptr i64 %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = load i32, i32* %2, align 8\n %7 = icmp eq i32 %6, 1\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i32 %6, 1\n store i32 %9, i32* %5, align 4\n br label LBL_2\n LBL_2:\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = urem i32 %12, 2\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_15, label LBL_3\n LBL_3:\n %15 = load i32, i32* %2, align 8\n %16 = add i32 %15, 1\n store i32 %16, i32* %5, align 4\n %17 = add i64 %arg1, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = load i32, i32* %2, align 8\n %23 = icmp eq i32 %22, 1\n %24 = icmp eq i1 %23, false\n br i1 %21, label LBL_11, label LBL_4\n LBL_4:\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = add i32 %22, 1\n store i32 %25, i32* %5, align 4\n br label LBL_6\n LBL_6:\n %26 = add i64 %arg1, 12\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_15, label LBL_7\n LBL_7:\n %30 = add i64 %arg1, 16\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %31 = load i32, i32* %2, align 8\n %32 = add i32 %31, 1\n store i32 %32, i32* %5, align 4\n %33 = mul i64 %indvars.iv.reload, 4\n %34 = add i64 %30, %33\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 126\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = load i32, i32* %2, align 8\n %40 = add i32 %39, 3\n store i32 %40, i32* %5, align 4\n br label LBL_10\n LBL_10:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %41 = load i32, i32* %27, align 4\n %42 = zext i32 %41 to i64\n %43 = icmp ult i64 %indvars.iv.next, %42\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %43, label LBL_8, label LBL_15\n LBL_11:\n br i1 %24, label LBL_14, label LBL_12\n LBL_12:\n %44 = add i32 %22, 1\n store i32 %44, i32* %5, align 4\n %45 = add i64 %arg1, 56\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_15, label LBL_13\n LBL_13:\n %49 = load i32, i32* %2, align 8\n %50 = add i32 %49, 8\n store i32 %50, i32* %5, align 4\n br label LBL_15\n LBL_14:\n %51 = add i32 %22, 8\n store i32 %51, i32* %5, align 4\n br label LBL_15\n LBL_15:\n %52 = load i32, i32* %2, align 8\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_18, label LBL_16\n LBL_16:\n %55 = load i32, i32* %11, align 4\n %56 = and i32 %55, 2\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_18, label LBL_17\n LBL_17:\n %58 = add i32 %52, 1\n store i32 %58, i32* %5, align 4\n br label LBL_18\n LBL_18:\n ret i64 0\n\n uselistorder i32* %27, { 1, 0 }\n uselistorder i1 %24, { 1, 0 }\n uselistorder i32 %22, { 1, 2, 0, 3 }\n uselistorder i32* %5, { 8, 6, 4, 5, 2, 3, 1, 7, 0, 9 }\n uselistorder i32* %2, { 5, 2, 0, 1, 3, 4, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 0, 2, 1, 3, 4 }\n uselistorder i64 %arg1, { 2, 0, 1, 3, 4, 5 }\n uselistorder label LBL_15, { 2, 3, 4, 0, 1, 5 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_phys_chunk_405", "fun_name": "decode_phys_chunk", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = urem i64 %3, 2\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %9 = ptrtoint i32* %arg2 to i64\n %10 = add i64 %9, 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = bitcast i64* %arg1 to i32*\n store i32 %12, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %10)\n %15 = trunc i64 %14 to i32\n %16 = add i64 %5, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = bitcast i64* %rdi to i32*\n %19 = load i32, i32* %18, align 8\n %20 = icmp sgt i32 %19, -1\n %21 = icmp slt i32 %15, 0\n %22 = icmp eq i1 %21, false\n %or.cond = icmp eq i1 %20, %22\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n store i32 0, i32* %13, align 4\n store i32 1, i32* %17, align 4\n br label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %10, i64 1)\n %24 = call i64 @FUNC(i64 %10, i64 4)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %10, { 1, 0, 2, 3 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @bytestream2_skip, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 (i64)* @bytestream2_get_be32, { 1, 0 }\n uselistorder i64 0, { 0, 4, 2, 3, 1, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_alloc_1422", "fun_name": "qemu_chr_alloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 8)\n %5 = inttoptr i64 %4 to i32*\n %6 = add i64 %4, 4\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_1\n LBL_1:\n %12 = add i64 %3, 12\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = add i64 %3, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n store i64 1089, i64* %storemerge2.reg2mem\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n store i64 577, i64* %storemerge2.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %20 = call i64 @FUNC(i64 %6, i64 %storemerge2.reload, i64 438)\n %21 = trunc i64 %20 to i32\n store i32 %21, i32* %5, align 4\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %23, label LBL_7, label LBL_5\n LBL_5:\n %24 = ptrtoint i64* %arg2 to i64\n %25 = call i32* @__errno_location()\n %26 = load i32, i32* %25, align 4\n %27 = call i64 @FUNC(i64 %24, i32 %26, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %2, i64 %1)\n %28 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n store i32 -1, i32* %5, align 4\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %5, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 0, 4, 3 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "restore_fpu_state_16192", "fun_name": "restore_fpu_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i32, i32* %0\n %4 = add i64 %1, 256\n %5 = add i64 %2, 256\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i64 %4)\n %9 = trunc i64 %8 to i32\n %10 = or i32 %3, %9\n %11 = zext i32 %10 to i64\n ret i64 %11\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cmd_input_size_9527", "fun_name": "cmd_input_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n store i64 %1, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n %trunc.off = add i32 %trunc, -1\n %switch = icmp ult i32 %trunc.off, 22\n %2 = urem i64 %0, 65536\n %spec.select = select i1 %switch, i64 4, i64 %2\n ret i64 %spec.select\n\n uselistorder i64 %0, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_percpu_info_9988", "fun_name": "init_percpu_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %5 = add i64 %0, 4\n %6 = call i64 @FUNC(i64 %5, i64 0, i64 0)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @percpu_counter_init, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "PasswordFromFile_4822", "fun_name": "PasswordFromFile", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i8, align 1\n %5 = load i32, i32* %1\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %6 = icmp eq i64 %arg5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_17, label LBL_1\n LBL_1:\n %7 = trunc i64 %2 to i8\n %8 = icmp eq i8 %7, 0\n %9 = icmp eq i64 %arg3, 0\n %or.cond = or i1 %9, %8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_17, label LBL_2\n LBL_2:\n %10 = trunc i64 %3 to i8\n %11 = trunc i64 %4 to i8\n %12 = icmp ne i8 %10, 0\n %13 = icmp ne i64 %arg4, 0\n %or.cond6.not = icmp eq i1 %13, %12\n %14 = icmp eq i8 %11, 0\n %15 = icmp eq i1 %14, false\n %or.cond8 = icmp eq i1 %or.cond6.not, %15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond8, label LBL_3, label LBL_17\n LBL_3:\n %16 = inttoptr i64 %arg5 to i8*\n %17 = bitcast i64* %sv_1 to %stat*\n %18 = call i32 @stat(i8* %16, %stat* nonnull %17)\n %19 = icmp eq i32 %18, -1\n %20 = icmp eq i1 %19, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_4, label LBL_17\n LBL_4:\n %21 = urem i32 %5, 64\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @gv_0, i64 0, i64 0))\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %25 = inttoptr i64 %23 to i8*\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* %25)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_6:\n %27 = call %_IO_FILE* @fopen(i8* %16, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))\n %28 = icmp eq %_IO_FILE* %27, null\n %29 = icmp eq i1 %28, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_7, label LBL_17\n LBL_7:\n %30 = call i32 @feof(%_IO_FILE* %27)\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_8, label LBL_16\n LBL_8:\n %32 = ptrtoint i64* %sv_2 to i64\n %33 = icmp eq i64 %arg1, 0\n %34 = icmp eq i1 %33, false\n %35 = icmp eq i64 %arg2, 0\n %36 = icmp eq i1 %35, false\n %37 = add i64 %32, -289\n %38 = select i1 %34, i64 %arg1, i64 ptrtoint ([10 x i8]* @gv_3 to i64)\n %39 = ptrtoint i8* %sv_0 to i64\n %40 = select i1 %36, i64 %arg2, i64 ptrtoint ([5 x i8]* @gv_4 to i64)\n br label LBL_9\n LBL_9:\n %41 = call i8* @fgets(i8* nonnull %sv_0, i32 255, %_IO_FILE* %27)\n %42 = load i8, i8* %sv_0, align 1\n %43 = icmp eq i8 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_10, label LBL_11\n LBL_10:\n %45 = call i32 @strlen(i8* nonnull %sv_0)\n %46 = sext i32 %45 to i64\n %47 = add i64 %37, %46\n %48 = inttoptr i64 %47 to i8*\n store i8 0, i8* %48, align 1\n %49 = call i64 @FUNC(i64 %39, i64 %38)\n %50 = icmp eq i64 %49, 0\n br i1 %50, label LBL_11, label LBL_12\n LBL_11:\n %51 = call i32 @feof(%_IO_FILE* %27)\n %52 = icmp eq i32 %51, 0\n br i1 %52, label LBL_9, label LBL_16\n LBL_12:\n %53 = call i64 @FUNC(i64 %49, i64 %40)\n %54 = icmp eq i64 %53, 0\n br i1 %54, label LBL_11, label LBL_13\n LBL_13:\n %55 = call i64 @FUNC(i64 %53, i64 %arg3)\n %56 = icmp eq i64 %55, 0\n br i1 %56, label LBL_11, label LBL_14\n LBL_14:\n %57 = call i64 @FUNC(i64 %55, i64 %arg4)\n %58 = icmp eq i64 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_15, label LBL_11\n LBL_15:\n %60 = inttoptr i64 %57 to i8*\n %61 = call i8* @strdup(i8* %60)\n %62 = ptrtoint i8* %61 to i64\n %63 = call i32 @fclose(%_IO_FILE* %27)\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %64 = call i32 @fclose(%_IO_FILE* %27)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder %_IO_FILE* %27, { 1, 2, 4, 3, 0, 5 }\n uselistorder i8* %sv_0, { 3, 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 8, 1, 6, 2, 3, 5, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @pwdfMatchesString, { 3, 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*)* @feof, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i1 false, { 1, 2, 5, 6, 3, 4, 0, 7 }\n uselistorder i8 0, { 4, 5, 0, 1, 2, 3 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_17, { 6, 5, 2, 7, 3, 0, 1, 4 }\n uselistorder label LBL_11, { 4, 2, 1, 0, 3 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "OBJ_create_17713", "fun_name": "OBJ_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %arg3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_3:\n %8 = call i64 @FUNC(i64 %arg1, i64 1)\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %13 = inttoptr i64 %8 to i32*\n %14 = call i64 @FUNC(i64 1)\n %15 = trunc i64 %14 to i32\n store i32 %15, i32* %13, align 4\n %16 = add i64 %8, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %arg2, i64* %17, align 8\n %18 = add i64 %8, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %arg3, i64* %19, align 8\n %20 = call i64 @FUNC(i64 %8)\n store i64 0, i64* %17, align 8\n store i64 0, i64* %19, align 8\n %phitmp = and i64 %20, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %21 = call i64 @FUNC(i64 %8)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 3, 0, 1, 2, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @OBJerr, { 1, 0 }\n uselistorder i64 1, { 2, 3, 4, 5, 0, 1 }\n uselistorder i32 1, { 3, 2, 1, 0, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vtd_handle_gcmd_qie_1489", "fun_name": "vtd_handle_gcmd_qie", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i8\n %2 = call i64 @FUNC(i64 %0, i64 0)\n %3 = urem i64 %arg2, 256\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp eq i8 %1, 0\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = trunc i64 %2 to i32\n %7 = mul i64 %2, 4294967296\n %sext = ashr exact i64 %7, 32\n %8 = and i64 %sext, -4096\n store i64 %8, i64* %arg1, align 8\n %9 = add i32 %6, 8\n %10 = urem i32 %9, 64\n %11 = icmp eq i32 %10, 0\n %12 = zext i32 %10 to i64\n %13 = shl i64 1, %12\n %storemerge = select i1 %11, i64 1, i64 %13\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %storemerge, i64* %15, align 8\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i8*\n store i8 1, i8* %17, align 1\n %18 = load i64, i64* %15, align 8\n %19 = call i64 @FUNC(i64 %3, i64 %18)\n %20 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 1)\n %21 = add i64 %0, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_7, label LBL_2\n LBL_2:\n %25 = call i64 @FUNC(i64 %23)\n %26 = call i64 @FUNC(i64 %0, i64 3)\n %27 = urem i64 %26, 2\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %27, i64* %rax.0.reg2mem\n br i1 %29, label LBL_7, label LBL_3\n LBL_3:\n %30 = call i64 @FUNC(i64 %0)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %31 = call i64 @FUNC(i64 %0)\n %32 = trunc i64 %31 to i8\n %33 = icmp eq i8 %32, 0\n br i1 %33, label LBL_6, label LBL_5\n LBL_5:\n %34 = call i64 @FUNC(i64 %0, i64 2, i64 0)\n %35 = add i64 %0, 32\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %36, align 8\n %37 = add i64 %0, 16\n %38 = inttoptr i64 %37 to i8*\n store i8 0, i8* %38, align 1\n %39 = call i64 @FUNC(i64 %0, i64 1, i64 1, i64 0)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %40 = add i64 %0, 40\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = add i64 %0, 24\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = add i64 %0, 32\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48, i64 %45, i64 %42)\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %0, { 12, 9, 8, 6, 7, 10, 11, 13, 0, 1, 2, 3, 4, 5, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @vtd_set_clear_mask_long, { 1, 0 }\n uselistorder i64 32, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "http_connect_312", "fun_name": "http_connect", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i8*, align 8\n store i8* null, i8** %sv_4, align 8\n %0 = and i64 %arg3, 4294967295\n %1 = bitcast i64* %sv_3 to i8*\n %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %1, i32 512, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i8* %arg2, i64 %0)\n %3 = sub i32 511, %2\n %4 = icmp eq i8* %arg2, null\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 %3, i32* %sv_0.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = ptrtoint i8* %arg2 to i64\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %6, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 %3, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg4 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i8* @strncat(i8* nonnull %1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i32 %3)\n %11 = add i32 %3, -27\n %12 = inttoptr i64 %9 to i8*\n %13 = call i8* @strncat(i8* nonnull %1, i8* %12, i32 %11)\n %14 = call i32 @strlen(i8* %12)\n %15 = sub i32 %11, %14\n %16 = call i8* @strncat(i8* nonnull %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 %15)\n %17 = add i32 %15, -2\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 %17, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %18 = and i64 %arg1, 4294967295\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %19 = call i8* @strncat(i8* nonnull %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 %sv_0.0.reload)\n %20 = bitcast i64* %sv_2 to i8*\n %21 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %20, i32 512, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_3)\n %22 = call i64 @FUNC(i64* nonnull %sv_2)\n %23 = call i32 @strlen(i8* nonnull %1)\n %24 = sext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %18, i64* nonnull %sv_3, i64 %24, i64 0)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %28, label LBL_4, label LBL_17\n LBL_4:\n %29 = bitcast i8** %sv_4 to i64*\n %30 = call i64 @FUNC(i64 %18, i64* nonnull %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %33, label LBL_5, label LBL_17\n LBL_5:\n %34 = load i8*, i8** %sv_4, align 8\n %35 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %20, i32 512, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* %34)\n %36 = call i64 @FUNC(i64* nonnull %sv_2)\n %37 = load i8*, i8** %sv_4, align 8\n %38 = call i8* @strstr(i8* %37, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))\n %39 = icmp eq i8* %38, null\n %40 = icmp eq i1 %39, false\n %41 = load i8*, i8** %sv_4, align 8\n br i1 %40, label LBL_6, label LBL_7\n LBL_6:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %42 = call i32 @strlen(i8* %41)\n %43 = icmp ult i32 %42, 2\n %44 = load i8*, i8** %sv_4, align 8\n %45 = bitcast i8* %44 to i64*\n call void @free(i64* %45)\n br i1 %43, label LBL_16, label LBL_14\n LBL_7:\n %46 = call i8* @strstr(i8* %41, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0))\n %47 = icmp eq i8* %46, null\n br i1 %47, label LBL_10, label LBL_8\n LBL_8:\n %48 = call i64 @FUNC(i64 %18, i64* nonnull %29)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n %51 = icmp slt i32 %49, 0\n %52 = icmp eq i1 %51, false\n %53 = icmp eq i1 %50, false\n %54 = icmp eq i1 %52, %53\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %54, label LBL_9, label LBL_17\n LBL_9:\n %55 = load i8*, i8** %sv_4, align 8\n %56 = bitcast i8* %55 to i64*\n call void @free(i64* %56)\n %57 = call i64 @FUNC(i64 %18, i64* nonnull %29)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n %60 = icmp slt i32 %58, 0\n %61 = icmp eq i1 %60, false\n %62 = icmp eq i1 %59, false\n %63 = icmp eq i1 %61, %62\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %63, label LBL_9, label LBL_17\n LBL_10:\n %64 = load i8*, i8** %sv_4, align 8\n %65 = call i8* @strstr(i8* %64, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0))\n %66 = icmp eq i8* %65, null\n br i1 %66, label LBL_13, label LBL_11\n LBL_11:\n %67 = call i64 @FUNC(i64 %18, i64* nonnull %29)\n %68 = trunc i64 %67 to i32\n %69 = icmp eq i32 %68, 0\n %70 = icmp slt i32 %68, 0\n %71 = icmp eq i1 %70, false\n %72 = icmp eq i1 %69, false\n %73 = icmp eq i1 %71, %72\n store i64 4294967293, i64* %rax.0.reg2mem\n br i1 %73, label LBL_12, label LBL_17\n LBL_12:\n %74 = load i8*, i8** %sv_4, align 8\n %75 = bitcast i8* %74 to i64*\n call void @free(i64* %75)\n %76 = call i64 @FUNC(i64 %18, i64* nonnull %29)\n %77 = trunc i64 %76 to i32\n %78 = icmp eq i32 %77, 0\n %79 = icmp slt i32 %77, 0\n %80 = icmp eq i1 %79, false\n %81 = icmp eq i1 %78, false\n %82 = icmp eq i1 %80, %81\n store i64 4294967293, i64* %rax.0.reg2mem\n br i1 %82, label LBL_12, label LBL_17\n LBL_13:\n %83 = load i8*, i8** %sv_4, align 8\n %84 = bitcast i8* %83 to i64*\n call void @free(i64* %84)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_14:\n %85 = call i64 @FUNC(i64 %18, i64* nonnull %29)\n %86 = trunc i64 %85 to i32\n %87 = icmp slt i32 %86, 0\n %88 = icmp eq i1 %87, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %88, label LBL_15, label LBL_17\n LBL_15:\n %89 = load i8*, i8** %sv_4, align 8\n %90 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %20, i32 512, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* %89)\n %91 = call i64 @FUNC(i64* nonnull %sv_2)\n %92 = load i8*, i8** %sv_4, align 8\n %93 = call i32 @strlen(i8* %92)\n %94 = icmp ult i32 %93, 2\n %95 = load i8*, i8** %sv_4, align 8\n %96 = bitcast i8* %95 to i64*\n call void @free(i64* %96)\n br i1 %94, label LBL_16, label LBL_14\n LBL_16:\n %97 = call i64 @FUNC(i64 %sv_1.0.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %77, { 1, 0 }\n uselistorder i32 %58, { 1, 0 }\n uselistorder i64* %29, { 4, 3, 1, 2, 0, 5 }\n uselistorder i64 %18, { 4, 3, 1, 2, 0, 5, 6 }\n uselistorder i32 %3, { 3, 2, 0, 1 }\n uselistorder i8* %1, { 3, 4, 0, 1, 2, 5 }\n uselistorder i8** %sv_4, { 11, 10, 9, 8, 7, 6, 5, 0, 1, 4, 3, 12, 2 }\n uselistorder i64* %sv_3, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 3, 8, 2, 5, 1, 4, 6, 7 }\n uselistorder void (i64*)* @free, { 5, 4, 3, 2, 0, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i8* (i8*, i8*)* @strstr, { 2, 1, 0 }\n uselistorder i64 (i64, i64*)* @ay_recv_line, { 5, 4, 1, 3, 0, 2 }\n uselistorder i1 false, { 6, 7, 4, 2, 3, 8, 5, 0, 1, 9, 10, 11 }\n uselistorder i32 0, { 4, 5, 6, 2, 3, 7, 8, 0, 1, 9, 10 }\n uselistorder i64 (i64*)* @debug_print, { 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 3, 0, 2, 1 }\n uselistorder i8* (i8*, i8*, i32)* @strncat, { 3, 2, 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 0, 3 }\n uselistorder i8* %arg2, { 2, 0, 1 }\n uselistorder label LBL_17, { 7, 2, 8, 1, 4, 0, 3, 5, 6 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rtcp_parse_packet_3599", "fun_name": "rtcp_parse_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.reg2mem12 = alloca i32\n %rcx.16.reg2mem = alloca i64\n %sv_0.07.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %storemerge.in4 = mul i64 %arg3, 4294967296\n %storemerge5 = ashr exact i64 %storemerge.in4, 32\n %3 = trunc i64 %storemerge5 to i32\n %4 = icmp sgt i32 %3, 3\n br i1 %4, label LBL_1, label LBL_10\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %5, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = add i64 %5, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %5, 24\n %12 = inttoptr i64 %11 to i32*\n %13 = add i64 %5, 28\n %14 = inttoptr i64 %13 to i32*\n store i32 %3, i32* %.reg2mem\n store i64 %storemerge5, i64* %storemerge8.reg2mem\n store i64 %6, i64* %sv_0.07.reg2mem\n br label LBL_2\n LBL_2:\n %rcx.16.reload = load i64, i64* %rcx.16.reg2mem\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %storemerge8.reload = load i64, i64* %storemerge8.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %15 = add i64 %sv_0.07.reload, 2\n %16 = inttoptr i64 %15 to i16*\n %17 = load i16, i16* %16, align 2\n %18 = zext i16 %17 to i64\n %19 = mul i64 %18, 4\n %20 = add nuw nsw i64 %19, 4\n %21 = trunc i64 %20 to i32\n %22 = sub i32 %.reload, %21\n %23 = xor i32 %22, -2147483648\n %24 = and i32 %23, %.reload\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i32 %22, 0\n %27 = icmp slt i32 %22, 0\n %28 = icmp eq i1 %27, %25\n %29 = icmp eq i1 %26, false\n %30 = icmp eq i1 %28, %29\n %.v = select i1 %30, i64 %20, i64 %storemerge8.reload\n %31 = add i64 %sv_0.07.reload, 1\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, -56\n %35 = icmp eq i1 %34, false\n store i64 %rcx.16.reload, i64* %rcx.0.reg2mem\n br i1 %35, label LBL_9, label LBL_3\n LBL_3:\n %36 = trunc i64 %.v to i32\n %37 = icmp sgt i32 %36, 19\n br i1 %37, label LBL_5, label LBL_4\n LBL_4:\n %38 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.16.reload, i64 %2, i64 %1)\n br label LBL_10\n LBL_5:\n %39 = add i64 %sv_0.07.reload, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n store i64 %41, i64* %arg1, align 8\n %42 = add i64 %sv_0.07.reload, 16\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n store i32 %44, i32* %8, align 4\n %45 = load i64, i64* %10, align 8\n %46 = icmp eq i64 %45, -1\n %47 = icmp eq i1 %46, false\n store i64 %rcx.16.reload, i64* %rcx.0.reg2mem\n br i1 %47, label LBL_9, label LBL_6\n LBL_6:\n store i64 %5, i64* %10, align 8\n %48 = load i32, i32* %12, align 4\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i32 %48, i32* %.reg2mem12\n br i1 %50, label LBL_8, label LBL_7\n LBL_7:\n %51 = load i32, i32* %8, align 4\n store i32 %51, i32* %12, align 4\n store i32 %51, i32* %.reg2mem12\n br label LBL_8\n LBL_8:\n %.reload13 = load i32, i32* %.reg2mem12\n %52 = load i32, i32* %8, align 4\n %53 = zext i32 %.reload13 to i64\n %54 = sub i32 %52, %.reload13\n store i32 %54, i32* %14, align 4\n store i64 %53, i64* %rcx.0.reg2mem\n br label LBL_9\n LBL_9:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %55 = add i64 %.v, %sv_0.07.reload\n %56 = sub nsw i64 %storemerge8.reload, %.v\n %storemerge.in = mul i64 %56, 4294967296\n %storemerge = ashr exact i64 %storemerge.in, 32\n %57 = trunc i64 %storemerge to i32\n %58 = icmp sgt i32 %57, 3\n store i32 %57, i32* %.reg2mem\n store i64 %storemerge, i64* %storemerge8.reg2mem\n store i64 %55, i64* %sv_0.07.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.16.reg2mem\n br i1 %58, label LBL_2, label LBL_10\n LBL_10:\n ret i64 4294967295\n\n uselistorder i64 %.v, { 1, 0, 2 }\n uselistorder i32 %22, { 1, 2, 0 }\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i64 %storemerge8.reload, { 1, 0 }\n uselistorder i64 %sv_0.07.reload, { 4, 0, 2, 1, 3 }\n uselistorder i64 %rcx.16.reload, { 0, 2, 1 }\n uselistorder i32* %8, { 1, 0, 2 }\n uselistorder i64 %5, { 2, 0, 1, 3, 4 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.16.reg2mem, { 1, 0 }\n uselistorder i32* %.reg2mem12, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder label LBL_10, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pcie_cap_init_14248", "fun_name": "pcie_cap_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = trunc i64 %arg2 to i8\n %6 = call i64 @FUNC(i64 %0, i64 16, i8 %5, i64 16)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_4\n LBL_3:\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 %7, i32* %11, align 4\n %sext6 = mul i64 %6, 4294967296\n %12 = ashr exact i64 %sext6, 32\n %13 = add i64 %12, %0\n %14 = trunc i64 %arg3 to i8\n %15 = trunc i64 %arg4 to i8\n %16 = call i64 @FUNC(i64 %13, i8 %15, i8 %14, i64 2)\n %17 = add i64 %13, 4\n %18 = call i64 @FUNC(i64 %17, i64 3)\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add nsw i64 %12, 8\n %23 = add i64 %22, %21\n %24 = call i64 @FUNC(i64 %23, i64 4)\n br label LBL_4\n LBL_4:\n %storemerge = and i64 %6, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i64 16, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qdev_prop_check_globals_494", "fun_name": "qdev_prop_check_globals", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %rcx.14.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %storemerge3 = load i64, i64* @gv_0, align 8\n %3 = icmp eq i64 %storemerge3, 0\n %4 = icmp eq i1 %3, false\n store i64 %storemerge3, i64* %storemerge6.reg2mem\n store i32 0, i32* %sv_0.15.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %rcx.14.reload = load i64, i64* %rcx.14.reg2mem\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %5 = inttoptr i64 %storemerge6.reload to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %rcx.14.reload, i64* %rcx.0.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %10, label LBL_8, label LBL_2\n LBL_2:\n %11 = add i64 %6, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n store i64 %rcx.14.reload, i64* %rcx.0.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_8, label LBL_3\n LBL_3:\n %15 = add i64 %6, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC(i64 %18, i64 1)\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = add i64 %6, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = load i64, i64* %16, align 8\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %24, i64 %rcx.14.reload, i64 %2, i64 %1)\n store i64 %rcx.14.reload, i64* %rcx.0.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_5:\n %27 = inttoptr i64 %19 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %rcx.14.reload, i64* %rcx.0.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %30, label LBL_8, label LBL_6\n LBL_6:\n %31 = load i32, i32* %7, align 4\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %rcx.14.reload, i64* %rcx.0.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %33, label LBL_8, label LBL_7\n LBL_7:\n %34 = add i64 %6, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = add i64 %6, 16\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = load i64, i64* %16, align 8\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %40, i64 %39, i64 %36, i64 %2, i64 %1)\n store i64 %36, i64* %rcx.0.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %42 = add i64 %storemerge6.reload, 8\n %43 = inttoptr i64 %42 to i64*\n %storemerge = load i64, i64* %43, align 8\n %44 = icmp eq i64 %storemerge, 0\n %45 = icmp eq i1 %44, false\n store i64 %storemerge, i64* %storemerge6.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.14.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %45, label LBL_1, label LBL_9\n LBL_9:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %46 = zext i32 %sv_0.1.lcssa.reload to i64\n ret i64 %46\n\n uselistorder i64* %16, { 1, 0, 2 }\n uselistorder i64 %rcx.14.reload, { 1, 2, 0, 5, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.14.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 3, 4, 1, 5, 6 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1, 5, 6 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 0, 1 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0 }\n uselistorder i32 1, { 5, 4, 10, 9, 8, 7, 6, 3, 2, 11, 1, 0 }\n uselistorder label LBL_8, { 2, 3, 4, 5, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hashtable_do_rehash_6099", "fun_name": "hashtable_do_rehash", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %storemerge24.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %3, 1\n store i64 %5, i64* %arg1, align 8\n %6 = call i64 @FUNC(i64 %3)\n %7 = mul i64 %6, 16\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %2, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_5\n LBL_1:\n %11 = call i64 @FUNC(i64 %7)\n %12 = icmp eq i64 %11, 0\n %.pre = add i64 %0, 16\n store i64 0, i64* %storemerge24.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %storemerge24.reload = load i64, i64* %storemerge24.reg2mem\n %13 = load i64, i64* %2, align 8\n %14 = mul i64 %storemerge24.reload, 16\n %15 = or i64 %14, 8\n %16 = add i64 %15, %13\n %17 = inttoptr i64 %16 to i64*\n store i64 %.pre, i64* %17, align 8\n %18 = load i64, i64* %2, align 8\n %19 = add i64 %18, %14\n %20 = inttoptr i64 %19 to i64*\n store i64 %.pre, i64* %20, align 8\n %21 = add nuw i64 %storemerge24.reload, 1\n %22 = call i64 @FUNC(i64 %7)\n %23 = icmp ult i64 %21, %22\n store i64 %21, i64* %storemerge24.reg2mem\n br i1 %23, label LBL_2, label LBL_3\n LBL_3:\n %24 = inttoptr i64 %.pre to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %.pre)\n %27 = icmp eq i64 %25, %.pre\n %28 = icmp eq i1 %27, false\n store i64 %25, i64* %sv_0.03.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_4, label LBL_5\n LBL_4:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %29 = inttoptr i64 %sv_0.03.reload to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %sv_0.03.reload)\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = urem i64 %33, %6\n %35 = add i64 %31, 8\n %36 = load i64, i64* %2, align 8\n %37 = mul i64 %34, 16\n %38 = add i64 %36, %37\n %39 = call i64 @FUNC(i64 %0, i64 %38, i64 %35)\n %40 = icmp eq i64 %30, %.pre\n %41 = icmp eq i1 %40, false\n store i64 %30, i64* %sv_0.03.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %41, label LBL_4, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %.pre, { 1, 0, 2, 3, 5, 4 }\n uselistorder i64 %7, { 1, 2, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i64 16, { 0, 1, 3, 2 }\n uselistorder i64 (i64)* @hashsize, { 2, 0, 1 }\n uselistorder i64 8, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_buffer_internal_1788", "fun_name": "get_buffer_internal", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 32\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i32 1, i32* %sv_1.1.reg2mem\n br i1 %10, label LBL_12, label LBL_1\n LBL_1:\n %11 = add i64 %4, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %4, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %4, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20, i32 %16, i32 %13, i64 0, i64 0, i64 %4)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = add i64 %4, 16\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 %4)\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br label LBL_24\n LBL_4:\n %30 = trunc i64 %2 to i32\n %31 = icmp slt i32 %30, 1\n %.pre = add i64 %3, 4\n %.pre4 = inttoptr i64 %.pre to i32*\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = load i32, i32* %.pre4, align 4\n %33 = icmp eq i32 %32, 0\n %34 = icmp slt i32 %32, 0\n %35 = icmp eq i1 %34, false\n %36 = icmp eq i1 %33, false\n %37 = icmp eq i1 %35, %36\n store i32 1, i32* %sv_1.0.reg2mem\n store i64 0, i64* %rcx.0.reg2mem\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = add i64 %4, 24\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = zext i32 %40 to i64\n %42 = add i64 %4, 20\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = urem i32 %44, 32\n %46 = shl i32 1, %45\n %storemerge = zext i32 %46 to i64\n %47 = add nuw nsw i64 %41, 4294967295\n %48 = add nuw nsw i64 %47, %storemerge\n %49 = icmp eq i32 %45, 0\n %50 = trunc i64 %48 to i32\n %51 = ashr i32 %50, %45\n %52 = zext i32 %51 to i64\n %rdx.0 = select i1 %49, i64 %48, i64 %52\n %53 = load i32, i32* %18, align 4\n %54 = trunc i64 %rdx.0 to i32\n %55 = sub i32 %54, %53\n %56 = xor i32 %53, %54\n %57 = xor i32 %55, %54\n %58 = and i32 %57, %56\n %59 = icmp slt i32 %58, 0\n %60 = icmp slt i32 %55, 0\n %61 = icmp eq i1 %60, %59\n %62 = select i1 %61, i32 %54, i32 %53\n %63 = bitcast i64* %arg2 to i32*\n store i32 %62, i32* %63, align 4\n %64 = add i64 %4, 28\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = zext i32 %66 to i64\n %68 = load i32, i32* %43, align 4\n %69 = urem i32 %68, 32\n %70 = shl i32 1, %69\n %storemerge2 = zext i32 %70 to i64\n %71 = add nuw nsw i64 %67, 4294967295\n %72 = add nuw nsw i64 %71, %storemerge2\n %73 = zext i32 %68 to i64\n %74 = icmp eq i32 %69, 0\n %75 = trunc i64 %72 to i32\n %76 = ashr i32 %75, %69\n %77 = zext i32 %76 to i64\n %rdx.1 = select i1 %74, i64 %72, i64 %77\n %78 = load i32, i32* %15, align 4\n %79 = trunc i64 %rdx.1 to i32\n %80 = sub i32 %79, %78\n %81 = xor i32 %78, %79\n %82 = xor i32 %80, %79\n %83 = and i32 %82, %81\n %84 = icmp slt i32 %83, 0\n %85 = icmp slt i32 %80, 0\n %86 = icmp eq i1 %85, %84\n %87 = select i1 %86, i32 %79, i32 %78\n store i32 %87, i32* %.pre4, align 4\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 %73, i64* %rcx.0.reg2mem\n br label LBL_7\n LBL_7:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %88 = add i64 %3, 8\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = icmp eq i64 %90, 0\n %92 = icmp eq i1 %91, false\n br i1 %92, label LBL_11, label LBL_8\n LBL_8:\n %93 = add i64 %3, 16\n %94 = inttoptr i64 %93 to i64*\n %95 = load i64, i64* %94, align 8\n %96 = icmp eq i64 %95, 0\n %97 = icmp eq i1 %96, false\n br i1 %97, label LBL_11, label LBL_9\n LBL_9:\n %98 = add i64 %3, 24\n %99 = inttoptr i64 %98 to i64*\n %100 = load i64, i64* %99, align 8\n %101 = icmp eq i64 %100, 0\n %102 = icmp eq i1 %101, false\n br i1 %102, label LBL_11, label LBL_10\n LBL_10:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %103 = add i64 %3, 32\n %104 = inttoptr i64 %103 to i64*\n %105 = load i64, i64* %104, align 8\n %106 = icmp eq i64 %105, 0\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n br i1 %106, label LBL_12, label LBL_11\n LBL_11:\n %107 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.0.reload, i64 0, i64 %4)\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br label LBL_24\n LBL_12:\n %108 = call i64 @FUNC(i64 %4, i64 %3)\n %109 = trunc i64 %108 to i32\n %110 = icmp slt i32 %109, 0\n %111 = icmp eq i1 %110, false\n store i32 %109, i32* %rax.0.shrunk.reg2mem\n br i1 %111, label LBL_13, label LBL_24\n LBL_13:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %112 = icmp eq i64 %7, 0\n br i1 %112, label LBL_16, label LBL_14\n LBL_14:\n %113 = inttoptr i64 %7 to i64*\n %114 = load i64, i64* %113, align 8\n %115 = icmp eq i64 %114, 0\n br i1 %115, label LBL_17, label LBL_15\n LBL_15:\n %116 = trunc i64 %4 to i32\n store i32 %116, i32* %sv_0.0.reg2mem\n br label LBL_19\n LBL_16:\n %117 = add i64 %4, 16\n %118 = inttoptr i64 %117 to i32*\n %119 = load i32, i32* %118, align 4\n %120 = add i64 %4, 48\n %121 = inttoptr i64 %120 to i32*\n store i32 %119, i32* %121, align 4\n br label LBL_17\n LBL_17:\n %122 = trunc i64 %4 to i32\n %123 = icmp slt i32 %122, 0\n store i32 %122, i32* %sv_0.0.reg2mem\n br i1 %123, label LBL_19, label LBL_18\n LBL_18:\n %124 = call i64 @FUNC(i64 %4, i64 %3)\n store i32 %122, i32* %sv_0.0.reg2mem\n br label LBL_19\n LBL_19:\n %125 = bitcast i64* %rdi to i32*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %126 = load i32, i32* %125, align 8\n %127 = or i32 %126, %sv_1.1.reload\n %128 = icmp eq i32 %127, 0\n br i1 %128, label LBL_20, label LBL_22\n LBL_20:\n %129 = add i64 %4, 56\n %130 = inttoptr i64 %129 to i64*\n %131 = load i64, i64* %130, align 8\n %132 = inttoptr i64 %131 to i32*\n %133 = load i32, i32* %132, align 4\n %134 = urem i32 %133, 2\n %135 = icmp eq i32 %134, 0\n %136 = icmp eq i1 %135, false\n br i1 %136, label LBL_22, label LBL_21\n LBL_21:\n %137 = add i64 %4, 4\n %138 = inttoptr i64 %137 to i32*\n %139 = load i32, i32* %138, align 4\n %140 = bitcast i64* %arg2 to i32*\n store i32 %139, i32* %140, align 4\n %141 = add i64 %4, 8\n %142 = inttoptr i64 %141 to i32*\n %143 = load i32, i32* %142, align 4\n %144 = add i64 %3, 4\n %145 = inttoptr i64 %144 to i32*\n store i32 %143, i32* %145, align 4\n br label LBL_22\n LBL_22:\n %146 = icmp slt i32 %sv_0.0.reload, 0\n %147 = icmp eq i1 %146, false\n store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %147, label LBL_24, label LBL_23\n LBL_23:\n %148 = call i64 @FUNC(i64 %3)\n store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i32 %80, { 1, 0 }\n uselistorder i32 %79, { 2, 1, 0, 3 }\n uselistorder i32 %78, { 1, 0, 2 }\n uselistorder i32 %69, { 1, 2, 0 }\n uselistorder i32 %68, { 1, 0 }\n uselistorder i32 %55, { 1, 0 }\n uselistorder i32 %54, { 2, 1, 0, 3 }\n uselistorder i32 %53, { 1, 0, 2 }\n uselistorder i32 %45, { 1, 2, 0 }\n uselistorder i32 %32, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %4, { 13, 15, 14, 16, 17, 19, 18, 12, 20, 11, 0, 1, 2, 3, 10, 5, 4, 9, 8, 7, 6, 21 }\n uselistorder i64 %3, { 7, 6, 5, 8, 4, 3, 2, 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0, 3 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9 }\n uselistorder label LBL_24, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_22, { 1, 2, 0 }\n uselistorder label LBL_19, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rgb15tobgr24_1877", "fun_name": "rgb15tobgr24", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i16*\n %.reg2mem = alloca i64\n %0 = ptrtoint i16* %arg1 to i64\n %1 = lshr i64 %arg3, 63\n %2 = add i64 %1, %arg3\n %3 = and i64 %2, -2\n %4 = add i64 %3, %0\n %5 = icmp ugt i64 %4, %0\n store i64 %0, i64* %.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n store i64 %0, i64* %.reg2mem\n store i16* %arg1, i16** %sv_1.03.reg2mem\n store i64 %6, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %sv_1.03.reload = load i16*, i16** %sv_1.03.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %7 = add i64 %.reload, 2\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %sv_1.03.reload, align 2\n %10 = udiv i16 %9, 128\n %11 = add i64 %sv_0.02.reload, 1\n %12 = trunc i16 %10 to i8\n %13 = and i8 %12, -8\n %14 = inttoptr i64 %sv_0.02.reload to i8*\n store i8 %13, i8* %14, align 1\n %15 = udiv i16 %9, 4\n %16 = add i64 %sv_0.02.reload, 2\n %17 = trunc i16 %15 to i8\n %18 = and i8 %17, -8\n %19 = inttoptr i64 %11 to i8*\n store i8 %18, i8* %19, align 1\n %20 = trunc i16 %9 to i8\n %21 = mul i8 %20, 8\n %22 = add i64 %sv_0.02.reload, 3\n %23 = inttoptr i64 %16 to i8*\n store i8 %21, i8* %23, align 1\n %24 = icmp ugt i64 %4, %7\n store i64 %7, i64* %.reg2mem\n store i16* %8, i16** %sv_1.03.reg2mem\n store i64 %22, i64* %sv_0.02.reg2mem\n store i64 %7, i64* %.lcssa.reg2mem\n br i1 %24, label LBL_2, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i16 %9, { 2, 0, 1 }\n uselistorder i64 %sv_0.02.reload, { 3, 2, 0, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 3, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_pnm_decode_header_7403", "fun_name": "ff_pnm_decode_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i8\n %rax.0.reg2mem = alloca i64\n %sv_0.0.ph23.lcssa.reg2mem = alloca i32\n %sv_1.0.ph20.lcssa.reg2mem = alloca i32\n %sv_2.0.off0.ph16.lcssa.reg2mem = alloca i32\n %sv_0.0.ph2335.reg2mem = alloca i32\n %sv_1.0.ph2042.reg2mem = alloca i32\n %sv_0.0.ph2143.reg2mem = alloca i32\n %sv_2.0.off0.ph1650.reg2mem = alloca i32\n %sv_1.0.ph1751.reg2mem = alloca i32\n %sv_0.0.ph1852.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %sv_2.0.off0.ph.reg2mem = alloca i32\n %sv_3.0.ph.reg2mem = alloca i32\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %sv_4 = alloca i8, align 1\n %6 = load i8, i8* %1\n %sv_5 = alloca i8, align 1\n %7 = bitcast i8* %sv_5 to i64*\n %8 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %9 = sext i8 %6 to i32\n %10 = add nsw i32 %9, -48\n %11 = bitcast i64* %arg2 to i32*\n store i32 %10, i32* %11, align 4\n %12 = load i8, i8* %sv_5, align 1\n %13 = icmp eq i8 %12, 80\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_55\n LBL_1:\n %14 = ptrtoint i64* %arg1 to i64\n %15 = trunc i64 %4 to i32\n %16 = icmp ne i32 %15, 1\n %17 = icmp eq i32 %15, 4\n %18 = icmp eq i1 %17, false\n %or.cond9 = icmp eq i1 %16, %18\n br i1 %or.cond9, label LBL_3, label LBL_2\n LBL_2:\n %19 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %19, align 4\n br label LBL_38\n LBL_3:\n %20 = icmp ne i32 %15, 2\n %21 = icmp eq i32 %15, 5\n %22 = icmp eq i1 %21, false\n %or.cond11 = icmp eq i1 %20, %22\n br i1 %or.cond11, label LBL_7, label LBL_4\n LBL_4:\n %23 = add i64 %14, 12\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n %28 = bitcast i64* %arg1 to i32*\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n store i32 1, i32* %28, align 4\n br label LBL_38\n LBL_6:\n store i32 2, i32* %28, align 4\n br label LBL_38\n LBL_7:\n %29 = icmp ne i32 %15, 3\n %30 = icmp eq i32 %15, 6\n %31 = icmp eq i1 %30, false\n %or.cond13 = icmp eq i1 %29, %31\n br i1 %or.cond13, label LBL_9, label LBL_8\n LBL_8:\n %32 = bitcast i64* %arg1 to i32*\n store i32 3, i32* %32, align 4\n br label LBL_38\n LBL_9:\n %33 = icmp eq i32 %15, 7\n %34 = icmp eq i1 %33, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_55, label LBL_10\n LBL_10:\n store i8 0, i8* %sv_4, align 1\n %35 = bitcast i8* %sv_4 to i64*\n store i32 -1, i32* %sv_3.0.ph.reg2mem\n store i32 -1, i32* %sv_2.0.off0.ph.reg2mem\n store i32 -1, i32* %sv_1.0.ph.reg2mem\n store i32 -1, i32* %sv_0.0.ph.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %sv_2.0.off0.ph.reload = load i32, i32* %sv_2.0.off0.ph.reg2mem\n %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem\n %36 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %37 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph1852.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.0.ph1751.reg2mem\n store i32 %sv_2.0.off0.ph.reload, i32* %sv_2.0.off0.ph1650.reg2mem\n store i32 %sv_2.0.off0.ph.reload, i32* %sv_2.0.off0.ph16.lcssa.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.0.ph20.lcssa.reg2mem\n store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph23.lcssa.reg2mem\n br i1 %39, label LBL_12, label LBL_15\n LBL_12:\n %sv_2.0.off0.ph1650.reload = load i32, i32* %sv_2.0.off0.ph1650.reg2mem\n %sv_1.0.ph1751.reload = load i32, i32* %sv_1.0.ph1751.reg2mem\n %sv_0.0.ph1852.reload = load i32, i32* %sv_0.0.ph1852.reg2mem\n store i32 %sv_0.0.ph1852.reload, i32* %sv_0.0.ph2143.reg2mem\n store i32 %sv_1.0.ph1751.reload, i32* %sv_1.0.ph2042.reg2mem\n br label LBL_13\n LBL_13:\n %sv_1.0.ph2042.reload = load i32, i32* %sv_1.0.ph2042.reg2mem\n %sv_0.0.ph2143.reload = load i32, i32* %sv_0.0.ph2143.reg2mem\n store i32 %sv_0.0.ph2143.reload, i32* %sv_0.0.ph2335.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.ph2335.reload = load i32, i32* %sv_0.0.ph2335.reg2mem\n br label LBL_16\n LBL_15:\n %sv_0.0.ph23.lcssa.reload = load i32, i32* %sv_0.0.ph23.lcssa.reg2mem\n %sv_1.0.ph20.lcssa.reload = load i32, i32* %sv_1.0.ph20.lcssa.reg2mem\n %sv_2.0.off0.ph16.lcssa.reload = load i32, i32* %sv_2.0.off0.ph16.lcssa.reg2mem\n %40 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %41 = call i32 @strtol(i8* nonnull %sv_5, i8** null, i32 10)\n store i32 %41, i32* %sv_3.0.ph.reg2mem\n store i32 %sv_2.0.off0.ph16.lcssa.reload, i32* %sv_2.0.off0.ph.reg2mem\n store i32 %sv_1.0.ph20.lcssa.reload, i32* %sv_1.0.ph.reg2mem\n store i32 %sv_0.0.ph23.lcssa.reload, i32* %sv_0.0.ph.reg2mem\n br label LBL_11\n LBL_16:\n %42 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_18, label LBL_17\n LBL_17:\n %45 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %46 = call i32 @strtol(i8* nonnull %sv_5, i8** null, i32 10)\n %47 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %48 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i32 %sv_0.0.ph2335.reload, i32* %sv_0.0.ph1852.reg2mem\n store i32 %sv_1.0.ph2042.reload, i32* %sv_1.0.ph1751.reg2mem\n store i32 %46, i32* %sv_2.0.off0.ph1650.reg2mem\n store i32 %46, i32* %sv_2.0.off0.ph16.lcssa.reg2mem\n store i32 %sv_1.0.ph2042.reload, i32* %sv_1.0.ph20.lcssa.reg2mem\n store i32 %sv_0.0.ph2335.reload, i32* %sv_0.0.ph23.lcssa.reg2mem\n br i1 %50, label LBL_12, label LBL_15\n LBL_18:\n %51 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_20, label LBL_19\n LBL_19:\n %54 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %55 = call i32 @strtol(i8* nonnull %sv_5, i8** null, i32 10)\n %56 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %57 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n store i32 %55, i32* %sv_0.0.ph2335.reg2mem\n store i32 %sv_2.0.off0.ph1650.reload, i32* %sv_2.0.off0.ph16.lcssa.reg2mem\n store i32 %sv_1.0.ph2042.reload, i32* %sv_1.0.ph20.lcssa.reg2mem\n store i32 %55, i32* %sv_0.0.ph23.lcssa.reg2mem\n br i1 %59, label LBL_14, label LBL_15\n LBL_20:\n %60 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_22, label LBL_21\n LBL_21:\n %63 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %64 = call i32 @strtol(i8* nonnull %sv_5, i8** null, i32 10)\n %65 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %66 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %67 = icmp eq i32 %66, 0\n %68 = icmp eq i1 %67, false\n store i32 %sv_0.0.ph2335.reload, i32* %sv_0.0.ph2143.reg2mem\n store i32 %64, i32* %sv_1.0.ph2042.reg2mem\n store i32 %sv_2.0.off0.ph1650.reload, i32* %sv_2.0.off0.ph16.lcssa.reg2mem\n store i32 %64, i32* %sv_1.0.ph20.lcssa.reg2mem\n store i32 %sv_0.0.ph2335.reload, i32* %sv_0.0.ph23.lcssa.reg2mem\n br i1 %68, label LBL_13, label LBL_15\n LBL_22:\n %69 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0))\n %70 = icmp eq i32 %69, 0\n br i1 %70, label LBL_24, label LBL_23\n LBL_23:\n %71 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0))\n %72 = icmp eq i32 %71, 0\n %73 = icmp eq i1 %72, false\n br i1 %73, label LBL_25, label LBL_24\n LBL_24:\n %74 = call i64 @FUNC(i64 %5, i64* nonnull %35, i64 32)\n %75 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %76 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %77 = icmp eq i32 %76, 0\n %78 = icmp eq i1 %77, false\n store i32 %sv_2.0.off0.ph1650.reload, i32* %sv_2.0.off0.ph16.lcssa.reg2mem\n store i32 %sv_1.0.ph2042.reload, i32* %sv_1.0.ph20.lcssa.reg2mem\n store i32 %sv_0.0.ph2335.reload, i32* %sv_0.0.ph23.lcssa.reg2mem\n br i1 %78, label LBL_16, label LBL_15\n LBL_25:\n %79 = call i32 @strcmp(i8* nonnull %sv_5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0))\n %80 = icmp ne i32 %79, 0\n %81 = icmp slt i32 %sv_3.0.ph.reload, 1\n %or.cond14 = or i1 %81, %80\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond14, label LBL_55, label LBL_26\n LBL_26:\n %82 = icmp slt i32 %sv_2.0.off0.ph1650.reload, 1\n %83 = icmp slt i32 %sv_1.0.ph2042.reload, 1\n %or.cond = or i1 %82, %83\n %84 = icmp slt i32 %sv_0.0.ph2335.reload, 1\n %or.cond5 = or i1 %or.cond, %84\n %85 = load i8, i8* %sv_4, align 1\n %86 = icmp eq i8 %85, 0\n %or.cond7 = or i1 %or.cond5, %86\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond7, label LBL_55, label LBL_27\n LBL_27:\n %87 = zext i32 %sv_3.0.ph.reload to i64\n %88 = call i64 @FUNC(i64 %87, i32 %sv_2.0.off0.ph1650.reload, i64 0, i64 %14)\n %89 = trunc i64 %88 to i32\n %90 = icmp eq i32 %89, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %90, label LBL_28, label LBL_55\n LBL_28:\n %91 = add i64 %14, 4\n %92 = inttoptr i64 %91 to i32*\n store i32 %sv_3.0.ph.reload, i32* %92, align 4\n %93 = add i64 %14, 8\n %94 = inttoptr i64 %93 to i32*\n store i32 %sv_2.0.off0.ph1650.reload, i32* %94, align 4\n %95 = icmp eq i32 %sv_0.0.ph2335.reload, 1\n %96 = icmp eq i1 %95, false\n br i1 %96, label LBL_32, label LBL_29\n LBL_29:\n %97 = icmp eq i32 %sv_1.0.ph2042.reload, 1\n %98 = icmp eq i1 %97, false\n %99 = bitcast i64* %arg1 to i32*\n br i1 %98, label LBL_31, label LBL_30\n LBL_30:\n store i32 0, i32* %99, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_55\n LBL_31:\n store i32 2, i32* %99, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_55\n LBL_32:\n %100 = icmp eq i32 %sv_0.0.ph2335.reload, 3\n %101 = icmp eq i1 %100, false\n br i1 %101, label LBL_36, label LBL_33\n LBL_33:\n %102 = icmp sgt i32 %sv_1.0.ph2042.reload, 255\n br i1 %102, label LBL_35, label LBL_34\n LBL_34:\n %103 = bitcast i64* %arg1 to i32*\n store i32 3, i32* %103, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_55\n LBL_35:\n %104 = call i64 @FUNC(i64 %14, i64 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_7, i64 0, i64 0), i64 %14, i64 %3, i64 %2)\n %105 = bitcast i64* %arg1 to i32*\n store i32 -1, i32* %105, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_55\n LBL_36:\n %106 = icmp eq i32 %sv_0.0.ph2335.reload, 4\n %107 = icmp eq i1 %106, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %107, label LBL_55, label LBL_37\n LBL_37:\n %108 = bitcast i64* %arg1 to i32*\n store i32 4, i32* %108, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_55\n LBL_38:\n %109 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %110 = call i32 @atoi(i8* nonnull %sv_5)\n %111 = add i64 %14, 4\n %112 = inttoptr i64 %111 to i32*\n store i32 %110, i32* %112, align 4\n %113 = icmp eq i32 %110, 0\n %114 = icmp slt i32 %110, 0\n %115 = icmp eq i1 %114, false\n %116 = icmp eq i1 %113, false\n %117 = icmp eq i1 %115, %116\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %117, label LBL_39, label LBL_55\n LBL_39:\n %118 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %119 = call i32 @atoi(i8* nonnull %sv_5)\n %120 = add i64 %14, 8\n %121 = inttoptr i64 %120 to i32*\n store i32 %119, i32* %121, align 4\n %122 = icmp slt i32 %119, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %122, label LBL_55, label LBL_40\n LBL_40:\n %123 = load i32, i32* %112, align 4\n %124 = zext i32 %123 to i64\n %125 = call i64 @FUNC(i64 %124, i32 %119, i64 0, i64 %14)\n %126 = trunc i64 %125 to i32\n %127 = icmp eq i32 %126, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %127, label LBL_41, label LBL_55\n LBL_41:\n %128 = bitcast i64* %rdi to i32*\n %129 = load i32, i32* %128, align 8\n %130 = icmp eq i32 %129, 0\n br i1 %130, label LBL_50, label LBL_42\n LBL_42:\n %131 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 32)\n %132 = call i32 @atoi(i8* nonnull %sv_5)\n %133 = add i64 %5, 4\n %134 = inttoptr i64 %133 to i32*\n store i32 %132, i32* %134, align 4\n %135 = icmp eq i32 %132, 0\n %136 = icmp slt i32 %132, 0\n %137 = icmp eq i1 %136, false\n %138 = icmp eq i1 %135, false\n %139 = icmp eq i1 %137, %138\n br i1 %139, label LBL_44, label LBL_43\n LBL_43:\n %140 = zext i32 %132 to i64\n %141 = call i64 @FUNC(i64 %14, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_8, i64 0, i64 0), i64 %140, i64 %3, i64 %2)\n store i32 255, i32* %134, align 4\n br label LBL_51\n LBL_44:\n %142 = icmp slt i32 %132, 256\n br i1 %142, label LBL_51, label LBL_45\n LBL_45:\n %143 = load i32, i32* %128, align 8\n %144 = icmp eq i32 %143, 2\n %145 = icmp eq i1 %144, false\n br i1 %145, label LBL_47, label LBL_46\n LBL_46:\n %146 = bitcast i64* %arg1 to i32*\n store i32 6, i32* %146, align 4\n %147 = load i32, i32* %134, align 4\n %148 = icmp eq i32 %147, 65535\n %spec.store.select = select i1 %148, i32 6, i32 5\n store i32 %spec.store.select, i32* %146, align 4\n br label LBL_51\n LBL_47:\n %149 = icmp eq i32 %143, 3\n %150 = icmp eq i1 %149, false\n br i1 %150, label LBL_49, label LBL_48\n LBL_48:\n %151 = bitcast i64* %arg1 to i32*\n store i32 7, i32* %151, align 4\n br label LBL_51\n LBL_49:\n %152 = ptrtoint i8* %sv_5 to i64\n %153 = call i64 @FUNC(i64 %14, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_9, i64 0, i64 0), i64 %152, i64 %3, i64 %2)\n %154 = bitcast i64* %arg1 to i32*\n store i32 -1, i32* %154, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_55\n LBL_50:\n %155 = add i64 %5, 4\n %156 = inttoptr i64 %155 to i32*\n store i32 1, i32* %156, align 4\n br label LBL_51\n LBL_51:\n %157 = load i32, i32* %128, align 8\n %158 = icmp eq i32 %157, 1\n %159 = icmp eq i1 %158, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %159, label LBL_55, label LBL_52\n LBL_52:\n %160 = load i32, i32* %112, align 4\n %161 = urem i32 %160, 2\n %162 = icmp eq i32 %161, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %162, label LBL_53, label LBL_55\n LBL_53:\n %163 = load i32, i32* %121, align 4\n %164 = mul i32 %163, 2\n %165 = sdiv i32 %164, 3\n %166 = mul i32 %165, 3\n %167 = icmp eq i32 %164, %166\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %167, label LBL_54, label LBL_55\n LBL_54:\n store i32 %165, i32* %121, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_55\n LBL_55:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %165, { 1, 0 }\n uselistorder i32* %134, { 1, 0, 2 }\n uselistorder i32 %132, { 0, 3, 1, 2, 4 }\n uselistorder i32* %128, { 1, 0, 2 }\n uselistorder i32 %119, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.ph2335.reload, { 5, 4, 3, 6, 2, 1, 8, 0, 7 }\n uselistorder i32 %sv_1.0.ph2042.reload, { 4, 3, 5, 2, 1, 0, 6 }\n uselistorder i32 %sv_2.0.off0.ph1650.reload, { 5, 4, 3, 2, 0, 1 }\n uselistorder i32 %sv_3.0.ph.reload, { 1, 2, 0 }\n uselistorder i32 %15, { 3, 6, 2, 5, 1, 4, 0 }\n uselistorder i64 %14, { 7, 6, 8, 9, 10, 0, 1, 2, 3, 4, 5 }\n uselistorder i64* %7, { 9, 10, 11, 8, 2, 7, 3, 6, 1, 5, 4, 0, 12 }\n uselistorder i8* %sv_5, { 5, 20, 19, 18, 17, 7, 16, 15, 2, 14, 13, 3, 12, 11, 1, 10, 9, 8, 0, 4, 6 }\n uselistorder i64 %5, { 12, 11, 10, 13, 14, 9, 8, 2, 7, 3, 6, 1, 5, 4, 0, 15 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i32* %sv_3.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.0.off0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph1852.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.ph1751.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.0.off0.ph1650.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph2143.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.ph2042.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.ph2335.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.off0.ph16.lcssa.reg2mem, { 4, 2, 3, 1, 0, 5 }\n uselistorder i32* %sv_1.0.ph20.lcssa.reg2mem, { 4, 2, 3, 1, 0, 5 }\n uselistorder i32* %sv_0.0.ph23.lcssa.reg2mem, { 4, 2, 3, 1, 0, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 19, 6, 5, 7, 12, 13, 18, 11, 10, 9, 15, 14, 16, 8, 17 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (i8*)* @atoi, { 1, 2, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }\n uselistorder i32 255, { 1, 0 }\n uselistorder i64 (i64, i32, i64, i64)* @av_image_check_size, { 1, 0 }\n uselistorder i32 (i8*, i8**, i32)* @strtol, { 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 7, 10, 9, 8, 2, 6, 3, 5, 1, 4, 0 }\n uselistorder i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), { 4, 2, 3, 1, 0, 5 }\n uselistorder i32 -1, { 4, 5, 0, 1, 2, 3 }\n uselistorder i32 7, { 1, 0 }\n uselistorder i32 6, { 0, 2, 1 }\n uselistorder i32 3, { 4, 0, 3, 5, 1, 6, 2 }\n uselistorder i32 2, { 0, 1, 3, 4, 5, 2 }\n uselistorder i32 0, { 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 19, 14, 15, 2, 16, 3, 17, 1, 18, 0, 20, 21 }\n uselistorder i1 false, { 9, 10, 11, 12, 7, 13, 8, 14, 15, 16, 17, 22, 18, 2, 19, 3, 20, 1, 21, 0, 23, 4, 24, 5, 6 }\n uselistorder i32 4, { 2, 1, 0 }\n uselistorder i64 (i64, i64*, i64)* @pnm_get, { 13, 12, 11, 5, 10, 2, 9, 3, 8, 1, 7, 6, 0, 4 }\n uselistorder i64 32, { 4, 5, 6, 12, 7, 2, 8, 3, 9, 1, 10, 11, 0, 13 }\n uselistorder i64* %arg1, { 6, 7, 8, 0, 1, 2, 3, 4, 5, 9, 10 }\n uselistorder label LBL_55, { 2, 3, 4, 1, 17, 6, 5, 7, 12, 13, 18, 11, 10, 9, 15, 14, 0, 8, 16 }\n uselistorder label LBL_51, { 2, 3, 0, 4, 1 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 3, 1, 2, 0, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dilate_init_14962", "fun_name": "dilate_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 3400349866943281203, i64* %sv_2, align 8\n store i64 %arg2, i64* %sv_1, align 8\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 1, i32* %5, align 4\n %6 = icmp eq i64 %arg2, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_0)\n %8 = inttoptr i64 %7 to i8*\n store i8* %8, i8** %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %9 = load i8, i8* %sv_0.0.reload, align 1\n %10 = icmp eq i8 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = ptrtoint i8* %sv_0.0.reload to i64\n %13 = ptrtoint i64* %sv_2 to i64\n %storemerge = select i1 %11, i64 %12, i64 %13\n %14 = add i64 %3, 16\n %15 = call i64 @FUNC(i64 %14, i64 %storemerge, i64 %3)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = and i64 %15, 4294967295\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %20 = call i64 @FUNC(i64 %12)\n %21 = load i64, i64* %sv_1, align 8\n %22 = inttoptr i64 %21 to i8*\n %23 = inttoptr i64 %4 to i64*\n %24 = call i32 (i8*, i8*, ...) @sscanf(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64* %23)\n %25 = load i32, i32* %5, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %26, i64 %2, i64 %1)\n %28 = load i32, i32* %5, align 4\n %29 = icmp eq i32 %28, 0\n %30 = icmp slt i32 %28, 0\n %31 = icmp eq i1 %30, false\n %32 = icmp eq i1 %29, false\n %33 = icmp eq i1 %31, %32\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_6, label LBL_5\n LBL_5:\n %34 = zext i32 %28 to i64\n %35 = call i64 @FUNC(i64 %3, i64 2, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i64 %34, i64 %2, i64 %1)\n store i64 22, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %28, { 0, 2, 1 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs4_lock_reclaim_8432", "fun_name": "nfs4_lock_reclaim", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n br label LBL_1\n LBL_1:\n %4 = load i64, i64* %3, align 8\n %5 = urem i64 %4, 2\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_4\n LBL_2:\n %7 = call i64 @FUNC(i64 %1, i64 1, i64 %0, i64 1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n %.pre = and i64 %7, 4294967295\n store i64 %.pre, i64* %storemerge.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %1, i64 %.pre, i32* nonnull %sv_0)\n %12 = load i32, i32* %sv_0, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %.pre, i64* %storemerge.reg2mem\n br i1 %14, label LBL_1, label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %.pre, { 1, 2, 0 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_system_vmstop_request_15307", "fun_name": "qemu_system_vmstop_request", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n store i32 %0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = call i64 @FUNC()\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handler_is_async_16733", "fun_name": "handler_is_async", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = zext i1 %4 to i64\n ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_pwchange_10143", "fun_name": "do_pwchange", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i32 @fflush(%_IO_FILE* null)\n %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %4 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_1 to i64*), i32 1, i32 36, %_IO_FILE* %3)\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, -1\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32 @fwrite(i64* bitcast ([52 x i8]* @gv_2 to i64*), i32 1, i32 51, %_IO_FILE* %7)\n %9 = call i32 (i8*, i8*, ...) @execl(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))\n call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_3\n LBL_2:\n %10 = call i32 @fwrite(i64* bitcast ([48 x i8]* @gv_5 to i64*), i32 1, i32 47, %_IO_FILE* %7)\n br label LBL_3\n LBL_3:\n call void @exit(i32 1)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder %_IO_FILE* %7, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_h_cas_compose_response_2325", "fun_name": "spapr_h_cas_compose_response", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n store i32 1, i32* %sv_0, align 4\n %0 = add i64 %arg2, -4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0)\n %6 = and i64 %5, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %1)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %1)\n %12 = and i64 %11, 4294967295\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %0)\n %15 = call i64 @FUNC(i64 %1, i64 %14, i64 %0)\n %16 = and i64 %15, 4294967295\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %1)\n %19 = load i64, i64* @gv_1, align 8\n %20 = call i64 @FUNC(i64 %14, i64 %19)\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i64 %14)\n %24 = and i64 %23, 4294967295\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %14)\n %27 = add i64 %26, 4\n %28 = icmp ult i64 %0, %27\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_2, label LBL_1\n LBL_1:\n %30 = call i64 @FUNC(i64 %0)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %31 = inttoptr i64 %14 to i32*\n %32 = call i64 @FUNC(i64 %arg1, i32* nonnull %sv_0, i64 4)\n %33 = call i64 @FUNC(i64 %14)\n %34 = add i64 %arg1, 4\n %35 = call i64 @FUNC(i64 %34, i32* %31, i64 %33)\n %36 = call i64 @FUNC(i64 %14)\n %37 = add i64 %36, 4\n %38 = call i64 @FUNC(i64 %37)\n %39 = call i64 @FUNC(i64 %14)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i32*, i64)* @cpu_physical_memory_write, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @fdt_totalsize, { 2, 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i64 (i64)* @_FDT, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @g_malloc0, { 1, 0 }\n uselistorder i32 1, { 3, 4, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d_instantiate_no_diralias_223", "fun_name": "d_instantiate_no_diralias", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i8\n %5 = icmp eq i8 %4, 1\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @abort()\n unreachable\n LBL_2:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = call i64 @FUNC(i64 %2, i64 %6)\n %8 = add i64 %6, 16\n %9 = call i64 @FUNC(i64 %8)\n %10 = and i64 %1, 16384\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = add i64 %6, 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i8\n %15 = icmp eq i8 %14, 1\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %8)\n %17 = call i64 @FUNC(i64 %6)\n store i64 4294967280, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %18 = call i64 @FUNC(i64 %2, i64 %6)\n %19 = call i64 @FUNC(i64 %8)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %6, { 2, 0, 1, 4, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "trim_attendees_18093", "fun_name": "trim_attendees", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %2 = icmp eq i64* %arg4, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = bitcast i64* %arg4 to i32*\n store i32 0, i32* %3, align 4\n br label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %7, label LBL_3, label LBL_13\n LBL_3:\n %8 = bitcast i32* %sv_1 to i64*\n %9 = bitcast i64* %arg4 to i32*\n store i64 %5, i64* %storemerge3.reg2mem\n store i64 0, i64* %sv_0.12.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %10 = call i64 @FUNC(i64 %storemerge3.reload)\n %11 = call i64 @FUNC(i64 %4)\n %12 = icmp eq i64 %sv_0.12.reload, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_11, label LBL_5\n LBL_5:\n %14 = load [17 x i8]*, [17 x i8]** @gv_0, align 8\n %15 = ptrtoint [17 x i8]* %14 to i64\n %16 = call i64 @FUNC(i64 %10, i64* nonnull %8, i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_11, label LBL_6\n LBL_6:\n %20 = load i32, i32* %sv_1, align 4\n %21 = urem i32 %20, 2\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_11, label LBL_7\n LBL_7:\n %24 = call i64 @FUNC(i64 %1, i64 %arg2)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_11, label LBL_8\n LBL_8:\n store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_12, label LBL_9\n LBL_9:\n %28 = call i64 @FUNC(i64 %storemerge3.reload, i64 2)\n %29 = icmp eq i64 %28, 0\n store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem\n br i1 %29, label LBL_12, label LBL_10\n LBL_10:\n %30 = call i64 @FUNC(i64 %28)\n %31 = trunc i64 %30 to i32\n store i32 %31, i32* %9, align 4\n store i64 %storemerge3.reload, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %32 = call i64 @FUNC(i64 %4, i64 %storemerge3.reload)\n store i64 %sv_0.12.reload, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %33 = icmp eq i64 %11, 0\n %34 = icmp eq i1 %33, false\n store i64 %11, i64* %storemerge3.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %34, label LBL_4, label LBL_13\n LBL_13:\n %35 = icmp eq i64* %arg3, null\n br i1 %35, label LBL_15, label LBL_14\n LBL_14:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n store i64 %sv_0.1.lcssa.reload, i64* %arg3, align 8\n br label LBL_15\n LBL_15:\n %36 = icmp eq i64* %arg5, null\n br i1 %36, label LBL_19, label LBL_16\n LBL_16:\n %37 = call i64 @FUNC(i64 %4, i64 3)\n %38 = icmp eq i64 %37, 0\n br i1 %38, label LBL_18, label LBL_17\n LBL_17:\n %39 = call i64 @FUNC(i64 %37)\n store i64 %39, i64* %arg5, align 8\n br label LBL_19\n LBL_18:\n store i64 4202529, i64* %arg5, align 8\n br label LBL_19\n LBL_19:\n ret i64 %4\n\n uselistorder i64 %storemerge3.reload, { 5, 0, 1, 3, 2, 4 }\n uselistorder i64 %4, { 1, 0, 2, 3, 4 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0 }\n uselistorder label LBL_12, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vrrp_print_data_13383", "fun_name": "vrrp_print_data", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load [14 x i8]*, [14 x i8]** @gv_0, align 8\n %3 = ptrtoint [14 x i8]* %2 to i64\n %4 = call i64 @FUNC(i64 %3, i64* nonnull @gv_1)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i32* @__errno_location()\n %8 = load i32, i32* %7, align 4\n %9 = call i8* @strerror(i32 %8)\n %10 = ptrtoint i8* %9 to i64\n %11 = call i32* @__errno_location()\n %12 = load i32, i32* %11, align 4\n %13 = load [14 x i8]*, [14 x i8]** @gv_0, align 8\n %14 = ptrtoint [14 x i8]* %13 to i64\n %15 = zext i32 %12 to i64\n %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %15, i64 %10, i64 %1)\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %17 = inttoptr i64 %4 to %_IO_FILE*\n %18 = call i64 @FUNC(i64 %4)\n %19 = call i32 @fclose(%_IO_FILE* %17)\n %20 = sext i32 %19 to i64\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 0, { 0, 1, 3, 2 }\n uselistorder i32 1, { 4, 3, 2, 5, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gscb_needed_267", "fun_name": "gscb_needed", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 1)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_read_new_xref_section_11455", "fun_name": "pdf_read_new_xref_section", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64 %arg8) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.036.reg2mem = alloca i32\n %storemerge2137.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.032.reg2mem = alloca i64\n %storemerge2333.reg2mem = alloca i32\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_2.029.reg2mem = alloca i32\n %storemerge2430.reg2mem = alloca i32\n %storemerge.in41.reg2mem = alloca i64\n %storemerge42.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext10 = mul i64 %arg5, 4294967296\n %1 = ashr exact i64 %sext10, 32\n %2 = icmp slt i64 %arg4, 0\n %3 = trunc i64 %1 to i32\n %4 = icmp slt i32 %3, 0\n %or.cond = or i1 %2, %4\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %sext12 = sub i64 9223372032559808512, %sext10\n %5 = ashr exact i64 %sext12, 32\n %6 = icmp slt i64 %5, %arg4\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %8 = ptrtoint i32* %arg2 to i64\n %9 = call i64 @FUNC(i64 %0, i64 %8, i64 %arg4, i32 %3)\n %sext13 = mul i64 %arg4, 4294967296\n %storemerge40 = ashr exact i64 %sext13, 32\n %10 = add i64 %1, %arg4\n %11 = icmp slt i64 %storemerge40, %10\n br i1 %11, label LBL_4, label LBL_19\n LBL_4:\n %12 = ptrtoint i32* %arg3 to i64\n %13 = trunc i64 %arg6 to i32\n %14 = icmp sgt i32 %13, 0\n %15 = trunc i64 %arg7 to i32\n %16 = icmp sgt i32 %15, 0\n %17 = trunc i64 %arg8 to i32\n %18 = icmp sgt i32 %17, 0\n %19 = icmp eq i32 %13, 0\n %20 = icmp eq i32 %15, 0\n %21 = icmp eq i32 %17, 0\n store i64 %storemerge40, i64* %storemerge42.reg2mem\n store i64 %sext13, i64* %storemerge.in41.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in41.reload = load i64, i64* %storemerge.in41.reg2mem\n %storemerge42.reload = load i64, i64* %storemerge42.reg2mem\n %22 = call i64 @FUNC(i64 %0, i64 %12)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n store i32 0, i32* %storemerge2430.reg2mem\n store i32 0, i32* %sv_2.029.reg2mem\n store i32 0, i32* %sv_2.0.lcssa.reg2mem\n br i1 %14, label LBL_8, label LBL_9\n LBL_8:\n %sv_2.029.reload = load i32, i32* %sv_2.029.reg2mem\n %storemerge2430.reload = load i32, i32* %storemerge2430.reg2mem\n %26 = mul i32 %sv_2.029.reload, 256\n %27 = call i64 @FUNC(i64 %0, i64 %12)\n %28 = trunc i64 %27 to i32\n %29 = add i32 %26, %28\n %30 = add nuw nsw i32 %storemerge2430.reload, 1\n %exitcond = icmp eq i32 %30, %13\n store i32 %30, i32* %storemerge2430.reg2mem\n store i32 %29, i32* %sv_2.029.reg2mem\n store i32 %29, i32* %sv_2.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n store i32 0, i32* %storemerge2333.reg2mem\n store i64 0, i64* %sv_1.032.reg2mem\n store i64 0, i64* %sv_1.0.lcssa.reg2mem\n br i1 %16, label LBL_10, label LBL_11\n LBL_10:\n %sv_1.032.reload = load i64, i64* %sv_1.032.reg2mem\n %storemerge2333.reload = load i32, i32* %storemerge2333.reg2mem\n %31 = mul i64 %sv_1.032.reload, 256\n %32 = call i64 @FUNC(i64 %0, i64 %12)\n %sext22 = mul i64 %32, 4294967296\n %33 = ashr exact i64 %sext22, 32\n %34 = add i64 %33, %31\n %35 = add nuw nsw i32 %storemerge2333.reload, 1\n %exitcond45 = icmp eq i32 %35, %15\n store i32 %35, i32* %storemerge2333.reg2mem\n store i64 %34, i64* %sv_1.032.reg2mem\n store i64 %34, i64* %sv_1.0.lcssa.reg2mem\n br i1 %exitcond45, label LBL_11, label LBL_10\n LBL_11:\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n store i32 0, i32* %storemerge2137.reg2mem\n store i32 0, i32* %sv_0.036.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %18, label LBL_12, label LBL_13\n LBL_12:\n %sv_0.036.reload = load i32, i32* %sv_0.036.reg2mem\n %storemerge2137.reload = load i32, i32* %storemerge2137.reg2mem\n %36 = mul i32 %sv_0.036.reload, 256\n %37 = call i64 @FUNC(i64 %0, i64 %12)\n %38 = trunc i64 %37 to i32\n %39 = add i32 %36, %38\n %40 = add nuw nsw i32 %storemerge2137.reload, 1\n %exitcond46 = icmp eq i32 %40, %17\n store i32 %40, i32* %storemerge2137.reg2mem\n store i32 %39, i32* %sv_0.036.reg2mem\n store i32 %39, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond46, label LBL_13, label LBL_12\n LBL_13:\n %41 = sub i64 %storemerge42.reload, %arg4\n %42 = mul i64 %41, 24\n %43 = add i64 %42, %9\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_18, label LBL_14\n LBL_14:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %narrow = select i1 %19, i32 1, i32 %sv_2.0.lcssa.reload\n store i32 110, i32* %rax.0.reg2mem\n switch i32 %narrow, label LBL_15 [\n i32 0, label LBL_16\n i32 1, label LBL_17\n ]\n LBL_15:\n %48 = icmp eq i32 %narrow, 2\n %49 = icmp eq i1 %48, false\n %. = select i1 %49, i32 0, i32 111\n store i32 %., i32* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n store i32 102, i32* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i32, i32* %rax.0.reg2mem\n store i32 %rax.0.reload, i32* %44, align 4\n %storemerge19 = select i1 %20, i64 0, i64 %sv_1.0.lcssa.reload\n %50 = add i64 %43, 8\n %51 = inttoptr i64 %50 to i64*\n store i64 %storemerge19, i64* %51, align 8\n %narrow25 = select i1 %21, i32 0, i32 %sv_0.0.lcssa.reload\n %52 = add i64 %43, 16\n %53 = inttoptr i64 %52 to i32*\n store i32 %narrow25, i32* %53, align 4\n %54 = trunc i64 %storemerge42.reload to i32\n %55 = add i64 %43, 20\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n br label LBL_18\n LBL_18:\n %sext17 = add i64 %storemerge.in41.reload, 4294967296\n %storemerge = ashr exact i64 %sext17, 32\n %57 = icmp slt i64 %storemerge, %10\n store i64 %storemerge, i64* %storemerge42.reg2mem\n store i64 %sext17, i64* %storemerge.in41.reg2mem\n br i1 %57, label LBL_5, label LBL_19\n LBL_19:\n store i32 1, i32* %arg2, align 4\n ret i64 %8\n\n uselistorder i32 %narrow, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %sext10, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i64* %storemerge42.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.in41.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2430.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.029.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2333.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.032.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2137.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.036.reg2mem, { 2, 0, 1 }\n uselistorder i32* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @fz_read_byte, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @fz_throw, { 1, 0 }\n uselistorder i64 32, { 2, 1, 0, 3, 4 }\n uselistorder i64 4294967296, { 3, 0, 1, 2 }\n uselistorder i64 %arg4, { 3, 1, 0, 4, 2, 5 }\n uselistorder label LBL_17, { 2, 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bdrv_check_2246", "fun_name": "bdrv_check", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 4294967201, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64* @memset(i64* %arg2, i32 0, i32 4)\n %7 = trunc i64 %5 to i32\n %8 = bitcast i64* %arg2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = icmp eq i32 %4, 0\n %10 = icmp slt i32 %4, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp eq i1 %9, false\n %13 = icmp eq i1 %11, %12\n %14 = and i64 %1, 4294967295\n %15 = select i1 %13, i64 0, i64 %14\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stbi__jpeg_decode_block_6941", "fun_name": "stbi__jpeg_decode_block", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5, i64 %arg6, i64* %arg7) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 15\n %.pre = ptrtoint i32* %arg1 to i64\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %.pre)\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = call i64 @FUNC(i64 %.pre, i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i32 %7, 16\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_4:\n %10 = call i64* @memset(i64* %arg2, i32 0, i32 128)\n %11 = icmp eq i32 %7, 0\n store i32 0, i32* %storemerge.reg2mem\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = and i64 %6, 4294967295\n %13 = call i64 @FUNC(i64 %.pre, i64 %12)\n %phitmp = trunc i64 %13 to i32\n store i32 %phitmp, i32* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %14 = ptrtoint i64* %arg7 to i64\n %15 = ptrtoint i64* %arg5 to i64\n %16 = ptrtoint i64* %arg4 to i64\n %17 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg6, 4294967296\n %18 = bitcast i64* %rdi to i32*\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %19 = ashr exact i64 %sext, 30\n %20 = add i64 %.pre, 8\n %21 = add i64 %20, %19\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i32 %23, %storemerge.reload\n store i32 %24, i32* %22, align 4\n %25 = bitcast i64* %arg7 to i16*\n %26 = load i16, i16* %25, align 2\n %27 = trunc i32 %24 to i16\n %28 = mul i16 %26, %27\n %29 = bitcast i64* %arg2 to i16*\n store i16 %28, i16* %29, align 2\n %30 = add i64 %.pre, 4\n %31 = inttoptr i64 %30 to i32*\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %32 = load i32, i32* %18, align 8\n %33 = icmp sgt i32 %32, 15\n br i1 %33, label LBL_9, label LBL_8\n LBL_8:\n %34 = call i64 @FUNC(i64 %.pre)\n br label LBL_9\n LBL_9:\n %35 = load i32, i32* %31, align 4\n %36 = udiv i32 %35, 8388608\n %37 = mul i32 %36, 2\n %38 = zext i32 %37 to i64\n %39 = add i64 %38, %15\n %40 = inttoptr i64 %39 to i16*\n %41 = load i16, i16* %40, align 2\n %42 = icmp eq i16 %41, 0\n br i1 %42, label LBL_11, label LBL_10\n LBL_10:\n %43 = sext i16 %41 to i32\n %44 = udiv i32 %43, 16\n %45 = urem i32 %44, 16\n %46 = add i32 %45, %sv_0.0.reload\n %47 = urem i32 %43, 16\n %48 = shl i32 %35, %47\n store i32 %48, i32* %31, align 4\n %49 = load i32, i32* %18, align 8\n %50 = sub i32 %49, %47\n store i32 %50, i32* %arg1, align 4\n %51 = add i32 %46, 1\n %52 = sext i32 %46 to i64\n %53 = mul i64 %52, 4\n %54 = add i64 %53, ptrtoint (i32** @gv_2 to i64)\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = zext i32 %56 to i64\n %58 = mul i64 %57, 2\n %59 = add i64 %58, %14\n %60 = inttoptr i64 %59 to i16*\n %61 = load i16, i16* %60, align 2\n %62 = add i64 %58, %17\n %63 = ashr i16 %41, 8\n %64 = mul i16 %61, %63\n %65 = inttoptr i64 %62 to i16*\n store i16 %64, i16* %65, align 2\n store i32 %51, i32* %sv_0.1.reg2mem\n br label LBL_17\n LBL_11:\n %66 = call i64 @FUNC(i64 %.pre, i64 %16)\n %67 = trunc i64 %66 to i32\n %68 = icmp slt i32 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_13, label LBL_12\n LBL_12:\n %70 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_13:\n %71 = urem i32 %67, 16\n %72 = icmp eq i32 %71, 0\n %73 = icmp eq i1 %72, false\n br i1 %73, label LBL_16, label LBL_14\n LBL_14:\n %74 = icmp eq i32 %67, 240\n %75 = icmp eq i1 %74, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %75, label LBL_18, label LBL_15\n LBL_15:\n %76 = add i32 %sv_0.0.reload, 16\n store i32 %76, i32* %sv_0.1.reg2mem\n br label LBL_17\n LBL_16:\n %77 = ashr i32 %67, 4\n %78 = add i32 %77, %sv_0.0.reload\n %79 = add i32 %78, 1\n %80 = sext i32 %78 to i64\n %81 = mul i64 %80, 4\n %82 = add i64 %81, ptrtoint (i32** @gv_2 to i64)\n %83 = inttoptr i64 %82 to i32*\n %84 = load i32, i32* %83, align 4\n %85 = zext i32 %71 to i64\n %86 = call i64 @FUNC(i64 %.pre, i64 %85)\n %87 = zext i32 %84 to i64\n %88 = mul i64 %87, 2\n %89 = add i64 %88, %14\n %90 = inttoptr i64 %89 to i16*\n %91 = load i16, i16* %90, align 2\n %92 = add i64 %88, %17\n %93 = trunc i64 %86 to i16\n %94 = mul i16 %91, %93\n %95 = inttoptr i64 %92 to i16*\n store i16 %94, i16* %95, align 2\n store i32 %79, i32* %sv_0.1.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %96 = icmp slt i32 %sv_0.1.reload, 64\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %96, label LBL_7, label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i64 %88, { 1, 0 }\n uselistorder i32 %71, { 1, 0 }\n uselistorder i32 %67, { 2, 1, 0, 3 }\n uselistorder i64 %58, { 1, 0 }\n uselistorder i32 %47, { 1, 0 }\n uselistorder i32 %46, { 1, 0 }\n uselistorder i32 %43, { 1, 0 }\n uselistorder i16 %41, { 0, 2, 1 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %.pre, { 2, 3, 1, 4, 5, 0, 6, 7 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64 (i64, i64)* @stbi__extend_receive, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i8*, i8*)* @stbi__err, { 1, 0 }\n uselistorder i32 16, { 5, 0, 2, 3, 1, 4 }\n uselistorder i64 (i64, i64)* @stbi__jpeg_huff_decode, { 1, 0 }\n uselistorder i64 (i64)* @stbi__grow_buffer_unsafe, { 1, 0 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_rect_6734", "fun_name": "bm_rect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n %sext5 = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext5, 32\n %sext7 = mul i64 %arg5, 4294967296\n %4 = ashr exact i64 %sext7, 32\n %5 = trunc i64 %arg4 to i32\n %6 = trunc i64 %3 to i32\n %7 = trunc i64 %arg2 to i32\n %8 = and i64 %3, 4294967295\n %9 = call i64 @FUNC(i64 %2, i32 %7, i32 %6, i32 %5, i64 %8)\n %10 = and i64 %4, 4294967295\n %11 = call i64 @FUNC(i64 %2, i32 %5, i32 %6, i32 %5, i64 %10)\n %12 = trunc i64 %4 to i32\n %13 = call i64 @FUNC(i64 %2, i32 %5, i32 %12, i32 %7, i64 %10)\n %14 = call i64 @FUNC(i64 %2, i32 %7, i32 %12, i32 %7, i64 %8)\n ret i64 %14\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 (i64, i32, i32, i32, i64)* @bm_line, { 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mfra_Size_10535", "fun_name": "mfra_Size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_3:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, %0\n store i64 %9, i64* %7, align 8\n br label LBL_4\n LBL_4:\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 3, 4, 0, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bond_ipsec_add_sa_5682", "fun_name": "bond_ipsec_add_sa", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_7\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 %2)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC()\n store i64 4294967277, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %11 = inttoptr i64 %7 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = add i64 %4, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %2, i64* %16, align 8\n %17 = load i64, i64* %11, align 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = inttoptr i64 %19 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %2, i64 %17, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0))\n %26 = call i64 @FUNC()\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %27 = call i64 @FUNC()\n %28 = and i64 %2, 4294967295\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64 ()* @rcu_read_unlock, { 2, 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_open_8111", "fun_name": "process_open", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.06.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i32, i32* %1\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i8*, align 8\n %5 = load i64, i64* @gv_0, align 8\n %6 = ptrtoint i8** %sv_4 to i64\n %7 = bitcast i8** %sv_4 to i64*\n %8 = call i64 @FUNC(i64 %5, i64* nonnull %7, i64 0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %sv_1.0.reg2mem\n br i1 %11, label LBL_3, label LBL_1\n LBL_1:\n %12 = load i64, i64* @gv_0, align 8\n %13 = bitcast i32* %sv_3 to i64*\n %14 = call i64 @FUNC(i64 %12, i64* nonnull %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %14, i64* %sv_1.0.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = load i64, i64* @gv_0, align 8\n %19 = bitcast i32* %sv_2 to i64*\n %20 = call i64 @FUNC(i64 %18, i64* nonnull %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n store i64 %20, i64* %sv_1.0.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %23 = and i64 %sv_1.0.reload, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = and i64 %24, 4294967295\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %25, i64 %6, i64 %3, i64 %2)\n unreachable\n LBL_4:\n %27 = and i64 %arg1, 4294967295\n %28 = load i32, i32* %sv_3, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %27, i64 %29, i64 %6, i64 %3, i64 %2)\n %31 = load i32, i32* %sv_3, align 4\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = load i32, i32* %sv_2, align 4\n %36 = urem i32 %35, 2\n %37 = icmp eq i32 %36, 0\n %narrow = select i1 %37, i32 438, i32 %4\n %storemerge = zext i32 %narrow to i64\n %38 = load i32, i32* %sv_3, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39)\n %41 = load i8*, i8** %sv_4, align 8\n %42 = ptrtoint i8* %41 to i64\n %43 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_4, i64 0, i64 0), i64 %42, i64 %40, i64 %storemerge, i64 %3, i64 %2)\n %44 = load i32, i32* @gv_5, align 4\n %45 = icmp eq i32 %44, 0\n %46 = and i32 %34, 579\n %47 = icmp eq i32 %46, 0\n %or.cond = or i1 %47, %45\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_6, i64 0, i64 0), i64 %42, i64 %40, i64 %storemerge, i64 %3, i64 %2)\n store i64 2, i64* %sv_0.06.reg2mem\n br label LBL_11\n LBL_6:\n %49 = load i8*, i8** %sv_4, align 8\n %50 = call i32 (i8*, i32, ...) @open(i8* %49, i32 %34)\n %51 = icmp slt i32 %50, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_7, label LBL_10\n LBL_7:\n %53 = load i8*, i8** %sv_4, align 8\n %54 = ptrtoint i8* %53 to i64\n %55 = call i64 @FUNC(i64 3, i64 %54, i32 %50, i32 %34, i64 0)\n %56 = trunc i64 %55 to i32\n %57 = icmp slt i32 %56, 0\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_9, label LBL_8\n LBL_8:\n %59 = call i32 @close(i32 %50)\n store i64 1, i64* %sv_0.06.reg2mem\n br label LBL_11\n LBL_9:\n %60 = and i64 %55, 4294967295\n %61 = call i64 @FUNC(i64 %27, i64 %60)\n br label LBL_12\n LBL_10:\n %62 = call i32* @__errno_location()\n %63 = load i32, i32* %62, align 4\n %64 = zext i32 %63 to i64\n %65 = call i64 @FUNC(i64 %64)\n %66 = trunc i64 %65 to i32\n %67 = icmp eq i32 %66, 0\n store i64 %65, i64* %sv_0.06.reg2mem\n br i1 %67, label LBL_12, label LBL_11\n LBL_11:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %68 = and i64 %sv_0.06.reload, 4294967295\n %69 = call i64 @FUNC(i64 %27, i64 %68)\n br label LBL_12\n LBL_12:\n %70 = load i8*, i8** %sv_4, align 8\n %71 = bitcast i8* %70 to i64*\n call void @free(i64* %71)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %storemerge, { 1, 0 }\n uselistorder i32 %34, { 1, 2, 0 }\n uselistorder i8** %sv_4, { 4, 3, 2, 1, 5, 0 }\n uselistorder i32* %sv_3, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 2, 0, 1, 3 }\n uselistorder i64* %sv_0.06.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 1, 4, 3, 5, 6 }\n uselistorder i32 0, { 2, 3, 4, 0, 5, 6, 7, 8, 9, 1 }\n uselistorder i32 1, { 15, 16, 17, 13, 12, 11, 10, 9, 8, 7, 3, 6, 2, 5, 1, 14, 18, 4, 0 }\n uselistorder label LBL_12, { 1, 2, 0 }\n uselistorder label LBL_11, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pl050_init_1938", "fun_name": "pl050_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = trunc i64 %arg3 to i32\n %2 = call i64 @FUNC(i64 32)\n %3 = call i64 @FUNC(i64 0, i64 4198812, i64 4198823, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = and i64 %arg1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 4096, i32 %4)\n %7 = inttoptr i64 %2 to i32*\n store i32 %0, i32* %7, align 4\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %arg2, i64* %9, align 8\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i32*\n store i32 %1, i32* %11, align 4\n %12 = icmp eq i32 %1, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 4198805, i64 %2)\n %14 = add i64 %2, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %16 = call i64 @FUNC(i64 4198805, i64 %2)\n %17 = add i64 %2, 24\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i32 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kcm_release_5991", "fun_name": "kcm_release", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_1, label LBL_10\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %2)\n %7 = call i64 @FUNC(i64 %2)\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %2)\n %13 = add i64 %3, 16\n %14 = inttoptr i64 %13 to i32*\n store i32 1, i32* %14, align 4\n %15 = call i64 @FUNC(i64 %2)\n %16 = call i64 @FUNC(i64 %5)\n %17 = add i64 %3, 20\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 0\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = add i64 %3, 40\n %22 = call i64 @FUNC(i64 %21)\n store i8 0, i8* %18, align 1\n br label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %5)\n %24 = add i64 %3, 32\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %2)\n %27 = add i64 %3, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = call i64 @FUNC(i64 %29, i64 32, i64 0)\n %32 = call i64 @FUNC(i64 %3)\n br label LBL_5\n LBL_5:\n %33 = call i64 @FUNC(i64 %2)\n %34 = load i8, i8* %18, align 1\n %35 = icmp eq i8 %34, 0\n br i1 %35, label LBL_7, label LBL_6\n LBL_6:\n %36 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %37 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %36)\n br label LBL_7\n LBL_7:\n %38 = load i64, i64* %28, align 8\n %39 = icmp eq i64 %38, 0\n br i1 %39, label LBL_9, label LBL_8\n LBL_8:\n %40 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %41 = call i32 @fwrite(i64* bitcast ([24 x i8]* @gv_2 to i64*), i32 1, i32 23, %_IO_FILE* %40)\n br label LBL_9\n LBL_9:\n store i64 0, i64* %arg1, align 8\n %42 = call i64 @FUNC(i64 %3)\n br label LBL_10\n LBL_10:\n ret i64 0\n\n uselistorder i8* %18, { 1, 0, 2 }\n uselistorder i64 %3, { 2, 1, 4, 3, 0, 5, 6, 7, 8 }\n uselistorder i64 %2, { 0, 1, 2, 4, 3, 6, 5 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @release_sock, { 1, 0 }\n uselistorder i64 (i64)* @lock_sock, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ax25_disconnect_5943", "fun_name": "ax25_disconnect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i32 %1, 101\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %0, 12\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %0, 16\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %0, 20\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %0, 24\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %0, 28\n %14 = call i64 @FUNC(i64 %13)\n br label LBL_6\n LBL_2:\n %15 = icmp eq i64* %arg1, null\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %0, i64 2)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %0)\n br label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %0)\n %22 = call i64 @FUNC(i64 %0)\n %23 = call i64 @FUNC(i64 %0)\n %24 = call i64 @FUNC(i64 %0)\n br label LBL_6\n LBL_6:\n %sext = mul i64 %arg2, 4294967296\n %25 = ashr exact i64 %sext, 32\n %26 = add i64 %0, 8\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = and i64 %25, 4294967295\n %29 = call i64 @FUNC(i64 %0, i64 %28)\n %30 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_10, label LBL_7\n LBL_7:\n %31 = call i64 @FUNC()\n %32 = call i64 @FUNC(i64 %0)\n %33 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %33, align 4\n %34 = trunc i64 %25 to i32\n %35 = add i64 %0, 4\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = load i32, i32* %27, align 4\n %38 = or i32 %37, 1\n store i32 %38, i32* %27, align 4\n %39 = call i64 @FUNC(i64 %0, i64 1)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_9, label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64 %0, i64 1)\n br label LBL_9\n LBL_9:\n %44 = call i64 @FUNC(i64 %0)\n %45 = call i64 @FUNC()\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %27, { 1, 0, 2 }\n uselistorder i64 %0, { 7, 6, 10, 9, 8, 0, 11, 12, 16, 15, 14, 13, 17, 18, 2, 1, 5, 4, 3, 19 }\n uselistorder i64 (i64, i64)* @sock_flag, { 1, 0 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i64 (i64)* @del_timer_sync, { 4, 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_iv2_6222", "fun_name": "parse_iv2", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_2.1.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 43\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = icmp eq i8 %2, 45\n %5 = icmp eq i1 %4, false\n store i32 1, i32* %sv_2.0.reg2mem\n store i64 %arg1, i64* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_2.1.ph.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %6 = add i64 %arg1, 1\n store i64 %6, i64* %sv_1.0.ph.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.1.ph.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.1.ph.reload = load i32, i32* %sv_2.1.ph.reg2mem\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n %7 = inttoptr i64 %sv_1.0.ph.reload to i8*\n %8 = load i8, i8* %7, align 1\n %.off2 = add i8 %8, -48\n %9 = icmp ugt i8 %.off2, 9\n store i8 %8, i8* %.reg2mem\n store i64 0, i64* %sv_0.04.reg2mem\n store i64 %sv_1.0.ph.reload, i64* %sv_1.03.reg2mem\n store i64 %sv_1.0.ph.reload, i64* %sv_1.0.lcssa.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %10 = mul i64 %sv_0.04.reload, 10\n %11 = sext i8 %.reload to i64\n %12 = add nsw i64 %11, -48\n %13 = add i64 %12, %10\n %14 = add i64 %sv_1.03.reload, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %.off = add i8 %16, -48\n %17 = icmp ugt i8 %.off, 9\n store i8 %16, i8* %.reg2mem\n store i64 %13, i64* %sv_0.04.reg2mem\n store i64 %14, i64* %sv_1.03.reg2mem\n store i64 %14, i64* %sv_1.0.lcssa.reg2mem\n store i64 %13, i64* %sv_0.0.lcssa.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_5:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %18 = icmp eq i64* %arg2, null\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n store i64 %sv_1.0.lcssa.reload, i64* %arg2, align 8\n br label LBL_7\n LBL_7:\n %19 = icmp eq i32 %sv_2.1.ph.reload, 0\n %20 = sub i64 0, %sv_0.0.lcssa.reload\n %storemerge = select i1 %19, i64 %sv_0.0.lcssa.reload, i64 %20\n ret i64 %storemerge\n\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i8 %2, { 1, 0 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i8 9, { 1, 0 }\n uselistorder i8 -48, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet_tx_pkt_update_ip_checksums_10244", "fun_name": "vmxnet_tx_pkt_update_ip_checksums", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_1, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = trunc i64 %1 to i8\n %5 = and i8 %4, -5\n %6 = icmp eq i8 %5, 1\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = zext i8 %5 to i64\n %8 = icmp eq i8 %5, 2\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_6, label LBL_4\n LBL_4:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %10, 40\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %10, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %19, %16\n %21 = icmp ult i64 %20, 1501\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n %22 = inttoptr i64 %13 to i16*\n %23 = urem i64 %20, 65536\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i16\n store i16 %25, i16* %22, align 2\n %26 = add i64 %13, 2\n %27 = inttoptr i64 %26 to i16*\n store i16 0, i16* %27, align 2\n %28 = load i64, i64* %18, align 8\n %29 = call i64 @FUNC(i64 %13, i64 %28)\n %30 = trunc i64 %29 to i32\n %sext = mul i32 %30, 65536\n %31 = ashr exact i32 %sext, 16\n store i32 %31, i32* %sv_0, align 4\n %32 = urem i32 %31, 65536\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i16\n store i16 %35, i16* %27, align 2\n %36 = load i64, i64* %15, align 8\n %37 = call i64 @FUNC(i64 %13, i64 %36)\n %38 = and i64 %37, 4294967295\n %39 = call i64 @FUNC(i64 %38)\n %40 = urem i64 %39, 65536\n %41 = xor i64 %40, 65535\n %42 = call i64 @FUNC(i64 %41)\n %43 = trunc i64 %42 to i32\n %sext3 = mul i32 %43, 65536\n %44 = ashr exact i32 %sext3, 16\n store i32 %44, i32* %sv_0, align 4\n %45 = add i64 %10, 4\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %10, 48\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = add i64 %10, 24\n %52 = bitcast i32* %sv_0 to i16*\n %53 = call i64 @FUNC(i64 %51, i64 %50, i32 %47, i16* nonnull %52, i64 2)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i64 %10, { 2, 1, 0, 3, 5, 4 }\n uselistorder i8 %5, { 0, 2, 1 }\n uselistorder i32* %sv_0, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 65536, { 0, 2, 1 }\n uselistorder i64 (i64)* @cpu_to_be16, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_xbzrle_cache_stats_3223", "fun_name": "get_xbzrle_cache_stats", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %4, align 1\n %5 = call i64 @FUNC(i64 48)\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = call i64 @FUNC()\n %9 = inttoptr i64 %5 to i64*\n store i64 %8, i64* %9, align 8\n %10 = load i64, i64* %7, align 8\n %11 = call i64 @FUNC()\n %12 = add i64 %10, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = load i64, i64* %7, align 8\n %15 = call i64 @FUNC()\n %16 = add i64 %14, 16\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = load i64, i64* %7, align 8\n %19 = call i64 @FUNC()\n %20 = add i64 %18, 24\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = load i64, i64* %7, align 8\n %23 = call i128 @FUNC()\n %24 = call i64 @FUNC(i128 %23)\n %25 = add i64 %22, 32\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n %27 = load i64, i64* %7, align 8\n %28 = call i64 @FUNC()\n %29 = add i64 %27, 40\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmdaudio_decode_init_3444", "fun_name": "vmdaudio_decode_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv17.reg2mem = alloca i64\n %indvars.iv20.reg2mem = alloca i64\n %indvars.iv23.reg2mem = alloca i64\n %indvars.iv26.reg2mem = alloca i64\n %indvars.iv29.reg2mem = alloca i64\n %indvars.iv32.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %.pre-phi38.reg2mem = alloca i32\n %indvars.iv35.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %1 to i32\n %7 = inttoptr i64 %5 to i32*\n store i32 %6, i32* %7, align 4\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %5, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %5, 8\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = add i64 %2, 12\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %15 to i64\n %22 = load i32, i32* %12, align 4\n %23 = zext i32 %22 to i64\n %24 = load i32, i32* %7, align 4\n %25 = zext i32 %20 to i64\n %26 = zext i32 %24 to i64\n %27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_0, i64 0, i64 0), i64 %26, i64 %23, i64 %21, i64 %25)\n %28 = add i64 %5, 12\n %29 = add i64 %5, 76\n store i64 0, i64* %indvars.iv35.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem\n %30 = icmp ugt i64 %indvars.iv35.reload, 3\n br i1 %30, label LBL_2, label LBL_3\n LBL_2:\n %31 = add nsw i64 %indvars.iv35.reload, -1\n %32 = mul i64 %31, 4\n %33 = add i64 %32, %28\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = trunc i64 %31 to i32\n %37 = add i32 %35, %36\n %38 = mul i64 %indvars.iv35.reload, 4\n %39 = add i64 %38, %28\n %40 = inttoptr i64 %39 to i32*\n store i32 %37, i32* %40, align 4\n %.pre = trunc i64 %indvars.iv35.reload to i32\n store i32 %.pre, i32* %.pre-phi38.reg2mem\n store i64 %38, i64* %.pre-phi.reg2mem\n br label LBL_9\n LBL_3:\n %41 = mul i64 %indvars.iv35.reload, 4\n %42 = add i64 %41, %28\n %43 = inttoptr i64 %42 to i32*\n %44 = trunc i64 %indvars.iv35.reload to i32\n store i32 %44, i32* %43, align 4\n %45 = icmp eq i64 %indvars.iv35.reload, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_5, label LBL_4\n LBL_4:\n %47 = add i64 %41, %29\n %48 = inttoptr i64 %47 to i32*\n store i32 0, i32* %48, align 4\n br label LBL_10\n LBL_5:\n %49 = icmp eq i64 %indvars.iv35.reload, 1\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_7, label LBL_6\n LBL_6:\n %51 = add i64 %41, %29\n %52 = inttoptr i64 %51 to i32*\n store i32 4, i32* %52, align 4\n br label LBL_10\n LBL_7:\n %53 = icmp eq i64 %indvars.iv35.reload, 2\n %54 = icmp eq i1 %53, false\n store i32 %44, i32* %.pre-phi38.reg2mem\n store i64 %41, i64* %.pre-phi.reg2mem\n br i1 %54, label LBL_9, label LBL_8\n LBL_8:\n %55 = add i64 %41, %29\n %56 = inttoptr i64 %55 to i32*\n store i32 16, i32* %56, align 4\n br label LBL_10\n LBL_9:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %.pre-phi38.reload = load i32, i32* %.pre-phi38.reg2mem\n %57 = add i32 %.pre-phi38.reload, 4\n %58 = shl i32 1, %57\n %59 = add i64 %.pre-phi.reload, %29\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n br label LBL_10\n LBL_10:\n %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35.reload, 1\n %exitcond37 = icmp eq i64 %indvars.iv.next36, 8\n store i64 %indvars.iv.next36, i64* %indvars.iv35.reg2mem\n br i1 %exitcond37, label LBL_11, label LBL_1\n LBL_11:\n %61 = add i64 %5, 140\n %62 = inttoptr i64 %61 to i32*\n store i32 0, i32* %62, align 4\n %63 = add i64 %5, 144\n %64 = inttoptr i64 %63 to i32*\n store i32 8, i32* %64, align 4\n store i64 2, i64* %indvars.iv32.reg2mem\n br label LBL_12\n LBL_12:\n %indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem\n %65 = mul i64 %indvars.iv32.reload, 4\n %66 = add i64 %65, %61\n %67 = inttoptr i64 %66 to i32*\n %indvars.iv32.tr = trunc i64 %indvars.iv32.reload to i32\n %68 = mul i32 %indvars.iv32.tr, 16\n %69 = add i32 %68, -16\n store i32 %69, i32* %67, align 4\n %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1\n %exitcond34 = icmp eq i64 %indvars.iv.next33, 33\n store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem\n store i64 33, i64* %indvars.iv29.reg2mem\n br i1 %exitcond34, label LBL_13, label LBL_12\n LBL_13:\n %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem\n %70 = mul i64 %indvars.iv29.reload, 4\n %71 = add i64 %70, %61\n %72 = inttoptr i64 %71 to i32*\n %indvars.iv29.tr = trunc i64 %indvars.iv29.reload to i32\n %73 = mul i32 %indvars.iv29.tr, 8\n %74 = add i32 %73, 248\n store i32 %74, i32* %72, align 4\n %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1\n %exitcond31 = icmp eq i64 %indvars.iv.next30, 97\n store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem\n store i64 97, i64* %indvars.iv26.reg2mem\n br i1 %exitcond31, label LBL_14, label LBL_13\n LBL_14:\n %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem\n %75 = mul i64 %indvars.iv26.reload, 4\n %76 = add i64 %75, %61\n %77 = inttoptr i64 %76 to i32*\n %indvars.iv26.tr = trunc i64 %indvars.iv26.reload to i32\n %78 = mul i32 %indvars.iv26.tr, 64\n %79 = add i32 %78, -5184\n store i32 %79, i32* %77, align 4\n %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1\n %exitcond28 = icmp eq i64 %indvars.iv.next27, 113\n store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem\n store i64 113, i64* %indvars.iv23.reg2mem\n br i1 %exitcond28, label LBL_15, label LBL_14\n LBL_15:\n %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem\n %80 = mul i64 %indvars.iv23.reload, 4\n %81 = add i64 %80, %61\n %82 = inttoptr i64 %81 to i32*\n %indvars.iv23.tr = trunc i64 %indvars.iv23.reload to i32\n %83 = mul i32 %indvars.iv23.tr, 256\n %84 = add i32 %83, -26880\n store i32 %84, i32* %82, align 4\n %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1\n %exitcond25 = icmp eq i64 %indvars.iv.next24, 121\n store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem\n store i64 121, i64* %indvars.iv20.reg2mem\n br i1 %exitcond25, label LBL_16, label LBL_15\n LBL_16:\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %85 = mul i64 %indvars.iv20.reload, 4\n %86 = add i64 %85, %61\n %87 = inttoptr i64 %86 to i32*\n %indvars.iv20.tr = trunc i64 %indvars.iv20.reload to i32\n %88 = mul i32 %indvars.iv20.tr, 1024\n %89 = add i32 %88, -119808\n store i32 %89, i32* %87, align 4\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %exitcond22 = icmp eq i64 %indvars.iv.next21, 126\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n br i1 %exitcond22, label LBL_17, label LBL_16\n LBL_17:\n %90 = add i64 %5, 644\n %91 = inttoptr i64 %90 to i32*\n store i32 12288, i32* %91, align 4\n %92 = add i64 %5, 648\n %93 = inttoptr i64 %92 to i32*\n store i32 16384, i32* %93, align 4\n store i64 0, i64* %indvars.iv17.reg2mem\n br label LBL_18\n LBL_18:\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %94 = mul i64 %indvars.iv17.reload, 4\n %95 = add i64 %94, %28\n %96 = inttoptr i64 %95 to i32*\n %97 = load i32, i32* %96, align 4\n %98 = sub i32 0, %97\n %99 = add nuw nsw i64 %94, 32\n %100 = add i64 %99, %28\n %101 = inttoptr i64 %100 to i32*\n store i32 %98, i32* %101, align 4\n %102 = add i64 %94, %29\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = sub i32 0, %104\n %106 = add i64 %99, %29\n %107 = inttoptr i64 %106 to i32*\n store i32 %105, i32* %107, align 4\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1\n %exitcond19 = icmp eq i64 %indvars.iv.next18, 8\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond19, label LBL_19, label LBL_18\n LBL_19:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %108 = mul i64 %indvars.iv.reload, 4\n %109 = add i64 %108, %61\n %110 = inttoptr i64 %109 to i32*\n %111 = load i32, i32* %110, align 4\n %112 = sub i32 0, %111\n %113 = add i64 %109, 512\n %114 = inttoptr i64 %113 to i32*\n store i32 %112, i32* %114, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 128\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_20, label LBL_19\n LBL_20:\n ret i64 0\n\n uselistorder i64 %94, { 2, 0, 1 }\n uselistorder i64 %41, { 4, 0, 3, 2, 1 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %indvars.iv35.reload, { 0, 3, 2, 1, 4, 9, 7, 8, 5, 6 }\n uselistorder i64 %28, { 0, 1, 4, 2, 3 }\n uselistorder i64 %5, { 0, 1, 2, 3, 5, 4, 6, 7, 8 }\n uselistorder i64* %indvars.iv35.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv32.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv29.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv26.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv23.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv20.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 0, 1, 2, 4, 3 }\n uselistorder i64 8, { 1, 0, 2, 3 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vtd_remap_irq_get_14650", "fun_name": "vtd_remap_irq_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %sv_0 = alloca i8, align 1\n store i8 0, i8* %sv_0, align 1\n %3 = urem i64 %arg2, 65536\n %4 = bitcast i8* %sv_0 to i64*\n %5 = call i64 @FUNC(i64 %1, i64 %3, i64* nonnull %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %5, 4294967295\n store i64 %8, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %9 = ptrtoint i64* %arg3 to i64\n %10 = load i8, i8* %sv_0, align 1\n %11 = bitcast i64* %arg3 to i8*\n store i8 %10, i8* %11, align 1\n %12 = add i64 %9, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = add i64 %9, 2\n %15 = inttoptr i64 %14 to i8*\n %16 = zext i32 %2 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = udiv i64 %17, 256\n %19 = trunc i64 %18 to i32\n %20 = urem i32 %19, 256\n %21 = add i64 %9, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = add i64 %9, 8\n %24 = inttoptr i64 %23 to i8*\n store i8 0, i8* %24, align 1\n %25 = add i64 %9, 9\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %15, align 1\n %28 = load i8, i8* %13, align 1\n %29 = bitcast i64* %rdx to i8*\n %30 = load i8, i8* %29, align 8\n %31 = zext i8 %27 to i64\n %32 = zext i8 %28 to i64\n %33 = zext i8 %30 to i64\n %34 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %33, i64 %32, i64 %31)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i8* %sv_0, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_blck_2343", "fun_name": "decode_blck", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = mul i32 %arg4, %arg3\n %1 = call i64* @memset(i64* %arg2, i32 0, i32 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_alen_5851", "fun_name": "get_alen", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = add i64 %indvars.iv.reload, %arg1\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 46\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = add nuw i64 %indvars.iv.reload, 1\n %7 = and i64 %6, 4294967295\n %8 = add i64 %7, %arg1\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = sext i8 %10 to i64\n %12 = add nsw i64 %11, -48\n store i64 %12, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_3:\n %13 = icmp eq i8 %3, 0\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %14 = icmp ult i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %15 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %15\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "restore_boot_order_14204", "fun_name": "restore_boot_order", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = zext i32 %0 to i64\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %3 = call i64 @FUNC(i64 %arg1, i64 0)\n %4 = call i64 @FUNC(i64 4198783, i64 %arg1)\n %5 = call i64 @FUNC(i64 %arg1)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg1, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mount_is_safe_10840", "fun_name": "mount_is_safe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 21)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %. = select i1 %2, i64 4294967295, i64 0\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cqspi_controller_init_8995", "fun_name": "cqspi_controller_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = call i64 @FUNC(i64 0, i64 %0)\n %3 = call i64 @FUNC(i64 0, i64 4)\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = udiv i32 %6, 2\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8, i64 8)\n %10 = add nuw nsw i64 %8, 12\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = and i64 %13, 4294967295\n %15 = call i64 @FUNC(i64 %14, i64 %10)\n %16 = add nuw nsw i64 %14, 16\n %17 = load i32, i32* %5, align 4\n %18 = add i64 %0, 12\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = mul i32 %20, %17\n %22 = udiv i32 %21, 2\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %23, i64 %16)\n %25 = add nuw nsw i64 %23, 20\n %26 = load i32, i32* %5, align 4\n %27 = load i32, i32* %19, align 4\n %28 = mul i32 %27, %26\n %29 = udiv i32 %28, 8\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %25)\n %32 = call i64 @FUNC(i64 %0, i64 1)\n ret i64 %32\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0, 3, 5, 4 }\n uselistorder i64 (i64, i64)* @writel, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @cqspi_controller_enable, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dvb_dmxdev_release_5979", "fun_name": "dvb_dmxdev_release", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp slt i32 %7, 2\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 0)\n br label LBL_2\n LBL_2:\n %10 = add i64 %arg1, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp slt i32 %14, 2\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 0)\n br label LBL_4\n LBL_4:\n %17 = load i64, i64* %4, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = load i64, i64* %11, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %arg1, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23)\n store i64 0, i64* %22, align 8\n %25 = add i64 %arg1, 32\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n ret i64 %27\n\n uselistorder i64 (i64)* @dvb_unregister_device, { 1, 0 }\n uselistorder i64 (i64)* @wait_event, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_is_first_non_filter_16804", "fun_name": "bdrv_is_first_non_filter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_1:\n %1 = load i64, i64* %sv_1, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 0\n store i64 %5, i64* %sv_0.0.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %5 = call i64 @FUNC(i64 %sv_0.0.reload, i64* nonnull %sv_1)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_io_limits_disable_990", "fun_name": "blk_io_limits_disable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = icmp eq i64 %3, 0\n br i1 %7, label LBL_3, label LBL_4\n LBL_3:\n %8 = call i64 @FUNC(i64 %2)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %9 = call i64 @FUNC(i64 %3)\n %10 = call i64 @FUNC(i64 %2)\n %11 = call i64 @FUNC(i64 %3)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @throttle_group_unregister_tgm, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "floppy_revalidate_7228", "fun_name": "floppy_revalidate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i1\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n %2 = call i64 @FUNC(i64 0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = load i64, i64* @gv_0, align 8\n %7 = call i64 @FUNC(i64 1, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = and i64 %0, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64 ptrtoint (i64* @gv_1 to i64))\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %11)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_20, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64* nonnull @gv_2)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = zext i1 %21 to i64\n %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0))\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 4294967282, i64* %rax.0.shrunk.reg2mem\n br i1 %25, label LBL_5, label LBL_21\n LBL_5:\n %26 = and i64 %0, 4294967295\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 %27, i64* %rax.0.shrunk.reg2mem\n br i1 %29, label LBL_6, label LBL_21\n LBL_6:\n %30 = load i64, i64* @gv_0, align 8\n %31 = call i64 @FUNC(i64 0, i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i1 false, i1* %storemerge3.reg2mem\n br i1 %34, label LBL_11, label LBL_7\n LBL_7:\n %35 = load i64, i64* @gv_0, align 8\n %36 = call i64 @FUNC(i64 1, i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = icmp ne i32 %37, 0\n %phitmp2 = icmp eq i1 %38, false\n %39 = icmp eq i1 %phitmp2, false\n store i1 false, i1* %storemerge3.reg2mem\n br i1 %39, label LBL_11, label LBL_8\n LBL_8:\n %40 = call i64 @FUNC(i64 %26, i64 ptrtoint (i64* @gv_1 to i64))\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i1 true, i1* %storemerge3.reg2mem\n br i1 %43, label LBL_11, label LBL_9\n LBL_9:\n %44 = call i64 @FUNC(i64 %26)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n store i1 true, i1* %storemerge3.reg2mem\n br i1 %47, label LBL_11, label LBL_10\n LBL_10:\n %48 = call i64 @FUNC()\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_11:\n %storemerge3.reload = load i1, i1* %storemerge3.reg2mem\n %49 = load i64, i64* @gv_0, align 8\n %50 = add i64 %49, 4\n %51 = inttoptr i64 %50 to i32*\n store i32 0, i32* %51, align 4\n %52 = load i64, i64* @gv_0, align 8\n %53 = add i64 %52, 8\n %54 = inttoptr i64 %53 to i32*\n store i32 0, i32* %54, align 4\n %55 = load i32, i32* @gv_4, align 4\n %56 = trunc i64 %0 to i32\n %57 = icmp eq i32 %55, %56\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_13, label LBL_12\n LBL_12:\n store i32 -1, i32* bitcast (i64* @gv_5 to i32*), align 8\n br label LBL_13\n LBL_13:\n %59 = call i64 @FUNC(i64 %26, i64* nonnull @gv_1)\n %60 = load i64, i64* @gv_0, align 8\n %61 = inttoptr i64 %60 to i64*\n %62 = call i64 @FUNC(i64 0, i64* %61)\n br i1 %storemerge3.reload, label LBL_15, label LBL_14\n LBL_14:\n %63 = load i64, i64* @gv_0, align 8\n %64 = add i64 %63, 12\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = add i32 %66, 1\n store i32 %67, i32* %65, align 4\n br label LBL_15\n LBL_15:\n %68 = call i64 @FUNC(i64 %26)\n %69 = trunc i64 %68 to i32\n %70 = icmp eq i32 %69, 0\n br i1 %70, label LBL_17, label LBL_16\n LBL_16:\n %71 = load i64, i64* @gv_6, align 8\n %sext = mul i64 %0, 4294967296\n %72 = ashr exact i64 %sext, 30\n %73 = add i64 %71, %72\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = zext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %76, i64 %26)\n store i64 %77, i64* %sv_0.0.reg2mem\n br label LBL_20\n LBL_17:\n br i1 %storemerge3.reload, label LBL_19, label LBL_18\n LBL_18:\n %78 = call i64 @FUNC(i64 0, i64 1)\n br label LBL_19\n LBL_19:\n %79 = call i64 @FUNC()\n store i64 %27, i64* %sv_0.0.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %80 = load i64, i64* @gv_7, align 8\n %81 = load i64, i64* @gv_0, align 8\n %82 = add i64 %81, 16\n %83 = inttoptr i64 %82 to i32*\n %84 = load i32, i32* %83, align 4\n %85 = sext i32 %84 to i64\n %86 = mul i64 %85, 4\n %87 = add i64 %86, %80\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = zext i32 %89 to i64\n %91 = call i64 @FUNC(i64 %0, i64 %90)\n store i64 %sv_0.0.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i1 %storemerge3.reload, { 1, 0 }\n uselistorder i64 %27, { 1, 0, 2 }\n uselistorder i64 %26, { 2, 3, 4, 0, 1, 5 }\n uselistorder i64 %0, { 4, 0, 2, 3, 1 }\n uselistorder i1* %storemerge3.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64*)* @clear_bit, { 1, 0 }\n uselistorder i32 -1, { 2, 0, 1 }\n uselistorder i64 4, { 0, 3, 1, 2 }\n uselistorder i64 ()* @process_fd_request, { 1, 0 }\n uselistorder i1 true, { 1, 0 }\n uselistorder i64 (i64)* @drive_no_geom, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i1 false, { 3, 4, 5, 1, 6, 2, 0, 7, 8, 9, 10, 11 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0 }\n uselistorder i64 (i64, i64)* @test_bit, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_21, { 2, 3, 0, 1 }\n uselistorder label LBL_11, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "IRQ_setbit_16848", "fun_name": "IRQ_setbit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, 1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = and i64 %arg2, 4294967295\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n ret i64 %10\n\n uselistorder i64 8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jpc_bitstream_outalign_8193", "fun_name": "jpc_bitstream_outalign", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i64\n %sv_1.0.ph.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = and i64 %arg2, 4294967232\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %7 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = add i64 %7, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = add i64 %7, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = urem i32 %16, 256\n %18 = icmp eq i32 %17, 255\n %19 = icmp eq i1 %18, false\n store i64 7, i64* %sv_1.0.ph.reg2mem\n store i64 %8, i64* %sv_0.0.ph.reg2mem\n store i32 %11, i32* %.reg2mem\n br i1 %19, label LBL_10, label LBL_8\n LBL_6:\n %.off = add i32 %11, -1\n %20 = icmp ugt i32 %.off, 6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_17, label LBL_7\n LBL_7:\n %21 = sub i32 7, %11\n %22 = urem i32 %21, 32\n %23 = icmp eq i32 %22, 0\n %24 = trunc i64 %8 to i32\n %25 = ashr i32 %24, %22\n %26 = zext i32 %25 to i64\n %storemerge = select i1 %23, i64 %8, i64 %26\n %sext4 = mul i64 %storemerge, 4294967296\n %27 = ashr exact i64 %sext4, 32\n %phitmp = zext i32 %11 to i64\n store i64 %phitmp, i64* %sv_1.0.ph.reg2mem\n store i64 %27, i64* %sv_0.0.ph.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n %28 = trunc i64 %sv_0.0.ph.reload to i32\n %29 = call i64 @FUNC(i64 %7, i64 %sv_1.0.ph.reload, i32 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %31, label LBL_8.LBL_10_crit_edge, label LBL_17\n LBL_9:\n %.pre = load i32, i32* %10, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_10\n LBL_10:\n %.reload = load i32, i32* %.reg2mem\n %32 = icmp sgt i32 %.reload, 7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_17, label LBL_11\n LBL_11:\n %33 = icmp sgt i32 %.reload, -1\n br i1 %33, label LBL_13, label LBL_12\n LBL_12:\n call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 60, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_13\n LBL_13:\n %34 = add i64 %7, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = urem i32 %36, 256\n %38 = icmp eq i32 %37, 255\n %39 = icmp eq i1 %38, false\n store i32 %37, i32* %.pre-phi.reg2mem\n br i1 %39, label LBL_15, label LBL_14\n LBL_14:\n call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 61, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n %.pre9 = load i32, i32* %35, align 4\n %.pre10 = urem i32 %.pre9, 256\n store i32 %.pre10, i32* %.pre-phi.reg2mem\n br label LBL_15\n LBL_15:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %40 = add i64 %7, 16\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = zext i32 %.pre-phi.reload to i64\n %44 = call i64 @FUNC(i64 %42, i64 %43)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, -1\n %47 = icmp eq i1 %46, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %47, label LBL_16, label LBL_17\n LBL_16:\n store i32 8, i32* %10, align 4\n %48 = load i32, i32* %35, align 4\n %49 = mul i32 %48, 256\n %50 = and i32 %49, 65280\n store i32 %50, i32* %35, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %35, { 2, 1, 0, 3 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i32 %11, { 2, 3, 1, 0, 4 }\n uselistorder i32* %10, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i64 %7, { 1, 2, 0, 4, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i32 7, { 1, 0 }\n uselistorder i32 -1, { 2, 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 3, 2, 1 }\n uselistorder label LBL_17, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compute_default_clut_3683", "fun_name": "compute_default_clut", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i1\n %rax.0.lcssa.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i32\n %storemerge2.lcssa.reg2mem = alloca i32\n %sv_0.215.reg2mem = alloca i32\n %sv_1.216.reg2mem = alloca i32\n %storemerge317.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.110.reg2mem = alloca i32\n %sv_1.111.reg2mem = alloca i32\n %storemerge412.reg2mem = alloca i32\n %storemerge221.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %.pre-phi31.reg2mem = alloca i64\n %storemerge523.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %storemerge622.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = load i1, i1* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_4 to i64\n %3 = bitcast i64* %sv_3 to i8*\n call void @FUNC(i8* nonnull %3, i64 0, i64 128)\n %4 = icmp sgt i32 %arg3, 0\n %5 = trunc i64 %arg2 to i32\n br i1 %4, label LBL_2, label LBL_0.LBL_9_crit_edge\n LBL_1:\n %.pre30 = add i64 %2, -1616\n store i64 %.pre30, i64* %.pre-phi31.reg2mem\n br label LBL_9\n LBL_2:\n %6 = icmp sgt i32 %5, 0\n %7 = add i64 %2, -1616\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %storemerge523.reg2mem\n br label LBL_6\n LBL_3:\n %storemerge622.reload = load i32, i32* %storemerge622.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %9 = icmp eq i32 %storemerge622.reload, 0\n %10 = add nuw nsw i32 %storemerge622.reload, 1\n %11 = sub i32 %5, %10\n %12 = xor i32 %11, -2147483648\n %13 = and i32 %12, %5\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i32 %11, 0\n %16 = icmp slt i32 %11, 0\n %17 = icmp eq i1 %16, %14\n %18 = icmp eq i1 %15, false\n %19 = icmp ne i1 %17, %18\n %20 = icmp eq i1 %9, false\n %21 = icmp eq i1 %20, false\n %22 = icmp eq i1 %19, false\n %23 = icmp eq i1 %22, false\n %24 = zext i1 %21 to i64\n %25 = zext i1 %23 to i64\n %26 = add nuw nsw i64 %24, %46\n %27 = add nuw nsw i64 %26, %25\n %28 = icmp eq i64 %27, %49\n %29 = icmp eq i1 %28, false\n %30 = zext i1 %29 to i32\n %31 = add i32 %.reload, %30\n %exitcond26 = icmp eq i32 %10, %5\n store i32 %31, i32* %.reg2mem\n store i32 %10, i32* %storemerge622.reg2mem\n br i1 %exitcond26, label LBL_4, label LBL_3\n LBL_4:\n store i32 %31, i32* %8, align 8\n store i32 %33, i32* %.pre-phi.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %exitcond27 = icmp eq i32 %.pre-phi.reload, %arg3\n store i32 %.pre-phi.reload, i32* %storemerge523.reg2mem\n store i64 %7, i64* %.pre-phi31.reg2mem\n br i1 %exitcond27, label LBL_9, label LBL_6\n LBL_6:\n %storemerge523.reload = load i32, i32* %storemerge523.reg2mem\n br i1 %6, label LBL_3.lr.ph, label LBL_6.LBL_5_crit_edge\n LBL_7:\n %.pre = add nuw nsw i32 %storemerge523.reload, 1\n store i32 %.pre, i32* %.pre-phi.reg2mem\n br label LBL_5\n LBL_8:\n %32 = icmp eq i32 %storemerge523.reload, 0\n %33 = add nuw nsw i32 %storemerge523.reload, 1\n %34 = sub i32 %arg3, %33\n %35 = xor i32 %33, %arg3\n %36 = xor i32 %34, %arg3\n %37 = and i32 %36, %35\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i32 %34, 0\n %40 = icmp slt i32 %34, 0\n %41 = icmp eq i1 %40, %38\n %42 = icmp eq i1 %39, false\n %43 = icmp ne i1 %41, %42\n %44 = icmp eq i1 %32, false\n %45 = icmp eq i1 %44, false\n %46 = zext i1 %45 to i64\n %47 = icmp eq i1 %43, false\n %48 = icmp eq i1 %47, false\n %49 = sext i1 %48 to i64\n %.promoted = load i32, i32* %8, align 8\n store i32 %.promoted, i32* %.reg2mem\n store i32 0, i32* %storemerge622.reg2mem\n br label LBL_3\n LBL_9:\n %50 = ptrtoint i64* %arg1 to i64\n %51 = select i1 %1, i64 -1024, i64 1024\n %.pre-phi31.reload = load i64, i64* %.pre-phi31.reg2mem\n %52 = ptrtoint i64* %sv_2 to i64\n %53 = bitcast i64* %sv_2 to i8*\n %54 = add i64 %51, %52\n %55 = icmp sgt i32 %5, 0\n %56 = add i64 %50, 8\n %57 = inttoptr i64 %56 to i64*\n %58 = add i64 %2, -336\n %59 = add i64 %2, -592\n %60 = add i64 %2, -2640\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %storemerge221.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge221.reload = load i32, i32* %storemerge221.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n call void @FUNC(i8* nonnull %53, i64 0, i64 128)\n store i32 0, i32* %storemerge317.reg2mem\n store i32 0, i32* %sv_1.216.reg2mem\n store i32 0, i32* %sv_0.215.reg2mem\n store i32 0, i32* %storemerge2.lcssa.reg2mem\n br i1 %4, label LBL_15, label LBL_20\n LBL_11:\n %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem\n %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem\n %storemerge412.reload = load i32, i32* %storemerge412.reg2mem\n %61 = load i64, i64* %57, align 8\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = mul i32 %63, %storemerge317.reload\n %65 = add i32 %64, %storemerge412.reload\n %66 = sext i32 %65 to i64\n %67 = add i64 %54, %66\n %68 = inttoptr i64 %67 to i8*\n %69 = load i8, i8* %68, align 1\n %70 = zext i8 %69 to i64\n %71 = add i64 %58, %70\n %72 = inttoptr i64 %71 to i8*\n %73 = load i8, i8* %72, align 1\n %74 = add nuw nsw i32 %storemerge412.reload, 1\n %75 = icmp eq i8 %73, 0\n %76 = icmp eq i1 %75, false\n store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem\n store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem\n br i1 %76, label LBL_13, label LBL_12\n LBL_12:\n %77 = sub i32 %5, %74\n %78 = zext i8 %69 to i32\n %79 = icmp eq i32 %77, 0\n %80 = icmp slt i32 %77, 0\n %81 = xor i32 %77, -2147483648\n %82 = and i32 %81, %5\n %83 = icmp slt i32 %82, 0\n %84 = icmp ne i1 %80, %83\n %85 = or i1 %79, %84\n %86 = zext i1 %85 to i32\n %87 = icmp eq i32 %storemerge412.reload, 0\n %88 = zext i1 %87 to i32\n %89 = mul i64 %70, 4\n %90 = add i64 %60, %89\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = add nuw nsw i32 %117, %88\n %94 = add nuw nsw i32 %93, %86\n %95 = add i32 %94, %92\n store i32 %95, i32* %91, align 4\n %96 = sext i32 %95 to i64\n %97 = mul i64 %96, 1024\n %98 = add i64 %89, %.pre-phi31.reload\n %99 = inttoptr i64 %98 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = sext i32 %100 to i64\n %102 = udiv i64 %97, %101\n %103 = trunc i64 %102 to i32\n %104 = icmp slt i32 %sv_0.110.reload, %103\n %spec.select = select i1 %104, i32 %103, i32 %sv_0.110.reload\n %spec.select7 = select i1 %104, i32 %78, i32 %sv_1.111.reload\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n store i32 %spec.select7, i32* %sv_1.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %exitcond = icmp eq i32 %74, %5\n store i32 %74, i32* %storemerge412.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %exitcond, label LBL_14, label LBL_11\n LBL_14:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %exitcond25 = icmp eq i32 %105, %arg3\n store i32 %105, i32* %storemerge317.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %sv_1.216.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.215.reg2mem\n br i1 %exitcond25, label LBL_17, label LBL_15\n LBL_15:\n %sv_0.215.reload = load i32, i32* %sv_0.215.reg2mem\n %sv_1.216.reload = load i32, i32* %sv_1.216.reg2mem\n %storemerge317.reload = load i32, i32* %storemerge317.reg2mem\n %105 = add nuw nsw i32 %storemerge317.reload, 1\n store i32 %sv_0.215.reload, i32* %sv_0.1.lcssa.reg2mem\n store i32 %sv_1.216.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %55, label LBL_11.lr.ph, label LBL_14\n LBL_16:\n %106 = sub i32 %arg3, %105\n %107 = icmp eq i32 %106, 0\n %108 = icmp slt i32 %106, 0\n %109 = xor i32 %106, -2147483648\n %110 = and i32 %109, %arg3\n %111 = icmp slt i32 %110, 0\n %112 = icmp ne i1 %108, %111\n %113 = or i1 %107, %112\n %114 = zext i1 %113 to i32\n %115 = icmp eq i32 %storemerge317.reload, 0\n %116 = zext i1 %115 to i32\n %117 = add nuw nsw i32 %114, %116\n store i32 0, i32* %storemerge412.reg2mem\n store i32 %sv_1.216.reload, i32* %sv_1.111.reg2mem\n store i32 %sv_0.215.reload, i32* %sv_0.110.reg2mem\n br label LBL_11\n LBL_17:\n %118 = icmp eq i32 %sv_0.1.lcssa.reload, 0\n br i1 %118, label LBL_19, label LBL_18\n LBL_18:\n %119 = sext i32 %sv_1.1.lcssa.reload to i64\n %120 = add i64 %58, %119\n %121 = inttoptr i64 %120 to i8*\n store i8 1, i8* %121, align 1\n %122 = trunc i32 %sv_1.1.lcssa.reload to i8\n %123 = add i64 %indvars.iv.reload, %59\n %124 = inttoptr i64 %123 to i8*\n store i8 %122, i8* %124, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %125 = add nuw nsw i32 %storemerge221.reload, 1\n %126 = icmp ult i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %125, i32* %storemerge221.reg2mem\n store i32 %125, i32* %storemerge2.lcssa.reg2mem\n br i1 %126, label LBL_10, label LBL_20\n LBL_19:\n %127 = trunc i64 %indvars.iv.reload to i32\n store i32 %127, i32* %storemerge2.lcssa.reg2mem\n br label LBL_20\n LBL_20:\n %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem\n %128 = add i32 %storemerge2.lcssa.reload, -2\n %129 = sub i32 1, %storemerge2.lcssa.reload\n %130 = and i32 %129, %storemerge2.lcssa.reload\n %131 = icmp slt i32 %130, 0\n %132 = icmp slt i32 %128, 0\n %133 = icmp eq i1 %132, %131\n %.op = add i32 %storemerge2.lcssa.reload, -1\n %134 = zext i32 %.op to i64\n %135 = select i1 %133, i64 %134, i64 1\n %136 = icmp slt i32 %.op, 0\n %137 = icmp eq i1 %136, false\n store i64 %135, i64* %rax.0.lcssa.reg2mem\n br i1 %137, label LBL_21, label LBL_23\n LBL_21:\n %138 = add i64 %54, 8\n %139 = inttoptr i64 %138 to i64*\n store i32 %.op, i32* %storemerge9.reg2mem\n br label LBL_22\n LBL_22:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %140 = mul i32 %storemerge9.reload, 255\n %141 = ashr i32 %140, 31\n %142 = zext i32 %140 to i64\n %143 = zext i32 %141 to i64\n %144 = mul i64 %143, 4294967296\n %145 = or i64 %144, %142\n %146 = sdiv i64 %145, %135\n %147 = trunc i64 %146 to i32\n %148 = icmp slt i32 %147, 0\n %149 = zext i1 %148 to i32\n %150 = add i32 %149, %147\n %151 = ashr i32 %150, 1\n %152 = mul i32 %147, 256\n %153 = udiv i32 %150, 2\n %154 = mul i32 %153, 65536\n %155 = mul i32 %147, 16777216\n %156 = or i32 %155, %152\n %157 = or i32 %156, %151\n %158 = or i32 %157, %154\n %159 = load i64, i64* %139, align 8\n %160 = sext i32 %storemerge9.reload to i64\n %161 = add i64 %59, %160\n %162 = inttoptr i64 %161 to i8*\n %163 = load i8, i8* %162, align 1\n %164 = zext i8 %163 to i64\n %165 = mul i64 %164, 4\n %166 = add i64 %165, %159\n %167 = inttoptr i64 %166 to i32*\n store i32 %158, i32* %167, align 4\n %storemerge = add i32 %storemerge9.reload, -1\n %168 = icmp slt i32 %storemerge, 0\n %169 = icmp eq i1 %168, false\n store i32 %storemerge, i32* %storemerge9.reg2mem\n store i64 %166, i64* %rax.0.lcssa.reg2mem\n br i1 %169, label LBL_22, label LBL_23\n LBL_23:\n %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem\n ret i64 %rax.0.lcssa.reload\n\n uselistorder i32 %147, { 0, 1, 3, 2 }\n uselistorder i32 %storemerge9.reload, { 2, 0, 1 }\n uselistorder i64 %135, { 1, 0 }\n uselistorder i32 %storemerge2.lcssa.reload, { 1, 3, 2, 0 }\n uselistorder i32 %105, { 2, 1, 0 }\n uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 }\n uselistorder i32 %sv_1.1.lcssa.reload, { 2, 1, 0 }\n uselistorder i32 %103, { 1, 0 }\n uselistorder i64 %89, { 1, 0 }\n uselistorder i8 %69, { 1, 0 }\n uselistorder i32 %sv_1.111.reload, { 1, 0 }\n uselistorder i32 %sv_0.110.reload, { 1, 2, 0 }\n uselistorder i64 %indvars.iv.reload, { 2, 0, 1 }\n uselistorder i64 %58, { 1, 0 }\n uselistorder i64 %54, { 1, 0 }\n uselistorder i32 %34, { 1, 2, 0 }\n uselistorder i32 %33, { 1, 2, 0 }\n uselistorder i32 %storemerge523.reload, { 1, 0, 2 }\n uselistorder i32 %31, { 1, 0 }\n uselistorder i32 %11, { 1, 2, 0 }\n uselistorder i32 %storemerge622.reload, { 1, 0 }\n uselistorder i32* %8, { 1, 0 }\n uselistorder i32 %5, { 2, 0, 4, 3, 5, 1, 7, 6 }\n uselistorder i64 %2, { 0, 2, 3, 4, 1 }\n uselistorder i32* %.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge622.reg2mem, { 2, 1, 0 }\n uselistorder i32* %.pre-phi.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge221.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge412.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.111.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.110.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.1.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge317.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.216.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.215.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge2.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 5, 0, 6, 8, 1, 9, 2, 12, 7, 10, 3, 11, 4, 13 }\n uselistorder i32 -2147483648, { 0, 2, 1 }\n uselistorder i64 -1616, { 1, 0 }\n uselistorder i32 %arg3, { 0, 6, 4, 1, 2, 7, 3, 5 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_handle_packet_14492", "fun_name": "usb_handle_packet", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i32* %arg1, null\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_18\n LBL_1:\n %5 = trunc i64 %2 to i32\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, %5\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = add i64 %8, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 54, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = add i64 %13, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %18 = add i64 %13, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_14, label LBL_8\n LBL_8:\n %23 = add i64 %13, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 2\n br i1 %26, label LBL_13, label LBL_9\n LBL_9:\n %27 = icmp sgt i32 %25, 2\n store i64 4294967294, i64* %sv_0.02.reg2mem\n br i1 %27, label LBL_17, label LBL_10\n LBL_10:\n store i64 4294967294, i64* %sv_0.02.reg2mem\n switch i32 %25, label LBL_17 [\n i32 0, label LBL_11\n i32 1, label LBL_12\n ]\n LBL_11:\n %28 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %28, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_12:\n %29 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %29, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_13:\n %30 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %30, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_14:\n %31 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 %31, i64* %sv_0.0.in.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %32 = icmp eq i32 %sv_0.0, -3\n %33 = icmp eq i1 %32, false\n store i64 %sv_0.0.in.reload, i64* %sv_0.02.reg2mem\n br i1 %33, label LBL_17, label LBL_16\n LBL_16:\n %34 = load i32, i32* %19, align 4\n %35 = add i64 %13, 4\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %8, i64 %38, i32 %34)\n store i64 %39, i64* %15, align 8\n store i64 %sv_0.0.in.reload, i64* %sv_0.02.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %40 = and i64 %sv_0.02.reload, 4294967295\n store i64 %40, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.in.reload, { 1, 0, 2 }\n uselistorder i64 %13, { 3, 6, 2, 0, 1, 5, 4, 7 }\n uselistorder i64 %8, { 3, 4, 2, 0, 1, 5 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967294, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 1 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 2, 3, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "efi_device_path_depth_3879", "fun_name": "efi_device_path_depth", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_5\n LBL_1:\n %4 = trunc i64 %arg2 to i32\n store i32 1, i32* %storemerge25.reg2mem\n store i64 %0, i64* %sv_0.04.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %5 = call i64 @FUNC(i64 %sv_0.04.reload)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %4, %6\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = zext i32 %storemerge25.reload to i64\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %10 = call i64 @FUNC(i64 %sv_0.04.reload)\n %phitmp = add i32 %storemerge25.reload, 1\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i32 %phitmp, i32* %storemerge25.reg2mem\n store i64 %10, i64* %sv_0.04.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %13, label LBL_2, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64)* @IsDevicePathEnd, { 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readBytes_6665", "fun_name": "readBytes", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %3 = trunc i64 %sv_0.0.reload to i32\n %4 = call i64* @malloc(i32 %3)\n %5 = ptrtoint i64* %4 to i64\n %6 = icmp eq i64 %sv_0.0.reload, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = add i64 %storemerge1.reload, %5\n %9 = trunc i64 %7 to i8\n %10 = inttoptr i64 %8 to i8*\n store i8 %9, i8* %10, align 1\n %11 = add nuw i64 %storemerge1.reload, 1\n %exitcond = icmp eq i64 %11, %sv_0.0.reload\n store i64 %11, i64* %storemerge1.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n ret i64 %5\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prepenv_13377", "fun_name": "prepenv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0)\n %4 = icmp eq i64* %arg1, null\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %3, i64 %2)\n br label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %3)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_flat_shared_library_7025", "fun_name": "load_flat_shared_library", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = and i64 %arg1, 4294967295\n %1 = bitcast i64* %sv_2 to i8*\n %2 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %3 = ptrtoint i64* %sv_2 to i64\n store i64 %3, i64* %sv_1, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 -1, i64* %storemerge.in.reg2mem\n br i1 %6, label LBL_1, label LBL_6\n LBL_1:\n %7 = call i64 @FUNC()\n %8 = icmp eq i64 %7, 0\n store i64 4294967284, i64* %sv_0.1.reg2mem\n br i1 %8, label LBL_5, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64* nonnull %sv_1)\n %10 = trunc i64 %9 to i32\n %11 = icmp ult i32 %10, -4095\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_3, label LBL_4\n LBL_3:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = trunc i64 %arg1 to i32\n %14 = call i64 @FUNC(i64* nonnull %sv_1, i64 %12, i32 %13, i64 0)\n store i64 %14, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %15 = call i64 @FUNC(i64 %7)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %16 = call i64 @FUNC(i64 %4)\n %17 = call i64 @FUNC(i64 %4)\n store i64 %sv_0.1.reload, i64* %storemerge.in.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_psy_preprocess_end_553", "fun_name": "ff_psy_preprocess_end", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem3 = alloca i32\n %.reg2mem = alloca i64\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %arg1, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n %8 = trunc i64 %2 to i32\n %9 = icmp eq i32 %8, 0\n %or.cond = or i1 %9, %7\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %10 = inttoptr i64 %6 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = and i64 %11, 4294967294\n %14 = icmp eq i64 %13, 0\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %.reg2mem3\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %.reload4 = load i32, i32* %.reg2mem3\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i64, i64* %5, align 8\n %15 = mul i64 %.reload, 8\n %16 = add i64 %15, %.pre\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i32 %.reload4, 1\n %21 = and i64 %18, 4294967295\n %22 = sext i32 %20 to i64\n %23 = icmp sgt i64 %21, %22\n store i64 %22, i64* %.reg2mem\n store i32 %20, i32* %.reg2mem3\n br i1 %23, label LBL_2, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %4)\n %25 = call i64 @FUNC(i64 %arg1)\n ret i64 %25\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem3, { 2, 0, 1 }\n uselistorder i64 (i64)* @ff_iir_filter_free_state, { 1, 0 }\n uselistorder i32 1, { 5, 2, 4, 3, 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_op_fpexception_im_16112", "fun_name": "gen_op_fpexception_im", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = zext i32 %1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 %2, i64 4294967040)\n %4 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 %5, i64 %5, i32 %0)\n %7 = call i64 @FUNC(i64 1)\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 4198730, i64 %8)\n %10 = call i64 @FUNC(i64 %8)\n ret i64 %10\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "h2o_websocket_proceed_17568", "fun_name": "h2o_websocket_proceed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.pre5.reg2mem = alloca i64\n %.pre.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre1.reg2mem = alloca i64\n %.pre2.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %.pre2.reg2mem\n br label LBL_1\n LBL_1:\n %.pre2.reload = load i64, i64* %.pre2.reg2mem\n %3 = call i64 @FUNC(i64 %.pre2.reload)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %.pre2.reload, i64* %.pre1.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = load i64, i64* %2, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %7, i64* %.pre1.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = load i64, i64* %2, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %11, i64* %.pre1.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_16, label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.pre1.reload = load i64, i64* %.pre1.reg2mem\n %16 = trunc i64 %.pre1.reload to i32\n %17 = icmp eq i32 %16, 0\n store i64 %.pre1.reload, i64* %.pre.reg2mem\n br i1 %17, label LBL_7, label LBL_5\n LBL_5:\n %18 = load i64, i64* %2, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i64 %18, i64* %.pre.reg2mem\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = load i64, i64* %2, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %22, i64* %.pre5.reg2mem\n br i1 %26, label LBL_16, label LBL_7.LBL_1_crit_edge\n LBL_7:\n %.pre.reload = load i64, i64* %.pre.reg2mem\n %27 = icmp eq i32 %sv_0.0.reload, 0\n %28 = icmp eq i1 %27, false\n store i64 %.pre.reload, i64* %.pre5.reg2mem\n br i1 %28, label LBL_7.LBL_1_crit_edge, label LBL_9\n LBL_8:\n %.pre5.reload = load i64, i64* %.pre5.reg2mem\n store i64 %.pre5.reload, i64* %.pre2.reg2mem\n br label LBL_1\n LBL_9:\n %29 = add i64 %0, 16\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp slt i32 %31, 1\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %33 = add i64 %0, 24\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %.pre.reload, i64 %35, i32 %31, i64 4198785)\n store i32 0, i32* %30, align 4\n br label LBL_11\n LBL_11:\n %37 = load i64, i64* %2, align 8\n %38 = call i64 @FUNC(i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_13, label LBL_12\n LBL_12:\n %41 = call i64 @FUNC(i64 %37, i64 4198792)\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_13:\n %42 = call i64 @FUNC(i64 %37)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 %37, i64* %.reg2mem\n br i1 %45, label LBL_15, label LBL_14\n LBL_14:\n %46 = load i64, i64* %2, align 8\n %47 = call i64 @FUNC(i64 %46)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n store i64 %46, i64* %.reg2mem\n br i1 %49, label LBL_16, label LBL_15\n LBL_15:\n %.reload = load i64, i64* %.reg2mem\n %50 = call i64 @FUNC(i64 %.reload)\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %51 = call i64 @FUNC(i64 %0)\n store i64 %51, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.pre.reload, { 1, 0 }\n uselistorder i64* %2, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 %0, { 2, 4, 3, 0, 1 }\n uselistorder i64* %.pre2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.pre5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @wslay_event_want_read, { 1, 0 }\n uselistorder i64 (i64)* @wslay_event_want_write, { 1, 0 }\n uselistorder i64 (i64)* @h2o_socket_is_writing, { 1, 0 }\n uselistorder label LBL_16, { 2, 0, 1 }\n uselistorder label LBL_7.LBL_1_crit_edge, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hci_discovery_set_state_5405", "fun_name": "hci_discovery_set_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %arg2 to i32\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %3, i32 %7, i32 %4, i64 %2, i64 %1)\n %9 = load i32, i32* %6, align 4\n %10 = zext i32 %9 to i64\n %11 = icmp eq i32 %9, %4\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = and i64 %12, 4294967295\n store i64 %13, i64* @0, align 8\n %trunc = trunc i64 %12 to i32\n switch i32 %trunc, label LBL_5 [\n i32 0, label LBL_2\n i32 2, label LBL_4\n ]\n LBL_2:\n %14 = call i64 @FUNC(i64 %3)\n %15 = load i32, i32* %6, align 4\n %16 = icmp eq i32 %15, 1\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %3, i64 0)\n br label LBL_5\n LBL_4:\n %18 = call i64 @FUNC(i64 %3, i64 1)\n br label LBL_5\n LBL_5:\n store i32 %trunc, i32* %6, align 4\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 1, 0 }\n uselistorder i32* %6, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 0, 3, 1, 2, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @mgmt_discovering, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "archive_acl_text_want_type_10490", "fun_name": "archive_acl_text_want_type", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 2\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i32 %2, 2\n %6 = icmp eq i32 %5, 0\n %. = zext i1 %6 to i64\n ret i64 %.\n LBL_2:\n %7 = trunc i64 %arg2 to i32\n %8 = and i32 %7, 12\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = zext i32 %8 to i64\n %spec.select3 = select i1 %10, i64 %11, i64 2\n ret i64 %spec.select3\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_write_subtitle_tag_7996", "fun_name": "mov_write_subtitle_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2, i64 0)\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %2, i64 %5)\n %7 = call i64 @FUNC(i64 %2, i64 0)\n %8 = call i64 @FUNC(i64 %2, i64 0)\n %9 = call i64 @FUNC(i64 %2, i64 1)\n %10 = ptrtoint i32* %arg2 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 1\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_2, label LBL_1\n LBL_1:\n %18 = call i64 @FUNC(i64 %2, i64 %10)\n br label LBL_4\n LBL_2:\n %19 = add i64 %13, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = add i64 %13, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %2, i64 %25, i32 %21)\n br label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64 %2, i64 %3)\n ret i64 %27\n\n uselistorder i64 %2, { 2, 1, 0, 3, 4, 5, 6, 7, 8 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_wb16, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_wb32, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "memory_region_is_unassigned_1652", "fun_name": "memory_region_is_unassigned", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, @gv_0\n %1 = icmp eq i64* %arg1, @gv_1\n %or.cond = or i1 %0, %1\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n %4 = icmp eq i64* %arg1, @gv_2\n %or.cond3 = or i1 %4, %3\n store i64 1, i64* %storemerge.reg2mem\n br i1 %or.cond3, label LBL_2, label LBL_3\n LBL_2:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "e1000e_pci_foreach_callback_15794", "fun_name": "e1000e_pci_foreach_callback", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i32* %arg1 to i64\n store i64 %1, i64* %arg3, align 8\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mem_cgroup_usage_unregister_event_18826", "fun_name": "mem_cgroup_usage_unregister_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem20 = alloca i64\n %.reg2mem18 = alloca i64*\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem16 = alloca i64\n %sv_2.02.reg2mem = alloca i32\n %sv_1.13.reg2mem = alloca i32\n %.reg2mem14 = alloca i64\n %.reg2mem12 = alloca i64\n %.reg2mem10 = alloca i64*\n %.reg2mem8 = alloca i64\n %sv_3.14.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %1, 40\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %6 = call i64 @FUNC(i64 %1, i64 0)\n %7 = call i64 @FUNC(i64 %1, i64 0)\n %8 = inttoptr i64 %3 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_3, label LBL_4\n LBL_3:\n %13 = add i64 %1, 48\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n store i64 %15, i64* %.reg2mem8\n store i64* %14, i64** %.reg2mem10\n br label LBL_7\n LBL_4:\n %16 = ptrtoint i64* %arg3 to i64\n %17 = zext i32 %11 to i64\n %18 = add i64 %9, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge5.reg2mem\n store i32 0, i32* %sv_3.14.reg2mem\n br label LBL_5\n LBL_5:\n %sv_3.14.reload = load i32, i32* %sv_3.14.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %21 = mul i64 %.reload, 16\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp ne i64 %24, %16\n %26 = zext i1 %25 to i32\n %spec.select = add i32 %sv_3.14.reload, %26\n %27 = add i32 %storemerge5.reload, 1\n %28 = sext i32 %27 to i64\n %29 = icmp slt i64 %28, %17\n store i64 %28, i64* %.reg2mem\n store i32 %27, i32* %storemerge5.reg2mem\n store i32 %spec.select, i32* %sv_3.14.reg2mem\n br i1 %29, label LBL_5, label LBL_6\n LBL_6:\n %30 = add i64 %1, 48\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i32 %spec.select, 0\n %34 = icmp eq i1 %33, false\n store i64 %32, i64* %.reg2mem8\n store i64* %31, i64** %.reg2mem10\n br i1 %34, label LBL_8, label LBL_7\n LBL_7:\n %.reload11 = load i64*, i64** %.reg2mem10\n %.reload9 = load i64, i64* %.reg2mem8\n %35 = call i64 @FUNC(i64 %.reload9)\n %.pre7 = load i64, i64* %8, align 8\n store i64* %.reload11, i64** %.reg2mem18\n store i64 %.pre7, i64* %.reg2mem20\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_8:\n %36 = inttoptr i64 %32 to i32*\n store i32 %spec.select, i32* %36, align 4\n %37 = add i64 %32, 16\n %38 = inttoptr i64 %37 to i32*\n store i32 -1, i32* %38, align 4\n %39 = load i64, i64* %8, align 8\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = icmp eq i32 %41, 0\n store i64* %31, i64** %.reg2mem18\n store i64 %39, i64* %.reg2mem20\n store i64 %32, i64* %sv_0.0.reg2mem\n br i1 %42, label LBL_15, label LBL_9\n LBL_9:\n %43 = add i64 %32, 8\n %44 = inttoptr i64 %43 to i64*\n store i64 %39, i64* %.reg2mem12\n store i64 0, i64* %.reg2mem14\n store i32 0, i32* %sv_1.13.reg2mem\n store i32 0, i32* %sv_2.02.reg2mem\n br label LBL_10\n LBL_10:\n %sv_2.02.reload = load i32, i32* %sv_2.02.reg2mem\n %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem\n %.reload15 = load i64, i64* %.reg2mem14\n %.reload13 = load i64, i64* %.reg2mem12\n %45 = add i64 %.reload13, 8\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = mul i64 %.reload15, 16\n %49 = add i64 %47, %48\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = icmp eq i64 %51, %16\n store i64 %.reload13, i64* %.reg2mem16\n store i32 %sv_1.13.reload, i32* %sv_1.0.reg2mem\n br i1 %52, label LBL_14, label LBL_11\n LBL_11:\n %53 = load i64, i64* %44, align 8\n %54 = sext i32 %sv_1.13.reload to i64\n %55 = mul i64 %54, 16\n %56 = add i64 %53, %55\n %57 = add i64 %49, 8\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = inttoptr i64 %56 to i64*\n store i64 %51, i64* %60, align 8\n %61 = add i64 %56, 8\n %62 = inttoptr i64 %61 to i64*\n store i64 %59, i64* %62, align 8\n %63 = load i64, i64* %44, align 8\n %64 = or i64 %55, 8\n %65 = add i64 %63, %64\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = icmp ugt i64 %6, %67\n br i1 %68, label LBL_12, label LBL_13\n LBL_12:\n %69 = load i32, i32* %38, align 4\n %70 = add i32 %69, 1\n store i32 %70, i32* %38, align 4\n br label LBL_13\n LBL_13:\n %71 = add i32 %sv_1.13.reload, 1\n %.pre = load i64, i64* %8, align 8\n store i64 %.pre, i64* %.reg2mem16\n store i32 %71, i32* %sv_1.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %72 = add i32 %sv_2.02.reload, 1\n %73 = inttoptr i64 %.reload17 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = zext i32 %74 to i64\n %76 = sext i32 %72 to i64\n %77 = icmp slt i64 %76, %75\n store i64 %.reload17, i64* %.reg2mem12\n store i64 %76, i64* %.reg2mem14\n store i32 %sv_1.0.reload, i32* %sv_1.13.reg2mem\n store i32 %72, i32* %sv_2.02.reg2mem\n store i64* %31, i64** %.reg2mem18\n store i64 %.reload17, i64* %.reg2mem20\n store i64 %32, i64* %sv_0.0.reg2mem\n br i1 %77, label LBL_10, label LBL_15\n LBL_15:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.reload21 = load i64, i64* %.reg2mem20\n %.reload19 = load i64*, i64** %.reg2mem18\n store i64 %.reload21, i64* %.reload19, align 8\n %78 = load i64, i64* %8, align 8\n %79 = call i64 @FUNC(i64 %78, i64 %sv_0.0.reload)\n %80 = call i64 @FUNC()\n %81 = call i64 @FUNC(i64 %1)\n ret i64 %81\n\n uselistorder i64 %.reload17, { 0, 2, 1 }\n uselistorder i64 %56, { 1, 0 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i32 %sv_1.13.reload, { 1, 2, 0 }\n uselistorder i64 %39, { 1, 0, 2 }\n uselistorder i32* %38, { 1, 0, 2 }\n uselistorder i64 %32, { 0, 3, 1, 4, 5, 2 }\n uselistorder i32 %spec.select, { 2, 1, 0 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64* %8, { 2, 1, 3, 0, 4 }\n uselistorder i64 %1, { 2, 1, 0, 4, 3, 5, 6 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem12, { 1, 0, 2 }\n uselistorder i64* %.reg2mem14, { 1, 0, 2 }\n uselistorder i32* %sv_1.13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.02.reg2mem, { 1, 0, 2 }\n uselistorder i64 16, { 0, 1, 3, 2 }\n uselistorder i64 8, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 48, { 1, 0 }\n uselistorder i32 0, { 0, 1, 4, 6, 2, 3, 5 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fiber_transfer_9833", "fun_name": "fiber_transfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %1 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = call i64 @FUNC(i64 %0, i64 %0)\n %4 = bitcast i32* %sv_1 to i64*\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %4)\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %2, %8\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %0, i64 %2)\n %13 = call i64 @FUNC(i64 %2)\n %14 = load i32, i32* %sv_1, align 4\n %15 = zext i32 %14 to i64\n %16 = load i64, i64* %sv_0, align 8\n %17 = call i64 @FUNC(i64 %0, i64 %16, i64 %15)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %18 = icmp eq i64 %2, %0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = load i32, i32* %sv_1, align 4\n %21 = zext i32 %20 to i64\n %22 = load i64, i64* %sv_0, align 8\n %23 = call i64 @FUNC(i64 %0, i64 %22, i64 %21)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %24 = load i64, i64* %sv_0, align 8\n %25 = load i32, i32* %sv_1, align 4\n %26 = zext i32 %25 to i64\n %27 = trunc i64 %arg2 to i32\n %28 = call i64 @FUNC(i64 %0, i32 %27, i64 %26, i64 %24, i64 0, i64 0)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i32* %sv_1, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0, { 1, 2, 3, 0 }\n uselistorder i64 %0, { 3, 2, 4, 1, 0, 5, 6, 8, 7, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @fiber_result, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_direct_dist_scale_factor_474", "fun_name": "ff_h264_direct_dist_scale_factor", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem32 = alloca i64\n %.pre-phi14.reg2mem = alloca i32*\n %storemerge4.in17.reg2mem = alloca i32\n %.reg2mem30 = alloca i32\n %.reg2mem28 = alloca i32\n %.reg2mem26 = alloca i32\n %storemerge37.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem24 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i32 %2, 1\n %13 = icmp eq i1 %12, false\n %. = select i1 %13, i64 0, i64 4\n %14 = add i64 %11, %.\n %storemerge4.in.in15 = inttoptr i64 %14 to i32*\n %storemerge4.in16 = load i32, i32* %storemerge4.in.in15, align 4\n %15 = add i64 %5, 32\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %.pre12 = add i64 %5, 48\n %.pre13 = inttoptr i64 %.pre12 to i32*\n %.pre23 = load i32, i32* %.pre13, align 4\n store i32 %.pre23, i32* %.reg2mem28\n store i32 %17, i32* %.reg2mem30\n store i32 %storemerge4.in16, i32* %storemerge4.in17.reg2mem\n store i32* %.pre13, i32** %.pre-phi14.reg2mem\n br label LBL_8\n LBL_2:\n %storemerge4.in.in = inttoptr i64 %8 to i32*\n %storemerge4.in = load i32, i32* %storemerge4.in.in, align 4\n %18 = add i64 %5, 32\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %5, 40\n %22 = inttoptr i64 %21 to i64*\n %23 = add i64 %5, 48\n %24 = inttoptr i64 %23 to i32*\n %25 = add i64 %5, 60\n %.pre11 = load i32, i32* %24, align 4\n store i32 %.pre11, i32* %.reg2mem\n store i64 %8, i64* %.reg2mem24\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.reload25 = load i64, i64* %.reg2mem24\n %.reload = load i32, i32* %.reg2mem\n %26 = add i64 %.reload25, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = mul i64 %indvars.iv.reload, 4\n %30 = add i64 %28, %29\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = load i64, i64* %22, align 8\n %34 = add i64 %33, %29\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = urem i32 %.reload, -2147483648\n %38 = icmp eq i32 %37, 0\n store i32 %.reload, i32* %.reg2mem26\n br i1 %38, label LBL_6, label LBL_4\n LBL_4:\n %39 = mul i64 %indvars.iv.reload, 2\n %40 = trunc i64 %indvars.iv.reload to i32\n store i32 0, i32* %storemerge37.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge37.reload = load i32, i32* %storemerge37.reg2mem\n %41 = add i32 %storemerge37.reload, 16\n %42 = zext i32 %41 to i64\n %43 = xor i32 %storemerge37.reload, %40\n %44 = call i64 @FUNC(i64 %5, i32 %32, i32 %36, i64 %42)\n %45 = sext i32 %43 to i64\n %46 = add nsw i64 %39, %45\n %47 = trunc i64 %44 to i32\n %48 = mul i64 %46, 4\n %49 = add i64 %25, %48\n %50 = inttoptr i64 %49 to i32*\n store i32 %47, i32* %50, align 4\n %51 = add i32 %storemerge37.reload, 1\n %52 = load i32, i32* %24, align 4\n %53 = mul i32 %52, 2\n %54 = zext i32 %53 to i64\n %55 = sext i32 %51 to i64\n %56 = icmp slt i64 %55, %54\n store i32 %51, i32* %storemerge37.reg2mem\n store i32 %52, i32* %.reg2mem26\n br i1 %56, label LBL_5, label LBL_6\n LBL_6:\n %.reload27 = load i32, i32* %.reg2mem26\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i32 %.reload27, i32* %.reg2mem28\n store i32 %20, i32* %.reg2mem30\n store i32 %storemerge4.in, i32* %storemerge4.in17.reg2mem\n store i32* %24, i32** %.pre-phi14.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_6.LBL_3_crit_edge\n LBL_7:\n %.pre = load i64, i64* %7, align 8\n store i32 %.reload27, i32* %.reg2mem\n store i64 %.pre, i64* %.reg2mem24\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_8:\n %.reload29 = load i32, i32* %.reg2mem28\n %57 = icmp eq i32 %.reload29, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %57, label LBL_11, label LBL_9\n LBL_9:\n %.pre-phi14.reload = load i32*, i32** %.pre-phi14.reg2mem\n %storemerge4.in17.reload = load i32, i32* %storemerge4.in17.reg2mem\n %.reload31 = load i32, i32* %.reg2mem30\n %58 = add i64 %5, 52\n store i64 0, i64* %.reg2mem32\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload33 = load i64, i64* %.reg2mem32\n %59 = zext i32 %storemerge6.reload to i64\n %60 = call i64 @FUNC(i64 %5, i32 %storemerge4.in17.reload, i32 %.reload31, i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = mul i64 %.reload33, 4\n %63 = add i64 %58, %62\n %64 = inttoptr i64 %63 to i32*\n store i32 %61, i32* %64, align 4\n %65 = add i32 %storemerge6.reload, 1\n %66 = load i32, i32* %.pre-phi14.reload, align 4\n %67 = zext i32 %66 to i64\n %68 = sext i32 %65 to i64\n %69 = icmp slt i64 %68, %67\n store i64 %68, i64* %.reg2mem32\n store i32 %65, i32* %storemerge6.reg2mem\n store i64 %67, i64* %.lcssa.reg2mem\n br i1 %69, label LBL_10, label LBL_11\n LBL_11:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %.reload27, { 1, 0 }\n uselistorder i32 %storemerge37.reload, { 0, 2, 1 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 }\n uselistorder i32* %24, { 0, 2, 1 }\n uselistorder i64 %5, { 7, 2, 5, 3, 4, 6, 8, 1, 0, 9 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem24, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge37.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem32, { 1, 0, 2 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i32, i32, i64)* @get_scale_factor, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 48, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_once_11323", "fun_name": "init_once", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %arg1, 16\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %arg1, 20\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %arg1, 24\n %6 = call i64 @FUNC(i64 %5)\n ret i64 %6\n\n uselistorder i64 (i64)* @init_rwsem, { 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_neon_dup_u8_629", "fun_name": "gen_neon_dup_u8", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %sext2 = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext2, 32\n %2 = call i64 @FUNC()\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = and i64 %0, 4294967295\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n %5 = and i64 %1, 4294967295\n %6 = and i64 %0, 4294967295\n %7 = call i64 @FUNC(i64 %6, i64 %6, i64 %5)\n store i64 %6, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_3:\n %8 = trunc i64 %2 to i32\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %9 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %.pre-phi.reload)\n %10 = and i64 %2, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 %.pre-phi.reload, i64 8)\n %12 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %.pre-phi.reload, i32 %8)\n %13 = call i64 @FUNC(i64 %10, i64 %.pre-phi.reload, i64 16)\n %14 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %.pre-phi.reload, i32 %8)\n %15 = call i64 @FUNC(i64 %10)\n ret i64 %15\n\n uselistorder i64 %.pre-phi.reload, { 0, 1, 4, 2, 3, 5, 7, 6 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @tcg_gen_or_i32, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @tcg_gen_shli_i32, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 0, 4, 5 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_dev_16475", "fun_name": "init_dev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = call i64 @FUNC(i64 1048576)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %2, i64* %4, align 8\n %5 = inttoptr i64 %2 to i64*\n %6 = call i64* @memset(i64* %5, i32 255, i32 1048576)\n %7 = load i64, i64* %4, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %11 = call i32 @fwrite(i64* bitcast ([34 x i8]* @gv_1 to i64*), i32 1, i32 33, %_IO_FILE* %10)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %12 = icmp eq i64 %arg2, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_3\n LBL_3:\n %13 = add i64 %7, 16896\n %14 = call i64 @FUNC(i64 %arg2, i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %19 = and i64 %14, 4294967295\n %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %19)\n %21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %22 = inttoptr i64 %arg2 to i8*\n %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i8* %22)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %24 = add i32 %15, 16895\n %25 = sdiv i32 %24, 16896\n %26 = load i64, i64* %4, align 8\n %27 = trunc i32 %25 to i8\n %28 = inttoptr i64 %26 to i8*\n store i8 %27, i8* %28, align 1\n %29 = udiv i32 %25, 256\n %30 = load i64, i64* %4, align 8\n %31 = add i64 %30, 1\n %32 = trunc i32 %29 to i8\n %33 = inttoptr i64 %31 to i8*\n store i8 %32, i8* %33, align 1\n %34 = ashr i32 %25, 16\n %35 = load i64, i64* %4, align 8\n %36 = add i64 %35, 2\n %37 = trunc i32 %34 to i8\n %38 = inttoptr i64 %36 to i8*\n store i8 %37, i8* %38, align 1\n %39 = udiv i32 %25, 16777216\n %40 = load i64, i64* %4, align 8\n %41 = add i64 %40, 3\n %42 = trunc i32 %39 to i8\n %43 = inttoptr i64 %41 to i8*\n store i8 %42, i8* %43, align 1\n %44 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %45 = and i64 %14, 4294967295\n %46 = inttoptr i64 %arg2 to i8*\n %47 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %44, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i64 %45, i8* %46)\n %48 = sext i32 %47 to i64\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %25, { 0, 3, 1, 2 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 3, 2, 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 %arg2, { 1, 0, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ds1338_send_2206", "fun_name": "ds1338_send", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 72057594037927936\n %1 = ashr exact i64 %sext, 56\n %2 = add i64 %0, 56\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %1 to i8\n %7 = urem i8 %6, 32\n %8 = add i64 %0, 57\n %9 = inttoptr i64 %8 to i8*\n store i8 %7, i8* %9, align 1\n store i8 0, i8* %3, align 1\n br label LBL_19\n LBL_2:\n %10 = add i64 %0, 57\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp ult i8 %12, 8\n br i1 %13, label LBL_3, label LBL_17\n LBL_3:\n %14 = add i64 %0, 92\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %0, i64 %17)\n store i64 %0, i64* @0, align 8\n switch i64 %0, label LBL_16 [\n i64 0, label LBL_4\n i64 1, label LBL_5\n i64 2, label LBL_6\n i64 3, label LBL_12\n i64 4, label LBL_13\n i64 5, label LBL_14\n i64 6, label LBL_15\n ]\n LBL_4:\n %19 = urem i64 %1, 128\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = bitcast i64* %arg1 to i32*\n store i32 %21, i32* %22, align 4\n br label LBL_16\n LBL_5:\n %23 = urem i64 %1, 128\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n store i32 %25, i32* inttoptr (i64 5 to i32*), align 4\n br label LBL_16\n LBL_6:\n %26 = and i64 %arg2, 64\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_10, label LBL_7\n LBL_7:\n %28 = and i64 %arg2, 32\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = and i64 %1, 79\n %31 = call i64 @FUNC(i64 %30)\n %32 = mul i64 %31, 72057594037927936\n %sext2 = add i64 %32, 792633534417207296\n store i64 %sext2, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_9:\n %33 = urem i64 %1, 32\n %34 = call i64 @FUNC(i64 %33)\n %35 = mul i64 %34, 72057594037927936\n %sext3 = add i64 %35, -72057594037927936\n store i64 %sext3, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_10:\n %36 = urem i64 %1, 256\n %37 = call i64 @FUNC(i64 %36)\n %sext4 = mul i64 %37, 72057594037927936\n store i64 %sext4, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %38 = udiv i64 %sv_0.0.in.reload, 72057594037927936\n %39 = trunc i64 %38 to i32\n store i32 %39, i32* inttoptr (i64 10 to i32*), align 4\n br label LBL_16\n LBL_12:\n %40 = urem i64 %1, 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = trunc i64 %41 to i32\n %43 = add i32 %42, -1\n store i32 %43, i32* inttoptr (i64 27 to i32*), align 4\n br label LBL_16\n LBL_13:\n %44 = urem i64 %1, 64\n %45 = call i64 @FUNC(i64 %44)\n %46 = trunc i64 %45 to i32\n store i32 %46, i32* inttoptr (i64 16 to i32*), align 16\n br label LBL_16\n LBL_14:\n %47 = urem i64 %1, 32\n %48 = call i64 @FUNC(i64 %47)\n %49 = trunc i64 %48 to i32\n %50 = add i32 %49, -1\n store i32 %50, i32* inttoptr (i64 21 to i32*), align 4\n br label LBL_16\n LBL_15:\n %51 = urem i64 %1, 256\n %52 = call i64 @FUNC(i64 %51)\n %53 = trunc i64 %52 to i32\n %54 = add i32 %53, 100\n store i32 %54, i32* inttoptr (i64 26 to i32*), align 4\n br label LBL_16\n LBL_16:\n %55 = call i64 @FUNC(i64 %0)\n %56 = trunc i64 %55 to i32\n store i32 %56, i32* %15, align 4\n br label LBL_18\n LBL_17:\n %57 = zext i8 %12 to i64\n %58 = trunc i64 %1 to i8\n %59 = add i64 %0, 58\n %60 = add i64 %59, %57\n %61 = inttoptr i64 %60 to i8*\n store i8 %58, i8* %61, align 1\n br label LBL_18\n LBL_18:\n %62 = load i8, i8* %11, align 1\n %63 = add i8 %62, 1\n %64 = urem i8 %63, 32\n store i8 %64, i8* %11, align 1\n br label LBL_19\n LBL_19:\n ret i64 0\n\n uselistorder i8* %11, { 1, 0, 2 }\n uselistorder i64 %1, { 9, 0, 1, 2, 3, 4, 5, 10, 6, 7, 8 }\n uselistorder i64 %0, { 6, 0, 2, 5, 4, 3, 7, 1, 8 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 16, { 3, 1, 0, 2, 4, 5 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64)* @from_bcd, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 56, { 1, 0 }\n uselistorder i64 72057594037927936, { 4, 0, 1, 2, 3 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_ppxstab_grow_10604", "fun_name": "jpc_ppxstab_grow", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = and i64 %1, 4294967295\n %4 = icmp sgt i64 %2, %3\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %8, i64 %2, i64 8)\n store i64 %10, i64* %storemerge5.reg2mem\n br label LBL_4\n LBL_3:\n %11 = call i64 @FUNC(i64 %2, i64 8)\n store i64 %11, i64* %storemerge5.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %12 = icmp eq i64 %storemerge5.reload, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %13, label LBL_5, label LBL_6\n LBL_5:\n store i64 %storemerge5.reload, i64* %7, align 8\n %14 = trunc i64 %2 to i32\n %15 = bitcast i64* %arg1 to i32*\n store i32 %14, i32* %15, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge5.reload, { 1, 0 }\n uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder label LBL_6, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mm_log_handler_8772", "fun_name": "mm_log_handler", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i32* %arg3 to i64\n %sv_0 = alloca i64, align 8\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n unreachable\n LBL_2:\n %9 = and i64 %arg1, 4294967295\n %10 = call i64 @FUNC(i64* nonnull %sv_0)\n %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 0)\n %12 = call i64 @FUNC(i64* nonnull %sv_0, i64 %9)\n %13 = ptrtoint i8* %arg2 to i64\n %14 = call i64 @FUNC(i64* nonnull %sv_0, i64 %13)\n %15 = call i64 @FUNC(i64* nonnull %sv_0)\n %16 = add i64 %15, -4\n %17 = call i64 @FUNC(i64* nonnull %sv_0)\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n %19 = call i64 @FUNC(i64* nonnull %sv_0)\n %20 = call i64 @FUNC(i64* nonnull %sv_0)\n %21 = and i64 %4, 4294967295\n %22 = call i64 @FUNC(i64 4199837, i64 %21, i64 %20, i64 %19)\n %23 = call i64 @FUNC(i64* nonnull %sv_0)\n %24 = icmp eq i64 %22, %23\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = call i32* @__errno_location()\n %26 = load i32, i32* %25, align 4\n %27 = call i8* @strerror(i32 %26)\n %28 = ptrtoint i8* %27 to i64\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %19, i64 %2, i64 %1)\n unreachable\n LBL_4:\n %30 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %30\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64*)* @buffer_ptr, { 1, 0 }\n uselistorder i64 (i64*)* @buffer_len, { 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @buffer_put_int, { 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @fatal, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SFDReadUTF7Str_211", "fun_name": "SFDReadUTF7Str", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i8*\n %sv_1.2.reg2mem = alloca i32\n %sv_2.2.reg2mem = alloca i32\n %sv_3.3.reg2mem = alloca i32\n %sv_4.1.reg2mem = alloca i64\n %sv_5.1.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i8*\n %sv_3.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i8*\n %sv_5.025.reg2mem = alloca i64\n %sv_4.026.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_4.0.reg2mem = alloca i64\n %sv_5.0.reg2mem = alloca i64\n %sv_6.1.reg2mem = alloca i32\n %sv_7.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i32\n %sv_3.1.reg2mem = alloca i32\n %sv_8.0.reg2mem = alloca i32\n %sv_9.0.reg2mem = alloca i32\n %sv_10.0.reg2mem = alloca i32\n %sv_3.020.reg2mem = alloca i32\n %sv_1.021.reg2mem = alloca i32\n %sv_7.022.reg2mem = alloca i32\n %sv_6.023.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i1\n %storemerge4.lcssa.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg1)\n %storemerge429 = trunc i64 %0 to i32\n %1 = call i16** @__ctype_b_loc()\n %2 = load i16*, i16** %1, align 8\n %3 = ptrtoint i16* %2 to i64\n %sext1130 = mul i64 %0, 4294967296\n %4 = ashr exact i64 %sext1130, 31\n %5 = add i64 %4, %3\n %6 = inttoptr i64 %5 to i16*\n %7 = load i16, i16* %6, align 2\n %8 = and i16 %7, 8192\n %9 = icmp ne i16 %8, 0\n %10 = icmp ne i32 %storemerge429, 10\n %or.cond.not31 = icmp eq i1 %10, %9\n %11 = icmp eq i32 %storemerge429, 13\n %12 = icmp eq i1 %11, false\n %or.cond1332 = icmp eq i1 %12, %or.cond.not31\n store i32 %storemerge429, i32* %storemerge4.lcssa.reg2mem\n store i1 %12, i1* %.lcssa.reg2mem\n br i1 %or.cond1332, label LBL_1, label LBL_2\n LBL_1:\n %13 = call i64 @FUNC(i64 %arg1)\n %storemerge4 = trunc i64 %13 to i32\n %14 = call i16** @__ctype_b_loc()\n %15 = load i16*, i16** %14, align 8\n %16 = ptrtoint i16* %15 to i64\n %sext11 = mul i64 %13, 4294967296\n %17 = ashr exact i64 %sext11, 31\n %18 = add i64 %17, %16\n %19 = inttoptr i64 %18 to i16*\n %20 = load i16, i16* %19, align 2\n %21 = and i16 %20, 8192\n %22 = icmp ne i16 %21, 0\n %23 = icmp ne i32 %storemerge4, 10\n %or.cond.not = icmp eq i1 %23, %22\n %24 = icmp eq i32 %storemerge4, 13\n %25 = icmp eq i1 %24, false\n %or.cond13 = icmp eq i1 %25, %or.cond.not\n store i32 %storemerge4, i32* %storemerge4.lcssa.reg2mem\n store i1 %25, i1* %.lcssa.reg2mem\n br i1 %or.cond13, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i1, i1* %.lcssa.reg2mem\n %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem\n %26 = icmp ne i32 %storemerge4.lcssa.reload, 10\n %or.cond15 = icmp eq i1 %26, %.lcssa.reload\n br i1 %or.cond15, label LBL_4, label LBL_3\n LBL_3:\n %27 = inttoptr i64 %arg1 to %_IO_FILE*\n %28 = call i32 @ungetc(i32 %storemerge4.lcssa.reload, %_IO_FILE* %27)\n br label LBL_4\n LBL_4:\n %29 = icmp eq i32 %storemerge4.lcssa.reload, 34\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_5, label LBL_35\n LBL_5:\n %30 = inttoptr i64 %arg1 to %_IO_FILE*\n store i64 0, i64* %sv_5.1.reg2mem\n store i64 0, i64* %sv_4.1.reg2mem\n store i32 0, i32* %sv_3.3.reg2mem\n store i32 0, i32* %sv_2.2.reg2mem\n store i32 0, i32* %sv_1.2.reg2mem\n store i8* null, i8** %sv_0.3.reg2mem\n br label LBL_32\n LBL_6:\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem\n %sv_3.3.reload = load i32, i32* %sv_3.3.reg2mem\n %sv_4.1.reload = load i64, i64* %sv_4.1.reg2mem\n %31 = icmp eq i32 %sv_1.2.reload, 0\n %32 = icmp eq i1 %31, false\n store i32 0, i32* %sv_6.023.reg2mem\n store i32 %129, i32* %sv_7.022.reg2mem\n store i32 %sv_1.2.reload, i32* %sv_1.021.reg2mem\n store i32 %sv_3.3.reload, i32* %sv_3.020.reg2mem\n br i1 %32, label LBL_9, label LBL_7\n LBL_7:\n %33 = icmp eq i32 %129, 43\n %34 = icmp eq i1 %33, false\n store i32 %sv_3.3.reload, i32* %sv_3.1.reg2mem\n store i32 %sv_2.2.reload, i32* %sv_2.1.reg2mem\n store i32 %sv_1.2.reload, i32* %sv_1.1.reg2mem\n store i32 %129, i32* %sv_7.1.reg2mem\n store i32 1, i32* %sv_6.1.reg2mem\n br i1 %34, label LBL_20, label LBL_8\n LBL_8:\n %35 = call i64 @FUNC(i64 %arg1)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 45\n %38 = icmp eq i1 %37, false\n %not. = icmp ne i1 %38, true\n %.16 = zext i1 %not. to i32\n %39 = icmp eq i1 %38, false\n store i32 %.16, i32* %sv_6.023.reg2mem\n store i32 %36, i32* %sv_7.022.reg2mem\n store i32 1, i32* %sv_1.021.reg2mem\n store i32 0, i32* %sv_3.020.reg2mem\n store i32 %sv_3.3.reload, i32* %sv_3.1.reg2mem\n store i32 %sv_2.2.reload, i32* %sv_2.1.reg2mem\n store i32 %sv_1.2.reload, i32* %sv_1.1.reg2mem\n store i32 43, i32* %sv_7.1.reg2mem\n store i32 %.16, i32* %sv_6.1.reg2mem\n br i1 %39, label LBL_20, label LBL_9\n LBL_9:\n %sv_3.020.reload = load i32, i32* %sv_3.020.reg2mem\n %sv_7.022.reload = load i32, i32* %sv_7.022.reg2mem\n %sv_6.023.reload = load i32, i32* %sv_6.023.reg2mem\n %40 = icmp eq i32 %sv_7.022.reload, 45\n %41 = icmp eq i1 %40, false\n store i32 %sv_3.020.reload, i32* %sv_3.1.reg2mem\n store i32 %sv_2.2.reload, i32* %sv_2.1.reg2mem\n store i32 0, i32* %sv_1.1.reg2mem\n store i32 %sv_7.022.reload, i32* %sv_7.1.reg2mem\n store i32 %sv_6.023.reload, i32* %sv_6.1.reg2mem\n br i1 %41, label LBL_10, label LBL_20\n LBL_10:\n %42 = sext i32 %sv_7.022.reload to i64\n %43 = mul i64 %42, 4\n %44 = add i64 %43, ptrtoint (i32** @gv_0 to i64)\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, -1\n %48 = icmp eq i1 %47, false\n store i32 %sv_3.020.reload, i32* %sv_3.1.reg2mem\n store i32 %sv_2.2.reload, i32* %sv_2.1.reg2mem\n store i32 0, i32* %sv_1.1.reg2mem\n store i32 %sv_7.022.reload, i32* %sv_7.1.reg2mem\n store i32 1, i32* %sv_6.1.reg2mem\n br i1 %48, label LBL_11, label LBL_20\n LBL_11:\n %sv_1.021.reload = load i32, i32* %sv_1.021.reg2mem\n %49 = call i64 @FUNC(i64 %arg1)\n %sext = mul i64 %49, 4294967296\n %50 = ashr exact i64 %sext, 30\n %51 = add i64 %50, ptrtoint (i32** @gv_0 to i64)\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = icmp eq i32 %53, -1\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_13, label LBL_12\n LBL_12:\n %56 = trunc i64 %49 to i32\n %57 = call i32 @ungetc(i32 %56, %_IO_FILE* %30)\n store i32 0, i32* %sv_10.0.reg2mem\n store i32 0, i32* %sv_9.0.reg2mem\n store i32 0, i32* %sv_8.0.reg2mem\n br label LBL_17\n LBL_13:\n %58 = call i64 @FUNC(i64 %arg1)\n %sext2 = mul i64 %58, 4294967296\n %59 = ashr exact i64 %sext2, 30\n %60 = add i64 %59, ptrtoint (i32** @gv_0 to i64)\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = icmp eq i32 %62, -1\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_15, label LBL_14\n LBL_14:\n %65 = trunc i64 %58 to i32\n %66 = call i32 @ungetc(i32 %65, %_IO_FILE* %30)\n store i32 %53, i32* %sv_10.0.reg2mem\n store i32 0, i32* %sv_9.0.reg2mem\n store i32 0, i32* %sv_8.0.reg2mem\n br label LBL_17\n LBL_15:\n %67 = call i64 @FUNC(i64 %arg1)\n %sext3 = mul i64 %67, 4294967296\n %68 = ashr exact i64 %sext3, 30\n %69 = add i64 %68, ptrtoint (i32** @gv_0 to i64)\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = icmp eq i32 %71, -1\n %73 = icmp eq i1 %72, false\n store i32 %53, i32* %sv_10.0.reg2mem\n store i32 %71, i32* %sv_9.0.reg2mem\n store i32 %62, i32* %sv_8.0.reg2mem\n br i1 %73, label LBL_17, label LBL_16\n LBL_16:\n %74 = trunc i64 %67 to i32\n %75 = call i32 @ungetc(i32 %74, %_IO_FILE* %30)\n store i32 %53, i32* %sv_10.0.reg2mem\n store i32 0, i32* %sv_9.0.reg2mem\n store i32 %62, i32* %sv_8.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_8.0.reload = load i32, i32* %sv_8.0.reg2mem\n %sv_9.0.reload = load i32, i32* %sv_9.0.reg2mem\n %sv_10.0.reload = load i32, i32* %sv_10.0.reg2mem\n %76 = mul i32 %46, 262144\n %77 = mul i32 %sv_10.0.reload, 4096\n %78 = or i32 %77, %76\n %79 = mul i32 %sv_8.0.reload, 64\n %80 = or i32 %78, %sv_9.0.reload\n %81 = or i32 %80, %79\n %82 = icmp eq i32 %sv_3.020.reload, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_19, label LBL_18\n LBL_18:\n %84 = urem i32 %81, 256\n %85 = ashr i32 %81, 8\n store i32 1, i32* %sv_3.1.reg2mem\n store i32 %84, i32* %sv_2.1.reg2mem\n store i32 %sv_1.021.reload, i32* %sv_1.1.reg2mem\n store i32 %85, i32* %sv_7.1.reg2mem\n store i32 1, i32* %sv_6.1.reg2mem\n br label LBL_20\n LBL_19:\n %86 = mul i32 %sv_2.2.reload, 16777216\n %87 = or i32 %81, %86\n %88 = urem i32 %81, 65536\n %89 = udiv i32 %87, 65536\n store i32 2, i32* %sv_3.1.reg2mem\n store i32 %88, i32* %sv_2.1.reg2mem\n store i32 %sv_1.021.reload, i32* %sv_1.1.reg2mem\n store i32 %89, i32* %sv_7.1.reg2mem\n store i32 1, i32* %sv_6.1.reg2mem\n br label LBL_20\n LBL_20:\n %sv_6.1.reload = load i32, i32* %sv_6.1.reg2mem\n %sv_7.1.reload = load i32, i32* %sv_7.1.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem\n %90 = ptrtoint i8* %sv_0.3.reload to i64\n %91 = add i64 %90, 10\n %92 = icmp ugt i64 %sv_4.1.reload, %91\n store i64 %sv_5.1.reload, i64* %sv_5.0.reg2mem\n store i64 %sv_4.1.reload, i64* %sv_4.0.reg2mem\n store i8* %sv_0.3.reload, i8** %sv_0.0.reg2mem\n br i1 %92, label LBL_25, label LBL_21\n LBL_21:\n %93 = icmp eq i64 %sv_5.1.reload, 0\n %94 = icmp eq i1 %93, false\n br i1 %94, label LBL_23, label LBL_22\n LBL_22:\n %95 = call i64* @malloc(i32 400)\n %96 = ptrtoint i64* %95 to i64\n %97 = bitcast i64* %95 to i8*\n %98 = add i64 %96, 400\n store i64 %96, i64* %sv_5.0.reg2mem\n store i64 %98, i64* %sv_4.0.reg2mem\n store i8* %97, i8** %sv_0.0.reg2mem\n br label LBL_25\n LBL_23:\n %99 = icmp eq i8* %sv_0.3.reload, null\n store i64 %sv_4.1.reload, i64* %sv_4.026.reg2mem\n store i64 %sv_5.1.reload, i64* %sv_5.025.reg2mem\n store i8* null, i8** %sv_0.1.reg2mem\n br i1 %99, label LBL_27, label LBL_24\n LBL_24:\n %100 = sub i64 %sv_4.1.reload, %sv_5.1.reload\n %101 = inttoptr i64 %sv_5.1.reload to i64*\n %102 = trunc i64 %100 to i32\n %103 = add i32 %102, 400\n %104 = call i64* @realloc(i64* %101, i32 %103)\n %105 = ptrtoint i64* %104 to i64\n %106 = sub i64 %90, %sv_5.1.reload\n %107 = add i64 %106, %105\n %108 = inttoptr i64 %107 to i8*\n %109 = add i64 %100, 400\n %110 = add i64 %109, %105\n store i64 %105, i64* %sv_5.0.reg2mem\n store i64 %110, i64* %sv_4.0.reg2mem\n store i8* %108, i8** %sv_0.0.reg2mem\n br label LBL_25\n LBL_25:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem\n %sv_5.0.reload = load i64, i64* %sv_5.0.reg2mem\n %111 = icmp eq i8* %sv_0.0.reload, null\n %112 = icmp eq i32 %sv_6.1.reload, 0\n %or.cond8 = or i1 %112, %111\n store i64 %sv_4.0.reload, i64* %sv_4.026.reg2mem\n store i64 %sv_5.0.reload, i64* %sv_5.025.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem\n br i1 %or.cond8, label LBL_27, label LBL_26\n LBL_26:\n %113 = ptrtoint i8* %sv_0.0.reload to i64\n %114 = zext i32 %sv_7.1.reload to i64\n %115 = call i64 @FUNC(i64 %113, i64 %114, i64 0)\n %116 = inttoptr i64 %115 to i8*\n store i64 %sv_4.0.reload, i64* %sv_4.026.reg2mem\n store i64 %sv_5.0.reload, i64* %sv_5.025.reg2mem\n store i8* %116, i8** %sv_0.1.reg2mem\n br label LBL_27\n LBL_27:\n %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem\n %sv_5.025.reload = load i64, i64* %sv_5.025.reg2mem\n %sv_4.026.reload = load i64, i64* %sv_4.026.reg2mem\n %117 = icmp eq i32 %sv_3.1.reload, 2\n %118 = icmp eq i1 %117, false\n store i32 %sv_3.1.reload, i32* %sv_3.2.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem\n br i1 %118, label LBL_30, label LBL_28\n LBL_28:\n %119 = icmp eq i8* %sv_0.1.reload, null\n %120 = icmp eq i32 %sv_2.1.reload, 0\n %or.cond10 = or i1 %120, %119\n store i32 0, i32* %sv_3.2.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.2.reg2mem\n br i1 %or.cond10, label LBL_30, label LBL_29\n LBL_29:\n %121 = ptrtoint i8* %sv_0.1.reload to i64\n %122 = zext i32 %sv_2.1.reload to i64\n %123 = call i64 @FUNC(i64 %121, i64 %122, i64 0)\n %124 = inttoptr i64 %123 to i8*\n store i32 0, i32* %sv_3.2.reg2mem\n store i8* %124, i8** %sv_0.2.reg2mem\n br label LBL_30\n LBL_30:\n %sv_0.2.reload = load i8*, i8** %sv_0.2.reg2mem\n %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem\n %125 = icmp eq i8* %sv_0.2.reload, null\n %126 = icmp eq i1 %125, false\n store i64 %sv_5.025.reload, i64* %sv_5.1.reg2mem\n store i64 %sv_4.026.reload, i64* %sv_4.1.reg2mem\n store i32 %sv_3.2.reload, i32* %sv_3.3.reg2mem\n store i32 %sv_2.1.reload, i32* %sv_2.2.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem\n store i8* %sv_0.2.reload, i8** %sv_0.3.reg2mem\n br i1 %126, label LBL_32, label LBL_31\n LBL_31:\n %127 = inttoptr i64 %sv_5.025.reload to i64*\n call void @free(i64* %127)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_32:\n %sv_0.3.reload = load i8*, i8** %sv_0.3.reg2mem\n %sv_5.1.reload = load i64, i64* %sv_5.1.reg2mem\n %128 = call i64 @FUNC(i64 %arg1)\n %129 = trunc i64 %128 to i32\n %130 = icmp ne i32 %129, -1\n %131 = icmp eq i32 %129, 34\n %132 = icmp eq i1 %131, false\n %or.cond18 = icmp eq i1 %130, %132\n br i1 %or.cond18, label LBL_6, label LBL_33\n LBL_33:\n %133 = icmp eq i64 %sv_5.1.reload, 0\n %134 = icmp eq i1 %133, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %134, label LBL_34, label LBL_35\n LBL_34:\n store i8 0, i8* %sv_0.3.reload, align 1\n %135 = call i64 @FUNC(i64 %sv_5.1.reload)\n %136 = inttoptr i64 %sv_5.1.reload to i64*\n call void @free(i64* %136)\n store i64 %135, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_35:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %129, { 2, 4, 1, 3, 0 }\n uselistorder i64 %sv_5.1.reload, { 5, 6, 4, 7, 2, 8, 0, 1, 3 }\n uselistorder i8* %sv_0.3.reload, { 2, 1, 3, 0 }\n uselistorder i64 %sv_5.025.reload, { 1, 0 }\n uselistorder i8* %sv_0.1.reload, { 2, 0, 3, 1 }\n uselistorder i8* %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32 %81, { 0, 2, 3, 1 }\n uselistorder i64 %67, { 1, 0 }\n uselistorder i64 %58, { 1, 0 }\n uselistorder i32 %53, { 1, 2, 0, 3 }\n uselistorder i64 %49, { 1, 0 }\n uselistorder i32 %sv_1.021.reload, { 1, 0 }\n uselistorder i32 %sv_7.022.reload, { 0, 2, 1, 3 }\n uselistorder i32 %sv_3.020.reload, { 2, 0, 1 }\n uselistorder i1 %38, { 1, 0 }\n uselistorder i64 %sv_4.1.reload, { 0, 3, 2, 1 }\n uselistorder i32 %sv_3.3.reload, { 1, 2, 0 }\n uselistorder i32 %sv_2.2.reload, { 0, 3, 2, 1, 4 }\n uselistorder i32 %sv_1.2.reload, { 2, 3, 1, 0 }\n uselistorder i32* %sv_6.023.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_7.022.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.021.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.020.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_10.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i32* %sv_9.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i32* %sv_8.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i32* %sv_3.1.reg2mem, { 0, 3, 2, 4, 5, 6, 1 }\n uselistorder i32* %sv_2.1.reg2mem, { 0, 3, 2, 4, 5, 6, 1 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 3, 2, 4, 5, 6, 1 }\n uselistorder i32* %sv_7.1.reg2mem, { 0, 3, 2, 4, 5, 6, 1 }\n uselistorder i32* %sv_6.1.reg2mem, { 0, 3, 2, 4, 5, 6, 1 }\n uselistorder i64* %sv_5.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_4.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_4.026.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_5.025.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_5.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_4.1.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.2.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.2.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @utf8_idpb, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 -1, { 4, 0, 1, 2, 3 }\n uselistorder i8* null, { 3, 4, 5, 1, 2, 0 }\n uselistorder i32 0, { 3, 4, 15, 16, 17, 11, 8, 10, 7, 9, 12, 5, 6, 13, 14, 18, 0, 1, 2 }\n uselistorder i32 (i32, %_IO_FILE*)* @ungetc, { 3, 2, 1, 0 }\n uselistorder i1 false, { 16, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2, 0 }\n uselistorder i32 13, { 1, 0 }\n uselistorder i32 10, { 2, 1, 0 }\n uselistorder i16 0, { 1, 0 }\n uselistorder i16 8192, { 1, 0 }\n uselistorder i64 31, { 1, 0 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i64 (i64)* @nlgetc, { 2, 6, 5, 4, 3, 1, 0 }\n uselistorder i32 1, { 17, 16, 23, 18, 29, 15, 34, 33, 32, 31, 30, 28, 27, 26, 25, 24, 22, 21, 20, 19, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 6, 2, 3, 5, 1, 4, 7, 0, 8 }\n uselistorder label LBL_35, { 2, 0, 3, 1 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_27, { 1, 2, 0 }\n uselistorder label LBL_25, { 1, 2, 0 }\n uselistorder label LBL_20, { 2, 1, 3, 4, 5, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drm_display_mode_from_vic_index_3996", "fun_name": "drm_display_mode_from_vic_index", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i8 %arg3, i8 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp ne i16* %arg2, null\n %1 = icmp ult i8 %arg4, %arg3\n %or.cond = icmp eq i1 %0, %1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_4\n LBL_1:\n %2 = zext i8 %arg4 to i64\n %3 = ptrtoint i16* %arg2 to i64\n %4 = add i64 %2, %3\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = urem i8 %6, -128\n %8 = add nsw i8 %7, -1\n %9 = icmp ult i8 %8, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_4\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = zext i8 %8 to i64\n %12 = mul i64 %11, 4\n %13 = add i64 %12, ptrtoint ([4 x i32]* @gv_0 to i64)\n %14 = call i64 @FUNC(i64 %10, i64 %13)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_3:\n %17 = inttoptr i64 %14 to i32*\n store i32 0, i32* %17, align 4\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i8 %arg4, { 1, 0 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "strshare_get_4874", "fun_name": "strshare_get", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32*\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %2, i64 %arg1)\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = inttoptr i64 %3 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i32 %6, 1\n store i32 %7, i32* %5, align 4\n store i32* %5, i32** %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %8 = inttoptr i64 %arg1 to i8*\n %9 = call i32 @strlen(i8* %8)\n %10 = sext i32 %9 to i64\n %11 = add nsw i64 %10, 5\n %12 = call i64 @FUNC(i64 %11)\n %13 = inttoptr i64 %12 to i32*\n store i32 1, i32* %13, align 4\n %14 = add i64 %12, 4\n %15 = inttoptr i64 %14 to i8*\n %16 = call i8* @strcpy(i8* %15, i8* %8)\n %17 = load i64, i64* @gv_0, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %14, i64 %12)\n store i32* %13, i32** %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %19 = ptrtoint i32* %sv_0.0.reload to i64\n %20 = add i64 %19, 4\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %12, { 1, 2, 0 }\n uselistorder i32* %5, { 0, 2, 1 }\n uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_savevm_send_postcopy_advise_5112", "fun_name": "qemu_savevm_send_postcopy_advise", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %1)\n store i64 %2, i64* %sv_0, align 8\n %3 = call i64 @FUNC()\n %4 = urem i64 %3, 64\n %5 = shl i64 1, %4\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC()\n %8 = call i64 @FUNC(i64 %0, i64 1, i64 16, i64* nonnull %sv_0)\n ret i64 %8\n\n uselistorder i64 (i64)* @cpu_to_be64, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "FLAC__stream_decoder_set_metadata_ignore_all_9021", "fun_name": "FLAC__stream_decoder_set_metadata_ignore_all", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %12 = inttoptr i64 %7 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_5, label LBL_6\n LBL_5:\n %15 = call i64* @memset(i64* %arg1, i32 0, i32 40)\n %16 = add i64 %4, 40\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_normal_reset_3221", "fun_name": "load_normal_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC()\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n ret i64 0\n\n uselistorder i64 (i64)* @CPU, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "brcmf_cfg80211_detach_12849", "fun_name": "brcmf_cfg80211_detach", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = call i64 @FUNC(i64 %arg1)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %arg1, { 5, 3, 4, 1, 2, 0, 6 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "archive_read_has_encrypted_entries_7897", "fun_name": "archive_read_has_encrypted_entries", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64* %arg1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = urem i64 %1, 4\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n %spec.select = select i1 %5, i64 %0, i64 4294967295\n ret i64 %spec.select\n LBL_2:\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tmx_pretran_unlink_safe_9635", "fun_name": "tmx_pretran_unlink_safe", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_10, label LBL_1\n LBL_1:\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_10, label LBL_2\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %6 = load i64, i64* @gv_1, align 8\n %7 = ashr exact i64 %sext, 29\n %8 = add i64 %6, %7\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = load i64, i64* @gv_0, align 8\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %16, align 8\n %17 = load i64, i64* @gv_0, align 8\n %18 = add i64 %17, 16\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %20 = inttoptr i64 %0 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n %24 = add i64 %0, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n br i1 %23, label LBL_7, label LBL_5\n LBL_5:\n store i64 %26, i64* %9, align 8\n %27 = load i64, i64* @gv_1, align 8\n %28 = add i64 %27, %7\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_9, label LBL_6\n LBL_6:\n %32 = inttoptr i64 %30 to i64*\n store i64 0, i64* %32, align 8\n br label LBL_9\n LBL_7:\n %33 = add i64 %21, 8\n %34 = inttoptr i64 %33 to i64*\n store i64 %26, i64* %34, align 8\n %35 = load i64, i64* @gv_0, align 8\n %36 = add i64 %35, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp eq i64 %38, 0\n br i1 %39, label LBL_9, label LBL_8\n LBL_8:\n %40 = inttoptr i64 %35 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %38 to i64*\n store i64 %41, i64* %42, align 8\n br label LBL_9\n LBL_9:\n %43 = load i64, i64* @gv_0, align 8\n %44 = add i64 %43, 8\n %45 = inttoptr i64 %44 to i64*\n store i64 0, i64* %45, align 8\n %46 = load i64, i64* @gv_0, align 8\n %47 = inttoptr i64 %46 to i64*\n store i64 0, i64* %47, align 8\n %48 = load i64, i64* @gv_0, align 8\n %49 = add i64 %48, 16\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_10, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpufreq_exit_3923", "fun_name": "cpufreq_exit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %3 = add i64 %0, 16\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6, i64 %3)\n %8 = load i64, i64* %5, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = load i64, i64* %5, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = inttoptr i64 %3 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp ult i64 %13, -1000\n br i1 %14, label LBL_3, label LBL_4\n LBL_3:\n %15 = call i64 @FUNC(i64 %13)\n br label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 %0, { 1, 2, 3, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_write_wall_clock_217", "fun_name": "kvm_write_wall_clock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %3 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %4 = icmp eq i64 %arg2, 0\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i32* %sv_2 to i64*\n %7 = call i64 @FUNC(i64 %5, i64 %arg2, i64* nonnull %6, i64 4)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = load i32, i32* %sv_2, align 4\n %12 = urem i32 %11, 2\n %13 = icmp eq i32 %12, 0\n store i32 %11, i32* %.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = add i32 %11, 1\n store i32 %14, i32* %sv_2, align 4\n store i32 %14, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %15 = add i32 %.reload, 1\n store i32 %15, i32* %sv_2, align 4\n %16 = call i64 @FUNC(i64 %5, i64 %arg2, i64* nonnull %6, i64 4)\n %17 = ptrtoint i64* %sv_1 to i64\n %18 = call i64 @FUNC(i64* nonnull %sv_1)\n %19 = call i64 @FUNC(i64 %17)\n %20 = ptrtoint i32* %sv_2 to i64\n %21 = load i64, i64* %sv_1, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %3, i64 %19, i64 %20, i64 %2, i64 %1)\n store i64 %22, i64* %sv_1, align 8\n store i64 %22, i64* %sv_0, align 8\n %23 = call i64 @FUNC(i64 %5, i64 %arg2, i64* nonnull %sv_0, i64 24)\n %24 = load i32, i32* %sv_2, align 4\n %25 = add i32 %24, 1\n store i32 %25, i32* %sv_2, align 4\n %26 = call i64 @FUNC(i64 %5, i64 %arg2, i64* nonnull %6, i64 4)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %11, { 2, 0, 1 }\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i32* %sv_2, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i64* %sv_1, { 1, 2, 0, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64*, i64)* @kvm_write_guest, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_write_pixels_generic_16414", "fun_name": "vnc_write_pixels_generic", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv22.reg2mem = alloca i64\n %indvars.iv24.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 4\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = trunc i64 %3 to i32\n %8 = icmp sgt i32 %7, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_15\n LBL_2:\n %9 = udiv i64 %3, 4\n %10 = urem i64 %9, 1073741824\n %11 = ptrtoint i32* %arg1 to i64\n %12 = add i64 %11, 4\n %13 = inttoptr i64 %12 to i32*\n store i64 0, i64* %indvars.iv24.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem\n %14 = mul i64 %indvars.iv24.reload, 4\n %15 = add i64 %14, %2\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = call i64 @FUNC(i64 %11, i64* nonnull %sv_0, i32 %17)\n %19 = load i32, i32* %13, align 4\n %20 = call i64 @FUNC(i64 %11, i64* nonnull %sv_0, i32 %19)\n %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1\n %21 = icmp ult i64 %indvars.iv.next25, %10\n store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem\n br i1 %21, label LBL_3, label LBL_14\n LBL_4:\n %22 = icmp eq i32 %4, 2\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_8, label LBL_5\n LBL_5:\n %24 = trunc i64 %3 to i32\n %25 = icmp sgt i32 %24, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_6, label LBL_15\n LBL_6:\n %26 = udiv i64 %3, 2\n %27 = urem i64 %26, 2147483648\n %28 = ptrtoint i32* %arg1 to i64\n %29 = add i64 %28, 4\n %30 = inttoptr i64 %29 to i32*\n store i64 0, i64* %indvars.iv22.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem\n %31 = mul i64 %indvars.iv22.reload, 2\n %32 = add i64 %31, %2\n %33 = inttoptr i64 %32 to i16*\n %34 = load i16, i16* %33, align 2\n %35 = zext i16 %34 to i32\n %36 = call i64 @FUNC(i64 %28, i64* nonnull %sv_0, i32 %35)\n %37 = load i32, i32* %30, align 4\n %38 = call i64 @FUNC(i64 %28, i64* nonnull %sv_0, i32 %37)\n %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1\n %39 = icmp ult i64 %indvars.iv.next23, %27\n store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem\n br i1 %39, label LBL_7, label LBL_13\n LBL_8:\n %40 = icmp eq i32 %4, 1\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_12, label LBL_9\n LBL_9:\n %42 = trunc i64 %arg3 to i32\n %43 = icmp sgt i32 %42, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %43, label LBL_10, label LBL_15\n LBL_10:\n %44 = ptrtoint i32* %arg1 to i64\n %45 = add i64 %44, 4\n %46 = inttoptr i64 %45 to i32*\n %wide.trip.count = and i64 %arg3, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_11\n LBL_11:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %47 = add i64 %indvars.iv.reload, %2\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = zext i8 %49 to i32\n %51 = call i64 @FUNC(i64 %44, i64* nonnull %sv_0, i32 %50)\n %52 = load i32, i32* %46, align 4\n %53 = call i64 @FUNC(i64 %44, i64* nonnull %sv_0, i32 %52)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %wide.trip.count, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_15, label LBL_11\n LBL_12:\n %54 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %55 = call i32 @fwrite(i64* bitcast ([62 x i8]* @gv_1 to i64*), i32 1, i32 61, %_IO_FILE* %54)\n %56 = sext i32 %55 to i64\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %57 = and i64 %indvars.iv.next23, 4294967295\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %58 = and i64 %indvars.iv.next25, 4294967295\n store i64 %58, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %44, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.next23, { 1, 0, 2 }\n uselistorder i64 %28, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.next25, { 1, 0, 2 }\n uselistorder i64 %11, { 0, 2, 1 }\n uselistorder i32 %4, { 2, 1, 0 }\n uselistorder i64 %3, { 0, 3, 1, 2 }\n uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 7, 1, 6, 4, 2 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i64, i64*, i32)* @vnc_write, { 2, 1, 0 }\n uselistorder i64 (i64, i64*, i32)* @vnc_convert_pixel, { 2, 1, 0 }\n uselistorder i64 4, { 2, 3, 0, 4, 1 }\n uselistorder i64 %arg3, { 1, 2, 0 }\n uselistorder i32* %arg1, { 2, 1, 0 }\n uselistorder label LBL_15, { 2, 4, 6, 0, 5, 3, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_gain_info_1718", "fun_name": "decode_gain_info", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.1.lcssa12.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i32\n %.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %1, i64 0, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i32 %5, i32* %.in.reg2mem\n store i32 0, i32* %sv_0.15.reg2mem\n store i32 0, i32* %sv_0.1.lcssa12.reg2mem\n br i1 %7, label LBL_1, label LBL_7\n LBL_1:\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %8 = call i64 @FUNC(i64 %1, i64 3)\n %9 = call i64 @FUNC(i64 %1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %1, i64 4)\n %13 = add i64 %12, 4294967289\n %14 = and i64 %13, 4294967295\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %15 = trunc i64 %8 to i32\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %16 = trunc i64 %storemerge.reload to i32\n %17 = icmp sgt i32 %sv_0.15.reload, %15\n store i32 %sv_0.15.reload, i32* %sv_0.03.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %18 = add i32 %sv_0.03.reload, 1\n %19 = sext i32 %sv_0.03.reload to i64\n %20 = mul i64 %19, 4\n %21 = add i64 %20, %0\n %22 = inttoptr i64 %21 to i32*\n store i32 %16, i32* %22, align 4\n %23 = icmp sgt i32 %18, %15\n store i32 %18, i32* %sv_0.03.reg2mem\n store i32 %18, i32* %sv_0.0.lcssa.reg2mem\n br i1 %23, label LBL_5, label LBL_4\n LBL_5:\n %24 = add i32 %.in.reload, -1\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i32 %24, i32* %.in.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.15.reg2mem\n br i1 %26, label LBL_1, label LBL_6\n LBL_6:\n %27 = zext i32 %24 to i64\n %28 = icmp slt i32 %sv_0.0.lcssa.reload, 9\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.lcssa12.reg2mem\n store i64 %27, i64* %rax.0.lcssa.reg2mem\n br i1 %28, label LBL_7, label LBL_9\n LBL_7:\n %sv_0.1.lcssa12.reload = load i32, i32* %sv_0.1.lcssa12.reg2mem\n %29 = sext i32 %sv_0.1.lcssa12.reload to i64\n store i64 %29, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %30 = mul i64 %indvars.iv.reload, 4\n %31 = add i64 %30, %0\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %exitcond = icmp eq i64 %indvars.iv.next, 9\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %31, i64* %rax.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem\n ret i64 %rax.0.lcssa.reload\n\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i32 %24, { 1, 0, 2 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i64 %1, { 0, 2, 1, 3, 4 }\n uselistorder i32* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.lcssa12.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 3, 5, 4, 0, 1, 2 }\n uselistorder i64 4294967295, { 2, 0, 3, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cs_init_10369", "fun_name": "cs_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n store i64 0, i64* @gv_0, align 8\n store i64 0, i64* @gv_1, align 8\n store i64 0, i64* @gv_2, align 8\n store i64 0, i64* @gv_3, align 8\n store i32 0, i32* @gv_4, align 4\n store i32 0, i32* @gv_5, align 4\n store i32 0, i32* bitcast (i64* @gv_6 to i32*), align 8\n store i64 0, i64* @gv_7, align 8\n store i64 0, i64* @gv_8, align 8\n store i64 0, i64* @gv_9, align 8\n store i64 0, i64* @gv_10, align 8\n store i32 0, i32* @gv_11, align 4\n store i32 0, i32* @gv_12, align 4\n store i32 0, i32* bitcast (i64* @gv_13 to i32*), align 8\n ret i64 0\n\n uselistorder i32 0, { 0, 1, 8, 2, 3, 9, 4, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sd_do_command_18642", "fun_name": "sd_do_command", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rcx.03.reg2mem = alloca i64\n %rdx.04.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_1.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_23, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %8)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_23, label LBL_2\n LBL_2:\n %13 = add i64 %5, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_23\n LBL_3:\n %18 = trunc i64 %3 to i32\n %19 = ptrtoint i32* %arg2 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = and i32 %18, -2\n %24 = bitcast i64* %arg1 to i32*\n store i32 %23, i32* %24, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_5:\n %25 = and i32 %18, -3\n %26 = bitcast i64* %arg1 to i32*\n store i32 %25, i32* %26, align 4\n %27 = call i64 @FUNC(i64 %5)\n %28 = and i32 %18, 4\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_8, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %5, i64 %19)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_8, label LBL_7\n LBL_7:\n %34 = or i32 %18, 8\n store i32 %34, i32* %26, align 4\n %35 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %36 = call i32 @fwrite(i64* bitcast ([20 x i8]* @gv_1 to i64*), i32 1, i32 19, %_IO_FILE* %35)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_8:\n %37 = trunc i64 %4 to i32\n %38 = and i32 %18, 8\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n %40 = call i64 @FUNC(i64 %5, i32 %37)\n %41 = and i32 %18, -9\n store i32 %41, i32* %26, align 4\n store i64 %40, i64* %sv_1.0.in.reg2mem\n br label LBL_11\n LBL_10:\n %42 = call i64 @FUNC(i64 %5, i32 %37)\n store i64 %42, i64* %sv_1.0.in.reg2mem\n br label LBL_11\n LBL_11:\n %43 = ptrtoint i64* %arg3 to i64\n %44 = and i64 %4, 4294967295\n %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem\n %sv_1.0 = trunc i64 %sv_1.0.in.reload to i32\n %45 = add i64 %5, 24\n %46 = inttoptr i64 %45 to i32*\n store i32 %37, i32* %46, align 4\n %47 = and i64 %sv_1.0.in.reload, 4294967295\n store i64 %47, i64* @0, align 8\n store i64 %44, i64* %rdx.04.reg2mem\n switch i32 %sv_1.0, label LBL_22 [\n i32 1, label LBL_12\n i32 2, label LBL_12\n i32 3, label LBL_13\n i32 4, label LBL_14\n i32 5, label LBL_15\n i32 6, label LBL_16\n i32 7, label LBL_17\n ]\n LBL_12:\n %48 = and i64 %3, 4294967295\n %49 = call i64 @FUNC(i64 %5, i64 %43, i32 %18)\n store i64 %43, i64* %rsi.0.reg2mem\n store i64 4, i64* %sv_0.0.reg2mem\n store i64 %43, i64* %rcx.0.reg2mem\n store i64 %48, i64* %rdx.0.reg2mem\n br label LBL_18\n LBL_13:\n %50 = add i64 %5, 28\n %51 = add i64 %5, 36\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = inttoptr i64 %50 to i64*\n %55 = load i64, i64* %54, align 8\n store i64 %55, i64* %arg3, align 8\n %56 = add i64 %43, 8\n %57 = inttoptr i64 %56 to i64*\n store i64 %53, i64* %57, align 8\n store i64 %44, i64* %rsi.0.reg2mem\n store i64 16, i64* %sv_0.0.reg2mem\n store i64 %43, i64* %rcx.0.reg2mem\n store i64 %53, i64* %rdx.0.reg2mem\n br label LBL_18\n LBL_14:\n %58 = add i64 %5, 44\n %59 = add i64 %5, 52\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = inttoptr i64 %58 to i64*\n %63 = load i64, i64* %62, align 8\n store i64 %63, i64* %arg3, align 8\n %64 = add i64 %43, 8\n %65 = inttoptr i64 %64 to i64*\n store i64 %61, i64* %65, align 8\n store i64 %44, i64* %rsi.0.reg2mem\n store i64 16, i64* %sv_0.0.reg2mem\n store i64 %43, i64* %rcx.0.reg2mem\n store i64 %61, i64* %rdx.0.reg2mem\n br label LBL_18\n LBL_15:\n %66 = call i64 @FUNC(i64 %5, i64 %43)\n store i64 %43, i64* %rsi.0.reg2mem\n store i64 4, i64* %sv_0.0.reg2mem\n store i64 %43, i64* %rdx.0.reg2mem\n br label LBL_18\n LBL_16:\n %67 = call i64 @FUNC(i64 %5, i64 %43)\n store i64 %43, i64* %rsi.0.reg2mem\n store i64 4, i64* %sv_0.0.reg2mem\n store i64 %43, i64* %rdx.0.reg2mem\n br label LBL_18\n LBL_17:\n %68 = call i64 @FUNC(i64 %5, i64 %43)\n store i64 %43, i64* %rsi.0.reg2mem\n store i64 4, i64* %sv_0.0.reg2mem\n store i64 %43, i64* %rdx.0.reg2mem\n br label LBL_18\n LBL_18:\n %69 = bitcast i64* %rdi to i32*\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %70 = load i32, i32* %69, align 8\n %71 = and i32 %70, 8\n %72 = icmp eq i32 %71, 0\n store i64 %rdx.0.reload, i64* %rdx.04.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.03.reg2mem\n br i1 %72, label LBL_19, label LBL_22\n LBL_19:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %73 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 %rsi.0.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_20\n LBL_20:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %74 = add i64 %indvars.iv.reload, %43\n %75 = inttoptr i64 %74 to i8*\n %76 = load i8, i8* %75, align 1\n %77 = zext i8 %76 to i32\n %78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i32 %77)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %sv_0.0.reload\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_21, label LBL_20\n LBL_21:\n %79 = add i64 %5, 20\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 4\n %82 = zext i32 %81 to i64\n %83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 %82)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_22:\n %rcx.03.reload = load i64, i64* %rcx.03.reg2mem\n %rdx.04.reload = load i64, i64* %rdx.04.reg2mem\n %84 = add i64 %5, 20\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = zext i32 %86 to i64\n %88 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i64 %87, i64 %rdx.04.reload, i64 %rcx.03.reload, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rcx.0.reload, { 1, 0 }\n uselistorder i64 %rdx.0.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.in.reload, { 1, 0 }\n uselistorder i64 %44, { 2, 1, 0 }\n uselistorder i64 %43, { 10, 2, 9, 16, 1, 8, 15, 0, 7, 14, 5, 13, 4, 12, 3, 6, 11 }\n uselistorder i32* %26, { 1, 0, 2 }\n uselistorder i32 %18, { 6, 0, 5, 1, 4, 3, 2 }\n uselistorder i64 %5, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 11, 12, 13, 0, 14, 15, 16 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_1.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdx.04.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 6, 5, 4, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 1, { 5, 0, 1, 2, 3, 4 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 }\n uselistorder i64 4, { 3, 2, 1, 0 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder i64* %arg3, { 1, 0, 2 }\n uselistorder label LBL_23, { 1, 0, 5, 6, 4, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "flash_sync_area_1662", "fun_name": "flash_sync_area", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = urem i64 %arg3, 512\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %8 = call i64* @malloc(i32 8)\n %9 = ptrtoint i64* %8 to i64\n %10 = call i64 @FUNC(i64 %9, i64 1)\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, %arg2\n %15 = call i64 @FUNC(i64 %9, i64 %14, i64 %arg3)\n %16 = call i64 @FUNC(i64 %9, i64 %arg2, i64 %9, i64 0, i64 4198889, i64 %9)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 2, 0, 3, 4 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mygroup_delete_18788", "fun_name": "mygroup_delete", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 %arg1, i64* %storemerge1.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %1 = add i64 %storemerge1.reload, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %storemerge1.reload to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5, i64 %arg1)\n %7 = add i64 %5, 32\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %5, 16\n %12 = call i64 @FUNC(i64 %11, i64 %10)\n %13 = call i64 @FUNC(i64 %5)\n %14 = icmp eq i64 %3, 0\n store i64 %3, i64* %storemerge1.reg2mem\n br i1 %14, label LBL_2, label LBL_1\n LBL_2:\n %15 = call i64 @FUNC(i64 %arg1)\n ret i64 %15\n\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @node_del, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handle_modify_maxpoll_10878", "fun_name": "handle_modify_maxpoll", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i16\n %0 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = call i32 @ntohl(i32 %4)\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64* nonnull %sv_0, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i16 @htons(i16 0)\n %11 = bitcast i64* %arg2 to i16*\n store i16 %10, i16* %11, align 2\n store i16 %10, i16* %rax.0.in.reg2mem\n br label LBL_3\n LBL_2:\n %12 = call i16 @htons(i16 1)\n %13 = bitcast i64* %arg2 to i16*\n store i16 %12, i16* %13, align 2\n store i16 %12, i16* %rax.0.in.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.in.reload = load i16, i16* %rax.0.in.reg2mem\n %rax.0 = sext i16 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i16* %rax.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i16 (i16)* @htons, { 1, 0 }\n uselistorder i32 (i32)* @ntohl, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xhci_setup_packet_10610", "fun_name": "xhci_setup_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n store i64 %9, i64* %sv_0.0.in.reg2mem\n br i1 %10, label LBL_1, label LBL_3\n LBL_1:\n %11 = add i64 %6, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %sv_0.0.in.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = add i64 %6, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %21, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %23 = trunc i64 %3 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i32*\n %26 = zext i1 %25 to i64\n %27 = call i64 @FUNC(i64 %6, i64 %26)\n %28 = add i64 %6, 32\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = zext i32 %30 to i64\n %32 = add i64 %6, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = call i64 @FUNC(i64 %7, i64 %26, i64 %sv_0.0.in.reload, i32 %34, i32 %30, i64 0)\n %36 = add i64 %6, 40\n %37 = call i64 @FUNC(i64 %7, i64 %36)\n %38 = load i32, i32* %sv_0.0, align 4\n %39 = zext i32 %38 to i64\n %40 = add i64 %sv_0.0.in.reload, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = zext i32 %44 to i64\n %46 = add i64 %6, 24\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %49, i64 %45, i64 %39, i64 %31, i64 0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.in.reload, { 2, 1, 0 }\n uselistorder i64 %6, { 1, 2, 3, 5, 4, 0, 6, 7 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opj_dwt_decode_tile_6525", "fun_name": "opj_dwt_decode_tile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv9.reg2mem = alloca i64\n %indvars.iv13.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.08.reg2mem = alloca i64\n %.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = load i32, i32* %2, align 4\n %7 = and i64 %arg2, 4294967295\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = trunc i64 %8 to i32\n store i32 %9, i32* %sv_2, align 4\n %10 = icmp ult i32 %9, 1073741824\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_15\n LBL_1:\n %11 = mul i64 %8, 4\n %12 = and i64 %11, 17179869180\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_15\n LBL_2:\n store i32 %9, i32* %sv_1, align 4\n %16 = trunc i64 %arg2 to i32\n %17 = add i32 %16, -1\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_14\n LBL_3:\n %20 = sub i32 %5, %6\n %21 = add i64 %0, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = inttoptr i64 %13 to i64*\n store i32 %17, i32* %.in.reg2mem\n store i64 %0, i64* %sv_0.08.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %24 = load i64, i64* %22, align 8\n %25 = add i64 %sv_0.08.reload, 16\n %26 = add i64 %sv_0.08.reload, 24\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = inttoptr i64 %25 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = sub i32 %28, %30\n %32 = add i64 %sv_0.08.reload, 28\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %sv_0.08.reload, 20\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = sub i32 %34, %37\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_7, label LBL_5\n LBL_5:\n %40 = mul i32 %31, 4\n %wide.trip.count = zext i32 %38 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %41 = trunc i64 %indvars.iv.reload to i32\n %42 = mul i32 %20, %41\n %43 = zext i32 %42 to i64\n %44 = mul i64 %43, 4\n %45 = add i64 %44, %24\n %46 = call i64 @FUNC(i32* nonnull %sv_2, i64 %45)\n %47 = inttoptr i64 %45 to i64*\n %48 = call i64* @memcpy(i64* %47, i64* %23, i32 %40)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %49 = icmp eq i32 %31, 0\n br i1 %49, label LBL_13, label LBL_8\n LBL_8:\n %wide.trip.count11 = zext i32 %38 to i64\n %wide.trip.count15 = zext i32 %31 to i64\n store i64 0, i64* %indvars.iv13.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem\n %50 = mul i64 %indvars.iv13.reload, 4\n %51 = add i64 %50, %24\n %52 = call i64 @FUNC(i32* nonnull %sv_1, i64 %51, i32 %20)\n br i1 %39, label LBL_12, label LBL_10\n LBL_10:\n %53 = trunc i64 %indvars.iv13.reload to i32\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_11\n LBL_11:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %54 = mul i64 %indvars.iv9.reload, 4\n %55 = add i64 %54, %13\n %56 = trunc i64 %indvars.iv9.reload to i32\n %57 = mul i32 %20, %56\n %58 = add i32 %57, %53\n %59 = zext i32 %58 to i64\n %60 = mul i64 %59, 4\n %61 = add i64 %60, %24\n %62 = inttoptr i64 %55 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = inttoptr i64 %61 to i32*\n store i32 %63, i32* %64, align 4\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %exitcond12 = icmp eq i64 %indvars.iv.next10, %wide.trip.count11\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n br i1 %exitcond12, label LBL_12, label LBL_11\n LBL_12:\n %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1\n %exitcond16 = icmp eq i64 %indvars.iv.next14, %wide.trip.count15\n store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem\n br i1 %exitcond16, label LBL_13, label LBL_9\n LBL_13:\n %65 = add i32 %.in.reload, -1\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i1 %66, false\n store i32 %65, i32* %.in.reg2mem\n store i64 %25, i64* %sv_0.08.reg2mem\n br i1 %67, label LBL_4, label LBL_14\n LBL_14:\n %68 = call i64 @FUNC(i64 %13)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %31, { 1, 2, 0 }\n uselistorder i64 %sv_0.08.reload, { 3, 2, 1, 0 }\n uselistorder i32 %20, { 0, 2, 1 }\n uselistorder i64 %13, { 1, 0, 2, 3 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv9.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_15, { 2, 0, 1 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openpic_msi_read_14195", "fun_name": "openpic_msi_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i64\n %sv_0.017.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %3, i64 %2, i64 %1)\n %5 = urem i64 %arg2, 16\n %6 = icmp eq i64 %5, 0\n store i64 -1, i64* %storemerge1.reg2mem\n br i1 %6, label LBL_1, label LBL_9\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = icmp eq i64 %arg2, 288\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %sv_0.017.reg2mem\n br i1 %8, label LBL_8, label LBL_2\n LBL_2:\n %9 = icmp ult i64 %arg2, 289\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %9, label LBL_3, label LBL_9\n LBL_3:\n %10 = icmp ult i64 %arg2, 49\n br i1 %10, label LBL_5, label LBL_6\n LBL_4:\n %11 = urem i64 %arg2, 64\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_7, label %13\n LBL_5:\n %15 = urem i64 %arg2, 64\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_7, label %17\n LBL_6:\n %19 = icmp ult i64 %arg2, 113\n %20 = icmp ult i64 %arg2, 64\n %21 = icmp eq i1 %20, false\n %or.cond = icmp eq i1 %19, %21\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_9\n LBL_7:\n %22 = udiv i64 %arg2, 16\n %sext14 = mul i64 %22, 4294967296\n %23 = ashr exact i64 %sext14, 29\n %24 = add i64 %23, %7\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n store i64 0, i64* %25, align 8\n store i64 %26, i64* %storemerge1.reg2mem\n br label LBL_9\n LBL_8:\n %sv_0.017.reload = load i64, i64* %sv_0.017.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %27 = mul i64 %indvars.iv.reload, 8\n %28 = add i64 %27, %7\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n %33 = zext i1 %32 to i64\n %34 = icmp eq i64 %indvars.iv.reload, 0\n %35 = zext i1 %32 to i32\n %36 = trunc i64 %indvars.iv.reload to i32\n %37 = shl i32 %35, %36\n %38 = zext i32 %37 to i64\n %rdx.0 = select i1 %34, i64 %33, i64 %38\n %sext = mul i64 %rdx.0, 4294967296\n %39 = ashr exact i64 %sext, 32\n %40 = or i64 %39, %sv_0.017.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %40, i64* %sv_0.017.reg2mem\n store i64 %40, i64* %storemerge1.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.017.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 1, 6, 3, 5, 4, 2, 7 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i1 false, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i64 64, { 2, 0, 1 }\n uselistorder i64 %arg2, { 2, 4, 7, 0, 1, 6, 5, 8, 3, 9 }\n uselistorder label LBL_9, { 0, 1, 3, 5, 4, 2, 6 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 3, 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "init_emulate_ctxt_8994", "fun_name": "init_emulate_ctxt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = load i32, i32* %0\n %4 = call i64 @FUNC(i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %1)\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = call i64 @FUNC(i64 %1)\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8 %11, 1\n store i32 0, i32* %rax.0.reg2mem\n br i1 %12, label LBL_1, label LBL_5\n LBL_1:\n %13 = bitcast i64* %rdi to i32*\n %14 = load i32, i32* %13, align 8\n %15 = and i32 %14, 131072\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i32 1, i32* %rax.0.reg2mem\n br i1 %17, label LBL_5, label LBL_2\n LBL_2:\n %18 = icmp eq i32 %3, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %1)\n %20 = trunc i64 %19 to i8\n %21 = icmp eq i8 %20, 0\n %22 = icmp eq i1 %21, false\n store i32 2, i32* %rax.0.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = icmp eq i32 %2, 0\n %. = select i1 %23, i32 4, i32 3\n store i32 %., i32* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i32, i32* %rax.0.reg2mem\n %24 = add i64 %1, 16\n %25 = inttoptr i64 %24 to i32*\n store i32 %rax.0.reload, i32* %25, align 4\n %26 = call i64 @FUNC(i64 %1)\n %27 = trunc i64 %26 to i8\n %28 = add i64 %1, 20\n %29 = inttoptr i64 %28 to i8*\n store i8 %27, i8* %29, align 1\n %30 = call i64 @FUNC(i64 %1)\n %31 = add i64 %1, 24\n %32 = inttoptr i64 %31 to i8*\n store i8 0, i8* %32, align 1\n ret i64 %1\n\n uselistorder i64 %1, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9, 10 }\n uselistorder i32* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i32* %0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_text_tx3g_7432", "fun_name": "mov_text_tx3g", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem11 = alloca i32\n %storemerge3.reg2mem = alloca i32\n %.reg2mem9 = alloca i64\n %.reg2mem7 = alloca i32\n %.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i32\n %storemerge26.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = bitcast i64* %rdi to i32*\n %9 = load i32, i32* %8, align 8\n %10 = icmp ugt i32 %9, 11\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_40\n LBL_1:\n %11 = add i64 %4, 4\n %12 = add i64 %4, 5\n %13 = inttoptr i64 %11 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = inttoptr i64 %12 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %14, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_8, label LBL_2\n LBL_2:\n %19 = icmp eq i8 %16, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = add i64 %0, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n br label LBL_4\n LBL_4:\n %23 = icmp eq i8 %16, 1\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = add i64 %0, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 1, i32* %26, align 4\n br label LBL_6\n LBL_6:\n %27 = icmp eq i8 %16, -1\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = add i64 %0, 8\n %30 = inttoptr i64 %29 to i32*\n store i32 2, i32* %30, align 4\n br label LBL_8\n LBL_8:\n %31 = icmp eq i8 %14, 1\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_15, label LBL_9\n LBL_9:\n %33 = icmp eq i8 %16, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n %35 = add i64 %0, 8\n %36 = inttoptr i64 %35 to i32*\n store i32 3, i32* %36, align 4\n br label LBL_11\n LBL_11:\n %37 = icmp eq i8 %16, 1\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_13, label LBL_12\n LBL_12:\n %39 = add i64 %0, 8\n %40 = inttoptr i64 %39 to i32*\n store i32 4, i32* %40, align 4\n br label LBL_13\n LBL_13:\n %41 = icmp eq i8 %16, -1\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_15, label LBL_14\n LBL_14:\n %43 = add i64 %0, 8\n %44 = inttoptr i64 %43 to i32*\n store i32 5, i32* %44, align 4\n br label LBL_15\n LBL_15:\n %45 = icmp eq i8 %14, -1\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_22, label LBL_16\n LBL_16:\n %47 = icmp eq i8 %16, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_18, label LBL_17\n LBL_17:\n %49 = add i64 %0, 8\n %50 = inttoptr i64 %49 to i32*\n store i32 6, i32* %50, align 4\n br label LBL_18\n LBL_18:\n %51 = icmp eq i8 %16, 1\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_20, label LBL_19\n LBL_19:\n %53 = add i64 %0, 8\n %54 = inttoptr i64 %53 to i32*\n store i32 7, i32* %54, align 4\n br label LBL_20\n LBL_20:\n %55 = icmp eq i8 %16, -1\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_22, label LBL_21\n LBL_21:\n %57 = add i64 %0, 8\n %58 = inttoptr i64 %57 to i32*\n store i32 8, i32* %58, align 4\n br label LBL_22\n LBL_22:\n %59 = add i64 %4, 6\n %60 = call i64 @FUNC(i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = add i64 %0, 12\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n %64 = add i64 %4, 22\n %65 = call i64 @FUNC(i64 %64)\n %66 = add i64 %4, 24\n %67 = add i64 %4, 25\n %68 = inttoptr i64 %66 to i8*\n %69 = load i8, i8* %68, align 1\n %70 = sext i8 %69 to i32\n %71 = urem i32 %70, 2\n %72 = add i64 %0, 16\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n %74 = and i32 %70, 2\n %75 = add i64 %0, 20\n %76 = inttoptr i64 %75 to i32*\n store i32 %74, i32* %76, align 4\n %77 = and i32 %70, 4\n %78 = add i64 %0, 24\n %79 = inttoptr i64 %78 to i32*\n store i32 %77, i32* %79, align 4\n %80 = add i64 %4, 26\n %81 = inttoptr i64 %67 to i8*\n %82 = load i8, i8* %81, align 1\n %83 = sext i8 %82 to i32\n %84 = add i64 %0, 28\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n %86 = call i64 @FUNC(i64 %80)\n %87 = trunc i64 %86 to i32\n %88 = add i64 %0, 32\n %89 = inttoptr i64 %88 to i32*\n store i32 %87, i32* %89, align 4\n %90 = add i64 %4, 38\n %91 = call i64 @FUNC(i64 %90)\n %92 = trunc i64 %91 to i32\n store i32 %92, i32* %7, align 4\n %93 = and i64 %91, 4294967295\n %94 = icmp eq i64 %93, 0\n store i32 %92, i32* %.reg2mem\n br i1 %94, label LBL_35, label LBL_23\n LBL_23:\n %95 = add i64 %4, 40\n %96 = add i64 %0, 48\n %97 = inttoptr i64 %96 to i64*\n %98 = add i64 %0, 56\n %99 = inttoptr i64 %98 to i64*\n store i32 0, i32* %storemerge26.reg2mem\n store i32 12, i32* %sv_1.05.reg2mem\n store i64 %95, i64* %sv_0.04.reg2mem\n br label LBL_24\n LBL_24:\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %100 = add i32 %sv_1.05.reload, 3\n %101 = load i32, i32* %8, align 8\n %102 = zext i32 %101 to i64\n %103 = sext i32 %100 to i64\n %104 = icmp sgt i64 %103, %102\n br i1 %104, label LBL_25, label LBL_26\n LBL_25:\n %105 = call i64 @FUNC(i64 %0)\n store i32 0, i32* %7, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_40\n LBL_26:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %106 = call i64 @FUNC(i64 16)\n store i64 %106, i64* %97, align 8\n %107 = icmp eq i64 %106, 0\n %108 = icmp eq i1 %107, false\n br i1 %108, label LBL_28, label LBL_27\n LBL_27:\n %109 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_40\n LBL_28:\n %storemerge26.reload = load i32, i32* %storemerge26.reg2mem\n %110 = call i64 @FUNC(i64 %sv_0.04.reload)\n %111 = trunc i64 %110 to i32\n %112 = inttoptr i64 %106 to i32*\n store i32 %111, i32* %112, align 4\n %113 = add i64 %sv_0.04.reload, 2\n %114 = inttoptr i64 %113 to i8*\n %115 = load i8, i8* %114, align 1\n %116 = sext i8 %115 to i32\n %117 = add i32 %100, %116\n %118 = load i32, i32* %8, align 8\n %119 = zext i32 %118 to i64\n %120 = sext i32 %117 to i64\n %121 = icmp sgt i64 %120, %119\n br i1 %121, label LBL_29, label LBL_30\n LBL_29:\n %122 = call i64 @FUNC(i64 %0)\n store i32 0, i32* %7, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_40\n LBL_30:\n %123 = add nsw i32 %116, 1\n %124 = sext i32 %123 to i64\n %125 = load i64, i64* %97, align 8\n %126 = call i64 @FUNC(i64 %124)\n %127 = add i64 %125, 8\n %128 = inttoptr i64 %127 to i64*\n store i64 %126, i64* %128, align 8\n %129 = load i64, i64* %97, align 8\n %130 = add i64 %129, 8\n %131 = inttoptr i64 %130 to i64*\n %132 = load i64, i64* %131, align 8\n %133 = icmp eq i64 %132, 0\n %134 = icmp eq i1 %133, false\n br i1 %134, label LBL_32, label LBL_31\n LBL_31:\n %135 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_40\n LBL_32:\n %136 = add i64 %sv_0.04.reload, 3\n %137 = inttoptr i64 %132 to i64*\n %138 = inttoptr i64 %136 to i64*\n %139 = call i64* @memcpy(i64* %137, i64* %138, i32 %116)\n %140 = load i64, i64* %97, align 8\n %141 = add i64 %140, 8\n %142 = inttoptr i64 %141 to i64*\n %143 = load i64, i64* %142, align 8\n %144 = sext i8 %115 to i64\n %145 = add i64 %143, %144\n %146 = inttoptr i64 %145 to i8*\n store i8 0, i8* %146, align 1\n %147 = load i64, i64* %97, align 8\n %148 = call i64 @FUNC(i64 %98, i64 %0, i64 %147)\n %149 = load i64, i64* %99, align 8\n %150 = icmp eq i64 %149, 0\n %151 = icmp eq i1 %150, false\n br i1 %151, label LBL_34, label LBL_33\n LBL_33:\n %152 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_40\n LBL_34:\n %153 = add i64 %136, %144\n %154 = add i32 %storemerge26.reload, 1\n %155 = load i32, i32* %7, align 4\n %156 = zext i32 %155 to i64\n %157 = sext i32 %154 to i64\n %158 = icmp slt i64 %157, %156\n store i32 %154, i32* %storemerge26.reg2mem\n store i32 %117, i32* %sv_1.05.reg2mem\n store i64 %153, i64* %sv_0.04.reg2mem\n store i32 %155, i32* %.reg2mem\n br i1 %158, label LBL_24, label LBL_35\n LBL_35:\n %.reload = load i32, i32* %.reg2mem\n %159 = icmp eq i32 %.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %159, label LBL_40, label LBL_36\n LBL_36:\n %160 = trunc i64 %65 to i32\n %161 = add i64 %0, 56\n %162 = inttoptr i64 %161 to i64*\n %163 = add i64 %0, 40\n %164 = inttoptr i64 %163 to i64*\n store i32 %.reload, i32* %.reg2mem7\n store i64 0, i64* %.reg2mem9\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_37\n LBL_37:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload10 = load i64, i64* %.reg2mem9\n %.reload8 = load i32, i32* %.reg2mem7\n %165 = load i64, i64* %162, align 8\n %166 = mul i64 %.reload10, 8\n %167 = add i64 %165, %166\n %168 = inttoptr i64 %167 to i64*\n %169 = load i64, i64* %168, align 8\n %170 = inttoptr i64 %169 to i32*\n %171 = load i32, i32* %170, align 4\n %172 = icmp eq i32 %171, %160\n %173 = icmp eq i1 %172, false\n store i32 %.reload8, i32* %.reg2mem11\n br i1 %173, label LBL_39, label LBL_38\n LBL_38:\n %174 = add i64 %169, 8\n %175 = inttoptr i64 %174 to i64*\n %176 = load i64, i64* %175, align 8\n store i64 %176, i64* %164, align 8\n %.pre = load i32, i32* %7, align 4\n store i32 %.pre, i32* %.reg2mem11\n br label LBL_39\n LBL_39:\n %.reload12 = load i32, i32* %.reg2mem11\n %177 = add i32 %storemerge3.reload, 1\n %178 = zext i32 %.reload12 to i64\n %179 = sext i32 %177 to i64\n %180 = icmp slt i64 %179, %178\n store i32 %.reload12, i32* %.reg2mem7\n store i64 %179, i64* %.reg2mem9\n store i32 %177, i32* %storemerge3.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %180, label LBL_37, label LBL_40\n LBL_40:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.reload12, { 1, 0 }\n uselistorder i32 %116, { 1, 2, 0 }\n uselistorder i64 %106, { 1, 0, 2 }\n uselistorder i64 %sv_0.04.reload, { 1, 0, 2 }\n uselistorder i64 %98, { 1, 0 }\n uselistorder i32 %70, { 1, 2, 0 }\n uselistorder i8 %16, { 5, 6, 7, 2, 3, 4, 0, 1, 8 }\n uselistorder i32* %7, { 0, 3, 1, 2, 4, 5 }\n uselistorder i64 %4, { 0, 1, 2, 3, 4, 5, 8, 7, 6 }\n uselistorder i64 %0, { 10, 9, 11, 12, 14, 15, 16, 18, 13, 17, 19, 20, 21, 22, 23, 24, 8, 7, 6, 5, 4, 3, 2, 1, 0, 25 }\n uselistorder i32* %storemerge26.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem7, { 1, 0, 2 }\n uselistorder i64* %.reg2mem9, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem11, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 6, 5, 7, 4, 8, 3 }\n uselistorder i64 4294967284, { 2, 1, 0 }\n uselistorder i64 (i64)* @av_malloc, { 1, 0 }\n uselistorder i64 (i64)* @mov_text_cleanup_ftab, { 4, 3, 2, 1, 0 }\n uselistorder i64 48, { 1, 0 }\n uselistorder i64 40, { 2, 1, 0 }\n uselistorder i64 0, { 0, 2, 1, 5, 6, 7, 3, 4 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 (i64)* @AV_RB16, { 2, 1, 0 }\n uselistorder i64 (i64)* @AV_RB24, { 1, 0 }\n uselistorder i32 2, { 1, 0, 2 }\n uselistorder i32 0, { 0, 2, 3, 4, 1, 5, 6, 7 }\n uselistorder i64 8, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }\n uselistorder label LBL_40, { 0, 1, 3, 4, 5, 6, 7, 2 }\n uselistorder label LBL_37, { 1, 0 }\n uselistorder label LBL_24, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "packet_sock_destruct_10565", "fun_name": "packet_sock_destruct", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %7 = call i32 @fwrite(i64* bitcast ([42 x i8]* @gv_1 to i64*), i32 1, i32 41, %_IO_FILE* %6)\n br label LBL_2\n LBL_2:\n %8 = add i64 %0, 4\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %13 = call i32 @fwrite(i64* bitcast ([44 x i8]* @gv_2 to i64*), i32 1, i32 43, %_IO_FILE* %12)\n br label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %0, i64 1)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0), i64 %0)\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n %19 = call i64 @FUNC(i64 %0)\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypt_iv_tcw_whitening_17481", "fun_name": "crypt_iv_tcw_whitening", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv20.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %3 = ptrtoint i64* %sv_6 to i64\n %4 = call i64 @FUNC(i64 %1)\n store i64 %4, i64* %sv_5, align 8\n %5 = add i64 %2, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = mul i64 %8, 8\n %10 = add i64 %9, 191\n %11 = and i64 %10, -64\n store i64 %11, i64* %sv_6, align 8\n %12 = add i64 %8, 23\n %13 = and i64 %12, -8\n %14 = add i64 %13, 15\n %15 = udiv i64 %14, 16\n %16 = mul i64 %15, 16\n %17 = sub i64 %3, %16\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 16, i64* %sv_4, align 8\n store i64 %20, i64* %sv_3, align 8\n %21 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_5, i64 8)\n %22 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_5, i64 8)\n %23 = load i64, i64* %6, align 8\n %24 = inttoptr i64 %17 to i64*\n store i64 %23, i64* %24, align 8\n %25 = add i64 %17, 8\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n %27 = ptrtoint i64* %sv_4 to i64\n store i64 0, i64* %indvars.iv20.reg2mem\n br label LBL_1\n LBL_1:\n %28 = call i64 @FUNC(i64 %17)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %28, i64* %sv_0.1.reg2mem\n br i1 %31, label LBL_7, label LBL_2\n LBL_2:\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %32 = mul i64 %indvars.iv20.reload, 4\n %33 = add i64 %32, %27\n %34 = call i64 @FUNC(i64 %17, i64 %33, i64 4)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %34, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_7, label LBL_3\n LBL_3:\n %38 = call i64 @FUNC(i64 %17, i64 %33)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %38, i64* %sv_0.1.reg2mem\n br i1 %41, label LBL_7, label LBL_4\n LBL_4:\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %42 = icmp ult i64 %indvars.iv.next21, 4\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n br i1 %42, label LBL_1, label LBL_5\n LBL_5:\n %43 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_2, i64 4)\n %44 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_3, i64 4)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %45 = mul i64 %indvars.iv.reload, 8\n %46 = add i64 %45, %0\n %47 = inttoptr i64 %46 to i64*\n %48 = call i64 @FUNC(i64* %47, i64* nonnull %sv_4, i64 8)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %38, i64* %sv_0.1.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %49 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 16)\n %50 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %50\n\n uselistorder i64 %38, { 1, 0, 2 }\n uselistorder i64 %17, { 0, 1, 2, 4, 3 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %sv_4, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 4, { 2, 3, 1, 4, 0 }\n uselistorder i64 (i64*, i64*, i64)* @crypto_xor, { 4, 3, 2, 1, 0 }\n uselistorder i64 8, { 2, 0, 5, 3, 4, 6, 1 }\n uselistorder i64 16, { 2, 0, 1, 3 }\n uselistorder label LBL_7, { 3, 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pc_xen_hvm_init_1308", "fun_name": "pc_xen_hvm_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC()\n %8 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %7, i64 4294967295, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_10925", "fun_name": "decode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = bitcast i64* %rsi to i32*\n %5 = trunc i64 %1 to i32\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = mul i32 %8, %arg3\n %10 = sub i32 %5, %9\n store i32 %10, i32* %arg2, align 4\n %11 = load i32, i32* %7, align 4\n %12 = mul i32 %11, %arg4\n store i32 %12, i32* %7, align 4\n %13 = icmp ult i32 %12, 16777216\n br i1 %13, label LBL_2, label LBL_3\n LBL_1:\n %14 = call i64 @FUNC(i64 %3)\n %15 = trunc i64 %14 to i32\n %16 = load i32, i32* %4, align 8\n %17 = mul i32 %16, 256\n %18 = or i32 %17, %15\n store i32 %18, i32* %arg2, align 4\n %19 = load i32, i32* %7, align 4\n %20 = mul i32 %19, 256\n store i32 %20, i32* %7, align 4\n %21 = icmp ult i32 %20, 16777216\n br i1 %21, label LBL_2, label LBL_3\n LBL_2:\n %22 = call i64 @FUNC(i64 %3)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp slt i32 %23, 0\n %26 = icmp eq i1 %25, false\n %27 = icmp eq i1 %24, false\n %28 = icmp eq i1 %26, %27\n br i1 %28, label LBL_1, label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i32 %23, { 1, 0 }\n uselistorder i32* %7, { 1, 2, 0, 3, 4 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 16777216, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mbedtls_aes_cmac_prf_128_17550", "fun_name": "mbedtls_aes_cmac_prf_128", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = icmp eq i64 %arg3, 16\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i64 %0, i64* %sv_1, align 8\n br label LBL_6\n LBL_2:\n %3 = call i64 @FUNC(i64* nonnull %sv_1)\n %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16)\n %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i64* nonnull %sv_0, i64 128)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = and i64 %5, 4294967295\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %arg3, i64* nonnull %sv_1, i64 16)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = and i64 %9, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %13 = call i64 @FUNC(i64* %arg1, i64 0, i64* nonnull %sv_1, i64 128)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %16 = and i64 %13, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %17 = ptrtoint i64* %arg4 to i64\n %18 = call i64 @FUNC(i64* %arg1, i64 %17, i64 %arg5, i64* %arg6, i64 16)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64*, i64, i64, i64*, i64)* @mbedtls_cmac_generate, { 1, 0 }\n uselistorder i64 (i64*, i64, i64*, i64)* @mbedtls_cmac_setkey, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handle_packets_15864", "fun_name": "handle_packets", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %.reg2mem26 = alloca i32\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = add i64 %0, 65552\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %0, 65540\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = trunc i64 %6 to i32\n %11 = icmp eq i32 %9, %10\n br i1 %11, label LBL_7, label LBL_1\n LBL_1:\n %12 = load i64, i64* %2, align 8\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = add i64 %14, %0\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_6, label LBL_3\n LBL_3:\n %19 = inttoptr i64 %17 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 1\n %22 = icmp eq i1 %21, false\n store i64 %17, i64* %.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = add i64 %17, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %25, 8\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %25, 12\n %30 = inttoptr i64 %29 to i32*\n store i32 2, i32* %30, align 4\n %.pre = load i64, i64* %16, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %31 = add i64 %.reload, 16\n %32 = inttoptr i64 %31 to i32*\n store i32 -1, i32* %32, align 4\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8192\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_2\n LBL_7:\n %33 = add i64 %0, 65536\n %34 = inttoptr i64 %33 to i32*\n store i32 0, i32* %34, align 4\n %35 = add i64 %0, 65544\n %36 = inttoptr i64 %35 to i32*\n %37 = trunc i64 %arg2 to i32\n %38 = icmp eq i32 %37, 0\n %39 = icmp sgt i32 %37, 1\n %or.cond16 = or i1 %38, %39\n store i32 1, i32* %.reg2mem26\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %or.cond16, label LBL_10, label LBL_12\n LBL_8:\n %40 = load i32, i32* %34, align 4\n %41 = icmp eq i32 %40, 0\n %42 = icmp slt i32 %40, 0\n %43 = icmp eq i1 %42, false\n %44 = icmp eq i1 %41, false\n %45 = icmp eq i1 %43, %44\n store i64 %53, i64* %sv_0.1.reg2mem\n br i1 %45, label LBL_12, label LBL_9\n LBL_9:\n %.reload27 = load i32, i32* %.reg2mem26\n %46 = add i32 %.reload27, 1\n %47 = icmp slt i32 %46, %37\n %or.cond = or i1 %38, %47\n store i32 %46, i32* %.reg2mem26\n store i64 %53, i64* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_12\n LBL_10:\n %48 = load i32, i32* %36, align 4\n %49 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1, i32 %48)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 %49, i64* %sv_0.1.reg2mem\n br i1 %52, label LBL_12, label LBL_11\n LBL_11:\n %53 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n %56 = icmp eq i1 %55, false\n store i64 %53, i64* %sv_0.1.reg2mem\n br i1 %56, label LBL_12, label LBL_8\n LBL_12:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %57 = load i64, i64* %4, align 8\n %58 = call i64 @FUNC(i64 %57)\n %59 = trunc i64 %58 to i32\n store i32 %59, i32* %8, align 4\n %60 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %60\n\n uselistorder i64 %53, { 1, 3, 2, 0 }\n uselistorder i32 %40, { 1, 0 }\n uselistorder i1 %38, { 1, 0 }\n uselistorder i32 %37, { 1, 0, 2 }\n uselistorder i64 %17, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem26, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i32 0, { 1, 2, 4, 5, 3, 6, 0 }\n uselistorder i1 false, { 2, 3, 4, 0, 1 }\n uselistorder i64 (i64)* @avio_tell, { 1, 0 }\n uselistorder label LBL_12, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_j2k_dwt_init_14760", "fun_name": "ff_j2k_dwt_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.in.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv16.reg2mem = alloca i64\n %indvars.iv22.reg2mem = alloca i64\n %indvars.iv19.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = load i32, i32* %0\n %3 = load i32, i32* %0\n %4 = load i32, i32* %0\n %sv_0 = alloca i64, align 8\n %5 = trunc i64 %arg3 to i32\n %6 = icmp slt i32 %5, 32\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_17\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = ptrtoint i64* %sv_0 to i64\n %9 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %9, align 4\n %10 = trunc i64 %arg4 to i32\n %11 = add i64 %7, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = ptrtoint i16* %arg2 to i64\n %14 = add i64 %8, -32\n store i64 0, i64* %indvars.iv22.reg2mem\n br label LBL_4\n LBL_2:\n %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem\n %15 = mul i64 %indvars.iv19.reload, 2\n %16 = add i64 %25, %15\n %17 = inttoptr i64 %16 to i16*\n %18 = load i16, i16* %17, align 2\n %19 = add nuw nsw i64 %indvars.iv19.reload, %26\n %20 = zext i16 %18 to i32\n %21 = mul i64 %19, 4\n %22 = add i64 %21, %14\n %23 = inttoptr i64 %22 to i32*\n store i32 %20, i32* %23, align 4\n %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1\n %exitcond21 = icmp eq i64 %indvars.iv.next20, 2\n store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem\n br i1 %exitcond21, label LBL_3, label LBL_2\n LBL_3:\n %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1\n %exitcond24 = icmp eq i64 %indvars.iv.next23, 2\n store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem\n br i1 %exitcond24, label LBL_5, label LBL_4\n LBL_4:\n %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem\n %24 = mul i64 %indvars.iv22.reload, 4\n %25 = add i64 %24, %13\n %26 = mul i64 %indvars.iv22.reload, 2\n store i64 0, i64* %indvars.iv19.reg2mem\n br label LBL_2\n LBL_5:\n %27 = add i32 %5, -1\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_6, label LBL_12\n LBL_6:\n %30 = add i64 %8, -28\n store i32 %27, i32* %.in.reg2mem\n br label LBL_11\n LBL_7:\n %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem\n %31 = mul i64 %indvars.iv16.reload, 8\n %32 = add i64 %30, %31\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %31, %14\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 8\n %38 = sub i32 %34, %37\n %39 = add nuw nsw i64 %indvars.iv16.reload, %60\n %40 = mul i64 %39, 4\n %41 = add i64 %40, %7\n %42 = add i64 %41, 8\n %43 = inttoptr i64 %42 to i32*\n store i32 %38, i32* %43, align 4\n %44 = load i32, i32* %36, align 8\n %45 = urem i32 %44, 2\n %46 = add i64 %41, 264\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = mul i64 %indvars.iv16.reload, 2\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %49 = add nuw nsw i64 %indvars.iv.reload, %48\n %50 = mul i64 %49, 4\n %51 = add i64 %50, %14\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i32 %53, 1\n %55 = ashr i32 %54, 1\n store i32 %55, i32* %52, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1\n %exitcond18 = icmp eq i64 %indvars.iv.next17, 2\n store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem\n br i1 %exitcond18, label LBL_10, label LBL_7\n LBL_10:\n %56 = add i32 %.in.reload, -1\n %57 = icmp slt i32 %56, 0\n %58 = icmp eq i1 %57, false\n store i32 %56, i32* %.in.reg2mem\n br i1 %58, label LBL_11, label LBL_12\n LBL_11:\n %.in.reload = load i32, i32* %.in.reg2mem\n %59 = sext i32 %.in.reload to i64\n %60 = mul i64 %59, 2\n store i64 0, i64* %indvars.iv16.reg2mem\n br label LBL_7\n LBL_12:\n %61 = sub i32 %4, %3\n %62 = sub i32 %2, %1\n %63 = sub i32 %61, %62\n %64 = xor i32 %61, %62\n %65 = xor i32 %63, %61\n %66 = and i32 %65, %64\n %67 = icmp slt i32 %66, 0\n %68 = icmp slt i32 %63, 0\n %69 = icmp eq i1 %68, %67\n %70 = select i1 %69, i32 %61, i32 %62\n %71 = icmp eq i32 %10, 1\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_14, label LBL_13\n LBL_13:\n %73 = add i32 %70, 12\n %74 = sext i32 %73 to i64\n %75 = mul i64 %74, 4\n %76 = call i64 @FUNC(i64 %75)\n %77 = add i64 %7, 520\n %78 = inttoptr i64 %77 to i64*\n store i64 %76, i64* %78, align 8\n store i64 %76, i64* %.reg2mem\n br label LBL_16\n LBL_14:\n %79 = icmp eq i32 %10, 2\n %80 = icmp eq i1 %79, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %80, label LBL_17, label LBL_15\n LBL_15:\n %81 = add i32 %70, 6\n %82 = sext i32 %81 to i64\n %83 = mul i64 %82, 4\n %84 = call i64 @FUNC(i64 %83)\n %85 = add i64 %7, 520\n %86 = inttoptr i64 %85 to i64*\n store i64 %84, i64* %86, align 8\n store i64 %84, i64* %.reg2mem\n br label LBL_16\n LBL_16:\n %.reload = load i64, i64* %.reg2mem\n %87 = icmp eq i64 %.reload, 0\n %88 = icmp eq i1 %87, false\n %. = select i1 %88, i64 0, i64 4294967284\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %70, { 1, 0 }\n uselistorder i32 %63, { 1, 0 }\n uselistorder i32 %62, { 1, 0, 2 }\n uselistorder i32 %61, { 2, 0, 1, 3 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %indvars.iv16.reload, { 0, 3, 1, 2 }\n uselistorder i64 %indvars.iv22.reload, { 2, 1, 0 }\n uselistorder i32 %10, { 1, 0, 2 }\n uselistorder i64 %7, { 2, 1, 0, 3 }\n uselistorder i32 %5, { 1, 0, 2 }\n uselistorder i64* %indvars.iv19.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv16.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @av_malloc, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "adx_decode_15368", "fun_name": "adx_decode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.04.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i32\n %sv_2.06.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %sext = mul i64 %arg4, 4294967296\n %3 = ashr exact i64 %sext, 30\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i16*\n %6 = call i64 @FUNC(i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %0, 2\n %9 = call i64 @FUNC(i64* nonnull %sv_3, i64 %8, i64 128)\n %10 = load i16, i16* %5, align 2\n %11 = sext i16 %10 to i32\n %12 = add i64 %4, 2\n %13 = inttoptr i64 %12 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = sext i16 %14 to i32\n %16 = mul i32 %7, 2\n %17 = and i32 %16, 131070\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %storemerge7.reg2mem\n store i32 %15, i32* %sv_2.06.reg2mem\n store i32 %11, i32* %sv_1.05.reg2mem\n store i64 %1, i64* %sv_0.04.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %20 = call i64 @FUNC(i64* nonnull %sv_3, i64 4)\n %21 = trunc i64 %20 to i32\n %22 = mul i32 %17, %21\n %23 = add i32 %22, %sv_1.05.reload\n %24 = mul i32 %23, 2\n %25 = sub i32 %24, %sv_2.06.reload\n %26 = mul i32 %25, 8192\n %27 = ashr i32 %26, 14\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i32\n %sext3 = mul i32 %30, 65536\n %31 = ashr exact i32 %sext3, 16\n %32 = trunc i32 %31 to i16\n %33 = inttoptr i64 %sv_0.04.reload to i16*\n store i16 %32, i16* %33, align 2\n %34 = load i32, i32* %19, align 4\n %35 = sext i32 %34 to i64\n %36 = mul i64 %35, 2\n %37 = add i64 %36, %sv_0.04.reload\n %38 = add nuw nsw i32 %storemerge7.reload, 1\n %exitcond = icmp eq i32 %38, 32\n store i32 %38, i32* %storemerge7.reg2mem\n store i32 %sv_1.05.reload, i32* %sv_2.06.reg2mem\n store i32 %31, i32* %sv_1.05.reg2mem\n store i64 %37, i64* %sv_0.04.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n store i16 %32, i16* %5, align 2\n %39 = trunc i32 %sv_1.05.reload to i16\n store i16 %39, i16* %13, align 2\n ret i64 %4\n\n uselistorder i32 %sv_1.05.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.04.reload, { 1, 0 }\n uselistorder i64 %4, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.06.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 1, 4, 5 }\n uselistorder i32 2, { 0, 1, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vnc_display_disable_login_15567", "fun_name": "vnc_display_disable_login", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = load i64, i64* @gv_0, align 8\n %storemerge1 = select i1 %1, i64 %2, i64 %0\n %3 = icmp eq i64 %storemerge1, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = inttoptr i64 %storemerge1 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %6)\n br label LBL_3\n LBL_3:\n store i64 0, i64* %5, align 8\n %9 = add i64 %storemerge1, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %10, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unassigned_mem_writeb_18648", "fun_name": "unassigned_mem_writeb", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i32 %arg3)\n %1 = call i64 @FUNC(i64 %arg2, i64 1, i64 0, i64 0, i64 1)\n ret i64 %1\n\n uselistorder i64 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cap_emulate_setxuid_9461", "fun_name": "cap_emulate_setxuid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %2 to i32\n %5 = icmp eq i32 %4, 0\n %6 = trunc i64 %1 to i32\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %7 = ptrtoint i32* %arg2 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = add i64 %7, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n %17 = icmp eq i32 %6, 0\n %or.cond = or i1 %17, %16\n br i1 %or.cond, label LBL_8, label LBL_4\n LBL_3:\n %.old = icmp eq i32 %6, 0\n br i1 %.old, label LBL_8, label LBL_4\n LBL_4:\n %18 = add i64 %3, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_8, label LBL_5\n LBL_5:\n %22 = add i64 %3, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_8, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 1)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = add i64 %3, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %3, 16\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38)\n br label LBL_8\n LBL_8:\n %40 = ptrtoint i32* %arg2 to i64\n %41 = add i64 %40, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i32 %43, i32* %.reg2mem\n br i1 %45, label LBL_11, label LBL_9\n LBL_9:\n %46 = add i64 %3, 4\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 0\n store i32 %43, i32* %.reg2mem\n br i1 %49, label LBL_11, label LBL_10\n LBL_10:\n %50 = add i64 %3, 16\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64 %53)\n %.pr.pre = load i32, i32* %42, align 4\n store i32 %.pr.pre, i32* %.reg2mem\n br label LBL_11\n LBL_11:\n %.reload = load i32, i32* %.reg2mem\n %55 = icmp eq i32 %.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %55, label LBL_14, label LBL_12\n LBL_12:\n %56 = add i64 %3, 4\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = zext i32 %58 to i64\n %60 = icmp eq i32 %58, 0\n %61 = icmp eq i1 %60, false\n store i64 %59, i64* %rax.0.reg2mem\n br i1 %61, label LBL_14, label LBL_13\n LBL_13:\n %62 = add i64 %3, 12\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = add i64 %3, 16\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %3, { 0, 8, 7, 9, 6, 5, 2, 1, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @cap_clear, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iscsi_boot_destroy_kset_4475", "fun_name": "iscsi_boot_destroy_kset", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 %arg1, i64* %storemerge1.reg2mem\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %1 = inttoptr i64 %storemerge1.reload to i64*\n %2 = load i64, i64* %1, align 8\n %3 = call i64 @FUNC(i64 %storemerge1.reload)\n %4 = icmp eq i64 %2, 0\n store i64 %2, i64* %storemerge1.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_2:\n %5 = add i64 %arg1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %arg1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_stop_12648", "fun_name": "net_stop", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %3 = icmp eq i32 %2, 0\n store i64 %0, i64* %.reg2mem\n store i32 1, i32* %storemerge1.reg2mem\n store i64 %0, i64* %.lcssa.reg2mem\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %4 = zext i32 %storemerge1.reload to i64\n %5 = mul i64 %4, 4\n %6 = add i64 %5, %.reload\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i32 %storemerge1.reload, 1\n %12 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %13 = icmp ugt i32 %11, %12\n %14 = load i64, i64* @gv_0, align 8\n store i64 %14, i64* %.reg2mem\n store i32 %11, i32* %storemerge1.reg2mem\n store i64 %14, i64* %.lcssa.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %15 = call i64 @FUNC(i64 %.lcssa.reload)\n store i64 0, i64* @gv_0, align 8\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i32* inttoptr (i64 4210732 to i32*), { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "initializeControlStream_7056", "fun_name": "initializeControlStream", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %0 = call i64 @FUNC(i64* nonnull @gv_1)\n %1 = call i64 @FUNC(i64* nonnull @gv_2, i64 20)\n %2 = load i32, i32* @gv_3, align 4\n %3 = icmp eq i32 %2, 3\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i64 ptrtoint (i64* @gv_4 to i64), i64* @gv_5, align 8\n store i64 ptrtoint (i64* @gv_6 to i64), i64* @gv_7, align 8\n store i64 ptrtoint (i64* @gv_8 to i64), i64* @gv_9, align 8\n br label LBL_7\n LBL_2:\n %5 = icmp eq i32 %2, 4\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n store i64 ptrtoint (i64* @gv_10 to i64), i64* @gv_5, align 8\n store i64 ptrtoint (i64* @gv_11 to i64), i64* @gv_7, align 8\n store i64 ptrtoint (i64* @gv_12 to i64), i64* @gv_9, align 8\n br label LBL_7\n LBL_4:\n %7 = icmp eq i32 %2, 5\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_6, label LBL_5\n LBL_5:\n store i64 ptrtoint (i64* @gv_13 to i64), i64* @gv_5, align 8\n store i64 ptrtoint (i64* @gv_14 to i64), i64* @gv_7, align 8\n store i64 ptrtoint (i64* @gv_15 to i64), i64* @gv_9, align 8\n br label LBL_7\n LBL_6:\n store i64 ptrtoint (i64* @gv_16 to i64), i64* @gv_5, align 8\n store i64 ptrtoint (i64* @gv_17 to i64), i64* @gv_7, align 8\n store i64 ptrtoint (i64* @gv_18 to i64), i64* @gv_9, align 8\n br label LBL_7\n LBL_7:\n store i32 0, i32* bitcast (i64* @gv_19 to i32*), align 8\n store i32 0, i32* bitcast (i64* @gv_20 to i32*), align 8\n store i32 0, i32* bitcast (i64* @gv_21 to i32*), align 8\n store i32 0, i32* bitcast (i64* @gv_22 to i32*), align 8\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_mtp_object_readdir_16384", "fun_name": "usb_mtp_object_readdir", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca %dirent*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i8\n %4 = urem i64 %2, 256\n %5 = icmp eq i8 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = bitcast i64* %arg2 to i8*\n store i8 1, i8* %8, align 1\n %9 = add i64 %7, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i8*\n %13 = call %__dirstream* @opendir(i8* %12)\n %14 = ptrtoint %__dirstream* %13 to i64\n %15 = icmp eq %__dirstream* %13, null\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %15, label LBL_9, label LBL_2\n LBL_2:\n %16 = load i64, i64* %10, align 8\n %17 = and i64 %1, 4294967295\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, -1\n %21 = icmp eq i1 %20, false\n %22 = load i64, i64* %10, align 8\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %23 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %24 = inttoptr i64 %22 to i8*\n %25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i8* %24)\n br label LBL_5\n LBL_4:\n %26 = ptrtoint i32* %arg1 to i64\n %27 = add i64 %26, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %22, i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n %32 = add i64 %7, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 %19, i32* %33, align 4\n br label LBL_5\n LBL_5:\n %34 = call %dirent* @readdir(%__dirstream* nonnull %13)\n %35 = icmp eq %dirent* %34, null\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_6, label LBL_8\n LBL_6:\n %37 = ptrtoint i32* %arg1 to i64\n store %dirent* %34, %dirent** %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load %dirent*, %dirent** %.reg2mem\n %38 = ptrtoint %dirent* %.reload to i64\n %39 = add i64 %38, 19\n %40 = call i64 @FUNC(i64 %37, i64 %7, i64 %39)\n %41 = call %dirent* @readdir(%__dirstream* nonnull %13)\n %42 = icmp eq %dirent* %41, null\n %43 = icmp eq i1 %42, false\n store %dirent* %41, %dirent** %.reg2mem\n br i1 %43, label LBL_7, label LBL_8\n LBL_8:\n %44 = call i32 @closedir(%__dirstream* nonnull %13)\n %45 = sext i32 %44 to i64\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder %__dirstream* %13, { 1, 2, 0, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder %dirent** %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder %dirent* null, { 1, 0 }\n uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ofproto_get_all_flows_10316", "fun_name": "ofproto_get_all_flows", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge2.lcssa.reg2mem = alloca i64\n %storemerge26.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 %arg1, i64* %storemerge26.reg2mem\n store i64 %arg1, i64* %storemerge2.lcssa.reg2mem\n br i1 %1, label LBL_3, label LBL_4\n LBL_1:\n %storemerge15.reload = load i64, i64* %storemerge15.reg2mem\n %2 = call i64 @FUNC(i64 %arg1, i64 %storemerge15.reload, i64 %arg2)\n %storemerge1.in = inttoptr i64 %storemerge15.reload to i64*\n %storemerge1 = load i64, i64* %storemerge1.in, align 8\n %3 = icmp eq i64 %storemerge1, 0\n %4 = icmp eq i1 %3, false\n store i64 %storemerge1, i64* %storemerge15.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_2:\n %5 = add i64 %storemerge26.reload, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %storemerge26.reg2mem\n store i64 %7, i64* %storemerge2.lcssa.reg2mem\n br i1 %9, label LBL_3, label LBL_4\n LBL_3:\n %storemerge26.reload = load i64, i64* %storemerge26.reg2mem\n %storemerge1.in3 = inttoptr i64 %storemerge26.reload to i64*\n %storemerge14 = load i64, i64* %storemerge1.in3, align 8\n %10 = icmp eq i64 %storemerge14, 0\n %11 = icmp eq i1 %10, false\n store i64 %storemerge14, i64* %storemerge15.reg2mem\n br i1 %11, label LBL_1, label LBL_2\n LBL_4:\n %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem\n ret i64 %storemerge2.lcssa.reload\n\n uselistorder i64 %storemerge15.reload, { 1, 0 }\n uselistorder i64* %storemerge15.reg2mem, { 1, 2, 0 }\n uselistorder i64* %storemerge26.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 3, 2, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "chd_dec_fetch_cdata_18884", "fun_name": "chd_dec_fetch_cdata", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i64* %arg2, null\n %or.cond = or i1 %0, %1\n %2 = icmp eq i64 %arg4, 0\n %or.cond4 = or i1 %or.cond, %2\n %or.cond4.not = icmp ne i1 %or.cond4, true\n %3 = icmp eq i32 %arg3, 0\n %4 = icmp eq i1 %3, false\n %or.cond6 = icmp eq i1 %4, %or.cond4.not\n br i1 %or.cond6, label LBL_2, label LBL_1\n LBL_1:\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %5)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %7 = zext i32 %arg3 to i64\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %arg2, align 8\n %9 = icmp eq i1 %1, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i32 %arg3)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %arg3, i32* %14, align 4\n %15 = add i64 %arg4, 8\n %16 = call i64 @FUNC(i64 %15, i64 %12, i32 %arg3, i64 0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = trunc i64 %15 to i32\n %20 = load i32, i32* %14, align 4\n %21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i32 %20, i32 %19)\n %23 = call i64 @FUNC(i64 ptrtoint ([42 x i8]* @gv_3 to i64))\n store i64 0, i64* %arg2, align 8\n store i64 4294967235, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %24 = and i64 %16, 4294967295\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder [42 x i8]* @gv_3, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 %arg3, { 0, 3, 2, 4, 1 }\n uselistorder i64* %arg2, { 0, 3, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "RegisterMATImage_8389", "fun_name": "RegisterMATImage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %1 = inttoptr i64 %0 to i64*\n store i64 4198803, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 4198810, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 20\n %7 = inttoptr i64 %6 to i32*\n store i32 1, i32* %7, align 4\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %12 = add i64 %0, 32\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 (i8*)* @AcquireString, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdict_get_str_850", "fun_name": "qdict_get_str", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ixgbe_ndo_set_vf_spoofchk_4154", "fun_name": "ixgbe_ndo_set_vf_spoofchk", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge7.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = icmp slt i64 %1, %5\n store i64 4294967274, i64* %storemerge7.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = trunc i64 %arg2 to i32\n %8 = srem i32 %7, 8\n %9 = add i64 %2, 132\n %10 = ashr i32 %7, 3\n %11 = ashr exact i64 %sext, 29\n %12 = add i64 %2, %11\n %13 = add i64 %12, 4\n %14 = inttoptr i64 %13 to i8*\n store i8 %arg3, i8* %14, align 1\n %15 = zext i32 %10 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %9, i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = urem i32 %8, 32\n %21 = shl i32 -1, %20\n %22 = add i32 %21, -1\n %23 = and i32 %22, %19\n %24 = zext i8 %arg3 to i32\n %25 = shl i32 %24, %20\n %26 = or i32 %23, %25\n %27 = call i64 @FUNC(i64 %15)\n %28 = zext i32 %26 to i64\n %29 = and i64 %27, 4294967295\n %30 = call i64 @FUNC(i64 %9, i64 %29, i64 %28)\n %31 = add i64 %12, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n store i64 0, i64* %storemerge7.reg2mem\n br i1 %34, label LBL_3, label LBL_2\n LBL_2:\n %35 = add nsw i32 %8, 1\n %36 = call i64 @FUNC(i64 %15)\n %37 = and i64 %36, 4294967295\n %38 = call i64 @FUNC(i64 %9, i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = urem i32 %35, 32\n %41 = shl i32 -1, %40\n %42 = add i32 %41, -1\n %43 = and i32 %42, %39\n %44 = shl i32 %24, %40\n %45 = or i32 %43, %44\n %46 = call i64 @FUNC(i64 %15)\n %47 = zext i32 %45 to i64\n %48 = and i64 %46, 4294967295\n %49 = call i64 @FUNC(i64 %9, i64 %48, i64 %47)\n store i64 0, i64* %storemerge7.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n ret i64 %storemerge7.reload\n\n uselistorder i32 %40, { 1, 0 }\n uselistorder i32 %20, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64, i64)* @IXGBE_WRITE_REG, { 1, 0 }\n uselistorder i64 (i64, i64)* @IXGBE_READ_REG, { 1, 0 }\n uselistorder i64 (i64)* @IXGBE_PFVFSPOOF, { 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "manager_environment_add_4541", "fun_name": "manager_environment_add", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %sv_0.1.in.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %3 = ptrtoint i64* %arg2 to i64\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 %rdi.0.reload, i64* %sv_0.0.in.reg2mem\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %rdi.0.reload, i64 1, i64 %3)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %sv_2.0.reg2mem\n store i64 %8, i64* %sv_0.0.in.reg2mem\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_14\n LBL_4:\n %11 = ptrtoint i64* %arg3 to i64\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %sv_0.0.in.reload, i64* %sv_0.1.in.reg2mem\n store i64 %11, i64* %rdi.1.reg2mem\n br i1 %15, label LBL_7, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 2, i64 %sv_0.0.in.reload, i64 %11)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %sv_1.0.reg2mem\n store i64 %16, i64* %sv_0.1.in.reg2mem\n store i64 2, i64* %rdi.1.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %sv_2.0.reload)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %20 = icmp eq i64 %rdi.1.reload, %sv_0.1.in.reload\n br i1 %20, label LBL_9, label LBL_8\n LBL_8:\n %21 = call i64 @FUNC(i64 %rdi.1.reload)\n br label LBL_9\n LBL_9:\n %22 = icmp eq i64 %sv_2.0.reload, %sv_0.1.in.reload\n br i1 %22, label LBL_11, label LBL_10\n LBL_10:\n %23 = call i64 @FUNC(i64 %sv_2.0.reload)\n br label LBL_11\n LBL_11:\n %24 = icmp eq i64 %sv_1.0.reload, %sv_0.1.in.reload\n br i1 %24, label LBL_13, label LBL_12\n LBL_12:\n %25 = call i64 @FUNC(i64 %sv_1.0.reload)\n br label LBL_13\n LBL_13:\n store i64 %sv_0.1.in.reload, i64* %arg1, align 8\n %26 = call i64 @FUNC(i64 %0)\n %27 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.1.in.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_0.0.in.reload, { 1, 0 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %rdi.0.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @strv_free, { 3, 2, 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64)* @strv_isempty, { 1, 0 }\n uselistorder [2 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_14, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hypercall_init_14583", "fun_name": "hypercall_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 1, i64 4198676)\n %1 = call i64 @FUNC(i64 2, i64 4198683)\n %2 = call i64 @FUNC(i64 3, i64 4198690)\n %3 = call i64 @FUNC(i64 4, i64 4198697)\n ret i64 %3\n\n uselistorder i64 (i64, i64)* @spapr_register_hypercall, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_put_be16_2705", "fun_name": "qemu_put_be16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = udiv i64 %arg2, 256\n %2 = urem i64 %1, 16777216\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = and i64 %arg2, 4294967295\n %5 = call i64 @FUNC(i64 %0, i64 %4)\n ret i64 %5\n\n uselistorder i64 (i64, i64)* @qemu_put_byte, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "git_tree__parse_6798", "fun_name": "git_tree__parse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_13\n LBL_1:\n %6 = call i64 @FUNC(i64 %1)\n store i64 %6, i64* %sv_1, align 8\n %7 = call i64 @FUNC(i64 %1)\n %8 = add i64 %7, %6\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i64 10)\n %13 = load i64, i64* %10, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp ugt i64 %8, %6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_13\n LBL_2:\n %16 = bitcast i32* %sv_0 to i64*\n store i64 %6, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %17 = call i64 @FUNC(i64* nonnull %16, i64 %.reload, i64* nonnull %sv_1)\n %18 = trunc i64 %17 to i32\n %19 = icmp slt i32 %18, 0\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = load i64, i64* %sv_1, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 0)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %24 = sub i64 %8, %20\n %25 = inttoptr i64 %20 to i64*\n %26 = trunc i64 %24 to i32\n %27 = call i64* @memchr(i64* %25, i32 0, i32 %26)\n %28 = icmp eq i64* %27, null\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 0)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n %31 = ptrtoint i64* %27 to i64\n %32 = load i64, i64* %sv_1, align 8\n %33 = sub i64 %31, %32\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_10, label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i64 0)\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %37 = sub i64 0, %31\n %38 = sub i64 %37, 1\n %39 = add i64 %8, %38\n %40 = icmp sgt i64 %39, 19\n br i1 %40, label LBL_12, label LBL_11\n LBL_11:\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_3, i64 0, i64 0), i64 0)\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %42 = load i64, i64* %10, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = call i64 @FUNC(i64 %43)\n %45 = load i32, i32* %sv_0, align 4\n %46 = inttoptr i64 %43 to i32*\n store i32 %45, i32* %46, align 4\n %47 = add i64 %43, 8\n %48 = inttoptr i64 %47 to i64*\n store i64 %33, i64* %48, align 8\n %49 = load i64, i64* %sv_1, align 8\n %50 = add i64 %43, 16\n %51 = inttoptr i64 %50 to i64*\n store i64 %49, i64* %51, align 8\n %52 = load i64, i64* %sv_1, align 8\n %53 = add i64 %33, 1\n %54 = add i64 %53, %52\n %55 = add i64 %43, 24\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n %57 = load i64, i64* %sv_1, align 8\n %58 = add i64 %33, 21\n %59 = add i64 %58, %57\n store i64 %59, i64* %sv_1, align 8\n %60 = icmp ugt i64 %8, %59\n store i64 %59, i64* %.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %60, label LBL_3, label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %27, { 1, 0 }\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i64 %8, { 3, 0, 2, 1 }\n uselistorder i64 %6, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1, { 1, 2, 3, 4, 5, 6, 0, 7 }\n uselistorder i64 %1, { 0, 2, 1, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 5, 4, 7, 2, 3 }\n uselistorder i64 (i8*, i64)* @tree_error, { 3, 2, 1, 0 }\n uselistorder label LBL_13, { 0, 3, 4, 5, 6, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "getVxCPU_17341", "fun_name": "getVxCPU", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i8*\n %sv_0 = alloca i8*, align 8\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = bitcast i8** %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64* nonnull %1)\n %3 = load i8*, i8** %sv_0, align 8\n %4 = icmp eq i8* %3, null\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load i8, i8* %3, align 1\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i8* %3, i8** %.reg2mem\n br i1 %7, label LBL_15, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0, align 8\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8** %.reg2mem\n br label LBL_15\n LBL_4:\n %11 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8** %sv_0, align 8\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8** %.reg2mem\n br label LBL_15\n LBL_6:\n %14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0))\n %15 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %16 = or i64 %15, %14\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0), i8** %sv_0, align 8\n store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0), i8** %.reg2mem\n br label LBL_15\n LBL_8:\n %19 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0))\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_10, label LBL_9\n LBL_9:\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i8** %sv_0, align 8\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i8** %.reg2mem\n br label LBL_15\n LBL_10:\n %22 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0))\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_12, label LBL_11\n LBL_11:\n store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_11, i64 0, i64 0), i8** %sv_0, align 8\n store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_11, i64 0, i64 0), i8** %.reg2mem\n br label LBL_15\n LBL_12:\n %25 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_12, i64 0, i64 0))\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_14, label LBL_13\n LBL_13:\n store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_13, i64 0, i64 0), i8** %sv_0, align 8\n store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_13, i64 0, i64 0), i8** %.reg2mem\n br label LBL_15\n LBL_14:\n %28 = inttoptr i64 %arg1 to i8*\n store i8* %28, i8** %sv_0, align 8\n store i8* %28, i8** %.reg2mem\n br label LBL_15\n LBL_15:\n %.reload = load i8*, i8** %.reg2mem\n %29 = ptrtoint i8* %.reload to i64\n %30 = call i64 @FUNC(i64 %29)\n ret i64 %30\n\n uselistorder i64 %2, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder i8** %sv_0, { 7, 6, 5, 4, 3, 2, 1, 0, 8 }\n uselistorder i8** %.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i8*)* @scaselessmatch, { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @smatch, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i32 1, { 4, 0, 3, 2, 1, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bnx2x_free_mem_17787", "fun_name": "bnx2x_free_mem", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %1)\n %2 = add i64 %arg1, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n call void @free(i64* %5)\n %6 = add i64 %arg1, 48\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n call void @free(i64* %9)\n %10 = add i64 %arg1, 56\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %11 = mul nuw nsw i64 %indvars.iv.reload, 24\n %12 = add i64 %10, %11\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i64*\n call void @free(i64* %15)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %16 = call i64 @FUNC(i64 %arg1, i64 0)\n %17 = add i64 %arg1, 296\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i64*\n call void @free(i64* %22)\n %23 = add i64 %arg1, 304\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %25 to i64*\n call void @free(i64* %26)\n %27 = add i64 %arg1, 320\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %29 to i64*\n call void @free(i64* %30)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 4, 0, 5, 6, 7, 8 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "smack_inode_setxattr_18237", "fun_name": "smack_inode_setxattr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.3.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %sv_2.0.ph.reg2mem = alloca i1\n %0 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %1 = bitcast i64* %arg2 to i8*\n %2 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i32 %2, 0\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %3, label LBL_10, label LBL_1\n LBL_1:\n %4 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n %5 = icmp eq i32 %4, 0\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %5, label LBL_10, label LBL_2\n LBL_2:\n %6 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %8, label LBL_3, label LBL_10\n LBL_3:\n %9 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0))\n %10 = icmp eq i32 %9, 0\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 1, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %10, label LBL_10, label LBL_4\n LBL_4:\n %11 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0))\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 1, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %13, label LBL_5, label LBL_10\n LBL_5:\n %14 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0))\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_9, label LBL_6\n LBL_6:\n %17 = icmp eq i64 %arg4, 4\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n %19 = bitcast i32* %arg3 to i8*\n %20 = call i32 @strncmp(i8* %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i32 4)\n %21 = icmp eq i32 %20, 0\n store i1 true, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %21, label LBL_10, label LBL_8\n LBL_8:\n store i1 true, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 -22, i32* %sv_0.0.ph.reg2mem\n br label LBL_10\n LBL_9:\n %22 = ptrtoint i64* %arg2 to i64\n %23 = and i64 %arg5, 4294967295\n %24 = ptrtoint i32* %arg3 to i64\n %25 = call i64 @FUNC(i64 %0, i64 %22, i64 %24, i64 %arg4, i64 %23)\n %26 = trunc i64 %25 to i32\n store i32 %26, i32* %sv_0.2.reg2mem\n br label LBL_15\n LBL_10:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_2.0.ph.reload = load i1, i1* %sv_2.0.ph.reg2mem\n %27 = call i64 @FUNC(i64 1)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n %spec.select = select i1 %30, i32 %sv_0.0.ph.reload, i32 -1\n %31 = icmp eq i32 %spec.select, 0\n %32 = icmp eq i1 %31, false\n %or.cond = or i1 %sv_2.0.ph.reload, %32\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %or.cond, label LBL_15, label LBL_11\n LBL_11:\n %33 = ptrtoint i32* %arg3 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %arg4)\n store i64 %34, i64* %sv_3, align 8\n %35 = icmp eq i64 %34, 0\n br i1 %35, label LBL_14, label LBL_12\n LBL_12:\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %36 = icmp eq i32 %sv_1.0.ph.reload, 0\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %36, label LBL_15, label LBL_13\n LBL_13:\n %37 = icmp ne i64 %34, ptrtoint (i64* @gv_7 to i64)\n %38 = icmp eq i64 %34, ptrtoint (i64* @gv_8 to i64)\n %39 = icmp eq i1 %38, false\n %or.cond5 = icmp eq i1 %37, %39\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %or.cond5, label LBL_15, label LBL_14\n LBL_14:\n store i32 -22, i32* %sv_0.2.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %40 = call i64 @FUNC(i64* nonnull %sv_3, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0), i64 1)\n %41 = call i64 @FUNC(i64* nonnull %sv_3, i64 %0)\n %42 = icmp eq i32 %sv_0.2.reload, 0\n %43 = icmp eq i1 %42, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n br i1 %43, label LBL_17, label LBL_16\n LBL_16:\n %44 = ptrtoint i64* %sv_3 to i64\n %45 = call i64 @FUNC(i64 %44)\n %46 = call i64 @FUNC(i64 %45, i64 1, i64* nonnull %sv_3)\n %47 = trunc i64 %46 to i32\n store i32 %47, i32* %sv_0.3.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %48 = zext i32 %sv_0.3.reload to i64\n ret i64 %48\n\n uselistorder i64* %sv_3, { 0, 3, 1, 2, 4 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i1* %sv_2.0.ph.reg2mem, { 0, 1, 2, 6, 7, 3, 4, 5 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 1, 2, 6, 7, 3, 4, 5 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 1, 2, 6, 7, 3, 4, 5 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 4, 2, 3, 5, 1 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i1 false, { 6, 5, 7, 8, 9, 10, 3, 11, 4, 0, 12, 1, 2 }\n uselistorder i32 0, { 11, 12, 13, 14, 6, 0, 7, 15, 16, 4, 17, 5, 18, 1, 8, 19, 2, 9, 20, 3, 10, 21 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg4, { 2, 1, 0 }\n uselistorder i32* %arg3, { 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_15, { 2, 1, 3, 4, 0 }\n uselistorder label LBL_10, { 6, 5, 1, 0, 4, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "add_hfyu_left_prediction_int16_c_2957", "fun_name": "add_hfyu_left_prediction_int16_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg5, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i32 %arg4, -1\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %sv_0.0.lcssa.reg2mem\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = zext i32 %2 to i64\n %5 = ptrtoint i16* %arg2 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge6.reg2mem\n store i64 %1, i64* %sv_0.05.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = mul i64 %.reload, 2\n %7 = add i64 %6, %5\n %8 = inttoptr i64 %7 to i16*\n %9 = load i16, i16* %8, align 2\n %10 = trunc i64 %sv_0.05.reload to i32\n %11 = zext i16 %9 to i32\n %12 = add i32 %11, %10\n %13 = add i64 %6, %0\n %14 = and i32 %12, %arg3\n %15 = trunc i32 %14 to i16\n %16 = inttoptr i64 %13 to i16*\n store i16 %15, i16* %16, align 2\n %17 = or i32 %storemerge6.reload, 1\n %18 = sext i32 %17 to i64\n %19 = mul i64 %18, 2\n %20 = add i64 %19, %5\n %21 = inttoptr i64 %20 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = zext i16 %22 to i32\n %24 = add i32 %12, %23\n %25 = sext i32 %24 to i64\n %26 = add i64 %19, %0\n %27 = and i32 %24, %arg3\n %28 = trunc i32 %27 to i16\n %29 = inttoptr i64 %26 to i16*\n store i16 %28, i16* %29, align 2\n %30 = add i32 %storemerge6.reload, 2\n %31 = sext i32 %30 to i64\n %32 = icmp slt i64 %31, %4\n store i64 %31, i64* %.reg2mem\n store i32 %30, i32* %storemerge6.reg2mem\n store i64 %25, i64* %sv_0.05.reg2mem\n store i64 %25, i64* %sv_0.0.lcssa.reg2mem\n store i32 %30, i32* %storemerge.lcssa.reg2mem\n br i1 %32, label LBL_2, label LBL_3\n LBL_3:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %33 = icmp slt i32 %storemerge.lcssa.reload, %arg4\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %33, label LBL_4, label LBL_6\n LBL_4:\n %34 = ptrtoint i16* %arg2 to i64\n %35 = sext i32 %storemerge.lcssa.reload to i64\n %wide.trip.count = sext i32 %arg4 to i64\n store i64 %35, i64* %indvars.iv.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.13.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %36 = mul i64 %indvars.iv.reload, 2\n %37 = add i64 %36, %34\n %38 = inttoptr i64 %37 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = trunc i64 %sv_0.13.reload to i32\n %41 = zext i16 %39 to i32\n %42 = add i32 %41, %40\n %43 = sext i32 %42 to i64\n %44 = add i64 %36, %0\n %45 = and i32 %42, %arg3\n %46 = trunc i32 %45 to i16\n %47 = inttoptr i64 %44 to i16*\n store i16 %46, i16* %47, align 2\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %43, i64* %sv_0.13.reg2mem\n store i64 %43, i64* %sv_0.1.lcssa.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %48 = and i64 %sv_0.1.lcssa.reload, 4294967295\n ret i64 %48\n\n uselistorder i64 %36, { 1, 0 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %storemerge.lcssa.reload, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32 %storemerge6.reload, { 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_packet_map_3266", "fun_name": "usb_packet_map", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = zext i1 %8 to i32\n %10 = add i64 %5, 168\n %11 = inttoptr i64 %10 to i64*\n %12 = ptrtoint i32* %arg1 to i64\n %13 = add i64 %12, 8\n %14 = and i64 %2, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %15 = mul i64 %.reload, 16\n %16 = add i64 %15, %5\n %17 = add i64 %16, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n store i64 %19, i64* %sv_0, align 8\n %20 = add i64 %16, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = load i64, i64* %11, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %22, i64* nonnull %sv_0, i32 %9)\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_5, label LBL_3\n LBL_3:\n %26 = load i64, i64* %sv_0, align 8\n %27 = call i64 @FUNC(i64 %13, i64 %24, i64 %26)\n %28 = load i64, i64* %18, align 8\n %29 = load i64, i64* %sv_0, align 8\n %30 = icmp eq i64 %28, %29\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_5, label LBL_4\n LBL_4:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %32 = add i32 %storemerge3.reload, 1\n %33 = sext i32 %32 to i64\n %34 = icmp sgt i64 %14, %33\n store i64 %33, i64* %.reg2mem\n store i32 %32, i32* %storemerge3.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %34, label LBL_2, label LBL_6\n LBL_5:\n %35 = call i64 @FUNC(i64 %12, i64 %5)\n store i64 4294967295, i64* %storemerge2.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i6300esb_restart_timer_506", "fun_name": "i6300esb_restart_timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %arg2 to i32\n %8 = add i64 %6, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = icmp sgt i32 %7, 1\n %storemerge2.in.in.v = select i1 %10, i64 16, i64 8\n %storemerge2.in.in = add i64 %storemerge2.in.in.v, %6\n %storemerge2.in = inttoptr i64 %storemerge2.in.in to i64*\n %storemerge2 = load i64, i64* %storemerge2.in, align 8\n %11 = add i64 %6, 24\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 1\n %15 = icmp eq i1 %14, false\n %storemerge.v = select i1 %15, i64 5, i64 15\n %storemerge = shl i64 %storemerge2, %storemerge.v\n %16 = call i64 @FUNC()\n %17 = call i64 @FUNC(i64 %16, i64 %storemerge, i64 33000000)\n %18 = load i32, i32* %9, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %17, i64 %16, i64 %2, i64 %1)\n %21 = call i64 @FUNC(i64 0)\n %22 = add i64 %21, %17\n %23 = add i64 %6, 32\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %22)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %6, { 1, 2, 0, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "putsum_3248", "fun_name": "putsum", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = trunc i64 %arg5 to i32\n %2 = icmp eq i32 %1, 0\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = trunc i64 %0 to i32\n %4 = icmp ult i32 %1, %3\n %5 = icmp eq i1 %4, false\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %sext6 = mul i64 %arg5, 4294967296\n %sext7 = add i64 %sext6, 4294967296\n %6 = ashr exact i64 %sext7, 32\n store i64 %6, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sext4 = mul i64 %arg3, 4294967296\n %7 = ashr exact i64 %sext4, 32\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %8 = add nsw i64 %sv_0.0.reload, 4294967295\n %9 = and i64 %8, 4294967295\n %10 = trunc i64 %7 to i32\n %11 = trunc i64 %8 to i32\n %12 = icmp ult i32 %10, %11\n %13 = icmp eq i1 %12, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = ptrtoint i64* %arg1 to i64\n %sext5 = mul i64 %arg4, 4294967296\n %15 = ashr exact i64 %sext5, 32\n %16 = and i64 %15, 4294967295\n %17 = add i64 %16, %14\n %18 = sub nsw i64 %sv_0.0.reload, %15\n %19 = and i64 %18, 4294967295\n %20 = call i64 @FUNC(i64 %19, i64 %17)\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %21)\n %23 = and i64 %7, 4294967295\n %24 = add i64 %23, %14\n %25 = and i64 %22, 4294967295\n %26 = call i64 @FUNC(i64 %24, i64 %25)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 3, 4, 5, 6, 7, 8, 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i64 32, { 1, 2, 0, 3 }\n uselistorder i64 4294967296, { 1, 2, 4, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_addr_4127", "fun_name": "parse_addr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64* @memset(i64* %arg4, i32 0, i32 16)\n %5 = call i64 @FUNC(i64 %3)\n %6 = trunc i64 %5 to i32\n switch i32 %6, label LBL_4 [\n i32 2, label LBL_2\n i32 10, label LBL_3\n ]\n LBL_2:\n %7 = sub i64 %arg5, %arg2\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %arg2, i64 %8, i64 %2, i64 4294967295, i64* nonnull %sv_0)\n store i64 %9, i64* %storemerge.in.reg2mem\n br label LBL_5\n LBL_3:\n %10 = sub i64 %arg5, %arg2\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %arg2, i64 %11, i64 %2, i64 4294967295, i64* nonnull %sv_0)\n store i64 %12, i64* %storemerge.in.reg2mem\n br label LBL_5\n LBL_4:\n %13 = call i64 @FUNC()\n unreachable\n LBL_5:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %14 = icmp eq i32 %storemerge, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_9, label LBL_6\n LBL_6:\n %15 = load i64, i64* %sv_0, align 8\n %16 = icmp eq i64 %15, %arg2\n %17 = icmp eq i1 %16, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_7, label LBL_9\n LBL_7:\n %18 = icmp eq i64* %arg3, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %18, label LBL_9, label LBL_8\n LBL_8:\n store i64 %15, i64* %arg3, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64* %sv_0, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3, 5 }\n uselistorder i64 1, { 1, 0, 2, 3 }\n uselistorder i64 4294967295, { 2, 1, 3, 0 }\n uselistorder i64 %arg2, { 0, 2, 1, 4, 3 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_9, { 1, 0, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "disas_pc_rel_adr_1534", "fun_name": "disas_pc_rel_adr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %1, i64 31, i64 1)\n %3 = trunc i64 %2 to i32\n %4 = call i64 @FUNC(i64 %1, i64 5, i64 19)\n %5 = mul i64 %4, 4\n %6 = call i64 @FUNC(i64 %1, i64 29, i64 2)\n %7 = and i64 %6, 4294967295\n %8 = or i64 %7, %5\n %9 = call i64 @FUNC(i64 %1, i64 0, i64 5)\n %10 = add nsw i64 %1, -4\n %11 = icmp eq i32 %3, 0\n %12 = and i64 %10, -4096\n %13 = mul i64 %8, 4096\n %sv_0.0 = select i1 %11, i64 %8, i64 %13\n %sv_1.0 = select i1 %11, i64 %10, i64 %12\n %14 = add i64 %sv_0.0, %sv_1.0\n %15 = and i64 %9, 4294967295\n %16 = call i64 @FUNC(i64 %0, i64 %15)\n %17 = call i64 @FUNC(i64 %16, i64 %14)\n ret i64 %17\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2, 3, 4 }\n uselistorder i32 0, { 6, 2, 3, 4, 0, 7, 8, 5, 1, 9, 10 }\n uselistorder i64 (i64, i64, i64)* @extract32, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ti_qspi_dma_xfer_4753", "fun_name": "ti_qspi_dma_xfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %arg4, i64 3, i64 %0)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n store i64 4198783, i64* %4, align 8\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %0, i64* %8, align 8\n %9 = and i64 %0, 4294967295\n %10 = call i64 @FUNC(i64 %7)\n %11 = call i64 @FUNC(i64 %9)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = load i64, i64* %4, align 8\n %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %arg4, i64 3, i64 %0)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %16 = call i64 @FUNC(i64 %0)\n %17 = and i64 %arg4, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = and i64 %18, 4294967295\n %20 = call i64 @FUNC(i64 %7, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp slt i32 %21, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %22, false\n %26 = icmp eq i1 %24, %25\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %0)\n %28 = load i64, i64* %4, align 8\n %29 = call i64 @FUNC(i64 %28, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %19, i64 %arg4, i64 3, i64 %0)\n store i64 4294967186, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64* %4, { 1, 0, 3, 2 }\n uselistorder i64 %0, { 2, 3, 4, 1, 5, 6, 7, 0, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 4294967291, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 2, 1, 0 }\n uselistorder i64 3, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 %arg4, { 2, 3, 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "btrfs_qgroup_rescan_worker_17556", "fun_name": "btrfs_qgroup_rescan_worker", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %r9.2.reg2mem = alloca i64\n %r8.2.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %rcx.114.reg2mem = alloca i64\n %r8.115.reg2mem = alloca i64\n %r9.116.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC()\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 -12, i32* %sv_0.1.reg2mem\n br i1 %4, label LBL_12, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 0)\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 -12, i32* %sv_0.1.reg2mem\n br i1 %6, label LBL_12, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 0)\n %8 = icmp eq i64 %7, 0\n store i64 %5, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 -12, i32* %sv_0.1.reg2mem\n br i1 %8, label LBL_12, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 0, i64 0)\n %10 = icmp eq i64 %9, 0\n store i64 %5, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 -12, i32* %sv_0.1.reg2mem\n br i1 %10, label LBL_12, label LBL_4\n LBL_4:\n %11 = trunc i64 %1 to i32\n %12 = add i64 %2, 96\n %13 = inttoptr i64 %12 to i64*\n %14 = icmp eq i32 %11, 0\n %15 = icmp eq i1 %14, false\n br label LBL_5\n LBL_5:\n %rcx.114.reload = load i64, i64* %rcx.114.reg2mem\n %r8.115.reload = load i64, i64* %r8.115.reg2mem\n %r9.116.reload = load i64, i64* %r9.116.reg2mem\n %16 = load i64, i64* %13, align 8\n %17 = call i64 @FUNC(i64 %16, i64 0)\n %18 = icmp ult i64 %17, -1000\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = trunc i64 %17 to i32\n store i64 %5, i64* %sv_2.0.reg2mem\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 %19, i32* %sv_0.1.reg2mem\n store i64 %rcx.114.reload, i64* %rcx.2.reg2mem\n store i64 %r8.115.reload, i64* %r8.2.reg2mem\n store i64 %r9.116.reload, i64* %r9.2.reg2mem\n br label LBL_12\n LBL_7:\n br i1 %15, label LBL_9, label LBL_8\n LBL_8:\n %20 = load i64, i64* %13, align 8\n %sext4 = mul i64 %17, 4294967296\n %21 = ashr exact i64 %sext4, 32\n %22 = call i64 @FUNC(i64 %21, i64 %20)\n store i64 %5, i64* %sv_2.0.reg2mem\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 -4, i32* %sv_0.1.reg2mem\n store i64 %rcx.114.reload, i64* %rcx.2.reg2mem\n store i64 %r8.115.reload, i64* %r8.2.reg2mem\n store i64 %r9.116.reload, i64* %r9.2.reg2mem\n br label LBL_12\n LBL_9:\n %sext3 = mul i64 %17, 4294967296\n %23 = ashr exact i64 %sext3, 32\n %24 = call i64 @FUNC(i64 %2, i64 %3, i64 %23, i64 %5, i64 %7, i64 %9)\n %25 = trunc i64 %24 to i32\n %26 = icmp slt i32 %25, 1\n %27 = load i64, i64* %13, align 8\n br i1 %26, label LBL_11, label LBL_10\n LBL_10:\n %28 = call i64 @FUNC(i64 %23, i64 %27)\n store i64 %5, i64* %sv_2.0.reg2mem\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 %25, i32* %sv_0.1.reg2mem\n store i64 %5, i64* %rcx.2.reg2mem\n store i64 %7, i64* %r8.2.reg2mem\n store i64 %9, i64* %r9.2.reg2mem\n br label LBL_12\n LBL_11:\n %29 = call i64 @FUNC(i64 %23, i64 %27)\n %30 = icmp eq i32 %25, 0\n store i64 %9, i64* %r9.116.reg2mem\n store i64 %7, i64* %r8.115.reg2mem\n store i64 %5, i64* %rcx.114.reg2mem\n store i64 %5, i64* %sv_2.0.reg2mem\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 %25, i32* %sv_0.1.reg2mem\n store i64 %5, i64* %rcx.2.reg2mem\n store i64 %7, i64* %r8.2.reg2mem\n store i64 %9, i64* %r9.2.reg2mem\n br i1 %30, label LBL_5, label LBL_12\n LBL_12:\n %r9.2.reload = load i64, i64* %r9.2.reg2mem\n %r8.2.reload = load i64, i64* %r8.2.reg2mem\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %31 = call i64 @FUNC(i64 %sv_1.0.reload)\n %32 = call i64 @FUNC(i64 %sv_2.0.reload)\n %33 = call i64 @FUNC(i64 %3)\n %34 = add i64 %2, 8\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %2, 4\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = and i32 %38, -2\n store i32 %39, i32* %37, align 4\n %40 = icmp eq i32 %sv_0.1.reload, 2\n %41 = icmp eq i1 %40, false\n %42 = and i32 %38, 2\n %43 = icmp eq i32 %42, 0\n %or.cond = or i1 %41, %43\n br i1 %or.cond, label LBL_14, label LBL_13\n LBL_13:\n %44 = and i32 %38, -4\n store i32 %44, i32* %37, align 4\n br label LBL_16\n LBL_14:\n %45 = icmp slt i32 %sv_0.1.reload, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_16, label LBL_15\n LBL_15:\n %47 = or i32 %39, 2\n store i32 %47, i32* %37, align 4\n br label LBL_16\n LBL_16:\n %48 = call i64 @FUNC(i64 %34)\n %49 = icmp slt i32 %sv_0.1.reload, 0\n br i1 %49, label LBL_18, label LBL_17\n LBL_17:\n %50 = select i1 %41, i64* @gv_0, i64* bitcast ([30 x i8]* @gv_1 to i64*)\n %51 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64* %50, i64 %rcx.2.reload, i64 %r8.2.reload, i64 %r9.2.reload)\n br label LBL_19\n LBL_18:\n %52 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i32 %sv_0.1.reload, i64 %rcx.2.reload, i64 %r8.2.reload, i64 %r9.2.reload)\n br label LBL_19\n LBL_19:\n %53 = add i64 %2, 48\n %54 = call i64 @FUNC(i64 %53)\n ret i64 %54\n\n uselistorder i1 %41, { 1, 0 }\n uselistorder i32* %37, { 1, 0, 2, 3 }\n uselistorder i32 %sv_0.1.reload, { 2, 3, 1, 0 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i32 %25, { 0, 2, 1, 3 }\n uselistorder i64 %23, { 1, 0, 2 }\n uselistorder i64* %13, { 1, 0, 2 }\n uselistorder i64 %9, { 0, 2, 6, 1, 3, 7, 4, 5, 8 }\n uselistorder i64 %7, { 0, 2, 1, 3, 4 }\n uselistorder i64 %5, { 0, 2, 8, 1, 3, 9, 4, 5, 6, 7, 10 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %2, { 3, 4, 2, 6, 5, 0, 1 }\n uselistorder i64* %r9.116.reg2mem, { 1, 0 }\n uselistorder i64* %r8.115.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.114.reg2mem, { 1, 0 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder i32 -4, { 1, 0 }\n uselistorder i64 (i64, i64)* @btrfs_end_transaction, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 0, { 4, 5, 0, 7, 6, 1, 2, 3 }\n uselistorder i64 (i64)* @ulist_alloc, { 1, 0 }\n uselistorder label LBL_12, { 0, 1, 2, 7, 3, 4, 5, 6 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lg2ff_init_5633", "fun_name": "lg2ff_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %5 = add i64 %0, -8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0, i64 7)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_7\n LBL_3:\n %11 = call i64 @FUNC(i64 8, i64 0)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_7\n LBL_4:\n %14 = inttoptr i64 %7 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = sext i32 %15 to i64\n %17 = call i64 @FUNC(i64 0, i64 %16)\n %18 = call i64 @FUNC(i64 %7, i64 %11, i64 4198979)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %11)\n %22 = and i64 %18, 4294967295\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %23 = inttoptr i64 %11 to i64*\n store i64 %8, i64* %23, align 8\n %24 = inttoptr i64 %8 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %25 to i32*\n store i32 243, i32* %26, align 4\n %27 = load i64, i64* %24, align 8\n %28 = add i64 %27, 4\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = load i64, i64* %24, align 8\n %31 = add i64 %30, 8\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %33 = load i64, i64* %24, align 8\n %34 = add i64 %33, 12\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = load i64, i64* %24, align 8\n %37 = add i64 %36, 16\n %38 = inttoptr i64 %37 to i32*\n store i32 0, i32* %38, align 4\n %39 = load i64, i64* %24, align 8\n %40 = add i64 %39, 20\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n %42 = load i64, i64* %24, align 8\n %43 = add i64 %42, 24\n %44 = inttoptr i64 %43 to i32*\n store i32 0, i32* %44, align 4\n %45 = call i64 @FUNC(i64 %0, i64 %8, i64 0)\n %46 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([97 x i8], [97 x i8]* @gv_1, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 1, 3, 4, 0, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_7, { 2, 3, 0, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_timestamp_to_str_789", "fun_name": "mxf_timestamp_to_str", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = udiv i64 %arg1, 1099511627776\n %1 = urem i64 %0, 256\n %2 = add nuw nsw i64 %1, 4294967295\n %3 = udiv i64 %arg1, 4294967296\n %4 = urem i64 %3, 256\n %5 = udiv i64 %arg1, 16777216\n %6 = urem i64 %5, 256\n %7 = udiv i64 %arg1, 65536\n %8 = urem i64 %7, 256\n %9 = udiv i64 %arg1, 256\n %10 = urem i64 %9, 256\n %11 = and i64 %2, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64 0, i64 11)\n %13 = call i64 @FUNC(i64 %4, i64 1, i64 31)\n %14 = call i64 @FUNC(i64 %6, i64 0, i64 23)\n %15 = call i64 @FUNC(i64 %8, i64 0, i64 59)\n %16 = call i64 @FUNC(i64 %10, i64 0, i64 59)\n %17 = call i64 @FUNC(i64 32)\n %sext = mul i64 %17, 4294967296\n %18 = ashr exact i64 %sext, 32\n store i64 %18, i64* %arg2, align 8\n ret i64 12\n\n uselistorder i64 32, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64)* @av_clip, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967296, { 0, 3, 1, 2 }\n uselistorder i64 256, { 1, 0, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hdlr_dump_5516", "fun_name": "hdlr_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi.reg2mem = alloca %_IO_FILE*\n %.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n store i8* null, i8** %.reg2mem\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = inttoptr i64 %6 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = sext i8 %9 to i64\n %11 = and i64 %10, 4294967295\n %12 = call i32 @strlen(i8* %8)\n %13 = sext i32 %12 to i64\n %14 = add nsw i64 %13, -1\n %15 = icmp eq i64 %11, %14\n %16 = icmp eq i1 %15, false\n %.pre = load i64, i64* %5, align 8\n br i1 %16, label LBL_1.LBL_4_crit_edge, label LBL_3\n LBL_2:\n %phitmp = inttoptr i64 %.pre to i8*\n store i8* %phitmp, i8** %.reg2mem\n br label LBL_4\n LBL_3:\n %17 = add i64 %.pre, 1\n %18 = and i64 %1, 4294967295\n %19 = call i64 @FUNC(i64 %18)\n %20 = inttoptr i64 %arg2 to %_IO_FILE*\n %21 = inttoptr i64 %19 to i8*\n %22 = inttoptr i64 %17 to i8*\n %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %20, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8* %21, i8* %22)\n store %_IO_FILE* %20, %_IO_FILE** %.pre-phi.reg2mem\n br label LBL_5\n LBL_4:\n %.reload = load i8*, i8** %.reg2mem\n %24 = and i64 %1, 4294967295\n %25 = call i64 @FUNC(i64 %24)\n %26 = inttoptr i64 %arg2 to %_IO_FILE*\n %27 = inttoptr i64 %25 to i8*\n %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8* %27, i8* %.reload)\n store %_IO_FILE* %26, %_IO_FILE** %.pre-phi.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi.reload = load %_IO_FILE*, %_IO_FILE** %.pre-phi.reg2mem\n %29 = add i64 %2, 16\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %31 to i64\n %33 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %.pre-phi.reload, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %32)\n %34 = add i64 %2, 20\n %35 = call i64 @FUNC(i64 %arg2, i64 %34, i64 12)\n %36 = call i32 @fputc(i32 34, %_IO_FILE* %.pre-phi.reload)\n %37 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_3 to i64*), i32 1, i32 2, %_IO_FILE* %.pre-phi.reload)\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %arg2)\n ret i64 0\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i8** %.reg2mem, { 0, 2, 1 }\n uselistorder %_IO_FILE** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 3, 2, 5, 4, 1 }\n uselistorder i64 (i64)* @gf_4cc_to_str, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4294967295, { 0, 1, 3, 2 }\n uselistorder i64 %arg2, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_write_hdlr_tag_2022", "fun_name": "mov_write_hdlr_tag", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n %5 = trunc i64 %1 to i32\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %6 = icmp eq i32 %5, 1\n %7 = icmp eq i1 %6, false\n %8 = select i1 %7, i8* bitcast (i64* @gv_3 to i8*), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)\n %9 = add i64 %arg2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 1\n %15 = icmp eq i1 %14, false\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i8* %8, i8** %sv_0.0.reg2mem\n br i1 %15, label LBL_2, label LBL_6\n LBL_2:\n %16 = icmp eq i32 %13, 2\n %17 = icmp eq i1 %16, false\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i8* %8, i8** %sv_0.0.reg2mem\n br i1 %17, label LBL_3, label LBL_6\n LBL_3:\n %18 = icmp eq i32 %13, 3\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = add i64 %arg2, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 1954034535\n %24 = icmp eq i1 %23, false\n %.5 = select i1 %24, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0)\n store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_11, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* %.5, i8** %sv_1.0.reg2mem\n store i8* %8, i8** %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %25 = add i64 %11, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 1920233504\n %29 = icmp eq i1 %28, false\n %. = select i1 %29, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_12, i64 0, i64 0)\n %.6 = select i1 %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_13, i64 0, i64 0)\n %.7 = select i1 %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8* %8\n store i8* %., i8** %sv_2.0.reg2mem\n store i8* %.6, i8** %sv_1.0.reg2mem\n store i8* %.7, i8** %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %30 = call i64 @FUNC(i64 %arg1, i64 0)\n %31 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_14, i64 0, i64 0))\n %32 = call i64 @FUNC(i64 %arg1, i64 0)\n %33 = ptrtoint i8* %sv_0.0.reload to i64\n %34 = call i64 @FUNC(i64 %arg1, i64 %33, i64 4)\n %35 = call i64 @FUNC(i64 %arg1, i8* %sv_1.0.reload)\n %36 = call i64 @FUNC(i64 %arg1, i64 0)\n %37 = call i64 @FUNC(i64 %arg1, i64 0)\n %38 = call i64 @FUNC(i64 %arg1, i64 0)\n %.not = icmp ne i1 %3, true\n %39 = icmp eq i32 %5, 1\n %40 = icmp eq i1 %39, false\n %or.cond = icmp eq i1 %40, %.not\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %41 = call i32 @strlen(i8* %sv_2.0.reload)\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %arg1, i64 %42)\n br label LBL_8\n LBL_8:\n %44 = call i32 @strlen(i8* %sv_2.0.reload)\n %45 = zext i32 %44 to i64\n %46 = ptrtoint i8* %sv_2.0.reload to i64\n %47 = call i64 @FUNC(i64 %arg1, i64 %46, i64 %45)\n %or.cond9 = or i1 %3, %39\n br i1 %or.cond9, label LBL_10, label LBL_9\n LBL_9:\n %48 = call i64 @FUNC(i64 %arg1, i64 0)\n br label LBL_10\n LBL_10:\n %49 = call i64 @FUNC(i64 %arg1, i64 %2)\n ret i64 %49\n\n uselistorder i8* %sv_2.0.reload, { 1, 2, 0 }\n uselistorder i8* %8, { 3, 2, 0, 1 }\n uselistorder i1 %3, { 1, 0, 2 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 1, 5, 2, 3, 4 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 1, 5, 2, 3, 4 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 1, 5, 2, 3, 4 }\n uselistorder i64 (i64, i64)* @avio_w8, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @avio_write, { 1, 0 }\n uselistorder i64 (i64, i8*)* @ffio_wfourcc, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_wb32, { 4, 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder i32 1, { 8, 9, 10, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder i64 %arg1, { 1, 0, 2, 3, 7, 6, 5, 4, 11, 10, 9, 8, 12 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 0, 4, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "http_return_srv_error_9574", "fun_name": "http_return_srv_error", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2, i64 503)\n %7 = ptrtoint i32* %arg2 to i64\n %8 = call i64 @FUNC(i64 %2, i64 %7, i64 100, i64 200, i64 503, i64 %6)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %9 = and i32 %3, 2\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %2, i64 503)\n %12 = ptrtoint i32* %arg2 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12, i64 100, i64 201, i64 503, i64 %11)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_4:\n %14 = and i32 %3, 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 %2, i64 503)\n %17 = ptrtoint i32* %arg2 to i64\n %18 = call i64 @FUNC(i64 %2, i64 %17, i64 101, i64 200, i64 503, i64 %16)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %19 = and i32 %3, 8\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC(i64 %2, i64 503)\n %22 = ptrtoint i32* %arg2 to i64\n %23 = call i64 @FUNC(i64 %2, i64 %22, i64 102, i64 200, i64 503, i64 %21)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n %24 = and i32 %3, 16\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_10, label LBL_9\n LBL_9:\n %26 = call i64 @FUNC(i64 %2, i64 503)\n %27 = ptrtoint i32* %arg2 to i64\n %28 = call i64 @FUNC(i64 %2, i64 %27, i64 101, i64 201, i64 503, i64 %26)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %29 = and i32 %3, 32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_12, label LBL_11\n LBL_11:\n %31 = call i64 @FUNC(i64 %2, i64 503)\n %32 = ptrtoint i32* %arg2 to i64\n %33 = call i64 @FUNC(i64 %2, i64 %32, i64 102, i64 201, i64 503, i64 %31)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %34 = call i64 @FUNC(i64 %2, i64 500)\n %35 = ptrtoint i32* %arg2 to i64\n %36 = call i64 @FUNC(i64 %2, i64 %35, i64 103, i64 201, i64 500, i64 %34)\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %3, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 11, 10, 12, 13, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @http_server_error, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @error_message, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32* %arg2, { 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_check_interrupts_15713", "fun_name": "gen_check_interrupts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %6 = call i64 @FUNC()\n %7 = load i64, i64* @gv_0, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC()\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @gen_helper_check_interrupts, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ofpact_finish_8436", "fun_name": "ofpact_finish", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = icmp eq i64* %arg2, %arg1\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %1)\n %6 = sub i64 %5, %0\n %.off = add i64 %6, -1\n %7 = icmp ult i64 %.off, 65535\n %storemerge = zext i1 %7 to i64\n %8 = call i64 @FUNC(i64 %storemerge)\n store i64 %6, i64* %arg2, align 8\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %11, 7\n %13 = and i64 %12, -8\n %14 = call i64 @FUNC(i64 %1, i64 %13)\n ret i64 %1\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %1, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @ovs_assert, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsiSetupStack_9932", "fun_name": "jsiSetupStack", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i32 %2, 10\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n br label LBL_3\n LBL_2:\n %6 = bitcast i64* %arg1 to i32*\n store i32 20, i32* %6, align 4\n br label LBL_3\n LBL_3:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = load i64, i64* @gv_0, align 8\n %9 = call i64 @FUNC(i64 %7, i32 %2, i64 %8, i32 %2)\n store i64 %9, i64* @gv_0, align 8\n %10 = load i64, i64* @gv_1, align 8\n %11 = call i64 @FUNC(i64 %7, i32 %2, i64 %10, i32 %2)\n store i64 %11, i64* @gv_1, align 8\n ret i64 %11\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i32 %2, { 4, 0, 3, 1, 5, 2 }\n uselistorder i64 (i64, i32, i64, i32)* @jsi_ValuesAlloc, { 1, 0 }\n uselistorder i64* %arg1, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "swf_write_trailer_17626", "fun_name": "swf_write_trailer", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = add i64 %arg1, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n store i64 0, i64* %sv_0.13.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %11 = mul i64 %.reload, 8\n %12 = add i64 %11, %9\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 1\n %20 = icmp eq i1 %19, false\n %spec.select = select i1 %20, i64 %sv_0.13.reload, i64 %16\n %21 = add i32 %storemerge4.reload, 1\n %22 = sext i32 %21 to i64\n %23 = icmp sgt i64 %10, %22\n store i64 %22, i64* %.reg2mem\n store i32 %21, i32* %storemerge4.reg2mem\n store i64 %spec.select, i64* %sv_0.13.reg2mem\n store i64 %spec.select, i64* %sv_0.1.lcssa.reg2mem\n br i1 %23, label LBL_2, label LBL_3\n LBL_3:\n %24 = add i64 %arg1, 24\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %25 = call i64 @FUNC(i64 %arg1, i64 0)\n %26 = call i64 @FUNC(i64 %arg1)\n %27 = call i64 @FUNC(i64 %24)\n %28 = call i64 @FUNC(i64 %24)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n %32 = icmp eq i64 %sv_0.1.lcssa.reload, 0\n %or.cond = or i1 %32, %31\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %33 = inttoptr i64 %4 to i32*\n %34 = call i64 @FUNC(i64 %24)\n %35 = call i64 @FUNC(i64 %24, i64 4, i64 0)\n %36 = and i64 %34, 4294967295\n %37 = call i64 @FUNC(i64 %24, i64 %36)\n %38 = load i32, i32* %33, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %24, i64 %39, i64 0)\n %41 = add i64 %sv_0.1.lcssa.reload, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %24, i64 %44)\n br label LBL_5\n LBL_5:\n %46 = add i64 %4, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48)\n ret i64 0\n\n uselistorder i64 %24, { 2, 3, 6, 5, 4, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @url_fseek, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gf_dom_event_remove_all_listeners_6468", "fun_name": "gf_dom_event_remove_all_listeners", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %rdi.0.be.reg2mem = alloca i64\n %rdi.01.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %0, i64* %rdi.01.reg2mem\n store i64 %1, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %rdi.01.reload = load i64, i64* %rdi.01.reg2mem\n %5 = call i64 @FUNC(i64 %rdi.01.reload, i64 0)\n %6 = call i64 @FUNC(i64 0, i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 0, i64 0)\n store i64 0, i64* %rdi.0.be.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.be.reload = load i64, i64* %rdi.0.be.reg2mem\n %10 = call i64 @FUNC(i64 %rdi.0.be.reload)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %rdi.0.be.reload, i64* %rdi.01.reg2mem\n store i64 %10, i64* %.lcssa.reg2mem\n br i1 %13, label LBL_1, label LBL_5\n LBL_4:\n %14 = call i64 @FUNC(i64 %5, i64 %0)\n store i64 %5, i64* %rdi.0.be.reg2mem\n br label LBL_3\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %rdi.0.be.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.0.be.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i64 (i64)* @gf_list_count, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_str_2435", "fun_name": "get_str", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = call i64 @FUNC(i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = trunc i64 %2 to i32\n %7 = icmp eq i32 %6, 0\n %or.cond = or i1 %7, %5\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %2, 4294967295\n %9 = and i64 %3, 4294967295\n %10 = call i64 @FUNC(i64 %9, i64 %8)\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %1, i64 %0, i64 %11)\n br label LBL_2\n LBL_2:\n %13 = icmp ugt i32 %4, %6\n store i32 %4, i32* %sv_0.03.reg2mem\n store i32 %4, i32* %sv_0.0.lcssa.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %14 = call i64 @FUNC(i64 %1)\n %15 = add i32 %sv_0.03.reload, -1\n %16 = icmp ugt i32 %15, %6\n store i32 %15, i32* %sv_0.03.reg2mem\n store i32 %6, i32* %sv_0.0.lcssa.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_4:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n br i1 %7, label LBL_6, label LBL_5\n LBL_5:\n %17 = add nsw i64 %2, 4294967295\n %18 = and i64 %17, 4294967295\n %19 = zext i32 %sv_0.0.lcssa.reload to i64\n %20 = call i64 @FUNC(i64 %19, i64 %18)\n %21 = and i64 %20, 4294967295\n %22 = add i64 %21, %0\n %23 = inttoptr i64 %22 to i8*\n store i8 0, i8* %23, align 1\n br label LBL_6\n LBL_6:\n %24 = icmp eq i32 %sv_0.0.lcssa.reload, %6\n %25 = icmp eq i1 %24, false\n %. = select i1 %25, i64 0, i64 4294967295\n ret i64 %.\n\n uselistorder i1 %7, { 1, 0 }\n uselistorder i32 %6, { 2, 0, 3, 1, 4 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @FFMIN, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d_hash_and_lookup_9828", "fun_name": "d_hash_and_lookup", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = call i64 @FUNC(i64 %1, i64 %0, i32 %4)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = bitcast i64* %rdi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = urem i32 %10, 2\n %12 = icmp eq i32 %11, 0\n %13 = trunc i64 %1 to i32\n %14 = icmp sgt i32 %13, -1\n %or.cond = or i1 %14, %12\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %1, 4294967296\n %15 = ashr exact i64 %sext, 32\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %16 = call i64 @FUNC(i64 %1, i64 %0)\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 2, 0, 1, 3 }\n uselistorder i64 %0, { 0, 1, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ima_lsm_rule_init_11291", "fun_name": "ima_lsm_rule_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = sext i32 %arg3 to i64\n %2 = mul i64 %1, 16\n %3 = add i64 %2, %0\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = inttoptr i64 %3 to i32*\n store i32 %arg4, i32* %8, align 4\n %9 = zext i32 %arg4 to i64\n %10 = call i64 @FUNC(i64 %9, i64 0, i64 %arg2, i64 %4)\n %11 = and i64 %10, 4294967295\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mvhd_Size_9145", "fun_name": "mvhd_Size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32\n %0 = icmp eq i64 %arg1, -1\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i8*\n store i8 0, i8* %3, align 1\n store i32 16, i32* %.reg2mem\n br label LBL_3\n LBL_2:\n %4 = icmp ult i64 %arg1, 4294967296\n %5 = icmp ne i1 %4, true\n %6 = zext i1 %5 to i8\n %7 = add i64 %arg1, 8\n %8 = inttoptr i64 %7 to i8*\n store i8 %6, i8* %8, align 1\n %phitmp = icmp eq i1 %5, false\n %phitmp2 = select i1 %phitmp, i32 16, i32 28\n store i32 %phitmp2, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %9 = add i64 %arg1, 12\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i32 %11, 80\n %13 = add i32 %12, %.reload\n store i32 %13, i32* %10, align 4\n ret i64 0\n\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32 16, { 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 1, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "InsertStdSamplerOffset_9504", "fun_name": "InsertStdSamplerOffset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %.pre-phi13.reg2mem = alloca i16\n %.reg2mem26 = alloca i64*\n %.reg2mem24 = alloca i64\n %.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = and i64 %arg2, 4294967295\n %sext = mul i64 %arg2, 281474976710656\n %4 = ashr exact i64 %sext, 48\n %5 = load i64, i64* %arg1, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %.reg2mem24\n store i64* %arg1, i64** %.reg2mem26\n br i1 %7, label LBL_1, label LBL_5\n LBL_1:\n %8 = trunc i64 %4 to i16\n %9 = inttoptr i64 %5 to i16*\n %10 = load i16, i16* %9, align 2\n %11 = icmp eq i16 %10, %8\n %12 = icmp eq i1 %11, false\n store i64* %arg1, i64** %.lcssa.reg2mem\n store i64 %5, i64* %.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_2:\n %13 = inttoptr i64 %21 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = icmp eq i16 %14, %8\n %16 = icmp eq i1 %15, false\n store i64* %20, i64** %.lcssa.reg2mem\n store i64 %21, i64* %.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem\n %17 = urem i64 %4, 65536\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %.pre = load i64, i64* %.lcssa.reload, align 8\n store i64 %.pre, i64* %.reg2mem24\n store i64* %.lcssa.reload, i64** %.reg2mem26\n br label LBL_5\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %19 = add i64 %.reload, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %21, i64* %.reg2mem24\n store i64* %20, i64** %.reg2mem26\n br i1 %23, label LBL_2, label LBL_5\n LBL_5:\n %sext4 = mul i64 %arg3, 281474976710656\n %24 = ashr exact i64 %sext4, 48\n %sext5 = mul i64 %arg4, 281474976710656\n %25 = ashr exact i64 %sext5, 48\n %.reload27 = load i64*, i64** %.reg2mem26\n %.reload25 = load i64, i64* %.reg2mem24\n %26 = icmp eq i64 %.reload25, 0\n %27 = icmp eq i1 %26, false\n %.pre11 = urem i64 %4, 65536\n br i1 %27, label LBL_5.LBL_10_crit_edge, label LBL_7\n LBL_6:\n %.pre12 = trunc i64 %25 to i16\n store i16 %.pre12, i16* %.pre-phi13.reg2mem\n store i64 %arg3, i64* %rdx.0.reg2mem\n br label LBL_10\n LBL_7:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i64 %.pre11, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %29 = call i64* @calloc(i32 1, i32 24)\n %30 = ptrtoint i64* %29 to i64\n store i64 %30, i64* %.reload27, align 8\n %31 = icmp eq i64* %29, null\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %33 = call i32* @__errno_location()\n %34 = load i32, i32* %33, align 4\n %35 = call i8* @strerror(i32 %34)\n %36 = ptrtoint i8* %35 to i64\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_3, i64 0, i64 0), i64 67, i64 %36, i64 %2, i64 %1)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %38 = urem i64 %25, 65536\n %39 = urem i64 %24, 65536\n %40 = trunc i64 %25 to i16\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_4, i64 0, i64 0), i64 %39, i16 %40, i64 %3, i64 %2, i64 %1)\n store i16 %40, i16* %.pre-phi13.reg2mem\n store i64 %38, i64* %rdx.0.reg2mem\n br label LBL_10\n LBL_10:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %.pre-phi13.reload = load i16, i16* %.pre-phi13.reg2mem\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_5, i64 0, i64 0), i64 %.pre11, i64 %rdx.0.reload, i64 %3, i64 %2, i64 %1)\n %43 = load i64, i64* %.reload27, align 8\n %44 = add i64 %43, 12\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %47, i64 1)\n %49 = load i64, i64* %.reload27, align 8\n %50 = trunc i64 %4 to i16\n %51 = inttoptr i64 %49 to i16*\n store i16 %50, i16* %51, align 2\n %52 = load i64, i64* %.reload27, align 8\n %53 = add i64 %52, 2\n %54 = inttoptr i64 %53 to i16*\n store i16 0, i16* %54, align 2\n %55 = load i64, i64* %.reload27, align 8\n %56 = add i64 %55, 4\n %57 = inttoptr i64 %56 to i16*\n store i16 0, i16* %57, align 2\n %58 = load i64, i64* %.reload27, align 8\n %59 = add i64 %58, 6\n %60 = inttoptr i64 %59 to i16*\n store i16 0, i16* %60, align 2\n %61 = load i64, i64* %.reload27, align 8\n %62 = trunc i64 %24 to i16\n %63 = add i64 %61, 8\n %64 = inttoptr i64 %63 to i16*\n store i16 %62, i16* %64, align 2\n %65 = load i64, i64* %.reload27, align 8\n %66 = add i64 %65, 10\n %67 = inttoptr i64 %66 to i16*\n store i16 %.pre-phi13.reload, i16* %67, align 2\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.pre11, { 1, 0 }\n uselistorder i64* %.reload27, { 7, 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 %25, { 2, 0, 1 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %21, { 0, 3, 2, 1 }\n uselistorder i64* %20, { 0, 2, 1 }\n uselistorder i16 %8, { 1, 0 }\n uselistorder i64 %5, { 1, 2, 0, 3 }\n uselistorder i64 %4, { 2, 0, 1, 3 }\n uselistorder i64 %3, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 4, 0, 1, 3, 2 }\n uselistorder i64 %1, { 4, 0, 1, 3, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem24, { 0, 1, 3, 2 }\n uselistorder i64** %.reg2mem26, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dbg_printf, { 2, 0, 1 }\n uselistorder i1 false, { 3, 4, 5, 2, 0, 1 }\n uselistorder i64 %arg3, { 2, 0, 1, 3 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_create_2407", "fun_name": "cpu_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)\n %3 = load i64, i64* %sv_0, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n ret i64 %1\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i32 1, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xmlInitializeDict_6042", "fun_name": "xmlInitializeDict", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = call i64 @FUNC()\n store i64 %2, i64* @gv_1, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n store i32 1, i32* @gv_0, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 1, { 2, 0, 1 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_audio_filters_4610", "fun_name": "init_audio_filters", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64* %arg6, i64* %arg7, i64 %arg8, i64 %arg9) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %r9 = alloca i64, align 8\n %r8 = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64* @malloc(i32 28)\n %4 = ptrtoint i64* %3 to i64\n %5 = call i64* @memset(i64* %3, i32 0, i32 28)\n store i64 %4, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %6 = trunc i64 %arg2 to i32\n %7 = inttoptr i64 %sv_0.0.reload to i32*\n store i32 %6, i32* %7, align 4\n %8 = trunc i64 %arg3 to i32\n %9 = add i64 %sv_0.0.reload, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = trunc i64 %arg4 to i32\n %12 = add i64 %sv_0.0.reload, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %sv_0.0.reload)\n %15 = bitcast i64* %r8 to i32*\n %16 = load i32, i32* %15, align 8\n %17 = add i64 %sv_0.0.reload, 12\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = bitcast i64* %r9 to i32*\n %20 = load i32, i32* %19, align 8\n %21 = add i64 %sv_0.0.reload, 16\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = bitcast i64* %arg7 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %sv_0.0.reload, 20\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = call i64 @FUNC(i64 %17)\n %28 = load i32, i32* %26, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = load i32, i32* %22, align 4\n %32 = zext i32 %31 to i64\n %33 = load i32, i32* %18, align 4\n %34 = zext i32 %33 to i64\n %35 = load i32, i32* %13, align 4\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = load i32, i32* %10, align 4\n %39 = load i32, i32* %7, align 4\n %40 = zext i32 %38 to i64\n %41 = zext i32 %39 to i64\n %42 = call i64 @FUNC(i64 1, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %41, i64 %40, i64 %37, i64 %34, i64 %32, i64 %30)\n %43 = call i64 @FUNC(i64 %sv_0.0.reload)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %arg1, align 8\n %46 = inttoptr i64 %sv_0.0.reload to i64*\n call void @free(i64* %46)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_4:\n %sext = mul i64 %arg8, 4294967296\n %47 = ashr exact i64 %sext, 32\n %sext6 = mul i64 %arg9, 4294967296\n %48 = ashr exact i64 %sext6, 32\n %49 = load i32, i32* %18, align 4\n %50 = bitcast i64* %arg5 to i32*\n store i32 %49, i32* %50, align 4\n %51 = load i32, i32* %22, align 4\n %52 = bitcast i64* %arg6 to i32*\n store i32 %51, i32* %52, align 4\n %53 = load i32, i32* %26, align 4\n store i32 %53, i32* %23, align 4\n %54 = or i64 %48, %47\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n br i1 %56, label LBL_8, label LBL_5\n LBL_5:\n %57 = trunc i64 %48 to i32\n %58 = trunc i64 %47 to i32\n %59 = icmp slt i32 %57, %58\n %spec.select = select i1 %59, i64 %47, i64 %48\n %60 = trunc i64 %spec.select to i32\n %61 = icmp sgt i32 %60, 8191\n %sv_1.1 = select i1 %61, i64 %spec.select, i64 8192\n %62 = add i64 %0, 24\n %63 = inttoptr i64 %62 to i64*\n store i64 %sv_1.1, i64* %63, align 8\n %64 = add i64 %0, 8\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = add i64 %0, 16\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = icmp eq i64 %66, %69\n store i64 %sv_1.1, i64* %.reg2mem\n br i1 %70, label LBL_7, label LBL_6\n LBL_6:\n %71 = inttoptr i64 %66 to i64*\n call void @free(i64* %71)\n %.pre = load i64, i64* %63, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %72 = trunc i64 %.reload to i32\n %73 = call i64* @memalign(i32 16, i32 %72)\n %74 = ptrtoint i64* %73 to i64\n store i64 %74, i64* %65, align 8\n %75 = load i64, i64* %63, align 8\n %76 = trunc i64 %75 to i32\n %77 = call i64* @memset(i64* %73, i32 0, i32 %76)\n %78 = add i64 %0, 32\n %79 = inttoptr i64 %78 to i64*\n store i64 0, i64* %79, align 8\n br label LBL_8\n LBL_8:\n store i64 %sv_0.0.reload, i64* %arg1, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %63, { 1, 0, 2 }\n uselistorder i64 %48, { 1, 2, 0 }\n uselistorder i64 %47, { 1, 2, 0 }\n uselistorder i64 %sv_0.0.reload, { 8, 9, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 3, 2, 4, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 (i64)* @af_fmt2str_short, { 1, 0 }\n uselistorder i64 (i64)* @af_fix_parameters, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 0, { 1, 0, 3, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cardos_have_2048bit_package_19102", "fun_name": "cardos_have_2048bit_package", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_5 to i64\n store i64 0, i64* %sv_4, align 8\n store i64 0, i64* %sv_3, align 8\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2, i64 0, i64 202, i64 1, i64 136)\n store i64 %1, i64* %sv_2, align 8\n %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2)\n %4 = trunc i64 %3 to i32\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n store i64 ptrtoint ([21 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n store i64 256, i64* %sv_1.04.reg2mem\n store i64 %1, i64* %sv_0.03.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %8 = call i64 @FUNC(i64 %rdi.0.reload, i64 %sv_0.03.reload, i64 %sv_1.04.reload, i64 225, i64* nonnull %sv_4)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_7\n LBL_4:\n %11 = load i64, i64* %sv_4, align 8\n %12 = call i64 @FUNC(i64 %rdi.0.reload, i64 %8, i64 %11, i64 1, i64* nonnull %sv_3)\n %13 = icmp ne i64 %12, 0\n %14 = load i64, i64* %sv_3, align 8\n %15 = icmp eq i64 %14, 4\n %or.cond = icmp eq i1 %13, %15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_7\n LBL_5:\n %16 = inttoptr i64 %12 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, 28\n %19 = icmp eq i1 %18, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_7\n LBL_6:\n %20 = load i64, i64* %sv_4, align 8\n %21 = add i64 %20, %8\n %22 = add i64 %sv_1.04.reload, -2\n %23 = sub i64 %22, %20\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %sv_1.04.reg2mem\n store i64 %21, i64* %sv_0.03.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_3, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rdi.0.reload, { 1, 0 }\n uselistorder i64* %sv_4, { 1, 2, 0, 3 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64*)* @sc_asn1_find_tag, { 1, 0 }\n uselistorder [21 x i8]* @gv_0, { 1, 0 }\n uselistorder i1 false, { 2, 0, 1, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "printbuf_extend_7326", "fun_name": "printbuf_extend", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = icmp sgt i64 %1, %5\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_7\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = icmp slt i32 %7, 2147483640\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_7\n LBL_2:\n %9 = icmp slt i32 %4, 1073741824\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = add i32 %7, 8\n store i32 %10, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n %11 = mul i32 %4, 2\n %12 = add nsw i64 %1, 7\n %13 = and i64 %12, 4294967295\n %14 = sext i32 %11 to i64\n %15 = icmp slt i64 %13, %14\n %16 = add i32 %7, 8\n %spec.select = select i1 %15, i32 %11, i32 %16\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %17 = call i64* @realloc(i64* %arg1, i32 %sv_0.0.reload)\n %18 = icmp eq i64* %17, null\n %19 = icmp eq i1 %18, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_7\n LBL_6:\n %20 = ptrtoint i64* %17 to i64\n store i32 %sv_0.0.reload, i32* %3, align 4\n store i64 %20, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %17, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fw_cfg_mem_class_init_2340", "fun_name": "fw_cfg_mem_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198694, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198701, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n store i32 1, i32* %4, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "on_vcpu_3491", "fun_name": "on_vcpu", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, %arg1\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n ret i64 %arg3\n LBL_2:\n call void @abort()\n unreachable\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "name_parse_13557", "fun_name": "name_parse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa10.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %.in72.reg2mem = alloca i8\n %.reg2mem95 = alloca i32\n %sv_0.02073.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %sv_1.019.lcssa.reg2mem = alloca i32\n %sv_0.020.lcssa.reg2mem = alloca i64\n %.lcssa56.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i64\n %sv_2.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %sv_3.0.ph.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = trunc i64 %1 to i32\n %sext5 = mul i64 %arg5, 4294967296\n %6 = ashr exact i64 %sext5, 32\n %7 = add i64 %6, %2\n %8 = trunc i64 %4 to i32\n store i32 -1, i32* %sv_3.0.ph.reg2mem\n store i32 %5, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_2.0.ph.reg2mem\n store i64 %2, i64* %sv_0.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem\n %9 = add i32 %sv_1.0.ph.reload, 1\n %10 = sext i32 %sv_1.0.ph.reload to i64\n %11 = add i64 %10, %3\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 0\n store i64 %sv_0.0.ph.reload, i64* %sv_0.0.lcssa.reg2mem\n store i32 %9, i32* %.lcssa10.reg2mem\n br i1 %14, label LBL_13, label LBL_2\n LBL_2:\n %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem\n %15 = sext i8 %13 to i32\n %16 = and i32 %15, 192\n %17 = icmp eq i32 %16, 0\n store i32 %9, i32* %.lcssa56.reg2mem\n store i64 %sv_0.0.ph.reload, i64* %sv_0.020.lcssa.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.019.lcssa.reg2mem\n store i32 %15, i32* %.lcssa.reg2mem\n store i32 %15, i32* %.reg2mem\n store i64 %sv_0.0.ph.reload, i64* %sv_0.02073.reg2mem\n store i32 %9, i32* %.reg2mem95\n store i8 %13, i8* %.in72.reg2mem\n br i1 %17, label LBL_6, label LBL_4\n LBL_3:\n %18 = sext i8 %56 to i32\n %19 = and i32 %18, 192\n %20 = icmp eq i32 %19, 0\n store i32 %52, i32* %.lcssa56.reg2mem\n store i64 %42, i64* %sv_0.020.lcssa.reg2mem\n store i32 %44, i32* %sv_1.019.lcssa.reg2mem\n store i32 %18, i32* %.lcssa.reg2mem\n store i32 %18, i32* %.reg2mem\n store i64 %42, i64* %sv_0.02073.reg2mem\n store i32 %52, i32* %.reg2mem95\n store i8 %56, i8* %.in72.reg2mem\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.lcssa56.reload = load i32, i32* %.lcssa56.reg2mem\n %21 = sext i32 %.lcssa56.reload to i64\n %22 = add i64 %21, %3\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = zext i8 %24 to i32\n %26 = mul i32 %.lcssa.reload, 256\n %27 = and i32 %26, 16128\n %28 = or i32 %27, %25\n %29 = icmp slt i32 %28, %8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_5, label LBL_15\n LBL_5:\n %sv_1.019.lcssa.reload = load i32, i32* %sv_1.019.lcssa.reg2mem\n %sv_0.020.lcssa.reload = load i64, i64* %sv_0.020.lcssa.reg2mem\n %30 = icmp slt i32 %sv_3.0.ph.reload, 0\n %31 = icmp eq i1 %30, false\n %32 = add i32 %sv_1.019.lcssa.reload, 2\n %spec.select = select i1 %31, i32 %sv_3.0.ph.reload, i32 %32\n %33 = add i32 %sv_2.0.ph.reload, 1\n %34 = icmp sgt i32 %33, %8\n store i32 %spec.select, i32* %sv_3.0.ph.reg2mem\n store i32 %28, i32* %sv_1.0.ph.reg2mem\n store i32 %33, i32* %sv_2.0.ph.reg2mem\n store i64 %sv_0.020.lcssa.reload, i64* %sv_0.0.ph.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_15, label LBL_1\n LBL_6:\n %.in72.reload = load i8, i8* %.in72.reg2mem\n %35 = icmp ult i8 %.in72.reload, 64\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %35, label LBL_7, label LBL_15\n LBL_7:\n %.reload96 = load i32, i32* %.reg2mem95\n %sv_0.02073.reload = load i64, i64* %sv_0.02073.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %36 = icmp eq i64 %sv_0.02073.reload, %2\n store i64 %2, i64* %sv_0.1.reg2mem\n br i1 %36, label LBL_10, label LBL_8\n LBL_8:\n %37 = add i64 %sv_0.02073.reload, 1\n %38 = icmp ugt i64 %7, %37\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %38, label LBL_9, label LBL_15\n LBL_9:\n %39 = inttoptr i64 %sv_0.02073.reload to i8*\n store i8 46, i8* %39, align 1\n store i64 %37, i64* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %40 = urem i32 %.reload, 256\n %41 = zext i32 %40 to i64\n %42 = add i64 %sv_0.1.reload, %41\n %43 = icmp ugt i64 %7, %42\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %43, label LBL_11, label LBL_15\n LBL_11:\n %44 = add i32 %40, %.reload96\n %45 = zext i32 %44 to i64\n %46 = icmp slt i64 %4, %45\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %46, label LBL_15, label LBL_12\n LBL_12:\n %47 = sext i32 %.reload96 to i64\n %48 = add i64 %47, %3\n %49 = inttoptr i64 %sv_0.1.reload to i64*\n %50 = inttoptr i64 %48 to i64*\n %51 = call i64* @memcpy(i64* %49, i64* %50, i32 %40)\n %52 = add i32 %44, 1\n %53 = sext i32 %44 to i64\n %54 = add i64 %53, %3\n %55 = inttoptr i64 %54 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = icmp eq i8 %56, 0\n store i64 %42, i64* %sv_0.0.lcssa.reg2mem\n store i32 %52, i32* %.lcssa10.reg2mem\n br i1 %57, label LBL_13, label LBL_3\n LBL_13:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %58 = icmp ult i64 %sv_0.0.lcssa.reload, %7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %58, label LBL_14, label LBL_15\n LBL_14:\n %.lcssa10.reload = load i32, i32* %.lcssa10.reg2mem\n %59 = inttoptr i64 %sv_0.0.lcssa.reload to i8*\n store i8 0, i8* %59, align 1\n %60 = icmp slt i32 %sv_3.0.ph.reload, 0\n %61 = icmp eq i1 %60, false\n %sv_3.0. = select i1 %61, i32 %sv_3.0.ph.reload, i32 %.lcssa10.reload\n store i32 %sv_3.0., i32* %arg3, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i8 %56, { 2, 1, 0 }\n uselistorder i32 %52, { 0, 2, 1 }\n uselistorder i32 %44, { 1, 2, 3, 0 }\n uselistorder i64 %42, { 0, 3, 2, 1 }\n uselistorder i32 %40, { 1, 2, 0 }\n uselistorder i32 %.reload96, { 1, 0 }\n uselistorder i32 %9, { 1, 2, 0 }\n uselistorder i32 %sv_3.0.ph.reload, { 2, 3, 0, 1 }\n uselistorder i32 %sv_1.0.ph.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.0.ph.reload, { 1, 2, 0 }\n uselistorder i64 %7, { 2, 1, 0 }\n uselistorder i64 %2, { 0, 3, 1, 2 }\n uselistorder i32* %sv_3.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.02073.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem95, { 0, 2, 1 }\n uselistorder i8* %.in72.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.lcssa10.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 3, 4, 5, 6, 1, 2 }\n uselistorder i64 4294967295, { 6, 2, 3, 4, 5, 0, 1 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i32 192, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder label LBL_15, { 7, 6, 2, 3, 4, 5, 0, 1 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_attr_u32_9965", "fun_name": "crypto_attr_u32", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i16* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = trunc i64 %1 to i16\n %5 = urem i64 %1, 65536\n %6 = add nsw i64 %5, -4\n %7 = icmp ult i64 %6, 3\n %8 = icmp eq i16 %4, 7\n %9 = or i1 %8, %7\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = ptrtoint i16* %arg1 to i64\n %11 = add i64 %10, 2\n %12 = inttoptr i64 %11 to i16*\n %13 = load i16, i16* %12, align 2\n %14 = icmp eq i16 %13, 1\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_4\n LBL_3:\n %15 = add i64 %10, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = bitcast i64* %arg2 to i32*\n store i32 %17, i32* %18, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfsd4_prepare_cb_recall_4934", "fun_name": "nfsd4_prepare_cb_recall", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* @gv_0, align 4\n %1 = zext i32 %0 to i64\n %2 = call i64 @FUNC(i64 %arg1, i64 %1)\n %3 = add i64 %arg1, 16\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64* nonnull @gv_1)\n %6 = add i64 %arg1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC()\n store i64 %11, i64* %7, align 8\n %12 = add i64 %arg1, 24\n %13 = call i64 @FUNC(i64 %12, i64 %2)\n br label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64* nonnull @gv_1)\n ret i64 %14\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm926_initfn_1595", "fun_name": "arm926_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %2, align 8\n %3 = add i64 %1, 8\n %4 = call i64 @FUNC(i64 %3, i64 1)\n %5 = call i64 @FUNC(i64 %3, i64 2)\n %6 = call i64 @FUNC(i64 %3, i64 3)\n %7 = call i64 @FUNC(i64 %3, i64 4)\n %8 = call i64 @FUNC(i64 %3, i64 5)\n %9 = add i64 %1, 12\n %10 = inttoptr i64 %9 to i32*\n store i32 1090949733, i32* %10, align 4\n %11 = add i64 %1, 16\n %12 = inttoptr i64 %11 to i32*\n store i32 1090588816, i32* %12, align 4\n %13 = add i64 %1, 20\n %14 = inttoptr i64 %13 to i32*\n store i32 31269074, i32* %14, align 4\n %15 = add i64 %1, 24\n %16 = inttoptr i64 %15 to i32*\n store i32 589944, i32* %16, align 4\n ret i64 %1\n\n uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 (i64, i64)* @set_feature, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftrace_location_range_10114", "fun_name": "ftrace_location_range", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n store i64 %arg1, i64* %sv_0, align 8\n %storemerge12 = load i64, i64* @gv_0, align 8\n %0 = icmp eq i64 %storemerge12, 0\n %1 = icmp eq i1 %0, false\n store i64 %storemerge12, i64* %storemerge13.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %2 = inttoptr i64 %storemerge13.reload to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp ugt i64 %5, %arg2\n br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n %7 = add i64 %storemerge13.reload, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = sext i32 %9 to i64\n %11 = mul i64 %10, 16\n %12 = add i64 %3, -16\n %13 = add i64 %12, %11\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %15, 1\n %17 = icmp ugt i64 %16, %arg1\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_3\n LBL_3:\n %19 = call i64* @bsearch(i64* nonnull %sv_0, i64* %4, i32 %9, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198710 to i32 (i64*, i64*)*))\n %20 = icmp eq i64* %19, null\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = load i64, i64* %19, align 8\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %22 = add i64 %storemerge13.reload, 16\n %23 = inttoptr i64 %22 to i64*\n %storemerge1 = load i64, i64* %23, align 8\n %24 = icmp eq i64 %storemerge1, 0\n %25 = icmp eq i1 %24, false\n store i64 %storemerge1, i64* %storemerge13.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %25, label LBL_1, label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_6, { 0, 2, 1 }\n uselistorder label LBL_5, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "del_match_busid_7294", "fun_name": "del_match_busid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %sext = mul i64 %2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = mul nsw i64 %5, 264\n %7 = add nsw i64 %6, 4211044\n %8 = inttoptr i64 %7 to i64*\n %9 = call i64 @FUNC(i64* nonnull %8)\n %10 = add i64 %6, ptrtoint (i32** @gv_1 to i64)\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 8\n %13 = icmp eq i32 %12, 1\n %14 = icmp eq i1 %13, false\n store i32 %12, i32* %.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = add i64 %6, ptrtoint (i64* @gv_2 to i64)\n %16 = inttoptr i64 %15 to i64*\n %17 = call i64* @memset(i64* %16, i32 0, i32 256)\n %.pre = load i32, i32* %11, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %.off = add i32 %.reload, -1\n %switch = icmp ult i32 %.off, 2\n br i1 %switch, label LBL_5, label LBL_4\n LBL_4:\n store i32 3, i32* %11, align 8\n br label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %7)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %19 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64))\n ret i64 %sv_0.0.reload\n\n uselistorder i32* %11, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i64 (i64*)* @spin_lock, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_change_block_17124", "fun_name": "do_change_block", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %9 = call i64 @FUNC(i64 %5, i64 0)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %5, i64 %arg2, i64 0)\n %13 = call i64 @FUNC(i64 %5, i64 %arg2)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_mq_flush_plug_list_9948", "fun_name": "blk_mq_flush_plug_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_2.12.reg2mem = alloca i64\n %sv_1.13.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_4 to i64\n store i64 %1, i64* %sv_4, align 8\n %2 = ptrtoint i64* %sv_3 to i64\n store i64 %2, i64* %sv_3, align 8\n %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4)\n %4 = call i64 @FUNC(i64 0, i64* nonnull %sv_4, i64 4198897)\n %5 = call i64 @FUNC(i64* nonnull %sv_4)\n %6 = and i64 %5, 4294967295\n %7 = xor i64 %6, 1\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_9\n LBL_1:\n %11 = urem i64 %arg2, 256\n store i32 0, i32* %sv_0.14.reg2mem\n store i64 0, i64* %sv_1.13.reg2mem\n store i64 0, i64* %sv_2.12.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.12.reload = load i64, i64* %sv_2.12.reg2mem\n %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %12 = load i64, i64* %sv_4, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %13, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = zext i1 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %13, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %sv_1.13.reload, %23\n store i64 %sv_2.12.reload, i64* %sv_2.0.reg2mem\n store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br i1 %24, label LBL_6, label LBL_3\n LBL_3:\n %25 = icmp eq i64 %sv_1.13.reload, 0\n store i64 %23, i64* %.reg2mem\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i64 %sv_2.12.reload, i64 %sv_1.13.reload, i64* nonnull %sv_3, i32 %sv_0.14.reload, i64 %11)\n %.pre = load i64, i64* %22, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %27 = load i64, i64* %16, align 8\n store i64 %27, i64* %sv_2.0.reg2mem\n store i64 %.reload, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %28 = add i32 %sv_0.0.reload, 1\n %29 = call i64 @FUNC(i64 %13, i64* nonnull %sv_3)\n %30 = call i64 @FUNC(i64* nonnull %sv_4)\n %31 = and i64 %30, 4294967295\n %32 = xor i64 %31, 1\n %33 = trunc i64 %32 to i8\n %34 = icmp eq i8 %33, 0\n %35 = icmp eq i1 %34, false\n store i32 %28, i32* %sv_0.14.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.12.reg2mem\n br i1 %35, label LBL_2, label LBL_7\n LBL_7:\n %36 = icmp eq i64 %sv_1.0.reload, 0\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %sv_1.0.reload, i64* nonnull %sv_3, i32 %28, i64 %11)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %28, { 1, 0 }\n uselistorder i32 %sv_0.14.reload, { 1, 0 }\n uselistorder i64 %sv_1.13.reload, { 3, 2, 0, 1 }\n uselistorder i64 %sv_2.12.reload, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64* %sv_4, { 1, 4, 0, 2, 3, 5, 6 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder i64 (i64*)* @list_empty, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tee_write_trailer_759", "fun_name": "tee_write_trailer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = and i64 %1, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %8 = load i64, i64* %6, align 8\n %9 = add i64 %8, %indvars.iv.reload\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i32 %sv_0.12.reload, 0\n %14 = icmp eq i1 %13, %12\n %sv_0.0 = select i1 %14, i32 %11, i32 %sv_0.12.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %7\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0, i32* %sv_0.12.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %phitmp = zext i32 %sv_0.0 to i64\n store i64 %phitmp, i64* %sv_0.1.lcssa.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i32 %sv_0.0, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vga_get_resolution_7914", "fun_name": "vga_get_resolution", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n store i32 %6, i32* %sv_0.0.reg2mem\n store i32 %9, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = mul i32 %12, 8\n %14 = add i32 %13, 8\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = mul i32 %20, 128\n %22 = and i32 %21, 256\n %23 = or i32 %22, %17\n %24 = mul i32 %20, 8\n %25 = and i32 %24, 512\n %26 = or i32 %23, %25\n %27 = add i32 %26, 1\n store i32 %14, i32* %sv_0.0.reg2mem\n store i32 %27, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %28 = ptrtoint i64* %arg3 to i64\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %29 = bitcast i64* %arg2 to i32*\n store i32 %sv_0.0.reload, i32* %29, align 4\n %30 = bitcast i64* %arg3 to i32*\n store i32 %storemerge.reload, i32* %30, align 4\n ret i64 %28\n\n uselistorder i64 %2, { 2, 1, 3, 0, 4 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 8, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ndpi_search_oracle_5571", "fun_name": "ndpi_search_oracle", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i16 @ntohs(i16 ptrtoint ([15 x i8]* @gv_0 to i16))\n %4 = load i16, i16* inttoptr (i64 add (i64 ptrtoint ([15 x i8]* @gv_0 to i64), i64 2) to i16*), align 2\n %5 = call i16 @ntohs(i16 %4)\n %6 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0))\n %7 = icmp ne i16 %5, 1521\n %8 = icmp eq i16 %3, 1521\n %9 = icmp eq i1 %8, false\n %or.cond = icmp eq i1 %9, %7\n %.pre = add i64 %0, 16\n %.pre4 = inttoptr i64 %.pre to i64*\n %.pre6 = load i64, i64* %.pre4, align 8\n br i1 %or.cond, label LBL_11, label LBL_1\n LBL_1:\n %10 = icmp ult i64 %.pre6, 3\n store i64 %.pre6, i64* %rax.0.reg2mem\n br i1 %10, label LBL_17, label LBL_2\n LBL_2:\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 7\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_3\n LBL_3:\n %18 = add i64 %13, 1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, -1\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = add i64 %13, 2\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp eq i8 %25, 0\n br i1 %26, label LBL_10, label LBL_5\n LBL_5:\n %27 = icmp ult i64 %.pre6, 232\n br i1 %27, label LBL_11, label LBL_6\n LBL_6:\n %28 = icmp ne i8 %15, 0\n %29 = icmp eq i8 %15, 1\n %30 = icmp eq i1 %29, false\n %or.cond3 = icmp eq i1 %28, %30\n store i64 %.pre6, i64* %rax.0.reg2mem\n br i1 %or.cond3, label LBL_17, label LBL_7\n LBL_7:\n %31 = add i64 %13, 1\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, 0\n store i64 %.pre6, i64* %rax.0.reg2mem\n br i1 %34, label LBL_17, label LBL_8\n LBL_8:\n %35 = add i64 %13, 2\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 %.pre6, i64* %rax.0.reg2mem\n br i1 %39, label LBL_17, label LBL_9\n LBL_9:\n %40 = add i64 %13, 3\n %41 = inttoptr i64 %40 to i8*\n %42 = load i8, i8* %41, align 1\n %43 = icmp eq i8 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %.pre6, i64* %rax.0.reg2mem\n br i1 %44, label LBL_17, label LBL_10\n LBL_10:\n %45 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n %46 = call i64 @FUNC(i64 %1, i64 %0)\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_11:\n %47 = icmp eq i64 %.pre6, 213\n %48 = icmp eq i1 %47, false\n store i64 %.pre6, i64* %rax.0.reg2mem\n br i1 %48, label LBL_17, label LBL_12\n LBL_12:\n %49 = add i64 %0, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = inttoptr i64 %51 to i8*\n %53 = load i8, i8* %52, align 1\n %54 = zext i8 %53 to i64\n %55 = icmp eq i8 %53, 0\n %56 = icmp eq i1 %55, false\n store i64 %54, i64* %rax.0.reg2mem\n br i1 %56, label LBL_17, label LBL_13\n LBL_13:\n %57 = add i64 %51, 1\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = zext i8 %59 to i64\n %61 = icmp eq i8 %59, -43\n %62 = icmp eq i1 %61, false\n store i64 %60, i64* %rax.0.reg2mem\n br i1 %62, label LBL_17, label LBL_14\n LBL_14:\n %63 = add i64 %51, 2\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = zext i8 %65 to i64\n %67 = icmp eq i8 %65, 0\n %68 = icmp eq i1 %67, false\n store i64 %66, i64* %rax.0.reg2mem\n br i1 %68, label LBL_17, label LBL_15\n LBL_15:\n %69 = add i64 %51, 3\n %70 = inttoptr i64 %69 to i8*\n %71 = load i8, i8* %70, align 1\n %72 = zext i8 %71 to i64\n %73 = icmp eq i8 %71, 0\n %74 = icmp eq i1 %73, false\n store i64 %72, i64* %rax.0.reg2mem\n br i1 %74, label LBL_17, label LBL_16\n LBL_16:\n %75 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n %76 = call i64 @FUNC(i64 %1, i64 %0)\n store i64 %76, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %15, { 1, 0, 2 }\n uselistorder i64 %.pre6, { 5, 6, 2, 1, 0, 3, 8, 4, 7 }\n uselistorder i64 %1, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64 %0, { 2, 3, 1, 4, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 8, 9, 10, 11, 12, 6, 3, 2, 1, 4, 5 }\n uselistorder i64 (i64, i64)* @ndpi_int_oracle_add_connection, { 1, 0 }\n uselistorder i64 (i64, i8*)* @NDPI_LOG_INFO, { 1, 0 }\n uselistorder i64 3, { 1, 2, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 0, 9, 10, 1 }\n uselistorder i64 2, { 1, 2, 3, 0 }\n uselistorder i16 (i16)* @ntohs, { 1, 0 }\n uselistorder [15 x i8]* @gv_0, { 2, 0, 1 }\n uselistorder label LBL_17, { 5, 6, 7, 8, 9, 10, 11, 2, 1, 0, 3, 4 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scale_vector_1223", "fun_name": "scale_vector", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv11.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.08.reg2mem = alloca i32\n %indvars.iv15.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp sgt i32 %0, 0\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = ptrtoint i16* %arg1 to i64\n %wide.trip.count17 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv15.reg2mem\n store i32 0, i32* %sv_0.08.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem\n %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem\n %3 = mul i64 %indvars.iv15.reload, 2\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i16*\n %6 = load i16, i16* %5, align 2\n %7 = sub i16 0, %6\n %8 = icmp slt i16 %7, 0\n %9 = icmp eq i1 %8, false\n %.v = select i1 %9, i16 %7, i16 %6\n %10 = zext i16 %.v to i32\n %11 = or i32 %sv_0.08.reload, %10\n %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1\n %exitcond18 = icmp eq i64 %indvars.iv.next16, %wide.trip.count17\n store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem\n store i32 %11, i32* %sv_0.08.reg2mem\n store i32 %11, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond18, label LBL_3, label LBL_2\n LBL_3:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %12 = add i32 %sv_0.0.lcssa.reload, -32767\n %13 = sub i32 32766, %sv_0.0.lcssa.reload\n %14 = and i32 %13, %sv_0.0.lcssa.reload\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i32 %12, 0\n %17 = icmp slt i32 %12, 0\n %18 = icmp eq i1 %17, %15\n %19 = icmp eq i1 %16, false\n %20 = icmp eq i1 %18, %19\n %21 = zext i32 %sv_0.0.lcssa.reload to i64\n %22 = select i1 %20, i64 32767, i64 %21\n %23 = call i64 @FUNC(i64 %22, i64 15)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 15\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_4\n LBL_4:\n br i1 %1, label LBL_5, label LBL_10\n LBL_5:\n %27 = ptrtoint i16* %arg1 to i64\n %wide.trip.count13 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv11.reg2mem\n br label LBL_8\n LBL_6:\n br i1 %1, label LBL_7, label LBL_10\n LBL_7:\n %28 = ptrtoint i16* %arg1 to i64\n %29 = urem i32 %24, 32\n %wide.trip.count = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_8:\n %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem\n %30 = mul i64 %indvars.iv11.reload, 2\n %31 = add i64 %30, %27\n %32 = inttoptr i64 %31 to i16*\n %33 = load i16, i16* %32, align 2\n %34 = sext i16 %33 to i32\n %35 = mul nsw i32 %34, 32767\n %36 = udiv i32 %35, 8\n %37 = trunc i32 %36 to i16\n store i16 %37, i16* %32, align 2\n %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1\n %exitcond14 = icmp eq i64 %indvars.iv.next12, %wide.trip.count13\n store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem\n br i1 %exitcond14, label LBL_10, label LBL_8\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %38 = mul i64 %indvars.iv.reload, 2\n %39 = add i64 %38, %28\n %40 = inttoptr i64 %39 to i16*\n %41 = load i16, i16* %40, align 2\n %42 = sext i16 %41 to i32\n %43 = shl i32 %42, %29\n %44 = udiv i32 %43, 8\n %45 = trunc i32 %44 to i16\n store i16 %45, i16* %40, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %46 = add i64 %23, 4294967293\n %47 = and i64 %46, 4294967295\n ret i64 %47\n\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 3, 2, 0 }\n uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 0, { 5, 6, 7, 1, 0, 4, 8, 9, 10, 2, 3 }\n uselistorder i64 %arg2, { 1, 2, 0, 3 }\n uselistorder i16* %arg1, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_generate_sliding_window_mmcos_2784", "fun_name": "ff_generate_sliding_window_mmcos", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem8 = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %2 = trunc i64 %arg2 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 48\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 %4, i64* %.pre-phi.reg2mem\n store i64 %7, i64* %storemerge4.reg2mem\n br label LBL_3\n LBL_2:\n %8 = ptrtoint i64* %sv_2 to i64\n %.pre7 = ptrtoint i32* %arg1 to i64\n store i64 %.pre7, i64* %.pre-phi.reg2mem\n store i64 %8, i64* %storemerge4.reg2mem\n br label LBL_3\n LBL_3:\n %9 = trunc i64 %1 to i32\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %10 = add i64 %.pre-phi.reload, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i32 %12, %9\n %14 = add i64 %.pre-phi.reload, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp ugt i32 %13, %16\n store i32 %12, i32* %.reg2mem\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %11, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %18 = icmp eq i32 %.reload, 0\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %18, label LBL_12, label LBL_6\n LBL_6:\n %19 = add i32 %.reload, %9\n %20 = load i32, i32* %15, align 4\n %21 = icmp eq i32 %19, %20\n %22 = icmp eq i1 %21, false\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %22, label LBL_12, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %.pre-phi.reload)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_10, label LBL_8\n LBL_8:\n %26 = add i64 %.pre-phi.reload, 56\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n %31 = add i64 %.pre-phi.reload, 24\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = add i64 %33, 4\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %38, label LBL_12, label LBL_10\n LBL_10:\n %39 = inttoptr i64 %storemerge4.reload to i32*\n store i32 1, i32* %39, align 4\n %40 = add i64 %.pre-phi.reload, 16\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = load i32, i32* %11, align 4\n %44 = sext i32 %43 to i64\n %45 = mul i64 %44, 8\n %46 = add i64 %42, -8\n %47 = add i64 %46, %45\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i64 %storemerge4.reload, 4\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n %54 = call i64 @FUNC(i64 %.pre-phi.reload)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n store i32 1, i32* %sv_1.0.reg2mem\n br i1 %56, label LBL_12, label LBL_11\n LBL_11:\n %57 = load i32, i32* %53, align 4\n %58 = mul i32 %57, 2\n store i32 %58, i32* %53, align 4\n %59 = add i64 %storemerge4.reload, 8\n %60 = inttoptr i64 %59 to i32*\n store i32 1, i32* %60, align 4\n %61 = load i32, i32* %53, align 4\n %62 = add i32 %61, 1\n %63 = add i64 %storemerge4.reload, 12\n %64 = inttoptr i64 %63 to i32*\n store i32 %62, i32* %64, align 4\n store i32 2, i32* %sv_1.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %65 = add i64 %.pre-phi.reload, 32\n %66 = inttoptr i64 %65 to i32*\n br i1 %3, label LBL_14, label LBL_13\n LBL_13:\n store i32 %sv_1.0.reload, i32* %66, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_14:\n %67 = load i32, i32* %66, align 4\n %68 = icmp eq i32 %sv_1.0.reload, %67\n %69 = icmp eq i1 %68, false\n store i32 %67, i32* %.reg2mem8\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %69, label LBL_17, label LBL_15\n LBL_15:\n %70 = add i64 %.pre-phi.reload, 48\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = call i64 @FUNC(i64 %72, i64* nonnull %sv_2, i32 %sv_1.0.reload)\n %74 = trunc i64 %73 to i32\n %75 = icmp eq i32 %74, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %75, label LBL_18, label LBL_15.LBL_17_crit_edge\n LBL_16:\n %.pre6 = load i32, i32* %66, align 4\n %phitmp = and i64 %73, 4294967295\n store i32 %.pre6, i32* %.reg2mem8\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.reload9 = load i32, i32* %.reg2mem8\n %76 = add i64 %.pre-phi.reload, 40\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = zext i32 %.reload9 to i64\n %80 = zext i32 %sv_1.0.reload to i64\n %81 = call i64 @FUNC(i64 %78, i64 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_3, i64 0, i64 0), i64 %80, i64 %79, i64 %sv_0.0.reload)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %66, { 0, 2, 1 }\n uselistorder i32 %sv_1.0.reload, { 2, 0, 1, 3 }\n uselistorder i32* %53, { 0, 2, 1, 3 }\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i32* %11, { 1, 0, 2 }\n uselistorder i64 %.pre-phi.reload, { 4, 6, 5, 2, 3, 1, 0, 7, 8, 9 }\n uselistorder i64 %storemerge4.reload, { 3, 2, 1, 0 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @FIELD_PICTURE, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 0, { 3, 4, 0, 5, 6, 7, 1, 2, 8, 9 }\n uselistorder label LBL_18, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_bus_legacy_handle_cmdline_2820", "fun_name": "scsi_bus_legacy_handle_cmdline", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = and i64 %1, 4294967295\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %4 = call i64 @FUNC(i64 1, i64 %3, i32 %storemerge2.reload)\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %2, i64 %4, i32 %storemerge2.reload)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_3, label LBL_4\n LBL_3:\n %10 = add nuw nsw i32 %storemerge2.reload, 1\n %11 = icmp ult i32 %10, 8\n store i32 %10, i32* %storemerge2.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_1, label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %storemerge2.reload, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_mime_header_1447", "fun_name": "decode_mime_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i8\n %4 = udiv i8 %3, 8\n %5 = urem i8 %4, 16\n %6 = zext i8 %5 to i32\n %7 = bitcast i64* %arg1 to i32*\n store i32 %6, i32* %7, align 4\n %8 = and i8 %3, 4\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = zext i1 %10 to i32\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n ret i64 1\n\n uselistorder i8 %3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isdn_net_addphone_3768", "fun_name": "isdn_net_addphone", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n store i64 4294967277, i64* %rax.0.reg2mem\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 32, i64 0)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %6 = add i64 %0, 50\n %7 = call i64 @FUNC(i64 %3, i64 %6, i64 20)\n %8 = add i64 %1, 56\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %0, 72\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = mul i32 %13, 8\n %15 = and i32 %14, 8\n %16 = zext i32 %15 to i64\n %17 = add i64 %10, %16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %3, 24\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = load i64, i64* %9, align 8\n %23 = load i32, i32* %12, align 4\n %24 = mul i32 %23, 8\n %25 = and i32 %24, 8\n %26 = zext i32 %25 to i64\n %27 = add i64 %22, %26\n %28 = inttoptr i64 %27 to i64*\n store i64 %3, i64* %28, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 8, { 2, 0, 3, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "g_try_realloc_641", "fun_name": "g_try_realloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 1, i64 %arg2)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_image_encode_9538", "fun_name": "jas_image_encode", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = zext i32 %arg3 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = inttoptr i64 %1 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %.arg1 = select i1 %6, i64 4294967295, i64 %arg1\n store i64 %.arg1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_read_material_package_2495", "fun_name": "mxf_read_material_package", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i32 %arg3, 17411\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xml_parser_dtor_6085", "fun_name": "xml_parser_dtor", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_6, label LBL_3\n LBL_3:\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %5, i64* %.reg2mem\n store i64 %5, i64* %.lcssa.reg2mem\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %11 = mul i64 %indvars.iv.reload, 8\n %12 = add i64 %11, %.reload\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %16 = load i32, i32* %8, align 4\n %17 = zext i32 %16 to i64\n %18 = icmp ult i64 %indvars.iv.next, %17\n %19 = icmp ult i64 %indvars.iv.next, 100\n %or.cond = icmp eq i1 %19, %18\n %20 = load i64, i64* %4, align 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %20, i64* %.reg2mem\n store i64 %20, i64* %.lcssa.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %21 = call i64 @FUNC(i64 %.lcssa.reload)\n br label LBL_6\n LBL_6:\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %22)\n br label LBL_8\n LBL_8:\n %27 = add i64 %0, 32\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n %31 = call i64 @FUNC(i64 %27)\n br label LBL_10\n LBL_10:\n %32 = add i64 %0, 40\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n br i1 %35, label LBL_12, label LBL_11\n LBL_11:\n %36 = call i64 @FUNC(i64 %32)\n br label LBL_12\n LBL_12:\n %37 = add i64 %0, 48\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n br i1 %40, label LBL_14, label LBL_13\n LBL_13:\n %41 = call i64 @FUNC(i64 %37)\n br label LBL_14\n LBL_14:\n %42 = add i64 %0, 56\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n br i1 %45, label LBL_16, label LBL_15\n LBL_15:\n %46 = call i64 @FUNC(i64 %42)\n br label LBL_16\n LBL_16:\n %47 = add i64 %0, 64\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = icmp eq i64 %49, 0\n br i1 %50, label LBL_18, label LBL_17\n LBL_17:\n %51 = call i64 @FUNC(i64 %47)\n br label LBL_18\n LBL_18:\n %52 = add i64 %0, 72\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = icmp eq i64 %54, 0\n br i1 %55, label LBL_20, label LBL_19\n LBL_19:\n %56 = call i64 @FUNC(i64 %52)\n br label LBL_20\n LBL_20:\n %57 = add i64 %0, 80\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = icmp eq i64 %59, 0\n br i1 %60, label LBL_22, label LBL_21\n LBL_21:\n %61 = call i64 @FUNC(i64 %57)\n br label LBL_22\n LBL_22:\n %62 = add i64 %0, 88\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = icmp eq i64 %64, 0\n br i1 %65, label LBL_24, label LBL_23\n LBL_23:\n %66 = call i64 @FUNC(i64 %62)\n br label LBL_24\n LBL_24:\n %67 = add i64 %0, 96\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = icmp eq i64 %69, 0\n br i1 %70, label LBL_26, label LBL_25\n LBL_25:\n %71 = call i64 @FUNC(i64 %67)\n br label LBL_26\n LBL_26:\n %72 = add i64 %0, 104\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = icmp eq i64 %74, 0\n br i1 %75, label LBL_28, label LBL_27\n LBL_27:\n %76 = call i64 @FUNC(i64 %72)\n br label LBL_28\n LBL_28:\n %77 = add i64 %0, 112\n %78 = inttoptr i64 %77 to i64*\n %79 = load i64, i64* %78, align 8\n %80 = icmp eq i64 %79, 0\n br i1 %80, label LBL_30, label LBL_29\n LBL_29:\n %81 = call i64 @FUNC(i64 %79)\n br label LBL_30\n LBL_30:\n %82 = add i64 %0, 120\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = icmp eq i64 %84, 0\n br i1 %85, label LBL_32, label LBL_31\n LBL_31:\n %86 = call i64 @FUNC(i64 %82)\n br label LBL_32\n LBL_32:\n %87 = call i64 @FUNC(i64 %0)\n ret i64 %87\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i32* %8, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1, 16, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @zval_ptr_dtor, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @efree, { 3, 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__lzma_wrap_alloc_17760", "fun_name": "__lzma_wrap_alloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %arg2.off = add i64 %arg2, -1\n %0 = icmp ult i64 %arg2.off, 1048576\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg2)\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 3, 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_nfs4_proc_open_9815", "fun_name": "_nfs4_proc_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 %3, i64* %sv_0, align 8\n %4 = add i64 %0, 84\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 72\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %0, 76\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 80\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = call i64 @FUNC(i64* nonnull %sv_0)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_1, label LBL_14\n LBL_1:\n %15 = call i64 @FUNC(i64 %12)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n store i32 1, i32* %11, align 4\n %18 = call i64 @FUNC()\n %19 = call i64 @FUNC(i64 %12)\n store i32 %16, i32* %rax.0.shrunk.reg2mem\n br label LBL_14\n LBL_3:\n %20 = load i32, i32* %9, align 4\n %21 = call i64 @FUNC(i64 %12)\n %22 = icmp eq i32 %20, 0\n %23 = icmp eq i1 %22, false\n store i32 %20, i32* %rax.0.shrunk.reg2mem\n br i1 %23, label LBL_14, label LBL_4\n LBL_4:\n %24 = load i32, i32* %7, align 4\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i32 %20, i32* %rax.0.shrunk.reg2mem\n br i1 %26, label LBL_5, label LBL_14\n LBL_5:\n %27 = add i64 %0, 24\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = add i64 %0, 8\n %33 = add i64 %0, 32\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = inttoptr i64 %32 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i64 @FUNC(i64 %0, i64 %37, i64 %27, i64 %35)\n br label LBL_7\n LBL_7:\n %39 = add i64 %0, 16\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = urem i32 %41, 2\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_9, label LBL_8\n LBL_8:\n %44 = add i64 %0, 48\n %45 = call i64 @FUNC(i64 %0, i64 %44)\n %46 = add i64 %0, 40\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %0, i64 %48)\n br label LBL_10\n LBL_9:\n %50 = add i64 %0, 40\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %0, i64 %52)\n br label LBL_10\n LBL_10:\n %54 = add i64 %0, 56\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = urem i32 %56, 2\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_12, label LBL_11\n LBL_11:\n %59 = call i64 @FUNC(i64 %0)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n store i32 %60, i32* %rax.0.shrunk.reg2mem\n br i1 %61, label LBL_12, label LBL_14\n LBL_12:\n %62 = add i64 %0, 32\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = urem i32 %66, 2\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %69, label LBL_14, label LBL_13\n LBL_13:\n %70 = call i64 @FUNC(i64 %1, i64 %27, i64 %64)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %20, { 1, 0, 2 }\n uselistorder i64 %12, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 10, 2, 11, 0, 9, 3, 8, 4, 5, 7, 6, 17, 16, 12, 13, 14, 15, 18 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 4, 6, 5, 1, 7 }\n uselistorder i64 (i64)* @rpc_put_task, { 1, 0 }\n uselistorder i32 0, { 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 2 }\n uselistorder label LBL_14, { 2, 1, 3, 5, 4, 0, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sched_feat_enable_6504", "fun_name": "sched_feat_enable", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 29\n %1 = add i64 %0, ptrtoint (i64* @gv_0 to i64)\n %2 = call i64 @FUNC(i64 %1)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pop_55", "fun_name": "pop", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_2:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n store i64 %6, i64* @gv_0, align 8\n %7 = inttoptr i64 %0 to i64*\n %8 = load i64, i64* %7, align 8\n ret i64 %8\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "security_vm_enough_memory_mm_6599", "fun_name": "security_vm_enough_memory_mm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = zext i1 %1 to i64\n %3 = call i64 @FUNC(i64 %2)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "convert_to_decimal_11410", "fun_name": "convert_to_decimal", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %sv_0.4.reg2mem = alloca i8*\n %sv_0.3.reg2mem = alloca i8*\n %sv_0.2.lcssa.reg2mem = alloca i8*\n %sv_0.110.reg2mem = alloca i8*\n %storemerge12.reg2mem = alloca i64\n %sv_1.0.lcssa.off0.reg2mem = alloca i8\n %sv_1.07.off0.reg2mem = alloca i64\n %sv_2.08.reg2mem = alloca i64\n %storemerge39.reg2mem = alloca i64\n %sv_3.013.reg2mem = alloca i64\n %sv_0.215.reg2mem = alloca i8*\n %sv_0.0.lcssa.reg2mem = alloca i8*\n %sv_4.017.reg2mem = alloca i64\n %sv_0.018.reg2mem = alloca i8*\n %storemerge5.reg2mem = alloca i128\n %1 = load i128, i128* %0\n %2 = icmp slt i64 %arg2, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i128 @FUNC(i128 %1, i128 %1)\n %4 = call i128 @FUNC(i64 %arg2)\n store i128 %4, i128* %storemerge5.reg2mem\n br label LBL_3\n LBL_2:\n %5 = udiv i64 %arg2, 2\n %6 = urem i64 %arg2, 2\n %7 = or i64 %5, %6\n %8 = call i128 @FUNC(i128 %1, i128 %1)\n %9 = call i128 @FUNC(i64 %7)\n %10 = call i128 @FUNC(i128 %9, i128 %9)\n store i128 %10, i128* %storemerge5.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge5.reload = load i128, i128* %storemerge5.reg2mem\n %11 = call i128 @FUNC(i32 1074332382)\n %12 = call i128 @FUNC(i128 %storemerge5.reload, i128 %11)\n %13 = load i32, i32* inttoptr (i64 4202516 to i32*), align 4\n call void @FUNC(i128 %12, i32 %13)\n %14 = call i128 @FUNC(i32 1593835520)\n %15 = call i128 @FUNC(i128 %12, i128 %14)\n %16 = call i64 @FUNC(i128 %15)\n %17 = xor i64 %16, -9223372036854775808\n %phitmp = mul i64 %17, 9\n %phitmp6 = add i64 %phitmp, 9\n %18 = call i64 @FUNC(i64 %phitmp6, i64 %arg3)\n %19 = trunc i64 %18 to i32\n %20 = call i64* @malloc(i32 %19)\n %21 = icmp eq i64* %20, null\n br i1 %21, label LBL_20, label LBL_4\n LBL_4:\n %22 = bitcast i64* %20 to i8*\n %23 = icmp eq i64 %arg3, 0\n %24 = icmp eq i1 %23, false\n store i8* %22, i8** %sv_0.018.reg2mem\n store i64 %arg3, i64* %sv_4.017.reg2mem\n store i8* %22, i8** %sv_0.0.lcssa.reg2mem\n br i1 %24, label LBL_5, label LBL_6\n LBL_5:\n %sv_4.017.reload = load i64, i64* %sv_4.017.reg2mem\n %sv_0.018.reload = load i8*, i8** %sv_0.018.reg2mem\n %25 = ptrtoint i8* %sv_0.018.reload to i64\n %26 = add i64 %25, 1\n %27 = inttoptr i64 %26 to i8*\n store i8 48, i8* %sv_0.018.reload, align 1\n %28 = add i64 %sv_4.017.reload, -1\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i8* %27, i8** %sv_0.018.reg2mem\n store i64 %28, i64* %sv_4.017.reg2mem\n store i8* %27, i8** %sv_0.0.lcssa.reg2mem\n br i1 %30, label LBL_5, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem\n %31 = icmp eq i64 %arg2, 0\n %32 = icmp eq i1 %31, false\n store i8* %sv_0.0.lcssa.reload, i8** %sv_0.215.reg2mem\n store i64 %arg2, i64* %sv_3.013.reg2mem\n store i8* %sv_0.0.lcssa.reload, i8** %sv_0.2.lcssa.reg2mem\n br i1 %32, label LBL_7, label LBL_14\n LBL_7:\n %sv_3.013.reload = load i64, i64* %sv_3.013.reg2mem\n %sv_0.215.reload = load i8*, i8** %sv_0.215.reg2mem\n %33 = mul i64 %sv_3.013.reload, 8\n %34 = icmp eq i64 %sv_3.013.reload, 0\n %35 = icmp eq i1 %34, false\n store i8 0, i8* %sv_1.0.lcssa.off0.reg2mem\n br i1 %35, label LBL_8, label LBL_11\n LBL_8:\n %36 = add i64 %33, %arg1\n store i64 %sv_3.013.reload, i64* %storemerge39.reg2mem\n store i64 %36, i64* %sv_2.08.reg2mem\n store i64 0, i64* %sv_1.07.off0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.07.off0.reload = load i64, i64* %sv_1.07.off0.reg2mem\n %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem\n %storemerge39.reload = load i64, i64* %storemerge39.reg2mem\n %37 = add i64 %sv_2.08.reload, -8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = or i64 %39, %sv_1.07.off0.reload\n %41 = add i64 %storemerge39.reload, -1\n %42 = icmp eq i64 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 %41, i64* %storemerge39.reg2mem\n store i64 %37, i64* %sv_2.08.reg2mem\n store i64 %40, i64* %sv_1.07.off0.reg2mem\n br i1 %43, label LBL_9, label LBL_10\n LBL_10:\n %extract.t = trunc i64 %40 to i8\n store i8 %extract.t, i8* %sv_1.0.lcssa.off0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.0.lcssa.off0.reload = load i8, i8* %sv_1.0.lcssa.off0.reg2mem\n store i64 9, i64* %storemerge12.reg2mem\n store i8* %sv_0.215.reload, i8** %sv_0.110.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.110.reload = load i8*, i8** %sv_0.110.reg2mem\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %44 = add i8 %sv_1.0.lcssa.off0.reload, 48\n %45 = ptrtoint i8* %sv_0.110.reload to i64\n %46 = add i64 %45, 1\n %47 = inttoptr i64 %46 to i8*\n store i8 %44, i8* %sv_0.110.reload, align 1\n %48 = add nsw i64 %storemerge12.reload, -1\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 %48, i64* %storemerge12.reg2mem\n store i8* %47, i8** %sv_0.110.reg2mem\n br i1 %50, label LBL_12, label LBL_13\n LBL_13:\n %51 = add i64 %33, %arg1\n %52 = add i64 %51, -8\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = icmp eq i64 %54, 0\n %56 = sext i1 %55 to i64\n %spec.select = add i64 %sv_3.013.reload, %56\n %57 = icmp eq i64 %spec.select, 0\n %58 = icmp eq i1 %57, false\n store i8* %47, i8** %sv_0.215.reg2mem\n store i64 %spec.select, i64* %sv_3.013.reg2mem\n store i8* %47, i8** %sv_0.2.lcssa.reg2mem\n br i1 %58, label LBL_7, label LBL_14\n LBL_14:\n %sv_0.2.lcssa.reload = load i8*, i8** %sv_0.2.lcssa.reg2mem\n store i8* %sv_0.2.lcssa.reload, i8** %sv_0.3.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.3.reload = load i8*, i8** %sv_0.3.reg2mem\n %59 = bitcast i8* %sv_0.3.reload to i64*\n %60 = icmp ult i64* %20, %59\n br i1 %60, label LBL_16, label LBL_17\n LBL_16:\n %61 = ptrtoint i8* %sv_0.3.reload to i64\n %62 = add i64 %61, -1\n %63 = inttoptr i64 %62 to i8*\n %64 = load i8, i8* %63, align 1\n %65 = icmp eq i8 %64, 48\n store i8* %63, i8** %sv_0.3.reg2mem\n br i1 %65, label LBL_15, label LBL_17\n LBL_17:\n %66 = icmp eq i64* %20, %59\n %67 = icmp eq i1 %66, false\n store i8* %sv_0.3.reload, i8** %sv_0.4.reg2mem\n br i1 %67, label LBL_19, label LBL_18\n LBL_18:\n %68 = ptrtoint i8* %sv_0.3.reload to i64\n %69 = add i64 %68, 1\n %70 = inttoptr i64 %69 to i8*\n store i8 48, i8* %sv_0.3.reload, align 1\n store i8* %70, i8** %sv_0.4.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.4.reload = load i8*, i8** %sv_0.4.reg2mem\n store i8 0, i8* %sv_0.4.reload, align 1\n br label LBL_20\n LBL_20:\n %71 = ptrtoint i64* %20 to i64\n ret i64 %71\n\n uselistorder i8* %sv_0.3.reload, { 3, 4, 0, 1, 2 }\n uselistorder i8* %47, { 0, 2, 1 }\n uselistorder i8* %sv_0.110.reload, { 1, 0 }\n uselistorder i64 %40, { 1, 0 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i64 %sv_3.013.reload, { 2, 0, 1, 3 }\n uselistorder i8* %sv_0.018.reload, { 1, 0 }\n uselistorder i64* %20, { 4, 0, 1, 2, 3 }\n uselistorder i128 %9, { 1, 0 }\n uselistorder i128* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.018.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_4.017.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.215.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_3.013.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge39.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.07.off0.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_1.0.lcssa.off0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.110.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.3.reg2mem, { 2, 0, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 -1, { 3, 2, 1, 0 }\n uselistorder i8 48, { 2, 1, 0, 3 }\n uselistorder i1 false, { 3, 6, 4, 5, 2, 1, 7, 0 }\n uselistorder i64 %arg2, { 0, 3, 2, 1, 4, 5 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_seg_1796", "fun_name": "get_seg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i16\n %5 = bitcast i64* %arg1 to i16*\n store i16 %4, i16* %5, align 2\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = add i64 %2, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %3, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = add i64 %2, 24\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = icmp eq i8 %18, 0\n br i1 %19, label LBL_2, label LBL_1\n LBL_1:\n %20 = add i64 %3, 24\n %21 = inttoptr i64 %20 to i8*\n store i8 0, i8* %21, align 1\n br label LBL_3\n LBL_2:\n %22 = add i64 %2, 25\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = add i64 %2, 26\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = or i8 %27, %24\n %29 = add i64 %2, 27\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = mul i8 %31, 4\n %33 = or i8 %28, %32\n %34 = add i64 %2, 28\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = mul i8 %36, 8\n %38 = or i8 %33, %37\n %39 = add i64 %2, 29\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = mul i8 %41, 4\n %43 = or i8 %38, %42\n %44 = add i64 %2, 30\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = mul i8 %46, 32\n %48 = or i8 %43, %47\n %49 = add i64 %2, 31\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = mul i8 %51, 6\n %53 = or i8 %48, %52\n %54 = add i64 %2, 32\n %55 = inttoptr i64 %54 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = mul i8 %56, 7\n %58 = or i8 %53, %57\n %59 = add i64 %3, 24\n %60 = inttoptr i64 %59 to i8*\n store i8 %58, i8* %60, align 1\n br label LBL_3\n LBL_3:\n ret i64 %3\n\n uselistorder i64 %3, { 0, 2, 1, 3, 4 }\n uselistorder i64 %2, { 7, 6, 4, 5, 2, 3, 1, 0, 8, 9, 10 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_inject_mce_896", "fun_name": "do_inject_mce", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32*\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n %2 = trunc i64 %1 to i32\n %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %4 = trunc i64 %3 to i32\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %sext = mul i64 %5, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0))\n %sext2 = mul i64 %7, 4294967296\n %8 = ashr exact i64 %sext2, 32\n %9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\n %sext3 = mul i64 %9, 4294967296\n %10 = ashr exact i64 %sext3, 32\n %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0))\n %sext4 = mul i64 %11, 4294967296\n %12 = ashr exact i64 %sext4, 32\n %13 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i64 0)\n %14 = load i32*, i32** @gv_7, align 8\n %15 = ptrtoint i32* %14 to i64\n %16 = icmp eq i32* %14, null\n %17 = icmp eq i1 %16, false\n store i32* %14, i32** %storemerge6.reg2mem\n store i64 %15, i64* %rax.1.reg2mem\n br i1 %17, label LBL_1, label LBL_5\n LBL_1:\n %storemerge6.reload = load i32*, i32** %storemerge6.reg2mem\n %18 = load i32, i32* %storemerge6.reload, align 4\n %19 = icmp eq i32 %18, %2\n %20 = icmp eq i1 %19, false\n %.pre = ptrtoint i32* %storemerge6.reload to i64\n br i1 %20, label LBL_4, label LBL_2\n LBL_2:\n %21 = add i64 %.pre, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = call i64 @FUNC(i64 %.pre, i32 %4, i64 %6, i64 %8, i64 %10, i64 %12)\n store i64 %25, i64* %rax.1.reg2mem\n br label LBL_5\n LBL_4:\n %26 = add i64 %.pre, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = inttoptr i64 %28 to i32*\n %30 = icmp eq i64 %28, 0\n %31 = icmp eq i1 %30, false\n store i32* %29, i32** %storemerge6.reg2mem\n store i64 %28, i64* %rax.1.reg2mem\n br i1 %31, label LBL_1, label LBL_5\n LBL_5:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %.pre, { 1, 0, 2 }\n uselistorder i32* %storemerge6.reload, { 1, 0 }\n uselistorder i64 %0, { 4, 3, 2, 1, 0, 5, 6 }\n uselistorder i32** %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @qdict_get_int, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bit_overlay_10019", "fun_name": "bit_overlay", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i32 %arg3, 0\n %1 = icmp slt i32 %arg3, 0\n %2 = icmp eq i1 %1, false\n %3 = icmp eq i1 %0, false\n %4 = icmp eq i1 %2, %3\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 1)\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 1, i64 %6)\n unreachable\n LBL_2:\n %8 = add i32 %arg4, %arg3\n %9 = icmp sgt i32 %8, %arg4\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 2)\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0))\n %12 = call i64 @FUNC(i64 1, i64 %11)\n unreachable\n LBL_4:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = add i32 %arg3, -1\n %15 = zext i32 %14 to i64\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i64 1, i64 %15, i64 0)\n %18 = zext i32 %8 to i64\n %19 = call i64 @FUNC(i64 %16, i64 %18, i64 4294967295, i64 1)\n %20 = call i64 @FUNC(i64 %17, i64 %13)\n %21 = call i64 @FUNC(i64 %20, i64 %19)\n ret i64 %21\n\n uselistorder i64 (i64, i64)* @bit_catenate, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @bitsubstring, { 1, 0 }\n uselistorder i64 (i64, i64)* @ereport, { 1, 0 }\n uselistorder i64 (i8*)* @errmsg, { 1, 0 }\n uselistorder i64 (i64)* @errcode, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 %arg4, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "seq_probe_18360", "fun_name": "seq_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp sgt i32 %3, 255\n store i32 0, i32* %storemerge1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %5 = sext i32 %storemerge1.reload to i64\n %6 = add i64 %5, %0\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = icmp eq i8 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = add nuw i32 %storemerge1.reload, 1\n %11 = icmp ult i32 %10, 256\n store i32 %10, i32* %storemerge1.reg2mem\n store i64 25, i64* %rax.0.reg2mem\n br i1 %11, label LBL_1, label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "opt_preset_431", "fun_name": "opt_preset", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca %_IO_FILE*\n %sv_0.0.reg2mem = alloca %_IO_FILE*\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_5 to i64\n %1 = ptrtoint i64* %sv_4 to i64\n store i64 %arg2, i64* %sv_4, align 8\n %2 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i8* %2, null\n %4 = add i64 %0, -3088\n %5 = bitcast i64* %sv_3 to i8*\n %6 = bitcast i64* %rdi to i8*\n %7 = add i64 %1, -16\n %8 = inttoptr i64 %7 to i64*\n %9 = zext i1 %3 to i64\n store i64 %9, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = icmp eq i64 %indvars.iv.reload, 0\n %. = select i1 %10, i64 ptrtoint (i64* @gv_1 to i64), i64 ptrtoint (i8** @gv_2 to i64)\n %11 = mul i64 %indvars.iv.reload, 8\n %12 = add i64 %4, %11\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = load i64, i64* %sv_4, align 8\n %16 = inttoptr i64 %14 to i8*\n %17 = inttoptr i64 %. to i8*\n %18 = inttoptr i64 %15 to i8*\n %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 1000, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i8* %16, i8* %17, i8* %18)\n %20 = call %_IO_FILE* @fopen(i8* nonnull %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0))\n %21 = icmp eq %_IO_FILE* %20, null\n %22 = icmp eq i1 %21, false\n store %_IO_FILE* %20, %_IO_FILE** %sv_0.0.reg2mem\n br i1 %22, label LBL_8, label LBL_2\n LBL_2:\n %23 = load i8, i8* %6, align 8\n %24 = icmp eq i8 %23, 118\n br i1 %24, label LBL_6, label LBL_3\n LBL_3:\n %25 = icmp eq i8 %23, 97\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_5, label LBL_4\n LBL_4:\n %27 = load i64, i64* bitcast ([2 x i8*]* @gv_5 to i64*), align 8\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %28 = load [4 x i8]*, [4 x i8]** @gv_6, align 8\n %29 = ptrtoint [4 x i8]* %28 to i64\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %30 = load [5 x i8]*, [5 x i8]** @gv_7, align 8\n %31 = ptrtoint [5 x i8]* %30 to i64\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %32 = inttoptr i64 %rax.0.reload to i8*\n %33 = load i64, i64* %13, align 8\n %34 = load i64, i64* %sv_4, align 8\n store i64 %34, i64* %8, align 8\n %35 = inttoptr i64 %33 to i8*\n %36 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 1000, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_8, i64 0, i64 0), i8* %35, i8* %17, i8* %32, i8* %32)\n %37 = call %_IO_FILE* @fopen(i8* nonnull %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0))\n store %_IO_FILE* %37, %_IO_FILE** %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load %_IO_FILE*, %_IO_FILE** %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %38 = icmp ult i64 %indvars.iv.next, 3\n %39 = icmp eq %_IO_FILE* %sv_0.0.reload, null\n %or.cond = icmp eq i1 %38, %39\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_9\n LBL_9:\n %40 = icmp eq i1 %39, false\n store %_IO_FILE* %sv_0.0.reload, %_IO_FILE** %sv_0.2.reg2mem\n br i1 %40, label LBL_12, label LBL_10\n LBL_10:\n %41 = load i64, i64* %sv_4, align 8\n %42 = call i64 @FUNC(i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store %_IO_FILE* %sv_0.0.reload, %_IO_FILE** %sv_0.2.reg2mem\n br i1 %44, label LBL_12, label LBL_11\n LBL_11:\n %45 = load i64, i64* %sv_4, align 8\n %46 = inttoptr i64 %45 to i8*\n %47 = call %_IO_FILE* @fopen(i8* %46, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0))\n store %_IO_FILE* %47, %_IO_FILE** %sv_0.2.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.2.reload = load %_IO_FILE*, %_IO_FILE** %sv_0.2.reg2mem\n %48 = icmp eq %_IO_FILE* %sv_0.2.reload, null\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_13, label LBL_15\n LBL_13:\n %50 = call i32 @feof(%_IO_FILE* %sv_0.2.reload)\n %51 = icmp eq i32 %50, 0\n br i1 %51, label LBL_14, label LBL_27\n LBL_14:\n %52 = bitcast i64* %sv_2 to i8*\n br label LBL_16\n LBL_15:\n %53 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8\n %54 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_10 to i64*), i32 1, i32 22, %_IO_FILE* %53)\n %55 = call i64 @FUNC(i64 1)\n unreachable\n LBL_16:\n %56 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %sv_0.2.reload, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_11, i64 0, i64 0), i64* nonnull %sv_2)\n %57 = add i32 %56, -1\n %58 = load i64, i64* %sv_2, align 8\n %59 = trunc i64 %58 to i8\n %60 = icmp eq i8 %59, 35\n %61 = icmp eq i32 %57, 0\n %62 = icmp eq i1 %61, %60\n br i1 %62, label LBL_21, label LBL_17\n LBL_17:\n %63 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %52, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_12, i64 0, i64 0), i64* nonnull %sv_3, i64* nonnull %sv_1)\n %64 = add i32 %63, -2\n %65 = or i32 %64, %57\n %66 = icmp eq i32 %65, 0\n br i1 %66, label LBL_19, label LBL_18\n LBL_18:\n %67 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8\n %68 = call i32 @fwrite(i64* bitcast ([21 x i8]* @gv_13 to i64*), i32 1, i32 20, %_IO_FILE* %67)\n %69 = call i64 @FUNC(i64 1)\n unreachable\n LBL_19:\n %70 = call i32 @strcmp(i8* nonnull %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0))\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_22, label LBL_20\n LBL_20:\n %73 = call i64 @FUNC(i64* nonnull %sv_1)\n br label LBL_21\n LBL_21:\n %74 = call i32 @feof(%_IO_FILE* %sv_0.2.reload)\n %75 = icmp eq i32 %74, 0\n br i1 %75, label LBL_16, label LBL_27\n LBL_22:\n %76 = call i32 @strcmp(i8* nonnull %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_15, i64 0, i64 0))\n %77 = icmp eq i32 %76, 0\n %78 = icmp eq i1 %77, false\n br i1 %78, label LBL_24, label LBL_23\n LBL_23:\n %79 = call i64 @FUNC(i64* nonnull %sv_1)\n br label LBL_21\n LBL_24:\n %80 = call i32 @strcmp(i8* nonnull %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_16, i64 0, i64 0))\n %81 = icmp eq i32 %80, 0\n %82 = icmp eq i1 %81, false\n br i1 %82, label LBL_26, label LBL_25\n LBL_25:\n %83 = call i64 @FUNC(i64* nonnull %sv_1)\n br label LBL_21\n LBL_26:\n %84 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_1)\n br label LBL_21\n LBL_27:\n %85 = call i32 @fclose(%_IO_FILE* %sv_0.2.reload)\n ret i64 0\n\n uselistorder %_IO_FILE* %sv_0.2.reload, { 2, 1, 3, 4, 0 }\n uselistorder i1 %39, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i8* %5, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder i64* %sv_2, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder %_IO_FILE** %sv_0.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }\n uselistorder i64 (i64)* @av_exit, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder i32 (%_IO_FILE*)* @feof, { 1, 0 }\n uselistorder i32 0, { 6, 7, 10, 8, 9, 1, 0, 11, 2, 3, 4, 5 }\n uselistorder i1 false, { 0, 1, 2, 3, 6, 4, 5 }\n uselistorder %_IO_FILE* (i8*, i8*)* @fopen, { 1, 2, 0 }\n uselistorder label LBL_21, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_option_uid_10034", "fun_name": "get_option_uid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %5 = load i64, i64* %sv_0, align 8\n %6 = call i64 @FUNC()\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %5)\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_4\n LBL_3:\n store i64 %8, i64* %arg2, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_llcp_send_i_frame_4009", "fun_name": "nfc_llcp_send_i_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 19, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_18\n LBL_1:\n %11 = add i64 %4, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_5, label LBL_2\n LBL_2:\n %15 = add i64 %4, 32\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %4, 20\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = sext i32 %19 to i64\n %21 = icmp ult i64 %16, %20\n br i1 %21, label LBL_5, label LBL_3\n LBL_3:\n %22 = add i64 %4, 40\n %23 = call i64 @FUNC(i64 %22)\n %24 = load i32, i32* %18, align 4\n %25 = mul i32 %24, 2\n %26 = sext i32 %25 to i64\n %27 = icmp ult i64 %23, %26\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = call i64 @FUNC(i64 %15)\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %26, i64 %3, i64 %2, i64 %1)\n store i64 105, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_5:\n %30 = load i32, i32* %12, align 4\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_8, label LBL_6\n LBL_6:\n %33 = add i64 %4, 40\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %4, 20\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = mul i32 %37, 2\n %39 = sext i32 %38 to i64\n %40 = icmp ult i64 %34, %39\n br i1 %40, label LBL_8, label LBL_7\n LBL_7:\n %41 = call i64 @FUNC(i64 %33)\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %41, i64 %39, i64 %3, i64 %2, i64 %1)\n store i64 105, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_8:\n %43 = call i64 @FUNC(i64 %arg3, i64 0)\n %44 = icmp eq i64 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 12, i64* %rax.0.reg2mem\n br i1 %45, label LBL_9, label LBL_18\n LBL_9:\n %46 = call i64 @FUNC(i64 %43, i64 0, i64 %arg3)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_10, label LBL_11\n LBL_10:\n %49 = inttoptr i64 %8 to i32*\n %50 = add i64 %4, 24\n %51 = inttoptr i64 %50 to i32*\n %52 = add i64 %4, 40\n store i64 %arg3, i64* %sv_1.0.reg2mem\n store i64 %43, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rcx.0.reg2mem\n br label LBL_12\n LBL_11:\n %53 = call i64 @FUNC(i64 %43)\n store i64 14, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_12:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %54 = load i32, i32* %51, align 4\n %55 = icmp slt i32 %54, 129\n %storemerge.in.in = select i1 %55, i32* %51, i32* %49\n %storemerge.in = load i32, i32* %storemerge.in.in, align 4\n %56 = urem i32 %storemerge.in, 65536\n %57 = zext i32 %56 to i64\n %58 = icmp ugt i64 %sv_1.0.reload, %57\n %59 = select i1 %58, i64 %57, i64 %sv_1.0.reload\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64 %59, i64 %sv_1.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %61 = add nuw nsw i64 %59, 2\n %62 = call i64 @FUNC(i64 %4, i64 1, i64 %61)\n %63 = icmp eq i64 %62, 0\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_14, label LBL_13\n LBL_13:\n %65 = call i64 @FUNC(i64 %43)\n store i64 12, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %66 = trunc i64 %59 to i32\n %67 = call i64 @FUNC(i64 %62, i64 2)\n %68 = icmp eq i32 %66, 0\n %69 = icmp eq i1 %68, false\n %70 = zext i1 %69 to i64\n %71 = call i64 @FUNC(i64 %70)\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 0\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n br i1 %73, label LBL_16, label LBL_15\n LBL_15:\n %74 = call i64 @FUNC(i64 %62, i64 %59)\n %75 = inttoptr i64 %74 to i64*\n %76 = inttoptr i64 %sv_0.0.reload to i64*\n %77 = call i64* @memcpy(i64* %75, i64* %76, i32 %66)\n store i64 %74, i64* %rcx.1.reg2mem\n br label LBL_16\n LBL_16:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %78 = call i64 @FUNC(i64 %52, i64 %62)\n %79 = call i64 @FUNC(i64 %4)\n %80 = call i64 @FUNC(i64 %4)\n %81 = call i64 @FUNC(i64 %4)\n %82 = sub i64 %sv_1.0.reload, %59\n %83 = add i64 %59, %sv_0.0.reload\n %84 = icmp eq i64 %82, 0\n %85 = icmp eq i1 %84, false\n store i64 %82, i64* %sv_1.0.reg2mem\n store i64 %83, i64* %sv_0.0.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.0.reg2mem\n br i1 %85, label LBL_12, label LBL_17\n LBL_17:\n %86 = call i64 @FUNC(i64 %43)\n store i64 %arg3, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %62, { 1, 0, 2, 3 }\n uselistorder i64 %57, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 3, 0, 1, 2 }\n uselistorder i64 %43, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64 %4, { 2, 4, 1, 5, 3, 6, 7, 8, 0, 10, 11, 9, 12 }\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i64 %2, { 3, 1, 0, 2 }\n uselistorder i64 %1, { 3, 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 1, 4, 3, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @skb_put, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 105, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_err, { 1, 0 }\n uselistorder i64 (i64)* @skb_queue_len, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 2, 0, 3, 4, 5, 1 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 1, 0 }\n uselistorder i64 %arg3, { 0, 1, 2, 3, 5, 4 }\n uselistorder label LBL_18, { 2, 3, 4, 0, 5, 6, 1 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_co_drain_bh_cb_3006", "fun_name": "bdrv_co_drain_bh_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i8*\n store i8 1, i8* %10, align 1\n %11 = call i64 @FUNC(i64 %3)\n ret i64 %11\n\n uselistorder i64 %0, { 2, 1, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pure_strcmp_12541", "fun_name": "pure_strcmp", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = sext i32 %1 to i64\n %3 = add nsw i64 %2, 1\n %4 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %3)\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sco_conn_ready_10886", "fun_name": "sco_conn_ready", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64* %arg1)\n %2 = icmp eq i64* %arg1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %7 = call i64 @FUNC(i64 %0)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %15 = call i64 @FUNC(i64 %11)\n %16 = call i64 @FUNC(i64 %11)\n %17 = call i64 @FUNC(i64 %16, i64 0, i64 1, i64 0)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %11)\n %21 = call i64 @FUNC(i64 %0)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %22 = call i64 @FUNC(i64 %17, i64 %11)\n %23 = load i64, i64* %9, align 8\n %24 = call i64 @FUNC(i64 %17)\n %25 = call i64 @FUNC(i64 %24, i64 %23)\n %26 = load i64, i64* %9, align 8\n %27 = add i64 %26, 8\n %28 = call i64 @FUNC(i64 %17)\n %29 = add i64 %28, 8\n %30 = call i64 @FUNC(i64 %29, i64 %27)\n %31 = load i64, i64* %9, align 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = call i64 @FUNC(i64 %0, i64 %17, i64 %11)\n %34 = call i64 @FUNC(i64 %11)\n %35 = call i64 @FUNC(i64 0, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = inttoptr i64 %17 to i32*\n %. = select i1 %37, i32 2, i32 3\n store i32 %., i32* %38, align 4\n %39 = call i64 @FUNC(i64 %11)\n %40 = call i64 @FUNC(i64 %0)\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 %11, { 0, 2, 1, 3, 4, 6, 5, 7 }\n uselistorder i64* %9, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 5, 6, 4, 3, 8, 7, 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @bacpy, { 1, 0 }\n uselistorder i64 (i64)* @sco_pi, { 1, 0 }\n uselistorder i64 (i64)* @sco_conn_unlock, { 2, 1, 0 }\n uselistorder i64 (i64)* @bh_unlock_sock, { 2, 1, 0 }\n uselistorder i64 (i64)* @bh_lock_sock, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 13, 11, 0, 10, 9, 8, 7, 12, 6, 5, 4, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_init_drive_566", "fun_name": "add_init_drive", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "re_yylex_init_extra_6637", "fun_name": "re_yylex_init_extra", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i32* @__errno_location()\n store i32 22, i32* %4, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %5 = ptrtoint i64* %sv_0 to i64\n %6 = call i64 @FUNC(i64 0, i64* nonnull %sv_0)\n store i64 %6, i64* %arg2, align 8\n %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %8 = call i64 @FUNC(i64 %5)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64*)* @re_yyset_extra, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "visit_type_int16_14320", "fun_name": "visit_type_int16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = icmp eq i64* %arg4, null\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = trunc i64 %1 to i16\n %10 = ptrtoint i16* %arg2 to i64\n store i16 %9, i16* %arg2, align 2\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i16* %arg2, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "send_guest_vcpu_virq_7168", "fun_name": "send_guest_vcpu_virq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = zext i1 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %1, i64 %2)\n %10 = add i64 %1, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = mul i64 %arg2, 4\n %14 = and i64 %13, 17179869180\n %15 = add i64 %12, %14\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_2, label LBL_1\n LBL_1:\n %21 = add i64 %1, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = zext i32 %17 to i64\n %25 = call i64 @FUNC(i64 %23, i64 %24)\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %1, 16\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %23, i64 %30, i64 %25)\n %32 = call i64 @FUNC(i64 %25)\n br label LBL_2\n LBL_2:\n %33 = call i64 @FUNC(i64 %1, i64 %2)\n ret i64 %33\n\n uselistorder i64 %1, { 2, 0, 1, 3, 4 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cifs_write_allocate_pages_9390", "fun_name": "cifs_write_allocate_pages", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.02.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %storemerge16.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n store i64 0, i64* %storemerge16.reg2mem\n store i64 0, i64* %sv_0.02.reg2mem\n br i1 %0, label LBL_5, label LBL_1\n LBL_1:\n %storemerge16.reload = load i64, i64* %storemerge16.reg2mem\n %1 = mul i64 %storemerge16.reload, 8\n %2 = add i64 %1, %arg1\n %3 = call i64 @FUNC(i64 1)\n %4 = inttoptr i64 %2 to i64*\n store i64 %3, i64* %4, align 8\n %5 = icmp eq i64 %3, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = icmp eq i64 %storemerge16.reload, 0\n store i64 0, i64* %storemerge5.reg2mem\n store i64 4294967284, i64* %sv_0.02.reg2mem\n br i1 %7, label LBL_5, label LBL_4\n LBL_3:\n %8 = add nuw i64 %storemerge16.reload, 1\n %9 = icmp ult i64 %8, %arg2\n store i64 %8, i64* %storemerge16.reg2mem\n store i64 0, i64* %sv_0.02.reg2mem\n br i1 %9, label LBL_1, label LBL_5\n LBL_4:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %10 = mul i64 %storemerge5.reload, 8\n %11 = add i64 %10, %arg1\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = add nuw i64 %storemerge5.reload, 1\n %exitcond = icmp eq i64 %15, %storemerge16.reload\n store i64 %15, i64* %storemerge5.reg2mem\n store i64 4294967284, i64* %sv_0.02.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n ret i64 %sv_0.02.reload\n\n uselistorder i64 %storemerge16.reload, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__put_task_struct_13247", "fun_name": "__put_task_struct", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %arg1, 4\n %7 = call i64 @FUNC(i64 %6)\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = load i64, i64* @gv_0, align 8\n %11 = icmp eq i64 %10, %arg1\n %12 = zext i1 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %arg1)\n %15 = call i64 @FUNC(i64 %arg1)\n %16 = call i64 @FUNC(i64 %arg1)\n %17 = call i64 @FUNC(i64 %arg1)\n %18 = call i64 @FUNC(i64 %arg1)\n %19 = add i64 %arg1, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i64 %arg1)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %26, label LBL_2, label LBL_1\n LBL_1:\n %27 = call i64 @FUNC(i64 %arg1)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @WARN_ON, { 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 3, 4, 5, 6, 7, 8, 1, 9 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nbd_client_put_4996", "fun_name": "nbd_client_put", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = bitcast i64* %rdi to i32*\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, -1\n %5 = inttoptr i64 %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = load i32, i32* %2, align 8\n %7 = zext i32 %6 to i64\n %8 = icmp eq i32 %6, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_8, label LBL_1\n LBL_1:\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %15 = add i64 %arg1, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %arg1, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = load i64, i64* %16, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %arg1, 24\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i64 @FUNC(i64 %27)\n br label LBL_5\n LBL_5:\n %30 = add i64 %arg1, 32\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %arg1, 40\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp eq i64 %36, 0\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = call i64 @FUNC(i64 %36)\n br label LBL_7\n LBL_7:\n %39 = call i64 @FUNC(i64 %arg1)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i64 (i64)* @object_unref, { 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 3, 5, 4, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mqtt_conn_del_6259", "fun_name": "mqtt_conn_del", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 16\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i64 %2)\n %9 = trunc i64 %1 to i32\n %10 = call i32 @close(i32 %9)\n %11 = call i64 @FUNC(i64 %2)\n %12 = call i64 @FUNC(i64 %arg1)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ogg_read_header_2592", "fun_name": "ogg_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %3 = add i64 %1, 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %3, i64 4096)\n %6 = add i64 %1, 8\n %7 = call i64 @FUNC(i64 %6, i64 %5, i64 4096)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp slt i32 %8, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp eq i1 %9, false\n %13 = icmp eq i1 %11, %12\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_6\n LBL_1:\n %14 = call i64 @FUNC(i64 %3, i64 4096)\n %15 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1)\n %16 = call i64 @FUNC(i64* nonnull %sv_1)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %1, i64 %17)\n %19 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1)\n %20 = call i64 @FUNC(i64 %1, i64 0)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %22, label LBL_2, label LBL_6\n LBL_2:\n %23 = inttoptr i64 %20 to i32*\n %24 = call i64 @FUNC(i64 %20, i64 60, i64 1, i64 1000000)\n store i32 1, i32* %23, align 4\n %25 = add i64 %20, 4\n %26 = inttoptr i64 %25 to i32*\n store i32 2, i32* %26, align 4\n %27 = bitcast i32* %sv_0 to i64*\n %28 = add i64 %20, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = add i64 %20, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = inttoptr i64 %2 to i64*\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_3\n LBL_3:\n %33 = call i64 @FUNC(i64 %1, i64* nonnull %27)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %35, label LBL_4, label LBL_6\n LBL_4:\n %36 = load i32, i32* %sv_0, align 4\n %37 = icmp slt i32 %36, 65536\n %38 = icmp slt i32 %36, 0\n %39 = icmp eq i1 %38, false\n %or.cond = icmp eq i1 %37, %39\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_6\n LBL_5:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %40 = load i32, i32* %29, align 4\n %41 = add i32 %36, 2\n %42 = add i32 %41, %40\n store i32 %42, i32* %29, align 4\n %43 = add i32 %42, 32\n %44 = sext i32 %43 to i64\n %45 = load i64, i64* %31, align 8\n %46 = call i64 @FUNC(i64 %45, i64 %44)\n store i64 %46, i64* %31, align 8\n %47 = load i32, i32* %29, align 4\n %48 = sext i32 %47 to i64\n %49 = load i32, i32* %sv_0, align 4\n %50 = sext i32 %49 to i64\n %51 = sub nsw i64 %48, %50\n %52 = add i64 %51, %46\n %53 = add i64 %52, -2\n %54 = udiv i32 %49, 256\n %55 = add i64 %52, -1\n %56 = trunc i32 %54 to i8\n %57 = inttoptr i64 %53 to i8*\n store i8 %56, i8* %57, align 1\n %58 = load i32, i32* %sv_0, align 4\n %59 = trunc i32 %58 to i8\n %60 = inttoptr i64 %55 to i8*\n store i8 %59, i8* %60, align 1\n %61 = load i32, i32* %sv_0, align 4\n %62 = inttoptr i64 %52 to i64*\n %63 = call i64* @memcpy(i64* %62, i64* %32, i32 %61)\n %64 = add nuw nsw i32 %storemerge4.reload, 1\n %65 = icmp ult i32 %64, 3\n store i32 %64, i32* %storemerge4.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %65, label LBL_3, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %36, { 2, 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i32* %sv_0, { 3, 2, 1, 0, 4 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i1 false, { 0, 2, 3, 1 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_hq_slice_row_15088", "fun_name": "decode_hq_slice_row", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = and i64 %1, 4294967295\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %7 = call i64 @FUNC(i64 %5, i64 %4)\n %8 = add i32 %storemerge1.reload, 1\n %9 = sext i32 %8 to i64\n %10 = icmp sgt i64 %6, %9\n store i32 %8, i32* %storemerge1.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "b43_one_core_attach_8307", "fun_name": "b43_one_core_attach", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = call i64 @FUNC(i64 48, i64 0)\n %1 = icmp eq i64 %0, 0\n store i64 4294967284, i64* %storemerge.in.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = inttoptr i64 %0 to i32*\n %5 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 %5, i32* %4, align 4\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %3, i64* %7, align 8\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 %2, i64* %9, align 8\n %10 = call i64 @FUNC(i64 %0, i64 0)\n %11 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %12 = add i64 %0, 40\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 %14, i64* %15, align 8\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i64*\n store i64 %14, i64* %17, align 8\n %18 = call i64 @FUNC(i64 %0)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n store i64 %24, i64* %15, align 8\n store i64 %22, i64* %17, align 8\n %25 = load i64, i64* %23, align 8\n %26 = add i64 %25, 8\n %27 = inttoptr i64 %26 to i64*\n store i64 %14, i64* %27, align 8\n store i64 %14, i64* %23, align 8\n %28 = bitcast i64* %rsi to i32*\n %29 = load i32, i32* %28, align 8\n %30 = add i32 %29, 1\n %31 = bitcast i64* %arg2 to i32*\n store i32 %30, i32* %31, align 4\n %32 = call i64 @FUNC(i64 %3, i64 %0)\n %33 = call i64 @FUNC(i64 %0)\n store i64 %18, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_3:\n %34 = call i64 @FUNC(i64 %0)\n store i64 %18, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %18, { 1, 0, 2 }\n uselistorder i64 %14, { 0, 1, 2, 4, 3 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_b_14287", "fun_name": "gen_b", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 1, i32* %2, align 4\n %3 = bitcast i64* %rdi to i32*\n %4 = load i32, i32* %3, align 8\n %5 = mul i32 %4, 64\n %6 = ashr exact i32 %5, 6\n %7 = and i32 %6, -64\n %8 = and i32 %4, 1073741824\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i32 %7, i32* %storemerge.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %0, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add nsw i32 %7, -4\n %15 = add i32 %14, %13\n store i32 %15, i32* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %16 = icmp slt i32 %4, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i64 %0, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %0, i64 %21)\n br label LBL_4\n LBL_4:\n %23 = zext i32 %storemerge.reload to i64\n %24 = call i64 @FUNC(i64 %0, i64 0, i64 %23)\n ret i64 %24\n\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32 %4, { 1, 2, 0 }\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pending_op_free_6945", "fun_name": "pending_op_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1, i64 %arg1)\n br label LBL_2\n LBL_2:\n %2 = add i64 %arg1, 16\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = add i64 %arg1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = zext i32 %4 to i64\n %9 = call i64 @FUNC(i64 %7, i64 %8)\n %10 = load i64, i64* %6, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %12)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %arg1, { 1, 3, 2, 4, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SRXAFSCB_Probe_17625", "fun_name": "SRXAFSCB_Probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 4202512)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %3\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vapic_map_rom_writable_14928", "fun_name": "vapic_map_rom_writable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %1)\n br label LBL_2\n LBL_2:\n %9 = trunc i64 %0 to i32\n %10 = and i32 %9, -4096\n %11 = call i64 @FUNC(i64 %2, i64 0, i64 1)\n %12 = call i64 @FUNC(i64 %11)\n %13 = or i32 %10, 2\n %14 = sext i32 %13 to i64\n %15 = add i64 %12, %14\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = zext i8 %17 to i64\n %19 = mul i64 %18, 4096\n %20 = add i64 %0, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = zext i32 %10 to i64\n %23 = call i64 @FUNC(i64 %1, i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %22, i64 0)\n %24 = call i64 @FUNC(i64 %2, i64 %22, i64 %1, i64 1000)\n store i32 1, i32* %4, align 4\n %25 = call i64 @FUNC(i64 %11)\n ret i64 %25\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 3, 2, 4 }\n uselistorder i64 %0, { 0, 1, 4, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtqueue_num_heads_508", "fun_name": "virtqueue_num_heads", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i16* %arg1 to i64\n %3 = trunc i64 %arg2 to i16\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i16\n %6 = sub i16 %5, %3\n %7 = trunc i64 %1 to i16\n %8 = icmp ugt i16 %6, %7\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = and i64 %arg2, 4294967295\n %10 = call i64 @FUNC(i64 %2)\n %11 = urem i64 %10, 65536\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %11)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %13 = icmp eq i16 %6, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC()\n br label LBL_4\n LBL_4:\n %15 = zext i16 %6 to i64\n ret i64 %15\n\n uselistorder i64 (i64)* @vring_avail_idx, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hvcc_New_10219", "fun_name": "hvcc_New", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = inttoptr i64 %0 to i64*\n %4 = call i64* @memset(i64* %3, i32 0, i32 4)\n %5 = inttoptr i64 %0 to i32*\n store i32 1751283299, i32* %5, align 4\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "page_unlock_6044", "fun_name": "page_unlock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %1 = and i64 %sv_0.0.reload, 4294967295\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_3, label LBL_2\n LBL_2:\n %3 = urem i64 %sv_0.0.reload, 2\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %8 = add i64 %sv_0.0.reload, -1\n %9 = and i64 %8, 4294967295\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_3, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_6:\n %14 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload, i64 %8)\n %15 = icmp eq i64 %14, %sv_0.0.reload\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_1, label LBL_7\n LBL_7:\n ret i64 %14\n\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 2, 3, 0, 4, 1 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bcm_rx_changed_12894", "fun_name": "bcm_rx_changed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = add i64 %2, 1\n store i64 %3, i64* %arg1, align 8\n %4 = icmp ugt i64* %arg1, inttoptr (i64 184467440737095516 to i64*)\n br i1 %4, label LBL_2, label LBL_0.LBL_3_crit_edge\n LBL_1:\n %5 = trunc i64 %1 to i32\n store i32 %5, i32* %.reg2mem\n br label LBL_3\n LBL_2:\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, align 8\n store i64 0, i64* %arg1, align 8\n %.phi.trans.insert = bitcast i64* %rsi to i32*\n %.pre = load i32, i32* %.phi.trans.insert, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %8 = urem i32 %.reload, 256\n store i32 %8, i32* %arg2, align 4\n store i32 2, i32* %sv_0, align 4\n %9 = ptrtoint i32* %arg2 to i64\n %10 = call i64 @FUNC(i64 %2, i32* nonnull %sv_0, i64 %9, i64 1)\n ret i64 %10\n\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ogg_read_header_3933", "fun_name": "ogg_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %3 = add i64 %1, 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %3, i64 4096)\n %6 = call i64 @FUNC(i64 %3, i64 %5, i64 4096)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp slt i32 %7, 0\n %10 = icmp eq i1 %9, false\n %11 = icmp eq i1 %8, false\n %12 = icmp eq i1 %10, %11\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_1, label LBL_5\n LBL_1:\n %13 = call i64 @FUNC(i64 %3, i64 4096)\n %14 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1)\n %15 = call i64 @FUNC(i64* nonnull %sv_1)\n %16 = and i64 %15, 4294967295\n %17 = call i64 @FUNC(i64 %1, i64 %16)\n %18 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1)\n %19 = call i64 @FUNC(i64 %1, i64 0)\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %21, label LBL_2, label LBL_5\n LBL_2:\n %22 = inttoptr i64 %19 to i32*\n %23 = call i64 @FUNC(i64 %19, i64 60, i64 1, i64 1000000)\n store i32 1, i32* %22, align 4\n %24 = add i64 %19, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 2, i32* %25, align 4\n %26 = bitcast i32* %sv_0 to i64*\n %27 = add i64 %19, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = add i64 %19, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = inttoptr i64 %2 to i64*\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 %1, i64* nonnull %26)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_4, label LBL_5\n LBL_4:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %35 = load i32, i32* %28, align 4\n %36 = load i32, i32* %sv_0, align 4\n %37 = add i32 %35, 2\n %38 = add i32 %37, %36\n store i32 %38, i32* %28, align 4\n %39 = add i32 %38, 32\n %40 = sext i32 %39 to i64\n %41 = load i64, i64* %30, align 8\n %42 = call i64 @FUNC(i64 %41, i64 %40)\n store i64 %42, i64* %30, align 8\n %43 = load i32, i32* %28, align 4\n %44 = sext i32 %43 to i64\n %45 = load i32, i32* %sv_0, align 4\n %46 = sext i32 %45 to i64\n %47 = sub nsw i64 %44, %46\n %48 = add i64 %47, %42\n %49 = add i64 %48, -2\n %50 = udiv i32 %45, 256\n %51 = add i64 %48, -1\n %52 = trunc i32 %50 to i8\n %53 = inttoptr i64 %49 to i8*\n store i8 %52, i8* %53, align 1\n %54 = load i32, i32* %sv_0, align 4\n %55 = trunc i32 %54 to i8\n %56 = inttoptr i64 %51 to i8*\n store i8 %55, i8* %56, align 1\n %57 = load i32, i32* %sv_0, align 4\n %58 = inttoptr i64 %48 to i64*\n %59 = call i64* @memcpy(i64* %58, i64* %31, i32 %57)\n %60 = add nuw nsw i32 %storemerge3.reload, 1\n %61 = icmp ult i32 %60, 3\n store i32 %60, i32* %storemerge3.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %61, label LBL_3, label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4 }\n uselistorder i32* %sv_0, { 3, 2, 1, 0, 4 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipgre_fb_tunnel_init_10673", "fun_name": "ipgre_fb_tunnel_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %3, align 8\n %4 = add i64 %1, 11\n %5 = inttoptr i64 %4 to i8*\n %6 = bitcast i64* %arg1 to i8*\n %7 = call i8* @strcpy(i8* %5, i8* %6)\n %8 = inttoptr i64 %2 to i8*\n store i8 4, i8* %8, align 1\n %9 = add i64 %1, 9\n %10 = inttoptr i64 %9 to i8*\n store i8 47, i8* %10, align 1\n %11 = add i64 %1, 10\n %12 = inttoptr i64 %11 to i8*\n store i8 5, i8* %12, align 1\n %13 = add i64 %1, 28\n %14 = inttoptr i64 %13 to i32*\n store i32 7, i32* %14, align 4\n %15 = call i64 @FUNC(i64 %0)\n ret i64 %15\n\n uselistorder i64 %1, { 2, 0, 1, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ldbReplParseCommand_6360", "fun_name": "ldbReplParseCommand", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_0.013.reg2mem = alloca i32\n %sv_2.015.in.in.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_17\n LBL_1:\n %6 = load i64, i64* @gv_0, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = inttoptr i64 %7 to i8*\n %9 = call i8* @strchr(i8* %8, i32 42)\n %10 = icmp eq i8* %9, null\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %10, label LBL_15, label LBL_2\n LBL_2:\n %11 = call i8* @strstr(i8* nonnull %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %12 = icmp eq i8* %11, null\n store i64 0, i64* %sv_1.1.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %12, label LBL_16, label LBL_3\n LBL_3:\n %13 = trunc i64 %1 to i32\n %14 = ptrtoint i8* %9 to i64\n %15 = add i64 %14, 1\n %16 = inttoptr i64 %15 to i8*\n store i8 0, i8* %11, align 1\n %17 = call i32 @atoi(i8* %16)\n %18 = bitcast i64* %arg1 to i32*\n store i32 %17, i32* %18, align 4\n %.off4 = add i32 %13, -1\n %19 = icmp ugt i32 %.off4, 1023\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %19, label LBL_15, label LBL_4\n LBL_4:\n %sext = mul i64 %1, 4294967296\n %20 = ashr exact i64 %sext, 29\n %21 = call i64 @FUNC(i64 %20)\n %22 = and i64 %1, 4294967295\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_14, label LBL_5\n LBL_5:\n %24 = bitcast i64* %rdi to i32*\n %25 = ptrtoint i8* %11 to i64\n %26 = sub i64 2, %7\n store i64 0, i64* %.reg2mem\n store i64 %25, i64* %sv_2.015.in.in.reg2mem\n store i32 0, i32* %sv_0.013.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem\n %sv_2.015.in.in.reload = load i64, i64* %sv_2.015.in.in.reg2mem\n %sv_2.015.in = add i64 %sv_2.015.in.in.reload, 2\n %sv_2.015 = inttoptr i64 %sv_2.015.in to i8*\n %27 = load i8, i8* %sv_2.015, align 1\n %28 = icmp eq i8 %27, 0\n store i64 %21, i64* %sv_1.1.reg2mem\n store i32 %sv_0.013.reload, i32* %sv_0.2.reg2mem\n br i1 %28, label LBL_16, label LBL_7\n LBL_7:\n %29 = icmp eq i8 %27, 36\n %30 = icmp eq i1 %29, false\n store i64 %21, i64* %sv_1.0.reg2mem\n store i32 %sv_0.013.reload, i32* %sv_0.1.reg2mem\n br i1 %30, label LBL_15, label LBL_8\n LBL_8:\n %31 = call i8* @strstr(i8* nonnull %sv_2.015, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %32 = icmp eq i8* %31, null\n store i64 %21, i64* %sv_1.1.reg2mem\n store i32 %sv_0.013.reload, i32* %sv_0.2.reg2mem\n br i1 %32, label LBL_16, label LBL_9\n LBL_9:\n %33 = add i64 %sv_2.015.in.in.reload, 3\n %34 = inttoptr i64 %33 to i8*\n store i8 0, i8* %31, align 1\n %35 = call i32 @atoi(i8* %34)\n %.off = add i32 %35, -1\n %36 = icmp ugt i32 %.off, 1023\n store i64 %21, i64* %sv_1.0.reg2mem\n store i32 %sv_0.013.reload, i32* %sv_0.1.reg2mem\n br i1 %36, label LBL_15, label LBL_10\n LBL_10:\n %37 = ptrtoint i8* %31 to i64\n %38 = add i64 %37, 2\n %39 = sext i32 %35 to i64\n %40 = add i64 %38, %39\n %41 = add i64 %26, %40\n %42 = call i64 @FUNC(i64 %7)\n %43 = icmp ugt i64 %41, %42\n store i64 %21, i64* %sv_1.1.reg2mem\n store i32 %sv_0.013.reload, i32* %sv_0.2.reg2mem\n br i1 %43, label LBL_16, label LBL_11\n LBL_11:\n %.reload = load i64, i64* %.reg2mem\n %44 = add i32 %sv_0.013.reload, 1\n %45 = mul i64 %.reload, 8\n %46 = add i64 %45, %21\n %47 = call i64 @FUNC(i64 %38, i64 %39)\n %48 = inttoptr i64 %46 to i64*\n store i64 %47, i64* %48, align 8\n %49 = inttoptr i64 %40 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = icmp eq i8 %50, 13\n %52 = icmp eq i1 %51, false\n store i64 %21, i64* %sv_1.0.reg2mem\n store i32 %44, i32* %sv_0.1.reg2mem\n br i1 %52, label LBL_15, label LBL_12\n LBL_12:\n %53 = add i64 %40, 1\n %54 = inttoptr i64 %53 to i8*\n %55 = load i8, i8* %54, align 1\n %56 = icmp eq i8 %55, 10\n %57 = icmp eq i1 %56, false\n store i64 %21, i64* %sv_1.0.reg2mem\n store i32 %44, i32* %sv_0.1.reg2mem\n br i1 %57, label LBL_15, label LBL_12.dec_label_pc_4014ee_crit_edge\n LBL_13:\n %.pre = load i32, i32* %24, align 8\n %58 = zext i32 %.pre to i64\n %59 = sext i32 %44 to i64\n %60 = icmp slt i64 %59, %58\n store i64 %59, i64* %.reg2mem\n store i64 %40, i64* %sv_2.015.in.in.reg2mem\n store i32 %44, i32* %sv_0.013.reg2mem\n br i1 %60, label LBL_6, label LBL_14\n LBL_14:\n %61 = call i64 @FUNC(i64 %7)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_15:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %62 = load [15 x i8]*, [15 x i8]** @gv_2, align 8\n %63 = ptrtoint [15 x i8]* %62 to i64\n store i64 %63, i64* %arg2, align 8\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %64 = zext i32 %sv_0.2.reload to i64\n %65 = call i64 @FUNC(i64 %sv_1.1.reload, i64 %64)\n %66 = call i64 @FUNC(i64 %7)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %44, { 2, 3, 1, 0 }\n uselistorder i64 %40, { 0, 3, 2, 1 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i64 %38, { 1, 0 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %sv_2.015.in.in.reload, { 1, 0 }\n uselistorder i32 %sv_0.013.reload, { 5, 0, 3, 1, 4, 2 }\n uselistorder i64 %21, { 0, 5, 4, 8, 1, 6, 2, 7, 3 }\n uselistorder i64 %7, { 3, 1, 2, 0, 4 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.015.in.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.013.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @sdsfree, { 2, 1, 0 }\n uselistorder i64 2, { 2, 0, 1 }\n uselistorder i32 1023, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 (i8*)* @atoi, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 (i64)* @sdslen, { 1, 0 }\n uselistorder label LBL_17, { 1, 2, 0 }\n uselistorder label LBL_16, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_15, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "driver_mysql_query_4908", "fun_name": "driver_mysql_query", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = inttoptr i64 %1 to i32*\n store i32 0, i32* %2, align 4\n %3 = call i64 @FUNC(i64 %1)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "imap_parser_reset_9253", "fun_name": "imap_parser_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 0, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4, i64 %0, i64 10)\n %6 = inttoptr i64 %4 to i64*\n store i64 %4, i64* %6, align 8\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n %9 = add i64 %0, 32\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %0, 40\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = add i64 %0, 48\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %0, 56\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %16, align 8\n %17 = add i64 %0, 64\n %18 = inttoptr i64 %17 to i64*\n store i64 0, i64* %18, align 8\n %19 = add i64 %0, 72\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %0, 80\n %22 = inttoptr i64 %21 to i64*\n store i64 0, i64* %22, align 8\n %23 = add i64 %0, 88\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %0, 92\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %0, 96\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %0, 100\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n ret i64 %0\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %0, { 12, 13, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 15, 0, 14, 16 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_dvpe_1892", "fun_name": "helper_dvpe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n store i64 %1, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %2 = icmp eq i64 %sv_0.0.reload, %0\n br i1 %2, label LBL_3, label LBL_2\n LBL_2:\n %3 = inttoptr i64 %sv_0.0.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = and i64 %6, -2\n store i64 %7, i64* %5, align 8\n %8 = call i64 @FUNC(i64 %sv_0.0.reload)\n br label LBL_3\n LBL_3:\n %9 = add i64 %sv_0.0.reload, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_1, label LBL_4\n LBL_4:\n ret i64 %0\n\n uselistorder i64 %sv_0.0.reload, { 2, 3, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_rv34_decode_update_thread_context_847", "fun_name": "ff_rv34_decode_update_thread_context", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %.pre-phi2.reg2mem = alloca i32*\n %.pre-phi6.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64* %arg1, %arg2\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %3, label LBL_9, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %9, label LBL_2, label LBL_9\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = trunc i64 %1 to i32\n %12 = trunc i64 %2 to i32\n %13 = icmp eq i32 %11, %12\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %.pre = add i64 %4, 4\n %.pre1 = inttoptr i64 %.pre to i32*\n %.pre3 = add i64 %10, 4\n %.pre5 = inttoptr i64 %.pre3 to i32*\n store i32* %.pre5, i32** %.pre-phi6.reg2mem\n store i32* %.pre1, i32** %.pre-phi2.reg2mem\n br label LBL_5\n LBL_4:\n %15 = add i64 %10, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %4, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %17, %20\n store i32* %16, i32** %.pre-phi6.reg2mem\n store i32* %19, i32** %.pre-phi2.reg2mem\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem\n %.pre-phi6.reload = load i32*, i32** %.pre-phi6.reg2mem\n %22 = call i64 @FUNC(i64 %10)\n %23 = bitcast i64* %arg1 to i32*\n store i32 %12, i32* %23, align 4\n %24 = load i32, i32* %.pre-phi2.reload, align 4\n store i32 %24, i32* %.pre-phi6.reload, align 4\n %25 = call i64 @FUNC(i64 %10)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %25, i64* %rax.0.shrunk.reg2mem\n br i1 %28, label LBL_6, label LBL_9\n LBL_6:\n %29 = call i64 @FUNC(i64 %10)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %29, i64* %rax.0.shrunk.reg2mem\n br i1 %32, label LBL_7, label LBL_9\n LBL_7:\n %33 = call i64 @FUNC(i64 %10, i64 %4)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n store i64 %33, i64* %rax.0.shrunk.reg2mem\n br i1 %35, label LBL_8, label LBL_9\n LBL_8:\n %36 = add i64 %4, 12\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %10, 12\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = add i64 %4, 16\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %10, 16\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = add i64 %4, 20\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i64 %10, 20\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n %51 = add i64 %10, 24\n %52 = inttoptr i64 %51 to i64*\n %53 = call i64* @memset(i64* %52, i32 0, i32 4)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %10, { 2, 3, 4, 5, 6, 7, 8, 9, 1, 0 }\n uselistorder i64 %4, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 1, 2, 3, 5, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4, { 2, 3, 0, 1 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_9, { 5, 0, 1, 2, 4, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dccp_sendmsg_5651", "fun_name": "dccp_sendmsg", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %3, i64 %arg3)\n %6 = inttoptr i64 %4 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = sext i32 %7 to i64\n %9 = icmp ult i64 %8, %arg3\n br i1 %9, label LBL_14, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %3)\n %11 = call i64 @FUNC(i64 %3)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n store i32 2, i32* %sv_1, align 4\n br label LBL_12\n LBL_3:\n %14 = trunc i64 %2 to i32\n %15 = urem i32 %14, 2\n %16 = trunc i64 %1 to i32\n %17 = zext i32 %15 to i64\n %18 = call i64 @FUNC(i64 %3, i64 %17)\n store i64 %18, i64* %sv_0, align 8\n %19 = urem i32 %16, 32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_5, label %21\n LBL_4:\n %23 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0)\n %24 = trunc i64 %23 to i32\n store i32 %24, i32* %sv_1, align 4\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_12, label LBL_5\n LBL_5:\n %27 = add i64 %3, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = trunc i64 %arg3 to i32\n %33 = add i32 %31, %32\n %34 = call i64 @FUNC(i64 %3)\n %35 = call i64 @FUNC(i64 %3, i32 %33, i32 %15, i32* nonnull %sv_1)\n %36 = call i64 @FUNC(i64 %3)\n %37 = icmp eq i64 %35, 0\n br i1 %37, label LBL_12, label LBL_6\n LBL_6:\n %38 = icmp eq i32 %16, 3\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_8, label LBL_7\n LBL_7:\n store i32 3, i32* %sv_1, align 4\n br label LBL_13\n LBL_8:\n %40 = load i64, i64* %28, align 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %35, i64 %43)\n %45 = and i64 %arg3, 4294967295\n %46 = call i64 @FUNC(i64 %35, i64 %45)\n %47 = ptrtoint i32* %arg2 to i64\n %48 = call i64 @FUNC(i64 %46, i64 %47, i64 %arg3)\n %49 = trunc i64 %48 to i32\n store i32 %49, i32* %sv_1, align 4\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_13, label LBL_9\n LBL_9:\n %52 = call i64 @FUNC(i64 %47, i64 %35)\n %53 = trunc i64 %52 to i32\n store i32 %53, i32* %sv_1, align 4\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_13, label LBL_10\n LBL_10:\n %56 = call i64 @FUNC(i64 %3, i64 %35)\n %57 = add i64 %4, 4\n %58 = call i64 @FUNC(i64 %57)\n %59 = trunc i64 %58 to i32\n %60 = icmp eq i32 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_12, label LBL_11\n LBL_11:\n %62 = call i64 @FUNC(i64 %3)\n br label LBL_12\n LBL_12:\n %63 = call i64 @FUNC(i64 %3)\n %64 = load i32, i32* %sv_1, align 4\n %65 = zext i32 %64 to i64\n %66 = icmp eq i32 %64, 0\n %67 = icmp eq i1 %66, false\n %spec.select = select i1 %67, i64 %65, i64 %arg3\n ret i64 %spec.select\n LBL_13:\n %68 = call i64 @FUNC(i64 %35)\n br label LBL_12\n LBL_14:\n ret i64 1\n\n uselistorder i64 %35, { 2, 0, 1, 4, 3, 5 }\n uselistorder i32 %19, { 1, 0 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i64 %3, { 0, 2, 3, 4, 7, 6, 5, 1, 8, 10, 9, 11, 12 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 (i64)* @release_sock, { 1, 0 }\n uselistorder i64 (i64)* @lock_sock, { 1, 0 }\n uselistorder i64 %arg3, { 0, 2, 1, 3, 4, 5 }\n uselistorder label LBL_12, { 3, 4, 0, 1, 2, 5 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_elf_18665", "fun_name": "load_elf", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64* %arg5, i64* %arg6, i64 %arg7, i64 %arg8, i64 %arg9) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %1 = alloca i8\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %2 = load i8, i8* %1\n %3 = load i32, i32* %0\n %4 = load i8, i8* %1\n %5 = load i8, i8* %1\n %6 = load i8, i8* %1\n %sv_0 = alloca i64, align 8\n %7 = call i32 (i8*, i32, ...) @open(i8* %arg1, i32 0)\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* %arg1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %10 = call i32 @read(i32 %7, i64* nonnull %sv_0, i32 16)\n %11 = icmp eq i32 %10, 16\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_9, label LBL_3\n LBL_3:\n %13 = load i64, i64* %sv_0, align 8\n %14 = trunc i64 %13 to i8\n %15 = icmp eq i8 %14, 127\n %16 = icmp eq i8 %6, 69\n %17 = icmp eq i1 %16, %15\n %18 = icmp eq i8 %5, 76\n %19 = icmp eq i8 %4, 70\n %20 = icmp eq i1 %19, %18\n %21 = icmp eq i1 %20, %17\n br i1 %21, label LBL_4, label LBL_9\n LBL_4:\n %22 = urem i32 %3, 256\n %23 = trunc i64 %arg7 to i32\n %24 = icmp eq i32 %23, 0\n %. = select i1 %24, i32 1, i32 2\n %25 = icmp eq i32 %., %22\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %25, label LBL_5, label LBL_10\n LBL_5:\n %26 = ptrtoint i64* %arg4 to i64\n %27 = icmp eq i32 %22, 1\n %28 = icmp eq i1 %27, false\n %29 = zext i1 %28 to i32\n %30 = call i32 @lseek(i32 %7, i32 0, i32 0)\n %31 = icmp eq i8 %2, 2\n %32 = icmp eq i1 %31, false\n %33 = ptrtoint i8* %arg1 to i64\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %34 = call i64 @FUNC(i64 %33, i32 %7, i64 %arg2, i64 %arg3, i32 %29, i64 %26)\n store i64 %34, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_7:\n %35 = call i64 @FUNC(i64 %33, i32 %7, i64 %arg2, i64 %arg3, i32 %29, i64 %26)\n store i64 %35, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %36 = call i32 @close(i32 %7)\n %37 = and i64 %storemerge.in.reload, 4294967295\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %38 = call i32 @close(i32 %7)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %33, { 1, 0 }\n uselistorder i32 %7, { 4, 0, 1, 2, 3, 5, 6 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i8* %1, { 3, 2, 1, 0 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 4294967295, { 2, 3, 0, 1 }\n uselistorder i32 0, { 0, 1, 3, 4, 2 }\n uselistorder i8* %arg1, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 2, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xmlParseInternalSubset_4524", "fun_name": "xmlParseInternalSubset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 4, i64 0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "libopenjpeg_encode_close_2481", "fun_name": "libopenjpeg_encode_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_cmd_430", "fun_name": "get_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %3 to i32\n %7 = add i64 %5, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = mul i32 %9, 256\n %11 = or i32 %10, %6\n %12 = add i64 %5, 48\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = urem i32 %14, 4\n %16 = zext i32 %11 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %16, i32 %15, i64 %4, i64 %2, i64 %1)\n %18 = add i64 %5, 140\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n store i32 %11, i32* %sv_0.0.reg2mem\n br i1 %21, label LBL_1, label LBL_2\n LBL_1:\n %22 = ptrtoint i64* %arg2 to i64\n %23 = bitcast i64* %arg2 to i8*\n store i8 0, i8* %23, align 1\n %24 = add i64 %5, 72\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %22, 1\n %28 = inttoptr i64 %27 to i64*\n %29 = inttoptr i64 %26 to i64*\n %30 = call i64* @memcpy(i64* %28, i64* %29, i32 %11)\n %31 = add i32 %11, 1\n store i32 %31, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %32 = add i64 %5, 80\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = add i64 %5, 84\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = add i64 %5, 88\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %38 = add i64 %5, 96\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = icmp eq i64 %40, 0\n br i1 %41, label LBL_4, label LBL_3\n LBL_3:\n %42 = add i64 %5, 136\n %43 = inttoptr i64 %42 to i32*\n store i32 0, i32* %43, align 4\n br label LBL_4\n LBL_4:\n %44 = mul i32 %15, 8\n %45 = zext i32 %44 to i64\n %46 = add i64 %5, 104\n %47 = add i64 %46, %45\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = icmp eq i64 %49, 0\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_6, label LBL_5\n LBL_5:\n %52 = add i64 %5, 28\n %53 = inttoptr i64 %52 to i32*\n store i32 0, i32* %53, align 4\n %54 = add i64 %5, 32\n %55 = inttoptr i64 %54 to i32*\n store i32 5, i32* %55, align 4\n %56 = add i64 %5, 36\n %57 = inttoptr i64 %56 to i32*\n store i32 6, i32* %57, align 4\n %58 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n store i64 %49, i64* %39, align 8\n %59 = zext i32 %sv_0.0.reload to i64\n store i64 %59, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %11, { 1, 2, 0, 3 }\n uselistorder i64 %5, { 1, 2, 3, 4, 0, 6, 5, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "oma_read_packet_2892", "fun_name": "oma_read_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %13, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = call i64 @FUNC(i64 %3)\n %20 = call i64 @FUNC(i64 %3, i64 %2, i32 %15)\n %21 = trunc i64 %20 to i32\n %22 = icmp sgt i32 %15, %21\n br i1 %22, label LBL_1, label LBL_2\n LBL_1:\n %23 = trunc i64 %1 to i32\n %24 = or i32 %23, 1\n %25 = bitcast i64* %arg2 to i32*\n store i32 %24, i32* %25, align 4\n br label LBL_2\n LBL_2:\n %26 = icmp slt i32 %21, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = and i64 %20, 4294967295\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %29 = icmp eq i32 %21, 0\n %30 = icmp eq i1 %29, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %30, label LBL_5, label LBL_12\n LBL_5:\n %31 = add i64 %2, 4\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %33 = icmp slt i64 %19, 1\n %34 = icmp slt i32 %18, 8\n %or.cond = or i1 %34, %33\n br i1 %or.cond, label LBL_7, label LBL_6\n LBL_6:\n %35 = ashr i32 %18, 3\n %36 = add i64 %11, 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = sext i32 %35 to i128\n %40 = sext i32 %38 to i128\n %41 = mul nsw i128 %40, %39\n %42 = add i64 %11, 12\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %19, i64 %45, i128 %41)\n %47 = add i64 %2, 16\n %48 = inttoptr i64 %47 to i64*\n store i64 %46, i64* %48, align 8\n %49 = add i64 %2, 8\n %50 = inttoptr i64 %49 to i64*\n store i64 %46, i64* %50, align 8\n br label LBL_7\n LBL_7:\n %51 = inttoptr i64 %6 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_11, label LBL_8\n LBL_8:\n %54 = icmp eq i32 %15, %21\n %55 = icmp eq i1 %54, false\n %56 = add i64 %6, 16\n br i1 %55, label LBL_10, label LBL_9\n LBL_9:\n %57 = ashr i32 %15, 3\n %58 = zext i32 %57 to i64\n %59 = add i64 %2, 24\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = add i64 %6, 8\n %63 = call i64 @FUNC(i64 %62, i64 %61, i64 %61, i64 %58, i64 %56, i64 1)\n br label LBL_11\n LBL_10:\n %64 = inttoptr i64 %56 to i64*\n %65 = call i64* @memset(i64* %64, i32 0, i32 8)\n br label LBL_11\n LBL_11:\n %66 = and i64 %20, 4294967295\n store i64 %66, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %61, { 1, 0 }\n uselistorder i64 %56, { 1, 0 }\n uselistorder i32 %21, { 0, 2, 1, 3 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i32 %15, { 1, 0, 2, 3 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %2, { 2, 0, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 4, 5, 1 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssh_packet_write_wait_3707", "fun_name": "ssh_packet_write_wait", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca %timeval*\n %.reg2mem17 = alloca i32\n %.reg2mem = alloca i32\n %sv_0.0.ph4.reg2mem = alloca %timeval*\n %.ph.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca %timeval*\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n store i32 0, i32* %sv_3, align 4\n %2 = add i64 %1, 1\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 64)\n %5 = trunc i64 %4 to i32\n %6 = call i64* @calloc(i32 %5, i32 8)\n %7 = icmp eq i64* %6, null\n %8 = icmp eq i1 %7, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_1, label LBL_21\n LBL_1:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_2, label LBL_3\n LBL_2:\n %13 = bitcast i64* %rdi to i32*\n %14 = trunc i64 %1 to i32\n %15 = bitcast i64* %6 to %_TYPEDEF_fd_set*\n %16 = ptrtoint i64* %6 to i64\n %17 = add i64 %9, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = bitcast i64* %sv_2 to %timeval*\n %20 = bitcast i64* %sv_1 to %timeval*\n store i32 %14, i32* %.reg2mem17\n store %timeval* null, %timeval** %sv_0.1.reg2mem\n br label LBL_19\n LBL_3:\n call void @free(i64* %6)\n store i64 %10, i64* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_4:\n %sv_0.1.reload = load %timeval*, %timeval** %sv_0.1.reg2mem\n %.reload18 = load i32, i32* %.reg2mem17\n %21 = add i32 %.reload18, 1\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22, i64 64)\n %.tr = trunc i64 %23 to i32\n %24 = mul i32 %.tr, 8\n %25 = call i64* @memset(i64* %6, i32 0, i32 %24)\n %26 = add i32 %.reload18, 63\n %27 = icmp slt i32 %.reload18, 0\n %28 = select i1 %27, i32 %26, i32 %.reload18\n %29 = ashr i32 %28, 6\n %30 = zext i32 %29 to i64\n %31 = sext i32 %29 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %32, %16\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = urem i32 %.reload18, 64\n %37 = icmp eq i32 %36, 0\n %38 = zext i32 %36 to i64\n %39 = shl i64 1, %38\n %storemerge = select i1 %37, i64 1, i64 %39\n store i64 %storemerge, i64* %rdi, align 8\n %40 = or i64 %35, %storemerge\n %sext3 = mul i64 %30, 4294967296\n %41 = ashr exact i64 %sext3, 29\n %42 = add i64 %41, %16\n %43 = inttoptr i64 %42 to i64*\n store i64 %40, i64* %43, align 8\n %44 = load i32, i32* %18, align 4\n %45 = icmp slt i32 %44, 1\n store i32 %44, i32* %.ph.reg2mem\n store %timeval* %sv_0.1.reload, %timeval** %sv_0.0.ph4.reg2mem\n br i1 %45, label LBL_7, label LBL_5\n LBL_5:\n store i32 %44, i32* %sv_3, align 4\n store %timeval* %19, %timeval** %sv_0.0.ph.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.ph.reload = load %timeval*, %timeval** %sv_0.0.ph.reg2mem\n %.pr = load i32, i32* %18, align 4\n store i32 %.pr, i32* %.ph.reg2mem\n store %timeval* %sv_0.0.ph.reload, %timeval** %sv_0.0.ph4.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.ph4.reload = load %timeval*, %timeval** %sv_0.0.ph4.reg2mem\n %.ph.reload = load i32, i32* %.ph.reg2mem\n store i32 %.ph.reload, i32* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %46 = icmp eq i32 %.reload, -1\n br i1 %46, label LBL_10, label LBL_9\n LBL_9:\n %47 = load i32, i32* %sv_3, align 4\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64* nonnull %sv_2, i64 %48)\n %50 = call i32 @gettimeofday(%timeval* nonnull %20, %timezone* null)\n br label LBL_10\n LBL_10:\n %51 = load i32, i32* %13, align 8\n %52 = add i32 %51, 1\n %53 = call i32 @select(i32 %52, %_TYPEDEF_fd_set* null, %_TYPEDEF_fd_set* %15, %_TYPEDEF_fd_set* null, %timeval* %sv_0.0.ph4.reload)\n %54 = icmp slt i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_15, label LBL_11\n LBL_11:\n %56 = call i32* @__errno_location()\n %57 = load i32, i32* %56, align 4\n %58 = icmp eq i32 %57, 11\n br i1 %58, label LBL_13, label LBL_12\n LBL_12:\n %59 = call i32* @__errno_location()\n %60 = load i32, i32* %59, align 4\n %61 = icmp eq i32 %60, 4\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_15, label LBL_13\n LBL_13:\n %63 = load i32, i32* %18, align 4\n %64 = icmp eq i32 %63, -1\n store i32 -1, i32* %.reg2mem\n br i1 %64, label LBL_8, label LBL_14\n LBL_14:\n %65 = call i64 @FUNC(i64* nonnull %sv_1, i32* nonnull %sv_3)\n %66 = load i32, i32* %sv_3, align 4\n %67 = icmp eq i32 %66, 0\n %68 = icmp slt i32 %66, 0\n %69 = icmp eq i1 %68, false\n %70 = icmp eq i1 %67, false\n %71 = icmp eq i1 %69, %70\n store %timeval* %sv_0.0.ph4.reload, %timeval** %sv_0.0.ph.reg2mem\n br i1 %71, label LBL_6, label LBL_16\n LBL_15:\n %72 = icmp eq i32 %53, 0\n %73 = icmp eq i1 %72, false\n br i1 %73, label LBL_17, label LBL_16\n LBL_16:\n call void @free(i64* %6)\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_17:\n %74 = call i64 @FUNC(i64 %9)\n %75 = trunc i64 %74 to i32\n %76 = icmp eq i32 %75, 0\n store i32 %51, i32* %.reg2mem17\n store %timeval* %sv_0.0.ph4.reload, %timeval** %sv_0.1.reg2mem\n br i1 %76, label LBL_19, label LBL_18\n LBL_18:\n call void @free(i64* %6)\n store i64 %74, i64* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_19:\n %77 = call i64 @FUNC(i64 %9)\n %78 = trunc i64 %77 to i32\n %79 = icmp eq i32 %78, 0\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_4, label LBL_20\n LBL_20:\n call void @free(i64* %6)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32 %66, { 1, 0 }\n uselistorder %timeval* %sv_0.0.ph4.reload, { 0, 2, 1 }\n uselistorder i32 %44, { 1, 0, 2 }\n uselistorder i32 %.reload18, { 4, 0, 1, 2, 3 }\n uselistorder i32* %18, { 1, 0, 2 }\n uselistorder i64 %9, { 2, 0, 1, 3 }\n uselistorder i64* %6, { 4, 0, 1, 3, 5, 2, 7, 6 }\n uselistorder i32* %sv_3, { 1, 0, 2, 3, 4 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder %timeval** %sv_0.0.ph.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem17, { 2, 0, 1 }\n uselistorder %timeval** %sv_0.1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 5, 4, 2, 1 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i32 (%timeval*, %timezone*)* @gettimeofday, { 1, 0 }\n uselistorder i64 4294967296, { 0, 1, 3, 2 }\n uselistorder void (i64*)* @free, { 1, 3, 2, 0 }\n uselistorder i64 (i64)* @ssh_packet_write_poll, { 1, 0 }\n uselistorder i1 false, { 5, 1, 2, 0, 3, 4, 6 }\n uselistorder i64 (i64, i64)* @howmany, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 0, { 9, 3, 4, 5, 6, 7, 0, 8, 1, 10, 2 }\n uselistorder label LBL_21, { 3, 1, 2, 4, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "del_timer_6806", "fun_name": "del_timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)\n %6 = call i64 @FUNC(i64 %0, i64 %5, i64 1)\n %7 = load i64, i64* %sv_1, align 8\n %8 = call i64 @FUNC(i64 %5, i64 %7)\n %phitmp = and i64 %6, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reschedule_dma_208", "fun_name": "reschedule_dma", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n %2 = call i64 @FUNC(i64 %0, i64 0)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_passwd_19169", "fun_name": "check_passwd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 32, i32* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_3:\n %7 = call i64 @FUNC(i64 %3)\n %8 = trunc i64 %7 to i32\n store i64 %3, i64* %sv_1.0.reg2mem\n store i32 %8, i32* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %9 = mul i32 %storemerge.reload, 2\n %10 = call i64* @calloc(i32 %9, i32 1)\n %11 = icmp eq i64* %10, null\n %12 = icmp eq i1 %11, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %12, label LBL_5, label LBL_16\n LBL_5:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %13 = sext i32 %storemerge.reload to i64\n %14 = ptrtoint i64* %10 to i64\n %15 = add i64 %14, %13\n %16 = call i64 @FUNC()\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = zext i32 %storemerge.reload to i64\n %20 = call i64 @FUNC(i64 %15, i64 %19)\n store i64 %20, i64* %sv_0.0.in.reg2mem\n br label LBL_9\n LBL_7:\n %21 = call i64 @FUNC()\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n store i64 4294967274, i64* %sv_0.1.reg2mem\n br i1 %23, label LBL_15, label LBL_8\n LBL_8:\n %24 = zext i32 %storemerge.reload to i64\n %25 = call i64 @FUNC(i64 %15, i64 %24)\n store i64 %25, i64* %sv_0.0.in.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %26 = icmp slt i32 %sv_0.0, 0\n store i64 %sv_0.0.in.reload, i64* %sv_0.1.reg2mem\n br i1 %26, label LBL_15, label LBL_10\n LBL_10:\n %27 = ptrtoint i64* %arg1 to i64\n %28 = bitcast i64* %10 to i8*\n %29 = call i64 @FUNC(i64 1)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_13, label LBL_11\n LBL_11:\n %32 = call i64 @FUNC(i64 %27, i64 %arg2, i64 %15, i64 16, i64 1000, i64 16, i64 %14)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %32, i64* %sv_0.1.reg2mem\n br i1 %35, label LBL_15, label LBL_12\n LBL_12:\n %36 = add i64 %15, 16\n %37 = inttoptr i64 %36 to i8*\n %38 = call i32 @strncmp(i8* %28, i8* %37, i32 16)\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n %spec.select = select i1 %40, i64 %32, i64 1\n store i64 %spec.select, i64* %sv_0.1.reg2mem\n br label LBL_15\n LBL_13:\n %41 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %27, i64 %arg2, i64 %14)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %41, i64* %sv_0.1.reg2mem\n br i1 %44, label LBL_15, label LBL_14\n LBL_14:\n %45 = inttoptr i64 %15 to i8*\n %46 = call i32 @strncmp(i8* %28, i8* %45, i32 %storemerge.reload)\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n %spec.select4 = select i1 %48, i64 %41, i64 1\n store i64 %spec.select4, i64* %sv_0.1.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n call void @free(i64* %10)\n %49 = call i64 @FUNC(i64 %sv_1.0.reload)\n %50 = and i64 %sv_0.1.reload, 4294967295\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %41, { 1, 0, 2 }\n uselistorder i64 %32, { 1, 0, 2 }\n uselistorder i8* %28, { 1, 0 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %15, { 4, 2, 1, 0, 3 }\n uselistorder i64 %14, { 1, 2, 0 }\n uselistorder i64* %10, { 0, 3, 1, 2 }\n uselistorder i32 %storemerge.reload, { 1, 2, 3, 0, 4 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 5, 3, 4, 6, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }\n uselistorder i64 (i64)* @IS_ENABLED, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_16, { 1, 0, 2 }\n uselistorder label LBL_15, { 1, 3, 2, 4, 5, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_subexpr_3712", "fun_name": "parse_subexpr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %3 to i8\n store i8 %5, i8* %.reg2mem\n store i64 %4, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %3)\n %7 = call i64 @FUNC(i64 4198769, i64 1, i64 %sv_0.0.reload, i64 %6, i64 %2, i64 %1)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i8 113, i8* %.reg2mem\n store i64 %7, i64* %sv_0.0.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.reload = load i8, i8* %.reg2mem\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n switch i8 %.reload, label LBL_3 [\n i8 43, label LBL_1\n i8 45, label LBL_1\n ]\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @parse_term, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vips_malloc_13376", "fun_name": "vips_malloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 4198757, i64 %0)\n %4 = add i64 %2, %arg2\n store i64 %4, i64* %arg1, align 8\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_private_data_884", "fun_name": "get_private_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem8 = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem6 = alloca i64\n %.reg2mem4 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n store i64 %5, i64* %sv_1, align 8\n %6 = add i64 %2, 16\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n store i32 %8, i32* %sv_0, align 4\n %9 = trunc i64 %1 to i32\n %10 = icmp eq i32 %9, 1\n %11 = icmp eq i1 %10, false\n store i64 %5, i64* %.reg2mem\n br i1 %11, label LBL_3, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1, i32* nonnull %sv_0)\n %13 = load i64, i64* %sv_1, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = load i64, i64* %4, align 8\n store i64 %16, i64* %sv_1, align 8\n store i64 %16, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %17 = icmp eq i64 %.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_9, label LBL_4\n LBL_4:\n %18 = load i32, i32* %sv_0, align 4\n %19 = mul i32 %18, 2\n %20 = or i32 %19, 1\n %21 = sext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21)\n store i64 %22, i64* %4, align 8\n %23 = icmp eq i64 %22, 0\n store i64 0, i64* %.reg2mem8\n br i1 %23, label LBL_7, label LBL_5\n LBL_5:\n %24 = load i32, i32* %sv_0, align 4\n %25 = icmp eq i32 %24, 0\n store i64 %22, i64* %.reg2mem4\n store i64 0, i64* %.reg2mem6\n store i32 0, i32* %storemerge1.reg2mem\n store i64 %22, i64* %.reg2mem8\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload5 = load i64, i64* %.reg2mem4\n %26 = load i64, i64* %sv_1, align 8\n %27 = add i64 %26, %.reload7\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = mul i32 %storemerge1.reload, 2\n %31 = sext i32 %30 to i64\n %32 = add i64 %.reload5, %31\n %33 = zext i8 %29 to i32\n %34 = inttoptr i64 %32 to i8*\n %35 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %34, i32 3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %33)\n %36 = add i32 %storemerge1.reload, 1\n %37 = load i32, i32* %sv_0, align 4\n %38 = zext i32 %37 to i64\n %39 = sext i32 %36 to i64\n %40 = icmp slt i64 %39, %38\n %.pre = load i64, i64* %4, align 8\n store i64 %.pre, i64* %.reg2mem4\n store i64 %39, i64* %.reg2mem6\n store i32 %36, i32* %storemerge1.reg2mem\n store i64 %.pre, i64* %.reg2mem8\n br i1 %40, label LBL_6, label LBL_7\n LBL_7:\n %.reload9 = load i64, i64* %.reg2mem8\n %41 = load i64, i64* %sv_1, align 8\n %42 = icmp eq i64 %.reload9, %41\n store i64 %.reload9, i64* %rax.0.reg2mem\n br i1 %42, label LBL_9, label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64 %41)\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64* %4, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32* %sv_0, { 2, 0, 3, 1, 4 }\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %.reg2mem4, { 2, 0, 1 }\n uselistorder i64* %.reg2mem6, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "btrfs_alloc_free_block_5431", "fun_name": "btrfs_alloc_free_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i64 %2, i64 %1, i64 %1, i64 1, i64 %arg4, i64 %arg3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = icmp slt i32 %5, 0\n %8 = icmp eq i1 %7, false\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = and i64 %4, 4294967295\n %12 = call i64 @FUNC(i64 %11)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %13 = call i64 @FUNC(i64 %1, i64 %3)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %2, i64 %1, i64 %3, i64 1, i64 0)\n %17 = call i64 @FUNC(i64 4294967284)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %18 = call i64 @FUNC(i64 %13)\n %19 = and i64 %18, 4294967295\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 %13)\n %22 = call i64 @FUNC(i64 %13)\n %23 = call i64 @FUNC(i64 %13)\n %24 = inttoptr i64 %13 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %13, i64 %27)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %13, { 0, 5, 1, 6, 4, 3, 2, 7 }\n uselistorder i64 %1, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @ERR_PTR, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iser_snd_completion_4983", "fun_name": "iser_snd_completion", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %arg1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8, i64 %8, i64 128, i64 0)\n %10 = load i64, i64* @gv_0, align 8\n %11 = call i64 @FUNC(i64 %10, i64 %arg1)\n %12 = add i64 %2, 8\n %13 = call i64 @FUNC(i64 %12)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %14 = add i64 %2, 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = icmp eq i64 %arg1, 0\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_3\n LBL_3:\n %17 = inttoptr i64 %arg1 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = icmp eq i32 %18, 2\n %21 = icmp eq i1 %20, false\n store i64 %19, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\n %22 = add i64 %arg1, -8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = zext i32 %26 to i64\n %28 = icmp eq i32 %26, 0\n %29 = icmp eq i1 %28, false\n store i64 %27, i64* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i64 %22)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 5, 1 }\n uselistorder i64 (i64)* @atomic_dec, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0, 4, 3 }\n uselistorder label LBL_6, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvmx_handle_invept_6755", "fun_name": "nvmx_handle_invept", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64* nonnull %sv_1, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %6 = load i32, i32* %sv_0, align 4\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = trunc i64 %8 to i32\n switch i32 %9, label LBL_5 [\n i32 1, label LBL_3\n i32 2, label LBL_4\n ]\n LBL_3:\n %10 = load i64, i64* %sv_1, align 8\n %11 = load i64, i64* @gv_0, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %10)\n br label LBL_6\n LBL_4:\n %13 = load i64, i64* @gv_0, align 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 2, i64 0)\n br label LBL_6\n LBL_5:\n %18 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %19 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_thread_message_queue_set_err_send_3681", "fun_name": "av_thread_message_queue_set_err_send", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i32 @pthread_mutex_lock(i64* %arg1)\n %3 = add i64 %0, 88\n %4 = inttoptr i64 %3 to i32*\n store i32 %1, i32* %4, align 4\n %5 = add i64 %0, 40\n %6 = inttoptr i64 %5 to i64*\n %7 = call i32 @pthread_cond_broadcast(i64* %6)\n %8 = call i32 @pthread_mutex_unlock(i64* %arg1)\n %9 = sext i32 %8 to i64\n ret i64 %9\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rng_egd_finalize_1798", "fun_name": "rng_egd_finalize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0, i64 0)\n %6 = load i64, i64* %2, align 8\n %7 = call i64 @FUNC(i64 %6)\n br label LBL_2\n LBL_2:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %1)\n ret i64 %12\n\n uselistorder i64 %1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "anon_vma_alloc_5988", "fun_name": "anon_vma_alloc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %1, i64 1)\n %4 = add i64 %1, 4\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 %1, i64* %9, align 8\n %10 = add i64 %1, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 %1, i64* %11, align 8\n br label LBL_2\n LBL_2:\n ret i64 %1\n\n uselistorder i64 %1, { 5, 1, 0, 3, 2, 4, 7, 6, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsi_wsDumpQuery_9156", "fun_name": "jsi_wsDumpQuery", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge24.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = icmp eq i64 %arg3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %3, i64 1)\n %7 = call i64 @FUNC(i64 %3, i64 %2, i64 %6)\n store i64 %6, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %8 = trunc i64 %1 to i32\n %9 = and i64 %1, 4294967295\n %10 = icmp eq i32 %8, 0\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_10, label LBL_3\n LBL_3:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %11 = ptrtoint i32* %arg2 to i64\n %12 = add i64 %11, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = add i64 %11, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge24.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %16 = load i64, i64* %13, align 8\n %17 = zext i32 %storemerge24.reload to i64\n %18 = call i64 @FUNC(i64 %16, i64 %17)\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n %spec.select = select i1 %20, i64 %18, i64 ptrtoint (i64* @gv_0 to i64)\n br i1 %4, label LBL_8, label LBL_5\n LBL_5:\n %21 = load i64, i64* %15, align 8\n %22 = mul i64 %.reload, 8\n %23 = add i64 %21, %22\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %arg3, i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = add i32 %storemerge24.reload, 1\n store i32 %29, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %30 = call i64 @FUNC(i64 %3, i64 %2, i64 %spec.select)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %31 = call i64 @FUNC(i64 %3, i64 %spec.select)\n %32 = load i64, i64* %15, align 8\n %33 = mul i64 %.reload, 8\n %34 = add i64 %32, %33\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %3, i64 %sv_1.0.reload, i64 %36, i64 %31, i64 0)\n store i32 %storemerge24.reload, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %38 = add i32 %sv_0.0.reload, 1\n %39 = sext i32 %38 to i64\n %40 = icmp sgt i64 %9, %39\n store i64 %39, i64* %.reg2mem\n store i32 %38, i32* %storemerge24.reg2mem\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %40, label LBL_4, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %spec.select, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 2, 0, 4, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder label LBL_10, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ppc_tlb_invalidate_all_18593", "fun_name": "ppc_tlb_invalidate_all", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = trunc i64 %3 to i32\n %7 = and i64 %3, 4294967295\n store i64 %7, i64* @0, align 8\n switch i32 %6, label LBL_8 [\n i32 1, label LBL_1\n i32 2, label LBL_1\n i32 3, label LBL_2\n i32 4, label LBL_2\n i32 5, label LBL_3\n i32 6, label LBL_4\n i32 7, label LBL_5\n i32 8, label LBL_6\n i32 9, label LBL_7\n i32 10, label LBL_7\n i32 11, label LBL_7\n ]\n LBL_1:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %10 = ptrtoint i32* %arg1 to i64\n %11 = call i64 @FUNC(i64 %10)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %12 = ptrtoint i32* %arg1 to i64\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_4:\n %14 = ptrtoint i32* %arg1 to i64\n %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_5:\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_6:\n %18 = ptrtoint i32* %arg1 to i64\n %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_7:\n %20 = ptrtoint i32* %arg1 to i64\n %21 = call i64 @FUNC(i64 %20, i64 1)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %22 = ptrtoint i32* %arg1 to i64\n %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64 %7, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %5, { 4, 3, 2, 1, 0 }\n uselistorder i64 %4, { 3, 2, 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @cpu_abort, { 0, 4, 3, 2, 1 }\n uselistorder i32* %arg1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "keyctl_revoke_key_10784", "fun_name": "keyctl_revoke_key", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0)\n %1 = icmp ult i64 %0, -1000\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_open_confirm_9733", "fun_name": "decode_open_confirm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, -5\n br i1 %5, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = and i64 %3, 4294967295\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n %6 = and i64 %1, 4294967295\n %7 = and i64 %3, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n store i64 %7, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n ret i64 %.pre-phi.reload\n\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fx_Function_prototype_apply_19303", "fun_name": "fx_Function_prototype_apply", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.in.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.pre-phi6.reg2mem = alloca i32\n %.pre-phi8.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n store i64 %0, i64* %rdi, align 8\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = trunc i64 %0 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp slt i32 %3, 0\n %6 = icmp eq i1 %5, false\n %7 = icmp eq i1 %4, false\n %8 = icmp eq i1 %6, %7\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %9, align 4\n store i64 %1, i64* %.pre-phi8.reg2mem\n store i32 %3, i32* %.pre-phi6.reg2mem\n store i64 %0, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n %10 = add i32 %3, 1\n %11 = bitcast i64* %arg1 to i32*\n store i32 %10, i32* %11, align 4\n %sext10 = mul i64 %0, 4294967296\n %12 = ashr exact i64 %sext10, 30\n %13 = add i64 %12, %0\n %14 = inttoptr i64 %1 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = inttoptr i64 %13 to i32*\n store i32 %15, i32* %16, align 4\n %.pre4 = load i64, i64* %rdi, align 8\n %.pre5 = trunc i64 %.pre4 to i32\n %.pre7 = add i64 %.pre4, 4\n store i64 %.pre7, i64* %.pre-phi8.reg2mem\n store i32 %.pre5, i32* %.pre-phi6.reg2mem\n store i64 %.pre4, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %17 = bitcast i64* %rdi to i32*\n %.reload = load i64, i64* %.reg2mem\n %.pre-phi6.reload = load i32, i32* %.pre-phi6.reg2mem\n %.pre-phi8.reload = load i64, i64* %.pre-phi8.reg2mem\n %18 = add i32 %.pre-phi6.reload, 1\n %19 = inttoptr i64 %.reload to i32*\n store i32 %18, i32* %19, align 4\n %20 = load i32, i32* %17, align 8\n %21 = sext i32 %20 to i64\n %22 = mul i64 %21, 4\n %23 = add i64 %22, %.reload\n %24 = inttoptr i64 %.pre-phi8.reload to i32*\n %25 = load i32, i32* %24, align 4\n %26 = inttoptr i64 %23 to i32*\n store i32 %25, i32* %26, align 4\n %27 = load i32, i32* %17, align 8\n %28 = zext i32 %27 to i64\n %29 = icmp slt i32 %27, 2\n store i64 %28, i64* %rax.0.reg2mem\n br i1 %29, label LBL_11, label LBL_4\n LBL_4:\n %30 = load i64, i64* %rdi, align 8\n %31 = add i64 %30, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_11, label LBL_5\n LBL_5:\n %35 = zext i32 %33 to i64\n %36 = icmp eq i32 %33, 1\n %37 = icmp eq i1 %36, false\n store i64 %35, i64* %rax.0.reg2mem\n br i1 %37, label LBL_6, label LBL_11\n LBL_6:\n %38 = icmp eq i32 %33, 2\n store i64 %31, i64* %.pre-phi.reg2mem\n store i64 %30, i64* %.in.reg2mem\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n %39 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %40 = ptrtoint %_IO_FILE* %39 to i64\n store i64 %40, i64* %rdi, align 8\n %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n %.pre = add i64 %40, 8\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %40, i64* %.in.reg2mem\n br label LBL_8\n LBL_8:\n %.in.reload = load i64, i64* %.in.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %42 = trunc i64 %.in.reload to i32\n %43 = call i64 @FUNC(i64 %0, i64 %.pre-phi.reload)\n %44 = add i32 %42, 1\n %45 = bitcast i64* %arg1 to i32*\n store i32 %44, i32* %45, align 4\n %sext = mul i64 %.in.reload, 4294967296\n %46 = ashr exact i64 %sext, 30\n %47 = add i64 %46, %0\n %48 = add i64 %0, 8\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = inttoptr i64 %47 to i32*\n store i32 %50, i32* %51, align 4\n %52 = call i64 @FUNC(i64 %0, i64 0)\n store i64 %0, i64* %rdi, align 8\n %53 = call i64 @FUNC(i64 %0, i64 %0)\n store i64 %1, i64* %arg1, align 8\n %54 = icmp sgt i64 %53, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_9, label LBL_11\n LBL_9:\n %55 = add i32 %3, 1\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n store i32 %55, i32* %45, align 4\n %sext9 = mul i64 %0, 4294967296\n %56 = ashr exact i64 %sext9, 30\n %57 = add i64 %56, %0\n %58 = load i32, i32* %49, align 4\n %59 = inttoptr i64 %57 to i32*\n store i32 %58, i32* %59, align 4\n %60 = zext i32 %storemerge2.reload to i64\n store i64 %0, i64* %rdi, align 8\n %61 = call i64 @FUNC(i64 %0, i64 %60)\n %62 = add i32 %storemerge2.reload, 1\n %63 = sext i32 %62 to i64\n %64 = icmp sgt i64 %53, %63\n store i32 %62, i32* %storemerge2.reg2mem\n store i64 %63, i64* %rax.0.reg2mem\n br i1 %64, label LBL_10, label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge2.reload, { 1, 0 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i64 %.in.reload, { 1, 0 }\n uselistorder i32 %33, { 0, 1, 3, 2 }\n uselistorder i32 %3, { 1, 4, 0, 2, 3 }\n uselistorder i64 %1, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 8, 7, 3, 1, 10, 11, 12, 9, 14, 4, 13, 5, 2, 0, 6, 15, 16, 17 }\n uselistorder i64* %rdi, { 4, 3, 2, 6, 5, 0, 1 }\n uselistorder i64* %.pre-phi8.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.pre-phi6.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @fxGetID, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64 30, { 1, 2, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64* %arg1, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_11, { 0, 1, 4, 3, 2 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "SWFShape_setLeftFillStyle_13695", "fun_name": "SWFShape_setLeftFillStyle", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_11, label LBL_1\n LBL_1:\n %6 = add i64 %arg1, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = icmp eq i32 %8, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_11, label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %arg1)\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %16, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = or i32 %20, 1\n store i32 %21, i32* %19, align 4\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %22 = and i64 %12, 4294967295\n %23 = call i64 @FUNC(i64 %arg1, i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_7, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %22, i64 %arg1)\n %28 = call i64 @FUNC(i64 %arg1, i64 %22)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 0\n store i64 %28, i64* %rax.0.reg2mem\n br i1 %30, label LBL_11, label LBL_6\n LBL_6:\n %31 = call i64 @FUNC(i64 %arg1, i64 %22)\n %32 = trunc i64 %31 to i32\n store i32 %32, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_7:\n %33 = icmp slt i32 %24, 255\n store i32 %24, i32* %sv_0.0.reg2mem\n br i1 %33, label LBL_10, label LBL_8\n LBL_8:\n %34 = add i64 %arg1, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 1\n %38 = icmp eq i1 %37, false\n store i32 %24, i32* %sv_0.0.reg2mem\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_0, i64 0, i64 0))\n store i32 %24, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %40 = call i64 @FUNC(i64 %arg1)\n %41 = inttoptr i64 %40 to i32*\n store i32 %sv_0.0.reload, i32* %41, align 4\n %42 = add i64 %40, 4\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = or i32 %44, 1\n store i32 %45, i32* %43, align 4\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %22, { 0, 2, 1, 3 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 (i64, i64)* @getFillIdx, { 1, 0 }\n uselistorder i64 (i64)* @addStyleRecord, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 %arg1, { 5, 4, 1, 3, 2, 6, 0, 7 }\n uselistorder label LBL_11, { 3, 0, 4, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_unlinkat_2220", "fun_name": "v9fs_unlinkat", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_3)\n %2 = bitcast i32* %sv_1 to i64*\n %3 = bitcast i32* %sv_2 to i64*\n %4 = call i64 @FUNC(i64 %0, i64 7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %2, i64* nonnull %sv_3, i64* nonnull %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n store i64 %4, i64* %sv_0.1.reg2mem\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = load i64, i64* %sv_3, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 4294967294, i64* %sv_0.1.reg2mem\n br i1 %10, label LBL_2, label LBL_7\n LBL_2:\n %11 = load i32, i32* %sv_1, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967274, i64* %sv_0.1.reg2mem\n br i1 %15, label LBL_3, label LBL_7\n LBL_3:\n %16 = call i64 @FUNC(i64* nonnull %3)\n %17 = load i64, i64* %sv_3, align 8\n %18 = call i64 @FUNC(i64 %0, i64 %13, i64 %17, i64* nonnull %3)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n store i64 %18, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %0, i64* nonnull %3)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n store i64 %21, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = load i32, i32* %sv_2, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %0, i64 %13, i64* nonnull %sv_3, i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n %spec.select = select i1 %29, i64 %26, i64 7\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %30 = call i64 @FUNC(i64 %0, i64 %13)\n %31 = call i64 @FUNC(i64* nonnull %3)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %32 = and i64 %sv_0.1.reload, 4294967295\n %33 = call i64 @FUNC(i64 %0, i64 %32)\n %34 = call i64 @FUNC(i64* nonnull %sv_3)\n ret i64 %34\n\n uselistorder i64 %13, { 1, 0, 2, 3 }\n uselistorder i64* %3, { 1, 0, 2, 3, 4 }\n uselistorder i64* %sv_3, { 0, 1, 4, 5, 2, 3 }\n uselistorder i64 %0, { 5, 2, 0, 1, 3, 4, 6 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_write_xer_1558", "fun_name": "gen_write_xer", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = and i64 %arg1, 4294967295\n %3 = zext i32 %1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %2, i64 4294967264)\n %5 = load i32, i32* @gv_1, align 4\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6, i32 %0, i64 2, i64 1)\n %8 = load i32, i32* @gv_2, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9, i32 %0, i64 4, i64 1)\n %11 = load i32, i32* @gv_3, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12, i32 %0, i64 0, i64 1)\n %14 = load i32, i32* @gv_4, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15, i32 %0, i64 1, i64 1)\n %17 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18, i32 %0, i64 3, i64 1)\n ret i64 %19\n\n uselistorder i64 (i64, i32, i64, i64)* @tcg_gen_extract_tl, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 2, 1, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__bprm_mm_init_6608", "fun_name": "__bprm_mm_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = zext i32 %1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = icmp eq i64 %3, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_5\n LBL_1:\n %8 = call i64 @FUNC(i64 %0)\n %9 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %9, align 8\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 4294967295, i64* %11, align 8\n %12 = add i64 %3, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 4294963199, i64* %13, align 8\n %14 = add i64 %3, 24\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = call i64 @FUNC(i64 0)\n %17 = trunc i64 %16 to i32\n %18 = add i64 %3, 28\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %3, 32\n %21 = call i64 @FUNC(i64 %20)\n %22 = load i64, i64* %13, align 8\n %23 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0, i64 %22, i64 1)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_4, label LBL_2\n LBL_2:\n %27 = call i64 @FUNC(i64 %0, i64 %3)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %27, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_4, label LBL_3\n LBL_3:\n %31 = inttoptr i64 %4 to i32*\n store i32 1, i32* %31, align 4\n %32 = add i64 %0, 4\n %33 = inttoptr i64 %32 to i32*\n store i32 1, i32* %33, align 4\n %34 = call i64 @FUNC(i64 %0)\n %35 = load i64, i64* %11, align 8\n %36 = add i64 %35, -8\n %37 = add i64 %0, 16\n %38 = inttoptr i64 %37 to i64*\n store i64 %36, i64* %38, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %39 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %5, align 8\n %40 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64 %41, i64 %3)\n %43 = and i64 %sv_0.0.reload, 4294967295\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5, 6, 7, 9, 8 }\n uselistorder i64 %0, { 4, 0, 1, 2, 3, 6, 5, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @up_write, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_dumpable_8229", "fun_name": "set_dumpable", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 2\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = icmp sgt i32 %0, 2\n br i1 %2, label LBL_6, label LBL_2\n LBL_2:\n switch i32 %0, label LBL_6 [\n i32 0, label LBL_3\n i32 1, label LBL_4\n ]\n LBL_3:\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 0, i64 %3)\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC(i64 1, i64 %3)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 0, i64 %7)\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC(i64 1, i64 %7)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %11 = ptrtoint i32* %arg1 to i64\n %12 = call i64 @FUNC(i64 1, i64 %11)\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC(i64 0, i64 %11)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @set_bit, { 2, 1, 0 }\n uselistorder i64 ()* @smp_wmb, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @clear_bit, { 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32* %arg1, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "show_object_6184", "fun_name": "show_object", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = call i64 @FUNC(i64 %1)\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "field_end_3661", "fun_name": "field_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %5, align 4\n %6 = icmp eq i32 %1, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %0, 24\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 1\n %17 = add i64 %0, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = zext i1 %16 to i64\n %21 = call i64 @FUNC(i64 %19, i64 2147483647, i64 %20)\n br label LBL_3\n LBL_3:\n %22 = load i64, i64* %3, align 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = urem i32 %26, 2\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i64 @FUNC(i64 %0)\n br label LBL_5\n LBL_5:\n br i1 %7, label LBL_7, label LBL_6\n LBL_6:\n %sext3 = mul i64 %4, 4294967296\n %30 = ashr exact i64 %sext3, 32\n %31 = add nsw i64 %30, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = urem i32 %33, 2\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 %30, i64* %.pre-phi.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %36, label LBL_10, label LBL_7\n LBL_7:\n %37 = add i64 %0, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %41, label LBL_9, label LBL_8\n LBL_8:\n %42 = add i64 %0, 36\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = add i64 %0, 32\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %0, i64 %48, i32 %44)\n %50 = add i64 %0, 40\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %0, 48\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = add i64 %0, 44\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i64 %0, 52\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n store i64 %49, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %60 = add i64 %0, 56\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = add i64 %0, 64\n %64 = inttoptr i64 %63 to i32*\n store i32 %62, i32* %64, align 4\n %65 = add i64 %0, 60\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i64 %0, 68\n %69 = inttoptr i64 %68 to i32*\n store i32 %67, i32* %69, align 4\n %70 = add i64 %0, 72\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = add i64 %0, 76\n %74 = inttoptr i64 %73 to i32*\n store i32 %72, i32* %74, align 4\n %.pre = mul i64 %4, 4294967296\n %.pre6 = ashr exact i64 %.pre, 32\n store i64 %.pre6, i64* %.pre-phi.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %75 = trunc i64 %4 to i32\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %76 = add nsw i64 %.pre-phi.reload, 16\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = icmp eq i64 %78, 0\n %80 = icmp slt i32 %75, 0\n %81 = icmp eq i1 %80, false\n %or.cond = or i1 %81, %79\n br i1 %or.cond, label LBL_12, label LBL_11\n LBL_11:\n %82 = call i64 @FUNC(i64 %.pre-phi.reload, i64 1, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_12\n LBL_12:\n %83 = load i64, i64* %3, align 8\n %84 = inttoptr i64 %83 to i64*\n %85 = load i64, i64* %84, align 8\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = urem i32 %87, 2\n %89 = icmp eq i32 %88, 0\n br i1 %89, label LBL_14, label LBL_13\n LBL_13:\n %90 = call i64 @FUNC(i64 %0)\n br label LBL_14\n LBL_14:\n %91 = call i64 @FUNC(i64 %0)\n %92 = call i64 @FUNC(i64 %0)\n %93 = add i64 %0, 80\n %94 = inttoptr i64 %93 to i32*\n store i32 0, i32* %94, align 4\n %95 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %95\n\n uselistorder i64 %.pre-phi.reload, { 1, 0 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %0, { 10, 12, 11, 13, 15, 14, 17, 16, 19, 18, 4, 3, 5, 8, 9, 7, 6, 20, 21, 1, 2, 0, 22 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tipc_bearer_stop_12646", "fun_name": "tipc_bearer_stop", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem14 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem12 = alloca i64\n %.reg2mem10 = alloca i64\n %indvars.iv4.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n store i64 %0, i64* %.reg2mem\n store i64 0, i64* %indvars.iv4.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_8, label LBL_1\n LBL_1:\n %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %2 = mul nuw nsw i64 %indvars.iv4.reload, 60\n %3 = add i64 %2, %.reload\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n store i64 %.reload, i64* %.reg2mem10\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = add i64 %3, 56\n %8 = inttoptr i64 %7 to i32*\n store i32 1, i32* %8, align 4\n %.pre = load i64, i64* @gv_0, align 8\n store i64 %.pre, i64* %.reg2mem10\n br label LBL_3\n LBL_3:\n %.reload11 = load i64, i64* %.reg2mem10\n %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1\n %exitcond6 = icmp eq i64 %indvars.iv.next5, 10\n store i64 %.reload11, i64* %.reg2mem\n store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem\n store i64 %.reload11, i64* %.reg2mem12\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond6, label LBL_4, label LBL_1\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.reload13 = load i64, i64* %.reg2mem12\n %9 = mul nuw nsw i64 %indvars.iv.reload, 60\n %10 = add i64 %9, %.reload13\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n store i64 %.reload13, i64* %.reg2mem14\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = add i64 %10, 4\n %15 = call i64 @FUNC(i64 %14)\n %.pre7 = load i64, i64* @gv_0, align 8\n store i64 %.pre7, i64* %.reg2mem14\n br label LBL_6\n LBL_6:\n %.reload15 = load i64, i64* %.reg2mem14\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %.reload15, i64* %.reg2mem12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n %16 = call i64 @FUNC(i64 %.reload15)\n %17 = load i64, i64* @gv_1, align 8\n %18 = call i64 @FUNC(i64 %17)\n store i64 0, i64* @gv_0, align 8\n store i64 0, i64* @gv_1, align 8\n store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem10, { 0, 2, 1 }\n uselistorder i64* %.reg2mem12, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem14, { 0, 2, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 10, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 60, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jas_realloc_13558", "fun_name": "jas_realloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i32 %0, i64 %arg2)\n %2 = inttoptr i64 %arg1 to i64*\n %3 = trunc i64 %arg2 to i32\n %4 = call i64* @realloc(i64* %2, i32 %3)\n %5 = ptrtoint i64* %4 to i64\n %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64* %2, i64 %arg2, i64* %4)\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tilde_expand_filename_18263", "fun_name": "tilde_expand_filename", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca %passwd*\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %6 = trunc i64 %3 to i8\n %7 = icmp eq i8 %6, 126\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %arg1)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_2:\n %9 = add i64 %arg1, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = call i8* @strchr(i8* %10, i32 47)\n %12 = ptrtoint i8* %11 to i64\n %13 = icmp eq i8* %11, null\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = sub i64 %12, %9\n %15 = trunc i64 %14 to i32\n store i32 %15, i32* %storemerge2.reg2mem\n br label LBL_5\n LBL_4:\n %16 = call i32 @strlen(i8* %10)\n store i32 %16, i32* %storemerge2.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %17 = icmp eq i32 %storemerge2.reload, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = trunc i64 %arg2 to i32\n %20 = call %passwd* @getpwuid(i32 %19)\n store %passwd* %20, %passwd** %storemerge.in.reg2mem\n br label LBL_10\n LBL_7:\n %21 = icmp ult i32 %storemerge2.reload, 100\n br i1 %21, label LBL_9, label LBL_8\n LBL_8:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 47, i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_9:\n %23 = ptrtoint i64* %sv_1 to i64\n %24 = zext i32 %storemerge2.reload to i64\n %25 = inttoptr i64 %9 to i64*\n %26 = call i64* @memcpy(i64* nonnull %sv_0, i64* %25, i32 %storemerge2.reload)\n %27 = add i64 %23, -160\n %28 = add i64 %27, %24\n %29 = inttoptr i64 %28 to i8*\n store i8 0, i8* %29, align 1\n %30 = bitcast i64* %sv_0 to i8*\n %31 = call %passwd* @getpwnam(i8* nonnull %30)\n store i64 %9, i64* %rcx.0.reg2mem\n store i64 %24, i64* %rdx.0.reg2mem\n store %passwd* %31, %passwd** %storemerge.in.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.in.reload = load %passwd*, %passwd** %storemerge.in.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %32 = icmp eq %passwd* %storemerge.in.reload, null\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %34 = ptrtoint i64* %sv_0 to i64\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %34, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n unreachable\n LBL_12:\n %storemerge = ptrtoint %passwd* %storemerge.in.reload to i64\n %36 = icmp eq i1 %13, false\n %37 = add i64 %storemerge, 32\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n br i1 %36, label LBL_14, label LBL_13\n LBL_13:\n %40 = call i64 @FUNC(i64 %39)\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_14:\n %41 = inttoptr i64 %39 to i8*\n %42 = call i32 @strlen(i8* %41)\n %43 = add i64 %12, 1\n %44 = inttoptr i64 %43 to i8*\n %45 = call i32 @strlen(i8* %44)\n %46 = add i32 %45, %42\n %47 = add i32 %46, 2\n %48 = icmp slt i32 %47, 4097\n br i1 %48, label LBL_16, label LBL_15\n LBL_15:\n %49 = add i32 %46, 1\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %50, i64 4095, i64 %rcx.0.reload, i64 %2, i64 %1)\n unreachable\n LBL_16:\n %52 = sext i32 %47 to i64\n %53 = call i64 @FUNC(i64 %52)\n %54 = load i64, i64* %38, align 8\n %55 = inttoptr i64 %53 to i8*\n %56 = inttoptr i64 %54 to i8*\n %57 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %55, i32 %47, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* %56, i8* %44)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %39, { 1, 0 }\n uselistorder i32 %storemerge2.reload, { 2, 3, 1, 0 }\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0, { 2, 0, 1 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder %passwd** %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @fatal, { 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0, 3 }\n uselistorder i64 (i64)* @xstrdup, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_dimension_1215", "fun_name": "get_dimension", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 3)\n %sext = mul i64 %2, 4294967296\n %3 = ashr exact i64 %sext, 30\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i32 %6, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1)\n %10 = trunc i64 %9 to i32\n %11 = sub i32 %10, %6\n %12 = sext i32 %11 to i64\n %13 = mul i64 %12, 4\n %14 = add i64 %13, %0\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n store i32 %16, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %17 = icmp eq i32 %sv_0.0.reload, 0\n %18 = icmp eq i1 %17, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %18, label LBL_5, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %1)\n %20 = trunc i64 %19 to i32\n %21 = icmp sgt i32 %20, 7\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %21, label LBL_4, label LBL_6\n LBL_4:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %22 = call i64 @FUNC(i64 %1, i64 8)\n %23 = trunc i64 %22 to i32\n %24 = mul i32 %23, 4\n %25 = add i32 %24, %sv_0.1.reload\n %26 = icmp eq i32 %23, 255\n store i32 %25, i32* %sv_0.1.reg2mem\n store i32 %25, i32* %sv_0.2.reg2mem\n br i1 %26, label LBL_3, label LBL_5\n LBL_5:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %27 = zext i32 %sv_0.2.reload to i64\n store i64 %27, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %23, { 1, 0 }\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 2, 0, 3 }\n uselistorder i32* %sv_0.1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lookup_one_len_9474", "fun_name": "lookup_one_len", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i8*, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %8 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %7)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %9 = ashr exact i64 %sext, 32\n %10 = ptrtoint i8* %arg1 to i64\n %11 = bitcast i8** %sv_1 to i64*\n store i64 %10, i64* %11, align 8\n %12 = and i64 %9, 4294967295\n %13 = call i64 @FUNC(i64 %10, i64 %12)\n %14 = trunc i64 %9 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 -13, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_16\n LBL_3:\n %17 = trunc i64 %1 to i8\n %18 = icmp eq i8 %17, 46\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_7, label LBL_4\n LBL_4:\n %20 = icmp slt i32 %14, 2\n store i64 -13, i64* %rax.0.reg2mem\n br i1 %20, label LBL_16, label LBL_5\n LBL_5:\n %21 = icmp eq i32 %14, 2\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = add i64 %10, 1\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp eq i8 %25, 46\n %27 = icmp eq i1 %26, false\n store i64 -13, i64* %rax.0.reg2mem\n br i1 %27, label LBL_7, label LBL_16\n LBL_7:\n store i8* %arg1, i8** %.reg2mem\n store i64 %9, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %.reload = load i8*, i8** %.reg2mem\n %28 = mul i64 %sv_0.0.reload, 4294967296\n %sext5 = add i64 %28, -4294967296\n %29 = ashr exact i64 %sext5, 32\n %30 = ptrtoint i8* %.reload to i64\n %31 = add i64 %30, 1\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %.reload, align 1\n %34 = icmp ne i8 %33, 47\n %35 = icmp eq i8 %33, 0\n %36 = icmp eq i1 %35, false\n %or.cond = icmp eq i1 %34, %36\n store i8* %32, i8** %.reg2mem\n store i64 %29, i64* %sv_0.0.reg2mem\n store i64 -13, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_16\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %37 = icmp eq i64 %sv_0.0.reload, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_8, label LBL_10\n LBL_10:\n %39 = add i64 %2, 8\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = urem i32 %41, 2\n %43 = icmp eq i32 %42, 0\n store i64 %12, i64* %rsi.0.reg2mem\n br i1 %43, label LBL_13, label LBL_11\n LBL_11:\n %44 = ptrtoint i8** %sv_1 to i64\n %45 = trunc i64 %2 to i32\n %46 = icmp slt i32 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %44, i64* %rsi.0.reg2mem\n br i1 %47, label LBL_13, label LBL_12\n LBL_12:\n %sext6 = mul i64 %2, 4294967296\n %48 = ashr exact i64 %sext6, 32\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_13:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %49 = call i64 @FUNC(i64 %rsi.0.reload, i64 1)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n br i1 %51, label LBL_15, label LBL_14\n LBL_14:\n %sext7 = mul i64 %49, 4294967296\n %52 = ashr exact i64 %sext7, 32\n store i64 %52, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %53 = call i64 @FUNC(i64* nonnull %11, i64 %2, i64 0)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %14, { 1, 0, 2 }\n uselistorder i64 %10, { 0, 2, 1 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i8** %sv_1, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 3, 2, 4 }\n uselistorder i8** %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 1, 3, 2, 4 }\n uselistorder i64 -13, { 0, 2, 1, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1 }\n uselistorder label LBL_16, { 4, 5, 6, 0, 2, 1, 3 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tree_evaluate_12917", "fun_name": "tree_evaluate", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i32\n %sv_1.0.in7.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp ugt i32 %2, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = and i64 %1, 4294967295\n store i64 %7, i64* %sv_1.0.in7.in.reg2mem\n store i32 1, i32* %sv_0.06.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.in7.in.reload = load i64, i64* %sv_1.0.in7.in.reg2mem\n %sv_1.0.in7 = add i64 %sv_1.0.in7.in.reload, 16\n %9 = add i64 %sv_1.0.in7.in.reload, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %sv_1.0.in7, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_8\n LBL_3:\n %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem\n %sv_1.08 = inttoptr i64 %sv_1.0.in7 to i32*\n %17 = load i32, i32* %sv_1.08, align 4\n %18 = and i32 %17, 2\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %sv_1.0.in7, i64 %12, i64 %4)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %24, label LBL_5, label LBL_8\n LBL_5:\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %sv_1.0.in7)\n %26 = call i64 @FUNC(i64 %4, i64 %sv_1.0.in7)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = and i64 %26, 4294967295\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %30 = add i32 %sv_0.06.reload, 1\n %31 = sext i32 %30 to i64\n %32 = icmp sgt i64 %8, %31\n store i64 %sv_1.0.in7, i64* %sv_1.0.in7.in.reg2mem\n store i32 %30, i32* %sv_0.06.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_2, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.in7, { 0, 4, 3, 2, 5, 1 }\n uselistorder i64 %sv_1.0.in7.in.reload, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_1.0.in7.in.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.06.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 2, 1, 4 }\n uselistorder i64 1, { 1, 0, 2, 3 }\n uselistorder label LBL_8, { 2, 4, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jq_compile_args_4493", "fun_name": "jq_compile_args", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %3, i64 %6)\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 1\n br i1 %10, label LBL_3, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 2\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 94, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %14 = inttoptr i64 %arg2 to i8*\n %15 = call i32 @strlen(i8* %14)\n %16 = sext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %arg2, i64 %16)\n store i64 %17, i64* %sv_1, align 8\n %18 = call i64 @FUNC(i64 %3)\n %19 = add i64 %3, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n store i64 %17, i64* %.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %21)\n store i64 0, i64* %20, align 8\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %24 = call i64 @FUNC(i64 %3, i64 %.reload, i64* nonnull %sv_1)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_8, label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i32 %29, i32* %sv_0.0.reg2mem\n br i1 %31, label LBL_9, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC()\n %33 = load i64, i64* %sv_1, align 8\n %34 = call i64 @FUNC(i64 %19, i64 %33)\n %35 = trunc i64 %34 to i32\n store i32 %35, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %36 = call i64 @FUNC()\n store i32 %25, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %37 = icmp eq i32 %sv_0.0.reload, 0\n br i1 %37, label LBL_11, label LBL_10\n LBL_10:\n %38 = icmp slt i32 %sv_0.0.reload, 2\n %39 = zext i32 %sv_0.0.reload to i64\n %40 = select i1 %38, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0)\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0), i64 %39, i8* %40, i64 %.reload, i64 %2, i64 %1)\n %42 = call i64 @FUNC(i64 %3)\n br label LBL_11\n LBL_11:\n %43 = load i64, i64* %20, align 8\n %44 = icmp eq i64 %43, 0\n br i1 %44, label LBL_13, label LBL_12\n LBL_12:\n %45 = call i64 @FUNC(i64 %43)\n store i64 %45, i64* %20, align 8\n br label LBL_13\n LBL_13:\n %46 = load i64, i64* %sv_1, align 8\n %47 = call i64 @FUNC(i64 %46)\n %48 = load i64, i64* %20, align 8\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n %51 = zext i1 %50 to i64\n ret i64 %51\n\n uselistorder i64* %20, { 1, 3, 2, 0, 4 }\n uselistorder i64* %sv_1, { 3, 4, 1, 2, 0, 5 }\n uselistorder i64 %3, { 1, 0, 2, 5, 4, 3, 6, 7 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 ()* @jv_get_kind, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2cap_check_enc_key_size_5775", "fun_name": "l2cap_check_enc_key_size", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 0, i64 %0)\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 1\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %0, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp sgt i32 %7, 6\n %spec.select = zext i1 %8 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smc_smcr_terminate_all_13156", "fun_name": "smc_smcr_terminate_all", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge710.in.in.in.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.012.reg2mem = alloca i64\n %storemerge413.in.reg2mem = alloca i64*\n %indvars.iv.reg2mem = alloca i64\n %storemerge314.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64* inttoptr (i64 add (i64 ptrtoint (i64* @gv_1 to i64), i64 72) to i64*), i64** %storemerge413.in.reg2mem\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %sv_0.012.reg2mem\n br i1 %3, label LBL_8, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64* nonnull @gv_1, i64* nonnull %sv_1)\n %5 = ptrtoint i64* %sv_1 to i64\n store i64 %5, i64* %storemerge314.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge314.reload = load i64, i64* %storemerge314.reg2mem\n %6 = add i64 %storemerge314.reload, 64\n %7 = inttoptr i64 %6 to i8*\n store i8 1, i8* %7, align 1\n %8 = add i64 %storemerge314.reload, 72\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %storemerge314.reg2mem\n store i64 %5, i64* %.pre-phi.reg2mem\n br i1 %12, label LBL_2, label LBL_10\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %13 = mul i64 %indvars.iv.reload, 8\n %14 = add i64 %13, %sv_0.012.reload\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, %0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %14)\n br label LBL_5\n LBL_5:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n %20 = icmp eq i64 %storemerge413, 0\n br i1 %20, label LBL_9, label LBL_7\n LBL_7:\n %21 = add i64 %storemerge413, 72\n %22 = inttoptr i64 %21 to i64*\n store i64* %22, i64** %storemerge413.in.reg2mem\n store i64 %storemerge413, i64* %sv_0.012.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem\n %storemerge413.in.reload = load i64*, i64** %storemerge413.in.reg2mem\n %storemerge413 = load i64, i64* %storemerge413.in.reload, align 8\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_9:\n %.pre = ptrtoint i64* %sv_1 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %23 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 %.pre-phi.reload, i64* %storemerge710.in.in.in.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge710.in.in.in.reload = load i64, i64* %storemerge710.in.in.in.reg2mem\n %storemerge710.in.in = add i64 %storemerge710.in.in.in.reload, 72\n %storemerge710.in = inttoptr i64 %storemerge710.in.in to i64*\n %storemerge710 = load i64, i64* %storemerge710.in, align 8\n %24 = add i64 %storemerge710.in.in.in.reload, 80\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %storemerge710.in.in.in.reload, i64 1)\n %27 = call i64 @FUNC(i64 %storemerge710.in.in.in.reload, i64 0)\n %28 = icmp eq i64 %storemerge710, 0\n store i64 %storemerge710, i64* %storemerge710.in.in.in.reg2mem\n br i1 %28, label LBL_12, label LBL_11\n LBL_12:\n br i1 %2, label LBL_15, label LBL_13\n LBL_13:\n %29 = call i64 @FUNC(i64 %0)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n store i64 %29, i64* %rax.0.reg2mem\n br i1 %31, label LBL_17, label LBL_14\n LBL_14:\n %32 = call i64 @FUNC(i64 %0)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = zext i1 %34 to i64\n %36 = call i64 @FUNC(i64 %35)\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_15:\n %37 = call i64 @FUNC(i64 ptrtoint (i32* @gv_2 to i64))\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n store i64 %37, i64* %rax.0.reg2mem\n br i1 %39, label LBL_17, label LBL_16\n LBL_16:\n %40 = call i64 @FUNC(i64 ptrtoint (i32* @gv_2 to i64))\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = zext i1 %42 to i64\n %44 = call i64 @FUNC(i64 %43)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge710.in.in.in.reload, { 3, 2, 1, 0 }\n uselistorder i64 %storemerge413, { 2, 1, 0 }\n uselistorder i64* %sv_1, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %storemerge314.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64** %storemerge413.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.012.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge710.in.in.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 ptrtoint (i32* @gv_2 to i64), { 1, 0 }\n uselistorder i64 (i64)* @wait_event, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i64)* @atomic_read, { 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 72, { 0, 2, 3, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dvvideo_init_encoder_17571", "fun_name": "dvvideo_init_encoder", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %15, i64 %11)\n %18 = call i64 @FUNC(i64 %2, i64 0)\n store i64 22, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %19 = call i64 @FUNC(i64 %2)\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 2, 1, 0, 3, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 0, { 4, 5, 2, 3, 0, 1, 6 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_scsi_load_2059", "fun_name": "virtio_scsi_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = and i64 %2, 4294967295\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dtrie_destroy_4077", "fun_name": "dtrie_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = trunc i64 %arg3 to i32\n %3 = call i64 @FUNC(i64 %1, i64 %1, i64 %arg2, i32 %2)\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %1)\n %5 = call i64 @FUNC(i64 ptrtoint ([17 x i8]* @gv_0 to i64))\n %6 = call i64 @FUNC(i64 ptrtoint ([17 x i8]* @gv_0 to i64))\n store i64 0, i64* %arg1, align 8\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @shm_free, { 1, 0 }\n uselistorder [17 x i8]* @gv_0, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "thr_recvmsg_17996", "fun_name": "thr_recvmsg", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = call i32 @socket(i32 2, i32 2, i32 0)\n %1 = icmp eq i32 %0, -1\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n store i64 0, i64* %sv_1, align 8\n %3 = call i16 @htons(i16 6543)\n %4 = bitcast i64* %sv_1 to %sockaddr*\n %5 = call i32 @bind(i32 %0, %sockaddr* nonnull %4, i32 16)\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_4:\n store i64 0, i64* %sv_0, align 8\n %8 = bitcast i64* %sv_0 to %msghdr*\n %9 = call i32 @recvmsg(i32 %0, %msghdr* nonnull %8, i32 0)\n %10 = icmp eq i32 %9, -1\n br i1 %10, label LBL_6, label LBL_5\n LBL_5:\n call void @perror(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_6:\n %11 = call i32* @__errno_location()\n %12 = load i32, i32* %11, align 4\n %13 = sext i32 %12 to i64\n ret i64 %13\n\n uselistorder void (i32)* @exit, { 2, 1, 0 }\n uselistorder void (i8*)* @perror, { 0, 2, 1 }\n uselistorder i32 1, { 0, 1, 2, 4, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_device_enable_2994", "fun_name": "qvirtio_pci_device_enable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %2, i64* %4, align 8\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_proc_fsinfo_9219", "fun_name": "nfs4_proc_fsinfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %4, i64 %3, i64 %2)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = trunc i64 %1 to i32\n %15 = bitcast i64* %arg1 to i32*\n store i32 %14, i32* %15, align 4\n %16 = add i64 %2, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = call i64 @FUNC(i64 %4, i64 %3, i32 %18)\n br label LBL_2\n LBL_2:\n %20 = and i64 %10, 4294967295\n ret i64 %20\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_bt_handle_data_16663", "fun_name": "usb_bt_handle_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_11, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n store i64 4294967295, i64* %sv_0.0.reg2mem\n switch i32 %4, label LBL_11 [\n i32 1, label LBL_2\n i32 2, label LBL_8\n ]\n LBL_2:\n %5 = ptrtoint i32* %arg2 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 16\n %10 = icmp eq i32 %9, 5\n br i1 %10, label LBL_7, label LBL_3\n LBL_3:\n %11 = icmp ugt i32 %9, 5\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_11, label LBL_4\n LBL_4:\n store i64 4294967295, i64* %sv_0.0.reg2mem\n switch i32 %9, label LBL_11 [\n i32 3, label LBL_5\n i32 4, label LBL_6\n ]\n LBL_5:\n %12 = add i64 %3, 8\n %13 = call i64 @FUNC(i64 %12, i64 %5)\n store i64 %13, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_6:\n %14 = add i64 %3, 16\n %15 = call i64 @FUNC(i64 %14, i64 %5)\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_7:\n %16 = add i64 %3, 24\n %17 = call i64 @FUNC(i64 %16, i64 %5)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_8:\n %18 = ptrtoint i32* %arg2 to i64\n %19 = add i64 %18, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = urem i32 %21, 16\n store i64 4294967295, i64* %sv_0.0.reg2mem\n switch i32 %22, label LBL_11 [\n i32 4, label LBL_9\n i32 5, label LBL_10\n ]\n LBL_9:\n %23 = add i64 %18, 16\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %18, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = add i64 %3, 48\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = add i64 %3, 32\n %35 = zext i32 %25 to i64\n %36 = call i64 @FUNC(i64 %3, i64 %34, i64 %33, i64 4198744, i64 %28, i64 %35)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_10:\n %37 = add i64 %18, 16\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %18, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = add i64 %3, 48\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = add i64 %45, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = add i64 %3, 40\n %50 = zext i32 %39 to i64\n %51 = call i64 @FUNC(i64 %3, i64 %49, i64 %48, i64 4198751, i64 %42, i64 %50)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %52 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %52\n\n uselistorder i64 %18, { 1, 0, 3, 2, 4 }\n uselistorder i32 %9, { 2, 1, 0 }\n uselistorder i64 %5, { 2, 0, 1, 3 }\n uselistorder i64 %3, { 1, 2, 0, 5, 4, 3, 8, 6, 7 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 7, 5, 10, 8, 9, 4, 2, 3, 1 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @usb_bt_fifo_out_enqueue, { 1, 0 }\n uselistorder i64 (i64, i64)* @usb_bt_fifo_dequeue, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_11, { 6, 5, 4, 9, 8, 7, 3, 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "create_pbuf_12548", "fun_name": "create_pbuf", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 14\n %1 = urem i64 %0, 65536\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %arg1, 281474976710656\n %4 = ashr exact i64 %sext, 48\n %5 = inttoptr i64 %2 to i16*\n %6 = trunc i64 %4 to i16\n store i16 %6, i16* %5, align 2\n %7 = add i64 %2, 2\n %8 = inttoptr i64 %7 to i16*\n store i16 10, i16* %8, align 2\n %9 = add i64 %2, 14\n %10 = trunc i64 %4 to i32\n %11 = inttoptr i64 %9 to i64*\n %12 = bitcast i32* %arg2 to i64*\n %13 = urem i32 %10, 65536\n %14 = call i64* @memcpy(i64* %11, i64* %12, i32 %13)\n br label LBL_2\n LBL_2:\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fib6_info_alloc_13139", "fun_name": "fib6_info_alloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 24, i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = add i64 %1, 8\n %6 = call i64 @FUNC(i64 %5, i64 1)\n %7 = add i64 %1, 16\n %8 = call i64 @FUNC(i64 %7)\n store i64 %1, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtqueue_flush_1935", "fun_name": "virtqueue_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %2, 10\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = trunc i64 %3 to i16\n %10 = sub i16 %8, %9\n store i16 %10, i16* %7, align 2\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %11 = call i64 @FUNC()\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i64 %2, i64 %12)\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = trunc i64 %3 to i16\n %18 = add i16 %16, %17\n %19 = zext i16 %18 to i64\n %20 = call i64 @FUNC(i64 %2, i64 %19)\n %21 = add i64 %2, 10\n %22 = inttoptr i64 %21 to i16*\n %23 = load i16, i16* %22, align 2\n %24 = sub i16 %23, %17\n store i16 %24, i16* %22, align 2\n %25 = add i64 %2, 12\n %26 = inttoptr i64 %25 to i16*\n %27 = load i16, i16* %26, align 2\n %28 = sub i16 %18, %27\n %29 = sext i16 %28 to i32\n %30 = trunc i64 %3 to i32\n %31 = urem i32 %30, 65536\n %32 = sub nsw i32 %29, %31\n %33 = xor i32 %32, -2147483648\n %34 = and i32 %33, %29\n %35 = icmp slt i32 %34, 0\n %36 = icmp slt i32 %32, 0\n %37 = icmp ne i1 %36, %35\n %38 = icmp eq i1 %37, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_4, label LBL_3\n LBL_3:\n %39 = add i64 %2, 14\n %40 = inttoptr i64 %39 to i8*\n store i8 0, i8* %40, align 1\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %32, { 1, 0 }\n uselistorder i16 %17, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 1, 3, 4, 6, 5, 8, 7, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "may_open_9567", "fun_name": "may_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_23\n LBL_1:\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_23\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %sext2 = mul i64 %arg3, 4294967296\n %8 = ashr exact i64 %sext2, 32\n %9 = trunc i64 %1 to i32\n %10 = and i32 %9, 61440\n %11 = icmp eq i32 %10, 49152\n br i1 %11, label LBL_13, label LBL_3\n LBL_3:\n %12 = icmp ugt i32 %10, 49152\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_14, label LBL_4\n LBL_4:\n %13 = icmp eq i32 %10, 40960\n store i64 4294967256, i64* %rax.0.reg2mem\n br i1 %13, label LBL_23, label LBL_5\n LBL_5:\n %14 = icmp ugt i32 %10, 40960\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_14, label LBL_6\n LBL_6:\n %15 = icmp eq i32 %10, 24576\n br i1 %15, label LBL_12, label LBL_7\n LBL_7:\n %16 = icmp ugt i32 %10, 24576\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_14, label LBL_8\n LBL_8:\n %17 = icmp eq i32 %10, 16384\n br i1 %17, label LBL_11, label LBL_9\n LBL_9:\n %18 = icmp ugt i32 %10, 16384\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_14, label LBL_10\n LBL_10:\n %trunc = trunc i32 %10 to i16\n store i64 %8, i64* %sv_0.0.reg2mem\n switch i16 %trunc, label LBL_14 [\n i16 4096, label LBL_13\n i16 8192, label LBL_12\n ]\n LBL_11:\n %19 = urem i64 %arg2, 2\n %20 = icmp eq i64 %19, 0\n store i64 %8, i64* %sv_0.0.reg2mem\n store i64 4294967275, i64* %rax.0.reg2mem\n br i1 %20, label LBL_14, label LBL_23\n LBL_12:\n %21 = add i64 %7, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = urem i32 %25, 2\n %27 = icmp eq i32 %26, 0\n store i64 4294967283, i64* %rax.0.reg2mem\n br i1 %27, label LBL_13, label LBL_23\n LBL_13:\n %28 = and i64 %8, -513\n store i64 %28, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %29 = and i64 %arg2, 4294967295\n %30 = call i64 @FUNC(i64 %7, i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_16, label LBL_15\n LBL_15:\n %33 = and i64 %30, 4294967295\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_16:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %34 = call i64 @FUNC(i64 %7)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_20, label LBL_17\n LBL_17:\n %37 = urem i64 %sv_0.0.reload, 4\n %38 = icmp eq i64 %37, 0\n br i1 %38, label LBL_19, label LBL_18\n LBL_18:\n %39 = and i64 %sv_0.0.reload, 1024\n %40 = icmp eq i64 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %41, label LBL_19, label LBL_23\n LBL_19:\n %42 = and i64 %sv_0.0.reload, 512\n %43 = icmp eq i64 %42, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %43, label LBL_20, label LBL_23\n LBL_20:\n %44 = and i64 %sv_0.0.reload, 2048\n %45 = icmp eq i64 %44, 0\n br i1 %45, label LBL_22, label LBL_21\n LBL_21:\n %46 = call i64 @FUNC(i64 %7)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %49, label LBL_22, label LBL_23\n LBL_22:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1, 3 }\n uselistorder i32 %10, { 0, 1, 5, 2, 6, 3, 7, 4, 8 }\n uselistorder i64 %8, { 6, 2, 0, 1, 3, 4, 5 }\n uselistorder i64 %7, { 1, 2, 3, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 3, 1, 2, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 10, 1, 2, 3, 9, 4, 5, 6, 7, 8 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_23, { 8, 0, 1, 2, 9, 3, 4, 5, 6, 7 }\n uselistorder label LBL_14, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder label LBL_13, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_block_is_passthrough_14437", "fun_name": "scsi_block_is_passthrough", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i16* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i8\n %4 = icmp ugt i8 %3, -86\n br i1 %4, label LBL_10, label LBL_1\n LBL_1:\n %5 = trunc i64 %1 to i32\n %6 = icmp ugt i8 %3, -121\n br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n %7 = icmp ugt i8 %3, 78\n br i1 %7, label LBL_10, label LBL_3\n LBL_3:\n %8 = icmp ugt i8 %3, 39\n br i1 %8, label LBL_6, label LBL_4\n LBL_4:\n switch i8 %3, label LBL_10 [\n i8 8, label LBL_9\n i8 10, label LBL_9\n ]\n LBL_5:\n %9 = add i64 %2, 56\n %10 = urem i64 %9, 64\n %11 = lshr i64 21474836485, %10\n %12 = urem i64 %11, 2\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i32 %5, 1\n %or.cond = or i1 %16, %15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_11\n LBL_6:\n %17 = add i64 %2, 24\n %18 = urem i64 %17, 64\n %19 = shl i64 1, %18\n %20 = and i64 %19, 274880004165\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n %23 = icmp eq i1 %22, false\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_9, label LBL_7\n LBL_7:\n %25 = and i64 %19, 17180917888\n %26 = icmp eq i64 %25, 0\n %27 = icmp eq i1 %26, false\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_8\n LBL_8:\n %29 = ptrtoint i16* %arg2 to i64\n %30 = add i64 %29, 1\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = and i8 %32, 6\n %34 = icmp eq i8 %33, 2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_10, label LBL_11\n LBL_9:\n %.old = icmp eq i32 %5, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %.old, label LBL_10, label LBL_11\n LBL_10:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i8 %3, { 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 1, 3, 4, 2, 5, 0, 6 }\n uselistorder i64 0, { 1, 2, 4, 5, 0, 6, 3 }\n uselistorder label LBL_11, { 3, 1, 2, 0 }\n uselistorder label LBL_10, { 2, 3, 6, 0, 1, 5, 4 }\n uselistorder label LBL_9, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "write_bootloader_7703", "fun_name": "write_bootloader", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %arg2, 1408\n %2 = udiv i64 %1, 4\n %3 = trunc i64 %2 to i32\n %4 = urem i32 %3, 67108864\n %5 = or i32 %4, 134217728\n %6 = add i64 %0, 4\n %7 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %7, align 4\n %8 = inttoptr i64 %6 to i32*\n store i32 0, i32* %8, align 4\n %9 = trunc i64 %arg2 to i8\n %10 = add i64 %0, 1280\n %11 = xor i8 %9, -128\n %12 = inttoptr i64 %10 to i8*\n store i8 %11, i8* %12, align 1\n %13 = add i64 %0, 1284\n %14 = add i8 %9, 60\n %15 = inttoptr i64 %13 to i8*\n store i8 %14, i8* %15, align 1\n %16 = add i64 %0, 1312\n %17 = inttoptr i64 %16 to i8*\n store i8 %11, i8* %17, align 1\n %18 = add i64 %0, 1324\n %19 = inttoptr i64 %18 to i8*\n store i8 %9, i8* %19, align 1\n %20 = add i64 %0, 1332\n %21 = add i8 %9, 8\n %22 = inttoptr i64 %20 to i8*\n store i8 %21, i8* %22, align 1\n %23 = add i64 %0, 1336\n %24 = inttoptr i64 %23 to i8*\n store i8 %9, i8* %24, align 1\n %25 = add i64 %0, 1340\n %26 = inttoptr i64 %25 to i8*\n store i8 %9, i8* %26, align 1\n %27 = add i64 %0, 1344\n %28 = inttoptr i64 %27 to i8*\n store i8 %9, i8* %28, align 1\n %29 = add i64 %0, 1348\n %30 = inttoptr i64 %29 to i8*\n store i8 %9, i8* %30, align 1\n %31 = add i64 %0, 1352\n %32 = inttoptr i64 %31 to i8*\n store i8 %9, i8* %32, align 1\n %33 = add i64 %0, 1356\n %34 = inttoptr i64 %33 to i8*\n store i8 %9, i8* %34, align 1\n %35 = add i64 %0, 1360\n %36 = inttoptr i64 %35 to i8*\n store i8 %9, i8* %36, align 1\n %37 = add i64 %0, 1364\n %38 = inttoptr i64 %37 to i8*\n store i8 %9, i8* %38, align 1\n %39 = add i64 %0, 1408\n %40 = add i64 %0, 1412\n %41 = inttoptr i64 %39 to i32*\n store i32 604241922, i32* %41, align 4\n %42 = add i64 %0, 1416\n %43 = inttoptr i64 %40 to i32*\n store i32 1008566271, i32* %43, align 4\n %44 = add i64 %0, 1420\n %45 = inttoptr i64 %42 to i32*\n store i32 935198656, i32* %45, align 4\n %46 = add i64 %0, 1424\n %47 = inttoptr i64 %44 to i32*\n store i32 1006993408, i32* %47, align 4\n %48 = add i64 %0, 1428\n %49 = inttoptr i64 %46 to i32*\n store i32 883228672, i32* %49, align 4\n %50 = add i64 %0, 1432\n %51 = inttoptr i64 %48 to i32*\n store i32 1007058944, i32* %51, align 4\n %52 = add i64 %0, 1436\n %53 = inttoptr i64 %50 to i32*\n store i32 885391368, i32* %53, align 4\n %54 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4\n %55 = udiv i32 %54, 65536\n %56 = add i64 %0, 1440\n %57 = or i32 %55, 1007091712\n %58 = inttoptr i64 %52 to i32*\n store i32 %57, i32* %58, align 4\n %59 = load i32, i32* @gv_0, align 4\n %60 = add i64 %0, 1444\n %61 = urem i32 %59, 65536\n %62 = or i32 %61, 887554048\n %63 = inttoptr i64 %56 to i32*\n store i32 %62, i32* %63, align 4\n %64 = add i64 %0, 1448\n %65 = inttoptr i64 %60 to i32*\n store i32 1007268864, i32* %65, align 4\n %66 = add i64 %0, 1452\n %67 = inttoptr i64 %64 to i32*\n store i32 1007214336, i32* %67, align 4\n %68 = add i64 %0, 1456\n %69 = inttoptr i64 %66 to i32*\n store i32 872939743, i32* %69, align 4\n %70 = add i64 %0, 1460\n %71 = inttoptr i64 %68 to i32*\n store i32 -1389887384, i32* %71, align 4\n %72 = add i64 %0, 1464\n %73 = inttoptr i64 %70 to i32*\n store i32 1007270880, i32* %73, align 4\n %74 = add i64 %0, 1468\n %75 = inttoptr i64 %72 to i32*\n store i32 1007206400, i32* %75, align 4\n %76 = add i64 %0, 1472\n %77 = inttoptr i64 %74 to i32*\n store i32 872939712, i32* %77, align 4\n %78 = add i64 %0, 1476\n %79 = inttoptr i64 %76 to i32*\n store i32 -1389887416, i32* %79, align 4\n %80 = add i64 %0, 1480\n %81 = inttoptr i64 %78 to i32*\n store i32 1007173632, i32* %81, align 4\n %82 = add i64 %0, 1484\n %83 = inttoptr i64 %80 to i32*\n store i32 872939584, i32* %83, align 4\n %84 = add i64 %0, 1488\n %85 = inttoptr i64 %82 to i32*\n store i32 -1389887408, i32* %85, align 4\n %86 = add i64 %0, 1492\n %87 = inttoptr i64 %84 to i32*\n store i32 1007190016, i32* %87, align 4\n %88 = add i64 %0, 1496\n %89 = inttoptr i64 %86 to i32*\n store i32 872939648, i32* %89, align 4\n %90 = add i64 %0, 1500\n %91 = inttoptr i64 %88 to i32*\n store i32 -1389887400, i32* %91, align 4\n %92 = add i64 %0, 1504\n %93 = inttoptr i64 %90 to i32*\n store i32 1007173376, i32* %93, align 4\n %94 = add i64 %0, 1508\n %95 = inttoptr i64 %92 to i32*\n store i32 872939583, i32* %95, align 4\n %96 = add i64 %0, 1512\n %97 = inttoptr i64 %94 to i32*\n store i32 -1389887392, i32* %97, align 4\n %98 = add i64 %0, 1516\n %99 = inttoptr i64 %96 to i32*\n store i32 1007206656, i32* %99, align 4\n %100 = add i64 %0, 1520\n %101 = inttoptr i64 %98 to i32*\n store i32 872939713, i32* %101, align 4\n %102 = add i64 %0, 1524\n %103 = inttoptr i64 %100 to i32*\n store i32 -1389887360, i32* %103, align 4\n %104 = add i64 %0, 1528\n %105 = inttoptr i64 %102 to i32*\n store i32 1007181312, i32* %105, align 4\n %106 = add i64 %0, 1532\n %107 = inttoptr i64 %104 to i32*\n store i32 872939614, i32* %107, align 4\n %108 = add i64 %0, 1536\n %109 = inttoptr i64 %106 to i32*\n store i32 -1389887352, i32* %109, align 4\n %110 = udiv i64 %arg3, 65536\n %111 = trunc i64 %110 to i32\n %112 = urem i32 %111, 65536\n %113 = or i32 %112, 1008664576\n %114 = add i64 %0, 1540\n %115 = inttoptr i64 %108 to i32*\n store i32 %113, i32* %115, align 4\n %116 = trunc i64 %arg3 to i32\n %117 = urem i32 %116, 65536\n %118 = or i32 %117, 939458560\n %119 = add i64 %0, 1544\n %120 = inttoptr i64 %114 to i32*\n store i32 %118, i32* %120, align 4\n %121 = add i64 %0, 1548\n %122 = inttoptr i64 %119 to i32*\n store i32 65011721, i32* %122, align 4\n %123 = inttoptr i64 %121 to i32*\n store i32 0, i32* %123, align 4\n %124 = add i64 %0, 2048\n %125 = add i64 %0, 2052\n %126 = inttoptr i64 %124 to i32*\n store i32 65011721, i32* %126, align 4\n %127 = add i64 %0, 2056\n %128 = inttoptr i64 %125 to i32*\n store i32 604110848, i32* %128, align 4\n %129 = add i64 %0, 2060\n %130 = inttoptr i64 %127 to i32*\n store i32 65038369, i32* %130, align 4\n %131 = add i64 %0, 2064\n %132 = inttoptr i64 %129 to i32*\n store i32 8411169, i32* %132, align 4\n %133 = add i64 %0, 2068\n %134 = inttoptr i64 %131 to i32*\n store i32 10506273, i32* %134, align 4\n %135 = add i64 %0, 2072\n %136 = inttoptr i64 %133 to i32*\n store i32 -1857814528, i32* %136, align 4\n %137 = add i64 %0, 2076\n %138 = inttoptr i64 %135 to i32*\n store i32 625606657, i32* %138, align 4\n %139 = add i64 %0, 2080\n %140 = inttoptr i64 %137 to i32*\n store i32 276824069, i32* %140, align 4\n %141 = add i64 %0, 2084\n %142 = inttoptr i64 %139 to i32*\n store i32 0, i32* %142, align 4\n %143 = add i64 %0, 2088\n %144 = inttoptr i64 %141 to i32*\n store i32 267387420, i32* %144, align 4\n %145 = add i64 %0, 2092\n %146 = inttoptr i64 %143 to i32*\n store i32 0, i32* %146, align 4\n %147 = add i64 %0, 2096\n %148 = inttoptr i64 %145 to i32*\n store i32 134218245, i32* %148, align 4\n %149 = add i64 %0, 2100\n %150 = inttoptr i64 %147 to i32*\n store i32 0, i32* %150, align 4\n %151 = add i64 %0, 2104\n %152 = inttoptr i64 %149 to i32*\n store i32 27262985, i32* %152, align 4\n %153 = add i64 %0, 2108\n %154 = inttoptr i64 %151 to i32*\n store i32 23076897, i32* %154, align 4\n %155 = add i64 %0, 2112\n %156 = inttoptr i64 %153 to i32*\n store i32 65038369, i32* %156, align 4\n %157 = add i64 %0, 2116\n %158 = inttoptr i64 %155 to i32*\n store i32 8411169, i32* %158, align 4\n %159 = add i64 %0, 2120\n %160 = inttoptr i64 %157 to i32*\n store i32 10506273, i32* %160, align 4\n %161 = add i64 %0, 2124\n %162 = inttoptr i64 %159 to i32*\n store i32 12607521, i32* %162, align 4\n %163 = add i64 %0, 2128\n %164 = inttoptr i64 %161 to i32*\n store i32 -1857814528, i32* %164, align 4\n %165 = add i64 %0, 2132\n %166 = inttoptr i64 %163 to i32*\n store i32 267387420, i32* %166, align 4\n %167 = add i64 %0, 2136\n %168 = inttoptr i64 %165 to i32*\n store i32 0, i32* %168, align 4\n %169 = add i64 %0, 2140\n %170 = inttoptr i64 %167 to i32*\n store i32 625606657, i32* %170, align 4\n %171 = add i64 %0, 2144\n %172 = inttoptr i64 %169 to i32*\n store i32 629997567, i32* %172, align 4\n %173 = add i64 %0, 2148\n %174 = inttoptr i64 %171 to i32*\n store i32 360775674, i32* %174, align 4\n %175 = add i64 %0, 2152\n %176 = inttoptr i64 %173 to i32*\n store i32 0, i32* %176, align 4\n %177 = add i64 %0, 2156\n %178 = inttoptr i64 %175 to i32*\n store i32 27262985, i32* %178, align 4\n %179 = add i64 %0, 2160\n %180 = inttoptr i64 %177 to i32*\n store i32 23076897, i32* %180, align 4\n %181 = add i64 %0, 2164\n %182 = inttoptr i64 %179 to i32*\n store i32 1007204352, i32* %182, align 4\n %183 = add i64 %0, 2168\n %184 = inttoptr i64 %181 to i32*\n store i32 889717752, i32* %184, align 4\n %185 = add i64 %0, 2172\n %186 = inttoptr i64 %183 to i32*\n store i32 -1861681147, i32* %186, align 4\n %187 = add i64 %0, 2176\n %188 = inttoptr i64 %185 to i32*\n store i32 0, i32* %188, align 4\n %189 = add i64 %0, 2180\n %190 = inttoptr i64 %187 to i32*\n store i32 824770624, i32* %190, align 4\n %191 = add i64 %0, 2184\n %192 = inttoptr i64 %189 to i32*\n store i32 287375356, i32* %192, align 4\n %193 = add i64 %0, 2188\n %194 = inttoptr i64 %191 to i32*\n store i32 0, i32* %194, align 4\n %195 = add i64 %0, 2192\n %196 = inttoptr i64 %193 to i32*\n store i32 65011721, i32* %196, align 4\n %197 = inttoptr i64 %195 to i32*\n store i32 -1593573376, i32* %197, align 4\n ret i64 %195\n\n uselistorder i64 %195, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 71, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86 }\n uselistorder i32 65536, { 1, 2, 3, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "install_thread_keyring_to_cred_11343", "fun_name": "install_thread_keyring_to_cred", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %6, i32 %5, i64 %2, i64 0, i64 0, i64 0, i64 0)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %7, i64* %11, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "generic_key_instantiate_9822", "fun_name": "generic_key_instantiate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n %7 = call i64 @FUNC(i64 %5, i64 ptrtoint ([24 x i8]* @gv_1 to i64))\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = add i64 %11, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n store i64 %14, i64* %arg1, align 8\n %15 = add i64 %11, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %5, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = add i64 %11, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %5, i64 %22)\n %24 = add i64 %11, 32\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %5, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n store i64 0, i64* %13, align 8\n store i64 0, i64* %16, align 8\n store i64 0, i64* %21, align 8\n store i64 0, i64* %25, align 8\n br label LBL_2\n LBL_2:\n %29 = and i64 %7, 4294967295\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %4, i64 %2, i64 %1)\n ret i64 %29\n\n uselistorder i64 %11, { 1, 0, 2, 3 }\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @pr_devel, { 1, 0 }\n uselistorder [24 x i8]* @gv_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_packets_2158", "fun_name": "handle_packets", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %.reg2mem26 = alloca i32\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %1 = add i64 %0, 2064\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %0, 2052\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = trunc i64 %6 to i32\n %11 = icmp eq i32 %9, %10\n br i1 %11, label LBL_7, label LBL_1\n LBL_1:\n %12 = load i64, i64* %2, align 8\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = add i64 %14, %0\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_6, label LBL_3\n LBL_3:\n %19 = inttoptr i64 %17 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 1\n %22 = icmp eq i1 %21, false\n store i64 %17, i64* %.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = add i64 %17, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %25, 8\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %25, 12\n %30 = inttoptr i64 %29 to i32*\n store i32 2, i32* %30, align 4\n %.pre = load i64, i64* %16, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %31 = add i64 %.reload, 16\n %32 = inttoptr i64 %31 to i32*\n store i32 -1, i32* %32, align 4\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_2\n LBL_7:\n %33 = add i64 %0, 2048\n %34 = inttoptr i64 %33 to i32*\n store i32 0, i32* %34, align 4\n %35 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 32)\n %36 = load i32, i32* %34, align 4\n %37 = icmp eq i32 %36, 0\n %38 = icmp slt i32 %36, 0\n %39 = icmp eq i1 %38, false\n %40 = icmp eq i1 %37, false\n %41 = icmp eq i1 %39, %40\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %41, label LBL_13, label LBL_8\n LBL_8:\n %42 = add i64 %0, 2056\n %43 = inttoptr i64 %42 to i32*\n %44 = trunc i64 %arg2 to i32\n %45 = icmp eq i32 %44, 0\n %46 = icmp sgt i32 %44, 1\n %or.cond16 = or i1 %45, %46\n store i32 1, i32* %.reg2mem26\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %or.cond16, label LBL_11, label LBL_13\n LBL_9:\n %47 = load i32, i32* %34, align 4\n %48 = icmp eq i32 %47, 0\n %49 = icmp slt i32 %47, 0\n %50 = icmp eq i1 %49, false\n %51 = icmp eq i1 %48, false\n %52 = icmp eq i1 %50, %51\n store i64 %60, i64* %sv_0.1.reg2mem\n br i1 %52, label LBL_13, label LBL_10\n LBL_10:\n %.reload27 = load i32, i32* %.reg2mem26\n %53 = add i32 %.reload27, 1\n %54 = icmp slt i32 %53, %44\n %or.cond = or i1 %45, %54\n store i32 %53, i32* %.reg2mem26\n store i64 %60, i64* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_13\n LBL_11:\n %55 = load i32, i32* %43, align 4\n %56 = call i64 @FUNC(i64 %3, i64* nonnull %sv_2, i32 %55)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 %56, i64* %sv_0.1.reg2mem\n br i1 %59, label LBL_13, label LBL_12\n LBL_12:\n %60 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n %63 = icmp eq i1 %62, false\n store i64 %60, i64* %sv_0.1.reg2mem\n br i1 %63, label LBL_13, label LBL_9\n LBL_13:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %64 = load i64, i64* %4, align 8\n %65 = call i64 @FUNC(i64 %64)\n %66 = trunc i64 %65 to i32\n store i32 %66, i32* %8, align 4\n %67 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %67\n\n uselistorder i64 %60, { 1, 3, 0, 2 }\n uselistorder i32 %47, { 1, 0 }\n uselistorder i1 %45, { 1, 0 }\n uselistorder i32 %44, { 1, 0, 2 }\n uselistorder i32* %34, { 1, 0, 2 }\n uselistorder i64 %17, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem26, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 2, 4, 1, 5, 6 }\n uselistorder i1 false, { 4, 5, 6, 2, 0, 1, 3 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i64 0, { 0, 1, 9, 2, 6, 7, 3, 4, 5, 10, 8 }\n uselistorder i64 (i64)* @avio_tell, { 1, 0 }\n uselistorder label LBL_13, { 2, 3, 1, 4, 0, 5 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "asymmetric_key_describe_153", "fun_name": "asymmetric_key_describe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1)\n %4 = bitcast i64* %arg1 to i8*\n %5 = call i64 @FUNC(i64 %0, i8* %4)\n %6 = icmp eq i64 %2, 0\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %6, label LBL_6, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %8 = icmp eq i64 %3, 0\n br i1 %8, label LBL_5, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %3 to i8*\n %10 = call i64 @FUNC(i64 %0, i64 32)\n %11 = call i32 @strlen(i8* %9)\n %12 = icmp ult i32 %11, 9\n br i1 %12, label LBL_3, label LBL_4\n LBL_3:\n %13 = call i64 @FUNC(i64 %0, i8* %9)\n br label LBL_5\n LBL_4:\n %14 = sext i32 %11 to i64\n %15 = add i64 %3, -8\n %16 = add i64 %15, %14\n %17 = inttoptr i64 %16 to i8*\n %18 = call i64 @FUNC(i64 %0, i8* %17)\n br label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %20 = call i64 @FUNC(i64 %0, i64 93)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i64 %0, { 4, 3, 0, 1, 2, 5, 6 }\n uselistorder i64 (i64, i64)* @seq_putc, { 1, 0 }\n uselistorder i64 (i64, i8*)* @seq_puts, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "idct4col_put_1117", "fun_name": "idct4col_put", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %sext3 = mul i32 %4, 65536\n %5 = ashr exact i32 %sext3, 16\n %6 = add i64 %2, 32\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = sext i16 %8 to i32\n %10 = add i64 %2, 64\n %11 = inttoptr i64 %10 to i16*\n %12 = load i16, i16* %11, align 2\n %13 = sext i16 %12 to i32\n %14 = add i64 %2, 96\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = sext i16 %16 to i32\n %18 = add nsw i32 %5, %13\n %19 = mul i32 %18, 512\n %20 = or i32 %19, 128\n %21 = sub nsw i32 %5, %13\n %22 = mul i32 %21, 512\n %23 = or i32 %22, 128\n %24 = mul i32 %17, 2\n %25 = add nsw i32 %24, %9\n %26 = mul i32 %9, 2\n %27 = sub nsw i32 %26, %17\n %28 = add nsw i32 %25, %20\n %29 = ashr i32 %28, 8\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30)\n %32 = trunc i64 %31 to i8\n %33 = bitcast i32* %arg1 to i8*\n store i8 %32, i8* %33, align 1\n %sext = mul i64 %arg2, 4294967296\n %34 = ashr exact i64 %sext, 32\n %35 = add i64 %34, %3\n %36 = add nsw i32 %23, %27\n %37 = ashr i32 %36, 8\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = trunc i64 %39 to i8\n %41 = inttoptr i64 %35 to i8*\n store i8 %40, i8* %41, align 1\n %42 = add i64 %35, %34\n %43 = sub nsw i32 %23, %27\n %44 = ashr i32 %43, 8\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %45)\n %47 = trunc i64 %46 to i8\n %48 = inttoptr i64 %42 to i8*\n store i8 %47, i8* %48, align 1\n %49 = add i64 %42, %34\n %50 = sub nsw i32 %20, %25\n %51 = ashr i32 %50, 8\n %52 = zext i32 %51 to i64\n %53 = call i64 @FUNC(i64 %52)\n %54 = trunc i64 %53 to i8\n %55 = inttoptr i64 %49 to i8*\n store i8 %54, i8* %55, align 1\n ret i64 %53\n\n uselistorder i64 %53, { 1, 0 }\n uselistorder i32 %27, { 1, 0 }\n uselistorder i32 %25, { 1, 0 }\n uselistorder i32 %23, { 1, 0 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_clip_uint8, { 3, 2, 1, 0 }\n uselistorder i64 32, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "extra_info_update_ongoing_3827", "fun_name": "extra_info_update_ongoing", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp sgt i32 %1, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_8\n LBL_1:\n %sext = mul i64 %0, 4294967296\n %3 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %4 = call i64 @FUNC(i64 %indvars.iv.reload)\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %4 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_7, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %7)\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp eq i8 %11, 1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_7, label LBL_4\n LBL_4:\n %14 = add i64 %9, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 1\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_5\n LBL_5:\n %19 = inttoptr i64 %5 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %22, label LBL_8, label LBL_6\n LBL_6:\n %23 = add i64 %5, 1\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp eq i8 %25, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %26, label LBL_7, label LBL_8\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %27 = icmp slt i64 %indvars.iv.next, %3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %27, label LBL_2, label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64 0, { 0, 8, 2, 1, 3, 4, 5, 6, 7 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_8, { 2, 0, 1, 3 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mp_grow_12119", "fun_name": "mp_grow", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = icmp sgt i64 %1, %5\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = ashr exact i64 %sext, 30\n %8 = sext i32 %4 to i64\n %9 = mul i64 %8, 4\n %10 = call i64 @FUNC(i64 %0, i64 %9, i64 %7)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %12, label LBL_2, label LBL_3\n LBL_2:\n store i64 %10, i64* %arg1, align 8\n %13 = load i32, i32* %3, align 4\n %14 = trunc i64 %1 to i32\n store i32 %14, i32* %3, align 4\n %15 = sub i32 %14, %13\n %16 = sext i32 %13 to i64\n %17 = mul i64 %16, 4\n %18 = add i64 %17, %0\n %19 = zext i32 %15 to i64\n %20 = call i64 @FUNC(i64 %18, i64 %19)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %3, { 1, 0, 2 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder label LBL_3, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nbd_client_closed_3027", "fun_name": "nbd_client_closed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i8\n %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = add i32 %1, -1\n store i32 %2, i32* bitcast (i64* @gv_0 to i32*), align 8\n %3 = icmp eq i8 %0, 0\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n %6 = load i8, i8* bitcast (i32* @gv_1 to i8*), align 4\n %7 = icmp eq i8 %6, 1\n %or.cond = or i1 %5, %7\n br i1 %or.cond, label LBL_4, label LBL_2\n LBL_2:\n %8 = load i32, i32* @gv_2, align 4\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n store i32 2, i32* @gv_2, align 4\n br label LBL_4\n LBL_4:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC(i64 %11)\n ret i64 %13\n\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acpi_build_update_3192", "fun_name": "acpi_build_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = icmp eq i64* %arg1, null\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %3, label LBL_5, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = and i64 %1, 4294967295\n %6 = icmp eq i32 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %8, align 4\n %9 = call i64 @FUNC(i64* nonnull %sv_0)\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12, i64* nonnull %sv_0)\n %14 = load i64, i64* %sv_0, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %2, 24\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = trunc i64 %15 to i32\n %20 = icmp eq i32 %18, %19\n store i32 %18, i32* %.reg2mem\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 60, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %17, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %21 = load i64, i64* %sv_0, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26)\n %28 = inttoptr i64 %27 to i64*\n %29 = inttoptr i64 %23 to i64*\n %30 = call i64* @memcpy(i64* %28, i64* %29, i32 %.reload)\n %31 = load i32, i32* %17, align 4\n %32 = load i64, i64* %25, align 8\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %32, i64 %33)\n %35 = call i64 @FUNC(i64* nonnull %sv_0, i64 1)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %17, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 0, 3, 4, 1, 2 }\n uselistorder i64 %2, { 1, 2, 3, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rocker_test_dma_ctrl_544", "fun_name": "rocker_test_dma_ctrl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rdi.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %arg2 to i32\n %7 = call i64 @FUNC(i64 %5)\n %8 = call i64 @FUNC(i64 %5)\n %9 = icmp eq i32 %6, 2\n br i1 %9, label LBL_5, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %10 = ashr exact i64 %sext, 32\n %11 = trunc i64 %10 to i32\n %12 = icmp ult i32 %11, 3\n br i1 %12, label LBL_2, label LBL_7\n LBL_2:\n switch i32 %11, label LBL_7 [\n i32 0, label LBL_3\n i32 1, label LBL_4\n ]\n LBL_3:\n %13 = inttoptr i64 %8 to i64*\n %14 = trunc i64 %5 to i32\n %15 = call i64* @memset(i64* %13, i32 0, i32 %14)\n store i64 %8, i64* %rdi.0.reg2mem\n br label LBL_8\n LBL_4:\n %16 = inttoptr i64 %8 to i64*\n %17 = trunc i64 %5 to i32\n %18 = call i64* @memset(i64* %16, i32 150, i32 %17)\n store i64 %8, i64* %rdi.0.reg2mem\n br label LBL_8\n LBL_5:\n %19 = add i64 %5, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %7, i64 %21, i64 %8, i64 %5)\n %23 = icmp eq i64 %7, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n store i64 0, i64* %rdi.0.reg2mem\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %24 = add i64 %.reload, %8\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = sub i8 0, %26\n %28 = sub i8 %27, 1\n store i8 %28, i8* %25, align 1\n %29 = add i32 %storemerge2.reload, 1\n %30 = sext i32 %29 to i64\n %31 = icmp ugt i64 %7, %30\n store i64 %30, i64* %.reg2mem\n store i32 %29, i32* %storemerge2.reg2mem\n store i64 %7, i64* %rdi.0.reg2mem\n br i1 %31, label LBL_6, label LBL_8\n LBL_7:\n %32 = and i64 %10, 4294967295\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %32, i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_9\n LBL_8:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %34 = add i64 %5, 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %7, i64 %36, i64 %8, i64 %rdi.0.reload)\n %38 = call i64 @FUNC(i64 %5, i64 3)\n br label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 %8)\n ret i64 %39\n\n uselistorder i64 %8, { 3, 4, 2, 7, 0, 5, 1, 6 }\n uselistorder i64 %7, { 2, 0, 3, 1, 4 }\n uselistorder i64 %5, { 2, 3, 5, 4, 0, 1, 6, 7 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 2, 0 }\n uselistorder i32 0, { 0, 2, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "svq3_luma_dc_dequant_idct_c_2364", "fun_name": "svq3_luma_dc_dequant_idct_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_0 to i64\n %2 = sext i32 %arg3 to i64\n %3 = mul i64 %2, 4\n %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64)\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %1, -112\n store i64 0, i64* %indvars.iv5.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %8 = mul i64 %indvars.iv5.reload, 4\n %9 = mul i64 %indvars.iv5.reload, 8\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i16*\n %12 = load i16, i16* %11, align 2\n %13 = or i64 %8, 2\n %14 = mul i64 %13, 2\n %15 = add i64 %14, %0\n %16 = inttoptr i64 %15 to i16*\n %17 = load i16, i16* %16, align 2\n %18 = sext i16 %17 to i64\n %19 = sext i16 %12 to i64\n %20 = add nsw i64 %18, %19\n %21 = trunc i64 %20 to i32\n %22 = mul i32 %21, 13\n %23 = sub nsw i64 %19, %18\n %24 = trunc i64 %23 to i32\n %25 = mul i32 %24, 13\n %26 = or i64 %8, 1\n %27 = mul i64 %26, 2\n %28 = add i64 %27, %0\n %29 = inttoptr i64 %28 to i16*\n %30 = load i16, i16* %29, align 2\n %31 = sext i16 %30 to i32\n %32 = mul nsw i32 %31, 7\n %33 = or i64 %8, 3\n %34 = mul i64 %33, 2\n %35 = add i64 %34, %0\n %36 = inttoptr i64 %35 to i16*\n %37 = load i16, i16* %36, align 2\n %38 = sext i16 %37 to i32\n %39 = mul nsw i32 %38, -17\n %40 = add nsw i32 %39, %32\n %41 = mul nsw i32 %31, 17\n %42 = mul nsw i32 %38, 7\n %43 = add nsw i32 %42, %41\n %44 = add i32 %43, %22\n %45 = mul i64 %indvars.iv5.reload, 16\n %46 = add i64 %45, %7\n %47 = inttoptr i64 %46 to i32*\n store i32 %44, i32* %47, align 8\n %48 = add i32 %40, %25\n %49 = mul i64 %26, 4\n %50 = add i64 %49, %7\n %51 = inttoptr i64 %50 to i32*\n store i32 %48, i32* %51, align 4\n %52 = sub i32 %25, %40\n %53 = mul i64 %13, 4\n %54 = add i64 %53, %7\n %55 = inttoptr i64 %54 to i32*\n store i32 %52, i32* %55, align 8\n %56 = sub i32 %22, %43\n %57 = mul i64 %33, 4\n %58 = add i64 %57, %7\n %59 = inttoptr i64 %58 to i32*\n store i32 %56, i32* %59, align 4\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 4\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br i1 %exitcond7, label LBL_2, label LBL_1\n LBL_2:\n %60 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %61 = add nuw nsw i64 %indvars.iv.reload, ptrtoint (i8** @gv_1 to i64)\n %62 = inttoptr i64 %61 to i8*\n %63 = load i8, i8* %62, align 1\n %64 = zext i8 %63 to i32\n %65 = mul i64 %indvars.iv.reload, 4\n %66 = add i64 %65, %7\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = add i64 %66, 32\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = add i32 %71, %68\n %73 = mul i32 %72, 13\n %74 = sub i32 %68, %71\n %75 = mul i32 %74, 13\n %76 = add i64 %66, 16\n %77 = inttoptr i64 %76 to i32*\n %78 = load i32, i32* %77, align 4\n %79 = mul i32 %78, 7\n %80 = add i64 %66, 48\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = mul i32 %82, -17\n %84 = add i32 %83, %79\n %85 = mul i32 %78, 17\n %86 = mul i32 %82, 7\n %87 = add i32 %86, %85\n %88 = add i32 %87, %73\n %89 = mul i32 %88, %6\n %90 = add i32 %89, 524288\n %91 = ashr i32 %90, 20\n %92 = zext i8 %63 to i64\n %93 = mul i64 %92, 2\n %94 = add i64 %93, %60\n %95 = trunc i32 %91 to i16\n %96 = inttoptr i64 %94 to i16*\n store i16 %95, i16* %96, align 2\n %97 = add i32 %84, %75\n %98 = mul i32 %97, %6\n %99 = add i32 %98, 524288\n %100 = ashr i32 %99, 20\n %101 = mul i32 %64, 2\n %102 = add nuw nsw i32 %101, 64\n %103 = zext i32 %102 to i64\n %104 = add i64 %103, %60\n %105 = trunc i32 %100 to i16\n %106 = inttoptr i64 %104 to i16*\n store i16 %105, i16* %106, align 2\n %107 = sub i32 %75, %84\n %108 = mul i32 %107, %6\n %109 = add i32 %108, 524288\n %110 = ashr i32 %109, 20\n %111 = add nuw nsw i32 %101, 256\n %112 = zext i32 %111 to i64\n %113 = add i64 %112, %60\n %114 = trunc i32 %110 to i16\n %115 = inttoptr i64 %113 to i16*\n store i16 %114, i16* %115, align 2\n %116 = sub i32 %73, %87\n %117 = mul i32 %116, %6\n %118 = add i32 %117, 524288\n %119 = ashr i32 %118, 20\n %120 = add nuw nsw i32 %101, 320\n %121 = zext i32 %120 to i64\n %122 = add i64 %121, %60\n %123 = trunc i32 %119 to i16\n %124 = inttoptr i64 %122 to i16*\n store i16 %123, i16* %124, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n ret i64 %122\n\n uselistorder i32 %101, { 2, 1, 0 }\n uselistorder i32 %87, { 1, 0 }\n uselistorder i32 %84, { 1, 0 }\n uselistorder i32 %75, { 1, 0 }\n uselistorder i32 %73, { 1, 0 }\n uselistorder i32 %71, { 1, 0 }\n uselistorder i32 %68, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %43, { 1, 0 }\n uselistorder i32 %40, { 1, 0 }\n uselistorder i32 %25, { 1, 0 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %8, { 2, 1, 0 }\n uselistorder i64 %indvars.iv5.reload, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 17, { 1, 0 }\n uselistorder i32 -17, { 1, 0 }\n uselistorder i32 7, { 2, 3, 0, 1 }\n uselistorder i32 13, { 2, 3, 0, 1 }\n uselistorder i64 4, { 7, 0, 6, 1, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_client_co_pdiscard_1261", "fun_name": "nbd_client_co_pdiscard", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n store i32 1, i32* %sv_1, align 4\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1, i64 0)\n %8 = icmp slt i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = trunc i64 %7 to i32\n %11 = sub i32 0, %10\n store i32 %11, i32* %sv_0, align 4\n br label LBL_4\n LBL_3:\n %12 = call i64 @FUNC(i64 %1, i32* nonnull %sv_1, i32* nonnull %sv_0, i64 0)\n br label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1)\n %14 = load i32, i32* %sv_0, align 4\n %15 = sub i32 0, %14\n %16 = zext i32 %15 to i64\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_seq_ioctl_delete_port_10320", "fun_name": "snd_seq_ioctl_delete_port", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i32\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %3, %4\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = ptrtoint i32* %arg1 to i64\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %10, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = load i32, i32* %8, align 4\n %16 = zext i32 %15 to i64\n %17 = and i64 %2, 4294967295\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n br label LBL_3\n LBL_3:\n %19 = and i64 %12, 4294967295\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "generic_permission_12185", "fun_name": "generic_permission", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, -13\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %8 = trunc i64 %1 to i32\n %9 = and i32 %8, 16384\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_7, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %2, i64 1)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_12\n LBL_4:\n %14 = and i64 %arg2, 2\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %2, i64 2)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_12\n LBL_6:\n store i64 4294967283, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %20 = and i64 %arg2, 4\n %21 = icmp ne i64 %20, 0\n %22 = and i32 %8, 448\n %23 = icmp eq i32 %22, 0\n %or.cond = icmp eq i1 %21, %23\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %24 = call i64 @FUNC(i64 %2, i64 1)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_9, label LBL_12\n LBL_9:\n %27 = urem i64 %arg2, 8\n %28 = icmp eq i64 %27, 1\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_11, label LBL_10\n LBL_10:\n %30 = call i64 @FUNC(i64 %2, i64 2)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_11, label LBL_12\n LBL_11:\n store i64 4294967283, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %2, { 3, 2, 0, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 6, 3, 4, 5 }\n uselistorder i64 4294967283, { 1, 0, 2 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @inode_capable, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5 }\n uselistorder label LBL_12, { 4, 0, 1, 5, 2, 3, 6 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "box_fill_8687", "fun_name": "box_fill", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i1\n %2 = load i128, i128* %0\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i1, i1* %1\n %7 = load i1, i1* %1\n %8 = ptrtoint i64* %arg1 to i64\n %9 = call i64 @FUNC(i128 %5)\n %10 = call i64 @FUNC(i128 %4)\n %11 = call i64 @FUNC(i128 %3)\n %12 = call i64 @FUNC(i128 %2)\n %13 = call i128 @__asm_movsd.1(i64 %9)\n %14 = sext i64 %10 to i128\n call void @FUNC(i128 %13, i128 %14)\n %15 = or i1 %6, %7\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = call i128 @__asm_movsd.1(i64 %9)\n %17 = call i64 @FUNC(i128 %16)\n store i64 %17, i64* %arg1, align 8\n %18 = call i128 @__asm_movsd.1(i64 %10)\n %19 = call i64 @FUNC(i128 %18)\n %20 = add i64 %8, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n br label LBL_3\n LBL_2:\n %22 = call i128 @__asm_movsd.1(i64 %10)\n %23 = call i64 @FUNC(i128 %22)\n store i64 %23, i64* %arg1, align 8\n %24 = call i128 @__asm_movsd.1(i64 %9)\n %25 = call i64 @FUNC(i128 %24)\n %26 = add i64 %8, 16\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n br label LBL_3\n LBL_3:\n %28 = sext i64 %12 to i128\n %29 = call i128 @__asm_movsd.1(i64 %11)\n call void @FUNC(i128 %29, i128 %28)\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %30 = call i128 @__asm_movsd.1(i64 %11)\n %31 = call i64 @FUNC(i128 %30)\n %32 = add i64 %8, 8\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n %34 = call i128 @__asm_movsd.1(i64 %12)\n %35 = call i64 @FUNC(i128 %34)\n %36 = add i64 %8, 24\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n br label LBL_6\n LBL_5:\n %38 = call i128 @__asm_movsd.1(i64 %12)\n %39 = call i64 @FUNC(i128 %38)\n %40 = add i64 %8, 8\n %41 = inttoptr i64 %40 to i64*\n store i64 %39, i64* %41, align 8\n %42 = call i128 @__asm_movsd.1(i64 %11)\n %43 = call i64 @FUNC(i128 %42)\n %44 = add i64 %8, 24\n %45 = inttoptr i64 %44 to i64*\n store i64 %43, i64* %45, align 8\n br label LBL_6\n LBL_6:\n ret i64 %8\n\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i64 %8, { 2, 3, 4, 1, 5, 6, 0 }\n uselistorder i1* %1, { 1, 0 }\n uselistorder i128* %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sec_init_10274", "fun_name": "sec_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge4.in.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = load i32, i32* @gv_1, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = urem i64 %arg1, 2\n %7 = icmp eq i64 %6, 0\n %. = select i1 %7, i64 4, i64 12\n store i64 %., i64* %storemerge4.in.reg2mem\n br label LBL_4\n LBL_3:\n %8 = urem i64 %arg1, 2\n %9 = icmp eq i64 %8, 0\n %.6 = select i1 %9, i64 0, i64 12\n store i64 %.6, i64* %storemerge4.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem\n %storemerge4 = trunc i64 %storemerge4.in.reload to i32\n %10 = add i64 %storemerge4.in.reload, %arg2\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %11)\n %13 = load i64, i64* @gv_2, align 8\n %14 = call i64 @FUNC(i64 %12, i64 %13, i32 %storemerge4)\n ret i64 %12\n\n uselistorder i64 %storemerge4.in.reload, { 1, 0 }\n uselistorder i64* %storemerge4.in.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssdp_recv_5527", "fun_name": "ssdp_recv", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %storemerge4.in.in.in.reg2mem = alloca i8*\n %sv_0 = alloca i16, align 2\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i32\n %1 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 1501)\n %2 = bitcast i16* %sv_0 to %sockaddr*\n %3 = bitcast i64* %sv_1 to i32*\n %4 = call i32 @recvfrom(i32 %0, i64* nonnull %sv_2, i32 1500, i32 64, %sockaddr* nonnull %2, i32* nonnull %3)\n %5 = sext i32 %4 to i64\n %6 = icmp slt i32 %4, 1\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %6, label LBL_15, label LBL_1\n LBL_1:\n %7 = load i16, i16* %sv_0, align 2\n %8 = zext i16 %7 to i64\n %9 = icmp eq i16 %7, 2\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_15, label LBL_2\n LBL_2:\n %11 = bitcast i64* %sv_2 to i8*\n %12 = call i8* @strstr(i8* nonnull %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %13 = ptrtoint i8* %12 to i64\n %14 = icmp eq i8* %12, null\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %14, label LBL_15, label LBL_3\n LBL_3:\n %15 = ptrtoint i64* %sv_1 to i64\n %16 = ptrtoint i16* %sv_0 to i64\n %17 = bitcast i16* %sv_0 to i64*\n %18 = call i64 @FUNC(i64* nonnull %17)\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n %21 = add i64 %16, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = insertvalue %in_addr undef, i32 %23, 0\n %25 = call i8* @inet_ntoa(%in_addr %24)\n %26 = ptrtoint i8* %25 to i64\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %26, i64 64, i64 %16, i64 %15)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_5:\n %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %26, i64 64, i64 %16, i64 %15)\n %29 = call i8* @strcasestr(i8* nonnull %11, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\n %30 = ptrtoint i8* %29 to i64\n %sext.mask = and i64 %30, 4294967295\n %31 = icmp eq i64 %sext.mask, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_4, i64 0, i64 0), i64 %26, i64 64, i64 %16, i64 %15)\n %34 = call i64 @FUNC(i64 %18, i64 ptrtoint ([9 x i8]* @gv_5 to i64), i64* nonnull %17)\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n %35 = call i8* @strchr(i8* %29, i32 58)\n %36 = ptrtoint i8* %35 to i64\n %37 = icmp eq i8* %35, null\n store i8* %35, i8** %storemerge4.in.in.in.reg2mem\n store i64 %36, i64* %rax.0.reg2mem\n br i1 %37, label LBL_15, label LBL_8\n LBL_8:\n %storemerge4.in.in.in.reload = load i8*, i8** %storemerge4.in.in.in.reg2mem\n %storemerge4.in.in = ptrtoint i8* %storemerge4.in.in.in.reload to i64\n %storemerge4.in = add i64 %storemerge4.in.in, 1\n %storemerge4 = inttoptr i64 %storemerge4.in to i8*\n %38 = call i16** @__ctype_b_loc()\n %39 = load i16*, i16** %38, align 8\n %40 = ptrtoint i16* %39 to i64\n %41 = load i8, i8* %storemerge4, align 1\n %42 = sext i8 %41 to i64\n %43 = mul i64 %42, 2\n %44 = add i64 %43, %40\n %45 = inttoptr i64 %44 to i16*\n %46 = load i16, i16* %45, align 2\n %47 = and i16 %46, 8192\n %48 = icmp eq i16 %47, 0\n %49 = icmp eq i1 %48, false\n store i8* %storemerge4, i8** %storemerge4.in.in.in.reg2mem\n br i1 %49, label LBL_8, label LBL_9\n LBL_9:\n %50 = call i8* @strstr(i8* %storemerge4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %51 = ptrtoint i8* %50 to i64\n %52 = icmp eq i8* %50, null\n store i64 %51, i64* %rax.0.reg2mem\n br i1 %52, label LBL_15, label LBL_10\n LBL_10:\n store i8 0, i8* %50, align 1\n %53 = load i64, i64* bitcast ([2 x i8*]* @gv_7 to i64*), align 8\n %54 = icmp eq i64 %53, 0\n %55 = icmp eq i1 %54, false\n store i64 %53, i64* %.reg2mem\n store i64 0, i64* %storemerge5.reg2mem\n br i1 %55, label LBL_11, label LBL_14\n LBL_11:\n %.reload = load i64, i64* %.reg2mem\n %56 = inttoptr i64 %.reload to i8*\n %57 = call i32 @strcmp(i8* %56, i8* %storemerge4)\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_13, label LBL_12\n LBL_12:\n %60 = add i64 %16, 2\n %61 = inttoptr i64 %60 to i16*\n %62 = load i16, i16* %61, align 2\n %63 = call i16 @ntohs(i16 %62)\n %64 = load i32, i32* %22, align 4\n %65 = insertvalue %in_addr undef, i32 %64, 0\n %66 = call i8* @inet_ntoa(%in_addr %65)\n %67 = ptrtoint i8* %66 to i64\n %68 = zext i16 %63 to i64\n %69 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i64 %storemerge4.in, i64 %67, i64 %68, i64 %15)\n %70 = call i64 @FUNC(i64 %18, i64 %storemerge4.in, i64* nonnull %17)\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %71 = add i64 %storemerge5.reload, 1\n %72 = mul i64 %71, 8\n %73 = add i64 %72, ptrtoint ([2 x i8*]* @gv_7 to i64)\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = icmp eq i64 %75, 0\n %77 = icmp eq i1 %76, false\n store i64 %75, i64* %.reg2mem\n store i64 %71, i64* %storemerge5.reg2mem\n br i1 %77, label LBL_11, label LBL_14\n LBL_14:\n %78 = load i32, i32* %22, align 4\n %79 = insertvalue %in_addr undef, i32 %78, 0\n %80 = call i8* @inet_ntoa(%in_addr %79)\n %81 = ptrtoint i8* %80 to i64\n %82 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_9, i64 0, i64 0), i64 %storemerge4.in, i64 %81, i64 %16, i64 %15)\n store i64 %82, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %storemerge4, { 1, 2, 0, 3 }\n uselistorder i64 %26, { 0, 2, 1 }\n uselistorder i64 %18, { 1, 0, 2 }\n uselistorder i64* %17, { 1, 0, 2 }\n uselistorder i64 %16, { 2, 3, 1, 4, 0, 5 }\n uselistorder i64 %15, { 2, 3, 1, 4, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i16* %sv_0, { 3, 0, 1, 2 }\n uselistorder i8** %storemerge4.in.in.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 6, 2, 1, 7, 8, 9 }\n uselistorder [2 x i8*]* @gv_7, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @send_message, { 1, 0 }\n uselistorder [9 x i8]* @gv_5, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @logit, { 3, 4, 2, 1, 0 }\n uselistorder i64 64, { 1, 2, 0 }\n uselistorder i8* (%in_addr)* @inet_ntoa, { 1, 2, 0 }\n uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 }\n uselistorder label LBL_15, { 4, 3, 0, 1, 5, 6, 7, 2, 8 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "getsid_6920", "fun_name": "getsid", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i8* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = icmp eq i32 %0, -1\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_10\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext4, 32\n %5 = trunc i64 %3 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = add nsw i64 %4, 10\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @globalFUNCvarFUNC4020b1, i64 0, i64 0))\n %10 = and i64 %8, 4294967295\n %11 = and i64 %3, 4294967295\n %12 = call i64 @FUNC(i64 %9, i64 %11, i64 %10)\n %13 = icmp eq i8* %arg4, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_10, label LBL_3\n LBL_3:\n store i8 1, i8* %arg4, align 1\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %14 = icmp sgt i32 %5, 9\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = ashr exact i64 %sext, 29\n %16 = add i64 %15, ptrtoint ([10 x i8*]* @gv_0 to i64)\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %19 = add nsw i64 %3, 4294967286\n %20 = and i64 %19, 4294967295\n %21 = icmp slt i64 %4, %20\n br i1 %21, label LBL_7, label LBL_9\n LBL_7:\n %22 = add nsw i64 %4, 10\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @globalFUNCvarFUNC4020d0, i64 0, i64 0))\n %24 = and i64 %22, 4294967295\n %25 = and i64 %3, 4294967295\n %26 = call i64 @FUNC(i64 %23, i64 %25, i64 %24)\n %27 = icmp eq i8* %arg4, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_10, label LBL_8\n LBL_8:\n store i8 1, i8* %arg4, align 1\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %28 = ptrtoint i64* %arg2 to i64\n %29 = ashr exact i64 %sext, 29\n %30 = add nsw i64 %29, -80\n %31 = add i64 %30, %28\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 3, 0, 2 }\n uselistorder i64 %sext, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 2, 1, 6, 4, 3, 5 }\n uselistorder i64 (i64, i64, i64)* @LogError, { 1, 0 }\n uselistorder i64 (i8*)* @_, { 1, 0 }\n uselistorder i32 0, { 20, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }\n uselistorder i8* %arg4, { 3, 2, 1, 0 }\n uselistorder label LBL_10, { 5, 1, 0, 6, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hbitmap_iter_skip_words_278", "fun_name": "hbitmap_iter_skip_words", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_1.14.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 32\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 40\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n store i64 %3, i64* %sv_1.0.reg2mem\n store i32 3, i32* %sv_2.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %7 = add i32 %sv_2.0.reload, -1\n %8 = zext i32 %7 to i64\n %9 = mul i64 %8, 8\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = udiv i64 %sv_1.0.reload, 32\n %14 = icmp eq i64 %12, 0\n store i64 %13, i64* %sv_1.0.reg2mem\n store i32 %7, i32* %sv_2.0.reg2mem\n br i1 %14, label LBL_1, label LBL_2\n LBL_2:\n %15 = icmp eq i32 %7, 0\n %16 = icmp eq i64 %12, -9223372036854775808\n %17 = icmp eq i1 %15, %16\n store i64 0, i64* %storemerge.reg2mem\n br i1 %17, label LBL_7, label LBL_3\n LBL_3:\n %18 = icmp ult i32 %7, 3\n store i64 %8, i64* %indvars.iv.reg2mem\n store i64 %12, i64* %sv_0.06.reg2mem\n store i64 %13, i64* %sv_1.14.reg2mem\n store i64 %13, i64* %sv_1.1.lcssa.reg2mem\n store i64 %12, i64* %sv_0.0.lcssa.reg2mem\n br i1 %18, label LBL_4, label LBL_5\n LBL_4:\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %19 = mul i64 %sv_1.14.reload, 32\n %20 = call i64 @FUNC(i64 %sv_0.06.reload)\n %21 = add i64 %20, %19\n %22 = add i64 %sv_0.06.reload, -1\n %23 = and i64 %22, %sv_0.06.reload\n %24 = mul i64 %indvars.iv.reload, 8\n %25 = add i64 %24, %0\n %26 = inttoptr i64 %25 to i64*\n store i64 %23, i64* %26, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %27 = mul i64 %indvars.iv.next, 32\n %28 = add i64 %21, %27\n %29 = mul i64 %28, 8\n %30 = add i64 %29, %6\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %32, i64* %sv_0.06.reg2mem\n store i64 %21, i64* %sv_1.14.reg2mem\n store i64 %21, i64* %sv_1.1.lcssa.reg2mem\n store i64 %32, i64* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n store i64 %sv_1.1.lcssa.reload, i64* %2, align 8\n %33 = load i64, i64* %5, align 8\n %34 = call i64 @FUNC(i64 %33, i64 %0, i64 %sv_1.1.lcssa.reload, i64 %sv_0.0.lcssa.reload)\n %35 = icmp eq i64 %sv_0.0.lcssa.reload, 0\n %36 = icmp eq i1 %35, false\n store i64 %sv_0.0.lcssa.reload, i64* %storemerge.reg2mem\n br i1 %36, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))\n store i64 %sv_0.0.lcssa.reload, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0, 3, 2 }\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i64 %sv_0.06.reload, { 2, 1, 0 }\n uselistorder i32 %7, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.06.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 3, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pnv_chip_power8_class_init_445", "fun_name": "pnv_chip_power8_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 1, i32* %2, align 4\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 2454075084504039424, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i32*\n store i32 -1, i32* %6, align 4\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198694, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 1121501860331520, i64* %10, align 8\n store i64 ptrtoint ([20 x i8]* @gv_0 to i64), i64* %arg1, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smack_inode_setxattr_4614", "fun_name": "smack_inode_setxattr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.3.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %sv_2.0.ph.reg2mem = alloca i1\n %0 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %1 = inttoptr i64 %arg2 to i8*\n %2 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i32 %2, 0\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %3, label LBL_10, label LBL_1\n LBL_1:\n %4 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n %5 = icmp eq i32 %4, 0\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %5, label LBL_10, label LBL_2\n LBL_2:\n %6 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %8, label LBL_3, label LBL_10\n LBL_3:\n %9 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0))\n %10 = icmp eq i32 %9, 0\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 1, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %10, label LBL_10, label LBL_4\n LBL_4:\n %11 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0))\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i1 false, i1* %sv_2.0.ph.reg2mem\n store i32 1, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %13, label LBL_5, label LBL_10\n LBL_5:\n %14 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0))\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_9, label LBL_6\n LBL_6:\n %17 = icmp eq i64 %arg4, 4\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n %19 = inttoptr i64 %arg3 to i8*\n %20 = call i32 @strncmp(i8* %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i32 4)\n %21 = icmp eq i32 %20, 0\n store i1 true, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %21, label LBL_10, label LBL_8\n LBL_8:\n store i1 true, i1* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 -22, i32* %sv_0.0.ph.reg2mem\n br label LBL_10\n LBL_9:\n %22 = and i64 %arg5, 4294967295\n %23 = call i64 @FUNC(i64 %0, i64 %arg2, i64 %arg3, i64 %arg4, i64 %22)\n %24 = trunc i64 %23 to i32\n store i32 %24, i32* %sv_0.2.reg2mem\n br label LBL_17\n LBL_10:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_2.0.ph.reload = load i1, i1* %sv_2.0.ph.reg2mem\n %25 = call i64 @FUNC(i64 1)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n %spec.select = select i1 %28, i32 %sv_0.0.ph.reload, i32 -1\n %29 = icmp eq i32 %spec.select, 0\n %30 = icmp eq i1 %29, false\n %or.cond = or i1 %sv_2.0.ph.reload, %30\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %or.cond, label LBL_17, label LBL_11\n LBL_11:\n %31 = icmp eq i64 %arg4, 0\n br i1 %31, label LBL_12, label LBL_13\n LBL_12:\n store i64 0, i64* %sv_3, align 8\n br label LBL_16\n LBL_13:\n %32 = call i64 @FUNC(i64 %arg3, i64 %arg4)\n store i64 %32, i64* %sv_3, align 8\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_16, label LBL_14\n LBL_14:\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %34 = icmp eq i32 %sv_1.0.ph.reload, 0\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %34, label LBL_17, label LBL_15\n LBL_15:\n %35 = icmp ne i64 %32, ptrtoint (i64* @gv_7 to i64)\n %36 = icmp eq i64 %32, ptrtoint (i64* @gv_8 to i64)\n %37 = icmp eq i1 %36, false\n %or.cond4 = icmp eq i1 %35, %37\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %or.cond4, label LBL_17, label LBL_16\n LBL_16:\n store i32 -22, i32* %sv_0.2.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %38 = call i64 @FUNC(i64* nonnull %sv_3, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0), i64 3)\n %39 = call i64 @FUNC(i64* nonnull %sv_3, i64 %0)\n %40 = icmp eq i32 %sv_0.2.reload, 0\n %41 = icmp eq i1 %40, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n br i1 %41, label LBL_19, label LBL_18\n LBL_18:\n %42 = ptrtoint i64* %sv_3 to i64\n %43 = call i64 @FUNC(i64 %42)\n %44 = call i64 @FUNC(i64 %43, i64 2, i64* nonnull %sv_3)\n %45 = trunc i64 %44 to i32\n store i32 %45, i32* %sv_0.3.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %46 = zext i32 %sv_0.3.reload to i64\n ret i64 %46\n\n uselistorder i64 %32, { 3, 2, 0, 1 }\n uselistorder i64* %sv_3, { 1, 4, 2, 3, 5, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i1* %sv_2.0.ph.reg2mem, { 0, 1, 2, 6, 7, 3, 4, 5 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 0, 1, 2, 6, 7, 3, 4, 5 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 1, 2, 6, 7, 3, 4, 5 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 4, 2, 3, 5, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 6, 5, 7, 8, 9, 10, 3, 11, 4, 0, 12, 1, 2 }\n uselistorder i32 0, { 11, 12, 13, 14, 6, 0, 7, 15, 16, 4, 17, 5, 18, 1, 8, 19, 2, 9, 20, 3, 10, 21 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg4, { 3, 2, 1, 0 }\n uselistorder i64 %arg3, { 2, 1, 0 }\n uselistorder label LBL_17, { 2, 1, 3, 4, 0 }\n uselistorder label LBL_16, { 1, 2, 0 }\n uselistorder label LBL_10, { 6, 5, 1, 0, 4, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cborTagNotSupp_169", "fun_name": "cborTagNotSupp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = urem i64 %arg2, 256\n %2 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i64 10, i64 0)\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 80, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1, i64 0, i64 0, i64 0)\n %4 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_pool_5424", "fun_name": "add_pool", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %0 = call i64* @calloc(i32 184, i32 1)\n %1 = icmp eq i64* %0, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %4 = bitcast i64* %0 to i32*\n %5 = load i32, i32* @gv_1, align 4\n %6 = ptrtoint i64* %0 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %5, i32* %8, align 4\n store i32 %5, i32* %4, align 4\n %9 = zext i32 %5 to i64\n %10 = bitcast i64* %sv_0 to i8*\n %11 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %9)\n %12 = call i8* @strdup(i8* nonnull %10)\n %13 = ptrtoint i8* %12 to i64\n %14 = add i64 %6, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = load i64, i64* @gv_3, align 8\n %17 = inttoptr i64 %16 to i64*\n %18 = call i64* @realloc(i64* %17, i32 trunc (i64 mul (i64 sext (i32 ptrtoint (i32* @gv_4 to i32) to i64), i64 8) to i32))\n %19 = ptrtoint i64* %18 to i64\n store i64 %19, i64* @gv_3, align 8\n %20 = load i32, i32* @gv_1, align 4\n store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_1, align 4\n %21 = sext i32 %20 to i64\n %22 = mul i64 %21, 8\n %23 = add i64 %22, %19\n %24 = inttoptr i64 %23 to i64*\n store i64 %6, i64* %24, align 8\n %25 = add i64 %6, 16\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %6, 56\n %28 = inttoptr i64 %27 to i64*\n %29 = call i32 @pthread_cond_init(i64* %28, i64* null)\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_4, label LBL_3\n LBL_3:\n %34 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_6, i64 0, i64 0))\n unreachable\n LBL_4:\n %35 = add i64 %6, 104\n %36 = call i64 @FUNC(i64 %35)\n %37 = call i64 @FUNC(i64 %35)\n %38 = add i64 %6, 144\n %39 = call i64 @FUNC(i64 %38)\n %40 = call i64 @FUNC(i64 %38)\n %41 = add i64 %6, 152\n %42 = inttoptr i64 %41 to i64*\n store i64 -1, i64* %42, align 8\n %43 = load i64, i64* @gv_7, align 8\n %44 = add i64 %6, 160\n %45 = inttoptr i64 %44 to i64*\n store i64 %43, i64* %45, align 8\n %46 = add i64 %6, 168\n %47 = inttoptr i64 %46 to i64*\n store i64 0, i64* %47, align 8\n %48 = add i64 %6, 176\n %49 = inttoptr i64 %48 to i32*\n store i32 1, i32* %49, align 4\n %50 = call i64 @FUNC()\n ret i64 %6\n\n uselistorder i32 %5, { 1, 0, 2 }\n uselistorder i64* %0, { 0, 2, 1 }\n uselistorder i64 (i64)* @cglock_init, { 1, 0 }\n uselistorder i64 (i64)* @mutex_init, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i32* @gv_1, { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @quit, { 1, 0 }\n uselistorder i64* null, { 1, 0, 2 }\n uselistorder i32 1, { 5, 3, 4, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_flush_change_8937", "fun_name": "ff_h264_flush_change", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.01.reg2mem = alloca i32\n %sv_0.12.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n store i32 -2147483648, i32* %2, align 4\n %3 = bitcast i64* %arg1 to i32*\n store i32 -2147483648, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 1, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %0)\n %7 = add i64 %0, 432\n %8 = inttoptr i64 %7 to i32*\n store i32 -1, i32* %8, align 4\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_6, label LBL_1\n LBL_1:\n %13 = inttoptr i64 %11 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n store i32 0, i32* %sv_1.01.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %18, label LBL_2, label LBL_5\n LBL_2:\n %sv_1.01.reload = load i32, i32* %sv_1.01.reg2mem\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %19 = load i64, i64* %10, align 8\n %20 = icmp eq i64 %.reload, %19\n store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = add i32 %sv_0.12.reload, 1\n %22 = sext i32 %sv_0.12.reload to i64\n %23 = mul i64 %22, 8\n %24 = add i64 %23, %14\n %25 = inttoptr i64 %24 to i64*\n store i64 %.reload, i64* %25, align 8\n store i32 %21, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %26 = add i32 %sv_1.01.reload, 1\n %27 = sext i32 %26 to i64\n %28 = mul i64 %27, 8\n %29 = add i64 %28, %14\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %31, i64* %.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem\n store i32 %26, i32* %sv_1.01.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %33, label LBL_2, label LBL_5\n LBL_5:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %34 = sext i32 %sv_0.1.lcssa.reload to i64\n %35 = mul i64 %34, 8\n %36 = add i64 %35, %14\n %37 = inttoptr i64 %36 to i64*\n store i64 0, i64* %37, align 8\n br label LBL_6\n LBL_6:\n %38 = add i64 %0, 152\n %39 = inttoptr i64 %38 to i32*\n store i32 0, i32* %39, align 4\n %40 = add i64 %0, 156\n %41 = inttoptr i64 %40 to i64*\n %42 = call i64* @memset(i64* %41, i32 0, i32 64)\n %43 = add i64 %0, 220\n %44 = inttoptr i64 %43 to i64*\n %45 = call i64* @memset(i64* %44, i32 0, i32 64)\n %46 = add i64 %0, 284\n %47 = inttoptr i64 %46 to i64*\n %48 = call i64* @memset(i64* %47, i32 0, i32 64)\n %49 = add i64 %0, 348\n %50 = inttoptr i64 %49 to i64*\n %51 = call i64* @memset(i64* %50, i32 0, i32 64)\n %52 = call i64 @FUNC(i64 %0)\n %53 = add i64 %0, 412\n %54 = inttoptr i64 %53 to i32*\n store i32 -1, i32* %54, align 4\n %55 = add i64 %0, 416\n %56 = inttoptr i64 %55 to i32*\n store i32 0, i32* %56, align 4\n %57 = add i64 %0, 420\n %58 = inttoptr i64 %57 to i32*\n store i32 0, i32* %58, align 4\n %59 = add i64 %0, 424\n %60 = inttoptr i64 %59 to i32*\n store i32 0, i32* %60, align 4\n %61 = add i64 %0, 428\n %62 = inttoptr i64 %61 to i32*\n store i32 1, i32* %62, align 4\n ret i64 %0\n\n uselistorder i32 %sv_0.12.reload, { 2, 1, 0 }\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 7, 6, 9, 8, 11, 10, 12, 0, 13, 14, 15, 16, 17 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.01.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sctp_bindx_rem_8518", "fun_name": "sctp_bindx_rem", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %sv_0.05.reg2mem = alloca i32\n %sv_1.18.reg2mem = alloca i64\n %storemerge49.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %arg3 to i32\n %6 = call i64 @FUNC(i64 %4)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3, i32 %5, i64 %2, i64 %1)\n %10 = icmp sgt i32 %5, 0\n store i32 0, i32* %storemerge.in.reg2mem\n br i1 %10, label LBL_1, label LBL_10\n LBL_1:\n %11 = inttoptr i64 %8 to i32*\n %12 = add i64 %8, 8\n %13 = add i64 %8, 16\n store i32 0, i32* %storemerge49.reg2mem\n store i64 %3, i64* %sv_1.18.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge49.reload = load i32, i32* %storemerge49.reg2mem\n %14 = call i64 @FUNC(i64 %12)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i32 -16, i32* %sv_0.05.reg2mem\n br i1 %17, label LBL_7, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %12)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n store i32 -16, i32* %sv_0.05.reg2mem\n br i1 %20, label LBL_4, label LBL_7\n LBL_4:\n %sv_1.18.reload = load i64, i64* %sv_1.18.reg2mem\n %21 = inttoptr i64 %sv_1.18.reload to i16*\n %22 = load i16, i16* %21, align 2\n %23 = zext i16 %22 to i64\n %24 = call i64 @FUNC(i64 %23)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i32 -22, i32* %sv_0.05.reg2mem\n br i1 %26, label LBL_5, label LBL_7\n LBL_5:\n %27 = add i64 %sv_1.18.reload, 2\n %28 = inttoptr i64 %27 to i16*\n %29 = load i16, i16* %28, align 2\n %30 = load i32, i32* %11, align 4\n %31 = trunc i32 %30 to i16\n %32 = call i16 @htons(i16 %31)\n %33 = icmp eq i16 %29, %32\n store i32 -22, i32* %sv_0.05.reg2mem\n br i1 %33, label LBL_6, label LBL_7\n LBL_6:\n %34 = call i64 @FUNC()\n %35 = call i64 @FUNC(i64 %13)\n %36 = call i64 @FUNC(i64 %8, i64 %sv_1.18.reload)\n %37 = trunc i64 %36 to i32\n %38 = call i64 @FUNC(i64 %13)\n %39 = call i64 @FUNC()\n %40 = icmp slt i32 %37, 0\n %41 = icmp eq i1 %40, false\n store i32 %37, i32* %sv_0.05.reg2mem\n br i1 %41, label LBL_9, label LBL_7\n LBL_7:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %42 = icmp eq i32 %storemerge49.reload, 0\n store i32 %sv_0.05.reload, i32* %storemerge.in.reg2mem\n br i1 %42, label LBL_10, label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64 %4, i64 %3, i32 %storemerge49.reload)\n store i32 %sv_0.05.reload, i32* %storemerge.in.reg2mem\n br label LBL_10\n LBL_9:\n %44 = inttoptr i64 %24 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = sext i32 %45 to i64\n %47 = add i64 %sv_1.18.reload, %46\n %48 = add nuw nsw i32 %storemerge49.reload, 1\n %49 = icmp slt i32 %48, %5\n store i32 %48, i32* %storemerge49.reg2mem\n store i64 %47, i64* %sv_1.18.reg2mem\n store i32 %37, i32* %storemerge.in.reg2mem\n br i1 %49, label LBL_2, label LBL_10\n LBL_10:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %sv_0.05.reload, { 1, 0 }\n uselistorder i64 %sv_1.18.reload, { 3, 0, 1, 2 }\n uselistorder i64 %8, { 0, 2, 1, 3 }\n uselistorder i32 %5, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i32* %storemerge49.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.18.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.05.reg2mem, { 0, 5, 1, 2, 4, 3 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 -16, { 1, 0 }\n uselistorder i32 0, { 2, 4, 5, 6, 1, 0, 3 }\n uselistorder label LBL_10, { 0, 3, 2, 1 }\n uselistorder label LBL_7, { 4, 0, 1, 3, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "next_line_4905", "fun_name": "next_line", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rcx.05.reg2mem = alloca i64\n %0 = icmp eq i64* %arg3, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* %arg5, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %2 = ptrtoint i64* %arg5 to i64\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %4, i64 %3, i64 %2)\n %7 = icmp eq i64* %arg5, null\n %8 = icmp eq i64 %6, %2\n %or.cond3 = icmp eq i1 %7, %8\n store i64 %3, i64* %rcx.05.reg2mem\n store i64 %6, i64* %storemerge.reg2mem\n br i1 %or.cond3, label LBL_3, label LBL_5\n LBL_3:\n %rcx.05.reload = load i64, i64* %rcx.05.reg2mem\n %9 = add i64 %rcx.05.reload, 1023\n %10 = and i64 %9, 4294966272\n %11 = add i64 %rcx.05.reload, 160\n %12 = icmp ult i64 %10, %11\n %13 = zext i1 %12 to i64\n %spec.select = shl nuw nsw i64 %10, %13\n %14 = call i64 @FUNC(i64 %5, i64 %spec.select, i64 %3)\n store i64 %14, i64* %arg2, align 8\n %15 = icmp eq i64 %spec.select, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %16, label LBL_4, label LBL_5\n LBL_4:\n store i64 %4, i64* %arg4, align 8\n store i64 %spec.select, i64* %arg2, align 8\n store i64 %spec.select, i64* %arg3, align 8\n %17 = sub i64 %spec.select, %2\n %18 = add i64 %spec.select, %2\n %19 = call i64 @FUNC(i64 %18, i64 %17, i64 %2)\n %20 = icmp slt i64 %19, 0\n %21 = select i1 %20, i64 0, i64 %2\n %spec.select2 = add i64 %21, %19\n %22 = icmp eq i64 %spec.select2, %2\n store i64 %18, i64* %rcx.05.reg2mem\n store i64 %spec.select2, i64* %storemerge.reg2mem\n br i1 %22, label LBL_3, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %spec.select, { 0, 2, 1, 3, 5, 4 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %2, { 4, 0, 5, 2, 1, 3, 6 }\n uselistorder i64* %rcx.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64 (i64, i64, i64)* @get_line_size, { 1, 0 }\n uselistorder i64* %arg5, { 0, 2, 1 }\n uselistorder i64* %arg3, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__netlink_insert_8441", "fun_name": "__netlink_insert", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = call i64 @FUNC(i64 %0)\n %7 = zext i32 %5 to i64\n %8 = and i64 %6, 4294967295\n %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8, i64 %7)\n %10 = load i64, i64* @gv_0, align 8\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 %11, i64 %10)\n ret i64 %12\n\n uselistorder i64 (i64)* @nlk_sk, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vga_mem_readb_364", "fun_name": "vga_mem_readb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = trunc i64 %1 to i32\n %5 = udiv i32 %4, 4\n %6 = urem i32 %5, 4\n %7 = urem i32 %3, 131072\n store i32 %7, i32* %sv_1.0.reg2mem\n switch i32 %6, label LBL_1 [\n i32 2, label LBL_4\n i32 3, label LBL_5\n i32 0, label LBL_6\n ]\n LBL_1:\n %8 = icmp eq i32 %6, 1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\n %10 = icmp ult i32 %7, 65536\n store i64 255, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_18\n LBL_3:\n %11 = add i64 %2, 2060\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, %7\n store i32 %14, i32* %sv_1.0.reg2mem\n br label LBL_6\n LBL_4:\n %15 = add nsw i32 %7, -65536\n %16 = icmp ult i32 %15, 32768\n store i32 %15, i32* %sv_1.0.reg2mem\n store i64 255, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_18\n LBL_5:\n %17 = add nsw i32 %7, -98304\n %18 = icmp ult i32 %17, 32768\n store i32 %17, i32* %sv_1.0.reg2mem\n store i64 255, i64* %rax.0.reg2mem\n br i1 %18, label LBL_6, label LBL_18\n LBL_6:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %19 = add i64 %2, 1024\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = and i32 %21, 16\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_10, label LBL_7\n LBL_7:\n %24 = add i64 %2, 2056\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp ult i32 %sv_1.0.reload, %26\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %28 = add i64 %2, 2048\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = zext i32 %sv_1.0.reload to i64\n %32 = mul i64 %31, 4\n %33 = add i64 %30, %32\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n store i32 %35, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_10:\n %36 = and i32 %4, 16\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_13, label LBL_11\n LBL_11:\n %38 = and i32 %4, 2\n %39 = urem i32 %sv_1.0.reload, 2\n %40 = mul i32 %sv_1.0.reload, 2\n %41 = and i32 %40, -4\n %42 = or i32 %39, %38\n %43 = or i32 %42, %41\n %44 = add i64 %2, 2056\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp ult i32 %43, %46\n store i64 255, i64* %rax.0.reg2mem\n br i1 %47, label LBL_12, label LBL_18\n LBL_12:\n %48 = add i64 %2, 2048\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = zext i32 %43 to i64\n %52 = mul i64 %51, 4\n %53 = add i64 %50, %52\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n store i32 %55, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_13:\n %56 = zext i32 %sv_1.0.reload to i64\n %57 = mul i64 %56, 4\n %58 = add i64 %2, 2056\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = zext i32 %60 to i64\n %62 = icmp ult i64 %57, %61\n store i64 255, i64* %rax.0.reg2mem\n br i1 %62, label LBL_14, label LBL_18\n LBL_14:\n %63 = bitcast i64* %rdi to i32*\n %64 = add i64 %2, 2048\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = add i64 %66, %57\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = add i64 %2, 2064\n %71 = inttoptr i64 %70 to i32*\n store i32 %69, i32* %71, align 4\n %72 = load i32, i32* %63, align 8\n %73 = and i32 %72, 8\n %74 = icmp eq i32 %73, 0\n %75 = icmp eq i1 %74, false\n br i1 %75, label LBL_16, label LBL_15\n LBL_15:\n %76 = zext i32 %72 to i64\n %77 = zext i32 %69 to i64\n %78 = call i64 @FUNC(i64 %77, i64 %76)\n %79 = trunc i64 %78 to i32\n store i32 %79, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_16:\n %80 = sub i32 0, %69\n %81 = sub i32 %80, 1\n %82 = zext i32 %72 to i64\n %83 = mul i64 %82, 4\n %84 = add i64 %83, ptrtoint (i32** @gv_3 to i64)\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = and i32 %86, %81\n %88 = udiv i32 %87, 65536\n %89 = or i32 %88, %87\n %90 = udiv i32 %89, 256\n %91 = or i32 %90, %89\n %92 = urem i32 %91, 256\n %93 = xor i32 %92, 255\n store i32 %93, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %94 = zext i32 %sv_0.0.reload to i64\n store i64 %94, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %89, { 1, 0 }\n uselistorder i32 %87, { 1, 0 }\n uselistorder i32 %72, { 1, 0, 2 }\n uselistorder i64 %57, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 0, 4, 3, 2, 1 }\n uselistorder i32 %7, { 3, 1, 4, 2, 0 }\n uselistorder i32 %4, { 1, 2, 0 }\n uselistorder i64 %2, { 7, 6, 5, 3, 2, 1, 8, 4, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i32 32768, { 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 4, 1 }\n uselistorder i32 2, { 0, 1, 3, 2 }\n uselistorder i32 4, { 1, 0 }\n uselistorder label LBL_18, { 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flush_thread_4840", "fun_name": "flush_thread", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32*, i32** @gv_0, align 8\n %1 = load i32, i32* %0, align 4\n %2 = and i32 %1, -4\n store i32 %2, i32* %0, align 4\n %3 = load i32*, i32** @gv_0, align 8\n %4 = ptrtoint i32* %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = load i32*, i32** @gv_0, align 8\n %7 = ptrtoint i32* %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = load i32*, i32** @gv_0, align 8\n %14 = ptrtoint i32* %13 to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = load i32*, i32** @gv_0, align 8\n %17 = ptrtoint i32* %16 to i64\n %18 = add i64 %17, 4\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = call i64 @FUNC(i64 0)\n %21 = load i32*, i32** @gv_0, align 8\n %22 = ptrtoint i32* %21 to i64\n %23 = add i64 %22, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = call i64* @memset(i64* %24, i32 0, i32 128)\n %26 = ptrtoint i64* %25 to i64\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_read_le32_12868", "fun_name": "r_read_le32", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 3\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = zext i8 %5 to i64\n %7 = mul i64 %6, 16777216\n %8 = add i64 %2, 2\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = zext i8 %10 to i64\n %12 = mul i64 %11, 65536\n %13 = add i64 %2, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = zext i8 %15 to i64\n %17 = mul i64 %16, 256\n %18 = urem i64 %1, 256\n %19 = or i64 %7, %18\n %20 = or i64 %19, %12\n %21 = or i64 %20, %17\n ret i64 %21\n\n uselistorder i64 256, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_cdlms_17026", "fun_name": "decode_cdlms", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge410.reg2mem = alloca i32\n %.reg2mem29 = alloca i64\n %.reg2mem27 = alloca i32\n %storemerge211.reg2mem = alloca i32\n %.reg2mem25 = alloca i64\n %storemerge59.reg2mem = alloca i32\n %.reg2mem23 = alloca i64\n %storemerge68.reg2mem = alloca i32\n %.reg2mem21 = alloca i64\n %storemerge12.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 2572\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %1 to i32\n %6 = and i64 %1, 4294967295\n %7 = icmp eq i32 %5, 0\n store i64 %6, i64* %.lcssa.reg2mem\n br i1 %7, label LBL_16, label LBL_1\n LBL_1:\n %8 = bitcast i64* %rdi to i32*\n %9 = trunc i64 %4 to i32\n %10 = add i64 %2, 2564\n %11 = icmp eq i32 %9, 0\n %12 = add i64 %2, 20\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %13 = call i64 @FUNC(i64 %3, i64 3)\n %14 = trunc i64 %13 to i32\n %15 = add i32 %14, 1\n %16 = mul i64 %.reload, 4\n %17 = add i64 %10, %16\n %18 = inttoptr i64 %17 to i32*\n store i32 %15, i32* %18, align 4\n %19 = icmp eq i32 %15, 0\n br i1 %19, label LBL_15, label LBL_3\n LBL_3:\n %20 = mul nsw i64 %.reload, 1280\n %21 = add i64 %20, %2\n %22 = add i64 %21, 4\n store i64 0, i64* %.reg2mem21\n store i32 0, i32* %storemerge68.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge68.reload = load i32, i32* %storemerge68.reg2mem\n %.reload22 = load i64, i64* %.reg2mem21\n %23 = call i64 @FUNC(i64 %3, i64 7)\n %.tr = trunc i64 %23 to i32\n %24 = mul i32 %.tr, 8\n %25 = add i32 %24, 8\n %26 = mul nsw i64 %.reload22, 80\n %27 = add i64 %22, %26\n %28 = inttoptr i64 %27 to i32*\n store i32 %25, i32* %28, align 4\n %29 = add i32 %storemerge68.reload, 1\n %30 = load i32, i32* %18, align 4\n %31 = zext i32 %30 to i64\n %32 = sext i32 %29 to i64\n %33 = icmp slt i64 %32, %31\n store i64 %32, i64* %.reg2mem21\n store i32 %29, i32* %storemerge68.reg2mem\n br i1 %33, label LBL_4, label LBL_5\n LBL_5:\n %34 = icmp eq i32 %30, 0\n br i1 %34, label LBL_15, label LBL_6\n LBL_6:\n %35 = add i64 %21, 8\n store i64 0, i64* %.reg2mem23\n store i32 0, i32* %storemerge59.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge59.reload = load i32, i32* %storemerge59.reg2mem\n %.reload24 = load i64, i64* %.reg2mem23\n %36 = call i64 @FUNC(i64 %3, i64 4)\n %37 = trunc i64 %36 to i32\n %38 = mul nsw i64 %.reload24, 80\n %39 = add i64 %35, %38\n %40 = inttoptr i64 %39 to i32*\n store i32 %37, i32* %40, align 4\n %41 = add i32 %storemerge59.reload, 1\n %42 = load i32, i32* %18, align 4\n %43 = zext i32 %42 to i64\n %44 = sext i32 %41 to i64\n %45 = icmp slt i64 %44, %43\n store i64 %44, i64* %.reg2mem23\n store i32 %41, i32* %storemerge59.reg2mem\n br i1 %45, label LBL_7, label LBL_8\n LBL_8:\n %46 = icmp eq i32 %42, 0\n %or.cond = or i1 %11, %46\n br i1 %or.cond, label LBL_15, label LBL_9\n LBL_9:\n %47 = mul nsw i64 %.reload, 320\n store i64 0, i64* %.reg2mem25\n store i32 0, i32* %storemerge211.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge211.reload = load i32, i32* %storemerge211.reg2mem\n %.reload26 = load i64, i64* %.reg2mem25\n %48 = mul nsw i64 %.reload26, 80\n %49 = add i64 %21, %48\n %50 = add i64 %49, 4\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64 %53)\n %55 = trunc i64 %54 to i32\n %56 = urem i32 %55, 32\n %57 = shl i32 1, %56\n %58 = load i32, i32* %51, align 4\n %59 = icmp ult i32 %57, %58\n %60 = zext i1 %59 to i64\n %spec.select = add i64 %54, %60\n %61 = and i64 %spec.select, 4294967295\n %62 = call i64 @FUNC(i64 %3, i64 %61)\n %63 = trunc i64 %62 to i32\n %64 = add i32 %63, 1\n %65 = add i64 %49, 12\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n %67 = add i64 %49, 8\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = add i32 %69, 1\n %71 = zext i32 %70 to i64\n %72 = call i64 @FUNC(i64 %71)\n %73 = trunc i64 %72 to i32\n %74 = load i32, i32* %68, align 4\n %75 = urem i32 %73, 32\n %.highbits = lshr i32 %74, %75\n %76 = icmp ne i32 %.highbits, 0\n %77 = zext i1 %76 to i64\n %sv_0.1 = add i64 %72, %77\n %78 = and i64 %sv_0.1, 4294967295\n %79 = call i64 @FUNC(i64 %3, i64 %78)\n %80 = trunc i64 %79 to i32\n %81 = add i32 %80, 2\n %82 = add i64 %49, 16\n %83 = inttoptr i64 %82 to i32*\n store i32 %81, i32* %83, align 4\n %84 = load i32, i32* %66, align 4\n %85 = icmp eq i32 %84, 0\n br i1 %85, label LBL_14, label LBL_11\n LBL_11:\n %86 = load i32, i32* %68, align 4\n %87 = sub i32 30, %86\n %88 = sub i32 30, %80\n %89 = urem i32 %88, 32\n %90 = icmp eq i32 %89, 0\n %91 = urem i32 %87, 32\n %92 = icmp eq i32 %91, 0\n %93 = mul nsw i64 %.reload26, 20\n %94 = add nsw i64 %93, %47\n store i32 %81, i32* %.reg2mem27\n store i64 0, i64* %.reg2mem29\n store i32 0, i32* %storemerge410.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge410.reload = load i32, i32* %storemerge410.reg2mem\n %.reload30 = load i64, i64* %.reg2mem29\n %.reload28 = load i32, i32* %.reg2mem27\n %95 = zext i32 %.reload28 to i64\n %96 = call i64 @FUNC(i64 %3, i64 %95)\n %97 = and i64 %96, 4294967295\n %98 = trunc i64 %96 to i32\n %99 = shl i32 %98, %89\n %100 = zext i32 %99 to i64\n %rdx.0 = select i1 %90, i64 %97, i64 %100\n %101 = trunc i64 %rdx.0 to i32\n %102 = ashr i32 %101, %91\n %103 = zext i32 %102 to i64\n %storemerge7 = select i1 %92, i64 %rdx.0, i64 %103\n store i64 %storemerge7, i64* %rdi, align 8\n %104 = add nsw i64 %94, %.reload30\n %105 = trunc i64 %storemerge7 to i32\n %106 = mul i64 %104, 4\n %107 = add i64 %12, %106\n %108 = inttoptr i64 %107 to i32*\n store i32 %105, i32* %108, align 4\n %109 = add i32 %storemerge410.reload, 1\n %110 = load i32, i32* %66, align 4\n %111 = zext i32 %110 to i64\n %112 = sext i32 %109 to i64\n %113 = icmp slt i64 %112, %111\n br i1 %113, label LBL_12.LBL_12_crit_edge, label LBL_14\n LBL_13:\n %.pre = load i32, i32* %83, align 4\n store i32 %.pre, i32* %.reg2mem27\n store i64 %112, i64* %.reg2mem29\n store i32 %109, i32* %storemerge410.reg2mem\n br label LBL_12\n LBL_14:\n %114 = add i32 %storemerge211.reload, 1\n %115 = load i32, i32* %18, align 4\n %116 = zext i32 %115 to i64\n %117 = sext i32 %114 to i64\n %118 = icmp slt i64 %117, %116\n store i64 %117, i64* %.reg2mem25\n store i32 %114, i32* %storemerge211.reg2mem\n br i1 %118, label LBL_10, label LBL_15\n LBL_15:\n %119 = add i32 %storemerge12.reload, 1\n %120 = load i32, i32* %8, align 8\n %121 = zext i32 %120 to i64\n %122 = sext i32 %119 to i64\n %123 = icmp slt i64 %122, %121\n store i64 %122, i64* %.reg2mem\n store i32 %119, i32* %storemerge12.reg2mem\n store i64 %121, i64* %.lcssa.reg2mem\n br i1 %123, label LBL_2, label LBL_16\n LBL_16:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %91, { 1, 0 }\n uselistorder i32 %89, { 1, 0 }\n uselistorder i32* %66, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem21, { 1, 0, 2 }\n uselistorder i32* %storemerge68.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem23, { 1, 0, 2 }\n uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem25, { 1, 0, 2 }\n uselistorder i32* %storemerge211.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem27, { 1, 0, 2 }\n uselistorder i64* %.reg2mem29, { 1, 0, 2 }\n uselistorder i32* %storemerge410.reg2mem, { 1, 0, 2 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64)* @av_log2, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 80, { 2, 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 4, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i32 0, { 0, 12, 13, 7, 11, 1, 6, 2, 8, 3, 9, 4, 14, 10, 15, 5 }\n uselistorder i64 4294967295, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_15, { 0, 3, 2, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "count_ah_combs_10166", "fun_name": "count_ah_combs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 0)\n %2 = icmp eq i64 %1, 0\n store i64 %1, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %3 = inttoptr i64 %.reload to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %0, i64 %.reload)\n br label LBL_3\n LBL_3:\n %7 = add i32 %storemerge2.reload, 1\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i64 %9, 0\n store i64 %9, i64* %.reg2mem\n store i32 %7, i32* %storemerge2.reg2mem\n br i1 %10, label LBL_4, label LBL_1\n LBL_4:\n ret i64 0\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64)* @xfrm_aalg_get_byidx, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_device_1136", "fun_name": "get_device", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = call i64 @FUNC(i64 %arg1, i64 6900, i64 4368, i64 4198775, i64* nonnull %sv_0)\n %1 = load i64, i64* %sv_0, align 8\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n ret i64 %.reload\n\n uselistorder i64* %sv_0, { 0, 2, 1, 3 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xendev_class_init_3281", "fun_name": "xendev_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n store i64 %1, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = or i64 %4, 1\n store i64 %5, i64* %3, align 8\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i8*\n store i8 1, i8* %7, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jbd2_journal_start_reserved_4576", "fun_name": "jbd2_journal_start_reserved", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n %5 = zext i1 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %0)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %10 = load i64, i64* @gv_0, align 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %0)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n store i64 0, i64* %arg1, align 8\n %18 = call i64 @FUNC(i64 %0, i64 %0, i64 0)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n store i64 %0, i64* %arg1, align 8\n %22 = call i64 @FUNC(i64 %0)\n %23 = and i64 %18, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %24 = trunc i64 %arg2 to i32\n %25 = add i64 %0, 12\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = trunc i64 %arg3 to i32\n %28 = add i64 %0, 16\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 3, 4, 1, 2, 6, 5, 7, 0, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @jbd2_journal_free_reserved, { 1, 0 }\n uselistorder i64 4294967291, { 1, 0 }\n uselistorder i64 (i64)* @WARN_ON, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "server_http_authenticate_17665", "fun_name": "server_http_authenticate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0911.reg2mem = alloca i64\n %sv_0.0910.ph.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i8*, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i8*, align 8\n %sv_4 = alloca i64, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 0, i64* %sv_4, align 8\n store i8* null, i8** %sv_3, align 8\n %4 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 1024)\n store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8** %sv_1, align 8\n %5 = bitcast i8** %sv_1 to i64*\n %6 = call i64 @FUNC(i64 %3, i64* nonnull %5)\n %7 = icmp eq i64 %6, 0\n store i64 4294967295, i64* %sv_0.0911.reg2mem\n br i1 %7, label LBL_21, label LBL_1\n LBL_1:\n %8 = add i64 %6, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n store i64 4294967295, i64* %sv_0.0911.reg2mem\n br i1 %11, label LBL_21, label LBL_2\n LBL_2:\n %12 = inttoptr i64 %10 to i8*\n %13 = call i32 @strncmp(i8* %12, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i32 6)\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %sv_0.0910.ph.reg2mem\n br i1 %15, label LBL_19, label LBL_3\n LBL_3:\n %16 = load i64, i64* %9, align 8\n %17 = inttoptr i64 %16 to i8*\n %18 = call i8* @strchr(i8* %17, i32 32)\n %19 = ptrtoint i8* %18 to i64\n %20 = add i64 %19, 1\n %21 = call i64 @FUNC(i64 %20, i64* nonnull %sv_2, i64 1024)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 1\n store i64 4294967295, i64* %sv_0.0910.ph.reg2mem\n br i1 %23, label LBL_19, label LBL_4\n LBL_4:\n %24 = bitcast i64* %sv_2 to i8*\n %25 = call i8* @strchr(i8* nonnull %24, i32 58)\n %26 = icmp eq i8* %25, null\n store i64 4294967295, i64* %sv_0.0910.ph.reg2mem\n br i1 %26, label LBL_19, label LBL_5\n LBL_5:\n %27 = ptrtoint i8* %25 to i64\n %28 = add i64 %27, 1\n store i8 0, i8* %25, align 1\n %29 = call i8* @strdup(i8* nonnull %24)\n %30 = ptrtoint i8* %29 to i64\n store i64 %30, i64* %arg2, align 8\n %31 = icmp eq i64 %28, 0\n store i64 4294967295, i64* %sv_0.0910.ph.reg2mem\n br i1 %31, label LBL_19, label LBL_6\n LBL_6:\n %32 = call %_IO_FILE* @fopen(i8* nonnull %24, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))\n %33 = icmp eq %_IO_FILE* %32, null\n store i64 4294967295, i64* %sv_0.0910.ph.reg2mem\n br i1 %33, label LBL_19, label LBL_7\n LBL_7:\n %34 = bitcast i64* %sv_4 to i32*\n %35 = call i32 @getline(i8** nonnull %sv_3, i32* nonnull %34, %_IO_FILE* nonnull %32)\n %36 = icmp eq i32 %35, -1\n %37 = icmp eq i1 %36, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %37, label LBL_8, label LBL_18\n LBL_8:\n store i32 %35, i32* %.in.reg2mem\n br label LBL_9\n LBL_9:\n %.in.reload = load i32, i32* %.in.reg2mem\n %38 = sext i32 %.in.reload to i64\n %39 = load i8*, i8** %sv_3, align 8\n %40 = ptrtoint i8* %39 to i64\n %41 = add nsw i64 %38, -1\n %42 = add i64 %41, %40\n %43 = inttoptr i64 %42 to i8*\n %44 = load i8, i8* %43, align 1\n %45 = icmp eq i8 %44, 10\n %46 = icmp eq i1 %45, false\n store i64 %40, i64* %.reg2mem\n br i1 %46, label LBL_11, label LBL_10\n LBL_10:\n store i8 0, i8* %43, align 1\n %47 = load i8*, i8** %sv_3, align 8\n %48 = ptrtoint i8* %47 to i64\n store i64 %48, i64* %.reg2mem\n br label LBL_11\n LBL_11:\n %.reload = load i64, i64* %.reg2mem\n %.cast = inttoptr i64 %.reload to i8*\n %49 = call i8* @strchr(i8* %.cast, i32 58)\n %50 = icmp eq i8* %49, null\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_14, label LBL_12\n LBL_12:\n %52 = load i8*, i8** %sv_3, align 8\n %53 = ptrtoint i8* %52 to i64\n %54 = call i64 @FUNC(i64 %53, i64 %38)\n br label LBL_13\n LBL_13:\n %55 = call i32 @getline(i8** nonnull %sv_3, i32* nonnull %34, %_IO_FILE* nonnull %32)\n %56 = icmp eq i32 %55, -1\n %57 = icmp eq i1 %56, false\n store i32 %55, i32* %.in.reg2mem\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %57, label LBL_9, label LBL_18\n LBL_14:\n store i8 0, i8* %49, align 1\n %58 = call i32 @strcmp(i8* nonnull %24, i8* %.cast)\n %59 = icmp eq i32 %58, 0\n br i1 %59, label LBL_16, label LBL_15\n LBL_15:\n %60 = load i8*, i8** %sv_3, align 8\n %61 = ptrtoint i8* %60 to i64\n %62 = call i64 @FUNC(i64 %61, i64 %38)\n br label LBL_13\n LBL_16:\n %63 = ptrtoint i8* %49 to i64\n %64 = add i64 %63, 1\n %65 = call i64 @FUNC(i64 %28, i64 %64)\n %66 = trunc i64 %65 to i32\n %67 = icmp eq i32 %66, 0\n %68 = icmp eq i1 %67, false\n br i1 %68, label LBL_13, label LBL_17\n LBL_17:\n %69 = load i8*, i8** %sv_3, align 8\n %70 = ptrtoint i8* %69 to i64\n %71 = call i64 @FUNC(i64 %70, i64 %38)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %72 = call i32 @fclose(%_IO_FILE* nonnull %32)\n store i64 %sv_0.0.reload, i64* %sv_0.0910.ph.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.0910.ph.reload = load i64, i64* %sv_0.0910.ph.reg2mem\n %.pr = load i64, i64* %9, align 8\n %73 = icmp eq i64 %.pr, 0\n store i64 %sv_0.0910.ph.reload, i64* %sv_0.0911.reg2mem\n br i1 %73, label LBL_21, label LBL_20\n LBL_20:\n %74 = inttoptr i64 %.pr to i8*\n %75 = call i32 @strlen(i8* %74)\n %76 = sext i32 %75 to i64\n %77 = load i64, i64* %9, align 8\n %78 = call i64 @FUNC(i64 %77, i64 %76)\n %79 = ptrtoint i64* %sv_2 to i64\n %80 = call i64 @FUNC(i64 %79, i64 1024)\n store i64 %sv_0.0910.ph.reload, i64* %sv_0.0911.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.0911.reload = load i64, i64* %sv_0.0911.reg2mem\n ret i64 %sv_0.0911.reload\n\n uselistorder i64 %.pr, { 1, 0 }\n uselistorder i64 %sv_0.0910.ph.reload, { 1, 0 }\n uselistorder i64 %38, { 0, 2, 1, 3 }\n uselistorder i32* %34, { 1, 0 }\n uselistorder %_IO_FILE* %32, { 1, 2, 0, 3 }\n uselistorder i8* %25, { 1, 0, 2 }\n uselistorder i8* %24, { 1, 0, 2, 3 }\n uselistorder i64* %9, { 1, 0, 2, 3 }\n uselistorder i8** %sv_3, { 6, 5, 7, 4, 0, 3, 1, 2 }\n uselistorder i64* %sv_2, { 3, 0, 1, 2 }\n uselistorder i8** %sv_1, { 1, 0 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0.0911.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @explicit_bzero, { 4, 3, 2, 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 (i8**, i32*, %_IO_FILE*)* @getline, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 2, 0, 1 }\n uselistorder i1 false, { 1, 4, 2, 3, 0, 5 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder label LBL_21, { 2, 3, 0, 1 }\n uselistorder label LBL_19, { 0, 5, 4, 3, 2, 1 }\n uselistorder label LBL_18, { 2, 0, 1 }\n uselistorder label LBL_13, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cma_use_port_10350", "fun_name": "cma_use_port", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i16\n %7 = call i16 @ntohs(i16 %6)\n %8 = icmp ult i16 %7, 1024\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = call i64 @FUNC(i64 1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 4294967283, i64* %storemerge.reg2mem\n br i1 %12, label LBL_2, label LBL_7\n LBL_2:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = zext i16 %7 to i64\n %15 = call i64 @FUNC(i64 %13, i64 %14)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %13, i64 %2, i16 %7)\n store i64 %18, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_4:\n %19 = trunc i64 %1 to i32\n %20 = call i64 @FUNC(i64 %15, i64 %2, i32 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %20, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i64 %15, i64 %2)\n store i64 %20, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %25 = and i64 %sv_0.0.reload, 4294967295\n store i64 %25, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i16 %7, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 2, 0, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_net_handle_tx_bh_14162", "fun_name": "virtio_net_handle_tx_bh", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = zext i1 %5 to i64\n %7 = icmp eq i1 %5, false\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = call i64 @FUNC(i64 %9, i64 0)\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n store i32 1, i32* %2, align 4\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "connection_edge_finished_flushing_10898", "fun_name": "connection_edge_finished_flushing", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i32* %arg1 to i64\n %6 = and i64 %5, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %3 to i32\n %9 = icmp ult i32 %8, 2\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = add i32 %8, -2\n %11 = icmp ult i32 %10, 7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_2:\n %12 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %13 = and i64 %3, 4294967295\n %14 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %4, i64 %2, i64 %1)\n %15 = call i64 @FUNC()\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "calc_coeff_11278", "fun_name": "calc_coeff", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %sv_0.0.in8.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %xmm0.210.reg2mem = alloca i128\n %indvars.iv20.reg2mem = alloca i64\n %indvars.iv23.reg2mem = alloca i64\n %sv_1.113.reg2mem = alloca i32\n %storemerge614.reg2mem = alloca i32\n %sv_1.015.reg2mem = alloca i32\n %storemerge716.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %2 = load i128, i128* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %sv_7 = alloca i64, align 8\n %3 = call i64 @FUNC(i128 %2)\n %4 = call i64 @FUNC(i128 %1)\n %5 = call i128 @__asm_movsd.1(i64 %4)\n %6 = call i128 @FUNC(i128 %5, i128 %5)\n %7 = call i64 @FUNC(i128 %6)\n %8 = call i128 @__asm_movsd.1(i64 %7)\n %9 = call i128 @__asm_mulsd.2(i128 %8, i64 %4)\n %10 = call i64 @FUNC(i128 %9)\n %11 = call i128 @__asm_movsd.1(i64 %4)\n %12 = call i128 @__asm_movsd.1(i64 4657759953677713408)\n %13 = call i128 @FUNC(i128 %11, i128 %12)\n %14 = call i128 @__asm_movsd.1(i64 4662443873212039168)\n %15 = call i128 @FUNC(i128 %13, i128 %14)\n %16 = call i128 @__asm_movsd.1(i64 %7)\n %17 = call i128 @__asm_movsd.1(i64 4652517482236477440)\n %18 = call i128 @FUNC(i128 %17, i128 %16)\n %19 = call i128 @FUNC(i128 %15, i128 %18)\n %20 = call i128 @__asm_movsd.1(i64 %10)\n %21 = call i128 @__asm_movsd.1(i64 4659431211351932928)\n %22 = call i128 @FUNC(i128 %21, i128 %20)\n %23 = call i128 @FUNC(i128 %22, i128 %19)\n %24 = call i128 @__asm_movsd.1(i64 4667875460653252608)\n %25 = call i128 @FUNC(i128 %23, i128 %24)\n %26 = call i64 @FUNC(i128 %25)\n store i64 %26, i64* %sv_6, align 8\n %27 = call i128 @__asm_movsd.1(i64 %4)\n %28 = call i128 @__asm_movsd.1(i64 4641592734702895104)\n %29 = call i128 @FUNC(i128 %27, i128 %28)\n %30 = call i128 @__asm_movsd.1(i64 4658690140514811904)\n %31 = call i128 @FUNC(i128 %30, i128 %29)\n %32 = call i128 @__asm_movsd.1(i64 %7)\n %33 = call i128 @__asm_movsd.1(i64 4643510282981736448)\n %34 = call i128 @FUNC(i128 %33, i128 %32)\n %35 = call i128 @FUNC(i128 %31, i128 %34)\n %36 = call i128 @__asm_movsd.1(i64 %10)\n %37 = call i128 @__asm_movsd.1(i64 4657628012282380288)\n %38 = call i128 @FUNC(i128 %37, i128 %36)\n %39 = call i128 @FUNC(i128 %35, i128 %38)\n %40 = call i128 @__asm_movsd.1(i64 4667875460653252608)\n %41 = call i128 @FUNC(i128 %39, i128 %40)\n %42 = call i64 @FUNC(i128 %41)\n %43 = call i128 @__asm_movsd.1(i64 %4)\n %44 = call i128 @__asm_movsd.1(i64 4651338805771501568)\n %45 = call i128 @FUNC(i128 %43, i128 %44)\n %46 = call i128 @__asm_movsd.1(i64 4647257418609197056)\n %47 = call i128 @FUNC(i128 %46, i128 %45)\n %48 = call i128 @__asm_movsd.1(i64 %7)\n %49 = call i128 @__asm_movsd.1(i64 4648013882609106944)\n %50 = call i128 @FUNC(i128 %48, i128 %49)\n %51 = call i128 @FUNC(i128 %47)\n %52 = call i128 @FUNC(i128 %51, i128 %50)\n %53 = call i128 @__asm_movsd.1(i64 %10)\n %54 = call i128 @__asm_movsd.1(i64 4651866571352834048)\n %55 = call i128 @FUNC(i128 %54, i128 %53)\n %56 = call i128 @FUNC(i128 %55, i128 %52)\n %57 = call i128 @__asm_movsd.1(i64 4667875460653252608)\n %58 = call i128 @FUNC(i128 %56, i128 %57)\n %59 = call i64 @FUNC(i128 %58)\n %60 = call i128 @__asm_movsd.1(i64 %4)\n %61 = call i128 @__asm_movsd.1(i64 4638566878703255552)\n %62 = call i128 @FUNC(i128 %60)\n %63 = call i128 @FUNC(i128 %62, i128 %61)\n %64 = call i128 @__asm_movsd.1(i64 4625478292286210048)\n %65 = call i128 @FUNC(i128 %64)\n %66 = call i128 @FUNC(i128 %65, i128 %63)\n %67 = call i128 @__asm_movsd.1(i64 %7)\n %68 = call i128 @__asm_movsd.1(i64 4643510282981736448)\n %69 = call i128 @FUNC(i128 %68, i128 %67)\n %70 = call i128 @FUNC(i128 %69, i128 %66)\n %71 = call i128 @__asm_movsd.1(i64 %10)\n %72 = call i128 @__asm_movsd.1(i64 4639974253586808832)\n %73 = call i128 @FUNC(i128 %72, i128 %71)\n %74 = call i128 @FUNC(i128 %70, i128 %73)\n %75 = call i128 @__asm_movsd.1(i64 4667875460653252608)\n %76 = call i128 @FUNC(i128 %74, i128 %75)\n %77 = call i64 @FUNC(i128 %76)\n store i64 %26, i64* %sv_5, align 8\n %78 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 72)\n %79 = call i64 @FUNC(i64* nonnull %sv_5, i64 6, i64* nonnull %sv_6)\n %80 = mul i64 %arg3, 2\n %81 = and i64 %80, 4294967294\n %82 = icmp eq i64 %81, 0\n store i32 0, i32* %storemerge716.reg2mem\n store i32 6, i32* %sv_1.015.reg2mem\n br i1 %82, label LBL_2, label LBL_1\n LBL_1:\n %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem\n %storemerge716.reload = load i32, i32* %storemerge716.reg2mem\n %83 = add i32 %sv_1.015.reload, 1\n %84 = zext i32 %83 to i64\n %85 = call i64 @FUNC(i64* nonnull %sv_5, i64 %84)\n %86 = add i32 %storemerge716.reload, 1\n %87 = sext i32 %86 to i64\n %88 = icmp sgt i64 %81, %87\n store i32 %86, i32* %storemerge716.reg2mem\n store i32 %83, i32* %sv_1.015.reg2mem\n br i1 %88, label LBL_1, label LBL_2\n LBL_2:\n %89 = ptrtoint i64* %arg2 to i64\n %90 = add i64 %89, 12\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = trunc i64 %arg3 to i32\n %94 = add i32 %92, %93\n %95 = add i32 %94, 3\n %96 = call i128 @FUNC(i64 %3)\n %97 = zext i32 %95 to i64\n %98 = call i64 @FUNC(i64* nonnull %sv_3, i64 %97)\n %99 = mul i32 %94, 8\n %100 = sub i32 72, %99\n %101 = sext i32 %95 to i64\n %102 = mul i64 %101, 8\n %103 = ptrtoint i64* %sv_3 to i64\n %104 = add i64 %103, 8\n %105 = add i64 %104, %102\n %106 = inttoptr i64 %105 to i64*\n %107 = call i64* @memset(i64* %106, i32 0, i32 %100)\n %108 = zext i32 %94 to i64\n %109 = call i64 @FUNC(i64* nonnull %sv_3, i64 %108, i64* nonnull %sv_6)\n %110 = icmp sgt i32 %93, 0\n store i32 0, i32* %storemerge614.reg2mem\n store i32 %94, i32* %sv_1.113.reg2mem\n br i1 %110, label LBL_3, label LBL_4\n LBL_3:\n %sv_1.113.reload = load i32, i32* %sv_1.113.reg2mem\n %storemerge614.reload = load i32, i32* %storemerge614.reg2mem\n %111 = add i32 %sv_1.113.reload, -1\n %112 = zext i32 %111 to i64\n %113 = call i64 @FUNC(i64* nonnull %sv_3, i64 %112)\n %114 = add nuw nsw i32 %storemerge614.reload, 1\n %exitcond26 = icmp eq i32 %114, %93\n store i32 %114, i32* %storemerge614.reg2mem\n store i32 %111, i32* %sv_1.113.reg2mem\n br i1 %exitcond26, label LBL_4, label LBL_3\n LBL_4:\n %115 = ptrtoint i64* %arg1 to i64\n %116 = ptrtoint i64* %sv_7 to i64\n %117 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_5, i64 %89)\n %118 = add i64 %116, -208\n %119 = add i64 %116, -320\n %120 = add i64 %116, -480\n store i64 0, i64* %indvars.iv23.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv23.reload = load i64, i64* %indvars.iv23.reg2mem\n %121 = load i64, i64* %sv_5, align 8\n %122 = call i128 @__asm_movsd.1(i64 %121)\n %123 = mul i64 %indvars.iv23.reload, 4\n %124 = add i64 %123, %89\n %125 = inttoptr i64 %124 to i32*\n %126 = load i32, i32* %125, align 4\n %127 = sext i32 %126 to i64\n %128 = mul i64 %127, 8\n %129 = add i64 %118, %128\n %130 = inttoptr i64 %129 to i64*\n %131 = load i64, i64* %130, align 8\n %132 = call i128 @__asm_movsd.1(i64 %131)\n %133 = call i128 @FUNC(i128 %122, i128 %132)\n %134 = load i64, i64* %sv_3, align 8\n %135 = call i128 @__asm_movsd.1(i64 %134)\n %136 = call i128 @FUNC(i128 %133)\n %137 = call i128 @FUNC(i128 %136, i128 %135)\n %138 = load i32, i32* %125, align 4\n %139 = sext i32 %138 to i64\n %140 = mul i64 %139, 8\n %141 = add i64 %119, %140\n %142 = inttoptr i64 %141 to i64*\n %143 = load i64, i64* %142, align 8\n %144 = call i128 @__asm_movsd.1(i64 %143)\n %145 = call i128 @FUNC(i128 %144, i128 %137)\n %146 = call i64 @FUNC(i128 %145)\n %147 = mul i64 %indvars.iv23.reload, 8\n %148 = add i64 %147, %120\n %149 = inttoptr i64 %148 to i64*\n store i64 %146, i64* %149, align 8\n %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23.reload, 1\n %exitcond25 = icmp eq i64 %indvars.iv.next24, 4\n store i64 %indvars.iv.next24, i64* %indvars.iv23.reg2mem\n br i1 %exitcond25, label LBL_6, label LBL_5\n LBL_6:\n %150 = add i64 %116, -448\n store i64 0, i64* %indvars.iv20.reg2mem\n store i128 %145, i128* %xmm0.210.reg2mem\n br label LBL_7\n LBL_7:\n %xmm0.210.reload = load i128, i128* %xmm0.210.reg2mem\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %151 = call i128 @FUNC(i128 %xmm0.210.reload, i128 %xmm0.210.reload)\n %152 = call i64 @FUNC(i128 %151)\n %153 = mul i64 %indvars.iv20.reload, 4\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %152, i64* %sv_0.0.in8.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.in8.reload = load i64, i64* %sv_0.0.in8.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %154 = add nuw nsw i64 %indvars.iv.reload, %153\n %155 = mul i64 %154, 8\n %156 = add i64 %150, %155\n %157 = inttoptr i64 %156 to i64*\n %158 = load i64, i64* %157, align 8\n %159 = call i128 @__asm_movsd.1(i64 %158)\n %160 = mul i64 %indvars.iv.reload, 8\n %161 = add i64 %160, %120\n %162 = inttoptr i64 %161 to i64*\n %163 = load i64, i64* %162, align 8\n %164 = call i128 @__asm_movsd.1(i64 %163)\n %165 = call i128 @FUNC(i128 %164, i128 %159)\n %166 = call i128 @__asm_movsd.1(i64 %sv_0.0.in8.reload)\n %167 = call i128 @FUNC(i128 %165, i128 %166)\n %168 = call i64 @FUNC(i128 %167)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %168, i64* %sv_0.0.in8.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %sv_0.0 = sext i64 %168 to i128\n %169 = call i128 @FUNC(i128 %167, i128 %167)\n call void @FUNC(i128 %169, i128 %sv_0.0)\n %170 = call i128 @FUNC(i128 %169, i128 %169)\n %171 = mul i64 %indvars.iv20.reload, 8\n %172 = add i64 %171, %115\n %173 = call i64 @FUNC(i128 %170)\n %174 = inttoptr i64 %172 to i64*\n store i64 %173, i64* %174, align 8\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %exitcond22 = icmp eq i64 %indvars.iv.next21, 4\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n store i128 %170, i128* %xmm0.210.reg2mem\n br i1 %exitcond22, label LBL_10, label LBL_7\n LBL_10:\n ret i64 %172\n\n uselistorder i128 %169, { 1, 0, 2 }\n uselistorder i64 %168, { 1, 0 }\n uselistorder i128 %167, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv20.reload, { 0, 2, 1 }\n uselistorder i128 %xmm0.210.reload, { 1, 0 }\n uselistorder i64 %indvars.iv23.reload, { 0, 2, 1 }\n uselistorder i32 %94, { 0, 2, 1, 3 }\n uselistorder i32 %93, { 1, 2, 0 }\n uselistorder i64 %81, { 1, 0 }\n uselistorder i64 %10, { 3, 2, 1, 0 }\n uselistorder i64 %7, { 4, 3, 2, 1, 0 }\n uselistorder i128 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 5, 4, 3, 2, 0 }\n uselistorder i64* %sv_5, { 3, 0, 1, 2, 4 }\n uselistorder i64* %sv_3, { 3, 0, 1, 4, 2 }\n uselistorder i32* %storemerge716.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.015.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge614.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.113.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.210.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.in8.reg2mem, { 1, 0, 2 }\n uselistorder i128* %0, { 1, 0 }\n uselistorder i64 (i64*, i64)* @coeff_blur121, { 1, 0 }\n uselistorder i64 (i64*, i64, i64*)* @coeff_filter, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 1, 4 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uv__idna_toascii_7092", "fun_name": "uv__idna_toascii", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.ph.lcssa.reg2mem = alloca i64\n %sv_0.0.ph20.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg3 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 %1, i64* %sv_2, align 8\n store i64 %arg1, i64* %sv_1, align 8\n %2 = icmp ult i64 %arg1, %arg2\n store i64 %arg1, i64* %sv_0.0.ph20.reg2mem\n store i64 %arg1, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %2, label LBL_1.lr.ph, label LBL_10\n LBL_1:\n %3 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, -1\n %6 = icmp eq i1 %5, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_15\n LBL_2:\n switch i32 %4, label LBL_2.dec_label_pc_401202_crit_edge [\n i32 65377, label LBL_4\n i32 65294, label LBL_4\n i32 12290, label LBL_4\n i32 46, label LBL_4\n ]\n LBL_3:\n %.pre = load i64, i64* %sv_1, align 8\n %7 = icmp ult i64 %.pre, %arg2\n store i64 %.pre, i64* %.reg2mem\n store i64 %sv_0.0.ph20.reload, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %7, label LBL_1, label LBL_10\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %8 = call i64 @FUNC(i64 %sv_0.0.ph20.reload, i64 %.reload, i64* nonnull %sv_2, i64 %0)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %sext6 = mul i64 %8, 4294967296\n %12 = ashr exact i64 %sext6, 32\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_6:\n %13 = load i64, i64* %sv_2, align 8\n %14 = icmp ult i64 %13, %0\n br i1 %14, label LBL_7, label LBL_8\n LBL_7:\n %15 = add i64 %13, 1\n store i64 %15, i64* %sv_2, align 8\n %16 = inttoptr i64 %13 to i8*\n store i8 46, i8* %16, align 1\n br label LBL_8\n LBL_8:\n %17 = load i64, i64* %sv_1, align 8\n %18 = icmp ult i64 %17, %arg2\n store i64 %17, i64* %sv_0.0.ph20.reg2mem\n store i64 %17, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %18, label LBL_1.lr.ph, label LBL_10\n LBL_9:\n %sv_0.0.ph20.reload = load i64, i64* %sv_0.0.ph20.reg2mem\n store i64 %sv_0.0.ph20.reload, i64* %.reg2mem\n br label LBL_1\n LBL_10:\n %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem\n %19 = icmp ult i64 %sv_0.0.ph.lcssa.reload, %arg2\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_13, label LBL_11\n LBL_11:\n %21 = call i64 @FUNC(i64 %sv_0.0.ph.lcssa.reload, i64 %arg2, i64* nonnull %sv_2, i64 %0)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_13, label LBL_12\n LBL_12:\n %sext = mul i64 %21, 4294967296\n %25 = ashr exact i64 %sext, 32\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %26 = load i64, i64* %sv_2, align 8\n %27 = icmp ult i64 %26, %0\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %27, label LBL_14, label LBL_15\n LBL_14:\n %28 = add i64 %26, 1\n store i64 %28, i64* %sv_2, align 8\n %29 = inttoptr i64 %26 to i8*\n store i8 0, i8* %29, align 1\n %30 = load i64, i64* %sv_2, align 8\n %31 = sub i64 %30, %1\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %26, { 1, 2, 0 }\n uselistorder i64 %sv_0.0.ph20.reload, { 2, 0, 1 }\n uselistorder i64 %13, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 2, 3, 4, 0, 5, 6, 1, 7 }\n uselistorder i64* %sv_1, { 2, 0, 1, 3 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.ph20.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 5, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i1 false, { 2, 3, 0, 1 }\n uselistorder i64 %arg2, { 5, 4, 1, 2, 3, 0 }\n uselistorder label LBL_15, { 2, 1, 4, 3, 0 }\n uselistorder label LBL_10, { 2, 0, 1 }\n uselistorder label LBL_1.lr.ph, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zram_bvec_read_17951", "fun_name": "zram_bvec_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = mul i64 %arg3, 4\n %5 = and i64 %4, 17179869180\n %6 = add i64 %5, %3\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %arg3, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %3, i64 %13, i64 1)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_3:\n %18 = call i64 @FUNC(i64 %2)\n %19 = call i64 @FUNC(i64 %2)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i64 %13, i64* %rsi.0.reg2mem\n store i64 %18, i64* %storemerge5.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 4096, i64 0)\n store i64 0, i64* %rsi.0.reg2mem\n store i64 %22, i64* %storemerge5.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %23 = icmp eq i64 %storemerge5.reload, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %rsi.0.reload, i64 1, i64 %13, i64 %arg5, i64 %1)\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_7:\n %26 = trunc i64 %12 to i32\n %27 = call i64 @FUNC(i64 %3, i64 %storemerge5.reload, i32 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = and i64 %27, 4294967295\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %32, i32 %26, i64 %storemerge5.reload, i64 %arg5, i64 %1)\n %34 = add i64 %3, 8\n %35 = call i64 @FUNC(i64 %3, i64 %34)\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_9:\n %36 = call i64 @FUNC(i64 %2)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_11, label LBL_10\n LBL_10:\n %sext3 = mul i64 %arg4, 4294967296\n %39 = add i64 %2, 12\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = ashr exact i64 %sext3, 32\n %43 = add i64 %storemerge5.reload, %42\n %44 = add i64 %2, 8\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = sext i32 %46 to i64\n %48 = add i64 %18, %47\n %49 = inttoptr i64 %48 to i64*\n %50 = inttoptr i64 %43 to i64*\n %51 = call i64* @memcpy(i64* %49, i64* %50, i32 %41)\n br label LBL_11\n LBL_11:\n %52 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %53 = call i64 @FUNC(i64 %18)\n %54 = call i64 @FUNC(i64 %2)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br i1 %56, label LBL_14, label LBL_13\n LBL_13:\n %57 = call i64 @FUNC(i64 %storemerge5.reload)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %storemerge5.reload, { 2, 4, 3, 1, 0 }\n uselistorder i64 %18, { 2, 1, 0 }\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64 %3, { 2, 1, 3, 4, 0 }\n uselistorder i64 %2, { 2, 3, 1, 0, 4, 5, 6, 7 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @is_partial_io, { 2, 1, 0 }\n uselistorder i1 false, { 0, 2, 3, 4, 1 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "avalon_parse_results_5319", "fun_name": "avalon_parse_results", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i32* %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rcx.1.ph.reg2mem = alloca i64\n %rcx.0.ph.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %r8 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg5 to i64\n store i64 %3, i64* %r8, align 8\n %4 = ptrtoint i64* %arg4 to i64\n %5 = ptrtoint i64* %arg3 to i64\n %6 = ptrtoint i64* %arg2 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %8 = bitcast i64* %r8 to i32*\n %9 = trunc i64 %3 to i32\n %10 = add i32 %9, -64\n %11 = icmp slt i32 %10, 0\n %12 = trunc i64 %2 to i32\n store i32 0, i32* %storemerge6.reg2mem\n br i1 %11, label LBL_1, label LBL_2\n LBL_1:\n %13 = zext i32 %10 to i64\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_2:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %14 = sext i32 %storemerge6.reload to i64\n %15 = add i64 %14, %4\n %16 = call i64 @FUNC(i64 %7, i64 %15)\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_9, label LBL_3\n LBL_3:\n store i64 %16, i64* %r8, align 8\n %18 = call i64 @FUNC(i64 %5, i64 %7, i64 %6, i64 %15, i64 %16)\n %19 = trunc i64 %18 to i8\n %20 = icmp eq i8 %19, 0\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = add i64 %6, 16\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i32 %12, 1\n %24 = zext i32 %23 to i64\n %25 = bitcast i64* %arg2 to i32*\n store i32 %23, i32* %25, align 4\n %26 = icmp eq i32 %12, 0\n %27 = icmp eq i1 %26, false\n %28 = add i64 %6, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i32 %30, 1\n store i32 %31, i32* %29, align 4\n %32 = call i64 @FUNC(i64 %21)\n store i64 %24, i64* %rcx.0.ph.reg2mem\n br i1 %27, label LBL_7, label LBL_8\n LBL_5:\n %33 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1\n %34 = icmp eq i8 %33, 0\n store i64 %15, i64* %rcx.0.ph.reg2mem\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = add i64 %6, 16\n %36 = call i64 @FUNC(i64 %35)\n %37 = add i64 %6, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i32 %39, 1\n store i32 %40, i32* %38, align 4\n %41 = call i64 @FUNC(i64 %35)\n store i64 %15, i64* %rcx.0.ph.reg2mem\n br label LBL_7\n LBL_7:\n %rcx.0.ph.reload = load i64, i64* %rcx.0.ph.reg2mem\n %42 = call i64 @FUNC(i64 %16)\n store i64 %rcx.0.ph.reload, i64* %rcx.1.ph.reg2mem\n br label LBL_12\n LBL_8:\n %43 = call i64 @FUNC(i64 %16)\n %44 = call i64 @FUNC(i64 %7, i64 %6, i64 %15)\n store i64 %6, i64* %rcx.1.ph.reg2mem\n br label LBL_12\n LBL_9:\n %45 = add i32 %storemerge6.reload, 1\n %46 = icmp sgt i32 %45, %10\n store i32 %45, i32* %storemerge6.reg2mem\n br i1 %46, label LBL_10, label LBL_2\n LBL_10:\n %47 = zext i32 %10 to i64\n %48 = icmp slt i32 %10, 64\n store i64 %47, i64* %rax.0.reg2mem\n br i1 %48, label LBL_17, label LBL_11\n LBL_11:\n %49 = call i64 @FUNC(i64 %6, i64 %5)\n store i32 %10, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_12:\n %50 = icmp eq i32 %storemerge6.reload, 0\n store i32 64, i32* %sv_0.0.reg2mem\n br i1 %50, label LBL_16, label LBL_13\n LBL_13:\n %51 = add i32 %storemerge6.reload, 64\n %52 = icmp slt i32 %storemerge6.reload, 64\n br i1 %52, label LBL_15, label LBL_14\n LBL_14:\n %53 = call i64 @FUNC(i64 %6, i64 %5)\n store i32 %51, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_15:\n %rcx.1.ph.reload = load i64, i64* %rcx.1.ph.reg2mem\n %54 = zext i32 %storemerge6.reload to i64\n %55 = load i64, i64* %r8, align 8\n %56 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %54, i64 %rcx.1.ph.reload, i64 %55, i64 %1)\n store i32 %51, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %57 = load i32, i32* %8, align 8\n %58 = sub i32 %57, %sv_0.0.reload\n store i32 %58, i32* %arg5, align 4\n %59 = sext i32 %sv_0.0.reload to i64\n %60 = add i64 %59, %4\n %61 = inttoptr i64 %60 to i64*\n %62 = call i64* @memmove(i64* %arg4, i64* %61, i32 %57)\n %63 = ptrtoint i64* %62 to i64\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %51, { 1, 0 }\n uselistorder i64 %16, { 1, 0, 3, 2, 4 }\n uselistorder i64 %15, { 2, 1, 0, 3, 4 }\n uselistorder i32 %storemerge6.reload, { 4, 5, 3, 2, 0, 1 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32 %10, { 0, 3, 2, 5, 1, 4 }\n uselistorder i64 %6, { 8, 7, 0, 5, 4, 3, 1, 2, 6 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64* %r8, { 3, 0, 1, 2 }\n uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.0.ph.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @avalon_inc_nvw, { 1, 0 }\n uselistorder i32 64, { 1, 3, 0, 2 }\n uselistorder i64 (i64)* @free_work, { 1, 0 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64)* @mutex_lock, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder label LBL_17, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mysql_detach_stmt_list_10539", "fun_name": "mysql_detach_stmt_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.02.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 1)\n %3 = ptrtoint i8* %arg2 to i64\n %4 = and i64 %2, 4294967295\n %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 255, i64 %4, i64 %3)\n %6 = icmp eq i64* %arg1, null\n %7 = icmp eq i1 %6, false\n store i64 %0, i64* %sv_0.02.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %8 = inttoptr i64 %sv_0.02.reload to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_1)\n %11 = inttoptr i64 %9 to i64*\n store i64 0, i64* %11, align 8\n %12 = add i64 %sv_0.02.reload, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %sv_0.02.reg2mem\n br i1 %16, label LBL_1, label LBL_2\n LBL_2:\n store i64 0, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Com_RandomBytes_4678", "fun_name": "Com_RandomBytes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0))\n %7 = trunc i64 %arg2 to i32\n %8 = icmp sgt i32 %7, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %9 = call i32 @rand()\n %10 = add i64 %indvars.iv.reload, %0\n %11 = trunc i32 %9 to i8\n %12 = inttoptr i64 %10 to i8*\n store i8 %11, i8* %12, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %1\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_write_video_tag_2286", "fun_name": "mov_write_video_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32*\n %sv_0.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 0)\n %3 = load i32, i32* inttoptr (i64 4 to i32*), align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64* nonnull @gv_0, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %sv_0.1.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %phitmp = add nuw nsw i64 %4, 4\n %phitmp1 = inttoptr i64 %phitmp to i32*\n %9 = load i32, i32* %phitmp1, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64* inttoptr (i64 4210748 to i64*), i64 %10)\n store i64 %11, i64* %sv_0.1.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %12 = and i64 %sv_0.1.reload, 4294967295\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n %14 = call i64 @FUNC(i64 %0, i64 0)\n %15 = call i64 @FUNC(i64 %0, i64 0)\n %16 = call i64 @FUNC(i64 %0, i64 1)\n %17 = call i64 @FUNC(i64 %0, i64 0)\n %18 = call i64 @FUNC(i64 %0, i64 0)\n %19 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %20 = load i32, i32* inttoptr (i64 add (i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 4) to i32*), align 4\n %21 = icmp eq i32 %20, 1\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %0, i64 0)\n %24 = call i64 @FUNC(i64 %0, i64 1024)\n store i32* inttoptr (i64 1032 to i32*), i32** %.reg2mem\n br label LBL_5\n LBL_4:\n %25 = call i64 @FUNC(i64 %0, i64 512)\n %26 = call i64 @FUNC(i64 %0, i64 512)\n store i32* inttoptr (i64 520 to i32*), i32** %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32*, i32** %.reg2mem\n %27 = load i32, i32* %.reload, align 8\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %0, i64 %28)\n %30 = add nuw nsw i64 %28, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %0, i64 %33)\n %35 = call i64 @FUNC(i64 %0, i64 4718592)\n %36 = call i64 @FUNC(i64 %0, i64 4718592)\n %37 = call i64 @FUNC(i64 %0, i64 0)\n %38 = call i64 @FUNC(i64 %0, i64 1)\n %39 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 32)\n %40 = load i64, i64* inttoptr (i64 16 to i64*), align 16\n %41 = icmp eq i64 %40, 0\n br i1 %41, label LBL_8, label LBL_6\n LBL_6:\n %42 = inttoptr i64 %40 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = icmp eq i64 %43, 0\n br i1 %44, label LBL_8, label LBL_7\n LBL_7:\n %45 = bitcast i64* %sv_1 to i8*\n %46 = inttoptr i64 %43 to i8*\n %47 = call i8* @strncpy(i8* nonnull %45, i8* %46, i32 31)\n br label LBL_8\n LBL_8:\n %48 = bitcast i64* %sv_1 to i8*\n %49 = call i32 @strlen(i8* nonnull %48)\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i64 %0, i64 %50)\n %52 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 31)\n %53 = call i64 @FUNC(i64 %0, i64 24)\n %54 = call i64 @FUNC(i64 %0, i64 65535)\n %55 = load i32, i32* inttoptr (i64 65539 to i32*), align 4\n %56 = icmp eq i32 %55, 2\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_10, label LBL_9\n LBL_9:\n %58 = ptrtoint i64* %arg2 to i64\n %59 = call i64 @FUNC(i64 %0, i64 %58)\n br label LBL_14\n LBL_10:\n %60 = icmp eq i32 %55, 3\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_12, label LBL_11\n LBL_11:\n %62 = call i64 @FUNC(i64 %0)\n br label LBL_14\n LBL_12:\n %63 = icmp eq i32 %55, 4\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_14, label LBL_13\n LBL_13:\n %65 = call i64 @FUNC(i64 %0)\n br label LBL_14\n LBL_14:\n %66 = and i64 %1, 4294967295\n %67 = call i64 @FUNC(i64 %0, i64 %66)\n ret i64 %67\n\n uselistorder i32 %55, { 1, 0, 2 }\n uselistorder i64 %0, { 4, 3, 2, 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 0, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }\n uselistorder i32** %.reg2mem, { 0, 2, 1 }\n uselistorder [5 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 (i64, i64)* @put_be16, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64*, i64)* @codec_get_tag, { 1, 0 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @put_be32, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_control_packet_4250", "fun_name": "parse_control_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp slt i32 %1, 0\n %4 = icmp eq i1 %3, false\n %5 = icmp eq i1 %2, false\n %6 = icmp eq i1 %4, %5\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_10\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n store i64 %7, i64* @gv_0, align 8\n store i32 %1, i32* @gv_1, align 4\n store i32 0, i32* inttoptr (i64 4210764 to i32*), align 4\n br label LBL_3\n LBL_3:\n %8 = load i32, i32* @gv_2, align 4\n %9 = load i32, i32* @gv_1, align 4\n %10 = icmp ult i32 %8, %9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_10\n LBL_4:\n %11 = ptrtoint i64* %arg3 to i64\n %12 = load i64, i64* @gv_0, align 8\n %13 = zext i32 %8 to i64\n %14 = add i64 %12, %13\n %15 = icmp ult i32 %9, 9\n br i1 %15, label LBL_9, label LBL_5\n LBL_5:\n %16 = inttoptr i64 %14 to i64*\n %17 = call i32 @memcmp(i64* %16, i64* inttoptr (i64 4210740 to i64*), i32 4)\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_9, label LBL_6\n LBL_6:\n %20 = add i64 %14, 4\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = bitcast i64* %arg3 to i8*\n store i8 %22, i8* %23, align 1\n %24 = add i64 %14, 5\n %25 = add i64 %11, 4\n %26 = inttoptr i64 %24 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = inttoptr i64 %25 to i32*\n store i32 %27, i32* %28, align 4\n %29 = call i32 @ntohl(i32 %27)\n store i32 %29, i32* %28, align 4\n %30 = load i32, i32* @gv_2, align 4\n %31 = sub i32 1478, %30\n %32 = icmp ult i32 %29, %31\n store i32 %30, i32* %.reg2mem\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %33 = sub i32 1477, %30\n store i32 %33, i32* %28, align 4\n %.pre = load i32, i32* @gv_2, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %34 = add i64 %14, 9\n %35 = add i64 %11, 8\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = load i32, i32* %28, align 4\n %38 = add i32 %.reload, 9\n %39 = add i32 %38, %37\n store i32 %39, i32* @gv_2, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %40 = bitcast i64* %arg3 to i8*\n store i8 0, i8* %40, align 1\n %41 = load i32, i32* @gv_1, align 4\n %42 = load i32, i32* @gv_2, align 4\n %43 = sub i32 %41, %42\n %44 = add i64 %11, 4\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = add i64 %11, 8\n %47 = inttoptr i64 %46 to i64*\n store i64 %14, i64* %47, align 8\n %48 = load i32, i32* @gv_1, align 4\n store i32 %48, i32* @gv_2, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %30, { 1, 0, 2 }\n uselistorder i64 %14, { 3, 0, 1, 2, 4 }\n uselistorder i64 %11, { 2, 3, 0, 1 }\n uselistorder i32 %1, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32* @gv_2, { 5, 4, 3, 0, 2, 1 }\n uselistorder i32* @gv_1, { 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_10, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "url_Write_8194", "fun_name": "url_Write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %8 = urem i64 %1, 2\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = add i64 %3, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = inttoptr i64 %13 to i8*\n %16 = call i32 @strlen(i8* %15)\n %17 = add i32 %16, 1\n %18 = zext i32 %17 to i64\n %19 = load i64, i64* %12, align 8\n %20 = call i64 @FUNC(i64 %2, i64 %19, i64 %18)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_hwrena_886", "fun_name": "check_hwrena", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 2\n %4 = zext i32 %3 to i64\n %5 = icmp eq i32 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = trunc i64 %arg2 to i32\n %12 = urem i32 %11, 32\n %13 = lshr i32 %10, %12\n %14 = urem i32 %13, 2\n %15 = zext i32 %14 to i64\n %16 = icmp eq i32 %14, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = call i64 @FUNC(i64 %7, i64 2, i64 %arg3)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "link_initialized_4187", "fun_name": "link_initialized", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rbx.0.shrunk.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 60, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i64, i64* %6, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %10 = inttoptr i64 %.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 61, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %14 = icmp eq i64* %arg2, null\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 62, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %16 = trunc i64 %1 to i32\n %17 = icmp eq i32 %16, 1\n store i64 0, i64* %rbx.0.shrunk.reg2mem\n br i1 %17, label LBL_9, label LBL_13\n LBL_9:\n %18 = add i64 %4, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n store i64 0, i64* %rbx.0.shrunk.reg2mem\n br i1 %21, label LBL_10, label LBL_13\n LBL_10:\n %22 = ptrtoint i64* %arg2 to i64\n %23 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_6, i64 0, i64 0))\n %24 = call i64 @FUNC(i64 %22)\n store i64 %24, i64* %19, align 8\n %25 = add i64 %4, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = load i64, i64* %6, align 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = zext i32 %27 to i64\n %32 = call i64 @FUNC(i64 %30, i64* nonnull %sv_0, i64 0, i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp slt i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %32, i64* %rbx.0.shrunk.reg2mem\n br i1 %35, label LBL_11, label LBL_13\n LBL_11:\n %36 = load i64, i64* %sv_0, align 8\n %37 = load i64, i64* %6, align 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39, i64 %36, i64 4198917, i64 %4, i64 0, i64 0)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 %40, i64* %rbx.0.shrunk.reg2mem\n br i1 %43, label LBL_12, label LBL_13\n LBL_12:\n %44 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rbx.0.shrunk.reg2mem\n br label LBL_13\n LBL_13:\n %rbx.0.shrunk.reload = load i64, i64* %rbx.0.shrunk.reg2mem\n %rbx.0 = and i64 %rbx.0.shrunk.reload, 4294967295\n %45 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %rbx.0\n\n uselistorder i64* %6, { 1, 2, 0, 3 }\n uselistorder i64 %4, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %sv_0, { 0, 2, 1, 3 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rbx.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_13, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "password_scheme_detect_4004", "fun_name": "password_scheme_detect", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %1 = load i64, i64* @gv_0, align 8\n %2 = call i64 @FUNC(i64 %1)\n store i64 %2, i64* %sv_5, align 8\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %2, i64 %3, i64* nonnull %sv_0, i64* nonnull %sv_4)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_1, label LBL_5\n LBL_1:\n %8 = load i64, i64* %sv_4, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %arg2, i64 %10, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp slt i32 %12, 0\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i1 %13, false\n %17 = icmp eq i1 %15, %16\n br i1 %17, label LBL_2, label LBL_4\n LBL_2:\n %18 = load i64, i64* %sv_2, align 8\n %19 = load i64, i64* %sv_1, align 8\n %20 = load i64, i64* %sv_4, align 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %arg1, i64 %0, i64 %22, i64 %19, i64 %18, i64* nonnull %sv_3)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp slt i32 %24, 0\n %27 = icmp eq i1 %26, false\n %28 = icmp eq i1 %25, false\n %29 = icmp eq i1 %27, %28\n br i1 %29, label LBL_5, label LBL_3\n LBL_3:\n store i64 0, i64* %sv_0, align 8\n br label LBL_4\n LBL_4:\n %30 = load i64, i64* @gv_0, align 8\n %31 = load i64, i64* %sv_5, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %30, i64* nonnull %sv_0, i64* nonnull %sv_4)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_1, label LBL_5\n LBL_5:\n %36 = call i64 @FUNC(i64* nonnull %sv_5)\n %37 = load i64, i64* %sv_0, align 8\n ret i64 %37\n\n uselistorder i32 %24, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64* %sv_4, { 1, 2, 3, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 2, 1, 3, 0 }\n uselistorder i1 false, { 5, 3, 1, 4, 2, 0 }\n uselistorder i32 0, { 5, 1, 2, 3, 4, 0 }\n uselistorder i64 (i64, i64, i64*, i64*)* @hash_table_iterate, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avcodec_flush_buffers_1494", "fun_name": "avcodec_flush_buffers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = urem i64 %1, 2\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n ret i64 %5\n LBL_2:\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %spec.select = select i1 %11, i64 0, i64 %2\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "posix_cpu_clock_get_10544", "fun_name": "posix_cpu_clock_get", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1 = alloca i32*, align 8\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = and i64 %0, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = load i64, i64* @gv_0, align 8\n %11 = bitcast i32** %sv_1 to i64*\n %12 = call i64 @FUNC(i64 %6, i64 %10, i64* nonnull %11)\n %13 = trunc i64 %12 to i32\n store i32 %13, i32* %sv_0.2.reg2mem\n br label LBL_13\n LBL_3:\n %14 = call i64 @FUNC(i64* nonnull @gv_1)\n %15 = load i64, i64* @gv_0, align 8\n %16 = bitcast i32** %sv_1 to i64*\n %17 = call i64 @FUNC(i64 %6, i64 %15, i64* nonnull %16)\n %18 = trunc i64 %17 to i32\n %19 = call i64 @FUNC(i64* nonnull @gv_1)\n store i32 %18, i32* %sv_0.2.reg2mem\n br label LBL_13\n LBL_4:\n %20 = call i64 @FUNC()\n %21 = and i64 %2, 4294967295\n %22 = call i64 @FUNC(i64 %21)\n %23 = inttoptr i64 %22 to i32*\n store i32* %23, i32** %sv_1, align 8\n %24 = icmp eq i64 %22, 0\n store i32 -22, i32* %sv_0.1.reg2mem\n br i1 %24, label LBL_12, label LBL_5\n LBL_5:\n %25 = and i64 %0, 4294967295\n %26 = call i64 @FUNC(i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_8, label LBL_6\n LBL_6:\n %29 = load i64, i64* @gv_0, align 8\n %30 = load i32*, i32** %sv_1, align 8\n %31 = ptrtoint i32* %30 to i64\n %32 = call i64 @FUNC(i64 %31, i64 %29)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i32 -22, i32* %sv_0.1.reg2mem\n br i1 %34, label LBL_12, label LBL_7\n LBL_7:\n %35 = load i32*, i32** %sv_1, align 8\n %36 = ptrtoint i32* %35 to i64\n %37 = bitcast i32** %sv_1 to i64*\n %38 = call i64 @FUNC(i64 %25, i64 %36, i64* nonnull %37)\n %39 = trunc i64 %38 to i32\n store i32 %39, i32* %sv_0.1.reg2mem\n br label LBL_12\n LBL_8:\n %40 = call i64 @FUNC(i64* nonnull @gv_1)\n %41 = load i32*, i32** %sv_1, align 8\n %42 = ptrtoint i32* %41 to i64\n %43 = call i64 @FUNC(i64 %42)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n store i32 -22, i32* %sv_0.0.reg2mem\n br i1 %45, label LBL_11, label LBL_9\n LBL_9:\n %46 = load i32*, i32** %sv_1, align 8\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n store i32 -22, i32* %sv_0.0.reg2mem\n br i1 %48, label LBL_11, label LBL_10\n LBL_10:\n %49 = ptrtoint i32* %46 to i64\n %50 = bitcast i32** %sv_1 to i64*\n %51 = call i64 @FUNC(i64 %25, i64 %49, i64* nonnull %50)\n %52 = trunc i64 %51 to i32\n store i32 %52, i32* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %53 = call i64 @FUNC(i64* nonnull @gv_1)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %54 = call i64 @FUNC()\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %55 = icmp eq i32 %sv_0.2.reload, 0\n br i1 %55, label LBL_15, label LBL_14\n LBL_14:\n %56 = zext i32 %sv_0.2.reload to i64\n store i64 %56, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_15:\n %57 = ptrtoint i64* %arg2 to i64\n %58 = and i64 %0, 4294967295\n %59 = call i64 @FUNC(i64 %58, i64 %57)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %25, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i32** %sv_1, { 8, 4, 3, 7, 2, 1, 0, 6, 5 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 -22, { 2, 3, 0, 1 }\n uselistorder i64 (i64*)* @read_unlock, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @cpu_clock_sample_group, { 1, 0 }\n uselistorder i64 (i64*)* @read_lock, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @cpu_clock_sample, { 1, 0 }\n uselistorder i64 (i64)* @CPUCLOCK_PERTHREAD, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_cpu_core_realize_child_902", "fun_name": "spapr_cpu_core_realize_child", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %1)\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)\n %7 = load i64, i64* %sv_0, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %0, i64 %7)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %10 = call i64 @FUNC(i64 %3, i64 %5, i64* nonnull %sv_0)\n %11 = load i64, i64* %sv_0, align 8\n %12 = icmp eq i64 %11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0, i64 %11)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 2, 0, 3, 1, 4 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "thp_probe_15863", "fun_name": "thp_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 5261396\n %4 = icmp eq i1 %3, false\n %. = select i1 %4, i64 0, i64 100\n ret i64 %.\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__skb_get_hash_symmetric_7134", "fun_name": "__skb_get_hash_symmetric", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 0, i64 %0, i64* nonnull @gv_0, i64* nonnull %sv_0, i64 0, i64 0)\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_1)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcom_glink_alloc_channel_17533", "fun_name": "qcom_glink_alloc_channel", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 56, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 -12, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 20\n %7 = call i64 @FUNC(i64 %6)\n %8 = inttoptr i64 %0 to i64*\n store i64 %3, i64* %8, align 8\n %9 = ptrtoint i8* %arg2 to i64\n %10 = call i64 @FUNC(i64 %9, i64 0)\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = add i64 %0, 24\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %0, 28\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %0, 32\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %0, 36\n %20 = call i64 @FUNC(i64 %19, i64 4198758)\n %21 = add i64 %0, 44\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %0, 48\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %0, 40\n %26 = call i64 @FUNC(i64 %25)\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 1, 4, 3, 2, 7, 6, 5, 8, 11, 10, 9, 12 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @idr_init, { 1, 0 }\n uselistorder i64 (i64)* @init_completion, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock_init, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__h2_init_9073", "fun_name": "__h2_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = call i64 @FUNC(i64* nonnull @gv_1)\n %2 = call i64 @FUNC(i64 4198760)\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0)\n store i64 %3, i64* @gv_3, align 8\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 0)\n store i64 %4, i64* @gv_5, align 8\n ret i64 %4\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 (i8*, i64, i64)* @create_pool, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_MPV_report_decode_progress_18762", "fun_name": "ff_MPV_report_decode_progress", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = icmp eq i32 %7, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = add i64 %4, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = icmp eq i32 %13, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = add i64 %4, 24\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = add i64 %4, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = zext i32 %19 to i64\n %24 = call i64 @FUNC(i64 %22, i64 %23, i64 0)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fw_cfg_add_bytes_2632", "fun_name": "fw_cfg_add_bytes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i16\n %1 = icmp ult i16 %0, 256\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 20, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg4, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = urem i64 %arg2, 65536\n %5 = urem i64 %arg2, 2\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n %8 = zext i1 %7 to i64\n %9 = mul i64 %8, 256\n %10 = add nuw nsw i64 %9, %4\n %11 = mul i64 %10, 16\n %12 = add i64 %11, %2\n %13 = ptrtoint i32* %arg3 to i64\n %14 = inttoptr i64 %12 to i64*\n store i64 %13, i64* %14, align 8\n %15 = add i64 %12, 8\n %16 = and i64 %3, 4294967295\n %17 = trunc i64 %3 to i32\n %18 = inttoptr i64 %15 to i32*\n store i32 %17, i32* %18, align 4\n ret i64 %16\n\n uselistorder i64 %3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "editorUpdateRow_12204", "fun_name": "editorUpdateRow", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.2.lcssa.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %.reg2mem18 = alloca i32\n %sv_0.24.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_1.17.reg2mem = alloca i32\n %storemerge18.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n call void @free(i64* %6)\n %7 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 0\n store i32 1, i32* %sv_1.1.lcssa.reg2mem\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge18.reg2mem\n store i32 0, i32* %sv_1.17.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.17.reload = load i32, i32* %sv_1.17.reg2mem\n %storemerge18.reload = load i32, i32* %storemerge18.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %13 = add i64 %.reload, %11\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 9\n %17 = zext i1 %16 to i32\n %spec.select = add i32 %sv_1.17.reload, %17\n %18 = add i32 %storemerge18.reload, 1\n %19 = sext i32 %18 to i64\n %20 = icmp sgt i64 %12, %19\n store i64 %19, i64* %.reg2mem\n store i32 %18, i32* %storemerge18.reg2mem\n store i32 %spec.select, i32* %sv_1.17.reg2mem\n br i1 %20, label LBL_2, label LBL_3\n LBL_3:\n %phitmp = mul i32 %spec.select, 8\n %phitmp12 = or i32 %phitmp, 1\n store i32 %phitmp12, i32* %sv_1.1.lcssa.reg2mem\n br label LBL_4\n LBL_4:\n %21 = bitcast i64* %rdi to i32*\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %22 = add i32 %sv_1.1.lcssa.reload, %7\n %23 = call i64* @malloc(i32 %22)\n %24 = ptrtoint i64* %23 to i64\n store i64 %24, i64* %4, align 8\n %25 = load i32, i32* %21, align 8\n %26 = icmp eq i32 %25, 0\n store i32 0, i32* %sv_0.2.lcssa.reg2mem\n br i1 %26, label LBL_12, label LBL_5\n LBL_5:\n %27 = add i64 %2, 8\n %28 = inttoptr i64 %27 to i64*\n store i64 %24, i64* %.reg2mem14\n store i64 0, i64* %.reg2mem16\n store i32 0, i32* %storemerge5.reg2mem\n store i32 0, i32* %sv_0.24.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.24.reload = load i32, i32* %sv_0.24.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload15 = load i64, i64* %.reg2mem14\n %29 = load i64, i64* %28, align 8\n %30 = add i64 %29, %.reload17\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = icmp eq i8 %32, 9\n %34 = icmp eq i1 %33, false\n %35 = add i32 %sv_0.24.reload, 1\n %36 = sext i32 %sv_0.24.reload to i64\n %37 = add i64 %.reload15, %36\n %38 = inttoptr i64 %37 to i8*\n br i1 %34, label LBL_9, label LBL_7\n LBL_7:\n store i8 32, i8* %38, align 1\n %39 = add i32 %sv_0.24.reload, 2\n %40 = urem i32 %39, 8\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n store i32 %39, i32* %.reg2mem18\n store i32 %35, i32* %sv_0.03.reg2mem\n store i32 %35, i32* %sv_0.1.reg2mem\n br i1 %42, label LBL_8, label LBL_10\n LBL_8:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %.reload19 = load i32, i32* %.reg2mem18\n %43 = load i64, i64* %4, align 8\n %44 = sext i32 %sv_0.03.reload to i64\n %45 = add i64 %43, %44\n %46 = inttoptr i64 %45 to i8*\n store i8 32, i8* %46, align 1\n %47 = add i32 %.reload19, 1\n %48 = urem i32 %47, 8\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i32 %47, i32* %.reg2mem18\n store i32 %.reload19, i32* %sv_0.03.reg2mem\n store i32 %.reload19, i32* %sv_0.1.reg2mem\n br i1 %50, label LBL_8, label LBL_10\n LBL_9:\n store i8 %32, i8* %38, align 1\n store i32 %35, i32* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %51 = add i32 %storemerge5.reload, 1\n %52 = load i32, i32* %21, align 8\n %53 = zext i32 %52 to i64\n %54 = sext i32 %51 to i64\n %55 = icmp slt i64 %54, %53\n store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem\n br i1 %55, label LBL_10.LBL_6_crit_edge, label LBL_12\n LBL_11:\n %.pre = load i64, i64* %4, align 8\n store i64 %.pre, i64* %.reg2mem14\n store i64 %54, i64* %.reg2mem16\n store i32 %51, i32* %storemerge5.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.24.reg2mem\n br label LBL_6\n LBL_12:\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %56 = add i64 %2, 4\n %57 = inttoptr i64 %56 to i32*\n store i32 %sv_0.2.lcssa.reload, i32* %57, align 4\n %58 = load i64, i64* %4, align 8\n %59 = sext i32 %sv_0.2.lcssa.reload to i64\n %60 = add i64 %58, %59\n %61 = inttoptr i64 %60 to i8*\n store i8 0, i8* %61, align 1\n %62 = call i64 @FUNC(i64 %2)\n ret i64 %62\n\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i8* %38, { 1, 0 }\n uselistorder i32 %35, { 1, 0, 2 }\n uselistorder i32 %sv_0.24.reload, { 2, 1, 0 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i64* %4, { 1, 0, 2, 3, 4 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem14, { 1, 0, 2 }\n uselistorder i64* %.reg2mem16, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.24.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem18, { 2, 0, 1 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 8, { 1, 2, 0 }\n uselistorder i8 9, { 1, 0 }\n uselistorder i32 0, { 8, 7, 1, 2, 0, 5, 3, 4, 6 }\n uselistorder label LBL_10, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pc_alloc_init_1604", "fun_name": "pc_alloc_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 32)\n %1 = call i64 @FUNC()\n %2 = inttoptr i64 %0 to i64*\n store i64 4198816, i64* %2, align 8\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 4198842, i64* %4, align 8\n %5 = call i64 @FUNC(i64 %1, i64 0)\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 1048576, i64* %7, align 8\n %8 = icmp ult i64 %5, 3758096384\n %9 = select i1 %8, i64 %5, i64 3758096384\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = call i64 @FUNC(i64 %1)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readUInt32_6923", "fun_name": "readUInt32", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = trunc i64 %2 to i32\n %4 = mul i32 %3, 256\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = trunc i64 %5 to i32\n %7 = mul i32 %6, 65536\n %8 = call i64 @FUNC(i64 %arg1)\n %sext = mul i64 %8, 4294967296\n %9 = ashr exact i64 %sext, 8\n %10 = add i32 %4, %1\n %11 = add i32 %10, %7\n %12 = sext i32 %11 to i64\n %13 = add nsw i64 %9, %12\n ret i64 %13\n\n uselistorder i64 (i64)* @readUInt8, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "target_munmap_5448", "fun_name": "target_munmap", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.34.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = trunc i64 %arg2 to i32\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %0, i32 %1)\n %3 = icmp ult i64 %arg1, 4096\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = and i64 %arg2, -4096\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_9\n LBL_2:\n %7 = add i64 %4, %arg1\n %8 = add i64 %7, 4095\n %9 = and i64 %8, -4096\n %10 = icmp ult i64 %7, %9\n %11 = icmp eq i1 %10, false\n store i64 %7, i64* %storemerge5.reg2mem\n store i32 0, i32* %sv_1.34.reg2mem\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %sv_1.34.reload = load i32, i32* %sv_1.34.reg2mem\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %12 = call i64 @FUNC(i64 %storemerge5.reload)\n %13 = trunc i64 %12 to i32\n %14 = or i32 %sv_1.34.reload, %13\n %15 = add nuw i64 %storemerge5.reload, 4096\n %16 = icmp ult i64 %15, %9\n store i64 %15, i64* %storemerge5.reg2mem\n store i32 %14, i32* %sv_1.34.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_4:\n %phitmp = icmp eq i32 %14, 0\n %17 = add i64 %9, -4096\n %spec.select3 = select i1 %phitmp, i64 %9, i64 %17\n store i64 %spec.select3, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %18 = urem i64 %arg1, 4096\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %19 = icmp ugt i64 %sv_0.0.reload, %18\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = sub i64 %sv_0.0.reload, %18\n %22 = call i64 @FUNC(i64 %18)\n %23 = inttoptr i64 %22 to i64*\n %24 = trunc i64 %21 to i32\n %25 = call i32 @munmap(i64* %23, i32 %24)\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = zext i32 %25 to i64\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %28 = call i64 @FUNC(i64 %arg1, i64 %7, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %18, { 1, 2, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i64 %storemerge5.reload, { 1, 0 }\n uselistorder i64 %9, { 1, 3, 2, 0, 4 }\n uselistorder i64 %7, { 2, 0, 1, 3 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.34.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 0, 1, 3, 4 }\n uselistorder label LBL_9, { 2, 3, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_vm_ioctl_set_tss_addr_119", "fun_name": "kvm_vm_ioctl_set_tss_addr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp ult i64 %arg2, 4294955009\n %2 = and i64 %0, 4294967295\n %storemerge = select i1 %1, i64 %2, i64 4294967274\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SVGStripString_18994", "fun_name": "SVGStripString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.in.reg2mem = alloca i8\n %storemerge18.reg2mem = alloca i64\n %.reg2mem52 = alloca i8*\n %.reg2mem50 = alloca i8\n %r12.1.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %r12.0.lcssa.reg2mem = alloca i64\n %rbx.1.reg2mem = alloca i64\n %.reg2mem48 = alloca i8\n %rbx.017.reg2mem = alloca i64\n %rbx.019.reg2mem = alloca i64\n %.pr.reg2mem = alloca i8\n %r12.023.reg2mem = alloca i64\n %storemerge425.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %4, 0\n store i8 0, i8* %rax.0.in.reg2mem\n br i1 %5, label LBL_24, label LBL_3\n LBL_3:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = bitcast i64* %arg2 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n store i8 %8, i8* %.reg2mem\n store i64 %6, i64* %storemerge425.reg2mem\n store i64 %6, i64* %r12.023.reg2mem\n store i64 %6, i64* %r12.0.lcssa.reg2mem\n br i1 %10, label LBL_4, label LBL_12\n LBL_4:\n %r12.023.reload = load i64, i64* %r12.023.reg2mem\n %storemerge425.reload = load i64, i64* %storemerge425.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %11 = icmp eq i8 %.reload, 47\n %12 = icmp eq i1 %11, false\n store i64 %storemerge425.reload, i64* %rbx.1.reg2mem\n br i1 %12, label LBL_11, label LBL_5\n LBL_5:\n %13 = add i64 %storemerge425.reload, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 42\n %17 = icmp eq i1 %16, false\n store i64 %storemerge425.reload, i64* %rbx.1.reg2mem\n br i1 %17, label LBL_11, label LBL_6\n LBL_6:\n %18 = inttoptr i64 %storemerge425.reload to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 0\n %21 = icmp eq i1 %20, false\n store i8 %19, i8* %.pr.reg2mem\n store i64 %storemerge425.reload, i64* %rbx.019.reg2mem\n store i64 %storemerge425.reload, i64* %rbx.017.reg2mem\n store i8 %19, i8* %.reg2mem48\n br i1 %21, label LBL_7, label LBL_9\n LBL_7:\n %rbx.019.reload = load i64, i64* %rbx.019.reg2mem\n %.pr.reload = load i8, i8* %.pr.reg2mem\n %22 = icmp eq i8 %.pr.reload, 42\n %.pre = add i64 %rbx.019.reload, 1\n %.pre39 = inttoptr i64 %.pre to i8*\n %.pre47 = load i8, i8* %.pre39, align 1\n %23 = icmp eq i8 %.pre47, 47\n %or.cond = icmp eq i1 %22, %23\n store i64 %rbx.019.reload, i64* %rbx.017.reg2mem\n store i8 %.pr.reload, i8* %.reg2mem48\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %24 = icmp eq i8 %.pre47, 0\n %25 = icmp eq i1 %24, false\n store i8 %.pre47, i8* %.pr.reg2mem\n store i64 %.pre, i64* %rbx.019.reg2mem\n store i64 %.pre, i64* %rbx.017.reg2mem\n store i8 %.pre47, i8* %.reg2mem48\n br i1 %25, label LBL_7, label LBL_9\n LBL_9:\n %.reload49 = load i8, i8* %.reg2mem48\n %26 = icmp eq i8 %.reload49, 0\n store i64 %r12.023.reload, i64* %r12.0.lcssa.reg2mem\n br i1 %26, label LBL_12, label LBL_10\n LBL_10:\n %rbx.017.reload = load i64, i64* %rbx.017.reg2mem\n %27 = add i64 %rbx.017.reload, 2\n store i64 %27, i64* %rbx.1.reg2mem\n br label LBL_11\n LBL_11:\n %rbx.1.reload = load i64, i64* %rbx.1.reg2mem\n %28 = add i64 %r12.023.reload, 1\n %29 = inttoptr i64 %rbx.1.reload to i8*\n %30 = load i8, i8* %29, align 1\n %31 = inttoptr i64 %r12.023.reload to i8*\n store i8 %30, i8* %31, align 1\n %32 = add i64 %rbx.1.reload, 1\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp eq i8 %34, 0\n %36 = icmp eq i1 %35, false\n store i8 %34, i8* %.reg2mem\n store i64 %32, i64* %storemerge425.reg2mem\n store i64 %28, i64* %r12.023.reg2mem\n store i64 %28, i64* %r12.0.lcssa.reg2mem\n br i1 %36, label LBL_4, label LBL_12\n LBL_12:\n %r12.0.lcssa.reload = load i64, i64* %r12.0.lcssa.reg2mem\n %37 = inttoptr i64 %r12.0.lcssa.reload to i8*\n store i8 0, i8* %37, align 1\n %38 = trunc i64 %arg1 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_20, label LBL_13\n LBL_13:\n %40 = call i32 @strlen(i8* %7)\n store i64 %6, i64* %storemerge3.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %41 = call i16** @__ctype_b_loc()\n %42 = load i16*, i16** %41, align 8\n %43 = ptrtoint i16* %42 to i64\n %44 = inttoptr i64 %storemerge3.reload to i8*\n %45 = load i8, i8* %44, align 1\n %46 = zext i8 %45 to i64\n %47 = mul i64 %46, 2\n %48 = add i64 %47, %43\n %49 = inttoptr i64 %48 to i16*\n %50 = load i16, i16* %49, align 2\n %51 = and i16 %50, 8192\n %52 = icmp eq i16 %51, 0\n %53 = icmp eq i1 %52, false\n %54 = add i64 %storemerge3.reload, 1\n store i64 %54, i64* %storemerge3.reg2mem\n br i1 %53, label LBL_14, label LBL_15\n LBL_15:\n %55 = sext i32 %40 to i64\n %56 = icmp eq i8 %45, 39\n %57 = icmp eq i8 %45, 34\n %not.or.cond = or i1 %57, %56\n %58 = zext i1 %not.or.cond to i64\n %rbx.2 = add i64 %storemerge3.reload, %58\n %59 = add i64 %6, -1\n %60 = add i64 %59, %55\n store i64 %60, i64* %storemerge2.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %61 = call i16** @__ctype_b_loc()\n %62 = load i16*, i16** %61, align 8\n %63 = ptrtoint i16* %62 to i64\n %64 = inttoptr i64 %storemerge2.reload to i8*\n %65 = load i8, i8* %64, align 1\n %66 = zext i8 %65 to i64\n %67 = mul i64 %66, 2\n %68 = add i64 %67, %63\n %69 = inttoptr i64 %68 to i16*\n %70 = load i16, i16* %69, align 2\n %71 = and i16 %70, 8192\n %72 = icmp ne i16 %71, 0\n %73 = icmp ugt i64 %storemerge2.reload, %rbx.2\n %or.cond6 = icmp eq i1 %73, %72\n %74 = add i64 %storemerge2.reload, -1\n store i64 %74, i64* %storemerge2.reg2mem\n br i1 %or.cond6, label LBL_16, label LBL_17\n LBL_17:\n store i64 %storemerge2.reload, i64* %r12.1.reg2mem\n br i1 %73, label LBL_18, label LBL_19\n LBL_18:\n %75 = icmp eq i8 %65, 39\n %76 = icmp eq i8 %65, 34\n %not.or.cond8 = or i1 %76, %75\n %77 = sext i1 %not.or.cond8 to i64\n %spec.select = add i64 %storemerge2.reload, %77\n store i64 %spec.select, i64* %r12.1.reg2mem\n br label LBL_19\n LBL_19:\n %r12.1.reload = load i64, i64* %r12.1.reg2mem\n %78 = sub i64 %r12.1.reload, %rbx.2\n %79 = inttoptr i64 %rbx.2 to i64*\n %80 = trunc i64 %78 to i32\n %81 = add i32 %80, 1\n %82 = call i64* @memmove(i64* %arg2, i64* %79, i32 %81)\n %83 = add i64 %6, 1\n %84 = add i64 %83, %78\n %85 = inttoptr i64 %84 to i8*\n store i8 0, i8* %85, align 1\n br label LBL_20\n LBL_20:\n %86 = load i8, i8* %7, align 1\n %87 = icmp eq i8 %86, 0\n %88 = icmp eq i1 %87, false\n store i8 %86, i8* %.reg2mem50\n store i8* %7, i8** %.reg2mem52\n store i64 %6, i64* %storemerge18.reg2mem\n store i8 %86, i8* %rax.0.in.reg2mem\n br i1 %88, label LBL_21, label LBL_24\n LBL_21:\n %storemerge18.reload = load i64, i64* %storemerge18.reg2mem\n %.reload51 = load i8, i8* %.reg2mem50\n %89 = icmp eq i8 %.reload51, 10\n %90 = icmp eq i1 %89, false\n br i1 %90, label LBL_23, label LBL_22\n LBL_22:\n %.reload53 = load i8*, i8** %.reg2mem52\n store i8 32, i8* %.reload53, align 1\n br label LBL_23\n LBL_23:\n %91 = add i64 %storemerge18.reload, 1\n %92 = inttoptr i64 %91 to i8*\n %93 = load i8, i8* %92, align 1\n %94 = icmp eq i8 %93, 0\n %95 = icmp eq i1 %94, false\n store i8 %93, i8* %.reg2mem50\n store i8* %92, i8** %.reg2mem52\n store i64 %91, i64* %storemerge18.reg2mem\n store i8 %93, i8* %rax.0.in.reg2mem\n br i1 %95, label LBL_21, label LBL_24\n LBL_24:\n %rax.0.in.reload = load i8, i8* %rax.0.in.reg2mem\n %rax.0 = zext i8 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i1 %73, { 1, 0 }\n uselistorder i8 %65, { 1, 0, 2 }\n uselistorder i64 %storemerge2.reload, { 4, 0, 2, 3, 1 }\n uselistorder i64 %rbx.2, { 1, 0, 2 }\n uselistorder i64 %storemerge3.reload, { 2, 0, 1 }\n uselistorder i64 %rbx.1.reload, { 1, 0 }\n uselistorder i64 %storemerge425.reload, { 2, 3, 4, 0, 5, 1 }\n uselistorder i64 %r12.023.reload, { 2, 1, 0 }\n uselistorder i64 %6, { 0, 5, 6, 1, 2, 3, 4 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge425.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r12.023.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.pr.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rbx.019.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rbx.017.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8* %.reg2mem48, { 0, 2, 1, 3 }\n uselistorder i64* %r12.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem50, { 2, 0, 1 }\n uselistorder i8** %.reg2mem52, { 2, 0, 1 }\n uselistorder i64* %storemerge18.reg2mem, { 2, 0, 1 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i8 0, { 4, 3, 5, 6, 9, 7, 8, 2, 1, 0, 10 }\n uselistorder i1 false, { 4, 3, 2, 5, 9, 6, 1, 7, 8, 0, 10 }\n uselistorder i64* %arg2, { 1, 0, 3, 2 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "v9fs_stat_10032", "fun_name": "v9fs_stat", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n %6 = bitcast i32* %sv_3 to i64*\n %7 = call i64 @FUNC(i64 %2, i64 7, i64* nonnull @gv_0, i64* nonnull %6)\n %8 = icmp slt i64 %7, 0\n store i64 %7, i64* %sv_0.1.reg2mem\n br i1 %8, label LBL_8, label LBL_1\n LBL_1:\n %9 = load i32, i32* %sv_3, align 4\n %10 = zext i32 %9 to i64\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = and i64 %1, 4294967295\n %16 = call i64 @FUNC(i64 %15, i64 %14, i64 %10)\n %17 = load i32, i32* %sv_3, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %2, i64 %18)\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 -2, i64* %sv_0.1.reg2mem\n br i1 %21, label LBL_2, label LBL_8\n LBL_2:\n %22 = call i64 @FUNC(i64 %2, i64 %19, i64* nonnull %sv_2)\n %23 = icmp slt i64 %22, 0\n store i64 %22, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_7, label LBL_3\n LBL_3:\n %24 = bitcast i32* %sv_1 to i64*\n %25 = call i64 @FUNC(i64 %2, i64 %19, i64* nonnull %sv_2, i64* nonnull %24)\n %26 = icmp slt i64 %25, 0\n store i64 %25, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_7, label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 0, i64* nonnull %24)\n %28 = icmp slt i64 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i64* nonnull %24)\n store i64 %27, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %31 = load i32, i32* %sv_1, align 4\n %32 = zext i32 %31 to i64\n %33 = load i32, i32* %12, align 4\n %34 = call i64 @FUNC(i64 %15, i32 %33, i64 %32, i64 %3, i64 %4, i64 %5)\n %35 = add i64 %27, 7\n %36 = call i64 @FUNC(i64* nonnull %24)\n store i64 %35, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %37 = call i64 @FUNC(i64 %2, i64 %19)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %38 = call i64 @FUNC(i64 %2, i64 %sv_0.1.reload)\n ret i64 %38\n\n uselistorder i64 %27, { 1, 0, 2 }\n uselistorder i64* %24, { 1, 0, 2, 3 }\n uselistorder i64 %19, { 1, 0, 2, 3 }\n uselistorder i64 %15, { 1, 0 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64 %2, { 6, 2, 0, 1, 3, 4, 5, 7 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64*)* @v9fs_stat_free, { 1, 0 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_7, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_read_mdhd_282", "fun_name": "mov_read_mdhd", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %4 = ptrtoint i32* %arg2 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %4)\n %7 = call i64 @FUNC(i64 %4)\n %8 = call i64 @FUNC(i64 %4)\n %9 = call i64 @FUNC(i64 %4)\n %10 = call i64 @FUNC(i64 %4)\n %11 = call i64 @FUNC(i64 %4)\n %12 = trunc i64 %11 to i32\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %sext = mul i64 %1, 4294967296\n %16 = ashr exact i64 %sext, 29\n %17 = add i64 %15, %16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %12, i32* %20, align 4\n %21 = call i64 @FUNC(i64 %4)\n %22 = call i64 @FUNC(i64 %4)\n %23 = call i64 @FUNC(i64 %4)\n ret i64 0\n\n uselistorder i64 %4, { 2, 1, 0, 3, 6, 5, 4, 7, 8, 9 }\n uselistorder i64 (i64)* @get_be16, { 1, 0 }\n uselistorder i64 (i64)* @get_be32, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @get_byte, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftrace_syscall_enter_12629", "fun_name": "ftrace_syscall_enter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3, i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_6, label LBL_1\n LBL_1:\n %sext = mul i64 %4, 4294967296\n %7 = ashr exact i64 %sext, 29\n %8 = add i64 %7, %3\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = icmp eq i64 %11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %11)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_3\n LBL_3:\n %17 = and i64 %4, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = icmp eq i64 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_4\n LBL_4:\n %20 = ptrtoint i64* %arg1 to i64\n %21 = inttoptr i64 %18 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = mul i32 %22, 8\n %24 = add i32 %23, 56\n %25 = call i64 @FUNC(i64 %2)\n %26 = call i64 @FUNC()\n %27 = add i64 %20, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = add i64 %18, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = and i64 %26, 4294967295\n %36 = call i64 @FUNC(i64 %29, i32 %34, i32 %24, i64 %2, i64 %35)\n %37 = icmp eq i64 %36, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = call i64 @FUNC(i64 %36)\n %39 = inttoptr i64 %38 to i32*\n store i32 %5, i32* %39, align 4\n %40 = add i64 %38, 8\n %41 = load i32, i32* %21, align 4\n %42 = load i64, i64* @gv_0, align 8\n %43 = zext i32 %41 to i64\n %44 = call i64 @FUNC(i64 %42, i64 %1, i64 0, i64 %43, i64 %40)\n %45 = call i64 @FUNC(i64 %11, i64 %29, i64 %36, i64 %38, i64 %2, i64 %35)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_6, { 5, 0, 1, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "X264_close_15566", "fun_name": "X264_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = inttoptr i64 %1 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %4, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %4)\n br label LBL_2\n LBL_2:\n %8 = add i64 %0, 16\n %9 = call i64 @FUNC(i64 %8)\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "next_pidmap_6615", "fun_name": "next_pidmap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i32\n %sv_1.04.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp ult i32 %0, 32768\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_7\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add nsw i64 %3, 1\n %5 = udiv i64 %4, 4\n %6 = and i64 %5, 1073741816\n %7 = add i64 %6, %2\n %8 = add i64 %2, 8192\n %9 = icmp ult i64 %7, %8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_7\n LBL_2:\n %10 = trunc i64 %3 to i32\n %11 = add i32 %10, 1\n %12 = urem i32 %11, 32\n store i64 %7, i64* %sv_1.04.reg2mem\n store i32 %12, i32* %sv_0.03.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %13 = inttoptr i64 %sv_1.04.reload to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = zext i1 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %21 = load i64, i64* %13, align 8\n %22 = call i64 @FUNC(i64 %21, i64 32, i32 %sv_0.03.reload)\n %23 = trunc i64 %22 to i32\n %24 = icmp sgt i32 %23, 31\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %2, i64 %sv_1.04.reload, i32 %23)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %26 = add i64 %sv_1.04.reload, 8\n %27 = icmp ult i64 %26, %8\n store i64 %26, i64* %sv_1.04.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %27, label LBL_3, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.04.reload, { 1, 2, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i32 32, { 0, 2, 1 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder label LBL_7, { 0, 3, 1, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "map_id_range_down_8044", "fun_name": "map_id_range_down", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge4.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = call i64 @FUNC()\n %5 = icmp ult i32 %3, 11\n %6 = zext i32 %arg3 to i64\n %7 = trunc i64 %arg2 to i32\n %8 = and i64 %1, 4294967295\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %9 = call i64 @FUNC(i64 %8, i64 %2, i32 %7, i64 %6)\n store i64 %9, i64* %storemerge4.in.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %8, i64 %2, i32 %7, i64 %6)\n store i64 %10, i64* %storemerge4.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge4.in.reload = load i64, i64* %storemerge4.in.reg2mem\n %11 = icmp eq i64 %storemerge4.in.reload, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %storemerge4 = inttoptr i64 %storemerge4.in.reload to i32*\n %12 = load i32, i32* %storemerge4, align 4\n %13 = sub i32 %7, %12\n %14 = add i64 %storemerge4.in.reload, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i32 %13, %16\n %18 = zext i32 %17 to i64\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge4.in.reload, { 2, 0, 1 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge4.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iwjson_ftoa_6014", "fun_name": "iwjson_ftoa", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, x86_fp80 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.02.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %2 = bitcast i64* %arg1 to i8*\n %3 = trunc i128 %1 to i80\n %4 = bitcast i80 %3 to x86_fp80\n %5 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %2, i32 32, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), x86_fp80 %4)\n %6 = icmp eq i32 %5, 0\n %7 = icmp slt i32 %5, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %6, false\n %10 = icmp eq i1 %8, %9\n br i1 %10, label LBL_1, label LBL_3\n LBL_1:\n %11 = icmp slt i32 %5, 1\n store i32 %5, i32* %sv_0.1.reg2mem\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %12 = ptrtoint i64* %arg1 to i64\n %13 = add i64 %12, -1\n store i32 %5, i32* %sv_0.02.reg2mem\n br label LBL_5\n LBL_3:\n store i8 0, i8* %2, align 1\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_4:\n store i8 0, i8* %18, align 1\n %14 = add i32 %sv_0.02.reload, -1\n %15 = icmp slt i32 %14, 1\n store i32 %14, i32* %sv_0.02.reg2mem\n store i32 %14, i32* %sv_0.1.reg2mem\n br i1 %15, label LBL_8, label LBL_5\n LBL_5:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %16 = sext i32 %sv_0.02.reload to i64\n %17 = add i64 %13, %16\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 48\n br i1 %20, label LBL_4, label LBL_6\n LBL_6:\n %21 = icmp eq i8 %19, 46\n %22 = icmp eq i1 %21, false\n store i32 %sv_0.02.reload, i32* %sv_0.1.reg2mem\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n store i8 0, i8* %18, align 1\n %23 = add i32 %sv_0.02.reload, -1\n store i32 %23, i32* %sv_0.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %24 = sext i32 %sv_0.1.reload to i64\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %25 = ptrtoint i64* %arg2 to i64\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n store i64 %storemerge.reload, i64* %arg2, align 8\n ret i64 %25\n\n uselistorder i8* %18, { 0, 2, 1 }\n uselistorder i32 %sv_0.02.reload, { 3, 0, 2, 1 }\n uselistorder i32 %5, { 1, 0, 2, 4, 3 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i8 0, { 1, 0, 2 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 2, 3, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unix_listen_opts_289", "fun_name": "unix_listen_opts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 1, i64 1, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %6 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 110)\n store i64 1, i64* %sv_1, align 8\n %7 = icmp eq i64 %1, 0\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n %8 = inttoptr i64 %1 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 0\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = bitcast i64* %sv_0 to i8*\n %12 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %11, i32 108, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %8)\n store i8* %11, i8** %.pre-phi.reg2mem\n br label LBL_6\n LBL_5:\n %13 = call i8* @getenv(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n %14 = icmp eq i8* %13, null\n %15 = bitcast i64* %sv_0 to i8*\n %16 = select i1 %14, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i8* %13\n %17 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %15, i32 108, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i8* %16)\n %18 = call i32 @mkstemp(i8* nonnull %15)\n %19 = call i32 @close(i32 %18)\n %20 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0)\n store i8* %15, i8** %.pre-phi.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %21 = call i32 @unlink(i8* nonnull %.pre-phi.reload)\n %22 = bitcast i64* %sv_1 to %sockaddr*\n %23 = call i32 @bind(i32 %3, %sockaddr* nonnull %22, i32 110)\n %24 = icmp slt i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i32* @__errno_location()\n %27 = load i32, i32* %26, align 4\n %28 = call i8* @strerror(i32 %27)\n %29 = load %_IO_FILE*, %_IO_FILE** @gv_6, align 8\n %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %29, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_0, i8* %28)\n br label LBL_13\n LBL_8:\n %31 = call i32 @listen(i32 %3, i32 1)\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_10, label LBL_9\n LBL_9:\n %34 = call i32* @__errno_location()\n %35 = load i32, i32* %34, align 4\n %36 = call i8* @strerror(i32 %35)\n %37 = load %_IO_FILE*, %_IO_FILE** @gv_6, align 8\n %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %37, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_0, i8* %36)\n br label LBL_13\n LBL_10:\n %39 = load i32, i32* inttoptr (i64 4210852 to i32*), align 4\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_12, label LBL_11\n LBL_11:\n %41 = load %_IO_FILE*, %_IO_FILE** @gv_6, align 8\n %42 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %41, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_9, i64 0, i64 0), i64* nonnull %sv_0)\n br label LBL_12\n LBL_12:\n %43 = and i64 %2, 4294967295\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %44 = and i64 %2, 4294967295\n %45 = call i64 @FUNC(i64 %44)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %8, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 2, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "writev_f_14768", "fun_name": "writev_f", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.0.ph9.reg2mem = alloca i32\n %sv_1.0.ph8.reg2mem = alloca i32\n %sv_0.0.ph6.reg2mem = alloca i32\n %sv_1.0.ph5.reg2mem = alloca i32\n %sv_2.0.ph4.reg2mem = alloca i8\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %sv_2.0.ph.reg2mem = alloca i8\n %sv_3.0.ph.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i32, align 4\n %sv_7 = alloca i32, align 4\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n store i32 0, i32* %sv_7, align 4\n %6 = trunc i64 %5 to i32\n %7 = inttoptr i64 %arg3 to i8**\n store i64 0, i64* %sv_3.0.ph.reg2mem\n store i8 0, i8* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 205, i32* %sv_0.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %sv_2.0.ph.reload = load i8, i8* %sv_2.0.ph.reg2mem\n %sv_3.0.ph.reload = load i64, i64* %sv_3.0.ph.reg2mem\n store i8 %sv_2.0.ph.reload, i8* %sv_2.0.ph4.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.0.ph5.reg2mem\n store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph6.reg2mem\n br label LBL_13\n LBL_2:\n %8 = icmp eq i32 %19, 113\n store i8 1, i8* %sv_2.0.ph4.reg2mem\n store i32 %sv_1.0.ph8.reload, i32* %sv_1.0.ph5.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.0.ph6.reg2mem\n br i1 %8, label LBL_13, label LBL_4\n LBL_3:\n %sv_0.0.ph6.reload = load i32, i32* %sv_0.0.ph6.reg2mem\n %sv_1.0.ph5.reload = load i32, i32* %sv_1.0.ph5.reg2mem\n %sv_2.0.ph4.reload = load i8, i8* %sv_2.0.ph4.reg2mem\n store i32 %sv_1.0.ph5.reload, i32* %sv_1.0.ph8.reg2mem\n store i32 %sv_0.0.ph6.reload, i32* %sv_0.0.ph9.reg2mem\n br label LBL_17\n LBL_4:\n %9 = icmp sgt i32 %19, 113\n br i1 %9, label LBL_11, label LBL_5\n LBL_5:\n %10 = icmp eq i32 %19, 102\n br i1 %10, label LBL_8, label LBL_6\n LBL_6:\n %11 = icmp sgt i32 %19, 102\n br i1 %11, label LBL_11, label LBL_7\n LBL_7:\n store i64 1, i64* %sv_3.0.ph.reg2mem\n store i8 %sv_2.0.ph4.reload, i8* %sv_2.0.ph.reg2mem\n store i32 %sv_1.0.ph8.reload, i32* %sv_1.0.ph.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.0.ph.reg2mem\n switch i32 %19, label LBL_11 [\n i32 67, label LBL_1\n i32 80, label LBL_10\n ]\n LBL_8:\n %12 = or i32 %sv_1.0.ph8.reload, 1\n store i32 %12, i32* %sv_1.0.ph8.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.0.ph9.reg2mem\n br label LBL_17\n LBL_9:\n %sv_0.0.ph9.reload = load i32, i32* %sv_0.0.ph9.reg2mem\n %sv_1.0.ph8.reload = load i32, i32* %sv_1.0.ph8.reg2mem\n store i32 %sv_0.0.ph9.reload, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_10:\n %13 = load i64, i64* @gv_0, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i32 %15, i32* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_12, label LBL_23\n LBL_11:\n %18 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %19 = call i32 @getopt(i32 %6, i8** %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %20 = icmp eq i32 %19, -1\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_2, label LBL_13\n LBL_13:\n %22 = add nsw i64 %5, 4294967295\n %23 = and i64 %22, 4294967295\n %24 = load i32, i32* @gv_3, align 4\n %25 = zext i32 %24 to i64\n %26 = icmp ugt i64 %23, %25\n br i1 %26, label LBL_15, label LBL_14\n LBL_14:\n %27 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_15:\n %28 = sext i32 %24 to i64\n %29 = mul i64 %28, 8\n %30 = add i64 %29, %arg3\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = icmp slt i64 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_17, label LBL_16\n LBL_16:\n %36 = load i32, i32* @gv_3, align 4\n %37 = sext i32 %36 to i64\n %38 = mul i64 %37, 8\n %39 = add i64 %38, %arg3\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = call i64 @FUNC(i64 %33, i64 %41)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_17:\n store i32 ptrtoint (i32* @gv_4 to i32), i32* @gv_3, align 4\n %43 = sub nsw i64 %5, zext (i32 ptrtoint (i32* @gv_4 to i32) to i64)\n %44 = add i64 %arg3, mul (i64 sext (i32 ptrtoint (i32* @gv_4 to i32) to i64), i64 8)\n %45 = zext i32 %sv_0.0.reload to i64\n %46 = and i64 %43, 4294967295\n %47 = bitcast i32* %sv_6 to i64*\n %48 = call i64 @FUNC(i64 %2, i64* nonnull %47, i64 %44, i64 %46, i64 %45)\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %50, label LBL_18, label LBL_23\n LBL_18:\n %51 = bitcast i64* %sv_5 to %timeval*\n %52 = call i32 @gettimeofday(%timeval* nonnull %51, %timezone* null)\n %53 = call i64 @FUNC(i64 %2, i64* nonnull %47, i64 %33, i32 %sv_1.0.ph8.reload, i32* nonnull %sv_7)\n %54 = trunc i64 %53 to i32\n %55 = bitcast i64* %sv_4 to %timeval*\n %56 = call i32 @gettimeofday(%timeval* nonnull %55, %timezone* null)\n %57 = icmp slt i32 %54, 0\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_20, label LBL_19\n LBL_19:\n %59 = sub i32 0, %54\n %60 = call i8* @strerror(i32 %59)\n %61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i8* %60)\n br label LBL_22\n LBL_20:\n %62 = icmp eq i8 %sv_2.0.ph4.reload, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_22, label LBL_21\n LBL_21:\n %64 = ptrtoint i32* %sv_7 to i64\n %65 = load i64, i64* %sv_5, align 8\n %66 = load i64, i64* %sv_4, align 8\n %67 = call i64 @FUNC(i64 %66, i64 %3, i64 %65, i64 %4, i64 %64, i64 %1)\n store i64 %67, i64* %sv_4, align 8\n %68 = load i32, i32* %sv_7, align 4\n %69 = load i32, i32* %sv_6, align 4\n %70 = zext i32 %69 to i64\n %71 = and i64 %53, 4294967295\n %72 = zext i32 %68 to i64\n %73 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_4, i64 %33, i64 %70, i64 %72, i64 %71, i64 %sv_3.0.ph.reload)\n br label LBL_22\n LBL_22:\n %74 = call i64 @FUNC(i64* nonnull %47)\n %75 = call i64 @FUNC(i64 %48)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %19, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 1, 3 }\n uselistorder i32 %sv_1.0.ph8.reload, { 1, 3, 2, 0 }\n uselistorder i32* %sv_7, { 1, 2, 0, 3 }\n uselistorder i64* %sv_5, { 1, 0 }\n uselistorder i64* %sv_4, { 0, 2, 3, 1 }\n uselistorder i64* %sv_3.0.ph.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_2.0.ph.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 3, 6, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i32 (%timeval*, %timezone*)* @gettimeofday, { 1, 0 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder i32* @gv_3, { 2, 1, 0 }\n uselistorder i64* @gv_1, { 1, 0 }\n uselistorder i1 false, { 0, 1, 2, 3, 5, 4 }\n uselistorder i32 102, { 1, 0 }\n uselistorder i32 113, { 1, 0 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder i64 0, { 3, 8, 9, 10, 11, 1, 21, 2, 22, 12, 13, 0, 4, 14, 15, 23, 5, 6, 16, 17, 7, 18, 19, 20 }\n uselistorder i32 0, { 4, 5, 6, 0, 3, 1, 2 }\n uselistorder i64 %arg3, { 2, 0, 1, 3 }\n uselistorder label LBL_23, { 2, 1, 3, 5, 4, 0 }\n uselistorder label LBL_22, { 1, 0, 2 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__qdisc_run_7017", "fun_name": "__qdisc_run", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n br label LBL_4\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i8\n %8 = icmp eq i8 %7, 0\n %9 = load i64, i64* @gv_0, align 8\n %10 = icmp eq i64 %1, %9\n %or.cond = icmp eq i1 %8, %10\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %0)\n br label LBL_5\n LBL_4:\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_1, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 0, i64 %0)\n ret i64 %16\n\n uselistorder i64 %0, { 1, 3, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdp_probe_2228", "fun_name": "sdp_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = sext i32 %3 to i64\n %5 = add i64 %4, %0\n %6 = icmp ugt i64 %5, %0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_10, label LBL_1\n LBL_1:\n %8 = add i64 %5, -1\n store i64 %0, i64* %sv_0.13.reg2mem\n br label LBL_9\n LBL_2:\n %9 = sub i64 %5, %sv_0.13.reload\n %10 = icmp ult i64 %9, 8\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %sv_0.13.reload, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 100, i64* %storemerge.reg2mem\n br i1 %13, label LBL_4, label LBL_10\n LBL_4:\n %14 = icmp ult i64 %sv_0.13.reload, %8\n %15 = icmp eq i1 %14, false\n store i64 %sv_0.13.reload, i64* %sv_0.01.reg2mem\n store i64 %sv_0.13.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %15, label LBL_7, label LBL_6\n LBL_5:\n %16 = add i64 %sv_0.01.reload, 1\n %17 = icmp ult i64 %16, %8\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %sv_0.01.reg2mem\n store i64 %16, i64* %sv_0.0.lcssa.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %19 = inttoptr i64 %sv_0.01.reload to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 10\n %22 = icmp eq i1 %21, false\n store i64 %sv_0.01.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_5, label LBL_7\n LBL_7:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %23 = add i64 %sv_0.0.lcssa.reload, 1\n %24 = icmp ult i64 %23, %5\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %25, label LBL_10, label LBL_8\n LBL_8:\n %26 = inttoptr i64 %23 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 13\n %29 = icmp eq i1 %28, false\n %30 = add i64 %sv_0.0.lcssa.reload, 2\n %spec.select = select i1 %29, i64 %23, i64 %30\n %31 = icmp ugt i64 %5, %spec.select\n %32 = icmp eq i1 %31, false\n store i64 %spec.select, i64* %sv_0.13.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %33 = inttoptr i64 %sv_0.13.reload to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp eq i8 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %36, label LBL_2, label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.13.reload, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %5, { 1, 2, 4, 3, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.01.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4, 5 }\n uselistorder label LBL_10, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "slice_thread_park_workers_15053", "fun_name": "slice_thread_park_workers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 48\n %2 = inttoptr i64 %1 to i64*\n %3 = call i32 @pthread_cond_wait(i64* %arg1, i64* %2)\n %4 = call i32 @pthread_mutex_unlock(i64* %2)\n %5 = sext i32 %4 to i64\n ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bn_sqr_comba8_12643", "fun_name": "bn_sqr_comba8", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0, i64 0, i32 0, i32 0, i64 0)\n %3 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %3, align 4\n %4 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 0, i64 0, i64 0)\n %5 = add i64 %1, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %0, i64 1, i32 0, i32 0, i64 0)\n %8 = call i64 @FUNC(i64 %0, i64 2, i64 0, i64 0, i64 0, i64 0)\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = call i64 @FUNC(i64 %0, i64 3, i64 0, i64 0, i64 0, i64 0)\n %12 = call i64 @FUNC(i64 %0, i64 2, i64 1, i64 0, i64 0, i64 0)\n %13 = add i64 %1, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = call i64 @FUNC(i64 %0, i64 2, i32 0, i32 0, i64 0)\n %16 = call i64 @FUNC(i64 %0, i64 3, i64 1, i64 0, i64 0, i64 0)\n %17 = call i64 @FUNC(i64 %0, i64 4, i64 0, i64 0, i64 0, i64 0)\n %18 = add i64 %1, 16\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = call i64 @FUNC(i64 %0, i64 5, i64 0, i64 0, i64 0, i64 0)\n %21 = call i64 @FUNC(i64 %0, i64 4, i64 1, i64 0, i64 0, i64 0)\n %22 = call i64 @FUNC(i64 %0, i64 3, i64 2, i64 0, i64 0, i64 0)\n %23 = add i64 %1, 20\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = call i64 @FUNC(i64 %0, i64 3, i32 0, i32 0, i64 0)\n %26 = call i64 @FUNC(i64 %0, i64 4, i64 2, i64 0, i64 0, i64 0)\n %27 = call i64 @FUNC(i64 %0, i64 5, i64 1, i64 0, i64 0, i64 0)\n %28 = call i64 @FUNC(i64 %0, i64 6, i64 0, i64 0, i64 0, i64 0)\n %29 = add i64 %1, 24\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = call i64 @FUNC(i64 %0, i64 7, i64 0, i64 0, i64 0, i64 0)\n %32 = call i64 @FUNC(i64 %0, i64 6, i64 1, i64 0, i64 0, i64 0)\n %33 = call i64 @FUNC(i64 %0, i64 5, i64 2, i64 0, i64 0, i64 0)\n %34 = call i64 @FUNC(i64 %0, i64 4, i64 3, i64 0, i64 0, i64 0)\n %35 = add i64 %1, 28\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %36, align 4\n %37 = call i64 @FUNC(i64 %0, i64 4, i32 0, i32 0, i64 0)\n %38 = call i64 @FUNC(i64 %0, i64 5, i64 3, i64 0, i64 0, i64 0)\n %39 = call i64 @FUNC(i64 %0, i64 6, i64 2, i64 0, i64 0, i64 0)\n %40 = call i64 @FUNC(i64 %0, i64 7, i64 1, i64 0, i64 0, i64 0)\n %41 = add i64 %1, 32\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n %43 = call i64 @FUNC(i64 %0, i64 7, i64 2, i64 0, i64 0, i64 0)\n %44 = call i64 @FUNC(i64 %0, i64 6, i64 3, i64 0, i64 0, i64 0)\n %45 = call i64 @FUNC(i64 %0, i64 5, i64 4, i64 0, i64 0, i64 0)\n %46 = add i64 %1, 36\n %47 = inttoptr i64 %46 to i32*\n store i32 0, i32* %47, align 4\n %48 = call i64 @FUNC(i64 %0, i64 5, i32 0, i32 0, i64 0)\n %49 = call i64 @FUNC(i64 %0, i64 6, i64 4, i64 0, i64 0, i64 0)\n %50 = call i64 @FUNC(i64 %0, i64 7, i64 3, i64 0, i64 0, i64 0)\n %51 = add i64 %1, 40\n %52 = inttoptr i64 %51 to i32*\n store i32 0, i32* %52, align 4\n %53 = call i64 @FUNC(i64 %0, i64 7, i64 4, i64 0, i64 0, i64 0)\n %54 = call i64 @FUNC(i64 %0, i64 6, i64 5, i64 0, i64 0, i64 0)\n %55 = add i64 %1, 44\n %56 = inttoptr i64 %55 to i32*\n store i32 0, i32* %56, align 4\n %57 = call i64 @FUNC(i64 %0, i64 6, i32 0, i32 0, i64 0)\n %58 = call i64 @FUNC(i64 %0, i64 7, i64 5, i64 0, i64 0, i64 0)\n %59 = add i64 %1, 48\n %60 = inttoptr i64 %59 to i32*\n store i32 0, i32* %60, align 4\n %61 = call i64 @FUNC(i64 %0, i64 7, i64 6, i64 0, i64 0, i64 0)\n %62 = add i64 %1, 52\n %63 = inttoptr i64 %62 to i32*\n store i32 0, i32* %63, align 4\n %64 = call i64 @FUNC(i64 %0, i64 7, i32 0, i32 0, i64 0)\n %65 = add i64 %1, 56\n %66 = inttoptr i64 %65 to i32*\n store i32 0, i32* %66, align 4\n %67 = add i64 %1, 60\n %68 = inttoptr i64 %67 to i32*\n store i32 0, i32* %68, align 4\n ret i64 0\n\n uselistorder i64 %0, { 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 35 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @sqr_add_c2, { 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i32, i32, i64)* @sqr_add_c, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "put_old_guest_table_6047", "fun_name": "put_old_guest_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %2, i64 1, i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp sgt i32 %7, -4\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = icmp sgt i32 %7, -6\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %9, label LBL_6, label LBL_5\n LBL_3:\n %10 = icmp eq i32 %7, 0\n br i1 %10, label LBL_4, label LBL_5\n LBL_4:\n %11 = call i64 @FUNC(i64 %2)\n br label LBL_5\n LBL_5:\n store i64 0, i64* %arg1, align 8\n %12 = and i64 %6, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_6, { 2, 0, 1 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snmp_version_13766", "fun_name": "snmp_version", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i8* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg5, 1\n %3 = trunc i64 %1 to i8\n %4 = icmp ult i8 %3, 2\n %. = select i1 %4, i64 1, i64 4294967201\n %rax.0 = select i1 %2, i64 %., i64 4294967274\n ret i64 %rax.0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "btrfs_read_fs_root_no_radix_4149", "fun_name": "btrfs_read_fs_root_no_radix", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 64, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 -12, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_12\n LBL_1:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, -1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %4, i64 %4, i64 0, i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %4, i64* %rsi.0.reg2mem\n br i1 %12, label LBL_10, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0)\n %sext = mul i64 %10, 4294967296\n %14 = ashr exact i64 %sext, 32\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %15 = add i64 %4, 56\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %4, 52\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %4, 48\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %4, 44\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %27, i32 %23, i32 %20, i32 %17, i64 %0, i64 %4)\n %29 = call i64 @FUNC()\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %33 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %32)\n call void @exit(i32 1)\n unreachable\n LBL_6:\n %34 = call i64 @FUNC(i64 0, i64 %4, i64 %3, i64 %29, i64 0, i64 0)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_7, label LBL_8\n LBL_7:\n %38 = call i64 @FUNC(i64 %29)\n %39 = call i64 @FUNC(i64 %0)\n %40 = icmp slt i32 %35, 1\n %.op = mul i64 %34, 4294967296\n %.op.op = ashr exact i64 %.op, 32\n %41 = select i1 %40, i64 %.op.op, i64 -2\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %42 = inttoptr i64 %29 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = add i64 %29, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = zext i32 %50 to i64\n %52 = call i64 @FUNC(i64 %45, i64 %51)\n %53 = and i64 %52, 4294967295\n %54 = add i64 %0, 8\n %55 = call i64 @FUNC(i64 %45, i64 %54, i64 %53, i64 0)\n %56 = load i64, i64* %6, align 8\n %57 = inttoptr i64 %54 to i64*\n store i64 %54, i64* %57, align 8\n %58 = add i64 %0, 16\n %59 = inttoptr i64 %58 to i64*\n store i64 %56, i64* %59, align 8\n %60 = call i64 @FUNC(i64 %29)\n %61 = call i64 @FUNC(i64 %54)\n %62 = call i64 @FUNC(i64 %54)\n %63 = and i64 %62, 4294967295\n %64 = call i64 @FUNC(i64 %0, i64 %63)\n %65 = call i64 @FUNC(i64 %54)\n %66 = and i64 %65, 4294967295\n %67 = and i64 %64, 4294967295\n %68 = call i64 @FUNC(i64 %0, i64 %66, i64 %67, i64 %61)\n %69 = add i64 %0, 24\n %70 = inttoptr i64 %69 to i64*\n store i64 %68, i64* %70, align 8\n %71 = call i64 @FUNC(i64 %0)\n %72 = add i64 %0, 32\n %73 = inttoptr i64 %72 to i64*\n store i64 %71, i64* %73, align 8\n %74 = load i64, i64* %70, align 8\n %75 = icmp eq i64 %74, 0\n %76 = icmp eq i1 %75, false\n store i64 %66, i64* %rsi.0.reg2mem\n br i1 %76, label LBL_10, label LBL_9\n LBL_9:\n %77 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %78 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %77)\n call void @exit(i32 1)\n unreachable\n LBL_10:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %79 = icmp eq i64 %rsi.0.reload, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %79, label LBL_12, label LBL_11\n LBL_11:\n %80 = add i64 %0, 40\n %81 = inttoptr i64 %80 to i32*\n store i32 1, i32* %81, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %54, { 2, 1, 0, 4, 3, 5 }\n uselistorder i64 %29, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %4, { 3, 4, 7, 8, 6, 5, 0, 2, 1 }\n uselistorder i64 %0, { 1, 5, 0, 7, 6, 9, 8, 10, 4, 3, 11, 13, 2, 12, 14 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 4, 3 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 3, 4, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zfcp_qdio_allocate_17668", "fun_name": "zfcp_qdio_allocate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_2:\n %11 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0)\n %12 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64)* @zfcp_qdio_buffers_enqueue, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hpet_timer_5020", "fun_name": "hpet_timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i64* %arg1, null\n %or.cond = or i1 %5, %4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n br i1 %or.cond, label LBL_9, label LBL_1\n LBL_1:\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %sext = mul i64 %1, 4294967296\n %14 = ashr exact i64 %sext, 32\n %15 = zext i32 %13 to i64\n %16 = call i64 @FUNC(i64 %14, i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %14, i64* %.pre-phi.reg2mem\n br i1 %19, label LBL_3, label LBL_8\n LBL_3:\n %20 = trunc i64 %14 to i32\n br label LBL_6\n LBL_4:\n %21 = zext i32 %13 to i64\n %sext4 = mul i64 %1, 4294967296\n %22 = ashr exact i64 %sext4, 32\n %23 = call i64 @FUNC(i64 %22, i64 %21)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %22, i64* %.pre-phi.reg2mem\n br i1 %26, label LBL_5, label LBL_8\n LBL_5:\n %27 = trunc i64 %0 to i32\n br label LBL_7\n LBL_6:\n %28 = load i32, i32* %12, align 4\n %29 = add i32 %28, %20\n store i32 %29, i32* %12, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %14, i64 %30)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 %14, i64* %.pre-phi.reg2mem\n br i1 %34, label LBL_6, label LBL_8\n LBL_7:\n %35 = load i32, i32* %12, align 4\n %36 = add i32 %35, %27\n store i32 %36, i32* %12, align 4\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %22, i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %22, i64* %.pre-phi.reg2mem\n br i1 %41, label LBL_7, label LBL_8\n LBL_8:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %42 = call i64 @FUNC(i64 %0, i64 %.pre-phi.reload)\n %43 = call i64 @FUNC(i64 0)\n %44 = call i64 @FUNC(i64 %42)\n %45 = add i64 %44, %43\n %46 = add i64 %0, 24\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48, i64 %45)\n br label LBL_13\n LBL_9:\n br i1 %10, label LBL_13, label LBL_10\n LBL_10:\n %50 = call i64 @FUNC(i64 %0)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_13, label LBL_11\n LBL_11:\n %54 = add i64 %0, 16\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_13, label LBL_12\n LBL_12:\n %sext5 = mul i64 %1, 4294967296\n %58 = ashr exact i64 %sext5, 32\n %59 = call i64 @FUNC(i64 %0, i64 %58)\n %60 = call i64 @FUNC(i64 0)\n %61 = call i64 @FUNC(i64 %59)\n %62 = add i64 %61, %60\n %63 = add i64 %0, 24\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = call i64 @FUNC(i64 %65, i64 %62)\n store i32 0, i32* %55, align 4\n br label LBL_13\n LBL_13:\n %67 = call i64 @FUNC(i64 %0)\n ret i64 %67\n\n uselistorder i64 %22, { 0, 3, 1, 2 }\n uselistorder i64 %14, { 0, 3, 4, 1, 2 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i32* %12, { 4, 3, 0, 1, 2 }\n uselistorder i1 %10, { 1, 0 }\n uselistorder i64 %0, { 7, 5, 6, 4, 9, 1, 0, 2, 3, 8, 10 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64, i64)* @qemu_mod_timer, { 1, 0 }\n uselistorder i64 (i64)* @ticks_to_ns, { 1, 0 }\n uselistorder i64 (i64)* @qemu_get_clock, { 1, 0 }\n uselistorder i64 (i64, i64)* @hpet_calculate_diff, { 1, 0 }\n uselistorder i64 (i64, i64)* @hpet_time_after64, { 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 1, 0 }\n uselistorder i64 (i64, i64)* @hpet_time_after, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 6, 7, 1, 0, 5, 8 }\n uselistorder i64 (i64)* @timer_is_periodic, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 3, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sysMapFile_10956", "fun_name": "sysMapFile", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = icmp eq i64 %arg1, 0\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = trunc i64 %3 to i8\n %8 = icmp eq i8 %7, 64\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_7, label LBL_2\n LBL_2:\n %10 = add i64 %arg1, 1\n %11 = inttoptr i64 %10 to i8*\n %12 = call %_IO_FILE* @fopen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %13 = icmp eq %_IO_FILE* %12, null\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i32* @__errno_location()\n %16 = load i32, i32* %15, align 4\n %17 = call i8* @strerror(i32 %16)\n %18 = ptrtoint i8* %17 to i64\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %18, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %20 = ptrtoint %_IO_FILE* %12 to i64\n %21 = call i64 @FUNC(i64 %20, i64 %5)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %5, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %25 = call i32 @fclose(%_IO_FILE* %12)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %26 = inttoptr i64 %arg1 to i8*\n %27 = call i32 (i8*, i32, ...) @open(i8* %26, i32 0)\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = call i32* @__errno_location()\n %31 = load i32, i32* %30, align 4\n %32 = call i8* @strerror(i32 %31)\n %33 = ptrtoint i8* %32 to i64\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %33, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %35 = zext i32 %27 to i64\n %36 = call i64 @FUNC(i64 %35, i64 %5)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_11, label LBL_10\n LBL_10:\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %5, i64 %4, i64 %2, i64 %1)\n %40 = call i32 @close(i32 %27)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %41 = call i32 @close(i32 %27)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %27, { 1, 0, 2, 3 }\n uselistorder i64 %5, { 2, 3, 0, 1 }\n uselistorder i64 %4, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 5, 1, 4, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LOGE, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i64 4294967295, { 3, 2, 1, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 4, 0, 1, 5 }\n uselistorder label LBL_12, { 1, 2, 3, 0, 4, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_usb_fasttrackpro_boot_quirk_4622", "fun_name": "snd_usb_fasttrackpro_boot_quirk", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i64, i64* %0\n %7 = trunc i64 %3 to i32\n %8 = icmp eq i32 %7, 1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %2, i64 %1)\n %12 = call i64 @FUNC(i64 %10, i64 2)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967277, i64* %storemerge.reg2mem\n br i1 %15, label LBL_4, label LBL_2\n LBL_2:\n %16 = and i64 %12, 4294967295\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %16)\n store i64 4294967277, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %2, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967277, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @snd_printk, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pvpanic_init_2963", "fun_name": "pvpanic_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 1)\n %4 = call i64 @FUNC(i64 %3, i64 %0)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_push_report_sideband_pkt_5537", "fun_name": "add_push_report_sideband_pkt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.02.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_1.0.ph.reg2mem = alloca i64\n %sv_2.0.ph.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = icmp eq i1 %6, false\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n store i64 %1, i64* %sv_2.0.ph.reg2mem\n store i64 %10, i64* %sv_1.0.ph.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %10)\n %12 = load i64, i64* %3, align 8\n store i64 %10, i64* %sv_2.0.ph.reg2mem\n store i64 %12, i64* %sv_1.0.ph.reg2mem\n br label LBL_2\n LBL_2:\n %13 = ptrtoint i64* %arg1 to i64\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem\n store i64 %sv_2.0.ph.reload, i64* %sv_2.0.reg2mem\n store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem\n br label LBL_8\n LBL_3:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %14 = call i64 @FUNC(i64* nonnull %sv_3, i64 %sv_2.0.reload, i64* nonnull %sv_4, i64 %sv_1.0.reload)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, -1\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = icmp eq i1 %7, false\n store i64 0, i64* %sv_0.04.reg2mem\n br i1 %18, label LBL_10, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %0, i64 %sv_2.0.reload, i64 %sv_1.0.reload)\n store i64 0, i64* %sv_0.02.reg2mem\n br label LBL_11\n LBL_6:\n %20 = icmp slt i32 %15, 0\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_9, label LBL_7\n LBL_7:\n %21 = load i64, i64* %sv_4, align 8\n %22 = add i64 %sv_1.0.reload, %sv_2.0.reload\n %23 = sub i64 %22, %21\n %24 = load i64, i64* %sv_3, align 8\n %25 = call i64 @FUNC(i64 %13, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = load i64, i64* %sv_3, align 8\n %28 = call i64 @FUNC(i64 %27)\n %29 = icmp slt i32 %26, 0\n %30 = icmp eq i32 %26, -2\n %31 = icmp eq i1 %30, false\n %or.cond = icmp eq i1 %29, %31\n store i64 %21, i64* %sv_2.0.reg2mem\n store i64 %23, i64* %sv_1.0.reg2mem\n store i64 %25, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %32 = icmp eq i64 %sv_1.0.reload, 0\n %33 = icmp eq i1 %32, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %33, label LBL_3, label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.04.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.02.reg2mem\n br i1 %7, label LBL_11, label LBL_10\n LBL_10:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %34 = load i64, i64* %sv_4, align 8\n %35 = call i64 @FUNC(i64 %0, i64 %34)\n store i64 %sv_0.04.reload, i64* %sv_0.02.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %36 = and i64 %sv_0.02.reload, 4294967295\n ret i64 %36\n\n uselistorder i64 %sv_1.0.reload, { 1, 0, 3, 2 }\n uselistorder i64 %sv_2.0.reload, { 1, 2, 0 }\n uselistorder i64 %10, { 1, 2, 0 }\n uselistorder i64* %sv_4, { 1, 2, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %sv_2.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64, i64)* @git_buf_put, { 1, 0 }\n uselistorder i1 false, { 4, 0, 2, 3, 1, 5 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "start_children_3356", "fun_name": "start_children", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %storemerge26.reg2mem = alloca i32\n %sv_0.07.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = load i32, i32* @gv_0, align 4\n %1 = zext i32 %0 to i64\n %2 = icmp eq i32 %0, 0\n %3 = icmp eq i64* %arg1, null\n %4 = icmp eq i1 %3, false\n %or.cond = icmp eq i1 %4, %2\n store i64 %1, i64* %rax.1.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_14\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n store i64 %5, i64* %sv_0.07.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %6 = inttoptr i64 %sv_0.07.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_13, label LBL_3\n LBL_3:\n %9 = add i64 %sv_0.07.reload, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_13, label LBL_4\n LBL_4:\n %14 = call i32 @time(i32* null)\n %15 = sext i32 %14 to i64\n %16 = add i64 %sv_0.07.reload, 16\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = call i32 @fork()\n store i32 %18, i32* %10, align 4\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %22 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_2 to i64*), i32 1, i32 26, %_IO_FILE* %21)\n call void @exit(i32 1)\n unreachable\n LBL_6:\n %23 = icmp eq i32 %18, 0\n %24 = icmp eq i1 %23, false\n store i32 3, i32* %storemerge26.reg2mem\n br i1 %24, label LBL_13, label LBL_7\n LBL_7:\n %storemerge26.reload = load i32, i32* %storemerge26.reg2mem\n %25 = call i32 @close(i32 %storemerge26.reload)\n %26 = add nuw nsw i32 %storemerge26.reload, 1\n %exitcond = icmp eq i32 %26, 256\n store i32 %26, i32* %storemerge26.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_7\n LBL_8:\n %27 = load i32, i32* @gv_3, align 4\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_12, label LBL_9\n LBL_9:\n %30 = call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i32 2)\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_11, label LBL_10\n LBL_10:\n %32 = call i32 @dup2(i32 %30, i32 0)\n %33 = call i32 @dup2(i32 %30, i32 1)\n %34 = call i32 @dup2(i32 %30, i32 2)\n %35 = call i32 @close(i32 %30)\n br label LBL_12\n LBL_11:\n %36 = call i32 @dup2(i32 0, i32 1)\n %37 = call i32 @dup2(i32 0, i32 2)\n br label LBL_12\n LBL_12:\n %38 = call i64 @FUNC(i64* nonnull %sv_1, i64 1024, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0))\n %39 = bitcast i64* %sv_1 to i8*\n %40 = call i8* @strrchr(i8* nonnull %39, i32 47)\n %41 = icmp eq i8* %40, null\n %42 = icmp eq i1 %41, false\n %43 = ptrtoint i8* %40 to i64\n %44 = add i64 %43, 1\n %45 = inttoptr i64 %44 to i32*\n %46 = bitcast i64* %sv_1 to i32*\n %storemerge = select i1 %42, i32* %45, i32* %46\n %47 = ptrtoint i32* %storemerge to i64\n store i32 1886217830, i32* %storemerge, align 4\n %48 = add i64 %47, 4\n %49 = inttoptr i64 %48 to i16*\n store i16 26469, i16* %49, align 2\n %50 = add i64 %47, 6\n %51 = inttoptr i64 %50 to i8*\n store i8 0, i8* %51, align 1\n %52 = call i32 @chdir(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0))\n %53 = call void (i32)* @signal(i32 13, void (i32)* null)\n %54 = load i64, i64* %6, align 8\n %55 = inttoptr i64 %54 to i8*\n %56 = insertvalue [1 x i8*] undef, i8* %55, 0\n %57 = call i32 @execvp(i8* nonnull %39, [1 x i8*] %56)\n call void @_exit(i32 1)\n unreachable\n LBL_13:\n %58 = add i64 %sv_0.07.reload, 24\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = icmp eq i64 %60, 0\n %62 = icmp eq i1 %61, false\n store i64 %60, i64* %sv_0.07.reg2mem\n store i64 %60, i64* %rax.1.reg2mem\n br i1 %62, label LBL_2, label LBL_14\n LBL_14:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %30, { 0, 2, 1, 3, 4 }\n uselistorder i32 %storemerge26.reload, { 1, 0 }\n uselistorder i32 %18, { 1, 0, 2 }\n uselistorder i64 %sv_0.07.reload, { 3, 0, 2, 1 }\n uselistorder i64* %sv_0.07.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i32 (i32, i32)* @dup2, { 0, 1, 4, 3, 2 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i1 false, { 6, 1, 2, 3, 4, 5, 0 }\n uselistorder i32 0, { 1, 0, 2, 5, 6, 7, 8, 9, 10, 3, 4 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_bytes_c_1475", "fun_name": "add_bytes_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i32 %arg3, -8\n %3 = sext i32 %2 to i64\n %4 = icmp slt i32 %2, 0\n store i64 0, i64* %storemerge2.reg2mem\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %5 = add i64 %storemerge2.reload, %0\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %storemerge2.reload, %1\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = urem i64 %7, 128\n %12 = urem i64 %10, 128\n %13 = add nuw nsw i64 %12, %11\n %14 = xor i64 %10, %7\n %15 = and i64 %14, 128\n %16 = xor i64 %13, %15\n store i64 %16, i64* %9, align 8\n %17 = add nuw nsw i64 %storemerge2.reload, 8\n %18 = icmp sgt i64 %17, %3\n store i64 %17, i64* %storemerge2.reg2mem\n store i64 %17, i64* %storemerge.lcssa.reg2mem\n br i1 %18, label LBL_2, label LBL_1\n LBL_2:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %19 = sext i32 %arg3 to i64\n %20 = icmp slt i64 %storemerge.lcssa.reload, %19\n store i64 %storemerge.lcssa.reload, i64* %sv_0.01.reg2mem\n br i1 %20, label LBL_3, label LBL_4\n LBL_3:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %21 = add i64 %sv_0.01.reload, %1\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = add i64 %sv_0.01.reload, %0\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = add i8 %26, %23\n store i8 %27, i8* %22, align 1\n %28 = add nuw nsw i64 %sv_0.01.reload, 1\n %exitcond = icmp eq i64 %28, %19\n store i64 %28, i64* %sv_0.01.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n ret i64 %19\n\n uselistorder i64 %sv_0.01.reload, { 0, 2, 1 }\n uselistorder i64 %19, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %storemerge2.reload, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64 128, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_packetheader_2191", "fun_name": "get_packetheader", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i32 %arg3, 0\n %. = select i1 %2, i64 0, i64 4198727\n %3 = call i64 @FUNC(i64 %0, i64 %., i64 0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prep_new_page_4618", "fun_name": "prep_new_page", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i32 %arg2, 32\n %2 = shl i32 1, %1\n %storemerge = zext i32 %2 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge36.reg2mem\n br label LBL_1\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %3 = mul i64 %.reload, 4\n %4 = add i64 %3, %0\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %storemerge2.reg2mem\n br i1 %9, label LBL_2, label LBL_8\n LBL_2:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %10 = add i32 %storemerge36.reload, 1\n %11 = sext i32 %10 to i64\n %12 = icmp sgt i64 %storemerge, %11\n store i64 %11, i64* %.reg2mem\n store i32 %10, i32* %storemerge36.reg2mem\n br i1 %12, label LBL_1, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0, i64 0)\n %14 = call i64 @FUNC(i64 %0)\n %15 = zext i32 %arg2 to i64\n %16 = call i64 @FUNC(i64 %0, i64 %15)\n %17 = call i64 @FUNC(i64 %0, i64 %storemerge, i64 1)\n %18 = call i64 @FUNC(i64 %0, i64 %15)\n %19 = urem i32 %arg3, 2\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %0, i64 %15, i32 %arg3)\n br label LBL_5\n LBL_5:\n %22 = icmp eq i32 %arg2, 0\n %23 = and i32 %arg3, 2\n %24 = icmp eq i32 %23, 0\n %or.cond = or i1 %22, %24\n br i1 %or.cond, label LBL_7, label LBL_6\n LBL_6:\n %25 = call i64 @FUNC(i64 %0, i64 %15)\n br label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %0, i64 %15, i32 %arg3)\n %27 = and i32 %arg4, 4\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n %30 = zext i1 %29 to i32\n %31 = bitcast i64* %arg1 to i32*\n store i32 %30, i32* %31, align 4\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i64 %15, { 2, 1, 0, 3, 4 }\n uselistorder i64 %0, { 3, 2, 1, 5, 4, 8, 7, 6, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 %arg3, { 2, 1, 3, 0 }\n uselistorder i32 %arg2, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_io_cmd_16838", "fun_name": "nvme_io_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = trunc i64 %1 to i32\n %7 = add i32 %5, -1\n %8 = icmp ult i32 %7, %6\n store i64 3, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_7\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %9, 4\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp ugt i8 %16, 3\n store i64 6, i64* %rax.0.reg2mem\n br i1 %17, label LBL_7, label LBL_2\n LBL_2:\n %18 = ptrtoint i64* %arg3 to i64\n %19 = icmp ugt i8 %16, 1\n br i1 %19, label LBL_6, label LBL_3\n LBL_3:\n store i64 6, i64* %rax.0.reg2mem\n switch i8 %16, label LBL_7 [\n i8 0, label LBL_4\n i8 1, label LBL_5\n ]\n LBL_4:\n %20 = call i64 @FUNC(i64 %10, i64 %13, i64 %9, i64 %18)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %21 = call i64 @FUNC(i64 %10, i64 %13, i64 %9, i64 %18)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %22 = call i64 @FUNC(i64 %10, i64 %13, i64 %9, i64 %18)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %18, { 2, 0, 1 }\n uselistorder i64 %13, { 2, 0, 1 }\n uselistorder i64 %10, { 2, 0, 1, 3 }\n uselistorder i64 %9, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 4, 5, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 6, { 1, 0 }\n uselistorder label LBL_7, { 3, 4, 5, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nbd_client_co_flush_2768", "fun_name": "nbd_client_co_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n store i64 1, i64* %sv_1, align 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 0)\n %8 = icmp slt i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = trunc i64 %7 to i32\n %11 = sub i32 0, %10\n store i32 %11, i32* %sv_0, align 4\n br label LBL_4\n LBL_3:\n %12 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i32* nonnull %sv_0, i64 0)\n br label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)\n %14 = load i32, i32* %sv_0, align 4\n %15 = sub i32 0, %14\n %16 = zext i32 %15 to i64\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "adts_write_header_14247", "fun_name": "adts_write_header", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp slt i32 %8, 1\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = add i64 %6, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %arg1, i64 %12, i32 %8)\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "oplmsw_10872", "fun_name": "oplmsw", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = bitcast i64* %arg2 to i8*\n store i8 15, i8* %12, align 1\n %13 = add i64 %11, 1\n %14 = inttoptr i64 %13 to i8*\n store i8 1, i8* %14, align 1\n %15 = load i32, i32* %7, align 4\n %16 = and i32 %15, 2\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i64 %5, 12\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %11, 2\n %22 = trunc i32 %20 to i8\n %23 = or i8 %22, 48\n %24 = inttoptr i64 %21 to i8*\n store i8 %23, i8* %24, align 1\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %25 = add i64 %5, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %11, 2\n %29 = trunc i32 %27 to i8\n %30 = or i8 %29, -16\n %31 = inttoptr i64 %28 to i8*\n store i8 %30, i8* %31, align 1\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mp_get_info_10112", "fun_name": "mp_get_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %3 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 72)\n %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 32\n store i64 %4, i64* %sv_0, align 8\n %5 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 72)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %. = select i1 %7, i64 0, i64 4294967295\n ret i64 %.\n\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dash_free_395", "fun_name": "dash_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i32\n %.reg2mem20 = alloca i64\n %.reg2mem18 = alloca i64\n %.pr11.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i64\n %rdi.06.reg2mem = alloca i64\n %storemerge27.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge27.reg2mem\n store i64 %0, i64* %rdi.06.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %rdi.06.reload = load i64, i64* %rdi.06.reg2mem\n %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = mul nsw i64 %.reload, 48\n %7 = add nsw i64 %6, 40\n %8 = add i64 %7, %rdi.06.reload\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i32 %storemerge27.reload, 1\n %11 = load i32, i32* %3, align 4\n %12 = zext i32 %11 to i64\n %13 = sext i32 %10 to i64\n %14 = icmp slt i64 %13, %12\n store i64 %13, i64* %.reg2mem\n store i32 %10, i32* %storemerge27.reg2mem\n store i64 %8, i64* %rdi.06.reg2mem\n br i1 %14, label LBL_2, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0)\n store i32 0, i32* %3, align 4\n br label LBL_4\n LBL_4:\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_18, label LBL_5\n LBL_5:\n %20 = add i64 %0, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n store i64 %18, i64* %.reg2mem14\n store i64 0, i64* %.reg2mem16\n store i32 0, i32* %storemerge5.reg2mem\n br i1 %23, label LBL_17, label LBL_6\n LBL_6:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload15 = load i64, i64* %.reg2mem14\n %24 = mul nsw i64 %.reload17, 48\n %25 = add i64 %24, %.reload15\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n br i1 %28, label LBL_11, label LBL_7\n LBL_7:\n %29 = add i64 %25, 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n store i64 %27, i64* %.pr11.reg2mem\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %33 = call i64 @FUNC(i64 %27)\n %.pr.pre = load i64, i64* %26, align 8\n %34 = icmp eq i64 %.pr.pre, 0\n store i64 %.pr.pre, i64* %.pr11.reg2mem\n br i1 %34, label LBL_11, label LBL_9\n LBL_9:\n %.pr11.reload = load i64, i64* %.pr11.reg2mem\n %35 = inttoptr i64 %.pr11.reload to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp eq i64 %36, 0\n br i1 %37, label LBL_11, label LBL_10\n LBL_10:\n %38 = call i64 @FUNC(i64 %.pr11.reload)\n br label LBL_11\n LBL_11:\n %39 = add i64 %25, 32\n %40 = call i64 @FUNC(i64 %0, i64 %39)\n %41 = load i64, i64* %26, align 8\n %42 = icmp eq i64 %41, 0\n br i1 %42, label LBL_13, label LBL_12\n LBL_12:\n %43 = call i64 @FUNC(i64 %41)\n br label LBL_13\n LBL_13:\n %44 = add i64 %25, 24\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, 0\n %48 = add i64 %25, 16\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n store i64 %50, i64* %.reg2mem18\n store i64 0, i64* %.reg2mem20\n store i32 0, i32* %storemerge14.reg2mem\n store i64 %50, i64* %.lcssa.reg2mem\n br i1 %47, label LBL_15, label LBL_14\n LBL_14:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %.reload21 = load i64, i64* %.reg2mem20\n %.reload19 = load i64, i64* %.reg2mem18\n %51 = mul i64 %.reload21, 8\n %52 = add i64 %51, %.reload19\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = call i64 @FUNC(i64 %54)\n %56 = add i32 %storemerge14.reload, 1\n %57 = load i32, i32* %45, align 4\n %58 = zext i32 %57 to i64\n %59 = sext i32 %56 to i64\n %60 = icmp slt i64 %59, %58\n %61 = load i64, i64* %49, align 8\n store i64 %61, i64* %.reg2mem18\n store i64 %59, i64* %.reg2mem20\n store i32 %56, i32* %storemerge14.reg2mem\n store i64 %61, i64* %.lcssa.reg2mem\n br i1 %60, label LBL_14, label LBL_15\n LBL_15:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %62 = call i64 @FUNC(i64 %.lcssa.reload)\n %63 = add i32 %storemerge5.reload, 1\n %64 = load i32, i32* %21, align 4\n %65 = zext i32 %64 to i64\n %66 = sext i32 %63 to i64\n %67 = icmp slt i64 %66, %65\n br i1 %67, label LBL_15.LBL_6_crit_edge, label LBL_17\n LBL_16:\n %.pre = load i64, i64* %17, align 8\n store i64 %.pre, i64* %.reg2mem14\n store i64 %66, i64* %.reg2mem16\n store i32 %63, i32* %storemerge5.reg2mem\n br label LBL_6\n LBL_17:\n %68 = call i64 @FUNC(i64 %16)\n %69 = add i64 %0, 32\n %70 = call i64 @FUNC(i64 %0, i64 %69)\n %71 = add i64 %0, 40\n %72 = call i64 @FUNC(i64 %0, i64 %71)\n store i64 %72, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %49, { 1, 0 }\n uselistorder i32* %45, { 1, 0 }\n uselistorder i64 %27, { 1, 0, 2 }\n uselistorder i64* %26, { 1, 0, 2 }\n uselistorder i64 %25, { 1, 0, 2, 3, 4 }\n uselistorder i32* %21, { 1, 0 }\n uselistorder i32* %3, { 0, 2, 1 }\n uselistorder i64 %0, { 4, 6, 3, 7, 5, 8, 9, 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge27.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.06.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem14, { 2, 0, 1 }\n uselistorder i64* %.reg2mem16, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.pr11.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem18, { 2, 0, 1 }\n uselistorder i64* %.reg2mem20, { 2, 0, 1 }\n uselistorder i32* %storemerge14.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @ff_format_io_close, { 1, 0, 2 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i64 48, { 1, 0 }\n uselistorder i32 0, { 0, 3, 6, 1, 4, 7, 2, 5 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 3, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_seglist_remove_8156", "fun_name": "jpc_seglist_remove", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64* %arg2, null\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n store i64 %3, i64* %arg1, align 8\n br label LBL_2\n LBL_2:\n %5 = icmp eq i64 %3, 0\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %6, align 8\n br label LBL_5\n LBL_4:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %0, i64* %9, align 8\n br label LBL_5\n LBL_5:\n store i64 0, i64* %arg2, align 8\n store i64 0, i64* %2, align 8\n ret i64 %0\n\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ogg_restore_577", "fun_name": "ogg_restore", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem3 = alloca i32\n %.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n store i64 %2, i64* %arg1, align 8\n %6 = trunc i64 %arg2 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_8, label LBL_2\n LBL_2:\n %9 = load i64, i64* %4, align 8\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_5, label LBL_3\n LBL_3:\n %14 = inttoptr i64 %9 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = load i32, i32* %11, align 4\n %18 = icmp ugt i32 %17, 1\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %.reg2mem3\n br i1 %18, label LBL_4, label LBL_5\n LBL_4:\n %.reload4 = load i32, i32* %.reg2mem3\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i64, i64* %4, align 8\n %19 = mul i64 %.reload, 8\n %20 = add i64 %19, %.pre\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i32 %.reload4, 1\n %25 = load i32, i32* %11, align 4\n %26 = zext i32 %25 to i64\n %27 = sext i32 %24 to i64\n %28 = icmp slt i64 %27, %26\n store i64 %27, i64* %.reg2mem\n store i32 %24, i32* %.reg2mem3\n br i1 %28, label LBL_4, label LBL_5\n LBL_5:\n %29 = inttoptr i64 %3 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %5, i64 %31, i64 0)\n %33 = add i64 %2, 12\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = add i64 %2, 20\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = load i32, i32* %11, align 4\n %39 = sext i32 %38 to i64\n %40 = mul i64 %39, 8\n %41 = load i64, i64* %4, align 8\n %42 = call i64 @FUNC(i64 %41, i64 %40)\n store i64 %42, i64* %4, align 8\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_7, label LBL_6\n LBL_6:\n %44 = load i32, i32* %11, align 4\n %45 = mul i32 %44, 8\n %46 = add i64 %2, 24\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = inttoptr i64 %42 to i64*\n %50 = inttoptr i64 %48 to i64*\n %51 = call i64* @memcpy(i64* %49, i64* %50, i32 %45)\n br label LBL_8\n LBL_7:\n %52 = call i64 @FUNC(i64 %9)\n store i32 0, i32* %11, align 4\n br label LBL_8\n LBL_8:\n %53 = call i64 @FUNC(i64 %2)\n br label LBL_9\n LBL_9:\n ret i64 0\n\n uselistorder i64 %42, { 1, 0, 2 }\n uselistorder i32* %11, { 2, 1, 3, 5, 0, 4 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64* %4, { 1, 2, 0, 3, 4 }\n uselistorder i64 %2, { 4, 0, 1, 2, 3, 5, 6 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem3, { 2, 0, 1 }\n uselistorder i64 (i64)* @av_free, { 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_secureChannel_5842", "fun_name": "setup_secureChannel", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64* nonnull @gv_1, i64 %0, i64* nonnull @gv_2, i64* nonnull @gv_3)\n store i32 1024, i32* %sv_0, align 4\n %2 = call i64 @FUNC(i64* nonnull @gv_4, i32* nonnull %sv_0)\n %3 = call i64 @FUNC(i64* nonnull @gv_4, i64* nonnull @gv_1, i64* nonnull @gv_0)\n %4 = call i64 @FUNC(i64 1024, i64* nonnull @gv_5)\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* bitcast (i64* @gv_6 to i32*), align 8\n %6 = call i64 @FUNC(i64* nonnull @gv_6, i64* nonnull @gv_4)\n store i64 ptrtoint (i64* @gv_6 to i64), i64* @gv_4, align 8\n store i32 1, i32* bitcast (i64* @gv_7 to i32*), align 8\n ret i64 %6\n\n uselistorder i64* @gv_6, { 1, 0, 2 }\n uselistorder i64* @gv_4, { 3, 0, 1, 2 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "M_fs_path_join_parts_6705", "fun_name": "M_fs_path_join_parts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i64\n %storemerge511.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_20\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_20\n LBL_2:\n %6 = and i64 %arg2, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %2)\n %storemerge510 = add i64 %3, -1\n %9 = icmp eq i64 %storemerge510, 0\n %10 = icmp eq i1 %9, false\n store i64 %storemerge510, i64* %storemerge511.reg2mem\n br i1 %10, label LBL_3, label LBL_7\n LBL_3:\n %storemerge511.reload = load i64, i64* %storemerge511.reg2mem\n %11 = call i64 @FUNC(i64 %8, i64 %storemerge511.reload)\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = inttoptr i64 %11 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %8, i64 %storemerge511.reload)\n br label LBL_6\n LBL_6:\n %storemerge5 = add i64 %storemerge511.reload, -1\n %18 = icmp eq i64 %storemerge5, 0\n %19 = icmp eq i1 %18, false\n store i64 %storemerge5, i64* %storemerge511.reg2mem\n br i1 %19, label LBL_3, label LBL_7\n LBL_7:\n %sext3 = mul i64 %7, 4294967296\n %20 = ashr exact i64 %sext3, 32\n %21 = call i64 @FUNC(i64 %8)\n %22 = call i64 @FUNC(i64 %8, i64 0)\n %23 = icmp eq i64 %21, 1\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_13, label LBL_8\n LBL_8:\n %25 = icmp eq i64 %22, 0\n br i1 %25, label LBL_10, label LBL_9\n LBL_9:\n %26 = inttoptr i64 %22 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_13, label LBL_10\n LBL_10:\n %30 = call i64 @FUNC(i64 %8)\n %31 = trunc i64 %20 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_12:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_13:\n %36 = trunc i64 %20 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n %39 = icmp eq i64 %21, 0\n %or.cond = or i1 %38, %39\n br i1 %or.cond, label LBL_19, label LBL_14\n LBL_14:\n %40 = call i64 @FUNC(i64 %8, i64 0)\n %41 = icmp eq i64 %40, 0\n br i1 %41, label LBL_17, label LBL_15\n LBL_15:\n %. = select i1 %24, i64 1, i64 2\n %42 = inttoptr i64 %40 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = icmp eq i8 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 0, i64* %storemerge9.reg2mem\n br i1 %45, label LBL_17, label LBL_16\n LBL_16:\n %storemerge9.reload = load i64, i64* %storemerge9.reg2mem\n %46 = call i64 @FUNC(i64 %8, i64* nonnull @gv_2, i64 0)\n %47 = add nuw nsw i64 %storemerge9.reload, 1\n %48 = icmp ult i64 %47, %.\n store i64 %47, i64* %storemerge9.reg2mem\n br i1 %48, label LBL_16, label LBL_19\n LBL_17:\n %49 = and i64 %20, 4294967295\n %50 = call i64 @FUNC(i64 %40, i64 %49)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n %or.cond8 = or i1 %24, %52\n br i1 %or.cond8, label LBL_19, label LBL_18\n LBL_18:\n %53 = call i64 @FUNC(i64 %8, i64* nonnull @gv_2, i64 1)\n br label LBL_19\n LBL_19:\n %54 = and i64 %20, 4294967295\n %55 = call i64 @FUNC(i64 %54)\n %56 = urem i64 %55, 256\n %57 = call i64 @FUNC(i64 %8, i64 %56)\n %58 = call i64 @FUNC(i64 %8)\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %40, { 0, 2, 1 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %20, { 2, 1, 3, 0 }\n uselistorder i64 %storemerge511.reload, { 2, 0, 1 }\n uselistorder i64 %8, { 5, 4, 2, 1, 3, 0, 7, 6, 8, 9 }\n uselistorder i64* %storemerge511.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge9.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64*, i64)* @M_list_str_insert_at, { 1, 0 }\n uselistorder i64 (i8*)* @M_strdup, { 1, 0 }\n uselistorder i8 0, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @M_list_str_at, { 2, 0, 1 }\n uselistorder i64 -1, { 2, 0, 3, 4, 5, 1 }\n uselistorder i64 4294967295, { 2, 1, 0, 3 }\n uselistorder i64 (i64)* @M_list_str_len, { 1, 0 }\n uselistorder i1 false, { 1, 2, 4, 5, 6, 7, 3, 0, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_20, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_19, { 1, 2, 0, 3 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "create_mnt_ns_6540", "fun_name": "create_mnt_ns", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = inttoptr i64 %5 to i64*\n store i64 %0, i64* %6, align 8\n %7 = inttoptr i64 %0 to i64*\n store i64 %5, i64* %7, align 8\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i32 %10, 1\n store i32 %11, i32* %9, align 4\n %12 = add i64 %0, 16\n %13 = add i64 %5, 8\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n br label LBL_3\n LBL_2:\n %15 = call i64 @FUNC(i64 %arg1)\n br label LBL_3\n LBL_3:\n ret i64 %0\n\n uselistorder i64 %0, { 4, 0, 1, 2, 3, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_divduo_18633", "fun_name": "do_divduo", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i128\n %rax.0.reg2mem = alloca i64\n %0 = load i128, i128* @gv_0, align 8\n %1 = trunc i128 %0 to i64\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n store i32 0, i32* inttoptr (i64 4210756 to i32*), align 4\n %8 = load i128, i128* @gv_1, align 8\n %9 = load i128, i128* @gv_0, align 8\n %.lhs.trunc = trunc i128 %8 to i64\n %.rhs.trunc = trunc i128 %9 to i64\n %10 = udiv i64 %.lhs.trunc, %.rhs.trunc\n %11 = sext i64 %10 to i128\n store i64 %10, i64* %rax.0.reg2mem\n store i128 %11, i128* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n store i32 1, i32* @gv_2, align 4\n store i32 1, i32* @gv_3, align 4\n store i64 %5, i64* %rax.0.reg2mem\n store i128 0, i128* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i128, i128* %storemerge.reg2mem\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n store i128 %storemerge.reload, i128* @gv_1, align 8\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 3, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "machine_parse_17066", "fun_name": "machine_parse", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi6.reg2mem = alloca i64*\n %.pre-phi8.reg2mem = alloca i64*\n %storemerge14.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n ret i64 %3\n LBL_3:\n %5 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))\n %storemerge13 = load i64, i64* @gv_1, align 8\n %6 = icmp eq i64 %storemerge13, 0\n %7 = icmp eq i1 %6, false\n store i64 %storemerge13, i64* %storemerge14.reg2mem\n br i1 %7, label LBL_4, label LBL_8\n LBL_4:\n %storemerge14.reload = load i64, i64* %storemerge14.reg2mem\n %8 = add i64 %storemerge14.reload, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre = add i64 %storemerge14.reload, 16\n %.pre5 = inttoptr i64 %.pre to i64*\n %.pre7 = inttoptr i64 %storemerge14.reload to i64*\n store i64* %.pre7, i64** %.pre-phi8.reg2mem\n store i64* %.pre5, i64** %.pre-phi6.reg2mem\n br label LBL_7\n LBL_6:\n %12 = inttoptr i64 %storemerge14.reload to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %storemerge14.reload, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %10 to i8*\n %18 = inttoptr i64 %16 to i8*\n %19 = inttoptr i64 %13 to i8*\n %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i8* %17, i8* %18, i8* %19)\n store i64* %12, i64** %.pre-phi8.reg2mem\n store i64* %15, i64** %.pre-phi6.reg2mem\n br label LBL_7\n LBL_7:\n %.pre-phi6.reload = load i64*, i64** %.pre-phi6.reg2mem\n %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem\n %21 = add i64 %storemerge14.reload, 24\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n %25 = load i64, i64* %.pre-phi6.reload, align 8\n %26 = load i64, i64* %.pre-phi8.reload, align 8\n %27 = inttoptr i64 %26 to i8*\n %28 = inttoptr i64 %25 to i8*\n %29 = select i1 %24, i8* bitcast (i64* @gv_3 to i8*), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0)\n %30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i8* %27, i8* %28, i8* %29)\n %31 = add i64 %storemerge14.reload, 32\n %32 = inttoptr i64 %31 to i64*\n %storemerge1 = load i64, i64* %32, align 8\n %33 = icmp eq i64 %storemerge1, 0\n %34 = icmp eq i1 %33, false\n store i64 %storemerge1, i64* %storemerge14.reg2mem\n br i1 %34, label LBL_4, label LBL_8\n LBL_8:\n %35 = trunc i64 %1 to i8\n %36 = icmp ne i8 %35, 63\n %narrow = or i1 %2, %36\n %storemerge = zext i1 %narrow to i32\n call void @exit(i32 %storemerge)\n unreachable\n\n uselistorder i64 %storemerge14.reload, { 0, 1, 3, 2, 6, 5, 4 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_imx_open_4775", "fun_name": "snd_imx_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0)\n %2 = call i64 @FUNC(i64 %0, i64 %0)\n %3 = call i64 @FUNC(i64 12, i64 0)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = inttoptr i64 %3 to i32*\n %7 = inttoptr i64 %2 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %. = select i1 %9, i32 3, i32 2\n store i32 %., i32* %6, align 4\n %10 = add i64 %3, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = load i64, i64* @gv_1, align 8\n %18 = call i64 @FUNC(i64 %0, i64 %17, i64 %3)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %22 = call i64 @FUNC(i64 %0, i64 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "new_huffman_tree_5955", "fun_name": "new_huffman_tree", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = urem i32 %1, 32\n %3 = icmp eq i32 %2, 0\n %phitmp = shl i32 2, %2\n %phitmp3 = add i32 %phitmp, -1\n %storemerge = select i1 %3, i32 1, i32 %phitmp3\n %4 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %4, align 4\n %5 = add i64 %0, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 %storemerge, i32* %6, align 4\n %7 = call i64* @calloc(i32 1, i32 0)\n %8 = ptrtoint i64* %7 to i64\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n ret i64 %0\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_x86_dump_state_130", "fun_name": "cpu_x86_dump_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 44\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = udiv i32 %6, 1048576\n %8 = urem i32 %7, 2\n %9 = zext i32 %8 to i64\n %10 = add i64 %2, 40\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = udiv i32 %12, 256\n %14 = urem i32 %13, 2\n %15 = zext i32 %14 to i64\n %16 = urem i32 %12, 4\n %17 = zext i32 %16 to i64\n %18 = and i32 %3, 32\n %19 = icmp eq i32 %18, 0\n %. = select i1 %19, i8 45, i8 67\n %20 = and i32 %3, 16\n %21 = icmp eq i32 %20, 0\n %storemerge20 = select i1 %21, i8 45, i8 80\n %22 = and i32 %3, 8\n %23 = icmp eq i32 %22, 0\n %.22 = select i1 %23, i8 45, i8 65\n %24 = and i32 %3, 4\n %25 = icmp eq i32 %24, 0\n %storemerge18 = select i1 %25, i8 45, i8 90\n %26 = and i32 %3, 2\n %27 = icmp eq i32 %26, 0\n %.23 = select i1 %27, i8 45, i8 83\n %28 = urem i32 %3, 2\n %29 = icmp eq i32 %28, 0\n %storemerge16 = select i1 %29, i8 45, i8 79\n %30 = and i32 %3, 1024\n %31 = icmp eq i32 %30, 0\n %.24 = select i1 %31, i32 45, i32 68\n store i32 %.24, i32* %sv_1, align 4\n %32 = add i64 %2, 36\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %2, 32\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i64 %2, 28\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i64 %2, 24\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %2, 20\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i64 %2, 16\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = add i64 %2, 12\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %2, 8\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = add i64 %2, 4\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = trunc i32 %.24 to i8\n %60 = inttoptr i64 %arg2 to %_IO_FILE*\n %61 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([131 x i8], [131 x i8]* @gv_0, i64 0, i64 0), i32 %58, i32 %55, i32 %52, i32 %49, i32 %46, i32 %43, i32 %40, i32 %37, i32 %34, i32 %3, i8 %59, i8 %storemerge16, i8 %.23, i8 %storemerge18, i8 %.22, i8 %storemerge20, i8 %., i64 %17, i64 %15, i64 %9)\n %62 = ptrtoint i32* %sv_1 to i64\n %63 = add i64 %2, 48\n %64 = add i64 %62, -16\n %65 = inttoptr i64 %64 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %66 = mul nuw nsw i64 %indvars.iv.reload, 24\n %67 = add i64 %63, %66\n %68 = add i64 %67, 20\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = zext i32 %70 to i64\n %72 = add i64 %67, 16\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = add i64 %67, 8\n %76 = inttoptr i64 %75 to i64*\n %77 = load i64, i64* %76, align 8\n %78 = trunc i64 %77 to i32\n %79 = inttoptr i64 %67 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = mul i64 %indvars.iv.reload, 8\n %82 = add i64 %81, ptrtoint ([6 x i8*]* @gv_1 to i64)\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n store i64 %71, i64* %65, align 8\n %85 = inttoptr i64 %84 to i8*\n %86 = trunc i64 %indvars.iv.reload to i32\n %87 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i8* %85, i32 %80, i32 %78, i32 %74, i32 %86)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %88 = add i64 %2, 212\n %89 = inttoptr i64 %88 to i32*\n %90 = load i32, i32* %89, align 4\n %91 = add i64 %2, 208\n %92 = inttoptr i64 %91 to i32*\n %93 = load i32, i32* %92, align 4\n %94 = add i64 %2, 200\n %95 = inttoptr i64 %94 to i64*\n %96 = load i64, i64* %95, align 8\n %97 = trunc i64 %96 to i32\n %98 = add i64 %2, 192\n %99 = inttoptr i64 %98 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i32 %100, i32 %97, i32 %93, i32 %90)\n %102 = add i64 %2, 236\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = add i64 %2, 232\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = add i64 %2, 224\n %109 = inttoptr i64 %108 to i64*\n %110 = load i64, i64* %109, align 8\n %111 = trunc i64 %110 to i32\n %112 = add i64 %2, 216\n %113 = inttoptr i64 %112 to i32*\n %114 = load i32, i32* %113, align 4\n %115 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_4, i64 0, i64 0), i32 %114, i32 %111, i32 %107, i32 %104)\n %116 = add i64 %2, 248\n %117 = inttoptr i64 %116 to i32*\n %118 = load i32, i32* %117, align 4\n %119 = add i64 %2, 240\n %120 = inttoptr i64 %119 to i64*\n %121 = load i64, i64* %120, align 8\n %122 = trunc i64 %121 to i32\n %123 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0), i32 %122, i32 %118)\n %124 = add i64 %2, 264\n %125 = inttoptr i64 %124 to i32*\n %126 = load i32, i32* %125, align 4\n %127 = add i64 %2, 256\n %128 = inttoptr i64 %127 to i64*\n %129 = load i64, i64* %128, align 8\n %130 = trunc i64 %129 to i32\n %131 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_6, i64 0, i64 0), i32 %130, i32 %126)\n %132 = add i64 %2, 288\n %133 = inttoptr i64 %132 to i32*\n %134 = load i32, i32* %133, align 4\n %135 = add i64 %2, 284\n %136 = inttoptr i64 %135 to i32*\n %137 = load i32, i32* %136, align 4\n %138 = add i64 %2, 280\n %139 = inttoptr i64 %138 to i32*\n %140 = load i32, i32* %139, align 4\n %141 = add i64 %2, 272\n %142 = inttoptr i64 %141 to i32*\n %143 = load i32, i32* %142, align 4\n %144 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i32 %143, i32 %140, i32 %137, i32 %134)\n %145 = urem i32 %arg3, 2\n %146 = icmp eq i32 %145, 0\n br i1 %146, label LBL_7, label LBL_3\n LBL_3:\n %147 = add i64 %2, 292\n %148 = inttoptr i64 %147 to i32*\n %149 = load i32, i32* %148, align 4\n %150 = icmp ult i32 %149, 256\n br i1 %150, label LBL_4, label LBL_5\n LBL_4:\n %151 = sext i32 %149 to i64\n %152 = mul i64 %151, 8\n %153 = add i64 %152, ptrtoint (i64* @gv_8 to i64)\n %154 = inttoptr i64 %153 to i64*\n %155 = load i64, i64* %154, align 8\n %156 = bitcast i64* %sv_0 to i8*\n %157 = inttoptr i64 %155 to i8*\n %158 = call i8* @strcpy(i8* nonnull %156, i8* %157)\n br label LBL_6\n LBL_5:\n %159 = zext i32 %149 to i64\n %160 = bitcast i64* %sv_0 to i8*\n %161 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %160, i32 32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i64 %159)\n br label LBL_6\n LBL_6:\n %162 = add i64 %2, 300\n %163 = inttoptr i64 %162 to i32*\n %164 = load i32, i32* %163, align 4\n %165 = add i64 %2, 296\n %166 = inttoptr i64 %165 to i32*\n %167 = load i32, i32* %166, align 4\n %168 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_10, i64 0, i64 0), i32 %167, i32 %164, i64* nonnull %sv_0)\n br label LBL_7\n LBL_7:\n %169 = and i32 %arg3, 2\n %170 = icmp eq i32 %169, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %170, label LBL_9, label LBL_8\n LBL_8:\n %171 = add i64 %2, 328\n %172 = inttoptr i64 %171 to i64*\n %173 = load i64, i64* %172, align 8\n %174 = call i128 @FUNC(i64 %173)\n %175 = add i64 %2, 320\n %176 = inttoptr i64 %175 to i64*\n %177 = load i64, i64* %176, align 8\n %178 = call i128 @FUNC(i64 %177)\n %179 = add i64 %2, 312\n %180 = inttoptr i64 %179 to i64*\n %181 = load i64, i64* %180, align 8\n %182 = call i128 @FUNC(i64 %181)\n %183 = add i64 %2, 304\n %184 = inttoptr i64 %183 to i64*\n %185 = load i64, i64* %184, align 8\n %186 = call i128 @FUNC(i128 %174)\n %187 = call i128 @FUNC(i128 %178)\n %188 = call i128 @FUNC(i128 %182)\n %189 = call i128 @FUNC(i64 %185)\n %190 = trunc i128 %189 to i64\n %191 = bitcast i64 %190 to double\n %192 = trunc i128 %188 to i64\n %193 = bitcast i64 %192 to double\n %194 = trunc i128 %187 to i64\n %195 = bitcast i64 %194 to double\n %196 = trunc i128 %186 to i64\n %197 = bitcast i64 %196 to double\n %198 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_11, i64 0, i64 0), double %191, double %193, double %195, double %197)\n %199 = add i64 %2, 368\n %200 = inttoptr i64 %199 to i64*\n %201 = load i64, i64* %200, align 8\n %202 = call i128 @FUNC(i64 %201)\n %203 = add i64 %2, 360\n %204 = inttoptr i64 %203 to i64*\n %205 = load i64, i64* %204, align 8\n %206 = call i128 @FUNC(i64 %205)\n %207 = add i64 %2, 344\n %208 = inttoptr i64 %207 to i64*\n %209 = load i64, i64* %208, align 8\n %210 = call i128 @FUNC(i64 %209)\n %211 = add i64 %2, 336\n %212 = inttoptr i64 %211 to i64*\n %213 = load i64, i64* %212, align 8\n %214 = call i128 @FUNC(i128 %202)\n %215 = call i128 @FUNC(i128 %206)\n %216 = call i128 @FUNC(i128 %210)\n %217 = call i128 @FUNC(i64 %213)\n %218 = trunc i128 %217 to i64\n %219 = bitcast i64 %218 to double\n %220 = trunc i128 %216 to i64\n %221 = bitcast i64 %220 to double\n %222 = trunc i128 %215 to i64\n %223 = bitcast i64 %222 to double\n %224 = trunc i128 %214 to i64\n %225 = bitcast i64 %224 to double\n %226 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %60, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_12, i64 0, i64 0), double %219, double %221, double %223, double %225)\n %227 = sext i32 %226 to i64\n store i64 %227, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %149, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 }\n uselistorder %_IO_FILE* %60, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32 %3, { 2, 3, 0, 4, 5, 6, 7, 1 }\n uselistorder i32* %sv_1, { 1, 0 }\n uselistorder i64 %2, { 4, 5, 6, 7, 8, 9, 10, 11, 2, 1, 3, 14, 15, 13, 12, 17, 16, 19, 18, 22, 23, 21, 20, 26, 27, 25, 24, 0, 36, 34, 35, 32, 33, 30, 31, 29, 28, 37, 38 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 3, 8, 7, 5, 6, 1, 0, 2, 4, 9 }\n uselistorder i32 0, { 12, 13, 14, 15, 16, 17, 18, 19, 20, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i32 2, { 4, 0, 1, 5, 2, 3 }\n uselistorder i32 %arg3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "elst_Size_10393", "fun_name": "elst_Size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = add i32 %2, 4\n %4 = inttoptr i64 %arg1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = add i64 %arg1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = icmp eq i32 %9, 0\n store i32 12, i32* %.reg2mem\n br i1 %12, label LBL_4, label LBL_1\n LBL_1:\n %wide.trip.count = and i64 %8, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %13 = load i64, i64* %6, align 8\n %14 = call i64 @FUNC(i64 %13, i64 %indvars.iv.reload)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %.pre = load i32, i32* %11, align 4\n %phitmp = icmp eq i32 %.pre, 1\n %phitmp3 = icmp eq i1 %phitmp, false\n %phitmp4 = select i1 %phitmp3, i32 12, i32 20\n store i32 %phitmp4, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %15 = bitcast i64* %rdi to i32*\n %.reload = load i32, i32* %.reg2mem\n %16 = load i32, i32* %15, align 8\n %17 = mul i32 %.reload, %9\n %18 = add i32 %17, %16\n store i32 %18, i32* %4, align 4\n ret i64 0\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32 12, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "utf2char_13335", "fun_name": "utf2char", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.02.reg2mem = alloca i16*\n %sv_0.03.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = load i16, i16* %arg1, align 2\n %2 = icmp eq i16 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %0, i64* %sv_0.03.reg2mem\n store i16* %arg1, i16** %sv_1.02.reg2mem\n store i64 %0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %sv_1.02.reload = load i16*, i16** %sv_1.02.reg2mem\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %4 = add i64 %sv_0.03.reload, 1\n %5 = bitcast i16* %sv_1.02.reload to i8*\n %6 = load i8, i8* %5, align 1\n %7 = inttoptr i64 %sv_0.03.reload to i8*\n store i8 %6, i8* %7, align 1\n %8 = ptrtoint i16* %sv_1.02.reload to i64\n %9 = add i64 %8, 2\n %10 = inttoptr i64 %9 to i16*\n %11 = load i16, i16* %10, align 2\n %12 = icmp eq i16 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %4, i64* %sv_0.03.reg2mem\n store i16* %10, i16** %sv_1.02.reg2mem\n store i64 %4, i64* %sv_0.0.lcssa.reg2mem\n br i1 %13, label LBL_1, label LBL_2\n LBL_2:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %14 = inttoptr i64 %sv_0.0.lcssa.reload to i8*\n store i8 0, i8* %14, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i16** %sv_1.02.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i16 0, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "swiotlb_print_info_12770", "fun_name": "swiotlb_print_info", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 @fwrite(i64* bitcast ([29 x i8]* @gv_1 to i64*), i32 1, i32 28, %_IO_FILE* %2)\n %4 = sext i32 %3 to i64\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %5 = load i64, i64* @gv_2, align 8\n %6 = load i64, i64* @gv_3, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = load i64, i64* @gv_4, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %9, -1\n %11 = udiv i64 %5, 256\n %12 = and i64 %11, 17592186044415\n %13 = load i64, i64* @gv_4, align 8\n %14 = load i64, i64* @gv_3, align 8\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_5, i64 0, i64 0), i64 %14, i64 %13, i64 %12, i64 %7, i64 %10)\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @phys_to_virt, { 1, 0 }\n uselistorder i32 1, { 3, 2, 4, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "trik_Write_8896", "fun_name": "trik_Write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, label LBL_5, label LBL_2\n LBL_2:\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = and i64 %1, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_3:\n %12 = and i64 %4, 4294967295\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %13 = load i64, i64* %10, align 8\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = add i64 %13, %14\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %2, i64 %18, i64 2)\n %20 = load i64, i64* %10, align 8\n %21 = or i64 %14, 4\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %2, i64 %25, i64 6)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %11\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_buffer_2005", "fun_name": "put_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_new_request_1765", "fun_name": "scsi_new_request", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = zext i32 %arg3 to i64\n %3 = call i64 @FUNC(i64 0, i64 %0, i32 %1, i64 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hypercall_init_888", "fun_name": "hypercall_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 1, i64 4198676)\n %1 = call i64 @FUNC(i64 2, i64 4198683)\n %2 = call i64 @FUNC(i64 3, i64 4198690)\n %3 = call i64 @FUNC(i64 4, i64 4198697)\n %4 = call i64 @FUNC(i64 5, i64 4198704)\n ret i64 %4\n\n uselistorder i64 (i64, i64)* @spapr_register_hypercall, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "is_git_directory_11707", "fun_name": "is_git_directory", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi2.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = sext i32 %1 to i64\n %3 = bitcast i64* %sv_0 to i8*\n %4 = call i8* @strcpy(i8* nonnull %3, i8* %0)\n %5 = call i8* @getenv(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %6 = icmp eq i8* %5, null\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = call i8* @getenv(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %8 = call i32 @access(i8* %7, i32 1)\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1.LBL_4_crit_edge, label LBL_6\n LBL_2:\n %.pre = ptrtoint i64* %sv_0 to i64\n %.pre1 = add i64 %2, %.pre\n store i64 %.pre1, i64* %.pre-phi2.reg2mem\n br label LBL_4\n LBL_3:\n %10 = ptrtoint i64* %sv_0 to i64\n %11 = add i64 %2, %10\n %12 = inttoptr i64 %11 to i64*\n store i64 8319383698887831343, i64* %12, align 8\n %13 = add i64 %11, 8\n %14 = inttoptr i64 %13 to i8*\n store i8 0, i8* %14, align 1\n %15 = call i32 @access(i8* nonnull %3, i32 1)\n %16 = icmp eq i32 %15, 0\n store i64 %11, i64* %.pre-phi2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_6\n LBL_4:\n %.pre-phi2.reload = load i64, i64* %.pre-phi2.reg2mem\n %17 = inttoptr i64 %.pre-phi2.reload to i32*\n store i32 1717924399, i32* %17, align 4\n %18 = add i64 %.pre-phi2.reload, 4\n %19 = inttoptr i64 %18 to i16*\n store i16 115, i16* %19, align 2\n %20 = call i32 @access(i8* nonnull %3, i32 1)\n %21 = icmp eq i32 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n store i32 1095059503, i32* %17, align 4\n store i16 68, i16* %19, align 2\n %22 = call i64 @FUNC(i64* nonnull %sv_0)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %. = zext i1 %24 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.pre-phi2.reload, { 1, 0 }\n uselistorder i64 %11, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 1, 3, 0, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 (i8*, i32)* @access, { 2, 1, 0 }\n uselistorder i8* (i8*)* @getenv, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fec_enet_get_free_txdesc_num_4432", "fun_name": "fec_enet_get_free_txdesc_num", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = sub i64 %2, %5\n %sext = mul i64 %1, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = udiv i64 %6, %7\n %9 = trunc i64 %8 to i32\n %10 = add i32 %9, -1\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i32 %10, i32* %storemerge.in.reg2mem\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = add i64 %2, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i32 %15, %10\n store i32 %16, i32* %storemerge.in.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %10, { 1, 0, 2 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "s390_gen_initial_iplb_1767", "fun_name": "s390_gen_initial_iplb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 0)\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_7, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %0)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5, i64 1)\n %7 = call i64 @FUNC(i64 %0, i64 2)\n %8 = call i64 @FUNC(i64 %0, i64 3)\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = add i64 %2, 28\n %11 = inttoptr i64 %10 to i8*\n store i8 1, i8* %11, align 1\n br label LBL_3\n LBL_3:\n %12 = icmp eq i64 %6, 0\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 32)\n %14 = trunc i64 %13 to i32\n %15 = bitcast i64* %arg1 to i32*\n store i32 %14, i32* %15, align 4\n %16 = call i64 @FUNC(i64 16)\n %17 = trunc i64 %16 to i32\n %18 = add i64 %2, 4\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i8*\n store i8 1, i8* %21, align 1\n %22 = inttoptr i64 %6 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i16*\n %25 = load i16, i16* %24, align 2\n %26 = zext i16 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i16\n %29 = add i64 %2, 10\n %30 = inttoptr i64 %29 to i16*\n store i16 %28, i16* %30, align 2\n %31 = load i64, i64* %22, align 8\n %32 = add i64 %31, 2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = urem i8 %34, 4\n %36 = add i64 %2, 12\n %37 = inttoptr i64 %36 to i8*\n store i8 %35, i8* %37, align 1\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %38 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_7, label LBL_6\n LBL_6:\n %39 = inttoptr i64 %7 to i32*\n %40 = call i64 @FUNC(i64 %7)\n %41 = call i64 @FUNC(i64 32)\n %42 = trunc i64 %41 to i32\n %43 = bitcast i64* %arg1 to i32*\n store i32 %42, i32* %43, align 4\n %44 = call i64 @FUNC(i64 16)\n %45 = trunc i64 %44 to i32\n %46 = add i64 %2, 4\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = add i64 %2, 8\n %49 = inttoptr i64 %48 to i8*\n store i8 2, i8* %49, align 1\n %50 = load i32, i32* %39, align 4\n %51 = zext i32 %50 to i64\n %52 = call i64 @FUNC(i64 %51)\n %53 = trunc i64 %52 to i32\n %54 = add i64 %2, 16\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n %56 = add i64 %7, 4\n %57 = inttoptr i64 %56 to i16*\n %58 = load i16, i16* %57, align 2\n %59 = zext i16 %58 to i64\n %60 = call i64 @FUNC(i64 %59)\n %61 = trunc i64 %60 to i16\n %62 = add i64 %2, 20\n %63 = inttoptr i64 %62 to i16*\n store i16 %61, i16* %63, align 2\n %64 = add i64 %7, 6\n %65 = inttoptr i64 %64 to i16*\n %66 = load i16, i16* %65, align 2\n %67 = zext i16 %66 to i64\n %68 = call i64 @FUNC(i64 %67)\n %69 = trunc i64 %68 to i16\n %70 = add i64 %2, 22\n %71 = inttoptr i64 %70 to i16*\n store i16 %69, i16* %71, align 2\n %72 = inttoptr i64 %40 to i64*\n %73 = load i64, i64* %72, align 8\n %74 = inttoptr i64 %73 to i16*\n %75 = load i16, i16* %74, align 2\n %76 = zext i16 %75 to i64\n %77 = call i64 @FUNC(i64 %76)\n %78 = trunc i64 %77 to i16\n %79 = add i64 %2, 24\n %80 = inttoptr i64 %79 to i16*\n store i16 %78, i16* %80, align 2\n %81 = load i64, i64* %72, align 8\n %82 = add i64 %81, 2\n %83 = inttoptr i64 %82 to i8*\n %84 = load i8, i8* %83, align 1\n %85 = urem i8 %84, 4\n %86 = add i64 %2, 26\n %87 = inttoptr i64 %86 to i8*\n store i8 %85, i8* %87, align 1\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 1, 2, 4, 3 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %2, { 5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder i64 (i64)* @cpu_to_be16, { 3, 2, 1, 0 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder i64 (i64)* @cpu_to_be32, { 4, 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @object_dynamic_cast, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_7, { 2, 1, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bigben_remove_6426", "fun_name": "bigben_remove", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1)\n %4 = add i64 %3, 4\n %5 = call i64 @FUNC(i64 %4, i64 %2)\n %6 = inttoptr i64 %3 to i8*\n store i8 1, i8* %6, align 1\n %7 = call i64 @FUNC(i64 %4, i64 %2)\n %8 = add i64 %3, 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %1)\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_tlbsync_5110", "fun_name": "gen_tlbsync", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 1)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spectre_v2_in_ibrs_mode_12932", "fun_name": "spectre_v2_in_ibrs_mode", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %switch = icmp ult i32 %0, 3\n br i1 %switch, label LBL_2, label LBL_1\n LBL_1:\n %1 = icmp eq i32 %0, 3\n %spec.select = zext i1 %1 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n\n uselistorder i32 %0, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "poll_4879", "fun_name": "poll", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_0.112.reg2mem = alloca i32\n %indvars.iv16.reg2mem = alloca i64\n %indvars.iv20.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sext3 = mul i64 %arg3, 4294967296\n %0 = ashr exact i64 %sext3, 32\n %1 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 16)\n %narrow = mul nsw i64 %0, 274877907\n %2 = udiv i64 %narrow, 4294967296\n %3 = trunc i64 %2 to i32\n %4 = ashr i32 %3, 6\n %5 = trunc i64 %0 to i32\n %6 = ashr i32 %5, 31\n %7 = sub nsw i32 %4, %6\n %8 = sext i32 %7 to i64\n store i64 %8, i64* %sv_2, align 8\n %9 = ptrtoint i64* %sv_1 to i64\n store i64 0, i64* %indvars.iv20.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %10 = mul i64 %indvars.iv20.reload, 8\n %11 = add i64 %10, %9\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %exitcond22 = icmp eq i64 %indvars.iv.next21, 16\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n br i1 %exitcond22, label LBL_2, label LBL_1\n LBL_2:\n %13 = trunc i64 %arg2 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_3, label LBL_4\n LBL_3:\n %15 = bitcast i64* %sv_1 to %_TYPEDEF_fd_set*\n %16 = bitcast i64* %sv_2 to %timeval*\n %17 = call i32 @select(i32 1, %_TYPEDEF_fd_set* nonnull %15, %_TYPEDEF_fd_set* null, %_TYPEDEF_fd_set* null, %timeval* nonnull %16)\n store i32 %17, i32* %.reg2mem\n br label LBL_10\n LBL_4:\n %18 = ptrtoint i64* %sv_3 to i64\n %19 = ptrtoint i32* %arg1 to i64\n %20 = add i64 %18, -176\n %wide.trip.count18 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv16.reg2mem\n store i32 0, i32* %sv_0.112.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem\n %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem\n %21 = mul i64 %indvars.iv16.reload, 8\n %22 = add i64 %21, %19\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i32 %24, 63\n %26 = icmp slt i32 %24, 0\n %27 = select i1 %26, i32 %25, i32 %24\n %28 = ashr i32 %27, 6\n %29 = zext i32 %28 to i64\n %30 = sext i32 %28 to i64\n %31 = mul i64 %30, 8\n %32 = add i64 %31, %20\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = urem i32 %24, 64\n %36 = icmp eq i32 %35, 0\n %37 = zext i32 %35 to i64\n %38 = shl i64 1, %37\n %storemerge7 = select i1 %36, i64 1, i64 %38\n %39 = or i64 %storemerge7, %34\n %sext8 = mul i64 %29, 4294967296\n %40 = ashr exact i64 %sext8, 29\n %41 = add i64 %40, %20\n %42 = inttoptr i64 %41 to i64*\n store i64 %39, i64* %42, align 8\n %43 = add i64 %22, 6\n %44 = inttoptr i64 %43 to i16*\n store i16 0, i16* %44, align 2\n %45 = load i32, i32* %23, align 4\n %46 = zext i32 %45 to i64\n %47 = sext i32 %sv_0.112.reload to i64\n %48 = icmp slt i64 %47, %46\n %spec.select = select i1 %48, i32 %45, i32 %sv_0.112.reload\n %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1\n %exitcond19 = icmp eq i64 %indvars.iv.next17, %wide.trip.count18\n store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem\n store i32 %spec.select, i32* %sv_0.112.reg2mem\n br i1 %exitcond19, label LBL_6, label LBL_5\n LBL_6:\n %phitmp = add i32 %spec.select, 1\n %49 = bitcast i64* %sv_1 to %_TYPEDEF_fd_set*\n %50 = bitcast i64* %sv_2 to %timeval*\n %51 = call i32 @select(i32 %phitmp, %_TYPEDEF_fd_set* nonnull %49, %_TYPEDEF_fd_set* null, %_TYPEDEF_fd_set* null, %timeval* nonnull %50)\n %52 = icmp slt i32 %51, 1\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %51, i32* %.reg2mem\n br i1 %52, label LBL_10, label LBL_7\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %53 = mul i64 %indvars.iv.reload, 8\n %54 = add i64 %53, %19\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = add i32 %56, 63\n %58 = icmp slt i32 %56, 0\n %59 = select i1 %58, i32 %57, i32 %56\n %60 = ashr i32 %59, 6\n %61 = sext i32 %60 to i64\n %62 = mul i64 %61, 8\n %63 = add i64 %20, %62\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = urem i32 %56, 64\n %67 = icmp eq i32 %66, 0\n %68 = zext i32 %66 to i64\n %69 = shl i64 1, %68\n %storemerge = select i1 %67, i64 1, i64 %69\n %70 = and i64 %storemerge, %65\n %71 = icmp eq i64 %70, 0\n br i1 %71, label LBL_9, label LBL_8\n LBL_8:\n %72 = add i64 %54, 6\n %73 = inttoptr i64 %72 to i16*\n store i16 1, i16* %73, align 2\n br label LBL_9\n LBL_9:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count18\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %51, i32* %.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_7\n LBL_10:\n %.reload = load i32, i32* %.reg2mem\n %74 = zext i32 %.reload to i64\n ret i64 %74\n\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 0, 3, 2 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.112.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32 63, { 1, 0 }\n uselistorder i32 (i32, %_TYPEDEF_fd_set*, %_TYPEDEF_fd_set*, %_TYPEDEF_fd_set*, %timeval*)* @select, { 1, 0 }\n uselistorder %_TYPEDEF_fd_set* null, { 2, 3, 0, 1 }\n uselistorder i64 4294967296, { 0, 2, 1 }\n uselistorder label LBL_10, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "expandrow_6700", "fun_name": "expandrow", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.in.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i64\n %sv_1.118.reg2mem = alloca i64\n %sv_2.119.reg2mem = alloca i8\n %sv_1.014.reg2mem = alloca i64\n %sv_0.0.in15.reg2mem = alloca i64\n %sv_2.016.reg2mem = alloca i8\n %sv_3.0.in2442.reg2mem = alloca i64\n %sv_1.32243.reg2mem = alloca i64\n %.in.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_3.025.lcssa.reg2mem = alloca i64\n %sext = mul i64 %arg3, 4294967296\n %sv_3.021 = ashr exact i64 %sext, 32\n %0 = trunc i64 %sv_3.021 to i32\n %1 = icmp eq i32 %0, 0\n %2 = icmp slt i32 %0, 0\n %3 = icmp eq i1 %2, false\n %4 = icmp eq i1 %1, false\n %5 = icmp eq i1 %3, %4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_13\n LBL_1:\n %6 = bitcast i32* %arg2 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp eq i32 %0, 1\n %9 = icmp eq i1 %8, false\n %10 = icmp eq i8 %7, 0\n %or.cond41 = or i1 %9, %10\n store i64 %sv_3.021, i64* %sv_3.025.lcssa.reg2mem\n br i1 %or.cond41, label LBL_2, label LBL_4\n LBL_2:\n %sext6 = mul i64 %arg4, 4294967296\n %sext7 = mul i64 %arg5, 4294967296\n %11 = ashr exact i64 %sext7, 32\n %12 = ashr exact i64 %sext6, 32\n %13 = ptrtoint i32* %arg2 to i64\n %14 = ptrtoint i64* %arg1 to i64\n store i8 %7, i8* %.reg2mem\n store i64 %13, i64* %.in.reg2mem\n store i64 %14, i64* %sv_1.32243.reg2mem\n store i64 %sext, i64* %sv_3.0.in2442.reg2mem\n br label LBL_5\n LBL_3:\n %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %15 = inttoptr i64 %sv_0.1.in.reload to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i32 %45, 1\n %18 = icmp eq i1 %17, false\n %19 = icmp eq i8 %16, 0\n %or.cond = or i1 %18, %19\n store i64 %sv_3.0, i64* %sv_3.025.lcssa.reg2mem\n store i8 %16, i8* %.reg2mem\n store i64 %sv_0.1.in.reload, i64* %.in.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.32243.reg2mem\n store i64 %sext9, i64* %sv_3.0.in2442.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %sv_3.025.lcssa.reload = load i64, i64* %sv_3.025.lcssa.reg2mem\n %20 = and i64 %sv_3.025.lcssa.reload, 4294967295\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_5:\n %.reload = load i8, i8* %.reg2mem\n %21 = urem i8 %.reload, -128\n %22 = icmp eq i8 %21, 0\n %23 = icmp eq i1 %22, false\n %24 = zext i8 %21 to i64\n store i64 %24, i64* %rax.0.reg2mem\n br i1 %23, label LBL_6, label LBL_13\n LBL_6:\n %25 = icmp slt i64 %11, %24\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %25, label LBL_13, label LBL_7\n LBL_7:\n %sv_3.0.in2442.reload = load i64, i64* %sv_3.0.in2442.reg2mem\n %sv_1.32243.reload = load i64, i64* %sv_1.32243.reg2mem\n %.in.reload = load i64, i64* %.in.reg2mem\n %26 = add i64 %.in.reload, 1\n %27 = icmp slt i8 %.reload, 0\n %28 = icmp eq i1 %27, false\n store i8 %21, i8* %sv_2.016.reg2mem\n store i64 %26, i64* %sv_0.0.in15.reg2mem\n store i64 %sv_1.32243.reload, i64* %sv_1.014.reg2mem\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %sv_1.014.reload = load i64, i64* %sv_1.014.reg2mem\n %sv_0.0.in15.reload = load i64, i64* %sv_0.0.in15.reg2mem\n %sv_2.016.reload = load i8, i8* %sv_2.016.reg2mem\n %29 = add i8 %sv_2.016.reload, -1\n %30 = add i64 %sv_0.0.in15.reload, 1\n %31 = inttoptr i64 %sv_0.0.in15.reload to i8*\n %32 = load i8, i8* %31, align 1\n %33 = inttoptr i64 %sv_1.014.reload to i8*\n store i8 %32, i8* %33, align 1\n %34 = add i64 %sv_1.014.reload, %12\n %35 = icmp eq i8 %29, 0\n %36 = icmp eq i1 %35, false\n store i8 %29, i8* %sv_2.016.reg2mem\n store i64 %30, i64* %sv_0.0.in15.reg2mem\n store i64 %34, i64* %sv_1.014.reg2mem\n store i64 %34, i64* %sv_1.2.reg2mem\n store i64 %30, i64* %sv_0.1.in.reg2mem\n br i1 %36, label LBL_8, label LBL_12\n LBL_9:\n %37 = inttoptr i64 %26 to i8*\n %38 = load i8, i8* %37, align 1\n store i8 %21, i8* %sv_2.119.reg2mem\n store i64 %sv_1.32243.reload, i64* %sv_1.118.reg2mem\n br label LBL_10\n LBL_10:\n %sv_1.118.reload = load i64, i64* %sv_1.118.reg2mem\n %sv_2.119.reload = load i8, i8* %sv_2.119.reg2mem\n %39 = add i8 %sv_2.119.reload, -1\n %40 = inttoptr i64 %sv_1.118.reload to i8*\n store i8 %38, i8* %40, align 1\n %41 = add i64 %sv_1.118.reload, %12\n %42 = icmp eq i8 %39, 0\n %43 = icmp eq i1 %42, false\n store i8 %39, i8* %sv_2.119.reg2mem\n store i64 %41, i64* %sv_1.118.reg2mem\n br i1 %43, label LBL_10, label LBL_11\n LBL_11:\n %44 = add i64 %.in.reload, 2\n store i64 %41, i64* %sv_1.2.reg2mem\n store i64 %44, i64* %sv_0.1.in.reg2mem\n br label LBL_12\n LBL_12:\n %sext9 = add i64 %sv_3.0.in2442.reload, -4294967296\n %sv_3.0 = ashr exact i64 %sext9, 32\n %45 = trunc i64 %sv_3.0 to i32\n %46 = icmp eq i32 %45, 0\n %47 = icmp slt i32 %45, 0\n %48 = icmp eq i1 %47, false\n %49 = icmp eq i1 %46, false\n %50 = icmp eq i1 %48, %49\n store i64 0, i64* %rax.0.reg2mem\n br i1 %50, label LBL_3, label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %45, { 2, 1, 0 }\n uselistorder i64 %sv_3.0, { 1, 0 }\n uselistorder i64 %sext9, { 1, 0 }\n uselistorder i64 %sv_1.118.reload, { 1, 0 }\n uselistorder i64 %sv_1.014.reload, { 1, 0 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %.in.reload, { 1, 0 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %sv_0.1.in.reload, { 1, 0 }\n uselistorder i8* %sv_2.016.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.in15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.014.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_2.119.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.118.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.2.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_0.1.in.reg2mem, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 5, 4 }\n uselistorder i8 0, { 2, 3, 4, 5, 1, 0 }\n uselistorder i1 false, { 9, 3, 4, 5, 6, 7, 8, 0, 1, 2 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i64 32, { 1, 2, 3, 0 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_13, { 2, 1, 0, 4, 3 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_hq_slice_row_1386", "fun_name": "decode_hq_slice_row", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge3.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %4, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = trunc i64 %arg4 to i32\n %12 = mul i32 %10, %11\n %13 = sext i32 %12 to i64\n %14 = add i64 %7, %13\n %15 = ptrtoint i32* %arg2 to i64\n %16 = and i64 %1, 4294967295\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %17 = call i64 @FUNC(i64 %4, i64 %15, i64 %14)\n %18 = add i32 %storemerge3.reload, 1\n %19 = sext i32 %18 to i64\n %20 = icmp sgt i64 %16, %19\n store i32 %18, i32* %storemerge3.reg2mem\n br i1 %20, label LBL_2, label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Perl_repeatcpy_11408", "fun_name": "Perl_repeatcpy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.2.lcssa.reg2mem = alloca i64\n %sv_1.23.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_1.110.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i64\n %sv_2.07.reg2mem = alloca i32*\n %storemerge28.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg3, 1\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %sext = mul i32 %4, 16777216\n %5 = ashr exact i32 %sext, 24\n %6 = trunc i64 %arg4 to i32\n %7 = call i64* @memset(i64* %arg1, i32 %5, i32 %6)\n %8 = ptrtoint i64* %7 to i64\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %9 = ptrtoint i32* %arg2 to i64\n %10 = icmp eq i64 %arg4, 0\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_12, label LBL_3\n LBL_3:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %arg4, -16\n %13 = sub i64 15, %arg4\n %14 = and i64 %13, %arg4\n %15 = icmp slt i64 %14, 0\n %16 = icmp eq i64 %12, 0\n %17 = icmp slt i64 %12, 0\n %18 = icmp ne i1 %17, %15\n %19 = or i1 %16, %18\n %20 = select i1 %19, i64 %arg4, i64 16\n %21 = icmp sgt i64 %20, 0\n store i64 %11, i64* %sv_1.1.lcssa.reg2mem\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %21, label LBL_4, label LBL_8\n LBL_4:\n %22 = icmp eq i64 %arg3, 0\n %23 = icmp slt i64 %arg3, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %22, false\n %26 = icmp eq i1 %24, %25\n store i64 0, i64* %storemerge11.reg2mem\n store i64 %11, i64* %sv_1.110.reg2mem\n br label LBL_7\n LBL_5:\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %sv_2.07.reload = load i32*, i32** %sv_2.07.reg2mem\n %storemerge28.reload = load i64, i64* %storemerge28.reg2mem\n %27 = ptrtoint i32* %sv_2.07.reload to i64\n %28 = add i64 %27, 1\n %29 = inttoptr i64 %28 to i32*\n %30 = add i64 %sv_1.06.reload, 1\n %31 = bitcast i32* %sv_2.07.reload to i8*\n %32 = load i8, i8* %31, align 1\n %33 = inttoptr i64 %sv_1.06.reload to i8*\n store i8 %32, i8* %33, align 1\n %34 = add i64 %storemerge28.reload, -1\n %35 = icmp eq i64 %34, 0\n %36 = icmp slt i64 %34, 0\n %37 = icmp eq i1 %36, false\n %38 = icmp eq i1 %35, false\n %39 = icmp eq i1 %37, %38\n store i64 %34, i64* %storemerge28.reg2mem\n store i32* %29, i32** %sv_2.07.reg2mem\n store i64 %30, i64* %sv_1.06.reg2mem\n store i64 %30, i64* %sv_1.0.lcssa.reg2mem\n br i1 %39, label LBL_5, label LBL_6\n LBL_6:\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %40 = add nuw nsw i64 %storemerge11.reload, 1\n %exitcond = icmp eq i64 %40, %20\n store i64 %40, i64* %storemerge11.reg2mem\n store i64 %sv_1.0.lcssa.reload, i64* %sv_1.110.reg2mem\n store i64 %sv_1.0.lcssa.reload, i64* %sv_1.1.lcssa.reg2mem\n store i64 %20, i64* %storemerge.lcssa.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_7\n LBL_7:\n %sv_1.110.reload = load i64, i64* %sv_1.110.reg2mem\n %storemerge11.reload = load i64, i64* %storemerge11.reg2mem\n store i64 %arg3, i64* %storemerge28.reg2mem\n store i32* %arg2, i32** %sv_2.07.reg2mem\n store i64 %sv_1.110.reload, i64* %sv_1.06.reg2mem\n store i64 %sv_1.110.reload, i64* %sv_1.0.lcssa.reg2mem\n br i1 %26, label LBL_5, label LBL_6\n LBL_8:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n %41 = lshr i64 %arg4, 63\n %42 = add i64 %41, %arg4\n %43 = ashr i64 %42, 1\n %44 = icmp sgt i64 %storemerge.lcssa.reload, %43\n store i64 %storemerge.lcssa.reload, i64* %sv_0.04.reg2mem\n store i64 %sv_1.1.lcssa.reload, i64* %sv_1.23.reg2mem\n store i64 %sv_1.1.lcssa.reload, i64* %sv_1.2.lcssa.reg2mem\n store i64 %storemerge.lcssa.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %44, label LBL_10, label LBL_9\n LBL_9:\n %sv_1.23.reload = load i64, i64* %sv_1.23.reg2mem\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %45 = mul i64 %sv_0.04.reload, %arg3\n %46 = inttoptr i64 %sv_1.23.reload to i64*\n %47 = trunc i64 %45 to i32\n %48 = call i64* @memcpy(i64* %46, i64* %arg1, i32 %47)\n %49 = add i64 %45, %sv_1.23.reload\n %50 = mul i64 %sv_0.04.reload, 2\n %51 = icmp sgt i64 %50, %43\n store i64 %50, i64* %sv_0.04.reg2mem\n store i64 %49, i64* %sv_1.23.reg2mem\n store i64 %49, i64* %sv_1.2.lcssa.reg2mem\n store i64 %50, i64* %sv_0.0.lcssa.reg2mem\n br i1 %51, label LBL_10, label LBL_9\n LBL_10:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %52 = icmp slt i64 %sv_0.0.lcssa.reload, %arg4\n store i64 %sv_0.0.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %52, label LBL_11, label LBL_12\n LBL_11:\n %sv_1.2.lcssa.reload = load i64, i64* %sv_1.2.lcssa.reg2mem\n %53 = sub i64 %arg4, %sv_0.0.lcssa.reload\n %54 = mul i64 %53, %arg3\n %55 = inttoptr i64 %sv_1.2.lcssa.reload to i64*\n %56 = trunc i64 %54 to i32\n %57 = call i64* @memcpy(i64* %55, i64* %arg1, i32 %56)\n %58 = ptrtoint i64* %57 to i64\n store i64 %58, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.lcssa.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.04.reload, { 1, 0 }\n uselistorder i64 %43, { 1, 0 }\n uselistorder i64 %sv_1.110.reload, { 1, 0 }\n uselistorder i32* %sv_2.07.reload, { 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64* %storemerge28.reg2mem, { 1, 2, 0 }\n uselistorder i32** %sv_2.07.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_1.06.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_1.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.23.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i1 false, { 3, 2, 0, 1, 4 }\n uselistorder i64 1, { 4, 3, 1, 2, 0 }\n uselistorder i64 %arg4, { 3, 2, 0, 4, 7, 1, 6, 5, 8, 9 }\n uselistorder i64 %arg3, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64* %arg1, { 0, 1, 3, 2 }\n uselistorder label LBL_12, { 1, 0, 2, 3 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xml_track_changes_9333", "fun_name": "xml_track_changes", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i8 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = icmp eq i8 %arg4, 0\n %. = select i1 %4, i64 ptrtoint (i64* @gv_0 to i64), i64 ptrtoint ([11 x i8]* @gv_1 to i64)\n %5 = inttoptr i64 %. to i64*\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %., i64 %arg1, i64* %5, i64 %2, i64 %1)\n %7 = call i64 @FUNC(i64 %arg1, i64 1)\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %8 = icmp eq i64 %arg3, 0\n %9 = icmp eq i1 %8, false\n %spec.select = select i1 %9, i64 %arg3, i64 %arg1\n %10 = call i64 @FUNC(i64 %arg1, i64 2)\n %11 = call i64 @FUNC(i64 %spec.select, i64 %arg1, i64 %arg2)\n %12 = call i64 @FUNC(i64 %arg1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %., { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @set_doc_flag, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 0, 1 }\n uselistorder i64 %arg1, { 3, 2, 1, 0, 5, 4, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_config_parse_1989", "fun_name": "qemu_config_parse", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.ph.be.reg2mem = alloca i64\n %sv_2.013.reg2mem = alloca i32\n %sv_1.0.ph15.reg2mem = alloca i64\n %sv_2.0.ph16.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i8, align 1\n %sv_7 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_7)\n %2 = inttoptr i64 %arg1 to %_IO_FILE*\n %3 = call i8* @fgets(i8* nonnull %sv_6, i32 1024, %_IO_FILE* %2)\n %4 = icmp eq i8* %3, null\n %5 = icmp eq i1 %4, false\n store i32 0, i32* %sv_2.0.ph16.reg2mem\n store i64 0, i64* %sv_1.0.ph15.reg2mem\n br i1 %5, label LBL_1, label LBL_16\n LBL_1:\n %sv_1.0.ph15.reload = load i64, i64* %sv_1.0.ph15.reg2mem\n %sv_2.0.ph16.reload = load i32, i32* %sv_2.0.ph16.reg2mem\n %6 = icmp eq i64 %sv_1.0.ph15.reload, 0\n %7 = icmp eq i1 %6, false\n store i32 %sv_2.0.ph16.reload, i32* %sv_2.013.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.013.reload = load i32, i32* %sv_2.013.reg2mem\n %8 = add i32 %sv_2.013.reload, 1\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %arg3, i64 %9)\n %11 = load i8, i8* %sv_6, align 1\n %12 = icmp eq i8 %11, 10\n %13 = icmp eq i8 %11, 35\n %14 = or i1 %12, %13\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i8* @fgets(i8* nonnull %sv_6, i32 1024, %_IO_FILE* %2)\n %17 = icmp eq i8* %16, null\n %18 = icmp eq i1 %17, false\n store i32 %8, i32* %sv_2.013.reg2mem\n br i1 %18, label LBL_2, label LBL_16\n LBL_4:\n %19 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %sv_6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_4, i64* nonnull %sv_5)\n %20 = icmp eq i32 %19, 2\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4)\n %23 = icmp eq i64 %22, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_18, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %22, i64* nonnull %sv_5, i64 1, i64 0)\n store i64 %24, i64* %sv_1.0.ph.be.reg2mem\n br label LBL_10\n LBL_7:\n %25 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %sv_6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_4)\n %26 = icmp eq i32 %25, 1\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_11, label LBL_8\n LBL_8:\n %28 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4)\n %29 = icmp eq i64 %28, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %29, label LBL_18, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %28, i64* null, i64 0, i64 0)\n store i64 %30, i64* %sv_1.0.ph.be.reg2mem\n br label LBL_10\n LBL_10:\n %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem\n %31 = call i8* @fgets(i8* nonnull %sv_6, i32 1024, %_IO_FILE* %2)\n %32 = icmp eq i8* %31, null\n %33 = icmp eq i1 %32, false\n store i32 %8, i32* %sv_2.0.ph16.reg2mem\n store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph15.reg2mem\n br i1 %33, label LBL_1, label LBL_16\n LBL_11:\n %34 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %sv_6, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_3, i64* nonnull %sv_7)\n %35 = icmp eq i32 %34, 2\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_15, label LBL_12\n LBL_12:\n br i1 %7, label LBL_14, label LBL_13\n LBL_13:\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br label LBL_18\n LBL_14:\n %38 = call i64 @FUNC(i64 %sv_1.0.ph15.reload, i64* nonnull %sv_3, i64* nonnull %sv_7)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %41, label LBL_18, label LBL_3\n LBL_15:\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br label LBL_18\n LBL_16:\n %43 = call i32 @ferror(%_IO_FILE* %2)\n %44 = icmp eq i32 %43, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %44, label LBL_18, label LBL_17\n LBL_17:\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %46 = call i64 @FUNC(i64* nonnull %sv_7)\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder %_IO_FILE* %2, { 0, 2, 3, 1 }\n uselistorder i8* %sv_6, { 3, 1, 4, 5, 2, 6, 0 }\n uselistorder i64* %sv_4, { 1, 2, 3, 0 }\n uselistorder i64* %sv_3, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32* %sv_2.0.ph16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.ph15.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.013.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 7, 3, 6, 1, 2 }\n uselistorder i64 (i8*)* @error_report, { 0, 2, 1 }\n uselistorder i64 (i64, i64*, i64, i64)* @qemu_opts_create, { 1, 0 }\n uselistorder i64 4294967295, { 3, 5, 2, 4, 0, 1 }\n uselistorder i64 (i64, i64*)* @find_list, { 1, 0 }\n uselistorder i32 (i8*, i8*, ...)* @sscanf, { 2, 1, 0 }\n uselistorder i8* null, { 1, 2, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 2, 0 }\n uselistorder i32 1024, { 1, 2, 0 }\n uselistorder label LBL_18, { 6, 3, 4, 2, 5, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "GPMF_FindPrev_10459", "fun_name": "GPMF_FindPrev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %2 = icmp eq i64* %arg1, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_9, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = call i64* @memcpy(i64* nonnull %sv_1, i64* nonnull %arg1, i32 144)\n %9 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp ugt i32 %11, %4\n %13 = icmp eq i1 %12, false\n %14 = icmp eq i32 %7, 0\n %or.cond = or i1 %14, %13\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_2\n LBL_2:\n %15 = bitcast i64* %rdi to i32*\n %16 = add i64 %3, 52\n %17 = bitcast i64* %arg1 to i32*\n %18 = add i64 %3, 136\n %19 = inttoptr i64 %18 to i64*\n %20 = trunc i64 %arg2 to i32\n %21 = icmp eq i32 %arg3, 1\n store i32 %4, i32* %.reg2mem\n store i32 %7, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %22 = zext i32 %sv_0.0.reload to i64\n %23 = mul i64 %22, 4\n %24 = add i64 %23, %3\n %25 = add i64 %24, 12\n %26 = inttoptr i64 %25 to i32*\n store i32 %.reload, i32* %26, align 4\n %27 = add i32 %sv_0.0.reload, -1\n %28 = zext i32 %27 to i64\n %29 = mul i64 %28, 4\n %30 = add i64 %16, %29\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i32 %32, 2\n store i32 %33, i32* %17, align 4\n %34 = add i64 %24, 92\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = load i32, i32* %26, align 4\n %38 = load i32, i32* %15, align 8\n %39 = add i32 %37, %36\n %40 = sub i32 %39, %38\n store i32 %40, i32* %35, align 4\n %.pre = load i32, i32* %15, align 8\n %41 = zext i32 %.pre to i64\n %42 = mul i64 %41, 4\n br label LBL_4\n LBL_4:\n %43 = load i32, i32* %26, align 4\n %44 = icmp ugt i32 %43, %.pre\n br i1 %44, label LBL_5, label LBL_7\n LBL_5:\n %45 = load i64, i64* %19, align 8\n %46 = add i64 %45, %42\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, %20\n %50 = icmp eq i1 %49, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %50, label LBL_6, label LBL_9\n LBL_6:\n %51 = call i64 @FUNC(i64 %3, i64 0)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_4, label LBL_7\n LBL_7:\n %54 = icmp eq i32 %27, 0\n %55 = icmp eq i1 %54, false\n %or.cond5 = icmp eq i1 %21, %55\n store i32 %.pre, i32* %.reg2mem\n store i32 %27, i32* %sv_0.0.reg2mem\n br i1 %or.cond5, label LBL_3, label LBL_8\n LBL_8:\n %56 = call i64* @memcpy(i64* nonnull %arg1, i64* nonnull %sv_1, i32 144)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.pre, { 0, 2, 1 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %3, { 2, 0, 3, 1, 4, 5 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i32 0, { 0, 2, 1 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64* %arg1, { 0, 1, 2, 4, 3 }\n uselistorder label LBL_9, { 3, 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mysql_prune_stmt_list_11874", "fun_name": "mysql_prune_stmt_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.01.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %sv_0.12.reg2mem\n store i64 %0, i64* %sv_1.01.reg2mem\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %3 = inttoptr i64 %sv_1.01.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 1\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = add i64 %4, 16\n %11 = inttoptr i64 %10 to i32*\n store i32 2006, i32* %11, align 4\n %12 = call i64 @FUNC(i64 2006)\n %13 = add i64 %4, 20\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = add i64 %4, 276\n %16 = call i64 @FUNC(i64 %15, i64 ptrtoint ([6 x i8]* @gv_0 to i64))\n store i64 %sv_0.12.reload, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %17 = call i64 @FUNC(i64 %sv_0.12.reload, i64 %sv_1.01.reload)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = add i64 %sv_1.01.reload, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n store i64 %20, i64* %sv_1.01.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %22, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n store i64 %sv_0.1.lcssa.reload, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %4, { 1, 0, 2, 3, 4 }\n uselistorder i64 %sv_0.12.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @strmov, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "php_ap_basename_6019", "fun_name": "php_ap_basename", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %0 = bitcast i64* %arg2 to i8*\n %1 = call i8* @strrchr(i8* %0, i32 92)\n %2 = ptrtoint i8* %1 to i64\n %3 = call i8* @strrchr(i8* %0, i32 47)\n %4 = ptrtoint i8* %3 to i64\n %5 = icmp eq i8* %1, null\n %6 = icmp eq i8* %3, null\n %or.cond = or i1 %5, %6\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %7 = icmp ugt i64 %2, %4\n %storemerge.in = select i1 %7, i64 %2, i64 %4\n store i64 %storemerge.in, i64* %rax.0.in.reg2mem\n br label LBL_4\n LBL_2:\n store i64 %2, i64* %rax.0.in.reg2mem\n br i1 %5, label LBL_3, label LBL_4\n LBL_3:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = add i64 %4, 1\n %spec.select = select i1 %6, i64 %8, i64 %9\n ret i64 %spec.select\n LBL_4:\n %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem\n %rax.0 = add i64 %rax.0.in.reload, 1\n ret i64 %rax.0\n\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i8* (i8*, i32)* @strrchr, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "build_tpm2_16825", "fun_name": "build_tpm2", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 24)\n %3 = call i64 @FUNC(i64 1)\n %4 = trunc i64 %3 to i16\n %5 = inttoptr i64 %2 to i16*\n store i16 %4, i16* %5, align 2\n %6 = call i64 @FUNC(i64 0)\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = call i64 @FUNC(i64 1)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %2, 16\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %0, i64 %1, i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 24, i64 4)\n ret i64 %13\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mrb_init_gc_9654", "fun_name": "mrb_init_gc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 4198710, i64 0)\n %2 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 4198721, i64 0)\n %3 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 4198732, i64 0)\n %4 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0), i64 4198743, i64 0)\n %5 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i64 4198754, i64 1)\n %6 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i64 4198768, i64 0)\n %7 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_7, i64 0, i64 0), i64 4198779, i64 1)\n %8 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i64 4198793, i64 1)\n %9 = call i64 @FUNC(i64 %arg1, i64 %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0), i64 4198807, i64 0)\n ret i64 %9\n\n uselistorder i64 (i64, i64, i8*, i64, i64)* @mrb_define_class_method, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_post_load_5438", "fun_name": "vmxnet3_post_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = zext i8 %5 to i64\n %7 = add i64 %2, 16\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %7, i64 %8, i64 %6)\n %10 = load i8, i8* %4, align 1\n %11 = add i64 %2, 24\n %12 = zext i8 %10 to i64\n %13 = call i64 @FUNC(i64 %11, i64 %12)\n %14 = add i64 %2, 5\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 0\n br i1 %17, label LBL_3, label LBL_1\n LBL_1:\n %18 = call i64 @FUNC(i64 %2, i64 16)\n %19 = trunc i64 %18 to i8\n %20 = icmp eq i8 %19, 1\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n %22 = add i64 %2, 8\n %23 = call i64 @FUNC(i64 %2, i64 %22, i64 %22)\n store i8 0, i8* %15, align 1\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %24 = call i64 @FUNC(i64 %2)\n %25 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %2, { 4, 3, 0, 1, 2, 5, 6, 7, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rfbClientCleanup_5649", "fun_name": "rfbClientCleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = add i64 %arg1, 584\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i64*\n call void @free(i64* %4)\n br label LBL_2\n LBL_2:\n %5 = add i64 %arg1, 592\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = inttoptr i64 %7 to i64*\n call void @free(i64* %9)\n br label LBL_4\n LBL_4:\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = add i64 %arg1, 600\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %.reg2mem\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %16 = inttoptr i64 %.reload to i64*\n %17 = load i64, i64* %16, align 8\n call void @free(i64* %16)\n store i64 %17, i64* %12, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %.reg2mem\n br i1 %19, label LBL_5, label LBL_6\n LBL_6:\n %20 = add i64 %arg1, 608\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %22 to i64*\n call void @free(i64* %23)\n %24 = add i64 %arg1, 616\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, -1\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = zext i32 %26 to i64\n %29 = call i64 @FUNC(i64 %28)\n br label LBL_8\n LBL_8:\n %30 = add i64 %arg1, 620\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, -1\n br i1 %33, label LBL_10, label LBL_9\n LBL_9:\n %34 = zext i32 %32 to i64\n %35 = call i64 @FUNC(i64 %34)\n br label LBL_10\n LBL_10:\n %36 = add i64 %arg1, 624\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = inttoptr i64 %38 to i64*\n call void @free(i64* %39)\n %40 = add i64 %arg1, 632\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = inttoptr i64 %42 to i64*\n call void @free(i64* %43)\n %44 = add i64 %arg1, 640\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp eq i64 %46, 0\n br i1 %47, label LBL_12, label LBL_11\n LBL_11:\n %48 = inttoptr i64 %46 to i64*\n call void @free(i64* %48)\n br label LBL_12\n LBL_12:\n %49 = add i64 %arg1, 648\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = icmp eq i64 %51, 0\n br i1 %52, label LBL_14, label LBL_13\n LBL_13:\n %53 = inttoptr i64 %51 to i64*\n call void @free(i64* %53)\n br label LBL_14\n LBL_14:\n %54 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %54)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64* %12, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @rfbCloseSocket, { 1, 0 }\n uselistorder void (i64*)* @free, { 8, 4, 0, 2, 1, 7, 6, 3, 5 }\n uselistorder i64 %arg1, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "import_palette_10913", "fun_name": "import_palette", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %rdi.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp slt i32 %4, 0\n %6 = zext i1 %5 to i32\n %7 = add i32 %4, %6\n %8 = icmp ult i32 %7, 2\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %1, i64* %rdi.01.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %rdi.01.reload = load i64, i64* %rdi.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = mul i32 %storemerge2.reload, 2\n %10 = sext i32 %9 to i64\n %11 = add i64 %rdi.01.reload, %10\n %12 = call i64 @FUNC(i64 %11)\n %13 = udiv i64 %12, 256\n %14 = urem i64 %13, 16\n %15 = mul i64 %14, 16\n %16 = or i64 %15, %14\n %17 = udiv i64 %12, 16\n %18 = urem i64 %17, 16\n %19 = mul i64 %18, 16\n %20 = or i64 %19, %18\n %21 = urem i64 %12, 16\n %22 = mul i64 %21, 16\n %23 = mul i64 %16, 65536\n %24 = mul i64 %20, 256\n %25 = mul i64 %.reload, 4\n %26 = add i64 %25, %0\n %27 = or i64 %21, %22\n %28 = or i64 %27, %23\n %29 = or i64 %28, %24\n %30 = or i64 %29, 4278190080\n %31 = call i64 @FUNC(i64 %26, i64 %30)\n %32 = add i32 %storemerge2.reload, 1\n %33 = load i32, i32* %3, align 4\n %34 = icmp slt i32 %33, 0\n %35 = zext i1 %34 to i32\n %36 = add i32 %33, %35\n %37 = ashr i32 %36, 1\n %38 = zext i32 %37 to i64\n %39 = sext i32 %32 to i64\n %40 = icmp slt i64 %39, %38\n store i64 %39, i64* %.reg2mem\n store i32 %32, i32* %storemerge2.reg2mem\n store i64 %26, i64* %rdi.01.reg2mem\n store i64 %38, i64* %.lcssa.reg2mem\n br i1 %40, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %12, { 2, 0, 1 }\n uselistorder i32* %3, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 }\n uselistorder i64 16, { 0, 4, 1, 5, 3, 2, 6 }\n uselistorder i64 256, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ioapic_class_init_2210", "fun_name": "ioapic_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198676, i64* %arg1, align 8\n store i64 4198683, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n store i32 1, i32* %4, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qpci_init_spapr_16149", "fun_name": "qpci_init_spapr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 224)\n %2 = add i64 %1, 112\n %3 = inttoptr i64 %2 to i64*\n store i64 %0, i64* %3, align 8\n %4 = inttoptr i64 %1 to i64*\n store i64 4198736, i64* %4, align 8\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 4198743, i64* %6, align 8\n %7 = add i64 %1, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 4198750, i64* %8, align 8\n %9 = add i64 %1, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 4198757, i64* %10, align 8\n %11 = add i64 %1, 32\n %12 = inttoptr i64 %11 to i64*\n store i64 4198764, i64* %12, align 8\n %13 = add i64 %1, 40\n %14 = inttoptr i64 %13 to i64*\n store i64 4198771, i64* %14, align 8\n %15 = add i64 %1, 48\n %16 = inttoptr i64 %15 to i64*\n store i64 4198778, i64* %16, align 8\n %17 = add i64 %1, 56\n %18 = inttoptr i64 %17 to i64*\n store i64 4198785, i64* %18, align 8\n %19 = add i64 %1, 64\n %20 = inttoptr i64 %19 to i64*\n store i64 4198792, i64* %20, align 8\n %21 = add i64 %1, 72\n %22 = inttoptr i64 %21 to i64*\n store i64 4198799, i64* %22, align 8\n %23 = add i64 %1, 80\n %24 = inttoptr i64 %23 to i64*\n store i64 4198806, i64* %24, align 8\n %25 = add i64 %1, 88\n %26 = inttoptr i64 %25 to i64*\n store i64 4198813, i64* %26, align 8\n %27 = add i64 %1, 96\n %28 = inttoptr i64 %27 to i64*\n store i64 4198820, i64* %28, align 8\n %29 = add i64 %1, 104\n %30 = inttoptr i64 %29 to i64*\n store i64 4198827, i64* %30, align 8\n %31 = add i64 %1, 120\n %32 = inttoptr i64 %31 to i64*\n store i64 576460752840294400, i64* %32, align 8\n %33 = add i64 %1, 128\n %34 = inttoptr i64 %33 to i64*\n store i64 268439552, i64* %34, align 8\n %35 = add i64 %1, 136\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %36, align 8\n %37 = add i64 %1, 144\n %38 = inttoptr i64 %37 to i64*\n store i64 65536, i64* %38, align 8\n %39 = add i64 %1, 152\n %40 = inttoptr i64 %39 to i64*\n store i64 268443648, i64* %40, align 8\n %41 = add i64 %1, 160\n %42 = inttoptr i64 %41 to i64*\n store i64 2147483648, i64* %42, align 8\n %43 = add i64 %1, 168\n %44 = inttoptr i64 %43 to i64*\n store i64 65536, i64* %44, align 8\n %45 = add i64 %1, 176\n %46 = inttoptr i64 %45 to i64*\n store i64 3221225472, i64* %46, align 8\n %47 = load i64, i64* %42, align 8\n %48 = load i64, i64* %44, align 8\n %49 = add i64 %47, -3221225472\n %50 = add i64 %49, %48\n %51 = add i64 %1, 184\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = add i64 %1, 192\n %54 = inttoptr i64 %53 to i64*\n store i64 0, i64* %54, align 8\n %55 = add i64 %1, 200\n %56 = inttoptr i64 %55 to i64*\n store i64 49152, i64* %56, align 8\n %57 = load i64, i64* %36, align 8\n %58 = load i64, i64* %38, align 8\n %59 = add i64 %57, -49152\n %60 = add i64 %59, %58\n %61 = add i64 %1, 208\n %62 = inttoptr i64 %61 to i64*\n store i64 %60, i64* %62, align 8\n %63 = add i64 %1, 216\n %64 = inttoptr i64 %63 to i64*\n store i64 0, i64* %64, align 8\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_opus_ts_header_862", "fun_name": "parse_opus_ts_header", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %0 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = trunc i64 %arg3 to i32\n %2 = add i64 %0, 1\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2, i32 %1)\n %4 = call i64 @FUNC(i64* nonnull %sv_0)\n store i32 0, i32* %arg2, align 4\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %5 = call i64 @FUNC(i64* nonnull %sv_0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 255\n %8 = call i64 @FUNC(i64* nonnull %sv_0)\n %9 = trunc i64 %8 to i32\n %10 = urem i32 %9, 256\n %11 = add i32 %10, %storemerge7.reload\n store i32 %11, i32* %storemerge7.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_2:\n %12 = and i64 %4, 16\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64* nonnull %sv_0, i64 2)\n br label LBL_4\n LBL_4:\n %15 = and i64 %4, 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64* nonnull %sv_0, i64 2)\n br label LBL_6\n LBL_6:\n %18 = and i64 %4, 4\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_8, label LBL_7\n LBL_7:\n %20 = call i64 @FUNC(i64* nonnull %sv_0)\n %21 = urem i64 %20, 256\n %22 = call i64 @FUNC(i64* nonnull %sv_0, i64 %21)\n br label LBL_8\n LBL_8:\n %sext = mul i64 %arg3, 4294967296\n %23 = call i64 @FUNC(i64* nonnull %sv_0)\n %sext4 = mul i64 %23, 4294967296\n %24 = ashr exact i64 %sext4, 32\n %25 = sext i32 %11 to i64\n %26 = add nsw i64 %24, %25\n %27 = ashr exact i64 %sext, 32\n %28 = icmp ugt i64 %26, %27\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n store i32 %11, i32* %arg2, align 4\n %29 = call i64 @FUNC(i64* nonnull %sv_0)\n %sext6 = mul i64 %29, 4294967296\n %30 = ashr exact i64 %sext6, 32\n %31 = add i64 %30, %2\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %11, { 2, 1, 0 }\n uselistorder i64* %sv_0, { 0, 1, 2, 3, 4, 5, 7, 6, 8, 9 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*)* @bytestream2_tell, { 1, 0 }\n uselistorder i64 (i64*, i64)* @bytestream2_skip, { 2, 1, 0 }\n uselistorder i64 (i64*)* @bytestream2_get_byte, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "picoquic_decode_stream_frame_7210", "fun_name": "picoquic_decode_stream_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg3 to i64\n %2 = ptrtoint i64* %arg2 to i64\n %3 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i32, align 4\n %4 = sub i64 %1, %2\n %5 = bitcast i32* %sv_4 to i64*\n %6 = call i64 @FUNC(i64 %2, i64 %4, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3, i64* nonnull %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_1, label LBL_5\n LBL_1:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = load i64, i64* %sv_2, align 8\n %11 = load i64, i64* %sv_3, align 8\n %12 = add i64 %11, %10\n %13 = icmp ult i64 %12, 4611686018427387904\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %9, i64 1, i64 0)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_3:\n %15 = add i64 %3, %2\n %16 = load i32, i32* %sv_4, align 4\n %17 = zext i32 %16 to i64\n %18 = load i64, i64* %sv_1, align 8\n %19 = call i64 @FUNC(i64 %9, i64 %18, i64 %10, i64 %17, i64 %15, i64 %11)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_4, label LBL_5\n LBL_4:\n %22 = load i64, i64* %sv_3, align 8\n %23 = add i64 %22, %15\n store i64 %23, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder label LBL_5, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_savevm_send_postcopy_advise_18686", "fun_name": "qemu_savevm_send_postcopy_advise", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i32 @getpagesize()\n %2 = sext i32 %1 to i64\n %3 = call i64 @FUNC(i64 %2)\n store i64 %3, i64* %sv_0, align 8\n %4 = call i64 @FUNC()\n %5 = urem i64 %4, 64\n %6 = shl i64 1, %5\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %0, i64 1, i64 16, i64* nonnull %sv_0)\n ret i64 %9\n\n uselistorder i64 (i64)* @cpu_to_be64, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unix_create1_17943", "fun_name": "unix_create1", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.05.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = call i64 @FUNC()\n %3 = mul i64 %2, 8589934592\n %4 = ashr exact i64 %3, 32\n %5 = icmp sgt i64 %1, %4\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %arg3, 4294967295\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i64 1, i64 0, i64* nonnull @gv_1, i64 %6)\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 0, i64* %sv_0.05.reg2mem\n br label LBL_4\n LBL_3:\n %11 = ptrtoint i32* %arg2 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %8)\n %13 = call i64 @FUNC(i64 %8, i64 4210748)\n %14 = add i64 %8, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 4198863, i64* %15, align 8\n %16 = bitcast i64* %rdi to i32*\n %17 = load i32, i32* %16, align 8\n %18 = add i64 %8, 16\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %8, 24\n %21 = inttoptr i64 %20 to i64*\n store i64 4198870, i64* %21, align 8\n %22 = call i64 @FUNC(i64 %8)\n %23 = inttoptr i64 %22 to i64*\n store i64 0, i64* %23, align 8\n %24 = add i64 %22, 8\n %25 = inttoptr i64 %24 to i64*\n store i64 0, i64* %25, align 8\n %26 = add i64 %22, 16\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %22, 24\n %29 = call i64 @FUNC(i64 %28, i64 0)\n %30 = add i64 %22, 32\n %31 = call i64 @FUNC(i64 %30)\n %32 = add i64 %22, 40\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %22, 44\n %35 = call i64 @FUNC(i64 %34)\n %36 = call i64 @FUNC(i64 %8)\n %37 = call i64 @FUNC(i64 %36, i64 %8)\n %38 = call i64 @FUNC()\n %39 = add i64 %8, 32\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = call i64 @FUNC(i64 %8)\n %43 = call i64 @FUNC(i64 %42, i64 %41, i64 1)\n %44 = call i64 @FUNC()\n store i64 %8, i64* %sv_0.05.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n ret i64 %sv_0.05.reload\n\n uselistorder i64 %8, { 0, 1, 2, 4, 3, 5, 6, 7, 10, 9, 8, 11 }\n uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 2, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jpc_calcssmant_9758", "fun_name": "jpc_calcssmant", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 11\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i32 %3, 21\n %6 = urem i32 %5, 32\n %7 = icmp eq i32 %6, 0\n %8 = trunc i64 %0 to i32\n %9 = ashr i32 %8, %6\n %10 = zext i32 %9 to i64\n %storemerge = select i1 %7, i64 %0, i64 %10\n %11 = urem i64 %storemerge, 2048\n store i64 %11, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_2:\n %12 = urem i32 %3, 32\n %13 = shl i32 1, %12\n %storemerge2 = zext i32 %13 to i64\n %14 = add nuw nsw i64 %storemerge2, 4294967295\n %15 = and i64 %14, %0\n %16 = and i64 %15, 4294967295\n %17 = sub i32 11, %3\n %18 = urem i32 %17, 32\n %19 = icmp eq i32 %18, 0\n %20 = trunc i64 %15 to i32\n %21 = shl i32 %20, %18\n %22 = zext i32 %21 to i64\n %rdx.0 = select i1 %19, i64 %16, i64 %22\n store i64 %rdx.0, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %23 = and i64 %storemerge3.reload, 4294967295\n ret i64 %23\n\n uselistorder i32 %18, { 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i32 %3, { 1, 0, 2, 3 }\n uselistorder i32 0, { 4, 5, 1, 6, 0, 2, 3 }\n uselistorder i32 1, { 5, 0, 6, 7, 4, 3, 2, 1 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_unregister_alg_9138", "fun_name": "crypto_unregister_alg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %3 = trunc i64 %2 to i32\n %4 = call i64 @FUNC(i64* nonnull @gv_0)\n %5 = icmp eq i32 %3, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %2, 4294967295\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = add i64 %0, 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 1\n %11 = icmp eq i1 %10, false\n %12 = zext i1 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parallel_ioport_write_sw_1034", "fun_name": "parallel_ioport_write_sw", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = and i64 %2, 4294967295\n %4 = and i64 %arg2, 4294967295\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3)\n %6 = urem i32 %1, 8\n store i64 %5, i64* %rax.0.reg2mem\n switch i32 %6, label LBL_11 [\n i32 0, label LBL_1\n i32 1, label LBL_2\n ]\n LBL_1:\n %7 = trunc i64 %2 to i32\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %0)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_2:\n %10 = urem i64 %arg3, 2\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 15, i32* %14, align 4\n br label LBL_10\n LBL_4:\n %15 = and i64 %arg3, 2\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_10, label LBL_5\n LBL_5:\n %17 = and i64 %arg3, 4\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_8, label LBL_6\n LBL_6:\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = and i32 %21, -2\n store i32 %22, i32* %20, align 4\n %23 = add i64 %0, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = and i32 %25, 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_7\n LBL_7:\n %29 = add i64 %0, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %0, i64 1)\n br label LBL_10\n LBL_8:\n %33 = add i64 %0, 4\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = and i32 %35, 8\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %38 = add i64 %0, 12\n %39 = inttoptr i64 %38 to i32*\n store i32 1, i32* %39, align 4\n br label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i64 %0)\n %41 = trunc i64 %arg3 to i32\n %42 = or i32 %41, 192\n %43 = add i64 %0, 4\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 9, 8, 7, 5, 4, 3, 2, 6, 1, 10 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 4, { 1, 2, 3, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64)* @parallel_update_irq, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 %arg3, { 2, 3, 4, 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_format_8178", "fun_name": "do_format", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 4294967292, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = load i32*, i32** @gv_0, align 8\n %6 = icmp eq i32* %5, null\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = ptrtoint i32* %arg2 to i64\n %8 = trunc i64 %7 to i32\n %9 = load i32, i32* %5, align 4\n %10 = load i64, i64* @gv_1, align 8\n %11 = add i64 %10, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp ule i32 %9, %13\n %15 = icmp ugt i32 %9, %8\n %or.cond = icmp eq i1 %15, %14\n br i1 %or.cond, label LBL_3, label LBL_6\n LBL_3:\n %16 = add i64 %7, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = ptrtoint i32* %5 to i64\n %20 = add i64 %19, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp ult i32 %18, %22\n br i1 %23, label LBL_4, label LBL_6\n LBL_4:\n %24 = add i64 %19, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = mul i32 %26, 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %19)\n %30 = trunc i64 %29 to i32\n %31 = urem i32 %30, 32\n %32 = shl i32 1, %31\n %storemerge = zext i32 %32 to i64\n %33 = ashr i32 %27, 31\n %34 = zext i32 %33 to i64\n %35 = mul i64 %34, 4294967296\n %36 = or i64 %35, %28\n %37 = srem i64 %36, %storemerge\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_6, label LBL_5\n LBL_5:\n %41 = load i32*, i32** @gv_0, align 8\n %42 = ptrtoint i32* %41 to i64\n %43 = add i64 %42, 12\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_7, label LBL_6\n LBL_6:\n %48 = call i64 @FUNC()\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n store i64 %7, i64* @gv_2, align 8\n store i32 0, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i64 ptrtoint (i64* @gv_4 to i64), i64* @gv_5, align 8\n store i64 ptrtoint (i64* @gv_3 to i64), i64* @gv_6, align 8\n %49 = call i64 @FUNC(i64 4198743, i64 1)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, -4\n %52 = icmp eq i1 %51, false\n store i64 4294967292, i64* %rax.0.reg2mem\n br i1 %52, label LBL_8, label LBL_9\n LBL_8:\n %53 = call i64 @FUNC()\n %54 = and i64 %49, 4294967295\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %27, { 1, 0 }\n uselistorder i64 %7, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 2 }\n uselistorder i64 ()* @process_fd_request, { 1, 0 }\n uselistorder i32** @gv_0, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 3, 1 }\n uselistorder label LBL_6, { 2, 3, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "float32_to_uint16_round_to_zero_15124", "fun_name": "float32_to_uint16_round_to_zero", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %sv_0.0.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = call i64 @FUNC(i128 %1)\n %3 = trunc i64 %2 to i32\n %4 = call i128 @FUNC(i32 %3)\n %5 = call i64 @FUNC()\n %6 = icmp slt i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 1)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_2:\n %9 = icmp slt i64 %5, 65536\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 1)\n store i64 65535, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @float_raise, { 1, 0 }\n uselistorder i32 1, { 3, 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uv_rwlock_tryrdlock_7142", "fun_name": "uv_rwlock_tryrdlock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i32 @pthread_rwlock_tryrdlock(i64* %arg1)\n store i64 0, i64* %storemerge.reg2mem\n switch i32 %0, label LBL_1 [\n i32 0, label LBL_3\n i32 16, label LBL_2\n i32 11, label LBL_2\n ]\n LBL_1:\n call void @abort()\n unreachable\n LBL_2:\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "render_line_6032", "fun_name": "render_line", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %.lcssa.in.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_1.114.reg2mem = alloca i64\n %sv_0.115.reg2mem = alloca i32\n %xmm0.016.reg2mem = alloca i128\n %.in.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg5 to i64\n %3 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %4 = trunc i64 %arg3 to i32\n %sext6 = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext6, 32\n %6 = trunc i64 %arg4 to i32\n %7 = trunc i64 %arg2 to i32\n %sext7 = mul i64 %arg2, 72057594037927936\n %8 = ashr exact i64 %sext7, 56\n %9 = urem i32 %7, 256\n %10 = sub i32 %6, %9\n %11 = sub i32 %4, %3\n %12 = sub i32 0, %10\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = select i1 %14, i32 %12, i32 %10\n %16 = icmp slt i32 %10, 0\n %17 = icmp eq i1 %16, false\n %18 = select i1 %17, i32 1, i32 -1\n %19 = urem i64 %8, 256\n %20 = add i64 %19, ptrtoint (i8** @gv_0 to i64)\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = ashr exact i64 %sext, 30\n %24 = add i64 %23, %2\n %25 = call i128 @FUNC(i128 %1, i128 %1)\n %26 = zext i8 %22 to i32\n %27 = call i128 @FUNC(i32 %26)\n %28 = call i64 @FUNC(i128 %27)\n %29 = trunc i64 %28 to i32\n %30 = inttoptr i64 %24 to i32*\n store i32 %29, i32* %30, align 4\n %31 = mul i32 %15, 2\n %32 = zext i32 %31 to i64\n %33 = sext i32 %11 to i64\n %34 = icmp slt i64 %33, %32\n br i1 %34, label LBL_2, label LBL_1\n LBL_1:\n %35 = and i64 %arg1, 4294967295\n %36 = trunc i64 %8 to i8\n %37 = trunc i64 %5 to i32\n %38 = zext i32 %11 to i64\n %39 = zext i32 %15 to i64\n %40 = call i64 @FUNC(i64 %35, i8 %36, i32 %37, i32 %18, i64 %39, i64 %38, i64 %2)\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %41 = add i32 %3, 1\n %42 = trunc i64 %5 to i32\n %43 = icmp slt i32 %41, %42\n store i32 %41, i32* %.lcssa.in.reg2mem\n br i1 %43, label LBL_3, label LBL_7\n LBL_3:\n %44 = ashr i32 %10, 31\n %45 = zext i32 %10 to i64\n %46 = zext i32 %44 to i64\n %47 = mul i64 %46, 4294967296\n %48 = or i64 %47, %45\n %49 = zext i32 %11 to i64\n %50 = sdiv i64 %48, %49\n %51 = trunc i64 %50 to i32\n %52 = sub i32 0, %51\n %53 = icmp slt i32 %52, 0\n %54 = icmp eq i1 %53, false\n %55 = select i1 %54, i32 %52, i32 %51\n %56 = mul i32 %55, %11\n %57 = sub i32 %15, %56\n %58 = sub i32 0, %11\n %59 = zext i32 %18 to i64\n %60 = sext i32 %41 to i64\n store i64 %60, i64* %indvars.iv.reg2mem\n store i32 %41, i32* %.in.reg2mem\n store i128 %27, i128* %xmm0.016.reg2mem\n store i32 %58, i32* %sv_0.115.reg2mem\n store i64 %8, i64* %sv_1.114.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.114.reload = load i64, i64* %sv_1.114.reg2mem\n %sv_0.115.reload = load i32, i32* %sv_0.115.reg2mem\n %xmm0.016.reload = load i128, i128* %xmm0.016.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %61 = add i64 %sv_1.114.reload, %50\n %sext11 = mul i64 %61, 72057594037927936\n %62 = ashr exact i64 %sext11, 56\n %63 = add i32 %sv_0.115.reload, %57\n %64 = icmp slt i32 %63, 0\n store i64 %62, i64* %sv_1.0.reg2mem\n store i32 %63, i32* %sv_0.0.reg2mem\n br i1 %64, label LBL_6, label LBL_5\n LBL_5:\n %65 = sub i32 %63, %11\n %66 = add nsw i64 %62, %59\n %sext12 = mul i64 %66, 72057594037927936\n %67 = ashr exact i64 %sext12, 56\n store i64 %67, i64* %sv_1.0.reg2mem\n store i32 %65, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %68 = urem i64 %sv_1.0.reload, 256\n %69 = add i64 %68, ptrtoint (i8** @gv_0 to i64)\n %70 = inttoptr i64 %69 to i8*\n %71 = load i8, i8* %70, align 1\n %72 = mul i64 %indvars.iv.reload, 4\n %73 = add i64 %72, %2\n %74 = call i128 @FUNC(i128 %xmm0.016.reload, i128 %xmm0.016.reload)\n %75 = zext i8 %71 to i32\n %76 = call i128 @FUNC(i32 %75)\n %77 = call i64 @FUNC(i128 %76)\n %78 = trunc i64 %77 to i32\n %79 = inttoptr i64 %73 to i32*\n store i32 %78, i32* %79, align 4\n %80 = add i32 %.in.reload, 1\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i32 %80, %42\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %80, i32* %.in.reg2mem\n store i128 %76, i128* %xmm0.016.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.115.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.114.reg2mem\n store i32 %42, i32* %.lcssa.in.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem\n %.lcssa = zext i32 %.lcssa.in.reload to i64\n store i64 %.lcssa, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %63, { 1, 0, 2 }\n uselistorder i64 %62, { 1, 0 }\n uselistorder i128 %xmm0.016.reload, { 1, 0 }\n uselistorder i32 %41, { 1, 2, 0, 3 }\n uselistorder i32 %15, { 1, 2, 0 }\n uselistorder i32 %11, { 1, 2, 0, 4, 5, 3 }\n uselistorder i32 %10, { 1, 0, 4, 2, 3 }\n uselistorder i64 %8, { 0, 2, 1 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.016.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.115.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.114.reg2mem, { 1, 0, 2 }\n uselistorder i64 ptrtoint (i8** @gv_0 to i64), { 2, 1, 0 }\n uselistorder i32 0, { 0, 3, 1, 2, 4, 5, 6 }\n uselistorder i64 32, { 1, 2, 0 }\n uselistorder i64 4294967296, { 0, 1, 2, 4, 3 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fill_buffer_4504", "fun_name": "fill_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 28\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = sub i64 %8, %0\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sext i32 %12 to i64\n %14 = icmp slt i64 %9, %13\n store i64 %8, i64* %storemerge2.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n store i64 %0, i64* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %15 = add i64 %0, 64\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_4\n LBL_4:\n %20 = add i64 %0, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp ult i64 %22, %25\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = add i64 %0, 32\n %28 = inttoptr i64 %27 to i32*\n store i32 1, i32* %28, align 4\n br label LBL_6\n LBL_6:\n %29 = add i64 %0, 32\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %31 to i64\n %33 = icmp eq i32 %31, 0\n %34 = icmp eq i1 %33, false\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %34, label LBL_19, label LBL_7\n LBL_7:\n %35 = add i64 %0, 56\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i64 %storemerge2.reload, %0\n %40 = icmp eq i1 %39, false\n %or.cond = or i1 %40, %38\n br i1 %or.cond, label LBL_11, label LBL_8\n LBL_8:\n %41 = add i64 %0, 16\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i64 %0, 48\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp ugt i64 %43, %46\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %47, label LBL_9, label LBL_10\n LBL_9:\n %48 = add i64 %0, 80\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = zext i32 %50 to i64\n store i64 %51, i64* %rdi.0.reg2mem\n br label LBL_10\n LBL_10:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n store i64 %rdi.0.reload, i64* %45, align 8\n br label LBL_11\n LBL_11:\n %spec.select = select i1 %4, i32 4096, i32 %3\n %52 = add i64 %0, 24\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = zext i32 %54 to i64\n %56 = sext i32 %spec.select to i64\n %57 = icmp slt i64 %56, %55\n store i64 %storemerge2.reload, i64* %sv_0.0.reg2mem\n br i1 %57, label LBL_12, label LBL_13\n LBL_12:\n %58 = zext i32 %spec.select to i64\n %59 = call i64 @FUNC(i64 %0, i64 %58)\n %60 = add i64 %0, 48\n %61 = inttoptr i64 %60 to i64*\n store i64 %0, i64* %61, align 8\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %62 = load i64, i64* %16, align 8\n %63 = icmp eq i64 %62, 0\n store i32 0, i32* %storemerge.reg2mem\n br i1 %63, label LBL_15, label LBL_14\n LBL_14:\n %64 = add i64 %0, 72\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = trunc i64 %66 to i32\n store i32 %67, i32* %storemerge.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %68 = icmp eq i32 %storemerge.reload, 0\n %69 = icmp slt i32 %storemerge.reload, 0\n %70 = icmp eq i1 %69, false\n %71 = icmp eq i1 %68, false\n %72 = icmp eq i1 %70, %71\n br i1 %72, label LBL_18, label LBL_16\n LBL_16:\n store i32 1, i32* %30, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %70, label LBL_19, label LBL_17\n LBL_17:\n %73 = add i64 %0, 36\n %74 = inttoptr i64 %73 to i32*\n store i32 %storemerge.reload, i32* %74, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_18:\n %75 = add i64 %0, 40\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = add i32 %77, %storemerge.reload\n store i32 %78, i32* %76, align 4\n %79 = add i64 %0, 8\n %80 = inttoptr i64 %79 to i64*\n store i64 %sv_0.0.reload, i64* %80, align 8\n %81 = sext i32 %storemerge.reload to i64\n %82 = add i64 %sv_0.0.reload, %81\n %83 = add i64 %0, 16\n %84 = inttoptr i64 %83 to i64*\n store i64 %82, i64* %84, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge.reload, { 2, 4, 3, 0, 1 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i64 %0, { 2, 9, 10, 11, 0, 8, 1, 12, 3, 15, 13, 16, 14, 20, 4, 18, 19, 6, 17, 21, 25, 23, 24, 22, 5, 27, 7, 26, 28 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i1 false, { 2, 1, 0, 3, 4, 5 }\n uselistorder i32 0, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_19, { 1, 2, 3, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "palette8tobgr16_15303", "fun_name": "palette8tobgr16", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = ptrtoint i32* %arg4 to i64\n %wide.trip.count = and i64 %arg3, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = add i64 %indvars.iv.reload, %3\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i64\n %9 = mul i64 %8, 2\n %10 = add i64 %9, %4\n %11 = inttoptr i64 %10 to i16*\n %12 = load i16, i16* %11, align 2\n %13 = mul i64 %indvars.iv.reload, 2\n %14 = add i64 %13, %2\n %15 = zext i16 %12 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i16\n %18 = inttoptr i64 %14 to i16*\n store i16 %17, i16* %18, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %wide.trip.count, i64* %.lcssa.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "timerlist_expired_16867", "fun_name": "timerlist_expired", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = add i64 %0, 16\n %6 = call i64 @FUNC(i64 %5)\n %7 = icmp eq i64 %5, 0\n %8 = icmp eq i1 %7, false\n %9 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = sub i64 %5, %16\n %18 = xor i64 %16, %5\n %19 = xor i64 %17, %5\n %20 = and i64 %19, %18\n %21 = icmp slt i64 %20, 0\n %22 = icmp slt i64 %17, 0\n %23 = icmp ne i1 %22, %21\n %24 = zext i1 %23 to i64\n %25 = and i64 %16, -256\n %26 = or i64 %25, %24\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %16, { 2, 0, 1 }\n uselistorder i64 %5, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_common_reset_5117", "fun_name": "cpu_common_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = and i64 %3, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %4, i64 %5, i64 %2, i64 %1)\n %12 = call i64 @FUNC(i64 %6, i64 %10)\n br label LBL_2\n LBL_2:\n %13 = add i64 %6, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %6, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %6, 12\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %6, 16\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %6, 20\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %6, 24\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %6, 28\n %26 = inttoptr i64 %25 to i32*\n store i32 1, i32* %26, align 4\n %27 = add i64 %6, 32\n %28 = inttoptr i64 %27 to i32*\n store i32 -1, i32* %28, align 4\n %29 = add i64 %6, 36\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n %31 = call i64 @FUNC()\n %32 = trunc i64 %31 to i8\n %33 = icmp eq i8 %32, 0\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %33, label LBL_4, label LBL_3\n LBL_3:\n %34 = call i64 @FUNC(i64 %6)\n %35 = call i64 @FUNC(i64 %6, i64 0)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %6, { 2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "truncpasses_16014", "fun_name": "truncpasses", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %rsi.3.lcssa.reg2mem = alloca i64\n %.reg2mem85 = alloca i32\n %.reg2mem83 = alloca i32\n %.reg2mem81 = alloca i32\n %.reg2mem79 = alloca i32\n %rsi.2.lcssa.reg2mem = alloca i64\n %.reg2mem77 = alloca i32\n %rsi.212.reg2mem = alloca i64\n %storemerge513.reg2mem = alloca i32\n %.reg2mem75 = alloca i64\n %.reg2mem73 = alloca i32\n %.reg2mem71 = alloca i32\n %.reg2mem69 = alloca i32\n %.reg2mem67 = alloca i32\n %rsi.1.lcssa.reg2mem = alloca i64\n %.reg2mem65 = alloca i32\n %.reg2mem63 = alloca i32\n %.reg2mem61 = alloca i32\n %.reg2mem59 = alloca i32\n %rsi.0.lcssa.reg2mem = alloca i64\n %.reg2mem57 = alloca i32\n %storemerge78.reg2mem = alloca i32\n %.reg2mem55 = alloca i64\n %rsi.19.reg2mem = alloca i64\n %storemerge610.reg2mem = alloca i32\n %.reg2mem53 = alloca i64\n %.reg2mem51 = alloca i32\n %sv_0.016.reg2mem = alloca i32\n %rsi.317.reg2mem = alloca i64\n %storemerge418.in.reg2mem = alloca i32\n %.reg2mem49 = alloca i64\n %.reg2mem47 = alloca i32\n %rsi.420.reg2mem = alloca i64\n %storemerge21.reg2mem = alloca i32\n %.reg2mem45 = alloca i64\n %.reg2mem43 = alloca i32\n %.reg2mem41 = alloca i32\n %.reg2mem39 = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n store i64 %3, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_19, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = bitcast i64* %rdi to i32*\n %9 = ptrtoint i64* %arg2 to i64\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %5, 12\n %13 = inttoptr i64 %12 to i32*\n %.pre = load i32, i32* %7, align 4\n store i32 %2, i32* %.reg2mem\n store i32 %.pre, i32* %.reg2mem39\n store i32 %.pre, i32* %.reg2mem41\n store i32 %.pre, i32* %.reg2mem43\n store i64 0, i64* %.reg2mem45\n store i32 0, i32* %storemerge21.reg2mem\n store i64 %9, i64* %rsi.420.reg2mem\n br label LBL_2\n LBL_2:\n %rsi.420.reload = load i64, i64* %rsi.420.reg2mem\n %storemerge21.reload = load i32, i32* %storemerge21.reg2mem\n %.reload44 = load i32, i32* %.reg2mem43\n %.reload42 = load i32, i32* %.reg2mem41\n %.reload40 = load i32, i32* %.reg2mem39\n %.reload = load i32, i32* %.reg2mem\n %14 = icmp eq i32 %.reload44, 0\n store i32 %.reload, i32* %.reg2mem79\n store i32 %.reload40, i32* %.reg2mem81\n store i32 %.reload42, i32* %.reg2mem83\n store i32 0, i32* %.reg2mem85\n store i64 %rsi.420.reload, i64* %rsi.3.lcssa.reg2mem\n br i1 %14, label LBL_18, label LBL_3\n LBL_3:\n %.reload46 = load i64, i64* %.reg2mem45\n %15 = mul i64 %.reload46, 8\n %16 = add i64 %rsi.420.reload, %15\n %17 = inttoptr i64 %16 to i64*\n store i32 %.reload40, i32* %.reg2mem47\n store i64 0, i64* %.reg2mem49\n store i32 %.reload42, i32* %storemerge418.in.reg2mem\n store i64 %rsi.420.reload, i64* %rsi.317.reg2mem\n store i32 0, i32* %sv_0.016.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.016.reload = load i32, i32* %sv_0.016.reg2mem\n %rsi.317.reload = load i64, i64* %rsi.317.reg2mem\n %storemerge418.in.reload = load i32, i32* %storemerge418.in.reg2mem\n %.reload50 = load i64, i64* %.reg2mem49\n %.reload48 = load i32, i32* %.reg2mem47\n %storemerge418 = add i32 %storemerge418.in.reload, -1\n %18 = load i64, i64* %17, align 8\n %19 = mul nsw i64 %.reload50, 24\n %20 = add i64 %18, %19\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %20, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = mul i32 %25, %22\n %27 = icmp eq i32 %26, 0\n store i32 %.reload48, i32* %.reg2mem77\n store i64 %rsi.317.reload, i64* %rsi.2.lcssa.reg2mem\n br i1 %27, label LBL_16, label LBL_5\n LBL_5:\n %28 = add i64 %20, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = icmp eq i32 %sv_0.016.reload, 0\n %31 = icmp slt i32 %sv_0.016.reload, 0\n %32 = icmp eq i1 %31, false\n %33 = icmp eq i1 %30, false\n %34 = icmp eq i1 %32, %33\n %35 = zext i1 %34 to i32\n %36 = add i64 %20, 16\n %37 = inttoptr i64 %36 to i64*\n %38 = sext i32 %storemerge418 to i64\n %.pre25 = load i32, i32* %29, align 4\n store i32 %25, i32* %.reg2mem67\n store i32 %22, i32* %.reg2mem69\n store i32 %.pre25, i32* %.reg2mem71\n store i32 %.pre25, i32* %.reg2mem73\n store i64 0, i64* %.reg2mem75\n store i32 0, i32* %storemerge513.reg2mem\n store i64 %rsi.317.reload, i64* %rsi.212.reg2mem\n br label LBL_13\n LBL_6:\n %rsi.19.reload = load i64, i64* %rsi.19.reg2mem\n %storemerge610.reload = load i32, i32* %storemerge610.reg2mem\n %.reload54 = load i64, i64* %.reg2mem53\n %.reload52 = load i32, i32* %.reg2mem51\n %39 = load i64, i64* %37, align 8\n %40 = mul i64 %.reload54, 16\n %41 = add i64 %39, %40\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i64 %43, %97\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i64 %44, 4\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = mul i32 %49, %46\n %51 = icmp eq i32 %50, 0\n store i32 %.reload52, i32* %.reg2mem57\n store i64 %rsi.19.reload, i64* %rsi.0.lcssa.reg2mem\n br i1 %51, label LBL_10, label LBL_7\n LBL_7:\n %52 = add i32 %storemerge610.reload, %35\n %53 = add i64 %44, 16\n %54 = inttoptr i64 %53 to i64*\n %55 = sext i32 %52 to i64\n %56 = mul nsw i64 %55, 10\n %57 = add nsw i64 %56, %38\n %58 = add i64 %41, 8\n %59 = inttoptr i64 %58 to i32*\n store i64 0, i64* %.reg2mem55\n store i32 0, i32* %storemerge78.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge78.reload = load i32, i32* %storemerge78.reg2mem\n %.reload56 = load i64, i64* %.reg2mem55\n %60 = load i64, i64* %54, align 8\n %61 = mul i64 %.reload56, 4\n %62 = add i64 %60, %61\n %63 = load i32, i32* %11, align 4\n %64 = icmp eq i32 %63, 1\n %65 = select i1 %64, i64 100, i64 0\n %66 = add nsw i64 %57, %65\n %67 = mul i64 %66, 8\n %68 = add i64 %67, ptrtoint (i64* @gv_0 to i64)\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = load i32, i32* %59, align 4\n %72 = sext i32 %71 to i64\n %73 = mul i64 %70, %72\n %74 = ashr i64 %73, 16\n %75 = load i32, i32* %13, align 4\n %76 = zext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %62, i64 %76, i64 %74)\n %78 = trunc i64 %77 to i32\n %79 = inttoptr i64 %62 to i32*\n store i32 %78, i32* %79, align 4\n %80 = add i32 %storemerge78.reload, 1\n %81 = load i32, i32* %45, align 4\n %82 = load i32, i32* %48, align 4\n %83 = mul i32 %82, %81\n %84 = zext i32 %83 to i64\n %85 = sext i32 %80 to i64\n %86 = icmp slt i64 %85, %84\n store i64 %85, i64* %.reg2mem55\n store i32 %80, i32* %storemerge78.reg2mem\n br i1 %86, label LBL_8, label LBL_9\n LBL_9:\n %.pre26 = load i32, i32* %29, align 4\n store i32 %.pre26, i32* %.reg2mem57\n store i64 %76, i64* %rsi.0.lcssa.reg2mem\n br label LBL_10\n LBL_10:\n %rsi.0.lcssa.reload = load i64, i64* %rsi.0.lcssa.reg2mem\n %.reload58 = load i32, i32* %.reg2mem57\n %87 = add i32 %storemerge610.reload, 1\n %88 = zext i32 %.reload58 to i64\n %89 = sext i32 %87 to i64\n %90 = icmp slt i64 %89, %88\n store i32 %.reload58, i32* %.reg2mem51\n store i64 %89, i64* %.reg2mem53\n store i32 %87, i32* %storemerge610.reg2mem\n store i64 %rsi.0.lcssa.reload, i64* %rsi.19.reg2mem\n br i1 %90, label LBL_6, label LBL_11\n LBL_11:\n %.pre27 = load i32, i32* %21, align 4\n %.pre28 = load i32, i32* %24, align 4\n store i32 %.pre28, i32* %.reg2mem59\n store i32 %.pre27, i32* %.reg2mem61\n store i32 %.reload58, i32* %.reg2mem63\n store i32 %.reload58, i32* %.reg2mem65\n store i64 %rsi.0.lcssa.reload, i64* %rsi.1.lcssa.reg2mem\n br label LBL_12\n LBL_12:\n %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem\n %.reload66 = load i32, i32* %.reg2mem65\n %.reload64 = load i32, i32* %.reg2mem63\n %.reload62 = load i32, i32* %.reg2mem61\n %.reload60 = load i32, i32* %.reg2mem59\n %91 = add i32 %storemerge513.reload, 1\n %92 = mul i32 %.reload62, %.reload60\n %93 = zext i32 %92 to i64\n %94 = sext i32 %91 to i64\n %95 = icmp slt i64 %94, %93\n store i32 %.reload60, i32* %.reg2mem67\n store i32 %.reload62, i32* %.reg2mem69\n store i32 %.reload64, i32* %.reg2mem71\n store i32 %.reload66, i32* %.reg2mem73\n store i64 %94, i64* %.reg2mem75\n store i32 %91, i32* %storemerge513.reg2mem\n store i64 %rsi.1.lcssa.reload, i64* %rsi.212.reg2mem\n br i1 %95, label LBL_13, label LBL_15\n LBL_13:\n %rsi.212.reload = load i64, i64* %rsi.212.reg2mem\n %storemerge513.reload = load i32, i32* %storemerge513.reg2mem\n %.reload74 = load i32, i32* %.reg2mem73\n %.reload72 = load i32, i32* %.reg2mem71\n %.reload70 = load i32, i32* %.reg2mem69\n %.reload68 = load i32, i32* %.reg2mem67\n %96 = icmp eq i32 %.reload74, 0\n store i32 %.reload68, i32* %.reg2mem59\n store i32 %.reload70, i32* %.reg2mem61\n store i32 %.reload72, i32* %.reg2mem63\n store i32 0, i32* %.reg2mem65\n store i64 %rsi.212.reload, i64* %rsi.1.lcssa.reg2mem\n br i1 %96, label LBL_12, label LBL_6.lr.ph\n LBL_14:\n %.reload76 = load i64, i64* %.reg2mem75\n %97 = mul nsw i64 %.reload76, 24\n store i32 %.reload72, i32* %.reg2mem51\n store i64 0, i64* %.reg2mem53\n store i32 0, i32* %storemerge610.reg2mem\n store i64 %rsi.212.reload, i64* %rsi.19.reg2mem\n br label LBL_6\n LBL_15:\n %.pre29 = load i32, i32* %7, align 4\n store i32 %.pre29, i32* %.reg2mem77\n store i64 %rsi.1.lcssa.reload, i64* %rsi.2.lcssa.reg2mem\n br label LBL_16\n LBL_16:\n %rsi.2.lcssa.reload = load i64, i64* %rsi.2.lcssa.reg2mem\n %.reload78 = load i32, i32* %.reg2mem77\n %98 = add i32 %sv_0.016.reload, 1\n %99 = zext i32 %.reload78 to i64\n %100 = sext i32 %98 to i64\n %101 = icmp slt i64 %100, %99\n store i32 %.reload78, i32* %.reg2mem47\n store i64 %100, i64* %.reg2mem49\n store i32 %storemerge418, i32* %storemerge418.in.reg2mem\n store i64 %rsi.2.lcssa.reload, i64* %rsi.317.reg2mem\n store i32 %98, i32* %sv_0.016.reg2mem\n br i1 %101, label LBL_4, label LBL_17\n LBL_17:\n %.pre30 = load i32, i32* %8, align 8\n store i32 %.pre30, i32* %.reg2mem79\n store i32 %.reload78, i32* %.reg2mem81\n store i32 %.reload78, i32* %.reg2mem83\n store i32 %.reload78, i32* %.reg2mem85\n store i64 %rsi.2.lcssa.reload, i64* %rsi.3.lcssa.reg2mem\n br label LBL_18\n LBL_18:\n %rsi.3.lcssa.reload = load i64, i64* %rsi.3.lcssa.reg2mem\n %.reload86 = load i32, i32* %.reg2mem85\n %.reload84 = load i32, i32* %.reg2mem83\n %.reload82 = load i32, i32* %.reg2mem81\n %.reload80 = load i32, i32* %.reg2mem79\n %102 = add i32 %storemerge21.reload, 1\n %103 = zext i32 %.reload80 to i64\n %104 = sext i32 %102 to i64\n %105 = icmp slt i64 %104, %103\n store i32 %.reload80, i32* %.reg2mem\n store i32 %.reload82, i32* %.reg2mem39\n store i32 %.reload84, i32* %.reg2mem41\n store i32 %.reload86, i32* %.reg2mem43\n store i64 %104, i64* %.reg2mem45\n store i32 %102, i32* %storemerge21.reg2mem\n store i64 %rsi.3.lcssa.reload, i64* %rsi.420.reg2mem\n store i64 %103, i64* %.lcssa.reg2mem\n br i1 %105, label LBL_2, label LBL_19\n LBL_19:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %.reload80, { 1, 0 }\n uselistorder i32 %.reload78, { 0, 1, 2, 4, 3 }\n uselistorder i32 %.reload58, { 0, 1, 3, 2 }\n uselistorder i32* %48, { 1, 0 }\n uselistorder i32* %45, { 1, 0 }\n uselistorder i64 %rsi.317.reload, { 1, 0 }\n uselistorder i32 %sv_0.016.reload, { 0, 2, 1 }\n uselistorder i32 %.reload40, { 1, 0 }\n uselistorder i32 %.reload42, { 1, 0 }\n uselistorder i64 %rsi.420.reload, { 1, 2, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem39, { 1, 0, 2 }\n uselistorder i32* %.reg2mem41, { 1, 0, 2 }\n uselistorder i32* %.reg2mem43, { 1, 0, 2 }\n uselistorder i64* %.reg2mem45, { 1, 0, 2 }\n uselistorder i32* %storemerge21.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.420.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem47, { 1, 0, 2 }\n uselistorder i64* %.reg2mem49, { 1, 0, 2 }\n uselistorder i32* %storemerge418.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.317.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.016.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem51, { 2, 1, 0 }\n uselistorder i64* %.reg2mem53, { 2, 1, 0 }\n uselistorder i32* %storemerge610.reg2mem, { 2, 1, 0 }\n uselistorder i64* %rsi.19.reg2mem, { 2, 1, 0 }\n uselistorder i64* %.reg2mem55, { 1, 0, 2 }\n uselistorder i32* %storemerge78.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem57, { 0, 2, 1 }\n uselistorder i64* %rsi.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem59, { 1, 0, 2 }\n uselistorder i32* %.reg2mem61, { 1, 0, 2 }\n uselistorder i32* %.reg2mem63, { 1, 0, 2 }\n uselistorder i32* %.reg2mem65, { 1, 0, 2 }\n uselistorder i64* %rsi.1.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem77, { 0, 2, 1 }\n uselistorder i64* %rsi.2.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem79, { 0, 2, 1 }\n uselistorder i32* %.reg2mem81, { 0, 2, 1 }\n uselistorder i32* %.reg2mem83, { 0, 2, 1 }\n uselistorder i32* %.reg2mem85, { 0, 2, 1 }\n uselistorder i64* %rsi.3.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 2, 0, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 8, { 0, 3, 4, 1, 2 }\n uselistorder i32 0, { 4, 2, 8, 3, 7, 1, 12, 13, 9, 5, 0, 10, 6, 11 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "preallocate_pmds_3892", "fun_name": "preallocate_pmds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i8\n %sv_1.22.reg2mem = alloca i8\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i8 0, i8* %sv_1.22.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.22.reload = load i8, i8* %sv_1.22.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = call i64 @FUNC(i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n %spec.select = select i1 %3, i8 %sv_1.22.reload, i8 1\n store i8 %spec.select, i8* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_4, label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 %1)\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %6, 1\n store i8 %spec.select, i8* %sv_1.1.reg2mem\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %1)\n store i8 1, i8* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.1.reload = load i8, i8* %sv_1.1.reg2mem\n %9 = mul i64 %indvars.iv.reload, 8\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i64*\n store i64 %sv_0.0.reload, i64* %11, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i8 %sv_1.1.reload, i8* %sv_1.22.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_1\n LBL_5:\n %12 = icmp eq i8 %sv_1.1.reload, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %12, label LBL_7, label LBL_6\n LBL_6:\n %13 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_1.22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64)* @free_page, { 1, 0 }\n uselistorder i8 1, { 0, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdist_pr_plain_323", "fun_name": "qdist_pr_plain", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n store i64 %2, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %arg2)\n %5 = call i64 @FUNC(i64* nonnull %sv_0)\n %6 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i8*)* @g_strdup, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_op_iwmmxt_setpsr_nz_1942", "fun_name": "gen_op_iwmmxt_setpsr_nz", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %2 = zext i32 %1 to i64\n %3 = and i64 %0, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %3, i64 %6)\n ret i64 %7\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_mux_17244", "fun_name": "qemu_chr_open_mux", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64 16)\n %2 = inttoptr i64 %0 to i64*\n store i64 %1, i64* %2, align 8\n %3 = inttoptr i64 %1 to i64*\n store i64 %arg1, i64* %3, align 8\n %4 = add i64 %1, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 -1, i32* %5, align 4\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 4198742, i64* %7, align 8\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 4198749, i64* %9, align 8\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 4198756, i64* %11, align 8\n %12 = add i64 %0, 48\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = add i64 %arg1, 32\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_2, label LBL_1\n LBL_1:\n %18 = add i64 %0, 32\n %19 = inttoptr i64 %18 to i64*\n store i64 4198763, i64* %19, align 8\n br label LBL_2\n LBL_2:\n %20 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %21 = icmp eq i32 %20, 0\n %22 = zext i1 %21 to i32\n %23 = add i64 %0, 40\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %0, 44\n %26 = inttoptr i64 %25 to i32*\n store i32 1, i32* %26, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6, 7, 8 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__d_instantiate_4445", "fun_name": "__d_instantiate", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %1)\n %4 = and i64 %2, 4294967295\n %5 = call i64 @FUNC(i64 %1, i64 %4)\n %6 = icmp eq i64* %arg2, null\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %1, 8\n %8 = call i64 @FUNC(i64 %7, i64 %0)\n br label LBL_2\n LBL_2:\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 %0, i64* %10, align 8\n %11 = call i64 @FUNC(i64 %1)\n %12 = call i64 @FUNC(i64 %1)\n %13 = call i64 @FUNC(i64 %1, i64 %0)\n ret i64 %13\n\n uselistorder i64 %1, { 3, 2, 1, 4, 0, 5, 6 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "icp_set_cppr_415", "fun_name": "icp_set_cppr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = ashr exact i64 %sext, 31\n %3 = add nsw i64 %2, %1\n %4 = mul i64 %3, 4\n %5 = add i64 %4, %0\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = udiv i32 %7, 16777216\n %9 = trunc i32 %8 to i8\n %10 = urem i32 %7, 16777216\n %arg3.tr = trunc i64 %arg3 to i32\n %11 = mul i32 %arg3.tr, 16777216\n %12 = or i32 %10, %11\n store i32 %12, i32* %6, align 4\n %13 = trunc i64 %arg3 to i8\n %14 = icmp ult i8 %13, %9\n %15 = icmp eq i1 %14, false\n %16 = zext i32 %12 to i64\n %17 = icmp eq i32 %12, 0\n br i1 %15, label LBL_4, label LBL_1\n LBL_1:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_2\n LBL_2:\n %18 = add i64 %5, 4\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = zext i8 %20 to i64\n %22 = icmp ult i8 %20, %13\n store i64 %21, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_3\n LBL_3:\n store i32 0, i32* %6, align 4\n store i8 -1, i8* %19, align 1\n %23 = add i64 %5, 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %0, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30, i64 %16)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %32 = icmp eq i1 %17, false\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n %33 = and i64 %1, 4294967295\n %34 = call i64 @FUNC(i64 %0, i64 %33)\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %17, { 1, 0 }\n uselistorder i32 %12, { 1, 0, 2 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 1, 2, 3 }\n uselistorder i32 16777216, { 0, 2, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_tp_event_init_7973", "fun_name": "perf_tp_event_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_5\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 2, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_5\n LBL_2:\n %8 = call i64 @FUNC(i64 %4)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = and i64 %8, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %12 = add i64 %4, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 4198724, i64* %13, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder label LBL_5, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_archive_write_header_8236", "fun_name": "_archive_write_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64*, align 8\n %1 = call i64 @FUNC(i64 %0, i64 305419896, i64 3, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %0, i64 4294967295, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0))\n %9 = add i64 %0, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 3, i32* %10, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_2:\n %11 = call i64 @FUNC(i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = and i64 %11, 4294967295\n %14 = inttoptr i64 %13 to i64*\n store i64* %14, i64** %sv_0, align 8\n %15 = icmp eq i32 %12, -1\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = add i64 %0, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 3, i32* %18, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_4:\n %19 = icmp slt i32 %12, 0\n %20 = icmp eq i1 %19, false\n %21 = icmp eq i32 %12, 1\n %or.cond = or i1 %21, %20\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_16\n LBL_5:\n %22 = add i64 %0, 16\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_11, label LBL_6\n LBL_6:\n %26 = ptrtoint i64* %arg2 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_11, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %26)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_11, label LBL_8\n LBL_8:\n %33 = call i64 @FUNC(i64 %26)\n %34 = add i64 %0, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp eq i64 %33, %36\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_11, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 %26)\n %40 = add i64 %0, 32\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %39, %42\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_11, label LBL_10\n LBL_10:\n %45 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_11:\n %46 = trunc i64 %0 to i32\n %47 = icmp eq i32 %46, -1\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_13, label LBL_12\n LBL_12:\n %49 = add i64 %0, 4\n %50 = inttoptr i64 %49 to i32*\n store i32 3, i32* %50, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_13:\n %51 = icmp slt i32 %46, %12\n br i1 %51, label LBL_14, label LBL_15\n LBL_14:\n %52 = and i64 %0, 4294967295\n %53 = bitcast i64** %sv_0 to i64*\n store i64 %52, i64* %53, align 8\n br label LBL_15\n LBL_15:\n %54 = add i64 %0, 4\n %55 = inttoptr i64 %54 to i32*\n store i32 1, i32* %55, align 4\n %56 = load i64*, i64** %sv_0, align 8\n %57 = ptrtoint i64* %56 to i64\n %58 = and i64 %57, 4294967295\n store i64 %58, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %12, { 0, 2, 1, 3 }\n uselistorder i64** %sv_0, { 2, 0, 1 }\n uselistorder i64 %0, { 5, 7, 4, 6, 2, 1, 3, 8, 0, 9, 10, 11, 12, 13, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 3, 2 }\n uselistorder i64 (i64, i64, i8*)* @archive_set_error, { 1, 0 }\n uselistorder label LBL_16, { 1, 2, 3, 0, 4, 5 }\n uselistorder label LBL_15, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fsmVerify_13661", "fun_name": "fsmVerify", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %3 = load i32, i32* %1\n %sv_2 = alloca i64, align 8\n %4 = call i32* @__errno_location()\n %5 = load i32, i32* %4, align 4\n %6 = sext i32 %arg2 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %arg3)\n %8 = call i64 @FUNC(i64 %arg1, i64 1, i64* nonnull %sv_2)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = and i64 %8, 4294967295\n store i64 %11, i64* %.reg2mem\n br label LBL_6\n LBL_2:\n %12 = trunc i64 %7 to i32\n %13 = and i32 %12, 61440\n %14 = icmp eq i32 %13, 32768\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_7, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 0, i64 %arg1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %17 = call i64 @FUNC(i64 %arg1, i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_4, label LBL_5\n LBL_4:\n %21 = inttoptr i64 %16 to i64*\n call void @free(i64* %21)\n store i64 2, i64* %.reg2mem\n br label LBL_6\n LBL_5:\n %22 = call i64 @FUNC(i64 %16)\n %23 = inttoptr i64 %16 to i64*\n call void @free(i64* %23)\n store i64 1, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n ret i64 %.reload\n LBL_7:\n %24 = icmp eq i32 %13, 16384\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_13, label LBL_8\n LBL_8:\n %26 = and i32 %3, 61440\n %27 = icmp eq i32 %26, 16384\n %28 = icmp eq i1 %27, false\n store i64 0, i64* %.reg2mem\n br i1 %28, label LBL_9, label LBL_6\n LBL_9:\n %29 = icmp eq i32 %26, 40960\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_25, label LBL_10\n LBL_10:\n %31 = call i64 @FUNC(i64 %arg1, i64 0, i64* nonnull %sv_2)\n %32 = trunc i64 %31 to i32\n %33 = icmp ult i32 %32, 2\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %34 = and i64 %31, 4294967295\n store i64 %34, i64* %.reg2mem\n br label LBL_6\n LBL_12:\n %35 = call i32* @__errno_location()\n store i32 %5, i32* %35, align 4\n br label LBL_25\n LBL_13:\n %36 = icmp eq i32 %13, 40960\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_18, label LBL_14\n LBL_14:\n %38 = and i32 %3, 61440\n %39 = icmp eq i32 %38, 40960\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_25, label LBL_15\n LBL_15:\n %41 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0, i64 65536, i64* nonnull %sv_1)\n %42 = trunc i64 %41 to i32\n %43 = call i32* @__errno_location()\n store i32 %5, i32* %43, align 4\n %44 = icmp eq i32 %42, 0\n br i1 %44, label LBL_17, label LBL_16\n LBL_16:\n %45 = and i64 %41, 4294967295\n store i64 %45, i64* %.reg2mem\n br label LBL_6\n LBL_17:\n %46 = call i64 @FUNC(i64 %6, i64 %arg3)\n %47 = and i64 %46, 4294967295\n %48 = call i64 @FUNC(i64 %47, i64* nonnull %sv_0)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n store i64 0, i64* %.reg2mem\n br i1 %50, label LBL_25, label LBL_6\n LBL_18:\n %51 = icmp eq i32 %13, 4096\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_20, label LBL_19\n LBL_19:\n %53 = and i32 %3, 61440\n %54 = icmp eq i32 %53, 4096\n %55 = icmp eq i1 %54, false\n store i64 0, i64* %.reg2mem\n br i1 %55, label LBL_25, label LBL_6\n LBL_20:\n %56 = icmp ne i32 %13, 8192\n %57 = icmp eq i32 %13, 24576\n %58 = icmp eq i1 %57, false\n %or.cond = icmp eq i1 %56, %58\n br i1 %or.cond, label LBL_23, label LBL_21\n LBL_21:\n %59 = and i32 %3, 61440\n %60 = icmp ne i32 %59, 8192\n %61 = icmp eq i32 %59, 24576\n %62 = icmp eq i1 %61, false\n %or.cond6 = icmp eq i1 %60, %62\n br i1 %or.cond6, label LBL_25, label LBL_22\n LBL_22:\n %63 = call i64 @FUNC(i64 %6, i64 %arg3)\n %64 = icmp eq i64 %2, %63\n %65 = icmp eq i1 %64, false\n store i64 0, i64* %.reg2mem\n br i1 %65, label LBL_25, label LBL_6\n LBL_23:\n %66 = icmp eq i32 %13, 49152\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_25, label LBL_24\n LBL_24:\n %68 = and i32 %3, 61440\n %69 = icmp eq i32 %68, 49152\n %70 = icmp eq i1 %69, false\n store i64 0, i64* %.reg2mem\n br i1 %70, label LBL_25, label LBL_6\n LBL_25:\n %71 = call i64 @FUNC(i64 %arg1)\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 0\n %74 = icmp eq i1 %73, false\n %spec.select3 = select i1 %74, i32 %72, i32 1\n %75 = icmp eq i32 %spec.select3, 0\n %narrow8 = select i1 %75, i32 1, i32 %spec.select3\n %spec.select7 = zext i32 %narrow8 to i64\n store i64 %spec.select7, i64* %.reg2mem\n br label LBL_6\n\n uselistorder i64 %16, { 2, 1, 0, 3 }\n uselistorder i32 %13, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 2, 3, 4, 5, 9, 8, 6, 0, 10, 11, 7 }\n uselistorder i64 (i64)* @fsmUnlink, { 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 0, 1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0, 7 }\n uselistorder i64 (i64, i64, i64*)* @fsmStat, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder i64 %arg1, { 4, 3, 2, 1, 0, 5 }\n uselistorder label LBL_25, { 3, 4, 2, 1, 5, 6, 7, 0, 8 }\n uselistorder label LBL_6, { 0, 1, 2, 3, 4, 6, 7, 5, 9, 10, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migrate_fd_put_buffer_14820", "fun_name": "migrate_fd_put_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = icmp eq i64* %arg1, inttoptr (i64 -1 to i64*)\n %4 = trunc i64 %2 to i32\n %5 = icmp eq i32 %4, 4\n %or.cond = icmp eq i1 %3, %5\n br label LBL_1\n LBL_1:\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %6 = icmp eq i1 %3, false\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = mul i64 %2, 4294967296\n %sext = sub i64 0, %7\n %8 = ashr exact i64 %sext, 32\n store i64 %8, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %9 = icmp eq i64 %sv_0.0.reload, -11\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_6, label LBL_5\n LBL_5:\n %11 = and i64 %1, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64 0, i64 0, i64 4198710, i64 %2)\n br label LBL_8\n LBL_6:\n %13 = icmp slt i64 %sv_0.0.reload, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_8, label LBL_7\n LBL_7:\n %15 = add i64 %2, 24\n %16 = inttoptr i64 %15 to i32*\n store i32 -1, i32* %16, align 4\n %17 = call i64 @FUNC(i64* nonnull @gv_0, i64 0)\n br label LBL_8\n LBL_8:\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i1 %3, { 1, 0 }\n uselistorder i64 %2, { 4, 3, 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mpegps_read_packet_3657", "fun_name": "mpegps_read_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32*\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %storemerge319.reg2mem = alloca i32\n %.reg2mem43 = alloca i64\n %.lcssa14.reg2mem = alloca i64\n %.reg2mem41 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %3 = bitcast i32* %sv_4 to i64*\n %4 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %3, i64* nonnull %sv_5, i64* nonnull %sv_6, i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %.lcssa14.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = add i64 %2, 16\n store i32 %5, i32* %.reg2mem\n store i64 %4, i64* %.reg2mem41\n br label LBL_2\n LBL_2:\n %.reload42 = load i64, i64* %.reg2mem41\n %.reload = load i32, i32* %.reg2mem\n %12 = load i32, i32* %10, align 4\n %13 = icmp eq i32 %12, 0\n %.pre = load i32, i32* %sv_4, align 4\n br i1 %13, label LBL_7, label LBL_3\n LBL_3:\n %14 = zext i32 %12 to i64\n store i64 0, i64* %.reg2mem43\n store i32 0, i32* %storemerge319.reg2mem\n br label LBL_5\n LBL_4:\n %.lcssa14.reload = load i64, i64* %.lcssa14.reg2mem\n %15 = and i64 %.lcssa14.reload, 4294967295\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_21\n LBL_5:\n %.reload44 = load i64, i64* %.reg2mem43\n %16 = mul i64 %.reload44, 8\n %17 = add i64 %16, %2\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %19, 28\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, %.pre\n br i1 %23, label LBL_15, label LBL_6\n LBL_6:\n %storemerge319.reload = load i32, i32* %storemerge319.reg2mem\n %24 = add i32 %storemerge319.reload, 1\n %25 = sext i32 %24 to i64\n %26 = icmp slt i64 %25, %14\n store i64 %25, i64* %.reg2mem43\n store i32 %24, i32* %storemerge319.reg2mem\n br i1 %26, label LBL_5, label LBL_7\n LBL_7:\n %27 = and i32 %.pre, -16\n %28 = icmp eq i32 %27, 480\n store i32 1, i32* %sv_3.0.reg2mem\n store i32 1, i32* %sv_2.0.reg2mem\n br i1 %28, label LBL_12, label LBL_8\n LBL_8:\n %29 = and i32 %.pre, -32\n store i32 2, i32* %sv_3.0.reg2mem\n store i32 2, i32* %sv_2.0.reg2mem\n switch i32 %29, label LBL_9 [\n i32 448, label LBL_12\n i32 128, label LBL_10\n i32 160, label LBL_1013\n ]\n LBL_9:\n %30 = and i64 %.reload42, 4294967295\n %31 = call i64 @FUNC(i64 %11, i64 %30)\n %32 = call i64 @FUNC(i64 %2, i64 0, i64* nonnull %3, i64* nonnull %sv_5, i64* nonnull %sv_6, i64 1)\n %33 = trunc i64 %32 to i32\n %34 = icmp slt i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i32 %33, i32* %.reg2mem\n store i64 %32, i64* %.reg2mem41\n store i64 %32, i64* %.lcssa14.reg2mem\n br i1 %35, label LBL_2, label LBL_4\n LBL_10:\n store i32 2, i32* %sv_3.0.reg2mem\n store i32 3, i32* %sv_2.0.reg2mem\n br label LBL_12\n LBL_11:\n store i32 2, i32* %sv_3.0.reg2mem\n store i32 4, i32* %sv_2.0.reg2mem\n br label LBL_12\n LBL_12:\n %36 = zext i32 %.pre to i64\n %37 = call i64 @FUNC(i64 %2, i64 %36)\n %38 = icmp eq i64 %37, 0\n br i1 %38, label LBL_9, label LBL_13\n LBL_13:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %39 = inttoptr i64 %37 to i32*\n store i32 %sv_3.0.reload, i32* %39, align 4\n %40 = add i64 %37, 4\n %41 = inttoptr i64 %40 to i32*\n store i32 %sv_2.0.reload, i32* %41, align 4\n %42 = icmp eq i32 %sv_2.0.reload, 4\n store i32* %39, i32** %sv_1.0.reg2mem\n br i1 %42, label LBL_16, label LBL_14\n LBL_14:\n %43 = add i64 %37, 24\n %44 = inttoptr i64 %43 to i32*\n store i32 1, i32* %44, align 4\n store i32* %39, i32** %sv_1.0.reg2mem\n br label LBL_16\n LBL_15:\n %45 = inttoptr i64 %19 to i32*\n store i32* %45, i32** %sv_1.0.reg2mem\n br label LBL_16\n LBL_16:\n %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem\n %46 = load i32, i32* %sv_4, align 4\n %47 = and i32 %46, -32\n %48 = icmp eq i32 %47, 160\n br i1 %48, label LBL_17, label LBL_19\n LBL_17:\n %49 = icmp slt i32 %.reload, 4\n br i1 %49, label LBL_9, label LBL_18\n LBL_18:\n %50 = call i64 @FUNC(i64 %11)\n %51 = call i64 @FUNC(i64 %11)\n %52 = call i64 @FUNC(i64 %11)\n %53 = add i64 %.reload42, 4294967293\n %54 = udiv i64 %51, 4\n %55 = and i64 %54, 12\n %56 = add i64 %55, ptrtoint (i32** @gv_0 to i64)\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = ptrtoint i32* %sv_1.0.reload to i64\n %60 = add i64 %59, 8\n %61 = inttoptr i64 %60 to i32*\n store i32 %58, i32* %61, align 4\n %62 = trunc i64 %51 to i32\n %63 = urem i32 %62, 8\n %64 = add nuw nsw i32 %63, 1\n %65 = add i64 %59, 12\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n %67 = load i32, i32* %61, align 4\n %68 = mul i32 %64, 2\n %69 = mul i32 %68, %67\n %70 = add i64 %59, 16\n %71 = inttoptr i64 %70 to i32*\n store i32 %69, i32* %71, align 4\n store i64 %59, i64* %.pre-phi.reg2mem\n store i64 %53, i64* %sv_0.0.reg2mem\n br label LBL_20\n LBL_19:\n %.pre28 = ptrtoint i32* %sv_1.0.reload to i64\n store i64 %.pre28, i64* %.pre-phi.reg2mem\n store i64 %.reload42, i64* %sv_0.0.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %72 = and i64 %sv_0.0.reload, 4294967295\n %73 = call i64 @FUNC(i64 %8, i64 %72)\n %74 = add i64 %8, 8\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = call i64 @FUNC(i64 %11, i64 %72, i32 %76)\n %78 = load i64, i64* %sv_5, align 8\n %79 = add i64 %8, 16\n %80 = inttoptr i64 %79 to i64*\n store i64 %78, i64* %80, align 8\n %81 = load i64, i64* %sv_6, align 8\n %82 = add i64 %8, 24\n %83 = inttoptr i64 %82 to i64*\n store i64 %81, i64* %83, align 8\n %84 = add i64 %.pre-phi.reload, 20\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = add i64 %8, 32\n %88 = inttoptr i64 %87 to i32*\n store i32 %86, i32* %88, align 4\n %89 = load i64, i64* %83, align 8\n %90 = call i128 @FUNC(i128 %1, i128 %1)\n %91 = call i128 @FUNC(i64 %89)\n %92 = call i128 @FUNC(i64 4680921166116814848)\n %93 = call i128 @FUNC(i128 %91)\n %94 = call i128 @FUNC(i128 %93, i128 %92)\n %95 = load i64, i64* %80, align 8\n %96 = call i128 @FUNC(i128 %91, i128 %91)\n %97 = call i128 @FUNC(i64 %95)\n %98 = call i128 @FUNC(i64 4680921166116814848)\n %99 = call i128 @FUNC(i128 %97, i128 %98)\n %100 = call i64 @FUNC(i128 %99)\n %101 = load i32, i32* %88, align 4\n %102 = call i128 @FUNC(i128 %94)\n %103 = call i128 @__asm_movq.1(i64 %100)\n %104 = zext i32 %101 to i64\n %105 = trunc i128 %103 to i64\n %106 = bitcast i64 %105 to double\n %107 = trunc i128 %102 to i64\n %108 = bitcast i64 %107 to double\n %109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %104, double %106, double %108)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_21\n LBL_21:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i128 %91, { 2, 1, 0 }\n uselistorder i64 %72, { 1, 0 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %.pre, { 2, 0, 1, 3 }\n uselistorder i64 %.reload42, { 0, 2, 1 }\n uselistorder i64 %11, { 0, 3, 2, 1, 4 }\n uselistorder i64 %8, { 0, 1, 2, 4, 3 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %3, { 1, 0 }\n uselistorder i64* %sv_6, { 2, 1, 0 }\n uselistorder i64* %sv_5, { 2, 1, 0 }\n uselistorder i32* %sv_4, { 1, 0, 2 }\n uselistorder i64 %2, { 2, 5, 0, 3, 4, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem41, { 1, 0, 2 }\n uselistorder i64* %.lcssa14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem43, { 2, 0, 1 }\n uselistorder i32* %storemerge319.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 (i64)* @get_byte, { 2, 1, 0 }\n uselistorder i32 4, { 1, 2, 0 }\n uselistorder i32 160, { 1, 0 }\n uselistorder i32 2, { 4, 1, 2, 0, 3 }\n uselistorder i32 -32, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder i64 8, { 1, 2, 0, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i64 (i64, i64, i64*, i64*, i64*, i64)* @mpegps_read_pes_header, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_16, { 0, 2, 1 }\n uselistorder label LBL_12, { 1, 2, 0, 3 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "create_user_ns_11690", "fun_name": "create_user_ns", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = add i64 %0, 12\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %3 to i64\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_6, label LBL_1\n LBL_1:\n %11 = zext i32 %6 to i64\n %12 = call i64 @FUNC(i64 %0, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_6\n LBL_2:\n %16 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i64 0)\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %20, label LBL_3, label LBL_6\n LBL_3:\n %21 = call i64 @FUNC(i64 %18)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25, i64 %18)\n %27 = and i64 %21, 4294967295\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %28 = add i64 %18, 24\n %29 = call i64 @FUNC(i64 %28, i64 1)\n %30 = add i64 %18, 8\n %31 = inttoptr i64 %30 to i64*\n store i64 %0, i64* %31, align 8\n %32 = add i64 %18, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 %3, i32* %33, align 4\n %34 = add i64 %18, 20\n %35 = inttoptr i64 %34 to i32*\n store i32 %6, i32* %35, align 4\n %36 = call i64 @FUNC(i64 %0, i64 %18)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %18, { 1, 2, 3, 5, 4, 0, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder label LBL_6, { 3, 4, 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_jack_dev_register_5325", "fun_name": "snd_jack_dev_register", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 64\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %6 to i64\n %8 = inttoptr i64 %3 to i8*\n %9 = inttoptr i64 %7 to i8*\n %10 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %8, i32 64, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i8* %9)\n %11 = add i64 %3, 112\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %15, label LBL_1, label LBL_12\n LBL_1:\n %16 = inttoptr i64 %13 to i64*\n store i64 %3, i64* %16, align 8\n %17 = load i64, i64* %12, align 8\n %18 = add i64 %17, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_3, label LBL_2\n LBL_2:\n %23 = call i64 @FUNC(i64 %0)\n store i64 %23, i64* %19, align 8\n br label LBL_3\n LBL_3:\n %24 = add i64 %3, 68\n %25 = inttoptr i64 %24 to i32*\n %26 = add i64 %3, 76\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %27 = trunc i64 %indvars.iv.reload to i32\n %28 = lshr i32 1, %27\n %29 = load i32, i32* %25, align 4\n %30 = and i32 %28, %29\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_8, label LBL_5\n LBL_5:\n %32 = mul i64 %indvars.iv.reload, 4\n %33 = add i64 %26, %32\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i32 %35, i32* %.reg2mem\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = add i32 %27, 256\n store i32 %38, i32* %34, align 4\n store i32 %38, i32* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %39 = load i64, i64* %12, align 8\n %40 = call i64 @FUNC(i64 %39, i64 1, i32 %.reload)\n br label LBL_8\n LBL_8:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_4\n LBL_9:\n %41 = load i64, i64* %12, align 8\n %42 = call i64 @FUNC(i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_11, label LBL_10\n LBL_10:\n %46 = add i64 %3, 72\n %47 = inttoptr i64 %46 to i32*\n store i32 1, i32* %47, align 4\n br label LBL_11\n LBL_11:\n %48 = and i64 %42, 4294967295\n store i64 %48, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %3, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kdc_process_s4u_x509_user_4999", "fun_name": "kdc_process_s4u_x509_user", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i32* %arg4, i64* %arg5, i64* %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg5 to i64\n %sv_0 = alloca i32, align 4\n %4 = trunc i64 %2 to i32\n store i32 %4, i32* %sv_0, align 4\n %5 = call i64 @FUNC(i32* nonnull %sv_0, i64 %3)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n store i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64* %arg6, align 8\n %8 = and i64 %5, 4294967295\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %9 = trunc i64 %1 to i32\n %10 = icmp eq i32* %arg3, null\n %storemerge.in = select i1 %10, i32* %arg4, i32* %arg3\n %storemerge = ptrtoint i32* %storemerge.in to i64\n %11 = call i64 @FUNC(i64 %storemerge, i32* nonnull %sv_0, i32 %9, i64 %3)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n store i64 ptrtoint ([26 x i8]* @gv_1 to i64), i64* %arg6, align 8\n %14 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %arg5, align 8\n %15 = and i64 %11, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %16 = call i64 @FUNC(i64 %3)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = add i64 %3, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n store i64 ptrtoint ([25 x i8]* @gv_2 to i64), i64* %arg6, align 8\n %23 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %arg5, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @krb5_free_pa_s4u_x509_user, { 1, 0 }\n uselistorder i32* %arg3, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mp4s_box_new_6349", "fun_name": "mp4s_box_new", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64* @malloc(i32 0)\n %1 = icmp eq i64* %0, null\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %0 to i64\n %4 = call i64 @FUNC(i64 %3)\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_hostfwd_add_1831", "fun_name": "hmp_hostfwd_add", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %5 = icmp eq i64 %3, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %1, i64 %2, i64 %3)\n store i64 %6, i64* %sv_0.0.reg2mem\n store i64 %4, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %1, i64 0, i64 0)\n store i64 %7, i64* %sv_0.0.reg2mem\n store i64 %2, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %8 = icmp eq i64 %sv_0.0.reload, 0\n store i64 %storemerge1.reload, i64* %rax.0.reg2mem\n br i1 %8, label LBL_6, label LBL_4\n LBL_4:\n store i64 0, i64* %sv_1, align 8\n %9 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %storemerge1.reload, i64 0, i64* nonnull %sv_1)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n %13 = load i64, i64* %sv_1, align 8\n %14 = call i64 @FUNC(i64 %13)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %storemerge1.reload, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @slirp_lookup, { 1, 0 }\n uselistorder i64 (i64, i8*)* @qdict_get_try_str, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sync_start_17862", "fun_name": "sync_start", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* nonnull @gv_0, i64 0)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_11\n LBL_1:\n %4 = call i64 @FUNC(i64* nonnull @gv_1)\n %5 = call i64 @FUNC(i64* nonnull @gv_2)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %sv_0.3.reg2mem\n br i1 %8, label LBL_10, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 1, i64* nonnull @gv_3)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %sv_0.2.reg2mem\n br i1 %12, label LBL_9, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 2, i64* nonnull @gv_4)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %13, i64* %sv_0.1.reg2mem\n br i1 %16, label LBL_8, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64* nonnull @gv_5)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_7, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC()\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %22 = call i64 @FUNC(i64* nonnull @gv_1)\n %23 = and i64 %sv_0.0.reload, 4294967295\n store i64 %23, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_7:\n %24 = call i64 @FUNC(i64 2, i64* nonnull @gv_4)\n store i64 %17, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %25 = call i64 @FUNC(i64 1, i64* nonnull @gv_3)\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %26 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %27 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n store i64 %sv_0.3.reload, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64*)* @profile_event_unregister, { 1, 0 }\n uselistorder i64 (i64, i64*)* @profile_event_register, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "d3d11va_frames_uninit_16476", "fun_name": "d3d11va_frames_uninit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64* %arg1, null\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %8 = inttoptr i64 %5 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %9)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @ID3D11Texture2D_Release, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_Unpickler_ResizeMemoList_13567", "fun_name": "_Unpickler_ResizeMemoList", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp ult i64 %0, %arg2\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %.tr = trunc i64 %arg2 to i32\n %6 = mul i32 %.tr, 8\n %7 = call i64* @realloc(i64* %5, i32 %6)\n %8 = icmp eq i64 %4, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC()\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_4:\n store i64 %4, i64* %3, align 8\n %11 = icmp ult i64 %4, %arg2\n br i1 %11, label LBL_5, label LBL_7\n LBL_5:\n %12 = mul i64 %4, 9\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = add nuw i64 %4, 1\n %exitcond3 = icmp eq i64 %14, %arg2\n store i64 %14, i64* %.reg2mem\n br i1 %exitcond3, label LBL_7, label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i64, i64* %3, align 8\n %15 = mul i64 %.reload, 8\n %16 = add i64 %15, %.pre\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = add nuw i64 %.reload, 1\n %exitcond = icmp eq i64 %18, %arg2\n store i64 %18, i64* %.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n store i64 %arg2, i64* %arg1, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 0, 2, 3, 5, 4 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 %arg2, { 3, 1, 0, 2, 4, 5 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zipl_load_2358", "fun_name": "zipl_load", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64* @memset(i64* nonnull @gv_0, i32 255, i32 512)\n %1 = call i64 @FUNC(i64 0, i64 ptrtoint (i64* @gv_0 to i64), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0))\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4, i64 305419896)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %9 = call i64 @FUNC()\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC()\n br label LBL_4\n LBL_4:\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC()\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0))\n %18 = call i64 @FUNC()\n br label LBL_6\n LBL_6:\n %19 = call i64 @FUNC()\n %20 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21, i64 2271560481)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC()\n br label LBL_8\n LBL_8:\n %26 = call i64* @memset(i64* nonnull @gv_0, i32 255, i32 512)\n %27 = call i64 @FUNC(i64 2, i64 ptrtoint (i64* @gv_0 to i64), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_4, i64 0, i64 0))\n %28 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29, i64 2864434397)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = call i64 @FUNC(i64 1)\n br label LBL_10\n LBL_10:\n %34 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %35, i64 3721182122)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_12, label LBL_11\n LBL_11:\n %39 = call i64 @FUNC(i64 2)\n br label LBL_12\n LBL_12:\n %40 = call i64 @FUNC(i64 3)\n %41 = call i64 @FUNC()\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0))\n ret i64 %42\n\n uselistorder i64 (i64)* @ipl_eckd_ldl, { 2, 1, 0 }\n uselistorder i64 ()* @ipl_eckd_cdl, { 1, 0 }\n uselistorder i64 ()* @virtio_guessed_disk_nature, { 1, 0 }\n uselistorder i64 (i64, i64)* @magic_match, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @read_block, { 1, 0 }\n uselistorder i64* @gv_0, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_circle_6737", "fun_name": "bm_circle", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 19, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = trunc i64 %arg4 to i32\n %3 = sub i32 0, %2\n %4 = mul i32 %2, 2\n %5 = sub i32 2, %4\n store i32 %3, i32* %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %5, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %6 = icmp sgt i32 %sv_0.0.reload, %sv_2.0.reload\n store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %6, label LBL_4, label LBL_5\n LBL_4:\n %7 = add i32 %sv_2.0.reload, 1\n %8 = mul i32 %7, 2\n %9 = or i32 %8, 1\n %10 = add i32 %9, %sv_0.0.reload\n store i32 %7, i32* %sv_2.1.reg2mem\n store i32 %10, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %11 = icmp sgt i32 %sv_0.0.reload, %sv_1.0.reload\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n store i32 %sv_0.0.reload, i32* %rax.0.in.reg2mem\n br i1 %11, label LBL_7, label LBL_6\n LBL_6:\n %12 = add i32 %sv_1.0.reload, 1\n %13 = mul i32 %12, 2\n %14 = or i32 %13, 1\n %15 = add i32 %sv_0.1.reload, %14\n store i32 %12, i32* %sv_1.1.reg2mem\n store i32 %15, i32* %sv_0.2.reg2mem\n store i32 %14, i32* %rax.0.in.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %16 = icmp slt i32 %sv_2.1.reload, 0\n store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_3, label LBL_8\n LBL_8:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = zext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %sv_2.1.reload, { 1, 0 }\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 1, 0, 2 }\n uselistorder i32 %sv_1.0.reload, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 0, 3, 4, 1, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 0, 1, 3, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_release_modifiers_10391", "fun_name": "vnc_release_modifiers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 0)\n %1 = and i64 %0, 4294967295\n %2 = xor i64 %1, 1\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 256\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %9 = mul i64 %indvars.iv.reload, 4\n %10 = add i64 %9, ptrtoint (i32** @gv_0 to i64)\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sext i32 %12 to i64\n %14 = add i64 %13, %6\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 1\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = load i64, i64* %8, align 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = zext i32 %12 to i64\n %23 = call i64 @FUNC(i64 %21, i64 %22, i64 0)\n br label LBL_4\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 6, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_2\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hdcd_reset_353", "fun_name": "hdcd_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 32, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 32\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %0, 36\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %0, 40\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %0, 44\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %0, 48\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %0, 52\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 56\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 60\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 64\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %0, 68\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = mul i64 %indvars.iv.reload, 4\n %30 = add i64 %28, %29\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %32 = add i64 %0, 132\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = add i64 %0, 136\n %35 = inttoptr i64 %34 to i32*\n store i32 -1, i32* %35, align 4\n %36 = add i64 %0, 140\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_handshake_wrapup_10884", "fun_name": "ssl_handshake_wrapup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 3)\n call void @free(i64* inttoptr (i64 3 to i64*))\n store i64 0, i64* %arg1, align 8\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %5)\n %8 = load i64, i64* %4, align 8\n %9 = inttoptr i64 %8 to i64*\n call void @free(i64* %9)\n br label LBL_2\n LBL_2:\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n store i64 %12, i64* %4, align 8\n store i64 0, i64* %11, align 8\n %13 = add i64 %0, 24\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %15)\n %18 = load i64, i64* %14, align 8\n %19 = inttoptr i64 %18 to i64*\n call void @free(i64* %19)\n br label LBL_4\n LBL_4:\n %20 = add i64 %0, 32\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n store i64 %22, i64* %14, align 8\n store i64 0, i64* %21, align 8\n %23 = add i64 %0, 48\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_7, label LBL_5\n LBL_5:\n %27 = add i64 %0, 56\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %33 = add i64 %0, 40\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = add i32 %35, 1\n store i32 %36, i32* %34, align 4\n %37 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n ret i64 %37\n\n uselistorder i64* %4, { 1, 0, 2 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 (i64, i8*)* @SSL_DEBUG_MSG, { 2, 1, 0 }\n uselistorder i64 3, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lsr_translate_scale_7153", "fun_name": "lsr_translate_scale", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge4.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = trunc i64 %1 to i32\n %4 = and i64 %arg2, 4294967295\n %5 = add i32 %3, 31\n %6 = urem i32 %5, 32\n %7 = icmp eq i32 %6, 0\n %8 = trunc i64 %arg2 to i32\n %9 = lshr i32 %8, %6\n %10 = zext i32 %9 to i64\n %storemerge = select i1 %7, i64 %4, i64 %10\n %11 = icmp eq i64 %storemerge, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = and i64 %2, 4294967295\n %13 = urem i32 %3, 64\n %14 = icmp eq i32 %13, 0\n %15 = zext i32 %13 to i64\n %16 = shl i64 1, %15\n %storemerge3 = select i1 %14, i64 1, i64 %16\n %17 = sub i64 %12, %storemerge3\n %18 = add i64 %17, 255\n %19 = icmp slt i64 %17, 0\n %20 = select i1 %19, i64 %18, i64 %17\n %21 = ashr i64 %20, 8\n store i64 %21, i64* %storemerge4.reg2mem\n br label LBL_3\n LBL_2:\n %22 = udiv i64 %2, 256\n %23 = urem i64 %22, 16777216\n store i64 %23, i64* %storemerge4.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i64 %17, { 2, 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vring_init_4756", "fun_name": "vring_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %arg3)\n %2 = bitcast i64* %arg1 to i32*\n store i32 %arg2, i32* %2, align 4\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %arg3, i64* %4, align 8\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n store i64 %arg3, i64* %6, align 8\n %7 = add i64 %arg3, 3\n %8 = add i64 %7, %arg4\n %9 = sub i64 0, %arg4\n %10 = and i64 %8, %9\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = load i64, i64* %6, align 8\n %14 = inttoptr i64 %13 to i16*\n store i16 0, i16* %14, align 2\n %15 = load i64, i64* %6, align 8\n %16 = add i64 %15, 2\n %17 = inttoptr i64 %16 to i16*\n store i16 0, i16* %17, align 2\n %18 = load i64, i64* %12, align 8\n %19 = inttoptr i64 %18 to i16*\n store i16 1, i16* %19, align 2\n %20 = load i64, i64* %12, align 8\n %21 = add i64 %20, 2\n %22 = inttoptr i64 %21 to i16*\n store i16 0, i16* %22, align 2\n %23 = add i64 %0, 32\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %0, 36\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %0)\n ret i64 %27\n\n uselistorder i64 (i8*, i64)* @debug_print_addr, { 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "input_allocate_device_4939", "fun_name": "input_allocate_device", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 56, i64 0)\n %1 = icmp eq i64 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %0 to i32*\n store i32 1, i32* %2, align 4\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8\n %5 = call i64 @FUNC(i64 %3)\n %6 = add i64 %0, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 24\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 40\n %11 = call i64 @FUNC(i64 %10)\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_line_7574", "fun_name": "process_line", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i8*, align 8\n %6 = trunc i64 %4 to i8\n %7 = icmp eq i8 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i64 %5, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 1, i32* %10, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = trunc i64 %3 to i32\n %13 = trunc i64 %arg3 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %11, i64* %sv_0.0.reg2mem\n store i64 %11, i64* %sv_0.2.reg2mem\n br i1 %15, label LBL_11, label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = call i16** @__ctype_b_loc()\n %17 = load i16*, i16** %16, align 8\n %18 = ptrtoint i16* %17 to i64\n %19 = inttoptr i64 %sv_0.0.reload to i8*\n %20 = load i8, i8* %19, align 1\n %21 = sext i8 %20 to i64\n %22 = mul i64 %21, 2\n %23 = add i64 %22, %18\n %24 = inttoptr i64 %23 to i16*\n %25 = load i16, i16* %24, align 2\n %26 = and i16 %25, 8192\n %27 = icmp eq i16 %26, 0\n %28 = icmp eq i8 %20, 0\n %29 = icmp eq i1 %28, false\n %or.cond = icmp eq i1 %29, %27\n %30 = add i64 %sv_0.0.reload, 1\n store i64 %30, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %31 = call i16** @__ctype_b_loc()\n %32 = load i16*, i16** %31, align 8\n %33 = ptrtoint i16* %32 to i64\n %34 = inttoptr i64 %sv_0.1.reload to i8*\n %35 = load i8, i8* %34, align 1\n %36 = sext i8 %35 to i64\n %37 = mul i64 %36, 2\n %38 = add i64 %37, %33\n %39 = inttoptr i64 %38 to i16*\n %40 = load i16, i16* %39, align 2\n %41 = and i16 %40, 8192\n %42 = icmp eq i16 %41, 0\n %43 = icmp eq i1 %42, false\n %44 = add i64 %sv_0.1.reload, 1\n store i64 %44, i64* %sv_0.1.reg2mem\n br i1 %43, label LBL_4, label LBL_5\n LBL_5:\n %45 = ptrtoint i8** %sv_1 to i64\n %46 = call i32 @strtol(i8* %34, i8** nonnull %sv_1, i32 10)\n %47 = bitcast i64* %arg1 to i32*\n store i32 %46, i32* %47, align 4\n %48 = and i64 %3, 4294967295\n %49 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %48, i64 %45, i64 %2, i64 %1)\n %.off = add i32 %12, -400\n %50 = icmp ugt i32 %.off, 199\n store i64 1, i64* %rax.0.reg2mem\n br i1 %50, label LBL_41, label LBL_6\n LBL_6:\n %51 = icmp eq i32 %12, 401\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_8, label LBL_7\n LBL_7:\n %53 = add i64 %5, 288\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = icmp eq i32 %55, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %56, label LBL_41, label LBL_8\n LBL_8:\n %57 = icmp eq i32 %12, 407\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_10, label LBL_9\n LBL_9:\n %59 = add i64 %5, 292\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = icmp eq i32 %61, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %62, label LBL_41, label LBL_10\n LBL_10:\n %63 = load i8*, i8** %sv_1, align 8\n %64 = ptrtoint i8* %63 to i64\n %65 = call i32 @strspn(i8* %63, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %66 = sext i32 %65 to i64\n %67 = add i64 %66, %64\n %68 = inttoptr i64 %67 to i8*\n store i8* %68, i8** %sv_1, align 8\n %69 = call i64 @FUNC(i64 %5, i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %48, i64 %67, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_11:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %70 = inttoptr i64 %sv_0.2.reload to i8*\n %71 = load i8, i8* %70, align 1\n %72 = icmp ne i8 %71, 0\n %73 = icmp eq i8 %71, 58\n %74 = icmp eq i1 %73, false\n %or.cond7 = icmp eq i1 %72, %74\n %75 = add i64 %sv_0.2.reload, 1\n store i64 %75, i64* %sv_0.2.reg2mem\n br i1 %or.cond7, label LBL_11, label LBL_12\n LBL_12:\n store i64 1, i64* %rax.0.reg2mem\n br i1 %73, label LBL_13, label LBL_41\n LBL_13:\n store i8 0, i8* %70, align 1\n store i64 %sv_0.2.reload, i64* %storemerge.in.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = add i64 %storemerge.in.reload, 1\n %76 = call i16** @__ctype_b_loc()\n %77 = load i16*, i16** %76, align 8\n %78 = ptrtoint i16* %77 to i64\n %79 = inttoptr i64 %storemerge to i8*\n %80 = load i8, i8* %79, align 1\n %81 = sext i8 %80 to i64\n %82 = mul i64 %81, 2\n %83 = add i64 %82, %78\n %84 = inttoptr i64 %83 to i16*\n %85 = load i16, i16* %84, align 2\n %86 = and i16 %85, 8192\n %87 = icmp eq i16 %86, 0\n %88 = icmp eq i1 %87, false\n store i64 %storemerge, i64* %storemerge.in.reg2mem\n br i1 %88, label LBL_14, label LBL_15\n LBL_15:\n %89 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0))\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n %92 = icmp eq i1 %91, false\n br i1 %92, label LBL_17, label LBL_16\n LBL_16:\n %93 = add i64 %5, 8\n %94 = inttoptr i64 %93 to i8*\n %95 = call i8* @strcpy(i8* %94, i8* %79)\n store i32 1, i32* %arg4, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_17:\n %96 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0))\n %97 = trunc i64 %96 to i32\n %98 = icmp eq i32 %97, 0\n %99 = icmp eq i1 %98, false\n br i1 %99, label LBL_20, label LBL_18\n LBL_18:\n %100 = add i64 %5, 264\n %101 = inttoptr i64 %100 to i64*\n %102 = load i64, i64* %101, align 8\n %103 = icmp eq i64 %102, -1\n %104 = icmp eq i1 %103, false\n br i1 %104, label LBL_20, label LBL_19\n LBL_19:\n %105 = call i64 @strtoll(i8* %79, i8** null, i32 10)\n store i64 %105, i64* %101, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_20:\n %106 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0))\n %107 = trunc i64 %106 to i32\n %108 = icmp eq i32 %107, 0\n %109 = icmp eq i1 %108, false\n br i1 %109, label LBL_26, label LBL_21\n LBL_21:\n %110 = call i32 @strncmp(i8* %79, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i32 6)\n %111 = icmp eq i32 %110, 0\n %112 = icmp eq i1 %111, false\n br i1 %112, label LBL_25, label LBL_22\n LBL_22:\n %113 = add i64 %storemerge.in.reload, 7\n %114 = inttoptr i64 %113 to i8*\n %115 = call i64 @strtoll(i8* %114, i8** null, i32 10)\n %116 = add i64 %5, 272\n %117 = inttoptr i64 %116 to i64*\n store i64 %115, i64* %117, align 8\n %118 = call i8* @strchr(i8* %114, i32 47)\n %119 = icmp eq i8* %118, null\n br i1 %119, label LBL_25, label LBL_23\n LBL_23:\n %120 = load i8, i8* %118, align 1\n %121 = icmp eq i8 %120, 0\n br i1 %121, label LBL_25, label LBL_24\n LBL_24:\n %122 = ptrtoint i8* %118 to i64\n %123 = add i64 %122, 1\n %124 = inttoptr i64 %123 to i8*\n %125 = call i64 @strtoll(i8* %124, i8** null, i32 10)\n %126 = add i64 %5, 264\n %127 = inttoptr i64 %126 to i64*\n store i64 %125, i64* %127, align 8\n br label LBL_25\n LBL_25:\n %128 = add i64 %5, 8\n %129 = inttoptr i64 %128 to i32*\n store i32 0, i32* %129, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_26:\n %130 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0))\n %131 = trunc i64 %130 to i32\n %132 = icmp eq i32 %131, 0\n %133 = icmp eq i1 %132, false\n br i1 %133, label LBL_29, label LBL_27\n LBL_27:\n %134 = call i32 @strncmp(i8* %79, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0), i32 5)\n %135 = icmp eq i32 %134, 0\n %136 = icmp eq i1 %135, false\n br i1 %136, label LBL_29, label LBL_28\n LBL_28:\n %137 = add i64 %5, 8\n %138 = inttoptr i64 %137 to i32*\n store i32 0, i32* %138, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_29:\n %139 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_9, i64 0, i64 0))\n %140 = trunc i64 %139 to i32\n %141 = icmp eq i32 %140, 0\n %142 = icmp eq i1 %141, false\n br i1 %142, label LBL_32, label LBL_30\n LBL_30:\n %143 = call i64 @FUNC(i64 %storemerge, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_10, i64 0, i64 0), i64 7)\n %144 = trunc i64 %143 to i32\n %145 = icmp eq i32 %144, 0\n %146 = icmp eq i1 %145, false\n br i1 %146, label LBL_32, label LBL_31\n LBL_31:\n %147 = add i64 %5, 264\n %148 = inttoptr i64 %147 to i64*\n store i64 -1, i64* %148, align 8\n %149 = add i64 %5, 280\n %150 = inttoptr i64 %149 to i32*\n store i32 0, i32* %150, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_32:\n %151 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_11, i64 0, i64 0))\n %152 = trunc i64 %151 to i32\n %153 = icmp eq i32 %152, 0\n %154 = icmp eq i1 %153, false\n br i1 %154, label LBL_34, label LBL_33\n LBL_33:\n %155 = add i64 %5, 288\n %156 = call i64 @FUNC(i64 %155, i64 %11, i64 %storemerge)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_34:\n %157 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_12, i64 0, i64 0))\n %158 = trunc i64 %157 to i32\n %159 = icmp eq i32 %158, 0\n %160 = icmp eq i1 %159, false\n br i1 %160, label LBL_36, label LBL_35\n LBL_35:\n %161 = add i64 %5, 288\n %162 = call i64 @FUNC(i64 %161, i64 %11, i64 %storemerge)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_36:\n %163 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_13, i64 0, i64 0))\n %164 = trunc i64 %163 to i32\n %165 = icmp eq i32 %164, 0\n %166 = icmp eq i1 %165, false\n br i1 %166, label LBL_38, label LBL_37\n LBL_37:\n %167 = add i64 %5, 292\n %168 = call i64 @FUNC(i64 %167, i64 %11, i64 %storemerge)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_38:\n %169 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_14, i64 0, i64 0))\n %170 = trunc i64 %169 to i32\n %171 = icmp eq i32 %170, 0\n %172 = icmp eq i1 %171, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %172, label LBL_41, label LBL_39\n LBL_39:\n %173 = call i32 @strcmp(i8* %79, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_15, i64 0, i64 0))\n %174 = icmp eq i32 %173, 0\n %175 = icmp eq i1 %174, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %175, label LBL_41, label LBL_40\n LBL_40:\n %176 = add i64 %5, 284\n %177 = inttoptr i64 %176 to i32*\n store i32 1, i32* %177, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_41\n LBL_41:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %79, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %storemerge, { 3, 2, 1, 4, 0, 5 }\n uselistorder i64 %storemerge.in.reload, { 1, 0 }\n uselistorder i64 %48, { 1, 0 }\n uselistorder i32 %12, { 1, 2, 0 }\n uselistorder i64 %11, { 5, 4, 6, 3, 7, 2, 8, 9, 10, 11, 12, 13, 0, 1 }\n uselistorder i8** %sv_1, { 2, 1, 3, 0 }\n uselistorder i64 %5, { 14, 13, 12, 11, 9, 10, 8, 7, 5, 6, 4, 3, 2, 1, 0, 15 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 15, 17, 3, 2, 1, 16 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @ff_http_auth_handle_header, { 2, 1, 0 }\n uselistorder i64 7, { 1, 0 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 }\n uselistorder i64 (i8*, i8**, i32)* @strtoll, { 0, 2, 1 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i64 (i64, i8*)* @av_strcasecmp, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 17, 4, 3, 15, 14, 18, 16, 2, 1, 0, 19, 20 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 0, 17, 18, 19, 1, 20, 21 }\n uselistorder i8 0, { 2, 3, 4, 0, 5, 6, 7, 1 }\n uselistorder label LBL_41, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 14, 15, 2, 1, 0, 16 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "update_frame_pool_149", "fun_name": "update_frame_pool", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %indvars.iv12.reg2mem = alloca i64\n %storemerge4.lcssa.reg2mem = alloca i32\n %storemerge48.reg2mem = alloca i32\n %indvars.iv14.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i32\n %indvars.iv16.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i32, align 4\n %sv_6 = alloca i64, align 8\n %5 = add i64 %4, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i32*\n %11 = trunc i64 %1 to i32\n switch i32 %11, label LBL_25 [\n i32 0, label LBL_1\n i32 1, label LBL_18\n ]\n LBL_1:\n %12 = trunc i64 %2 to i32\n store i32 %12, i32* %sv_5, align 4\n %13 = add i64 %3, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n store i32 %15, i32* %sv_4, align 4\n %16 = load i32, i32* %10, align 4\n %17 = add i64 %3, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %16, %19\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_4, label LBL_2\n LBL_2:\n %22 = add i64 %9, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, %12\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_4, label LBL_3\n LBL_3:\n %27 = add i64 %9, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = load i32, i32* %14, align 4\n %31 = icmp eq i32 %29, %30\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_4, label LBL_29\n LBL_4:\n %33 = ptrtoint i64* %sv_6 to i64\n %34 = bitcast i64* %rsi to i32*\n %35 = add i64 %9, 72\n %36 = call i64 @FUNC(i64 %4, i32* nonnull %sv_5, i32* nonnull %sv_4, i64 %35)\n %37 = add i64 %4, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = add i64 %33, -96\n %.pre = load i32, i32* %sv_5, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %40 = load i32, i32* %38, align 4\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64* nonnull %sv_2, i64 %41, i32 %.reload)\n %43 = load i32, i32* %sv_5, align 4\n %44 = sub i32 0, %43\n %45 = and i32 %43, %44\n %46 = add i32 %45, %43\n store i32 %46, i32* %sv_5, align 4\n store i64 0, i64* %indvars.iv16.reg2mem\n store i32 0, i32* %sv_1.09.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem\n %indvars.iv16.reload = load i64, i64* %indvars.iv16.reg2mem\n %47 = mul i64 %indvars.iv16.reload, 4\n %48 = add i64 %47, %39\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i64 %47, %35\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = ashr i32 %50, 31\n %55 = zext i32 %50 to i64\n %56 = zext i32 %54 to i64\n %57 = mul i64 %56, 4294967296\n %58 = or i64 %57, %55\n %59 = zext i32 %53 to i64\n %60 = srem i64 %58, %59\n %61 = trunc i64 %60 to i32\n %62 = or i32 %sv_1.09.reload, %61\n %indvars.iv.next17 = add nuw nsw i64 %indvars.iv16.reload, 1\n %exitcond18 = icmp eq i64 %indvars.iv.next17, 4\n store i64 %indvars.iv.next17, i64* %indvars.iv16.reg2mem\n store i32 %62, i32* %sv_1.09.reg2mem\n br i1 %exitcond18, label LBL_7, label LBL_6\n LBL_7:\n %63 = icmp eq i32 %62, 0\n %64 = icmp eq i1 %63, false\n store i32 %46, i32* %.reg2mem\n br i1 %64, label LBL_5, label LBL_8\n LBL_8:\n %65 = load i32, i32* %sv_4, align 4\n %66 = load i32, i32* %38, align 4\n %67 = call i64 @FUNC(i64* nonnull %sv_3, i32 %66, i32 %65, i64 0, i64* nonnull %sv_2)\n %68 = trunc i64 %67 to i32\n %69 = icmp slt i32 %68, 0\n %70 = icmp eq i1 %69, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %70, label LBL_9, label LBL_29\n LBL_9:\n %71 = add i64 %33, -128\n %72 = add i64 %33, -64\n store i64 0, i64* %indvars.iv14.reg2mem\n store i32 0, i32* %storemerge48.reg2mem\n br label LBL_11\n LBL_10:\n %storemerge48.reload = load i32, i32* %storemerge48.reg2mem\n %73 = add nuw nsw i32 %storemerge48.reload, 1\n %74 = mul i64 %indvars.iv14.reload, 8\n %75 = add i64 %74, %71\n %76 = inttoptr i64 %75 to i64*\n %77 = load i64, i64* %76, align 8\n %78 = sub i64 %87, %77\n %79 = trunc i64 %78 to i32\n %80 = mul i64 %indvars.iv14.reload, 4\n %81 = add i64 %80, %72\n %82 = inttoptr i64 %81 to i32*\n store i32 %79, i32* %82, align 4\n %83 = icmp ugt i64 %indvars.iv14.reload, 1\n store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem\n store i32 %73, i32* %storemerge48.reg2mem\n store i32 %73, i32* %storemerge4.lcssa.reg2mem\n br i1 %83, label LBL_13, label LBL_11\n LBL_11:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1\n %84 = mul i64 %indvars.iv.next15, 8\n %85 = add i64 %84, %71\n %86 = inttoptr i64 %85 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = icmp eq i64 %87, 0\n %89 = icmp eq i1 %88, false\n br i1 %89, label LBL_10, label LBL_12\n LBL_12:\n %90 = trunc i64 %indvars.iv14.reload to i32\n store i32 %90, i32* %storemerge4.lcssa.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem\n %91 = sext i32 %storemerge4.lcssa.reload to i64\n %92 = mul i64 %91, 8\n %93 = add i64 %92, %71\n %94 = inttoptr i64 %93 to i64*\n %95 = load i64, i64* %94, align 8\n %96 = load i64, i64* %sv_3, align 8\n %97 = sub i64 %95, %96\n %98 = trunc i64 %97 to i32\n %99 = sub i32 %68, %98\n %100 = mul i64 %91, 4\n %101 = add i64 %100, %72\n %102 = inttoptr i64 %101 to i32*\n store i32 %99, i32* %102, align 4\n %103 = add i64 %9, 40\n %104 = add i64 %9, 24\n store i64 0, i64* %indvars.iv12.reg2mem\n br label LBL_14\n LBL_14:\n %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem\n %105 = mul i64 %indvars.iv12.reload, 8\n %106 = add i64 %105, %103\n %107 = call i64 @FUNC(i64 %106)\n %108 = mul i64 %indvars.iv12.reload, 4\n %109 = add i64 %108, %39\n %110 = inttoptr i64 %109 to i32*\n %111 = load i32, i32* %110, align 4\n %112 = add i64 %104, %108\n %113 = inttoptr i64 %112 to i32*\n store i32 %111, i32* %113, align 4\n %114 = add i64 %108, %72\n %115 = inttoptr i64 %114 to i32*\n %116 = load i32, i32* %115, align 4\n %117 = icmp eq i32 %116, 0\n br i1 %117, label LBL_16, label LBL_15\n LBL_15:\n %118 = add i32 %116, 16\n %119 = zext i32 %118 to i64\n %120 = call i64 @FUNC(i64 %119, i64 0)\n %121 = inttoptr i64 %106 to i64*\n store i64 %120, i64* %121, align 8\n %122 = icmp eq i64 %120, 0\n %123 = icmp eq i1 %122, false\n store i64 %103, i64* %.pre-phi.reg2mem\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %123, label LBL_16, label LBL_26\n LBL_16:\n %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1\n %124 = icmp ult i64 %indvars.iv.next13, 4\n store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem\n br i1 %124, label LBL_14, label LBL_17\n LBL_17:\n %125 = load i32, i32* %18, align 4\n store i32 %125, i32* %10, align 4\n %126 = load i32, i32* %34, align 8\n %127 = add i64 %9, 4\n %128 = inttoptr i64 %127 to i32*\n store i32 %126, i32* %128, align 4\n %129 = load i32, i32* %14, align 4\n %130 = add i64 %9, 8\n %131 = inttoptr i64 %130 to i32*\n store i32 %129, i32* %131, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_18:\n %132 = call i64 @FUNC(i64 %3)\n %133 = trunc i64 %132 to i32\n %134 = add i64 %3, 8\n %135 = inttoptr i64 %134 to i32*\n %136 = load i32, i32* %135, align 4\n %137 = zext i32 %136 to i64\n %138 = call i64 @FUNC(i64 %137)\n %139 = trunc i64 %138 to i32\n %140 = icmp eq i32 %139, 0\n %141 = select i1 %140, i32 1, i32 %133\n %142 = load i32, i32* %10, align 4\n %143 = load i32, i32* %135, align 4\n %144 = icmp eq i32 %142, %143\n %145 = icmp eq i1 %144, false\n br i1 %145, label LBL_22, label LBL_19\n LBL_19:\n %146 = add i64 %9, 12\n %147 = inttoptr i64 %146 to i32*\n %148 = load i32, i32* %147, align 4\n %149 = icmp eq i32 %141, %148\n %150 = icmp eq i1 %149, false\n br i1 %150, label LBL_22, label LBL_20\n LBL_20:\n %151 = add i64 %9, 16\n %152 = inttoptr i64 %151 to i32*\n %153 = load i32, i32* %152, align 4\n %154 = icmp eq i32 %153, %133\n %155 = icmp eq i1 %154, false\n br i1 %155, label LBL_22, label LBL_21\n LBL_21:\n %156 = add i64 %3, 12\n %157 = inttoptr i64 %156 to i32*\n %158 = load i32, i32* %157, align 4\n %159 = add i64 %9, 20\n %160 = inttoptr i64 %159 to i32*\n %161 = load i32, i32* %160, align 4\n %162 = icmp eq i32 %158, %161\n %163 = icmp eq i1 %162, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %163, label LBL_22, label LBL_29\n LBL_22:\n %164 = add i64 %9, 40\n %165 = call i64 @FUNC(i64 %164)\n %166 = load i32, i32* %135, align 4\n %167 = add i64 %3, 12\n %168 = inttoptr i64 %167 to i32*\n %169 = load i32, i32* %168, align 4\n %170 = add i64 %9, 24\n %171 = and i64 %132, 4294967295\n %172 = call i64 @FUNC(i64 %170, i64 %171, i32 %169, i32 %166, i64 0)\n %173 = trunc i64 %172 to i32\n %174 = icmp slt i32 %173, 0\n store i64 %164, i64* %.pre-phi.reg2mem\n store i64 %172, i64* %sv_0.0.reg2mem\n br i1 %174, label LBL_26, label LBL_23\n LBL_23:\n %175 = inttoptr i64 %170 to i32*\n %176 = load i32, i32* %175, align 4\n %177 = zext i32 %176 to i64\n %178 = call i64 @FUNC(i64 %177, i64 0)\n %179 = inttoptr i64 %164 to i64*\n store i64 %178, i64* %179, align 8\n %180 = icmp eq i64 %178, 0\n %181 = icmp eq i1 %180, false\n store i64 %164, i64* %.pre-phi.reg2mem\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %181, label LBL_24, label LBL_26\n LBL_24:\n %182 = load i32, i32* %135, align 4\n store i32 %182, i32* %10, align 4\n %183 = add i64 %9, 12\n %184 = inttoptr i64 %183 to i32*\n store i32 %141, i32* %184, align 4\n %185 = add i64 %9, 16\n %186 = inttoptr i64 %185 to i32*\n store i32 %133, i32* %186, align 4\n %187 = load i32, i32* %168, align 4\n %188 = add i64 %9, 20\n %189 = inttoptr i64 %188 to i32*\n store i32 %187, i32* %189, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_25:\n %190 = call i64 @FUNC(i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_26:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_27\n LBL_27:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %191 = mul i64 %indvars.iv.reload, 8\n %192 = add i64 %191, %.pre-phi.reload\n %193 = call i64 @FUNC(i64 %192)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_28, label LBL_27\n LBL_28:\n store i32 -1, i32* %10, align 4\n %194 = add i64 %9, 20\n %195 = inttoptr i64 %194 to i32*\n store i32 0, i32* %195, align 4\n %196 = add i64 %9, 16\n %197 = inttoptr i64 %196 to i32*\n store i32 0, i32* %197, align 4\n %198 = add i64 %9, 12\n %199 = inttoptr i64 %198 to i32*\n store i32 0, i32* %199, align 4\n %200 = add i64 %9, 8\n %201 = inttoptr i64 %200 to i32*\n store i32 0, i32* %201, align 4\n %202 = add i64 %9, 4\n %203 = inttoptr i64 %202 to i32*\n store i32 0, i32* %203, align 4\n %204 = and i64 %sv_0.0.reload, 4294967295\n store i64 %204, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_29:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %164, { 1, 2, 0, 3 }\n uselistorder i32 %141, { 1, 0 }\n uselistorder i32 %133, { 2, 1, 0 }\n uselistorder i64 %108, { 2, 0, 1 }\n uselistorder i64 %indvars.iv12.reload, { 0, 2, 1 }\n uselistorder i64 %87, { 1, 0 }\n uselistorder i64 %indvars.iv.next15, { 1, 0 }\n uselistorder i64 %indvars.iv14.reload, { 2, 0, 3, 4, 1 }\n uselistorder i64 %71, { 0, 2, 1 }\n uselistorder i32 %62, { 1, 0 }\n uselistorder i64 %47, { 1, 0 }\n uselistorder i64 %33, { 2, 1, 0 }\n uselistorder i32* %14, { 1, 0, 2 }\n uselistorder i32* %10, { 3, 0, 1, 2, 4 }\n uselistorder i64 %9, { 10, 11, 12, 13, 14, 7, 8, 9, 15, 16, 17, 18, 19, 2, 3, 0, 1, 4, 5, 6, 20 }\n uselistorder i32* %sv_5, { 2, 3, 0, 1, 4 }\n uselistorder i32* %sv_4, { 1, 0, 2 }\n uselistorder i64* %sv_3, { 1, 0 }\n uselistorder i64 %3, { 0, 1, 3, 2, 4, 5 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.09.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge48.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 3, 2, 4, 1, 5, 6 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64, i64)* @av_buffer_pool_init, { 1, 0 }\n uselistorder i64 (i64)* @av_buffer_pool_uninit, { 2, 1, 0 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i64 1, { 4, 3, 2, 0, 1 }\n uselistorder i64 8, { 5, 0, 6, 7, 1, 2, 3, 4, 8, 9 }\n uselistorder i64 4, { 7, 6, 8, 5, 0, 1, 2, 4, 3, 9, 10, 11 }\n uselistorder i32 0, { 2, 6, 3, 4, 7, 8, 9, 10, 0, 11, 12, 1, 13, 5, 14 }\n uselistorder label LBL_29, { 6, 2, 1, 3, 0, 4, 5 }\n uselistorder label LBL_26, { 1, 2, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "alpha_cpu_class_init_16380", "fun_name": "alpha_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198669, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198711, i64* %12, align 8\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i64*\n store i64 4198718, i64* %14, align 8\n %15 = add i64 %0, 72\n %16 = inttoptr i64 %15 to i64*\n store i64 4198732, i64* %16, align 8\n %17 = add i64 %0, 80\n %18 = inttoptr i64 %17 to i64*\n store i64 4198739, i64* %18, align 8\n %19 = add i64 %0, 88\n %20 = inttoptr i64 %19 to i64*\n store i64 4198746, i64* %20, align 8\n store i64 4210717, i64* %2, align 8\n %21 = add i64 %0, 96\n %22 = inttoptr i64 %21 to i64*\n store i64 4198753, i64* %22, align 8\n %23 = add i64 %0, 104\n %24 = inttoptr i64 %23 to i32*\n store i32 67, i32* %24, align 4\n %25 = inttoptr i64 %3 to i8*\n store i8 1, i8* %25, align 1\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_rbd_complete_aio_15331", "fun_name": "qemu_rbd_complete_aio", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = trunc i64 %4 to i32\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 1\n %8 = icmp slt i32 %5, 0\n %9 = icmp eq i1 %8, false\n br i1 %7, label LBL_5, label LBL_1\n LBL_1:\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 %5, i32* %11, align 4\n %12 = inttoptr i64 %2 to i32*\n store i32 1, i32* %12, align 4\n br label LBL_12\n LBL_3:\n %13 = inttoptr i64 %2 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_12, label LBL_4\n LBL_4:\n %17 = add i64 %arg1, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = trunc i64 %19 to i32\n %21 = add i64 %arg1, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n br label LBL_12\n LBL_5:\n %23 = add i64 %arg1, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n br i1 %9, label LBL_7, label LBL_6\n LBL_6:\n %26 = add i64 %arg1, 24\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = inttoptr i64 %28 to i64*\n %30 = trunc i64 %25 to i32\n %31 = call i64* @memset(i64* %29, i32 0, i32 %30)\n %32 = add i64 %arg1, 4\n %33 = inttoptr i64 %32 to i32*\n store i32 %5, i32* %33, align 4\n %34 = inttoptr i64 %2 to i32*\n store i32 1, i32* %34, align 4\n br label LBL_12\n LBL_7:\n %sext = mul i64 %4, 4294967296\n %35 = ashr exact i64 %sext, 32\n %36 = icmp ugt i64 %25, %35\n br i1 %36, label LBL_8, label LBL_10\n LBL_8:\n %37 = add i64 %arg1, 24\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = add i64 %39, %35\n %41 = inttoptr i64 %40 to i64*\n %42 = trunc i64 %25 to i32\n %43 = sub i32 %42, %5\n %44 = call i64* @memset(i64* %41, i32 0, i32 %43)\n %45 = inttoptr i64 %2 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_12, label LBL_9\n LBL_9:\n %49 = load i64, i64* %24, align 8\n %50 = trunc i64 %49 to i32\n %51 = add i64 %arg1, 4\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n br label LBL_12\n LBL_10:\n %53 = inttoptr i64 %2 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = icmp eq i32 %54, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_12, label LBL_11\n LBL_11:\n %57 = add i64 %arg1, 4\n %58 = inttoptr i64 %57 to i32*\n store i32 %5, i32* %58, align 4\n br label LBL_12\n LBL_12:\n %59 = call i64 @FUNC(i64 4198783, i64 %arg1)\n %60 = add i64 %arg1, 16\n %61 = inttoptr i64 %60 to i64*\n store i64 %59, i64* %61, align 8\n %62 = call i64 @FUNC(i64 %59)\n %63 = call i64 @FUNC(i64 %arg1)\n ret i64 %63\n\n uselistorder i64 %25, { 0, 2, 1 }\n uselistorder i1 %9, { 1, 0 }\n uselistorder i32 %5, { 2, 3, 0, 1, 4 }\n uselistorder i64 %2, { 3, 4, 2, 1, 0, 5 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i1 false, { 0, 1, 3, 2 }\n uselistorder i32 1, { 3, 4, 2, 1, 0 }\n uselistorder i64 %arg1, { 5, 7, 6, 4, 8, 11, 3, 10, 9, 2, 1, 0, 12 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xsltScanLiteral_10753", "fun_name": "xsltScanLiteral", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %storemerge6.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i8*\n %sv_0.013.reg2mem = alloca i8*\n %1 = load i32, i32* %0\n %2 = load i8*, i8** @gv_0, align 8\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 0\n %5 = zext i8 %3 to i32\n %spec.select = select i1 %4, i32 -1, i32 %5\n %6 = icmp ult i32 %spec.select, 128\n %7 = icmp eq i32 %spec.select, 34\n %8 = icmp eq i1 %7, false\n %or.cond12 = icmp eq i1 %6, %8\n store i8* %2, i8** %sv_0.0.lcssa.reg2mem\n store i32 %spec.select, i32* %storemerge6.lcssa.reg2mem\n br i1 %or.cond12, label LBL_1, label LBL_3\n LBL_1:\n %9 = sext i32 %1 to i64\n store i8* %2, i8** %sv_0.013.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.013.reload = load i8*, i8** %sv_0.013.reg2mem\n %10 = ptrtoint i8* %sv_0.013.reload to i64\n %11 = add i64 %10, %9\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 0\n %15 = zext i8 %13 to i32\n %spec.select10 = select i1 %14, i32 -1, i32 %15\n %16 = icmp ult i32 %spec.select10, 128\n %17 = icmp eq i32 %spec.select10, 34\n %18 = icmp eq i1 %17, false\n %or.cond = icmp eq i1 %16, %18\n store i8* %12, i8** %sv_0.013.reg2mem\n store i8* %12, i8** %sv_0.0.lcssa.reg2mem\n store i32 %spec.select10, i32* %storemerge6.lcssa.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_3\n LBL_3:\n %storemerge6.lcssa.reload = load i32, i32* %storemerge6.lcssa.reg2mem\n %19 = icmp ult i32 %storemerge6.lcssa.reload, 128\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %arg1, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem\n %20 = ptrtoint i8* %sv_0.0.lcssa.reload to i64\n %21 = ptrtoint i8* %2 to i64\n %22 = sub i64 %20, %21\n %23 = trunc i64 %22 to i32\n %24 = call i8* @strndup(i8* %2, i32 %23)\n %25 = ptrtoint i8* %24 to i64\n %26 = sext i32 %1 to i64\n %27 = add i64 %20, %26\n %28 = inttoptr i64 %27 to i8*\n store i8* %28, i8** @gv_0, align 8\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %2, { 3, 2, 1, 0, 4 }\n uselistorder i8** %sv_0.013.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 34, { 1, 0 }\n uselistorder i32 128, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shmem_acct_size_6602", "fun_name": "shmem_acct_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = urem i64 %arg1, 2\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_server_handle_vCont_4264", "fun_name": "_server_handle_vCont", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_15\n LBL_1:\n %9 = add i64 %4, 256\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %11, %4\n %13 = inttoptr i64 %12 to i8*\n store i8 0, i8* %13, align 1\n %14 = add i64 %4, 5\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 63\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %20 = bitcast i64* %arg1 to i8*\n %21 = call i8* @strtok(i8* %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %22 = icmp eq i8* %21, null\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_14, label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_5:\n %25 = ptrtoint i8* %42 to i64\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %25, i64 %4, i64 %3, i64 %2, i64 %1)\n %27 = load i8, i8* %42, align 1\n %28 = icmp eq i8 %27, 99\n br i1 %28, label LBL_10, label LBL_6\n LBL_6:\n %29 = icmp eq i8 %27, 115\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_13, label LBL_7\n LBL_7:\n %31 = trunc i64 %arg3 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_9, label LBL_8\n LBL_8:\n %34 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %35 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_10:\n %36 = trunc i64 %arg3 to i32\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_12, label LBL_11\n LBL_11:\n %39 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %40 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %41 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %42 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %43 = icmp eq i8* %42, null\n %44 = icmp eq i1 %43, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %44, label LBL_5, label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %42, { 2, 1, 0 }\n uselistorder i64 %4, { 4, 5, 6, 2, 3, 7, 1, 9, 8, 0, 10, 11 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 7, 9, 8, 6, 5, 4, 3, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), { 1, 0, 2, 3 }\n uselistorder i8* null, { 0, 2, 1 }\n uselistorder i8* (i8*, i8*)* @strtok, { 1, 0 }\n uselistorder i64 (i64, i8*)* @send_msg, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 4294967295, { 0, 3, 2, 1 }\n uselistorder i1 false, { 3, 0, 1, 2, 4, 5, 6 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_15, { 0, 2, 3, 4, 5, 6, 7, 8, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_write_tmpo_tag_9693", "fun_name": "mov_write_tmpo_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i8*\n %7 = call i32 @atoi(i8* %6)\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i64 26)\n %11 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %12 = call i64 @FUNC(i64 %9, i64 18)\n %13 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %14 = call i64 @FUNC(i64 %9, i64 21)\n %15 = call i64 @FUNC(i64 %9, i64 0)\n %16 = zext i32 %7 to i64\n %17 = call i64 @FUNC(i64 %9, i64 %16)\n store i64 26, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %9, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i8*)* @ffio_wfourcc, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_wb32, { 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_invalidate_mapping_8823", "fun_name": "nfs_invalidate_mapping", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = urem i32 %4, 2\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %0, i64 %7)\n store i64 %12, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %13 = call i64 @FUNC(i64 %0)\n %14 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %14\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_slbie_13862", "fun_name": "helper_slbie", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1, i64 %arg2)\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = urem i64 %5, 2\n %7 = icmp eq i64 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = and i64 %5, -2\n store i64 %8, i64* %4, align 8\n %9 = call i64 @FUNC(i64 %1)\n %10 = call i64 @FUNC(i64 %9, i64 1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "php_network_get_peer_name_17685", "fun_name": "php_network_get_peer_name", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %0 = trunc i64 %arg1 to i32\n store i32 128, i32* %sv_1, align 4\n %1 = bitcast i64* %sv_0 to %sockaddr*\n %2 = call i32 @getpeername(i32 %0, %sockaddr* nonnull %1, i32* nonnull %sv_1)\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg3 to i64\n %7 = ptrtoint i64* %arg4 to i64\n %8 = ptrtoint i64* %arg5 to i64\n %9 = load i32, i32* %sv_1, align 4\n %10 = call i64 @FUNC(i64* nonnull %sv_0, i32 %9, i64 %5, i64 %6, i64 %7, i64 %8)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "packet_get_7061", "fun_name": "packet_get", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_17\n LBL_1:\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp slt i32 %8, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp eq i1 %9, false\n %13 = icmp eq i1 %11, %12\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_17\n LBL_2:\n %14 = load i32, i32* @gv_0, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n %17 = load i32, i32* @gv_1, align 4\n %18 = icmp slt i32 %17, 11\n %or.cond = or i1 %16, %18\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i32* @__errno_location()\n store i32 71, i32* %19, align 4\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0))\n %21 = call i64 @FUNC(i64 111)\n unreachable\n LBL_4:\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = icmp eq i8 %26, 4\n br i1 %27, label LBL_12, label LBL_5\n LBL_5:\n %28 = icmp ugt i8 %26, 4\n br i1 %28, label LBL_14, label LBL_6\n LBL_6:\n switch i8 %26, label LBL_7 [\n i8 1, label LBL_8\n i8 0, label LBL_14\n ]\n LBL_7:\n %29 = or i8 %26, 1\n %30 = icmp eq i8 %29, 3\n br i1 %30, label LBL_9, label LBL_14\n LBL_8:\n %31 = call i32* @__errno_location()\n store i32 0, i32* %31, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_9:\n %32 = load i32, i32* @gv_3, align 4\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_4, i64 0, i64 0))\n %36 = call i64 @FUNC(i64 111)\n unreachable\n LBL_11:\n %37 = call i64 @FUNC(i64 %2)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_12:\n %38 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4\n %39 = urem i32 %38, 2\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_14, label LBL_13\n LBL_13:\n store i32 0, i32* @gv_1, align 4\n br label LBL_14\n LBL_14:\n %sext = mul i64 %arg2, 72057594037927936\n %41 = ashr exact i64 %sext, 56\n %42 = trunc i64 %41 to i8\n %43 = icmp eq i8 %42, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %43, label LBL_17, label LBL_15\n LBL_15:\n %44 = load i8, i8* %25, align 1\n %45 = icmp eq i8 %44, %42\n store i64 1, i64* %rax.0.reg2mem\n br i1 %45, label LBL_17, label LBL_16\n LBL_16:\n %46 = call i32* @__errno_location()\n store i32 71, i32* %46, align 4\n %47 = load i64, i64* %23, align 8\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = zext i8 %49 to i64\n %51 = call i64 @FUNC(i64* nonnull %sv_1, i64 %50)\n %52 = urem i64 %41, 256\n %53 = call i64 @FUNC(i64* nonnull %sv_0, i64 %52)\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_5, i64 0, i64 0), i64 %53, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %51)\n %55 = call i64 @FUNC(i64 111)\n unreachable\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %26, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 6, 4, 5 }\n uselistorder i64 (i64*, i64)* @numtostr, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 (i64)* @global_die, { 2, 1, 0 }\n uselistorder i64 (i8*)* @log_f1, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4 }\n uselistorder i64 (i64)* @buf_purge, { 1, 0 }\n uselistorder label LBL_17, { 1, 2, 0, 5, 3, 4 }\n uselistorder label LBL_14, { 2, 3, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_phb_vfio_get_loc_code_3093", "fun_name": "spapr_phb_vfio_get_loc_code", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 0, i64 %3, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %5)\n %9 = call i64 @FUNC(i64 %7, i64* nonnull %sv_1, i64 0, i64 0)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %7, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %7)\n %13 = load i64, i64* %sv_1, align 8\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %13, i64 0, i64 0, i64 %2, i64 %1)\n %15 = load i64, i64* %sv_1, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %14, i64* nonnull %sv_1, i64 0, i64 0)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = load i64, i64* %sv_1, align 8\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %21 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 2, 0, 3, 4, 1, 5 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64*, i64, i64)* @g_file_get_contents, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @g_strdup_printf, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "client_close_14307", "fun_name": "client_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %6, align 1\n %7 = add i64 %5, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 0, i64 0)\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %spec.select = select i1 %14, i64 0, i64 %5\n ret i64 %spec.select\n LBL_2:\n %15 = urem i64 %1, 256\n ret i64 %15\n\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "first_nibble_is_6_9370", "fun_name": "first_nibble_is_6", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64* %arg2, i16 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = and i16 %arg3, -4096\n %2 = icmp eq i16 %1, 4096\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %4, align 4\n %5 = zext i16 %arg3 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = ptrtoint i16* %arg1 to i64\n %8 = and i64 %6, 4294967295\n %9 = call i64 @FUNC(i64 %7, i64 %8)\n %10 = trunc i64 %9 to i16\n %11 = add i64 %0, 4\n %12 = inttoptr i64 %11 to i16*\n store i16 %10, i16* %12, align 2\n %13 = call i64 @FUNC(i64 %5)\n %14 = and i64 %13, 4294967295\n %15 = call i64 @FUNC(i64 %7, i64 %14)\n %16 = trunc i64 %15 to i16\n %17 = add i64 %0, 8\n %18 = inttoptr i64 %17 to i16*\n store i16 %16, i16* %18, align 2\n br label LBL_19\n LBL_2:\n %19 = icmp eq i16 %1, 8192\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = bitcast i64* %arg2 to i32*\n store i32 2, i32* %21, align 4\n %22 = zext i16 %arg3 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = ptrtoint i16* %arg1 to i64\n %25 = and i64 %23, 4294967295\n %26 = call i64 @FUNC(i64 %24, i64 %25, i64 1)\n %27 = trunc i64 %26 to i16\n %28 = add i64 %0, 4\n %29 = inttoptr i64 %28 to i16*\n store i16 %27, i16* %29, align 2\n %30 = call i64 @FUNC(i64 %22)\n %31 = and i64 %30, 4294967295\n %32 = call i64 @FUNC(i64 %24, i64 %31)\n %33 = trunc i64 %32 to i16\n %34 = add i64 %0, 8\n %35 = inttoptr i64 %34 to i16*\n store i16 %33, i16* %35, align 2\n br label LBL_19\n LBL_4:\n %36 = icmp eq i16 %1, 12288\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = bitcast i64* %arg2 to i32*\n store i32 2, i32* %38, align 4\n %39 = zext i16 %arg3 to i64\n %40 = call i64 @FUNC(i64 %39)\n %41 = ptrtoint i16* %arg1 to i64\n %42 = and i64 %40, 4294967295\n %43 = call i64 @FUNC(i64 %41, i64 %42, i64 2)\n %44 = trunc i64 %43 to i16\n %45 = add i64 %0, 4\n %46 = inttoptr i64 %45 to i16*\n store i16 %44, i16* %46, align 2\n %47 = call i64 @FUNC(i64 %39)\n %48 = and i64 %47, 4294967295\n %49 = call i64 @FUNC(i64 %41, i64 %48)\n %50 = trunc i64 %49 to i16\n %51 = add i64 %0, 8\n %52 = inttoptr i64 %51 to i16*\n store i16 %50, i16* %52, align 2\n br label LBL_19\n LBL_6:\n %53 = icmp eq i16 %1, 16384\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_8, label LBL_7\n LBL_7:\n %55 = bitcast i64* %arg2 to i32*\n store i32 2, i32* %55, align 4\n %56 = zext i16 %arg3 to i64\n %57 = call i64 @FUNC(i64 %56)\n %58 = ptrtoint i16* %arg1 to i64\n %59 = and i64 %57, 4294967295\n %60 = call i64 @FUNC(i64 %58, i64 %59, i64 4)\n %61 = trunc i64 %60 to i16\n %62 = add i64 %0, 4\n %63 = inttoptr i64 %62 to i16*\n store i16 %61, i16* %63, align 2\n %64 = call i64 @FUNC(i64 %56)\n %65 = and i64 %64, 4294967295\n %66 = call i64 @FUNC(i64 %58, i64 %65)\n %67 = trunc i64 %66 to i16\n %68 = add i64 %0, 8\n %69 = inttoptr i64 %68 to i16*\n store i16 %67, i16* %69, align 2\n br label LBL_19\n LBL_8:\n %70 = icmp eq i16 %1, 20480\n %71 = icmp eq i1 %70, false\n br i1 %71, label LBL_10, label LBL_9\n LBL_9:\n %72 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %72, align 4\n %73 = zext i16 %arg3 to i64\n %74 = call i64 @FUNC(i64 %73)\n %75 = ptrtoint i16* %arg1 to i64\n %76 = and i64 %74, 4294967295\n %77 = call i64 @FUNC(i64 %75, i64 %76)\n %78 = trunc i64 %77 to i16\n %79 = add i64 %0, 4\n %80 = inttoptr i64 %79 to i16*\n store i16 %78, i16* %80, align 2\n %81 = call i64 @FUNC(i64 %73)\n %82 = and i64 %81, 4294967295\n %83 = call i64 @FUNC(i64 %75, i64 %82)\n %84 = trunc i64 %83 to i16\n %85 = add i64 %0, 8\n %86 = inttoptr i64 %85 to i16*\n store i16 %84, i16* %86, align 2\n br label LBL_19\n LBL_10:\n switch i16 %1, label LBL_11 [\n i16 24576, label LBL_12\n i16 28672, label LBL_12\n ]\n LBL_11:\n %87 = icmp eq i16 %1, -32768\n %88 = icmp eq i1 %87, false\n br i1 %88, label LBL_13, label LBL_12\n LBL_12:\n %89 = bitcast i64* %arg2 to i32*\n store i32 3, i32* %89, align 4\n %90 = zext i16 %arg3 to i64\n %91 = call i64 @FUNC(i64 %90)\n %92 = ptrtoint i16* %arg1 to i64\n %93 = and i64 %91, 4294967295\n %94 = call i64 @FUNC(i64 %92, i64 %93)\n %95 = trunc i64 %94 to i16\n %96 = add i64 %0, 8\n %97 = inttoptr i64 %96 to i16*\n store i16 %95, i16* %97, align 2\n br label LBL_19\n LBL_13:\n %98 = icmp eq i16 %1, -28672\n %99 = icmp eq i1 %98, false\n br i1 %99, label LBL_15, label LBL_14\n LBL_14:\n %100 = bitcast i64* %arg2 to i32*\n store i32 4, i32* %100, align 4\n %101 = zext i16 %arg3 to i64\n %102 = call i64 @FUNC(i64 %101)\n %103 = ptrtoint i16* %arg1 to i64\n %104 = and i64 %102, 4294967295\n %105 = call i64 @FUNC(i64 %103, i64 %104)\n %106 = trunc i64 %105 to i16\n %107 = add i64 %0, 4\n %108 = inttoptr i64 %107 to i16*\n store i16 %106, i16* %108, align 2\n %109 = call i64 @FUNC(i64 %101)\n %110 = and i64 %109, 4294967295\n %111 = call i64 @FUNC(i64 %103, i64 %110)\n %112 = trunc i64 %111 to i16\n %113 = add i64 %0, 8\n %114 = inttoptr i64 %113 to i16*\n store i16 %112, i16* %114, align 2\n br label LBL_19\n LBL_15:\n %115 = icmp eq i16 %1, -24576\n %116 = icmp eq i1 %115, false\n br i1 %116, label LBL_17, label LBL_16\n LBL_16:\n %117 = bitcast i64* %arg2 to i32*\n store i32 5, i32* %117, align 4\n %118 = zext i16 %arg3 to i64\n %119 = call i64 @FUNC(i64 %118)\n %120 = ptrtoint i16* %arg1 to i64\n %121 = and i64 %119, 4294967295\n %122 = call i64 @FUNC(i64 %120, i64 %121)\n %123 = trunc i64 %122 to i16\n %124 = add i64 %0, 4\n %125 = inttoptr i64 %124 to i16*\n store i16 %123, i16* %125, align 2\n %126 = call i64 @FUNC(i64 %118)\n %127 = and i64 %126, 4294967295\n %128 = call i64 @FUNC(i64 %120, i64 %127)\n %129 = trunc i64 %128 to i16\n %130 = add i64 %0, 8\n %131 = inttoptr i64 %130 to i16*\n store i16 %129, i16* %131, align 2\n br label LBL_19\n LBL_17:\n %132 = icmp eq i16 %1, -20480\n %133 = icmp eq i1 %132, false\n br i1 %133, label LBL_19, label LBL_18\n LBL_18:\n %134 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %134, align 4\n br label LBL_19\n LBL_19:\n %135 = add i64 %0, 12\n %136 = inttoptr i64 %135 to i32*\n %137 = load i32, i32* %136, align 4\n %138 = zext i32 %137 to i64\n ret i64 %138\n\n uselistorder i16 %1, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9 }\n uselistorder i64 %0, { 14, 12, 13, 10, 11, 15, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @anal_fill_reg_ref, { 2, 1, 0 }\n uselistorder i64 (i64)* @GET_TARGET_REG, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 2, 3, 4, 0, 5, 6, 7 }\n uselistorder i64 (i64, i64)* @anal_fill_ai_rg, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @GET_SOURCE_REG, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i16 %arg3, { 6, 5, 7, 4, 3, 2, 1, 0, 8 }\n uselistorder i16* %arg1, { 6, 5, 7, 4, 3, 2, 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_sgi_header_3135", "fun_name": "read_sgi_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i16\n %4 = bitcast i64* %arg2 to i16*\n store i16 %3, i16* %4, align 2\n %5 = call i64 @FUNC(i64 %1)\n %6 = trunc i64 %5 to i8\n %7 = add i64 %0, 2\n %8 = inttoptr i64 %7 to i8*\n store i8 %6, i8* %8, align 1\n %9 = call i64 @FUNC(i64 %1)\n %10 = trunc i64 %9 to i8\n %11 = add i64 %0, 3\n %12 = inttoptr i64 %11 to i8*\n store i8 %10, i8* %12, align 1\n %13 = call i64 @FUNC(i64 %1)\n %14 = trunc i64 %13 to i16\n %15 = add i64 %0, 4\n %16 = inttoptr i64 %15 to i16*\n store i16 %14, i16* %16, align 2\n %17 = call i64 @FUNC(i64 %1)\n %18 = trunc i64 %17 to i16\n %19 = add i64 %0, 6\n %20 = inttoptr i64 %19 to i16*\n store i16 %18, i16* %20, align 2\n %21 = call i64 @FUNC(i64 %1)\n %22 = trunc i64 %21 to i16\n %23 = add i64 %0, 8\n %24 = inttoptr i64 %23 to i16*\n store i16 %22, i16* %24, align 2\n %25 = call i64 @FUNC(i64 %1)\n %26 = trunc i64 %25 to i16\n %27 = add i64 %0, 10\n %28 = inttoptr i64 %27 to i16*\n %29 = urem i64 %25, 65536\n %30 = icmp ult i16 %26, 4097\n %spec.store.select = select i1 %30, i16 %26, i16 0\n store i16 %spec.store.select, i16* %28, align 2\n %spec.select = select i1 %30, i64 %29, i64 %0\n ret i64 %spec.select\n\n uselistorder i64 (i64)* @get_byte, { 1, 0 }\n uselistorder i64 (i64)* @get_be16, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_vcpu_yield_to_9767", "fun_name": "kvm_vcpu_yield_to", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC()\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %5 = call i64 @FUNC(i64 %2, i64 0)\n %6 = call i64 @FUNC()\n %7 = icmp eq i64 %5, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n %9 = call i64 @FUNC(i64 %5, i64 1)\n %10 = call i64 @FUNC(i64 %5)\n %11 = and i64 %9, 4294967295\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 ()* @rcu_read_unlock, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_option_parse_5886", "fun_name": "_option_parse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.ph24.reg2mem = alloca i8\n %rdx.0.ph25.reg2mem = alloca i64\n %sv_1.01826.in.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0.020.reg2mem = alloca i8\n %sv_1.021.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i16* %arg2 to i64\n %6 = urem i64 %5, 65536\n %7 = call i64 @FUNC(i64 %6)\n %8 = urem i64 %7, 65536\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i8\n %11 = icmp ult i8 %10, 6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_15, label LBL_1\n LBL_1:\n %12 = mul i8 %10, 4\n %13 = add i8 %12, -20\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_15\n LBL_2:\n %16 = add i64 %5, 2\n %17 = bitcast i64* %arg1 to i16*\n %18 = urem i64 %3, 65536\n store i64 %5, i64* %.reg2mem\n store i64 %16, i64* %sv_1.01826.in.reg2mem\n store i8 %13, i8* %sv_0.0.ph24.reg2mem\n br label LBL_3.lr.ph\n LBL_3:\n %sv_0.020.reload = load i8, i8* %sv_0.020.reg2mem\n %sv_1.021.in.reload = load i64, i64* %sv_1.021.in.reg2mem\n %sv_1.021 = inttoptr i64 %sv_1.021.in.reload to i8*\n %19 = load i8, i8* %sv_1.021, align 1\n %20 = icmp eq i8 %19, 2\n br i1 %20, label LBL_8, label LBL_4\n LBL_4:\n %21 = icmp ugt i8 %19, 2\n br i1 %21, label LBL_11, label LBL_5\n LBL_5:\n switch i8 %19, label LBL_11 [\n i8 0, label LBL_6\n i8 1, label LBL_7\n ]\n LBL_6:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %.reload, i64 %rdx.0.ph25.reload, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i64 %.reload, i64 %rdx.0.ph25.reload, i64 %4, i64 %2, i64 %1)\n %24 = add i64 %sv_1.021.in.reload, 1\n %25 = add i8 %sv_0.020.reload, -1\n %26 = icmp eq i8 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %24, i64* %sv_1.021.in.reg2mem\n store i8 %25, i8* %sv_0.020.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_3, label LBL_15\n LBL_8:\n %28 = add i64 %sv_1.021.in.reload, 1\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = icmp eq i8 %30, 4\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_2, i64 0, i64 0), i64 %.reload, i64 %rdx.0.ph25.reload, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_10:\n %33 = add i64 %sv_1.021.in.reload, 2\n %34 = inttoptr i64 %33 to i8*\n %35 = load i8, i8* %34, align 1\n %36 = zext i8 %35 to i64\n %37 = mul i64 %36, 256\n %38 = add i64 %sv_1.021.in.reload, 3\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i64\n %42 = or i64 %37, %41\n %43 = trunc i64 %42 to i16\n store i16 %43, i16* %17, align 2\n %44 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %42, i64 %4, i64 %2, i64 %1)\n %45 = load i8, i8* %29, align 1\n %46 = icmp ult i8 %sv_0.020.reload, %45\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_13, label LBL_12\n LBL_11:\n %48 = add i64 %sv_1.021.in.reload, 1\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = zext i8 %50 to i64\n %52 = zext i8 %19 to i64\n %53 = call i64 @FUNC(i8* getelementptr inbounds ([101 x i8], [101 x i8]* @gv_4, i64 0, i64 0), i64 %52, i64 %51, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_5, i64 0, i64 0), i64 %18, i64 %42, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %55 = zext i8 %45 to i64\n %56 = add i64 %sv_1.021.in.reload, %55\n %57 = sub i8 %sv_0.020.reload, %45\n %58 = icmp eq i8 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 %18, i64* %.reg2mem\n store i64 %56, i64* %sv_1.01826.in.reg2mem\n store i64 %42, i64* %rdx.0.ph25.reg2mem\n store i8 %57, i8* %sv_0.0.ph24.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_3.lr.ph, label LBL_15\n LBL_14:\n %sv_0.0.ph24.reload = load i8, i8* %sv_0.0.ph24.reg2mem\n %rdx.0.ph25.reload = load i64, i64* %rdx.0.ph25.reg2mem\n %sv_1.01826.in.reload = load i64, i64* %sv_1.01826.in.reg2mem\n %.reload = load i64, i64* %.reg2mem\n store i64 %sv_1.01826.in.reload, i64* %sv_1.021.in.reg2mem\n store i8 %sv_0.0.ph24.reload, i8* %sv_0.020.reg2mem\n br label LBL_3\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload, { 1, 0, 2 }\n uselistorder i64 %rdx.0.ph25.reload, { 1, 0, 2 }\n uselistorder i64 %42, { 0, 1, 3, 2 }\n uselistorder i64 %sv_1.021.in.reload, { 6, 2, 3, 4, 5, 1, 0 }\n uselistorder i8 %sv_0.020.reload, { 2, 1, 0 }\n uselistorder i64 %18, { 0, 2, 1 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %4, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %sv_1.021.in.reg2mem, { 2, 1, 0 }\n uselistorder i8* %sv_0.020.reg2mem, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 8, 6, 7, 2, 5, 3, 4 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 256, { 0, 3, 2, 1 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DEBUG, { 5, 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i8 0, { 1, 3, 2, 0, 4 }\n uselistorder i8 4, { 1, 0 }\n uselistorder label LBL_15, { 0, 4, 5, 6, 1, 7, 2, 3 }\n uselistorder label LBL_3.lr.ph, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_changeattr_10153", "fun_name": "update_changeattr", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi4.reg2mem = alloca i32*\n %.pre3.pre-phi.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %1 to i32\n %7 = or i32 %6, 7\n store i32 %7, i32* %arg1, align 4\n %8 = trunc i64 %2 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre5 = add i64 %4, 4\n %.pre = inttoptr i64 %.pre5 to i32*\n store i32* %.pre, i32** %.pre3.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n %10 = add i64 %3, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %4, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %12, %15\n store i32* %14, i32** %.pre3.pre-phi.reg2mem\n store i32* %14, i32** %.pre-phi4.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %.pre3.pre-phi.reload = load i32*, i32** %.pre3.pre-phi.reg2mem\n %17 = call i64 @FUNC(i64 %4)\n store i32* %.pre3.pre-phi.reload, i32** %.pre-phi4.reg2mem\n br label LBL_4\n LBL_4:\n %.pre-phi4.reload = load i32*, i32** %.pre-phi4.reg2mem\n %18 = add i64 %3, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n store i32 %20, i32* %.pre-phi4.reload, align 4\n %21 = call i64 @FUNC(i64 %4)\n ret i64 %21\n\n uselistorder i64 %4, { 2, 3, 1, 0, 4 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i32** %.pre-phi4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_bifs_dec_route_6970", "fun_name": "gf_bifs_dec_route", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %2, i64 1)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n %7 = trunc i64 %1 to i32\n %.pre = add i64 %3, 8\n %.pre3 = inttoptr i64 %.pre to i64*\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %8 = load i64, i64* %.pre3, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %2, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = urem i32 %13, 256\n %15 = add nuw nsw i32 %14, 1\n %16 = icmp eq i32 %7, 0\n store i32 %15, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %2, i64* nonnull %sv_3, i64 1000)\n store i32 %15, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %18 = load i64, i64* %.pre3, align 8\n %19 = add i64 %18, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %2, i64 %22)\n %24 = urem i64 %23, 256\n %25 = add nuw nsw i64 %24, 1\n %26 = add i64 %3, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28, i64 %25)\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %31, label LBL_4, label LBL_11\n LBL_4:\n %32 = call i64 @FUNC(i64 %29, i64 0)\n %33 = add i64 %32, 4294967295\n %34 = and i64 %33, 4294967295\n %35 = call i64 @FUNC(i64 %34)\n %36 = and i64 %35, 4294967295\n %37 = call i64 @FUNC(i64 %2, i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = urem i32 %38, 256\n %40 = bitcast i32* %sv_2 to i64*\n %41 = call i64 @FUNC(i64 %29, i32 %39, i64 0, i64* nonnull %40)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n store i64 %41, i64* %rax.0.shrunk.reg2mem\n br i1 %43, label LBL_5, label LBL_11\n LBL_5:\n %44 = load i64, i64* %.pre3, align 8\n %45 = add i64 %44, 4\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %2, i64 %48)\n %50 = urem i64 %49, 256\n %51 = add nuw nsw i64 %50, 1\n %52 = load i64, i64* %27, align 8\n %53 = call i64 @FUNC(i64 %52, i64 %51)\n %54 = icmp eq i64 %53, 0\n %55 = icmp eq i1 %54, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %55, label LBL_6, label LBL_11\n LBL_6:\n %56 = call i64 @FUNC(i64 %53, i64 1)\n %57 = add i64 %56, 4294967295\n %58 = and i64 %57, 4294967295\n %59 = call i64 @FUNC(i64 %58)\n %60 = and i64 %59, 4294967295\n %61 = call i64 @FUNC(i64 %2, i64 %60)\n %62 = trunc i64 %61 to i32\n %63 = urem i32 %62, 256\n %64 = bitcast i32* %sv_1 to i64*\n %65 = call i64 @FUNC(i64 %53, i32 %63, i64 1, i64* nonnull %64)\n %66 = trunc i64 %65 to i32\n %67 = icmp eq i32 %66, 0\n store i64 %65, i64* %rax.0.shrunk.reg2mem\n br i1 %67, label LBL_7, label LBL_11\n LBL_7:\n %68 = load i32, i32* %sv_1, align 4\n %69 = load i32, i32* %sv_2, align 4\n %70 = zext i32 %69 to i64\n %71 = load i64, i64* %27, align 8\n %72 = zext i32 %68 to i64\n %73 = call i64 @FUNC(i64 %71, i64 %29, i64 %70, i64 %53, i64 %72)\n %74 = icmp eq i64 %73, 0\n %75 = icmp eq i1 %74, false\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %75, label LBL_8, label LBL_11\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %76 = icmp eq i32 %sv_0.0.reload, 0\n store i64 %65, i64* %rax.0.shrunk.reg2mem\n br i1 %76, label LBL_11, label LBL_9\n LBL_9:\n %77 = zext i32 %sv_0.0.reload to i64\n %78 = call i64 @FUNC(i64 %73, i64 %77)\n %79 = trunc i64 %78 to i32\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n %82 = icmp eq i32 %7, 0\n %or.cond = or i1 %82, %81\n store i64 %78, i64* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_10\n LBL_10:\n %83 = call i64 @FUNC(i64 %73, i64* nonnull %sv_3)\n store i64 %83, i64* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32 %15, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i32, i64, i64*)* @gf_bifs_get_field_index, { 1, 0 }\n uselistorder i64 (i64)* @gf_get_bit_size, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_node_get_num_fields_in_mode, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_sg_find_node, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_11, { 2, 1, 0, 3, 4, 5, 6, 7 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "png_crc_finish_9937", "fun_name": "png_crc_finish", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i1\n %sv_0.08.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_0.0.in6 = mul i64 %arg2, 4294967296\n %sv_0.07 = ashr exact i64 %sv_0.0.in6, 32\n %1 = trunc i64 %sv_0.07 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i32 %1, i32* %.reg2mem\n store i64 %sv_0.07, i64* %sv_0.08.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %4 = icmp ugt i32 %.reload, 8191\n %spec.select = select i1 %4, i64 8192, i64 %sv_0.08.reload\n %5 = sub nsw i64 %sv_0.08.reload, %spec.select\n %6 = trunc i64 %spec.select to i32\n %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i32 %6)\n %sv_0.0.in = mul i64 %5, 4294967296\n %sv_0.0 = ashr exact i64 %sv_0.0.in, 32\n %8 = trunc i64 %sv_0.0 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i32 %8, i32* %.reg2mem\n store i64 %sv_0.0, i64* %sv_0.08.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %13, label LBL_9, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = add i64 %0, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %20 = urem i32 %19, 2\n %21 = icmp eq i32 %20, 0\n store i1 %21, i1* %storemerge.in.reg2mem\n br label LBL_6\n LBL_5:\n %22 = and i32 %19, 2\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i1 %24, i1* %storemerge.in.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.in.reload = load i1, i1* %storemerge.in.reg2mem\n %25 = icmp eq i1 %storemerge.in.reload, false\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %storemerge3.reg2mem\n br label LBL_9\n LBL_8:\n %27 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %storemerge3.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i32 %19, { 1, 0 }\n uselistorder i64 %sv_0.08.reload, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.08.reg2mem, { 2, 0, 1 }\n uselistorder i1* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_9, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blkreplay_co_flush_1300", "fun_name": "blkreplay_co_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 %1, i64 %0, i64 %3)\n %5 = call i64 @FUNC()\n %6 = and i64 %2, 4294967295\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ovl_show_options_6210", "fun_name": "ovl_show_options", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %5)\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %10)\n br label LBL_2\n LBL_2:\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64 %1, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i8*, i64)* @seq_show_option, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdhci_end_transfer_715", "fun_name": "sdhci_end_transfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32, i32* %1\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %7 = urem i64 %2, 2\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n store i32 12, i32* %sv_1, align 4\n %9 = call i64 @FUNC(i64 12, i64 0)\n %10 = add i64 %3, 32\n %11 = bitcast i32* %sv_0 to i64*\n %12 = bitcast i32* %sv_1 to i8*\n %13 = call i64 @FUNC(i64 %10, i8* nonnull %12, i64* nonnull %11)\n %14 = load i32, i32* %sv_0, align 4\n %15 = mul i32 %14, 16777216\n %16 = mul i32 %6, 65536\n %17 = and i32 %16, 16711680\n %18 = mul i32 %5, 256\n %19 = and i32 %18, 65280\n %20 = urem i32 %4, 256\n %21 = or i32 %19, %20\n %22 = or i32 %21, %17\n %23 = or i32 %22, %15\n %24 = add i64 %3, 28\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n br label LBL_2\n LBL_2:\n %26 = add i64 %3, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = and i32 %28, -127\n store i32 %29, i32* %27, align 4\n %30 = add i64 %3, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = trunc i32 %32 to i8\n %34 = icmp sgt i8 %33, -1\n br i1 %34, label LBL_4, label LBL_3\n LBL_3:\n %35 = add i64 %3, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = or i32 %37, 256\n store i32 %38, i32* %36, align 4\n br label LBL_4\n LBL_4:\n %39 = call i64 @FUNC(i64 %3)\n ret i64 %39\n\n uselistorder i32* %sv_1, { 1, 0 }\n uselistorder i64 %3, { 2, 4, 3, 5, 0, 1 }\n uselistorder i32* %1, { 2, 1, 0 }\n uselistorder i32 256, { 3, 1, 0, 2 }\n uselistorder i64 12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_deactivate_device_10854", "fun_name": "vmxnet3_deactivate_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i64, i64* %0\n %7 = trunc i64 %3 to i8\n %8 = icmp eq i8 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %6, i64 %2, i64 %1)\n %11 = add i64 %9, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i64, i64* %12, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %9, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %21, align 1\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_stack_dump_bottom_7287", "fun_name": "get_stack_dump_bottom", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp ult i64 %0, 4\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = and i64 %0, -4\n %3 = icmp eq i64 %2, 4\n store i64 %arg1, i64* %rax.0.in.reg2mem\n br i1 %3, label LBL_3, label LBL_4\n LBL_2:\n %4 = add i64 %arg1, 4095\n %5 = and i64 %4, -4096\n store i64 %5, i64* %rax.0.in.reg2mem\n br label LBL_4\n LBL_3:\n %6 = add i64 %arg1, 8191\n %7 = and i64 %6, -8192\n store i64 %7, i64* %rax.0.in.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem\n %rax.0 = add i64 %rax.0.in.reload, -8\n ret i64 %rax.0\n\n uselistorder i64* %rax.0.in.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "restore_boot_order_519", "fun_name": "restore_boot_order", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = zext i32 %0 to i64\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %3 = load i64, i64* @gv_1, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_4, label LBL_3\n LBL_3:\n %5 = call i64 @FUNC(i64 %arg1, i64 4198767)\n br label LBL_4\n LBL_4:\n %6 = call i64 @FUNC(i64 4198774, i64 %arg1)\n %7 = call i64 @FUNC(i64 %arg1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stop_tco_3108", "fun_name": "stop_tco", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %0, i64 %4, i64 0)\n %6 = load i32, i32* %2, align 4\n %7 = and i64 %5, 4294967294\n %8 = or i64 %7, 1\n %9 = call i64 @FUNC(i64 %0, i32 %6, i64 0, i64 %8)\n ret i64 %9\n\n uselistorder i64 %0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cliOutputCommandHelp_10796", "fun_name": "cliOutputCommandHelp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %0 = trunc i64 %arg2 to i32\n %1 = call i32 (i8*, ...) @printf(i8* bitcast (i8** @gv_0 to i8*))\n %2 = call i32 (i8*, ...) @printf(i8* bitcast (i8** @gv_1 to i8*))\n %3 = call i32 (i8*, ...) @printf(i8* bitcast (i8** @gv_2 to i8*))\n %4 = icmp eq i32 %0, 0\n store i32 %3, i32* %rax.0.in.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i32 (i8*, ...) @printf(i8* bitcast (i8** @gv_3 to i8*))\n store i32 %5, i32* %rax.0.in.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = sext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 0, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder i32 (i8*, ...)* @printf, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_listxattr_13285", "fun_name": "fuse_listxattr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %sv_2, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 -13, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_6\n LBL_1:\n %11 = load i64, i64* %5, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n store i64 -95, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_6\n LBL_2:\n %15 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 8)\n store i64 %arg3, i64* %sv_1, align 8\n store i64 1, i64* %sv_2, align 8\n %16 = call i64 @FUNC(i64 %3)\n %17 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2)\n %18 = icmp eq i64 %arg3, 0\n %19 = or i64 %17, %arg3\n %20 = icmp eq i64 %19, 0\n %21 = icmp ult i64 %2, 65536\n %22 = select i1 %21, i64 %2, i64 65536\n %sv_0.0 = select i1 %20, i64 %22, i64 %17\n %23 = icmp slt i64 %sv_0.0, 1\n %or.cond = or i1 %18, %23\n store i64 %sv_0.0, i64* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %24 = ptrtoint i64* %arg2 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %sv_0.0)\n store i64 %25, i64* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %26 = icmp eq i64 %sv_0.1.reload, -38\n %27 = icmp eq i1 %26, false\n store i64 %sv_0.1.reload, i64* %rax.0.reg2mem\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = load i64, i64* %5, align 8\n %29 = inttoptr i64 %28 to i32*\n store i32 1, i32* %29, align 4\n store i64 -95, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0, { 1, 0, 2 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64 1, { 2, 3, 0, 1 }\n uselistorder i32 0, { 0, 2, 3, 1 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "copy_2790", "fun_name": "copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp sgt i64 %arg2, -1\n %6 = zext i1 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = sub i64 %10, %0\n %12 = icmp sgt i64 %1, %11\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_1, label LBL_2\n LBL_1:\n %13 = icmp sgt i64 %11, 0\n %14 = select i1 %13, i64 %11, i64 0\n %sext3 = mul i64 %14, 4294967296\n %15 = ashr exact i64 %sext3, 32\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = or i32 %18, 1\n store i32 %19, i32* %17, align 4\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = add i64 %0, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = sub i64 %22, %4\n %24 = icmp sgt i64 %sv_0.0.reload, %23\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %24, label LBL_3, label LBL_4\n LBL_3:\n %25 = icmp sgt i64 %23, 0\n %26 = select i1 %25, i64 %23, i64 0\n %sext5 = mul i64 %26, 4294967296\n %27 = ashr exact i64 %sext5, 32\n %28 = add i64 %0, 32\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = or i32 %30, 2\n store i32 %31, i32* %29, align 4\n store i64 %27, i64* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %32 = trunc i64 %sv_0.1.reload to i32\n %33 = inttoptr i64 %4 to i64*\n %34 = call i64* @memcpy(i64* %33, i64* %arg1, i32 %32)\n %35 = add i64 %sv_0.1.reload, %0\n store i64 %35, i64* %arg1, align 8\n %36 = add i64 %sv_0.1.reload, %4\n store i64 %36, i64* %3, align 8\n ret i64 %0\n\n uselistorder i64 %sv_0.1.reload, { 2, 1, 0 }\n uselistorder i64 %23, { 1, 0, 2 }\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 7, 5, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 3, 0, 4, 1, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "restore_fpu_state_5372", "fun_name": "restore_fpu_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %.reg2mem = alloca i32*\n %0 = load i32*, i32** @gv_0, align 8\n %1 = load i32, i32* %0, align 4\n %2 = urem i32 %1, 2\n %3 = icmp eq i32 %2, 0\n store i32* %0, i32** %.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load i64, i64* @gv_1, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = and i64 %6, -3\n store i64 %7, i64* %5, align 8\n %.pre = load i32*, i32** @gv_0, align 8\n store i32* %.pre, i32** %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32*, i32** %.reg2mem\n %8 = ptrtoint i32* %.reload to i64\n %9 = load i64, i64* @gv_2, align 8\n %10 = icmp eq i64 %9, %8\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %.pre-phi.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* @gv_2, align 8\n %12 = load i64, i64* @gv_1, align 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = and i64 %14, -3\n store i64 %15, i64* %13, align 8\n %.pre1 = load i32*, i32** @gv_0, align 8\n %.pre2 = ptrtoint i32* %.pre1 to i64\n store i64 %.pre2, i64* %.pre-phi.reg2mem\n br label LBL_4\n LBL_4:\n %16 = ptrtoint i64* %arg2 to i64\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %17 = add i64 %.pre-phi.reload, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 1, i32* %18, align 4\n %19 = load i32*, i32** @gv_0, align 8\n %20 = load i32, i32* %19, align 4\n %21 = and i32 %20, -2\n store i32 %21, i32* %19, align 4\n %22 = call i64 @FUNC(i64 1, i64 %16, i64 400)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %24, label LBL_5, label LBL_8\n LBL_5:\n %25 = ptrtoint i64* %arg1 to i64\n %26 = call i64 @FUNC(i64 %25, i64 %16, i64 256)\n %27 = add i64 %16, 256\n %28 = add i64 %25, 256\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30, i64 %27)\n %32 = or i64 %31, %26\n %33 = add i64 %16, 264\n %34 = load i32*, i32** @gv_0, align 8\n %35 = ptrtoint i32* %34 to i64\n %36 = add i64 %35, 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = sext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39, i64 %33)\n %41 = or i64 %32, %40\n %42 = load i32*, i32** @gv_0, align 8\n %43 = ptrtoint i32* %42 to i64\n %44 = add i64 %43, 8\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, 0\n store i64 %41, i64* %sv_0.0.in.reg2mem\n br i1 %47, label LBL_7, label LBL_6\n LBL_6:\n %48 = add i64 %16, 272\n %49 = add i64 %43, 16\n %50 = call i64 @FUNC(i64 %49, i64 %48, i64 256)\n %51 = or i64 %50, %41\n store i64 %51, i64* %sv_0.0.in.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %52 = and i64 %sv_0.0.in.reload, 4294967295\n store i64 %52, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %41, { 1, 0 }\n uselistorder i64 %25, { 1, 0 }\n uselistorder i32** %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @__get_user, { 1, 0 }\n uselistorder i64 256, { 0, 2, 3, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_swevent_init_11125", "fun_name": "perf_swevent_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_7\n LBL_1:\n %8 = call i64 @FUNC(i64 %2)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 2, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_7\n LBL_2:\n %11 = icmp ugt i32 %5, 1\n %12 = icmp slt i32 %5, 2\n %or.cond = icmp eq i1 %11, %12\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_7\n LBL_3:\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %2)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = and i64 %18, 4294967295\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %22 = sext i32 %5 to i64\n %23 = mul i64 %22, 4\n %24 = add i64 %23, ptrtoint (i64* @gv_0 to i64)\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %2, 16\n %27 = inttoptr i64 %26 to i64*\n store i64 4198750, i64* %27, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %5, { 2, 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 1, 3, 4, 5 }\n uselistorder label LBL_7, { 2, 5, 1, 0, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handle_parse_opts_16768", "fun_name": "handle_parse_opts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %3 = icmp eq i64 %1, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %5 = icmp eq i64 %2, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %8 = call i64 @FUNC(i64 %2)\n store i64 %8, i64* %arg2, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i8*)* @error_report, { 1, 0 }\n uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "onenand_reset_453", "fun_name": "onenand_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %arg2 to i32\n %5 = call i64* @memset(i64* %arg1, i32 0, i32 4)\n %6 = add i64 %3, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n %10 = add i64 %3, 12\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %3, 16\n %13 = inttoptr i64 %12 to i32*\n store i32 16576, i32* %13, align 4\n %14 = add i64 %3, 20\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %3)\n %17 = add i64 %3, 24\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %3, 28\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = icmp eq i32 %4, 0\n %25 = select i1 %24, i32 32784, i32 32896\n %26 = add i64 %3, 32\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = add i64 %3, 36\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %3, 40\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %32 = add i64 %3, 44\n %33 = inttoptr i64 %32 to i32*\n store i32 2, i32* %33, align 4\n %34 = add i64 %3, 48\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = add i64 %3, 52\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %38 = add i64 %3, 60\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i64 %3, 56\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n %43 = add i64 %3, 64\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i64 %3, 88\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = add i64 %3, 72\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i64 %3, 68\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %24, label LBL_4, label LBL_1\n LBL_1:\n %53 = add i64 %3, 76\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = add i64 %3, 84\n %57 = inttoptr i64 %56 to i64*\n %58 = call i64* @memset(i64* %57, i32 1, i32 %55)\n %59 = load i32, i32* %42, align 4\n %60 = icmp eq i32 %59, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %60, label LBL_4, label LBL_2\n LBL_2:\n %61 = zext i32 %59 to i64\n %62 = add i64 %3, 80\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = sext i32 %64 to i64\n %66 = call i64 @FUNC(i64 %61, i64 0, i64 %65, i64 4096)\n %67 = trunc i64 %66 to i32\n %68 = icmp slt i32 %67, 0\n %69 = icmp eq i1 %68, false\n store i64 %66, i64* %rax.0.reg2mem\n br i1 %69, label LBL_4, label LBL_3\n LBL_3:\n %70 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %65, i64 4096, i64 %2, i64 %1)\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %59, { 1, 0 }\n uselistorder i64 %3, { 1, 3, 2, 0, 5, 4, 7, 6, 9, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dma_aio_cancel_376", "fun_name": "dma_aio_cancel", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* %2, align 8\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i8*\n store i8 1, i8* %6, align 1\n %7 = call i64 @FUNC(i64 %3)\n store i8 0, i8* %6, align 1\n br label LBL_2\n LBL_2:\n store i64 0, i64* %arg1, align 8\n %8 = call i64 @FUNC(i64 %0, i64 0)\n ret i64 %8\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "superh_cpu_initfn_13978", "fun_name": "superh_cpu_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = call i64 @FUNC(i64 %1, i64 4198775)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %2, i64* %6, align 8\n %7 = call i64 @FUNC()\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC()\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_serial_class_init_830", "fun_name": "virtio_serial_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n store i64 %1, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = or i32 %4, 1\n store i32 %5, i32* %3, align 4\n store i64 4198662, i64* %arg1, align 8\n %6 = inttoptr i64 %2 to i64*\n store i64 4198669, i64* %6, align 8\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 4198676, i64* %8, align 8\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 4198683, i64* %10, align 8\n %11 = add i64 %0, 32\n %12 = inttoptr i64 %11 to i64*\n store i64 4198690, i64* %12, align 8\n %13 = add i64 %0, 40\n %14 = inttoptr i64 %13 to i64*\n store i64 4198697, i64* %14, align 8\n %15 = add i64 %0, 48\n %16 = inttoptr i64 %15 to i64*\n store i64 4198704, i64* %16, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inet_sock_destruct_13669", "fun_name": "inet_sock_destruct", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %6, 24\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %6, 32\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %6)\n %13 = trunc i64 %3 to i32\n %14 = icmp eq i32 %13, 1\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_3, label LBL_1\n LBL_1:\n %16 = add i64 %6, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = zext i32 %18 to i64\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %6, i64 %5, i64 %2, i64 %1)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %22 = call i64 @FUNC(i64 %6, i64 1)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %27 = add i64 %6, 16\n %28 = call i64 @FUNC(i64 %27)\n %29 = and i64 %28, 4294967295\n %30 = call i64 @FUNC(i64 %29)\n %31 = add i64 %6, 20\n %32 = call i64 @FUNC(i64 %31)\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %6, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = add i64 %6, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %43)\n %45 = inttoptr i64 %7 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46, i64 1)\n %48 = call i64 @FUNC(i64 %47)\n %49 = add i64 %6, 40\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = call i64 @FUNC(i64 %51, i64 1)\n %53 = call i64 @FUNC(i64 %52)\n %54 = call i64 @FUNC(i64 %6)\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 3, 2, 5, 4, 7, 6, 8, 9, 1, 0, 10, 11, 12, 13 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @WARN_ON, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i64 (i64)* @atomic_read, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_err, { 1, 0 }\n uselistorder i64 (i64)* @__skb_queue_purge, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_disk_info_12380", "fun_name": "get_disk_info", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %storemerge.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.be.reg2mem = alloca i32\n %pf.0.in.in.reg2mem = alloca i8\n %sv_0.07.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %2 = call i128 @FUNC(i128 %1, i128 %1)\n %3 = call i64 @FUNC(i128 %2)\n %4 = call i128 @FUNC(i128 %2, i128 %2)\n %5 = call i64 @__asm_movsd.1(i128 %4)\n store i64 %5, i64* %sv_3, align 8\n %6 = call i128 @FUNC(i128 %4, i128 %4)\n %7 = call i64 @__asm_movsd.1(i128 %6)\n store i64 %7, i64* %sv_2, align 8\n %8 = call i128 @FUNC(i128 %6, i128 %6)\n %9 = call i64 @__asm_movsd.1(i128 %8)\n %10 = call i128 @FUNC(i128 %8, i128 %8)\n %11 = call i64 @__asm_movsd.1(i128 %10)\n %12 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %13 = icmp eq %_IO_FILE* %12, null\n %14 = icmp eq i1 %13, false\n store i64 %9, i64* %rax.0.reg2mem\n store i64 %11, i64* %storemerge.reg2mem\n br i1 %14, label LBL_1, label LBL_17\n LBL_1:\n %15 = bitcast i64* %sv_1 to i8*\n %16 = call i8* @fgets(i8* nonnull %15, i32 1024, %_IO_FILE* %12)\n %17 = icmp eq i8* %16, null\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_2, label LBL_16\n LBL_2:\n %19 = trunc i64 %3 to i32\n %20 = ptrtoint i64* %sv_1 to i64\n store i32 %19, i32* %sv_0.07.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem\n %21 = call i8* @index(i8* nonnull %15, i32 32)\n %22 = icmp eq i8* %21, null\n %23 = icmp eq i1 %22, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %23, label LBL_4, label LBL_15\n LBL_4:\n %24 = ptrtoint i8* %21 to i64\n %25 = add i64 %24, 1\n %26 = inttoptr i64 %25 to i8*\n store i8 0, i8* %21, align 1\n %27 = call i8* @index(i8* %26, i32 32)\n %28 = icmp eq i8* %27, null\n %29 = icmp eq i1 %28, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %29, label LBL_5, label LBL_15\n LBL_5:\n %30 = ptrtoint i8* %27 to i64\n %31 = add i64 %30, 1\n %32 = inttoptr i64 %31 to i8*\n store i8 0, i8* %27, align 1\n %33 = call i8* @index(i8* %32, i32 32)\n %34 = icmp eq i8* %33, null\n %35 = icmp eq i1 %34, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %35, label LBL_6, label LBL_15\n LBL_6:\n %36 = ptrtoint i8* %33 to i64\n %37 = add i64 %36, 1\n %38 = inttoptr i64 %37 to i8*\n store i8 0, i8* %33, align 1\n %39 = call i8* @index(i8* %38, i32 32)\n %40 = icmp eq i8* %39, null\n br i1 %40, label LBL_8, label LBL_7\n LBL_7:\n store i8 0, i8* %39, align 1\n br label LBL_8\n LBL_8:\n %41 = call i32 @strncmp(i8* %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 2)\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %43, label LBL_9, label LBL_15\n LBL_9:\n %44 = call i64 @FUNC(i64 %20, i64 %31)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %46, label LBL_10, label LBL_15\n LBL_10:\n %47 = call i32 @strncmp(i8* nonnull %15, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i32 5)\n %48 = icmp eq i32 %47, 0\n %49 = trunc i32 %47 to i8\n %50 = call i8 @llvm.ctpop.i8(i8 %49), !range !64\n store i8 %50, i8* %pf.0.in.in.reg2mem\n br i1 %48, label LBL_12, label LBL_11\n LBL_11:\n %51 = call i32 @strncmp(i8* nonnull %15, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i32 6)\n %52 = icmp eq i32 %51, 0\n %53 = trunc i32 %51 to i8\n %54 = call i8 @llvm.ctpop.i8(i8 %53), !range !64\n store i8 %54, i8* %pf.0.in.in.reg2mem\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %52, label LBL_12, label LBL_15\n LBL_12:\n %pf.0.in.in.reload = load i8, i8* %pf.0.in.in.reg2mem\n %pf.0.in = urem i8 %pf.0.in.in.reload, 2\n %pf.0 = icmp eq i8 %pf.0.in, 0\n %55 = call i128 @FUNC(i64 %25, i64 %20, i64* nonnull %sv_3, i64* nonnull %sv_2)\n %56 = call i32 @FUNC(i128 %55)\n %57 = call i128 @FUNC(i128 %55, i128 %55)\n call void @FUNC(i128 %57, i32 %sv_0.07.reload)\n br i1 %pf.0, label LBL_13, label LBL_14\n LBL_13:\n %58 = call i128 @__asm_movss.2(i32 %56)\n call void @FUNC(i128 %58, i32 %sv_0.07.reload)\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br label LBL_15\n LBL_14:\n %59 = call i128 @FUNC(i128 %57, i128 %57)\n call void @FUNC(i128 %59, i32 %sv_0.07.reload)\n %60 = call i128 @__asm_movss.2(i32 %56)\n %61 = call i64 @FUNC(i128 %60)\n %62 = trunc i64 %61 to i32\n store i32 %62, i32* %sv_0.0.be.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem\n %63 = call i8* @fgets(i8* nonnull %15, i32 1024, %_IO_FILE* %12)\n %64 = icmp eq i8* %63, null\n %65 = icmp eq i1 %64, false\n store i32 %sv_0.0.be.reload, i32* %sv_0.07.reg2mem\n br i1 %65, label LBL_3, label LBL_16\n LBL_16:\n %66 = call i32 @fclose(%_IO_FILE* %12)\n %67 = call i64 @FUNC()\n %68 = load i64, i64* %sv_3, align 8\n %69 = call i128 @FUNC(i64 %68)\n %70 = call i128 @FUNC(i64 4652007308841189376)\n %71 = call i128 @FUNC(i128 %69, i128 %70)\n %72 = call i64 @__asm_movsd.1(i128 %71)\n %73 = load i64, i64* %sv_2, align 8\n %74 = call i128 @FUNC(i64 %73)\n %75 = call i128 @FUNC(i64 4652007308841189376)\n %76 = call i128 @FUNC(i128 %74, i128 %75)\n %77 = call i64 @__asm_movsd.1(i128 %76)\n store i64 %72, i64* %rax.0.reg2mem\n store i64 %77, i64* %storemerge.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %78 = call i128 @FUNC(i64 %rax.0.reload)\n %79 = call i128 @FUNC(i128 %78, i64 %storemerge.reload, i8 1)\n %80 = call i128 @FUNC(i64 %storemerge.reload)\n ret i64 %rax.0.reload\n\n uselistorder i128 %57, { 1, 0, 2 }\n uselistorder i128 %55, { 2, 1, 0 }\n uselistorder i32 %51, { 1, 0 }\n uselistorder i32 %47, { 1, 0 }\n uselistorder i8* %33, { 1, 0, 2 }\n uselistorder i8* %27, { 1, 0, 2 }\n uselistorder i8* %21, { 1, 0, 2 }\n uselistorder i32 %sv_0.07.reload, { 9, 6, 8, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i8* %15, { 4, 1, 2, 3, 0 }\n uselistorder %_IO_FILE* %12, { 1, 2, 0, 3 }\n uselistorder i128 %8, { 2, 1, 0 }\n uselistorder i128 %6, { 2, 1, 0 }\n uselistorder i128 %4, { 2, 1, 0 }\n uselistorder i128 %2, { 2, 1, 0 }\n uselistorder i64* %sv_3, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.be.reg2mem, { 0, 7, 8, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 2, 1, 0 }\n uselistorder i8* (i8*, i32)* @index, { 3, 2, 1, 0 }\n uselistorder i8* null, { 5, 1, 2, 3, 4, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i32 1024, { 1, 0 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0, 6 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "idct4col_add_16493", "fun_name": "idct4col_add", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i32* %arg1 to i64\n %5 = trunc i64 %2 to i32\n %6 = add i64 %3, 32\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %3, 64\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %3, 96\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i32 %11, %5\n %16 = mul i32 %15, 300\n %17 = add i32 %16, 8192\n %18 = sub i32 %5, %11\n %19 = mul i32 %18, 300\n %20 = add i32 %19, 8192\n %21 = mul i32 %8, 100\n %22 = mul i32 %14, 200\n %23 = add i32 %22, %21\n %24 = mul i32 %8, 200\n %25 = mul i32 %14, -100\n %26 = add i32 %25, %24\n %27 = trunc i64 %1 to i32\n %28 = add i32 %23, %17\n %29 = ashr i32 %28, 14\n %30 = urem i32 %27, 256\n %31 = add nsw i32 %29, %30\n %32 = sext i32 %31 to i64\n %33 = add i64 %32, ptrtoint (i8** @gv_0 to i64)\n %34 = inttoptr i64 %33 to i8*\n %35 = load i8, i8* %34, align 1\n %36 = bitcast i32* %arg1 to i8*\n store i8 %35, i8* %36, align 1\n %sext = mul i64 %arg2, 4294967296\n %37 = ashr exact i64 %sext, 32\n %38 = add i64 %37, %4\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = add i32 %26, %20\n %42 = ashr i32 %41, 14\n %43 = zext i8 %40 to i32\n %44 = add nsw i32 %42, %43\n %45 = sext i32 %44 to i64\n %46 = add i64 %45, ptrtoint (i8** @gv_0 to i64)\n %47 = inttoptr i64 %46 to i8*\n %48 = load i8, i8* %47, align 1\n store i8 %48, i8* %39, align 1\n %49 = add i64 %38, %37\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = sub i32 %20, %26\n %53 = ashr i32 %52, 14\n %54 = zext i8 %51 to i32\n %55 = add nsw i32 %53, %54\n %56 = sext i32 %55 to i64\n %57 = add i64 %56, ptrtoint (i8** @gv_0 to i64)\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n store i8 %59, i8* %50, align 1\n %60 = add i64 %49, %37\n %61 = inttoptr i64 %60 to i8*\n %62 = load i8, i8* %61, align 1\n %63 = sub i32 %17, %23\n %64 = ashr i32 %63, 14\n %65 = zext i8 %62 to i32\n %66 = add nsw i32 %64, %65\n %67 = sext i32 %66 to i64\n %68 = add i64 %67, ptrtoint (i8** @gv_0 to i64)\n %69 = inttoptr i64 %68 to i8*\n %70 = load i8, i8* %69, align 1\n store i8 %70, i8* %61, align 1\n ret i64 %60\n\n uselistorder i32 %26, { 1, 0 }\n uselistorder i32 %23, { 1, 0 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "startVideoStream_7055", "fun_name": "startVideoStream", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6, i64 1024)\n %8 = trunc i64 %7 to i32\n store i32 %8, i32* @gv_2, align 4\n %9 = icmp eq i32 %8, -1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC()\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %12 = call i64 @FUNC(i64 4198861, i64 0, i64* nonnull @gv_3)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = and i64 %12, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %16 = load i32, i32* @gv_4, align 4\n %17 = urem i32 %16, 2\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_7, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 4198876, i64 0, i64* nonnull @gv_5)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = and i64 %20, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %24 = load i32, i32* @gv_6, align 4\n %25 = icmp eq i32 %24, 3\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_10, label LBL_8\n LBL_8:\n %27 = load i32, i32* @gv_7, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64* nonnull @gv_1, i64 %28, i64 8080, i64 5)\n %30 = trunc i64 %29 to i32\n store i32 %30, i32* @gv_8, align 4\n %31 = icmp eq i32 %30, -1\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = call i64 @FUNC()\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_10:\n %34 = call i64 @FUNC(i64 4198891, i64 0, i64* nonnull @gv_9)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_12, label LBL_11\n LBL_11:\n %37 = and i64 %34, 4294967295\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_12:\n %38 = load i32, i32* @gv_6, align 4\n %39 = icmp eq i32 %38, 3\n %40 = icmp eq i1 %39, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %40, label LBL_14, label LBL_13\n LBL_13:\n %41 = call i64 @FUNC()\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n %44 = and i64 %41, 4294967295\n %spec.select = select i1 %43, i64 0, i64 %44\n ret i64 %spec.select\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 6, 5, 4, 3, 2 }\n uselistorder i32* @gv_6, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @PltCreateThread, { 2, 1, 0 }\n uselistorder i64 ()* @LastSocketError, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xmt_report_12311", "fun_name": "xmt_report", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %21 = ashr exact i64 %sext, 32\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = ptrtoint i64* %arg1 to i64\n %25 = add i64 %24, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 %22, i32* %26, align 4\n br label LBL_4\n LBL_4:\n %27 = and i64 %21, 4294967295\n ret i64 %27\n\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "UpdateRTInfo_10406", "fun_name": "UpdateRTInfo", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = alloca i32\n %rax.0.reg2mem = alloca i64\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %5 = load i32, i32* %2\n %6 = load i64, i64* %1\n %sv_2 = alloca i32, align 4\n %7 = load i8, i8* bitcast (i32* @gv_0 to i8*), align 4\n %8 = icmp eq i8 %7, 1\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %10 = ptrtoint %_IO_FILE* %9 to i64\n %11 = icmp eq %_IO_FILE* %9, null\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %11, label LBL_11, label LBL_2\n LBL_2:\n %12 = load i32, i32* inttoptr (i64 4210744 to i32*), align 8\n %13 = zext i32 %12 to i64\n %14 = bitcast i32* %sv_2 to i64*\n %15 = call i64 @FUNC(i64 %13, i64* nonnull %14, i64 0)\n %16 = and i64 %15, 4294967295\n %17 = xor i64 %16, 1\n %18 = trunc i64 %17 to i8\n %19 = icmp ne i8 %18, 0\n %20 = icmp eq i64 %arg1, 0\n %or.cond = icmp eq i1 %20, %19\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_11, label LBL_3\n LBL_3:\n %21 = load i8, i8* bitcast (i32* @gv_0 to i8*), align 4\n %22 = icmp eq i8 %21, 0\n br i1 %22, label LBL_8, label LBL_4\n LBL_4:\n %23 = load i32, i32* %sv_2, align 4\n %24 = icmp eq i32 %23, 0\n %25 = load i32, i32* @gv_2, align 4\n %26 = icmp sgt i32 %25, 1\n %or.cond5 = or i1 %24, %26\n %27 = udiv i64 %6, 1024\n %28 = load i64, i64* @gv_3, align 8\n %29 = call i128 @FUNC(i64 %28, i64 0)\n br i1 %or.cond5, label LBL_6, label LBL_5\n LBL_5:\n %30 = call i128 @FUNC(i128 %4, i128 %4)\n %31 = call i128 @FUNC(i128 %29)\n %32 = call i64 @FUNC(i128 %31)\n %33 = and i64 %27, 4294967295\n %34 = zext i32 %5 to i64\n %35 = zext i32 %23 to i64\n %36 = call i128 @__asm_movq.1(i64 %32)\n %37 = bitcast i64* %sv_1 to i8*\n %38 = trunc i128 %36 to i64\n %39 = bitcast i64 %38 to double\n %40 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %37, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), double %39, i64 %35, i64 %34, i64 %33)\n br label LBL_7\n LBL_6:\n %41 = call i128 @FUNC(i128 %3, i128 %3)\n %42 = call i128 @FUNC(i128 %29)\n %43 = call i64 @FUNC(i128 %42)\n %44 = and i64 %27, 4294967295\n %45 = zext i32 %5 to i64\n %46 = call i128 @__asm_movq.1(i64 %43)\n %47 = bitcast i64* %sv_1 to i8*\n %48 = trunc i128 %46 to i64\n %49 = bitcast i64 %48 to double\n %50 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %47, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0), double %49, i64 %45, i64 %44)\n br label LBL_7\n LBL_7:\n store i32 1, i32* %sv_0, align 4\n %51 = load i64, i64* @gv_3, align 8\n %52 = call i64 @FUNC(i64 %51, i32* nonnull %sv_0)\n br label LBL_8\n LBL_8:\n %53 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %54 = ptrtoint %_IO_FILE* %53 to i64\n %55 = icmp eq %_IO_FILE* %53, null\n store i64 %54, i64* %rax.0.reg2mem\n br i1 %55, label LBL_11, label LBL_9\n LBL_9:\n %storemerge = select i1 %20, i64 ptrtoint (i8** @gv_6 to i64), i64 %arg1\n %56 = udiv i64 %6, 1024\n %57 = and i64 %56, 4294967295\n %58 = load i64, i64* @gv_3, align 8\n %59 = call i128 @FUNC(i64 %58, i64 0)\n %60 = call i64 @FUNC(i128 %59)\n %61 = load i32, i32* %sv_2, align 4\n %62 = load i64, i64* @gv_3, align 8\n %63 = call i64 @FUNC(i64 %62)\n %64 = call i64 @FUNC()\n %65 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %66 = inttoptr i64 %storemerge to i8*\n %67 = and i64 %60, 4294967295\n %68 = zext i32 %61 to i64\n %69 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %65, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i64 %64, i64 %63, i64 %68, i64 %67, i64 %57, i8* %66)\n %70 = sext i32 %69 to i64\n %71 = icmp eq i1 %20, false\n store i64 %70, i64* %rax.0.reg2mem\n br i1 %71, label LBL_11, label LBL_10\n LBL_10:\n %72 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %73 = call i32 @fputc(i32 10, %_IO_FILE* %72)\n %74 = sext i32 %73 to i64\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i128 %29, { 1, 0 }\n uselistorder i1 %20, { 1, 2, 0 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 5, 1 }\n uselistorder i128* %0, { 1, 0 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 }\n uselistorder i128 (i64, i64)* @gf_term_get_framerate, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0, 3, 4 }\n uselistorder %_IO_FILE** @gv_1, { 3, 2, 1, 0 }\n uselistorder i8* bitcast (i32* @gv_0 to i8*), { 1, 0 }\n uselistorder i32 1, { 8, 5, 6, 10, 9, 4, 3, 2, 0, 1, 7 }\n uselistorder label LBL_11, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_vm_ioctl_get_pit2_6609", "fun_name": "kvm_vm_ioctl_get_pit2", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %1, 4\n %4 = inttoptr i64 %3 to i64*\n %5 = call i64* @memcpy(i64* %arg2, i64* %4, i32 12)\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %0, 12\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = call i64 @FUNC(i64 %0)\n %12 = inttoptr i64 %6 to i64*\n %13 = call i64* @memset(i64* %12, i32 0, i32 16)\n ret i64 0\n\n uselistorder i64 %0, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "packet_reset_10713", "fun_name": "packet_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 1, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 24\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = call i64 @FUNC(i64 %0)\n ret i64 %9\n\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_disable_ticks_1241", "fun_name": "cpu_disable_ticks", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 4210748)\n %1 = load i32, i32* @gv_0, align 4\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC()\n %4 = load i32, i32* @gv_1, align 4\n %5 = trunc i64 %3 to i32\n %6 = add i32 %4, %5\n store i32 %6, i32* @gv_1, align 4\n %7 = call i64 @FUNC()\n %8 = trunc i64 %7 to i32\n store i32 %8, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i32 0, i32* @gv_0, align 4\n br label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64* nonnull @gv_3)\n ret i64 %9\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_done_855", "fun_name": "helper_done", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %1 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %2 to i64*\n store i64 %4, i64* %5, align 8\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = load i64, i64* @gv_0, align 8\n %10 = add i64 %8, 4\n %11 = add i64 %9, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = add i64 %1, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = udiv i64 %15, 4294967296\n %17 = load i64, i64* @gv_0, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n %19 = load i64, i64* %14, align 8\n %20 = udiv i64 %19, 16777216\n %21 = load i64, i64* @gv_0, align 8\n %22 = urem i64 %20, 256\n %23 = add i64 %21, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = load i64, i64* %14, align 8\n %26 = udiv i64 %25, 256\n %27 = and i64 %26, 3903\n %28 = call i64 @FUNC(i64 %27)\n %29 = load i64, i64* %14, align 8\n %30 = urem i64 %29, 256\n %31 = load i64, i64* @gv_0, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %30)\n %33 = load i64, i64* @gv_0, align 8\n %34 = add i64 %33, 24\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i32 %36, -1\n store i32 %37, i32* %35, align 4\n ret i64 %33\n\n uselistorder i64 %33, { 1, 0 }\n uselistorder i64 256, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_rng_reset_13553", "fun_name": "crypto_rng_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n %2 = icmp eq i32 %arg3, 0\n %or.cond = or i1 %1, %2\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %3 = zext i32 %arg3 to i64\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_4\n LBL_2:\n %7 = call i64 @FUNC(i64 %4, i64 %3)\n store i64 %4, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %8 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %sv_0.0.reload)\n %11 = and i64 %8, 4294967295\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "destroy_buffers_225", "fun_name": "destroy_buffers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 24\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 32\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 56\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %11, align 8\n %12 = add i64 %0, 48\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = add i64 %0, 40\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n ret i64 %16\n\n uselistorder i64 (i64)* @av_freep, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_huffman_tables_14622", "fun_name": "read_huffman_tables", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_1 to i64\n %3 = mul i32 %arg3, 8\n %4 = zext i32 %3 to i64\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64* nonnull %5, i64 %0, i64 %4)\n store i32 0, i32* %sv_0, align 4\n %7 = add i64 %1, 3072\n %8 = add i64 %1, 6144\n %9 = add i64 %2, -8\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %2, -16\n %12 = inttoptr i64 %11 to i64*\n %13 = add i64 %2, -24\n %14 = inttoptr i64 %13 to i64*\n %15 = add i64 %2, -32\n %16 = inttoptr i64 %15 to i64*\n store i32 0, i32* %storemerge23.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %17 = sext i32 %storemerge23.reload to i64\n %18 = mul i64 %17, 1024\n %19 = add i64 %18, %1\n %20 = call i64 @FUNC(i64 %19, i64* nonnull %5)\n %21 = load i32, i32* %sv_0, align 4\n %22 = sext i32 %21 to i64\n %23 = mul i64 %22, 1024\n %24 = add i64 %23, %1\n %25 = add i64 %23, %7\n %26 = call i64 @FUNC(i64 %25, i64 %24)\n %27 = trunc i64 %26 to i32\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %29, label LBL_2, label LBL_4\n LBL_2:\n %30 = load i32, i32* %sv_0, align 4\n %31 = sext i32 %30 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %32, %8\n %34 = call i64 @FUNC(i64 %33)\n %35 = load i32, i32* %sv_0, align 4\n %36 = sext i32 %35 to i64\n %37 = mul i64 %36, 1024\n %38 = add i64 %37, %7\n %39 = add i64 %37, %1\n %40 = mul i64 %36, 8\n %41 = add i64 %40, %8\n store i64 0, i64* %10, align 8\n store i64 4, i64* %12, align 8\n store i64 4, i64* %14, align 8\n store i64 %38, i64* %16, align 8\n %42 = call i64 @FUNC(i64 %41, i64 256, i64 256, i64 %39, i64 1, i64 1)\n %43 = load i32, i32* %sv_0, align 4\n %44 = add i32 %43, 1\n store i32 %44, i32* %sv_0, align 4\n %45 = icmp slt i32 %44, 3\n store i32 %44, i32* %storemerge23.reg2mem\n br i1 %45, label LBL_1, label LBL_3\n LBL_3:\n %46 = call i64 @FUNC(i64 %1)\n %47 = call i64 @FUNC(i64* nonnull %5)\n %48 = trunc i64 %47 to i32\n %49 = sdiv i32 %48, 16384\n %50 = zext i32 %49 to i64\n store i64 %50, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %44, { 0, 2, 1 }\n uselistorder i64 %37, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i32* %sv_0, { 1, 5, 4, 3, 2, 0, 6 }\n uselistorder i64 %1, { 5, 0, 1, 2, 3, 4 }\n uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 256, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_evtchn_to_irq_13391", "fun_name": "set_evtchn_to_irq", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = call i64 @FUNC()\n %2 = trunc i64 %1 to i32\n %3 = icmp ult i32 %0, %2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %4 = udiv i64 %arg1, 256\n %5 = trunc i64 %4 to i32\n %6 = urem i32 %5, 16777216\n %7 = mul i32 %6, 8\n %8 = zext i32 %7 to i64\n %9 = add i64 %8, ptrtoint (i64* @gv_0 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n %.pre5 = trunc i64 %arg2 to i32\n store i64 %11, i64* %.reg2mem\n br i1 %13, label LBL_5, label LBL_2\n LBL_2:\n %14 = icmp eq i32 %.pre5, -1\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_6\n LBL_3:\n %16 = call i64 @FUNC(i64 0)\n store i64 %16, i64* %10, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_6\n LBL_4:\n %19 = zext i32 %6 to i64\n %20 = call i64 @FUNC(i64 %19)\n %.pre = load i64, i64* %10, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %21 = mul i64 %arg1, 4\n %22 = and i64 %21, 1020\n %23 = add i64 %.reload, %22\n %24 = inttoptr i64 %23 to i32*\n store i32 %.pre5, i32* %24, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 256, { 1, 0 }\n uselistorder i32 1, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pxb_host_class_init_995", "fun_name": "pxb_host_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i8*\n store i8 1, i8* %2, align 1\n %3 = load i64, i64* @gv_1, align 8\n store i64 %3, i64* %arg1, align 8\n %4 = load i64, i64* @gv_2, align 8\n store i64 %4, i64* %arg1, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm_mptimer_class_init_3238", "fun_name": "arm_mptimer_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198669, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n %7 = load i64, i64* @gv_1, align 8\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v4l2_try_start_1642", "fun_name": "v4l2_try_start", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 248\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %5, i64 1074026002)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %15 = and i64 %10, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %16 = add i64 %4, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_15\n LBL_4:\n %20 = add i64 %4, 224\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %4, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = bitcast i64* %rdi to i32*\n %26 = load i32, i32* %25, align 8\n %27 = call i32 (i32, i32, ...) @ioctl(i32 %26, i32 -1060088316)\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 3234878980, i64 %2, i64 %1)\n %30 = zext i32 %27 to i64\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_6:\n %31 = add i64 %4, 32\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %34, i64 0)\n %36 = trunc i64 %35 to i32\n store i32 %36, i32* %17, align 4\n %37 = add i64 %4, 236\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = add i64 %4, 12\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = load i32, i32* %24, align 4\n %43 = load i32, i32* %25, align 8\n %44 = call i32 (i32, i32, ...) @ioctl(i32 %43, i32 -1069525409)\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 3225441887, i64* %rcx.0.reg2mem\n br i1 %46, label LBL_10, label LBL_7\n LBL_7:\n %47 = call i32 (i32, i32, ...) @ioctl(i32 %43, i32 -1069525410)\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_9, label LBL_8\n LBL_8:\n %49 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 3225441886, i64 %2, i64 %1)\n store i64 3225441886, i64* %rcx.0.reg2mem\n br label LBL_10\n LBL_9:\n %50 = zext i32 %41 to i64\n %51 = zext i32 %42 to i64\n %52 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %51, i64 %50, i64 %1)\n %53 = add i64 %4, 228\n %54 = inttoptr i64 %53 to i32*\n store i32 %41, i32* %54, align 4\n %55 = add i64 %4, 232\n %56 = inttoptr i64 %55 to i32*\n store i32 %42, i32* %56, align 4\n store i64 %51, i64* %rcx.0.reg2mem\n store i64 %50, i64* %r8.0.reg2mem\n br label LBL_10\n LBL_10:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %57 = add i64 %4, 240\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = icmp eq i64 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_13, label LBL_11\n LBL_11:\n %62 = call i64 @FUNC(i64 %16)\n %63 = trunc i64 %62 to i32\n %64 = icmp eq i32 %63, 0\n br i1 %64, label LBL_13, label LBL_12\n LBL_12:\n %65 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n %66 = and i64 %62, 4294967295\n store i64 %66, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %67 = call i64 @FUNC(i64 %16, i64 1074026002)\n %68 = trunc i64 %67 to i32\n %69 = icmp eq i32 %68, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %69, label LBL_15, label LBL_14\n LBL_14:\n %70 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0), i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n %71 = and i64 %67, 4294967295\n store i64 %71, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 12, 11, 2, 0, 1, 10, 9, 13, 3, 4, 8, 5, 6, 15, 7, 14 }\n uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 2, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @ff_v4l2_context_set_status, { 1, 0 }\n uselistorder label LBL_15, { 2, 0, 3, 4, 1, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "export_tga_6839", "fun_name": "export_tga", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge1112.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 22)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %2, i64 0)\n %8 = call i64 @FUNC(i64 %6)\n %9 = call i64 @FUNC(i64 %7)\n %sext = mul i64 %9, 4294967296\n %10 = ashr exact i64 %sext, 32\n %sext1 = mul i64 %8, 4294967296\n %11 = ashr exact i64 %sext1, 32\n %12 = mul nsw i64 %10, %11\n %13 = trunc i64 %12 to i32\n %14 = call i64 @FUNC(i64 %6)\n %15 = call i64 @FUNC(i64 %7)\n %sext2 = mul i64 %15, 4294967296\n %16 = ashr exact i64 %sext2, 32\n %sext3 = mul i64 %14, 4294967296\n %17 = ashr exact i64 %sext3, 32\n %18 = mul nsw i64 %16, %17\n %19 = trunc i64 %18 to i32\n %sext4 = mul i64 %12, 4294967296\n %20 = ashr exact i64 %sext4, 32\n %sext5 = mul i64 %18, 4294967296\n %21 = ashr exact i64 %sext5, 32\n %22 = mul nsw i64 %21, %20\n %23 = trunc i64 %22 to i32\n %24 = mul i32 %23, 4\n %25 = add i32 %24, 18\n %26 = sext i32 %25 to i64\n store i64 %26, i64* %arg2, align 8\n %27 = call i64* @malloc(i32 0)\n %28 = ptrtoint i64* %27 to i64\n %29 = call i64 @FUNC(i64 %28, i64 0)\n %sext6 = mul i64 %29, 4294967296\n %30 = ashr exact i64 %sext6, 32\n %31 = add i64 %30, %28\n %32 = call i64 @FUNC(i64 %31, i64 0)\n %sext7 = mul i64 %32, 4294967296\n %33 = ashr exact i64 %sext7, 32\n %34 = add i64 %31, %33\n %35 = call i64 @FUNC(i64 %34, i64 2)\n %sext8 = mul i64 %35, 4294967296\n %36 = ashr exact i64 %sext8, 32\n %37 = add i64 %34, %36\n %38 = inttoptr i64 %37 to i64*\n %39 = call i64* @memset(i64* %38, i32 0, i32 5)\n %40 = add i64 %37, 5\n %41 = inttoptr i64 %40 to i8*\n %42 = call i32 (i8*, i8*, ...) @sprintf(i8* %41, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8 0, i8 0)\n %43 = sext i32 %42 to i64\n %44 = add i64 %40, %43\n %45 = inttoptr i64 %44 to i8*\n %46 = call i32 (i8*, i8*, ...) @sprintf(i8* %45, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8 0, i8 0)\n %47 = sext i32 %46 to i64\n %48 = add i64 %44, %47\n %49 = udiv i32 %13, 256\n %50 = trunc i64 %12 to i8\n %51 = inttoptr i64 %48 to i8*\n %52 = trunc i32 %49 to i8\n %53 = call i32 (i8*, i8*, ...) @sprintf(i8* %51, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8 %50, i8 %52)\n %54 = sext i32 %53 to i64\n %55 = add i64 %48, %54\n %56 = udiv i32 %19, 256\n %57 = trunc i64 %18 to i8\n %58 = inttoptr i64 %55 to i8*\n %59 = trunc i32 %56 to i8\n %60 = call i32 (i8*, i8*, ...) @sprintf(i8* %58, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8 %57, i8 %59)\n %61 = sext i32 %60 to i64\n %62 = add i64 %55, %61\n %63 = call i64 @FUNC(i64 %62, i64 32)\n %sext9 = mul i64 %63, 4294967296\n %64 = ashr exact i64 %sext9, 32\n %65 = add i64 %62, %64\n %66 = call i64 @FUNC(i64 %65, i64 40)\n %sext10 = mul i64 %66, 4294967296\n %67 = ashr exact i64 %sext10, 32\n %68 = add i64 %65, %67\n %69 = mul i64 %12, 4\n %70 = and i64 %69, 4294967292\n %71 = and i64 %18, 4294967295\n %72 = call i64 @FUNC(i64 %6, i64 %7, i64 %68, i32 %13, i64 %71, i64 %70)\n %73 = mul i64 %18, %69\n %74 = and i64 %73, 4294967292\n %75 = icmp eq i64 %74, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1112.reg2mem\n br i1 %75, label LBL_4, label LBL_3\n LBL_3:\n %storemerge1112.reload = load i32, i32* %storemerge1112.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %76 = add i64 %.reload, %68\n %77 = inttoptr i64 %76 to i8*\n %78 = load i8, i8* %77, align 1\n %79 = or i64 %.reload, 3\n %80 = add i64 %79, %68\n %81 = inttoptr i64 %80 to i8*\n %82 = load i8, i8* %81, align 1\n store i8 %82, i8* %77, align 1\n %83 = or i32 %storemerge1112.reload, 3\n %84 = sext i32 %83 to i64\n %85 = add i64 %68, %84\n %86 = inttoptr i64 %85 to i8*\n store i8 %78, i8* %86, align 1\n %87 = or i64 %.reload, 1\n %88 = add i64 %87, %68\n %89 = inttoptr i64 %88 to i8*\n %90 = load i8, i8* %89, align 1\n %91 = or i64 %.reload, 2\n %92 = add i64 %91, %68\n %93 = inttoptr i64 %92 to i8*\n %94 = load i8, i8* %93, align 1\n store i8 %94, i8* %89, align 1\n %95 = or i32 %storemerge1112.reload, 2\n %96 = sext i32 %95 to i64\n %97 = add i64 %68, %96\n %98 = inttoptr i64 %97 to i8*\n store i8 %90, i8* %98, align 1\n %99 = add i32 %storemerge1112.reload, 4\n %100 = sext i32 %99 to i64\n %101 = icmp sgt i64 %74, %100\n store i64 %100, i64* %.reg2mem\n store i32 %99, i32* %storemerge1112.reg2mem\n br i1 %101, label LBL_3, label LBL_4\n LBL_4:\n %102 = call i64 @FUNC(i64 %7)\n store i64 %28, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %.reload, { 1, 0, 2, 3 }\n uselistorder i32 %storemerge1112.reload, { 2, 0, 1 }\n uselistorder i64 %74, { 1, 0 }\n uselistorder i64 %69, { 1, 0 }\n uselistorder i64 %68, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i64 %65, { 1, 0 }\n uselistorder i64 %62, { 1, 0 }\n uselistorder i64 %37, { 1, 0 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %18, { 1, 2, 3, 0, 4 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i64 %12, { 0, 2, 1, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1112.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @write_u8, { 4, 3, 2, 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 32, { 0, 1, 11, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gb_get_v_2655", "fun_name": "gb_get_v", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %sv_0.0.reg2mem\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp ne i32 %2, 0\n %4 = icmp ult i32 %storemerge.reload, 57\n %or.cond = icmp eq i1 %4, %3\n %5 = mul i64 %sv_0.0.reload, 128\n %6 = call i64 @FUNC(i64 %0, i64 7)\n %sext1 = mul i64 %6, 4294967296\n %7 = ashr exact i64 %sext1, 32\n %8 = or i64 %7, %5\n %9 = add nuw nsw i32 %storemerge.reload, 7\n store i64 %8, i64* %sv_0.0.reg2mem\n store i32 %9, i32* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n ret i64 %8\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftpClientParsePwdReply_13640", "fun_name": "ftpClientParsePwdReply", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = bitcast i64* %arg1 to i8*\n %1 = call i8* @strrchr(i8* %0, i32 34)\n %2 = icmp eq i8* %1, null\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n store i8 0, i8* %1, align 1\n %5 = call i64 @FUNC(i64 %4, i64 34)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = add i64 %5, 1\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp ugt i64 %10, %arg3\n %12 = select i1 %11, i64 %arg3, i64 %10\n %13 = call i64 @FUNC(i64 %8, i64 %9, i64 %12)\n %14 = add i64 %12, %8\n %15 = inttoptr i64 %14 to i8*\n store i8 0, i8* %15, align 1\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_rv34_decode_init_thread_copy_14328", "fun_name": "ff_rv34_decode_init_thread_copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = bitcast i64* %rdi to i32*\n %6 = load i32, i32* %5, align 8\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = call i64 @FUNC(i64 %3)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = and i64 %10, 4294967295\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %15 = call i64 @FUNC(i64 %3)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n %19 = and i64 %15, 4294967295\n %spec.select = select i1 %18, i64 0, i64 %19\n ret i64 %spec.select\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_inline_5644", "fun_name": "parse_inline", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %sv_1.16.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i1\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.01.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 32\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, %0\n %5 = add i64 %0, 64\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp ugt i64 %4, %7\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %8, label LBL_10, label LBL_1\n LBL_1:\n %9 = icmp eq i64 %arg4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_10, label LBL_2\n LBL_2:\n %10 = ptrtoint i64* %arg3 to i64\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %0, 88\n %13 = add i64 %0, 72\n %14 = inttoptr i64 %13 to i64*\n %15 = icmp eq i64* %arg1, null\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %sv_1.16.reg2mem\n store i64 0, i64* %sv_0.05.reg2mem\n br label LBL_9\n LBL_3:\n %17 = add i64 %sv_1.01.reload, 1\n %18 = icmp ult i64 %17, %arg4\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %sv_1.01.reg2mem\n store i64 %17, i64* %sv_1.0.lcssa.reg2mem\n store i1 true, i1* %.lcssa.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem\n %20 = add i64 %sv_1.01.reload, %10\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = zext i8 %22 to i64\n %24 = add i64 %12, %23\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = icmp eq i8 %26, 0\n store i64 %sv_1.01.reload, i64* %sv_1.0.lcssa.reg2mem\n store i1 false, i1* %.lcssa.reg2mem\n br i1 %27, label LBL_3, label LBL_5\n LBL_5:\n %.lcssa.reload = load i1, i1* %.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %28 = load i64, i64* %14, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_6, label LBL_7\n LBL_6:\n %30 = sub i64 %sv_1.0.lcssa.reload, %sv_0.05.reload\n %31 = add i64 %sv_0.05.reload, %10\n %32 = call i64 @FUNC(i64 %11, i64 %31, i64 %30)\n br label LBL_7\n LBL_7:\n store i64 %sv_1.0.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %.lcssa.reload, label LBL_10, label LBL_8\n LBL_8:\n %33 = add i64 %sv_1.0.lcssa.reload, %11\n %34 = add i64 %sv_1.0.lcssa.reload, 1\n %sv_0.0.be = select i1 %16, i64 %33, i64 %sv_1.0.lcssa.reload\n %sv_1.1.be = select i1 %16, i64 %33, i64 %34\n %35 = icmp ult i64 %sv_0.0.be, %arg4\n store i64 %sv_1.1.be, i64* %sv_1.16.reg2mem\n store i64 %sv_0.0.be, i64* %sv_0.05.reg2mem\n store i64 %sv_0.0.be, i64* %rax.0.reg2mem\n br i1 %35, label LBL_9, label LBL_10\n LBL_9:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem\n %36 = icmp ult i64 %sv_1.16.reload, %arg4\n %37 = icmp eq i1 %36, false\n store i64 %sv_1.16.reload, i64* %sv_1.01.reg2mem\n store i64 %sv_1.16.reload, i64* %sv_1.0.lcssa.reg2mem\n store i1 true, i1* %.lcssa.reg2mem\n br i1 %37, label LBL_5, label LBL_4\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.16.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.0.lcssa.reload, { 3, 1, 4, 0, 2 }\n uselistorder i64 %sv_1.01.reload, { 0, 2, 1 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4 }\n uselistorder i64* %sv_1.01.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.lcssa.reg2mem, { 3, 0, 1, 2 }\n uselistorder i1* %.lcssa.reg2mem, { 3, 0, 1, 2 }\n uselistorder i1 true, { 1, 0 }\n uselistorder i1 false, { 1, 0, 3, 2 }\n uselistorder i64 %arg4, { 1, 3, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "GetNumWrongData_5635", "fun_name": "GetNumWrongData", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 1\n %2 = icmp eq i1 %1, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = ptrtoint i32* %arg1 to i64\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %5 = add i32 %sv_0.0.reload, 1\n %6 = zext i32 %5 to i64\n %7 = icmp sgt i64 %3, %6\n br i1 %7, label LBL_3, label LBL_4\n LBL_3:\n %8 = sext i32 %sv_0.0.reload to i64\n %9 = add i64 %8, %4\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = add i64 %9, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %11, %14\n %16 = icmp eq i1 %15, false\n store i32 %5, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_2, label LBL_4\n LBL_4:\n %17 = zext i32 %sv_0.0.reload to i64\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "create_symlink_7546", "fun_name": "create_symlink", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %rcx.2.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 58, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([15 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem\n br label LBL_2\n LBL_2:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %5 = icmp eq i64 %arg3, 0\n %6 = icmp eq i1 %5, false\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([15 x i8]* @gv_2 to i64), i64* %rcx.1.reg2mem\n br label LBL_4\n LBL_4:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %7 = icmp eq i64 %arg1, 0\n %8 = icmp eq i1 %7, false\n store i64 %rcx.1.reload, i64* %rcx.2.reg2mem\n br i1 %8, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 60, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([15 x i8]* @gv_2 to i64), i64* %rcx.2.reg2mem\n br label LBL_6\n LBL_6:\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %9 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0))\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_24, label LBL_7\n LBL_7:\n %12 = call i64 @FUNC(i64 %arg3, i64 493)\n %13 = inttoptr i64 %arg2 to i8*\n %14 = inttoptr i64 %arg3 to i8*\n %15 = call i32 @symlink(i8* %13, i8* %14)\n %16 = icmp slt i32 %15, 0\n br i1 %16, label LBL_10, label LBL_8\n LBL_8:\n %17 = load i32, i32* @gv_6, align 4\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %19, label LBL_46, label LBL_9\n LBL_9:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i64 %arg3, i64 %rcx.2.reload, i64 %2, i64 %1)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_10:\n %21 = call i32* @__errno_location()\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 17\n br i1 %23, label LBL_12, label LBL_11\n LBL_11:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_8, i64 0, i64 0), i64 %arg2, i64 %arg3, i64 %rcx.2.reload, i64 %2, i64 %1)\n %25 = call i32* @__errno_location()\n %26 = load i32, i32* %25, align 4\n %27 = sub i32 0, %26\n store i32 %27, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_12:\n %28 = call i64 @FUNC(i64 %arg3, i64* nonnull %sv_2)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_16, label LBL_13\n LBL_13:\n %32 = call i32* @__errno_location()\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 22\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_15, label LBL_14\n LBL_14:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_9, i64 0, i64 0), i64 %arg2, i64 %arg3, i64 %rcx.2.reload, i64 %2, i64 %1)\n store i32 -17, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_15:\n %37 = ptrtoint i64* %sv_2 to i64\n %38 = sub i32 0, %29\n %39 = call i8* @strerror(i32 %38)\n %40 = ptrtoint i8* %39 to i64\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_10, i64 0, i64 0), i64 %40, i64 %37, i64 %rcx.2.reload, i64 %2, i64 %1)\n store i32 %29, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_16:\n %42 = load i64, i64* %sv_2, align 8\n %43 = call i64 @FUNC(i64 %42, i8* %13)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_18, label LBL_17\n LBL_17:\n %46 = load i64, i64* %sv_2, align 8\n %47 = inttoptr i64 %46 to i64*\n call void @free(i64* %47)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_18:\n %48 = load i32, i32* @gv_11, align 4\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n %51 = load i64, i64* %sv_2, align 8\n br i1 %50, label LBL_20, label LBL_19\n LBL_19:\n %52 = call i64 @FUNC(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_12, i64 0, i64 0), i64 %arg2, i64 %arg3, i64 %51, i64 %2, i64 %1)\n %53 = load i64, i64* %sv_2, align 8\n %54 = inttoptr i64 %53 to i64*\n call void @free(i64* %54)\n store i32 -17, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_20:\n %55 = inttoptr i64 %51 to i64*\n call void @free(i64* %55)\n %56 = call i32 @unlink(i8* %14)\n %57 = load i32, i32* @gv_6, align 4\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_22, label LBL_21\n LBL_21:\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i64 %arg3, i64 %rcx.2.reload, i64 %2, i64 %1)\n br label LBL_22\n LBL_22:\n %61 = call i32 @symlink(i8* %13, i8* %14)\n %62 = icmp slt i32 %61, 0\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %62, label LBL_23, label LBL_46\n LBL_23:\n %63 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_8, i64 0, i64 0), i64 %arg2, i64 %arg3, i64 %rcx.2.reload, i64 %2, i64 %1)\n %64 = call i32* @__errno_location()\n %65 = load i32, i32* %64, align 4\n %66 = sub i32 0, %65\n store i32 %66, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_24:\n %67 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_13, i64 0, i64 0))\n %68 = trunc i64 %67 to i32\n %69 = icmp eq i32 %68, 0\n br i1 %69, label LBL_38, label LBL_25\n LBL_25:\n %70 = call i64 @FUNC(i64 %arg2)\n %71 = trunc i64 %70 to i32\n %72 = icmp slt i32 %71, 0\n %73 = icmp eq i1 %72, false\n store i32 %71, i32* %rax.0.shrunk.reg2mem\n br i1 %73, label LBL_26, label LBL_46\n LBL_26:\n %74 = call i64 @FUNC(i64 %arg3, i64* nonnull %sv_1)\n %75 = trunc i64 %74 to i32\n %76 = icmp slt i32 %75, 0\n %77 = icmp eq i1 %76, false\n br i1 %77, label LBL_31, label LBL_27\n LBL_27:\n %78 = call i32* @__errno_location()\n %79 = load i32, i32* %78, align 4\n %80 = icmp eq i32 %79, 2\n %81 = icmp eq i1 %80, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %81, label LBL_28, label LBL_46\n LBL_28:\n %82 = ptrtoint i64* %sv_1 to i64\n %83 = call i32* @__errno_location()\n %84 = load i32, i32* %83, align 4\n %85 = icmp eq i32 %84, 22\n %86 = icmp eq i1 %85, false\n br i1 %86, label LBL_30, label LBL_29\n LBL_29:\n %87 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_14, i64 0, i64 0), i64 %arg2, i64 %82, i64 %rcx.2.reload, i64 %2, i64 %1)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_30:\n %88 = sub i32 0, %75\n %89 = call i8* @strerror(i32 %88)\n %90 = ptrtoint i8* %89 to i64\n %91 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_10, i64 0, i64 0), i64 %90, i64 %82, i64 %rcx.2.reload, i64 %2, i64 %1)\n store i32 %75, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_31:\n %92 = load i64, i64* %sv_1, align 8\n %93 = inttoptr i64 %arg2 to i8*\n %94 = call i64 @FUNC(i64 %92, i8* %93)\n %95 = trunc i64 %94 to i32\n %96 = icmp eq i32 %95, 0\n %97 = icmp eq i1 %96, false\n %98 = load i64, i64* %sv_1, align 8\n br i1 %97, label LBL_33, label LBL_32\n LBL_32:\n %99 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_15, i64 0, i64 0), i64 %arg3, i64 %arg2, i64 %98, i64 %2, i64 %1)\n %100 = load i64, i64* %sv_1, align 8\n %101 = inttoptr i64 %100 to i64*\n call void @free(i64* %101)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_33:\n %102 = inttoptr i64 %98 to i64*\n call void @free(i64* %102)\n %103 = call i64 @FUNC(i64 %arg3)\n %104 = trunc i64 %103 to i32\n %105 = icmp slt i32 %104, 0\n %106 = icmp eq i1 %105, false\n store i32 %104, i32* %rax.0.shrunk.reg2mem\n br i1 %106, label LBL_34, label LBL_46\n LBL_34:\n %107 = load i32, i32* @gv_6, align 4\n %108 = icmp eq i32 %107, 0\n %109 = icmp eq i1 %108, false\n br i1 %109, label LBL_36, label LBL_35\n LBL_35:\n %110 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_16, i64 0, i64 0), i64 %arg3, i64 %arg2, i64 %rcx.2.reload, i64 %2, i64 %1)\n br label LBL_36\n LBL_36:\n %111 = inttoptr i64 %arg3 to i8*\n %112 = call i32 @unlink(i8* %111)\n %113 = icmp slt i32 %112, 0\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %113, label LBL_37, label LBL_46\n LBL_37:\n %114 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_17, i64 0, i64 0), i64 %arg3, i64 %arg2, i64 %rcx.2.reload, i64 %2, i64 %1)\n %115 = call i32* @__errno_location()\n %116 = load i32, i32* %115, align 4\n %117 = sub i32 0, %116\n store i32 %117, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_38:\n %118 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_18, i64 0, i64 0))\n %119 = trunc i64 %118 to i32\n %120 = icmp eq i32 %119, 0\n br i1 %120, label LBL_45, label LBL_39\n LBL_39:\n %121 = call i64 @FUNC(i64 %arg3, i64* nonnull %sv_0)\n %122 = trunc i64 %121 to i32\n %123 = icmp slt i32 %122, 0\n %124 = icmp eq i1 %123, false\n br i1 %124, label LBL_43, label LBL_40\n LBL_40:\n %125 = call i32* @__errno_location()\n %126 = load i32, i32* %125, align 4\n %127 = icmp eq i32 %126, 2\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %127, label LBL_46, label LBL_41\n LBL_41:\n %128 = call i32* @__errno_location()\n %129 = load i32, i32* %128, align 4\n %130 = icmp eq i32 %129, 22\n %131 = icmp eq i1 %130, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %131, label LBL_42, label LBL_46\n LBL_42:\n %132 = ptrtoint i64* %sv_0 to i64\n %133 = sub i32 0, %122\n %134 = call i8* @strerror(i32 %133)\n %135 = ptrtoint i8* %134 to i64\n %136 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_10, i64 0, i64 0), i64 %135, i64 %132, i64 %rcx.2.reload, i64 %2, i64 %1)\n store i32 %122, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_43:\n %137 = load i64, i64* %sv_0, align 8\n %138 = inttoptr i64 %arg2 to i8*\n %139 = call i64 @FUNC(i64 %137, i8* %138)\n %140 = trunc i64 %139 to i32\n %141 = icmp eq i32 %140, 0\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %141, label LBL_46, label LBL_44\n LBL_44:\n %142 = load i64, i64* %sv_0, align 8\n %143 = inttoptr i64 %142 to i64*\n call void @free(i64* %143)\n store i32 1, i32* %rax.0.shrunk.reg2mem\n br label LBL_46\n LBL_45:\n %144 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_19, i64 0, i64 0))\n unreachable\n LBL_46:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i64 %98, { 1, 0 }\n uselistorder i64 %82, { 1, 0 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i64* %sv_2, { 2, 1, 3, 4, 5, 0 }\n uselistorder i64* %sv_1, { 2, 1, 3, 4, 0 }\n uselistorder i64* %sv_0, { 1, 2, 3, 0 }\n uselistorder i64 %2, { 10, 9, 2, 12, 8, 11, 7, 1, 6, 5, 4, 3, 0 }\n uselistorder i64 %1, { 10, 9, 2, 12, 8, 11, 7, 1, 6, 5, 4, 3, 0 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 22, 1, 21, 3, 2, 20, 4, 5, 19, 18, 17, 6, 7, 16, 8, 15, 14, 13, 12, 11, 10, 9 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @log_warning, { 1, 0 }\n uselistorder i64 (i64)* @mark_symlink_for_removal, { 1, 0 }\n uselistorder i32 (i8*)* @unlink, { 1, 0 }\n uselistorder void (i64*)* @free, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 -17, { 1, 0 }\n uselistorder i64 (i64, i64*)* @readlink_and_make_absolute, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @log_error, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2, 4, 5, 6, 7, 8 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @log_info, { 2, 1, 0 }\n uselistorder i32* @gv_6, { 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @symlink, { 1, 0 }\n uselistorder i32 0, { 0, 13, 14, 2, 1, 15, 16, 17, 3, 18, 19, 20, 10, 21, 22, 9, 4, 23, 24, 25, 26, 5, 27, 28, 29, 8, 30, 31, 32, 33, 7, 6, 34, 35, 36, 37, 11, 12 }\n uselistorder i64 (i64, i8*)* @streq, { 5, 4, 3, 2, 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n uselistorder [15 x i8]* @gv_2, { 1, 0 }\n uselistorder i64 %arg3, { 15, 11, 12, 10, 13, 9, 14, 5, 4, 3, 2, 6, 1, 0, 7, 8, 16 }\n uselistorder i64 %arg2, { 13, 10, 9, 8, 11, 7, 12, 5, 4, 3, 2, 1, 0, 6, 14 }\n uselistorder label LBL_46, { 10, 0, 11, 2, 1, 12, 3, 4, 13, 14, 15, 5, 6, 16, 7, 17, 18, 19, 20, 21, 9, 8 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "size_of_ntlmssp_blob_132", "fun_name": "size_of_ntlmssp_blob", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %storemerge1.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n store i32 %3, i32* %storemerge1.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i32 %3, -2\n %9 = inttoptr i64 %6 to i8*\n %10 = call i32 @strnlen(i8* %9, i32 256)\n %11 = mul i32 %10, 2\n %12 = add i32 %8, %11\n store i32 %12, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %13 = add i64 %2, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = inttoptr i64 %15 to i8*\n %18 = call i32 @strnlen(i8* %17, i32 256)\n %19 = mul i32 %18, 2\n %20 = add i32 %19, %storemerge1.reload\n store i32 %20, i32* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %21 = add i32 %storemerge1.reload, 2\n store i32 %21, i32* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %22 = zext i32 %storemerge.reload to i64\n ret i64 %22\n\n uselistorder i32 %3, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "block_job_yield_13899", "fun_name": "block_job_yield", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i8* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i8\n %8 = icmp eq i8 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n store i8 0, i8* %arg1, align 1\n %10 = call i64 @FUNC(i64 %5)\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8 %11, 1\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC()\n br label LBL_5\n LBL_5:\n store i8 1, i8* %arg1, align 1\n %14 = call i64 @FUNC(i64 %5)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "s390_virtio_hypercall_1115", "fun_name": "s390_virtio_hypercall", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i32, align 4\n %0 = inttoptr i64 %arg3 to i8*\n %1 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_0 to i32), i8* %0, i32 ptrtoint (i32* @gv_0 to i32))\n %2 = icmp eq i64 %arg3, 3\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = icmp ult i64 %arg3, 4\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_2, label LBL_9\n LBL_2:\n store i64 4294967274, i64* %sv_0.0.reg2mem\n switch i64 %arg3, label LBL_9 [\n i64 1, label LBL_3\n i64 2, label LBL_6\n ]\n LBL_3:\n %4 = load i64, i64* @gv_1, align 8\n %5 = icmp ult i64 %4, %arg2\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_4, label LBL_9\n LBL_4:\n %6 = load i64, i64* @gv_2, align 8\n %7 = bitcast i32* %sv_1 to i64*\n %8 = call i64 @FUNC(i64 %6, i64 %arg2, i64* nonnull %7)\n %9 = icmp eq i64 %8, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_9, label LBL_5\n LBL_5:\n %10 = load i32, i32* %sv_1, align 4\n %11 = inttoptr i64 %8 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = zext i32 %10 to i64\n %14 = call i64 @FUNC(i64 %12, i64 %13)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %15 = load i64, i64* @gv_2, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %arg2)\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %16, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22, i64 0)\n %24 = call i64 @FUNC(i64 %16)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %25 = load i64, i64* @gv_2, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %arg2)\n %27 = icmp eq i64 %26, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = call i64 @FUNC(i64 %26)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 8, 3, 5, 7, 4, 6, 2, 1 }\n uselistorder i64 (i64, i64)* @s390_virtio_bus_find_mem, { 1, 0 }\n uselistorder i64 4294967274, { 2, 3, 1, 0 }\n uselistorder i64 %arg2, { 3, 1, 2, 0 }\n uselistorder label LBL_9, { 6, 2, 7, 4, 3, 5, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_open_3582", "fun_name": "v9fs_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.1.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %storemerge.in.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %7 = load i32, i32* %1\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i32, align 4\n %8 = trunc i64 %3 to i32\n %9 = icmp eq i32 %8, 2000\n %10 = icmp eq i1 %9, false\n %11 = bitcast i32* %sv_4 to i64*\n %12 = bitcast i32* %sv_5 to i64*\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %4, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %11, i64* nonnull %12, i64 %2)\n br label LBL_3\n LBL_2:\n %14 = call i64 @FUNC(i64 %4, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %11, i64* nonnull %12, i64 %2)\n br label LBL_3\n LBL_3:\n %15 = load i32, i32* %sv_5, align 4\n %16 = zext i32 %15 to i64\n %17 = load i32, i32* %sv_4, align 4\n %18 = zext i32 %17 to i64\n %19 = add i64 %4, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %4, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25, i32 %21, i64 %18, i64 %16)\n %27 = load i32, i32* %sv_4, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %4, i64 %28)\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 -2, i64* %sv_0.1.reg2mem\n br i1 %31, label LBL_4, label LBL_16\n LBL_4:\n %32 = inttoptr i64 %29 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n %36 = zext i1 %35 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i64 %29, 8\n %39 = call i64 @FUNC(i64 %4, i64 %38, i64* nonnull %sv_3)\n %40 = icmp slt i64 %39, 0\n store i64 %39, i64* %sv_0.0.reg2mem\n br i1 %40, label LBL_15, label LBL_5\n LBL_5:\n %41 = bitcast i32* %sv_2 to i64*\n %42 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %41)\n %43 = and i32 %7, 61440\n %44 = icmp eq i32 %43, 16384\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_8, label LBL_6\n LBL_6:\n %46 = call i64 @FUNC(i64 %4, i64 %29)\n %47 = icmp slt i64 %46, 0\n store i64 %46, i64* %sv_0.0.reg2mem\n br i1 %47, label LBL_15, label LBL_7\n LBL_7:\n store i32 1, i32* %32, align 4\n %48 = call i64 @FUNC(i64 %4, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %41, i64 0)\n %49 = add i64 %48, 7\n store i64 %49, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_8:\n %50 = load i32, i32* %sv_5, align 4\n %51 = zext i32 %50 to i64\n br i1 %10, label LBL_10, label LBL_9\n LBL_9:\n %52 = call i64 @FUNC(i64 %4, i64 %51)\n store i64 %52, i64* %storemerge.in.reg2mem\n br label LBL_11\n LBL_10:\n %53 = call i64 @FUNC(i64 %51)\n store i64 %53, i64* %storemerge.in.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %54 = call i64 @FUNC(i64 %4, i64 %29, i32 %storemerge)\n %55 = icmp slt i64 %54, 0\n store i64 %54, i64* %sv_0.0.reg2mem\n br i1 %55, label LBL_15, label LBL_12\n LBL_12:\n store i32 2, i32* %32, align 4\n %56 = add i64 %29, 4\n %57 = inttoptr i64 %56 to i32*\n store i32 %storemerge, i32* %57, align 4\n %58 = and i32 %storemerge, 512\n %59 = icmp eq i32 %58, 0\n br i1 %59, label LBL_14, label LBL_13\n LBL_13:\n %60 = add i64 %29, 16\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = or i32 %62, 1\n store i32 %63, i32* %61, align 4\n br label LBL_14\n LBL_14:\n %64 = call i64 @FUNC(i64 %4, i64 %38)\n %65 = trunc i64 %64 to i32\n %66 = and i64 %64, 4294967295\n %67 = call i64 @FUNC(i64 %4, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %41, i64 %66)\n %68 = add i64 %67, 7\n store i32 %65, i32* %sv_1.0.reg2mem\n store i64 %68, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %69 = call i64 @FUNC(i64 %4, i64 %29)\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %70 = load i32, i32* %sv_2, align 4\n %71 = zext i32 %70 to i64\n %72 = load i32, i32* %20, align 4\n %73 = load i32, i32* %23, align 4\n %74 = zext i32 %sv_1.1.reload to i64\n %75 = zext i32 %6 to i64\n %76 = zext i32 %73 to i64\n %77 = call i64 @FUNC(i64 %76, i32 %72, i64 %71, i32 %5, i64 %75, i64 %74)\n %78 = call i64 @FUNC(i64 %4, i64 %4, i64 %sv_0.1.reload)\n ret i64 %78\n\n uselistorder i64 %51, { 1, 0 }\n uselistorder i64* %41, { 1, 0, 2 }\n uselistorder i32* %32, { 1, 0, 2 }\n uselistorder i64 %29, { 3, 0, 1, 2, 4, 5, 6, 7 }\n uselistorder i64* %12, { 1, 0 }\n uselistorder i64* %11, { 1, 0 }\n uselistorder i32* %sv_5, { 1, 0, 2 }\n uselistorder i32* %sv_4, { 1, 0, 2 }\n uselistorder i64 %4, { 7, 6, 8, 4, 3, 5, 2, 0, 1, 9, 10, 12, 11, 13, 14 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %1, { 2, 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64*, i64)* @pdu_marshal, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64*, i64*, i64)* @pdu_unmarshal, { 1, 0 }\n uselistorder i64 7, { 0, 3, 1, 2, 4, 5 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 3, 0, 4, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfnetlink_rcv_msg_9889", "fun_name": "nfnetlink_rcv_msg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32*, align 8\n %3 = ptrtoint i32** %sv_2 to i64\n store i32* %arg2, i32** %sv_2, align 8\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = load i32*, i32** %sv_2, align 8\n %7 = ptrtoint i32* %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = and i64 %1, 4294967295\n %10 = urem i64 %1, 256\n %11 = mul i64 %1, 8\n %12 = and i64 %11, 2040\n br label LBL_1\n LBL_1:\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC(i64 %9)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %sv_1.0.reg2mem\n br i1 %16, label LBL_4, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %9)\n %19 = call i64 @FUNC()\n %20 = call i64 @FUNC(i64 %9)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %sv_1.0.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC()\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %24 = call i64 @FUNC(i64 %9, i64 %sv_1.0.reload)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC()\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_6:\n %28 = call i64 @FUNC(i64 0)\n %29 = trunc i64 %28 to i32\n %30 = add i64 %sv_1.0.reload, %12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i32 %32, 1\n %34 = sext i32 %33 to i64\n %35 = mul i64 %34, 8\n %36 = add nsw i64 %35, 15\n %37 = udiv i64 %36, 16\n %38 = mul i64 %37, 16\n %39 = sub i64 %3, %38\n %sext = mul i64 %28, 4294967296\n %40 = ashr exact i64 %sext, 32\n %41 = load i32*, i32** %sv_2, align 8\n %42 = ptrtoint i32* %41 to i64\n %43 = add i64 %40, %42\n %44 = add i64 %42, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = sub i32 %46, %29\n %48 = add i64 %30, 4\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = zext i32 %50 to i64\n %52 = call i64 @FUNC(i64 %39, i32 %32, i64 %43, i32 %47, i64 %51)\n %53 = trunc i64 %52 to i32\n %54 = icmp slt i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_8, label LBL_7\n LBL_7:\n %56 = call i64 @FUNC()\n store i32 %53, i32* %storemerge.in.reg2mem\n br label LBL_14\n LBL_8:\n %57 = add i64 %24, 8\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = icmp eq i64 %59, 0\n %61 = call i64 @FUNC()\n store i32 %5, i32* %sv_0.1.reg2mem\n br i1 %60, label LBL_9, label LBL_13\n LBL_9:\n %62 = call i64 @FUNC(i64 %10)\n %63 = call i64 @FUNC(i64 %10)\n %64 = icmp eq i64 %sv_1.0.reload, %63\n %65 = icmp eq i1 %64, false\n store i32 -11, i32* %sv_0.0.reg2mem\n br i1 %65, label LBL_12, label LBL_10\n LBL_10:\n %66 = call i64 @FUNC(i64 %9, i64 %sv_1.0.reload)\n %67 = icmp eq i64 %24, %66\n store i32 -11, i32* %sv_0.0.reg2mem\n br i1 %67, label LBL_11, label LBL_12\n LBL_11:\n %68 = inttoptr i64 %24 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = icmp eq i64 %69, 0\n %. = select i1 %70, i32 -22, i32 %5\n store i32 %., i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %71 = call i64 @FUNC(i64 %10)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %72 = icmp eq i32 %sv_0.1.reload, -11\n %73 = icmp eq i1 %72, false\n store i32 %sv_0.1.reload, i32* %storemerge.in.reg2mem\n br i1 %73, label LBL_14, label LBL_1\n LBL_14:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n store i64 %storemerge, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %24, { 1, 0, 2, 3 }\n uselistorder i64 %sv_1.0.reload, { 1, 2, 3, 0 }\n uselistorder i64 %9, { 2, 1, 3, 4, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i32** %sv_2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 -11, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @nfnetlink_find_client, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64 ()* @rcu_read_unlock, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @nfnetlink_get_subsys, { 1, 0 }\n uselistorder i64 ()* @rcu_read_lock, { 1, 0 }\n uselistorder i64 8, { 3, 0, 1, 2 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_12, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mysql_prune_stmt_list_5710", "fun_name": "mysql_prune_stmt_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.lcssa.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %storemerge12.reg2mem\n store i64 %0, i64* %storemerge1.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %3 = inttoptr i64 %storemerge12.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 1\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = add i64 %4, 16\n %11 = inttoptr i64 %10 to i32*\n store i32 2006, i32* %11, align 4\n %12 = add i64 %4, 20\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n %14 = add i64 %4, 276\n %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0))\n %16 = call i64 @FUNC(i64 %14, i64 %storemerge12.reload)\n store i64 %16, i64* %arg1, align 8\n br label LBL_3\n LBL_3:\n %17 = add i64 %storemerge12.reload, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %19, i64* %storemerge12.reg2mem\n store i64 %19, i64* %storemerge1.lcssa.reg2mem\n br i1 %21, label LBL_1, label LBL_4\n LBL_4:\n %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem\n ret i64 %storemerge1.lcssa.reload\n\n uselistorder i64 %4, { 1, 0, 2, 3, 4 }\n uselistorder i64 %storemerge12.reload, { 2, 0, 1 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i8*)* @strmov, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cinvideo_decode_end_1363", "fun_name": "cinvideo_decode_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "key_notify_policy_flush_5371", "fun_name": "key_notify_policy_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = call i64 @FUNC(i64 32, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %0, i64 16)\n %5 = inttoptr i64 %4 to i8*\n store i8 2, i8* %5, align 1\n %6 = bitcast i64* %rdi to i32*\n %7 = load i32, i32* %6, align 8\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %3, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %4, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %4, 2\n %16 = inttoptr i64 %15 to i8*\n store i8 3, i8* %16, align 1\n %17 = add i64 %4, 1\n %18 = inttoptr i64 %17 to i8*\n store i8 0, i8* %18, align 1\n %19 = add i64 %4, 3\n %20 = inttoptr i64 %19 to i8*\n store i8 4, i8* %20, align 1\n %21 = add i64 %4, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 2, i32* %22, align 4\n %23 = add i64 %3, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %0, i64 0, i64 5, i64 0, i64 %25)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_egg_compile_19012", "fun_name": "r_egg_compile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 %3, i64 0, i64 0)\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %3, i64* nonnull %5, i64 1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 1\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_6, label LBL_1\n LBL_1:\n %10 = add i64 %3, 12\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %12, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_6\n LBL_2:\n %14 = call i64 @FUNC(i64 %3)\n %15 = load i32, i32* %sv_0, align 4\n %16 = trunc i32 %15 to i8\n %17 = icmp eq i8 %16, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %sext = mul i32 %15, 16777216\n %18 = ashr exact i32 %sext, 24\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %3, i64 %19)\n %21 = call i64 @FUNC(i64 %3, i64* nonnull %5, i64 1)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 1\n %24 = icmp eq i1 %23, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %24, label LBL_6, label LBL_4\n LBL_4:\n %25 = add i64 %3, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp slt i32 %27, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = ptrtoint i32* %sv_0 to i64\n %30 = zext i32 %27 to i64\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 %30, i64 1, i64 %29, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %3, { 0, 2, 1, 4, 3, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 1, 5, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64*, i64)* @r_buf_read, { 1, 0 }\n uselistorder i64 1, { 5, 2, 1, 6, 0, 4, 3, 7 }\n uselistorder label LBL_6, { 5, 2, 1, 0, 4, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "aio_read_done_3241", "fun_name": "aio_read_done", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi7.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %5 = trunc i64 %arg2 to i32\n %6 = bitcast i64* %sv_0 to %timeval*\n %7 = call i32 @gettimeofday(%timeval* nonnull %6, %timezone* null)\n %8 = icmp slt i32 %5, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = sub i32 0, %5\n %11 = call i8* @strerror(i32 %10)\n %12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* %11)\n br label LBL_11\n LBL_2:\n %13 = trunc i64 %3 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_6, label LBL_3\n LBL_3:\n %15 = add i64 %arg1, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = load i64, i64* %16, align 8\n %20 = add i64 %arg1, 56\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = sext i8 %22 to i32\n %24 = inttoptr i64 %18 to i64*\n %25 = trunc i64 %19 to i32\n %26 = call i64* @memset(i64* %24, i32 %23, i32 %25)\n %27 = load i64, i64* %16, align 8\n %28 = add i64 %arg1, 24\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i64*\n %32 = trunc i64 %27 to i32\n %33 = call i32 @memcmp(i64* %31, i64* %24, i32 %32)\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_5, label LBL_4\n LBL_4:\n %35 = load i64, i64* %16, align 8\n %36 = add i64 %arg1, 32\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = trunc i64 %38 to i32\n %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 %39, i64 %35)\n br label LBL_5\n LBL_5:\n %41 = call i64 @FUNC(i64 %18)\n br label LBL_6\n LBL_6:\n %42 = add i64 %arg1, 4\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_11, label LBL_7\n LBL_7:\n %47 = add i64 %arg1, 8\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = icmp eq i32 %49, 0\n %.pre = add i64 %arg1, 16\n %.pre2 = inttoptr i64 %.pre to i64*\n br i1 %50, label LBL_7.LBL_10_crit_edge, label LBL_9\n LBL_8:\n %.pre4 = add i64 %arg1, 32\n %.pre6 = inttoptr i64 %.pre4 to i64*\n store i64* %.pre6, i64** %.pre-phi7.reg2mem\n br label LBL_10\n LBL_9:\n %51 = load i64, i64* %.pre2, align 8\n %52 = add i64 %arg1, 32\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = add i64 %arg1, 24\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = call i64 @FUNC(i64 %57, i64 %54, i64 %51)\n store i64* %53, i64** %.pre-phi7.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi7.reload = load i64*, i64** %.pre-phi7.reg2mem\n %59 = add i64 %arg1, 48\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = add i64 %arg1, 40\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = load i64, i64* %sv_0, align 8\n %66 = call i64 @FUNC(i64 %65, i64 %4, i64 %64, i64 %61, i64 %2, i64 %1)\n store i64 %66, i64* %sv_0, align 8\n %67 = load i64, i64* %.pre2, align 8\n %68 = load i64, i64* %.pre-phi7.reload, align 8\n %69 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 %68, i64 %67, i64 %67, i64 1)\n br label LBL_11\n LBL_11:\n %70 = add i64 %arg1, 24\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = call i64 @FUNC(i64 %72)\n %74 = add i64 %arg1, 16\n %75 = call i64 @FUNC(i64 %74)\n %76 = call i64 @FUNC(i64 %arg1)\n ret i64 %76\n\n uselistorder i64 %67, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i64 %arg1, { 8, 10, 9, 6, 7, 14, 13, 0, 1, 12, 11, 2, 3, 5, 4 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RegisterPALMImage_8584", "fun_name": "RegisterPALMImage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %1 = inttoptr i64 %0 to i64*\n store i64 4198798, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 4198809, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i32*\n store i32 1, i32* %5, align 4\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %10 = add i64 %0, 32\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 (i8*)* @ConstantString, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dyngen_code_5024", "fun_name": "dyngen_code", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = load i64, i64* @gv_1, align 8\n %2 = sub i64 %0, %1\n %sext = mul i64 %2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = load i64, i64* @gv_2, align 8\n %5 = add i64 %3, %4\n store i64 %5, i64* @gv_2, align 8\n %6 = load i32, i32* @gv_3, align 4\n %7 = zext i32 %6 to i64\n %8 = icmp sgt i64 %3, %7\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = trunc i64 %2 to i32\n store i32 %9, i32* @gv_3, align 4\n br label LBL_2\n LBL_2:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = ptrtoint i64* %arg1 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %10, i64 4294967295)\n %13 = call i64 @FUNC(i64 %10, i64 %11)\n ret i64 0\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_ballooned_pages_5903", "fun_name": "add_ballooned_pages", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64* nonnull @gv_0)\n %6 = call i64 @FUNC(i64* nonnull @gv_1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = load i64, i64* @gv_2, align 8\n %10 = zext i1 %8 to i64\n %11 = call i64 @FUNC(i64 %9, i64 %10)\n %12 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %sext = mul i64 %arg1, 4294967296\n %13 = call i64 @FUNC()\n %14 = ashr exact i64 %sext, 32\n %15 = icmp sgt i64 %14, %13\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = and i64 %arg1, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 0)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 1\n %. = select i1 %19, i64 0, i64 4294967284\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alac_decode_close_1009", "fun_name": "alac_decode_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = add i64 %4, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = add i64 %4, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = load i64, i64* %6, align 8\n %13 = mul i64 %.reload, 8\n %14 = add i64 %12, %13\n %15 = call i64 @FUNC(i64 %14)\n %16 = load i64, i64* %8, align 8\n %17 = add i64 %16, %13\n %18 = call i64 @FUNC(i64 %17)\n %19 = load i64, i64* %10, align 8\n %20 = add i64 %19, %13\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i32 %storemerge1.reload, 1\n %23 = sext i32 %22 to i64\n %24 = icmp sgt i64 %11, %23\n store i64 %23, i64* %.reg2mem\n store i32 %22, i32* %storemerge1.reg2mem\n br i1 %24, label LBL_2, label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %13, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_freep, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SVGHasInternalSubset_8968", "fun_name": "SVGHasInternalSubset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64 1, i64 %0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0))\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "f_midi_set_alt_13528", "fun_name": "f_midi_set_alt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, %1\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_1, label LBL_14\n LBL_1:\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %2, i64 %0, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %9, i64* %rax.0.shrunk.reg2mem\n br i1 %11, label LBL_2, label LBL_14\n LBL_2:\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %2, i64 %0, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i64 %15, i64* %rax.0.shrunk.reg2mem\n br i1 %17, label LBL_3, label LBL_14\n LBL_3:\n %18 = add i64 %2, 32\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_4, label LBL_7\n LBL_4:\n %23 = add i64 %2, 24\n %24 = inttoptr i64 %23 to i32*\n br label LBL_5\n LBL_5:\n %25 = load i32, i32* %24, align 4\n %26 = load i64, i64* %7, align 8\n %27 = zext i32 %25 to i64\n %28 = call i64 @FUNC(i64 %26, i64 %27)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %30, label LBL_6, label LBL_14\n LBL_6:\n %31 = inttoptr i64 %28 to i32*\n store i32 0, i32* %31, align 4\n %32 = add i64 %28, 8\n %33 = inttoptr i64 %32 to i64*\n store i64 4198930, i64* %33, align 8\n %34 = call i64 @FUNC(i64 %18, i64 %28)\n %35 = call i64 @FUNC(i64 %18)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_5, label LBL_7\n LBL_7:\n %39 = add i64 %2, 28\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = icmp eq i32 %41, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %42, label LBL_14, label LBL_8\n LBL_8:\n %43 = add i64 %2, 24\n %44 = inttoptr i64 %43 to i32*\n store i32 0, i32* %storemerge8.reg2mem\n br label LBL_9\n LBL_9:\n %45 = load i32, i32* %44, align 4\n %46 = load i64, i64* %13, align 8\n %47 = zext i32 %45 to i64\n %48 = call i64 @FUNC(i64 %46, i64 %47)\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %50, label LBL_10, label LBL_14\n LBL_10:\n %51 = add i64 %48, 8\n %52 = inttoptr i64 %51 to i64*\n store i64 4198930, i64* %52, align 8\n %53 = load i64, i64* %13, align 8\n %54 = call i64 @FUNC(i64 %53, i64 %48, i64 0)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n br i1 %56, label LBL_13, label LBL_11\n LBL_11:\n %57 = load i64, i64* %13, align 8\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %59, i32 %55)\n %61 = add i64 %48, 16\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = icmp eq i64 %63, 0\n store i64 %54, i64* %rax.0.shrunk.reg2mem\n br i1 %64, label LBL_14, label LBL_12\n LBL_12:\n %65 = load i64, i64* %13, align 8\n %66 = call i64 @FUNC(i64 %65, i64 %48)\n store i64 %54, i64* %rax.0.shrunk.reg2mem\n br label LBL_14\n LBL_13:\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %67 = add nuw i32 %storemerge8.reload, 1\n %68 = load i32, i32* %40, align 4\n %69 = icmp ult i32 %67, %68\n store i32 %67, i32* %storemerge8.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %69, label LBL_9, label LBL_14\n LBL_14:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %54, { 1, 0, 2 }\n uselistorder i64 %48, { 1, 0, 2, 3, 4 }\n uselistorder i32* %40, { 1, 0 }\n uselistorder i64 %18, { 2, 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4, 6, 5, 8, 7, 9 }\n uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 6, 5, 2, 4, 1, 7, 8, 9 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64, i64)* @midi_alloc_ep_req, { 1, 0 }\n uselistorder i1 false, { 1, 3, 2, 0 }\n uselistorder i64 (i64)* @kfifo_avail, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @f_midi_start_ep, { 1, 0 }\n uselistorder label LBL_14, { 2, 5, 4, 1, 3, 0, 6, 7, 8 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xsltCompileLocationPathPattern_5548", "fun_name": "xsltCompileLocationPathPattern", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 0, i64 0, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0))\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %7 = trunc i64 %arg2 to i32\n %8 = call i64 @FUNC(i64 %0, i64 %1, i32 %7)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_header_11929", "fun_name": "get_header", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64* @calloc(i32 1, i32 1024)\n %1 = inttoptr i64 %arg1 to %_IO_FILE*\n %2 = call i32 @ftell(%_IO_FILE* %1)\n %3 = call i32 @fseek(%_IO_FILE* %1, i32 0, i32 0)\n %4 = call i32 @fread(i64* %0, i32 1, i32 1023, %_IO_FILE* %1)\n %5 = icmp eq i32 %4, 1023\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %7 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_1 to i64*), i32 1, i32 27, %_IO_FILE* %6)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %8 = ptrtoint i64* %0 to i64\n %9 = call i32 @fseek(%_IO_FILE* %1, i32 %2, i32 0)\n ret i64 %8\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "stack_maxrandom_size_11779", "fun_name": "stack_maxrandom_size", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32*, i32** @gv_0, align 8\n %1 = load i32, i32* %0, align 4\n %2 = urem i32 %1, 2\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %0 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = and i32 %7, 2\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n %spec.select = select i1 %10, i64 0, i64 4294963200\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i32 2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_order_test_815", "fun_name": "do_order_test", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4198816, i64 0)\n %1 = call i64 @FUNC(i64 1, i64 1)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 1, i64 2)\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 1, i64 3)\n %9 = call i64 @FUNC()\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 ()* @qemu_in_coroutine, { 1, 0 }\n uselistorder i64 (i64)* @qemu_coroutine_enter, { 1, 0 }\n uselistorder i64 (i64, i64)* @record_push, { 2, 1, 0 }\n uselistorder i64 1, { 0, 1, 3, 2 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_lpc_2750", "fun_name": "decode_lpc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem18 = alloca i64\n %.reg2mem16 = alloca i32\n %.reg2mem14 = alloca i32\n %.reg2mem12 = alloca i32\n %.reg2mem10 = alloca i32\n %storemerge12.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = call i64 @FUNC(i64 %1, i64 5)\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, 1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %1, i64 4)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = call i64 @FUNC(i64 %1, i64 3)\n %11 = trunc i64 %10 to i32\n %12 = add i32 %11, 1\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %18, label LBL_7, label LBL_1\n LBL_1:\n %19 = load i32, i32* %9, align 4\n %20 = add i32 %19, %12\n %21 = bitcast i64* %rdi to i32*\n %22 = add i64 %0, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = zext i32 %20 to i64\n %.pre = load i32, i32* %21, align 8\n store i32 %17, i32* %.reg2mem14\n store i32 %.pre, i32* %.reg2mem16\n store i64 0, i64* %.reg2mem18\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_5\n LBL_2:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %25 = load i64, i64* %23, align 8\n %26 = add i64 %25, %44\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = mul i64 %.reload, 4\n %30 = add i64 %28, %29\n %31 = call i64 @FUNC(i64 %1, i64 %24)\n %32 = trunc i64 %31 to i32\n %33 = inttoptr i64 %30 to i32*\n store i32 %32, i32* %33, align 4\n %34 = add i32 %storemerge12.reload, 1\n %35 = load i32, i32* %21, align 8\n %36 = zext i32 %35 to i64\n %37 = sext i32 %34 to i64\n %38 = icmp slt i64 %37, %36\n store i64 %37, i64* %.reg2mem\n store i32 %34, i32* %storemerge12.reg2mem\n br i1 %38, label LBL_2, label LBL_3\n LBL_3:\n %.pre5 = load i32, i32* %16, align 4\n store i32 %.pre5, i32* %.reg2mem10\n store i32 %35, i32* %.reg2mem12\n br label LBL_4\n LBL_4:\n %.reload13 = load i32, i32* %.reg2mem12\n %.reload11 = load i32, i32* %.reg2mem10\n %39 = add i32 %storemerge3.reload, 1\n %40 = zext i32 %.reload11 to i64\n %41 = sext i32 %39 to i64\n %42 = icmp slt i64 %41, %40\n store i32 %.reload11, i32* %.reg2mem14\n store i32 %.reload13, i32* %.reg2mem16\n store i64 %41, i64* %.reg2mem18\n store i32 %39, i32* %storemerge3.reg2mem\n store i64 %40, i64* %.lcssa.reg2mem\n br i1 %42, label LBL_5, label LBL_7\n LBL_5:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload17 = load i32, i32* %.reg2mem16\n %.reload15 = load i32, i32* %.reg2mem14\n %43 = icmp eq i32 %.reload17, 0\n store i32 %.reload15, i32* %.reg2mem10\n store i32 0, i32* %.reg2mem12\n br i1 %43, label LBL_4, label LBL_2.lr.ph\n LBL_6:\n %.reload19 = load i64, i64* %.reg2mem18\n %44 = mul i64 %.reload19, 8\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_2\n LBL_7:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32* %21, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge12.reg2mem, { 2, 1, 0 }\n uselistorder i32* %.reg2mem10, { 2, 0, 1 }\n uselistorder i32* %.reg2mem12, { 2, 0, 1 }\n uselistorder i32 0, { 2, 1, 3, 0, 4 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_get_ticks_2552", "fun_name": "cpu_get_ticks", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n store i64 %2, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %3 = load i64, i64* @gv_0, align 8\n %4 = load i32, i32* @gv_1, align 4\n %5 = icmp eq i32 %4, 0\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC()\n %7 = add i64 %6, %3\n store i64 %7, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %8 = load i64, i64* @gv_2, align 8\n %9 = icmp sgt i64 %8, %sv_0.0.reload\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %9, label LBL_5, label LBL_6\n LBL_5:\n %10 = load i64, i64* @gv_0, align 8\n %11 = sub i64 %8, %sv_0.0.reload\n %12 = add i64 %11, %10\n store i64 %12, i64* @gv_0, align 8\n store i64 %8, i64* %sv_0.1.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n store i64 %sv_0.1.reload, i64* @gv_2, align 8\n store i64 %sv_0.1.reload, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 1, 0, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_metadata_from_side_data_16182", "fun_name": "add_metadata_from_side_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.in4.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %1 = bitcast i32* %sv_1 to i64*\n %2 = call i64 @FUNC(i64 %0, i64 0, i64* nonnull %1)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = load i32, i32* %sv_1, align 4\n %6 = sext i32 %5 to i64\n %7 = add i64 %2, %6\n %8 = icmp ugt i64 %7, %2\n store i64 %2, i64* %sv_0.0.in4.reg2mem\n br i1 %8, label LBL_2, label LBL_4\n LBL_2:\n %sv_0.0.in4.reload = load i64, i64* %sv_0.0.in4.reg2mem\n %sv_0.0 = inttoptr i64 %sv_0.0.in4.reload to i8*\n %9 = call i32 @strlen(i8* %sv_0.0)\n %10 = sext i32 %9 to i64\n %11 = add i64 %sv_0.0.in4.reload, 1\n %12 = add i64 %11, %10\n %13 = call i64 @FUNC(i64 %4)\n %14 = call i64 @FUNC(i64 %13, i64 %sv_0.0.in4.reload, i64 %12, i64 0)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = inttoptr i64 %12 to i8*\n %18 = call i32 @strlen(i8* %17)\n %19 = sext i32 %18 to i64\n %20 = add i64 %12, 1\n %21 = add i64 %20, %19\n %22 = icmp ugt i64 %7, %21\n store i64 %21, i64* %sv_0.0.in4.reg2mem\n br i1 %22, label LBL_2, label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64 %sv_0.0.in4.reload, { 1, 0, 2 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.0.in4.reg2mem, { 2, 0, 1 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_pipe_18603", "fun_name": "qemu_pipe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %2 to i32\n %4 = insertvalue [2 x i32] undef, i32 %3, 0\n %5 = call i32 @pipe2([2 x i32] %4, i32 524288)\n %6 = call i32 @pipe([2 x i32] %4)\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %14)\n br label LBL_2\n LBL_2:\n %16 = zext i32 %6 to i64\n ret i64 %16\n\n uselistorder i64 (i64)* @qemu_set_cloexec, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xt_request_find_match_4805", "fun_name": "xt_request_find_match", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i32 @strnlen(i8* %arg2, i32 36)\n %1 = icmp eq i32 %0, 36\n %2 = icmp eq i1 %1, false\n store i64 -22, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %3 = urem i64 %arg1, 256\n %4 = trunc i64 %arg3 to i8\n %5 = ptrtoint i8* %arg2 to i64\n %6 = call i64 @FUNC(i64 %3, i64 %5, i8 %4)\n %7 = icmp ult i64 %6, -1000\n store i64 %6, i64* %storemerge.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = mul i64 %arg1, 8\n %9 = and i64 %8, 2040\n %10 = add i64 %9, ptrtoint ([2 x i8*]* @gv_0 to i64)\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %5)\n %14 = call i64 @FUNC(i64 %3, i64 %5, i8 %4)\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 (i64, i64, i8)* @xt_find_match, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fec_enet_set_pauseparam_3744", "fun_name": "fec_enet_set_pauseparam", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967277, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_13\n LBL_1:\n %8 = trunc i64 %1 to i32\n %9 = ptrtoint i32* %arg2 to i64\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, %8\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_3:\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = load i32, i32* %11, align 4\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n %20 = zext i1 %19 to i32\n store i32 %20, i32* %16, align 4\n %21 = add i64 %9, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n %. = select i1 %24, i32 0, i32 2\n %25 = or i32 %., %20\n store i32 %25, i32* %16, align 4\n %26 = load i32, i32* %11, align 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = load i32, i32* %22, align 4\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = load i64, i64* %4, align 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = or i32 %33, 1\n store i32 %34, i32* %32, align 4\n %35 = load i64, i64* %4, align 8\n %36 = add i64 %35, 4\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = or i32 %38, 1\n store i32 %39, i32* %37, align 4\n br label LBL_7\n LBL_6:\n %40 = load i64, i64* %4, align 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = and i32 %42, -2\n store i32 %43, i32* %41, align 4\n %44 = load i64, i64* %4, align 8\n %45 = add i64 %44, 4\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = and i32 %47, -2\n store i32 %48, i32* %46, align 4\n br label LBL_7\n LBL_7:\n %49 = load i32, i32* %22, align 4\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_11, label LBL_8\n LBL_8:\n %51 = call i64 @FUNC(i64 %2)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_10, label LBL_9\n LBL_9:\n %54 = call i64 @FUNC(i64 %2)\n br label LBL_10\n LBL_10:\n %55 = load i64, i64* %4, align 8\n %56 = call i64 @FUNC(i64 %55)\n br label LBL_11\n LBL_11:\n %57 = call i64 @FUNC(i64 %2)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_13, label LBL_12\n LBL_12:\n %60 = add i64 %3, 12\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %2, i64 %63)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %22, { 1, 0, 2 }\n uselistorder i64* %4, { 2, 0, 1, 3, 4, 5 }\n uselistorder i64 %2, { 3, 4, 1, 2, 0, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64)* @netif_running, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6, 7, 8 }\n uselistorder label LBL_13, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_bt_report_6271", "fun_name": "gf_bt_report", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i64, i64* %1\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %11 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %12 = trunc i64 %3 to i8\n %13 = icmp eq i8 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i128 %11)\n %15 = call i64 @FUNC(i128 %10)\n %16 = call i64 @FUNC(i128 %9)\n %17 = call i64 @FUNC(i128 %8)\n %18 = call i64 @FUNC(i128 %7)\n %19 = call i64 @FUNC(i128 %6)\n %20 = call i64 @FUNC(i128 %5)\n %21 = call i64 @FUNC(i128 %4)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %22 = ashr exact i64 %sext, 32\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %. = select i1 %24, i64 3, i64 2\n %25 = call i64 @FUNC(i64 1, i64 %.)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n store i32 24, i32* %sv_1, align 4\n %28 = ptrtoint i32* %sv_1 to i64\n %29 = bitcast i64* %sv_0 to i8*\n %30 = call i32 @vsnprintf(i8* nonnull %29, i32 2048, i8* %arg3, i64 %28)\n %sext6 = mul i64 %2, 4294967296\n %31 = ashr exact i64 %sext6, 32\n %32 = call i64 @FUNC(i64 %., i64 1, i64 %31, i64 %28, i64 %arg5, i64 %arg6)\n br label LBL_4\n LBL_4:\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %33 = ptrtoint i32* %arg1 to i64\n %34 = add i64 %33, 4\n %35 = inttoptr i64 %34 to i32*\n store i32 %23, i32* %35, align 4\n br label LBL_6\n LBL_6:\n %36 = and i64 %22, 4294967295\n ret i64 %36\n\n uselistorder i64* %1, { 1, 0 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "requestIdrFrame_7057", "fun_name": "requestIdrFrame", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %3 = load i32, i32* @gv_0, align 4\n %4 = icmp slt i32 %3, 5\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = load i64, i64* @gv_1, align 8\n %6 = icmp sgt i64 %5, 31\n %7 = add i64 %5, -32\n %storemerge = select i1 %6, i64 %7, i64 0\n store i64 %storemerge, i64* %sv_0, align 8\n %8 = load i64, i64* @gv_2, align 8\n %9 = load i32, i32* @gv_3, align 4\n %10 = ptrtoint i64* %sv_0 to i64\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %8, i64* nonnull %sv_0)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %10, i64* %rdx.0.reg2mem\n store i64 %8, i64* %rsi.0.reg2mem\n br i1 %15, label LBL_5, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC()\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_4, i64 0, i64 0), i64 %17, i64 %10, i64 %8, i64 %2, i64 %1)\n %19 = call i64 @FUNC()\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %20 = load i64, i64* @gv_5, align 8\n %21 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22, i64 %20, i64* nonnull @gv_6)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 ptrtoint (i64* @gv_6 to i64), i64* %rdx.0.reg2mem\n store i64 %20, i64* %rsi.0.reg2mem\n br i1 %26, label LBL_5, label LBL_4\n LBL_4:\n %27 = call i64 @FUNC()\n %28 = and i64 %27, 4294967295\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_4, i64 0, i64 0), i64 %28, i64 ptrtoint (i64* @gv_6 to i64), i64 %20, i64 %2, i64 %1)\n %30 = call i64 @FUNC()\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_7, i64 0, i64 0), i64 %rsi.0.reload, i64 %rdx.0.reload, i64 %rsi.0.reload, i64 %2, i64 %1)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rsi.0.reload, { 1, 0 }\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_6 to i64), { 1, 0 }\n uselistorder i64* @gv_6, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @Limelog, { 2, 1, 0 }\n uselistorder i64 ()* @LastSocketError, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @sendMessageAndDiscardReply, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 7, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_map_group_to_gid_8598", "fun_name": "nfs_map_group_to_gid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %sv_0.01.reg2mem = alloca i32\n %rcx.02.reg2mem = alloca i64\n %sv_1 = alloca i32, align 4\n store i32 -1, i32* %sv_1, align 4\n %0 = call i64 @FUNC(i64 %arg2, i64 %arg3, i32* nonnull %sv_1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %arg3, i64* %rcx.02.reg2mem\n store i32 0, i32* %sv_0.01.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = ptrtoint i32* %sv_1 to i64\n %6 = call i64 @FUNC(i64 %arg2, i64 %arg3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32* nonnull %sv_1, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %5, i64* %rcx.02.reg2mem\n store i32 %7, i32* %sv_0.01.reg2mem\n store i32 %7, i32* %sv_0.1.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem\n %rcx.02.reload = load i64, i64* %rcx.02.reg2mem\n %10 = load i32, i32* %sv_1, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64* nonnull @gv_1, i64 %11)\n store i64 %12, i64* %arg4, align 8\n %13 = call i64 @FUNC(i64 %rcx.02.reload)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n %spec.select = select i1 %16, i32 %sv_0.01.reload, i32 -34\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %17 = load i32, i32* %sv_1, align 4\n %18 = call i64 @FUNC(i64 %arg2, i64 %arg3, i32 %17, i32 %sv_0.1.reload)\n %19 = zext i32 %sv_0.1.reload to i64\n ret i64 %19\n\n uselistorder i32* %sv_1, { 2, 3, 0, 4, 1, 5 }\n uselistorder i64* %rcx.02.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.01.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i64 %arg3, { 2, 1, 0, 3 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtsp_parse_request_136", "fun_name": "rtsp_parse_request", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem14 = alloca i8*\n %.reg2mem12 = alloca i64\n %.lcssa.reg2mem = alloca i8\n %.lcssa3.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %sv_7 = alloca i64, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i8*\n store i8 0, i8* %4, align 1\n store i64 %0, i64* %sv_5, align 8\n %5 = call i64 @FUNC(i64* nonnull %sv_4, i64 32, i64* nonnull %sv_5)\n %6 = call i64 @FUNC(i64* nonnull %sv_3, i64 1024, i64* nonnull %sv_5)\n %7 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i64* nonnull %sv_5)\n %8 = add i64 %0, 40\n %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_4, i64 32)\n %10 = add i64 %0, 72\n %11 = call i64 @FUNC(i64 %10, i64* nonnull %sv_3, i64 1024)\n %12 = add i64 %0, 1096\n %13 = call i64 @FUNC(i64 %12, i64* nonnull %sv_2, i64 32)\n %14 = add i64 %0, 32\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %19 = inttoptr i64 %14 to i64*\n store i64 0, i64* %19, align 8\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_2:\n %20 = bitcast i64* %sv_2 to i8*\n %21 = call i32 @strcmp(i8* nonnull %20, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %0, i64 1)\n br label LBL_28\n LBL_4:\n %24 = call i64* @memset(i64* nonnull %sv_6, i32 0, i32 4)\n %25 = load i64, i64* %sv_5, align 8\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp ne i8 %27, 10\n %29 = icmp eq i8 %27, 0\n %30 = icmp eq i1 %29, false\n %or.cond4 = icmp eq i1 %28, %30\n store i64 %25, i64* %.reg2mem\n store i64 %25, i64* %.lcssa3.reg2mem\n store i8 %27, i8* %.lcssa.reg2mem\n br i1 %or.cond4, label LBL_5, label LBL_6\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %31 = add i64 %.reload, 1\n store i64 %31, i64* %sv_5, align 8\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp ne i8 %33, 10\n %35 = icmp eq i8 %33, 0\n %36 = icmp eq i1 %35, false\n %or.cond = icmp eq i1 %34, %36\n store i64 %31, i64* %.reg2mem\n store i64 %31, i64* %.lcssa3.reg2mem\n store i8 %33, i8* %.lcssa.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_6\n LBL_6:\n %.lcssa.reload = load i8, i8* %.lcssa.reg2mem\n %.lcssa3.reload = load i64, i64* %.lcssa3.reg2mem\n %37 = icmp eq i8 %.lcssa.reload, 10\n %38 = icmp eq i1 %37, false\n store i64 %.lcssa3.reload, i64* %.reg2mem12\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n %39 = add i64 %.lcssa3.reload, 1\n store i64 %39, i64* %sv_5, align 8\n store i64 %39, i64* %.reg2mem12\n br label LBL_8\n LBL_8:\n %40 = ptrtoint i64* %sv_6 to i64\n %.reload13 = load i64, i64* %.reg2mem12\n %41 = inttoptr i64 %.reload13 to i8*\n %42 = load i8, i8* %41, align 1\n %43 = icmp eq i8 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_9, label LBL_15\n LBL_9:\n %45 = ptrtoint i64* %sv_7 to i64\n %46 = add i64 %45, -2160\n store i8* %41, i8** %.reg2mem14\n br label LBL_10\n LBL_10:\n %.reload15 = load i8*, i8** %.reg2mem14\n %47 = call i8* @strchr(i8* %.reload15, i32 10)\n %48 = icmp eq i8* %47, null\n br i1 %48, label LBL_15, label LBL_11\n LBL_11:\n %49 = ptrtoint i8* %47 to i64\n %50 = load i64, i64* %sv_5, align 8\n %51 = icmp ult i64 %50, %49\n store i64 %49, i64* %sv_0.0.reg2mem\n br i1 %51, label LBL_12, label LBL_13\n LBL_12:\n %52 = add i64 %49, -1\n %53 = inttoptr i64 %52 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = icmp eq i8 %54, 13\n %56 = icmp eq i1 %55, false\n %spec.select2 = select i1 %56, i64 %49, i64 %52\n store i64 %spec.select2, i64* %sv_0.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %57 = icmp eq i64 %sv_0.0.reload, %50\n br i1 %57, label LBL_15, label LBL_14\n LBL_14:\n %58 = sub i64 %sv_0.0.reload, %50\n %59 = trunc i64 %58 to i32\n %60 = icmp ult i32 %59, 1023\n %spec.select = select i1 %60, i32 %59, i32 1023\n %61 = inttoptr i64 %50 to i64*\n %62 = call i64* @memcpy(i64* nonnull %sv_1, i64* %61, i32 %spec.select)\n %63 = zext i32 %spec.select to i64\n %64 = add i64 %46, %63\n %65 = inttoptr i64 %64 to i8*\n store i8 0, i8* %65, align 1\n %66 = call i64 @FUNC(i64 %40, i64* nonnull %sv_1, i64 0)\n %67 = add i64 %49, 1\n store i64 %67, i64* %sv_5, align 8\n %68 = inttoptr i64 %67 to i8*\n %69 = load i8, i8* %68, align 1\n %70 = icmp eq i8 %69, 0\n %71 = icmp eq i1 %70, false\n store i8* %68, i8** %.reg2mem14\n br i1 %71, label LBL_10, label LBL_15\n LBL_15:\n %72 = bitcast i64* %sv_6 to i32*\n %73 = load i32, i32* %72, align 8\n %74 = add i64 %0, 1128\n %75 = inttoptr i64 %74 to i32*\n store i32 %73, i32* %75, align 4\n %76 = bitcast i64* %sv_4 to i8*\n %77 = call i32 @strcmp(i8* nonnull %76, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %78 = icmp eq i32 %77, 0\n %79 = icmp eq i1 %78, false\n br i1 %79, label LBL_17, label LBL_16\n LBL_16:\n %80 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3)\n br label LBL_28\n LBL_17:\n %81 = call i32 @strcmp(i8* nonnull %76, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0))\n %82 = icmp eq i32 %81, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_19, label LBL_18\n LBL_18:\n %84 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3)\n br label LBL_28\n LBL_19:\n %85 = call i32 @strcmp(i8* nonnull %76, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\n %86 = icmp eq i32 %85, 0\n %87 = icmp eq i1 %86, false\n br i1 %87, label LBL_21, label LBL_20\n LBL_20:\n %88 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 %40)\n br label LBL_28\n LBL_21:\n %89 = call i32 @strcmp(i8* nonnull %76, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\n %90 = icmp eq i32 %89, 0\n %91 = icmp eq i1 %90, false\n br i1 %91, label LBL_23, label LBL_22\n LBL_22:\n %92 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 %40)\n br label LBL_28\n LBL_23:\n %93 = call i32 @strcmp(i8* nonnull %76, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0))\n %94 = icmp eq i32 %93, 0\n %95 = icmp eq i1 %94, false\n br i1 %95, label LBL_25, label LBL_24\n LBL_24:\n %96 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 %40)\n br label LBL_28\n LBL_25:\n %97 = call i32 @strcmp(i8* nonnull %76, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0))\n %98 = icmp eq i32 %97, 0\n %99 = icmp eq i1 %98, false\n br i1 %99, label LBL_27, label LBL_26\n LBL_26:\n %100 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 %40)\n br label LBL_28\n LBL_27:\n %101 = call i64 @FUNC(i64 %0, i64 2)\n br label LBL_28\n LBL_28:\n %102 = add i64 %0, 24\n %103 = inttoptr i64 %14 to i64*\n %104 = load i64, i64* %103, align 8\n %105 = call i64 @FUNC(i64 %104, i64 %102)\n %106 = trunc i64 %105 to i32\n store i64 0, i64* %103, align 8\n %107 = icmp slt i32 %106, 0\n %108 = icmp eq i1 %107, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %108, label LBL_29, label LBL_30\n LBL_29:\n %109 = inttoptr i64 %102 to i64*\n %110 = load i64, i64* %109, align 8\n store i64 %110, i64* %2, align 8\n %111 = load i64, i64* %109, align 8\n %sext = mul i64 %105, 4294967296\n %112 = ashr exact i64 %sext, 32\n %113 = add i64 %111, %112\n %114 = add i64 %0, 16\n %115 = inttoptr i64 %114 to i64*\n store i64 %113, i64* %115, align 8\n %116 = add i64 %0, 1132\n %117 = inttoptr i64 %116 to i32*\n store i32 3, i32* %117, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_30:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %50, { 2, 1, 0, 3 }\n uselistorder i64 %49, { 3, 1, 4, 0, 2 }\n uselistorder i8* %47, { 1, 0 }\n uselistorder i64 %40, { 4, 3, 2, 1, 0 }\n uselistorder i64 %.lcssa3.reload, { 1, 0 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64* %sv_6, { 0, 2, 1 }\n uselistorder i64* %sv_5, { 4, 5, 6, 7, 0, 1, 2, 3, 8 }\n uselistorder i64 %0, { 7, 8, 9, 10, 6, 5, 4, 3, 2, 1, 11, 0, 12, 13, 14, 15, 16, 17 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem14, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8 10, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @rtsp_reply_error, { 1, 0 }\n uselistorder i64 1, { 1, 3, 2, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 0, 1, 5, 2, 3, 6, 4 }\n uselistorder i1 false, { 3, 4, 5, 6, 7, 8, 9, 11, 10, 1, 12, 2, 0, 13 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9 }\n uselistorder i64 (i64, i64*, i64)* @av_strlcpy, { 2, 1, 0 }\n uselistorder i64 1024, { 1, 2, 0 }\n uselistorder i64 (i64*, i64, i64*)* @get_word, { 2, 1, 0 }\n uselistorder i64 32, { 0, 5, 1, 2, 3, 4 }\n uselistorder i8 0, { 4, 3, 1, 2, 0, 5, 6, 7 }\n uselistorder label LBL_30, { 1, 0, 2 }\n uselistorder label LBL_15, { 0, 2, 1, 3 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fdctrl_write_data_16072", "fun_name": "fdctrl_write_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi9.reg2mem = alloca i32*\n %.reg2mem11 = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = urem i64 %3, 2\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 1\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = and i8 %13, 6\n %15 = icmp eq i8 %14, 2\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_4:\n %sext = mul i64 %arg2, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = add i64 %10, 2\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = and i8 %20, -17\n store i8 %21, i8* %19, align 1\n %22 = load i8, i8* %12, align 1\n %23 = and i8 %22, 8\n %24 = icmp eq i8 %23, 0\n %25 = add i64 %10, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n br i1 %24, label LBL_14, label LBL_5\n LBL_5:\n %28 = add i32 %27, 1\n store i32 %28, i32* %26, align 4\n %29 = srem i32 %27, 512\n %30 = sext i32 %29 to i64\n %31 = trunc i64 %17 to i8\n %32 = add i64 %10, 12\n %33 = add i64 %32, %30\n %34 = inttoptr i64 %33 to i8*\n store i8 %31, i8* %34, align 1\n %35 = icmp eq i32 %29, 511\n br i1 %35, label LBL_7, label LBL_6\n LBL_6:\n %36 = load i32, i32* %26, align 4\n %37 = add i64 %10, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %36, %39\n %41 = icmp eq i1 %40, false\n store i32 %39, i32* %.reg2mem\n store i32 %36, i32* %.reg2mem11\n br i1 %41, label LBL_12, label LBL_7\n LBL_7:\n %42 = call i64 @FUNC(i64 %10)\n %43 = call i64 @FUNC(i64 %42)\n %44 = and i64 %43, 4294967295\n %45 = inttoptr i64 %42 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46, i64 %44, i64 %32, i64 1)\n %48 = trunc i64 %47 to i32\n %49 = icmp slt i32 %48, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_9, label LBL_8\n LBL_8:\n %51 = call i64 @FUNC(i64 %42)\n %52 = and i64 %51, 4294967295\n %53 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %52, i64 %32, i64 1, i64 %2, i64 %1)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_9:\n %54 = call i64 @FUNC(i64 %10, i64 %42)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_9.LBL_12_crit_edge, label LBL_11\n LBL_10:\n %.pre = load i32, i32* %26, align 4\n %.pre3 = add i64 %10, 8\n %.pre4 = inttoptr i64 %.pre3 to i32*\n %.pre10 = load i32, i32* %.pre4, align 4\n store i32 %.pre10, i32* %.reg2mem\n store i32 %.pre, i32* %.reg2mem11\n br label LBL_12\n LBL_11:\n %58 = call i64 @FUNC(i64 %42)\n %59 = and i64 %58, 4294967295\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64 %59, i64 %42, i64 1, i64 %2, i64 %1)\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_12:\n %.reload12 = load i32, i32* %.reg2mem11\n %.reload = load i32, i32* %.reg2mem\n %61 = zext i32 %.reload to i64\n %62 = icmp eq i32 %.reload12, %.reload\n %63 = icmp eq i1 %62, false\n store i64 %61, i64* %rax.0.reg2mem\n br i1 %63, label LBL_21, label LBL_13\n LBL_13:\n %64 = call i64 @FUNC(i64 %10, i64 0, i64 0, i64 0)\n store i64 %64, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_14:\n %65 = icmp eq i32 %27, 0\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_14.LBL_17_crit_edge, label LBL_16\n LBL_15:\n %.pre6 = add i64 %10, 8\n %.pre8 = inttoptr i64 %.pre6 to i32*\n store i32* %.pre8, i32** %.pre-phi9.reg2mem\n br label LBL_17\n LBL_16:\n %67 = zext i8 %21 to i64\n %68 = mul i64 %arg2, 4\n %69 = and i64 %68, 1020\n %70 = add i64 %69, ptrtoint (i32** @gv_4 to i64)\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = sext i32 %72 to i64\n %74 = mul i64 %73, 32\n %75 = add i64 %74, ptrtoint (i64* @gv_5 to i64)\n %76 = inttoptr i64 %75 to i64*\n %77 = load i64, i64* %76, align 8\n %78 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0), i64 %77, i64 %67, i64 %5, i64 %2, i64 %1)\n %79 = add i64 %74, ptrtoint (i32** @gv_7 to i64)\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 8\n %82 = add i32 %81, 1\n %83 = add i64 %10, 8\n %84 = inttoptr i64 %83 to i32*\n store i32 %82, i32* %84, align 4\n %85 = load i8, i8* %12, align 1\n %86 = or i8 %85, 64\n store i8 %86, i8* %12, align 1\n store i32* %84, i32** %.pre-phi9.reg2mem\n br label LBL_17\n LBL_17:\n %.pre-phi9.reload = load i32*, i32** %.pre-phi9.reg2mem\n %87 = and i64 %17, 4294967295\n %88 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0), i64 ptrtoint ([18 x i8]* @gv_9 to i64), i64 %87, i64 %5, i64 %2, i64 %1)\n %89 = load i32, i32* %26, align 4\n %90 = add i32 %89, 1\n store i32 %90, i32* %26, align 4\n %91 = zext i32 %89 to i64\n %92 = trunc i64 %17 to i8\n %93 = add i64 %10, 12\n %94 = add i64 %93, %91\n %95 = inttoptr i64 %94 to i8*\n store i8 %92, i8* %95, align 1\n %96 = load i32, i32* %26, align 4\n %97 = load i32, i32* %.pre-phi9.reload, align 4\n %98 = zext i32 %97 to i64\n %99 = icmp eq i32 %96, %97\n %100 = icmp eq i1 %99, false\n store i64 %98, i64* %rax.0.reg2mem\n br i1 %100, label LBL_21, label LBL_18\n LBL_18:\n %101 = add i64 %10, 524\n %102 = inttoptr i64 %101 to i8*\n %103 = load i8, i8* %102, align 1\n %104 = and i8 %103, 32\n %105 = icmp eq i8 %104, 0\n br i1 %105, label LBL_20, label LBL_19\n LBL_19:\n %106 = call i64 @FUNC(i64 %10)\n store i64 %106, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n %107 = zext i32 %96 to i64\n %108 = inttoptr i64 %93 to i8*\n %109 = load i8, i8* %108, align 1\n %110 = zext i8 %109 to i64\n %111 = mul i64 %110, 4\n %112 = add i64 %111, ptrtoint (i32** @gv_4 to i64)\n %113 = inttoptr i64 %112 to i32*\n %114 = load i32, i32* %113, align 4\n %115 = sext i32 %114 to i64\n %116 = mul i64 %115, 32\n %117 = add i64 %116, ptrtoint (i64* @gv_5 to i64)\n %118 = inttoptr i64 %117 to i64*\n %119 = load i64, i64* %118, align 8\n %120 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_10, i64 0, i64 0), i64 %119, i64 %107, i64 %87, i64 %2, i64 %1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %96, { 1, 0 }\n uselistorder i64 %93, { 1, 0 }\n uselistorder i64 %74, { 1, 0 }\n uselistorder i64 %32, { 2, 1, 0 }\n uselistorder i32 %29, { 1, 0 }\n uselistorder i32 %27, { 2, 0, 1 }\n uselistorder i32* %26, { 2, 4, 3, 0, 1, 5, 6 }\n uselistorder i8 %21, { 1, 0 }\n uselistorder i64 %17, { 1, 2, 0 }\n uselistorder i8* %12, { 1, 0, 2, 3 }\n uselistorder i64 %10, { 0, 10, 9, 11, 8, 1, 4, 2, 5, 6, 3, 7, 12, 14, 13 }\n uselistorder i64 %5, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem11, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 8, 4, 5, 3, 2, 9, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @fd_sector, { 2, 1, 0 }\n uselistorder i64 8, { 2, 0, 1, 3 }\n uselistorder i8 0, { 0, 1, 3, 2 }\n uselistorder i64 1, { 2, 1, 3, 4, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FLOPPY_DPRINTF, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg2, { 0, 1, 3, 2 }\n uselistorder label LBL_21, { 2, 3, 4, 1, 0, 5, 6, 7, 8 }\n uselistorder label LBL_17, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__qemu_rdma_delete_block_121", "fun_name": "__qemu_rdma_delete_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rdi.16.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %.reg2mem35 = alloca i64\n %rdi.0.lcssa18.reg2mem = alloca i64\n %.reg2mem33 = alloca i32\n %storemerge28.reg2mem = alloca i32\n %.reg2mem31 = alloca i64\n %.lcssa5.reg2mem = alloca i64\n %.reg2mem29 = alloca i32\n %.reg2mem27 = alloca i64\n %storemerge311.reg2mem = alloca i32\n %.reg2mem25 = alloca i64\n %.reg2mem23 = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3, i64 %arg2)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = inttoptr i64 %4 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_9, label LBL_3\n LBL_3:\n %10 = add i64 %4, 40\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n store i64 %8, i64* %.lcssa5.reg2mem\n br i1 %13, label LBL_8, label LBL_4\n LBL_4:\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i32*\n store i64 %8, i64* %.reg2mem\n store i32 %12, i32* %.reg2mem23\n store i64 0, i64* %.reg2mem25\n store i32 0, i32* %storemerge311.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge311.reload = load i32, i32* %storemerge311.reg2mem\n %.reload26 = load i64, i64* %.reg2mem25\n %.reload24 = load i32, i32* %.reg2mem23\n %.reload = load i64, i64* %.reg2mem\n %16 = mul i64 %.reload26, 8\n %17 = add i64 %16, %.reload\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n store i64 %.reload, i64* %.reg2mem27\n store i32 %.reload24, i32* %.reg2mem29\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %19)\n %22 = load i32, i32* %15, align 4\n %23 = add i32 %22, -1\n store i32 %23, i32* %15, align 4\n %.pre = load i32, i32* %11, align 4\n %.pre16 = load i64, i64* %7, align 8\n store i64 %.pre16, i64* %.reg2mem27\n store i32 %.pre, i32* %.reg2mem29\n br label LBL_7\n LBL_7:\n %.reload30 = load i32, i32* %.reg2mem29\n %.reload28 = load i64, i64* %.reg2mem27\n %24 = add i32 %storemerge311.reload, 1\n %25 = zext i32 %.reload30 to i64\n %26 = sext i32 %24 to i64\n %27 = icmp slt i64 %26, %25\n store i64 %.reload28, i64* %.reg2mem\n store i32 %.reload30, i32* %.reg2mem23\n store i64 %26, i64* %.reg2mem25\n store i32 %24, i32* %storemerge311.reg2mem\n store i64 %.reload28, i64* %.lcssa5.reg2mem\n br i1 %27, label LBL_5, label LBL_8\n LBL_8:\n %.lcssa5.reload = load i64, i64* %.lcssa5.reg2mem\n %28 = call i64 @FUNC(i64 %.lcssa5.reload)\n store i64 0, i64* %7, align 8\n br label LBL_9\n LBL_9:\n %29 = add i64 %4, 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %33 = call i64 @FUNC(i64 %31)\n %34 = add i64 %0, 24\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i32 %36, -1\n store i32 %37, i32* %35, align 4\n store i64 0, i64* %30, align 8\n br label LBL_11\n LBL_11:\n %38 = add i64 %4, 48\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40)\n store i64 0, i64* %39, align 8\n %42 = add i64 %4, 56\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44)\n store i64 0, i64* %43, align 8\n %46 = add i64 %4, 64\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48)\n store i64 0, i64* %47, align 8\n %50 = add i64 %0, 8\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = icmp eq i32 %52, 0\n store i64 %48, i64* %rdi.0.lcssa18.reg2mem\n br i1 %53, label LBL_19, label LBL_12\n LBL_12:\n %54 = add i64 %3, 24\n store i64 0, i64* %.reg2mem31\n store i32 0, i32* %storemerge28.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge28.reload = load i32, i32* %storemerge28.reg2mem\n %.reload32 = load i64, i64* %.reg2mem31\n %55 = mul nsw i64 %.reload32, 72\n %56 = add i64 %54, %55\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = load i64, i64* %2, align 8\n %60 = call i64 @FUNC(i64 %59, i64 %58)\n %61 = add i32 %storemerge28.reload, 1\n %62 = load i32, i32* %51, align 4\n %63 = zext i32 %62 to i64\n %64 = sext i32 %61 to i64\n %65 = icmp slt i64 %64, %63\n store i64 %64, i64* %.reg2mem31\n store i32 %61, i32* %storemerge28.reg2mem\n br i1 %65, label LBL_13, label LBL_14\n LBL_14:\n %66 = icmp slt i32 %62, 2\n store i64 %59, i64* %rdi.0.lcssa18.reg2mem\n br i1 %66, label LBL_19, label LBL_15\n LBL_15:\n %67 = add i32 %62, -1\n %68 = sext i32 %67 to i64\n %69 = mul nsw i64 %68, 72\n %70 = call i64 @FUNC(i64 %69)\n store i64 %70, i64* %arg1, align 8\n %71 = add i64 %4, 44\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = icmp eq i32 %73, 0\n store i32 0, i32* %.reg2mem33\n br i1 %74, label LBL_17, label LBL_16\n LBL_16:\n %75 = mul i32 %73, 72\n %76 = inttoptr i64 %69 to i64*\n %77 = inttoptr i64 %3 to i64*\n %78 = call i64* @memcpy(i64* %76, i64* %77, i32 %75)\n %.pre17 = load i32, i32* %72, align 4\n store i32 %.pre17, i32* %.reg2mem33\n br label LBL_17\n LBL_17:\n %.reload34 = load i32, i32* %.reg2mem33\n %79 = load i32, i32* %51, align 4\n %80 = add i32 %79, -1\n %81 = icmp ult i32 %.reload34, %80\n br i1 %81, label LBL_18, label LBL_22\n LBL_18:\n %82 = sub i32 0, %.reload34\n %83 = sub i32 %82, 1\n %84 = add i32 %79, %83\n %85 = mul i32 %84, 72\n %86 = sext i32 %.reload34 to i64\n %87 = mul nsw i64 %86, 72\n %88 = add i64 %3, 72\n %89 = add i64 %88, %87\n %90 = add nsw i64 %87, %69\n %91 = inttoptr i64 %90 to i64*\n %92 = inttoptr i64 %89 to i64*\n %93 = call i64* @memcpy(i64* %91, i64* %92, i32 %85)\n br label LBL_22\n LBL_19:\n %rdi.0.lcssa18.reload = load i64, i64* %rdi.0.lcssa18.reg2mem\n %94 = icmp eq i64 %4, %rdi.0.lcssa18.reload\n br i1 %94, label LBL_21, label LBL_20\n LBL_20:\n call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 100, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_21\n LBL_21:\n store i64 0, i64* %arg1, align 8\n br label LBL_22\n LBL_22:\n %95 = add i64 %4, 40\n %96 = inttoptr i64 %95 to i32*\n %97 = load i32, i32* %96, align 4\n %98 = zext i32 %97 to i64\n %99 = add i32 %97, 63\n %100 = and i32 %99, -64\n %101 = add i64 %4, 16\n %102 = inttoptr i64 %101 to i64*\n %103 = load i64, i64* %102, align 8\n %104 = add i64 %4, 32\n %105 = inttoptr i64 %104 to i64*\n %106 = load i64, i64* %105, align 8\n %107 = add i64 %106, %103\n %108 = add i64 %4, 24\n %109 = inttoptr i64 %108 to i64*\n %110 = load i64, i64* %109, align 8\n %111 = load i32, i32* %51, align 4\n %112 = zext i32 %111 to i64\n %113 = trunc i64 %103 to i32\n %114 = trunc i64 %110 to i32\n %115 = trunc i64 %106 to i32\n %116 = trunc i64 %107 to i32\n %117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @gv_4, i64 0, i64 0), i64 %112, i32 %113, i32 %114, i32 %115, i32 %116, i32 %100, i64 %98)\n %118 = call i64 @FUNC(i64 %3)\n %119 = load i32, i32* %51, align 4\n %120 = add i32 %119, -1\n store i32 %120, i32* %51, align 4\n %121 = icmp eq i32 %120, 0\n store i64 0, i64* %.reg2mem35\n store i32 0, i32* %storemerge7.reg2mem\n store i64 %3, i64* %rdi.16.reg2mem\n br i1 %121, label LBL_24, label LBL_23\n LBL_23:\n %rdi.16.reload = load i64, i64* %rdi.16.reg2mem\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload36 = load i64, i64* %.reg2mem35\n %122 = mul nsw i64 %.reload36, 72\n %123 = add i64 %rdi.16.reload, %122\n %124 = add i64 %123, 24\n %125 = inttoptr i64 %124 to i64*\n %126 = load i64, i64* %125, align 8\n %127 = load i64, i64* %2, align 8\n %128 = call i64 @FUNC(i64 %127, i64 %126, i64 %123)\n %129 = add i32 %storemerge7.reload, 1\n %130 = load i32, i32* %51, align 4\n %131 = zext i32 %130 to i64\n %132 = sext i32 %129 to i64\n %133 = icmp slt i64 %132, %131\n store i64 %132, i64* %.reg2mem35\n store i32 %129, i32* %storemerge7.reg2mem\n store i64 %127, i64* %rdi.16.reg2mem\n br i1 %133, label LBL_23, label LBL_24\n LBL_24:\n ret i64 0\n\n uselistorder i64 %123, { 1, 0 }\n uselistorder i64 %106, { 1, 0 }\n uselistorder i64 %103, { 1, 0 }\n uselistorder i32 %.reload34, { 0, 2, 1 }\n uselistorder i32 %62, { 1, 0, 2 }\n uselistorder i32* %51, { 0, 3, 2, 4, 1, 6, 5 }\n uselistorder i32 %.reload30, { 1, 0 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64* %7, { 1, 0, 2 }\n uselistorder i64 %4, { 5, 3, 4, 2, 6, 1, 7, 8, 9, 10, 0, 11, 12 }\n uselistorder i64 %3, { 0, 3, 1, 2, 4, 5 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem23, { 1, 0, 2 }\n uselistorder i64* %.reg2mem25, { 1, 0, 2 }\n uselistorder i32* %storemerge311.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem31, { 1, 0, 2 }\n uselistorder i32* %storemerge28.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem33, { 0, 2, 1 }\n uselistorder i64* %rdi.0.lcssa18.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem35, { 2, 0, 1 }\n uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.16.reg2mem, { 2, 0, 1 }\n uselistorder i64 72, { 1, 3, 2, 4, 0 }\n uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 }\n uselistorder i32 -1, { 1, 2, 3, 4, 0 }\n uselistorder i64 (i64)* @ibv_dereg_mr, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i64 24, { 1, 2, 0, 3, 4 }\n uselistorder i32 0, { 0, 7, 4, 1, 8, 2, 5, 3, 6 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_22, { 1, 2, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "is_netmask_v6_18161", "fun_name": "is_netmask_v6", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = bitcast i64* %arg1 to i8*\n %1 = call i8* @strchr(i8* %0, i32 47)\n %2 = icmp eq i8* %1, null\n store i64 128, i64* %rax.0.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = ptrtoint i8* %1 to i64\n %4 = add i64 %3, 1\n %5 = inttoptr i64 %4 to i8*\n store i8 0, i8* %1, align 1\n %6 = call i8* @strchr(i8* %5, i32 46)\n %7 = icmp eq i8* %6, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_4\n LBL_2:\n %8 = call i32 @atoi(i8* %5)\n %9 = icmp ult i32 %8, 65\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_4\n LBL_3:\n %10 = urem i32 %8, 256\n %phitmp = zext i32 %10 to i64\n store i64 %phitmp, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %1, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2 }\n uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "archive_read_format_rar_read_data_5241", "fun_name": "archive_read_format_rar_read_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n store i32 0, i32* %6, align 4\n br label LBL_2\n LBL_2:\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0, i64 %12)\n store i64 0, i64* %11, align 8\n br label LBL_4\n LBL_4:\n %15 = ptrtoint i64* %arg4 to i64\n store i64 0, i64* %arg2, align 8\n %16 = add i64 %5, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre = add i64 %5, 32\n %.pre4 = inttoptr i64 %.pre to i64*\n store i64* %.pre4, i64** %.pre-phi5.reg2mem\n br label LBL_7\n LBL_6:\n %21 = add i64 %5, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %5, 32\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp slt i64 %23, %26\n store i64* %25, i64** %.pre-phi5.reg2mem\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem\n store i64 0, i64* %arg3, align 8\n %28 = add i64 %5, 40\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n store i64 %30, i64* %arg4, align 8\n %31 = load i64, i64* %.pre-phi5.reload, align 8\n %32 = icmp sgt i64 %31, %15\n %spec.store.select = select i1 %32, i64 %31, i64 %30\n store i64 %spec.store.select, i64* %arg4, align 8\n ret i64 1\n LBL_8:\n %33 = ptrtoint i64* %arg3 to i64\n %34 = ptrtoint i64* %arg2 to i64\n %35 = add i64 %5, 48\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = icmp sgt i32 %37, -1\n %40 = add i32 %37, -1\n %41 = icmp ult i32 %40, 5\n %or.cond = icmp eq i1 %39, %41\n br i1 %or.cond, label LBL_11, label LBL_13\n LBL_10:\n %42 = call i64 @FUNC(i64 %0, i64 %34, i64 %33, i64 %15)\n store i64 %42, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_11:\n %43 = call i64 @FUNC(i64 %0, i64 %34, i64 %33, i64 %15)\n %44 = trunc i64 %43 to i32\n %45 = or i32 %44, 2\n %46 = icmp eq i32 %45, 2\n store i64 %43, i64* %sv_0.0.reg2mem\n br i1 %46, label LBL_14, label LBL_12\n LBL_12:\n %47 = add i64 %5, 64\n %48 = inttoptr i64 %47 to i32*\n store i32 1, i32* %48, align 4\n store i64 %43, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %49 = call i64 @FUNC(i64 %0, i64 100, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %50 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %50\n\n uselistorder i32 %37, { 1, 0, 2 }\n uselistorder i64 %15, { 1, 2, 0 }\n uselistorder i64 %5, { 1, 3, 2, 4, 5, 0, 6, 7, 8 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_14, { 2, 1, 0, 3 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vlc_decode_block_3218", "fun_name": "vlc_decode_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 40\n %2 = call i64 @FUNC(i64 %1, i64 8)\n %3 = trunc i64 %2 to i16\n %4 = mul i16 %3, 8\n %5 = bitcast i64* %arg1 to i16*\n store i16 %4, i16* %5, align 2\n %6 = trunc i64 %arg2 to i32\n %7 = icmp ugt i32 %6, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_9\n LBL_1:\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i32*\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = trunc i64 %arg3 to i32\n %13 = add i64 %0, 32\n %14 = inttoptr i64 %13 to i64*\n store i32 1, i32* %storemerge5.reg2mem\n br label LBL_2\n LBL_2:\n %15 = load i32, i32* %9, align 4\n %16 = load i64, i64* %11, align 8\n %17 = call i64 @FUNC(i64 %1, i64 %16, i32 %15, i64 3)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_3, label LBL_9\n LBL_3:\n %21 = icmp eq i32 %18, -1\n %22 = icmp eq i1 %21, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_9\n LBL_4:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %23 = urem i32 %18, 16\n %24 = add i32 %23, %storemerge5.reload\n %25 = icmp ult i32 %24, 64\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %25, label LBL_5, label LBL_9\n LBL_5:\n %26 = udiv i64 %17, 16\n %27 = urem i64 %26, 268435456\n %28 = call i64 @FUNC(i64 %1, i64 %27)\n %29 = mul i64 %27, 8\n %30 = add i64 %29, ptrtoint (i64* @gv_0 to i64)\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %sext3 = mul i64 %28, 4294967296\n %33 = ashr exact i64 %sext3, 32\n %34 = add i64 %33, %32\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = sext i8 %36 to i32\n %38 = icmp ult i32 %24, 3\n br i1 %38, label LBL_6, label LBL_7\n LBL_6:\n %39 = mul i32 %37, 16\n store i32 %39, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %40 = mul i32 %37, %12\n %41 = sdiv i32 %40, 1001\n store i32 %41, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %42 = load i64, i64* %14, align 8\n %43 = zext i32 %24 to i64\n %44 = mul i64 %43, 4\n %45 = add i64 %42, %44\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = sext i32 %47 to i64\n %49 = mul i64 %48, 2\n %50 = add i64 %49, %0\n %51 = trunc i32 %sv_0.0.reload to i16\n %52 = inttoptr i64 %50 to i16*\n store i16 %51, i16* %52, align 2\n %53 = add i32 %24, 1\n %54 = icmp ult i32 %53, %6\n store i32 %53, i32* %storemerge5.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_2, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %37, { 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder label LBL_9, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tr_webGetResponseStr_7863", "fun_name": "tr_webGetResponseStr", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg1, 505\n br i1 %0, label LBL_43, label LBL_1\n LBL_1:\n %1 = icmp sgt i64 %arg1, 199\n br i1 %1, label LBL_3, label LBL_2\n LBL_2:\n store i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n switch i64 %arg1, label LBL_43 [\n i64 0, label LBL_44\n i64 101, label LBL_4\n ]\n LBL_3:\n %2 = add i64 %arg1, -200\n store i64 %2, i64* @0, align 8\n store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n switch i64 %arg1, label LBL_43 [\n i64 200, label LBL_44\n i64 201, label LBL_5\n i64 202, label LBL_6\n i64 203, label LBL_7\n i64 204, label LBL_8\n i64 205, label LBL_9\n i64 206, label LBL_10\n i64 300, label LBL_11\n i64 301, label LBL_12\n i64 302, label LBL_13\n i64 303, label LBL_14\n i64 304, label LBL_15\n i64 305, label LBL_16\n i64 306, label LBL_17\n i64 307, label LBL_18\n i64 400, label LBL_19\n i64 401, label LBL_20\n i64 402, label LBL_21\n i64 403, label LBL_22\n i64 404, label LBL_23\n i64 405, label LBL_24\n i64 406, label LBL_25\n i64 407, label LBL_26\n i64 408, label LBL_27\n i64 409, label LBL_28\n i64 410, label LBL_29\n i64 411, label LBL_30\n i64 412, label LBL_31\n i64 413, label LBL_32\n i64 414, label LBL_33\n i64 415, label LBL_34\n i64 416, label LBL_35\n i64 417, label LBL_36\n i64 500, label LBL_37\n i64 501, label LBL_38\n i64 502, label LBL_39\n i64 503, label LBL_40\n i64 504, label LBL_41\n i64 505, label LBL_42\n ]\n LBL_4:\n store i64 ptrtoint ([20 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_5:\n store i64 ptrtoint ([8 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_6:\n store i64 ptrtoint ([9 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_7:\n store i64 ptrtoint ([30 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_8:\n store i64 ptrtoint ([11 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_9:\n store i64 ptrtoint ([14 x i8]* @gv_7 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_10:\n store i64 ptrtoint ([16 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_11:\n store i64 ptrtoint ([17 x i8]* @gv_9 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_12:\n store i64 ptrtoint ([18 x i8]* @gv_10 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_13:\n store i64 ptrtoint ([6 x i8]* @gv_11 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_14:\n store i64 ptrtoint ([10 x i8]* @gv_12 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_15:\n store i64 ptrtoint ([13 x i8]* @gv_13 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_16:\n store i64 ptrtoint ([10 x i8]* @gv_14 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_17:\n store i64 ptrtoint ([10 x i8]* @gv_15 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_18:\n store i64 ptrtoint ([19 x i8]* @gv_16 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_19:\n store i64 ptrtoint ([12 x i8]* @gv_17 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_20:\n store i64 ptrtoint ([13 x i8]* @gv_18 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_21:\n store i64 ptrtoint ([17 x i8]* @gv_19 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_22:\n store i64 ptrtoint ([10 x i8]* @gv_20 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_23:\n store i64 ptrtoint ([10 x i8]* @gv_21 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_24:\n store i64 ptrtoint ([19 x i8]* @gv_22 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_25:\n store i64 ptrtoint ([15 x i8]* @gv_23 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_26:\n store i64 ptrtoint ([30 x i8]* @gv_24 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_27:\n store i64 ptrtoint ([16 x i8]* @gv_25 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_28:\n store i64 ptrtoint ([9 x i8]* @gv_26 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_29:\n store i64 ptrtoint ([5 x i8]* @gv_27 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_30:\n store i64 ptrtoint ([16 x i8]* @gv_28 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_31:\n store i64 ptrtoint ([20 x i8]* @gv_29 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_32:\n store i64 ptrtoint ([25 x i8]* @gv_30 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_33:\n store i64 ptrtoint ([21 x i8]* @gv_31 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_34:\n store i64 ptrtoint ([23 x i8]* @gv_32 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_35:\n store i64 ptrtoint ([32 x i8]* @gv_33 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_36:\n store i64 ptrtoint ([19 x i8]* @gv_34 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_37:\n store i64 ptrtoint ([22 x i8]* @gv_35 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_38:\n store i64 ptrtoint ([16 x i8]* @gv_36 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_39:\n store i64 ptrtoint ([12 x i8]* @gv_37 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_40:\n store i64 ptrtoint ([20 x i8]* @gv_38 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_41:\n store i64 ptrtoint ([16 x i8]* @gv_39 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_42:\n store i64 ptrtoint ([27 x i8]* @gv_40 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_43:\n store i64 ptrtoint ([14 x i8]* @gv_41 to i64), i64* %rax.0.reg2mem\n br label LBL_44\n LBL_44:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 2 }\n uselistorder i64 %arg1, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_44, { 40, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 0, 1 }\n uselistorder label LBL_43, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_long_2637", "fun_name": "read_long", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = mul i64 %1, 16777216\n %4 = and i64 %3, 4278190080\n %5 = add i64 %2, 1\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i64\n %9 = mul i64 %8, 65536\n %10 = or i64 %9, %4\n %11 = add i64 %2, 2\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = zext i8 %13 to i64\n %15 = mul i64 %14, 256\n %16 = or i64 %10, %15\n %17 = add i64 %2, 3\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = zext i8 %19 to i64\n %21 = or i64 %16, %20\n ret i64 %21\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "em_jmp_far_239", "fun_name": "em_jmp_far", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = sext i32 %3 to i64\n %5 = add i64 %4, %0\n %6 = inttoptr i64 %5 to i16*\n %7 = load i16, i16* %6, align 2\n %8 = zext i16 %7 to i64\n %9 = call i64 @FUNC(i64 %0, i64 %8, i64 1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = and i64 %9, 4294967295\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %13 = add i64 %0, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = load i32, i32* %2, align 4\n %16 = inttoptr i64 %13 to i64*\n %17 = call i64* @memcpy(i64* %16, i64* %arg1, i32 %15)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_bugs_smt_update_12201", "fun_name": "cpu_bugs_smt_update", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = load i32, i32* @gv_1, align 4\n %2 = icmp sgt i32 %1, 4\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = icmp sgt i32 %1, 2\n br i1 %3, label LBL_4, label LBL_2\n LBL_2:\n %4 = icmp sgt i32 %1, 0\n %5 = add i32 %1, -1\n %6 = icmp ult i32 %5, 2\n %or.cond4 = icmp eq i1 %4, %6\n br i1 %or.cond4, label LBL_3, label LBL_5\n LBL_3:\n %7 = call i64 @FUNC()\n br label LBL_5\n LBL_4:\n %8 = call i64 @FUNC()\n br label LBL_5\n LBL_5:\n %9 = load i32, i32* @gv_2, align 4\n %10 = icmp slt i32 %9, 2\n %11 = icmp slt i32 %9, 0\n %12 = icmp eq i1 %11, false\n %or.cond6 = icmp eq i1 %10, %12\n br i1 %or.cond6, label LBL_6, label LBL_10\n LBL_6:\n %13 = call i64 @FUNC()\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_9, label LBL_7\n LBL_7:\n %16 = call i64 @FUNC(i64 1)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_9, label LBL_8\n LBL_8:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %21 = call i64 @FUNC()\n br label LBL_10\n LBL_10:\n %22 = load i32, i32* inttoptr (i64 4210760 to i32*), align 8\n %23 = icmp slt i32 %22, 2\n %24 = icmp slt i32 %22, 0\n %25 = icmp eq i1 %24, false\n %or.cond = icmp eq i1 %23, %25\n br i1 %or.cond, label LBL_11, label LBL_13\n LBL_11:\n %26 = call i64 @FUNC()\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_13, label LBL_12\n LBL_12:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_13\n LBL_13:\n %30 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %30\n\n uselistorder i32 %22, { 1, 0 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %1, { 1, 0, 2, 3 }\n uselistorder i64 (i8*)* @pr_warn_once, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 ()* @sched_smt_active, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 2, { 2, 0, 1, 3, 4 }\n uselistorder i32 0, { 4, 2, 5, 6, 1, 0, 3 }\n uselistorder label LBL_13, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "replace_u_17639", "fun_name": "replace_u", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.ph.lcssa22.reg2mem = alloca i64\n %sv_1.0.ph.lcssa.reg2mem = alloca i64\n %sv_0.0.ph.lcssa.reg2mem = alloca i64\n %sv_0.0.ph11.reg2mem = alloca i64\n %sv_1.0.ph13.reg2mem = alloca i64\n %sv_2.0.ph14.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %sv_3.1.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_2.07.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %0 = icmp eq i32* %arg2, null\n store i32 0, i32* %storemerge.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = bitcast i32* %arg2 to i8*\n %2 = call i32 @strlen(i8* %1)\n store i32 %2, i32* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = bitcast i64* %arg1 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %3, i64* %sv_0.0.ph.lcssa22.reg2mem\n br i1 %7, label LBL_3, label LBL_19.thread\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %8 = icmp eq i32 %storemerge.reload, 0\n %9 = bitcast i32* %arg2 to i64*\n %10 = sext i32 %storemerge.reload to i64\n store i64 %3, i64* %sv_2.0.ph14.reg2mem\n store i64 0, i64* %sv_1.0.ph13.reg2mem\n store i64 %3, i64* %sv_0.0.ph11.reg2mem\n br label LBL_4.lr.ph\n LBL_4:\n %sv_2.07.reload = load i64, i64* %sv_2.07.reg2mem\n %11 = inttoptr i64 %sv_2.07.reload to i64*\n %12 = call i32 @memcmp(i64* %11, i64* bitcast ([3 x i8]* @gv_0 to i64*), i32 2)\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = add i64 %sv_2.07.reload, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %14, i64* %sv_2.07.reg2mem\n store i64 %sv_0.0.ph11.reload, i64* %sv_0.0.ph.lcssa.reg2mem\n store i64 %sv_1.0.ph13.reload, i64* %sv_1.0.ph.lcssa.reg2mem\n br i1 %18, label LBL_4, label LBL_19\n LBL_6:\n %19 = inttoptr i64 %sv_0.0.ph11.reload to i8*\n %20 = call i32 @strlen(i8* %19)\n %21 = icmp eq i64 %sv_2.07.reload, %sv_0.0.ph11.reload\n %22 = icmp eq i32 %20, 2\n %23 = icmp eq i1 %21, %22\n br i1 %23, label LBL_7, label LBL_8\n LBL_7:\n %24 = ptrtoint i32* %arg2 to i64\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_8:\n %25 = add i32 %20, %storemerge.reload\n %26 = call i64* @malloc(i32 %25)\n %27 = icmp eq i64* %26, null\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @globalFUNCvarFUNC402017, i64 0, i64 0))\n %30 = call i64 @FUNC(i64 %29)\n br label LBL_10\n LBL_10:\n %31 = ptrtoint i64* %26 to i64\n store i64 %31, i64* %sv_3.0.reg2mem\n br i1 %21, label LBL_12, label LBL_11\n LBL_11:\n %32 = sub i64 %sv_2.07.reload, %sv_0.0.ph11.reload\n %33 = inttoptr i64 %sv_0.0.ph11.reload to i64*\n %34 = trunc i64 %32 to i32\n %35 = call i64* @memcpy(i64* %26, i64* %33, i32 %34)\n %36 = add i64 %32, %31\n store i64 %36, i64* %sv_3.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem\n br i1 %8, label LBL_14, label LBL_13\n LBL_13:\n %37 = inttoptr i64 %sv_3.0.reload to i64*\n %38 = call i64* @memcpy(i64* %37, i64* %9, i32 %storemerge.reload)\n %39 = add i64 %sv_3.0.reload, %10\n store i64 %39, i64* %sv_3.1.reg2mem\n br label LBL_14\n LBL_14:\n %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem\n %40 = add i64 %sv_2.07.reload, 2\n %41 = inttoptr i64 %40 to i8*\n %42 = load i8, i8* %41, align 1\n %43 = icmp eq i8 %42, 0\n br i1 %43, label LBL_16, label LBL_15\n LBL_15:\n %44 = sub i64 %sv_0.0.ph11.reload, %sv_2.07.reload\n %45 = inttoptr i64 %sv_3.1.reload to i64*\n %46 = inttoptr i64 %40 to i64*\n %47 = trunc i64 %44 to i32\n %48 = add i32 %47, -1\n %49 = add i32 %48, %20\n %50 = call i64* @memcpy(i64* %45, i64* %46, i32 %49)\n %.pre = inttoptr i64 %sv_3.1.reload to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n br label LBL_17\n LBL_16:\n %51 = inttoptr i64 %sv_3.1.reload to i8*\n store i8 0, i8* %51, align 1\n store i8* %51, i8** %.pre-phi.reg2mem\n br label LBL_17\n LBL_17:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %52 = inttoptr i64 %sv_1.0.ph13.reload to i64*\n call void @free(i64* %52)\n %53 = load i8, i8* %.pre-phi.reload, align 1\n %54 = icmp eq i8 %53, 0\n %55 = icmp eq i1 %54, false\n store i64 %sv_3.1.reload, i64* %sv_2.0.ph14.reg2mem\n store i64 %31, i64* %sv_1.0.ph13.reg2mem\n store i64 %31, i64* %sv_0.0.ph11.reg2mem\n store i64 %31, i64* %sv_0.0.ph.lcssa.reg2mem\n store i64 %31, i64* %sv_1.0.ph.lcssa.reg2mem\n br i1 %55, label LBL_4.lr.ph, label LBL_19\n LBL_18:\n %sv_0.0.ph11.reload = load i64, i64* %sv_0.0.ph11.reg2mem\n %sv_1.0.ph13.reload = load i64, i64* %sv_1.0.ph13.reg2mem\n %sv_2.0.ph14.reload = load i64, i64* %sv_2.0.ph14.reg2mem\n store i64 %sv_2.0.ph14.reload, i64* %sv_2.07.reg2mem\n br label LBL_4\n LBL_19:\n %sv_1.0.ph.lcssa.reload = load i64, i64* %sv_1.0.ph.lcssa.reg2mem\n %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem\n %56 = icmp eq i64 %sv_1.0.ph.lcssa.reload, 0\n store i64 %sv_0.0.ph.lcssa.reload, i64* %sv_0.0.ph.lcssa22.reg2mem\n store i64 %sv_1.0.ph.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %56, label LBL_19.thread, label LBL_21\n LBL_20:\n %sv_0.0.ph.lcssa22.reload = load i64, i64* %sv_0.0.ph.lcssa22.reg2mem\n store i64 %sv_0.0.ph.lcssa22.reload, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.ph11.reload, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %sv_3.1.reload, { 0, 1, 3, 2 }\n uselistorder i64 %sv_3.0.reload, { 2, 1, 0 }\n uselistorder i64 %31, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64* %26, { 0, 2, 1 }\n uselistorder i1 %21, { 1, 0 }\n uselistorder i32 %20, { 1, 0, 2 }\n uselistorder i64 %sv_2.07.reload, { 4, 5, 3, 2, 0, 1 }\n uselistorder i32 %storemerge.reload, { 2, 3, 1, 0 }\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.07.reg2mem, { 2, 1, 0 }\n uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.lcssa22.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 2, 1 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i8 0, { 1, 3, 4, 5, 0, 2 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i32* %arg2, { 1, 2, 0, 3 }\n uselistorder label LBL_19.thread, { 1, 0 }\n uselistorder label LBL_4.lr.ph, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "server_port_free_8882", "fun_name": "server_port_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = add i64 %arg1, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %8 = add i64 %arg1, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 40, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %12 = trunc i64 %1 to i32\n %13 = icmp slt i32 %12, 1\n br i1 %13, label LBL_8, label LBL_7\n LBL_7:\n %14 = and i64 %1, 4294967295\n %15 = call i64 @FUNC(i64 %14)\n %16 = inttoptr i64 %arg1 to i32*\n store i32 -1, i32* %16, align 4\n br label LBL_8\n LBL_8:\n %17 = add i64 %arg1, 16\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC(i64 %17)\n %20 = add i64 %arg1, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22, i64 0)\n %24 = call i64 @FUNC(i64 %arg1)\n ret i64 %24\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 3, 2, 0, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_interrupt_requests_17543", "fun_name": "do_interrupt_requests", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %1 to i8\n %6 = icmp eq i8 %5, 0\n %.pre = add i64 %3, 1\n %.pre2 = inttoptr i64 %.pre to i8*\n %.pr = load i8, i8* %.pre2, align 1\n br i1 %6, label LBL_5, label LBL_1\n LBL_1:\n %7 = icmp eq i8 %.pr, 1\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 %3)\n br label LBL_9\n LBL_3:\n %9 = add i64 %3, 2\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_4, label LBL_7\n LBL_4:\n %13 = call i64 @FUNC(i64 %3)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_5:\n %14 = icmp eq i8 %.pr, 0\n br i1 %14, label LBL_13, label LBL_214\n LBL_6:\n %15 = call i64 @FUNC(i64 %3)\n br label LBL_8\n LBL_7:\n %16 = bitcast i64* %rdi to i8*\n %17 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %17, align 1\n store i8 1, i8* %.pre2, align 1\n %.pre10 = load i8, i8* %16, align 8\n %18 = call i64 @FUNC(i64 %3)\n %19 = icmp eq i8 %.pre10, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_9, label LBL_8\n LBL_8:\n %21 = bitcast i64* %rsi to i8*\n %22 = load i8, i8* %21, align 8\n %23 = icmp eq i8 %22, 0\n br i1 %23, label LBL_10, label LBL_9\n LBL_9:\n %24 = call i64 @FUNC(i64 %3)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_10:\n %25 = add i64 %3, 3\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_12, label LBL_11\n LBL_11:\n %30 = ptrtoint i16* %arg2 to i64\n %31 = add i64 %30, 1\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_25, label LBL_12\n LBL_12:\n %35 = call i64 @FUNC(i64 %3)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_13:\n %36 = trunc i64 %2 to i8\n %37 = add i64 %3, 2\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = icmp eq i8 %39, 1\n %41 = icmp eq i8 %36, 0\n %or.cond = icmp eq i1 %40, %41\n br i1 %or.cond, label LBL_15, label LBL_14\n LBL_14:\n %42 = call i64 @FUNC(i64 %3)\n br label LBL_15\n LBL_15:\n %43 = add i64 %3, 12\n %44 = inttoptr i64 %43 to i8*\n %45 = load i8, i8* %44, align 1\n %46 = icmp eq i8 %45, 0\n %.pre11 = add i64 %3, 3\n %.pre12 = inttoptr i64 %.pre11 to i8*\n br i1 %46, label LBL_22, label LBL_16\n LBL_16:\n %47 = load i8, i8* %.pre12, align 1\n %48 = icmp eq i8 %47, 0\n %.pre4 = add i64 %3, 4\n %.pre6 = inttoptr i64 %.pre4 to i8*\n br i1 %48, label LBL_19, label LBL_17\n LBL_17:\n %49 = load i8, i8* %.pre6, align 1\n %50 = icmp eq i8 %49, 1\n br i1 %50, label LBL_20, label LBL_18\n LBL_18:\n %51 = call i64 @FUNC(i64 %3)\n br label LBL_19\n LBL_19:\n %.pr8 = load i8, i8* %.pre6, align 1\n %52 = icmp eq i8 %.pr8, 0\n br i1 %52, label LBL_21, label LBL_20\n LBL_20:\n %53 = add i64 %3, 8\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %3, i64 %56)\n br label LBL_21\n LBL_21:\n %.pr9 = load i8, i8* %44, align 1\n %58 = icmp eq i8 %.pr9, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %58, label LBL_25, label LBL_22\n LBL_22:\n %59 = load i8, i8* %.pre12, align 1\n %60 = icmp eq i8 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_24, label LBL_23\n LBL_23:\n %62 = ptrtoint i16* %arg2 to i64\n %63 = add i64 %62, 1\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = icmp eq i8 %65, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %66, label LBL_25, label LBL_24\n LBL_24:\n %67 = call i64 @FUNC(i64 %3)\n store i64 %67, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_25:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %.pr, { 1, 0 }\n uselistorder i64 %3, { 12, 10, 11, 14, 3, 2, 13, 15, 17, 7, 8, 9, 16, 0, 6, 5, 1, 4, 18 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 7, 3, 2, 4, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @enable_irq_window, { 1, 0 }\n uselistorder i64 (i64)* @enable_nmi_window, { 2, 1, 0 }\n uselistorder i64 (i64)* @vmx_inject_nmi, { 2, 0, 1 }\n uselistorder i8 1, { 0, 1, 2, 4, 3 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i8 0, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 11, 10, 12, 13 }\n uselistorder i16* %arg2, { 1, 0 }\n uselistorder label LBL_25, { 3, 4, 5, 2, 1, 0, 6 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "expand_plus_plus_4802", "fun_name": "expand_plus_plus", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %0 = icmp eq i8* %arg3, null\n %1 = icmp eq i8* %arg2, null\n %or.cond = or i1 %1, %0\n br i1 %or.cond, label LBL_13, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = ptrtoint i8* %arg2 to i64\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_11, label LBL_2\n LBL_2:\n %6 = call i8* @strstr(i8* nonnull %arg3, i8* nonnull %arg2)\n %7 = icmp eq i8* %6, %arg3\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_11, label LBL_3\n LBL_3:\n %9 = call i32 @strlen(i8* nonnull %arg2)\n %10 = call i32 @strlen(i8* nonnull %arg3)\n %11 = add i32 %9, 1\n %12 = zext i32 %11 to i64\n %13 = sext i32 %10 to i64\n %14 = icmp sgt i64 %13, %12\n br i1 %14, label LBL_4, label LBL_11\n LBL_4:\n %15 = sext i32 %9 to i64\n %16 = ptrtoint i8* %arg3 to i64\n %17 = add i64 %15, %16\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 43\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_11, label LBL_5\n LBL_5:\n %22 = add i64 %17, 1\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = icmp ne i8 %24, 43\n %26 = icmp eq i8 %24, 61\n %27 = icmp eq i1 %26, false\n %or.cond5 = icmp eq i1 %25, %27\n br i1 %or.cond5, label LBL_11, label LBL_6\n LBL_6:\n %28 = icmp eq i64 %4, %16\n store i8 %24, i8* %.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 %4)\n %30 = trunc i64 %29 to i32\n %.pre = load i8, i8* %23, align 1\n store i8 %.pre, i8* %.reg2mem\n store i32 %30, i32* %sv_1.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %31 = icmp eq i8 %.reload, 43\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = add i64 %17, 2\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n store i32 %34, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %35 = add i32 %sv_0.0.reload, %sv_1.0.reload\n %36 = call i64 @FUNC(i64 %2, i64 %3, i32 %35)\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %37 = ptrtoint i8* %arg3 to i64\n %38 = icmp eq i64 %4, %37\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %38, label LBL_13, label LBL_12\n LBL_12:\n %39 = call i64 @FUNC(i64 %2, i64 %3, i64 %37)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %4, { 0, 3, 2, 1, 4 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @char2score, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i8* %arg3, { 4, 1, 2, 0, 3, 5 }\n uselistorder i8* %arg2, { 0, 1, 3, 2 }\n uselistorder label LBL_13, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "become_manager_6790", "fun_name": "become_manager", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %4 = add i64 %arg1, 1\n %5 = inttoptr i64 %4 to i8*\n %6 = call i32 @strncmp(i8* %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i32 15)\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 15, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_2:\n %9 = load i64, i64* @gv_2, align 8\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 15, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_4:\n %17 = call i64 @FUNC(i64 4096, i64 0)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 15, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_6:\n %21 = load i64, i64* @gv_2, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = inttoptr i64 %arg1 to i8*\n %26 = call i32 @strlen(i8* %25)\n %27 = inttoptr i64 %24 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %32, label LBL_7, label LBL_19\n LBL_7:\n %33 = sext i32 %26 to i64\n store i64 %30, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %34 = inttoptr i64 %.reload to i64*\n %35 = load i64, i64* %34, align 8\n store i64 %35, i64* %sv_1, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = trunc i64 %36 to i8\n %38 = icmp eq i8 %37, 1\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_18, label LBL_9\n LBL_9:\n %40 = call i64 @FUNC(i64* nonnull %sv_1, i64 %17, i64 4096)\n %41 = call i64 @FUNC(i64 %40, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0))\n %42 = trunc i64 %41 to i8\n %43 = icmp eq i8 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_18, label LBL_10\n LBL_10:\n %45 = call i64 @FUNC(i64 %40, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0))\n %46 = trunc i64 %45 to i8\n %47 = icmp eq i8 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_18, label LBL_11\n LBL_11:\n %49 = inttoptr i64 %40 to i8*\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i8* %49, i64 4096, i64 %17, i64 %2, i64 %1)\n %51 = call i8* @strstr(i8* %49, i8* %25)\n %52 = icmp eq i8* %51, null\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_13, label LBL_12\n LBL_12:\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i8* %25, i64 %arg1, i64 %17, i64 %2, i64 %1)\n br label LBL_18\n LBL_13:\n %55 = ptrtoint i8* %51 to i64\n %56 = add i64 %55, %33\n %57 = inttoptr i64 %56 to i8*\n %58 = load i8, i8* %57, align 1\n %59 = icmp eq i8 %58, 45\n br i1 %59, label LBL_15, label LBL_14\n LBL_14:\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_9, i64 0, i64 0), i8* %25, i64 %33, i64 %17, i64 %2, i64 %1)\n br label LBL_18\n LBL_15:\n %61 = call i64 @FUNC(i64 %40)\n %62 = trunc i64 %61 to i8\n %63 = icmp eq i8 %62, 0\n br i1 %63, label LBL_17, label LBL_16\n LBL_16:\n %64 = call i64 @FUNC()\n %65 = and i64 %64, 4294967295\n %66 = inttoptr i64 %65 to i8*\n %67 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_10, i64 0, i64 0), i8* %66, i64 %33, i64 %17, i64 %2, i64 %1)\n %68 = call i64 @FUNC(i64 %65)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_19\n LBL_17:\n %69 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_11, i64 0, i64 0), i8* %25, i64 %33, i64 %17, i64 %2, i64 %1)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_19\n LBL_18:\n %70 = add i32 %storemerge3.reload, 1\n %71 = load i64, i64* %27, align 8\n %72 = sext i32 %70 to i64\n %73 = mul i64 %72, 8\n %74 = add i64 %71, %73\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = icmp eq i64 %76, 0\n %78 = icmp eq i1 %77, false\n store i64 %76, i64* %.reg2mem\n store i32 %70, i32* %storemerge3.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %78, label LBL_8, label LBL_19\n LBL_19:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %79 = call i64 @FUNC(i64 %17)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %51, { 1, 0 }\n uselistorder i64 %40, { 0, 2, 1, 3 }\n uselistorder i64 %33, { 2, 1, 3, 0 }\n uselistorder i64* %27, { 1, 0 }\n uselistorder i8* %25, { 2, 1, 0, 3, 4 }\n uselistorder i64 %17, { 3, 4, 2, 1, 0, 5, 6, 7 }\n uselistorder i64 %2, { 6, 5, 4, 3, 2, 7, 1, 0 }\n uselistorder i64 %1, { 6, 5, 4, 3, 2, 7, 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 ()* @current_uid, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 3, 2, 1, 0 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0, 6, 7 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @pr_info, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 15, { 2, 1, 0 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 }\n uselistorder i64 1, { 0, 4, 2, 1, 3 }\n uselistorder i32 1, { 14, 11, 9, 8, 7, 6, 5, 4, 10, 12, 3, 1, 13, 2, 0 }\n uselistorder label LBL_19, { 0, 2, 3, 1 }\n uselistorder label LBL_18, { 3, 4, 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "initrd_load_12183", "fun_name": "initrd_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = load i64, i64* @gv_0, align 8\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_10, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = load i64, i64* @gv_1, align 8\n %7 = add i64 %3, %5\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 %6, i64 %5, i64 %7, i64 %2, i64 %1)\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0))\n unreachable\n LBL_3:\n %17 = ptrtoint i64* %sv_2 to i64\n store i64 %17, i64* %sv_1, align 8\n %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 2, i64 %5)\n %19 = load i64, i64* %10, align 8\n %20 = call i64 @FUNC(i64 %19, i32 %13, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_2, i64 8)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0))\n unreachable\n LBL_5:\n store i64 %17, i64* %sv_1, align 8\n %24 = call i64 @FUNC(i64* nonnull %sv_1, i64 2, i64 %7)\n %25 = load i64, i64* %10, align 8\n %26 = call i64 @FUNC(i64 %25, i32 %13, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0), i64* nonnull %sv_2, i64 8)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_8, i64 0, i64 0))\n unreachable\n LBL_7:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %30 = and i64 %storemerge2.reload, -4096\n %31 = sub i64 4096, %30\n %32 = call i64 @FUNC(i64 %31, i64 %3)\n %33 = add i64 %storemerge2.reload, %5\n %34 = call i64 @FUNC(i64 %33, i64* nonnull %sv_0)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_9, i64 0, i64 0))\n unreachable\n LBL_9:\n %38 = load i64, i64* %sv_0, align 8\n %39 = udiv i64 %38, 4096\n %40 = and i64 %39, 4294967295\n %41 = call i64 @FUNC(i64 %40)\n %42 = add i64 %storemerge2.reload, %6\n %43 = add i64 %41, %30\n %44 = call i64 @FUNC(i64 %43, i64 %42, i64 %32)\n %45 = call i64 @FUNC(i64 %41)\n %46 = add i64 %32, %storemerge2.reload\n %47 = icmp ult i64 %46, %3\n store i64 %46, i64* %storemerge2.reg2mem\n store i64 %46, i64* %rax.0.reg2mem\n br i1 %47, label LBL_7, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %41, { 1, 0 }\n uselistorder i64 %storemerge2.reload, { 3, 2, 1, 0 }\n uselistorder i64 %5, { 0, 2, 3, 4, 1 }\n uselistorder i64 %3, { 2, 1, 0, 3 }\n uselistorder i64* %sv_1, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i32, i8*, i64*, i64)* @fdt_setprop_inplace, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @dt_set_cell, { 1, 0 }\n uselistorder i64 (i8*)* @panic, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ccid_new_9162", "fun_name": "ccid_new", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = urem i64 %arg1, 256\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = trunc i64 %arg3 to i8\n %4 = icmp eq i8 %3, 0\n %5 = add i64 %1, 8\n %storemerge2.in.in = select i1 %4, i64 %5, i64 %1\n %storemerge2.in = inttoptr i64 %storemerge2.in.in to i64*\n %storemerge2 = load i64, i64* %storemerge2.in, align 8\n %6 = call i64 @FUNC(i64 %storemerge2, i64 0)\n %7 = icmp eq i64 %6, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %6 to i64*\n store i64 %1, i64* %8, align 8\n br i1 %4, label LBL_4, label LBL_3\n LBL_3:\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = trunc i64 %11 to i32\n %15 = call i64* @memset(i64* %13, i32 0, i32 %14)\n %16 = load i64, i64* %8, align 8\n %17 = add i64 %16, 32\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = trunc i64 %6 to i32\n %22 = icmp eq i32 %21, 0\n %or.cond = or i1 %22, %20\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_4:\n %23 = add i64 %1, 24\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %6, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = trunc i64 %25 to i32\n %29 = call i64* @memset(i64* %27, i32 0, i32 %28)\n %30 = load i64, i64* %8, align 8\n %31 = add i64 %30, 40\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = trunc i64 %6 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n LBL_7:\n %storemerge = load i64, i64* %storemerge2.in, align 8\n %38 = call i64 @FUNC(i64 %storemerge, i64 %6)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n\n uselistorder i64* %8, { 1, 0, 2 }\n uselistorder i64 %6, { 5, 1, 6, 2, 7, 0, 3, 4, 8, 9 }\n uselistorder i64 %1, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 3, 0, 2, 4, 1, 5, 6 }\n uselistorder i32 0, { 3, 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 4, 1, 0, 5, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_next_proto_validate_8966", "fun_name": "ssl_next_proto_validate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n br label LBL_3\n LBL_1:\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_4, label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64* nonnull %sv_0)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_3, label LBL_4\n LBL_3:\n %8 = call i64 @FUNC(i64* %arg1)\n %9 = trunc i64 %8 to i8\n %10 = icmp eq i8 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %11, label LBL_1, label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder label LBL_4, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_hda_queue_unsol_event_3845", "fun_name": "snd_hda_queue_unsol_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %9 = ashr exact i64 %sext, 32\n %sext2 = mul i64 %arg3, 4294967296\n %10 = ashr exact i64 %sext2, 32\n %11 = trunc i64 %1 to i32\n %12 = and i64 %10, 4294967295\n %13 = and i64 %9, 4294967295\n %14 = call i64 @FUNC(i64 %3, i64 %13, i64 %12)\n %15 = add i32 %11, 1\n %16 = urem i32 %15, 128\n %17 = bitcast i64* %arg1 to i32*\n store i32 %16, i32* %17, align 4\n %18 = mul i32 %16, 8\n %19 = trunc i64 %9 to i32\n %20 = zext i32 %18 to i64\n %21 = add i64 %3, 4\n %22 = add i64 %21, %20\n %23 = inttoptr i64 %22 to i32*\n store i32 %19, i32* %23, align 4\n %24 = or i32 %18, 4\n %25 = trunc i64 %10 to i32\n %26 = zext i32 %24 to i64\n %27 = add i64 %21, %26\n %28 = inttoptr i64 %27 to i32*\n store i32 %25, i32* %28, align 4\n %29 = add i64 %3, 1028\n %30 = load i64, i64* %5, align 8\n %31 = call i64 @FUNC(i64 %30, i64 %29)\n br label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %3, { 0, 1, 3, 2 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_self_2704", "fun_name": "test_self", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 4198692, i64* nonnull %sv_0)\n store i64 %0, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n ret i64 %1\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cqspi_calc_rdreg_9814", "fun_name": "cqspi_calc_rdreg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = mul i32 %6, 256\n %8 = or i32 %7, %3\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = mul i32 %11, 65536\n %13 = or i32 %8, %12\n %14 = zext i32 %13 to i64\n ret i64 %14\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmsvga_check_size_15076", "fun_name": "vmsvga_check_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = call i64 @FUNC(i64 %4)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %7, %9\n %11 = icmp eq i1 %10, false\n %.pre = add i64 %2, 8\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = load i32, i32* %.pre1, align 4\n %13 = call i64 @FUNC(i64 %4)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %12, %14\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = load i32, i32* %.pre1, align 4\n %17 = load i32, i32* %6, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %3, i64 %18, i32 %16)\n %20 = add i64 %2, 12\n %21 = inttoptr i64 %20 to i32*\n store i32 1, i32* %21, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "i915_chipset_val_5274", "fun_name": "i915_chipset_val", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n br i1 xor (i1 or (i1 icmp ult (i64 sub (i64 0, i64 ptrtoint (i64* @gv_0 to i64)), i64 10), i1 icmp eq (i64 sub (i64 sub (i64 0, i64 ptrtoint (i64* @gv_0 to i64)), i64 10), i64 0)), i1 true), label LBL_2, label LBL_1\n LBL_1:\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_2:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %0, 28\n %11 = inttoptr i64 %10 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %12 = mul nuw nsw i64 %indvars.iv.reload, 24\n %13 = add i64 %12, ptrtoint (i32** @gv_1 to i64)\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 8\n %16 = icmp eq i32 %15, %9\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = add i64 %12, ptrtoint (i32** @gv_2 to i64)\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 8\n %21 = load i32, i32* %11, align 4\n %22 = icmp eq i32 %20, %21\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n br label LBL_7\n LBL_6:\n %24 = icmp eq i64 %indvars.iv.reload, 1\n store i64 1, i64* %indvars.iv.reg2mem\n br i1 %24, label LBL_7, label LBL_3\n LBL_7:\n store i64 0, i64* %6, align 8\n store i64 0, i64* %arg1, align 8\n store i64 undef, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 3, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 10, { 1, 0 }\n uselistorder i64 sub (i64 0, i64 ptrtoint (i64* @gv_0 to i64)), { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "table_regex_match_5774", "fun_name": "table_regex_match", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4)\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n %4 = add i64 %arg2, 4\n %spec.select = select i1 %3, i64 %arg2, i64 %4\n %spec.select1 = select i1 %3, i32 9, i32 11\n %5 = bitcast i64* %sv_0 to %re_pattern_buffer*\n %6 = inttoptr i64 %spec.select to i8*\n %7 = call i32 @regcomp(%re_pattern_buffer* nonnull %5, i8* %6, i32 %spec.select1)\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = inttoptr i64 %arg1 to i8*\n %10 = call i32 @regexec(%re_pattern_buffer* nonnull %5, i8* %9, i32 0, [1 x %_TYPEDEF_regmatch_t] [%_TYPEDEF_regmatch_t { i32 0, i32 undef }], i32 0)\n call void @regfree(%re_pattern_buffer* nonnull %5)\n %11 = icmp eq i32 %10, 0\n %. = zext i1 %11 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nf_conntrack_cleanup_net_list_5396", "fun_name": "nf_conntrack_cleanup_net_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpeg_strip_8362", "fun_name": "jpeg_strip", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 216)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 216\n %3 = icmp eq i1 %2, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %arg2, i64 255)\n %5 = call i64 @FUNC(i64 %arg2, i64 216)\n %6 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64, i64)* @WriteBlobByte, { 1, 0 }\n uselistorder i32 1, { 1, 0, 2, 3, 4 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "XBMInteger_6060", "fun_name": "XBMInteger", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem12 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i32 %3, i32* %.reg2mem\n store i64 %2, i64* %.reg2mem12\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_8\n LBL_1:\n %.reload13 = load i64, i64* %.reg2mem12\n %.reload = load i32, i32* %.reg2mem\n store i64 %.reload13, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n switch i32 %.reload, label LBL_3 [\n i32 32, label LBL_2\n i32 13, label LBL_2\n i32 10, label LBL_2\n i32 9, label LBL_2\n ]\n LBL_2:\n %6 = call i64 @FUNC(i64 %1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n store i32 %7, i32* %.reg2mem\n store i64 %6, i64* %.reg2mem12\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_8\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %10 = icmp ult i32 %sv_0.0.reload, 214748365\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %10, label LBL_4, label LBL_7\n LBL_4:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %11 = mul i32 %sv_0.0.reload, 16\n %12 = mul i64 %sv_1.0.reload, 2\n %13 = and i64 %12, 510\n %14 = add i64 %13, %0\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = sext i16 %16 to i32\n %18 = sub i32 2147483647, %17\n %19 = icmp ugt i32 %11, %18\n store i32 %11, i32* %sv_0.1.reg2mem\n br i1 %19, label LBL_7, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %1)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, -1\n %23 = icmp eq i1 %22, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_6, label LBL_8\n LBL_6:\n %24 = add i32 %11, %17\n %sext = mul i64 %20, 4294967296\n %25 = ashr exact i64 %sext, 31\n %26 = add i64 %25, %0\n %27 = inttoptr i64 %26 to i16*\n %28 = load i16, i16* %27, align 2\n %29 = icmp slt i16 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %20, i64* %sv_1.0.reg2mem\n store i32 %24, i32* %sv_0.0.reg2mem\n store i32 %24, i32* %sv_0.1.reg2mem\n br i1 %30, label LBL_3, label LBL_7\n LBL_7:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %31 = zext i32 %sv_0.1.reload to i64\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %11, { 2, 0, 1 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem12, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i32 -1, { 1, 2, 0 }\n uselistorder i64 (i64)* @ReadBlobByte, { 2, 1, 0 }\n uselistorder label LBL_8, { 3, 1, 0, 2 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smc_conn_free_7106", "fun_name": "smc_conn_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = icmp eq i64* %arg1, null\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %3, label LBL_11, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = add i64 %2, 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %2)\n br label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64 %6)\n br label LBL_7\n LBL_5:\n %13 = call i64 @FUNC(i64 %2)\n %14 = call i64 @FUNC()\n %sext = mul i64 %14, 4294967296\n %15 = ashr exact i64 %sext, 32\n %16 = add i64 %2, 12\n %17 = icmp eq i64 %15, %16\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i64 %16)\n br label LBL_7\n LBL_7:\n %19 = add i64 %2, 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_9, label LBL_8\n LBL_8:\n %24 = call i64 @FUNC(i64 %2)\n %25 = call i64 @FUNC(i64 %2, i64 %2)\n br label LBL_9\n LBL_9:\n %26 = add i64 %2, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = icmp eq i32 %28, 0\n %31 = icmp eq i1 %30, false\n store i64 %29, i64* %rax.0.reg2mem\n br i1 %31, label LBL_11, label LBL_10\n LBL_10:\n %32 = call i64 @FUNC(i64 %2)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 5, 6, 2, 4, 3, 7, 9, 8, 1, 10, 0 }\n uselistorder i64 (i64)* @list_empty, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_client_co_flush_11612", "fun_name": "nbd_client_co_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n store i64 2, i64* %sv_1, align 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1)\n %8 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1, i64 0)\n %9 = icmp slt i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = trunc i64 %8 to i32\n %12 = sub i32 0, %11\n store i32 %12, i32* %sv_0, align 4\n br label LBL_4\n LBL_3:\n %13 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1, i32* nonnull %sv_0, i64 0)\n br label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1)\n %15 = load i32, i32* %sv_0, align 4\n %16 = sub i32 0, %15\n %17 = zext i32 %16 to i64\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_queue_select_951", "fun_name": "qvirtio_pci_queue_select", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = urem i64 %arg2, 65536\n %4 = call i64 @FUNC(i64 %arg1, i32 %2, i64 0, i64 %3)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftrace_update_code_9314", "fun_name": "ftrace_update_code", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %.reg2mem9 = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.18.reg2mem = alloca i64\n %.reg2mem = alloca i32*\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %sv_0.2.reg2mem\n br i1 %0, label LBL_5, label LBL_1\n LBL_1:\n %1 = load i32*, i32** @gv_0, align 8\n %2 = icmp eq i32* %1, bitcast (i64* @gv_1 to i32*)\n %3 = icmp eq i1 %2, false\n store i32* %1, i32** %.reg2mem\n store i64 0, i64* %sv_0.18.reg2mem\n store i64 0, i64* %sv_0.2.reg2mem\n br i1 %3, label LBL_2, label LBL_5\n LBL_2:\n %sv_0.18.reload = load i64, i64* %sv_0.18.reg2mem\n %.reload = load i32*, i32** %.reg2mem\n %4 = load i32, i32* %.reload, align 4\n %5 = urem i32 %4, 2\n %6 = icmp eq i32 %5, 0\n %.pre = ptrtoint i32* %.reload to i64\n store i64 %sv_0.18.reload, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %.pre)\n %8 = trunc i64 %7 to i32\n %9 = icmp ne i32 %8, 0\n %10 = zext i1 %9 to i64\n %spec.select = add i64 %sv_0.18.reload, %10\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %11 = add i64 %.pre, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = icmp eq i32* %14, bitcast (i64* @gv_1 to i32*)\n %16 = icmp eq i1 %15, false\n store i32* %14, i32** %.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.18.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n br i1 %16, label LBL_2, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC()\n %18 = and i64 %17, 4294967295\n %19 = call i64 @FUNC(i64 %18)\n store i32 0, i32* @gv_2, align 4\n %storemerge6 = load i64, i64* @gv_3, align 8\n %20 = icmp eq i64 %storemerge6, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_6, label LBL_16\n LBL_6:\n %22 = ptrtoint i64* %arg1 to i64\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %23 = icmp eq i64 %sv_0.2.reload, 0\n store i64 %storemerge6, i64* %storemerge7.reg2mem\n br label LBL_14\n LBL_7:\n %24 = load i32, i32* @gv_4, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n store i64 4294967295, i64* %storemerge2.reg2mem\n br i1 %28, label LBL_8, label LBL_17\n LBL_8:\n %.reload10 = load i64, i64* %.reg2mem9\n %29 = load i64, i64* %59, align 8\n %30 = mul i64 %.reload10, 16\n %31 = add i64 %29, %30\n %32 = add i64 %31, 8\n %33 = inttoptr i64 %32 to i64*\n store i64 %sv_0.2.reload, i64* %33, align 8\n %34 = call i64 @FUNC(i64 %22, i64 %31)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_13, label LBL_9\n LBL_9:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_2, align 4\n %37 = load i32, i32* @gv_6, align 4\n %38 = icmp eq i32 %37, 0\n %or.cond = or i1 %23, %38\n br i1 %or.cond, label LBL_12, label LBL_10\n LBL_10:\n %39 = call i64 @FUNC(i64 %31, i64 1)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = inttoptr i64 %31 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = and i64 %39, 4294967295\n %45 = call i64 @FUNC(i64 %44, i64 %43)\n br label LBL_12\n LBL_12:\n %46 = add i32 %storemerge35.reload, 1\n %47 = load i32, i32* %55, align 4\n %48 = zext i32 %47 to i64\n %49 = sext i32 %46 to i64\n %50 = icmp slt i64 %49, %48\n store i64 %49, i64* %.reg2mem9\n store i32 %46, i32* %storemerge35.reg2mem\n br i1 %50, label LBL_7, label LBL_13\n LBL_13:\n %51 = inttoptr i64 %storemerge7.reload to i64*\n %storemerge = load i64, i64* %51, align 8\n %52 = icmp eq i64 %storemerge, 0\n %53 = icmp eq i1 %52, false\n store i64 %storemerge, i64* %storemerge7.reg2mem\n br i1 %53, label LBL_14, label LBL_16\n LBL_14:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %54 = add i64 %storemerge7.reload, 8\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_13, label LBL_7.lr.ph\n LBL_15:\n %58 = add i64 %storemerge7.reload, 16\n %59 = inttoptr i64 %58 to i64*\n store i64 0, i64* %.reg2mem9\n store i32 0, i32* %storemerge35.reg2mem\n br label LBL_7\n LBL_16:\n store i64 0, i64* @gv_3, align 8\n %60 = call i64 @FUNC()\n %61 = and i64 %60, 4294967295\n %62 = call i64 @FUNC(i64 %61)\n %63 = sub i64 %62, %19\n store i64 %63, i64* @gv_7, align 8\n %64 = load i32, i32* @gv_2, align 4\n %65 = sext i32 %64 to i64\n %66 = load i64, i64* @gv_8, align 8\n %67 = add i64 %66, %65\n store i64 %67, i64* @gv_8, align 8\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i64 %storemerge7.reload, { 1, 2, 0 }\n uselistorder i32* %.reload, { 1, 0 }\n uselistorder i64 %sv_0.18.reload, { 1, 0 }\n uselistorder i32** %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.18.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem9, { 2, 1, 0 }\n uselistorder i32* %storemerge35.reg2mem, { 2, 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64* @gv_3, { 1, 0 }\n uselistorder i32* @gv_2, { 2, 1, 0 }\n uselistorder i64 (i64)* @ftrace_now, { 1, 0 }\n uselistorder i64 ()* @raw_smp_processor_id, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 0, { 0, 1, 6, 7, 8, 9, 12, 10, 11, 2, 3, 4, 5 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i32* bitcast (i64* @gv_1 to i32*), { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__udp4_lib_mcast_deliver_4797", "fun_name": "__udp4_lib_mcast_deliver", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i32 %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg6 to i64\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i32* %arg1 to i64\n %7 = trunc i64 %arg5 to i32\n %8 = call i64 @FUNC(i64* nonnull @gv_0)\n %9 = trunc i64 %2 to i32\n %10 = trunc i64 %2 to i16\n %11 = call i16 @ntohs(i16 %10)\n %12 = zext i16 %11 to i64\n %13 = call i64 @FUNC(i64 %6, i64 %12)\n %14 = call i64 @FUNC(i64 %3)\n %15 = add i64 %4, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = and i64 %1, 4294967295\n %19 = zext i32 %arg4 to i64\n %20 = call i64 @FUNC(i64 %14, i32 %9, i32 %7, i32 %17, i64 %19, i64 %18)\n %21 = icmp eq i64 %20, 0\n store i64 %20, i64* %sv_1.0.reg2mem\n br i1 %21, label LBL_9, label LBL_1\n LBL_1:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %22 = load i32, i32* %16, align 4\n %23 = call i64 @FUNC(i64 %sv_1.0.reload)\n %24 = call i64 @FUNC(i64 %23, i32 %9, i32 %7, i32 %22, i64 %19, i64 %18)\n %25 = icmp eq i64 %24, 0\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_3, label LBL_2\n LBL_2:\n %26 = call i64 @FUNC(i64 %5, i64 0)\n store i64 %26, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %27 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %27, label LBL_8, label LBL_4\n LBL_4:\n %28 = call i64 @FUNC(i64 %sv_1.0.reload)\n %29 = call i64 @FUNC(i64 %sv_1.0.reload)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_5, label LBL_6\n LBL_5:\n %33 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %sv_0.0.reload)\n %34 = call i64 @FUNC(i64 %sv_1.0.reload)\n br label LBL_8\n LBL_6:\n %35 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %sv_0.0.reload)\n %36 = trunc i64 %35 to i32\n %37 = call i64 @FUNC(i64 %sv_1.0.reload)\n %38 = icmp slt i32 %36, 1\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n %39 = call i64 @FUNC(i64 %sv_0.0.reload)\n br label LBL_8\n LBL_8:\n %40 = icmp eq i1 %25, false\n store i64 %24, i64* %sv_1.0.reg2mem\n br i1 %40, label LBL_1, label LBL_10\n LBL_9:\n %41 = call i64 @FUNC(i64 %5)\n br label LBL_10\n LBL_10:\n %42 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 0\n\n uselistorder i64 %sv_0.0.reload, { 3, 1, 2, 0 }\n uselistorder i64 %sv_1.0.reload, { 5, 3, 6, 4, 1, 2, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @kfree_skb, { 1, 0 }\n uselistorder i64 (i64)* @bh_unlock_sock, { 1, 0 }\n uselistorder i64 (i64, i32, i32, i32, i64, i64)* @udp_v4_mcast_next, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0, 3 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vu_queue_empty_2603", "fun_name": "vu_queue_empty", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = urem i64 %1, 256\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = trunc i64 %2 to i32\n %9 = icmp eq i32 %8, 0\n %10 = zext i1 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i8\n %13 = icmp eq i8 %12, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_4\n LBL_2:\n %14 = ptrtoint i64* %arg2 to i64\n %15 = add i64 %14, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %14, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %17, %20\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_3, label LBL_4\n LBL_3:\n %22 = call i64 @FUNC(i64 %14)\n %23 = load i32, i32* %19, align 4\n %24 = trunc i64 %22 to i32\n %25 = icmp eq i32 %23, %24\n %26 = zext i1 %25 to i64\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @unlikely, { 1, 0 }\n uselistorder label LBL_4, { 3, 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cac_get_serial_nr_from_CUID_13439", "fun_name": "cac_get_serial_nr_from_CUID", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = add i64 %1, 40\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4, i64 1)\n %6 = trunc i64 %4 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n store i64 %4, i64* %arg2, align 8\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = add i64 %1, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %1, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 %15, i64* %20, align 8\n %21 = add i64 %0, 24\n %22 = inttoptr i64 %21 to i64*\n store i64 %18, i64* %22, align 8\n %23 = add i64 %1, 32\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %0, 32\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = load i64, i64* %3, align 8\n %29 = call i64 @FUNC(i64 %28, i64 1, i64 0)\n br label LBL_2\n LBL_2:\n %30 = add i64 %1, 48\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_4, label LBL_3\n LBL_3:\n %34 = add i32 %32, -32\n %35 = sub i32 31, %32\n %36 = and i32 %35, %32\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i32 %34, 0\n %39 = icmp slt i32 %34, 0\n %40 = icmp ne i1 %39, %37\n %41 = or i1 %38, %40\n %42 = select i1 %41, i32 %32, i32 32\n %43 = bitcast i64* %arg2 to i32*\n store i32 %42, i32* %43, align 4\n %44 = bitcast i64* %rsi to i32*\n %45 = load i32, i32* %44, align 8\n %46 = add i64 %1, 52\n %47 = add i64 %0, 4\n %48 = inttoptr i64 %47 to i64*\n %49 = inttoptr i64 %46 to i64*\n %50 = call i64* @memcpy(i64* %48, i64* %49, i32 %45)\n %51 = load i64, i64* %3, align 8\n %52 = call i64 @FUNC(i64 %51, i64 1, i64 0)\n br label LBL_4\n LBL_4:\n %53 = load i64, i64* %3, align 8\n %54 = call i64 @FUNC(i64 %53, i64 1, i64 4294967295)\n ret i64 %54\n\n uselistorder i32 %34, { 1, 0 }\n uselistorder i32 %32, { 2, 0, 3, 1, 4 }\n uselistorder i64* %3, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 4, 6, 3, 2, 1, 0, 5 }\n uselistorder i64 %0, { 4, 0, 1, 2, 3 }\n uselistorder i64 (i64, i64, i64)* @SC_FUNC_RETURN, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DefragRegisterTests_13843", "fun_name": "DefragRegisterTests", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 4198694)\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 4198701)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 4198708)\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 4198715)\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i64 4198722)\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 4198729)\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i64 4198736)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_7, i64 0, i64 0), i64 4198743)\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_8, i64 0, i64 0), i64 4198750)\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_9, i64 0, i64 0), i64 4198757)\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_10, i64 0, i64 0), i64 4198764)\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_11, i64 0, i64 0), i64 4198771)\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_12, i64 0, i64 0), i64 4198778)\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_13, i64 0, i64 0), i64 4198785)\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_14, i64 0, i64 0), i64 4198792)\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_15, i64 0, i64 0), i64 4198799)\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_16, i64 0, i64 0), i64 4198806)\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_17, i64 0, i64 0), i64 4198813)\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_18, i64 0, i64 0), i64 4198820)\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_19, i64 0, i64 0), i64 4198827)\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_20, i64 0, i64 0), i64 4198834)\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_21, i64 0, i64 0), i64 4198841)\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_22, i64 0, i64 0), i64 4198848)\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_23, i64 0, i64 0), i64 4198855)\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_24, i64 0, i64 0), i64 4198862)\n ret i64 %24\n\n uselistorder i64 (i8*, i64)* @UtRegisterTest, { 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Sys_LoadDll_19259", "fun_name": "Sys_LoadDll", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %5 = trunc i64 %arg2 to i32\n %6 = icmp eq i32 %5, 0\n %.pre = ptrtoint i8* %arg1 to i64\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %.pre, i64 %3, i64 %4, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %.pre)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %sv_0.1.reg2mem\n br i1 %10, label LBL_10, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC()\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n %16 = select i1 %15, i64 %11, i64 ptrtoint (i8** @gv_1 to i64)\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %.pre, i64 %16, i64 %4, i64 %2, i64 %1)\n %18 = call i64 @FUNC(i64* nonnull %sv_2, i64 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %16, i64 47, i64 %.pre)\n %19 = ptrtoint i64* %sv_2 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %sv_0.1.reg2mem\n br i1 %22, label LBL_10, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0))\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = inttoptr i64 %23 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = icmp eq i8 %26, 0\n %28 = icmp eq i1 %27, false\n store i8* %25, i8** %sv_1.0.reg2mem\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n store i8* bitcast (i8** @gv_1 to i8*), i8** %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %29 = ptrtoint i8* %sv_1.0.reload to i64\n %30 = call i64 @FUNC(i64 %16, i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 %20, i64* %sv_0.0.reg2mem\n store i64 %16, i64* %rcx.0.reg2mem\n store i64 %29, i64* %rdx.0.reg2mem\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %.pre, i64 %29, i64 %16, i64 47, i64 %.pre)\n %34 = call i64 @FUNC(i64* nonnull %sv_2, i64 256, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 47, i64 %.pre)\n %35 = call i64 @FUNC(i64 %19)\n store i64 %35, i64* %sv_0.0.reg2mem\n store i64 %29, i64* %rcx.0.reg2mem\n store i64 ptrtoint ([7 x i8]* @gv_3 to i64), i64* %rdx.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %36 = icmp eq i64 %sv_0.0.reload, 0\n %37 = icmp eq i1 %36, false\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %.pre, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 47, i64 %.pre)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n ret i64 %sv_0.1.reload\n\n uselistorder i64 %29, { 1, 2, 3, 0, 4 }\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i64 %16, { 2, 0, 4, 3, 1 }\n uselistorder i64 %.pre, { 0, 3, 2, 4, 1, 5, 6, 8, 7 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64*, i64, i8*, i64, i64, i64)* @Com_sprintf, { 1, 0 }\n uselistorder i64 47, { 0, 2, 1, 3 }\n uselistorder [7 x i8]* @gv_3, { 1, 0 }\n uselistorder i64 ptrtoint (i8** @gv_1 to i64), { 0, 2, 1 }\n uselistorder i64 (i64)* @Sys_LoadLibrary, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @Com_Printf, { 3, 2, 1, 0 }\n uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 4, 11, 3, 1, 12, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvmppc_create_spapr_tce_16376", "fun_name": "kvmppc_create_spapr_tce", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n store i64 %0, i64* %sv_0, align 8\n %1 = bitcast i64* %arg3 to i32*\n store i32 -1, i32* %1, align 4\n %2 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %5 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4\n %6 = zext i32 %5 to i64\n %7 = bitcast i64* %sv_0 to i32*\n %8 = call i64 @FUNC(i64 %6, i64 0, i32* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %13 = trunc i64 %0 to i32\n %14 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 %13)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %15 = udiv i64 %arg2, 512\n %16 = trunc i64 %15 to i32\n %17 = and i32 %16, 8388600\n %18 = call i64* @mmap(i64* null, i32 %17, i32 3, i32 1, i32 %9, i32 0)\n %19 = icmp eq i64* %18, inttoptr (i64 -1 to i64*)\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %22 = trunc i64 %0 to i32\n %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i32 %22)\n %24 = call i32 @close(i32 %9)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %25 = ptrtoint i64* %18 to i64\n store i32 %9, i32* %1, align 4\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %18, { 1, 0 }\n uselistorder i32 %9, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvmclock_class_init_3337", "fun_name": "kvmclock_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n %3 = load i64, i64* @gv_1, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i32*\n store i32 1, i32* %7, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "change_4971", "fun_name": "change", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i8* %arg2, i32* %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg3 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i8*, align 8\n store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8** %sv_3, align 8\n %3 = bitcast i64* %sv_2 to i8*\n %4 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 1)\n %5 = add i64 %2, 3\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = add i64 %2, 2\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = add i64 %2, 1\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = zext i8 %13 to i64\n %15 = urem i64 %1, 256\n %16 = zext i8 %7 to i64\n %17 = zext i8 %10 to i64\n %18 = bitcast i64* %sv_1 to i8*\n %19 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %18, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 %14, i64 %17, i64 %16)\n %20 = ptrtoint i32* %arg4 to i64\n %21 = add i64 %20, 3\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = add i64 %20, 2\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = add i64 %20, 1\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = zext i8 %29 to i64\n %31 = zext i8 %23 to i64\n %32 = zext i8 %26 to i64\n %33 = bitcast i64* %sv_0 to i8*\n %34 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 %30, i64 %32, i64 %31)\n %35 = call i64 @FUNC(i64 4096, i64 0)\n %36 = icmp eq i64 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_2, label LBL_1\n LBL_1:\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 %30, i64 %30, i64 %32, i64 %31)\n br label LBL_2\n LBL_2:\n %39 = bitcast i8** %sv_3 to i64*\n %40 = call i64 @FUNC(i64* nonnull %39, i64 %35, i32 4096)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_4, label LBL_3\n LBL_3:\n %44 = call i64 @FUNC(i64 %35)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n store i64 %40, i64* %rax.0.reg2mem\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %35, i64 4096, i64 %35, i64 %32, i64 %31)\n %46 = call i64 @FUNC(i64 %35)\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %35, { 2, 0, 3, 1, 4, 5 }\n uselistorder i64 %32, { 1, 0, 2 }\n uselistorder i64 %31, { 1, 0, 2 }\n uselistorder i64 %30, { 2, 1, 3, 0 }\n uselistorder i8** %sv_3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 1, 0 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "intel_hda_update_irq_1154", "fun_name": "intel_hda_update_irq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %storemerge2.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %2, 16\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i32 1, i32* %storemerge2.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %9 = call i64 @FUNC(i64 %2)\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 1, i32* %storemerge1.reg2mem\n br i1 %19, label LBL_5, label LBL_6\n LBL_5:\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %20 = icmp eq i32 %storemerge2.reload, 0\n %. = select i1 %20, i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 ptrtoint ([4 x i8]* @gv_1 to i64)\n %21 = zext i32 %storemerge1.reload to i64\n %22 = call i64 @FUNC(i64 %2, i64 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 %.)\n br i1 %20, label LBL_9, label LBL_7\n LBL_7:\n %23 = icmp eq i32 %storemerge1.reload, 0\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %23, label LBL_10, label LBL_8\n LBL_8:\n %24 = add i64 %2, 16\n %25 = call i64 @FUNC(i64 %24, i64 0)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %26 = add i64 %2, 16\n %27 = call i64 @FUNC(i64 %26, i64 %21)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge1.reload, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 3, 0, 5, 4, 6 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 2, 3, 0, 4, 5, 1, 6, 7 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megasas_map_dcmd_3591", "fun_name": "megasas_map_dcmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = trunc i64 %0 to i16\n %2 = add i64 %0, 32\n %3 = inttoptr i64 %2 to i16*\n store i16 %1, i16* %3, align 2\n %4 = add i64 %0, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %16 = icmp ult i32 %6, 2\n %17 = add i64 %0, 8\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %6 to i64\n %21 = zext i32 %19 to i64\n %22 = call i64 @FUNC(i64 %21, i64 %20)\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %24, align 8\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %25 = call i64 @FUNC(i64 %0, i64 %17)\n %26 = add i64 %0, 16\n %27 = call i64 @FUNC(i64 %0, i64 %26)\n %28 = add i64 %0, 24\n %29 = call i64 @FUNC(i64 %28, i64 0, i64 1)\n %30 = call i64 @FUNC(i64 %28, i64 %25, i64 %27)\n %31 = inttoptr i64 %26 to i64*\n store i64 %27, i64* %31, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i64 %0, { 8, 7, 0, 6, 5, 1, 4, 3, 10, 9, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dst_hold_4017", "fun_name": "dst_hold", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %5)\n %7 = sext i32 %6 to i64\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 false, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_POWER_maskg_2947", "fun_name": "do_POWER_maskg", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %1 = add i32 %0, 1\n %2 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %3 = icmp eq i32 %1, %2\n %4 = icmp eq i1 %3, false\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = urem i32 %2, 32\n %6 = lshr i32 -1, %5\n %7 = load i32, i32* @gv_1, align 4\n %8 = urem i32 %7, 32\n %9 = icmp eq i32 %8, 0\n %10 = lshr i32 -1, %8\n %phitmp = udiv i32 %10, 2\n %rsi.0 = select i1 %9, i32 2147483647, i32 %phitmp\n %11 = icmp ugt i32 %2, %7\n %12 = sext i1 %11 to i32\n %13 = xor i32 %6, %12\n %spec.select2 = xor i32 %13, %rsi.0\n store i32 %spec.select2, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %14 = zext i32 %sv_0.0.reload to i64\n store i32 %sv_0.0.reload, i32* bitcast (i64* @gv_0 to i32*), align 8\n ret i64 %14\n\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 2, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "config_output_572", "fun_name": "config_output", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %3 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %6, i64 %3)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = and i64 %11, 4294967295\n ret i64 %15\n LBL_2:\n %16 = inttoptr i64 %10 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = bitcast i64* %arg1 to i32*\n store i32 %17, i32* %18, align 4\n %19 = add i64 %10, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %0, 4\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = add i64 %10, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %0, 8\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %10, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %0, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = add i64 %10, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %0, 16\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = call i64 @FUNC(i64 %6)\n %40 = trunc i64 %39 to i32\n %41 = icmp slt i32 %40, 0\n %42 = icmp eq i1 %41, false\n %43 = and i64 %39, 4294967295\n %spec.select = select i1 %42, i64 0, i64 %43\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "x25_asy_open_tty_13065", "fun_name": "x25_asy_open_tty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 305419896\n %5 = icmp eq i1 %4, false\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_2, label LBL_5\n LBL_2:\n %6 = call i64 @FUNC()\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i32 -2, i32* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_3, label LBL_5\n LBL_3:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = add i64 %6, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n store i64 %6, i64* %arg1, align 8\n %12 = add i64 %9, 16\n %13 = inttoptr i64 %12 to i32*\n store i32 65536, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %9)\n %15 = add i64 %6, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i32*\n store i32 3, i32* %18, align 4\n %19 = load i64, i64* %16, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n store i32 %21, i32* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_4, label LBL_5\n LBL_4:\n %23 = load i64, i64* %16, align 8\n %24 = add i64 %23, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n store i32 %26, i32* %rax.0.shrunk.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rm_read_header_old_20", "fun_name": "rm_read_header_old", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = call i64 @FUNC(i64 %0, i64 0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = call i64 @FUNC()\n %6 = inttoptr i64 %2 to i64*\n store i64 %5, i64* %6, align 8\n %7 = icmp eq i64 %5, 0\n %8 = icmp eq i1 %7, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %0, i64 %11, i64 %2, i64 %5, i64 1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uwb_rsv_find_best_allocation_17928", "fun_name": "uwb_rsv_find_best_allocation", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i32\n %indvars.iv8.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 148, i64 0)\n %5 = trunc i64 %1 to i32\n %6 = inttoptr i64 %4 to i32*\n store i32 %5, i32* %6, align 4\n %7 = add i64 %3, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %4, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = add i64 %3, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %4, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = add i64 %4, 12\n store i64 0, i64* %indvars.iv8.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %18 = call i64 @FUNC(i64 %indvars.iv8.reload, i64 %2)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_3, label LBL_2\n LBL_2:\n %22 = mul i64 %indvars.iv8.reload, 4\n %23 = add i64 %22, %17\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n br label LBL_3\n LBL_3:\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %exitcond10 = icmp eq i64 %indvars.iv.next9, 32\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n br i1 %exitcond10, label LBL_4, label LBL_1\n LBL_4:\n %25 = load i32, i32* %16, align 4\n %26 = icmp eq i32 %25, 1\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %4)\n %29 = call i64 @FUNC(i64 %4)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 1\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_18, label LBL_11\n LBL_6:\n %33 = call i64 @FUNC(i64 %4)\n store i32 16, i32* %storemerge25.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %34 = load i32, i32* %16, align 4\n %35 = icmp ugt i32 %storemerge25.reload, %34\n br i1 %35, label LBL_9, label LBL_8\n LBL_8:\n %36 = zext i32 %storemerge25.reload to i64\n %37 = call i64 @FUNC(i64 %4, i64 %36)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 1\n br i1 %39, label LBL_11, label LBL_9\n LBL_9:\n %40 = udiv i32 %storemerge25.reload, 2\n %41 = icmp ugt i32 %storemerge25.reload, 3\n store i32 %40, i32* %storemerge25.reg2mem\n br i1 %41, label LBL_7, label LBL_10\n LBL_10:\n %42 = call i64 @FUNC(i64 %4)\n %43 = call i64 @FUNC(i64 %4)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 1\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_18, label LBL_11\n LBL_11:\n %47 = ptrtoint i64* %arg3 to i64\n %48 = call i64 @FUNC(i64 %47, i64 32)\n %49 = call i64 @FUNC(i64 %47, i64 32)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_12\n LBL_12:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %50 = mul i64 %indvars.iv.reload, 4\n %51 = add i64 %50, %17\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = icmp eq i32 %53, 1\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_14, label LBL_13\n LBL_13:\n %56 = call i64 @FUNC(i64 %indvars.iv.reload, i64 %47)\n br label LBL_16\n LBL_14:\n %57 = icmp eq i32 %53, 2\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_16, label LBL_15\n LBL_15:\n %59 = call i64 @FUNC(i64 %indvars.iv.reload, i64 %47)\n br label LBL_16\n LBL_16:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_12\n LBL_17:\n %60 = call i64 @FUNC(i64 %47, i64 %47, i64 %47, i64 32)\n %61 = add i64 %4, 140\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = bitcast i64* %arg3 to i32*\n store i32 %63, i32* %64, align 4\n %65 = add i64 %4, 144\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i64 %47, 4\n %69 = inttoptr i64 %68 to i32*\n store i32 %67, i32* %69, align 4\n %70 = call i64 @FUNC(i64 %4)\n store i64 1, i64* %storemerge1.reg2mem\n br label LBL_19\n LBL_18:\n %71 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 }\n uselistorder i64 %47, { 0, 1, 2, 3, 5, 4, 7, 6 }\n uselistorder i32 %storemerge25.reload, { 2, 3, 1, 0 }\n uselistorder i64 %indvars.iv8.reload, { 0, 2, 1 }\n uselistorder i64 %4, { 0, 1, 2, 3, 4, 5, 6, 9, 8, 7, 10, 11, 12, 13 }\n uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 (i64, i64)* @set_bit, { 1, 0 }\n uselistorder i64 (i64, i64)* @bitmap_zero, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64)* @uwb_rsv_find_best_row_alloc, { 1, 0 }\n uselistorder i64 (i64)* @get_row_descriptors, { 1, 0 }\n uselistorder i64 32, { 6, 1, 7, 8, 0, 2, 3, 4, 5 }\n uselistorder i64 1, { 0, 2, 1, 3, 4 }\n uselistorder i1 false, { 0, 1, 2, 4, 5, 3, 6 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i64 8, { 3, 4, 0, 1, 2 }\n uselistorder i64 4, { 2, 0, 1, 3, 4 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "print_fatal_signal_7038", "fun_name": "print_fatal_signal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = load i64, i64* @gv_0, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = and i64 %arg2, 4294967295\n %10 = and i64 %5, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %10, i64 %9, i64 %2, i64 %1)\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %10, i64 %9, i64 %2, i64 %1)\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC(i64 %3)\n %15 = call i64 @FUNC()\n ret i64 %15\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_to_user_policy_13711", "fun_name": "copy_to_user_policy", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64* @memset(i64* %arg2, i32 0, i32 36)\n %5 = trunc i64 %1 to i32\n %6 = bitcast i64* %arg2 to i32*\n store i32 %5, i32* %6, align 4\n %7 = add i64 %3, 4\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %7 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = inttoptr i64 %8 to i32*\n store i32 %10, i32* %11, align 4\n %12 = add i64 %3, 8\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %12 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = inttoptr i64 %13 to i32*\n store i32 %15, i32* %16, align 4\n %17 = add i64 %3, 12\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = add i64 %2, 12\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %22 = add i64 %3, 16\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %2, 16\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = add i64 %3, 20\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n store i32 %29, i32* %6, align 4\n %30 = add i64 %2, 20\n %31 = inttoptr i64 %30 to i32*\n store i32 %arg3, i32* %31, align 4\n %32 = add i64 %3, 24\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %2, 24\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = add i64 %3, 28\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %2, 28\n %41 = inttoptr i64 %40 to i32*\n store i32 %39, i32* %41, align 4\n %42 = add i64 %2, 32\n %43 = inttoptr i64 %42 to i32*\n store i32 0, i32* %43, align 4\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "generate_memory_topology_1886", "fun_name": "generate_memory_topology", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_0)\n %2 = call i64 @FUNC(i64 0, i64 9223372036854775807)\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 0, i64 %2)\n %4 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alpha_cpu_initfn_1769", "fun_name": "alpha_cpu_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = call i64 @FUNC(i64 %1, i64 1)\n %5 = call i64 @FUNC()\n %6 = inttoptr i64 %2 to i32*\n store i32 0, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %2, i64 127)\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 -1, i32* %9, align 4\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tsc210x_load_1658", "fun_name": "tsc210x_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 0)\n %3 = call i64 @FUNC(i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = bitcast i64* %arg2 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %1)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = call i64 @FUNC(i64 %1)\n %11 = trunc i64 %10 to i32\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %1)\n %15 = trunc i64 %14 to i32\n %16 = add i64 %0, 12\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = call i64 @FUNC(i64 %1)\n %19 = trunc i64 %18 to i32\n %20 = add i64 %0, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %22 = call i64 @FUNC(i64 %1)\n %23 = trunc i64 %22 to i32\n %24 = add i64 %0, 20\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = call i64 @FUNC(i64 %1)\n %27 = trunc i64 %26 to i32\n %28 = add i64 %0, 24\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = call i64 @FUNC(i64 %1)\n %31 = trunc i64 %30 to i32\n %32 = add i64 %0, 28\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = add i64 %0, 32\n %35 = call i64 @FUNC(i64 %1, i64 %34)\n %36 = add i64 %0, 36\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %1, i64 %39)\n %41 = call i64 @FUNC(i64 %1)\n %42 = trunc i64 %41 to i32\n %43 = add i64 %0, 40\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = call i64 @FUNC(i64 %1)\n %46 = trunc i64 %45 to i32\n %47 = add i64 %0, 44\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n %49 = call i64 @FUNC(i64 %1)\n %50 = trunc i64 %49 to i32\n %51 = add i64 %0, 48\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n %53 = icmp ult i32 %50, 10\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %53, label LBL_1, label LBL_7\n LBL_1:\n %54 = call i64 @FUNC(i64 %1)\n %55 = trunc i64 %54 to i32\n %56 = add i64 %0, 52\n %57 = inttoptr i64 %56 to i32*\n store i32 %55, i32* %57, align 4\n %58 = icmp ult i32 %55, 10\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %58, label LBL_2, label LBL_7\n LBL_2:\n %59 = call i64 @FUNC(i64 %1)\n %60 = trunc i64 %59 to i32\n %61 = add i64 %0, 56\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n %63 = icmp ult i32 %60, 10\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %63, label LBL_3, label LBL_7\n LBL_3:\n %64 = call i64 @FUNC(i64 %1)\n %65 = trunc i64 %64 to i32\n %66 = add i64 %0, 60\n %67 = inttoptr i64 %66 to i32*\n store i32 %65, i32* %67, align 4\n %68 = icmp ult i32 %65, 10\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %68, label LBL_4, label LBL_7\n LBL_4:\n %sext = mul i64 %2, 4294967296\n %69 = ashr exact i64 %sext, 32\n %70 = call i64 @FUNC(i64 %1)\n %71 = trunc i64 %70 to i32\n %72 = add i64 %0, 64\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n %74 = call i64 @FUNC(i64 %1)\n %75 = trunc i64 %74 to i32\n %76 = add i64 %0, 68\n %77 = inttoptr i64 %76 to i32*\n store i32 %75, i32* %77, align 4\n %78 = call i64 @FUNC(i64 %1)\n %79 = trunc i64 %78 to i32\n %80 = add i64 %0, 72\n %81 = inttoptr i64 %80 to i32*\n store i32 %79, i32* %81, align 4\n %82 = call i64 @FUNC(i64 %1)\n %83 = trunc i64 %82 to i32\n %84 = add i64 %0, 76\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n %86 = call i64 @FUNC(i64 %1)\n %87 = trunc i64 %86 to i32\n %88 = add i64 %0, 80\n %89 = inttoptr i64 %88 to i32*\n store i32 %87, i32* %89, align 4\n %90 = add i64 %0, 84\n %91 = call i64 @FUNC(i64 %1, i64 %90)\n %92 = add i64 %0, 88\n %93 = call i64 @FUNC(i64 %1, i64 %92)\n %94 = add i64 %0, 92\n %95 = call i64 @FUNC(i64 %1, i64 %94)\n %96 = add i64 %0, 96\n %97 = call i64 @FUNC(i64 %1, i64 %96)\n %98 = add i64 %0, 100\n %99 = call i64 @FUNC(i64 %1, i64 %98)\n %100 = add i64 %0, 104\n %101 = call i64 @FUNC(i64 %1, i64 %100)\n %102 = call i64 @FUNC(i64 %1)\n %103 = add i64 %102, %69\n %104 = add i64 %0, 112\n %105 = inttoptr i64 %104 to i64*\n store i64 %103, i64* %105, align 8\n %106 = call i64 @FUNC(i64 %1)\n %107 = add i64 %106, %69\n %108 = add i64 %0, 120\n %109 = inttoptr i64 %108 to i64*\n store i64 %107, i64* %109, align 8\n %110 = call i64 @FUNC(i64 %1)\n %111 = trunc i64 %110 to i32\n %112 = add i64 %0, 128\n %113 = inttoptr i64 %112 to i32*\n store i32 %111, i32* %113, align 4\n %114 = add i64 %0, 132\n %115 = call i64 @FUNC(i64 %1, i64 %114)\n %116 = add i64 %0, 136\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %117 = mul i64 %indvars.iv.reload, 4\n %118 = add i64 %116, %117\n %119 = call i64 @FUNC(i64 %1, i64 %118)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 20\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %120 = load i32, i32* %37, align 4\n %121 = zext i32 %120 to i64\n %122 = call i64 @FUNC(i64 %121)\n %123 = trunc i64 %122 to i32\n %124 = add i64 %0, 216\n %125 = inttoptr i64 %124 to i32*\n store i32 %123, i32* %125, align 4\n %126 = load i32, i32* %33, align 4\n %127 = icmp eq i32 %126, 0\n %128 = add i64 %0, 220\n %129 = inttoptr i64 %128 to i32*\n %130 = load i32, i32* %129, align 4\n %131 = zext i1 %127 to i64\n %132 = zext i32 %130 to i64\n %133 = call i64 @FUNC(i64 %132, i64 %131)\n %134 = inttoptr i64 %34 to i32*\n %135 = load i32, i32* %134, align 4\n %136 = icmp eq i32 %135, 0\n %137 = add i64 %0, 224\n %138 = inttoptr i64 %137 to i32*\n %139 = load i32, i32* %138, align 4\n %140 = zext i1 %136 to i64\n %141 = zext i32 %139 to i64\n %142 = call i64 @FUNC(i64 %141, i64 %140)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 }\n uselistorder i64 (i64)* @qemu_get_sbe64, { 1, 0 }\n uselistorder i32 10, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64)* @qemu_get_be16s, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @qemu_get_byte, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @qemu_get_be16, { 1, 0 }\n uselistorder label LBL_7, { 4, 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_deactivate_target_12004", "fun_name": "nfc_deactivate_target", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = and i64 %arg2, 4294967295\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %4, i64 %2, i64 %1)\n %7 = call i64 @FUNC(i64 %3)\n %8 = call i64 @FUNC(i64 %3)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 4294967277, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_1, label LBL_6\n LBL_1:\n %12 = add i64 %3, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967189, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_2, label LBL_6\n LBL_2:\n %17 = inttoptr i64 %14 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = trunc i64 %arg2 to i32\n %20 = icmp eq i32 %18, %19\n store i64 4294967189, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_3, label LBL_6\n LBL_3:\n %21 = add i64 %3, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %23, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = add i64 %3, 24\n %29 = call i64 @FUNC(i64 %28)\n br label LBL_5\n LBL_5:\n store i64 0, i64* %13, align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %30 = call i64 @FUNC(i64 %3)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 0, 3, 2, 1, 4, 5, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pdf_is_pdf_7185", "fun_name": "pdf_is_pdf", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = inttoptr i64 %0 to i8*\n %4 = call i8* @strstr(i8* %3, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i8* %4, null\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = ptrtoint i8* %4 to i64\n %7 = sub i64 8, %0\n %8 = add i64 %7, %6\n %9 = icmp ult i64 %8, 1024\n store i64 1, i64* %storemerge2.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %10 = inttoptr i64 %0 to i64*\n call void @free(i64* %10)\n store i64 %storemerge2.reload, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %4, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_set_backing_hd_2788", "fun_name": "bdrv_set_backing_hd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i64, i64* %3, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 ptrtoint ([20 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_3:\n %7 = icmp eq i64* %arg2, null\n br i1 %7, label LBL_4, label LBL_5\n LBL_4:\n call void @llvm.trap()\n unreachable\n LBL_5:\n %8 = call i64 @FUNC(i64 %0)\n %9 = add i64 %0, 8\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i64 %8)\n call void @llvm.trap()\n unreachable\n LBL_6:\n %11 = ptrtoint i64* %arg2 to i64\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = call i64 @FUNC(i64 %rdi.0.reload, i64 %.reload)\n store i64 %11, i64* %arg1, align 8\n %13 = icmp eq i64* %arg2, null\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_8, label LBL_7\n LBL_7:\n %15 = load i64, i64* %3, align 8\n %16 = call i64 @FUNC(i64 %15)\n store i64 0, i64* %3, align 8\n br label LBL_11\n LBL_8:\n %17 = add i64 %0, 16\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = and i32 %19, -2\n store i32 %20, i32* %18, align 4\n %21 = add i64 %11, 536\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %0, 20\n %25 = call i64 @FUNC(i64 %24, i64 256, i64 %23)\n %26 = add i64 %11, 544\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge.reg2mem\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = inttoptr i64 %28 to i64*\n %31 = load i64, i64* %30, align 8\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %32 = add i64 %0, 276\n %33 = call i64 @FUNC(i64 %32, i64 256, i64 %storemerge.reload)\n %34 = load i64, i64* %3, align 8\n %35 = call i64 @FUNC(i64 %32, i64 %34)\n %36 = load i64, i64* %3, align 8\n %37 = call i64 @FUNC(i64 %32, i64 2, i64 %36)\n br label LBL_11\n LBL_11:\n %38 = call i64 @FUNC(i64 %0, i64 0)\n ret i64 %38\n\n uselistorder i64* %3, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 %0, { 4, 5, 6, 7, 3, 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @pstrcpy, { 1, 0 }\n uselistorder void ()* @llvm.trap, { 1, 0 }\n uselistorder [20 x i8]* @gv_0, { 1, 0 }\n uselistorder i64* null, { 1, 0, 2 }\n uselistorder i64* %arg2, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "track_set_index_6776", "fun_name": "track_set_index", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp ult i32 %0, 101\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %2)\n %4 = sext i32 %3 to i64\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %6, %5\n %8 = inttoptr i64 %7 to i64*\n store i64 %arg3, i64* %8, align 8\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ceph_do_lookup_18008", "fun_name": "ceph_do_lookup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 10, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 4294967295, i64 %2, i64 %1)\n %7 = call i64 @FUNC(i64 %3, i64* nonnull %sv_1)\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %7)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %12 = call i64 @FUNC(i64 %7)\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %5, i64 1, i64 %13, i64 %7, i64 0, i64 0)\n %15 = call i64 @FUNC(i64 %7)\n %16 = call i64 @FUNC(i64 %14)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %14)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %20 = inttoptr i64 %14 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = zext i32 %arg3 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = inttoptr i64 %23 to i32*\n store i32 %26, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %3)\n %29 = add i64 %14, 8\n %30 = inttoptr i64 %29 to i64*\n store i64 %3, i64* %30, align 8\n %31 = call i64 @FUNC(i64 %5, i64 %14)\n %32 = trunc i64 %31 to i32\n %33 = call i64 @FUNC(i64 %14)\n %34 = icmp eq i32 %32, -2\n %35 = icmp eq i1 %34, false\n store i64 %31, i64* %sv_0.0.reg2mem\n br i1 %35, label LBL_6, label LBL_5\n LBL_5:\n %36 = call i64 @FUNC(i64 %3)\n %37 = call i64 @FUNC(i64 %3, i64 0)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %38 = and i64 %sv_0.0.reload, 4294967295\n %39 = call i64 @FUNC(i64 20, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %38, i64 %7, i64 0, i64 0)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %7, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64 %3, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @PTR_ERR, { 1, 0 }\n uselistorder i64 (i64)* @IS_ERR, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dout, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "find_attribute_8135", "fun_name": "find_attribute", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.in4.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 2\n %3 = trunc i64 %1 to i16\n %4 = call i16 @ntohs(i16 %3)\n %sv_0.03 = inttoptr i64 %2 to i8*\n %5 = load i8, i8* %sv_0.03, align 1\n %6 = trunc i64 %arg2 to i8\n %7 = icmp eq i8 %5, %6\n %8 = icmp eq i1 %7, false\n store i64 %2, i64* %storemerge.reg2mem\n br i1 %8, label LBL_1, label LBL_4\n LBL_1:\n %9 = zext i16 %4 to i32\n %10 = add nsw i32 %9, -2\n store i32 %10, i32* %sv_1.05.reg2mem\n store i64 %2, i64* %sv_0.0.in4.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.in4.reload = load i64, i64* %sv_0.0.in4.reg2mem\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %11 = add i64 %sv_0.0.in4.reload, 2\n %12 = inttoptr i64 %11 to i16*\n %13 = load i16, i16* %12, align 2\n %14 = zext i16 %13 to i32\n %15 = sub i32 %sv_1.05.reload, %14\n %16 = icmp eq i32 %15, 0\n %17 = icmp slt i32 %15, 0\n %18 = icmp eq i1 %17, false\n %19 = icmp eq i1 %16, false\n %20 = icmp eq i1 %18, %19\n store i64 0, i64* %storemerge.reg2mem\n br i1 %20, label LBL_3, label LBL_4\n LBL_3:\n %21 = zext i16 %13 to i64\n %22 = add i64 %sv_0.0.in4.reload, %21\n %sv_0.0 = inttoptr i64 %22 to i8*\n %23 = load i8, i8* %sv_0.0, align 1\n %24 = icmp eq i8 %23, %6\n %25 = icmp eq i1 %24, false\n store i32 %15, i32* %sv_1.05.reg2mem\n store i64 %22, i64* %sv_0.0.in4.reg2mem\n store i64 %22, i64* %storemerge.reg2mem\n br i1 %25, label LBL_2, label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %15, { 0, 2, 1 }\n uselistorder i64 %sv_0.0.in4.reload, { 1, 0 }\n uselistorder i8 %6, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i32* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.in4.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "restore_sigcontext_15134", "fun_name": "restore_sigcontext", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = load i32, i32* %1\n %6 = add i64 %4, 28\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9, i64 %3)\n %11 = add i64 %3, 4\n %12 = add i64 %4, 36\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15, i64 %11)\n %17 = add i64 %3, 8\n %18 = and i64 %2, 4294967295\n %19 = call i64 @FUNC(i64 %18, i64 %17)\n %20 = add i64 %3, 12\n %21 = add i64 %4, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %20)\n %26 = add i64 %3, 16\n %27 = add i64 %4, 64\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %26)\n %32 = add i64 %3, 20\n %33 = zext i32 %5 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %32)\n %35 = add i64 %4, 68\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = and i32 %37, 65280\n %39 = urem i32 %5, 256\n %40 = or i32 %38, %39\n store i32 %40, i32* %36, align 4\n %41 = add i64 %3, 24\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %44)\n %46 = trunc i64 %45 to i32\n store i32 %46, i32* %arg3, align 4\n ret i64 0\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 (i64, i64)* @__get_user, { 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "filemap_write_and_wait_8569", "fun_name": "filemap_write_and_wait", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, -5\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %4)\n %9 = icmp eq i32 %6, 0\n %10 = icmp eq i1 %9, false\n %spec.select = select i1 %10, i64 %5, i64 %8\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %11 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %11\n\n uselistorder i64 %5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pc_dimm_realize_3515", "fun_name": "pc_dimm_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem4 = alloca i32\n %.reg2mem2 = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = icmp eq i64* %arg1, null\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4\n %11 = icmp slt i32 %10, 1\n br i1 %11, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %.pre = load i32, i32* @gv_1, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_4:\n %12 = add i64 %9, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = load i32, i32* @gv_1, align 4\n %16 = icmp ult i32 %14, %15\n %17 = icmp eq i1 %16, false\n store i32 %15, i32* %.reg2mem\n store i32 %14, i32* %.reg2mem2\n store i32 %15, i32* %.reg2mem4\n br i1 %17, label LBL_7, label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %18 = zext i32 %.reload to i64\n %19 = icmp eq i32 %.reload, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = add i64 %9, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n store i32 %23, i32* %.reg2mem2\n store i32 %.reload, i32* %.reg2mem4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %.reload5 = load i32, i32* %.reg2mem4\n %.reload3 = load i32, i32* %.reg2mem2\n %25 = icmp eq i32 %.reload5, 0\n %narrow = select i1 %25, i32 1, i32 %.reload5\n %storemerge = zext i32 %narrow to i64\n %26 = zext i32 %.reload3 to i64\n %27 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_2, i64 0, i64 0), i64 %26, i64 %storemerge, i64 %2, i64 %1)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem2, { 0, 2, 1 }\n uselistorder i32* %.reg2mem4, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @error_setg, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rdpsnd_add_fds_10887", "fun_name": "rdpsnd_add_fds", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = icmp slt i64 %0, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg4 to i64\n %3 = mul i64 %2, 1000000\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %6, %3\n %8 = icmp sgt i64 %7, %0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = ashr i64 %0, 63\n store i64 %9, i64* %arg4, align 8\n %10 = mul nsw i64 %9, -1000000\n %11 = add i64 %10, %0\n store i64 %11, i64* %5, align 8\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_done_9482", "fun_name": "tcp_done", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp ne i32 %2, 1\n %4 = icmp eq i32 %2, 2\n %5 = icmp eq i1 %4, false\n %or.cond = icmp eq i1 %3, %5\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1)\n %7 = call i64 @FUNC(i64 %6, i64 0)\n br label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %arg1, i64 3)\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 255, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %arg1, i64 1)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %arg1, i64* %storemerge.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %16 = call i64 @FUNC(i64 %arg1)\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 %arg1, { 1, 0, 2, 5, 4, 3, 6 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "linux_set_freq_4165", "fun_name": "linux_set_freq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 32)\n %6 = inttoptr i64 %4 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i32 %7, -1\n %9 = icmp ult i32 %8, 3\n br i1 %9, label LBL_1, label LBL_4\n LBL_1:\n %10 = and i64 %3, 4294967295\n %11 = bitcast i64* %sv_2 to i8*\n %12 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %11, i32 31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %10)\n %13 = call i32 @fork()\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = call i32 @close(i32 0)\n %17 = call i32 @close(i32 1)\n %18 = call i32 @close(i32 2)\n %19 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %20 = call i64 @FUNC(i64 %2)\n %21 = add i64 %4, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i8*\n %25 = call i32 (i8*, i8*, ...) @execlp(i8* %24, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_3:\n %26 = bitcast i64* %sv_1 to i32*\n %27 = call i32 @waitpid(i32 %13, i32* nonnull %26, i32 0)\n %28 = trunc i64 %3 to i32\n %29 = add i64 %4, 8\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %31 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 32)\n %32 = call i64 @FUNC(i64 %2)\n %33 = bitcast i64* %sv_0 to i8*\n %34 = inttoptr i64 %32 to i8*\n %35 = call i8* @strncpy(i8* nonnull %33, i8* %34, i32 16)\n %36 = call i128 @FUNC(i128 %1, i128 %1)\n %37 = trunc i64 %3 to i32\n %38 = call i128 @FUNC(i32 %37)\n %39 = call i128 @FUNC(i64 4681608360884174848)\n %40 = call i128 @FUNC(i128 %39, i128 %38)\n %41 = call i32 @FUNC(i128 %40)\n %42 = add i64 %4, 4\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = call i32 (i32, i32, ...) @ioctl(i32 %44, i32 35588)\n %46 = icmp slt i32 %45, 0\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_6, label LBL_5\n LBL_5:\n %48 = call i32 @usleep(i32 10000)\n %49 = load i32, i32* %43, align 4\n %50 = call i32 (i32, i32, ...) @ioctl(i32 %49, i32 35588)\n %51 = icmp slt i32 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %52, label LBL_6, label LBL_7\n LBL_6:\n %53 = add i64 %4, 8\n %54 = inttoptr i64 %53 to i32*\n store i32 %37, i32* %54, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 0, 1, 3, 2, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 (i32, i32, ...)* @ioctl, { 1, 0 }\n uselistorder i64 (i64)* @wi_get_ifname, { 1, 0 }\n uselistorder i32 (i32)* @close, { 2, 1, 0 }\n uselistorder i32 0, { 4, 5, 0, 1, 2, 6, 3 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_op_mfspr_16399", "fun_name": "gen_op_mfspr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = and i64 %3, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %4, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 2\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = and i64 %6, 4294967295\n %13 = mul nuw nsw i64 %12, 24\n %14 = add i64 %4, 16\n %15 = add i64 %14, %13\n store i64 %15, i64* %sv_0.0.in.in.reg2mem\n br label LBL_5\n LBL_2:\n %16 = icmp eq i32 %9, 0\n %17 = and i64 %6, 4294967295\n %18 = mul nuw nsw i64 %17, 24\n %19 = add i64 %18, %4\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %20 = add i64 %19, 24\n store i64 %20, i64* %sv_0.0.in.in.reg2mem\n br label LBL_5\n LBL_4:\n %21 = add i64 %19, 32\n store i64 %21, i64* %sv_0.0.in.in.reg2mem\n br label LBL_5\n LBL_5:\n %22 = trunc i64 %6 to i32\n %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem\n %sv_0.0.in = inttoptr i64 %sv_0.0.in.in.reload to i64*\n %sv_0.0 = load i64, i64* %sv_0.0.in, align 8\n %23 = icmp eq i64 %sv_0.0, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_11, label LBL_6\n LBL_6:\n %26 = icmp eq i64 %sv_0.0, -1\n %27 = icmp eq i1 %26, false\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 %5)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %30 = icmp eq i32 %22, 28\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n %31 = add i64 %4, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = and i64 %6, 4294967295\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %34, i32 %22, i64 %33, i64 %2, i64 %1)\n %36 = load i64, i64* %32, align 8\n %37 = trunc i64 %36 to i32\n %38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %34, i32 %22, i32 %37)\n br label LBL_10\n LBL_10:\n %39 = call i64 @FUNC(i64 %4, i64 1)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %40 = add i64 %4, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = and i64 %6, 4294967295\n %44 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %43, i32 %22, i64 %42, i64 %2, i64 %1)\n %45 = load i64, i64* %41, align 8\n %46 = trunc i64 %45 to i32\n %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %43, i32 %22, i32 %46)\n %48 = call i64 @FUNC(i64 %4, i64 2)\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0, { 1, 0 }\n uselistorder i32 %22, { 3, 4, 0, 2, 1 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %6, { 1, 2, 4, 0, 3 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 5, 6, 4, 3, 0, 1, 2, 7 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @gen_inval_exception, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @qemu_log, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 24, { 2, 0, 1 }\n uselistorder i1 false, { 0, 2, 1, 3, 4 }\n uselistorder i64 4294967295, { 2, 3, 1, 4, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "png_check_chunk_length_13696", "fun_name": "png_check_chunk_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %.off = add i32 %3, -1\n %4 = icmp ult i32 %.off, 2147483646\n %narrow = select i1 %4, i32 %3, i32 2147483647\n %5 = icmp sgt i32 %narrow, -1\n %narrow6 = select i1 %5, i32 %narrow, i32 2147483647\n %spec.select = zext i32 %narrow6 to i64\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 1229209940\n %10 = icmp eq i1 %9, false\n store i64 %spec.select, i64* %sv_0.2.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %2, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %13 to i64\n %18 = zext i32 %16 to i64\n %19 = mul nuw i64 %18, %17\n %20 = add i64 %2, 20\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp ult i32 %22, 9\n %. = select i1 %23, i64 1, i64 2\n %24 = mul i64 %19, %.\n %25 = add i64 %2, 24\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n %storemerge4 = select i1 %28, i64 0, i64 6\n %29 = add i64 %24, 1\n %30 = add i64 %29, %storemerge4\n %31 = add i64 %2, 12\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = udiv i64 4294967295, %30\n %36 = icmp ult i64 %35, %34\n %37 = mul i64 %30, %34\n %storemerge.off0 = select i1 %36, i64 2147483647, i64 %37\n %38 = icmp ult i64 %30, 32566\n %39 = select i1 %38, i64 %30, i64 32566\n %40 = udiv i64 %storemerge.off0, %39\n %41 = mul i64 %40, 5\n %42 = add i64 %41, 11\n %43 = add i64 %42, %storemerge.off0\n %44 = icmp ult i64 %43, 2147483647\n %45 = select i1 %44, i64 %43, i64 2147483647\n %46 = icmp ugt i64 %45, %spec.select\n %47 = icmp eq i1 %46, false\n %48 = select i1 %47, i64 %spec.select, i64 %45\n store i64 %48, i64* %sv_0.2.reg2mem\n br label LBL_2\n LBL_2:\n %49 = and i64 %arg2, 4294967295\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %50 = icmp ult i64 %sv_0.2.reload, %49\n %51 = icmp eq i1 %50, false\n store i64 %49, i64* %rax.0.reg2mem\n br i1 %51, label LBL_4, label LBL_3\n LBL_3:\n %52 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %49, i64 %sv_0.2.reload)\n %53 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %49, { 1, 0, 2 }\n uselistorder i64 %45, { 1, 0 }\n uselistorder i64 %30, { 1, 2, 0, 3 }\n uselistorder i64 %spec.select, { 2, 1, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %2, { 3, 0, 1, 2, 5, 6, 4 }\n uselistorder i64 2147483647, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unix_detach_fds_11053", "fun_name": "unix_detach_fds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.lcssa.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %arg1, align 8\n store i64 0, i64* %arg2, align 8\n %2 = trunc i64 %1 to i32\n %3 = add i32 %2, -1\n %4 = zext i32 %3 to i64\n %5 = icmp slt i32 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %1, i64* %.reg2mem\n store i32 %3, i32* %storemerge1.reg2mem\n store i64 %4, i64* %rax.0.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %7 = add i64 %.reload, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = sext i32 %storemerge1.reload to i64\n %11 = mul i64 %10, 8\n %12 = add i64 %11, %9\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i32 %storemerge1.reload, -1\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %14, i64* %.reg2mem\n store i32 %16, i32* %storemerge1.reg2mem\n store i64 %15, i64* %rax.0.lcssa.reg2mem\n br i1 %18, label LBL_1, label LBL_2\n LBL_2:\n %rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem\n ret i64 %rax.0.lcssa.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "janus_get_codec_from_pt_7347", "fun_name": "janus_get_codec_from_pt", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n store i64 %3, i64* %sv_2, align 8\n %4 = icmp eq i64 %arg1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_35, label LBL_1\n LBL_1:\n %5 = trunc i64 %3 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_35\n LBL_2:\n %8 = icmp eq i32 %5, 0\n %9 = icmp eq i1 %8, false\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_35\n LBL_3:\n %10 = icmp eq i32 %5, 8\n %11 = icmp eq i1 %10, false\n store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_35\n LBL_4:\n %12 = icmp eq i32 %5, 9\n %13 = icmp eq i1 %12, false\n store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_35\n LBL_5:\n %14 = and i64 %3, 4294967295\n %15 = call i64 @FUNC(i64* nonnull %sv_1, i64 50, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i64 %14, i64 %2, i64 %1)\n %16 = inttoptr i64 %arg1 to i8*\n %17 = call i8* @strstr(i8* %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))\n %18 = icmp eq i8* %17, null\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_35\n LBL_6:\n %20 = bitcast i64* %sv_1 to i8*\n store i8* %17, i8** %storemerge5.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge5.reload = load i8*, i8** %storemerge5.reg2mem\n %21 = call i8* @strchr(i8* %storemerge5.reload, i32 10)\n %22 = icmp eq i8* %21, null\n br i1 %22, label LBL_34, label LBL_8\n LBL_8:\n store i8 0, i8* %21, align 1\n %23 = call i8* @strstr(i8* %storemerge5.reload, i8* nonnull %20)\n %24 = icmp eq i8* %23, null\n br i1 %24, label LBL_33, label LBL_9\n LBL_9:\n %25 = call i32 (i8*, i8*, ...) @sscanf(i8* %storemerge5.reload, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_2, i64* nonnull %sv_0)\n %26 = icmp eq i32 %25, 2\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_33, label LBL_10\n LBL_10:\n store i8 10, i8* %21, align 1\n %28 = bitcast i64* %sv_0 to i8*\n %29 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0))\n %30 = icmp eq i8* %29, null\n %31 = icmp eq i1 %30, false\n store i64 ptrtoint ([4 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem\n br i1 %31, label LBL_35, label LBL_11\n LBL_11:\n %32 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0))\n %33 = icmp eq i8* %32, null\n store i64 ptrtoint ([4 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem\n br i1 %33, label LBL_12, label LBL_35\n LBL_12:\n %34 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0))\n %35 = icmp eq i8* %34, null\n %36 = icmp eq i1 %35, false\n store i64 ptrtoint ([4 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem\n br i1 %36, label LBL_35, label LBL_13\n LBL_13:\n %37 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0))\n %38 = icmp eq i8* %37, null\n store i64 ptrtoint ([4 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem\n br i1 %38, label LBL_14, label LBL_35\n LBL_14:\n %39 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0))\n %40 = icmp eq i8* %39, null\n %41 = icmp eq i1 %40, false\n store i64 ptrtoint ([5 x i8]* @gv_10 to i64), i64* %rax.0.reg2mem\n br i1 %41, label LBL_35, label LBL_15\n LBL_15:\n %42 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_11, i64 0, i64 0))\n %43 = icmp eq i8* %42, null\n store i64 ptrtoint ([5 x i8]* @gv_10 to i64), i64* %rax.0.reg2mem\n br i1 %43, label LBL_16, label LBL_35\n LBL_16:\n %44 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_12, i64 0, i64 0))\n %45 = icmp eq i8* %44, null\n %46 = icmp eq i1 %45, false\n store i64 ptrtoint ([4 x i8]* @gv_12 to i64), i64* %rax.0.reg2mem\n br i1 %46, label LBL_35, label LBL_17\n LBL_17:\n %47 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_13, i64 0, i64 0))\n %48 = icmp eq i8* %47, null\n store i64 ptrtoint ([4 x i8]* @gv_12 to i64), i64* %rax.0.reg2mem\n br i1 %48, label LBL_18, label LBL_35\n LBL_18:\n %49 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_14, i64 0, i64 0))\n %50 = icmp eq i8* %49, null\n %51 = icmp eq i1 %50, false\n store i64 ptrtoint ([5 x i8]* @gv_14 to i64), i64* %rax.0.reg2mem\n br i1 %51, label LBL_35, label LBL_19\n LBL_19:\n %52 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_15, i64 0, i64 0))\n %53 = icmp eq i8* %52, null\n store i64 ptrtoint ([5 x i8]* @gv_14 to i64), i64* %rax.0.reg2mem\n br i1 %53, label LBL_20, label LBL_35\n LBL_20:\n %54 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0))\n %55 = icmp eq i8* %54, null\n %56 = icmp eq i1 %55, false\n store i64 ptrtoint ([5 x i8]* @gv_16 to i64), i64* %rax.0.reg2mem\n br i1 %56, label LBL_35, label LBL_21\n LBL_21:\n %57 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_17, i64 0, i64 0))\n %58 = icmp eq i8* %57, null\n store i64 ptrtoint ([5 x i8]* @gv_16 to i64), i64* %rax.0.reg2mem\n br i1 %58, label LBL_22, label LBL_35\n LBL_22:\n %59 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %60 = icmp eq i8* %59, null\n %61 = icmp eq i1 %60, false\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %61, label LBL_35, label LBL_23\n LBL_23:\n %62 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_18, i64 0, i64 0))\n %63 = icmp eq i8* %62, null\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %63, label LBL_24, label LBL_35\n LBL_24:\n %64 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %65 = icmp eq i8* %64, null\n %66 = icmp eq i1 %65, false\n store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n br i1 %66, label LBL_35, label LBL_25\n LBL_25:\n %67 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_19, i64 0, i64 0))\n %68 = icmp eq i8* %67, null\n store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n br i1 %68, label LBL_26, label LBL_35\n LBL_26:\n %69 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %70 = icmp eq i8* %69, null\n %71 = icmp eq i1 %70, false\n store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br i1 %71, label LBL_35, label LBL_27\n LBL_27:\n %72 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_20, i64 0, i64 0))\n %73 = icmp eq i8* %72, null\n store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br i1 %73, label LBL_28, label LBL_35\n LBL_28:\n %74 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_21, i64 0, i64 0))\n %75 = icmp eq i8* %74, null\n %76 = icmp eq i1 %75, false\n store i64 ptrtoint ([7 x i8]* @gv_22 to i64), i64* %rax.0.reg2mem\n br i1 %76, label LBL_35, label LBL_29\n LBL_29:\n %77 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_23, i64 0, i64 0))\n %78 = icmp eq i8* %77, null\n store i64 ptrtoint ([7 x i8]* @gv_22 to i64), i64* %rax.0.reg2mem\n br i1 %78, label LBL_30, label LBL_35\n LBL_30:\n %79 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_24, i64 0, i64 0))\n %80 = icmp eq i8* %79, null\n %81 = icmp eq i1 %80, false\n store i64 ptrtoint ([7 x i8]* @gv_25 to i64), i64* %rax.0.reg2mem\n br i1 %81, label LBL_35, label LBL_31\n LBL_31:\n %82 = call i8* @strstr(i8* nonnull %28, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_26, i64 0, i64 0))\n %83 = icmp eq i8* %82, null\n store i64 ptrtoint ([7 x i8]* @gv_25 to i64), i64* %rax.0.reg2mem\n br i1 %83, label LBL_32, label LBL_35\n LBL_32:\n %84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_27, i64 0, i64 0), i64* nonnull %sv_0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_35\n LBL_33:\n store i8 10, i8* %21, align 1\n br label LBL_34\n LBL_34:\n %85 = ptrtoint i8* %21 to i64\n %86 = add i64 %85, 1\n %87 = inttoptr i64 %86 to i8*\n %88 = select i1 %22, i8* null, i8* %87\n %89 = icmp eq i8* %88, null\n %90 = icmp eq i1 %89, false\n store i8* %88, i8** %storemerge5.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %90, label LBL_7, label LBL_35\n LBL_35:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %21, { 2, 1, 0, 3, 4 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i8** %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 30, 4, 3, 6, 5, 8, 7, 10, 9, 12, 11, 14, 13, 16, 15, 18, 17, 20, 19, 22, 21, 24, 23, 2, 25, 26, 27, 29, 28 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 ptrtoint ([7 x i8]* @gv_25 to i64), { 1, 0 }\n uselistorder i64 ptrtoint ([7 x i8]* @gv_22 to i64), { 1, 0 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_16 to i64), { 1, 0 }\n uselistorder [5 x i8]* @gv_16, { 1, 0 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_14 to i64), { 1, 0 }\n uselistorder [5 x i8]* @gv_14, { 1, 0 }\n uselistorder i64 ptrtoint ([4 x i8]* @gv_12 to i64), { 1, 0 }\n uselistorder [4 x i8]* @gv_12, { 1, 0 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_10 to i64), { 1, 0 }\n uselistorder [5 x i8]* @gv_10, { 1, 0 }\n uselistorder i64 ptrtoint ([4 x i8]* @gv_8 to i64), { 1, 0 }\n uselistorder [4 x i8]* @gv_8, { 1, 0 }\n uselistorder i64 ptrtoint ([4 x i8]* @gv_6 to i64), { 1, 0 }\n uselistorder [4 x i8]* @gv_6, { 1, 0 }\n uselistorder i8* null, { 26, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0 }\n uselistorder i8* (i8*, i8*)* @strstr, { 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_2 to i64), { 1, 0, 2 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_1 to i64), { 1, 0, 2 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_0 to i64), { 1, 0, 2 }\n uselistorder i1 false, { 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 14, 15, 16, 17 }\n uselistorder i32 1, { 5, 7, 6, 4, 3, 2, 8, 1, 0 }\n uselistorder label LBL_35, { 0, 29, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10, 13, 12, 15, 14, 17, 16, 19, 18, 21, 20, 23, 22, 1, 24, 25, 26, 28, 27 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "input_allocate_device_18528", "fun_name": "input_allocate_device", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 32, i64 0)\n %1 = icmp eq i64 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %0 to i32*\n store i32 1, i32* %2, align 4\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %4, align 8\n %5 = call i64 @FUNC(i64 %3)\n %6 = add i64 %0, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 24\n %9 = call i64 @FUNC(i64 %8)\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "wddx_stack_destroy_5544", "fun_name": "wddx_stack_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.2.lcssa.reg2mem = alloca i64\n %.reg2mem16 = alloca i64\n %.reg2mem = alloca i64\n %rdi.26.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_9, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %storemerge7.reg2mem\n store i64 %1, i64* %rdi.26.reg2mem\n store i64 %1, i64* %rdi.2.lcssa.reg2mem\n br i1 %5, label LBL_8, label LBL_2\n LBL_2:\n %rdi.26.reload = load i64, i64* %rdi.26.reg2mem\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %sext = mul i64 %storemerge7.reload, 4294967296\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %6, %rdi.26.reload\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i64 %9, i64* %.reg2mem\n br i1 %12, label LBL_5, label LBL_3\n LBL_3:\n %13 = add i64 %9, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 1\n store i64 %9, i64* %.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %9)\n %.pre = add i64 %9, %6\n %.pre8 = inttoptr i64 %.pre to i64*\n %.pre14 = load i64, i64* %.pre8, align 8\n store i64 %.pre14, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %18 = add i64 %.reload, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n store i64 %.reload, i64* %.reg2mem16\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %20)\n %.pre10 = add i64 %20, %6\n %.pre12 = inttoptr i64 %.pre10 to i64*\n %.pre15 = load i64, i64* %.pre12, align 8\n store i64 %.pre15, i64* %.reg2mem16\n br label LBL_7\n LBL_7:\n %.reload17 = load i64, i64* %.reg2mem16\n %23 = call i64 @FUNC(i64 %.reload17)\n %24 = add nuw nsw i64 %storemerge7.reload, 1\n %25 = and i64 %24, 4294967295\n %26 = load i32, i32* %3, align 4\n %27 = zext i32 %26 to i64\n %28 = icmp ult i64 %25, %27\n store i64 %25, i64* %storemerge7.reg2mem\n store i64 %.reload17, i64* %rdi.26.reg2mem\n store i64 %.reload17, i64* %rdi.2.lcssa.reg2mem\n br i1 %28, label LBL_2, label LBL_8\n LBL_8:\n %rdi.2.lcssa.reload = load i64, i64* %rdi.2.lcssa.reg2mem\n %29 = call i64 @FUNC(i64 %rdi.2.lcssa.reload)\n br label LBL_9\n LBL_9:\n ret i64 0\n\n uselistorder i64 %.reload17, { 0, 2, 1 }\n uselistorder i64 %9, { 2, 3, 1, 4, 0, 5 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i32* %3, { 1, 0 }\n uselistorder i64* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.26.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %.reg2mem16, { 0, 2, 1 }\n uselistorder i64 (i64)* @efree, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "proc_next_tid_4068", "fun_name": "proc_next_tid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i8*, align 8\n %2 = icmp ne i64* %arg1, null\n %3 = icmp eq i64* %arg2, null\n %4 = icmp eq i1 %3, false\n %or.cond = icmp eq i1 %2, %4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_10\n LBL_1:\n %5 = trunc i64 %1 to i32\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %7, align 4\n %8 = call i32* @__errno_location()\n store i32 0, i32* %8, align 4\n %9 = icmp eq i32 %5, 0\n store i64 %6, i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %10 = inttoptr i64 %rdi.0.reload to %__dirstream*\n %11 = call %dirent* @readdir(%__dirstream* %10)\n %12 = icmp eq %dirent* %11, null\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i32* @__errno_location()\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %. = select i1 %16, i64 1, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %17 = ptrtoint %dirent* %11 to i64\n %18 = call i16** @__ctype_b_loc()\n %19 = load i16*, i16** %18, align 8\n %20 = ptrtoint i16* %19 to i64\n %21 = add i64 %17, 19\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = zext i8 %23 to i64\n %25 = mul i64 %24, 2\n %26 = add i64 %25, %20\n %27 = inttoptr i64 %26 to i16*\n %28 = load i16, i16* %27, align 2\n %29 = and i16 %28, 2048\n %30 = icmp eq i16 %29, 0\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %30, label LBL_9, label LBL_5\n LBL_5:\n %31 = call i32 @strtol(i8* %22, i8** nonnull %sv_0, i32 10)\n store i32 %31, i32* %7, align 4\n %32 = call i32* @__errno_location()\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %35, label LBL_10, label LBL_6\n LBL_6:\n %36 = load i8*, i8** %sv_0, align 8\n %37 = ptrtoint i8* %36 to i64\n %38 = icmp eq i64 %21, %37\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %38, label LBL_10, label LBL_7\n LBL_7:\n %39 = icmp eq i8* %36, null\n store i64 %21, i64* %rdi.1.reg2mem\n br i1 %39, label LBL_9, label LBL_8\n LBL_8:\n %40 = load i8, i8* %36, align 1\n %41 = icmp eq i8 %40, 0\n store i64 %21, i64* %rdi.1.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %41, label LBL_9, label LBL_10\n LBL_9:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder %dirent* %11, { 1, 0 }\n uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2, 5, 6 }\n uselistorder i64 4294967295, { 2, 1, 0, 4, 3 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_10, { 0, 3, 2, 1, 4, 5 }\n uselistorder label LBL_9, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unregister_console_10466", "fun_name": "unregister_console", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_1.0.in.in.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = load i64, i64* @gv_0, align 8\n %2 = icmp eq i64 %1, %arg1\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n store i64 %arg1, i64* @gv_0, align 8\n store i64 %arg1, i64* %.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_2:\n %4 = icmp eq i64 %1, 0\n store i64 %1, i64* %sv_1.0.in.in.reg2mem\n store i64 1, i64* %sv_0.01.reg2mem\n br i1 %4, label LBL_9, label LBL_5\n LBL_3:\n %5 = icmp eq i64 %sv_1.0, %arg1\n %6 = icmp eq i1 %5, false\n store i64 %sv_1.0, i64* %sv_1.0.in.in.reg2mem\n br i1 %6, label LBL_5, label LBL_4\n LBL_4:\n %7 = inttoptr i64 %sv_1.0 to i64*\n %8 = load i64, i64* %7, align 8\n store i64 %8, i64* %sv_1.0.in, align 8\n %.pr.pre = load i64, i64* @gv_0, align 8\n store i64 %.pr.pre, i64* %.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %sv_1.0.in.in.reload = load i64, i64* %sv_1.0.in.in.reg2mem\n %sv_1.0.in = inttoptr i64 %sv_1.0.in.in.reload to i64*\n %sv_1.0 = load i64, i64* %sv_1.0.in, align 8\n %9 = icmp eq i64 %sv_1.0, 0\n %10 = icmp eq i1 %9, false\n store i64 %1, i64* %.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_3, label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %11 = icmp eq i64 %.reload, 0\n store i64 %sv_0.0.reload, i64* %sv_0.01.reg2mem\n br i1 %11, label LBL_9, label LBL_7\n LBL_7:\n %12 = add i64 %arg1, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = and i32 %14, 2\n %16 = icmp eq i32 %15, 0\n store i64 %sv_0.0.reload, i64* %sv_0.01.reg2mem\n br i1 %16, label LBL_9, label LBL_8\n LBL_8:\n %17 = add i64 %.reload, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = or i32 %19, 2\n store i32 %20, i32* %18, align 4\n store i64 %sv_0.0.reload, i64* %sv_0.01.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %21 = call i64 @FUNC()\n %22 = call i64 @FUNC()\n ret i64 %sv_0.01.reload\n\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.0, { 3, 2, 0, 1 }\n uselistorder i64* %sv_1.0.in, { 1, 0 }\n uselistorder i64* %sv_1.0.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 0, 1, 4 }\n uselistorder label LBL_9, { 1, 2, 3, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mmsh_seek_2323", "fun_name": "mmsh_seek", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i64 -38, i64* %storemerge.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = trunc i64 %arg3 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n store i64 -38, i64* %storemerge.reg2mem\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, %5\n %10 = add i64 %5, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %5, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = mul i64 %15, %12\n %17 = add i64 %9, %16\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 -38, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_egg_Cfile_parseCompiled_6913", "fun_name": "r_egg_Cfile_parseCompiled", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %1 to i8*\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %0)\n store i64 %0, i64* %sv_1.0.reg2mem\n store i8* %4, i8** %sv_0.0.reg2mem\n br label LBL_7\n LBL_2:\n %6 = ptrtoint i64* %sv_2 to i64\n %7 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 0)\n %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 0)\n %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i64 1)\n %10 = add i64 %6, -80\n store i64 0, i64* %storemerge23.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge23.reload = load i64, i64* %storemerge23.reg2mem\n %11 = mul i64 %storemerge23.reload, 8\n %12 = add i64 %10, %11\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %9, i64 %14)\n %16 = add nuw nsw i64 %storemerge23.reload, 1\n %exitcond = icmp eq i64 %16, 7\n store i64 %16, i64* %storemerge23.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %17 = inttoptr i64 %9 to i8*\n %18 = inttoptr i64 %0 to i64*\n call void @free(i64* %18)\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0), i64 %arg1)\n %20 = call i32 @strlen(i8* %17)\n %21 = sext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %19, i64 %9, i64 %21, i64 1)\n %23 = trunc i64 %22 to i8\n %24 = icmp eq i8 %23, 1\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_8, i64 0, i64 0), i64 %arg1)\n store i64 %19, i64* %sv_1.0.reg2mem\n store i8* %17, i8** %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %26 = inttoptr i64 %9 to i64*\n call void @free(i64* %26)\n %27 = inttoptr i64 %19 to i64*\n call void @free(i64* %27)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %28 = bitcast i8* %sv_0.0.reload to i64*\n call void @free(i64* %28)\n %29 = inttoptr i64 %sv_1.0.reload to i64*\n call void @free(i64* %29)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %19, { 1, 0, 2 }\n uselistorder i64 %9, { 1, 2, 3, 0 }\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*)* @strlen, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder void (i64*)* @free, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i8*, i64)* @r_str_replace, { 2, 1, 0 }\n uselistorder i64 (i8*, i64)* @eprintf, { 1, 0 }\n uselistorder i1 false, { 3, 4, 0, 5, 2, 6, 7, 1, 8, 9 }\n uselistorder i64 (i8*, i64)* @r_str_newf, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_ber_length_4364", "fun_name": "get_ber_length", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i32\n %sv_2.2.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_2.13.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_2.07.reg2mem = alloca i32\n %sv_1.08.reg2mem = alloca i32\n %sv_3.09.reg2mem = alloca i8\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %sv_7 = alloca i64, align 8\n %0 = zext i32 %arg3 to i64\n %1 = call i64 @FUNC(i64 %arg2, i64 %0)\n %2 = trunc i64 %1 to i32\n %sext = mul i32 %2, 16777216\n %3 = ashr exact i32 %sext, 24\n %4 = add i32 %arg3, 1\n %5 = trunc i64 %1 to i8\n %6 = icmp slt i8 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = urem i32 %3, 256\n store i32 %4, i32* %sv_2.2.reg2mem\n store i32 %7, i32* %sv_1.2.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_2:\n %8 = trunc i32 %3 to i8\n %9 = urem i8 %8, -128\n %10 = icmp eq i8 %9, 0\n store i8 %9, i8* %sv_3.09.reg2mem\n store i32 0, i32* %sv_1.08.reg2mem\n store i32 %4, i32* %sv_2.07.reg2mem\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = zext i32 %4 to i64\n %12 = call i64 @FUNC(i64 %arg2, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 1\n store i32 0, i32* %sv_1.1.lcssa.reg2mem\n br i1 %14, label LBL_11, label LBL_4\n LBL_4:\n %15 = bitcast i32* %sv_4 to i64*\n store i64 %11, i64* %.reg2mem\n store i32 0, i32* %sv_1.14.reg2mem\n store i32 %4, i32* %sv_2.13.reg2mem\n br label LBL_9\n LBL_5:\n %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem\n %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem\n %sv_3.09.reload = load i8, i8* %sv_3.09.reg2mem\n %16 = add i8 %sv_3.09.reload, -1\n %17 = zext i32 %sv_2.07.reload to i64\n %18 = call i64 @FUNC(i64 %arg2, i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = add i32 %sv_2.07.reload, 1\n %21 = mul i32 %sv_1.08.reload, 256\n %22 = urem i32 %19, 256\n %23 = or i32 %22, %21\n %24 = icmp eq i8 %16, 0\n %25 = icmp eq i1 %24, false\n store i8 %16, i8* %sv_3.09.reg2mem\n store i32 %23, i32* %sv_1.08.reg2mem\n store i32 %20, i32* %sv_2.07.reg2mem\n store i32 %20, i32* %sv_2.2.reg2mem\n store i32 %23, i32* %sv_1.2.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_5, label LBL_12\n LBL_6:\n %26 = call i64 @FUNC(i64 %arg2, i32 %sv_2.13.reload, i64* nonnull %sv_5, i64* nonnull %sv_6, i64* nonnull %sv_7)\n %27 = trunc i64 %26 to i32\n %28 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %27, i64* nonnull %15, i64 0)\n %29 = trunc i64 %28 to i32\n %30 = load i32, i32* %sv_4, align 4\n %31 = add i32 %30, %29\n %32 = icmp sgt i32 %31, %sv_2.13.reload\n br i1 %32, label LBL_7, label LBL_8\n LBL_7:\n %33 = add i32 %31, %sv_1.14.reload\n %34 = sub i32 %33, %sv_2.13.reload\n %35 = zext i32 %31 to i64\n %36 = call i64 @FUNC(i64 %arg2, i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = icmp slt i32 %37, 1\n store i64 %35, i64* %.reg2mem\n store i32 %34, i32* %sv_1.14.reg2mem\n store i32 %31, i32* %sv_2.13.reg2mem\n store i32 %34, i32* %sv_1.1.lcssa.reg2mem\n br i1 %38, label LBL_11, label LBL_9\n LBL_8:\n %39 = call i64 @FUNC(i64 1)\n br label LBL_7\n LBL_9:\n %sv_2.13.reload = load i32, i32* %sv_2.13.reg2mem\n %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %40 = call i64 @FUNC(i64 %arg2, i64 %.reload)\n %41 = trunc i64 %40 to i8\n %42 = icmp eq i8 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_6, label LBL_10\n LBL_10:\n %44 = add i32 %sv_2.13.reload, 1\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %arg2, i64 %45)\n %47 = trunc i64 %46 to i8\n %48 = icmp eq i8 %47, 0\n %49 = icmp eq i1 %48, false\n store i32 %sv_1.14.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %49, label LBL_6, label LBL_11\n LBL_11:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %50 = add i32 %sv_1.1.lcssa.reload, 2\n store i32 %4, i32* %sv_2.2.reg2mem\n store i32 %50, i32* %sv_1.2.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem\n %51 = icmp eq i64* %arg4, null\n br i1 %51, label LBL_14, label LBL_13\n LBL_13:\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %52 = bitcast i64* %arg4 to i32*\n store i32 %sv_1.2.reload, i32* %52, align 4\n br label LBL_14\n LBL_14:\n %53 = icmp eq i64 %arg5, 0\n br i1 %53, label LBL_16, label LBL_15\n LBL_15:\n %54 = inttoptr i64 %arg5 to i32*\n store i32 %sv_0.0.reload, i32* %54, align 4\n br label LBL_16\n LBL_16:\n %55 = zext i32 %sv_2.2.reload to i64\n ret i64 %55\n\n uselistorder i32 %sv_2.13.reload, { 0, 2, 1, 3 }\n uselistorder i32 %31, { 0, 2, 3, 1 }\n uselistorder i32 %sv_2.07.reload, { 1, 0 }\n uselistorder i32 %4, { 1, 2, 4, 3, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i8* %sv_3.09.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.08.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.07.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %sv_1.2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @tvb_reported_length_remaining, { 1, 0 }\n uselistorder i32 256, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @tvb_get_guint8, { 3, 2, 1, 0 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 2, 5, 6, 4, 3, 1, 0, 7 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_addq_lo_3197", "fun_name": "gen_addq_lo", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = zext i32 %arg3 to i64\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %1, i64 %4)\n %6 = call i64 @FUNC(i64 %4)\n %7 = call i64 @FUNC(i64 %arg2, i64 %arg2, i64 %1)\n %8 = call i64 @FUNC(i64 %1)\n ret i64 %8\n\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gxf_read_index_1633", "fun_name": "gxf_read_index", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %arg2 to i32\n %5 = add i64 %3, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %7)\n %10 = add i32 %4, -8\n %11 = urem i64 %2, 2\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = add i64 %3, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = zext i32 %10 to i64\n %20 = call i64 @FUNC(i64 %7, i64 %19)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_3:\n %21 = trunc i64 %9 to i32\n %22 = inttoptr i64 %16 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp ult i32 %21, 1001\n store i32 %21, i32* %sv_0.0.reg2mem\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = and i64 %9, 4294967295\n %26 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %25, i64 %25, i64 %1)\n store i32 1000, i32* %sv_0.0.reg2mem\n store i64 %25, i64* %rcx.0.reg2mem\n store i64 %25, i64* %r8.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %27 = mul i32 %sv_0.0.reload, 4\n %28 = icmp ult i32 %10, %27\n br i1 %28, label LBL_6, label LBL_7\n LBL_6:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %29 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n %30 = zext i32 %10 to i64\n %31 = call i64 @FUNC(i64 %7, i64 %30)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %32 = call i64 @FUNC(i64 %23, i64 0, i64 0, i64 0, i64 0, i64 0)\n %33 = icmp eq i32 %sv_0.0.reload, 0\n br i1 %33, label LBL_10, label LBL_8\n LBL_8:\n %wide.trip.count = zext i32 %sv_0.0.reload to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %34 = mul i64 %indvars.iv.reload, %8\n %35 = add i64 %34, 1\n %36 = call i64 @FUNC(i64 %7)\n %37 = mul i64 %36, 1024\n %38 = and i64 %37, 4398046510080\n %39 = and i64 %35, 4294967295\n %40 = call i64 @FUNC(i64 %23, i64 %38, i64 %39, i64 0, i64 0, i64 0)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %41 = sub i32 %10, %27\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %7, i64 %42)\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i32 %10, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @av_add_index_entry, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_skip, { 2, 1, 0 }\n uselistorder i64 (i64)* @avio_rl32, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sha1_ssse3_final_10239", "fun_name": "sha1_ssse3_final", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %1, 24\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = mul i64 %4, 8\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* %sv_0, align 8\n %7 = load i64, i64* %3, align 8\n %8 = trunc i64 %7 to i32\n %9 = urem i32 %8, 64\n %10 = icmp ult i32 %9, 56\n %storemerge1.in.v = select i1 %10, i32 56, i32 120\n %storemerge1.in = sub nsw i32 %storemerge1.in.v, %9\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @padding_used_in_hashing_algorithms__0x80_0_____0__at_402020, i64 0, i64 0), i32 %storemerge1.in)\n %16 = bitcast i64* %sv_0 to i8*\n %17 = call i64 @FUNC(i64 %0, i8* nonnull %16, i32 8)\n br label LBL_6\n LBL_2:\n %18 = call i64 @FUNC()\n %19 = icmp ult i32 %storemerge1.in, 57\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %20 = load i64, i64* %3, align 8\n %21 = zext i32 %storemerge1.in to i64\n %22 = add i64 %20, %21\n store i64 %22, i64* %3, align 8\n %23 = add i64 %1, 32\n %24 = zext i32 %9 to i64\n %25 = add i64 %23, %24\n %26 = inttoptr i64 %25 to i64*\n %27 = call i64* @memcpy(i64* %26, i64* bitcast ([64 x i8]* @padding_used_in_hashing_algorithms__0x80_0_____0__at_402020 to i64*), i32 %storemerge1.in)\n br label LBL_5\n LBL_4:\n %28 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @padding_used_in_hashing_algorithms__0x80_0_____0__at_402020, i64 0, i64 0), i32 %storemerge1.in, i32 %9)\n br label LBL_5\n LBL_5:\n %29 = bitcast i64* %sv_0 to i8*\n %30 = call i64 @FUNC(i64 %0, i8* nonnull %29, i32 8, i32 56)\n %31 = call i64 @FUNC()\n br label LBL_6\n LBL_6:\n %32 = ptrtoint i64* %arg2 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %33 = mul i64 %indvars.iv.reload, 4\n %34 = add i64 %33, %1\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %33, %32\n %38 = zext i32 %36 to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = inttoptr i64 %37 to i32*\n store i32 %40, i32* %41, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 5\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_7\n LBL_8:\n %42 = inttoptr i64 %1 to i64*\n %43 = call i64* @memset(i64* %42, i32 0, i32 96)\n ret i64 0\n\n uselistorder i64 %33, { 1, 0 }\n uselistorder i32 %storemerge1.in, { 0, 3, 1, 2, 4 }\n uselistorder i32 %9, { 2, 1, 3, 0 }\n uselistorder i64* %3, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i32)* @__sha1_ssse3_update, { 1, 0 }\n uselistorder i64 (i64, i8*, i32)* @crypto_sha1_update, { 1, 0 }\n uselistorder i32 56, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "source_config_props_3312", "fun_name": "source_config_props", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %6, i32 %5, i64 0, i64 %2)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_4\n LBL_1:\n %11 = trunc i64 %1 to i32\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = load i32, i32* %4, align 4\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = load i32, i32* %13, align 4\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = load i32, i32* %13, align 4\n %21 = zext i32 %20 to i64\n %22 = add i64 %2, 32\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = icmp eq i32 %20, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_3, label LBL_2\n LBL_2:\n %26 = call i64 @FUNC(i64 %2, i64 16, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %27 = add i64 %2, 40\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %2, i64 %29)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 2, 0, 3, 4, 5, 6, 7, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unassigned_mem_writeb_5072", "fun_name": "unassigned_mem_writeb", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg3 to i32\n %1 = trunc i64 %arg2 to i32\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i32 %1, i32 %0)\n %3 = load i64, i64* @gv_1, align 8\n %4 = call i64 @FUNC(i64 %3, i64 %arg2, i64 1, i64 0, i64 0, i64 1)\n ret i64 %4\n\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_tx_pkt_do_sw_fragmentation_4881", "fun_name": "net_tx_pkt_do_sw_fragmentation", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_5 to i64\n store i64 %0, i64* %sv_5, align 8\n store i32 0, i32* %sv_4, align 4\n store i64 0, i64* %sv_3, align 8\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %1, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %1, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n store i64 %1, i64* %sv_2, align 8\n %12 = bitcast i32* %sv_1 to i64*\n %13 = add i64 %1, 160\n %14 = inttoptr i64 %13 to i64*\n %15 = add i64 %2, -8\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = call i64 @FUNC(i64 %1, i32* nonnull %sv_4, i64* nonnull %sv_3, i64* nonnull %sv_2, i64* nonnull %12)\n %18 = add i64 %17, %sv_0.0.reload\n %19 = load i64, i64* %14, align 8\n %20 = icmp ult i64 %18, %19\n %21 = zext i1 %20 to i64\n store i64 %21, i64* %16, align 8\n %22 = call i64 @FUNC(i64 %1, i64 %5, i64 %8, i64 %11, i64 %17, i64 %sv_0.0.reload, i64 %21)\n %23 = call i64 @FUNC(i64 %8, i64 %11)\n %24 = load i32, i32* %sv_1, align 4\n %25 = zext i32 %24 to i64\n %26 = load i64, i64* %sv_5, align 8\n %27 = call i64 @FUNC(i64 %1, i64 %26, i64* nonnull %sv_2, i64 %25)\n %28 = icmp ne i64 %17, 0\n %29 = icmp eq i1 %20, false\n %30 = icmp eq i1 %29, false\n %or.cond = icmp eq i1 %28, %30\n store i64 %18, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n ret i64 1\n\n uselistorder i64 %17, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rose_parse_national_5474", "fun_name": "rose_parse_national", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i64\n %sv_3.1.reg2mem = alloca i32*\n %sv_0.1.reg2mem = alloca i32\n %sv_4.012.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i8\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i32*\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i64 %0, 164\n %3 = inttoptr i64 %2 to i32*\n %4 = add i64 %0, 156\n %5 = inttoptr i64 %4 to i32*\n %6 = add i64 %0, 70\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %0, 160\n %9 = inttoptr i64 %8 to i32*\n %10 = add i64 %0, 140\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %0, 147\n %13 = inttoptr i64 %12 to i64*\n %.phi.trans.insert = bitcast i32* %arg1 to i8*\n %.pre = load i8, i8* %.phi.trans.insert, align 1\n store i8 %.pre, i8* %.reg2mem\n store i32* %arg1, i32** %sv_3.0.reg2mem\n store i64 %1, i64* %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32*, i32** %sv_3.0.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %14 = icmp ugt i8 %.reload, -65\n br i1 %14, label LBL_10, label LBL_2\n LBL_2:\n %15 = and i8 %.reload, -64\n %16 = icmp eq i8 %15, -128\n br i1 %16, label LBL_9, label LBL_3\n LBL_3:\n %17 = icmp ugt i8 %15, -128\n store i32* %sv_3.0.reload, i32** %sv_3.1.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %17, label LBL_30, label LBL_4\n LBL_4:\n store i32* %sv_3.0.reload, i32** %sv_3.1.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n switch i8 %15, label LBL_30 [\n i8 0, label LBL_5\n i8 64, label LBL_6\n ]\n LBL_5:\n %18 = ptrtoint i32* %sv_3.0.reload to i64\n %19 = add i64 %18, 2\n %20 = inttoptr i64 %19 to i32*\n %21 = mul i32 %sv_1.0.reload, 16777216\n %sext7 = add i32 %21, 33554432\n %22 = ashr exact i32 %sext7, 24\n %23 = mul i64 %sv_2.0.reload, 4294967296\n %sext8 = add i64 %23, -8589934592\n %24 = ashr exact i64 %sext8, 32\n store i32* %20, i32** %sv_3.1.reg2mem\n store i64 %24, i64* %sv_2.1.reg2mem\n store i32 %22, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br label LBL_30\n LBL_6:\n %25 = icmp eq i8 %.reload, 64\n %26 = icmp eq i1 %25, false\n %.pre15 = ptrtoint i32* %sv_3.0.reload to i64\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = add i64 %.pre15, 1\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = zext i8 %29 to i32\n %31 = mul i32 %30, 256\n %32 = add i64 %.pre15, 2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i32\n %36 = or i32 %31, %35\n store i32 %36, i32* %3, align 4\n br label LBL_8\n LBL_8:\n %37 = add i64 %.pre15, 3\n %38 = inttoptr i64 %37 to i32*\n %39 = mul i32 %sv_1.0.reload, 16777216\n %sext5 = add i32 %39, 50331648\n %40 = ashr exact i32 %sext5, 24\n %41 = mul i64 %sv_2.0.reload, 4294967296\n %sext6 = add i64 %41, -12884901888\n %42 = ashr exact i64 %sext6, 32\n store i32* %38, i32** %sv_3.1.reg2mem\n store i64 %42, i64* %sv_2.1.reg2mem\n store i32 %40, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br label LBL_30\n LBL_9:\n %43 = ptrtoint i32* %sv_3.0.reload to i64\n %44 = add i64 %43, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = mul i32 %sv_1.0.reload, 16777216\n %sext9 = add i32 %46, 67108864\n %47 = ashr exact i32 %sext9, 24\n %48 = mul i64 %sv_2.0.reload, 4294967296\n %sext10 = add i64 %48, -17179869184\n %49 = ashr exact i64 %sext10, 32\n store i32* %45, i32** %sv_3.1.reg2mem\n store i64 %49, i64* %sv_2.1.reg2mem\n store i32 %47, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br label LBL_30\n LBL_10:\n %50 = ptrtoint i32* %sv_3.0.reload to i64\n %51 = add i64 %50, 1\n %52 = inttoptr i64 %51 to i8*\n %53 = load i8, i8* %52, align 1\n %54 = icmp eq i8 %.reload, -64\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_13, label LBL_11\n LBL_11:\n %56 = icmp eq i32 %sv_0.0.reload, 0\n %57 = icmp eq i1 %56, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %57, label LBL_29, label LBL_12\n LBL_12:\n %58 = add i64 %50, 2\n %59 = inttoptr i64 %58 to i64*\n %60 = call i64* @memcpy(i64* %arg2, i64* %59, i32 7)\n store i32 1, i32* %5, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_29\n LBL_13:\n %61 = icmp eq i8 %.reload, -63\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_16, label LBL_14\n LBL_14:\n %63 = icmp eq i32 %sv_0.0.reload, 0\n %64 = icmp eq i1 %63, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %64, label LBL_29, label LBL_15\n LBL_15:\n %65 = add i64 %50, 2\n %66 = inttoptr i64 %65 to i64*\n %67 = call i64* @memcpy(i64* %7, i64* %66, i32 7)\n store i32 1, i32* %9, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_29\n LBL_16:\n %68 = icmp eq i8 %.reload, -62\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_18, label LBL_17\n LBL_17:\n %70 = add i64 %50, 2\n %71 = inttoptr i64 %70 to i64*\n %72 = call i64* @memcpy(i64* %11, i64* %71, i32 7)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_29\n LBL_18:\n %73 = icmp eq i8 %.reload, -61\n %74 = icmp eq i1 %73, false\n br i1 %74, label LBL_20, label LBL_19\n LBL_19:\n %75 = add i64 %50, 3\n %76 = inttoptr i64 %75 to i64*\n %77 = call i64* @memcpy(i64* %13, i64* %76, i32 7)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_29\n LBL_20:\n %78 = icmp eq i8 %.reload, -60\n %79 = icmp eq i1 %78, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %79, label LBL_29, label LBL_21\n LBL_21:\n store i32 0, i32* %5, align 4\n store i32 0, i32* %9, align 4\n %80 = icmp eq i8 %53, 0\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %80, label LBL_29, label LBL_22\n LBL_22:\n %81 = add i64 %50, 2\n store i8 0, i8* %storemerge14.reg2mem\n store i64 %81, i64* %sv_4.012.reg2mem\n br label LBL_23\n LBL_23:\n %sv_4.012.reload = load i64, i64* %sv_4.012.reg2mem\n %storemerge14.reload = load i8, i8* %storemerge14.reg2mem\n %82 = add i64 %sv_4.012.reload, 6\n %83 = inttoptr i64 %82 to i8*\n %84 = load i8, i8* %83, align 1\n %85 = urem i8 %84, 2\n %86 = icmp eq i8 %85, 0\n br i1 %86, label LBL_26, label LBL_24\n LBL_24:\n %87 = load i32, i32* %9, align 4\n %88 = icmp slt i32 %87, 10\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %88, label LBL_25, label LBL_33\n LBL_25:\n %89 = add i32 %87, 1\n store i32 %89, i32* %9, align 4\n %90 = sext i32 %87 to i64\n %91 = mul nsw i64 %90, 7\n %92 = add i64 %91, %6\n %93 = inttoptr i64 %92 to i64*\n %94 = inttoptr i64 %sv_4.012.reload to i64*\n %95 = call i64* @memcpy(i64* %93, i64* %94, i32 7)\n br label LBL_28\n LBL_26:\n %96 = load i32, i32* %5, align 4\n %97 = icmp slt i32 %96, 10\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %97, label LBL_27, label LBL_33\n LBL_27:\n %98 = add i32 %96, 1\n store i32 %98, i32* %5, align 4\n %99 = sext i32 %96 to i64\n %100 = mul nsw i64 %99, 7\n %101 = add i64 %100, %0\n %102 = inttoptr i64 %101 to i64*\n %103 = inttoptr i64 %sv_4.012.reload to i64*\n %104 = call i64* @memcpy(i64* %102, i64* %103, i32 7)\n br label LBL_28\n LBL_28:\n %105 = add i64 %sv_4.012.reload, 7\n %106 = add i8 %storemerge14.reload, 7\n %107 = icmp ult i8 %106, %53\n store i8 %106, i8* %storemerge14.reg2mem\n store i64 %105, i64* %sv_4.012.reg2mem\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %107, label LBL_23, label LBL_29\n LBL_29:\n %108 = sext i8 %53 to i32\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %109 = urem i32 %108, 256\n %narrow = add nuw nsw i32 %109, 2\n %110 = zext i32 %narrow to i64\n %111 = add i64 %110, %50\n %112 = inttoptr i64 %111 to i32*\n %113 = add i32 %sv_1.0.reload, %108\n %114 = mul i32 %113, 16777216\n %sext11 = add i32 %114, 33554432\n %115 = ashr exact i32 %sext11, 24\n %116 = trunc i64 %sv_2.0.reload to i32\n %117 = sub i32 %116, %narrow\n %118 = sext i32 %117 to i64\n store i32* %112, i32** %sv_3.1.reg2mem\n store i64 %118, i64* %sv_2.1.reg2mem\n store i32 %115, i32* %sv_1.1.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_30\n LBL_30:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_3.1.reload = load i32*, i32** %sv_3.1.reg2mem\n %119 = bitcast i32* %sv_3.1.reload to i8*\n %120 = load i8, i8* %119, align 1\n %121 = icmp eq i8 %120, 0\n br i1 %121, label LBL_32, label LBL_31\n LBL_31:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem\n %122 = trunc i64 %sv_2.1.reload to i32\n %123 = icmp eq i32 %122, 0\n %124 = icmp slt i32 %122, 0\n %125 = icmp eq i1 %124, false\n %126 = icmp eq i1 %123, false\n %127 = icmp eq i1 %125, %126\n store i8 %120, i8* %.reg2mem\n store i32* %sv_3.1.reload, i32** %sv_3.0.reg2mem\n store i64 %sv_2.1.reload, i64* %sv_2.0.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem\n br i1 %127, label LBL_1, label LBL_32\n LBL_32:\n %128 = urem i32 %sv_1.1.reload, 256\n %129 = zext i32 %128 to i64\n store i64 %129, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_33:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %122, { 1, 0 }\n uselistorder i64 %sv_2.1.reload, { 1, 0 }\n uselistorder i32* %sv_3.1.reload, { 1, 0 }\n uselistorder i32 %108, { 1, 0 }\n uselistorder i32 %96, { 1, 0, 2 }\n uselistorder i32 %87, { 1, 0, 2 }\n uselistorder i64 %sv_4.012.reload, { 3, 1, 0, 2 }\n uselistorder i8 %53, { 2, 1, 0 }\n uselistorder i64 %50, { 0, 5, 4, 3, 2, 1, 6 }\n uselistorder i64 %.pre15, { 0, 2, 1 }\n uselistorder i8 %.reload, { 5, 4, 3, 2, 1, 0, 7, 6 }\n uselistorder i32* %sv_3.0.reload, { 2, 3, 5, 4, 0, 1 }\n uselistorder i64 %sv_2.0.reload, { 2, 5, 4, 3, 0, 1 }\n uselistorder i32 %sv_1.0.reload, { 2, 5, 4, 3, 0, 1 }\n uselistorder i32 %sv_0.0.reload, { 11, 10, 9, 7, 8, 12, 5, 6, 13, 4, 1, 2, 0, 3 }\n uselistorder i32* %9, { 1, 2, 0, 3 }\n uselistorder i32* %5, { 1, 2, 0, 3 }\n uselistorder i64 %0, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i8* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_4.012.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 2, 9, 8, 7, 5, 6, 3, 4 }\n uselistorder i32** %sv_3.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }\n uselistorder i64* %sv_2.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 6, 5, 2, 3, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 7, { 2, 0, 1 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 4, 3, 5, 2, 1 }\n uselistorder i32 256, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i32 24, { 0, 1, 3, 2 }\n uselistorder i8 64, { 1, 0 }\n uselistorder i8 0, { 4, 3, 0, 1, 2 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 0, 1 }\n uselistorder i64 32, { 0, 2, 1, 3 }\n uselistorder label LBL_33, { 2, 0, 1 }\n uselistorder label LBL_30, { 1, 2, 3, 4, 0, 5 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "imap_complete_hosts_18266", "fun_name": "imap_complete_hosts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.3.lcssa.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_0.34.reg2mem = alloca i32\n %storemerge.in5.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.17.reg2mem = alloca i32\n %storemerge28.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %storemerge26 = load i64, i64* @gv_0, align 8\n %3 = icmp eq i64 %storemerge26, 0\n %4 = icmp eq i1 %3, false\n store i32 -1, i32* %sv_0.1.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %sext3 = mul i64 %1, 4294967296\n %5 = ashr exact i64 %sext3, 32\n store i64 %storemerge26, i64* %storemerge28.reg2mem\n store i32 -1, i32* %sv_0.17.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %storemerge28.reload = load i64, i64* %storemerge28.reg2mem\n %6 = inttoptr i64 %storemerge28.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %0, i64 %7, i64 %5)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = icmp eq i32 %sv_0.17.reload, 0\n %13 = load i64, i64* %6, align 8\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %0, i64 %13, i64 %arg2)\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %15 = call i64 @FUNC(i64 %0, i64 %13, i32 %2, i64 %arg2)\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %16 = add i64 %storemerge28.reload, 8\n %17 = inttoptr i64 %16 to i64*\n %storemerge2 = load i64, i64* %17, align 8\n %18 = icmp eq i64 %storemerge2, 0\n %19 = icmp eq i1 %18, false\n store i64 %storemerge2, i64* %storemerge28.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %19, label LBL_2, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %20 = call i64 @FUNC()\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.3.lcssa.reg2mem\n br i1 %22, label LBL_8, label LBL_15\n LBL_8:\n %sext = mul i64 %1, 4294967296\n %23 = ashr exact i64 %sext, 32\n %24 = ptrtoint i64* %sv_1 to i64\n store i64 %20, i64* %storemerge.in5.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.34.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.34.reload = load i32, i32* %sv_0.34.reg2mem\n %storemerge.in5.reload = load i64, i64* %storemerge.in5.reg2mem\n %storemerge = inttoptr i64 %storemerge.in5.reload to i32*\n %25 = load i32, i32* %storemerge, align 4\n %26 = icmp eq i32 %25, 1\n %27 = icmp eq i1 %26, false\n store i32 %sv_0.34.reload, i32* %sv_0.2.reg2mem\n br i1 %27, label LBL_14, label LBL_10\n LBL_10:\n %28 = call i64 @FUNC(i64 %storemerge.in5.reload, i64* nonnull %sv_2)\n store i64 0, i64* %sv_2, align 8\n %29 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_1, i64 1024, i64 0)\n %30 = call i64 @FUNC(i64 %0, i64 %24, i64 %23)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i32 %sv_0.34.reload, i32* %sv_0.2.reg2mem\n br i1 %33, label LBL_14, label LBL_11\n LBL_11:\n %34 = icmp eq i32 %sv_0.34.reload, 0\n br i1 %34, label LBL_13, label LBL_12\n LBL_12:\n %35 = call i64 @FUNC(i64 %0, i64 %24, i64 %arg2)\n store i32 0, i32* %sv_0.2.reg2mem\n br label LBL_14\n LBL_13:\n %36 = call i64 @FUNC(i64 %0, i64 %24, i32 %2, i64 %arg2)\n store i32 0, i32* %sv_0.2.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %37 = add i64 %storemerge.in5.reload, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %39, i64* %storemerge.in5.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.34.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa.reg2mem\n br i1 %41, label LBL_9, label LBL_15\n LBL_15:\n %sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem\n %42 = zext i32 %sv_0.3.lcssa.reload to i64\n ret i64 %42\n\n uselistorder i32 %sv_0.34.reload, { 2, 0, 1 }\n uselistorder i64 %24, { 1, 0, 2 }\n uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i32 %sv_0.17.reload, { 1, 0 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0, 2, 4, 3, 5, 6 }\n uselistorder i64* %storemerge28.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.in5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.34.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 (i64, i64, i32, i64)* @longest_common_prefix, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @strfcpy, { 1, 0 }\n uselistorder i32 0, { 1, 0, 4, 5, 3, 2, 6, 7 }\n uselistorder i64 (i64, i64, i64)* @mutt_strncmp, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i1 false, { 4, 2, 3, 1, 6, 5, 0 }\n uselistorder label LBL_14, { 1, 2, 3, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lx60_net_init_5456", "fun_name": "lx60_net_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg5 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %2, i64 %0)\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %2)\n %6 = call i64 @FUNC(i64 %5, i64 0)\n %7 = call i64 @FUNC(i64 %5, i64 0)\n %8 = call i64 @FUNC(i64 %1, i64 %arg2, i64 %7)\n %9 = call i64 @FUNC(i64 %5, i64 1)\n %10 = call i64 @FUNC(i64 %1, i64 %arg3, i64 %9)\n %11 = call i64 @FUNC(i64 0)\n %12 = call i64 @FUNC(i64 %11, i64 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 16384, i64 4198860)\n %13 = call i64 @FUNC(i64 %11)\n %14 = call i64 @FUNC(i64 %1, i64 %arg4, i64 %11)\n ret i64 %14\n\n uselistorder i64 (i64, i64, i64)* @memory_region_add_subregion, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @sysbus_mmio_get_region, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hp_wmi_perform_query_4085", "fun_name": "hp_wmi_perform_query", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n store i32 20, i32* %sv_1, align 4\n store i32 0, i32* %sv_0, align 4\n %0 = call i64 @FUNC(i64 305419896, i64 0, i64 3, i32* nonnull %sv_1, i32* nonnull %sv_0)\n ret i64 4294967274\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_read_keys_1149", "fun_name": "mov_read_keys", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp ult i32 %arg3, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_11, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = call i64 @FUNC(i64 %4, i64 4)\n %6 = call i64 @FUNC(i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i32 %7, 536870911\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = and i64 %6, 4294967295\n %10 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_3:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i32 %7, 1\n %13 = add i64 %11, 16\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = zext i32 %12 to i64\n %16 = mul i64 %15, 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %11, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = icmp eq i64 %17, 0\n %21 = icmp eq i1 %20, false\n store i64 12, i64* %rax.0.reg2mem\n br i1 %21, label LBL_4, label LBL_11\n LBL_4:\n %22 = icmp eq i32 %7, 0\n store i32 1, i32* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_11, label LBL_5\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %23 = call i64 @FUNC(i64 %4)\n %24 = trunc i64 %23 to i32\n %25 = call i64 @FUNC(i64 %4)\n %26 = icmp ult i32 %24, 8\n br i1 %26, label LBL_6, label LBL_7\n LBL_6:\n %27 = and i64 %23, 4294967295\n %28 = zext i32 %storemerge2.reload to i64\n %29 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %27, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %30 = trunc i64 %25 to i32\n %31 = add i32 %24, -8\n %32 = icmp eq i32 %30, 1835299937\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %4, i64 %33)\n br label LBL_9\n LBL_9:\n %35 = add i64 %23, 4294967289\n %36 = and i64 %35, 4294967295\n %37 = load i64, i64* %19, align 8\n %38 = zext i32 %storemerge2.reload to i64\n %39 = mul i64 %38, 8\n %40 = add i64 %37, %39\n %41 = call i64 @FUNC(i64 %36)\n %42 = inttoptr i64 %40 to i64*\n store i64 %41, i64* %42, align 8\n %43 = load i64, i64* %19, align 8\n %44 = add i64 %43, %39\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp eq i64 %46, 0\n %48 = icmp eq i1 %47, false\n store i64 12, i64* %rax.0.reg2mem\n br i1 %48, label LBL_10, label LBL_11\n LBL_10:\n %49 = call i64 @FUNC(i64 %4, i64 %46, i32 %31)\n %50 = add i32 %storemerge2.reload, 1\n %51 = icmp ugt i32 %50, %7\n store i32 %50, i32* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %51, label LBL_11, label LBL_5\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %39, { 1, 0 }\n uselistorder i64 %23, { 1, 0, 2 }\n uselistorder i32 %7, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 2, 1, 3, 5, 4, 0, 7, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 3, 4, 6, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @av_mallocz, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 (i64)* @avio_rb32, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 }\n uselistorder label LBL_11, { 1, 0, 5, 2, 3, 6, 4 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_flat_shared_library_13080", "fun_name": "load_flat_shared_library", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = and i64 %arg1, 4294967295\n %1 = bitcast i64* %sv_2 to i8*\n %2 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %3 = ptrtoint i64* %sv_2 to i64\n store i64 %3, i64* %sv_1, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp ult i64 %4, -4095\n store i64 %4, i64* %storemerge.in.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = call i64 @FUNC(i64* nonnull %sv_1)\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i32 %7, -4095\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = trunc i64 %arg1 to i32\n %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 %9, i32 %10, i64 0)\n store i64 %11, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %12 = icmp eq i64 %4, 0\n store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %4)\n %14 = call i64 @FUNC(i64 %4)\n store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %4, { 2, 3, 1, 0, 4 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_test_cc_162", "fun_name": "gen_test_cc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext3, 32\n %2 = and i64 %0, 4294967295\n store i64 %2, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n switch i32 %trunc, label LBL_15 [\n i32 0, label LBL_1\n i32 1, label LBL_2\n i32 2, label LBL_3\n i32 3, label LBL_4\n i32 4, label LBL_5\n i32 5, label LBL_6\n i32 6, label LBL_7\n i32 7, label LBL_8\n i32 8, label LBL_9\n i32 9, label LBL_10\n i32 10, label LBL_11\n i32 11, label LBL_12\n i32 12, label LBL_13\n i32 13, label LBL_14\n ]\n LBL_1:\n %3 = call i64 @FUNC(i64 0)\n %4 = and i64 %1, 4294967295\n %5 = and i64 %3, 4294967295\n %6 = call i64 @FUNC(i64 0, i64 %5, i64 0, i64 %4)\n store i64 %5, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_2:\n %7 = call i64 @FUNC(i64 0)\n %8 = and i64 %1, 4294967295\n %9 = and i64 %7, 4294967295\n %10 = call i64 @FUNC(i64 1, i64 %9, i64 0, i64 %8)\n store i64 %9, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_3:\n %11 = call i64 @FUNC(i64 1)\n %12 = and i64 %1, 4294967295\n %13 = and i64 %11, 4294967295\n %14 = call i64 @FUNC(i64 1, i64 %13, i64 0, i64 %12)\n store i64 %13, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_4:\n %15 = call i64 @FUNC(i64 1)\n %16 = and i64 %1, 4294967295\n %17 = and i64 %15, 4294967295\n %18 = call i64 @FUNC(i64 0, i64 %17, i64 0, i64 %16)\n store i64 %17, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_5:\n %19 = call i64 @FUNC(i64 2)\n %20 = and i64 %1, 4294967295\n %21 = and i64 %19, 4294967295\n %22 = call i64 @FUNC(i64 2, i64 %21, i64 0, i64 %20)\n store i64 %21, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_6:\n %23 = call i64 @FUNC(i64 2)\n %24 = and i64 %1, 4294967295\n %25 = and i64 %23, 4294967295\n %26 = call i64 @FUNC(i64 3, i64 %25, i64 0, i64 %24)\n store i64 %25, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_7:\n %27 = call i64 @FUNC(i64 3)\n %28 = and i64 %1, 4294967295\n %29 = and i64 %27, 4294967295\n %30 = call i64 @FUNC(i64 2, i64 %29, i64 0, i64 %28)\n store i64 %29, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_8:\n %31 = call i64 @FUNC(i64 3)\n %32 = and i64 %1, 4294967295\n %33 = and i64 %31, 4294967295\n %34 = call i64 @FUNC(i64 3, i64 %33, i64 0, i64 %32)\n store i64 %33, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_9:\n %35 = call i64 @FUNC()\n %36 = call i64 @FUNC(i64 1)\n %37 = and i64 %35, 4294967295\n %38 = and i64 %36, 4294967295\n %39 = call i64 @FUNC(i64 0, i64 %38, i64 0, i64 %37)\n %40 = call i64 @FUNC(i64 %38)\n %41 = call i64 @FUNC(i64 0)\n %42 = and i64 %1, 4294967295\n %43 = and i64 %41, 4294967295\n %44 = call i64 @FUNC(i64 1, i64 %43, i64 0, i64 %42)\n %45 = call i64 @FUNC(i64 %37)\n store i64 %43, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_10:\n %46 = call i64 @FUNC(i64 1)\n %47 = and i64 %1, 4294967295\n %48 = and i64 %46, 4294967295\n %49 = call i64 @FUNC(i64 0, i64 %48, i64 0, i64 %47)\n %50 = call i64 @FUNC(i64 %48)\n %51 = call i64 @FUNC(i64 0)\n %52 = and i64 %51, 4294967295\n %53 = call i64 @FUNC(i64 0, i64 %52, i64 0, i64 %47)\n store i64 %52, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_11:\n %54 = call i64 @FUNC(i64 3)\n %55 = call i64 @FUNC(i64 2)\n %56 = trunc i64 %55 to i32\n %57 = and i64 %54, 4294967295\n %58 = call i64 @FUNC(i64 %57, i64 %57, i32 %56)\n %59 = and i64 %55, 4294967295\n %60 = call i64 @FUNC(i64 %59)\n %61 = and i64 %1, 4294967295\n %62 = call i64 @FUNC(i64 3, i64 %57, i64 0, i64 %61)\n store i64 %57, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_12:\n %63 = call i64 @FUNC(i64 3)\n %64 = call i64 @FUNC(i64 2)\n %65 = trunc i64 %64 to i32\n %66 = and i64 %63, 4294967295\n %67 = call i64 @FUNC(i64 %66, i64 %66, i32 %65)\n %68 = and i64 %64, 4294967295\n %69 = call i64 @FUNC(i64 %68)\n %70 = and i64 %1, 4294967295\n %71 = call i64 @FUNC(i64 2, i64 %66, i64 0, i64 %70)\n store i64 %66, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_13:\n %72 = call i64 @FUNC()\n %73 = call i64 @FUNC(i64 0)\n %74 = and i64 %72, 4294967295\n %75 = and i64 %73, 4294967295\n %76 = call i64 @FUNC(i64 0, i64 %75, i64 0, i64 %74)\n %77 = call i64 @FUNC(i64 %75)\n %78 = call i64 @FUNC(i64 3)\n %79 = call i64 @FUNC(i64 2)\n %80 = trunc i64 %79 to i32\n %81 = and i64 %78, 4294967295\n %82 = call i64 @FUNC(i64 %81, i64 %81, i32 %80)\n %83 = and i64 %79, 4294967295\n %84 = call i64 @FUNC(i64 %83)\n %85 = and i64 %1, 4294967295\n %86 = call i64 @FUNC(i64 3, i64 %81, i64 0, i64 %85)\n %87 = call i64 @FUNC(i64 %74)\n store i64 %81, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_14:\n %88 = call i64 @FUNC(i64 0)\n %89 = and i64 %1, 4294967295\n %90 = and i64 %88, 4294967295\n %91 = call i64 @FUNC(i64 0, i64 %90, i64 0, i64 %89)\n %92 = call i64 @FUNC(i64 %90)\n %93 = call i64 @FUNC(i64 3)\n %94 = call i64 @FUNC(i64 2)\n %95 = trunc i64 %94 to i32\n %96 = and i64 %93, 4294967295\n %97 = call i64 @FUNC(i64 %96, i64 %96, i32 %95)\n %98 = and i64 %94, 4294967295\n %99 = call i64 @FUNC(i64 %98)\n %100 = call i64 @FUNC(i64 2, i64 %96, i64 0, i64 %89)\n store i64 %96, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_15:\n %101 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %102 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %101, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i32 %trunc)\n call void @abort()\n unreachable\n LBL_16:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %103 = call i64 @FUNC(i64 %.pre-phi.reload)\n ret i64 %103\n\n uselistorder i64 %96, { 0, 1, 3, 2 }\n uselistorder i64 %81, { 0, 1, 3, 2 }\n uselistorder i64 %66, { 0, 1, 3, 2 }\n uselistorder i64 %57, { 0, 1, 3, 2 }\n uselistorder i64 %1, { 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i32)* @tcg_gen_xor_i32, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @gen_set_label, { 1, 0 }\n uselistorder i64 (i64)* @dead_tmp, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 ()* @gen_new_label, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @tcg_gen_brcondi_i32, { 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @load_cpu_field, { 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 34, 35, 36, 37, 29, 30, 31, 32, 33, 26, 27, 28, 23, 24, 25, 20, 21, 22, 16, 17, 18, 19, 14, 15, 12, 13, 10, 11, 8, 9, 6, 7, 4, 5, 2, 3, 0, 1, 38, 39 }\n uselistorder i32 1, { 4, 3, 2, 5, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tja1101Init_11236", "fun_name": "tja1101Init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n %3 = trunc i64 %1 to i8\n %4 = icmp ult i8 %3, 32\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %5, align 1\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 0, i64 0)\n %8 = call i64 @FUNC(i64 %6, i64 0)\n %9 = call i64 @FUNC(i64 %6)\n %10 = call i64 @FUNC(i64 %6, i64 0)\n %11 = urem i64 %10, 65536\n %12 = call i64 @FUNC(i64 %6, i64 0, i64 %11)\n %13 = call i64 @FUNC(i64 %6, i64 0)\n %14 = urem i64 %13, 65536\n %15 = call i64 @FUNC(i64 %6, i64 0, i64 %14)\n %16 = call i64 @FUNC(i64 %6, i64 0)\n %17 = urem i64 %16, 65536\n %18 = call i64 @FUNC(i64 %6, i64 0, i64 %17)\n %19 = add i64 %6, 24\n %20 = inttoptr i64 %19 to i8*\n store i8 1, i8* %20, align 1\n %21 = call i64 @FUNC(i64* nonnull @gv_1)\n ret i64 0\n\n uselistorder i64 %6, { 0, 4, 3, 2, 1, 5, 6, 7, 8, 9 }\n uselistorder i64 (i64, i64)* @tja1101ReadPhyReg, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @tja1101WritePhyReg, { 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_net_apply_guest_offloads_8958", "fun_name": "virtio_net_apply_guest_offloads", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %0, 16\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n %4 = and i64 %0, 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = and i64 %0, 4\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = and i64 %0, 2\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = urem i64 %0, 2\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n %16 = add i64 %0, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = zext i1 %3 to i64\n %23 = zext i1 %6 to i64\n %24 = zext i1 %9 to i64\n %25 = zext i1 %12 to i64\n %26 = zext i1 %15 to i64\n %27 = call i64 @FUNC(i64 %21, i64 %26, i64 %25, i64 %24, i64 %23, i64 %22)\n ret i64 %27\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_emulation_failure_6586", "fun_name": "handle_emulation_failure", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, 1\n store i32 %4, i32* %arg1, align 4\n %5 = call i64 @FUNC(i64 %2)\n %6 = call i64 @FUNC(i64 %2)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n store i32 2, i32* %13, align 4\n %14 = load i64, i64* %11, align 8\n %15 = add i64 %14, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 3, i32* %16, align 4\n %17 = load i64, i64* %11, align 8\n %18 = add i64 %17, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = call i64 @FUNC(i64 %2, i64 4)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %2, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_9p_class_init_2563", "fun_name": "virtio_9p_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198662, i64* %arg1, align 8\n store i64 4198669, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198676, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198683, i64* %6, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_stat_201", "fun_name": "_stat", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0)\n %1 = inttoptr i64 %0 to i8*\n %2 = call i64* @memset(i64* %arg2, i32 0, i32 144)\n %3 = load i8, i8* %1, align 1\n %4 = icmp eq i8 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n %11 = add i64 %8, 24\n %12 = inttoptr i64 %11 to i32*\n store i32 16895, i32* %12, align 4\n %13 = add i64 %8, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 1, i64* %14, align 8\n %15 = add i64 %8, 48\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %16, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %17 = inttoptr i64 %arg1 to i8*\n %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %17, i64 4294967295, i8* %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "function_stat_next_8136", "fun_name": "function_stat_next", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32*\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %0, -4096\n %2 = inttoptr i64 %1 to i32*\n %3 = trunc i64 %arg2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 %0, i64* %sv_1.0.reg2mem\n store i32* %2, i32** %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %5 = add i64 %sv_1.0.reload, 4\n %spec.select = select i1 %4, i64 %sv_1.0.reload, i64 %5\n %6 = ptrtoint i32* %sv_0.0.reload to i64\n %7 = add i64 %6, 400\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = sext i32 %9 to i64\n %11 = mul i64 %10, 4\n %12 = add i64 %11, %6\n %13 = icmp ult i64 %spec.select, %12\n store i64 %spec.select, i64* %storemerge.reg2mem\n br i1 %13, label LBL_4, label LBL_2\n LBL_2:\n %14 = add i64 %6, 408\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %18, label LBL_3, label LBL_4\n LBL_3:\n %19 = inttoptr i64 %16 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %16, i64* %sv_1.0.reg2mem\n store i32* %19, i32** %sv_0.0.reg2mem\n store i64 %16, i64* %storemerge.reg2mem\n br i1 %22, label LBL_4, label LBL_1\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_mtp_handle_reset_1281", "fun_name": "usb_mtp_handle_reset", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %1, 32\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %1, i64 %7)\n %9 = add i64 %1, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n store i64 0, i64* %12, align 8\n %15 = add i64 %1, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n store i64 0, i64* %16, align 8\n %19 = add i64 %1, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n store i64 0, i64* %20, align 8\n ret i64 %1\n\n uselistorder i64 (i64)* @usb_mtp_data_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_da_writepages_trans_blocks_8019", "fun_name": "ext4_da_writepages_trans_blocks", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = and i64 %1, 524288\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp slt i32 %5, 1001\n %or.cond = or i1 %8, %9\n %10 = zext i32 %5 to i64\n %11 = select i1 %or.cond, i64 %10, i64 1000\n %12 = call i64 @FUNC(i64 %2, i64 %11)\n ret i64 %12\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "radeon_atombios_init_18282", "fun_name": "radeon_atombios_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 56, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %arg1, align 8\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %0 to i64*\n store i64 %6, i64* %7, align 8\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 4198694, i64* %9, align 8\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 4198701, i64* %11, align 8\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 4198708, i64* %13, align 8\n %14 = add i64 %0, 32\n %15 = inttoptr i64 %14 to i64*\n store i64 4198715, i64* %15, align 8\n %16 = add i64 %0, 40\n %17 = inttoptr i64 %16 to i64*\n store i64 4198722, i64* %17, align 8\n %18 = add i64 %0, 48\n %19 = inttoptr i64 %18 to i64*\n store i64 4198729, i64* %19, align 8\n %20 = add i64 %3, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %0, i64 %22)\n %24 = add i64 %3, 8\n %25 = inttoptr i64 %24 to i64*\n store i64 %23, i64* %25, align 8\n %26 = load i64, i64* %5, align 8\n %27 = call i64 @FUNC(i64 %26)\n %28 = load i64, i64* %25, align 8\n %29 = call i64 @FUNC(i64 %28)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xilinx_spips_flush_txfifo_18", "fun_name": "xilinx_spips_flush_txfifo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %rcx.6.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i32\n %.reg2mem30 = alloca i64\n %rdx.4.lcssa.reg2mem = alloca i64\n %rcx.5.lcssa.reg2mem = alloca i64\n %rdx.3.reg2mem = alloca i64\n %rcx.4.reg2mem = alloca i64\n %storemerge615.reg2mem = alloca i32\n %.reg2mem28 = alloca i8\n %rcx.518.reg2mem = alloca i64\n %storemerge520.reg2mem = alloca i32\n %.reg2mem26 = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8\n %sv_2.0.reg2mem = alloca i32\n %storemerge913.reg2mem = alloca i32\n %.reg2mem24 = alloca i64\n %storemerge712.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %4 = ptrtoint i64* %sv_3 to i64\n %5 = call i64 @FUNC(i64 %3, i64 1)\n %6 = add i64 %3, 72\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i32*\n %9 = add i64 %3, 20\n %10 = inttoptr i64 %9 to i32*\n %11 = add i64 %3, 8\n %12 = add i64 %3, 40\n %13 = add i64 %3, 12\n %14 = inttoptr i64 %13 to i32*\n %15 = add i64 %3, 36\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %3, 88\n %18 = add i64 %3, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = add i64 %3, 28\n %21 = inttoptr i64 %20 to i32*\n %22 = add i64 %3, 24\n %23 = inttoptr i64 %22 to i32*\n %24 = add i64 %3, 32\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %26 = call i64 @FUNC(i64 %3)\n %27 = call i64 @FUNC(i64 %6)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_5, label LBL_2\n LBL_2:\n %30 = bitcast i64* %rdi to i32*\n %31 = load i32, i32* %30, align 8\n %32 = urem i32 %31, 2\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_4, label LBL_3\n LBL_3:\n %35 = load i32, i32* %19, align 4\n %36 = or i32 %35, 1\n store i32 %36, i32* %19, align 4\n br label LBL_4\n LBL_4:\n %37 = call i64 @FUNC(i64 %3)\n ret i64 %37\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sext = mul i64 %26, 4294967296\n %38 = ashr exact i64 %sext, 32\n %39 = add nsw i64 %38, 15\n %40 = udiv i64 %39, 16\n %41 = mul i64 %40, 16\n %42 = sub i64 %4, %41\n %43 = load i32, i32* %8, align 4\n %44 = icmp eq i32 %43, 2\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_9, label LBL_6\n LBL_6:\n %46 = call i64 @FUNC(i64 %3)\n %47 = icmp sgt i64 %46, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge712.reg2mem\n br i1 %47, label LBL_7, label LBL_8\n LBL_7:\n %storemerge712.reload = load i32, i32* %storemerge712.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %48 = call i64 @FUNC(i64 %6)\n %49 = trunc i64 %48 to i8\n %50 = add i64 %.reload, %42\n %51 = inttoptr i64 %50 to i8*\n store i8 %49, i8* %51, align 1\n %52 = add i32 %storemerge712.reload, 1\n %53 = call i64 @FUNC(i64 %3)\n %54 = sext i32 %52 to i64\n %55 = icmp sgt i64 %53, %54\n store i64 %54, i64* %.reg2mem\n store i32 %52, i32* %storemerge712.reg2mem\n br i1 %55, label LBL_7, label LBL_8\n LBL_8:\n %56 = call i64 @FUNC(i64 %3)\n %57 = and i64 %56, 4294967295\n %58 = call i64 @FUNC(i64 %42, i64 %57, i64 0)\n store i32 0, i32* %sv_2.0.reg2mem\n store i8 0, i8* %sv_1.0.reg2mem\n store i64 %57, i64* %rcx.2.reg2mem\n store i64 0, i64* %rdx.1.reg2mem\n br label LBL_15\n LBL_9:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %59 = icmp slt i32 %43, 1\n %60 = call i64 @FUNC(i64 %6)\n %61 = trunc i64 %60 to i32\n %sext10 = mul i32 %61, 16777216\n %62 = ashr exact i32 %sext10, 24\n br i1 %59, label LBL_13, label LBL_10\n LBL_10:\n %63 = urem i64 %39, 16\n %64 = call i64 @FUNC(i64 %3)\n %65 = icmp sgt i64 %64, 0\n store i32 %62, i32* %sv_2.0.reg2mem\n store i8 0, i8* %sv_1.0.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.2.reg2mem\n store i64 %63, i64* %rdx.1.reg2mem\n br i1 %65, label LBL_11, label LBL_15\n LBL_11:\n %66 = trunc i32 %62 to i8\n store i64 0, i64* %.reg2mem24\n store i32 0, i32* %storemerge913.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge913.reload = load i32, i32* %storemerge913.reg2mem\n %.reload25 = load i64, i64* %.reg2mem24\n %67 = add i64 %.reload25, %42\n %68 = inttoptr i64 %67 to i8*\n store i8 %66, i8* %68, align 1\n %69 = add i32 %storemerge913.reload, 1\n %70 = call i64 @FUNC(i64 %3)\n %71 = sext i32 %69 to i64\n %72 = icmp sgt i64 %70, %71\n store i64 %71, i64* %.reg2mem24\n store i32 %69, i32* %storemerge913.reg2mem\n br i1 %72, label LBL_12, label LBL_14\n LBL_13:\n %73 = load i32, i32* %10, align 4\n %74 = udiv i32 8, %73\n %75 = urem i32 8, %73\n %76 = zext i32 %75 to i64\n %77 = trunc i32 %74 to i8\n store i32 %62, i32* %sv_2.0.reg2mem\n store i8 %77, i8* %sv_1.0.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.2.reg2mem\n store i64 %76, i64* %rdx.1.reg2mem\n br label LBL_15\n LBL_14:\n %78 = urem i32 %62, 256\n %79 = zext i32 %78 to i64\n store i32 %62, i32* %sv_2.0.reg2mem\n store i8 0, i8* %sv_1.0.reg2mem\n store i64 %79, i64* %rcx.2.reg2mem\n store i64 %42, i64* %rdx.1.reg2mem\n br label LBL_15\n LBL_15:\n %80 = inttoptr i64 %42 to i8*\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %81 = call i64 @FUNC(i64 %3)\n %82 = icmp sgt i64 %81, 0\n store i64 %rcx.2.reload, i64* %rcx.5.lcssa.reg2mem\n store i64 %rdx.1.reload, i64* %rdx.4.lcssa.reg2mem\n br i1 %82, label LBL_16, label LBL_23\n LBL_16:\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %83 = icmp eq i8 %sv_1.0.reload, 0\n %84 = zext i8 %sv_1.0.reload to i64\n %85 = zext i32 %sv_0.0.reload to i64\n store i64 0, i64* %.reg2mem26\n store i32 0, i32* %storemerge520.reg2mem\n store i64 %rcx.2.reload, i64* %rcx.518.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge520.reload = load i32, i32* %storemerge520.reg2mem\n %86 = call i64 @FUNC(i64 %3)\n %87 = trunc i64 %86 to i32\n %88 = sub i32 0, %storemerge520.reload\n %89 = sub i32 %88, 1\n %90 = add i32 %87, %89\n br i1 %83, label LBL_20, label LBL_18\n LBL_18:\n %91 = sext i32 %90 to i64\n %92 = add nsw i64 %91, 4\n %93 = mul i64 %92, 8\n %94 = add i64 %11, %93\n %95 = inttoptr i64 %94 to i64*\n %.pre = load i8, i8* %80, align 8\n store i8 %.pre, i8* %.reg2mem28\n store i32 0, i32* %storemerge615.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge615.reload = load i32, i32* %storemerge615.reg2mem\n %.reload29 = load i8, i8* %.reg2mem28\n %96 = load i64, i64* %95, align 8\n %97 = zext i8 %.reload29 to i64\n %98 = call i64 @FUNC(i64 %96, i64 %97)\n %99 = trunc i64 %98 to i8\n store i8 %99, i8* %80, align 8\n %100 = add i32 %storemerge615.reload, 1\n %101 = sext i32 %100 to i64\n %102 = icmp slt i64 %101, %84\n store i8 %99, i8* %.reg2mem28\n store i32 %100, i32* %storemerge615.reg2mem\n br i1 %102, label LBL_19, label LBL_21\n LBL_20:\n %rcx.518.reload = load i64, i64* %rcx.518.reg2mem\n %.reload27 = load i64, i64* %.reg2mem26\n %103 = add i64 %.reload27, %42\n %104 = inttoptr i64 %103 to i8*\n %105 = load i8, i8* %104, align 1\n %106 = zext i8 %105 to i64\n %107 = call i64 @FUNC(i64 %85, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %106, i64 %rcx.518.reload, i64 %2, i64 %1)\n %108 = load i8, i8* %104, align 1\n %109 = sext i32 %90 to i64\n %110 = mul i64 %109, 8\n %111 = add i64 %12, %110\n %112 = inttoptr i64 %111 to i64*\n %113 = load i64, i64* %112, align 8\n %114 = zext i8 %108 to i64\n %115 = call i64 @FUNC(i64 %113, i64 %114)\n %116 = and i64 %115, 4294967295\n %117 = trunc i64 %115 to i8\n store i8 %117, i8* %104, align 1\n %118 = urem i64 %115, 256\n %119 = call i64 @FUNC(i64 %85, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %118, i64 %116, i64 %2, i64 %1)\n store i64 %116, i64* %rcx.4.reg2mem\n store i64 %118, i64* %rdx.3.reg2mem\n br label LBL_22\n LBL_21:\n %120 = and i64 %98, 4294967295\n store i64 %92, i64* %rcx.4.reg2mem\n store i64 %120, i64* %rdx.3.reg2mem\n br label LBL_22\n LBL_22:\n %rdx.3.reload = load i64, i64* %rdx.3.reg2mem\n %rcx.4.reload = load i64, i64* %rcx.4.reg2mem\n %121 = add i32 %storemerge520.reload, 1\n %122 = call i64 @FUNC(i64 %3)\n %123 = sext i32 %121 to i64\n %124 = icmp sgt i64 %122, %123\n store i64 %123, i64* %.reg2mem26\n store i32 %121, i32* %storemerge520.reg2mem\n store i64 %rcx.4.reload, i64* %rcx.518.reg2mem\n store i64 %rcx.4.reload, i64* %rcx.5.lcssa.reg2mem\n store i64 %rdx.3.reload, i64* %rdx.4.lcssa.reg2mem\n br i1 %124, label LBL_17, label LBL_23\n LBL_23:\n %rdx.4.lcssa.reload = load i64, i64* %rdx.4.lcssa.reg2mem\n %rcx.5.lcssa.reload = load i64, i64* %rcx.5.lcssa.reg2mem\n %125 = load i32, i32* %14, align 4\n %126 = and i32 %125, 4\n %127 = icmp eq i32 %126, 0\n br i1 %127, label LBL_25, label LBL_24\n LBL_24:\n %128 = zext i32 %sv_0.0.reload to i64\n %129 = call i64 @FUNC(i64 %128, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %rdx.4.lcssa.reload, i64 %rcx.5.lcssa.reload, i64 %2, i64 %1)\n store i64 %rcx.5.lcssa.reload, i64* %rcx.6.reg2mem\n br label LBL_34\n LBL_25:\n %130 = load i32, i32* %16, align 4\n %131 = icmp eq i32 %130, 0\n br i1 %131, label LBL_27, label LBL_26\n LBL_26:\n %132 = zext i32 %sv_0.0.reload to i64\n %133 = call i64 @FUNC(i64 %132, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %rdx.4.lcssa.reload, i64 %rcx.5.lcssa.reload, i64 %2, i64 %1)\n %134 = load i32, i32* %16, align 4\n %135 = zext i32 %134 to i64\n %136 = load i32, i32* %10, align 4\n %137 = zext i32 %136 to i64\n %138 = sdiv i64 -8, %137\n %139 = trunc i64 %138 to i32\n %140 = add i32 %134, %139\n store i32 %140, i32* %16, align 4\n store i64 %135, i64* %rcx.6.reg2mem\n br label LBL_34\n LBL_27:\n %141 = call i64 @FUNC(i64 %17)\n %142 = trunc i64 %141 to i32\n %143 = icmp eq i32 %142, 0\n br i1 %143, label LBL_29, label LBL_28\n LBL_28:\n %144 = load i32, i32* %19, align 4\n %145 = or i32 %144, 2\n %146 = zext i32 %145 to i64\n store i32 %145, i32* %19, align 4\n %147 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64 %146, i64 %rcx.5.lcssa.reload, i64 %2, i64 %1)\n store i64 %rcx.5.lcssa.reload, i64* %rcx.6.reg2mem\n br label LBL_34\n LBL_29:\n %148 = load i32, i32* %8, align 4\n %149 = icmp eq i32 %148, 2\n %150 = icmp eq i1 %149, false\n br i1 %150, label LBL_33, label LBL_30\n LBL_30:\n %151 = call i64 @FUNC(i64 %3)\n %152 = and i64 %151, 4294967295\n %153 = call i64 @FUNC(i64 %42, i64 %152, i64 1)\n %154 = call i64 @FUNC(i64 %3)\n %155 = icmp sgt i64 %154, 0\n store i64 %152, i64* %rcx.6.reg2mem\n br i1 %155, label LBL_31, label LBL_34\n LBL_31:\n %156 = zext i32 %sv_0.0.reload to i64\n store i64 0, i64* %.reg2mem30\n store i32 0, i32* %storemerge23.reg2mem\n br label LBL_32\n LBL_32:\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %.reload31 = load i64, i64* %.reg2mem30\n %157 = add i64 %.reload31, %42\n %158 = inttoptr i64 %157 to i8*\n %159 = load i8, i8* %158, align 1\n %160 = zext i8 %159 to i64\n %161 = call i64 @FUNC(i64 %17, i64 %160)\n %162 = call i64 @FUNC(i64 %156, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0), i64 %17, i64 %152, i64 %2, i64 %1)\n %163 = add i32 %storemerge23.reload, 1\n %164 = call i64 @FUNC(i64 %3)\n %165 = sext i32 %163 to i64\n %166 = icmp sgt i64 %164, %165\n store i64 %165, i64* %.reg2mem30\n store i32 %163, i32* %storemerge23.reg2mem\n store i64 %152, i64* %rcx.6.reg2mem\n br i1 %166, label LBL_32, label LBL_34\n LBL_33:\n %167 = zext i32 %sv_0.0.reload to i64\n %168 = call i64 @FUNC(i64 %167, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_6, i64 0, i64 0), i64 %rdx.4.lcssa.reload, i64 %rcx.5.lcssa.reload, i64 %2, i64 %1)\n %169 = load i8, i8* %80, align 8\n %170 = zext i8 %169 to i64\n %171 = call i64 @FUNC(i64 %17, i64 %170)\n store i64 %rcx.5.lcssa.reload, i64* %rcx.6.reg2mem\n br label LBL_34\n LBL_34:\n %rcx.6.reload = load i64, i64* %rcx.6.reg2mem\n %172 = load i32, i32* %21, align 4\n %173 = icmp eq i32 %172, 0\n br i1 %173, label LBL_37, label LBL_35\n LBL_35:\n %174 = add i32 %172, -1\n store i32 %174, i32* %21, align 4\n %175 = icmp eq i32 %174, 0\n %176 = icmp eq i1 %175, false\n br i1 %176, label LBL_37, label LBL_36\n LBL_36:\n %177 = load i32, i32* %23, align 4\n store i32 %177, i32* %10, align 4\n br label LBL_37\n LBL_37:\n %178 = load i32, i32* %8, align 4\n %179 = zext i32 %178 to i64\n %180 = zext i32 %sv_0.0.reload to i64\n %181 = call i64 @FUNC(i64 %180, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_7, i64 0, i64 0), i64 %179, i64 %rcx.6.reload, i64 %2, i64 %1)\n %182 = load i32, i32* %8, align 4\n %183 = icmp sgt i32 %182, 3\n br i1 %183, label LBL_55, label LBL_38\n LBL_38:\n %184 = icmp sgt i32 %182, 1\n br i1 %184, label LBL_53, label LBL_39\n LBL_39:\n switch i32 %182, label LBL_55 [\n i32 0, label LBL_40\n i32 1, label LBL_50\n ]\n LBL_40:\n %185 = urem i32 %sv_2.0.reload, 256\n %186 = zext i32 %185 to i64\n %187 = call i64 @FUNC(i64 %5, i64 %186)\n %188 = trunc i64 %187 to i32\n store i32 %188, i32* %25, align 4\n %189 = call i64 @FUNC(i64 %3, i64 %186)\n %190 = trunc i64 %189 to i32\n %191 = urem i32 %190, 256\n %192 = load i32, i32* %25, align 4\n %193 = icmp slt i32 %192, 0\n %194 = icmp eq i1 %193, false\n %storemerge11 = select i1 %194, i32 %191, i32 3\n store i32 %storemerge11, i32* %8, align 4\n %195 = icmp ugt i32 %185, 11\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %195, label LBL_56, label LBL_41\n LBL_41:\n %196 = icmp ugt i32 %185, 9\n br i1 %196, label LBL_49, label LBL_42\n LBL_42:\n %197 = icmp ugt i32 %185, 7\n br i1 %197, label LBL_48, label LBL_43\n LBL_43:\n %198 = icmp ugt i32 %185, 3\n br i1 %198, label LBL_45, label LBL_44\n LBL_44:\n %199 = icmp eq i32 %185, 0\n %200 = icmp eq i1 %199, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %200, label LBL_46, label LBL_56\n LBL_45:\n %201 = and i32 %sv_2.0.reload, 252\n %202 = icmp eq i32 %201, 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %202, label LBL_47, label LBL_56\n LBL_46:\n store i32 2, i32* %23, align 4\n %203 = load i32, i32* %25, align 4\n %204 = add i32 %203, %191\n store i32 %204, i32* %21, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_47:\n store i32 4, i32* %23, align 4\n %205 = load i32, i32* %25, align 4\n %206 = add i32 %205, %191\n store i32 %206, i32* %21, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_48:\n store i32 2, i32* %10, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_49:\n store i32 4, i32* %10, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_50:\n %207 = load i32, i32* %25, align 4\n %208 = icmp slt i32 %207, 0\n %209 = icmp eq i1 %208, false\n br i1 %209, label LBL_52, label LBL_51\n LBL_51:\n store i32 3, i32* %8, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_52:\n store i32 %207, i32* %8, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_53:\n %210 = icmp eq i32 %sv_0.0.reload, 0\n %211 = icmp eq i1 %210, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %211, label LBL_56, label LBL_54\n LBL_54:\n %212 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_8, i64 0, i64 0), i64 %179, i64 %rcx.6.reload, i64 %2, i64 %1)\n store i32 1, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_55:\n %213 = add i32 %182, -1\n store i32 %213, i32* %8, align 4\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_56\n LBL_56:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %214 = load i32, i32* %8, align 4\n %215 = zext i32 %214 to i64\n %216 = zext i32 %sv_0.1.reload to i64\n %217 = call i64 @FUNC(i64 %216, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_9, i64 0, i64 0), i64 %215, i64 %rcx.6.reload, i64 %2, i64 %1)\n store i64 %rcx.6.reload, i64* %rcx.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n br label LBL_1\n\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %191, { 2, 1, 0 }\n uselistorder i32 %185, { 4, 1, 2, 3, 5, 0 }\n uselistorder i64 %rcx.6.reload, { 3, 1, 2, 0 }\n uselistorder i64 %152, { 0, 2, 1, 3 }\n uselistorder i64 %rcx.5.lcssa.reload, { 2, 6, 1, 5, 4, 0, 3 }\n uselistorder i64 %rdx.4.lcssa.reload, { 2, 1, 0 }\n uselistorder i32 %90, { 1, 0 }\n uselistorder i8 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %rcx.2.reload, { 1, 0 }\n uselistorder i8* %80, { 1, 2, 0 }\n uselistorder i32 %62, { 1, 3, 2, 4, 0 }\n uselistorder i64 %rcx.0.reload, { 1, 0 }\n uselistorder i64 %42, { 1, 5, 2, 7, 0, 3, 6, 4 }\n uselistorder i32 %sv_0.0.reload, { 10, 9, 14, 1, 0, 7, 6, 5, 3, 4, 2, 8, 13, 12, 15, 16, 17, 11 }\n uselistorder i32* %25, { 4, 2, 3, 1, 0 }\n uselistorder i32* %21, { 1, 0, 2, 3 }\n uselistorder i32* %19, { 2, 3, 1, 0 }\n uselistorder i64 %17, { 2, 0, 1, 3 }\n uselistorder i32* %8, { 3, 4, 1, 2, 0, 5, 6, 7, 8 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %3, { 12, 9, 0, 15, 21, 17, 1, 8, 2, 6, 7, 3, 5, 25, 11, 10, 13, 14, 20, 19, 18, 4, 16, 22, 23, 24, 26 }\n uselistorder i64 %2, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge712.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem24, { 1, 0, 2 }\n uselistorder i32* %storemerge913.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 4, 1, 3 }\n uselistorder i8* %sv_1.0.reg2mem, { 0, 2, 4, 1, 3 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 2, 4, 1, 3 }\n uselistorder i64* %rdx.1.reg2mem, { 0, 2, 4, 1, 3 }\n uselistorder i64* %.reg2mem26, { 1, 0, 2 }\n uselistorder i32* %storemerge520.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.518.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem28, { 1, 0, 2 }\n uselistorder i32* %storemerge615.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem30, { 1, 0, 2 }\n uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.6.reg2mem, { 0, 6, 1, 2, 5, 4, 3 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 12, 10, 11, 2, 1, 8, 7, 6, 4, 5, 3, 9 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 3, { 3, 1, 0, 2 }\n uselistorder i64 (i64, i64)* @fifo8_push, { 1, 0 }\n uselistorder i32 4, { 1, 2, 0, 3 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @DB_PRINT_L, { 9, 8, 7, 6, 5, 4, 3, 0, 2, 1 }\n uselistorder i64 (i64, i64)* @ssi_transfer, { 1, 0 }\n uselistorder i8 0, { 3, 1, 0, 2, 4 }\n uselistorder i64 (i64, i64, i64)* @stripe8, { 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1, 3, 4, 5 }\n uselistorder i64 (i64)* @fifo8_pop, { 1, 0 }\n uselistorder i32 2, { 3, 4, 1, 5, 2, 0 }\n uselistorder i64 (i64)* @num_effective_busses, { 11, 0, 10, 8, 9, 1, 7, 2, 6, 5, 3, 4 }\n uselistorder i32 0, { 9, 10, 11, 12, 8, 13, 14, 0, 15, 16, 17, 1, 7, 2, 4, 3, 5, 18, 19, 6 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 16, { 1, 0, 2, 3 }\n uselistorder i64 1, { 2, 3, 0, 1 }\n uselistorder label LBL_56, { 9, 1, 0, 10, 11, 5, 6, 7, 8, 3, 4, 2 }\n uselistorder label LBL_34, { 2, 0, 1, 3, 4, 5 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 1, 2, 0, 3 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "avfilter_link_free_3149", "fun_name": "avfilter_link_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdi.11.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %0, i64* %rdi.11.reg2mem\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %rdi.11.reload = load i64, i64* %rdi.11.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = mul i64 %indvars.iv.reload, 8\n %3 = add i64 %2, %rdi.11.reload\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 %rdi.11.reload, i64* %rdi.0.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %5 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %5)\n %13 = add i64 %5, 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %5, 16\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %15, %2\n %18 = call i64 @FUNC(i64 %17)\n store i64 %17, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.11.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %19 = add i64 %rdi.0.reload, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = call i64 @FUNC(i64 %0)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 3, 2, 1, 0, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.11.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @av_freep, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "msPostGISEscapeSQLParam_9755", "fun_name": "msPostGISEscapeSQLParam", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i64 %arg2, 0\n %or.cond = or i1 %2, %3\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %4, 0\n %or.cond4 = or i1 %or.cond, %5\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %or.cond4, label LBL_5, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %6)\n br label LBL_3\n LBL_3:\n %12 = inttoptr i64 %arg2 to i8*\n %13 = call i32 @strlen(i8* %12)\n %14 = sext i32 %13 to i64\n %15 = mul i64 %14, 2\n %16 = or i64 %15, 1\n %17 = call i64 @FUNC(i64 %16)\n %18 = bitcast i32* %sv_1 to i64*\n %19 = call i64 @FUNC(i64 %16, i64 %17, i64 %arg2, i64 %14, i64* nonnull %18)\n %20 = load i32, i32* %sv_1, align 4\n %21 = icmp eq i32 %20, 0\n store i64 %17, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = inttoptr i64 %17 to i64*\n call void @free(i64* %22)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i8 0, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sctp_chunk_length_valid_11316", "fun_name": "sctp_chunk_length_valid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i16\n %3 = trunc i64 %1 to i16\n %4 = call i16 @ntohs(i16 %3)\n %5 = icmp ult i16 %4, %2\n %6 = icmp eq i1 %5, false\n %. = zext i1 %6 to i64\n ret i64 %.\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qeth_print_status_no_portname_8069", "fun_name": "qeth_print_status_no_portname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 0\n %5 = call i64 @FUNC(i64 %2)\n %6 = add i64 %2, 32\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = icmp eq i8 %8, 0\n %.8 = select i1 %9, i64 ptrtoint (i64* @gv_0 to i64), i64 ptrtoint (i64* @gv_1 to i64)\n %storemerge5 = select i1 %9, i64 ptrtoint (i64* @gv_0 to i64), i64 %6\n %.9 = select i1 %9, i64 ptrtoint (i64* @gv_0 to i64), i64 ptrtoint ([10 x i8]* @gv_2 to i64)\n %10 = call i64 @FUNC(i64 %2)\n %11 = add i64 %2, 64\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_3, i64 0, i64 0), i64 %10, i64 %.9, i64 %storemerge5, i64 %.8)\n store i64 %14, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_2:\n %15 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_4, i64 0, i64 0), i64 %10, i64 %.9, i64 %storemerge5, i64 %.8)\n store i64 %15, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 3, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_info, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fdctrl_handle_drive_specification_command_1776", "fun_name": "fdctrl_handle_drive_specification_command", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 512\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = add i32 %4, 511\n %6 = urem i32 %5, 512\n %7 = zext i32 %6 to i64\n %8 = add i64 %7, %0\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp slt i8 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_4, label LBL_1\n LBL_1:\n %13 = and i8 %10, 64\n %14 = icmp eq i8 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = add i64 %0, 1\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = bitcast i64* %arg1 to i8*\n store i8 %17, i8* %18, align 1\n %19 = add i64 %0, 2\n %20 = inttoptr i64 %19 to i8*\n store i8 0, i8* %20, align 1\n %21 = add i64 %0, 3\n %22 = inttoptr i64 %21 to i8*\n store i8 0, i8* %22, align 1\n %23 = call i64 @FUNC(i64 %0, i64 4)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %24 = call i64 @FUNC(i64 %0)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %25 = add i64 %0, 516\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %27 to i64\n %29 = icmp slt i32 %27, 8\n store i64 %28, i64* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = inttoptr i64 %1 to i32*\n %31 = load i32, i32* %30, align 4\n %.tr = trunc i32 %31 to i8\n %32 = mul i8 %.tr, 4\n %33 = or i8 %32, -128\n %34 = bitcast i64* %arg1 to i8*\n store i8 %33, i8* %34, align 1\n %35 = call i64 @FUNC(i64 %0, i64 1)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 4, 5, 7, 1, 2, 3, 6, 0, 8, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64 (i64, i64)* @fdctrl_set_fifo, { 1, 0 }\n uselistorder i8 0, { 2, 3, 0, 4, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migration_fd_process_incoming_1254", "fun_name": "migration_fd_process_incoming", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 4198715, i64 %0)\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %0, i64 0)\n %4 = call i64 @FUNC(i64 %1)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "normalize_samples_16046", "fun_name": "normalize_samples", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %0, i64 256)\n %2 = trunc i64 %1 to i32\n %3 = sub i32 14, %2\n %4 = call i64 @FUNC(i64 %0, i64 256, i32 %3)\n %5 = add i32 %3, -9\n %6 = zext i32 %5 to i64\n ret i64 %6\n\n uselistorder i64 %0, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "scale_vector_14925", "fun_name": "scale_vector", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge6.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.012.reg2mem = alloca i32\n %indvars.iv15.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp sgt i32 %0, 0\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = ptrtoint i16* %arg1 to i64\n %wide.trip.count17 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv15.reg2mem\n store i32 0, i32* %sv_0.012.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem\n %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem\n %3 = mul i64 %indvars.iv15.reload, 2\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i16*\n %6 = load i16, i16* %5, align 2\n %7 = sub i16 0, %6\n %8 = icmp slt i16 %7, 0\n %9 = icmp eq i1 %8, false\n %.v = select i1 %9, i16 %7, i16 %6\n %10 = zext i16 %.v to i32\n %11 = sub i32 %sv_0.012.reload, %10\n %12 = xor i32 %11, -2147483648\n %13 = and i32 %12, %sv_0.012.reload\n %14 = icmp slt i32 %13, 0\n %15 = icmp slt i32 %11, 0\n %16 = icmp eq i1 %15, %14\n %17 = select i1 %16, i32 %sv_0.012.reload, i32 %10\n %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1\n %exitcond18 = icmp eq i64 %indvars.iv.next16, %wide.trip.count17\n store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem\n store i32 %17, i32* %sv_0.012.reg2mem\n store i32 %17, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond18, label LBL_3, label LBL_2\n LBL_3:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %18 = add i32 %sv_0.0.lcssa.reload, -32767\n %19 = sub i32 32766, %sv_0.0.lcssa.reload\n %20 = and i32 %19, %sv_0.0.lcssa.reload\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i32 %18, 0\n %23 = icmp slt i32 %18, 0\n %24 = icmp eq i1 %23, %21\n %25 = icmp eq i1 %22, false\n %26 = icmp eq i1 %24, %25\n %27 = zext i32 %sv_0.0.lcssa.reload to i64\n %28 = select i1 %26, i64 32767, i64 %27\n %29 = call i64 @FUNC(i64 %28, i64 15)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 15\n store i64 32767, i64* %storemerge7.reg2mem\n br i1 %31, label LBL_5, label LBL_4\n LBL_4:\n %32 = urem i32 %30, 32\n %33 = shl i32 1, %32\n %phitmp = sext i32 %33 to i64\n store i64 %phitmp, i64* %storemerge7.reg2mem\n br label LBL_5\n LBL_5:\n br i1 %1, label LBL_6, label LBL_10\n LBL_6:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %34 = ptrtoint i16* %arg1 to i64\n %wide.trip.count = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %35 = mul i64 %indvars.iv.reload, 2\n %36 = add i64 %35, %34\n %37 = inttoptr i64 %36 to i16*\n %38 = load i16, i16* %37, align 2\n %39 = sext i16 %38 to i64\n %40 = mul nsw i64 %storemerge7.reload, %39\n %41 = icmp sgt i64 %40, 1073741823\n store i64 4294967295, i64* %storemerge6.reg2mem\n br i1 %41, label LBL_9, label LBL_8\n LBL_8:\n %42 = mul i64 %40, 2\n %43 = add nsw i64 %42, 2147483648\n %44 = xor i64 %42, -9223372036854775808\n %45 = xor i64 %43, %42\n %46 = and i64 %45, %44\n %47 = icmp slt i64 %46, 0\n %48 = icmp slt i64 %43, 0\n %49 = icmp eq i1 %48, %47\n %50 = udiv i64 %40, 8\n %51 = and i64 %50, 4294967295\n %52 = select i1 %49, i64 %51, i64 4160749568\n store i64 %52, i64* %storemerge6.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %53 = trunc i64 %storemerge6.reload to i16\n store i16 %53, i16* %37, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_7\n LBL_10:\n %54 = add i64 %29, 4294967293\n %55 = and i64 %54, 4294967295\n ret i64 %55\n\n uselistorder i64 %43, { 1, 0 }\n uselistorder i64 %42, { 2, 1, 0 }\n uselistorder i64 %40, { 1, 0, 2 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 3, 2, 0 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32 %sv_0.012.reload, { 1, 2, 0 }\n uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.012.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64 2147483648, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 7, 8, 9, 5, 6, 1, 0, 4, 10, 11, 12, 2, 3 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "grlib_irqmp_writel_14647", "fun_name": "grlib_irqmp_writel", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.3.reg2mem = alloca i64\n %rdi.2.reg2mem = alloca i64\n %rdi.017.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.017.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64* %rdi.017.reg2mem\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %rdi.017.reload = load i64, i64* %rdi.017.reg2mem\n %4 = urem i64 %arg2, 256\n store i64 %4, i64* @0, align 8\n %5 = mul i64 %4, 8\n %6 = add i64 %5, ptrtoint (i64* @gv_3 to i64)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = udiv i64 %4, 4\n %10 = mul i64 %arg2, 4611686018427387904\n %11 = or i64 %9, %10\n store i64 %8, i64* %rax.0.reg2mem\n store i64 %8, i64* %rax.0.reg2mem\n switch i64 %11, label LBL_7 [\n i64 0, label LBL_3\n i64 1, label LBL_18\n i64 2, label LBL_4\n i64 3, label LBL_5\n i64 4, label LBL_18\n i64 5, label LBL_6\n ]\n LBL_3:\n %12 = trunc i64 %3 to i32\n %13 = and i32 %12, 131070\n %14 = inttoptr i64 %rdi.017.reload to i32*\n store i32 %13, i32* %14, align 4\n store i64 %rdi.017.reload, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_4:\n %15 = trunc i64 %3 to i32\n %16 = and i32 %15, 65534\n %17 = add i64 %rdi.017.reload, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = call i64 @FUNC(i64 %rdi.017.reload)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_5:\n %20 = trunc i64 %3 to i32\n %21 = and i32 %20, -2\n %22 = add i64 %rdi.017.reload, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = sub i32 0, %21\n %26 = sub i32 %25, 1\n %27 = and i32 %24, %26\n store i32 %27, i32* %23, align 4\n store i64 %rdi.017.reload, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_6:\n %28 = trunc i64 %3 to i32\n %29 = and i32 %28, 65534\n %30 = add i64 %rdi.017.reload, 40\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n store i64 %rdi.017.reload, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_7:\n %32 = trunc i64 %arg2 to i8\n %trunc = and i8 %32, -4\n switch i8 %trunc, label LBL_17 [\n i8 24, label LBL_8\n i8 28, label LBL_11\n i8 32, label LBL_14\n ]\n LBL_8:\n %33 = add nuw nsw i64 %4, 17179869160\n %34 = udiv i64 %33, 4\n %35 = trunc i64 %34 to i32\n %36 = icmp ult i32 %35, 4\n store i64 %rdi.017.reload, i64* %rdi.2.reg2mem\n br i1 %36, label LBL_10, label LBL_9\n LBL_9:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 74, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([32 x i8]* @gv_4 to i64), i64* %rdi.2.reg2mem\n br label LBL_10\n LBL_10:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %37 = trunc i64 %3 to i32\n %38 = and i32 %37, -2\n %sext16 = mul i64 %34, 4294967296\n %39 = ashr exact i64 %sext16, 30\n %40 = add nsw i64 %39, 24\n %41 = add i64 %40, %rdi.017.reload\n %42 = inttoptr i64 %41 to i32*\n store i32 %38, i32* %42, align 4\n %43 = call i64 @FUNC(i64 %rdi.2.reload)\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_11:\n %44 = add nuw nsw i64 %4, 17179869156\n %45 = udiv i64 %44, 4\n %46 = trunc i64 %45 to i32\n %47 = icmp ult i32 %46, 4\n store i64 %rdi.017.reload, i64* %rdi.3.reg2mem\n br i1 %47, label LBL_13, label LBL_12\n LBL_12:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 81, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([32 x i8]* @gv_4 to i64), i64* %rdi.3.reg2mem\n br label LBL_13\n LBL_13:\n %rdi.3.reload = load i64, i64* %rdi.3.reg2mem\n %48 = trunc i64 %3 to i32\n %49 = and i32 %48, 65534\n %50 = udiv i64 %3, 65536\n %51 = trunc i64 %50 to i32\n %52 = and i32 %51, 65534\n %sext15 = mul i64 %45, 4294967296\n %53 = ashr exact i64 %sext15, 30\n %54 = add i64 %rdi.017.reload, 8\n %55 = add i64 %54, %53\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = or i32 %57, %49\n %59 = sub i32 0, %52\n %60 = sub i32 %59, 1\n %61 = and i32 %58, %60\n store i32 %61, i32* %56, align 4\n %62 = call i64 @FUNC(i64 %rdi.3.reload)\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_14:\n %63 = add nuw nsw i64 %4, 17179869152\n %64 = udiv i64 %63, 4\n %65 = trunc i64 %64 to i32\n %66 = icmp ult i32 %65, 4\n br i1 %66, label LBL_16, label LBL_15\n LBL_15:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 90, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_16\n LBL_16:\n %67 = trunc i64 %3 to i32\n %68 = urem i32 %67, 16\n %sext14 = mul i64 %64, 4294967296\n %69 = ashr exact i64 %sext14, 30\n %70 = add nsw i64 %69, 44\n %71 = add i64 %70, %rdi.017.reload\n %72 = inttoptr i64 %71 to i32*\n store i32 %68, i32* %72, align 4\n store i64 %rdi.017.reload, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_17:\n %73 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 %4)\n store i64 %73, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 4, 3, 5, 6, 1, 0, 2 }\n uselistorder i64 %rdi.017.reload, { 3, 11, 10, 4, 12, 5, 2, 6, 1, 7, 13, 8, 0, 9 }\n uselistorder i64 %3, { 5, 0, 6, 7, 4, 3, 2, 1 }\n uselistorder i64* %rdi.017.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 8, 9, 10, 6, 5, 4, 1, 2, 3 }\n uselistorder i64 30, { 2, 1, 0 }\n uselistorder [32 x i8]* @gv_4, { 1, 0 }\n uselistorder i32 4, { 2, 1, 0 }\n uselistorder i32 -2, { 1, 0 }\n uselistorder i64 (i64)* @grlib_irqmp_check_irqs, { 1, 0, 2 }\n uselistorder i32 65534, { 0, 3, 1, 2 }\n uselistorder i64 4, { 0, 1, 2, 5, 4, 3 }\n uselistorder i64 8, { 2, 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }\n uselistorder [14 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 %arg2, { 2, 0, 1 }\n uselistorder label LBL_18, { 6, 7, 8, 9, 2, 3, 4, 5, 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_socket_name_13767", "fun_name": "get_socket_name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge7.in.in.in.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %5 = inttoptr i64 %3 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 0\n br i1 %7, label LBL_7, label LBL_2\n LBL_2:\n %8 = call i8* @strchr(i8* nonnull %5, i32 58)\n store i8* %8, i8** %storemerge7.in.in.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge7.in.in.in.reload = load i8*, i8** %storemerge7.in.in.in.reg2mem\n %storemerge7.in.in = ptrtoint i8* %storemerge7.in.in.in.reload to i64\n %storemerge7.in = add i64 %storemerge7.in.in, 1\n %storemerge7 = inttoptr i64 %storemerge7.in to i8*\n %9 = load i8, i8* %storemerge7, align 1\n switch i8 %9, label LBL_4 [\n i8 0, label LBL_7\n i8 46, label LBL_6\n ]\n LBL_4:\n %10 = icmp eq i8 %9, 10\n %11 = icmp eq i1 %10, false\n store i8* %storemerge7, i8** %storemerge7.in.in.in.reg2mem\n br i1 %11, label LBL_3, label LBL_5\n LBL_5:\n %12 = icmp eq i8 %9, 0\n br i1 %12, label LBL_7, label LBL_6\n LBL_6:\n store i8 0, i8* %storemerge7, align 1\n br label LBL_7\n LBL_7:\n %13 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %storemerge6 = select i1 %4, i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64 %3\n %14 = call i64 @FUNC()\n %15 = ashr exact i64 %sext, 32\n %16 = call i64 @FUNC(i64 %13, i64 %15, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %storemerge6, i64 %1)\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC()\n %19 = call i64 @FUNC(i64 %13, i64 %15, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %storemerge6, i64 %17)\n %20 = call i64 @FUNC(i64 %3)\n ret i64 %20\n\n uselistorder i8 %9, { 0, 2, 1 }\n uselistorder i8* %storemerge7, { 1, 0, 2 }\n uselistorder i8** %storemerge7.in.in.in.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @g_snprintf, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_7, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_file_bitmap_get_12919", "fun_name": "io_file_bitmap_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %0, i64 %3, i64 %6)\n %sext2 = mul i64 %7, 4294967296\n %8 = ashr exact i64 %sext2, 32\n %9 = icmp eq i64 %3, %8\n store i64 %7, i64* %.lcssa.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n br label LBL_3\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %12 = and i64 %.lcssa.reload, 4294967295\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_3:\n %13 = load i64, i64* %5, align 8\n %14 = load i64, i64* %11, align 8\n %15 = icmp eq i64 %13, %14\n store i64 4294967273, i64* %storemerge.reg2mem\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n store i64 %14, i64* %5, align 8\n %16 = call i64 @FUNC(i64 %0, i64 %13, i64 %14)\n %sext = mul i64 %16, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = icmp eq i64 %13, %17\n store i64 %16, i64* %.lcssa.reg2mem\n br i1 %18, label LBL_3, label LBL_2\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %5, { 1, 2, 0 }\n uselistorder i64 %0, { 3, 1, 0, 2, 4 }\n uselistorder i64* %.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @find_next_zero_bit, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "trusted_update_12101", "fun_name": "trusted_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %spec.select = select i1 %4, i64 2, i64 1\n ret i64 %spec.select\n\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "shorten_decode_close_2970", "fun_name": "shorten_decode_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = bitcast i64* %rdi to i32*\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %2, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = load i64, i64* %7, align 8\n %13 = mul i64 %.reload, 8\n %14 = add i64 %12, %13\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = load i64, i64* %9, align 8\n %17 = add i64 %16, %13\n %18 = call i64 @FUNC(i64 %17)\n %19 = load i64, i64* %11, align 8\n %20 = add i64 %19, %13\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i32 %storemerge1.reload, 1\n %23 = load i32, i32* %5, align 8\n %24 = zext i32 %23 to i64\n %25 = sext i32 %22 to i64\n %26 = icmp slt i64 %25, %24\n store i64 %25, i64* %.reg2mem\n store i32 %22, i32* %storemerge1.reg2mem\n br i1 %26, label LBL_2, label LBL_3\n LBL_3:\n %27 = add i64 %2, 32\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %2, 40\n %30 = call i64 @FUNC(i64 %29)\n ret i64 0\n\n uselistorder i64 %13, { 2, 1, 0 }\n uselistorder i64 %2, { 3, 4, 0, 1, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_freep, { 1, 0, 3, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i8042_start_6396", "fun_name": "i8042_start", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %1, align 1\n %2 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_init_shash_ops_async_9888", "fun_name": "crypto_init_shash_ops_async", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967285, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_10\n LBL_1:\n %8 = call i64 @FUNC(i64 %0, i64 4210733)\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %8)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %14 = inttoptr i64 %3 to i64*\n store i64 %8, i64* %14, align 8\n %15 = add i64 %0, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 4198943, i64* %16, align 8\n %17 = inttoptr i64 %2 to i64*\n store i64 4198839, i64* %17, align 8\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 4198846, i64* %19, align 8\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 4198853, i64* %21, align 8\n %22 = add i64 %2, 24\n %23 = inttoptr i64 %22 to i64*\n store i64 4198860, i64* %23, align 8\n %24 = add i64 %2, 32\n %25 = inttoptr i64 %24 to i64*\n store i64 4198867, i64* %25, align 8\n %26 = inttoptr i64 %1 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = add i64 %2, 40\n %30 = inttoptr i64 %29 to i64*\n store i64 4198874, i64* %30, align 8\n br label LBL_5\n LBL_5:\n %31 = add i64 %1, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = add i64 %2, 48\n %36 = inttoptr i64 %35 to i64*\n store i64 4198881, i64* %36, align 8\n br label LBL_7\n LBL_7:\n %37 = add i64 %1, 16\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n br i1 %40, label LBL_9, label LBL_8\n LBL_8:\n %41 = add i64 %2, 56\n %42 = inttoptr i64 %41 to i64*\n store i64 4198888, i64* %42, align 8\n br label LBL_9\n LBL_9:\n %43 = call i64 @FUNC(i64 %8)\n %44 = add i64 %2, 64\n %45 = inttoptr i64 %44 to i64*\n store i64 %43, i64* %45, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 3, 2, 1, 0, 4, 5, 6, 7, 8 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xmlrpc_decode_string_8594", "fun_name": "xmlrpc_decode_string", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_1.0.ph.reg2mem = alloca i64\n %sv_0.1.ph.reg2mem = alloca i64\n %sv_0.1.ph.be.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %sv_0.1.ph.reg2mem\n store i64 %0, i64* %sv_1.0.ph.reg2mem\n br label LBL_15\n LBL_1:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %1 = icmp eq i8 %.reload, 38\n %2 = icmp eq i1 %1, false\n %3 = add i64 %sv_0.1.reload, 1\n br i1 %2, label LBL_13, label LBL_2\n LBL_2:\n %4 = inttoptr i64 %3 to i8*\n %5 = call i32 @strncmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 3)\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 62, i8* %8, align 1\n %9 = add i64 %sv_0.1.reload, 4\n store i64 %9, i64* %sv_0.1.ph.be.reg2mem\n br label LBL_14\n LBL_4:\n %10 = call i32 @strncmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i32 3)\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n %13 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 60, i8* %13, align 1\n %14 = add i64 %sv_0.1.reload, 4\n store i64 %14, i64* %sv_0.1.ph.be.reg2mem\n br label LBL_14\n LBL_6:\n %15 = call i32 @strncmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i32 5)\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_8, label LBL_7\n LBL_7:\n %18 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 34, i8* %18, align 1\n %19 = add i64 %sv_0.1.reload, 6\n store i64 %19, i64* %sv_0.1.ph.be.reg2mem\n br label LBL_14\n LBL_8:\n %20 = call i32 @strncmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 4)\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_10, label LBL_9\n LBL_9:\n %23 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 38, i8* %23, align 1\n %24 = add i64 %sv_0.1.reload, 5\n store i64 %24, i64* %sv_0.1.ph.be.reg2mem\n br label LBL_14\n LBL_10:\n %25 = load i8, i8* %4, align 1\n %26 = icmp eq i8 %25, 35\n %27 = icmp eq i1 %26, false\n store i8 %25, i8* %.reg2mem\n store i64 %3, i64* %sv_0.1.reg2mem\n br i1 %27, label LBL_16, label LBL_11\n LBL_11:\n %28 = add i64 %sv_0.1.reload, 2\n %29 = inttoptr i64 %28 to i8*\n %30 = call i32 @atoi(i8* %29)\n %31 = trunc i32 %30 to i8\n %32 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 %31, i8* %32, align 1\n store i64 %28, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %33 = inttoptr i64 %sv_0.0.reload to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp ne i8 %34, 59\n %36 = icmp eq i8 %34, 0\n %37 = icmp eq i1 %36, false\n %or.cond = icmp eq i1 %35, %37\n %38 = add i64 %sv_0.0.reload, 1\n store i64 %38, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.ph.be.reg2mem\n br i1 %or.cond, label LBL_12, label LBL_14\n LBL_13:\n %39 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 %.reload, i8* %39, align 1\n store i64 %3, i64* %sv_0.1.ph.be.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.1.ph.be.reload = load i64, i64* %sv_0.1.ph.be.reg2mem\n %sv_1.0.ph.be = add i64 %sv_1.0.ph.reload, 1\n store i64 %sv_0.1.ph.be.reload, i64* %sv_0.1.ph.reg2mem\n store i64 %sv_1.0.ph.be, i64* %sv_1.0.ph.reg2mem\n br label LBL_15\n LBL_15:\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n %sv_0.1.ph.reload = load i64, i64* %sv_0.1.ph.reg2mem\n %.phi.trans.insert = inttoptr i64 %sv_0.1.ph.reload to i8*\n %.pre = load i8, i8* %.phi.trans.insert, align 1\n store i8 %.pre, i8* %.reg2mem\n store i64 %sv_0.1.ph.reload, i64* %sv_0.1.reg2mem\n br label LBL_16\n LBL_16:\n %.reload = load i8, i8* %.reg2mem\n %40 = icmp eq i8 %.reload, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_1, label LBL_17\n LBL_17:\n %42 = inttoptr i64 %sv_1.0.ph.reload to i8*\n store i8 0, i8* %42, align 1\n ret i64 %0\n\n uselistorder i8 %.reload, { 1, 0, 2 }\n uselistorder i64 %sv_1.0.ph.reload, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %sv_0.1.reload, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.ph.be.reg2mem, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64* %sv_0.1.reg2mem, { 1, 2, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0, 3, 2 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i1 false, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i8 38, { 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_mp3_version_name_10", "fun_name": "gf_mp3_version_name", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 3\n store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %4 = icmp ult i32 %2, 4\n br i1 %4, label LBL_2, label LBL_4\n LBL_2:\n store i64 ptrtoint ([7 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n switch i32 %2, label LBL_4 [\n i32 2, label LBL_6\n i32 0, label LBL_5\n i32 1, label LBL_3\n ]\n LBL_3:\n store i64 ptrtoint ([9 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n store i64 ptrtoint ([8 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n store i64 ptrtoint ([9 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 5, 3, 2 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_6, { 1, 3, 4, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cmp_map_id_8197", "fun_name": "cmp_map_id", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = ptrtoint i32* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i32 %3, -1\n %8 = add i32 %7, %6\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = ptrtoint i32* %arg2 to i64\n %14 = add i64 %13, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = bitcast i64* %rsi to i32*\n %storemerge.in = select i1 %12, i32* %15, i32* %16\n %storemerge = load i32, i32* %storemerge.in, align 4\n %17 = add i64 %13, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = add i32 %storemerge, -1\n %21 = add i32 %20, %19\n %22 = icmp ugt i32 %storemerge, %3\n %23 = icmp ult i32 %21, %3\n %or.cond = or i1 %22, %23\n %24 = icmp ult i32 %8, %storemerge\n %or.cond3 = or i1 %24, %or.cond\n %25 = icmp ugt i32 %8, %21\n %or.cond4 = or i1 %25, %or.cond3\n br i1 %or.cond4, label LBL_1, label LBL_2\n LBL_1:\n %26 = icmp ule i32 %storemerge, %3\n %27 = icmp eq i1 %24, false\n %or.cond6 = icmp eq i1 %26, %27\n %spec.select = select i1 %or.cond6, i64 1, i64 4294967295\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i1 %24, { 1, 0 }\n uselistorder i32 %storemerge, { 1, 0, 3, 2 }\n uselistorder i32 %3, { 2, 0, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nametoid_show_3740", "fun_name": "nametoid_show", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = icmp eq i64* %arg3, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_5\n LBL_2:\n %6 = ptrtoint i64* %arg3 to i64\n %7 = add i64 %6, -32\n %8 = add i64 %6, -16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %6, -24\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 1\n %15 = icmp eq i1 %14, false\n %. = select i1 %15, i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64 ptrtoint ([6 x i8]* @gv_2 to i64)\n %16 = inttoptr i64 %7 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %17, i64 %., i64 %10, i64 %1)\n %19 = call i64 @FUNC(i64 0, i64 %6)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i64 %17, i64* %rdx.0.reg2mem\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = add i64 %6, -8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 %25, i64 %., i64 %10, i64 %1)\n store i64 %25, i64* %rdx.0.reg2mem\n br label LBL_4\n LBL_4:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %27 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0), i64 %rdx.0.reload, i64 %., i64 %10, i64 %1)\n br label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i64 %., { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %6, { 0, 1, 4, 3, 2 }\n uselistorder i64 %2, { 2, 1, 3, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @seq_printf, { 2, 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sst_block_alloc_scratch_17522", "fun_name": "sst_block_alloc_scratch", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i32\n %storemerge.in.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rcx.0.lcssa.reg2mem = alloca i64\n %storemerge2.in3.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = load i32, i32* %1\n %sv_1 = alloca i32, align 4\n %7 = add i64 %5, 24\n %8 = call i64 @FUNC(i64 %7)\n %9 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %5, 16\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = trunc i64 %4 to i32\n %14 = add i64 %5, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %10, i64* %storemerge2.in3.reg2mem\n br i1 %12, label LBL_1, label LBL_5\n LBL_1:\n %storemerge2.in3.reload = load i64, i64* %storemerge2.in3.reg2mem\n %storemerge2 = inttoptr i64 %storemerge2.in3.reload to i32*\n %16 = add i64 %storemerge2.in3.reload, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = load i32, i32* %storemerge2, align 4\n %20 = load i64, i64* %15, align 8\n %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %19, i32 %18, i64 %3, i64 %2)\n %22 = load i32, i32* %17, align 4\n %23 = icmp ugt i32 %22, %13\n br i1 %23, label LBL_2, label LBL_3\n LBL_2:\n store i32 %22, i32* %9, align 4\n br label LBL_3\n LBL_3:\n %24 = add i64 %storemerge2.in3.reload, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %26, i64* %storemerge2.in3.reg2mem\n br i1 %28, label LBL_1, label LBL_4\n LBL_4:\n %29 = zext i32 %18 to i64\n store i64 %29, i64* %rcx.0.lcssa.reg2mem\n br label LBL_5\n LBL_5:\n %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem\n %30 = load i64, i64* %15, align 8\n %31 = trunc i64 %rcx.0.lcssa.reload to i32\n %32 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i32 %13, i32 %31, i64 %3, i64 %2)\n %33 = icmp eq i32 %13, 0\n %34 = icmp eq i1 %33, false\n %35 = load i64, i64* %15, align 8\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %36 = and i64 %4, 4294967295\n %37 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 %36, i64 %rcx.0.lcssa.reload, i64 %3, i64 %2)\n %38 = call i64 @FUNC(i64 %7)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_15\n LBL_7:\n %39 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i32 %13, i32 %31, i64 %3, i64 %2)\n store i32 %13, i32* %sv_1, align 4\n %40 = add i64 %5, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 0\n %44 = load i64, i64* %15, align 8\n br i1 %43, label LBL_9, label LBL_8\n LBL_8:\n %45 = zext i32 %6 to i64\n %46 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_4, i64 0, i64 0), i32 %13, i32 1, i64 %45, i64 %2)\n %47 = load i32, i32* %41, align 4\n %48 = add i64 %5, 32\n %49 = call i64 @FUNC(i64 %5, i32* nonnull %sv_1, i64 %48)\n store i32 %47, i32* %sv_0.0.reg2mem\n store i64 %48, i64* %rdx.0.reg2mem\n store i64 %45, i64* %r8.0.reg2mem\n store i64 %49, i64* %storemerge.in.reg2mem\n br label LBL_10\n LBL_9:\n %50 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_5, i64 0, i64 0), i32 %13, i32 1, i64 %3, i64 %2)\n %51 = add i64 %5, 32\n %52 = call i64 @FUNC(i64 %5, i32* nonnull %sv_1, i64 %51)\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %51, i64* %rdx.0.reg2mem\n store i64 %52, i64* %storemerge.in.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.1 = ptrtoint i32* %sv_1 to i64\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %53 = icmp slt i32 %storemerge, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_12, label LBL_11\n LBL_11:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %55 = load i64, i64* %15, align 8\n %56 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_6, i64 0, i64 0), i64 %rdx.0.reload, i64 %rcx.1, i64 %r8.0.reload, i64 %2)\n %57 = call i64 @FUNC(i64 %7)\n store i32 %storemerge, i32* %rax.0.shrunk.reg2mem\n br label LBL_15\n LBL_12:\n %58 = add i64 %5, 32\n %59 = call i64 @FUNC(i64 %5, i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = icmp slt i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_14, label LBL_13\n LBL_13:\n %63 = load i64, i64* %15, align 8\n %64 = call i64 @FUNC(i64 %63, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i64 %58, i64 %rcx.1, i64 %r8.0.reload, i64 %2)\n store i32 %60, i32* %rax.0.shrunk.reg2mem\n br label LBL_15\n LBL_14:\n %.pre-phi = bitcast i64* %rdi to i32*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n store i32 %sv_0.0.reload, i32* %41, align 4\n %65 = call i64 @FUNC(i64 %7)\n %66 = load i32, i32* %.pre-phi, align 8\n store i32 %66, i32* %rax.0.shrunk.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i64 %44, { 1, 0 }\n uselistorder i32* %41, { 1, 0, 2 }\n uselistorder i64 %35, { 1, 0 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i64* %15, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 %13, { 1, 2, 3, 5, 4, 6, 0 }\n uselistorder i64 %7, { 2, 1, 0, 3 }\n uselistorder i64 %5, { 3, 2, 5, 4, 0, 1, 6, 7, 8, 9 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 3, 2, 4, 1, 0 }\n uselistorder i64 %2, { 1, 0, 6, 5, 4, 7, 3, 2 }\n uselistorder i64* %storemerge2.in3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 1, 0 }\n uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i32, i32, i64, i64)* @dev_dbg, { 4, 3, 2, 0, 1 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i32 0, { 2, 3, 1, 4, 0, 5, 6 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "security_get_bools_8868", "fun_name": "security_get_bools", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 0, i64* %arg2, align 8\n store i64 0, i64* %arg3, align 8\n %3 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %4 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg3 to i64\n %8 = bitcast i64* %rdi to i32*\n %sext4 = mul i64 %1, 4294967296\n %9 = ashr exact i64 %sext4, 32\n %10 = call i64 @FUNC(i64 %9, i64 8, i64 0)\n store i64 %10, i64* %arg2, align 8\n %11 = call i64 @FUNC(i64 %9, i64 4, i64 0)\n store i64 %11, i64* %arg3, align 8\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = load i64, i64* @gv_2, align 8\n %13 = mul i64 %.reload, 8\n %14 = add i64 %12, %13\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = mul i64 %.reload, 4\n %18 = add i64 %17, %7\n %19 = inttoptr i64 %16 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = inttoptr i64 %18 to i32*\n store i32 %20, i32* %21, align 4\n %22 = zext i32 %storemerge3.reload to i64\n %23 = call i64 @FUNC(i64* nonnull @gv_1, i64 0, i64 %22)\n %24 = inttoptr i64 %23 to i8*\n %25 = call i32 @strlen(i8* %24)\n %26 = sext i32 %25 to i64\n %27 = add nsw i64 %26, 1\n %28 = call i64 @FUNC(i64 %27, i64 0)\n %29 = inttoptr i64 %13 to i64*\n store i64 %28, i64* %29, align 8\n %30 = icmp eq i64 %28, 0\n br i1 %30, label LBL_5, label LBL_3\n LBL_3:\n %31 = trunc i64 %27 to i32\n %32 = call i64 @FUNC(i64* nonnull @gv_1, i64 0, i64 %22)\n %33 = load i64, i64* %29, align 8\n %34 = inttoptr i64 %33 to i8*\n %35 = inttoptr i64 %32 to i8*\n %36 = call i8* @strncpy(i8* %34, i8* %35, i32 %31)\n %37 = add i64 %32, %13\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %sext = mul i64 %27, 4294967296\n %40 = ashr exact i64 %sext, 32\n %41 = add nsw i64 %40, -1\n %42 = add i64 %41, %39\n %43 = inttoptr i64 %42 to i8*\n store i8 0, i8* %43, align 1\n %44 = add i32 %storemerge3.reload, 1\n %45 = load i32, i32* %8, align 8\n %46 = zext i32 %45 to i64\n %47 = sext i32 %44 to i64\n %48 = icmp slt i64 %47, %46\n store i64 %47, i64* %.reg2mem\n store i32 %44, i32* %storemerge3.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %48, label LBL_2, label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %49 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %sv_0.0.reload\n LBL_5:\n %50 = call i64 @FUNC(i64 0)\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br label LBL_4\n\n uselistorder i64 %13, { 2, 0, 1 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1, 3 }\n uselistorder i64 (i64*, i64, i64)* @sym_name, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @kcalloc, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64* %arg3, { 0, 2, 1 }\n uselistorder label LBL_4, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "m5206_mbar_readb_183", "fun_name": "m5206_mbar_readb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = urem i32 %0, 1024\n %2 = icmp ult i32 %1, 512\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = zext i32 %1 to i64\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %3)\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = and i64 %arg2, 1020\n %7 = add i64 %6, ptrtoint (i32** @gv_1 to i64)\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp ult i32 %9, 2\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = and i64 %arg2, 1022\n %12 = call i64 @FUNC(i64 %5, i64 %11)\n %13 = trunc i64 %12 to i16\n %14 = urem i32 %0, 2\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n %17 = udiv i16 %13, 256\n %spec.select = select i1 %16, i16 %13, i16 %17\n %18 = urem i16 %spec.select, 256\n %19 = zext i16 %18 to i64\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %20 = zext i32 %1 to i64\n %21 = call i64 @FUNC(i64 %5, i64 %20, i64 1)\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i16 %13, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %1, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i16 256, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cvs_client_removed_3797", "fun_name": "cvs_client_removed", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %6 = icmp eq i64 %arg1, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_2:\n %9 = call i64 @FUNC()\n %10 = inttoptr i64 %9 to i8*\n %11 = call i8* @strrchr(i8* %10, i32 47)\n %12 = icmp eq i8* %11, null\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_4:\n %15 = ptrtoint i8* %11 to i64\n %16 = add i64 %15, 1\n %17 = call i64 @FUNC(i64 %arg1)\n %18 = call i64 @FUNC(i64 %17, i64 %16)\n %19 = call i64 @FUNC(i64 %17, i64 1)\n %20 = call i64 @FUNC(i64* nonnull %sv_0, i64 1024, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 %16, i64 %1)\n %21 = bitcast i64* %sv_0 to i8*\n %22 = call i32 @unlink(i8* nonnull %21)\n %23 = call i64 @FUNC(i64 %9)\n ret i64 %23\n\n uselistorder i8* %11, { 1, 0 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @fatal, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_co_queue_run_restart_14037", "fun_name": "qemu_co_queue_run_restart", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %.reg2mem\n store i64 %4, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %7 = inttoptr i64 %.reload to i64*\n %8 = load i64, i64* %7, align 8\n store i64 %8, i64* %3, align 8\n %9 = call i64 @FUNC(i64 %.reload, i64 0)\n %10 = load i64, i64* %3, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %.reg2mem\n store i64 %10, i64* %.lcssa.reg2mem\n br i1 %12, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64* %3, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "curl_read_cb_5585", "fun_name": "curl_read_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = mul i64 %arg3, %arg2\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %2 = icmp eq i64* %arg4, null\n store i64 %0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg4 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp ugt i64 %9, %6\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_2, label LBL_7\n LBL_2:\n %11 = sub i64 %9, %6\n %12 = icmp ugt i64 %0, %11\n %13 = select i1 %12, i64 %11, i64 %0\n %14 = add i64 %6, %3\n %15 = inttoptr i64 %14 to i64*\n %16 = trunc i64 %13 to i32\n %17 = call i64* @memcpy(i64* %15, i64* %arg1, i32 %16)\n %18 = load i64, i64* %5, align 8\n %19 = add i64 %18, %13\n store i64 %19, i64* %5, align 8\n %20 = add i64 %3, 24\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = mul i64 %indvars.iv.reload, 8\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_6, label LBL_4\n LBL_4:\n %26 = load i64, i64* %5, align 8\n %27 = add i64 %24, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp ult i64 %26, %29\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = add i64 %24, 16\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = sub i64 %29, %33\n %35 = add i64 %24, 32\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i64 @FUNC(i64 %37, i64 0, i64 %29, i64 %34)\n %39 = call i64 @FUNC(i64 %24)\n store i64 0, i64* %23, align 8\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %13, i64* %storemerge.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_3\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64* %5, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 1, 0, 3, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64* %arg4, { 1, 0 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_spice_vm_change_state_handler_14950", "fun_name": "qemu_spice_vm_change_state_handler", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 %0, i32* %6, align 4\n ret i64 %4\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__open_dso_4015", "fun_name": "__open_dso", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64* @malloc(i32 4096)\n %3 = icmp eq i64* %2, null\n %4 = icmp eq i1 %3, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %5 = ptrtoint i64* %2 to i64\n %6 = trunc i64 %1 to i32\n %7 = ptrtoint i64* %arg2 to i64\n %8 = icmp eq i64* %arg2, null\n %spec.select = select i1 %8, i64 ptrtoint (i64* @gv_0 to i64), i64 %7\n %9 = ptrtoint i32* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i32 %6, i64 %spec.select, i64 %5, i64 4096)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n call void @free(i64* %2)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %13 = call i64 @FUNC(i64 %5)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n call void @free(i64* %2)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %17 = call i64 @FUNC(i64 %5)\n call void @free(i64* %2)\n %18 = and i64 %17, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %2, { 0, 1, 2, 4, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_name_12991", "fun_name": "parse_name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i8*\n %sv_0.04.reg2mem = alloca i8*\n %sv_1.15.reg2mem = alloca i8*\n %.reg2mem14 = alloca i8\n %.reg2mem12 = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 0\n store i8 %1, i8* %.reg2mem\n br i1 %2, label LBL_13, label LBL_7\n LBL_1:\n %3 = call i64 @FUNC(i64 ptrtoint ([64 x i8]* @gv_0 to i64), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 4)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_8, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 ptrtoint ([64 x i8]* @gv_0 to i64), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i64 5)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_8, label LBL_3\n LBL_3:\n br i1 icmp ne (i8 ptrtoint ([64 x i8]* @gv_0 to i8), i8 92), label LBL_6, label LBL_4\n LBL_4:\n store i64 add (i64 ptrtoint ([64 x i8]* @gv_0 to i64), i64 1), i64* %arg1, align 8\n br i1 icmp ne (i8 ptrtoint ([64 x i8]* @gv_0 to i8), i8 0), label LBL_6, label LBL_5\n LBL_5:\n %11 = call i64 @FUNC(i64 %0, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_6:\n store i64 add (i64 ptrtoint ([64 x i8]* @gv_0 to i64), i64 1), i64* %arg1, align 8\n store i8 ptrtoint ([64 x i8]* @gv_0 to i8), i8* %.reg2mem\n br i1 icmp eq (i8 ptrtoint ([64 x i8]* @gv_0 to i8), i8 0), label LBL_8, label LBL_7\n LBL_7:\n %.reload = load i8, i8* %.reg2mem\n %12 = sext i8 %.reload to i32\n %13 = call i8* @strchr(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_0, i64 0, i64 0), i32 %12)\n %14 = icmp eq i8* %13, null\n br i1 %14, label LBL_1, label LBL_8\n LBL_8:\n %15 = icmp ult i64* %arg1, bitcast ([64 x i8]* @gv_0 to i64*)\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_12, label LBL_9\n LBL_9:\n %17 = icmp ugt i64* %arg1, bitcast ([64 x i8]* @gv_0 to i64*)\n store i64 shl (i64 sext (i8 ptrtoint ([64 x i8]* @gv_0 to i8) to i64), i64 56), i64* %.reg2mem12\n br label LBL_10\n LBL_10:\n %.reload13 = load i64, i64* %.reg2mem12\n store i64 add (i64 ptrtoint ([64 x i8]* @gv_0 to i64), i64 -1), i64* %arg1, align 8\n %18 = call i16** @__ctype_b_loc()\n %19 = load i16*, i16** %18, align 8\n %20 = ptrtoint i16* %19 to i64\n %21 = ashr exact i64 %.reload13, 55\n %22 = add i64 %21, %20\n %23 = inttoptr i64 %22 to i16*\n %24 = load i16, i16* %23, align 2\n %25 = and i16 %24, 8192\n %26 = icmp eq i16 %25, 0\n %or.cond = or i1 %17, %26\n store i64 shl (i64 ptrtoint ([64 x i8]* @gv_0 to i64), i64 56), i64* %.reg2mem12\n br i1 %or.cond, label LBL_11, label LBL_10\n LBL_11:\n store i64 add (i64 ptrtoint ([64 x i8]* @gv_0 to i64), i64 1), i64* %arg1, align 8\n br label LBL_12\n LBL_12:\n %27 = icmp eq i64* %arg1, bitcast ([64 x i8]* @gv_0 to i64*)\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_14, label LBL_13\n LBL_13:\n %29 = call i64 @FUNC(i64 %0, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_14:\n %30 = bitcast i64* %arg1 to i8*\n %31 = trunc i64 %0 to i32\n %32 = sub i32 ptrtoint ([64 x i8]* @gv_0 to i32), %31\n %33 = call i8* @strndup(i8* %30, i32 %32)\n %34 = icmp eq i8* %33, null\n %35 = icmp eq i1 %34, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %35, label LBL_15, label LBL_18\n LBL_15:\n %36 = load i8, i8* %33, align 1\n %37 = icmp eq i8 %36, 0\n %38 = icmp eq i1 %37, false\n store i8 %36, i8* %.reg2mem14\n store i8* %33, i8** %sv_1.15.reg2mem\n store i8* %33, i8** %sv_0.04.reg2mem\n store i8* %33, i8** %sv_0.0.lcssa.reg2mem\n br i1 %38, label LBL_16, label LBL_17\n LBL_16:\n %sv_0.04.reload = load i8*, i8** %sv_0.04.reg2mem\n %sv_1.15.reload = load i8*, i8** %sv_1.15.reg2mem\n %.reload15 = load i8, i8* %.reg2mem14\n %39 = icmp eq i8 %.reload15, 92\n %40 = icmp eq i1 %39, false\n %41 = ptrtoint i8* %sv_1.15.reload to i64\n %42 = add i64 %41, 1\n %43 = inttoptr i64 %42 to i8*\n %sv_1.0 = select i1 %40, i8* %sv_1.15.reload, i8* %43\n %44 = load i8, i8* %sv_1.0, align 1\n store i8 %44, i8* %sv_0.04.reload, align 1\n %45 = ptrtoint i8* %sv_1.0 to i64\n %46 = add i64 %45, 1\n %47 = inttoptr i64 %46 to i8*\n %48 = ptrtoint i8* %sv_0.04.reload to i64\n %49 = add i64 %48, 1\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %47, align 1\n %52 = icmp eq i8 %51, 0\n %53 = icmp eq i1 %52, false\n store i8 %51, i8* %.reg2mem14\n store i8* %47, i8** %sv_1.15.reg2mem\n store i8* %50, i8** %sv_0.04.reg2mem\n store i8* %50, i8** %sv_0.0.lcssa.reg2mem\n br i1 %53, label LBL_16, label LBL_17\n LBL_17:\n %54 = ptrtoint i8* %33 to i64\n %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem\n store i8 0, i8* %sv_0.0.lcssa.reload, align 1\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %sv_0.04.reload, { 1, 0 }\n uselistorder i8* %33, { 5, 0, 1, 2, 3, 4 }\n uselistorder i64 %0, { 0, 3, 2, 1 }\n uselistorder i8* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem12, { 2, 0, 1 }\n uselistorder i8* %.reg2mem14, { 2, 0, 1 }\n uselistorder i8** %sv_1.15.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 56, { 1, 0 }\n uselistorder i64 (i64, i64)* @STATE_ERROR, { 1, 0 }\n uselistorder i64 1, { 3, 4, 5, 1, 2, 0 }\n uselistorder i8 92, { 1, 0 }\n uselistorder i8 ptrtoint ([64 x i8]* @gv_0 to i8), { 1, 3, 0, 2, 4 }\n uselistorder i1 false, { 2, 1, 0, 3, 4, 7, 5, 6 }\n uselistorder i64 (i64, i8*, i64)* @STREQLEN, { 1, 0 }\n uselistorder [64 x i8]* @gv_0, { 0, 1, 3, 2, 4 }\n uselistorder i64 ptrtoint ([64 x i8]* @gv_0 to i64), { 1, 0, 2, 3, 4 }\n uselistorder i8 0, { 4, 5, 3, 1, 0, 2 }\n uselistorder i64* %arg1, { 5, 0, 6, 7, 1, 2, 3, 4, 8 }\n uselistorder label LBL_18, { 1, 0, 2, 3 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 3, 2 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pdf_get_version_9969", "fun_name": "pdf_get_version", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %0 to i8*\n %2 = call i8* @strstr(i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %3 = ptrtoint i8* %2 to i64\n switch i64 %3, label LBL_1 [\n i64 -10, label LBL_2\n i64 0, label LBL_2\n ]\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %3, 5\n %6 = inttoptr i64 %5 to i8*\n %7 = call i32 @atoi(i8* %6)\n %8 = bitcast i64* %arg2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = add i64 %3, 7\n %10 = inttoptr i64 %9 to i8*\n %11 = call i32 @atoi(i8* %10)\n %12 = add i64 %4, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n br label LBL_2\n LBL_2:\n %14 = inttoptr i64 %0 to i64*\n call void @free(i64* %14)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i32 (i8*)* @atoi, { 1, 0 }\n uselistorder label LBL_2, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xsl_objects_free_storage_3870", "fun_name": "xsl_objects_free_storage", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = load i64, i64* %2, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %arg1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i64, i64* %8, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %arg1, 24\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = call i64 @FUNC(i64 %15)\n %18 = load i64, i64* %14, align 8\n %19 = call i64 @FUNC(i64 %18)\n br label LBL_2\n LBL_2:\n %20 = add i64 %arg1, 32\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %22)\n %25 = load i64, i64* %21, align 8\n %26 = call i64 @FUNC(i64 %25)\n br label LBL_4\n LBL_4:\n %27 = add i64 %arg1, 40\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_8, label LBL_5\n LBL_5:\n %31 = inttoptr i64 %29 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, 0\n store i64 %29, i64* %.reg2mem\n br i1 %33, label LBL_7, label LBL_6\n LBL_6:\n store i64 0, i64* %31, align 8\n %.pre = load i64, i64* %28, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %34 = call i64 @FUNC(i64 %.reload)\n store i64 0, i64* %28, align 8\n br label LBL_8\n LBL_8:\n %35 = add i64 %arg1, 48\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 %37)\n br label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i64 %arg1)\n ret i64 %40\n\n uselistorder i64* %28, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @efree, { 2, 1, 0 }\n uselistorder i64 (i64)* @FREE_HASHTABLE, { 2, 1, 0 }\n uselistorder i64 (i64)* @zend_hash_destroy, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_direct_read_release_3814", "fun_name": "nfs_direct_read_release", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi2.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = call i64 @FUNC(i64 %1)\n %5 = icmp slt i32 %3, 0\n %6 = zext i1 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %10, align 4\n %11 = call i64 @FUNC(i64 %1)\n %.pre = add i64 %0, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n store i64* %.pre1, i64** %.pre-phi2.reg2mem\n br label LBL_3\n LBL_2:\n %12 = add i64 %0, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i32 %17, %14\n store i32 %18, i32* %13, align 4\n %19 = call i64 @FUNC(i64 %1)\n %20 = load i32, i32* %16, align 4\n %21 = add i64 %0, 28\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %0, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = zext i32 %23 to i64\n %28 = call i64 @FUNC(i64 %26, i64 %27, i32 %20)\n store i64* %25, i64** %.pre-phi2.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem\n %29 = add i64 %0, 24\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = load i64, i64* %.pre-phi2.reload, align 8\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %32, i64 %33)\n %35 = call i64 @FUNC(i64 %0)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_5, label LBL_4\n LBL_4:\n %38 = call i64 @FUNC(i64 %0)\n br label LBL_5\n LBL_5:\n %39 = call i64 @FUNC(i64 %0)\n ret i64 %39\n\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 2, 1, 3, 4, 6, 5, 7, 8, 0, 9 }\n uselistorder i64** %.pre-phi2.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_rfi_2474", "fun_name": "helper_rfi", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n %6 = add i64 %2, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %2, i64 %11, i64 %8, i64 -1, i64 0)\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC(i64 %2, i64 %11, i64 %8, i64 -2017394689, i64 1)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %2, { 0, 1, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @do_rfi, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "OALMarshal_UncompressValue_6659", "fun_name": "OALMarshal_UncompressValue", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge9.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.012.reg2mem = alloca i32\n %storemerge913.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i8\n %sv_2.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sext = mul i64 %arg1, 72057594037927936\n %3 = ashr exact i64 %sext, 56\n %4 = trunc i64 %2 to i8\n %5 = udiv i8 %4, 64\n store i64 1, i64* %sv_2.0.reg2mem\n store i8 127, i8* %sv_1.0.reg2mem\n switch i8 %5, label LBL_3 [\n i8 2, label LBL_1\n i8 3, label LBL_2\n ]\n LBL_1:\n %6 = trunc i64 %3 to i8\n %7 = icmp ult i8 %6, 3\n %. = select i1 %7, i8 127, i8 63\n store i64 2, i64* %sv_2.0.reg2mem\n store i8 %., i8* %sv_1.0.reg2mem\n br label LBL_3\n LBL_2:\n %8 = trunc i64 %3 to i8\n %9 = icmp ult i8 %8, 3\n %.11 = select i1 %9, i8 127, i8 63\n store i64 %3, i64* %sv_2.0.reg2mem\n store i8 %.11, i8* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %10 = trunc i64 %1 to i32\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %11 = trunc i64 %sv_2.0.reload to i32\n %12 = urem i32 %11, 256\n %13 = icmp ugt i32 %12, %10\n store i64 0, i64* %storemerge.reg2mem\n br i1 %13, label LBL_9, label LBL_4\n LBL_4:\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %14 = and i8 %sv_1.0.reload, %4\n %15 = zext i8 %14 to i32\n %16 = trunc i64 %sv_2.0.reload to i8\n %17 = icmp ugt i8 %16, 1\n store i32 1, i32* %sv_0.0.lcssa.reg2mem\n store i32 %15, i32* %storemerge9.lcssa.reg2mem\n br i1 %17, label LBL_5, label LBL_8\n LBL_5:\n %18 = ptrtoint i32* %arg3 to i64\n store i32 %15, i32* %storemerge913.reg2mem\n store i32 1, i32* %sv_0.012.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem\n %storemerge913.reload = load i32, i32* %storemerge913.reg2mem\n %19 = mul i32 %storemerge913.reload, 256\n %20 = mul i32 %sv_0.012.reload, 16777216\n %sext8 = add i32 %20, 16777216\n %21 = ashr exact i32 %sext8, 24\n %22 = urem i32 %sv_0.012.reload, 256\n %23 = zext i32 %22 to i64\n %24 = add i64 %23, %18\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = zext i8 %26 to i32\n %28 = or i32 %19, %27\n %29 = trunc i32 %21 to i8\n %30 = icmp ult i8 %29, %16\n store i32 %28, i32* %storemerge913.reg2mem\n store i32 %21, i32* %sv_0.012.reg2mem\n br i1 %30, label LBL_6, label LBL_7\n LBL_7:\n %phitmp = urem i32 %21, 256\n store i32 %phitmp, i32* %sv_0.0.lcssa.reg2mem\n store i32 %28, i32* %storemerge9.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge9.lcssa.reload = load i32, i32* %storemerge9.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %arg2, align 4\n %31 = zext i32 %storemerge9.lcssa.reload to i64\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %21, { 1, 0, 2 }\n uselistorder i8 %16, { 1, 0 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i64 %sv_2.0.reload, { 1, 0 }\n uselistorder i8 %4, { 1, 0 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %storemerge913.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.012.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge9.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 16777216, { 1, 0 }\n uselistorder i32 256, { 1, 2, 0, 3 }\n uselistorder i8 3, { 2, 1, 0 }\n uselistorder i8 127, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ReadDDSInfo_18103", "fun_name": "ReadDDSInfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 4, i64 0)\n %4 = call i64 @FUNC(i64 %2)\n %5 = icmp eq i64 %4, 124\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n %7 = trunc i64 %6 to i32\n %8 = bitcast i64* %arg2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = and i64 %1, 4102\n %10 = icmp eq i64 %9, 4102\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_4\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = call i64 @FUNC(i64 %2)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %11, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %2)\n %17 = trunc i64 %16 to i32\n %18 = add i64 %11, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = call i64 @FUNC(i64 %2)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %11, 12\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %2)\n %25 = trunc i64 %24 to i32\n %26 = add i64 %11, 16\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %2)\n %29 = trunc i64 %28 to i32\n %30 = add i64 %11, 20\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = call i64 @FUNC(i64 %2, i64 44, i64 1)\n %33 = call i64 @FUNC(i64 %2)\n %34 = icmp eq i64 %33, 32\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_3, label LBL_4\n LBL_3:\n %35 = call i64 @FUNC(i64 %2)\n %36 = trunc i64 %35 to i32\n %37 = add i64 %11, 24\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = call i64 @FUNC(i64 %2)\n %40 = trunc i64 %39 to i32\n %41 = add i64 %11, 28\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n %43 = call i64 @FUNC(i64 %2)\n %44 = trunc i64 %43 to i32\n %45 = add i64 %11, 32\n %46 = inttoptr i64 %45 to i32*\n store i32 %44, i32* %46, align 4\n %47 = call i64 @FUNC(i64 %2)\n %48 = trunc i64 %47 to i32\n %49 = add i64 %11, 36\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n %51 = call i64 @FUNC(i64 %2)\n %52 = trunc i64 %51 to i32\n %53 = add i64 %11, 40\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = call i64 @FUNC(i64 %2)\n %56 = trunc i64 %55 to i32\n %57 = add i64 %11, 44\n %58 = inttoptr i64 %57 to i32*\n store i32 %56, i32* %58, align 4\n %59 = call i64 @FUNC(i64 %2)\n %60 = trunc i64 %59 to i32\n %61 = add i64 %11, 48\n %62 = inttoptr i64 %61 to i32*\n store i32 %60, i32* %62, align 4\n %63 = call i64 @FUNC(i64 %2)\n %64 = trunc i64 %63 to i32\n %65 = add i64 %11, 52\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n %67 = call i64 @FUNC(i64 %2)\n %68 = trunc i64 %67 to i32\n %69 = add i64 %11, 56\n %70 = inttoptr i64 %69 to i32*\n store i32 %68, i32* %70, align 4\n %71 = call i64 @FUNC(i64 %2, i64 12, i64 1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 12, 13, 14, 15, 16, 17, 18, 19 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 44, { 1, 0 }\n uselistorder i64 (i64)* @ReadBlobLSBLong, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @SeekBlob, { 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "netlink_trim_8861", "fun_name": "netlink_trim", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n %2 = zext i1 %1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %arg1, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %arg1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %arg1, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %16, label LBL_7, label LBL_1\n LBL_1:\n %17 = sub i64 %6, %9\n %18 = trunc i64 %17 to i32\n %19 = mul i32 %18, 2\n %20 = add i64 %arg1, 32\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp ult i32 %19, %22\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %23, label LBL_7, label LBL_2\n LBL_2:\n %24 = and i64 %arg2, 4294967295\n %25 = call i64 @FUNC(i64 %arg1)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n store i64 %arg1, i64* %sv_0.0.reg2mem\n br i1 %27, label LBL_5, label LBL_3\n LBL_3:\n %28 = call i64 @FUNC(i64 %arg1, i64 %24)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %30, label LBL_4, label LBL_7\n LBL_4:\n %31 = call i64 @FUNC(i64 %arg1)\n store i64 %28, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %32 = sub i64 0, %17\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64 %sv_0.0.reload, i64 0, i64 %33, i64 %24)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = add i64 %sv_0.0.reload, 32\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = sub i32 %40, %18\n store i32 %41, i32* %39, align 4\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 3, 0, 2 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 1, { 1, 0, 3, 2 }\n uselistorder i64 %arg1, { 4, 0, 5, 3, 7, 2, 6, 1, 8, 9, 10, 11 }\n uselistorder label LBL_7, { 1, 0, 2, 4, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_valid_block_bitmap_4281", "fun_name": "ext4_valid_block_bitmap", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dbEvalFinalize_9345", "fun_name": "dbEvalFinalize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = inttoptr i64 %3 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = load i64, i64* %2, align 8\n %12 = call i64 @FUNC(i64 %6, i64 %11, i32 %10)\n store i64 0, i64* %2, align 8\n br label LBL_2\n LBL_2:\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %15)\n br label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %0)\n ret i64 %18\n\n uselistorder i64 %0, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_baud_7012", "fun_name": "set_baud", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = or i64 %1, %arg2\n %4 = trunc i64 %3 to i32\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %spec.select = select i1 %11, i64 0, i64 %2\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_get_acl_13290", "fun_name": "fuse_get_acl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_13, label LBL_1\n LBL_1:\n %5 = add i64 %1, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_13\n LBL_2:\n %9 = trunc i64 %arg2 to i32\n %10 = icmp eq i32 %9, 1\n %11 = icmp eq i1 %10, false\n store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8** %storemerge.reg2mem\n br i1 %11, label LBL_3, label LBL_4\n LBL_3:\n %12 = icmp eq i32 %9, 2\n %13 = icmp eq i1 %12, false\n store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8** %storemerge.reg2mem\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_13, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 4096, i64 0)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 -2, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_13\n LBL_5:\n %storemerge.reload = load i8*, i8** %storemerge.reg2mem\n %17 = ptrtoint i8* %storemerge.reload to i64\n %18 = call i64 @FUNC(i64 %0, i64 %17, i64 %14, i64 4096)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 1\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = add i64 %1, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %14, i32 %19)\n store i64 %24, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_7:\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n switch i32 %19, label LBL_8 [\n i32 -3, label LBL_12\n i32 0, label LBL_12\n ]\n LBL_8:\n %25 = icmp eq i32 %19, -1\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_10, label LBL_9\n LBL_9:\n %27 = load i32, i32* %6, align 4\n %28 = icmp eq i32 %27, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %28, label LBL_10, label LBL_12\n LBL_10:\n %29 = icmp eq i32 %19, -4\n %30 = icmp eq i1 %29, false\n store i64 -5, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_11, label LBL_12\n LBL_11:\n %sext4 = mul i64 %18, 4294967296\n %31 = ashr exact i64 %sext4, 32\n store i64 %31, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %32 = call i64 @FUNC(i64 %14)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %19, { 1, 3, 0, 2, 4 }\n uselistorder i64 %14, { 1, 0, 2, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder label LBL_13, { 4, 0, 1, 3, 2 }\n uselistorder label LBL_12, { 4, 0, 1, 3, 2, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "io_uring_get_fd_19299", "fun_name": "io_uring_get_fd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 524290)\n %1 = trunc i64 %0 to i32\n %2 = icmp slt i32 %1, 0\n store i64 %0, i64* %storemerge.in.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1, i64 %3, i64 524290)\n %5 = icmp ult i64 %4, -1000\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = and i64 %0, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n store i64 %4, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_3:\n %sext = mul i64 %4, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = and i64 %0, 4294967295\n %10 = call i64 @FUNC(i64 %9, i64 %8)\n store i64 %0, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @get_unused_fd_flags, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "estimate_pid_constants_4011", "fun_name": "estimate_pid_constants", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %.reg2mem14 = alloca i64\n %.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %spec.select = select i1 %4, i32 %2, i32 0\n %5 = trunc i64 %arg4 to i32\n %6 = sub i32 %5, %spec.select\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_8, label LBL_1\n LBL_1:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp ne i32 %12, 0\n %14 = trunc i64 %arg5 to i8\n %15 = icmp eq i8 %14, 0\n %or.cond = icmp eq i1 %15, %13\n store i64 %10, i64* %.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %16 = and i64 %arg2, 4294967295\n %17 = call i64 @FUNC(i64 %16)\n %18 = load i64, i64* %9, align 8\n %.lhs.trunc10 = trunc i64 %17 to i32\n %19 = udiv i32 %.lhs.trunc10, %6\n %20 = inttoptr i64 %18 to i32*\n store i32 %19, i32* %20, align 4\n %.pre = load i64, i64* %9, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %21 = add i64 %.reload, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp ne i32 %23, 0\n %or.cond9 = icmp eq i1 %15, %24\n store i64 %.reload, i64* %.reg2mem14\n br i1 %or.cond9, label LBL_5, label LBL_4\n LBL_4:\n %25 = mul i64 %arg2, 2\n %26 = and i64 %25, 4294967294\n %27 = call i64 @FUNC(i64 %26)\n %28 = load i64, i64* %9, align 8\n %.lhs.trunc = trunc i64 %27 to i32\n %29 = udiv i32 %.lhs.trunc, %6\n %30 = add i64 %28, 4\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %.pre13 = load i64, i64* %9, align 8\n store i64 %.pre13, i64* %.reg2mem14\n br label LBL_5\n LBL_5:\n %.reload15 = load i64, i64* %.reg2mem14\n %32 = add i64 %.reload15, 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_7, label LBL_6\n LBL_6:\n %36 = zext i32 %34 to i64\n store i64 %36, i64* %rax.0.reg2mem\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %37 = call i64 @FUNC(i64 10)\n %38 = load i64, i64* %9, align 8\n %39 = and i64 %37, 4294967295\n %narrow = mul nuw nsw i64 %39, 274877907\n %40 = udiv i64 %narrow, 274877906944\n %41 = trunc i64 %40 to i32\n %42 = add i64 %38, 8\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %34, { 1, 0 }\n uselistorder i1 %15, { 2, 0, 1 }\n uselistorder i64* %9, { 4, 0, 3, 1, 2, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @int_to_frac, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cslg_dump_9020", "fun_name": "cslg_dump", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %3 = add i64 %arg1, 12\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %arg1, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %arg1, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = and i64 %1, 4294967295\n %14 = zext i32 %5 to i64\n %15 = zext i32 %8 to i64\n %16 = inttoptr i64 %arg2 to %_IO_FILE*\n %17 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([110 x i8], [110 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %12, i64 %15, i64 %14)\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %arg2)\n ret i64 0\n\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "write_cvid_header_3206", "fun_name": "write_cvid_header", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = trunc i64 %arg5 to i32\n %5 = icmp eq i32 %4, 0\n %6 = zext i1 %5 to i8\n %7 = bitcast i64* %arg2 to i8*\n store i8 %6, i8* %7, align 1\n %8 = add i32 %arg4, 12\n %9 = add i64 %2, 1\n %10 = zext i32 %8 to i64\n %11 = call i64 @FUNC(i64 %9, i64 %10)\n %12 = add i64 %2, 4\n %13 = and i64 %1, 4294967295\n %14 = call i64 @FUNC(i64 %12, i64 %13)\n %15 = add i64 %3, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %2, 6\n %19 = zext i32 %17 to i64\n %20 = call i64 @FUNC(i64 %18, i64 %19)\n %21 = add i64 %2, 8\n %22 = zext i32 %arg3 to i64\n %23 = call i64 @FUNC(i64 %21, i64 %22)\n ret i64 12\n\n uselistorder i64 (i64, i64)* @AV_WB16, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dccp_deliver_input_to_ccids_7974", "fun_name": "dccp_deliver_input_to_ccids", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %5 = urem i32 %4, 2\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = inttoptr i64 %3 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = ptrtoint i32* %arg2 to i64\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %2, i64 %10)\n br label LBL_2\n LBL_2:\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp slt i32 %15, 0\n %18 = icmp eq i1 %17, false\n %19 = icmp eq i1 %16, false\n %20 = icmp eq i1 %18, %19\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = and i32 %4, 2\n %22 = zext i32 %21 to i64\n %23 = icmp eq i32 %21, 0\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = add i64 %3, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = ptrtoint i32* %arg2 to i64\n %29 = zext i32 %27 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %2, i64 %28)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %15, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flush_thread_7040", "fun_name": "flush_thread", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, ptrtoint (i64* @gv_1 to i64)\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i64 %0, i64* %1, align 8\n %5 = load i64, i64* @gv_0, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %5, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__rta_reserve_5692", "fun_name": "__rta_reserve", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, 8\n %5 = add nsw i64 %2, 11\n %6 = and i64 %5, 4294967292\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %1, i32* %9, align 4\n %10 = inttoptr i64 %7 to i32*\n store i32 %4, i32* %10, align 4\n %11 = add i32 %3, 11\n %12 = and i32 %11, -4\n %13 = sub i32 %12, %4\n %14 = add nsw i64 %2, 8\n %15 = add i64 %14, %7\n %16 = inttoptr i64 %15 to i64*\n %17 = call i64* @memset(i64* %16, i32 0, i32 %13)\n ret i64 %7\n\n uselistorder i32 %4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_slirp_init_1099", "fun_name": "net_slirp_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i32 1, i32* @gv_0, align 4\n %3 = load i64, i64* @gv_1, align 8\n %4 = load i64, i64* @gv_2, align 8\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = ptrtoint i8* %arg3 to i64\n %8 = ptrtoint i8* %arg2 to i64\n %9 = call i64 @FUNC(i64 %6, i64 %8, i64 %7, i64 4198712, i64 0, i64 0)\n %10 = inttoptr i64 %9 to i8*\n store i8* %10, i8** @gv_3, align 8\n store i8 0, i8* %10, align 1\n ret i64 0\n\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "addr2str_15411", "fun_name": "addr2str", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8** getelementptr inbounds ([3 x i8*], [3 x i8*]* @gv_0, i64 0, i64 0), i64 3, i64 %arg1)\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "aux_slave_dev_print_1588", "fun_name": "aux_slave_dev_print", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %2, i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i64, i64* %8, align 8\n %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %13 = ptrtoint i32* %arg1 to i64\n %14 = and i64 %12, 4294967295\n %15 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i32 %arg3, i64* nonnull @gv_2, i64 %14, i64 %10)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_hevc_cu_qp_delta_abs_925", "fun_name": "ff_hevc_cu_qp_delta_abs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.06.reg2mem = alloca i32\n %sv_0.18.reg2mem = alloca i32\n %.in.reg2mem = alloca i32\n %storemerge2.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.09.reg2mem = alloca i32\n %storemerge210.reg2mem = alloca i32\n %sv_1.011.reg2mem = alloca i32\n %storemerge312.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* %storemerge312.reg2mem\n store i32 0, i32* %sv_1.011.reg2mem\n br label LBL_3\n LBL_1:\n %4 = add nuw nsw i32 %sv_1.011.reload, 1\n %5 = icmp ugt i32 %sv_1.011.reload, 3\n store i32 1, i32* %storemerge312.reg2mem\n store i32 %4, i32* %sv_1.011.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i64*\n store i32 0, i32* %storemerge210.reg2mem\n store i32 0, i32* %sv_0.09.reg2mem\n br label LBL_5\n LBL_3:\n %sv_1.011.reload = load i32, i32* %sv_1.011.reg2mem\n %storemerge312.reload = load i32, i32* %storemerge312.reg2mem\n %8 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %9 = add i32 %8, %storemerge312.reload\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i32 %sv_1.011.reload, i32* %sv_1.06.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %14, label LBL_1, label LBL_10\n LBL_4:\n %15 = shl i32 1, %storemerge210.reload\n %16 = add i32 %15, %sv_0.09.reload\n %17 = add nuw nsw i32 %storemerge210.reload, 1\n %18 = icmp ugt i32 %storemerge210.reload, 6\n store i32 %17, i32* %storemerge210.reg2mem\n store i32 %16, i32* %sv_0.09.reg2mem\n store i32 %16, i32* %sv_0.0.lcssa.reg2mem\n store i32 %17, i32* %storemerge2.lcssa.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem\n %storemerge210.reload = load i32, i32* %storemerge210.reg2mem\n %19 = load i64, i64* %7, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 %sv_0.09.reload, i32* %sv_0.0.lcssa.reg2mem\n store i32 %storemerge210.reload, i32* %storemerge2.lcssa.reg2mem\n br i1 %23, label LBL_4, label LBL_6\n LBL_6:\n %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem\n %24 = icmp eq i32 %storemerge2.lcssa.reload, 8\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_7, label LBL_8\n LBL_7:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %26 = icmp eq i32 %storemerge2.lcssa.reload, 0\n %27 = icmp eq i1 %26, false\n store i32 %storemerge2.lcssa.reload, i32* %.in.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.18.reg2mem\n store i32 %4, i32* %sv_1.06.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.2.reg2mem\n br i1 %27, label LBL_9, label LBL_10\n LBL_8:\n %28 = zext i32 %storemerge2.lcssa.reload to i64\n %29 = call i64 @FUNC(i64 %19, i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %28, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_9:\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %30 = add i32 %.in.reload, -1\n %31 = load i64, i64* %7, align 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = urem i32 %30, 32\n %34 = icmp eq i32 %33, 0\n %35 = trunc i64 %32 to i32\n %36 = shl i32 %35, %33\n %37 = zext i32 %36 to i64\n %rdx.0 = select i1 %34, i64 %32, i64 %37\n %38 = trunc i64 %rdx.0 to i32\n %39 = add i32 %sv_0.18.reload, %38\n %40 = icmp eq i32 %30, 0\n %41 = icmp eq i1 %40, false\n store i32 %30, i32* %.in.reg2mem\n store i32 %39, i32* %sv_0.18.reg2mem\n store i32 %4, i32* %sv_1.06.reg2mem\n store i32 %39, i32* %sv_0.2.reg2mem\n br i1 %41, label LBL_9, label LBL_10\n LBL_10:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem\n %42 = add i32 %sv_0.2.reload, %sv_1.06.reload\n %43 = zext i32 %42 to i64\n store i64 %43, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %33, { 1, 0 }\n uselistorder i32 %30, { 0, 2, 1 }\n uselistorder i32 %storemerge2.lcssa.reload, { 2, 0, 3, 1 }\n uselistorder i32 %storemerge210.reload, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge2.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.18.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.06.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @get_cabac_bypass, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4 }\n uselistorder i32 0, { 7, 6, 5, 8, 0, 9, 1, 2, 3, 4 }\n uselistorder label LBL_10, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iakerb_gss_export_sec_context_13453", "fun_name": "iakerb_gss_export_sec_context", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = ptrtoint i64* %arg3 to i64\n %8 = add i64 %5, 8\n %9 = call i64 @FUNC(i64 %6, i64 %8, i64 %7)\n %10 = inttoptr i64 %8 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %9, i64* %storemerge.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %arg2, align 8\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdp_probe_15935", "fun_name": "sdp_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = sext i32 %3 to i64\n %5 = add i64 %4, %0\n %6 = icmp ugt i64 %5, %0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_10, label LBL_1\n LBL_1:\n %8 = add i64 %5, -1\n store i64 %0, i64* %sv_0.13.reg2mem\n br label LBL_9\n LBL_2:\n %9 = add i64 %sv_0.13.reload, 7\n %10 = icmp ugt i64 %5, %9\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %11 = call i64 @FUNC(i64 %sv_0.13.reload, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 50, i64* %storemerge.reg2mem\n br i1 %13, label LBL_4, label LBL_10\n LBL_4:\n %14 = icmp ult i64 %sv_0.13.reload, %8\n %15 = icmp eq i1 %14, false\n store i64 %sv_0.13.reload, i64* %sv_0.01.reg2mem\n store i64 %sv_0.13.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %15, label LBL_7, label LBL_6\n LBL_5:\n %16 = add i64 %sv_0.01.reload, 1\n %17 = icmp ult i64 %16, %8\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %sv_0.01.reg2mem\n store i64 %16, i64* %sv_0.0.lcssa.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %19 = inttoptr i64 %sv_0.01.reload to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 10\n %22 = icmp eq i1 %21, false\n store i64 %sv_0.01.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_5, label LBL_7\n LBL_7:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %23 = add i64 %sv_0.0.lcssa.reload, 1\n %24 = icmp ult i64 %23, %5\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %25, label LBL_10, label LBL_8\n LBL_8:\n %26 = inttoptr i64 %23 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 13\n %29 = icmp eq i1 %28, false\n %30 = add i64 %sv_0.0.lcssa.reload, 2\n %spec.select = select i1 %29, i64 %23, i64 %30\n %31 = icmp ult i64 %spec.select, %5\n %32 = icmp eq i1 %31, false\n store i64 %spec.select, i64* %sv_0.13.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %33 = inttoptr i64 %sv_0.13.reload to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp eq i8 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %36, label LBL_2, label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.13.reload, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %5, { 3, 1, 4, 2, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.01.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4, 5 }\n uselistorder label LBL_10, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vfio_calxeda_xgmac_class_init_796", "fun_name": "vfio_calxeda_xgmac_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sync_927", "fun_name": "sync", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.be.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %storemerge3.lcssa.reg2mem = alloca i32\n %storemerge35.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge11.reg2mem = alloca i32\n %sv_0.29.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to %_IO_FILE*\n %8 = call i32 @feof(%_IO_FILE* %7)\n %9 = icmp eq i32 %8, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_16\n LBL_1:\n %10 = inttoptr i64 %3 to i32*\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = bitcast i64* %arg3 to i32*\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i32*\n store i32 -1, i32* %sv_0.29.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.29.reload = load i32, i32* %sv_0.29.reg2mem\n %16 = call i32 @ftell(%_IO_FILE* %7)\n %17 = sext i32 %16 to i64\n %18 = add nsw i64 %17, -3\n store i64 %18, i64* %arg5, align 8\n %19 = load i32, i32* %10, align 4\n %20 = icmp slt i32 %19, 1\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = load i32, i32* %12, align 4\n store i64 -1, i64* %arg2, align 8\n store i32 0, i32* %storemerge11.reg2mem\n store i32 %sv_0.29.reload, i32* %sv_0.0.reg2mem\n store i32 %21, i32* %sv_2.0.reg2mem\n store i32 %19, i32* %sv_1.0.reg2mem\n br label LBL_8\n LBL_4:\n %22 = mul i32 %sv_0.29.reload, 256\n %23 = call i32 @fgetc(%_IO_FILE* %7)\n %24 = add i32 %23, %22\n %25 = icmp eq i32 %24, 1229866072\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i32 @fgetc(%_IO_FILE* %7)\n %28 = mul i32 %27, 256\n %29 = call i32 @fgetc(%_IO_FILE* %7)\n %30 = or i32 %29, %28\n %31 = add i32 %30, -6\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i32 %24, i32* %sv_0.1.reg2mem\n store i32 %31, i32* %sv_1.1.reg2mem\n store i32 %24, i32* %sv_0.2.be.reg2mem\n br i1 %33, label LBL_13, label LBL_14\n LBL_6:\n %.off = add i32 %24, -12\n %34 = icmp ugt i32 %.off, 65523\n store i32 %24, i32* %sv_0.2.be.reg2mem\n br i1 %34, label LBL_14, label LBL_7\n LBL_7:\n %35 = call i32 @fgetc(%_IO_FILE* %7)\n %36 = mul i32 %35, 256\n %37 = call i32 @fgetc(%_IO_FILE* %7)\n %38 = or i32 %37, %36\n %39 = call i32 @fgetc(%_IO_FILE* %7)\n %40 = mul i32 %39, 16777216\n %41 = call i32 @fgetc(%_IO_FILE* %7)\n %42 = mul i32 %41, 65536\n %43 = or i32 %42, %40\n %44 = call i32 @fgetc(%_IO_FILE* %7)\n %45 = mul i32 %44, 256\n %46 = or i32 %43, %45\n %47 = call i32 @fgetc(%_IO_FILE* %7)\n %48 = or i32 %46, %47\n %49 = sext i32 %48 to i64\n store i64 %49, i64* %arg2, align 8\n %50 = call i32 @fgetc(%_IO_FILE* %7)\n %51 = call i32 @fgetc(%_IO_FILE* %7)\n store i32 %51, i32* %storemerge11.reg2mem\n store i32 -1, i32* %sv_0.0.reg2mem\n store i32 %38, i32* %sv_2.0.reg2mem\n store i32 %.off, i32* %sv_1.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n store i32 %storemerge11.reload, i32* %13, align 4\n %52 = load i32, i32* %15, align 4\n %53 = icmp eq i32 %52, 0\n store i32 0, i32* %storemerge3.lcssa.reg2mem\n br i1 %53, label LBL_12, label LBL_9\n LBL_9:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %54 = zext i32 %52 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge35.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %55 = mul i64 %.reload, 8\n %56 = add i64 %55, %6\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = icmp eq i32 %sv_2.0.reload, %60\n store i32 %storemerge35.reload, i32* %storemerge3.lcssa.reg2mem\n br i1 %61, label LBL_12, label LBL_11\n LBL_11:\n %62 = add i32 %storemerge35.reload, 1\n %63 = sext i32 %62 to i64\n %64 = icmp slt i64 %63, %54\n store i64 %63, i64* %.reg2mem\n store i32 %62, i32* %storemerge35.reg2mem\n store i32 %62, i32* %storemerge3.lcssa.reg2mem\n br i1 %64, label LBL_10, label LBL_12\n LBL_12:\n %storemerge3.lcssa.reload = load i32, i32* %storemerge3.lcssa.reg2mem\n %65 = icmp eq i32 %storemerge3.lcssa.reload, %52\n %66 = icmp eq i1 %65, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n br i1 %66, label LBL_15, label LBL_13\n LBL_13:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %67 = call i32 @fseek(%_IO_FILE* %7, i32 %sv_1.1.reload, i32 1)\n store i32 0, i32* %10, align 4\n store i32 %sv_0.1.reload, i32* %sv_0.2.be.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.2.be.reload = load i32, i32* %sv_0.2.be.reg2mem\n %68 = call i32 @feof(%_IO_FILE* %7)\n %69 = icmp eq i32 %68, 0\n store i32 %sv_0.2.be.reload, i32* %sv_0.29.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %69, label LBL_2, label LBL_16\n LBL_15:\n %70 = bitcast i64* %arg4 to i32*\n store i32 %storemerge3.lcssa.reload, i32* %70, align 4\n %71 = zext i32 %sv_1.0.reload to i64\n store i64 %71, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge3.lcssa.reload, { 1, 0 }\n uselistorder i32 %storemerge35.reload, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %24, { 1, 3, 0, 2, 4 }\n uselistorder i32 %sv_0.29.reload, { 1, 0 }\n uselistorder %_IO_FILE* %7, { 14, 3, 5, 4, 6, 8, 7, 11, 10, 9, 2, 1, 12, 13, 0 }\n uselistorder i32* %sv_0.29.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge3.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.be.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 (%_IO_FILE*)* @fgetc, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 7, 5, 1, 0, 3, 6, 2, 4 }\n uselistorder i32 (%_IO_FILE*)* @feof, { 1, 0 }\n uselistorder label LBL_16, { 2, 0, 1 }\n uselistorder label LBL_14, { 0, 2, 1 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_block_to_path_13792", "fun_name": "ext4_block_to_path", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp ult i64 %arg2, 12\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n store i64 %arg2, i64* %arg3, align 8\n store i64 %arg2, i64* %sv_2.0.reg2mem\n store i64 1, i64* %sv_1.0.reg2mem\n store i32 12, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_2:\n %4 = ptrtoint i64* %arg3 to i64\n %5 = add i64 %arg2, -12\n %6 = icmp ult i64 %5, 256\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n store i64 12, i64* %arg3, align 8\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %5, i64* %9, align 8\n store i64 %5, i64* %sv_2.0.reg2mem\n store i64 2, i64* %sv_1.0.reg2mem\n store i32 256, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_4:\n %10 = add i64 %arg2, -268\n %11 = icmp ult i64 %10, 65536\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n store i64 13, i64* %arg3, align 8\n %13 = add i64 %4, 8\n %14 = udiv i64 %10, 256\n %15 = inttoptr i64 %13 to i64*\n store i64 %14, i64* %15, align 8\n %16 = add i64 %4, 16\n %17 = urem i64 %10, 256\n %18 = inttoptr i64 %16 to i64*\n store i64 %17, i64* %18, align 8\n store i64 %10, i64* %sv_2.0.reg2mem\n store i64 3, i64* %sv_1.0.reg2mem\n store i32 256, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %19 = add i64 %arg2, -65804\n %20 = icmp ult i64 %19, 16777216\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n store i64 14, i64* %arg3, align 8\n %22 = add i64 %4, 8\n %23 = udiv i64 %19, 65536\n %24 = inttoptr i64 %22 to i64*\n store i64 %23, i64* %24, align 8\n %25 = udiv i64 %19, 256\n %26 = add i64 %4, 16\n %27 = urem i64 %25, 256\n %28 = inttoptr i64 %26 to i64*\n store i64 %27, i64* %28, align 8\n %29 = add i64 %4, 24\n %30 = urem i64 %19, 256\n %31 = inttoptr i64 %29 to i64*\n store i64 %30, i64* %31, align 8\n store i64 %19, i64* %sv_2.0.reg2mem\n store i64 4, i64* %sv_1.0.reg2mem\n store i32 256, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %32 = ptrtoint i64* %arg1 to i64\n %33 = add i64 %32, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %35, i64 %1)\n store i64 %19, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %37 = icmp eq i64* %arg4, null\n br i1 %37, label LBL_11, label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %38 = trunc i64 %sv_2.0.reload to i32\n %39 = urem i32 %38, 256\n %40 = sub i32 0, %39\n %41 = sub i32 %40, 1\n %42 = add nsw i32 %sv_0.0.reload, %41\n %43 = bitcast i64* %arg4 to i32*\n store i32 %42, i32* %43, align 4\n br label LBL_11\n LBL_11:\n ret i64 %sv_1.0.reload\n\n uselistorder i64 %19, { 1, 0, 4, 2, 3, 5 }\n uselistorder i64 %10, { 0, 2, 1, 3 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %4, { 0, 4, 5, 1, 2, 3 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 256, { 3, 2, 1, 0 }\n uselistorder i64 8, { 3, 2, 0, 1 }\n uselistorder i64 256, { 1, 2, 0, 4, 3, 5 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64* %arg3, { 0, 1, 2, 4, 3 }\n uselistorder i64 %arg2, { 1, 2, 3, 4, 0, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ofputil_encode_barrier_request_10230", "fun_name": "ofputil_encode_barrier_request", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = icmp eq i32 %0, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, -1\n %5 = icmp ult i32 %4, 6\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC()\n unreachable\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %storemerge.reload, i64 %7, i64 0)\n ret i64 %8\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_parse_cache_flags_8851", "fun_name": "bdrv_parse_cache_flags", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i32 %2, -16\n %4 = bitcast i64* %arg2 to i32*\n store i32 %3, i32* %4, align 4\n %5 = inttoptr i64 %arg1 to i8*\n %6 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = or i32 %2, 3\n store i32 %11, i32* %4, align 4\n br label LBL_10\n LBL_3:\n %12 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = or i32 %2, 1\n store i32 %15, i32* %4, align 4\n br label LBL_10\n LBL_5:\n %16 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = or i32 %2, 2\n store i32 %19, i32* %4, align 4\n br label LBL_10\n LBL_7:\n %20 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_9, label LBL_8\n LBL_8:\n %23 = or i32 %2, 4\n store i32 %23, i32* %4, align 4\n br label LBL_10\n LBL_9:\n %24 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0))\n %25 = icmp eq i32 %24, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %25, label LBL_10, label LBL_11\n LBL_10:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %4, { 2, 1, 0, 3, 4 }\n uselistorder i32 %2, { 1, 2, 3, 0, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_stream_1212", "fun_name": "free_stream", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem11 = alloca i64\n %.reg2mem9 = alloca i64\n %storemerge14.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_15, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = add i64 %arg1, 8\n br i1 %4, label LBL_4, label LBL_2\n LBL_2:\n %6 = inttoptr i64 %5 to i64*\n %7 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge14.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %8 = load i64, i64* %6, align 8\n %9 = mul i64 %.reload, 8\n %10 = add i64 %8, %9\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i32 %storemerge14.reload, 1\n %13 = sext i32 %12 to i64\n %14 = icmp sgt i64 %7, %13\n store i64 %13, i64* %.reg2mem\n store i32 %12, i32* %storemerge14.reg2mem\n br i1 %14, label LBL_3, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %5)\n %16 = add i64 %arg1, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %18)\n br label LBL_6\n LBL_6:\n %21 = add i64 %arg1, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC(i64 %21)\n br label LBL_8\n LBL_8:\n %26 = add i64 %arg1, 32\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_12, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %28)\n %31 = load i64, i64* %27, align 8\n %32 = add i64 %31, 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %34, 0\n store i64 0, i64* %.reg2mem9\n store i64 %31, i64* %.reg2mem11\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %31, i64* %.lcssa.reg2mem\n br i1 %35, label LBL_11, label LBL_10\n LBL_10:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload12 = load i64, i64* %.reg2mem11\n %.reload10 = load i64, i64* %.reg2mem9\n %36 = add i64 %.reload12, 16\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = mul i64 %.reload10, 8\n %40 = add i64 %38, %39\n %41 = call i64 @FUNC(i64 %40)\n %42 = load i64, i64* %27, align 8\n %43 = add i64 %42, 16\n %44 = call i64 @FUNC(i64 %43)\n %45 = add i32 %storemerge3.reload, 1\n %46 = load i64, i64* %27, align 8\n %47 = add i64 %46, 8\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = zext i32 %49 to i64\n %51 = sext i32 %45 to i64\n %52 = icmp slt i64 %51, %50\n store i64 %51, i64* %.reg2mem9\n store i64 %46, i64* %.reg2mem11\n store i32 %45, i32* %storemerge3.reg2mem\n store i64 %46, i64* %.lcssa.reg2mem\n br i1 %52, label LBL_10, label LBL_11\n LBL_11:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %53 = add i64 %.lcssa.reload, 24\n %54 = call i64 @FUNC(i64 %53)\n %55 = load i64, i64* %27, align 8\n %56 = add i64 %55, 32\n %57 = call i64 @FUNC(i64 %56)\n br label LBL_12\n LBL_12:\n %58 = call i64 @FUNC(i64 %26)\n %59 = add i64 %arg1, 40\n %60 = call i64 @FUNC(i64 %59)\n %61 = add i64 %arg1, 48\n %62 = call i64 @FUNC(i64 %61)\n %63 = add i64 %arg1, 56\n %64 = call i64 @FUNC(i64 %63)\n %65 = add i64 %arg1, 64\n %66 = call i64 @FUNC(i64 %65)\n %67 = add i64 %arg1, 80\n %68 = call i64 @FUNC(i64 %67)\n %69 = add i64 %arg1, 88\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = icmp eq i64 %71, 0\n br i1 %72, label LBL_14, label LBL_13\n LBL_13:\n %73 = call i64 @FUNC(i64 %71)\n br label LBL_14\n LBL_14:\n %74 = call i64 @FUNC(i64 %69)\n %75 = add i64 %arg1, 96\n %76 = call i64 @FUNC(i64 %75)\n %77 = add i64 %arg1, 104\n %78 = call i64 @FUNC(i64 %77)\n %79 = call i64 @FUNC(i64 %arg1)\n store i64 %79, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %27, { 1, 3, 2, 0, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem9, { 2, 0, 1 }\n uselistorder i64* %.reg2mem11, { 2, 0, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @av_freep, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 0, 1 }\n uselistorder i64 8, { 3, 0, 2, 1, 4 }\n uselistorder i32 0, { 0, 2, 1, 3 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drbd_accept_18421", "fun_name": "drbd_accept", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n store i64 ptrtoint ([7 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n store i64* %arg2, i64** %sv_0.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n store i64 ptrtoint ([17 x i8]* @gv_1 to i64), i64* %arg1, align 8\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = and i64 %1, 4294967295\n %13 = call i64 @FUNC(i64 %12, i32 %11, i32 %8, i64 %5)\n %14 = trunc i64 %13 to i32\n %15 = and i64 %13, 4294967295\n %16 = inttoptr i64 %15 to i64*\n %17 = icmp slt i32 %14, 0\n store i64* %16, i64** %sv_0.0.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %arg1, align 8\n %18 = and i64 %2, 4294967295\n %19 = inttoptr i64 %18 to i64*\n %20 = inttoptr i64 %6 to i64*\n %21 = load i64, i64* %20, align 8\n store i64 %21, i64* inttoptr (i64 8 to i64*), align 8\n store i64* %19, i64** %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem\n %22 = ptrtoint i64* %sv_0.0.reload to i64\n %23 = and i64 %22, 4294967295\n ret i64 %23\n\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "LockServer_7723", "fun_name": "LockServer", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %4 = load i32, i32* @gv_0, align 4\n %5 = zext i32 %4 to i64\n %6 = icmp eq i32 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_26, label LBL_1\n LBL_1:\n %8 = load i64*, i64** @gv_1, align 8\n %9 = bitcast i64* %8 to i8*\n %10 = call i32 @atoi(i8* %9)\n %11 = zext i32 %10 to i64\n %12 = bitcast i64* %sv_5 to i8*\n %13 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %11)\n %14 = call i32 @strlen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %15 = call i32 @strlen(i8* nonnull %12)\n %16 = add i32 %15, %14\n %17 = add i32 %16, 15\n %18 = icmp ult i32 %17, 4097\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = zext i32 %16 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_5, i64 %19, i64 %3, i64 %2, i64 %1)\n unreachable\n LBL_3:\n %21 = bitcast i64* %sv_4 to i8*\n %22 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %21, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_5)\n %23 = ptrtoint i64* %sv_5 to i64\n %24 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_5)\n store i32 1, i32* inttoptr (i64 4215012 to i32*), align 4\n store i32 0, i32* %sv_1.0.reg2mem\n br label LBL_4\n LBL_4:\n %25 = call i32 (i8*, i32, ...) @open(i8* nonnull %21, i32 193)\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i32 %25, i32* %sv_0.0.reg2mem\n br i1 %27, label LBL_9, label LBL_5\n LBL_5:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %28 = add nuw nsw i32 %sv_1.0.reload, 1\n %29 = call i32 @sleep(i32 2)\n %30 = icmp ult i32 %28, 3\n store i32 %28, i32* %sv_1.0.reg2mem\n br i1 %30, label LBL_4, label LBL_6\n LBL_6:\n %31 = call i32 @unlink(i8* nonnull %21)\n store i32 0, i32* %sv_1.1.reg2mem\n br label LBL_7\n LBL_7:\n %32 = call i32 (i8*, i32, ...) @open(i8* nonnull %21, i32 193)\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i32 %32, i32* %sv_0.0.reg2mem\n br i1 %34, label LBL_9, label LBL_8\n LBL_8:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %35 = add nuw nsw i32 %sv_1.1.reload, 1\n %36 = call i32 @sleep(i32 2)\n %37 = icmp ult i32 %35, 3\n store i32 %35, i32* %sv_1.1.reg2mem\n store i32 %32, i32* %sv_0.0.reg2mem\n br i1 %37, label LBL_7, label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %38 = icmp slt i32 %sv_0.0.reload, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_4, i64 420, i64 %23, i64 %2, i64 %1)\n unreachable\n LBL_11:\n %41 = call i32 @getpid()\n %42 = bitcast i64* %sv_3 to i8*\n %43 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %42, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0), i32 %41)\n %44 = ptrtoint i64* %sv_3 to i64\n %45 = call i32 @write(i32 %sv_0.0.reload, i64* nonnull %sv_3, i32 11)\n %46 = call i32 @chmod(i8* nonnull %21, i32 292)\n %47 = call i32 @close(i32 %sv_0.0.reload)\n store i32 1, i32* %.reg2mem\n br label LBL_12\n LBL_12:\n %48 = call i32 @link(i8* nonnull %21, i8* bitcast (i8** @gv_6 to i8*))\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_25, label LBL_13\n LBL_13:\n %.reload = load i32, i32* %.reg2mem\n %52 = call i32 (i8*, i32, ...) @open(i8* bitcast (i8** @gv_6 to i8*), i32 0)\n %53 = icmp slt i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_15, label LBL_14\n LBL_14:\n %55 = zext i32 %.reload to i64\n %56 = call i32 @unlink(i8* nonnull %21)\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_10, i64 0, i64 0), i64* bitcast (i8** @gv_6 to i64*), i64 %55, i64 %44, i64 %2, i64 %1)\n unreachable\n LBL_15:\n store i64 0, i64* %sv_3, align 8\n %58 = call i32 @read(i32 %52, i64* nonnull %sv_3, i32 11)\n %59 = icmp eq i32 %58, 11\n br i1 %59, label LBL_18, label LBL_16\n LBL_16:\n %60 = call i32 @unlink(i8* bitcast (i8** @gv_6 to i8*))\n %61 = call i32 @close(i32 %52)\n br label LBL_17\n LBL_17:\n %62 = add nuw nsw i32 %.reload, 1\n %63 = icmp ult i32 %.reload, 3\n store i32 %62, i32* %.reg2mem\n br i1 %63, label LBL_12, label LBL_24\n LBL_18:\n %64 = call i32 (i8*, i8*, ...) @sscanf(i8* nonnull %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_2)\n %65 = call i32 @close(i32 %52)\n %66 = call i32* @__errno_location()\n store i32 0, i32* %66, align 4\n %67 = load i64, i64* %sv_2, align 8\n %68 = trunc i64 %67 to i32\n %69 = call i32 @kill(i32 %68, i32 0)\n %70 = icmp slt i32 %69, 0\n %71 = icmp eq i1 %70, false\n br i1 %71, label LBL_22, label LBL_19\n LBL_19:\n %72 = call i32* @__errno_location()\n %73 = load i32, i32* %72, align 4\n %74 = icmp eq i32 %73, 3\n %75 = icmp eq i1 %74, false\n br i1 %75, label LBL_21, label LBL_20\n LBL_20:\n %76 = call i32 @unlink(i8* bitcast (i8** @gv_6 to i8*))\n br label LBL_17\n LBL_21:\n %77 = call i32* @__errno_location()\n %78 = load i32, i32* %77, align 4\n %79 = icmp eq i32 %78, 1\n br i1 %79, label LBL_23, label LBL_22\n LBL_22:\n %80 = icmp eq i32 %69, 0\n %81 = icmp eq i1 %80, false\n br i1 %81, label LBL_17, label LBL_23\n LBL_23:\n %82 = call i32 @unlink(i8* nonnull %21)\n %83 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_11, i64 0, i64 0), i64* nonnull %sv_5, i64 ptrtoint ([45 x i8]* @gv_12 to i64), i64 ptrtoint (i8** @gv_6 to i64), i64 ptrtoint ([18 x i8]* @gv_13 to i64), i64 %1)\n unreachable\n LBL_24:\n %84 = call i32 @unlink(i8* nonnull %21)\n %rdx.2 = zext i32 %62 to i64\n %85 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_14, i64 0, i64 0), i64* bitcast (i8** @gv_6 to i64*), i64 %rdx.2, i64 %44, i64 %2, i64 %1)\n unreachable\n LBL_25:\n %86 = call i32 @unlink(i8* nonnull %21)\n %87 = sext i32 %86 to i64\n store i32 0, i32* bitcast (i64* @gv_15 to i32*), align 8\n store i64 %87, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_26:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %62, { 1, 0 }\n uselistorder i32 %52, { 1, 0, 2, 3 }\n uselistorder i32 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i32 %32, { 1, 0, 2 }\n uselistorder i8* %21, { 0, 6, 4, 3, 5, 7, 1, 2, 8, 9 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i64* %sv_5, { 2, 0, 5, 1, 3, 4 }\n uselistorder i64* %sv_3, { 0, 3, 1, 4, 2 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.1.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i64* bitcast (i8** @gv_6 to i64*), { 1, 0 }\n uselistorder i32 (i32)* @close, { 2, 1, 0 }\n uselistorder i32 (i8*)* @unlink, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 (i32)* @sleep, { 1, 0 }\n uselistorder i32 (i8*, i32, ...)* @open, { 2, 1, 0 }\n uselistorder i8** @gv_6, { 2, 0, 1 }\n uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @FatalError, { 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), { 1, 0, 2 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 0, 3, 2, 1 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9 }\n uselistorder i32 0, { 5, 6, 7, 2, 8, 9, 3, 10, 11, 12, 0, 13, 1, 14, 4 }\n uselistorder i32 1, { 9, 10, 4, 17, 18, 19, 15, 14, 13, 12, 8, 7, 6, 5, 3, 2, 11, 16, 1, 0 }\n uselistorder label LBL_26, { 1, 0 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_17, { 2, 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "avs_decode_init_17496", "fun_name": "avs_decode_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %4, align 4\n %5 = call i64 @FUNC(i64 %3)\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xen_irq_lateeoi_locked_7175", "fun_name": "xen_irq_lateeoi_locked", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %3, 4294967295\n %5 = xor i64 %4, 1\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %8, label LBL_6, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = add i64 %9, 16\n %11 = call i64 @FUNC(i64 %10)\n %12 = and i64 %11, 4294967295\n %13 = xor i64 %12, 1\n %14 = trunc i64 %13 to i8\n %15 = icmp eq i8 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_2\n LBL_2:\n %17 = add i64 %9, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_5, label LBL_3\n LBL_3:\n %21 = add i64 %9, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %9, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %28 = zext i32 %27 to i64\n %29 = zext i32 %23 to i64\n %30 = call i64 @FUNC(i64 %28, i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %26, %31\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_5, label LBL_4\n LBL_4:\n %34 = call i64 @FUNC(i64 %9)\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n store i32 0, i32* %18, align 4\n %35 = call i64 @FUNC(i64 %2)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 4294967295, { 2, 3, 0, 1 }\n uselistorder label LBL_6, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_decode_8609", "fun_name": "jpc_decode", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = call i64 @FUNC(i64 100, i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1)\n %6 = call i64 @FUNC(i64 %arg2)\n %7 = icmp eq i64 %6, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_8, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %6, i64 %arg1)\n %10 = icmp eq i64 %9, 0\n %11 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_8, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %9)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_7, label LBL_3\n LBL_3:\n %16 = inttoptr i64 %9 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 3\n %21 = load i64, i64* %16, align 8\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 %21, i64 1)\n %23 = load i64, i64* %16, align 8\n %24 = call i64 @FUNC(i64 %23, i64 0, i64 0)\n %25 = load i64, i64* %16, align 8\n %26 = call i64 @FUNC(i64 %25, i64 1, i64 1)\n %27 = load i64, i64* %16, align 8\n %28 = call i64 @FUNC(i64 %27, i64 2, i64 2)\n br label LBL_6\n LBL_5:\n %29 = call i64 @FUNC(i64 %21, i64 2)\n %30 = load i64, i64* %16, align 8\n %31 = call i64 @FUNC(i64 %30, i64 0, i64 0)\n br label LBL_6\n LBL_6:\n %32 = load i64, i64* %16, align 8\n store i64 0, i64* %16, align 8\n %33 = call i64 @FUNC(i64 %9)\n store i64 %32, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %34 = call i64 @FUNC(i64 %9)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64* %16, { 3, 2, 5, 1, 0, 6, 4, 7 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @jpc_dec_destroy, { 1, 0 }\n uselistorder i64 2, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @jas_image_setcmpttype, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @jas_image_setclrspc, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 1, { 6, 5, 4, 0, 3, 2, 1 }\n uselistorder label LBL_8, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lpfc_sli4_wq_release_3921", "fun_name": "lpfc_sli4_wq_release", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = trunc i64 %arg2 to i32\n %6 = icmp eq i32 %4, %5\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_4\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %8, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = bitcast i64* %arg1 to i32*\n %12 = add i32 %4, 1\n br label LBL_3\n LBL_3:\n %13 = load i32, i32* %10, align 4\n %14 = urem i32 %12, %13\n store i32 %14, i32* %11, align 4\n br label LBL_3\n LBL_4:\n ret i64 0\n\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "of_get_probes_4291", "fun_name": "of_get_probes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in4.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_1.16.reg2mem = alloca i32\n %storemerge37.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %1 = bitcast i32* %sv_2 to i64*\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %1)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = load i32, i32* %sv_2, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i32 0, i32* %storemerge37.reg2mem\n store i32 0, i32* %sv_1.16.reg2mem\n store i64 8, i64* %sv_1.1.lcssa.reg2mem\n br i1 %7, label LBL_3, label LBL_5\n LBL_2:\n %8 = load i64, i64* @gv_1, align 8\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %sv_1.16.reload = load i32, i32* %sv_1.16.reg2mem\n %storemerge37.reload = load i32, i32* %storemerge37.reg2mem\n %9 = zext i32 %storemerge37.reload to i64\n %10 = add i64 %2, %9\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %12, 0\n %14 = zext i1 %13 to i32\n %spec.select = add i32 %sv_1.16.reload, %14\n %15 = add i32 %storemerge37.reload, 1\n %16 = icmp eq i32 %15, %5\n %17 = icmp eq i1 %16, false\n store i32 %15, i32* %storemerge37.reg2mem\n store i32 %spec.select, i32* %sv_1.16.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_4:\n %phitmp = add i32 %spec.select, 1\n %phitmp8 = zext i32 %phitmp to i64\n %phitmp9 = mul i64 %phitmp8, 8\n store i64 %phitmp9, i64* %sv_1.1.lcssa.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n %18 = call i64 @FUNC(i64 %sv_1.1.lcssa.reload, i64 0)\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_6, label LBL_8\n LBL_6:\n %21 = load i32, i32* %sv_2, align 4\n %22 = icmp eq i32 %21, 0\n %23 = icmp slt i32 %21, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %22, false\n %26 = icmp eq i1 %24, %25\n store i32 0, i32* %storemerge5.reg2mem\n store i64 %2, i64* %sv_0.0.in4.reg2mem\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %26, label LBL_7, label LBL_8\n LBL_7:\n %sv_0.0.in4.reload = load i64, i64* %sv_0.0.in4.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %sv_0.0 = inttoptr i64 %sv_0.0.in4.reload to i8*\n %27 = zext i32 %storemerge5.reload to i64\n %28 = mul i64 %27, 8\n %29 = add i64 %28, %18\n %30 = inttoptr i64 %29 to i64*\n store i64 %sv_0.0.in4.reload, i64* %30, align 8\n %31 = call i32 @strlen(i8* %sv_0.0)\n %32 = add i32 %31, 1\n %33 = zext i32 %32 to i64\n %34 = add i64 %sv_0.0.in4.reload, %33\n %35 = load i32, i32* %sv_2, align 4\n %36 = sub i32 %35, %32\n store i32 %36, i32* %sv_2, align 4\n %37 = add i32 %storemerge5.reload, 1\n %38 = icmp eq i32 %36, 0\n %39 = icmp slt i32 %36, 0\n %40 = icmp eq i1 %39, false\n %41 = icmp eq i1 %38, false\n %42 = icmp eq i1 %40, %41\n store i32 %37, i32* %storemerge5.reg2mem\n store i64 %34, i64* %sv_0.0.in4.reg2mem\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %42, label LBL_7, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %32, { 1, 0 }\n uselistorder i64 %sv_0.0.in4.reload, { 2, 0, 1 }\n uselistorder i64 %18, { 0, 2, 1, 3 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i32* %sv_2, { 3, 2, 1, 0, 4 }\n uselistorder i32* %storemerge37.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.in4.reg2mem, { 2, 0, 1 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i32 0, { 6, 7, 0, 4, 5, 1, 2, 3 }\n uselistorder i1 false, { 4, 3, 1, 2, 5, 6, 0, 7 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_class_init_2019", "fun_name": "virtio_scsi_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198662, i64* %arg1, align 8\n store i64 4198669, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198676, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198683, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198690, i64* %8, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_raw_ping_5462", "fun_name": "handle_raw_ping", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = zext i32 %arg3 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %6 = sext i32 %arg3 to i64\n %7 = mul i64 %6, 16\n %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64)\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 8\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_5, label LBL_2\n LBL_2:\n %12 = call i32 @time(i32* null)\n %13 = sext i32 %12 to i64\n %14 = add i64 %7, ptrtoint (i64* @gv_1 to i64)\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = load i32, i32* @gv_2, align 4\n %17 = icmp slt i32 %16, 1\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %1)\n br label LBL_4\n LBL_4:\n %20 = and i64 %arg2, 4294967295\n %21 = call i64 @FUNC(i64 %20, i64 0, i64 0, i64 %1, i64 1, i64 %0)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sixel_output_create_6062", "fun_name": "sixel_output_create", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 560, i64 1)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = inttoptr i64 %0 to i32*\n %4 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* %3, align 4\n %5 = add i64 %0, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %0, 12\n %10 = inttoptr i64 %9 to i32*\n store i32 -1, i32* %10, align 4\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = add i64 %0, 24\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = add i64 %0, 32\n %16 = inttoptr i64 %15 to i64*\n store i64 %4, i64* %16, align 8\n %17 = add i64 %0, 40\n %18 = inttoptr i64 %17 to i64*\n store i64 0, i64* %18, align 8\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__udp_queue_rcv_skb_8932", "fun_name": "__udp_queue_rcv_skb", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.pre-phi4.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n %.pre = ptrtoint i32* %arg2 to i64\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i64 %.pre)\n %6 = call i64 @FUNC(i64 %0, i64 %.pre)\n %7 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %0, i64 %.pre)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_7, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %0)\n %13 = icmp eq i32 %9, -12\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3.LBL_6_crit_edge, label LBL_5\n LBL_4:\n %.pre3 = and i64 %12, 4294967295\n store i64 %.pre3, i64* %.pre-phi4.reg2mem\n br label LBL_6\n LBL_5:\n %15 = call i64 @FUNC(i64 %0)\n %16 = and i64 %12, 4294967295\n %17 = call i64 @FUNC(i64 %15, i64 0, i64 %16)\n store i64 %16, i64* %.pre-phi4.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi4.reload = load i64, i64* %.pre-phi4.reg2mem\n %18 = call i64 @FUNC(i64 %0)\n %19 = call i64 @FUNC(i64 %18, i64 1, i64 %.pre-phi4.reload)\n %20 = call i64 @FUNC(i64 %.pre)\n %21 = and i64 %8, 4294967295\n %22 = call i64 @FUNC(i64 %21, i64 %0)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %.pre, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 4, 5, 3, 6, 7, 2, 1, 0, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @UDP_INC_STATS_BH, { 1, 0 }\n uselistorder i64 (i64)* @sock_net, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssh_packet_read_expect_9027", "fun_name": "ssh_packet_read_expect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %6 = load i32, i32* %sv_0, align 4\n %7 = trunc i64 %arg2 to i32\n %8 = urem i32 %6, 256\n %9 = icmp eq i32 %8, %7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = zext i32 %8 to i64\n %11 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i32 %7, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = and i64 %11, 4294967295\n %spec.select = select i1 %13, i64 4294967295, i64 %14\n ret i64 %spec.select\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bloc_dump_9554", "fun_name": "bloc_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %arg2 to %_IO_FILE*\n %6 = inttoptr i64 %4 to i8*\n %7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64* %arg1, i8* %6)\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %arg2)\n ret i64 0\n\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nsc_encode_sse2_13617", "fun_name": "nsc_encode_sse2", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 %arg2, i32 %arg3)\n %4 = trunc i64 %1 to i32\n %5 = icmp slt i32 %4, 1\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n br label LBL_2\n LBL_2:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_rtsp_undo_setup_3021", "fun_name": "ff_rtsp_undo_setup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem13 = alloca i32\n %.reg2mem11 = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem9 = alloca i64\n %.reg2mem = alloca i32\n %sv_0 = alloca i64, align 8\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %5, label LBL_19, label LBL_1\n LBL_1:\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %arg1, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i32*\n %12 = trunc i64 %arg2 to i32\n %13 = icmp eq i32 %12, 0\n %14 = add i64 %2, 20\n %15 = inttoptr i64 %14 to i32*\n store i32 %4, i32* %.reg2mem\n store i64 0, i64* %.reg2mem9\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload10 = load i64, i64* %.reg2mem9\n %.reload = load i32, i32* %.reg2mem\n %16 = load i64, i64* %7, align 8\n %17 = mul i64 %.reload10, 8\n %18 = add i64 %16, %17\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n store i32 %.reload, i32* %.reg2mem13\n br i1 %21, label LBL_18, label LBL_3\n LBL_3:\n %22 = inttoptr i64 %20 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_15, label LBL_4\n LBL_4:\n %25 = load i64, i64* %9, align 8\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_11, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %23)\n %28 = load i32, i32* %11, align 4\n %29 = icmp eq i32 %28, 1\n %30 = icmp eq i1 %29, false\n %31 = inttoptr i64 %23 to i64*\n %32 = load i64, i64* %31, align 8\n br i1 %30, label LBL_9, label LBL_6\n LBL_6:\n %33 = icmp eq i64 %32, 0\n %or.cond = or i1 %13, %33\n store i64 %32, i64* %.reg2mem11\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %34 = call i64 @FUNC(i64 %arg1, i64 %20)\n %.pre = load i64, i64* %31, align 8\n store i64 %.pre, i64* %.reg2mem11\n br label LBL_8\n LBL_8:\n %.reload12 = load i64, i64* %.reg2mem11\n %35 = call i64 @FUNC(i64 %.reload12, i64* nonnull %sv_0)\n %36 = load i64, i64* %sv_0, align 8\n %37 = call i64 @FUNC(i64 %36)\n br label LBL_10\n LBL_9:\n %38 = call i64 @FUNC(i64 %32)\n br label LBL_10\n LBL_10:\n %39 = call i64 @FUNC(i64 %23)\n br label LBL_15\n LBL_11:\n %40 = load i32, i32* %15, align 4\n %41 = icmp eq i32 %40, 1\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_13, label LBL_12\n LBL_12:\n %43 = call i64 @FUNC(i64 %23)\n br label LBL_15\n LBL_13:\n %44 = icmp eq i32 %40, 2\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_15, label LBL_14\n LBL_14:\n %46 = call i64 @FUNC(i64 %23)\n br label LBL_15\n LBL_15:\n store i64 0, i64* %22, align 8\n %47 = add i64 %20, 8\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = icmp eq i64 %49, 0\n br i1 %50, label LBL_17, label LBL_16\n LBL_16:\n %51 = call i64 @FUNC(i64 %49)\n br label LBL_17\n LBL_17:\n store i64 0, i64* %48, align 8\n %.pre6 = load i32, i32* %3, align 4\n store i32 %.pre6, i32* %.reg2mem13\n br label LBL_18\n LBL_18:\n %.reload14 = load i32, i32* %.reg2mem13\n %52 = add i32 %storemerge4.reload, 1\n %53 = zext i32 %.reload14 to i64\n %54 = sext i32 %52 to i64\n %55 = icmp slt i64 %54, %53\n store i32 %.reload14, i32* %.reg2mem\n store i64 %54, i64* %.reg2mem9\n store i32 %52, i32* %storemerge4.reg2mem\n store i64 %53, i64* %.lcssa.reg2mem\n br i1 %55, label LBL_2, label LBL_19\n LBL_19:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %.reload14, { 1, 0 }\n uselistorder i64 %32, { 2, 0, 1 }\n uselistorder i64 %23, { 4, 3, 0, 1, 2, 5 }\n uselistorder i64 %20, { 1, 0, 2, 3 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem9, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem11, { 0, 2, 1 }\n uselistorder i32 1, { 16, 13, 14, 15, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "agp_generic_remove_memory_6617", "fun_name": "agp_generic_remove_memory", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %.lcssa4.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %.reg2mem13 = alloca i64\n %.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_8\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_8\n LBL_2:\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = trunc i64 %arg3 to i32\n %12 = icmp eq i32 %10, %11\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_8\n LBL_3:\n %13 = call i64 @FUNC()\n %14 = load i64, i64* %4, align 8\n %15 = add i64 %14, %arg2\n %sext2 = mul i64 %13, 4294967296\n %16 = ashr exact i64 %sext2, 32\n %17 = icmp ugt i64 %15, %16\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %17, label LBL_8, label LBL_4\n LBL_4:\n %18 = sub i64 0, %arg2\n %19 = sub i64 %18, 1\n %20 = icmp ugt i64 %14, %19\n %21 = icmp eq i1 %20, false\n %22 = trunc i64 %2 to i32\n %23 = icmp eq i32 %22, 0\n %or.cond = icmp eq i1 %23, %21\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_8\n LBL_5:\n %24 = icmp ugt i64 %15, %arg2\n %25 = mul i64 %arg2, 4\n store i64 %25, i64* %.reg2mem\n store i64 %14, i64* %.reg2mem13\n store i64 %arg2, i64* %storemerge5.reg2mem\n store i64 %14, i64* %.lcssa4.reg2mem\n store i64 %25, i64* %.lcssa.reg2mem\n br i1 %24, label LBL_6, label LBL_7\n LBL_6:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %.reload14 = load i64, i64* %.reg2mem13\n %.reload = load i64, i64* %.reg2mem\n %26 = add i64 %.reload14, %.reload\n %27 = load i32, i32* %9, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28, i64 %26)\n %30 = add nuw i64 %storemerge5.reload, 1\n %31 = load i64, i64* %4, align 8\n %32 = add i64 %31, %arg2\n %33 = icmp ult i64 %30, %32\n %34 = mul i64 %30, 4\n store i64 %34, i64* %.reg2mem\n store i64 %31, i64* %.reg2mem13\n store i64 %30, i64* %storemerge5.reg2mem\n store i64 %31, i64* %.lcssa4.reg2mem\n store i64 %34, i64* %.lcssa.reg2mem\n br i1 %33, label LBL_6, label LBL_7\n LBL_7:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %.lcssa4.reload = load i64, i64* %.lcssa4.reg2mem\n %35 = add i64 %.lcssa4.reload, -4\n %36 = add i64 %35, %.lcssa.reload\n %37 = call i64 @FUNC(i64 %36)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 0, 1, 3, 2 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem13, { 2, 0, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64 %arg2, { 3, 0, 1, 5, 2, 4 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migrate_tasks_7953", "fun_name": "migrate_tasks", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 0, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %1)\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 1\n br i1 %8, label LBL_5, label LBL_1\n LBL_1:\n %9 = add i64 %1, 12\n br label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %1)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %13 = call i64 @FUNC(i64 %0, i64 %10)\n %14 = trunc i64 %13 to i32\n %15 = call i64 @FUNC(i64 %9)\n %16 = call i64 @FUNC(i64 %10, i64 %0, i32 %14)\n %17 = call i64 @FUNC(i64 %9)\n %18 = load i32, i32* %6, align 4\n %19 = icmp eq i32 %18, 1\n br i1 %19, label LBL_5, label LBL_2\n LBL_5:\n store i64 %3, i64* %2, align 8\n ret i64 %1\n\n uselistorder i32* %6, { 1, 0 }\n uselistorder i64 %1, { 3, 2, 0, 1, 4, 5 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i32 1, { 5, 6, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow2_truncate_16383", "fun_name": "qcow2_truncate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %arg2, i64* %sv_0, align 8\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = urem i64 %arg2, 512\n %5 = icmp eq i64 %4, 0\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = inttoptr i64 %3 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n store i64 4294967201, i64* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_2, label LBL_6\n LBL_2:\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = mul i32 %11, 512\n %13 = sext i32 %12 to i64\n %14 = icmp sgt i64 %13, %arg2\n store i64 4294967201, i64* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_6, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %3, i64 %arg2)\n %16 = and i64 %15, 4294967295\n %17 = call i64 @FUNC(i64 %0, i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %17, i64* %rax.0.shrunk.reg2mem\n br i1 %20, label LBL_4, label LBL_6\n LBL_4:\n %21 = call i64 @FUNC(i64 %arg2)\n store i64 %21, i64* %sv_0, align 8\n %22 = call i64 @FUNC(i64 %arg2, i64 0, i64* nonnull %sv_0, i64 8)\n %23 = trunc i64 %22 to i32\n %24 = icmp slt i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %22, i64* %rax.0.shrunk.reg2mem\n br i1 %25, label LBL_5, label LBL_6\n LBL_5:\n %26 = trunc i64 %15 to i32\n %27 = add i64 %3, 4\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64 %arg2, { 2, 1, 4, 3, 0, 5 }\n uselistorder label LBL_6, { 5, 0, 1, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dns_parse_callback_13773", "fun_name": "dns_parse_callback", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = add i64 %0, 240\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 10\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_11\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %sext3 = mul i64 %arg4, 4294967296\n %6 = ashr exact i64 %sext3, 32\n %7 = trunc i64 %arg2 to i32\n %8 = icmp eq i32 %7, 28\n br i1 %8, label LBL_6, label LBL_2\n LBL_2:\n %9 = icmp sgt i32 %7, 28\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_11, label LBL_3\n LBL_3:\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %7, label LBL_11 [\n i32 1, label LBL_4\n i32 5, label LBL_8\n ]\n LBL_4:\n %10 = trunc i64 %6 to i32\n %11 = icmp eq i32 %10, 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_5, label LBL_11\n LBL_5:\n %12 = sext i32 %3 to i64\n %13 = mul nsw i64 %12, 24\n %14 = add i64 %0, 4\n %15 = add i64 %14, %13\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = load i32, i32* %2, align 4\n %18 = add i32 %17, 1\n store i32 %18, i32* %2, align 4\n %19 = sext i32 %17 to i64\n %20 = mul nsw i64 %19, 24\n %21 = add i64 %0, 8\n %22 = add i64 %21, %20\n %23 = bitcast i64* %rdx to i32*\n %24 = load i32, i32* %23, align 8\n %25 = inttoptr i64 %22 to i32*\n store i32 %24, i32* %25, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %26 = trunc i64 %6 to i32\n %27 = icmp eq i32 %26, 16\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %27, label LBL_7, label LBL_11\n LBL_7:\n %28 = sext i32 %3 to i64\n %29 = mul nsw i64 %28, 24\n %30 = add i64 %29, %0\n %31 = inttoptr i64 %30 to i32*\n store i32 10, i32* %31, align 4\n %32 = load i32, i32* %2, align 4\n %33 = sext i32 %32 to i64\n %34 = mul nsw i64 %33, 24\n %35 = add i64 %0, 4\n %36 = add i64 %35, %34\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %38 = load i32, i32* %2, align 4\n %39 = add i32 %38, 1\n store i32 %39, i32* %2, align 4\n %40 = sext i32 %38 to i64\n %41 = mul nsw i64 %40, 24\n %42 = add i64 %41, %0\n %43 = add i64 %42, 8\n %44 = add i64 %5, 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %43 to i64*\n store i64 %46, i64* %47, align 8\n %48 = add i64 %42, 16\n %49 = inttoptr i64 %48 to i64*\n store i64 %46, i64* %49, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %50 = ptrtoint i64* %arg5 to i64\n %51 = add i64 %50, 512\n %52 = call i64 @FUNC(i64 %50, i64 %51, i64 %5, i64* nonnull %sv_0, i64 256)\n %53 = trunc i64 %52 to i32\n %54 = icmp slt i32 %53, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_11, label LBL_9\n LBL_9:\n %55 = call i64 @FUNC(i64* nonnull %sv_0)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %57, label LBL_11, label LBL_10\n LBL_10:\n %58 = add i64 %0, 244\n %59 = inttoptr i64 %58 to i8*\n %60 = bitcast i64* %sv_0 to i8*\n %61 = call i8* @strcpy(i8* %59, i8* nonnull %60)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %50, { 1, 0 }\n uselistorder i64 %46, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32 %3, { 1, 0, 2 }\n uselistorder i32* %2, { 3, 2, 4, 1, 0, 5 }\n uselistorder i64 %0, { 5, 0, 2, 1, 3, 4, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 6, 3, 8, 2, 9, 7, 1, 10 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i32 28, { 1, 0 }\n uselistorder i32 10, { 1, 0 }\n uselistorder label LBL_11, { 3, 4, 5, 2, 7, 1, 8, 6, 0, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_read_chan_15510", "fun_name": "mov_read_chan", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp slt i32 %1, 0\n %4 = icmp eq i1 %3, false\n %5 = icmp eq i1 %2, false\n %6 = icmp eq i1 %4, %5\n %7 = icmp sgt i32 %arg3, 15\n %or.cond = icmp eq i1 %7, %6\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\n %sext = mul i64 %0, 4294967296\n %8 = ashr exact i64 %sext, 29\n %9 = add nsw i64 %8, -8\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %9, %12\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i32 %arg3, -4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %0, i64 %15, i64 %17)\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cgit_clone_info_8827", "fun_name": "cgit_clone_info", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i8*, i8** @gv_0, align 8\n %1 = icmp eq i8* %0, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i32 @strcmp(i8* nonnull %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 400, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8** @gv_4, align 8\n store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i8** @gv_6, align 8\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC(i64 4198869, i64 0)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8** @gv_6, { 1, 0 }\n uselistorder i8** @gv_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avr_op_9884", "fun_name": "avr_op", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge4.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i32* %arg2, null\n %3 = icmp eq i1 %2, false\n store i64 2, i64* %storemerge4.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = inttoptr i64 %5 to i32*\n %11 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %12 = load i32, i32* %10, align 4\n %13 = urem i32 %12, 32\n %14 = shl i32 1, %13\n %storemerge = sext i32 %14 to i64\n %15 = load i64, i64* %7, align 8\n %16 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge)\n %17 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %18, %storemerge\n %20 = load i64, i64* %7, align 8\n %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %19)\n %22 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0))\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %23, %19\n %25 = load i64, i64* %7, align 8\n %26 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_5, i64 0, i64 0), i64 %24)\n %27 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0))\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %28, %24\n %30 = load i64, i64* %7, align 8\n %31 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 %29)\n br label LBL_3\n LBL_3:\n %32 = ptrtoint i64* %arg4 to i64\n %33 = and i64 %arg5, 4294967295\n %34 = ptrtoint i32* %arg2 to i64\n %35 = call i64 @FUNC(i64 %4, i64 %34, i64 %arg3, i64 %32, i64 %33, i64 %5)\n %36 = and i64 %1, 4294967295\n store i64 %36, i64* %storemerge4.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @const_get_value, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @const_by_name, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @r_anal_esil_reg_write, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_get_default_rng_10290", "fun_name": "crypto_get_default_rng", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4210764)\n %1 = load i64, i64* @gv_0, align 8\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_5, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0)\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %5, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_6, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %4)\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %4, i64 0, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %4)\n store i64 %12, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_4:\n store i64 %4, i64* @gv_0, align 8\n br label LBL_5\n LBL_5:\n store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_3 to i32*), align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = call i64 @FUNC(i64* nonnull @gv_4)\n %17 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %17\n\n uselistorder i64 %4, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 2, 3, 0, 4, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tb_alloc_938", "fun_name": "tb_alloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = load i32, i32* @gv_1, align 4\n %2 = icmp ult i32 %0, %1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = load i64, i64* @gv_2, align 8\n store i32 ptrtoint (i32* @gv_3 to i32), i32* @gv_0, align 4\n %4 = sext i32 %0 to i64\n %5 = mul i64 %4, 16\n %6 = add i64 %3, %5\n %7 = inttoptr i64 %6 to i64*\n store i64 %arg1, i64* %7, align 8\n %8 = add i64 %6, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bnep_set_default_proto_filter_10329", "fun_name": "bnep_set_default_proto_filter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i16*\n store i16 2048, i16* %1, align 2\n %2 = add i64 %0, 2\n %3 = inttoptr i64 %2 to i16*\n store i16 2054, i16* %3, align 2\n %4 = add i64 %0, 4\n %5 = inttoptr i64 %4 to i16*\n store i16 -32715, i16* %5, align 2\n %6 = add i64 %0, 6\n %7 = inttoptr i64 %6 to i16*\n store i16 -32525, i16* %7, align 2\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i16*\n store i16 -32457, i16* %9, align 2\n %10 = add i64 %0, 10\n %11 = inttoptr i64 %10 to i16*\n store i16 -31011, i16* %11, align 2\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_duration_warn_8442", "fun_name": "perf_duration_warn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* inttoptr (i64 4210744 to i32*), align 8\n %1 = load i64, i64* @gv_0, align 8\n %2 = load i64, i64* @gv_1, align 8\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @gv_2, i64 0, i64 0), i64 %2, i64 %1, i32 %0)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_nvram_class_init_3132", "fun_name": "spapr_nvram_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198704, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198711, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 ptrtoint ([17 x i8]* @gv_1 to i64), i64* %8, align 8\n %9 = bitcast i64* %rdi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = sext i32 %10 to i64\n %12 = call i64 @FUNC(i64 0, i64 %11)\n store i64 4198722, i64* %2, align 8\n store i64 4198733, i64* %4, align 8\n %13 = inttoptr i64 %5 to i8*\n store i8 0, i8* %13, align 1\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qpci_io_readl_548", "fun_name": "qpci_io_readl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = icmp ult i64 %arg2, 4096\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %4 = zext i32 %1 to i64\n %5 = call i64 @FUNC(i64 %4)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_open_confirm_release_11224", "fun_name": "nfs4_open_confirm_release", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = add i64 %arg1, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = add i64 %arg1, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %arg1, 16\n %17 = call i64 @FUNC(i64 %16, i64 %8, i32 %15)\n br label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %arg1)\n ret i64 %18\n\n uselistorder i64 %arg1, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sdsMakeRoomFor_12405", "fun_name": "sdsMakeRoomFor", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %arg1, -1\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = icmp ult i64 %0, %arg2\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_11\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = add i64 %5, %arg2\n %7 = icmp ult i64 %6, %5\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %8 = icmp ult i64 %6, 1048576\n %9 = add i64 %6, 1048576\n %10 = mul i64 %6, 2\n %storemerge2 = select i1 %8, i64 %10, i64 %9\n %11 = call i64 @FUNC(i64 %storemerge2)\n %12 = trunc i64 %11 to i8\n %13 = icmp eq i8 %12, 0\n %14 = icmp eq i1 %13, false\n %spec.select = select i1 %14, i8 %12, i8 1\n %15 = icmp eq i8 %spec.select, 0\n %16 = icmp eq i1 %15, false\n %storemerge1 = select i1 %16, i64 2, i64 1\n %17 = add i64 %storemerge2, 1\n %18 = add i64 %17, %storemerge1\n %19 = icmp ult i64 %5, %18\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %20 = urem i8 %3, 32\n %21 = icmp eq i8 %20, 0\n %22 = icmp eq i1 %21, false\n %. = select i1 %22, i64 -2, i64 -1\n %23 = add i64 %., %arg1\n %24 = icmp eq i8 %20, %spec.select\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_8, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %23, i64 %18)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_7, label LBL_11\n LBL_7:\n %29 = add i64 %26, %storemerge1\n store i64 %29, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_8:\n %30 = call i64 @FUNC(i64 %18)\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_9, label LBL_11\n LBL_9:\n %33 = add i64 %30, %storemerge1\n %34 = inttoptr i64 %33 to i64*\n %35 = inttoptr i64 %arg1 to i64*\n %36 = trunc i64 %5 to i32\n %37 = add i32 %36, 1\n %38 = call i64* @memcpy(i64* %34, i64* %35, i32 %37)\n %39 = call i64 @FUNC(i64 %23)\n %40 = add i64 %33, -1\n %41 = inttoptr i64 %40 to i8*\n store i8 %spec.select, i8* %41, align 1\n %42 = call i64 @FUNC(i64 %33, i64 %5)\n store i64 %33, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %43 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %storemerge2)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %33, { 0, 2, 1, 3 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i8 %20, { 1, 0 }\n uselistorder i64 %6, { 0, 2, 1, 3 }\n uselistorder i64 %5, { 1, 2, 3, 4, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 1048576, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 0, 4, 5 }\n uselistorder label LBL_11, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qeth_switch_to_nonpacking_if_needed_10417", "fun_name": "qeth_switch_to_nonpacking_if_needed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 92\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %5 = add i64 %0, 88\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp sgt i32 %7, 5\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_7, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %5, i64 6, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %10 = load i32, i32* %2, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = trunc i64 %5 to i32\n %13 = add i32 %12, 1\n %14 = inttoptr i64 %5 to i32*\n store i32 %13, i32* %14, align 4\n br label LBL_4\n LBL_4:\n store i32 0, i32* %2, align 4\n %15 = add i64 %0, 96\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = sext i32 %17 to i64\n %19 = mul i64 %18, 8\n %20 = add i64 %0, 8\n %21 = add i64 %20, %19\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %27, label LBL_7, label LBL_5\n LBL_5:\n %28 = add i64 %23, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp slt i32 %30, 1\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %23, i64 1)\n %33 = load i32, i32* %16, align 4\n %34 = add i32 %33, 1\n %35 = srem i32 %34, 10\n store i32 %35, i32* %16, align 4\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %23, { 1, 0, 2 }\n uselistorder i32* %16, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i32* %2, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64 (i64)* @atomic_read, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "saxEndDocument_6018", "fun_name": "saxEndDocument", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.reg2mem7 = alloca i64\n %.reg2mem5 = alloca i32*\n %.reg2mem = alloca i32*\n %0 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %1 = call i32 @fwrite(i64* bitcast ([19 x i8]* @gv_1 to i64*), i32 1, i32 18, %_IO_FILE* %0)\n %2 = load i64, i64* @gv_2, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %7 = inttoptr i64 %2 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %13 = load i32*, i32** @gv_6, align 8\n %14 = icmp eq i32* %13, null\n store i32* %13, i32** %.reg2mem\n store i64 %8, i64* %.reg2mem7\n br i1 %14, label LBL_9, label LBL_5\n LBL_5:\n %.reload = load i32*, i32** %.reg2mem\n %15 = load i32, i32* %.reload, align 4\n %16 = icmp eq i32 %15, 1\n %17 = icmp eq i1 %16, false\n store i32* %.reload, i32** %.reg2mem5\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n %18 = ptrtoint i32* %.reload to i64\n %19 = call i64 @FUNC(i64 %18)\n %.pre = load i32*, i32** @gv_6, align 8\n store i32* %.pre, i32** %.reg2mem5\n br label LBL_7\n LBL_7:\n %.reload6 = load i32*, i32** %.reg2mem5\n %20 = ptrtoint i32* %.reload6 to i64\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n store i32* %24, i32** @gv_6, align 8\n %25 = icmp eq i64 %23, 0\n %26 = icmp eq i1 %25, false\n store i32* %24, i32** %.reg2mem\n br i1 %26, label LBL_5, label LBL_8\n LBL_8:\n %.pre1.pre = load i64, i64* @gv_2, align 8\n %.phi.trans.insert.phi.trans.insert = inttoptr i64 %.pre1.pre to i64*\n %.pre2.pre = load i64, i64* %.phi.trans.insert.phi.trans.insert, align 8\n store i64 %.pre2.pre, i64* %.reg2mem7\n br label LBL_9\n LBL_9:\n %.reload8 = load i64, i64* %.reg2mem7\n %27 = icmp eq i64 %.reload8, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_11, label LBL_10\n LBL_10:\n %29 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_11:\n %31 = load i32, i32* @gv_8, align 4\n %32 = icmp eq i32 %31, 1\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_13, label LBL_12\n LBL_12:\n store i32 2, i32* @gv_8, align 4\n br label LBL_15\n LBL_13:\n %34 = icmp eq i32 %31, 2\n br i1 %34, label LBL_15, label LBL_14\n LBL_14:\n %35 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %35, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_15:\n ret i64 2\n\n uselistorder i32* %.reload, { 1, 0, 2 }\n uselistorder i32** %.reg2mem, { 2, 0, 1 }\n uselistorder i32** %.reg2mem5, { 0, 2, 1 }\n uselistorder i64* %.reg2mem7, { 0, 2, 1 }\n uselistorder i32* @gv_8, { 1, 0 }\n uselistorder i32** @gv_6, { 2, 0, 1 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_common_initfn_285", "fun_name": "cpu_common_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %1 to i32*\n store i32 -1, i32* %3, align 4\n %4 = inttoptr i64 %2 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i32*\n store i32 %5, i32* %7, align 4\n %8 = add i64 %1, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %5, i32* %9, align 4\n %10 = add i64 %1, 12\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n %12 = add i64 %1, 16\n %13 = inttoptr i64 %12 to i32*\n store i32 1, i32* %13, align 4\n %14 = add i64 %1, 24\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %1, 32\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %1, 40\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i64 @FUNC()\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_2, label LBL_1\n LBL_1:\n %23 = and i64 %20, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %1, 48\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n br label LBL_2\n LBL_2:\n %27 = call i64 @FUNC(i64 %1)\n ret i64 %27\n\n uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 (i64)* @QTAILQ_INIT, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i6300esb_class_init_2691", "fun_name": "i6300esb_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198676, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198683, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i32*\n store i32 32902, i32* %8, align 4\n %9 = add i64 %0, 36\n %10 = inttoptr i64 %9 to i32*\n store i32 4663, i32* %10, align 4\n %11 = add i64 %0, 40\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n store i64 4198690, i64* %arg1, align 8\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n %13 = inttoptr i64 %3 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sext i32 %14 to i64\n %16 = call i64 @FUNC(i64 0, i64 %15)\n ret i64 %16\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "enable_sacf_uaccess_7320", "fun_name": "enable_sacf_uaccess", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = urem i64 %2, 2\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = or i64 %2, 1\n store i64 %5, i64* %1, align 8\n %6 = icmp eq i64 %2, -1\n %7 = icmp eq i1 %6, false\n %8 = load i64, i64* @gv_1, align 8\n %9 = icmp eq i64 %8, 2\n %or.cond = or i1 %7, %9\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n store i64 2, i64* @gv_1, align 8\n br label LBL_3\n LBL_3:\n ret i64 %2\n\n uselistorder i64 %2, { 2, 3, 1, 0 }\n uselistorder i64* @gv_1, { 1, 0 }\n uselistorder i64 2, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_transform_18915", "fun_name": "print_transform", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i8* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = mul i64 %arg3, 8\n %5 = and i64 %4, 34359738360\n %6 = add i64 %5, ptrtoint ([2 x i8*]* @gv_0 to i64)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n %11 = call i64 @FUNC(i64 %3, i64 %2, i64 %10, i64 %9)\n %12 = trunc i64 %11 to i8\n %13 = icmp eq i8 %12, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_5\n LBL_1:\n %14 = ptrtoint i32* %arg4 to i64\n %15 = add i64 %14, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp slt i32 %17, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %18, label LBL_5, label LBL_2\n LBL_2:\n %19 = add i64 %3, 256\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = sub i32 256, %21\n %23 = sext i32 %21 to i64\n %24 = add i64 %23, %3\n %25 = zext i32 %17 to i64\n %26 = inttoptr i64 %24 to i8*\n %27 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %26, i32 %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %25)\n %28 = icmp slt i32 %27, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_5, label LBL_3\n LBL_3:\n %29 = load i32, i32* %20, align 4\n %30 = add i32 %29, %27\n %31 = icmp ult i32 %30, 257\n store i64 0, i64* %rax.0.reg2mem\n br i1 %31, label LBL_4, label LBL_5\n LBL_4:\n store i32 %30, i32* %20, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %20, { 1, 0, 2 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 3, 1, 5 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 3, 2, 0, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_copy_16921", "fun_name": "cpu_copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32*\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32*, i32** %0\n %3 = load i32*, i32** %0\n %4 = call i64 @FUNC(i64 %1)\n %5 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = inttoptr i64 %4 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %7)\n %11 = ptrtoint i32* %3 to i64\n %12 = add i64 %11, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = load i32, i32* %3, align 4\n %16 = call i64 @FUNC(i64 %7, i32 %15, i32 %14, i64 0)\n %17 = ptrtoint i32* %2 to i64\n %18 = add i64 %17, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %17, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = load i32, i32* %2, align 4\n %25 = call i64 @FUNC(i64 %7, i32 %24, i32 %23, i32 %20, i64 0)\n ret i64 %9\n\n uselistorder i32** %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "inject_error_1511", "fun_name": "inject_error", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = add i64 %2, 5\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = icmp eq i8 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %2)\n br label LBL_2\n LBL_2:\n %11 = icmp eq i8 %5, 1\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC()\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = call i64 @FUNC()\n br label LBL_4\n LBL_4:\n %16 = sub i64 0, %1\n %17 = and i64 %16, 4294967295\n ret i64 %17\n\n uselistorder i64 %2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "path_name_13437", "fun_name": "path_name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_1.15.reg2mem = alloca i32\n %storemerge16.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = inttoptr i64 %arg2 to i8*\n %2 = call i32 @strlen(i8* %1)\n %3 = add i32 %2, 1\n %4 = icmp eq i64* %arg1, null\n %5 = icmp eq i1 %4, false\n store i64 %0, i64* %storemerge16.reg2mem\n store i32 %3, i32* %sv_1.15.reg2mem\n store i32 %3, i32* %sv_1.1.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem\n %storemerge16.reload = load i64, i64* %storemerge16.reg2mem\n %6 = add i64 %storemerge16.reload, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = add i32 %8, 1\n %11 = select i1 %9, i32 0, i32 %10\n %sv_1.0 = add i32 %11, %sv_1.15.reload\n %12 = add i64 %storemerge16.reload, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %storemerge16.reg2mem\n store i32 %sv_1.0, i32* %sv_1.15.reg2mem\n store i32 %sv_1.0, i32* %sv_1.1.lcssa.reg2mem\n br i1 %16, label LBL_1, label LBL_2\n LBL_2:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %17 = sext i32 %sv_1.1.lcssa.reload to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = sub i32 0, %2\n %20 = sub i32 %19, 1\n %21 = sext i32 %20 to i64\n %22 = add nsw i64 %17, %21\n %23 = add i64 %22, %18\n %24 = inttoptr i64 %23 to i64*\n %25 = inttoptr i64 %arg2 to i64*\n %26 = call i64* @memcpy(i64* %24, i64* %25, i32 %3)\n store i64 %0, i64* %storemerge3.reg2mem\n store i64 %23, i64* %sv_0.12.reg2mem\n br i1 %5, label LBL_3, label LBL_6\n LBL_3:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %27 = add i64 %storemerge3.reload, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n store i64 %sv_0.12.reload, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = sub i32 0, %29\n %32 = sub i32 %31, 1\n %33 = sext i32 %32 to i64\n %34 = add i64 %sv_0.12.reload, %33\n %35 = inttoptr i64 %storemerge3.reload to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %34 to i64*\n %38 = inttoptr i64 %36 to i64*\n %39 = call i64* @memcpy(i64* %37, i64* %38, i32 %29)\n %40 = load i32, i32* %28, align 4\n %41 = sext i32 %40 to i64\n %42 = add i64 %34, %41\n %43 = inttoptr i64 %42 to i8*\n store i8 47, i8* %43, align 1\n store i64 %34, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %44 = add i64 %storemerge3.reload, 16\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp eq i64 %46, 0\n %48 = icmp eq i1 %47, false\n store i64 %46, i64* %storemerge3.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n br i1 %48, label LBL_3, label LBL_6\n LBL_6:\n ret i64 %18\n\n uselistorder i32 %29, { 1, 0, 2 }\n uselistorder i64 %storemerge3.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.12.reload, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i32 %3, { 2, 0, 1 }\n uselistorder i64* %storemerge16.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i32 0, { 0, 3, 1, 2, 4 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xsltNewCompMatch_10249", "fun_name": "xsltNewCompMatch", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 40)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 0, i64 0, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %4 = inttoptr i64 %0 to i64*\n %5 = call i64* @memset(i64* %4, i32 0, i32 40)\n %6 = inttoptr i64 %0 to i32*\n store i32 10, i32* %6, align 4\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = call i64 @FUNC(i64 0)\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = icmp eq i64 %9, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 0, i64 0, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0))\n %15 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %0, 24\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %19, align 8\n %20 = add i64 %0, 32\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 2, 3, 4, 1, 5, 6, 8, 7, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64, i64, i8*)* @xsltTransformError, { 1, 0 }\n uselistorder i64 (i64)* @xmlMalloc, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_isom_oinf_read_entry_7503", "fun_name": "gf_isom_oinf_read_entry", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv25.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge20.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %indvars.iv27.reg2mem = alloca i64\n %storemerge723.reg2mem = alloca i32\n %storemerge924.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_26\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = trunc i64 %3 to i32\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %arg2, i64 2)\n %7 = call i64 @FUNC(i64 %arg2, i64 6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n store i32 0, i32* %storemerge924.reg2mem\n br label LBL_3\n LBL_3:\n %12 = call i64* @malloc(i32 24)\n %13 = icmp eq i64* %12, null\n %14 = icmp eq i1 %13, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_26\n LBL_4:\n %storemerge924.reload = load i32, i32* %storemerge924.reg2mem\n %15 = bitcast i64* %12 to i32*\n %16 = call i64 @FUNC(i64 %arg2, i64 2)\n %17 = trunc i64 %16 to i32\n store i32 %17, i32* %15, align 4\n %18 = call i64 @FUNC(i64 %arg2, i64 1)\n %19 = ptrtoint i64* %12 to i64\n %20 = trunc i64 %18 to i32\n %21 = add i64 %19, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = call i64 @FUNC(i64 %arg2, i64 5)\n %24 = trunc i64 %23 to i32\n %25 = add i64 %19, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = call i64 @FUNC(i64 %arg2)\n %28 = trunc i64 %27 to i32\n %29 = add i64 %19, 12\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = call i64 @FUNC(i64 %arg2, i64 48)\n %32 = trunc i64 %31 to i32\n %33 = add i64 %19, 16\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = call i64 @FUNC(i64 %arg2)\n %36 = trunc i64 %35 to i8\n %37 = add i64 %19, 20\n %38 = inttoptr i64 %37 to i8*\n store i8 %36, i8* %38, align 1\n %39 = load i64, i64* %11, align 8\n %40 = call i64 @FUNC(i64 %39, i64 %19)\n %41 = add nuw i32 %storemerge924.reload, 1\n %42 = icmp ult i32 %41, %8\n store i32 %41, i32* %storemerge924.reg2mem\n br i1 %42, label LBL_3, label LBL_5\n LBL_5:\n %43 = call i64 @FUNC(i64 %arg2)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_15, label LBL_6\n LBL_6:\n %46 = add i64 %2, 16\n %47 = inttoptr i64 %46 to i64*\n store i32 0, i32* %storemerge723.reg2mem\n br label LBL_7\n LBL_7:\n %48 = call i64* @malloc(i32 312)\n %49 = icmp eq i64* %48, null\n %50 = icmp eq i1 %49, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %50, label LBL_8, label LBL_26\n LBL_8:\n %storemerge723.reload = load i32, i32* %storemerge723.reg2mem\n %51 = bitcast i64* %48 to i32*\n %52 = call i64 @FUNC(i64 %arg2)\n %53 = trunc i64 %52 to i32\n store i32 %53, i32* %51, align 4\n %54 = call i64 @FUNC(i64 %arg2)\n %55 = ptrtoint i64* %48 to i64\n %56 = trunc i64 %54 to i8\n %57 = add i64 %55, 4\n %58 = inttoptr i64 %57 to i8*\n store i8 %56, i8* %58, align 1\n %59 = call i64 @FUNC(i64 %arg2)\n %60 = trunc i64 %59 to i8\n %61 = add i64 %55, 5\n %62 = inttoptr i64 %61 to i8*\n store i8 %60, i8* %62, align 1\n %63 = urem i64 %59, 256\n %64 = icmp eq i64 %63, 0\n store i64 0, i64* %indvars.iv27.reg2mem\n br i1 %64, label LBL_10, label LBL_9\n LBL_9:\n %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem\n %65 = call i64 @FUNC(i64 %arg2)\n %66 = mul i64 %indvars.iv27.reload, 16\n %67 = add i64 %66, %55\n %68 = add i64 %67, 8\n %69 = trunc i64 %65 to i8\n %70 = inttoptr i64 %68 to i8*\n store i8 %69, i8* %70, align 1\n %71 = call i64 @FUNC(i64 %arg2, i64 6)\n %72 = add i64 %67, 12\n %73 = trunc i64 %71 to i32\n %74 = inttoptr i64 %72 to i32*\n store i32 %73, i32* %74, align 4\n %75 = call i64 @FUNC(i64 %arg2, i64 1)\n %76 = trunc i64 %75 to i32\n %77 = icmp eq i32 %76, 0\n %78 = icmp eq i1 %77, false\n %79 = add i64 %67, 16\n %80 = zext i1 %78 to i32\n %81 = inttoptr i64 %79 to i32*\n store i32 %80, i32* %81, align 4\n %82 = call i64 @FUNC(i64 %arg2, i64 1)\n %83 = trunc i64 %82 to i32\n %84 = icmp eq i32 %83, 0\n %85 = icmp eq i1 %84, false\n %86 = add i64 %67, 20\n %87 = zext i1 %85 to i32\n %88 = inttoptr i64 %86 to i32*\n store i32 %87, i32* %88, align 4\n %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1\n %89 = load i8, i8* %62, align 1\n %90 = zext i8 %89 to i64\n %91 = icmp ult i64 %indvars.iv.next28, %90\n store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem\n br i1 %91, label LBL_9, label LBL_10\n LBL_10:\n %92 = call i64 @FUNC(i64 %arg2)\n %93 = trunc i64 %92 to i32\n %94 = add i64 %55, 264\n %95 = inttoptr i64 %94 to i32*\n store i32 %93, i32* %95, align 4\n %96 = call i64 @FUNC(i64 %arg2)\n %97 = trunc i64 %96 to i32\n %98 = add i64 %55, 268\n %99 = inttoptr i64 %98 to i32*\n store i32 %97, i32* %99, align 4\n %100 = call i64 @FUNC(i64 %arg2)\n %101 = trunc i64 %100 to i32\n %102 = add i64 %55, 272\n %103 = inttoptr i64 %102 to i32*\n store i32 %101, i32* %103, align 4\n %104 = call i64 @FUNC(i64 %arg2)\n %105 = trunc i64 %104 to i32\n %106 = add i64 %55, 276\n %107 = inttoptr i64 %106 to i32*\n store i32 %105, i32* %107, align 4\n %108 = call i64 @FUNC(i64 %arg2, i64 2)\n %109 = trunc i64 %108 to i32\n %110 = add i64 %55, 280\n %111 = inttoptr i64 %110 to i32*\n store i32 %109, i32* %111, align 4\n %112 = call i64 @FUNC(i64 %arg2, i64 3)\n %113 = trunc i64 %112 to i32\n %114 = add i32 %113, 8\n %115 = add i64 %55, 284\n %116 = inttoptr i64 %115 to i32*\n store i32 %114, i32* %116, align 4\n %117 = call i64 @FUNC(i64 %arg2, i64 1)\n %118 = call i64 @FUNC(i64 %arg2, i64 1)\n %119 = trunc i64 %118 to i32\n %120 = icmp eq i32 %119, 0\n %121 = icmp eq i1 %120, false\n %122 = zext i1 %121 to i32\n %123 = add i64 %55, 288\n %124 = inttoptr i64 %123 to i32*\n store i32 %122, i32* %124, align 4\n %125 = call i64 @FUNC(i64 %arg2, i64 1)\n %126 = trunc i64 %125 to i32\n %127 = icmp eq i32 %126, 0\n %128 = icmp eq i1 %127, false\n %129 = zext i1 %128 to i32\n %130 = add i64 %55, 292\n %131 = inttoptr i64 %130 to i32*\n store i32 %129, i32* %131, align 4\n %132 = load i32, i32* %124, align 4\n %133 = icmp eq i32 %132, 0\n store i32 %129, i32* %.reg2mem\n br i1 %133, label LBL_12, label LBL_11\n LBL_11:\n %134 = call i64 @FUNC(i64 %arg2)\n %135 = trunc i64 %134 to i32\n %136 = add i64 %55, 296\n %137 = inttoptr i64 %136 to i32*\n store i32 %135, i32* %137, align 4\n %138 = call i64 @FUNC(i64 %arg2, i64 6)\n %139 = call i64 @FUNC(i64 %arg2, i64 2)\n %140 = trunc i64 %139 to i32\n %141 = add i64 %55, 300\n %142 = inttoptr i64 %141 to i32*\n store i32 %140, i32* %142, align 4\n %.pr = load i32, i32* %131, align 4\n store i32 %.pr, i32* %.reg2mem\n br label LBL_12\n LBL_12:\n %.reload = load i32, i32* %.reg2mem\n %143 = icmp eq i32 %.reload, 0\n br i1 %143, label LBL_14, label LBL_13\n LBL_13:\n %144 = call i64 @FUNC(i64 %arg2)\n %145 = trunc i64 %144 to i32\n %146 = add i64 %55, 304\n %147 = inttoptr i64 %146 to i32*\n store i32 %145, i32* %147, align 4\n %148 = call i64 @FUNC(i64 %arg2)\n %149 = trunc i64 %148 to i32\n %150 = add i64 %55, 308\n %151 = inttoptr i64 %150 to i32*\n store i32 %149, i32* %151, align 4\n br label LBL_14\n LBL_14:\n %152 = load i64, i64* %47, align 8\n %153 = call i64 @FUNC(i64 %152, i64 %55)\n %154 = add nuw i32 %storemerge723.reload, 1\n %155 = icmp ult i32 %154, %44\n store i32 %154, i32* %storemerge723.reg2mem\n br i1 %155, label LBL_7, label LBL_15\n LBL_15:\n %156 = call i64 @FUNC(i64 %arg2)\n %157 = trunc i64 %156 to i32\n %158 = urem i32 %157, 256\n %159 = icmp eq i32 %158, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %159, label LBL_26, label LBL_16\n LBL_16:\n %160 = bitcast i64* %rdi to i32*\n %161 = add i64 %2, 24\n %162 = inttoptr i64 %161 to i64*\n store i32 0, i32* %storemerge20.reg2mem\n br label LBL_17\n LBL_17:\n %163 = call i64* @malloc(i32 34)\n %164 = icmp eq i64* %163, null\n %165 = icmp eq i1 %164, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %165, label LBL_18, label LBL_26\n LBL_18:\n %storemerge20.reload = load i32, i32* %storemerge20.reg2mem\n %166 = bitcast i64* %163 to i8*\n %167 = call i64 @FUNC(i64 %arg2)\n %168 = trunc i64 %167 to i8\n store i8 %168, i8* %166, align 1\n %169 = call i64 @FUNC(i64 %arg2)\n %170 = ptrtoint i64* %163 to i64\n %171 = trunc i64 %169 to i8\n %172 = add i64 %170, 1\n %173 = inttoptr i64 %172 to i8*\n store i8 %171, i8* %173, align 1\n %174 = urem i64 %169, 256\n %175 = icmp eq i64 %174, 0\n br i1 %175, label LBL_21, label LBL_19\n LBL_19:\n %176 = add i64 %170, 2\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_20\n LBL_20:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %177 = call i64 @FUNC(i64 %arg2)\n %178 = trunc i64 %177 to i8\n %179 = add i64 %176, %indvars.iv.reload\n %180 = inttoptr i64 %179 to i8*\n store i8 %178, i8* %180, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %181 = load i8, i8* %173, align 1\n %182 = zext i8 %181 to i64\n %183 = icmp ult i64 %indvars.iv.next, %182\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %183, label LBL_20, label LBL_21\n LBL_21:\n %184 = add i64 %170, 18\n store i64 0, i64* %indvars.iv25.reg2mem\n br label LBL_22\n LBL_22:\n %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem\n %185 = load i32, i32* %160, align 8\n %186 = trunc i64 %indvars.iv25.reload to i32\n %187 = shl i32 1, %186\n %188 = and i32 %187, %185\n %189 = icmp eq i32 %188, 0\n br i1 %189, label LBL_24, label LBL_23\n LBL_23:\n %190 = call i64 @FUNC(i64 %arg2)\n %191 = trunc i64 %190 to i8\n %192 = add i64 %184, %indvars.iv25.reload\n %193 = inttoptr i64 %192 to i8*\n store i8 %191, i8* %193, align 1\n br label LBL_24\n LBL_24:\n %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next26, 16\n store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem\n br i1 %exitcond, label LBL_25, label LBL_22\n LBL_25:\n %194 = load i64, i64* %162, align 8\n %195 = call i64 @FUNC(i64 %194, i64 %170)\n %196 = add nuw nsw i32 %storemerge20.reload, 1\n %197 = icmp ult i32 %196, %158\n store i32 %196, i32* %storemerge20.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %197, label LBL_17, label LBL_26\n LBL_26:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %163, { 0, 2, 1 }\n uselistorder i64 %55, { 5, 3, 4, 1, 2, 6, 7, 8, 9, 10, 11, 12, 13, 0, 14, 15 }\n uselistorder i64* %48, { 0, 2, 1 }\n uselistorder i32 %44, { 1, 0 }\n uselistorder i64* %12, { 0, 2, 1 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32* %storemerge924.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge723.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv27.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 2, 1, 6 }\n uselistorder i64 (i64, i64)* @gf_list_add, { 2, 1, 0 }\n uselistorder i64 (i64)* @gf_bs_read_u8, { 8, 7, 6, 5, 1, 4, 3, 2, 0 }\n uselistorder i64 16, { 1, 3, 0, 2, 4 }\n uselistorder i64 (i64)* @gf_bs_read_u32, { 2, 1, 0 }\n uselistorder i64 5, { 1, 0 }\n uselistorder i64* (i32)* @malloc, { 2, 1, 0 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder i32 0, { 6, 0, 3, 7, 10, 11, 12, 8, 9, 1, 4, 2, 5 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 11, 10, 9, 8, 7, 6, 5, 14, 13, 12, 4, 3, 2, 1, 0 }\n uselistorder i64 2, { 7, 2, 3, 4, 1, 5, 0, 6 }\n uselistorder i64 (i64)* @gf_bs_read_u16, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 3, 10, 4, 5, 6, 1, 7, 8, 9, 0 }\n uselistorder i1 false, { 0, 3, 4, 1, 2, 5, 6, 7 }\n uselistorder i64* null, { 2, 1, 0, 3 }\n uselistorder i64 %arg2, { 0, 1, 2, 3, 4, 8, 9, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 22, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_26, { 3, 2, 4, 1, 0, 5 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_seq_client_use_ptr_10948", "fun_name": "snd_seq_client_use_ptr", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = icmp sgt i32 %6, -1\n %9 = trunc i64 %7 to i32\n %10 = icmp slt i32 %9, 256\n %or.cond = icmp eq i1 %8, %10\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %11 = and i64 %7, 4294967295\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %13 = call i64 @FUNC(i64* bitcast (i32** @gv_1 to i64*), i64 %5)\n %14 = and i64 %7, 4294967295\n %15 = call i64 @FUNC(i64 %14)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64* bitcast (i32** @gv_1 to i64*), i64 %5)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %19 = call i64 @FUNC(i64 %15)\n %20 = call i64 @FUNC(i64* bitcast (i32** @gv_1 to i64*), i64 %5)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @spin_unlock_irqrestore, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_bs_skip_bytes_6868", "fun_name": "gf_bs_skip_bytes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.2.reg2mem = alloca i64\n %sv_0.25.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi10.reg2mem = alloca i64*\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i64 %arg2, 0\n %or.cond = or i1 %0, %1\n br i1 %or.cond, label LBL_19, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %2, 24\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp ne i32 %6, 1\n %8 = icmp eq i32 %6, 2\n %9 = icmp eq i1 %8, false\n %or.cond3 = icmp eq i1 %7, %9\n br i1 %or.cond3, label LBL_13, label LBL_2\n LBL_2:\n %10 = add i64 %2, 28\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %2)\n br label LBL_4\n LBL_4:\n %15 = add i64 %2, 32\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_4.LBL_9_crit_edge, label LBL_6\n LBL_5:\n %.pre = add i64 %2, 8\n %.pre9 = inttoptr i64 %.pre to i64*\n store i64* %.pre9, i64** %.pre-phi10.reg2mem\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %19 = add i64 %2, 36\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %2, 40\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = sub i32 %21, %24\n %26 = zext i32 %25 to i64\n %27 = icmp ult i64 %26, %arg2\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = trunc i64 %arg2 to i32\n %29 = add i32 %24, %28\n store i32 %29, i32* %23, align 4\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = add i64 %32, %arg2\n store i64 %33, i64* %31, align 8\n store i64 %2, i64* %rax.2.reg2mem\n br label LBL_19\n LBL_8:\n %34 = sub i64 %arg2, %26\n %35 = add i64 %2, 8\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = add i64 %37, %26\n store i64 %38, i64* %36, align 8\n %39 = load i32, i32* %20, align 4\n store i32 %39, i32* %23, align 4\n store i64* %36, i64** %.pre-phi10.reg2mem\n store i64 %34, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi10.reload = load i64*, i64** %.pre-phi10.reg2mem\n %40 = load i64, i64* %.pre-phi10.reload, align 8\n %41 = add i64 %40, %sv_0.0.reload\n store i64 %41, i64* %.pre-phi10.reload, align 8\n %42 = load i32, i32* %5, align 4\n %43 = icmp eq i32 %42, 2\n %44 = icmp eq i1 %43, false\n store i64 %41, i64* %.reg2mem\n br i1 %44, label LBL_12, label LBL_10\n LBL_10:\n %45 = add i64 %2, 16\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = icmp ugt i64 %41, %47\n store i64 %41, i64* %.reg2mem\n br i1 %48, label LBL_11, label LBL_12\n LBL_11:\n store i64 %47, i64* %.pre-phi10.reload, align 8\n store i64 %47, i64* %.reg2mem\n br label LBL_12\n LBL_12:\n %.reload = load i64, i64* %.reg2mem\n %49 = call i64 @FUNC(i64 %2, i64 %.reload, i64 0)\n store i64 %49, i64* %rax.2.reg2mem\n br label LBL_19\n LBL_13:\n %50 = icmp eq i32 %6, 3\n %51 = icmp eq i1 %50, false\n store i64 %arg2, i64* %sv_0.25.reg2mem\n br i1 %51, label LBL_18, label LBL_14\n LBL_14:\n %52 = add i64 %2, 44\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = icmp eq i32 %54, 0\n store i64 %arg2, i64* %sv_0.16.reg2mem\n br i1 %55, label LBL_16, label LBL_15\n LBL_15:\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n %56 = call i64 @FUNC(i64 %2)\n %57 = add i64 %sv_0.16.reload, -1\n %58 = icmp eq i64 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 %57, i64* %sv_0.16.reg2mem\n store i64 %56, i64* %rax.2.reg2mem\n br i1 %59, label LBL_15, label LBL_19\n LBL_16:\n %60 = add i64 %2, 8\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = add i64 %62, %arg2\n store i64 %63, i64* %61, align 8\n %64 = add i64 %2, 16\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = icmp ugt i64 %63, %66\n store i64 %66, i64* %rax.2.reg2mem\n br i1 %67, label LBL_17, label LBL_19\n LBL_17:\n store i64 %66, i64* %61, align 8\n %68 = add i64 %2, 48\n %69 = inttoptr i64 %68 to i32*\n store i32 1, i32* %69, align 4\n store i64 %2, i64* %rax.2.reg2mem\n br label LBL_19\n LBL_18:\n %sv_0.25.reload = load i64, i64* %sv_0.25.reg2mem\n %70 = call i64 @FUNC(i64 %2, i64 0, i64 8)\n %71 = add i64 %sv_0.25.reload, -1\n %72 = icmp eq i64 %71, 0\n %73 = icmp eq i1 %72, false\n store i64 %71, i64* %sv_0.25.reg2mem\n store i64 %70, i64* %rax.2.reg2mem\n br i1 %73, label LBL_18, label LBL_19\n LBL_19:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64 %66, { 1, 0, 2 }\n uselistorder i64 %41, { 1, 2, 0, 3 }\n uselistorder i64 %26, { 0, 2, 1 }\n uselistorder i32* %23, { 1, 0, 2 }\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i64 %2, { 9, 0, 5, 6, 7, 4, 8, 3, 12, 11, 1, 10, 14, 15, 2, 13, 17, 16, 18, 19 }\n uselistorder i64* %.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.25.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.2.reg2mem, { 0, 2, 4, 3, 1, 6, 5 }\n uselistorder i64 8, { 1, 2, 3, 4, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 %arg2, { 3, 1, 0, 6, 4, 7, 5, 2, 8 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_19, { 1, 2, 3, 0, 5, 6, 4 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mpeg_set_erpic_14918", "fun_name": "ff_mpeg_set_erpic", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i32* %arg2, null\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = ptrtoint i32* %arg2 to i64\n store i64 %2, i64* %arg1, align 8\n %3 = add i64 %2, 4\n %4 = add i64 %1, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %2, 8\n %7 = add i64 %1, 24\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %8 = mul i64 %indvars.iv.reload, 4\n %9 = add i64 %6, %8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add nuw nsw i64 %8, 16\n %13 = add i64 %12, %1\n %14 = inttoptr i64 %13 to i32*\n store i32 %11, i32* %14, align 4\n %15 = add i64 %12, %2\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %7, %8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %20 = add i64 %2, 24\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %1, 32\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %2, 28\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %1, 36\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 3, 0, 2, 4, 5 }\n uselistorder i64 %1, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 24, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "update_read_synchronize_11248", "fun_name": "update_read_synchronize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "oom_badness_13707", "fun_name": "oom_badness", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i32* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 %1, i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_6\n LBL_2:\n %9 = inttoptr i64 %6 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %14 = icmp eq i64 %arg4, 0\n %15 = icmp eq i1 %14, false\n %spec.select = select i1 %15, i64 %arg4, i64 1\n %16 = load i64, i64* %9, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = load i64, i64* %9, align 8\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %21, %17\n %23 = call i64 @FUNC(i64 %18, i64 0)\n %24 = add i64 %22, %23\n %25 = mul i64 %24, 1000\n %26 = udiv i64 %25, %spec.select\n %27 = call i64 @FUNC(i64 %6)\n %28 = call i64 @FUNC(i64 %6, i64 0)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = add i64 %26, -30\n %sv_0.0 = select i1 %30, i64 %26, i64 %31\n %32 = add i64 %6, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = sext i32 %36 to i64\n %38 = add i64 %sv_0.0, %37\n %39 = icmp eq i64 %38, 0\n %40 = icmp slt i64 %38, 0\n %41 = icmp eq i1 %40, false\n %42 = icmp eq i1 %39, false\n %43 = icmp eq i1 %41, %42\n store i64 1, i64* %rax.0.reg2mem\n br i1 %43, label LBL_5, label LBL_6\n LBL_5:\n %44 = add i64 %38, -1000\n %45 = sub i64 999, %38\n %46 = and i64 %45, %38\n %47 = icmp slt i64 %46, 0\n %48 = icmp eq i64 %44, 0\n %49 = icmp slt i64 %44, 0\n %50 = icmp eq i1 %49, %47\n %51 = icmp eq i1 %48, false\n %52 = icmp eq i1 %50, %51\n %53 = select i1 %52, i64 1000, i64 %38\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %44, { 1, 0 }\n uselistorder i64 %38, { 1, 0, 3, 2, 5, 4 }\n uselistorder i64* %9, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 3, 2, 0, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 }\n uselistorder i64 1000, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 (i64)* @task_unlock, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_6, { 3, 0, 4, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "eel_g_settings_add_auto_int_4389", "fun_name": "eel_g_settings_add_auto_int", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i8* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = bitcast i64* %arg3 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %1, i64 0)\n %7 = call i64 @FUNC(i64 %2, i64 %6, i64 4198966, i64 %0)\n %8 = call i64 @FUNC(i64 %6)\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_read_icon_info_7786", "fun_name": "update_read_icon_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp ult i64 %3, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_25, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = urem i64 %1, 65536\n %7 = call i64 @FUNC(i64 %2, i64 %6)\n %8 = add i64 %5, 2\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = zext i8 %10 to i64\n %12 = call i64 @FUNC(i64 %2, i64 %11)\n %13 = add i64 %5, 3\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = zext i8 %15 to i64\n %17 = call i64 @FUNC(i64 %2, i64 %16)\n %18 = load i8, i8* %14, align 1\n %.off = add i8 %18, -1\n %19 = icmp ult i8 %.off, 32\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = zext i8 %18 to i64\n %21 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %22 = ptrtoint [10 x i8]* %21 to i64\n %23 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %20)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_3:\n %24 = add i64 %5, 4\n %25 = inttoptr i64 %24 to i16*\n %26 = load i16, i16* %25, align 2\n %27 = zext i16 %26 to i64\n %28 = call i64 @FUNC(i64 %2, i64 %27)\n %29 = add i64 %5, 6\n %30 = inttoptr i64 %29 to i16*\n %31 = load i16, i16* %30, align 2\n %32 = zext i16 %31 to i64\n %33 = call i64 @FUNC(i64 %2, i64 %32)\n %34 = load i8, i8* %14, align 1\n %35 = icmp ult i8 %34, 9\n %36 = icmp ne i1 %35, true\n %37 = icmp eq i1 %36, false\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_7, label LBL_4\n LBL_4:\n %39 = urem i8 %34, 64\n %40 = icmp eq i8 %39, 0\n br i1 %40, label LBL_7, label %41\n LBL_5:\n %44 = call i64 @FUNC(i64 %2)\n %45 = icmp ult i64 %44, 2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %45, label LBL_25, label LBL_6\n LBL_6:\n %46 = add i64 %5, 8\n %47 = inttoptr i64 %46 to i16*\n %48 = load i16, i16* %47, align 2\n %49 = zext i16 %48 to i64\n %50 = call i64 @FUNC(i64 %2, i64 %49)\n br label LBL_8\n LBL_7:\n %51 = add i64 %5, 8\n %52 = inttoptr i64 %51 to i16*\n store i16 0, i16* %52, align 2\n br label LBL_8\n LBL_8:\n %53 = call i64 @FUNC(i64 %2)\n %54 = icmp ult i64 %53, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_25, label LBL_9\n LBL_9:\n %55 = add i64 %5, 10\n %56 = inttoptr i64 %55 to i16*\n %57 = load i16, i16* %56, align 2\n %58 = zext i16 %57 to i64\n %59 = call i64 @FUNC(i64 %2, i64 %58)\n %60 = add i64 %5, 12\n %61 = inttoptr i64 %60 to i16*\n %62 = load i16, i16* %61, align 2\n %63 = zext i16 %62 to i64\n %64 = call i64 @FUNC(i64 %2, i64 %63)\n %65 = call i64 @FUNC(i64 %2)\n %66 = load i16, i16* %56, align 2\n %67 = load i16, i16* %61, align 2\n %68 = zext i16 %67 to i64\n %69 = zext i16 %66 to i64\n %70 = add nuw nsw i64 %68, %69\n %71 = icmp ult i64 %65, %70\n %72 = icmp eq i1 %71, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %72, label LBL_10, label LBL_25\n LBL_10:\n %73 = add i64 %5, 16\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = inttoptr i64 %75 to i64*\n %77 = zext i16 %66 to i32\n %78 = call i64* @realloc(i64* %76, i32 %77)\n %79 = icmp eq i64* %78, null\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_12, label LBL_11\n LBL_11:\n %81 = load i64, i64* %74, align 8\n %82 = inttoptr i64 %81 to i64*\n call void @free(i64* %82)\n store i64 0, i64* %74, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_12:\n %83 = ptrtoint i64* %78 to i64\n store i64 %83, i64* %74, align 8\n %84 = load i16, i16* %56, align 2\n %85 = zext i16 %84 to i64\n %86 = call i64 @FUNC(i64 %2, i64 %83, i64 %85)\n %87 = add i64 %5, 24\n %88 = inttoptr i64 %87 to i64*\n %89 = load i64, i64* %88, align 8\n %90 = icmp eq i64 %89, 0\n %91 = icmp eq i1 %90, false\n %92 = add i64 %5, 8\n %93 = inttoptr i64 %92 to i16*\n %94 = load i16, i16* %93, align 2\n %95 = icmp eq i16 %94, 0\n br i1 %91, label LBL_15, label LBL_13\n LBL_13:\n store i64 %89, i64* %.reg2mem\n br i1 %95, label LBL_20, label LBL_14\n LBL_14:\n %96 = zext i16 %94 to i32\n %97 = call i64* @malloc(i32 %96)\n %98 = ptrtoint i64* %97 to i64\n store i64 %98, i64* %88, align 8\n %99 = icmp eq i64* %97, null\n %100 = icmp eq i1 %99, false\n store i64 %98, i64* %.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %100, label LBL_20, label LBL_25\n LBL_15:\n %101 = inttoptr i64 %89 to i64*\n br i1 %95, label LBL_19, label LBL_16\n LBL_16:\n %102 = zext i16 %94 to i32\n %103 = call i64* @realloc(i64* %101, i32 %102)\n %104 = icmp eq i64* %103, null\n %105 = icmp eq i1 %104, false\n br i1 %105, label LBL_18, label LBL_17\n LBL_17:\n %106 = load i64, i64* %88, align 8\n %107 = inttoptr i64 %106 to i64*\n call void @free(i64* %107)\n store i64 0, i64* %88, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_18:\n %108 = ptrtoint i64* %103 to i64\n store i64 %108, i64* %88, align 8\n store i64 %108, i64* %.reg2mem\n br label LBL_20\n LBL_19:\n call void @free(i64* %101)\n store i64 0, i64* %88, align 8\n br label LBL_22\n LBL_20:\n %.reload = load i64, i64* %.reg2mem\n %109 = icmp eq i64 %.reload, 0\n br i1 %109, label LBL_22, label LBL_21\n LBL_21:\n %110 = load i16, i16* %93, align 2\n %111 = zext i16 %110 to i64\n %112 = call i64 @FUNC(i64 %2, i64 %.reload, i64 %111)\n br label LBL_22\n LBL_22:\n %113 = load i16, i16* %61, align 2\n %114 = add i64 %5, 32\n %115 = inttoptr i64 %114 to i64*\n %116 = load i64, i64* %115, align 8\n %117 = inttoptr i64 %116 to i64*\n %118 = zext i16 %113 to i32\n %119 = call i64* @realloc(i64* %117, i32 %118)\n %120 = icmp eq i64* %119, null\n %121 = icmp eq i1 %120, false\n br i1 %121, label LBL_24, label LBL_23\n LBL_23:\n %122 = load i64, i64* %115, align 8\n %123 = inttoptr i64 %122 to i64*\n call void @free(i64* %123)\n store i64 0, i64* %115, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_24:\n %124 = ptrtoint i64* %119 to i64\n store i64 %124, i64* %115, align 8\n %125 = load i16, i16* %61, align 2\n %126 = zext i16 %125 to i64\n %127 = call i64 @FUNC(i64 %2, i64 %124, i64 %126)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_25:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %119, { 1, 0 }\n uselistorder i64* %115, { 2, 0, 1, 3 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64* %103, { 1, 0 }\n uselistorder i64* %101, { 1, 0 }\n uselistorder i1 %95, { 1, 0 }\n uselistorder i16 %94, { 1, 0, 2 }\n uselistorder i64 %89, { 1, 0, 2 }\n uselistorder i64* %88, { 4, 3, 1, 2, 0, 5 }\n uselistorder i64* %78, { 1, 0 }\n uselistorder i64* %74, { 2, 0, 1, 3 }\n uselistorder i8 %18, { 1, 0 }\n uselistorder i64 %5, { 1, 3, 2, 4, 5, 6, 7, 0, 8, 9, 10, 11 }\n uselistorder i64 %2, { 3, 2, 4, 6, 5, 7, 8, 0, 1, 9, 10, 11, 12, 13, 14 }\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 8, 7, 1, 6, 2, 3, 4, 10, 5 }\n uselistorder i64 (i64, i64, i64)* @Stream_Read, { 2, 1, 0 }\n uselistorder i64* (i64*, i32)* @realloc, { 0, 2, 1 }\n uselistorder i1 false, { 3, 4, 5, 6, 7, 8, 0, 1, 9, 2 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT8, { 1, 0 }\n uselistorder i64 2, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT16, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 8, { 2, 3, 4, 1, 5, 0, 6, 7, 8 }\n uselistorder i64 (i64)* @Stream_GetRemainingLength, { 3, 2, 1, 0 }\n uselistorder label LBL_25, { 5, 6, 7, 0, 8, 1, 2, 3, 9, 4 }\n uselistorder label LBL_22, { 1, 2, 0 }\n uselistorder label LBL_20, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sr9700_rx_fixup_5814", "fun_name": "sr9700_rx_fixup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %3 to i32\n %8 = add i32 %7, -2\n %9 = sub i32 1, %7\n %10 = and i32 %9, %7\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i32 %8, 0\n %13 = icmp slt i32 %8, 0\n %14 = icmp ne i1 %13, %11\n %15 = or i1 %12, %14\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_1, label LBL_3\n LBL_1:\n %17 = icmp sgt i32 %7, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_2, label LBL_11\n LBL_2:\n %18 = ptrtoint i64* %arg2 to i64\n %19 = bitcast i64* %rsi to i32*\n %20 = add i64 %18, 8\n %21 = inttoptr i64 %20 to i64*\n store i32 %7, i32* %.reg2mem\n br label LBL_4\n LBL_3:\n %22 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %23 = load i64, i64* %21, align 8\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp eq i8 %25, 64\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_5, label LBL_11\n LBL_5:\n %27 = add i64 %23, 1\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = add i64 %23, 2\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = zext i8 %32 to i32\n %34 = mul i32 %33, 256\n %35 = zext i8 %29 to i32\n %36 = or i32 %34, %35\n %37 = add nsw i32 %36, -4\n %38 = icmp sgt i32 %37, 1500\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_11, label LBL_6\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %39 = zext i32 %.reload to i64\n %40 = sext i32 %37 to i64\n %41 = icmp sgt i64 %40, %39\n store i64 0, i64* %rax.0.reg2mem\n br i1 %41, label LBL_11, label LBL_7\n LBL_7:\n %42 = add nsw i32 %36, -1\n %43 = icmp eq i32 %.reload, %42\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_9, label LBL_8\n LBL_8:\n %45 = call i64 @FUNC(i64 %18, i64 3)\n %46 = bitcast i64* %arg2 to i32*\n store i32 %37, i32* %46, align 4\n %47 = zext i32 %37 to i64\n %48 = call i64 @FUNC(i64 %18, i64 %47)\n %49 = add nuw nsw i32 %36, 20\n %50 = add i64 %18, 16\n %51 = inttoptr i64 %50 to i32*\n store i32 %49, i32* %51, align 4\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %52 = call i64 @FUNC(i64 %18, i64 0)\n %53 = icmp eq i64 %52, 0\n %54 = icmp eq i1 %53, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_10, label LBL_11\n LBL_10:\n %55 = inttoptr i64 %52 to i32*\n store i32 %37, i32* %55, align 4\n %56 = load i64, i64* %21, align 8\n %57 = add i64 %56, 3\n %58 = add i64 %52, 8\n %59 = inttoptr i64 %58 to i64*\n store i64 %57, i64* %59, align 8\n %60 = zext i32 %37 to i64\n %61 = call i64 @FUNC(i64 %52, i64 %60)\n %62 = add nuw nsw i32 %36, 20\n %63 = add i64 %52, 16\n %64 = inttoptr i64 %63 to i32*\n store i32 %62, i32* %64, align 4\n %65 = call i64 @FUNC(i64 %6, i64 %52)\n %66 = zext i32 %42 to i64\n %67 = call i64 @FUNC(i64 %18, i64 %66)\n %68 = load i32, i32* %19, align 8\n %69 = icmp sgt i32 %68, 3\n store i32 %68, i32* %.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %69, label LBL_4, label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i32 %37, { 2, 3, 0, 1, 4, 5 }\n uselistorder i32 %36, { 1, 0, 2, 3 }\n uselistorder i64 %18, { 2, 3, 1, 0, 4, 5 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32 %7, { 0, 2, 1, 4, 3 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 8, 2, 3, 1, 7, 6 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @skb_set_tail_pointer, { 1, 0 }\n uselistorder i64 (i64, i64)* @skb_pull, { 1, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_11, { 4, 3, 6, 1, 2, 0, 7, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tilegx_cpu_class_init_3383", "fun_name": "tilegx_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %arg1, align 8\n store i64 4198676, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198711, i64* %12, align 8\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = inttoptr i64 %1 to i8*\n store i8 1, i8* %15, align 1\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_handle_event_vq_1928", "fun_name": "virtio_scsi_handle_event_vq", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 0, i64 0, i64 0)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bn_sqr_comba8_6593", "fun_name": "bn_sqr_comba8", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0, i64 0)\n store i64 0, i64* %arg1, align 8\n %3 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 0, i64 0, i64 0)\n %4 = add i64 %1, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %6 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 0, i64 0)\n %7 = call i64 @FUNC(i64 %0, i64 2, i64 0, i64 0, i64 0, i64 0)\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = call i64 @FUNC(i64 %0, i64 3, i64 0, i64 0, i64 0, i64 0)\n %11 = call i64 @FUNC(i64 %0, i64 2, i64 1, i64 0, i64 0, i64 0)\n %12 = add i64 %1, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = call i64 @FUNC(i64 %0, i64 2, i64 0, i64 0, i64 0)\n %15 = call i64 @FUNC(i64 %0, i64 3, i64 1, i64 0, i64 0, i64 0)\n %16 = call i64 @FUNC(i64 %0, i64 4, i64 0, i64 0, i64 0, i64 0)\n %17 = add i64 %1, 32\n %18 = inttoptr i64 %17 to i64*\n store i64 0, i64* %18, align 8\n %19 = call i64 @FUNC(i64 %0, i64 5, i64 0, i64 0, i64 0, i64 0)\n %20 = call i64 @FUNC(i64 %0, i64 4, i64 1, i64 0, i64 0, i64 0)\n %21 = call i64 @FUNC(i64 %0, i64 3, i64 2, i64 0, i64 0, i64 0)\n %22 = add i64 %1, 40\n %23 = inttoptr i64 %22 to i64*\n store i64 0, i64* %23, align 8\n %24 = call i64 @FUNC(i64 %0, i64 3, i64 0, i64 0, i64 0)\n %25 = call i64 @FUNC(i64 %0, i64 4, i64 2, i64 0, i64 0, i64 0)\n %26 = call i64 @FUNC(i64 %0, i64 5, i64 1, i64 0, i64 0, i64 0)\n %27 = call i64 @FUNC(i64 %0, i64 6, i64 0, i64 0, i64 0, i64 0)\n %28 = add i64 %1, 48\n %29 = inttoptr i64 %28 to i64*\n store i64 0, i64* %29, align 8\n %30 = call i64 @FUNC(i64 %0, i64 7, i64 0, i64 0, i64 0, i64 0)\n %31 = call i64 @FUNC(i64 %0, i64 6, i64 1, i64 0, i64 0, i64 0)\n %32 = call i64 @FUNC(i64 %0, i64 5, i64 2, i64 0, i64 0, i64 0)\n %33 = call i64 @FUNC(i64 %0, i64 4, i64 3, i64 0, i64 0, i64 0)\n %34 = add i64 %1, 56\n %35 = inttoptr i64 %34 to i64*\n store i64 0, i64* %35, align 8\n %36 = call i64 @FUNC(i64 %0, i64 4, i64 0, i64 0, i64 0)\n %37 = call i64 @FUNC(i64 %0, i64 5, i64 3, i64 0, i64 0, i64 0)\n %38 = call i64 @FUNC(i64 %0, i64 6, i64 2, i64 0, i64 0, i64 0)\n %39 = call i64 @FUNC(i64 %0, i64 7, i64 1, i64 0, i64 0, i64 0)\n %40 = add i64 %1, 64\n %41 = inttoptr i64 %40 to i64*\n store i64 0, i64* %41, align 8\n %42 = call i64 @FUNC(i64 %0, i64 7, i64 2, i64 0, i64 0, i64 0)\n %43 = call i64 @FUNC(i64 %0, i64 6, i64 3, i64 0, i64 0, i64 0)\n %44 = call i64 @FUNC(i64 %0, i64 5, i64 4, i64 0, i64 0, i64 0)\n %45 = add i64 %1, 72\n %46 = inttoptr i64 %45 to i64*\n store i64 0, i64* %46, align 8\n %47 = call i64 @FUNC(i64 %0, i64 5, i64 0, i64 0, i64 0)\n %48 = call i64 @FUNC(i64 %0, i64 6, i64 4, i64 0, i64 0, i64 0)\n %49 = call i64 @FUNC(i64 %0, i64 7, i64 3, i64 0, i64 0, i64 0)\n %50 = add i64 %1, 80\n %51 = inttoptr i64 %50 to i64*\n store i64 0, i64* %51, align 8\n %52 = call i64 @FUNC(i64 %0, i64 7, i64 4, i64 0, i64 0, i64 0)\n %53 = call i64 @FUNC(i64 %0, i64 6, i64 5, i64 0, i64 0, i64 0)\n %54 = add i64 %1, 88\n %55 = inttoptr i64 %54 to i64*\n store i64 0, i64* %55, align 8\n %56 = call i64 @FUNC(i64 %0, i64 6, i64 0, i64 0, i64 0)\n %57 = call i64 @FUNC(i64 %0, i64 7, i64 5, i64 0, i64 0, i64 0)\n %58 = add i64 %1, 96\n %59 = inttoptr i64 %58 to i64*\n store i64 0, i64* %59, align 8\n %60 = call i64 @FUNC(i64 %0, i64 7, i64 6, i64 0, i64 0, i64 0)\n %61 = add i64 %1, 104\n %62 = inttoptr i64 %61 to i64*\n store i64 0, i64* %62, align 8\n %63 = call i64 @FUNC(i64 %0, i64 7, i64 0, i64 0, i64 0)\n %64 = add i64 %1, 112\n %65 = inttoptr i64 %64 to i64*\n store i64 0, i64* %65, align 8\n %66 = add i64 %1, 120\n %67 = inttoptr i64 %66 to i64*\n store i64 0, i64* %67, align 8\n ret i64 0\n\n uselistorder i64 %0, { 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 35 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @sqr_add_c2, { 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @sqr_add_c, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "adb_mouse_realizefn_17226", "fun_name": "adb_mouse_realizefn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 4198764, i64 %1, i64 0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n ret i64 %3\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rndis_query_oid_6413", "fun_name": "rndis_query_oid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge6.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %rcx = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %sext9 = mul i64 %1, 4294967296\n %5 = ashr exact i64 %sext9, 32\n %6 = add nsw i64 %5, 12\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i64 %6, 255\n %9 = icmp eq i32 %4, 243\n %10 = or i1 %9, %8\n %spec.select = select i1 %10, i32 256, i32 %7\n %11 = icmp ult i32 %spec.select, 513\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = sext i32 %spec.select to i64\n %13 = call i64 @FUNC(i64 %12, i64 0)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %12, i64* %.pre-phi.reg2mem\n store i64 %13, i64* %sv_1.0.reg2mem\n store i64 4294967284, i64* %storemerge6.reg2mem\n br i1 %15, label LBL_3, label LBL_13\n LBL_2:\n %16 = inttoptr i64 %3 to i64*\n %17 = load i64, i64* %16, align 8\n %.pre = sext i32 %spec.select to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %17, i64* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %18 = add i64 %3, 12\n %19 = call i64 @FUNC(i64 %18)\n %20 = inttoptr i64 %sv_1.0.reload to i64*\n %21 = call i64* @memset(i64* %20, i32 0, i32 12)\n %22 = call i64 @FUNC(i64 1)\n %23 = trunc i64 %22 to i32\n %24 = inttoptr i64 %sv_1.0.reload to i32*\n store i32 %23, i32* %24, align 4\n %25 = call i64 @FUNC(i64 12)\n %26 = trunc i64 %25 to i32\n %27 = add i64 %sv_1.0.reload, 4\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = zext i32 %arg2 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = add i64 %sv_1.0.reload, 8\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = add i64 %3, 8\n %35 = inttoptr i64 %34 to i32*\n store i32 %arg2, i32* %35, align 4\n %36 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i64 %.pre-phi.reload)\n %37 = trunc i64 %36 to i32\n store i32 0, i32* %35, align 4\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_5, label LBL_4\n LBL_4:\n %40 = load i32, i32* %33, align 4\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64 %41)\n %43 = call i64 @FUNC(i64 %29)\n %44 = and i64 %42, 4294967295\n %45 = and i64 %36, 4294967295\n %46 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %43, i64 %45, i64 %44)\n br label LBL_5\n LBL_5:\n %47 = icmp eq i32 %37, 0\n %48 = icmp eq i1 %47, false\n store i64 %36, i64* %sv_0.0.reg2mem\n br i1 %48, label LBL_10, label LBL_6\n LBL_6:\n %49 = load i32, i32* %24, align 4\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i64 %50)\n %52 = load i32, i32* %28, align 4\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64 %53)\n %55 = mul i64 %54, 4294967296\n %sext = add i64 %55, 34359738368\n %56 = ashr exact i64 %sext, 32\n %57 = icmp ugt i64 %56, %.pre-phi.reload\n br i1 %57, label LBL_7, label LBL_8\n LBL_7:\n %58 = call i64 @FUNC(i64 %29)\n %59 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %58, i64 %56, i64 %.pre-phi.reload)\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_8:\n %60 = bitcast i64* %rcx to i32*\n %61 = trunc i64 %51 to i32\n %62 = trunc i64 %56 to i32\n %63 = sub i32 %spec.select, %62\n %64 = zext i32 %63 to i64\n %65 = and i64 %51, 4294967295\n %66 = call i64 @FUNC(i64 %65, i64 %64)\n %sext7 = mul i64 %66, 4294967296\n %67 = ashr exact i64 %sext7, 32\n %68 = trunc i64 %67 to i32\n %69 = load i32, i32* %60, align 8\n %70 = sext i32 %69 to i64\n %71 = icmp ugt i64 %67, %70\n %spec.select8 = select i1 %71, i32 %69, i32 %68\n %72 = add i64 %56, %sv_1.0.reload\n %73 = inttoptr i64 %arg3 to i64*\n %74 = inttoptr i64 %72 to i64*\n %75 = call i64* @memcpy(i64* %73, i64* %74, i32 %spec.select8)\n store i32 %61, i32* %arg4, align 4\n %76 = load i32, i32* %33, align 4\n %77 = zext i32 %76 to i64\n %78 = call i64 @FUNC(i64 %77)\n %79 = trunc i64 %78 to i32\n %80 = icmp slt i32 %79, 0\n %81 = icmp eq i1 %80, false\n store i64 %78, i64* %sv_0.0.reg2mem\n br i1 %81, label LBL_10, label LBL_9\n LBL_9:\n %82 = load i32, i32* %33, align 4\n %83 = zext i32 %82 to i64\n %84 = call i64 @FUNC(i64 %83)\n %85 = call i64 @FUNC(i64 %29)\n %86 = and i64 %78, 4294967295\n %87 = and i64 %84, 4294967295\n %88 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %85, i64 %87, i64 %86)\n store i64 %78, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %89 = call i64 @FUNC(i64 %18)\n %90 = inttoptr i64 %3 to i64*\n %91 = load i64, i64* %90, align 8\n %92 = icmp eq i64 %sv_1.0.reload, %91\n br i1 %92, label LBL_12, label LBL_11\n LBL_11:\n %93 = call i64 @FUNC(i64 %sv_1.0.reload)\n br label LBL_12\n LBL_12:\n %94 = and i64 %sv_0.0.reload, 4294967295\n store i64 %94, i64* %storemerge6.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n ret i64 %storemerge6.reload\n\n uselistorder i64 %78, { 0, 2, 1, 3 }\n uselistorder i64 %56, { 0, 3, 1, 2 }\n uselistorder i32* %33, { 1, 2, 0, 3 }\n uselistorder i64 %29, { 3, 2, 5, 4, 1, 0, 6 }\n uselistorder i64 %sv_1.0.reload, { 5, 6, 7, 4, 3, 2, 0, 1 }\n uselistorder i32 %spec.select, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @netdev_dbg, { 2, 1, 0 }\n uselistorder i64 (i64)* @oid_to_string, { 2, 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @cpu_to_le32, { 2, 1, 0 }\n uselistorder i64 32, { 1, 2, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 2, 1, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mod_sysfs_setup_18070", "fun_name": "mod_sysfs_setup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %1, i64* %sv_0.1.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n store i64 %6, i64* %arg1, align 8\n %7 = call i64 @FUNC(i64 %0, i64 %5, i32 %arg4)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = call i64 @FUNC(i64 %0)\n %17 = call i64 @FUNC(i64 %0, i64 %15)\n %18 = call i64 @FUNC(i64 %0, i64 %15)\n %19 = call i64 @FUNC(i64 %0, i64 1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_4:\n %20 = call i64 @FUNC(i64 %0)\n store i64 %11, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %21 = call i64 @FUNC(i64 %0)\n %22 = call i64 @FUNC(i64 %0)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %23 = and i64 %sv_0.1.reload, 4294967295\n store i64 %23, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %0, { 7, 0, 1, 2, 3, 4, 5, 6, 8, 9, 10 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @kobject_put, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "reclaim_ramblock_1204", "fun_name": "reclaim_ramblock", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 2\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_9, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = add i64 %arg1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n br label LBL_9\n LBL_3:\n %13 = add i64 %arg1, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp slt i32 %15, 0\n br i1 %16, label LBL_8, label LBL_4\n LBL_4:\n %17 = and i32 %2, 2\n %18 = icmp eq i32 %17, 0\n %19 = add i64 %arg1, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i32 @getpagesize()\n %23 = add i64 %arg1, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %25 to i64*\n %27 = trunc i64 %21 to i32\n %28 = add i32 %22, %27\n %29 = call i32 @munmap(i64* %26, i32 %28)\n br label LBL_7\n LBL_6:\n %30 = add i64 %arg1, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i64*\n %34 = trunc i64 %21 to i32\n %35 = call i32 @munmap(i64* %33, i32 %34)\n br label LBL_7\n LBL_7:\n %36 = load i32, i32* %14, align 4\n %37 = call i32 @close(i32 %36)\n br label LBL_9\n LBL_8:\n %38 = add i64 %arg1, 24\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = add i64 %arg1, 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %43, i64 %40)\n br label LBL_9\n LBL_9:\n %45 = call i64 @FUNC(i64 %arg1)\n ret i64 %45\n\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32 (i64*, i32)* @munmap, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 %arg1, { 7, 2, 3, 5, 4, 6, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vfs_rmdir_8769", "fun_name": "vfs_rmdir", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %6 = icmp eq i64* %arg1, null\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_10\n LBL_3:\n %8 = call i64 @FUNC(i64 %0)\n %9 = add i64 %0, 12\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64* inttoptr (i32 -2 to i64*), i64** %sv_0.0.reg2mem\n br i1 %14, label LBL_7, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %1, i64 %0)\n %16 = trunc i64 %15 to i32\n %17 = and i64 %15, 4294967295\n %18 = inttoptr i64 %17 to i64*\n %19 = icmp eq i32 %16, 0\n %20 = icmp eq i1 %19, false\n store i64* %18, i64** %sv_0.0.reg2mem\n br i1 %20, label LBL_7, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %0)\n %22 = trunc i64 %1 to i32\n %23 = and i64 %1, 4294967295\n %24 = inttoptr i64 %23 to i64*\n %25 = icmp eq i32 %22, 0\n %26 = icmp eq i1 %25, false\n store i64* %24, i64** %sv_0.0.reg2mem\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %27 = add i64 %0, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = or i32 %29, 4\n store i32 %30, i32* %28, align 4\n %31 = call i64 @FUNC(i64 %0)\n store i64* %24, i64** %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem\n %32 = call i64 @FUNC(i64 %9)\n %33 = call i64 @FUNC(i64 %0)\n %34 = ptrtoint i64* %sv_0.0.reload to i64\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %38 = call i64 @FUNC(i64 %0)\n br label LBL_9\n LBL_9:\n %39 = and i64 %34, 4294967295\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 4, 5, 0, 1, 2, 3, 8, 6, 7, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cgit_print_http_headers_5844", "fun_name": "cgit_print_http_headers", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i8*, i8** @gv_0, align 8\n %5 = icmp eq i8* %4, null\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i32 @strcmp(i8* nonnull %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_19, label LBL_2\n LBL_2:\n %8 = load i32, i32* @gv_2, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = load i64, i64* @gv_3, align 8\n %11 = zext i32 %8 to i64\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0), i64 %11, i64 %10, i64 %3, i64 %2, i64 %1)\n store i64 %10, i64* %rdx.0.reg2mem\n br label LBL_4\n LBL_4:\n %13 = load i64, i64* @gv_5, align 8\n %14 = icmp eq i64 %13, 0\n %15 = load i64, i64* @gv_6, align 8\n %16 = icmp eq i64 %15, 0\n %or.cond = or i1 %14, %16\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_7, i64 0, i64 0), i64 %13, i64 %15, i64 %3, i64 %2, i64 %1)\n store i64 %15, i64* %rdx.1.reg2mem\n br label LBL_8\n LBL_6:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n store i64 %rdx.0.reload, i64* %rdx.1.reg2mem\n br i1 %14, label LBL_8, label LBL_7\n LBL_7:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0), i64 %13, i64 %rdx.0.reload, i64 %3, i64 %2, i64 %1)\n store i64 %rdx.0.reload, i64* %rdx.1.reg2mem\n br label LBL_8\n LBL_8:\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %19 = load i64, i64* @gv_9, align 8\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_10, label LBL_9\n LBL_9:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_10, i64 0, i64 0), i64 %19, i64 %rdx.1.reload, i64 %3, i64 %2, i64 %1)\n br label LBL_10\n LBL_10:\n %22 = load i64, i64* @gv_11, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_12, label LBL_11\n LBL_11:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_12, i64 0, i64 0))\n %25 = load i64, i64* @gv_11, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_13, i64 0, i64 0))\n br label LBL_12\n LBL_12:\n %28 = load i32, i32* @gv_14, align 4\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_14, label LBL_13\n LBL_13:\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_15, i64 0, i64 0))\n br label LBL_14\n LBL_14:\n %32 = load i64, i64* @gv_16, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_17, i64 0, i64 0), i64 %33, i64 %rdx.1.reload, i64 %3, i64 %2, i64 %1)\n %35 = load i64, i64* @gv_18, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_19, i64 0, i64 0), i64 %36, i64 %rdx.1.reload, i64 %3, i64 %2, i64 %1)\n %38 = load i64, i64* @gv_20, align 8\n %39 = icmp eq i64 %38, 0\n br i1 %39, label LBL_16, label LBL_15\n LBL_15:\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_21, i64 0, i64 0), i64 %38, i64 %rdx.1.reload, i64 %3, i64 %2, i64 %1)\n br label LBL_16\n LBL_16:\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_22, i64 0, i64 0))\n %42 = load i8*, i8** @gv_23, align 8\n %43 = ptrtoint i8* %42 to i64\n %44 = icmp eq i8* %42, null\n store i64 %43, i64* %rax.0.reg2mem\n br i1 %44, label LBL_19, label LBL_17\n LBL_17:\n %45 = call i32 @strcmp(i8* nonnull %42, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_24, i64 0, i64 0))\n %46 = sext i32 %45 to i64\n %47 = icmp eq i32 %45, 0\n %48 = icmp eq i1 %47, false\n store i64 %46, i64* %rax.0.reg2mem\n br i1 %48, label LBL_19, label LBL_18\n LBL_18:\n call void @exit(i32 0)\n unreachable\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rdx.1.reload, { 2, 1, 0, 3 }\n uselistorder i64 %rdx.0.reload, { 0, 2, 1 }\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64 %3, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rdx.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @http_date, { 1, 0 }\n uselistorder i64 (i8*)* @html, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @htmlf, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 6, 1, 0 }\n uselistorder label LBL_19, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_window_5528", "fun_name": "get_window", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = mul i32 %3, 2\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %4, %5\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %4, %15\n %17 = icmp eq i1 %16, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avpriv_lock_avformat_16873", "fun_name": "avpriv_lock_avformat", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %storemerge = select i1 %1, i64 0, i64 4294967295\n ret i64 %storemerge\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_file_set_error_3199", "fun_name": "qemu_file_set_error", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = trunc i64 %arg2 to i32\n store i32 %7, i32* %arg1, align 4\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "create_initial_guard_context_7905", "fun_name": "create_initial_guard_context", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n %2 = zext i1 %1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = load i64, i64* @gv_1, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC()\n store i64 %7, i64* @gv_1, align 8\n br label LBL_2\n LBL_2:\n store i32 0, i32* %sv_0, align 4\n %8 = call i64 @FUNC()\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC()\n %12 = call i64 @FUNC(i64 %11, i64 %10, i64 0, i32* nonnull %sv_0)\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i32, i32* %sv_0, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = zext i1 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %12)\n %21 = load i32, i32* %sv_0, align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %12, i64 %22, i64 1)\n store i64 %23, i64* @gv_0, align 8\n ret i64 %23\n\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %12, { 1, 2, 0 }\n uselistorder i32* %sv_0, { 1, 2, 0, 3 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 (i64)* @tor_assert, { 2, 1, 0 }\n uselistorder i32 1, { 3, 4, 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jffs2_trusted_listxattr_4649", "fun_name": "jffs2_trusted_listxattr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 21)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = add i64 %arg5, 9\n %5 = icmp eq i64* %arg2, null\n %6 = icmp ugt i64 %4, %arg3\n %or.cond = or i1 %5, %6\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n store i64 3342908374243439220, i64* %arg2, align 8\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i8*\n store i8 0, i8* %9, align 1\n %10 = inttoptr i64 %arg4 to i8*\n %11 = call i8* @strcpy(i8* %9, i8* %10)\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %arg2, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "encode_subband_c0run_7377", "fun_name": "encode_subband_c0run", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %sv_0.631.reg2mem = alloca i32\n %sv_1.632.reg2mem = alloca i32\n %storemerge33.reg2mem = alloca i32\n %sv_1.5.lcssa.reg2mem = alloca i32\n %sv_0.5.lcssa.reg2mem = alloca i32\n %sv_0.420.reg2mem = alloca i32\n %sv_1.421.reg2mem = alloca i32\n %sv_0.423.reg2mem = alloca i32\n %sv_1.424.reg2mem = alloca i32\n %sv_1.4.reg2mem = alloca i32\n %sv_0.4.reg2mem = alloca i32\n %sv_1.3.reg2mem = alloca i32\n %sv_0.3.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_5.0.reg2mem = alloca i32\n %sv_6.1.reg2mem = alloca i32\n %sv_6.0.reg2mem = alloca i32\n %sv_0.525.reg2mem = alloca i32\n %sv_1.526.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_1.2.lcssa.reg2mem = alloca i32\n %sv_0.2.lcssa.reg2mem = alloca i32\n %sv_0.243.reg2mem = alloca i32\n %sv_1.244.reg2mem = alloca i32\n %storemerge1245.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_7.0.reg2mem = alloca i32\n %sv_8.0.reg2mem = alloca i32\n %sv_9.0.reg2mem = alloca i32\n %sv_10.0.reg2mem = alloca i32\n %sv_11.1.reg2mem = alloca i32\n %sv_11.0.reg2mem = alloca i32\n %sv_0.136.reg2mem = alloca i32\n %sv_1.137.reg2mem = alloca i32\n %indvars.iv51.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_12 = alloca i64, align 8\n %3 = ptrtoint i64* %sv_12 to i64\n %sext = mul i64 %arg5, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = trunc i64 %1 to i32\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = mul i32 %8, %5\n %10 = sext i32 %9 to i64\n %11 = mul i64 %10, 4\n %12 = add nsw i64 %11, 15\n %13 = udiv i64 %12, 16\n %14 = mul i64 %13, 16\n %15 = sub i64 %3, %14\n %16 = icmp sgt i32 %8, 0\n store i32 0, i32* %sv_0.2.lcssa.reg2mem\n store i32 0, i32* %sv_1.2.lcssa.reg2mem\n br i1 %16, label LBL_1, label LBL_21\n LBL_1:\n %17 = icmp sgt i32 %5, 0\n %18 = trunc i64 %4 to i32\n %sext57 = mul i64 %1, 4294967296\n %19 = ashr exact i64 %sext57, 32\n %20 = icmp eq i64 %arg4, 0\n %21 = add i64 %2, 8\n %22 = inttoptr i64 %21 to i64*\n %arg5.tr49 = trunc i64 %arg5 to i32\n %23 = mul i32 %arg5.tr49, 2\n %wide.trip.count53 = and i64 %1, 4294967295\n store i32 0, i32* %storemerge1245.reg2mem\n store i32 0, i32* %sv_1.244.reg2mem\n store i32 0, i32* %sv_0.243.reg2mem\n br label LBL_19\n LBL_2:\n %sv_0.136.reload = load i32, i32* %sv_0.136.reg2mem\n %sv_1.137.reload = load i32, i32* %sv_1.137.reg2mem\n %indvars.iv51.reload = load i64, i64* %indvars.iv51.reg2mem\n %24 = trunc i64 %indvars.iv51.reload to i32\n %25 = add i32 %91, %24\n %26 = sext i32 %25 to i64\n %27 = mul i64 %26, 4\n %28 = add i64 %27, %arg3\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n store i32 0, i32* %sv_11.1.reg2mem\n store i32 0, i32* %sv_10.0.reg2mem\n store i32 0, i32* %sv_9.0.reg2mem\n br i1 %92, label LBL_7, label LBL_3\n LBL_3:\n %31 = add i32 %94, %24\n %32 = sext i32 %31 to i64\n %33 = mul i64 %32, 4\n %34 = add i64 %33, %arg3\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i64 %indvars.iv51.reload, 0\n store i32 0, i32* %sv_11.0.reg2mem\n br i1 %37, label LBL_5, label LBL_4\n LBL_4:\n %38 = add i32 %31, -1\n %39 = sext i32 %38 to i64\n %40 = mul i64 %39, 4\n %41 = add i64 %40, %arg3\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n store i32 %43, i32* %sv_11.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_11.0.reload = load i32, i32* %sv_11.0.reg2mem\n %44 = add nuw nsw i64 %indvars.iv51.reload, 1\n %45 = icmp sgt i64 %19, %44\n store i32 %sv_11.0.reload, i32* %sv_11.1.reg2mem\n store i32 %36, i32* %sv_10.0.reg2mem\n store i32 0, i32* %sv_9.0.reg2mem\n br i1 %45, label LBL_6, label LBL_7\n LBL_6:\n %46 = trunc i64 %44 to i32\n %47 = add i32 %94, %46\n %48 = sext i32 %47 to i64\n %49 = mul i64 %48, 4\n %50 = add i64 %49, %arg3\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n store i32 %sv_11.0.reload, i32* %sv_11.1.reg2mem\n store i32 %36, i32* %sv_10.0.reg2mem\n store i32 %52, i32* %sv_9.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_9.0.reload = load i32, i32* %sv_9.0.reg2mem\n %sv_10.0.reload = load i32, i32* %sv_10.0.reg2mem\n %sv_11.1.reload = load i32, i32* %sv_11.1.reg2mem\n %53 = icmp eq i64 %indvars.iv51.reload, 0\n store i32 0, i32* %sv_8.0.reg2mem\n br i1 %53, label LBL_9, label LBL_8\n LBL_8:\n %54 = add i32 %25, -1\n %55 = sext i32 %54 to i64\n %56 = mul i64 %55, 4\n %57 = add i64 %56, %arg3\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n store i32 %59, i32* %sv_8.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_8.0.reload = load i32, i32* %sv_8.0.reg2mem\n store i32 0, i32* %sv_7.0.reg2mem\n br i1 %20, label LBL_13, label LBL_10\n LBL_10:\n %60 = ashr i32 %24, 1\n %61 = load i64, i64* %22, align 8\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = zext i32 %63 to i64\n %65 = sext i32 %60 to i64\n %66 = icmp slt i64 %65, %64\n store i32 0, i32* %sv_7.0.reg2mem\n br i1 %66, label LBL_11, label LBL_13\n LBL_11:\n %67 = add i64 %61, 4\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = icmp ult i32 %95, %69\n store i32 0, i32* %sv_7.0.reg2mem\n br i1 %70, label LBL_12, label LBL_13\n LBL_12:\n %71 = add i32 %60, %96\n %72 = sext i32 %71 to i64\n %73 = mul i64 %72, 4\n %74 = add i64 %73, %arg4\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n store i32 %76, i32* %sv_7.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_7.0.reload = load i32, i32* %sv_7.0.reg2mem\n %77 = or i32 %sv_10.0.reload, %sv_11.1.reload\n %78 = or i32 %77, %sv_9.0.reload\n %79 = or i32 %78, %sv_8.0.reload\n %80 = or i32 %79, %sv_7.0.reload\n %81 = icmp eq i32 %80, 0\n %82 = icmp eq i1 %81, false\n store i32 %sv_0.136.reload, i32* %sv_0.0.reg2mem\n store i32 %sv_1.137.reload, i32* %sv_1.0.reg2mem\n br i1 %82, label LBL_17, label LBL_14\n LBL_14:\n %83 = icmp eq i32 %30, 0\n br i1 %83, label LBL_16, label LBL_15\n LBL_15:\n %84 = add i32 %sv_1.137.reload, 1\n %85 = sext i32 %sv_1.137.reload to i64\n %86 = mul i64 %85, 4\n %87 = add i64 %86, %15\n %88 = inttoptr i64 %87 to i32*\n store i32 %sv_0.136.reload, i32* %88, align 4\n store i32 0, i32* %sv_0.0.reg2mem\n store i32 %84, i32* %sv_1.0.reg2mem\n br label LBL_17\n LBL_16:\n %89 = add i32 %sv_0.136.reload, 1\n store i32 %89, i32* %sv_0.0.reg2mem\n store i32 %sv_1.137.reload, i32* %sv_1.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next52 = add nuw nsw i64 %indvars.iv51.reload, 1\n %exitcond54 = icmp eq i64 %indvars.iv.next52, %wide.trip.count53\n store i64 %indvars.iv.next52, i64* %indvars.iv51.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.137.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.136.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %exitcond54, label LBL_18, label LBL_2\n LBL_18:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %90 = add nuw nsw i32 %storemerge1245.reload, 1\n %exitcond55 = icmp eq i32 %90, %8\n store i32 %90, i32* %storemerge1245.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %sv_1.244.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.243.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.lcssa.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %sv_1.2.lcssa.reg2mem\n br i1 %exitcond55, label LBL_21, label LBL_19\n LBL_19:\n %sv_0.243.reload = load i32, i32* %sv_0.243.reg2mem\n %sv_1.244.reload = load i32, i32* %sv_1.244.reg2mem\n %storemerge1245.reload = load i32, i32* %storemerge1245.reg2mem\n store i32 %sv_0.243.reload, i32* %sv_0.1.lcssa.reg2mem\n store i32 %sv_1.244.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %17, label LBL_2.lr.ph, label LBL_18\n LBL_20:\n %91 = mul i32 %storemerge1245.reload, %18\n %92 = icmp eq i32 %storemerge1245.reload, 0\n %93 = add nsw i32 %storemerge1245.reload, -1\n %94 = mul i32 %93, %18\n %95 = udiv i32 %storemerge1245.reload, 2\n %96 = mul i32 %23, %95\n store i64 0, i64* %indvars.iv51.reg2mem\n store i32 %sv_1.244.reload, i32* %sv_1.137.reg2mem\n store i32 %sv_0.243.reload, i32* %sv_0.136.reg2mem\n br label LBL_2\n LBL_21:\n %sv_1.2.lcssa.reload = load i32, i32* %sv_1.2.lcssa.reg2mem\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %97 = sext i32 %sv_1.2.lcssa.reload to i64\n %98 = mul i64 %97, 4\n %99 = add i64 %98, %15\n %100 = inttoptr i64 %99 to i32*\n store i32 %sv_0.2.lcssa.reload, i32* %100, align 4\n %101 = inttoptr i64 %15 to i32*\n %102 = load i32, i32* %101, align 8\n %103 = add i64 %2, 16\n %104 = inttoptr i64 %103 to i64*\n %105 = load i64, i64* %104, align 8\n %106 = add i64 %105, 1024\n %107 = and i64 %106, 4294967295\n %108 = ptrtoint i32* %arg1 to i64\n %109 = call i64 @FUNC(i64 %108, i64 %107, i32 %102, i64 3)\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %16, label LBL_22, label LBL_48\n LBL_22:\n %110 = icmp sgt i32 %5, 0\n %111 = trunc i64 %4 to i32\n %sext56 = mul i64 %1, 4294967296\n %112 = ashr exact i64 %sext56, 32\n %113 = icmp eq i64 %arg4, 0\n %114 = add i64 %2, 8\n %115 = inttoptr i64 %114 to i64*\n %arg5.tr = trunc i64 %arg5 to i32\n %116 = mul i32 %arg5.tr, 2\n %wide.trip.count = and i64 %1, 4294967295\n store i32 0, i32* %storemerge33.reg2mem\n store i32 1, i32* %sv_1.632.reg2mem\n store i32 %102, i32* %sv_0.631.reg2mem\n br label LBL_45\n LBL_23:\n %sv_0.525.reload = load i32, i32* %sv_0.525.reg2mem\n %sv_1.526.reload = load i32, i32* %sv_1.526.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %117 = trunc i64 %indvars.iv.reload to i32\n %118 = add i32 %289, %117\n %119 = sext i32 %118 to i64\n %120 = mul i64 %119, 4\n %121 = add i64 %120, %arg3\n %122 = inttoptr i64 %121 to i32*\n %123 = load i32, i32* %122, align 4\n store i32 0, i32* %sv_6.1.reg2mem\n store i32 0, i32* %sv_5.0.reg2mem\n store i32 0, i32* %sv_4.0.reg2mem\n br i1 %290, label LBL_28, label LBL_24\n LBL_24:\n %124 = add i32 %292, %117\n %125 = sext i32 %124 to i64\n %126 = mul i64 %125, 4\n %127 = add i64 %126, %arg3\n %128 = inttoptr i64 %127 to i32*\n %129 = load i32, i32* %128, align 4\n %130 = icmp eq i64 %indvars.iv.reload, 0\n store i32 0, i32* %sv_6.0.reg2mem\n br i1 %130, label LBL_26, label LBL_25\n LBL_25:\n %131 = add i32 %124, -1\n %132 = sext i32 %131 to i64\n %133 = mul i64 %132, 4\n %134 = add i64 %133, %arg3\n %135 = inttoptr i64 %134 to i32*\n %136 = load i32, i32* %135, align 4\n store i32 %136, i32* %sv_6.0.reg2mem\n br label LBL_26\n LBL_26:\n %sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem\n %137 = add nuw nsw i64 %indvars.iv.reload, 1\n %138 = icmp sgt i64 %112, %137\n store i32 %sv_6.0.reload, i32* %sv_6.1.reg2mem\n store i32 %129, i32* %sv_5.0.reg2mem\n store i32 0, i32* %sv_4.0.reg2mem\n br i1 %138, label LBL_27, label LBL_28\n LBL_27:\n %139 = trunc i64 %137 to i32\n %140 = add i32 %292, %139\n %141 = sext i32 %140 to i64\n %142 = mul i64 %141, 4\n %143 = add i64 %142, %arg3\n %144 = inttoptr i64 %143 to i32*\n %145 = load i32, i32* %144, align 4\n store i32 %sv_6.0.reload, i32* %sv_6.1.reg2mem\n store i32 %129, i32* %sv_5.0.reg2mem\n store i32 %145, i32* %sv_4.0.reg2mem\n br label LBL_28\n LBL_28:\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem\n %sv_6.1.reload = load i32, i32* %sv_6.1.reg2mem\n %146 = icmp eq i64 %indvars.iv.reload, 0\n store i32 0, i32* %sv_3.0.reg2mem\n br i1 %146, label LBL_30, label LBL_29\n LBL_29:\n %147 = add i32 %118, -1\n %148 = sext i32 %147 to i64\n %149 = mul i64 %148, 4\n %150 = add i64 %149, %arg3\n %151 = inttoptr i64 %150 to i32*\n %152 = load i32, i32* %151, align 4\n store i32 %152, i32* %sv_3.0.reg2mem\n br label LBL_30\n LBL_30:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %113, label LBL_34, label LBL_31\n LBL_31:\n %153 = ashr i32 %117, 1\n %154 = load i64, i64* %115, align 8\n %155 = inttoptr i64 %154 to i32*\n %156 = load i32, i32* %155, align 4\n %157 = zext i32 %156 to i64\n %158 = sext i32 %153 to i64\n %159 = icmp slt i64 %158, %157\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %159, label LBL_32, label LBL_34\n LBL_32:\n %160 = add i64 %154, 4\n %161 = inttoptr i64 %160 to i32*\n %162 = load i32, i32* %161, align 4\n %163 = icmp ult i32 %293, %162\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %163, label LBL_33, label LBL_34\n LBL_33:\n %164 = add i32 %153, %294\n %165 = sext i32 %164 to i64\n %166 = mul i64 %165, 4\n %167 = add i64 %166, %arg4\n %168 = inttoptr i64 %167 to i32*\n %169 = load i32, i32* %168, align 4\n store i32 %169, i32* %sv_2.0.reg2mem\n br label LBL_34\n LBL_34:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %170 = or i32 %sv_5.0.reload, %sv_6.1.reload\n %171 = or i32 %170, %sv_4.0.reload\n %172 = or i32 %171, %sv_3.0.reload\n %173 = or i32 %172, %sv_2.0.reload\n %174 = icmp eq i32 %173, 0\n br i1 %174, label LBL_36, label LBL_35\n LBL_35:\n %175 = sub i32 0, %sv_3.0.reload\n %176 = icmp slt i32 %sv_3.0.reload, 0\n %177 = select i1 %176, i32 %175, i32 %sv_3.0.reload\n %178 = mul i32 %177, 3\n %179 = sub i32 0, %sv_6.1.reload\n %180 = icmp slt i32 %179, 0\n %181 = icmp eq i1 %180, false\n %182 = select i1 %181, i32 %179, i32 %sv_6.1.reload\n %183 = sub i32 0, %sv_5.0.reload\n %184 = icmp slt i32 %183, 0\n %185 = icmp eq i1 %184, false\n %186 = select i1 %185, i32 %183, i32 %sv_5.0.reload\n %187 = mul i32 %186, 2\n %188 = sub i32 0, %sv_4.0.reload\n %189 = icmp slt i32 %188, 0\n %190 = icmp eq i1 %189, false\n %191 = select i1 %190, i32 %188, i32 %sv_4.0.reload\n %192 = sub i32 0, %sv_2.0.reload\n %193 = icmp slt i32 %192, 0\n %194 = icmp eq i1 %193, false\n %195 = select i1 %194, i32 %192, i32 %sv_2.0.reload\n %196 = add i32 %187, %182\n %197 = add i32 %196, %191\n %198 = add i32 %197, %178\n %199 = add i32 %198, %195\n %200 = zext i32 %199 to i64\n %201 = call i64 @FUNC(i64 %200)\n %202 = icmp eq i32 %123, 0\n %203 = icmp eq i1 %202, false\n %204 = zext i1 %203 to i64\n %205 = load i64, i64* %104, align 8\n %sext9 = mul i64 %201, 4294967296\n %206 = ashr exact i64 %sext9, 30\n %207 = add i64 %206, %205\n %208 = call i64 @FUNC(i64 %108, i64 %207, i64 %204)\n store i32 %sv_0.525.reload, i32* %sv_0.4.reg2mem\n store i32 %sv_1.526.reload, i32* %sv_1.4.reg2mem\n br label LBL_41\n LBL_36:\n %209 = icmp eq i32 %sv_0.525.reload, 0\n %210 = icmp eq i1 %209, false\n store i32 %sv_0.525.reload, i32* %sv_0.3.reg2mem\n store i32 %sv_1.526.reload, i32* %sv_1.3.reg2mem\n br i1 %210, label LBL_39, label LBL_37\n LBL_37:\n %211 = add i32 %sv_1.526.reload, 1\n %212 = sext i32 %sv_1.526.reload to i64\n %213 = mul i64 %212, 4\n %214 = add i64 %213, %15\n %215 = inttoptr i64 %214 to i32*\n %216 = load i32, i32* %215, align 4\n %217 = load i64, i64* %104, align 8\n %218 = add i64 %217, 1024\n %219 = and i64 %218, 4294967295\n %220 = call i64 @FUNC(i64 %108, i64 %219, i32 %216, i64 3)\n %221 = icmp eq i32 %123, 0\n %222 = icmp eq i1 %221, false\n store i32 %216, i32* %sv_0.4.reg2mem\n store i32 %211, i32* %sv_1.4.reg2mem\n br i1 %222, label LBL_41, label LBL_38\n LBL_38:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 99, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n store i32 %216, i32* %sv_0.3.reg2mem\n store i32 %211, i32* %sv_1.3.reg2mem\n br label LBL_39\n LBL_39:\n %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %223 = add i32 %sv_0.3.reload, -1\n %224 = icmp eq i32 %123, 0\n store i32 %sv_1.3.reload, i32* %sv_1.421.reg2mem\n store i32 %223, i32* %sv_0.420.reg2mem\n br i1 %224, label LBL_43, label LBL_40\n LBL_40:\n call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 102, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n store i32 %sv_1.3.reload, i32* %sv_1.424.reg2mem\n store i32 %223, i32* %sv_0.423.reg2mem\n br label LBL_42\n LBL_41:\n %sv_1.4.reload = load i32, i32* %sv_1.4.reg2mem\n %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem\n %225 = icmp eq i32 %123, 0\n store i32 %sv_1.4.reload, i32* %sv_1.424.reg2mem\n store i32 %sv_0.4.reload, i32* %sv_0.423.reg2mem\n store i32 %sv_1.4.reload, i32* %sv_1.421.reg2mem\n store i32 %sv_0.4.reload, i32* %sv_0.420.reg2mem\n br i1 %225, label LBL_43, label LBL_42\n LBL_42:\n %sv_0.423.reload = load i32, i32* %sv_0.423.reg2mem\n %sv_1.424.reload = load i32, i32* %sv_1.424.reg2mem\n %226 = sub i32 0, %sv_3.0.reload\n %227 = icmp slt i32 %sv_3.0.reload, 0\n %228 = select i1 %227, i32 %226, i32 %sv_3.0.reload\n %229 = mul i32 %228, 3\n %230 = sub i32 0, %sv_6.1.reload\n %231 = icmp slt i32 %230, 0\n %232 = icmp eq i1 %231, false\n %233 = select i1 %232, i32 %230, i32 %sv_6.1.reload\n %234 = sub i32 0, %sv_5.0.reload\n %235 = icmp slt i32 %234, 0\n %236 = icmp eq i1 %235, false\n %237 = select i1 %236, i32 %234, i32 %sv_5.0.reload\n %238 = mul i32 %237, 2\n %239 = sub i32 0, %sv_4.0.reload\n %240 = icmp slt i32 %239, 0\n %241 = icmp eq i1 %240, false\n %242 = select i1 %241, i32 %239, i32 %sv_4.0.reload\n %243 = sub i32 0, %sv_2.0.reload\n %244 = icmp slt i32 %243, 0\n %245 = icmp eq i1 %244, false\n %246 = select i1 %245, i32 %243, i32 %sv_2.0.reload\n %247 = add i32 %238, %233\n %248 = add i32 %247, %242\n %249 = add i32 %248, %229\n %250 = add i32 %249, %246\n %251 = zext i32 %250 to i64\n %252 = call i64 @FUNC(i64 %251)\n %253 = add i64 %252, 4294967292\n %254 = and i64 %253, 4294967295\n %255 = sub i32 0, %123\n %256 = icmp slt i32 %255, 0\n %257 = icmp eq i1 %256, false\n %258 = select i1 %257, i32 %255, i32 %123\n %259 = add i32 %258, -1\n %260 = load i64, i64* %104, align 8\n %261 = mul i64 %252, 1024\n %262 = add i64 %261, 2048\n %263 = add i64 %262, %260\n %264 = and i64 %263, 4294967295\n %265 = call i64 @FUNC(i64 %108, i64 %264, i32 %259, i64 %254)\n %266 = icmp slt i32 %123, 0\n %267 = zext i1 %266 to i64\n %268 = load i64, i64* %104, align 8\n %269 = mul i32 %sv_3.0.reload, 4\n %270 = and i32 %269, 1020\n %271 = zext i32 %270 to i64\n %272 = add i64 %271, ptrtoint (i32** @gv_4 to i64)\n %273 = inttoptr i64 %272 to i32*\n %274 = load i32, i32* %273, align 4\n %275 = add i32 %274, 20\n %276 = mul i32 %sv_5.0.reload, 4\n %277 = and i32 %276, 1020\n %278 = zext i32 %277 to i64\n %279 = add i64 %278, ptrtoint (i32** @gv_4 to i64)\n %280 = inttoptr i64 %279 to i32*\n %281 = load i32, i32* %280, align 4\n %282 = mul i32 %281, 3\n %283 = add i32 %275, %282\n %284 = sext i32 %283 to i64\n %285 = mul i64 %284, 4\n %286 = add i64 %285, %268\n %287 = call i64 @FUNC(i64 %108, i64 %286, i64 %267)\n store i32 %sv_1.424.reload, i32* %sv_1.421.reg2mem\n store i32 %sv_0.423.reload, i32* %sv_0.420.reg2mem\n br label LBL_43\n LBL_43:\n %sv_0.420.reload = load i32, i32* %sv_0.420.reg2mem\n %sv_1.421.reload = load i32, i32* %sv_1.421.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_1.421.reload, i32* %sv_1.526.reg2mem\n store i32 %sv_0.420.reload, i32* %sv_0.525.reg2mem\n store i32 %sv_0.420.reload, i32* %sv_0.5.lcssa.reg2mem\n store i32 %sv_1.421.reload, i32* %sv_1.5.lcssa.reg2mem\n br i1 %exitcond, label LBL_44, label LBL_23\n LBL_44:\n %sv_1.5.lcssa.reload = load i32, i32* %sv_1.5.lcssa.reg2mem\n %sv_0.5.lcssa.reload = load i32, i32* %sv_0.5.lcssa.reg2mem\n %288 = add nuw nsw i32 %storemerge33.reload, 1\n %exitcond50 = icmp eq i32 %288, %8\n store i32 %288, i32* %storemerge33.reg2mem\n store i32 %sv_1.5.lcssa.reload, i32* %sv_1.632.reg2mem\n store i32 %sv_0.5.lcssa.reload, i32* %sv_0.631.reg2mem\n br i1 %exitcond50, label LBL_47, label LBL_45\n LBL_45:\n %sv_0.631.reload = load i32, i32* %sv_0.631.reg2mem\n %sv_1.632.reload = load i32, i32* %sv_1.632.reg2mem\n %storemerge33.reload = load i32, i32* %storemerge33.reg2mem\n store i32 %sv_0.631.reload, i32* %sv_0.5.lcssa.reg2mem\n store i32 %sv_1.632.reload, i32* %sv_1.5.lcssa.reg2mem\n br i1 %110, label LBL_23.lr.ph, label LBL_44\n LBL_46:\n %289 = mul i32 %storemerge33.reload, %111\n %290 = icmp eq i32 %storemerge33.reload, 0\n %291 = add nsw i32 %storemerge33.reload, -1\n %292 = mul i32 %291, %111\n %293 = udiv i32 %storemerge33.reload, 2\n %294 = mul i32 %116, %293\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %sv_1.632.reload, i32* %sv_1.526.reg2mem\n store i32 %sv_0.631.reload, i32* %sv_0.525.reg2mem\n br label LBL_23\n LBL_47:\n %phitmp = zext i32 %8 to i64\n store i64 %phitmp, i64* %storemerge.lcssa.reg2mem\n br label LBL_48\n LBL_48:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i32 %293, { 1, 0 }\n uselistorder i32 %292, { 1, 0 }\n uselistorder i32 %storemerge33.reload, { 4, 1, 0, 3, 2 }\n uselistorder i32 %223, { 1, 0 }\n uselistorder i32 %sv_1.3.reload, { 1, 0 }\n uselistorder i32 %216, { 1, 0, 2 }\n uselistorder i32 %211, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 3, 4, 1, 0, 2 }\n uselistorder i32 %sv_3.0.reload, { 7, 3, 4, 5, 2, 1, 0, 6 }\n uselistorder i32 %sv_6.1.reload, { 2, 3, 1, 0, 4 }\n uselistorder i32 %sv_5.0.reload, { 5, 2, 3, 1, 0, 4 }\n uselistorder i32 %sv_4.0.reload, { 2, 3, 1, 0, 4 }\n uselistorder i32 %sv_6.0.reload, { 1, 0 }\n uselistorder i32 %129, { 1, 0 }\n uselistorder i32 %123, { 0, 4, 3, 5, 6, 2, 1 }\n uselistorder i32 %117, { 2, 0, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 4, 2, 3, 1 }\n uselistorder i32 %sv_1.526.reload, { 3, 2, 1, 0 }\n uselistorder i32 %sv_0.525.reload, { 1, 2, 0 }\n uselistorder i64 %108, { 1, 2, 3, 0, 4 }\n uselistorder i64* %104, { 1, 2, 3, 0, 4 }\n uselistorder i32 %95, { 1, 0 }\n uselistorder i32 %94, { 1, 0 }\n uselistorder i32 %storemerge1245.reload, { 4, 1, 0, 3, 2 }\n uselistorder i32 %sv_11.0.reload, { 1, 0 }\n uselistorder i32 %36, { 1, 0 }\n uselistorder i32 %24, { 2, 0, 1 }\n uselistorder i64 %indvars.iv51.reload, { 0, 4, 2, 3, 1 }\n uselistorder i32 %sv_1.137.reload, { 0, 3, 2, 1 }\n uselistorder i32 %sv_0.136.reload, { 2, 1, 0 }\n uselistorder i64 %15, { 0, 3, 1, 2 }\n uselistorder i32 %8, { 1, 3, 2, 4, 0 }\n uselistorder i32 %5, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 4, 2, 3, 0 }\n uselistorder i64* %indvars.iv51.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.137.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.136.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_11.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_10.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_9.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_7.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.1.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.1.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.526.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.525.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_6.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_4.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i32* %sv_0.4.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.4.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.421.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.420.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.5.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.5.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @put_rac, { 1, 0 }\n uselistorder i64 (i64)* @av_log2, { 1, 0 }\n uselistorder i64 (i64, i64, i32, i64)* @put_symbol2, { 2, 1, 0 }\n uselistorder i64 1, { 3, 2, 1, 0 }\n uselistorder i32 -1, { 7, 6, 5, 2, 3, 4, 0, 1 }\n uselistorder i64 4294967295, { 3, 4, 2, 1, 5, 0 }\n uselistorder i32 2, { 4, 0, 1, 2, 5, 3 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder i64 4, { 0, 1, 2, 17, 3, 4, 5, 6, 7, 8, 9, 10, 18, 11, 12, 13, 14, 15, 16, 19 }\n uselistorder i64 32, { 1, 0, 2 }\n uselistorder i64 %arg5, { 2, 1, 0 }\n uselistorder i64 %arg4, { 0, 2, 1, 3 }\n uselistorder label LBL_44, { 1, 0 }\n uselistorder label LBL_43, { 1, 2, 0 }\n uselistorder label LBL_42, { 1, 0 }\n uselistorder label LBL_34, { 2, 0, 1, 3 }\n uselistorder label LBL_28, { 1, 0, 2 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_13, { 2, 0, 1, 3 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_mulu_3162", "fun_name": "gen_mulu", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = zext i32 %arg2 to i64\n %2 = call i64 @FUNC(i64 %1, i64 0, i32 %arg3, i32 %arg4)\n %3 = call i64 @FUNC(i64 1, i64 0, i64 0, i64 0)\n %4 = call i64 @FUNC(i64 %0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_frame_thread_encoder_free_1067", "fun_name": "ff_frame_thread_encoder_free", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = call i32 @pthread_mutex_lock(i64* %6)\n %8 = add i64 %5, 224\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n %10 = add i64 %5, 40\n %11 = inttoptr i64 %10 to i64*\n %12 = call i32 @pthread_cond_broadcast(i64* %11)\n %13 = call i32 @pthread_mutex_unlock(i64* %6)\n %14 = bitcast i64* %rdi to i32*\n %15 = load i32, i32* %14, align 8\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_3, label LBL_1\n LBL_1:\n %17 = add i64 %5, 216\n %18 = inttoptr i64 %17 to i64*\n %19 = zext i32 %15 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %20 = load i64, i64* %18, align 8\n %21 = mul i64 %.reload, 8\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = trunc i64 %24 to i32\n %26 = call i32 @pthread_join(i32 %25, i64** null)\n %27 = add i32 %storemerge2.reload, 1\n %28 = sext i32 %27 to i64\n %29 = icmp slt i64 %28, %19\n store i64 %28, i64* %.reg2mem\n store i32 %27, i32* %storemerge2.reg2mem\n br i1 %29, label LBL_2, label LBL_3\n LBL_3:\n %30 = call i32 @pthread_mutex_destroy(i64* %6)\n %31 = add i64 %5, 88\n %32 = inttoptr i64 %31 to i64*\n %33 = call i32 @pthread_mutex_destroy(i64* %32)\n %34 = add i64 %5, 128\n %35 = inttoptr i64 %34 to i64*\n %36 = call i32 @pthread_mutex_destroy(i64* %35)\n %37 = call i32 @pthread_cond_destroy(i64* %11)\n %38 = add i64 %5, 168\n %39 = inttoptr i64 %38 to i64*\n %40 = call i32 @pthread_cond_destroy(i64* %39)\n %41 = add i64 %5, 232\n %42 = call i64 @FUNC(i64 %41)\n %43 = load i64, i64* %2, align 8\n %44 = call i64 @FUNC(i64 %43)\n ret i64 %44\n\n uselistorder i64 %5, { 0, 1, 3, 4, 2, 5, 6, 7 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i64*)* @pthread_cond_destroy, { 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_destroy, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_check_cpenable_15256", "fun_name": "gen_check_cpenable", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = trunc i64 %1 to i32\n %8 = trunc i64 %6 to i32\n %9 = urem i32 %8, 32\n %10 = shl i32 1, %9\n %11 = and i32 %10, %7\n %12 = zext i32 %11 to i64\n %13 = icmp eq i32 %11, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = and i64 %6, 4294967295\n %16 = call i64 @FUNC(i64 %2, i64 %15)\n %17 = add i64 %2, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 1, i32* %18, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 0, 2, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_bsf_list_parse_str_14696", "fun_name": "av_bsf_list_parse_str", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %1 = icmp eq i64 %arg1, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %4 = call i64 @FUNC()\n store i64 %4, i64* %sv_3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_9\n LBL_3:\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %sv_1.0.reg2mem\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_9\n LBL_4:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %10 = call i64 @FUNC(i64 %sv_1.0.reload, i64* nonnull @gv_0, i64* nonnull %sv_2)\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = load i64, i64* %sv_3, align 8\n %13 = call i64 @FUNC(i64 %10, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %13, i64* %sv_0.01.reg2mem\n br i1 %15, label LBL_7, label LBL_4\n LBL_6:\n %16 = call i64 @FUNC(i64* nonnull %sv_3, i64 %0)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %16, i64* %sv_0.01.reg2mem\n store i64 %16, i64* %sv_0.02.reg2mem\n br i1 %19, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %20 = call i64 @FUNC(i64* nonnull %sv_3)\n store i64 %sv_0.01.reload, i64* %sv_0.02.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %21 = call i64 @FUNC(i64 %7)\n %22 = and i64 %sv_0.02.reload, 4294967295\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder label LBL_9, { 2, 0, 1, 3 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "msix_handle_mask_update_2189", "fun_name": "msix_handle_mask_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = urem i64 %2, 256\n %4 = trunc i64 %2 to i8\n %5 = trunc i64 %arg3 to i8\n %6 = icmp eq i8 %4, %5\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = icmp eq i64 %3, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %0, i64 %1)\n %9 = trunc i64 %8 to i8\n %10 = icmp eq i8 %9, 0\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %0, i64 %1)\n %12 = call i64 @FUNC(i64 %0, i64 %1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 3, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bad_mode_switch_2382", "fun_name": "bad_mode_switch", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 8\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = icmp sgt i32 %1, 8\n br i1 %3, label LBL_8, label LBL_2\n LBL_2:\n %4 = icmp sgt i32 %1, 6\n br i1 %4, label LBL_4, label LBL_3\n LBL_3:\n %5 = icmp slt i32 %1, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_8\n LBL_4:\n %7 = call i64 @FUNC(i64 %0, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_9, label LBL_5\n LBL_5:\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 2\n store i64 1, i64* %rax.0.reg2mem\n br i1 %12, label LBL_9, label LBL_6\n LBL_6:\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = icmp ne i32 %14, 0\n %spec.select = zext i1 %15 to i64\n ret i64 %spec.select\n LBL_7:\n %16 = call i64 @FUNC(i64 %0)\n %17 = trunc i64 %16 to i32\n %18 = add i32 %17, -2\n %19 = sub i32 1, %17\n %20 = and i32 %19, %17\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i32 %18, 0\n %23 = icmp slt i32 %18, 0\n %24 = icmp ne i1 %23, %21\n %25 = or i1 %22, %24\n %26 = zext i1 %25 to i64\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %18, { 1, 0 }\n uselistorder i32 %1, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 3, 0, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 2, 1, 3 }\n uselistorder i64 (i64)* @arm_current_el, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0, 3 }\n uselistorder i32 8, { 1, 0 }\n uselistorder label LBL_9, { 3, 4, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "x86_cpu_apic_create_721", "fun_name": "x86_cpu_apic_create", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i8*\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %spec.select = select i1 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0)\n store i8* %spec.select, i8** %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %7 = ptrtoint i8* %sv_0.0.reload to i64\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %arg1, align 8\n %9 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %7, i64 4198824)\n %10 = call i64 @FUNC(i64 %6)\n %11 = add i64 %6, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i32 %13)\n store i64 %6, i64* %arg1, align 8\n %15 = inttoptr i64 %11 to i64*\n store i64 4276094976, i64* %15, align 8\n ret i64 %6\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %6, { 4, 0, 3, 5, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__udp4_lib_err_9883", "fun_name": "__udp4_lib_err", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = mul i32 %3, 4\n %5 = sext i32 %4 to i64\n %6 = add i64 %5, %2\n %7 = call i64 @FUNC(i64 %2)\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = call i64 @FUNC(i64 %2)\n %11 = add i64 %10, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = load i64, i64* %15, align 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = inttoptr i64 %6 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = add i64 %2, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %6, 2\n %27 = inttoptr i64 %26 to i16*\n %28 = load i16, i16* %27, align 2\n %29 = zext i16 %28 to i64\n %30 = inttoptr i64 %14 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %20 to i64\n %33 = zext i16 %22 to i64\n %34 = call i64 @FUNC(i64 %17, i32 %31, i64 %29, i32 %25, i64 %33, i64 %32)\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_2, label LBL_1\n LBL_1:\n %37 = call i64 @FUNC(i64 %17, i64 0)\n store i64 %37, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %38 = ashr exact i64 %sext, 32\n %39 = call i64 @FUNC(i64 %34)\n %40 = icmp eq i32 %9, 12\n store i32 71, i32* %sv_1.0.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %40, label LBL_12, label LBL_3\n LBL_3:\n %41 = icmp sgt i32 %9, 12\n store i32 113, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %41, label LBL_12, label LBL_4\n LBL_4:\n %42 = icmp eq i32 %9, 5\n br i1 %42, label LBL_11, label LBL_5\n LBL_5:\n %43 = icmp sgt i32 %9, 5\n store i32 113, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %43, label LBL_12, label LBL_6\n LBL_6:\n store i32 113, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n switch i32 %9, label LBL_12 [\n i32 3, label LBL_7\n i32 4, label LBL_17\n ]\n LBL_7:\n %44 = icmp eq i32 %13, 4\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_9, label LBL_8\n LBL_8:\n %46 = inttoptr i64 %39 to i32*\n %47 = trunc i64 %38 to i32\n %48 = call i64 @FUNC(i64 %2, i64 %34, i32 %47)\n %49 = load i32, i32* %46, align 4\n %50 = icmp eq i32 %49, 0\n store i32 90, i32* %sv_1.0.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %50, label LBL_17, label LBL_12\n LBL_9:\n %51 = icmp sgt i32 %13, 3\n store i32 113, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %51, label LBL_12, label LBL_10\n LBL_10:\n %52 = sext i32 %13 to i64\n %53 = mul i64 %52, 8\n %54 = add i64 %53, ptrtoint (i32** @gv_0 to i64)\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 8\n %57 = add i64 %53, ptrtoint (i32** @gv_1 to i64)\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 8\n store i32 %59, i32* %sv_1.0.reg2mem\n store i32 %56, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %60 = call i64 @FUNC(i64 %2, i64 %34)\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %61 = add i64 %39, 4\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_15, label LBL_13\n LBL_13:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %66 = icmp eq i32 %sv_0.0.reload, 0\n br i1 %66, label LBL_17, label LBL_14\n LBL_14:\n %67 = inttoptr i64 %34 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = icmp eq i32 %68, 1\n br i1 %69, label LBL_16, label LBL_17\n LBL_15:\n %70 = add i64 %6, 4\n %71 = load i16, i16* %27, align 2\n %72 = zext i16 %71 to i64\n %73 = and i64 %38, 4294967295\n %74 = call i64 @FUNC(i64 %34, i64 %2, i32 %sv_1.0.reload, i64 %72, i64 %73, i64 %70)\n br label LBL_16\n LBL_16:\n %75 = add i64 %34, 4\n %76 = inttoptr i64 %75 to i32*\n store i32 %sv_1.0.reload, i32* %76, align 4\n br label LBL_17\n LBL_17:\n %77 = call i64 @FUNC(i64 %34)\n store i64 %77, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %34, { 4, 3, 2, 6, 0, 1, 5, 7 }\n uselistorder i32 %13, { 1, 0, 2 }\n uselistorder i32 %9, { 0, 4, 3, 2, 1 }\n uselistorder i64 %2, { 3, 2, 1, 4, 5, 6, 7, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 8, 6, 7, 1, 5, 4, 3, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 8, 6, 7, 1, 5, 4, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 5, { 1, 0 }\n uselistorder i32 0, { 6, 7, 4, 5, 3, 8, 2, 1, 0 }\n uselistorder i32 113, { 3, 2, 1, 0 }\n uselistorder i32 12, { 1, 0 }\n uselistorder i64 (i64)* @icmp_hdr, { 1, 0 }\n uselistorder i32 4, { 2, 1, 0 }\n uselistorder label LBL_17, { 4, 2, 1, 3, 0 }\n uselistorder label LBL_12, { 7, 6, 5, 0, 4, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_vencrypt_init_534", "fun_name": "protocol_client_vencrypt_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i16* %arg2 to i64\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %3, 1\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i64\n %9 = trunc i64 %2 to i8\n %10 = urem i64 %2, 256\n %11 = call i64 @FUNC(i64 %4, i64 %10, i64 %8)\n %12 = icmp eq i8 %9, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = load i8, i8* %6, align 1\n %15 = icmp eq i8 %14, 2\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = trunc i64 %1 to i32\n %17 = call i64 @FUNC(i64 %4, i32 %16, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n %18 = call i64 @FUNC(i64 %4, i64 1)\n %19 = call i64 @FUNC(i64 %4)\n %20 = call i64 @FUNC(i64 %4)\n br label LBL_4\n LBL_3:\n %21 = call i64 @FUNC(i64 %4, i64 0)\n %22 = call i64 @FUNC(i64 %4, i64 1)\n %23 = add i64 %4, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %4, i64 %26)\n %28 = call i64 @FUNC(i64 %4)\n %29 = call i64 @FUNC(i64 %4, i64 4198937, i64 4)\n br label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64 %4, { 2, 1, 0, 5, 4, 3, 6, 9, 8, 7, 10 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @vnc_flush, { 1, 0 }\n uselistorder i64 (i64, i64)* @vnc_write_u8, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DecompressRTF_7783", "fun_name": "DecompressRTF", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.be.reg2mem = alloca i32\n %sv_1.1.be.reg2mem = alloca i32\n %sv_0.09.reg2mem = alloca i32\n %sv_2.110.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_1.113.reg2mem = alloca i32\n %sv_3.014.reg2mem = alloca i32\n %sv_4.015.reg2mem = alloca i32\n %sv_0.116.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = call i64* @calloc(i32 11, i32 1)\n %1 = icmp eq i64* %0, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64* @memcpy(i64* %0, i64* bitcast ([11 x i8]* @gv_1 to i64*), i32 10)\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp ult i64 %7, 20\n br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n %9 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_4:\n %10 = ptrtoint i64* %0 to i64\n %11 = call i64 @FUNC(i64 %10, i64 4)\n %12 = add i64 %10, 4\n %13 = call i64 @FUNC(i64 %12, i64 4)\n %14 = add i64 %10, 8\n %15 = call i64 @FUNC(i64 %14, i64 4)\n %16 = load i64, i64* %6, align 8\n %17 = add i64 %16, -4\n %18 = icmp eq i64 %11, %17\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = trunc i64 %11 to i32\n %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i32 %19, i64 %17)\n call void @free(i64* %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_6:\n %21 = trunc i64 %13 to i32\n %22 = trunc i64 %15 to i32\n %23 = icmp eq i32 %22, 1095517517\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_10, label LBL_7\n LBL_7:\n %25 = call i64* @calloc(i32 %21, i32 1)\n %26 = icmp eq i64* %25, null\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n call void @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_9:\n %28 = inttoptr i64 %12 to i64*\n %29 = call i64* @memcpy(i64* %25, i64* %28, i32 %21)\n br label LBL_32\n LBL_10:\n %30 = icmp eq i32 %22, 1967544908\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_31, label LBL_11\n LBL_11:\n %sext = mul i64 %13, 4294967296\n %32 = ashr exact i64 %sext, 32\n %33 = sub nsw i64 2147483647, %32\n %34 = icmp ugt i64 %33, 10\n br i1 %34, label LBL_13, label LBL_12\n LBL_12:\n %35 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0))\n call void @exit(i32 -1)\n unreachable\n LBL_13:\n %36 = add i32 %21, 10\n %37 = call i64* @calloc(i32 %36, i32 1)\n %38 = icmp eq i64* %37, null\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_15, label LBL_14\n LBL_14:\n call void @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_15:\n %40 = ptrtoint i64* %37 to i64\n %41 = call i64* @memcpy(i64* %37, i64* %0, i32 10)\n %42 = add nsw i64 %32, 10\n %43 = icmp ugt i64 %42, 10\n store i64 10, i64* %.reg2mem\n store i32 10, i32* %sv_0.116.reg2mem\n store i32 0, i32* %sv_4.015.reg2mem\n store i32 0, i32* %sv_3.014.reg2mem\n store i32 16, i32* %sv_1.113.reg2mem\n br i1 %43, label LBL_16, label LBL_28\n LBL_16:\n %sv_1.113.reload = load i32, i32* %sv_1.113.reg2mem\n %sv_3.014.reload = load i32, i32* %sv_3.014.reg2mem\n %sv_0.116.reload = load i32, i32* %sv_0.116.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %44 = urem i32 %sv_3.014.reload, 8\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_18, label LBL_17\n LBL_17:\n %47 = add i32 %sv_1.113.reload, 1\n %48 = zext i32 %sv_1.113.reload to i64\n %49 = add i64 %48, %10\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = zext i8 %51 to i64\n store i32 %47, i32* %sv_1.0.reg2mem\n store i64 %52, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_18:\n %sv_4.015.reload = load i32, i32* %sv_4.015.reg2mem\n %53 = ashr i32 %sv_4.015.reload, 1\n %54 = zext i32 %53 to i64\n store i32 %sv_1.113.reload, i32* %sv_1.0.reg2mem\n store i64 %54, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %55 = urem i64 %storemerge.reload, 2\n %56 = icmp eq i64 %55, 0\n br i1 %56, label LBL_24, label LBL_20\n LBL_20:\n %57 = add i32 %sv_1.0.reload, 1\n %58 = zext i32 %sv_1.0.reload to i64\n %59 = add i64 %58, %10\n %60 = inttoptr i64 %59 to i8*\n %61 = load i8, i8* %60, align 1\n %62 = zext i8 %61 to i32\n %63 = add i32 %sv_1.0.reload, 2\n %64 = zext i32 %57 to i64\n %65 = add i64 %64, %10\n %66 = inttoptr i64 %65 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = zext i8 %67 to i32\n %69 = mul i32 %62, 16\n %70 = udiv i32 %68, 16\n %71 = urem i32 %68, 16\n %72 = add nuw nsw i32 %71, 2\n %73 = and i32 %sv_0.116.reload, -4096\n %74 = or i32 %69, %73\n %75 = or i32 %74, %70\n %76 = icmp ult i32 %75, %sv_0.116.reload\n %77 = add i32 %75, -4096\n %spec.select = select i1 %76, i32 %75, i32 %77\n %78 = add i32 %72, %spec.select\n %79 = icmp ult i32 %spec.select, %78\n %80 = icmp eq i1 %79, false\n store i32 %spec.select, i32* %sv_2.110.reg2mem\n store i32 %sv_0.116.reload, i32* %sv_0.09.reg2mem\n store i32 %63, i32* %sv_1.1.be.reg2mem\n store i32 %sv_0.116.reload, i32* %sv_0.1.be.reg2mem\n br i1 %80, label LBL_27, label LBL_22\n LBL_21:\n %81 = add i32 %sv_2.110.reload, 1\n %82 = add i64 %93, %40\n %83 = add i32 %sv_0.09.reload, 1\n %84 = add i64 %90, %40\n %85 = inttoptr i64 %82 to i8*\n %86 = load i8, i8* %85, align 1\n %87 = inttoptr i64 %84 to i8*\n store i8 %86, i8* %87, align 1\n %88 = icmp ult i32 %81, %78\n %89 = icmp eq i1 %88, false\n store i32 %81, i32* %sv_2.110.reg2mem\n store i32 %83, i32* %sv_0.09.reg2mem\n store i32 %63, i32* %sv_1.1.be.reg2mem\n store i32 %83, i32* %sv_0.1.be.reg2mem\n br i1 %89, label LBL_27, label LBL_22\n LBL_22:\n %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem\n %90 = zext i32 %sv_0.09.reload to i64\n %91 = icmp ugt i64 %42, %90\n %92 = icmp eq i1 %91, false\n store i32 %63, i32* %sv_1.1.be.reg2mem\n store i32 %sv_0.09.reload, i32* %sv_0.1.be.reg2mem\n br i1 %92, label LBL_27, label LBL_23\n LBL_23:\n %sv_2.110.reload = load i32, i32* %sv_2.110.reg2mem\n %93 = zext i32 %sv_2.110.reload to i64\n %94 = icmp ugt i64 %42, %93\n store i32 %63, i32* %sv_1.1.be.reg2mem\n store i32 %sv_0.09.reload, i32* %sv_0.1.be.reg2mem\n br i1 %94, label LBL_21, label LBL_27\n LBL_24:\n %95 = zext i32 %sv_1.0.reload to i64\n %96 = load i64, i64* %6, align 8\n %97 = icmp ugt i64 %96, %95\n br i1 %97, label LBL_26, label LBL_25\n LBL_25:\n %98 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_5, i64 0, i64 0))\n call void @exit(i32 -1)\n unreachable\n LBL_26:\n %99 = add i32 %sv_1.0.reload, 1\n %100 = add i64 %95, %10\n %101 = add i32 %sv_0.116.reload, 1\n %102 = add i64 %.reload, %40\n %103 = inttoptr i64 %100 to i8*\n %104 = load i8, i8* %103, align 1\n %105 = inttoptr i64 %102 to i8*\n store i8 %104, i8* %105, align 1\n store i32 %99, i32* %sv_1.1.be.reg2mem\n store i32 %101, i32* %sv_0.1.be.reg2mem\n br label LBL_27\n LBL_27:\n %106 = add i32 %sv_3.014.reload, 1\n %107 = trunc i64 %storemerge.reload to i32\n %sv_0.1.be.reload = load i32, i32* %sv_0.1.be.reg2mem\n %sv_1.1.be.reload = load i32, i32* %sv_1.1.be.reg2mem\n %108 = zext i32 %sv_0.1.be.reload to i64\n %109 = icmp ugt i64 %42, %108\n store i64 %108, i64* %.reg2mem\n store i32 %sv_0.1.be.reload, i32* %sv_0.116.reg2mem\n store i32 %107, i32* %sv_4.015.reg2mem\n store i32 %106, i32* %sv_3.014.reg2mem\n store i32 %sv_1.1.be.reload, i32* %sv_1.113.reg2mem\n br i1 %109, label LBL_16, label LBL_28\n LBL_28:\n %110 = call i64* @calloc(i32 %21, i32 1)\n %111 = icmp eq i64* %110, null\n %112 = icmp eq i1 %111, false\n br i1 %112, label LBL_30, label LBL_29\n LBL_29:\n call void @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_30:\n %113 = ptrtoint i64* %110 to i64\n %114 = add i64 %40, 10\n %115 = inttoptr i64 %114 to i64*\n %116 = call i64* @memcpy(i64* %110, i64* %115, i32 %21)\n call void @free(i64* %37)\n store i32 %21, i32* %arg2, align 4\n call void @free(i64* %0)\n store i64 %113, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_31:\n %117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_6, i64 0, i64 0), i32 %22)\n br label LBL_32\n LBL_32:\n call void @free(i64* %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_33:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %110, { 0, 2, 1 }\n uselistorder i32 %sv_0.1.be.reload, { 1, 0 }\n uselistorder i64 %93, { 1, 0 }\n uselistorder i64 %90, { 1, 0 }\n uselistorder i32 %sv_0.09.reload, { 1, 0, 3, 2 }\n uselistorder i32 %78, { 1, 0 }\n uselistorder i32 %68, { 1, 0 }\n uselistorder i32 %63, { 2, 1, 0, 3 }\n uselistorder i32 %sv_0.116.reload, { 4, 0, 1, 3, 2 }\n uselistorder i32 %sv_1.113.reload, { 0, 2, 1 }\n uselistorder i64 %42, { 3, 2, 1, 0 }\n uselistorder i64 %40, { 3, 0, 1, 2 }\n uselistorder i64* %37, { 0, 1, 3, 2 }\n uselistorder i32 %22, { 2, 1, 0 }\n uselistorder i32 %21, { 2, 3, 4, 5, 0, 1 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64* %0, { 2, 0, 1, 3, 6, 4, 5 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.116.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.015.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.014.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.113.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.110.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.09.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.1.be.reg2mem, { 0, 5, 3, 2, 1, 4 }\n uselistorder i32* %sv_0.1.be.reg2mem, { 0, 5, 3, 2, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 16, { 3, 2, 1, 0 }\n uselistorder i64 10, { 2, 0, 1, 3, 4 }\n uselistorder i64 (i64, i64)* @SwapDWord, { 2, 1, 0 }\n uselistorder i64 4, { 1, 2, 0, 3 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 }\n uselistorder i64* (i32, i32)* @calloc, { 3, 0, 2, 1 }\n uselistorder label LBL_27, { 4, 2, 1, 0, 3 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_spr_power8_tce_address_control_2787", "fun_name": "gen_spr_power8_tce_address_control", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 4198692, i64 4198699, i64 4198706)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "llc_ui_getname_11704", "fun_name": "llc_ui_getname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %3, i64 1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_5, label LBL_1\n LBL_1:\n %10 = trunc i64 %2 to i32\n %11 = bitcast i64* %arg3 to i32*\n store i32 20, i32* %11, align 4\n %12 = call i64* @memset(i64* %arg2, i32 0, i32 %10)\n %13 = icmp eq i32 %arg4, 0\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = trunc i64 %1 to i32\n %15 = icmp eq i32 %14, 2\n %16 = icmp eq i1 %15, false\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_3:\n %17 = add i64 %4, 24\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n store i64 2, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n store i32 3, i32* %sv_1, align 4\n %21 = bitcast i32* %sv_1 to i64*\n %22 = call i64* @memcpy(i64* %arg2, i64* nonnull %21, i32 20)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = call i64 @FUNC(i64 %3)\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvmppc_remove_spapr_tce_2543", "fun_name": "kvmppc_remove_spapr_tce", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = inttoptr i64 %arg1 to i64*\n %4 = call i32 @munmap(i64* %3, i32 0)\n %5 = icmp slt i32 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i32 @close(i32 %0)\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i32* @__errno_location()\n %10 = load i32, i32* %9, align 4\n %11 = call i8* @strerror(i32 %10)\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i8* %11)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 0, { 1, 2, 3, 0, 4 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dr_interception_17573", "fun_name": "dr_interception", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_2:\n %6 = load i32, i32* inttoptr (i64 5 to i32*), align 4\n %7 = add i32 %6, -32\n %8 = icmp slt i32 %7, 16\n %9 = add i64 %0, 8\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %9, i64 1)\n store i64 %10, i64* %sv_0, align 8\n %11 = add i32 %6, -48\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %9, i64 %12, i64 %10)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_4:\n %14 = zext i32 %7 to i64\n %15 = call i64 @FUNC(i64 %9, i64 %14, i64* nonnull %sv_0)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = load i64, i64* %sv_0, align 8\n %20 = call i64 @FUNC(i64 %9, i64 1, i64 %19)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %9, { 1, 3, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64 1, { 2, 3, 1, 0, 4, 5 }\n uselistorder label LBL_6, { 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "spapr_machine_class_init_407", "fun_name": "spapr_machine_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n %7 = add i64 %0, 28\n %8 = inttoptr i64 %7 to i32*\n store i32 64, i32* %8, align 4\n %9 = add i64 %0, 32\n %10 = inttoptr i64 %9 to i32*\n store i32 1, i32* %10, align 4\n %11 = add i64 %0, 40\n %12 = inttoptr i64 %11 to i64*\n store i64 4202555, i64* %12, align 8\n %13 = add i64 %0, 48\n %14 = inttoptr i64 %13 to i32*\n store i32 536870912, i32* %14, align 4\n %15 = add i64 %0, 52\n %16 = inttoptr i64 %15 to i32*\n store i32 4198676, i32* %16, align 4\n %17 = add i64 %0, 56\n %18 = inttoptr i64 %17 to i8*\n store i8 1, i8* %18, align 1\n %19 = add i64 %0, 57\n %20 = inttoptr i64 %19 to i8*\n store i8 1, i8* %20, align 1\n %21 = add i64 %0, 64\n %22 = inttoptr i64 %21 to i64*\n store i64 4198687, i64* %22, align 8\n store i64 4198694, i64* %arg1, align 8\n store i64 4198701, i64* %2, align 8\n store i64 4198708, i64* %4, align 8\n %23 = add i64 %0, 72\n %24 = inttoptr i64 %23 to i64*\n store i64 4198715, i64* %24, align 8\n %25 = bitcast i64* %rdi to i8*\n %26 = load i8, i8* %25, align 8\n %27 = icmp eq i8 %26, 0\n br i1 %27, label LBL_2, label LBL_1\n LBL_1:\n %28 = add i64 %0, 80\n %29 = inttoptr i64 %28 to i64*\n store i64 4198722, i64* %29, align 8\n br label LBL_2\n LBL_2:\n %30 = add i64 %0, 1\n %31 = inttoptr i64 %30 to i8*\n store i8 1, i8* %31, align 1\n store i64 4198736, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtc_start_timer_1394", "fun_name": "rtc_start_timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %1 = trunc i64 %0 to i32\n %2 = icmp slt i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %4 = call i32 (i32, i32, ...) @ioctl(i32 %1, i32 -2146930677)\n %5 = call i32 (i32, i32, ...) @ioctl(i32 %1, i32 1074294796)\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %9 = call i32 @fwrite(i64* bitcast ([216 x i8]* @gv_2 to i64*), i32 1, i32 215, %_IO_FILE* %8)\n br label LBL_4\n LBL_3:\n %10 = call i32 (i32, i32, ...) @ioctl(i32 %1, i32 28677)\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i32 @close(i32 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %14 = and i64 %0, 4294967295\n %15 = call i64 @FUNC(i64 %14)\n %sext = mul i64 %0, 4294967296\n %16 = ashr exact i64 %sext, 32\n store i64 %16, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %1, { 1, 2, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i32, i32, ...)* @ioctl, { 1, 0, 2 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2_allocate_1897", "fun_name": "l2_allocate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi9.reg2mem = alloca i64\n %.pre-phi13.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 29\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = sext i32 %7 to i64\n %9 = mul i64 %8, 8\n %10 = call i64 @FUNC(i64 %0, i64 %9)\n %11 = icmp slt i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_1, label LBL_7\n LBL_1:\n %13 = and i64 %arg2, 4294967295\n %14 = or i64 %10, 1\n store i64 %14, i64* %3, align 8\n %15 = call i64 @FUNC(i64 %0, i64 %13)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_2, label LBL_7\n LBL_2:\n %19 = call i64 @FUNC(i64 %0)\n %20 = add i64 %0, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = add i64 %0, 20\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = urem i32 %25, 32\n %27 = icmp eq i32 %26, 0\n %28 = trunc i64 %19 to i32\n %29 = shl i32 %28, %26\n %30 = zext i32 %29 to i64\n %rdx.0 = select i1 %27, i64 %19, i64 %30\n %sext4 = mul i64 %rdx.0, 4294967296\n %31 = ashr exact i64 %sext4, 29\n %32 = add i64 %31, %22\n %33 = icmp eq i64 %4, 0\n %34 = icmp eq i1 %33, false\n %35 = load i32, i32* %6, align 4\n br i1 %34, label LBL_4, label LBL_3\n LBL_3:\n %36 = mul i32 %35, 8\n %37 = inttoptr i64 %32 to i64*\n %38 = call i64* @memset(i64* %37, i32 0, i32 %36)\n %.pre = load i32, i32* %6, align 4\n %.pre7 = sext i32 %.pre to i64\n %.pre8 = mul i64 %.pre7, 8\n %.pre10 = add i64 %0, 24\n %.pre12 = inttoptr i64 %.pre10 to i64*\n store i64* %.pre12, i64** %.pre-phi13.reg2mem\n store i64 %.pre8, i64* %.pre-phi9.reg2mem\n br label LBL_5\n LBL_4:\n %39 = sext i32 %35 to i64\n %40 = mul i64 %39, 8\n %41 = add i64 %0, 24\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %43, i64 %4, i64 %32, i64 %40)\n %45 = load i32, i32* %6, align 4\n %46 = sext i32 %45 to i64\n %47 = mul i64 %46, 8\n %48 = icmp eq i64 %44, %47\n store i64* %42, i64** %.pre-phi13.reg2mem\n store i64 %44, i64* %.pre-phi9.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %48, label LBL_5, label LBL_7\n LBL_5:\n %.pre-phi9.reload = load i64, i64* %.pre-phi9.reg2mem\n %.pre-phi13.reload = load i64*, i64** %.pre-phi13.reg2mem\n %49 = load i64, i64* %.pre-phi13.reload, align 8\n %50 = call i64 @FUNC(i64 %49, i64 %10, i64 %32, i64 %.pre-phi9.reload)\n %51 = load i32, i32* %6, align 4\n %52 = sext i32 %51 to i64\n %53 = mul i64 %52, 8\n %54 = icmp eq i64 %50, %53\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_6, label LBL_7\n LBL_6:\n %55 = add i64 %0, 32\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %sext5 = mul i64 %19, 4294967296\n %58 = ashr exact i64 %sext5, 29\n %59 = add i64 %57, %58\n %60 = inttoptr i64 %59 to i64*\n store i64 %10, i64* %60, align 8\n %61 = add i64 %0, 40\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = ashr exact i64 %sext5, 30\n %65 = add i64 %63, %64\n %66 = inttoptr i64 %65 to i32*\n store i32 1, i32* %66, align 4\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sext5, { 1, 0 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %32, { 0, 2, 3, 1 }\n uselistorder i32 %26, { 1, 0 }\n uselistorder i32* %6, { 1, 2, 0, 3, 4 }\n uselistorder i64 %0, { 2, 3, 4, 1, 6, 5, 7, 8, 9, 10, 0 }\n uselistorder i64** %.pre-phi13.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi9.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 8, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_7, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtw_alloc_hwxmits_3715", "fun_name": "rtw_alloc_hwxmits", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %arg1 to i32*\n store i32 5, i32* %3, align 4\n %4 = bitcast i64* %rdi to i32*\n %sext = mul i64 %1, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = call i64 @FUNC(i64 %5, i64 8, i64 0)\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = load i32, i32* %4, align 8\n %10 = icmp eq i32 %9, 5\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %6 to i64*\n store i64 %12, i64* %13, align 8\n %14 = add i64 %6, 8\n %15 = add i64 %2, 20\n %16 = inttoptr i64 %14 to i64*\n store i64 %15, i64* %16, align 8\n %17 = add i64 %6, 16\n %18 = add i64 %2, 24\n %19 = inttoptr i64 %17 to i64*\n store i64 %18, i64* %19, align 8\n %20 = add i64 %6, 24\n %21 = add i64 %2, 28\n %22 = inttoptr i64 %20 to i64*\n store i64 %21, i64* %22, align 8\n %23 = add i64 %6, 32\n %24 = add i64 %2, 32\n %25 = inttoptr i64 %23 to i64*\n store i64 %24, i64* %25, align 8\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %26 = zext i32 %9 to i64\n %27 = icmp eq i32 %9, 4\n %28 = icmp eq i1 %27, false\n store i64 %26, i64* %rax.0.reg2mem\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = add i64 %2, 20\n %30 = inttoptr i64 %6 to i64*\n store i64 %29, i64* %30, align 8\n %31 = add i64 %6, 8\n %32 = add i64 %2, 24\n %33 = inttoptr i64 %31 to i64*\n store i64 %32, i64* %33, align 8\n %34 = add i64 %6, 16\n %35 = add i64 %2, 32\n %36 = inttoptr i64 %34 to i64*\n store i64 %35, i64* %36, align 8\n %37 = add i64 %6, 24\n %38 = add i64 %2, 28\n %39 = inttoptr i64 %37 to i64*\n store i64 %38, i64* %39, align 8\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %9, { 1, 0, 2 }\n uselistorder i64 %6, { 4, 5, 6, 7, 0, 1, 2, 3, 8, 9 }\n uselistorder i64 %2, { 5, 6, 7, 8, 0, 1, 2, 3, 4, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i64 32, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mips_cpu_get_phys_page_debug_2455", "fun_name": "mips_cpu_get_phys_page_debug", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1, i64 0)\n %3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %arg2, i64 0, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = load i64, i64* %sv_0, align 8\n %storemerge = select i1 %5, i64 %6, i64 -1\n ret i64 %storemerge\n\n uselistorder i64* %sv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mg_socks_if_free_17655", "fun_name": "mg_socks_if_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* %arg1)\n %1 = sext i32 %0 to i64\n %2 = icmp eq i64* %arg1, null\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %arg1, align 8\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @MG_FREE, { 1, 0 }\n uselistorder i64* %arg1, { 0, 3, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "adv7511_get_modes_4365", "fun_name": "adv7511_get_modes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i64 4198909, i64 %3)\n store i64 %7, i64* %.reg2mem\n br label LBL_3\n LBL_2:\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = mul i32 %12, 2\n %14 = add i32 %13, 4\n %15 = call i64 @FUNC(i64 %3)\n %16 = add i64 %3, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18, i64 0, i32 %14)\n %20 = call i64 @FUNC(i64 %2, i64 4198909, i64 %3)\n %21 = call i64 @FUNC(i64 %3)\n store i64 %20, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %22 = call i64 @FUNC(i64 %2, i64 %.reload)\n %23 = call i64 @FUNC(i64 %2, i64 %.reload)\n %24 = call i64 @FUNC(i64 %.reload)\n %25 = and i64 %24, 4294967295\n %26 = add i64 %3, 24\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = call i64 @FUNC(i64 %3, i64 %2, i32 %28, i64 %25)\n %30 = add i64 %3, 32\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i64 %.reload)\n %34 = call i64 @FUNC(i64 %.reload)\n %35 = and i64 %23, 4294967295\n ret i64 %35\n\n uselistorder i64 %.reload, { 3, 4, 0, 1, 2 }\n uselistorder i64 %3, { 7, 6, 5, 4, 8, 2, 3, 1, 0 }\n uselistorder i64 %2, { 1, 3, 2, 4, 0 }\n uselistorder i64 (i64, i64, i64)* @drm_do_get_edid, { 1, 0 }\n uselistorder i64 4198909, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "key_get_instantiation_authkey_6636", "fun_name": "key_get_instantiation_authkey", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i32\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_2, align 8\n %1 = call i64 @FUNC()\n %2 = bitcast i64* %sv_1 to i8*\n %3 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i32 %0)\n %4 = call i64 @FUNC(i64* nonnull %sv_2)\n %5 = icmp ult i64 %4, -1000\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = icmp eq i64 %4, -11\n %7 = icmp eq i1 %6, false\n %spec.select = select i1 %7, i64 %4, i64 -2\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_2:\n %8 = call i64 @FUNC(i64 %4)\n %9 = call i64 @FUNC(i64 1, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %8)\n store i64 -3, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %4, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftrace_allocate_pages_8472", "fun_name": "ftrace_allocate_pages", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = icmp eq i64 %arg1, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_8\n LBL_1:\n %6 = call i64 @FUNC(i64 24, i64 0)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %sv_0.0.reg2mem\n store i64 %arg1, i64* %sv_1.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_8\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %9 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %sv_1.0.reload)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %sext = mul i64 %9, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = sub i64 %sv_1.0.reload, %12\n %14 = icmp eq i64 %13, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %14, label LBL_8, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 24, i64 0)\n %16 = inttoptr i64 %sv_0.0.reload to i64*\n store i64 %15, i64* %16, align 8\n %17 = icmp eq i64 %15, 0\n store i64 %15, i64* %sv_0.0.reg2mem\n store i64 %13, i64* %sv_1.0.reg2mem\n br i1 %17, label LBL_5, label LBL_2\n LBL_5:\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %18 = add i64 %sv_0.12.reload, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %sv_0.12.reload, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = and i64 %21, 4294967295\n %26 = call i64 @FUNC(i64 %24, i64 %25)\n %27 = inttoptr i64 %sv_0.12.reload to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %sv_0.12.reload)\n %30 = icmp eq i64 %28, 0\n %31 = icmp eq i1 %30, false\n store i64 %28, i64* %sv_0.12.reg2mem\n br i1 %31, label LBL_6, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %25, i64 %24, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.12.reload, { 1, 0, 3, 2 }\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @kzalloc, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0, 7 }\n uselistorder label LBL_8, { 3, 0, 1, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "config_connection_input_18767", "fun_name": "config_connection_input", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n switch i32 %6, label LBL_3 [\n i32 -2, label LBL_1\n i32 -1, label LBL_2\n ]\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0))\n %8 = call i64 @FUNC(i64 %arg1)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %9 = call i64 @FUNC(i64 %arg1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_3:\n %10 = trunc i64 %1 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_8, label LBL_4\n LBL_4:\n %13 = load i64, i64* %3, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp eq i64 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_13, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 1)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @gv_2, i64 0, i64 0))\n %21 = call i64 @FUNC(i64 %arg1)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_7:\n %22 = inttoptr i64 %arg1 to i32*\n store i32 1, i32* %22, align 4\n br label LBL_8\n LBL_8:\n %23 = call i64 @FUNC(i64 %arg1)\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %.reg2mem\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %25, label LBL_9, label LBL_13\n LBL_9:\n %.reload = load i64, i64* %.reg2mem\n %26 = inttoptr i64 %.reload to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_10, label LBL_11\n LBL_10:\n %30 = inttoptr i64 %27 to i8*\n %31 = call i32 @strcmp(i8* %30, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0))\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_11, label LBL_12\n LBL_11:\n %34 = call i64 @FUNC(i64 %arg1)\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 %34, i64* %.reg2mem\n store i64 %34, i64* %rax.0.reg2mem\n br i1 %36, label LBL_9, label LBL_13\n LBL_12:\n %37 = add i64 %.reload, 8\n %38 = call i64 @FUNC(i64 %arg1, i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = icmp slt i32 %39, 0\n store i64 %38, i64* %rax.0.reg2mem\n br i1 %40, label LBL_13, label LBL_11\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 }\n uselistorder i64 (i64)* @config_connection_next_line, { 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0, 4, 5 }\n uselistorder i64 (i8*)* @i_error, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 4, 0, 2, 1, 5, 6, 7 }\n uselistorder label LBL_13, { 1, 0, 2, 4, 3, 5, 6 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_buf_6603", "fun_name": "read_buf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = sub i64 %4, %0\n %6 = trunc i64 %5 to i32\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i32 %9, %6\n %11 = icmp ult i32 %10, %1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_9, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = add i32 %6, 4096\n %14 = trunc i64 %12 to i32\n %15 = icmp ult i32 %13, %14\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_9, label LBL_2\n LBL_2:\n %16 = icmp ult i32 %14, 65\n br i1 %16, label LBL_3, label LBL_4\n LBL_3:\n %17 = add i64 %0, 28\n store i64 %17, i64* %sv_0.0.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_4:\n %18 = add i64 %0, 96\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = and i64 %12, 4294967295\n %23 = call i64 @FUNC(i64 %22, i64 0)\n store i64 %23, i64* %19, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %sv_0.0.reg2mem\n store i64 %22, i64* %rdi.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_5, label LBL_9\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %26 = inttoptr i64 %sv_0.0.reload to i64*\n %27 = inttoptr i64 %rdi.0.reload to i64*\n %28 = call i64* @memcpy(i64* %26, i64* %27, i32 %6)\n %29 = add i64 %0, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33)\n store i64 %34, i64* %arg1, align 8\n %35 = load i64, i64* %30, align 8\n %36 = add i64 %35, 8\n store i64 %36, i64* %30, align 8\n %37 = load i32, i32* %8, align 4\n %38 = icmp ult i32 %37, 4096\n br i1 %38, label LBL_6, label LBL_7\n LBL_6:\n %39 = udiv i32 %37, 4\n %40 = zext i32 %39 to i64\n %41 = add i64 %33, %40\n store i64 %41, i64* %3, align 8\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %42 = add i64 %33, 1024\n store i64 %42, i64* %3, align 8\n %43 = load i32, i32* %8, align 4\n %44 = add i32 %43, -4096\n store i32 %44, i32* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n store i32 %storemerge.reload, i32* %8, align 4\n %45 = sub i32 %14, %6\n %46 = and i64 %5, 4294967295\n %47 = add i64 %sv_0.0.reload, %46\n %48 = inttoptr i64 %47 to i64*\n %49 = inttoptr i64 %33 to i64*\n %50 = call i64* @memcpy(i64* %48, i64* %49, i32 %45)\n %51 = add nsw i64 %12, 3\n %52 = sub i64 %51, %5\n %53 = udiv i64 %52, 4\n %54 = urem i64 %53, 1073741824\n %55 = add i64 %47, %54\n store i64 %55, i64* %arg1, align 8\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %33, { 1, 2, 0, 3 }\n uselistorder i64* %30, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i32 %6, { 1, 2, 3, 0 }\n uselistorder i64 %0, { 1, 3, 0, 2, 4, 5, 6 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder label LBL_9, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "apply_paravirt_4773", "fun_name": "apply_paravirt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = icmp ult i64* %arg1, %arg2\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_7\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %sv_0 to i64\n store i64 %0, i64* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %4 = inttoptr i64 %storemerge3.reload to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp ult i32 %5, 257\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %8 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %7)\n %9 = sext i32 %8 to i64\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %10 = add i64 %storemerge3.reload, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i64*\n %14 = call i64* @memcpy(i64* nonnull %sv_0, i64* %13, i32 %5)\n %15 = add i64 %storemerge3.reload, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = load i32, i32* %4, align 4\n %19 = icmp ult i32 %18, %17\n br i1 %19, label LBL_5, label LBL_6\n LBL_5:\n %20 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %21 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %20)\n %22 = sext i32 %21 to i64\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %23 = sub i32 %18, %17\n %24 = zext i32 %17 to i64\n %25 = add i64 %24, %3\n %26 = zext i32 %23 to i64\n %27 = call i64 @FUNC(i64 %25, i64 %26)\n %28 = load i32, i32* %4, align 4\n %29 = load i64, i64* %11, align 8\n %30 = call i64 @FUNC(i64 %29, i64* nonnull %sv_0, i32 %28)\n %31 = add i64 %storemerge3.reload, 24\n %32 = icmp ult i64 %31, %2\n store i64 %31, i64* %storemerge3.reg2mem\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %32, label LBL_2, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %18, { 1, 0 }\n uselistorder i32 %17, { 2, 1, 0 }\n uselistorder i64 %storemerge3.reload, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_7, { 0, 2, 3, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "synth_store_4978", "fun_name": "synth_store", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %3 = inttoptr i64 %arg3 to i8*\n %4 = call i32 @strlen(i8* %3)\n %.off = add i32 %4, -2\n %5 = icmp ult i32 %.off, 8\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = ptrtoint i64* %sv_1 to i64\n %7 = sext i32 %4 to i64\n %8 = inttoptr i64 %arg3 to i64*\n %9 = call i64* @memcpy(i64* nonnull %sv_0, i64* %8, i32 %4)\n %10 = add i32 %4, -1\n %11 = sext i32 %10 to i64\n %12 = add i64 %6, -14\n %13 = add i64 %12, %11\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 10\n %17 = icmp eq i1 %16, false\n %spec.select = select i1 %17, i32 %4, i32 %10\n %18 = sext i32 %spec.select to i64\n %19 = add i64 %12, %18\n %20 = inttoptr i64 %19 to i8*\n store i8 0, i8* %20, align 1\n %21 = call i64 @FUNC(i64* nonnull %sv_0)\n %22 = load i8*, i8** @gv_0, align 8\n %23 = icmp eq i8* %22, null\n store i64 %7, i64* %rdx.0.reg2mem\n br i1 %23, label LBL_4, label LBL_2\n LBL_2:\n %24 = ptrtoint i8* %22 to i64\n %25 = bitcast i64* %sv_0 to i8*\n %26 = call i32 @strcmp(i8* nonnull %25, i8* nonnull %22)\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %24, i64* %rdx.0.reg2mem\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 %24, i64 %arg3, i64 %2, i64 %1)\n store i64 %arg4, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %30 = call i64 @FUNC(i64* nonnull %sv_0)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 %arg4, i64* %rax.0.reg2mem\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 %rdx.0.reload, i64 %arg3, i64 %2, i64 %1)\n store i64 -19, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %24, { 1, 0 }\n uselistorder i8* %22, { 1, 0, 2 }\n uselistorder i32 %4, { 0, 2, 4, 3, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @pr_warn, { 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hardif_remove_interface_4893", "fun_name": "hardif_remove_interface", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n %6 = and i64 %1, 4294967295\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %7 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %7, align 4\n %8 = add i64 %2, 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %2)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "msix_handle_mask_update_15900", "fun_name": "msix_handle_mask_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 %1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %0, i64 %1)\n %10 = call i64 @FUNC(i64 %0, i64 %1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 2, 0, 3 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qcow2_mark_clean_14052", "fun_name": "qcow2_mark_clean", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 2\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = and i64 %6, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %11 = and i32 %2, -2\n %12 = bitcast i64* %arg1 to i32*\n store i32 %11, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %5)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "aio_write_done_1209", "fun_name": "aio_write_done", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %4 = trunc i64 %arg2 to i32\n %5 = bitcast i64* %sv_0 to %timeval*\n %6 = call i32 @gettimeofday(%timeval* nonnull %5, %timezone* null)\n %7 = icmp slt i32 %4, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = sub i32 0, %4\n %10 = call i8* @strerror(i32 %9)\n %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* %10)\n br label LBL_4\n LBL_2:\n %12 = add i64 %arg1, 16\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = ptrtoint i64* %sv_0 to i64\n %18 = add i64 %arg1, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = load i64, i64* %sv_0, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %3, i64 %17, i64 %20, i64 %2, i64 %1)\n store i64 %22, i64* %sv_0, align 8\n %23 = add i64 %arg1, 40\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = add i64 %arg1, 32\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = add i64 %arg1, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 %32, i64 %29, i64 %29, i64 1, i64 %26)\n br label LBL_4\n LBL_4:\n %34 = add i64 %arg1, 48\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %38)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 2, 3, 4, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 4, 3, 2, 1, 0, 6, 5 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_reset_1583", "fun_name": "ehci_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_0 to i64\n %2 = call i64 @FUNC()\n %3 = add i64 %1, -48\n store i64 0, i64* %indvars.iv5.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %4 = mul i64 %indvars.iv5.reload, 8\n %5 = add i64 %4, %0\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %4, %3\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = icmp eq i64 %7, 0\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = inttoptr i64 %7 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %5)\n br label LBL_4\n LBL_4:\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 4\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br i1 %exitcond7, label LBL_5, label LBL_1\n LBL_5:\n %15 = add i64 %0, 104\n %16 = inttoptr i64 %15 to i64*\n %17 = call i64* @memset(i64* %16, i32 0, i32 4)\n %18 = add i64 %0, 56\n %19 = inttoptr i64 %18 to i64*\n %20 = call i64* @memset(i64* %19, i32 0, i32 16)\n %21 = add i64 %0, 32\n %22 = inttoptr i64 %21 to i32*\n store i32 1, i32* %22, align 4\n %23 = add i64 %0, 36\n %24 = inttoptr i64 %23 to i32*\n store i32 1, i32* %24, align 4\n %25 = add i64 %0, 40\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %0, 44\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %0, 48\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %0, 52\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %33 = mul i64 %indvars.iv.reload, 4\n %34 = add i64 %33, %0\n %35 = add i64 %34, 72\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n %39 = add i64 %34, 56\n %40 = inttoptr i64 %39 to i32*\n %. = select i1 %38, i32 2, i32 3\n store i32 %., i32* %40, align 4\n %41 = mul i64 %indvars.iv.reload, 8\n %42 = add i64 %41, %3\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n br i1 %45, label LBL_9, label LBL_7\n LBL_7:\n %46 = inttoptr i64 %44 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_9, label LBL_8\n LBL_8:\n %49 = add i64 %41, %0\n %50 = call i64 @FUNC(i64 %49)\n %51 = load i64, i64* %43, align 8\n %52 = call i64 @FUNC(i64 %51)\n br label LBL_9\n LBL_9:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_6\n LBL_10:\n %53 = call i64 @FUNC(i64 %0, i64 0)\n %54 = call i64 @FUNC(i64 %0, i64 1)\n %55 = add i64 %0, 88\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = call i64 @FUNC(i64 %57)\n %59 = add i64 %0, 96\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = call i64 @FUNC(i64 %61)\n ret i64 %62\n\n uselistorder i64 %41, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 3, 4, 5, 6, 0, 1, 7, 8, 9, 10, 11, 12, 13, 14, 2 }\n uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @ehci_queues_rip_all, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 0, { 2, 3, 5, 6, 7, 8, 0, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mb86a20s_stats_not_ready_10643", "fun_name": "mb86a20s_stats_not_ready", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0))\n %3 = inttoptr i64 %1 to i32*\n store i32 1, i32* %3, align 4\n %4 = add i64 %0, 44\n %5 = inttoptr i64 %4 to i32*\n store i32 4, i32* %5, align 4\n %6 = add i64 %0, 80\n %7 = inttoptr i64 %6 to i32*\n store i32 4, i32* %7, align 4\n %8 = add i64 %0, 116\n %9 = inttoptr i64 %8 to i32*\n store i32 4, i32* %9, align 4\n %10 = add i64 %0, 152\n %11 = inttoptr i64 %10 to i32*\n store i32 4, i32* %11, align 4\n %12 = add i64 %0, 188\n %13 = inttoptr i64 %12 to i32*\n store i32 4, i32* %13, align 4\n %14 = add i64 %0, 224\n %15 = inttoptr i64 %14 to i32*\n store i32 4, i32* %15, align 4\n %16 = add i64 %0, 260\n %17 = inttoptr i64 %16 to i32*\n store i32 4, i32* %17, align 4\n %18 = add i64 %0, 12\n %19 = inttoptr i64 %18 to i32*\n store i32 1, i32* %19, align 4\n %20 = add i64 %0, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = mul i64 %indvars.iv.reload, 8\n %23 = add i64 %22, %1\n %24 = add i64 %23, 40\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %23, 76\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %23, 112\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %23, 148\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %32 = add i64 %23, 184\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = add i64 %23, 220\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = add i64 %23, 256\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %1\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fd_coroutine_enter_3261", "fun_name": "fd_coroutine_enter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_dots_13444", "fun_name": "handle_dots", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = and i64 %1, 2\n %6 = icmp eq i64 %5, 0\n %7 = ptrtoint i32* %arg1 to i64\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %9 = call i64 @FUNC(i64 %7)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cardos_have_verifyrc_package_6898", "fun_name": "cardos_have_verifyrc_package", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %3 = ptrtoint i64* %sv_5 to i64\n store i64 0, i64* %sv_4, align 8\n store i64 0, i64* %sv_3, align 8\n %4 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2, i64 0, i64 202, i64 1, i64 136)\n store i64 %3, i64* %sv_2, align 8\n %5 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2)\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = and i64 %5, 4294967295\n %10 = call i64 @FUNC(i64 %8, i64 %9, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n %11 = trunc i64 %1 to i32\n %12 = icmp eq i32 %11, 2\n %13 = icmp eq i32 %11, 1\n %14 = icmp eq i1 %13, false\n %15 = icmp eq i1 %12, false\n store i64 256, i64* %sv_1.06.reg2mem\n store i64 %3, i64* %sv_0.05.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %16 = load i64, i64* %7, align 8\n %17 = call i64 @FUNC(i64 %16, i64 %sv_0.05.reload, i64 %sv_1.06.reload, i64 225, i64* nonnull %sv_4)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_2, label LBL_9\n LBL_2:\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %20 = load i64, i64* %sv_4, align 8\n %21 = load i64, i64* %7, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %17, i64 %20, i64 1, i64* nonnull %sv_3)\n %23 = icmp ne i64 %22, 0\n %24 = load i64, i64* %sv_3, align 8\n %25 = icmp eq i64 %24, 4\n %or.cond = icmp eq i1 %23, %25\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_9\n LBL_4:\n %26 = inttoptr i64 %22 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 7\n %29 = icmp eq i1 %28, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %29, label LBL_8, label LBL_9\n LBL_5:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_9, label LBL_6\n LBL_6:\n %30 = load i64, i64* %sv_4, align 8\n %31 = load i64, i64* %7, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %17, i64 %30, i64 3, i64* nonnull %sv_3)\n %33 = icmp ne i64 %32, 0\n %34 = load i64, i64* %sv_3, align 8\n %35 = icmp eq i64 %34, 4\n %or.cond4 = icmp eq i1 %33, %35\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond4, label LBL_7, label LBL_9\n LBL_7:\n %36 = inttoptr i64 %32 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 2\n %39 = icmp eq i1 %38, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %39, label LBL_8, label LBL_9\n LBL_8:\n %40 = load i64, i64* %sv_4, align 8\n %41 = add i64 %40, %sv_0.05.reload\n %42 = add i64 %sv_1.06.reload, -2\n %43 = sub i64 %42, %40\n %44 = icmp eq i64 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 %43, i64* %sv_1.06.reg2mem\n store i64 %41, i64* %sv_0.05.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %45, label LBL_1, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i64 %sv_0.05.reload, { 1, 0 }\n uselistorder i64* %7, { 1, 0, 2, 3 }\n uselistorder i64* %sv_4, { 1, 2, 3, 0, 4 }\n uselistorder i64* %sv_3, { 0, 2, 1, 3, 4 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64* %sv_1.06.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2, 5, 6, 7 }\n uselistorder i64 (i64, i64, i64, i64, i64*)* @sc_asn1_find_tag, { 2, 1, 0 }\n uselistorder i1 false, { 5, 0, 2, 4, 1, 3 }\n uselistorder label LBL_9, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ccid_kmem_cache_create_5695", "fun_name": "ccid_kmem_cache_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg1, 4294967296\n store i32 24, i32* %sv_0, align 4\n %22 = ptrtoint i32* %sv_0 to i64\n %23 = bitcast i64* %arg2 to i8*\n %24 = call i32 @vsnprintf(i8* %23, i32 256, i8* %arg3, i64 %22)\n %25 = ashr exact i64 %sext, 32\n %26 = call i64 @FUNC(i64 %21, i64 %25, i64 0, i64 64, i64 0)\n ret i64 %26\n\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__perf_sw_event_8250", "fun_name": "__perf_sw_event", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = trunc i64 %1 to i32\n store i32 %2, i32* %sv_0, align 4\n %3 = icmp slt i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %arg1, 4294967295\n %5 = ptrtoint i64* %arg3 to i64\n %6 = call i64 @FUNC(i32* nonnull %sv_0, i64 %arg4, i64 0)\n %7 = call i64 @FUNC(i64 1, i64 %4, i64 %arg2, i32* nonnull %sv_0, i64 %5)\n %8 = load i32, i32* %sv_0, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC()\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_0, { 2, 0, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ilookup_9393", "fun_name": "ilookup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64* nonnull @gv_1)\n %4 = call i64 @FUNC(i64 %0, i64 %2, i64 %arg2)\n %5 = call i64 @FUNC(i64* nonnull @gv_1)\n %6 = icmp eq i64 %4, 0\n store i64 %4, i64* %.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %7 = call i64 @FUNC(i64 %.reload)\n %8 = call i64 @FUNC(i64 %.reload)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %.reload, i64* %.lcssa.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %.reload)\n %14 = call i64 @FUNC(i64* nonnull @gv_1)\n %15 = call i64 @FUNC(i64 %0, i64 %2, i64 %arg2)\n %16 = call i64 @FUNC(i64* nonnull @gv_1)\n %17 = icmp eq i64 %15, 0\n store i64 %15, i64* %.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %17, label LBL_3, label LBL_1\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %.reload, { 1, 0, 3, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64*)* @spin_unlock, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @find_inode_fast, { 1, 0 }\n uselistorder i64 (i64*)* @spin_lock, { 1, 0 }\n uselistorder i64* @gv_1, { 2, 3, 0, 1 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_od_to_saf_6980", "fun_name": "dump_od_to_saf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %r8.4.lcssa.reg2mem = alloca i64\n %rdi.4.lcssa.reg2mem = alloca i64\n %rdx.7.lcssa.reg2mem = alloca i64\n %rcx.4.lcssa.reg2mem = alloca i64\n %r8.3.reg2mem = alloca i64\n %rdi.3.reg2mem = alloca i64\n %rdx.6.reg2mem = alloca i64\n %rcx.3.reg2mem = alloca i64\n %r8.1.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdx.4.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %rdx.3.reg2mem = alloca i64\n %rdx.2.in.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %rdx.1.in.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32*\n %rcx.24.reg2mem = alloca i64\n %r8.26.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rcx.413.reg2mem = alloca i64\n %r8.414.reg2mem = alloca i64\n %indvars.iv20.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 %arg3, i64* %rdx.7.lcssa.reg2mem\n store i64 %5, i64* %rdi.4.lcssa.reg2mem\n br i1 %8, label LBL_24, label LBL_1\n LBL_1:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %wide.trip.count22 = and i64 %6, 4294967295\n store i64 0, i64* %indvars.iv20.reg2mem\n br label LBL_2\n LBL_2:\n %rcx.413.reload = load i64, i64* %rcx.413.reg2mem\n %r8.414.reload = load i64, i64* %r8.414.reg2mem\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %11 = load i64, i64* %4, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %indvars.iv20.reload)\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 1\n %16 = icmp eq i1 %15, false\n store i64 %rcx.413.reload, i64* %rcx.3.reg2mem\n store i64 %indvars.iv20.reload, i64* %rdx.6.reg2mem\n store i64 %11, i64* %rdi.3.reg2mem\n store i64 %r8.414.reload, i64* %r8.3.reg2mem\n br i1 %16, label LBL_23, label LBL_3\n LBL_3:\n %17 = add i64 %12, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n store i64 %rcx.413.reload, i64* %rcx.3.reg2mem\n store i64 %indvars.iv20.reload, i64* %rdx.6.reg2mem\n store i64 %19, i64* %rdi.3.reg2mem\n store i64 %r8.414.reload, i64* %r8.3.reg2mem\n br i1 %22, label LBL_23, label LBL_4\n LBL_4:\n %wide.trip.count = and i64 %20, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %r8.414.reload, i64* %r8.26.reg2mem\n store i64 %rcx.413.reload, i64* %rcx.24.reg2mem\n br label LBL_5\n LBL_5:\n %rcx.24.reload = load i64, i64* %rcx.24.reg2mem\n %r8.26.reload = load i64, i64* %r8.26.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %23 = load i64, i64* %18, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %indvars.iv.reload)\n %25 = add i64 %24, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %27, i64 0)\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = inttoptr i64 %28 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 2\n br i1 %32, label LBL_11, label LBL_7\n LBL_7:\n %33 = add i64 %24, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n store i64 %rcx.24.reload, i64* %rcx.1.reg2mem\n store i64 %indvars.iv.reload, i64* %rdx.4.reg2mem\n store i64 %27, i64* %rdi.1.reg2mem\n store i64 %r8.26.reload, i64* %r8.1.reg2mem\n br i1 %36, label LBL_22, label LBL_8\n LBL_8:\n %37 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i32 0, i64 %35, i64 %r8.26.reload, i64 %1)\n %38 = load i32, i32* %10, align 4\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n %40 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i32 %38, i64 %35, i64 %r8.26.reload, i64 %1)\n br label LBL_10\n LBL_10:\n %rdx.0 = zext i32 %38 to i64\n %41 = call i64 @FUNC(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 %38, i64 %35, i64 %r8.26.reload, i64 %1)\n store i64 %35, i64* %rcx.1.reg2mem\n store i64 %rdx.0, i64* %rdx.4.reg2mem\n store i64 %27, i64* %rdi.1.reg2mem\n store i64 %r8.26.reload, i64* %r8.1.reg2mem\n br label LBL_22\n LBL_11:\n %42 = add i64 %28, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44, i64 0)\n %46 = icmp eq i64 %45, 0\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n %47 = inttoptr i64 %45 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 3\n store i32* %47, i32** %sv_0.0.reg2mem\n br i1 %49, label LBL_14, label LBL_13\n LBL_13:\n store i32* null, i32** %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %50 = add i64 %28, 16\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0), i32 %52, i64 %rcx.24.reload, i64 %r8.26.reload, i64 %1)\n %54 = add i64 %28, 8\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = icmp eq i64 %56, 0\n store i64 %rcx.24.reload, i64* %rcx.0.reg2mem\n store i32 %52, i32* %rdx.1.in.reg2mem\n store i64 %r8.26.reload, i64* %r8.0.reg2mem\n br i1 %57, label LBL_16, label LBL_15\n LBL_15:\n %58 = load i32, i32* inttoptr (i64 add (i64 ptrtoint ([37 x i8]* @gv_3 to i64), i64 4) to i32*), align 4\n %59 = add i64 %56, 4\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = zext i32 %61 to i64\n %63 = inttoptr i64 %56 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = zext i32 %58 to i64\n %66 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_4, i64 0, i64 0), i32 %64, i64 %62, i64 %65, i64 %1)\n store i64 %62, i64* %rcx.0.reg2mem\n store i32 %64, i32* %rdx.1.in.reg2mem\n store i64 %65, i64* %r8.0.reg2mem\n br label LBL_16\n LBL_16:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rdx.1.in.reload = load i32, i32* %rdx.1.in.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %67 = load i32, i32* %10, align 4\n %68 = icmp eq i32 %67, 0\n store i32 %rdx.1.in.reload, i32* %rdx.2.in.reg2mem\n br i1 %68, label LBL_18, label LBL_17\n LBL_17:\n %69 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i32 %67, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n store i32 %67, i32* %rdx.2.in.reg2mem\n br label LBL_18\n LBL_18:\n %rdx.2.in.reload = load i32, i32* %rdx.2.in.reg2mem\n %rdx.2 = zext i32 %rdx.2.in.reload to i64\n %70 = icmp eq i32* %sv_0.0.reload, null\n store i64 %rdx.2, i64* %rdx.3.reg2mem\n br i1 %70, label LBL_21, label LBL_19\n LBL_19:\n %71 = ptrtoint i32* %sv_0.0.reload to i64\n %72 = add i64 %71, 8\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = icmp eq i64 %74, 0\n store i64 %rdx.2, i64* %rdx.3.reg2mem\n br i1 %75, label LBL_21, label LBL_20\n LBL_20:\n %76 = trunc i64 %74 to i32\n %77 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i32 %76, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n store i64 %74, i64* %rdx.3.reg2mem\n br label LBL_21\n LBL_21:\n %rdx.3.reload = load i64, i64* %rdx.3.reg2mem\n %78 = trunc i64 %rdx.3.reload to i32\n %79 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 %78, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n store i64 %rdx.3.reload, i64* %rdx.4.reg2mem\n store i64 %44, i64* %rdi.1.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.reg2mem\n br label LBL_22\n LBL_22:\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %rdx.4.reload = load i64, i64* %rdx.4.reg2mem\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %r8.1.reload, i64* %r8.26.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.24.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.3.reg2mem\n store i64 %rdx.4.reload, i64* %rdx.6.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.3.reg2mem\n store i64 %r8.1.reload, i64* %r8.3.reg2mem\n br i1 %exitcond, label LBL_23, label LBL_5\n LBL_23:\n %r8.3.reload = load i64, i64* %r8.3.reg2mem\n %rdi.3.reload = load i64, i64* %rdi.3.reg2mem\n %rdx.6.reload = load i64, i64* %rdx.6.reg2mem\n %rcx.3.reload = load i64, i64* %rcx.3.reg2mem\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %exitcond23 = icmp eq i64 %indvars.iv.next21, %wide.trip.count22\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n store i64 %r8.3.reload, i64* %r8.414.reg2mem\n store i64 %rcx.3.reload, i64* %rcx.413.reg2mem\n store i64 %rcx.3.reload, i64* %rcx.4.lcssa.reg2mem\n store i64 %rdx.6.reload, i64* %rdx.7.lcssa.reg2mem\n store i64 %rdi.3.reload, i64* %rdi.4.lcssa.reg2mem\n store i64 %r8.3.reload, i64* %r8.4.lcssa.reg2mem\n br i1 %exitcond23, label LBL_24, label LBL_2\n LBL_24:\n %r8.4.lcssa.reload = load i64, i64* %r8.4.lcssa.reg2mem\n %rdi.4.lcssa.reload = load i64, i64* %rdi.4.lcssa.reg2mem\n %rdx.7.lcssa.reload = load i64, i64* %rdx.7.lcssa.reg2mem\n %rcx.4.lcssa.reload = load i64, i64* %rcx.4.lcssa.reg2mem\n %80 = trunc i64 %rdx.7.lcssa.reload to i32\n %81 = call i64 @FUNC(i64 %rdi.4.lcssa.reload, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0), i32 %80, i64 %rcx.4.lcssa.reload, i64 %r8.4.lcssa.reload, i64 %1)\n ret i64 %81\n\n uselistorder i32 %38, { 1, 0, 2, 3 }\n uselistorder i64 %35, { 0, 2, 1, 3, 4 }\n uselistorder i64 %27, { 0, 3, 2, 4, 1, 5 }\n uselistorder i64 %indvars.iv.reload, { 1, 0, 2 }\n uselistorder i64 %r8.26.reload, { 2, 3, 0, 5, 6, 4, 1 }\n uselistorder i64 %rcx.24.reload, { 1, 2, 0 }\n uselistorder i64 %indvars.iv20.reload, { 2, 0, 1, 3 }\n uselistorder i64 %r8.414.reload, { 2, 0, 1 }\n uselistorder i64 %rcx.413.reload, { 2, 0, 1 }\n uselistorder i32* %10, { 1, 0 }\n uselistorder i64 %1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.414.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.413.reg2mem, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.26.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.24.reg2mem, { 2, 0, 1 }\n uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder [37 x i8]* @gv_3, { 1, 0 }\n uselistorder i32* null, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @gf_fprintf, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @gf_list_get, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 8, { 0, 2, 3, 4, 1 }\n uselistorder i32 0, { 3, 4, 0, 1, 2 }\n uselistorder i64 (i64)* @gf_list_count, { 1, 0 }\n uselistorder label LBL_22, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "visual_comma_6914", "fun_name": "visual_comma", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 0\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = add i64 %8, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n store i64 %14, i64* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %15 = add i64 %storemerge2.reload, %4\n %16 = add i64 %4, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18, i64 1, i64 %15)\n %20 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n %21 = call i64 @FUNC(i64 %4)\n %22 = icmp eq i64 %20, 0\n %23 = icmp eq i1 %22, false\n store i64 %19, i64* %sv_1.1.reg2mem\n store i64 %20, i64* %sv_0.1.reg2mem\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %rdx.1.reg2mem\n store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %rsi.1.reg2mem\n br i1 %23, label LBL_10, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n %25 = icmp eq i64 %24, 0\n store i64 %19, i64* %sv_1.0.reg2mem\n store i64 %20, i64* %sv_0.0.reg2mem\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %rdx.0.reg2mem\n store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %rsi.0.reg2mem\n br i1 %25, label LBL_9, label LBL_4\n LBL_4:\n %26 = inttoptr i64 %24 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 0\n store i64 %19, i64* %sv_1.0.reg2mem\n store i64 %20, i64* %sv_0.0.reg2mem\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %rdx.0.reg2mem\n store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %rsi.0.reg2mem\n br i1 %28, label LBL_9, label LBL_5\n LBL_5:\n %29 = call i8* @strdup(i8* nonnull %26)\n %30 = ptrtoint i8* %29 to i64\n %31 = icmp eq i64 %19, 0\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = inttoptr i64 %19 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_8, label LBL_7\n LBL_7:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %24, i64 ptrtoint (i64* @gv_1 to i64), i64 %3, i64 %2, i64 %1)\n %37 = load i64, i64* %17, align 8\n %38 = call i64 @FUNC(i64 %37, i64 1, i64 %15, i64 %36)\n store i64 %36, i64* %sv_1.0.reg2mem\n store i64 %30, i64* %sv_0.0.reg2mem\n store i64 %36, i64* %rcx.0.reg2mem\n store i64 %15, i64* %rdx.0.reg2mem\n store i64 1, i64* %rsi.0.reg2mem\n br label LBL_9\n LBL_8:\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i64 %19, i64 %24, i64 %3, i64 %2, i64 %1)\n %40 = load i64, i64* %17, align 8\n %41 = call i64 @FUNC(i64 %40, i64 1, i64 %15, i64 %39)\n %42 = inttoptr i64 %39 to i64*\n call void @free(i64* %42)\n store i64 %19, i64* %sv_1.0.reg2mem\n store i64 %30, i64* %sv_0.0.reg2mem\n store i64 %39, i64* %rcx.0.reg2mem\n store i64 %15, i64* %rdx.0.reg2mem\n store i64 1, i64* %rsi.0.reg2mem\n br label LBL_9\n LBL_9:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %43 = inttoptr i64 %24 to i64*\n call void @free(i64* %43)\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n store i64 %rdx.0.reload, i64* %rdx.1.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.1.reg2mem\n br label LBL_10\n LBL_10:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %44 = icmp eq i64 %sv_0.1.reload, 0\n br i1 %44, label LBL_14, label LBL_11\n LBL_11:\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 %21, i64 %sv_0.1.reload, i64 %rcx.1.reload, i64 %2, i64 %1)\n %46 = call i64 @FUNC(i64 %45, i64 0)\n %47 = icmp eq i64 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_13, label LBL_12\n LBL_12:\n %49 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_6, i64 0, i64 0), i64 %45, i64 %sv_0.1.reload, i64 %rcx.1.reload, i64 %2, i64 %1)\n %50 = inttoptr i64 %45 to i64*\n call void @free(i64* %50)\n br label LBL_15\n LBL_13:\n %51 = call i64 @FUNC(i64 %4, i64 0, i64 %46)\n %52 = call i64 @FUNC(i64 %45, i64 %51, i64 4294967295, i64 0)\n %53 = inttoptr i64 %51 to i64*\n call void @free(i64* %53)\n %54 = inttoptr i64 %46 to i64*\n call void @free(i64* %54)\n %55 = inttoptr i64 %45 to i64*\n call void @free(i64* %55)\n br label LBL_15\n LBL_14:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %56 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_7, i64 0, i64 0), i64 %rsi.1.reload, i64 %rdx.1.reload, i64 %rcx.1.reload, i64 %2, i64 %1)\n br label LBL_15\n LBL_15:\n %57 = trunc i64 %5 to i8\n %58 = inttoptr i64 %sv_1.1.reload to i64*\n call void @free(i64* %58)\n %59 = icmp eq i8 %57, 0\n br i1 %59, label LBL_17, label LBL_16\n LBL_16:\n %60 = add i64 %4, 24\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = call i64 @FUNC(i64 %62, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0))\n %64 = trunc i64 %63 to i32\n %65 = icmp eq i32 %64, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %65, label LBL_17, label LBL_18\n LBL_17:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %66 = call i64 @FUNC(i64 %storemerge.reload)\n ret i64 %66\n\n uselistorder i64 %45, { 2, 3, 1, 0, 4 }\n uselistorder i64 %sv_0.1.reload, { 2, 0, 1 }\n uselistorder i64 %rcx.1.reload, { 0, 2, 1 }\n uselistorder i64 %24, { 1, 0, 2, 3, 4 }\n uselistorder i64 %20, { 1, 2, 0, 3 }\n uselistorder i64 %19, { 1, 6, 5, 4, 2, 3, 0, 7 }\n uselistorder i64 %15, { 0, 2, 1, 3, 4 }\n uselistorder i64 %4, { 2, 1, 3, 4, 0, 5, 6 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @eprintf, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @r_meta_set_string, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @r_str_newf, { 2, 1, 0 }\n uselistorder i8* (i8*)* @strdup, { 4, 3, 2, 1, 0 }\n uselistorder i64 ptrtoint ([3 x i8]* @gv_0 to i64), { 1, 2, 0 }\n uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 3, 1, 2, 0 }\n uselistorder i64* @gv_1, { 1, 0 }\n uselistorder [3 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 1, { 0, 1, 5, 2, 6, 7, 3, 4 }\n uselistorder i8 0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decor_c_2501", "fun_name": "decor_c", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg4, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i32* %arg1 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %3 = mul i64 %.reload, 4\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %3, %1\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = mul i32 %9, %arg3\n %11 = add i32 %10, 4\n %12 = ashr i32 %11, 3\n %13 = add i32 %12, %6\n store i32 %13, i32* %5, align 4\n %14 = add i32 %storemerge2.reload, 1\n %15 = sext i32 %14 to i64\n %16 = icmp slt i64 %15, %arg4\n store i64 %15, i64* %.reg2mem\n store i32 %14, i32* %storemerge2.reg2mem\n store i64 %15, i64* %.lcssa.reg2mem\n br i1 %16, label LBL_2, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_arg_cpu_14571", "fun_name": "handle_arg_cpu", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i8* @strdup(i8* %0)\n store i8* %1, i8** @gv_0, align 8\n %2 = icmp eq i8* %1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i32 @strcmp(i8* nonnull %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n call void @exit(i32 1)\n unreachable\n LBL_3:\n %6 = sext i32 %3 to i64\n ret i64 %6\n\n uselistorder i32 %3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rac_get_model256_sym_3277", "fun_name": "rac_get_model256_sym", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.03.reg2mem = alloca i32\n %sv_2.04.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = add i64 %1, 4\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = udiv i32 %4, 256\n store i32 %5, i32* %3, align 4\n %6 = bitcast i64* %rdi to i32*\n %7 = load i32, i32* %6, align 8\n %8 = udiv i32 %7, %5\n %9 = udiv i32 %8, 256\n %10 = zext i32 %9 to i64\n %11 = add i64 %10, %0\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = zext i8 %13 to i32\n %15 = add nuw nsw i32 %9, 1\n %16 = zext i32 %15 to i64\n %17 = add i64 %16, %0\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = add nuw nsw i32 %14, 1\n %21 = icmp ult i8 %13, %19\n store i32 %14, i32* %sv_1.0.lcssa.reg2mem\n store i32 %20, i32* %.lcssa.reg2mem\n br i1 %21, label LBL_1, label LBL_3\n LBL_1:\n %22 = zext i8 %19 to i32\n %23 = add nuw nsw i32 %22, 1\n store i32 %23, i32* %sv_2.04.reg2mem\n store i32 %14, i32* %sv_1.03.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem\n %sv_2.04.reload = load i32, i32* %sv_2.04.reg2mem\n %24 = add i32 %sv_1.03.reload, %sv_2.04.reload\n %25 = ashr i32 %24, 1\n %narrow = add nsw i32 %25, 64\n %26 = sext i32 %narrow to i64\n %27 = mul i64 %26, 4\n %28 = add i64 %27, %0\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp ult i32 %8, %30\n %spec.select = select i1 %31, i32 %sv_1.03.reload, i32 %25\n %spec.select2 = select i1 %31, i32 %25, i32 %sv_2.04.reload\n %32 = add i32 %spec.select, 1\n %33 = zext i32 %32 to i64\n %34 = sext i32 %spec.select2 to i64\n %35 = icmp sgt i64 %34, %33\n store i32 %spec.select2, i32* %sv_2.04.reg2mem\n store i32 %spec.select, i32* %sv_1.03.reg2mem\n store i32 %spec.select, i32* %sv_1.0.lcssa.reg2mem\n store i32 %32, i32* %.lcssa.reg2mem\n br i1 %35, label LBL_2, label LBL_3\n LBL_3:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %36 = sext i32 %sv_1.0.lcssa.reload to i64\n %37 = mul i64 %36, 4\n %38 = add i64 %0, 256\n %39 = add i64 %37, %38\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = icmp eq i32 %sv_1.0.lcssa.reload, 255\n store i32 %4, i32* %sv_0.0.reg2mem\n br i1 %42, label LBL_5, label LBL_4\n LBL_4:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %43 = sext i32 %.lcssa.reload to i64\n %44 = mul i64 %43, 4\n %45 = add i64 %44, %38\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = mul i32 %47, %5\n store i32 %48, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %49 = mul i32 %41, %5\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %50 = sub i32 %7, %49\n store i32 %50, i32* %arg1, align 4\n %51 = sub i32 %sv_0.0.reload, %49\n store i32 %51, i32* %3, align 4\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_7, label LBL_6\n LBL_6:\n %54 = call i64 @FUNC(i64 %1)\n br label LBL_7\n LBL_7:\n %55 = zext i32 %sv_1.0.lcssa.reload to i64\n %56 = call i64 @FUNC(i64 %0, i64 %55)\n ret i64 %55\n\n uselistorder i32 %49, { 1, 0 }\n uselistorder i8 %19, { 1, 0 }\n uselistorder i32 %14, { 1, 0, 2 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32 %5, { 2, 3, 1, 0 }\n uselistorder i64 %0, { 4, 3, 0, 1, 2 }\n uselistorder i32* %sv_2.04.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "exit_files_7200", "fun_name": "exit_files", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %0)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "skipSpaces_5880", "fun_name": "skipSpaces", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i8\n %sv_0.0.ph.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %sext2 = mul i64 %arg3, 4294967296\n store i64 %arg1, i64* %sv_0.0.ph.reg2mem\n br label LBL_3\n LBL_2:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_3:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %4 = inttoptr i64 %sv_0.0.ph.reload to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp eq i8 %5, 32\n %7 = add i64 %sv_0.0.ph.reload, 1\n store i64 %7, i64* %sv_0.0.ph.reg2mem\n br i1 %6, label LBL_3, label LBL_4\n LBL_4:\n %8 = icmp eq i8 %5, 35\n %9 = icmp eq i1 %8, false\n store i8 %5, i8* %.lcssa.reg2mem\n br i1 %9, label LBL_7, label LBL_5\n LBL_5:\n %10 = ashr exact i64 %sext2, 32\n %11 = icmp sgt i64 %sv_0.0.ph.reload, %10\n store i64 %sv_0.0.ph.reload, i64* %rax.0.reg2mem\n br i1 %11, label LBL_14, label LBL_6\n LBL_6:\n store i8 0, i8* %4, align 1\n store i8 0, i8* %.lcssa.reg2mem\n br label LBL_7\n LBL_7:\n %.lcssa.reload = load i8, i8* %.lcssa.reg2mem\n %12 = sext i8 %.lcssa.reload to i64\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_10, label LBL_8\n LBL_8:\n %17 = ashr exact i64 %sext, 32\n %18 = icmp slt i64 %sv_0.0.ph.reload, %17\n store i64 %sv_0.0.ph.reload, i64* %rax.0.reg2mem\n br i1 %18, label LBL_9, label LBL_14\n LBL_9:\n %19 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_10:\n %21 = load i8, i8* %4, align 1\n switch i8 %21, label LBL_11 [\n i8 0, label LBL_12\n i8 10, label LBL_12\n ]\n LBL_11:\n %22 = icmp eq i8 %21, 13\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_13, label LBL_12\n LBL_12:\n store i8 46, i8* inttoptr (i64 2 to i8*), align 2\n store i8 46, i8* inttoptr (i64 1 to i8*), align 1\n call void @llvm.trap()\n unreachable\n LBL_13:\n %24 = icmp eq i8 %21, 9\n %25 = icmp eq i1 %24, false\n %26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %27 = select i1 %25, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_5, i64 0, i64 0)\n %28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* %27)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %21, { 1, 2, 0 }\n uselistorder i8* %4, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.ph.reload, { 1, 5, 0, 4, 3, 2 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 1, 3 }\n uselistorder i8 0, { 1, 0, 3, 2 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_14, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_12, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "warning_8500", "fun_name": "warning", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %rax.0.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i64, i64* %1\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %11 = load i128, i128* %0\n %sv_0 = alloca i32, align 4\n %12 = trunc i64 %3 to i8\n %13 = icmp eq i8 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i128 %11)\n %15 = call i64 @FUNC(i128 %10)\n %16 = call i64 @FUNC(i128 %9)\n %17 = call i64 @FUNC(i128 %8)\n %18 = call i64 @FUNC(i128 %7)\n %19 = call i64 @FUNC(i128 %6)\n %20 = call i64 @FUNC(i128 %5)\n %21 = call i64 @FUNC(i128 %4)\n br label LBL_2\n LBL_2:\n %22 = trunc i64 %2 to i8\n %23 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %25 = getelementptr inbounds [10 x i8], [10 x i8]* %23, i64 0, i64 0\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i8* %25)\n store i32 8, i32* %sv_0, align 4\n %27 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %28 = ptrtoint i32* %sv_0 to i64\n %29 = call i32 @vfprintf(%_IO_FILE* %27, i8* %arg1, i64 %28)\n %30 = icmp eq i8 %22, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_5, label LBL_3\n LBL_3:\n %31 = call i32 @strlen(i8* %arg1)\n %32 = sext i32 %31 to i64\n %33 = ptrtoint i8* %arg1 to i64\n %34 = add i64 %33, -1\n %35 = add i64 %34, %32\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 10\n store i64 10, i64* %rax.0.reg2mem\n br i1 %38, label LBL_5, label LBL_4\n LBL_4:\n %39 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %40 = call i32 @fputc(i32 10, %_IO_FILE* %39)\n %41 = sext i32 %40 to i64\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %1, { 1, 0 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i8* %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Jsi_ValueIsNumber_19219", "fun_name": "Jsi_ValueIsNumber", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n store i64 1, i64* %storemerge.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = icmp eq i32 %2, 2\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 3\n %13 = icmp eq i1 %12, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mountpoint_last_8115", "fun_name": "mountpoint_last", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i32 %3, i32* %.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 4294967286, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_1.LBL_3_crit_edge, label LBL_17\n LBL_2:\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %9 = and i32 %.reload, -3\n store i32 %9, i32* %2, align 4\n %10 = add i64 %0, 20\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = zext i1 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_6, label LBL_4\n LBL_4:\n %19 = load i32, i32* %11, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %0, i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %21, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_17, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %0)\n store i64 %25, i64* %sv_1.1.reg2mem\n br label LBL_12\n LBL_6:\n %26 = call i64 @FUNC(i64 %15)\n %27 = add i64 %0, 24\n %28 = call i64 @FUNC(i64 %0, i64 %27)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %sv_1.0.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %30, label LBL_11, label LBL_7\n LBL_7:\n %31 = call i64 @FUNC(i64 %0, i64 %27)\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_9, label LBL_8\n LBL_8:\n %34 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_9:\n %35 = load i32, i32* %2, align 4\n %36 = call i64 @FUNC(i64 %0, i64 %31, i32 %35)\n %37 = call i64 @FUNC(i64 %36)\n %38 = call i64 @FUNC(i64 %36)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n store i64 %36, i64* %sv_1.0.reg2mem\n store i64 %36, i64* %rdi.0.reg2mem\n br i1 %40, label LBL_11, label LBL_10\n LBL_10:\n %41 = call i64 @FUNC(i64 %36)\n store i64 %37, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_11:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %42 = call i64 @FUNC(i64 %rdi.0.reload)\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n br label LBL_12\n LBL_12:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %43 = inttoptr i64 %sv_1.1.reload to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n br i1 %45, label LBL_14, label LBL_13\n LBL_13:\n %46 = call i64 @FUNC(i64 %sv_1.1.reload)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_15, label LBL_14\n LBL_14:\n %49 = call i64 @FUNC(i64 %sv_1.1.reload)\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_15:\n %50 = ptrtoint i64* %arg2 to i64\n store i64 %sv_1.1.reload, i64* %arg2, align 8\n %51 = add i64 %0, 8\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = add i64 %50, 8\n %55 = inttoptr i64 %54 to i64*\n store i64 %53, i64* %55, align 8\n %56 = load i32, i32* %2, align 4\n %57 = and i32 %56, 4\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %sv_1.1.reload, i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %61, label LBL_16, label LBL_18\n LBL_16:\n %62 = load i64, i64* %55, align 8\n %63 = call i64 @FUNC(i64 %62)\n %64 = call i64 @FUNC(i64 %50)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %65 = call i64 @FUNC(i64 %0)\n %66 = and i64 %sv_0.0.reload, 4294967295\n store i64 %66, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.1.reload, { 4, 3, 2, 0, 1 }\n uselistorder i64 %36, { 2, 0, 1, 3, 4 }\n uselistorder i32* %2, { 1, 2, 3, 0, 4 }\n uselistorder i64 %0, { 8, 7, 5, 4, 6, 0, 9, 10, 2, 3, 11, 1, 12 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 6, 4, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 2, 3, 4, 5, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bitxor_6383", "fun_name": "bitxor", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC(i64 %arg1, i64 %0)\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %arg1, i64 94)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %1, i64* %sv_0.02.reg2mem\n store i64 %1, i64* %sv_0.0.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %7 = call i64 @FUNC()\n %8 = call i64 @FUNC(i64 %arg1, i64 %0)\n %9 = call i64 @FUNC(i64 1, i64 %sv_0.02.reload, i64 %8)\n %10 = call i64 @FUNC(i64 %arg1, i64 94)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %9, i64* %sv_0.02.reg2mem\n store i64 %9, i64* %sv_0.0.lcssa.reg2mem\n br i1 %13, label LBL_1, label LBL_2\n LBL_2:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %14 = call i64 @FUNC()\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64, i64)* @jsP_accept, { 1, 0 }\n uselistorder i64 94, { 1, 0 }\n uselistorder i64 (i64, i64)* @bitand, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "EC_GROUP_new_5375", "fun_name": "EC_GROUP_new", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %3 = call i64 @FUNC(i64 72)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC(i64 1, i64 4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = inttoptr i64 %3 to i64*\n store i64 %7, i64* %8, align 8\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n %11 = add i64 %3, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = add i64 %3, 24\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = add i64 %3, 32\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %3, 36\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %3, 40\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %3, 44\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %3, 48\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %3, 56\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n %27 = add i64 %3, 64\n %28 = inttoptr i64 %27 to i64*\n store i64 0, i64* %28, align 8\n %29 = trunc i64 %3 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 0, 1, 3, 4, 5, 6, 9, 8, 7, 10, 11, 12, 13, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 (i64)* @BN_init, { 1, 0 }\n uselistorder i64 (i64, i64)* @ECerr, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_read_brush_7353", "fun_name": "update_read_brush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = urem i8 %arg3, 2\n %4 = icmp eq i8 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_19\n LBL_2:\n %8 = urem i64 %1, 256\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n br label LBL_3\n LBL_3:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = and i8 %arg3, 2\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_6, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %2)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_5, label LBL_19\n LBL_5:\n %16 = add i64 %10, 1\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = zext i8 %18 to i64\n %20 = call i64 @FUNC(i64 %2, i64 %19)\n br label LBL_6\n LBL_6:\n %21 = and i8 %arg3, 4\n %22 = icmp eq i8 %21, 0\n br i1 %22, label LBL_9, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %2)\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_8, label LBL_19\n LBL_8:\n %26 = add i64 %10, 2\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i64\n %30 = call i64 @FUNC(i64 %2, i64 %29)\n br label LBL_9\n LBL_9:\n %31 = and i8 %arg3, 8\n %32 = icmp eq i8 %31, 0\n br i1 %32, label LBL_12, label LBL_10\n LBL_10:\n %33 = call i64 @FUNC(i64 %2)\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %35, label LBL_11, label LBL_19\n LBL_11:\n %36 = add i64 %10, 3\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = zext i8 %38 to i64\n %40 = call i64 @FUNC(i64 %2, i64 %39)\n br label LBL_12\n LBL_12:\n %41 = add i64 %10, 2\n %42 = inttoptr i64 %41 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = and i8 %43, 32\n %45 = icmp eq i8 %44, 0\n br i1 %45, label LBL_16, label LBL_13\n LBL_13:\n %46 = add i64 %10, 3\n %47 = inttoptr i64 %46 to i8*\n %48 = load i8, i8* %47, align 1\n %49 = add i64 %10, 4\n %50 = inttoptr i64 %49 to i8*\n store i8 %48, i8* %50, align 1\n %51 = load i8, i8* %42, align 1\n %52 = zext i8 %51 to i64\n %53 = bitcast i32* %sv_0 to i64*\n %54 = call i64 @FUNC(i64 %52, i64* nonnull %53)\n %55 = trunc i64 %54 to i8\n %56 = add i64 %10, 5\n %57 = inttoptr i64 %56 to i8*\n store i8 %55, i8* %57, align 1\n %58 = load i32, i32* %sv_0, align 4\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %60, label LBL_14, label LBL_19\n LBL_14:\n %61 = icmp eq i8 %55, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_16, label LBL_15\n LBL_15:\n store i8 1, i8* %57, align 1\n br label LBL_16\n LBL_16:\n %63 = and i8 %arg3, 16\n %64 = icmp eq i8 %63, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %64, label LBL_19, label LBL_17\n LBL_17:\n %65 = call i64 @FUNC(i64 %2)\n %66 = icmp ult i64 %65, 7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %66, label LBL_19, label LBL_18\n LBL_18:\n %67 = add i64 %10, 16\n %68 = add i64 %10, 8\n %69 = inttoptr i64 %68 to i64*\n store i64 %67, i64* %69, align 8\n %70 = add i64 %10, 23\n %71 = inttoptr i64 %70 to i8*\n %72 = load i8, i8* %71, align 1\n %73 = zext i8 %72 to i64\n %74 = call i64 @FUNC(i64 %2, i64 %73)\n %75 = load i64, i64* %69, align 8\n %76 = add i64 %75, 6\n %77 = inttoptr i64 %76 to i8*\n %78 = load i8, i8* %77, align 1\n %79 = zext i8 %78 to i64\n %80 = call i64 @FUNC(i64 %2, i64 %79)\n %81 = load i64, i64* %69, align 8\n %82 = add i64 %81, 5\n %83 = inttoptr i64 %82 to i8*\n %84 = load i8, i8* %83, align 1\n %85 = zext i8 %84 to i64\n %86 = call i64 @FUNC(i64 %2, i64 %85)\n %87 = load i64, i64* %69, align 8\n %88 = add i64 %87, 4\n %89 = inttoptr i64 %88 to i8*\n %90 = load i8, i8* %89, align 1\n %91 = zext i8 %90 to i64\n %92 = call i64 @FUNC(i64 %2, i64 %91)\n %93 = load i64, i64* %69, align 8\n %94 = add i64 %93, 3\n %95 = inttoptr i64 %94 to i8*\n %96 = load i8, i8* %95, align 1\n %97 = zext i8 %96 to i64\n %98 = call i64 @FUNC(i64 %2, i64 %97)\n %99 = load i64, i64* %69, align 8\n %100 = add i64 %99, 2\n %101 = inttoptr i64 %100 to i8*\n %102 = load i8, i8* %101, align 1\n %103 = zext i8 %102 to i64\n %104 = call i64 @FUNC(i64 %2, i64 %103)\n %105 = load i64, i64* %69, align 8\n %106 = add i64 %105, 1\n %107 = inttoptr i64 %106 to i8*\n %108 = load i8, i8* %107, align 1\n %109 = zext i8 %108 to i64\n %110 = call i64 @FUNC(i64 %2, i64 %109)\n %111 = load i64, i64* %69, align 8\n %112 = add i64 %10, 3\n %113 = inttoptr i64 %112 to i8*\n %114 = load i8, i8* %113, align 1\n %115 = inttoptr i64 %111 to i8*\n store i8 %114, i8* %115, align 1\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 5, 0, 7, 6, 4, 9, 10, 8, 3, 2, 1 }\n uselistorder i64 %2, { 8, 9, 10, 11, 12, 13, 14, 15, 6, 7, 4, 5, 2, 3, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6, 7, 8 }\n uselistorder i64 1, { 1, 3, 0, 4, 2, 5 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT8, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @Stream_GetRemainingLength, { 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i8 2, { 1, 0 }\n uselistorder i8 %arg3, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_19, { 1, 2, 0, 3, 4, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fanout_flow_is_huge_8406", "fun_name": "fanout_flow_is_huge", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.12.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = mul i64 %indvars.iv.reload, 4\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, %2\n %8 = zext i1 %7 to i32\n %spec.select = add i32 %sv_0.12.reload, %8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %spec.select, i32* %sv_0.12.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %9 = call i64 @FUNC()\n %10 = mul i64 %9, 4\n %11 = and i64 %10, 60\n %12 = add i64 %11, %0\n %13 = inttoptr i64 %12 to i32*\n store i32 %2, i32* %13, align 4\n %14 = add i32 %spec.select, -8\n %15 = sub i32 7, %spec.select\n %16 = and i32 %15, %spec.select\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i32 %14, 0\n %19 = icmp slt i32 %14, 0\n %20 = icmp eq i1 %19, %17\n %21 = icmp eq i1 %18, false\n %22 = icmp eq i1 %20, %21\n %23 = zext i1 %22 to i64\n %24 = and i64 %1, 4294967040\n %25 = or i64 %24, %23\n ret i64 %25\n\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %spec.select, { 1, 3, 2, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_update_dr7_9250", "fun_name": "kvm_update_dr7", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i64 %0, 2\n %2 = icmp eq i64 %1, 0\n %storemerge.in.in.in.v = select i1 %2, i64 16, i64 8\n %storemerge.in.in.in = add i64 %storemerge.in.in.in.v, %0\n %storemerge.in.in = inttoptr i64 %storemerge.in.in.in to i64*\n %storemerge.in = load i64, i64* %storemerge.in.in, align 8\n %storemerge = trunc i64 %storemerge.in to i16\n %3 = add i64 %0, 24\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = and i64 %5, -2\n %7 = urem i64 %storemerge.in, 65536\n %8 = icmp eq i16 %storemerge, 0\n %9 = or i64 %5, 1\n %spec.select = select i1 %8, i64 %6, i64 %9\n %spec.select3 = select i1 %8, i64 %7, i64 %0\n store i64 %spec.select, i64* %4, align 8\n ret i64 %spec.select3\n\n uselistorder i64 %0, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "entry_guard_failed_9427", "fun_name": "entry_guard_failed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_4, label LBL_2\n LBL_2:\n %4 = inttoptr i64 %2 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %5, i64 %2)\n %8 = add i64 %5, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = call i64 @FUNC()\n %11 = add i64 %5, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder label LBL_4, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_close_9264", "fun_name": "process_close", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = load i64, i64* @gv_0, align 8\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %6)\n unreachable\n LBL_2:\n %8 = and i64 %arg1, 4294967295\n %9 = load i32, i32* %sv_0, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_3, i64 0, i64 0), i64 %8, i64 %10)\n %12 = load i32, i32* %sv_0, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13, i64 0)\n %15 = load i32, i32* %sv_0, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, -1\n %20 = icmp eq i1 %19, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = call i32* @__errno_location()\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %23)\n %phitmp = and i64 %24, 4294967295\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %25 = call i64 @FUNC(i64 %8, i64 %storemerge.reload)\n ret i64 %25\n\n uselistorder i32* %sv_0, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 0, 1, 3, 4 }\n uselistorder i32 1, { 3, 1, 0, 4, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "evtchn_bind_virq_7170", "fun_name": "evtchn_bind_virq", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %.pre-phi10.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = load i64, i64* @gv_0, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = trunc i64 %1 to i32\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp ult i32 %7, 256\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %11, label LBL_1, label LBL_9\n LBL_1:\n %12 = and i64 %1, 4294967295\n %13 = call i64 @FUNC(i64 %12, i64 256)\n %14 = and i64 %13, 4294967295\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i32 %10, 0\n %or.cond5 = or i1 %18, %17\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %or.cond5, label LBL_2, label LBL_9\n LBL_2:\n %19 = zext i32 %10 to i64\n %20 = call i64 @FUNC(i64 %6, i64 %19)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_3, label LBL_9\n LBL_3:\n %23 = call i64 @FUNC(i64 %6)\n %sext6 = mul i64 %13, 4294967296\n %24 = ashr exact i64 %sext6, 30\n %25 = add i64 %20, %24\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n store i64 4294967279, i64* %rax.0.shrunk.reg2mem\n br i1 %28, label LBL_4, label LBL_9\n LBL_4:\n %sext = mul i64 %arg2, 4294967296\n %29 = ashr exact i64 %sext, 32\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = and i64 %29, 4294967295\n %33 = call i64 @FUNC(i64 %6, i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n store i32 %30, i32* %.pre-phi10.reg2mem\n store i64 %32, i64* %.pre-phi.reg2mem\n store i64 %33, i64* %sv_0.0.reg2mem\n store i64 %33, i64* %rax.0.shrunk.reg2mem\n br i1 %35, label LBL_8, label LBL_9\n LBL_6:\n %36 = call i64 @FUNC(i64 %6)\n %37 = trunc i64 %36 to i32\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 %36, i64* %rax.0.shrunk.reg2mem\n br i1 %39, label LBL_7, label LBL_9\n LBL_7:\n %sext8 = mul i64 %36, 4294967296\n %40 = ashr exact i64 %sext8, 32\n %.pre = and i64 %40, 4294967295\n %.pre9 = trunc i64 %40 to i32\n store i32 %.pre9, i32* %.pre-phi10.reg2mem\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %41 = trunc i64 %13 to i32\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %.pre-phi10.reload = load i32, i32* %.pre-phi10.reg2mem\n %42 = call i64 @FUNC(i64 %6, i64 %.pre-phi.reload)\n %43 = add i64 %42, 12\n %44 = call i64 @FUNC(i64 %43, i64 %3)\n %45 = inttoptr i64 %42 to i32*\n store i32 1, i32* %45, align 4\n %46 = add i64 %42, 4\n %47 = inttoptr i64 %46 to i32*\n store i32 %10, i32* %47, align 4\n %48 = add i64 %42, 8\n %49 = inttoptr i64 %48 to i32*\n store i32 %41, i32* %49, align 4\n %50 = call i64 @FUNC(i64 %6, i64 %42)\n %51 = call i64 @FUNC(i64 %43, i64 %3)\n %52 = add i64 %2, 8\n %53 = inttoptr i64 %52 to i32*\n store i32 %.pre-phi10.reload, i32* %53, align 4\n store i32 %.pre-phi10.reload, i32* %26, align 4\n %54 = call i64 @FUNC(i64 %6)\n store i64 %sv_0.0.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %36, { 1, 0, 2 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %13, { 2, 0, 1 }\n uselistorder i32 %10, { 0, 2, 1 }\n uselistorder i64 %6, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.pre-phi10.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967296, { 0, 2, 1 }\n uselistorder label LBL_9, { 6, 0, 1, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "local_statfs_666", "fun_name": "local_statfs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = bitcast i64* %arg3 to %statfs*\n %5 = call i32 @fstatfs(i32 %3, %statfs* %4)\n %6 = and i64 %2, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = zext i32 %5 to i64\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drop_sync_17103", "fun_name": "drop_sync", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i64\n %sv_1.02.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %0 = icmp ult i64 %arg2, 1025\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %sv_2 to i64\n store i64 %1, i64* %storemerge6.reg2mem\n br label LBL_3\n LBL_2:\n %2 = call i64 @FUNC(i64 %arg2)\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %storemerge6.reg2mem\n store i64 %2, i64* %storemerge7.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %4, label LBL_3, label LBL_8\n LBL_3:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %5 = ptrtoint i32* %arg1 to i64\n store i64 0, i64* %sv_0.03.reg2mem\n store i64 %arg2, i64* %sv_1.02.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %6 = icmp ult i64 %sv_1.02.reload, 65536\n %7 = select i1 %6, i64 %sv_1.02.reload, i64 65536\n %8 = call i64 @FUNC(i64 %5, i64 %storemerge6.reload, i64 %7)\n %9 = icmp slt i64 %8, 1\n store i64 %storemerge6.reload, i64* %storemerge7.reg2mem\n store i64 %sv_0.03.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %9, label LBL_8, label LBL_5\n LBL_5:\n %10 = icmp ult i64 %sv_1.02.reload, %8\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %12 = sub i64 %sv_1.02.reload, %8\n %13 = add i64 %8, %sv_0.03.reload\n %14 = icmp eq i64 %12, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %sv_0.03.reg2mem\n store i64 %12, i64* %sv_1.02.reg2mem\n store i64 %storemerge6.reload, i64* %storemerge7.reg2mem\n store i64 %13, i64* %sv_0.0.lcssa.reg2mem\n br i1 %15, label LBL_4, label LBL_8\n LBL_8:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n %16 = ptrtoint i64* %sv_2 to i64\n %17 = icmp eq i64 %storemerge7.reload, %16\n br i1 %17, label LBL_10, label LBL_9\n LBL_9:\n %18 = call i64 @FUNC(i64 %storemerge7.reload)\n br label LBL_10\n LBL_10:\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i64 %sv_0.03.reload, { 1, 0 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.02.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "init_tfm_8300", "fun_name": "init_tfm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %1)\n %4 = icmp ult i64 %3, -1000\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %5 = call i64 @FUNC(i64 %3)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 16\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = or i32 %10, 1\n store i32 %11, i32* %9, align 4\n %12 = call i64 @FUNC(i64 %3)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %13 = inttoptr i64 %2 to i64*\n store i64 %3, i64* %13, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %9, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 3, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmac_set_key_8267", "fun_name": "vmac_set_key", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv15.reg2mem = alloca i64\n %indvars.iv17.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n %2 = add i64 %0, 280\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4, i64 %1, i64 16)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_1, label LBL_10\n LBL_1:\n store i64 -128, i64* %sv_2, align 8\n store i64 0, i64* %indvars.iv17.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %8 = load i64, i64* %3, align 8\n %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %10 = call i64 @FUNC(i64* nonnull %sv_1)\n %11 = mul i64 %indvars.iv17.reload, 8\n %12 = add i64 %11, %0\n %13 = inttoptr i64 %12 to i64*\n store i64 %10, i64* %13, align 8\n %14 = call i64 @FUNC(i64* nonnull %sv_0)\n %15 = or i64 %11, 8\n %16 = add i64 %15, %0\n %17 = inttoptr i64 %16 to i64*\n store i64 %14, i64* %17, align 8\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 2\n %18 = icmp ult i64 %indvars.iv.next18, 8\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n br i1 %18, label LBL_2, label LBL_3\n LBL_3:\n store i64 -64, i64* %sv_2, align 8\n %19 = add i64 %0, 64\n %20 = add i64 %0, 128\n store i64 0, i64* %indvars.iv15.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem\n %21 = load i64, i64* %3, align 8\n %22 = call i64 @FUNC(i64 %21, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %23 = call i64 @FUNC(i64* nonnull %sv_1)\n %24 = mul i64 %indvars.iv15.reload, 8\n %25 = add i64 %24, %19\n %26 = inttoptr i64 %25 to i64*\n store i64 %23, i64* %26, align 8\n %27 = add i64 %24, %20\n %28 = inttoptr i64 %27 to i64*\n store i64 %23, i64* %28, align 8\n %29 = call i64 @FUNC(i64* nonnull %sv_0)\n %30 = or i64 %24, 8\n %31 = add i64 %30, %19\n %32 = inttoptr i64 %31 to i64*\n store i64 %29, i64* %32, align 8\n %33 = add i64 %30, %20\n %34 = inttoptr i64 %33 to i64*\n store i64 %29, i64* %34, align 8\n %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 2\n %35 = icmp ult i64 %indvars.iv.next16, 8\n store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem\n br i1 %35, label LBL_4, label LBL_5\n LBL_5:\n store i64 -32, i64* %sv_2, align 8\n %36 = add i64 %0, 192\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6.preheader\n LBL_6:\n %37 = load i64, i64* %3, align 8\n %38 = call i64 @FUNC(i64 %37, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %39 = call i64 @FUNC(i64* nonnull %sv_1)\n store i64 %39, i64* %47, align 8\n %40 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %40, i64* %50, align 8\n %41 = load i64, i64* %47, align 8\n %42 = icmp eq i64 %41, -1\n %43 = icmp eq i64 %40, -1\n %or.cond = or i1 %43, %42\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 2\n %44 = icmp ult i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %44, label LBL_6.preheader, label LBL_9\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %45 = mul i64 %indvars.iv.reload, 8\n %46 = add i64 %45, %36\n %47 = inttoptr i64 %46 to i64*\n %48 = or i64 %45, 8\n %49 = add i64 %48, %36\n %50 = inttoptr i64 %49 to i64*\n br label LBL_6\n LBL_9:\n %51 = add i64 %0, 256\n %52 = inttoptr i64 %51 to i64*\n store i64 -1, i64* %52, align 8\n %53 = add i64 %0, 264\n %54 = inttoptr i64 %53 to i64*\n store i64 0, i64* %54, align 8\n %55 = add i64 %0, 272\n %56 = inttoptr i64 %55 to i32*\n store i32 0, i32* %56, align 4\n br label LBL_10\n LBL_10:\n %storemerge = and i64 %5, 4294967295\n ret i64 %storemerge\n\n uselistorder i64* %47, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i64 %24, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 0, 3, 1, 4, 2, 5, 6 }\n uselistorder i64 %0, { 5, 6, 7, 4, 2, 3, 0, 1, 8 }\n uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 }\n uselistorder i64 -1, { 2, 0, 1 }\n uselistorder i64 2, { 2, 1, 0 }\n uselistorder i64 8, { 3, 0, 8, 7, 4, 1, 6, 5, 2 }\n uselistorder i64 (i64*)* @be64_to_cpup, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64*, i64*)* @crypto_cipher_encrypt_one, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6.preheader, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_thread_678", "fun_name": "init_thread", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 %0, i64* %3, align 8\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %1, 256\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n ret i64 %1\n\n uselistorder i64 %1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hns_tx_timeout_reset_9760", "fun_name": "hns_tx_timeout_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 0, i64 %1)\n %3 = and i64 %2, 4294967295\n %4 = xor i64 %3, 1\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 1, i64 %1)\n %8 = inttoptr i64 %1 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 %9)\n %14 = add i64 %12, 1\n store i64 %14, i64* %arg1, align 8\n %15 = call i64 @FUNC(i64 %0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 1, { 5, 2, 3, 1, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtl8187_add_interface_4539", "fun_name": "rtl8187_add_interface", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp ne i32 %3, 0\n %5 = trunc i64 %2 to i32\n %6 = icmp eq i32 %5, 1\n %7 = icmp eq i1 %6, false\n %or.cond = or i1 %4, %7\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = ptrtoint i64* %arg1 to i64\n %10 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %10, align 4\n %11 = add i64 %8, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %9, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = add i64 %9, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %18, 6\n %20 = call i64 @FUNC(i64 %9, i64 %19, i64 1)\n %21 = add i64 %8, 16\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = add i64 %21, %indvars.iv.reload\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = zext i8 %24 to i64\n %26 = load i64, i64* %17, align 8\n %27 = add i64 %26, %indvars.iv.reload\n %28 = call i64 @FUNC(i64 %9, i64 %27, i64 %25)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %29 = load i64, i64* %17, align 8\n %30 = add i64 %29, 6\n %31 = call i64 @FUNC(i64 %9, i64 %30, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %9, { 0, 1, 3, 2, 4 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @rtl818x_iowrite8, { 1, 2, 0 }\n uselistorder i64 6, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "LogBuffer_7899", "fun_name": "LogBuffer", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %4 = icmp eq i64 %arg3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %8 = and i64 %arg1, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = call i64 @FUNC(i64* nonnull %sv_0)\n %13 = ptrtoint i64* %sv_0 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %arg2, i64 4294967295)\n %15 = call i64 @FUNC(i64 %13, i64 ptrtoint ([3 x i8]* @gv_4 to i64), i64 2)\n %16 = call i64 @FUNC(i64* nonnull %sv_0, i64 0, i64 %arg3, i64 %arg4)\n %17 = load i64, i64* %sv_0, align 8\n %18 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %17)\n %19 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 0, 3, 1, 4, 2 }\n uselistorder i64 (i64, i64, i64)* @Tcl_DStringAppend, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 4294967295, { 3, 0, 2, 1 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i32 1, { 6, 7, 9, 0, 4, 2, 1, 8, 5, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mdct512_1763", "fun_name": "mdct512", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv7.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %indvars.iv9.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %2, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = trunc i64 %1 to i32\n %10 = urem i32 %9, 32\n %11 = shl i32 1, %10\n %12 = ashr i32 %11, 2\n %13 = icmp sgt i32 %11, 3\n br i1 %13, label LBL_2, label LBL_0.LBL_4_crit_edge\n LBL_1:\n %.pre = sext i32 %12 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_4\n LBL_2:\n %14 = ptrtoint i64* %arg3 to i64\n %15 = mul nsw i32 %12, 3\n %16 = sext i32 %15 to i64\n %17 = sext i32 %12 to i64\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %18 = add nsw i64 %indvars.iv9.reload, %16\n %19 = mul i64 %18, 2\n %20 = add i64 %19, %14\n %21 = inttoptr i64 %20 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = sub i16 0, %22\n %24 = mul i64 %indvars.iv9.reload, 2\n %25 = add i64 %24, %5\n %26 = inttoptr i64 %25 to i16*\n store i16 %23, i16* %26, align 2\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %27 = icmp slt i64 %indvars.iv.next10, %17\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n store i64 %17, i64* %.pre-phi.reg2mem\n br i1 %27, label LBL_3, label LBL_4\n LBL_4:\n %28 = bitcast i64* %rdi to i32*\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %29 = mul i32 %12, 6\n %30 = mul i64 %.pre-phi.reload, 2\n %31 = add i64 %30, %5\n %32 = inttoptr i64 %31 to i64*\n %33 = call i64* @memcpy(i64* %32, i64* %arg3, i32 %29)\n br i1 %13, label LBL_5, label LBL_10\n LBL_5:\n %34 = ptrtoint i64* %arg2 to i64\n %35 = ptrtoint i64* %sv_0 to i64\n %36 = ashr i32 %11, 1\n %37 = add i64 %2, 32\n %38 = inttoptr i64 %37 to i64*\n %39 = add i64 %2, 24\n %40 = inttoptr i64 %39 to i64*\n %41 = add i64 %35, -16\n %42 = inttoptr i64 %41 to i64*\n %43 = sext i32 %36 to i64\n store i64 0, i64* %indvars.iv7.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem\n %44 = mul i64 %indvars.iv7.reload, 2\n %45 = mul i64 %indvars.iv7.reload, 4\n %46 = add i64 %45, %5\n %47 = inttoptr i64 %46 to i16*\n %48 = load i16, i16* %47, align 2\n %49 = sext i16 %48 to i32\n %50 = sub i64 0, %44\n %51 = sub i64 %50, 1\n %52 = trunc i64 %51 to i32\n %53 = add i32 %11, %52\n %54 = sext i32 %53 to i64\n %55 = mul i64 %54, 2\n %56 = add i64 %55, %5\n %57 = inttoptr i64 %56 to i16*\n %58 = load i16, i16* %57, align 2\n %59 = sext i16 %58 to i32\n %60 = sub nsw i32 %49, %59\n %61 = ashr i32 %60, 1\n %62 = add nsw i64 %51, %43\n %63 = mul i64 %62, 2\n %64 = add i64 %63, %5\n %65 = inttoptr i64 %64 to i16*\n %66 = load i16, i16* %65, align 2\n %67 = sext i16 %66 to i32\n %68 = add nsw i64 %44, %43\n %69 = mul i64 %68, 2\n %70 = add i64 %69, %5\n %71 = inttoptr i64 %70 to i16*\n %72 = load i16, i16* %71, align 2\n %73 = sext i16 %72 to i32\n %74 = sub nsw i32 %67, %73\n %75 = ashr i32 %74, 1\n %76 = load i64, i64* %38, align 8\n %77 = add i64 %76, %44\n %78 = inttoptr i64 %77 to i16*\n %79 = load i16, i16* %78, align 2\n %80 = load i64, i64* %40, align 8\n %81 = add i64 %80, %44\n %82 = inttoptr i64 %81 to i16*\n %83 = load i16, i16* %82, align 2\n %84 = sext i16 %83 to i64\n %85 = sub nsw i64 0, %84\n %86 = and i64 %85, 4294967295\n %87 = mul i64 %indvars.iv7.reload, 8\n %88 = add i64 %87, %8\n %89 = add i64 %88, 4\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n %92 = inttoptr i64 %88 to i32*\n %93 = load i32, i32* %92, align 4\n store i64 15, i64* %42, align 8\n %94 = sext i16 %79 to i64\n %95 = and i64 %94, 4294967295\n %96 = zext i32 %93 to i64\n %97 = call i64 @FUNC(i64 %96, i32 %91, i32 %61, i32 %75, i64 %86, i64 %95)\n %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1\n %98 = icmp slt i64 %indvars.iv.next8, %.pre-phi.reload\n store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem\n br i1 %98, label LBL_6, label LBL_7\n LBL_7:\n %99 = load i32, i32* %28, align 8\n %100 = add i32 %99, -2\n %101 = zext i32 %100 to i64\n %102 = call i64 @FUNC(i64 %2, i64 %8, i64 %101)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %103 = mul i64 %indvars.iv.reload, 8\n %104 = add i64 %103, %8\n %105 = inttoptr i64 %104 to i32*\n %106 = load i32, i32* %105, align 4\n %107 = add i64 %104, 4\n %108 = inttoptr i64 %107 to i32*\n %109 = load i32, i32* %108, align 4\n %110 = load i64, i64* %40, align 8\n %111 = mul i64 %indvars.iv.reload, 2\n %112 = add i64 %110, %111\n %113 = inttoptr i64 %112 to i16*\n %114 = load i16, i16* %113, align 2\n %115 = load i64, i64* %38, align 8\n %116 = add i64 %115, %111\n %117 = inttoptr i64 %116 to i16*\n %118 = load i16, i16* %117, align 2\n %119 = add i64 %103, %34\n %120 = inttoptr i64 %119 to i32*\n %121 = load i32, i32* %120, align 4\n %122 = xor i64 %111, 4611686018427387903\n %123 = add i64 %122, %43\n %124 = mul i64 %123, 4\n %125 = add i64 %124, %34\n %126 = inttoptr i64 %125 to i32*\n %127 = load i32, i32* %126, align 4\n store i64 0, i64* %42, align 8\n %128 = sext i16 %114 to i64\n %129 = and i64 %128, 4294967295\n %130 = sext i16 %118 to i64\n %131 = and i64 %130, 4294967295\n %132 = zext i32 %127 to i64\n %133 = call i64 @FUNC(i64 %132, i32 %121, i32 %106, i32 %109, i64 %131, i64 %129)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %134 = icmp slt i64 %indvars.iv.next, %.pre-phi.reload\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %134, label LBL_8, label LBL_9\n LBL_9:\n %phitmp = and i64 %indvars.iv.next, 4294967295\n store i64 %phitmp, i64* %storemerge.lcssa.reg2mem\n br label LBL_11\n LBL_10:\n %135 = load i32, i32* %28, align 8\n %136 = add i32 %135, -2\n %137 = zext i32 %136 to i64\n %138 = call i64 @FUNC(i64 %2, i64 %8, i64 %137)\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64 %indvars.iv.next, { 1, 0, 2 }\n uselistorder i64 %111, { 0, 2, 1 }\n uselistorder i64 %103, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i64 %44, { 2, 1, 0, 3 }\n uselistorder i64 %indvars.iv7.reload, { 0, 3, 2, 1 }\n uselistorder i64 %indvars.iv9.reload, { 0, 2, 1 }\n uselistorder i32 %12, { 2, 1, 3, 0 }\n uselistorder i32 %11, { 0, 2, 1, 3 }\n uselistorder i64 %8, { 2, 0, 3, 1 }\n uselistorder i64 %2, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i32, i32, i32, i64, i64)* @CMUL, { 1, 0 }\n uselistorder i64 4294967295, { 0, 3, 4, 1, 2 }\n uselistorder i64 4, { 0, 2, 3, 1 }\n uselistorder i64 1, { 3, 2, 0, 1 }\n uselistorder i32 3, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "configure_filtergraph_14780", "fun_name": "configure_filtergraph", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n store i64 %2, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %3 = call i64 @FUNC(i64 %0)\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_chr_free_common_973", "fun_name": "qemu_chr_free_common", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %1, align 8\n br label LBL_2\n LBL_2:\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %arg1, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %arg1, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, -1\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i32 @close(i32 %12)\n br label LBL_4\n LBL_4:\n %15 = add i64 %arg1, 32\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %arg1)\n ret i64 %17\n\n uselistorder i64 (i64)* @g_free, { 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 5, 4, 0, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "modbus_write_registers_9411", "fun_name": "modbus_write_registers", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.05.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %2 = icmp eq i32* %arg1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i32* @__errno_location()\n store i32 22, i32* %4, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 124\n br i1 %7, label LBL_6, label LBL_3\n LBL_3:\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %11 = and i64 %5, 4294967295\n %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 123)\n br label LBL_5\n LBL_5:\n %13 = call i32* @__errno_location()\n store i32 1, i32* %13, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %14 = ptrtoint i64* %sv_4 to i64\n %15 = ptrtoint i32* %arg1 to i64\n %arg3.tr = trunc i64 %arg3 to i8\n %16 = mul i8 %arg3.tr, 2\n %17 = trunc i64 %15 to i32\n %18 = add i32 %17, 1\n %sext4 = mul i64 %15, 4294967296\n %19 = ashr exact i64 %sext4, 32\n %20 = add i64 %14, -272\n %21 = add i64 %20, %19\n %22 = inttoptr i64 %21 to i8*\n store i8 %16, i8* %22, align 1\n %23 = icmp sgt i32 %6, 0\n store i32 %18, i32* %sv_1.0.lcssa.reg2mem\n br i1 %23, label LBL_7, label LBL_9\n LBL_7:\n %24 = ptrtoint i64* %arg4 to i64\n %wide.trip.count = and i64 %5, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %18, i32* %sv_1.05.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %25 = mul i64 %indvars.iv.reload, 2\n %26 = add i64 %25, %24\n %27 = inttoptr i64 %26 to i16*\n %28 = load i16, i16* %27, align 2\n %29 = udiv i16 %28, 256\n %30 = add i32 %sv_1.05.reload, 1\n %31 = sext i32 %sv_1.05.reload to i64\n %32 = trunc i16 %29 to i8\n %33 = add i64 %20, %31\n %34 = inttoptr i64 %33 to i8*\n store i8 %32, i8* %34, align 1\n %35 = load i16, i16* %27, align 2\n %36 = add i32 %sv_1.05.reload, 2\n %37 = sext i32 %30 to i64\n %38 = trunc i16 %35 to i8\n %39 = add i64 %20, %37\n %40 = inttoptr i64 %39 to i8*\n store i8 %38, i8* %40, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %36, i32* %sv_1.05.reg2mem\n store i32 %36, i32* %sv_1.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %41 = call i64 @FUNC(i64 %15, i64* nonnull %sv_3, i32 %sv_1.0.lcssa.reload)\n %42 = trunc i64 %41 to i32\n %43 = icmp slt i32 %42, 1\n store i64 %41, i64* %sv_0.0.reg2mem\n br i1 %43, label LBL_12, label LBL_10\n LBL_10:\n %44 = call i64 @FUNC(i64 %15, i64* nonnull %sv_2, i64 0)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, -1\n %47 = icmp eq i1 %46, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %47, label LBL_11, label LBL_13\n LBL_11:\n %48 = call i64 @FUNC(i64 %15, i64* nonnull %sv_3, i64* nonnull %sv_2, i32 %45)\n store i64 %48, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %49 = and i64 %sv_0.0.reload, 4294967295\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_1.05.reload, { 2, 1, 0 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64 %15, { 1, 2, 3, 0, 4 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_13, { 1, 0, 2, 3 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_rv34_decode_init_thread_copy_639", "fun_name": "ff_rv34_decode_init_thread_copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %2, align 8\n %3 = bitcast i64* %arg1 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, align 8\n %8 = call i64 @FUNC(i64 %1)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = and i64 %8, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %1)\n %18 = and i64 %13, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder label LBL_5, { 2, 1, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssh_packet_start_compression_8669", "fun_name": "ssh_packet_start_compression", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %3, align 4\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = and i64 %arg2, 4294967295\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 %13, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = and i64 %sv_0.0.reload, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 3, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_huge_pmd_numa_page_3749", "fun_name": "do_huge_pmd_numa_page", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = urem i64 %2, 256\n %4 = icmp eq i64 %3, 1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_11, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %6)\n %9 = trunc i64 %8 to i32\n %10 = call i64 @FUNC(i64 1)\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %9, %12\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 2)\n br label LBL_3\n LBL_3:\n %16 = ptrtoint i64* %arg4 to i64\n %17 = ptrtoint i64* %arg2 to i64\n %18 = and i64 %arg3, -4096\n %19 = call i64 @FUNC(i64 %6, i64 %17, i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, -1\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %6)\n br label LBL_10\n LBL_5:\n %24 = call i64 @FUNC(i64 %0)\n %25 = call i64 @FUNC(i64 %6)\n %26 = call i64 @FUNC(i64 %0)\n %27 = call i64 @FUNC()\n %28 = urem i64 %27, 256\n %29 = icmp eq i64 %28, 1\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %6)\n %31 = call i64 @FUNC(i64 %6)\n br label LBL_12\n LBL_7:\n %32 = call i64 @FUNC(i64 %0)\n %33 = and i64 %19, 4294967295\n %34 = call i64 @FUNC(i64 %0, i64 %17, i64 %16, i64 %arg3, i64 %6, i64 %33)\n %35 = trunc i64 %34 to i8\n %36 = icmp eq i8 %35, 1\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %38 = call i64 @FUNC(i64 %33, i64 512, i64 1)\n br label LBL_14\n LBL_9:\n %39 = call i64 @FUNC(i64 %0)\n %40 = call i64 @FUNC()\n %41 = urem i64 %40, 256\n %42 = icmp eq i64 %41, 1\n br i1 %42, label LBL_10, label LBL_11\n LBL_10:\n %43 = call i64 @FUNC()\n %44 = call i64 @FUNC(i64 %0, i64 %18, i64 %16)\n %45 = call i64 @FUNC(i64 %17, i64 %arg3, i64 %16)\n br label LBL_12\n LBL_11:\n %46 = call i64 @FUNC(i64 %0)\n br label LBL_14\n LBL_12:\n %47 = call i64 @FUNC(i64 %0)\n %48 = icmp eq i32 %9, -1\n br i1 %48, label LBL_14, label LBL_13\n LBL_13:\n %49 = and i64 %8, 4294967295\n %50 = call i64 @FUNC(i64 %49, i64 512, i64 0)\n br label LBL_14\n LBL_14:\n ret i64 0\n\n uselistorder i64 %16, { 1, 0, 2 }\n uselistorder i64 %6, { 3, 2, 1, 4, 0, 5, 6, 7 }\n uselistorder i64 %0, { 7, 0, 1, 2, 3, 4, 6, 5, 8 }\n uselistorder i64 (i64, i64, i64)* @task_numa_fault, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @spin_unlock, { 3, 0, 2, 1 }\n uselistorder i64 (i64)* @put_page, { 1, 0 }\n uselistorder i64 (i64)* @count_vm_numa_event, { 1, 0 }\n uselistorder i64 1, { 1, 4, 2, 5, 3, 0 }\n uselistorder i64 ()* @pmd_same, { 2, 1, 0 }\n uselistorder i64 (i64)* @spin_lock, { 2, 1, 0 }\n uselistorder label LBL_14, { 2, 1, 0, 3 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ChangeAKA_8321", "fun_name": "ChangeAKA", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.05.reg2mem = alloca i8*\n %sv_2.06.reg2mem = alloca i64\n %sv_0.17.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 256\n %2 = icmp eq i64 %arg3, 0\n %3 = icmp eq i1 %2, false\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = add i64 %0, 255\n %5 = add i64 %0, 520\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %sv_0.17.reg2mem\n store i64 %arg3, i64* %sv_2.06.reg2mem\n store i8* %arg2, i8** %sv_1.05.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %7 = sext i32 %sv_0.17.reload to i64\n %8 = add i64 %1, %7\n %9 = icmp eq i64 %8, %4\n store i32 %sv_0.17.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %9, label LBL_9, label LBL_3\n LBL_3:\n %sv_1.05.reload = load i8*, i8** %sv_1.05.reg2mem\n %10 = load i8, i8* %sv_1.05.reload, align 1\n %11 = icmp eq i8 %10, 0\n store i32 %sv_0.17.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %11, label LBL_9, label LBL_4\n LBL_4:\n %sv_2.06.reload = load i64, i64* %sv_2.06.reg2mem\n %12 = icmp ult i8 %10, 32\n %13 = icmp eq i8 %10, 127\n %or.cond = or i1 %12, %13\n store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_5\n LBL_5:\n %14 = icmp sgt i8 %10, -1\n %15 = icmp ugt i8 %10, -97\n %or.cond4 = or i1 %14, %15\n br i1 %or.cond4, label LBL_7, label LBL_6\n LBL_6:\n %16 = load i32, i32* %6, align 4\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n %19 = add i32 %sv_0.17.reload, 1\n %20 = inttoptr i64 %8 to i8*\n store i8 %10, i8* %20, align 1\n store i32 %19, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %21 = ptrtoint i8* %sv_1.05.reload to i64\n %22 = add i64 %21, 1\n %23 = inttoptr i64 %22 to i8*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %24 = add i64 %sv_2.06.reload, -1\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem\n store i64 %24, i64* %sv_2.06.reg2mem\n store i8* %23, i8** %sv_1.05.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %26, label LBL_2, label LBL_9\n LBL_9:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %27 = sext i32 %sv_0.1.lcssa.reload to i64\n %28 = add i64 %1, %27\n %29 = inttoptr i64 %28 to i8*\n store i8 0, i8* %29, align 1\n %30 = add i64 %0, 512\n %31 = inttoptr i64 %30 to i64*\n store i64 %1, i64* %31, align 8\n %32 = inttoptr i64 %1 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, 0\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n %35 = add i64 %0, 255\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 58\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_12, label LBL_11\n LBL_11:\n %40 = bitcast i64* %arg1 to i8*\n %41 = call i32 @strlen(i8* %40)\n %42 = sext i32 %41 to i64\n %43 = add i64 %0, 1\n %44 = add i64 %43, %42\n store i64 %44, i64* %31, align 8\n br label LBL_12\n LBL_12:\n %45 = call i64 @FUNC(i64 %0, i64 116)\n %46 = call i64 @FUNC(i64 0, i64 119)\n %47 = call i64 @FUNC(i64 0, i64 87)\n ret i64 %47\n\n uselistorder i32 %sv_0.17.reload, { 5, 2, 3, 0, 1, 4 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64 %0, { 2, 0, 3, 4, 1, 6, 5 }\n uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.06.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64 (i64, i64)* @WindowChanged, { 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i1 false, { 1, 3, 2, 0 }\n uselistorder label LBL_9, { 0, 2, 1, 3 }\n uselistorder label LBL_8, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usbnet_update_max_qlen_8218", "fun_name": "usbnet_update_max_qlen", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n switch i32 %3, label LBL_3 [\n i32 2, label LBL_1\n i32 3, label LBL_2\n ]\n LBL_1:\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = udiv i32 1024, %6\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %2, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = udiv i32 1024, %12\n %14 = add i64 %2, 20\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n br label LBL_4\n LBL_2:\n %16 = add i64 %2, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = udiv i32 5120, %18\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %22 = add i64 %2, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = udiv i32 5120, %24\n %26 = add i64 %2, 20\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n br label LBL_4\n LBL_3:\n %28 = add i64 %2, 20\n %29 = inttoptr i64 %28 to i32*\n store i32 4, i32* %29, align 4\n %30 = add i64 %2, 16\n %31 = inttoptr i64 %30 to i32*\n store i32 4, i32* %31, align 4\n br label LBL_4\n LBL_4:\n ret i64 %2\n\n uselistorder i64 %2, { 0, 1, 6, 3, 2, 5, 4, 8, 7, 10, 9 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_llcp_mac_is_down_6159", "fun_name": "nfc_llcp_mac_is_down", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %1 to i32*\n store i32 128, i32* %3, align 4\n %4 = add i64 %1, 4\n %5 = inttoptr i64 %4 to i32*\n store i32 10, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %1, i64 1, i64 0)\n %7 = call i64 @FUNC(i64 %1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_user_page_hwpoison_114", "fun_name": "check_user_page_hwpoison", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = call i64 @FUNC(i64 %0, i64 %2, i64 %arg1, i64 1, i64 7, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 1\n %6 = zext i1 %5 to i64\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "matroska_probe_2076", "fun_name": "matroska_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.07.reg2mem = alloca i64\n %storemerge18.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge2.lcssa.reg2mem = alloca i64\n %storemerge211.reg2mem = alloca i64\n %indvars.iv17.reg2mem = alloca i64\n %sv_0.012.reg2mem = alloca i32\n %sv_1.013.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 440786851\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_13\n LBL_1:\n %4 = add i64 %0, 4\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = zext i8 %6 to i64\n store i32 1, i32* %sv_1.013.reg2mem\n store i32 128, i32* %sv_0.012.reg2mem\n br label LBL_3\n LBL_2:\n %8 = add nuw nsw i32 %sv_1.013.reload, 1\n %9 = ashr i32 %sv_0.012.reload, 1\n %10 = icmp ugt i32 %sv_1.013.reload, 7\n store i32 %8, i32* %sv_1.013.reg2mem\n store i32 %9, i32* %sv_0.012.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_13, label LBL_3\n LBL_3:\n %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem\n %sv_1.013.reload = load i32, i32* %sv_1.013.reg2mem\n %11 = zext i32 %sv_0.012.reload to i64\n %12 = and i64 %11, %7\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_2, label LBL_4\n LBL_4:\n %14 = add nsw i32 %sv_0.012.reload, 255\n %15 = zext i32 %14 to i64\n %16 = and i64 %15, %7\n %17 = icmp ugt i32 %sv_1.013.reload, 1\n store i64 %16, i64* %storemerge2.lcssa.reg2mem\n br i1 %17, label LBL_5, label LBL_7\n LBL_5:\n %wide.trip.count = zext i32 %sv_1.013.reload to i64\n store i64 1, i64* %indvars.iv17.reg2mem\n store i64 %16, i64* %storemerge211.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge211.reload = load i64, i64* %storemerge211.reg2mem\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %18 = mul i64 %storemerge211.reload, 256\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1\n %19 = add i64 %4, %indvars.iv17.reload\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = zext i8 %21 to i64\n %23 = or i64 %18, %22\n %exitcond = icmp eq i64 %indvars.iv.next18, %wide.trip.count\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n store i64 %23, i64* %storemerge211.reg2mem\n store i64 %23, i64* %storemerge2.lcssa.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %storemerge2.lcssa.reload = load i64, i64* %storemerge2.lcssa.reg2mem\n %24 = add i64 %0, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = sext i32 %26 to i64\n %28 = add nuw i32 %sv_1.013.reload, 4\n %29 = sext i32 %28 to i64\n %30 = add i64 %storemerge2.lcssa.reload, %29\n %31 = icmp ugt i64 %30, %27\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_8, label LBL_13\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %33 = mul i64 %indvars.iv.reload, 8\n %34 = add i64 %33, ptrtoint ([3 x i8*]* @gv_0 to i64)\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i8*\n %38 = call i32 @strlen(i8* %37)\n %39 = sext i32 %38 to i64\n %40 = icmp ult i64 %storemerge2.lcssa.reload, %39\n br i1 %40, label LBL_12, label LBL_9\n LBL_9:\n %41 = sub i64 %30, %39\n %42 = icmp ult i64 %41, %29\n store i64 %29, i64* %.reg2mem\n store i32 %28, i32* %storemerge18.reg2mem\n store i64 %36, i64* %rdi.07.reg2mem\n br i1 %42, label LBL_12, label LBL_10\n LBL_10:\n %rdi.07.reload = load i64, i64* %rdi.07.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %43 = load i64, i64* %35, align 8\n %44 = add i64 %rdi.07.reload, %.reload\n %45 = inttoptr i64 %44 to i64*\n %46 = inttoptr i64 %43 to i64*\n %47 = call i32 @memcmp(i64* %45, i64* %46, i32 %38)\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 100, i64* %rax.0.reg2mem\n br i1 %49, label LBL_11, label LBL_13\n LBL_11:\n %storemerge18.reload = load i32, i32* %storemerge18.reg2mem\n %50 = add i32 %storemerge18.reload, 1\n %51 = sext i32 %50 to i64\n %52 = icmp ult i64 %41, %51\n store i64 %51, i64* %.reg2mem\n store i32 %50, i32* %storemerge18.reg2mem\n store i64 %44, i64* %rdi.07.reg2mem\n br i1 %52, label LBL_12, label LBL_10\n LBL_12:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %53 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 50, i64* %rax.0.reg2mem\n br i1 %53, label LBL_8, label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %41, { 1, 0 }\n uselistorder i64 %29, { 0, 2, 1 }\n uselistorder i64 %indvars.iv17.reload, { 1, 0 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i32 %sv_1.013.reload, { 3, 2, 4, 0, 1 }\n uselistorder i32 %sv_0.012.reload, { 2, 1, 0 }\n uselistorder i64* %indvars.iv17.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge211.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge18.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.07.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5 }\n uselistorder i32 0, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder i64 1, { 2, 1, 0, 3 }\n uselistorder label LBL_13, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_commit_1932", "fun_name": "do_commit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %2 = inttoptr i64 %1 to i8*\n %3 = call i32 @strcmp(i8* %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, -16\n %9 = icmp eq i1 %8, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %9, label LBL_7, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 1, i64 %1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %11 = call i64 @FUNC(i64 %1)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 2, i64 %1)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %15 = call i64 @FUNC(i64 %11)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, -16\n %18 = icmp eq i1 %17, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 1, i64 %1)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 2, 1, 3, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @qerror_report, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_accept_new_conns_8818", "fun_name": "do_accept_new_conns", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.in.reg2mem = alloca i64\n %0 = load i32*, i32** @gv_0, align 8\n %1 = ptrtoint i32* %0 to i64\n %2 = icmp eq i32* %0, null\n %3 = icmp eq i1 %2, false\n %4 = trunc i64 %arg1 to i8\n %5 = icmp eq i8 %4, 0\n store i64 %1, i64* %.in.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %.in.reload = load i64, i64* %.in.reg2mem\n %6 = inttoptr i64 %.in.reload to i32*\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %.in.reload, i64 3)\n %8 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %9 = load i32, i32* %6, align 4\n %10 = call i32 @listen(i32 %9, i32 %8)\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_6\n LBL_4:\n %12 = call i64 @FUNC(i64 %.in.reload, i64 0)\n %13 = load i32, i32* %6, align 4\n %14 = call i32 @listen(i32 %13, i32 0)\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %16 = add i64 %.in.reload, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %.in.reg2mem\n br i1 %20, label LBL_1, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC()\n br i1 %5, label LBL_9, label LBL_8\n LBL_8:\n store i8 1, i8* bitcast (i64* @gv_2 to i8*), align 8\n %22 = call i64 @FUNC()\n store i64 %22, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_9:\n store i8 0, i8* bitcast (i64* @gv_2 to i8*), align 8\n %23 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4\n %24 = add i32 %23, 1\n store i32 %24, i32* bitcast (i64* @gv_3 to i32*), align 8\n %25 = call i64 @FUNC()\n store i64 %25, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %6, { 1, 0 }\n uselistorder i64 %.in.reload, { 3, 1, 2, 0 }\n uselistorder i64* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 ()* @STATS_UNLOCK, { 1, 0 }\n uselistorder void (i8*)* @perror, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i32 (i32, i32)* @listen, { 1, 0 }\n uselistorder i64 (i64, i64)* @update_event, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_isom_get_user_data_count_19232", "fun_name": "gf_isom_get_user_data_count", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %0, label LBL_11, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64* @memset(i64* nonnull %sv_1, i32 1, i32 16)\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %5, i64 %6)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %9, label LBL_4, label LBL_11\n LBL_3:\n %10 = ptrtoint i64* %sv_1 to i64\n store i64 %10, i64* %storemerge5.reg2mem\n br label LBL_5\n LBL_4:\n %11 = inttoptr i64 %7 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %storemerge5.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_5, label LBL_11\n LBL_5:\n %15 = trunc i64 %arg3 to i32\n %16 = icmp eq i32 %15, 1970628964\n %17 = icmp eq i1 %16, false\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n store i32 0, i32* %sv_0, align 4\n %18 = inttoptr i64 %storemerge5.reload to i64*\n %19 = select i1 %17, i32 %15, i32 0\n br label LBL_10\n LBL_6:\n %20 = inttoptr i64 %36 to i32*\n %21 = add i64 %36, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = load i32, i32* %20, align 4\n %26 = icmp eq i32 %25, 1970628964\n %27 = icmp eq i1 %26, false\n store i32 %25, i32* %.reg2mem\n br i1 %27, label LBL_9, label LBL_7\n LBL_7:\n %28 = add i64 %36, 4\n %29 = inttoptr i64 %28 to i64*\n %30 = call i32 @memcmp(i64* %29, i64* %arg4, i32 16)\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %24, i64* %rax.0.shrunk.reg2mem\n br i1 %32, label LBL_7.LBL_9_crit_edge, label LBL_11\n LBL_8:\n %.pre = load i32, i32* %20, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i32, i32* %.reg2mem\n %33 = icmp eq i32 %.reload, %19\n %34 = icmp eq i1 %33, false\n store i64 %24, i64* %rax.0.shrunk.reg2mem\n br i1 %34, label LBL_10, label LBL_11\n LBL_10:\n %35 = load i64, i64* %18, align 8\n %36 = call i64 @FUNC(i64 %35, i32* nonnull %sv_0)\n %37 = icmp eq i64 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %38, label LBL_6, label LBL_11\n LBL_11:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %36, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 3, 0, 1, 2, 6, 4, 5 }\n uselistorder i32 0, { 2, 0, 1, 3 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ReadBlobMSBLong_10701", "fun_name": "ReadBlobMSBLong", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i8, align 1\n %2 = icmp eq i32* %arg1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 11259375\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n store i8 0, i8* %sv_1, align 1\n %6 = ptrtoint i32* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 4, i8* nonnull %sv_1, i64* nonnull %sv_0)\n %8 = load i64, i64* %sv_0, align 8\n %9 = icmp eq i64 %8, 4\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_5, label LBL_6\n LBL_5:\n %10 = add i64 %7, 1\n %11 = inttoptr i64 %7 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %12 to i64\n %14 = mul i64 %13, 16777216\n %15 = add i64 %7, 2\n %16 = inttoptr i64 %10 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = zext i8 %17 to i64\n %19 = mul i64 %18, 65536\n %20 = or i64 %19, %14\n %21 = add i64 %7, 3\n %22 = inttoptr i64 %15 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = zext i8 %23 to i64\n %25 = mul i64 %24, 256\n %26 = or i64 %20, %25\n %27 = inttoptr i64 %21 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i64\n %30 = or i64 %26, %29\n store i64 %30, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %7, { 3, 2, 0, 1 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 2, 3, 0, 1 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cg3_reg_read_1053", "fun_name": "cg3_reg_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp ult i64 %arg2, 32\n br i1 %2, label LBL_1, label LBL_8\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = icmp ult i64 %arg2, 16\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_7, label LBL_2\n LBL_2:\n %6 = icmp eq i64 %arg2, 3\n br i1 %6, label LBL_6, label LBL_3\n LBL_3:\n %7 = icmp ult i64 %arg2, 4\n br i1 %7, label LBL_4, label LBL_8\n LBL_4:\n %8 = icmp ult i64 %arg2, 2\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_9, label LBL_5\n LBL_5:\n %9 = trunc i64 %1 to i32\n %10 = icmp eq i64 %arg2, 2\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %10, label LBL_9, label LBL_8\n LBL_6:\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = or i32 %13, 12\n store i32 %14, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %15 = mul i64 %arg2, 4\n %16 = add i64 %3, -64\n %17 = add i64 %16, %15\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n store i32 %19, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %20 = zext i32 %arg3 to i64\n %21 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %20)\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %22 = zext i32 %sv_0.0.reload to i64\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %22, i64 %arg2)\n %24 = sext i32 %sv_0.0.reload to i64\n ret i64 %24\n\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 5, 4, 1, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 %arg2, { 2, 1, 0, 7, 6, 5, 4, 3, 8 }\n uselistorder label LBL_9, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_client_co_pdiscard_3388", "fun_name": "nbd_client_co_pdiscard", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n store i32 3, i32* %sv_0, align 4\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i32 %3, i32* %.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %6 = and i32 %.reload, 2\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n %9 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0, i64 0)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ksmbd_conn_handler_loop_7844", "fun_name": "ksmbd_conn_handler_loop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %3 = add i64 %2, 24\n %4 = call i64 @FUNC(i64 %3)\n %5 = load i64, i64* @gv_0, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = icmp eq i64 %5, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = trunc i64 %2 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_22, label LBL_2\n LBL_2:\n %11 = add i64 %2, 20\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %2)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_22\n LBL_3:\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = trunc i64 %2 to i32\n %20 = icmp eq i32 %19, 4\n %21 = icmp eq i1 %20, false\n %22 = add i64 %2, 48\n %23 = inttoptr i64 %22 to i64*\n %24 = and i64 %2, 4294967295\n %25 = icmp slt i32 %19, 0\n %26 = icmp eq i1 %25, false\n %27 = icmp eq i32 %19, 0\n br label LBL_4\n LBL_4:\n %28 = call i64 @FUNC()\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_5, label LBL_17\n LBL_5:\n %31 = load i64, i64* %18, align 8\n %32 = call i64 @FUNC(i64 %31)\n store i64 0, i64* %18, align 8\n br i1 %21, label LBL_22, label LBL_6\n LBL_6:\n %33 = add i64 %31, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i32* nonnull %sv_0)\n %37 = and i64 %36, 4294967295\n %38 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %37, i64 4294967295, i64 %35, i64 %1)\n %39 = call i64 @FUNC(i64 %2)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n store i32 1048576, i32* %storemerge.reg2mem\n br i1 %41, label LBL_8, label LBL_7\n LBL_7:\n %42 = load i64, i64* %23, align 8\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = add i32 %44, 1048576\n store i32 %45, i32* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %46 = trunc i64 %36 to i32\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %47 = icmp ult i32 %storemerge.reload, %46\n br i1 %47, label LBL_9, label LBL_10\n LBL_9:\n %48 = add i64 %2, 16\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @gv_2, i64 0, i64 0), i64 %37, i32 %storemerge.reload, i32 %50, i64 %35, i64 %1)\n br label LBL_22\n LBL_10:\n %52 = icmp ult i32 %46, 65537\n br i1 %52, label LBL_11, label LBL_22\n LBL_11:\n %53 = mul i64 %36, 4294967296\n %sext = add i64 %53, 21474836480\n %54 = ashr exact i64 %sext, 32\n %55 = call i64 @FUNC(i64 %54, i64 0)\n store i64 %55, i64* %18, align 8\n %56 = icmp eq i64 %55, 0\n br i1 %56, label LBL_22, label LBL_12\n LBL_12:\n %57 = load i32, i32* %sv_0, align 4\n %58 = inttoptr i64 %55 to i32*\n store i32 %57, i32* %58, align 4\n %59 = call i64 @FUNC(i64 %2)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n br i1 %61, label LBL_22, label LBL_13\n LBL_13:\n %62 = load i64, i64* %18, align 8\n br i1 %26, label LBL_15, label LBL_14\n LBL_14:\n %63 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i64 %24, i32 %46, i64 2, i64 %62, i64 %1)\n br label LBL_22\n LBL_15:\n %64 = icmp eq i32 %46, %19\n br i1 %64, label LBL_18, label LBL_16\n LBL_16:\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i64 %24, i32 %46, i64 2, i64 %62, i64 %1)\n br label LBL_17\n LBL_17:\n %66 = call i64 @FUNC(i64 %2)\n %67 = trunc i64 %66 to i32\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_4, label LBL_22\n LBL_18:\n %70 = load i32, i32* @gv_5, align 4\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_20, label LBL_19\n LBL_19:\n %73 = add i64 %62, 4\n %74 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i64 %73, i32 %19, i64 2, i64 %62, i64 %1)\n br label LBL_22\n LBL_20:\n br i1 %27, label LBL_17, label LBL_21\n LBL_21:\n %75 = add i64 %62, 4\n %76 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0), i64 %75, i32 %70, i64 2, i64 %62, i64 %1)\n br label LBL_22\n LBL_22:\n %77 = call i64 @FUNC(i64 %2)\n %78 = add i64 %2, 56\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = zext i32 %80 to i64\n %82 = call i64 @FUNC(i64 %81, i64 1)\n %83 = add i64 %2, 40\n %84 = inttoptr i64 %83 to i64*\n %85 = load i64, i64* %84, align 8\n %86 = call i64 @FUNC(i64 %85)\n %87 = add i64 %2, 32\n %88 = inttoptr i64 %87 to i64*\n %89 = load i64, i64* %88, align 8\n %90 = call i64 @FUNC(i64 %89)\n %91 = load i64, i64* @gv_0, align 8\n %92 = call i64 @FUNC(i64 %91)\n ret i64 0\n\n uselistorder i64 %62, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %55, { 1, 0, 2 }\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i32 %46, { 3, 2, 0, 4, 1 }\n uselistorder i64 %36, { 0, 2, 1 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i32 %19, { 0, 2, 1, 3, 4 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %2, { 8, 7, 10, 9, 13, 4, 5, 6, 3, 2, 11, 12, 0, 14, 1, 15 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0, 5 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @pr_err, { 3, 2, 1, 0 }\n uselistorder i64 2, { 3, 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 1048576, { 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder i64 (i64)* @ksmbd_conn_alive, { 1, 0 }\n uselistorder i1 false, { 1, 4, 2, 3, 0, 5 }\n uselistorder i32 0, { 1, 9, 6, 7, 8, 4, 5, 0, 10, 11, 3, 2 }\n uselistorder label LBL_22, { 7, 8, 0, 9, 4, 3, 2, 10, 1, 5, 6 }\n uselistorder label LBL_17, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "errno_to_portable_9912", "fun_name": "errno_to_portable", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n store i64 %1, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n store i64 0, i64* %sv_0.0.reg2mem\n switch i32 %trunc, label LBL_5 [\n i32 0, label LBL_6\n i32 1, label LBL_2\n i32 2, label LBL_1\n i32 9, label LBL_1\n i32 13, label LBL_2\n i32 14, label LBL_2\n i32 20, label LBL_1\n i32 22, label LBL_3\n i32 36, label LBL_3\n i32 38, label LBL_4\n i32 40, label LBL_1\n ]\n LBL_1:\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_2:\n store i64 2, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_3:\n store i64 3, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_4:\n store i64 4, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n store i64 5, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 6, 5, 4, 2, 3, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_6, { 5, 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sas_init_port_5276", "fun_name": "sas_init_port", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64* @memset(i64* %arg1, i32 0, i32 96)\n %3 = bitcast i64* %arg1 to i32*\n store i32 %arg3, i32* %3, align 4\n %4 = add i64 %1, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %1, 32\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %1, 48\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %1, 64\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %1, 80\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %12)\n %15 = add i64 %1, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %0, i64* %16, align 8\n %17 = add i64 %1, 96\n %18 = call i64 @FUNC(i64 %17)\n ret i64 %18\n\n uselistorder i64 (i64)* @spin_lock_init, { 1, 0 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "concat_opt_exact_str_19059", "fun_name": "concat_opt_exact_str", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i1\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.04.reg2mem = alloca i32\n %sv_0.05.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %sv_1.19.reg2mem = alloca i32\n %sv_0.110.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 100\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %arg4 to i64\n %6 = icmp ult i64 %0, %arg3\n %7 = icmp slt i32 %4, 100\n %or.cond8 = icmp eq i1 %6, %7\n store i64 %0, i64* %sv_0.110.reg2mem\n store i32 %4, i32* %sv_1.19.reg2mem\n store i32 %4, i32* %sv_1.1.lcssa.reg2mem\n store i64 %0, i64* %sv_0.1.lcssa.reg2mem\n store i1 %6, i1* %.lcssa.reg2mem\n br i1 %or.cond8, label LBL_1, label LBL_6\n LBL_1:\n %sv_1.19.reload = load i32, i32* %sv_1.19.reg2mem\n %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem\n %8 = call i64 @FUNC(i64 %5, i64 %sv_0.110.reload)\n %9 = trunc i64 %8 to i32\n %10 = add i32 %sv_1.19.reload, %9\n %11 = icmp sgt i32 %10, 100\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n store i32 %sv_1.19.reload, i32* %3, align 4\n store i64 %sv_0.110.reload, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %12 = icmp sgt i32 %9, 0\n %13 = icmp ult i64 %sv_0.110.reload, %arg3\n %or.cond23 = icmp eq i1 %13, %12\n store i32 0, i32* %storemerge6.reg2mem\n store i64 %sv_0.110.reload, i64* %sv_0.05.reg2mem\n store i32 %sv_1.19.reload, i32* %sv_1.04.reg2mem\n store i32 %sv_1.19.reload, i32* %sv_1.0.lcssa.reg2mem\n store i64 %sv_0.110.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %or.cond23, label LBL_4, label LBL_5\n LBL_4:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %14 = add nuw i64 %sv_0.05.reload, 1\n %15 = add i32 %sv_1.04.reload, 1\n %16 = inttoptr i64 %sv_0.05.reload to i8*\n %17 = load i8, i8* %16, align 1\n %18 = sext i32 %sv_1.04.reload to i64\n %19 = add i64 %18, %1\n %20 = inttoptr i64 %19 to i8*\n store i8 %17, i8* %20, align 1\n %21 = add nuw nsw i32 %storemerge6.reload, 1\n %22 = icmp slt i32 %21, %9\n %23 = icmp ult i64 %14, %arg3\n %or.cond2 = icmp eq i1 %22, %23\n store i32 %21, i32* %storemerge6.reg2mem\n store i64 %14, i64* %sv_0.05.reg2mem\n store i32 %15, i32* %sv_1.04.reg2mem\n store i32 %15, i32* %sv_1.0.lcssa.reg2mem\n store i64 %14, i64* %sv_0.0.lcssa.reg2mem\n br i1 %or.cond2, label LBL_4, label LBL_5\n LBL_5:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %24 = icmp ult i64 %sv_0.0.lcssa.reload, %arg3\n %25 = icmp slt i32 %sv_1.0.lcssa.reload, 100\n %or.cond = icmp eq i1 %25, %24\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.110.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.19.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.lcssa.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n store i1 %24, i1* %.lcssa.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_6\n LBL_6:\n %.lcssa.reload = load i1, i1* %.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %3, align 4\n store i64 %sv_0.1.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %.lcssa.reload, label LBL_8, label LBL_7\n LBL_7:\n %26 = add i64 %1, 104\n %27 = inttoptr i64 %26 to i32*\n store i32 1, i32* %27, align 4\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_1.0.lcssa.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.05.reload, { 1, 0 }\n uselistorder i32 %sv_1.04.reload, { 1, 0 }\n uselistorder i32 %9, { 2, 1, 0 }\n uselistorder i64 %sv_0.110.reload, { 1, 2, 3, 0, 4 }\n uselistorder i32 %sv_1.19.reload, { 0, 1, 3, 2 }\n uselistorder i32* %3, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.110.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.19.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 100, { 1, 2, 0 }\n uselistorder i64 %arg3, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ath10k_wmi_event_mgmt_rx_7519", "fun_name": "ath10k_wmi_event_mgmt_rx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %.pre15.pre-phi.reg2mem = alloca i32*\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = load i32, i32* %1\n %7 = load i32, i32* %1\n %8 = load i32, i32* %1\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %9 = call i64 @FUNC(i64 %4)\n %10 = bitcast i32* %sv_0 to i64*\n %11 = call i64 @FUNC(i64 %5, i64 %4, i64* nonnull %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i32 %12)\n %15 = and i64 %11, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_2:\n %16 = load i32, i32* %sv_0, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = zext i32 %8 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 0)\n %22 = zext i32 %7 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = call i64 @FUNC(i64 0)\n %25 = zext i32 %6 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = inttoptr i64 %9 to i64*\n %28 = call i64* @memset(i64* %27, i32 0, i32 20)\n %29 = and i64 %21, 4294967295\n %30 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %3, i64 %2)\n %31 = add i64 %5, 8\n %32 = call i64 @FUNC(i64 0, i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_4, label LBL_3\n LBL_3:\n %35 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_4:\n %36 = trunc i64 %21 to i32\n %37 = urem i32 %36, 2\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_6, label LBL_5\n LBL_5:\n %39 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_6:\n %40 = and i32 %36, 2\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_8, label LBL_7\n LBL_7:\n %42 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_8:\n %43 = and i32 %36, 4\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_10, label LBL_9\n LBL_9:\n %45 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_10:\n %46 = and i32 %36, 8\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_12, label LBL_11\n LBL_11:\n %48 = inttoptr i64 %9 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = or i32 %49, 1\n store i32 %50, i32* %48, align 4\n br label LBL_12\n LBL_12:\n %51 = trunc i64 %18 to i32\n %.off = add i32 %51, -1\n %52 = icmp ult i32 %.off, 14\n br i1 %52, label LBL_13, label LBL_14\n LBL_13:\n %53 = add i64 %9, 4\n %54 = inttoptr i64 %53 to i32*\n store i32 0, i32* %54, align 4\n store i32* %54, i32** %.pre15.pre-phi.reg2mem\n br label LBL_17\n LBL_14:\n %.off10 = add i32 %51, -36\n %55 = icmp ult i32 %.off10, 130\n br i1 %55, label LBL_15, label LBL_16\n LBL_15:\n %56 = add i64 %9, 4\n %57 = inttoptr i64 %56 to i32*\n store i32 1, i32* %57, align 4\n store i32* %57, i32** %.pre15.pre-phi.reg2mem\n br label LBL_17\n LBL_16:\n %58 = call i64 @FUNC(i64 1)\n %59 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_17:\n %60 = trunc i64 %24 to i32\n %.pre15.pre-phi.reload = load i32*, i32** %.pre15.pre-phi.reg2mem\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n store i64 0, i64* %rdi.0.reg2mem\n br i1 %62, label LBL_20, label LBL_18\n LBL_18:\n %63 = load i32, i32* %.pre15.pre-phi.reload, align 4\n %64 = icmp eq i32 %63, 1\n %65 = icmp eq i1 %64, false\n store i64 0, i64* %rdi.0.reg2mem\n br i1 %65, label LBL_20, label LBL_19\n LBL_19:\n %66 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 %29, i64 %3, i64 %2)\n store i64 %5, i64* %rdi.0.reg2mem\n br label LBL_20\n LBL_20:\n %67 = trunc i64 %23 to i32\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %68 = load i32, i32* %.pre15.pre-phi.reload, align 4\n %69 = zext i32 %68 to i64\n %70 = and i64 %18, 4294967295\n %71 = call i64 @FUNC(i64 %70, i64 %69)\n %72 = trunc i64 %71 to i32\n %73 = add i64 %9, 8\n %74 = inttoptr i64 %73 to i32*\n store i32 %72, i32* %74, align 4\n %75 = add i32 %67, -95\n %76 = add i64 %9, 12\n %77 = inttoptr i64 %76 to i32*\n store i32 %75, i32* %77, align 4\n %78 = and i64 %26, 4294967295\n %79 = mul nuw nsw i64 %78, 1374389535\n %80 = udiv i64 %79, 137438953472\n %81 = call i64 @FUNC(i64 %rdi.0.reload, i64 %80)\n %82 = trunc i64 %81 to i32\n %83 = add i64 %9, 16\n %84 = inttoptr i64 %83 to i32*\n store i32 %82, i32* %84, align 4\n %85 = bitcast i64* %rsi to i16*\n %86 = load i16, i16* %85, align 8\n %87 = zext i16 %86 to i64\n %88 = call i64 @FUNC(i64 %87)\n %89 = trunc i64 %88 to i32\n %sext = mul i32 %89, 65536\n %90 = ashr exact i32 %sext, 16\n %91 = call i64 @FUNC(i64 %5, i64 %4, i64 %9)\n %92 = call i64 @FUNC(i64 %87)\n %93 = trunc i64 %92 to i32\n %94 = icmp eq i32 %93, 0\n store i64 %87, i64* %.pre-phi.reg2mem\n br i1 %94, label LBL_26, label LBL_21\n LBL_21:\n %95 = call i64 @FUNC(i64 %87)\n %96 = trunc i64 %95 to i32\n %97 = icmp eq i32 %96, 0\n %98 = icmp eq i1 %97, false\n store i64 %87, i64* %.pre-phi.reg2mem\n br i1 %98, label LBL_26, label LBL_22\n LBL_22:\n %99 = inttoptr i64 %9 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = or i32 %100, 2\n store i32 %101, i32* %99, align 4\n %102 = load i16, i16* %85, align 8\n %103 = zext i16 %102 to i64\n %104 = call i64 @FUNC(i64 %103)\n %105 = trunc i64 %104 to i32\n %106 = icmp eq i32 %105, 0\n %107 = icmp eq i1 %106, false\n store i64 %103, i64* %.pre-phi.reg2mem\n br i1 %107, label LBL_26, label LBL_23\n LBL_23:\n %108 = call i64 @FUNC(i64 %103)\n %109 = trunc i64 %108 to i32\n %110 = icmp eq i32 %109, 0\n %111 = icmp eq i1 %110, false\n store i64 %103, i64* %.pre-phi.reg2mem\n br i1 %111, label LBL_26, label LBL_24\n LBL_24:\n %112 = call i64 @FUNC(i64 %103)\n %113 = trunc i64 %112 to i32\n %114 = icmp eq i32 %113, 0\n %115 = icmp eq i1 %114, false\n store i64 %103, i64* %.pre-phi.reg2mem\n br i1 %115, label LBL_26, label LBL_25\n LBL_25:\n %116 = inttoptr i64 %80 to i16*\n %117 = load i32, i32* %99, align 4\n %118 = or i32 %117, 12\n store i32 %118, i32* %99, align 4\n %119 = and i32 %90, 65534\n %120 = zext i32 %119 to i64\n %121 = call i64 @FUNC(i64 %120)\n %122 = trunc i64 %121 to i16\n store i16 %122, i16* %116, align 2\n %.pre = load i16, i16* %85, align 8\n %.pre12 = zext i16 %.pre to i64\n store i64 %.pre12, i64* %.pre-phi.reg2mem\n br label LBL_26\n LBL_26:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %123 = call i64 @FUNC(i64 %.pre-phi.reload)\n %124 = trunc i64 %123 to i32\n %125 = icmp eq i32 %124, 0\n br i1 %125, label LBL_28, label LBL_27\n LBL_27:\n %126 = call i64 @FUNC(i64 %5, i64 %4)\n br label LBL_28\n LBL_28:\n %127 = and i32 %90, 2\n %128 = add i64 %4, 8\n %129 = inttoptr i64 %128 to i32*\n %130 = load i32, i32* %129, align 4\n %131 = zext i32 %127 to i64\n %132 = zext i32 %130 to i64\n %133 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i64 %4, i64 %132, i64 %131)\n %134 = load i32, i32* %77, align 4\n %135 = load i32, i32* %.pre15.pre-phi.reload, align 4\n %136 = load i32, i32* %74, align 4\n %137 = zext i32 %134 to i64\n %138 = zext i32 %135 to i64\n %139 = zext i32 %136 to i64\n %140 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_4, i64 0, i64 0), i64 %139, i64 %138, i64 %137)\n %141 = add i64 %5, 16\n %142 = inttoptr i64 %141 to i64*\n %143 = load i64, i64* %142, align 8\n %144 = call i64 @FUNC(i64 %143, i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_29:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %103, { 2, 3, 1, 4, 0, 5 }\n uselistorder i32* %99, { 1, 0, 2, 3 }\n uselistorder i32 %90, { 1, 0 }\n uselistorder i64 %87, { 1, 2, 0, 3, 4 }\n uselistorder i32 %36, { 3, 2, 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %9, { 2, 3, 4, 5, 6, 1, 7, 0, 8 }\n uselistorder i32* %sv_0, { 1, 2, 0 }\n uselistorder i64 %5, { 5, 4, 6, 3, 7, 0, 2, 9, 8, 1, 10 }\n uselistorder i64 %4, { 6, 8, 7, 5, 9, 4, 3, 2, 1, 0, 10, 11 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32** %.pre15.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i32* %1, { 2, 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @dev_kfree_skb, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @ath10k_dbg, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @__le32_to_cpu, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 0, 1, 3, 2, 4, 5 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 15, 1, 16 }\n uselistorder label LBL_20, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jbd2_journal_init_dev_4150", "fun_name": "jbd2_journal_init_dev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC()\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %5 = inttoptr i64 %2 to i32*\n %6 = trunc i64 %arg5 to i32\n store i32 %6, i32* %5, align 4\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = call i64 @FUNC(i64 0, i64 0)\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = icmp eq i64 %9, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 0, i64 %arg5, i64 %1)\n %15 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_3:\n %16 = ptrtoint i64* %arg2 to i64\n %17 = ptrtoint i64* %arg1 to i64\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = add i64 %2, 24\n %21 = inttoptr i64 %20 to i64*\n store i64 %16, i64* %21, align 8\n %22 = add i64 %2, 32\n %23 = inttoptr i64 %22 to i64*\n store i64 %arg3, i64* %23, align 8\n %24 = add i64 %2, 40\n %25 = inttoptr i64 %24 to i32*\n store i32 %arg4, i32* %25, align 4\n %26 = load i32, i32* %5, align 4\n %27 = load i64, i64* %19, align 8\n %28 = call i64 @FUNC(i64 %27, i64 %arg3, i32 %26)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %32 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %33 = add i64 %2, 48\n %34 = inttoptr i64 %33 to i64*\n store i64 %28, i64* %34, align 8\n %35 = inttoptr i64 %28 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = add i64 %2, 56\n %38 = inttoptr i64 %37 to i64*\n store i64 %36, i64* %38, align 8\n store i64 %2, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 0, 1, 2, 3, 4, 5, 7, 6, 8, 9, 10, 11, 12 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder %_IO_FILE** @gv_2, { 1, 0 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "x25_recvmsg_7727", "fun_name": "x25_recvmsg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, 1\n %9 = icmp eq i1 %8, false\n %10 = urem i64 %arg5, 2\n %11 = icmp eq i64 %10, 0\n %or.cond = or i1 %11, %9\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %2, i64 1)\n store i64 2, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "omap_i2c_init_15135", "fun_name": "omap_i2c_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp slt i32 %9, 2\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = add i64 %6, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %17 = add i64 %6, 12\n %18 = call i64 @FUNC(i64 %6, i64 %17)\n %19 = add i64 %6, 16\n %20 = call i64 @FUNC(i64 %6, i64 %19)\n %21 = add i64 %6, 20\n %22 = call i64 @FUNC(i64 %6, i64 %21)\n %23 = load i32, i32* %8, align 4\n %24 = icmp sgt i32 %23, 1\n %. = select i1 %24, i64 4096, i64 2048\n %25 = add i64 %6, 24\n %26 = call i64 @FUNC(i64 %25, i64 %6, i64* nonnull @gv_2, i64 %6, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %.)\n %27 = call i64 @FUNC(i64 %6, i64 %25)\n %28 = call i64 @FUNC(i64 %6, i64 0)\n %29 = add i64 %6, 32\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n ret i64 0\n\n uselistorder i64 %6, { 0, 1, 2, 4, 3, 5, 8, 11, 7, 10, 6, 9, 13, 12 }\n uselistorder i64 (i64, i64)* @sysbus_init_irq, { 2, 1, 0 }\n uselistorder i64 (i8*)* @hw_error, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_istag_8899", "fun_name": "set_istag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = bitcast i64* %sv_0 to i8*\n %2 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %1, i32 50, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 1, i64 0)\n %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %4 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_0, i64 1, i64 ptrtoint ([12 x i8]* @gv_1 to i64), i64 1)\n ret i64 %4\n\n uselistorder [12 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 1, { 3, 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "input_csi_dispatch_sgr_colon_5685", "fun_name": "input_csi_dispatch_sgr_colon", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %.pre-phi19.reg2mem = alloca i32*\n %sv_0.09.reg2mem = alloca i32\n %.reg2mem = alloca i8*\n %indvars.iv.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %4 = ptrtoint i64* %arg1 to i64\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %7 = ptrtoint i64* %sv_4 to i64\n %8 = mul i64 %arg2, 8\n %9 = and i64 %8, 34359738360\n %10 = add i64 %4, 8\n %11 = add i64 %10, %9\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = bitcast i32* %sv_3 to i64*\n %15 = call i64 @FUNC(i64* nonnull %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_3, label LBL_1\n LBL_1:\n %18 = add i64 %7, -96\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %19 = mul i64 %indvars.iv.reload, 4\n %20 = add i64 %18, %19\n %21 = inttoptr i64 %20 to i32*\n store i32 -1, i32* %21, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %22 = call i64 @FUNC(i64* nonnull %14)\n %23 = and i64 %22, 4294967295\n %24 = icmp ult i64 %indvars.iv.next, %23\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %24, label LBL_2, label LBL_3\n LBL_3:\n %25 = call i64 @FUNC(i64 %13)\n store i64 %25, i64* %sv_2, align 8\n %26 = bitcast i64* %sv_2 to i8**\n %27 = call i8* @strsep(i8** nonnull %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %28 = icmp eq i8* %27, null\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_5, label LBL_4\n LBL_4:\n %30 = inttoptr i64 %25 to i64*\n call void @free(i64* %30)\n store i64 ptrtoint (i32* @1 to i64), i64* %rax.0.reg2mem\n br label LBL_33\n LBL_5:\n %31 = add i64 %7, -96\n store i8* %27, i8** %.reg2mem\n store i32 0, i32* %sv_0.09.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.09.reload = load i32, i32* %sv_0.09.reg2mem\n %.reload = load i8*, i8** %.reg2mem\n %32 = load i8, i8* %.reload, align 1\n %33 = icmp eq i8 %32, 0\n %34 = add i32 %sv_0.09.reload, 1\n br i1 %33, label LBL_10, label LBL_7\n LBL_7:\n %35 = ptrtoint i8* %.reload to i64\n %36 = call i64 @FUNC(i64 %35, i64 0, i64 2147483647, i64* nonnull %sv_1)\n %37 = zext i32 %sv_0.09.reload to i64\n %38 = trunc i64 %36 to i32\n %39 = mul i64 %37, 4\n %40 = add i64 %39, %31\n %41 = inttoptr i64 %40 to i32*\n store i32 %38, i32* %41, align 4\n %42 = load i64, i64* %sv_1, align 8\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_9, label LBL_8\n LBL_8:\n %45 = call i64 @FUNC(i64* nonnull %14)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %34, %46\n %48 = icmp eq i1 %47, false\n store i32* %41, i32** %.pre-phi19.reg2mem\n br i1 %48, label LBL_13, label LBL_9\n LBL_9:\n %49 = inttoptr i64 %25 to i64*\n call void @free(i64* %49)\n store i64 ptrtoint (i32* @1 to i64), i64* %rax.0.reg2mem\n br label LBL_33\n LBL_10:\n %50 = call i64 @FUNC(i64* nonnull %14)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %34, %51\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_10.LBL_13_crit_edge, label LBL_12\n LBL_11:\n %.pre = zext i32 %sv_0.09.reload to i64\n %.pre14 = mul i64 %.pre, 4\n %.pre16 = add i64 %.pre14, %31\n %.pre18 = inttoptr i64 %.pre16 to i32*\n store i32* %.pre18, i32** %.pre-phi19.reg2mem\n br label LBL_13\n LBL_12:\n %54 = inttoptr i64 %25 to i64*\n call void @free(i64* %54)\n store i64 ptrtoint (i32* @1 to i64), i64* %rax.0.reg2mem\n br label LBL_33\n LBL_13:\n %.pre-phi19.reload = load i32*, i32** %.pre-phi19.reg2mem\n %55 = load i32, i32* %.pre-phi19.reload, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i32 %sv_0.09.reload, i64 %56, i64 %3, i64 %2)\n %58 = call i8* @strsep(i8** nonnull %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %59 = icmp eq i8* %58, null\n %60 = icmp eq i1 %59, false\n store i8* %58, i8** %.reg2mem\n store i32 %34, i32* %sv_0.09.reg2mem\n br i1 %60, label LBL_6, label LBL_14\n LBL_14:\n %61 = inttoptr i64 %25 to i64*\n call void @free(i64* %61)\n %62 = icmp eq i32 %34, 0\n store i64 ptrtoint (i32* @1 to i64), i64* %rax.0.reg2mem\n br i1 %62, label LBL_33, label LBL_15\n LBL_15:\n %63 = load i32, i32* %sv_3, align 4\n %64 = zext i32 %63 to i64\n %65 = icmp eq i32 %63, 4\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_24, label LBL_16\n LBL_16:\n %67 = icmp eq i32 %34, 2\n %68 = icmp eq i1 %67, false\n store i64 %64, i64* %rax.0.reg2mem\n br i1 %68, label LBL_33, label LBL_17\n LBL_17:\n %69 = zext i32 %6 to i64\n store i64 %69, i64* @0, align 8\n %70 = mul i64 %69, 8\n %71 = add i64 %70, ptrtoint (i64* @gv_3 to i64)\n %72 = inttoptr i64 %71 to i64*\n %73 = load i64, i64* %72, align 8\n store i64 %73, i64* %rax.0.reg2mem\n switch i32 %6, label LBL_33 [\n i32 0, label LBL_18\n i32 1, label LBL_19\n i32 2, label LBL_20\n i32 3, label LBL_21\n i32 4, label LBL_22\n i32 5, label LBL_23\n ]\n LBL_18:\n %74 = bitcast i64* %rdi to i32*\n %75 = load i32, i32* %74, align 8\n %76 = and i32 %75, -2\n %77 = bitcast i64* %arg1 to i32*\n store i32 %76, i32* %77, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_19:\n %78 = bitcast i64* %rdi to i32*\n %79 = load i32, i32* %78, align 8\n %80 = or i32 %79, 2\n %81 = bitcast i64* %arg1 to i32*\n store i32 %80, i32* %81, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_20:\n %82 = bitcast i64* %rdi to i32*\n %83 = load i32, i32* %82, align 8\n %84 = or i32 %83, 4\n %85 = bitcast i64* %arg1 to i32*\n store i32 %84, i32* %85, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_21:\n %86 = bitcast i64* %rdi to i32*\n %87 = load i32, i32* %86, align 8\n %88 = or i32 %87, 8\n %89 = bitcast i64* %arg1 to i32*\n store i32 %88, i32* %89, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_22:\n %90 = bitcast i64* %rdi to i32*\n %91 = load i32, i32* %90, align 8\n %92 = or i32 %91, 16\n %93 = bitcast i64* %arg1 to i32*\n store i32 %92, i32* %93, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_23:\n %94 = bitcast i64* %rdi to i32*\n %95 = load i32, i32* %94, align 8\n %96 = or i32 %95, 32\n %97 = bitcast i64* %arg1 to i32*\n store i32 %96, i32* %97, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_24:\n %98 = icmp ult i32 %34, 2\n store i64 %64, i64* %rax.0.reg2mem\n br i1 %98, label LBL_33, label LBL_25\n LBL_25:\n switch i32 %63, label LBL_26 [\n i32 48, label LBL_27\n i32 38, label LBL_27\n ]\n LBL_26:\n %99 = icmp eq i32 %63, 58\n %100 = icmp eq i1 %99, false\n store i64 %64, i64* %rax.0.reg2mem\n br i1 %100, label LBL_33, label LBL_27\n LBL_27:\n %101 = icmp eq i32 %6, 2\n br i1 %101, label LBL_29, label LBL_28\n LBL_28:\n %102 = zext i32 %6 to i64\n %103 = icmp ne i32 %6, 5\n %104 = icmp ult i32 %34, 3\n %or.cond6 = or i1 %103, %104\n store i64 %102, i64* %rax.0.reg2mem\n br i1 %or.cond6, label LBL_33, label LBL_32\n LBL_29:\n %105 = icmp ult i32 %34, 3\n store i64 2, i64* %rax.0.reg2mem\n br i1 %105, label LBL_33, label LBL_30\n LBL_30:\n %106 = icmp eq i32 %34, 5\n %107 = icmp eq i1 %106, false\n %. = select i1 %107, i32 3, i32 2\n %108 = add nuw nsw i32 %., 3\n %109 = zext i32 %108 to i64\n %110 = icmp ult i32 %34, %108\n store i64 %109, i64* %rax.0.reg2mem\n br i1 %110, label LBL_33, label LBL_31\n LBL_31:\n %111 = mul i32 %., 4\n %112 = add nuw nsw i32 %111, 8\n %113 = zext i32 %112 to i64\n %114 = add i64 %31, %113\n %115 = inttoptr i64 %114 to i32*\n %116 = load i32, i32* %115, align 4\n %117 = add nuw nsw i32 %111, 4\n %118 = zext i32 %117 to i64\n %119 = add i64 %31, %118\n %120 = inttoptr i64 %119 to i32*\n %121 = load i32, i32* %120, align 4\n %122 = zext i32 %111 to i64\n %123 = add i64 %31, %122\n %124 = inttoptr i64 %123 to i32*\n %125 = load i32, i32* %124, align 4\n %126 = zext i32 %116 to i64\n %127 = call i64 @FUNC(i64 %4, i64 %64, i32 %125, i32 %121, i64 %126)\n store i64 %127, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_32:\n %128 = call i64 @FUNC(i64 %4, i64 %64, i32 %5)\n store i64 %128, i64* %rax.0.reg2mem\n br label LBL_33\n LBL_33:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %111, { 2, 1, 0 }\n uselistorder i64 %64, { 4, 3, 1, 2, 0 }\n uselistorder i32 %34, { 3, 5, 4, 2, 6, 7, 1, 0, 9, 8 }\n uselistorder i32 %sv_0.09.reload, { 0, 3, 2, 1 }\n uselistorder i8** %26, { 1, 0 }\n uselistorder i64 %25, { 1, 3, 2, 0, 4 }\n uselistorder i64* %14, { 1, 0, 3, 2 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i32 %6, { 0, 2, 1, 3, 4 }\n uselistorder i64 %4, { 6, 7, 5, 4, 3, 2, 1, 0, 8 }\n uselistorder i64* %rdi, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.09.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.pre-phi19.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 11, 13, 14, 15, 12, 10, 16, 7, 6, 5, 4, 3, 2, 8, 9, 17, 19, 18, 1 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 8, { 0, 2, 1 }\n uselistorder i32 3, { 4, 1, 2, 0, 3 }\n uselistorder i32 2, { 0, 1, 2, 5, 3, 4 }\n uselistorder i32 4, { 1, 0, 4, 2, 3 }\n uselistorder i64 ptrtoint (i32* @1 to i64), { 1, 3, 2, 0 }\n uselistorder void (i64*)* @free, { 1, 3, 2, 0 }\n uselistorder i1 false, { 1, 2, 6, 7, 8, 3, 4, 5, 0 }\n uselistorder i8* null, { 1, 0 }\n uselistorder i8* (i8**, i8*)* @strsep, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i64 (i64*)* @nitems, { 3, 2, 1, 0 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder i64* %arg1, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder label LBL_33, { 15, 16, 2, 3, 1, 5, 4, 7, 8, 9, 10, 11, 12, 6, 13, 14, 17, 18, 0 }\n uselistorder label LBL_27, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "next_cluster_9958", "fun_name": "next_cluster", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = trunc i64 %arg2 to i32\n %2 = bitcast i32* %sv_0 to i64*\n %3 = call i64 @FUNC(i64* nonnull %2, i64 %0, i32 %1, i64 %0)\n %4 = load i32, i32* %sv_0, align 4\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 %0, i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %10 = call i64 @FUNC(i64 %0, i64 %5)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n %storemerge = select i1 %13, i64 4294967295, i64 %5\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bta_av_rc_vendor_cmd_8303", "fun_name": "bta_av_rc_vendor_cmd", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 4\n %5 = zext i32 %4 to i64\n %6 = icmp eq i32 %4, 3\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = trunc i64 %2 to i32\n %9 = and i64 %2, 4294967295\n %10 = icmp sgt i32 %8, 9\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %2, 4294967296\n %12 = ashr exact i64 %sext, 30\n %13 = ptrtoint i32* %arg1 to i64\n %14 = add i64 %13, 4\n %15 = add i64 %14, %12\n %16 = add i64 %11, 8\n %17 = add i64 %11, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = inttoptr i64 %15 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %19 to i64\n %23 = zext i32 %21 to i64\n %24 = call i64 @FUNC(i64 %23, i64 %22, i64 %16)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rxrpc_kernel_retry_call_3795", "fun_name": "rxrpc_kernel_retry_call", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %r8.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg4 to i64\n %5 = ptrtoint i32* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %8 = call i64 @FUNC(i64 %6)\n %9 = add i64 %5, 4\n %10 = call i64 @FUNC(i64 %9)\n %11 = and i64 %10, 4294967295\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %11, i64 %4, i64 %2, i64 %1)\n %14 = icmp eq i64* %arg4, null\n %15 = icmp eq i1 %14, false\n store i64 %4, i64* %sv_1.0.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = inttoptr i64 %8 to i64*\n %17 = load i64, i64* %16, align 8\n store i64 %17, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %18 = icmp eq i64 %sv_1.0.reload, 0\n store i64 0, i64* %sv_1.1.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = inttoptr i64 %sv_1.0.reload to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 0\n %22 = icmp eq i1 %21, false\n %spec.select = select i1 %22, i64 %sv_1.0.reload, i64 0\n store i64 %spec.select, i64* %sv_1.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %23 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 32)\n store i64 %sv_1.1.reload, i64* %sv_2, align 8\n %24 = add i64 %5, 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %8, i64 %5)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %26, i64* %sv_0.0.reg2mem\n store i64 %4, i64* %rcx.0.reg2mem\n store i64 %5, i64* %rdx.0.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = ptrtoint i64* %arg3 to i64\n %31 = ptrtoint i64* %sv_2 to i64\n %32 = call i64 @FUNC(i64 %8, i64 %5, i64* nonnull %sv_2, i64 %30, i64 0)\n store i64 %32, i64* %sv_0.0.reg2mem\n store i64 %30, i64* %rcx.0.reg2mem\n store i64 %31, i64* %rdx.0.reg2mem\n store i64 0, i64* %r8.0.reg2mem\n br label LBL_6\n LBL_6:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %33 = call i64 @FUNC(i64 %24)\n %34 = call i64 @FUNC(i64 %7)\n %35 = and i64 %sv_0.0.reload, 4294967295\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %35, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n ret i64 %35\n\n uselistorder i64 %35, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 0, 2, 3, 1 }\n uselistorder i64 %5, { 1, 0, 3, 2, 4 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_auth_sasl_mechname_1923", "fun_name": "protocol_client_auth_sasl_mechname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %arg3 to i32\n %7 = add i32 %6, 1\n %8 = call i64* @malloc(i32 %7)\n %9 = icmp eq i64* %8, null\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %12 = call i64 @FUNC(i64 %5)\n br label LBL_2\n LBL_2:\n %13 = bitcast i64* %8 to i8*\n %14 = ptrtoint i64* %8 to i64\n %15 = bitcast i64* %arg2 to i8*\n %16 = call i8* @strncpy(i8* %13, i8* %15, i32 %6)\n %17 = add i64 %14, %arg3\n %18 = inttoptr i64 %17 to i8*\n store i8 0, i8* %18, align 1\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 %14, i64 %4, i64 %2, i64 %1)\n %20 = call i32 @strncmp(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i8* %13, i32 %6)\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_5, label LBL_3\n LBL_3:\n %23 = add i64 %arg3, ptrtoint ([45 x i8]* @gv_1 to i64)\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n store i64 ptrtoint ([45 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem\n store i64 ptrtoint ([45 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem\n switch i8 %25, label LBL_4 [\n i8 0, label LBL_8\n i8 44, label LBL_8\n ]\n LBL_4:\n %26 = sext i8 %25 to i64\n %27 = and i64 %26, 4294967295\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %27, i64 ptrtoint ([45 x i8]* @gv_1 to i64), i64 %14, i64 %2, i64 %1)\n br label LBL_9\n LBL_5:\n %29 = call i8* @strstr(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i8* %13)\n %30 = ptrtoint i8* %29 to i64\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i64 %30, i64 %14, i64 %14, i64 %2, i64 %1)\n %32 = icmp eq i8* %29, null\n br i1 %32, label LBL_9, label LBL_6\n LBL_6:\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %30, i64 %14, i64 %14, i64 %2, i64 %1)\n %34 = add i64 %30, -1\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = icmp eq i8 %36, 44\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_9, label LBL_7\n LBL_7:\n %39 = add i64 %30, %arg3\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp ne i8 %41, 0\n %43 = icmp eq i8 %41, 44\n %44 = icmp eq i1 %43, false\n %or.cond = icmp eq i1 %42, %44\n store i64 ptrtoint ([10 x i8]* @gv_4 to i64), i64* %rdi.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %45 = inttoptr i64 %rdi.0.reload to i64*\n call void @free(i64* %45)\n store i64 %14, i64* %arg1, align 8\n %46 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0), i64 %14, i64 %14, i64 %14, i64 %2, i64 %1)\n %47 = call i64 @FUNC(i64 %5, i64 4199011, i64 4)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_9:\n %48 = call i64 @FUNC(i64 %5)\n call void @free(i64* %8)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8 %25, { 1, 0 }\n uselistorder i64 %14, { 7, 2, 1, 3, 8, 4, 9, 5, 6, 11, 10, 0 }\n uselistorder i64* %8, { 0, 1, 3, 2 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder [10 x i8]* @gv_4, { 1, 0 }\n uselistorder i8 44, { 0, 2, 1 }\n uselistorder i64 ptrtoint ([45 x i8]* @gv_1 to i64), { 3, 0, 1, 2 }\n uselistorder [45 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 (i64)* @vnc_client_error, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @VNC_DEBUG, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 0, { 0, 5, 6, 1, 2, 3, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15 }\n uselistorder i64 %arg3, { 0, 3, 1, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__io_cqring_fill_event_19296", "fun_name": "__io_cqring_fill_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0, i64 %3, i64 %arg2)\n %5 = call i64 @FUNC(i64 %0)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = load i64, i64* %2, align 8\n %10 = inttoptr i64 %5 to i64*\n store i64 %9, i64* %10, align 8\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %arg2, i64* %12, align 8\n %13 = add i64 %5, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 %arg3, i64* %14, align 8\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %15 = inttoptr i64 %1 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 0\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i64 %0, 32\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = add i64 %0, 36\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %23 = add i64 %0, 16\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i8\n %26 = icmp eq i8 %25, 0\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = add i64 %0, 36\n %28 = call i64 @FUNC(i64 0, i64 %27)\n %29 = add i64 %0, 40\n %30 = call i64 @FUNC(i64 0, i64 %29)\n call void @llvm.trap()\n unreachable\n LBL_6:\n %31 = call i64 @FUNC(i64 %0)\n %32 = inttoptr i64 %23 to i64*\n store i64 %arg2, i64* %32, align 8\n %33 = add i64 %0, 24\n %34 = inttoptr i64 %33 to i64*\n store i64 %arg3, i64* %34, align 8\n %35 = add i64 %0, 48\n %36 = call i64 @FUNC(i64 %35)\n %37 = add i64 %0, 32\n %38 = call i64 @FUNC(i64 %37, i64 %23)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 3, 2, 4, 5, 1, 0, 8, 7, 6, 9, 10, 11 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @set_bit, { 1, 0 }\n uselistorder i64 36, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "auth_sasl_check_ssf_10723", "fun_name": "auth_sasl_check_ssf", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32*, align 8\n %2 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %2, align 4\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = bitcast i32** %sv_0 to i64*\n %11 = call i64 @FUNC(i64 %9, i64 1, i64* nonnull %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_4\n LBL_2:\n %14 = load i32*, i32** %sv_0, align 8\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %16)\n %18 = icmp sgt i32 %15, 55\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_3, label LBL_4\n LBL_3:\n store i32 1, i32* %2, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %15, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qxl_reset_surfaces_3411", "fun_name": "qxl_reset_surfaces", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %2, i64 %1)\n %5 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %3, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = call i64* @memset(i64* %7, i32 0, i32 4)\n %9 = ptrtoint i64* %8 to i64\n ret i64 %9\n\n uselistorder i64* %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pscsi_free_device_4125", "fun_name": "pscsi_free_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = icmp eq i64* %arg1, null\n br i1 %3, label LBL_12, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i32 %4, i32* %.reg2mem\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n store i32 %4, i32* %.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = bitcast i64* %rdi to i32*\n %12 = call i64 @FUNC(i64 %9, i64 7)\n store i64 0, i64* %8, align 8\n %.pre = load i32, i32* %11, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %13 = icmp eq i32 %.reload, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_7, label LBL_5\n LBL_5:\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %17)\n br label LBL_9\n LBL_7:\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_9, label LBL_8\n LBL_8:\n %24 = call i64 @FUNC(i64 %22)\n br label LBL_9\n LBL_9:\n %25 = icmp ne i32 %.reload, 0\n %26 = icmp eq i32 %.reload, 1\n %27 = icmp eq i1 %26, false\n %or.cond = icmp eq i1 %25, %27\n br i1 %or.cond, label LBL_11, label LBL_10\n LBL_10:\n %28 = call i64 @FUNC(i64 %2)\n br label LBL_11\n LBL_11:\n store i64 0, i64* %arg1, align 8\n br label LBL_12\n LBL_12:\n %29 = call i64 @FUNC(i64 %2)\n ret i64 %29\n\n uselistorder i32 %4, { 1, 0, 2 }\n uselistorder i64 %2, { 4, 2, 3, 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @scsi_host_put, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "client_close_616", "fun_name": "client_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %6, align 1\n %7 = add i64 %5, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 0, i64 0)\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %spec.select = select i1 %14, i64 0, i64 %5\n ret i64 %spec.select\n LBL_2:\n %15 = urem i64 %1, 256\n ret i64 %15\n\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsvGetString_7293", "fun_name": "jsvGetString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i8*\n %5 = inttoptr i64 %arg2 to i8*\n %6 = trunc i64 %arg3 to i32\n %7 = call i8* @strncpy(i8* %5, i8* %4, i32 %6)\n %8 = add i64 %arg2, -1\n %9 = add i64 %8, %arg3\n %10 = inttoptr i64 %9 to i8*\n store i8 0, i8* %10, align 1\n %11 = call i32 @strlen(i8* %4)\n %12 = sext i32 %11 to i64\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_2:\n %13 = call i64 @FUNC(i64 %arg1)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 %arg2, i64 10)\n %18 = inttoptr i64 %arg2 to i8*\n %19 = call i32 @strlen(i8* %18)\n %20 = sext i32 %19 to i64\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_4:\n %21 = call i64 @FUNC(i64 %arg1)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = trunc i64 %1 to i32\n %25 = call i128 @FUNC(i32 %24)\n %26 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %27 = inttoptr i64 %arg2 to i8*\n %28 = call i32 @strlen(i8* %27)\n %29 = sext i32 %28 to i64\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_6:\n %30 = call i64 @FUNC(i64 %arg1)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_14, label LBL_7\n LBL_7:\n %33 = call i64 @FUNC(i64 %arg1)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 103, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64* nonnull %sv_2, i64 %arg1, i64 0)\n %37 = call i64 @FUNC(i64* nonnull %sv_2)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i64 %arg3, i64* %sv_0.05.reg2mem\n store i64 %arg2, i64* %sv_1.04.reg2mem\n store i64 %arg2, i64* %sv_1.0.lcssa.reg2mem\n store i64 %arg3, i64* %sv_0.0.lcssa.reg2mem\n br i1 %40, label LBL_10, label LBL_13\n LBL_10:\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %41 = icmp ult i64 %sv_0.05.reload, 2\n br i1 %41, label LBL_11, label LBL_12\n LBL_11:\n %42 = inttoptr i64 %sv_1.04.reload to i8*\n store i8 0, i8* %42, align 1\n %43 = call i64 @FUNC(i64* nonnull %sv_2)\n store i64 %arg3, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_12:\n %44 = add i64 %sv_0.05.reload, -1\n %45 = add i64 %sv_1.04.reload, 1\n %46 = call i64 @FUNC(i64* nonnull %sv_2)\n %47 = trunc i64 %46 to i8\n %48 = inttoptr i64 %sv_1.04.reload to i8*\n store i8 %47, i8* %48, align 1\n %49 = call i64 @FUNC(i64* nonnull %sv_2)\n %50 = call i64 @FUNC(i64* nonnull %sv_2)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n store i64 %44, i64* %sv_0.05.reg2mem\n store i64 %45, i64* %sv_1.04.reg2mem\n store i64 %45, i64* %sv_1.0.lcssa.reg2mem\n store i64 %44, i64* %sv_0.0.lcssa.reg2mem\n br i1 %53, label LBL_10, label LBL_13\n LBL_13:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %54 = call i64 @FUNC(i64* nonnull %sv_2)\n %55 = inttoptr i64 %sv_1.0.lcssa.reload to i8*\n store i8 0, i8* %55, align 1\n %56 = sub i64 %arg3, %sv_0.0.lcssa.reload\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_14:\n %57 = call i64 @FUNC(i64 %arg1, i64 0)\n %58 = icmp eq i64 %57, 0\n br i1 %58, label LBL_16, label LBL_15\n LBL_15:\n %59 = call i64 @FUNC(i64 %57, i64 %arg2, i64 %arg3)\n store i64 %59, i64* %sv_2, align 8\n %60 = call i64 @FUNC(i64 %57)\n %61 = load i64, i64* %sv_2, align 8\n store i64 %61, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %62 = inttoptr i64 %arg2 to i8*\n store i8 0, i8* %62, align 1\n %63 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_3, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %57, { 1, 0, 2 }\n uselistorder i64 %sv_1.04.reload, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 7, 8, 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 4, 5, 3, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64*)* @jsvStringIteratorHasChar, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder i8 0, { 1, 3, 2, 4, 0 }\n uselistorder i64 %arg3, { 7, 6, 0, 1, 2, 5, 3, 4 }\n uselistorder i64 %arg2, { 9, 8, 0, 1, 7, 6, 5, 4, 2, 3 }\n uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder label LBL_17, { 0, 1, 3, 2, 4, 5, 6 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_new_packet_1049", "fun_name": "av_new_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %sv_1.04.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp ult i32 %0, -32\n store i64 4294967284, i64* %.reg2mem\n store i64 0, i64* %sv_1.04.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %sext2 = add i64 %sext, 137438953472\n %2 = ashr exact i64 %sext2, 32\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n store i64 4294967284, i64* %.reg2mem\n store i64 0, i64* %sv_1.04.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = ashr exact i64 %sext, 32\n %6 = add i64 %3, %5\n %7 = inttoptr i64 %6 to i64*\n %8 = call i64* @memset(i64* %7, i32 0, i32 32)\n store i64 0, i64* %.reg2mem\n store i64 %3, i64* %sv_1.04.reg2mem\n store i32 %0, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %9 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %10 = call i64 @FUNC(i64 %9)\n store i64 %sv_1.04.reload, i64* %arg1, align 8\n %11 = add i64 %9, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %sv_0.0.reload, i32* %12, align 4\n %13 = add i64 %9, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 4198787, i64* %14, align 8\n ret i64 %.reload\n\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_1.04.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdev_add_one_global_2703", "fun_name": "qdev_add_one_global", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 32)\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = load i64, i64* %3, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_4, label LBL_1\n LBL_1:\n %14 = inttoptr i64 %12 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 0\n %17 = add i64 %1, 24\n %18 = inttoptr i64 %17 to i8*\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n store i8 0, i8* %18, align 1\n br label LBL_5\n LBL_3:\n store i8 1, i8* %18, align 1\n br label LBL_5\n LBL_4:\n %19 = add i64 %1, 24\n %20 = inttoptr i64 %19 to i8*\n store i8 1, i8* %20, align 1\n br label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %1)\n ret i64 0\n\n uselistorder i8* %18, { 1, 0 }\n uselistorder i64 %1, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64 (i64, i8*)* @qemu_opt_get, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "proc_oom_score_6598", "fun_name": "proc_oom_score", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i32* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_1)\n %2 = call i64 @FUNC(i64* nonnull @gv_0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = load i64, i64* %sv_1, align 8\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = trunc i64 %7 to i32\n store i32 %8, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %9 = call i64 @FUNC(i64* nonnull @gv_0)\n %10 = bitcast i64* %arg2 to i8*\n %11 = call i32 (i8*, i8*, ...) @sprintf(i8* %10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 %sv_0.0.reload)\n %12 = sext i32 %11 to i64\n ret i64 %12\n\n uselistorder i64* %sv_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crm_ipc_connect_10864", "fun_name": "crm_ipc_connect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 24\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %3, i64 %9)\n %11 = add i64 %3, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = icmp eq i64 %10, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i32* @__errno_location()\n %16 = load i32, i32* %15, align 4\n %17 = call i32* @__errno_location()\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = zext i32 %16 to i64\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %20, i64 %21, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %23 = call i64 @FUNC(i64 %3)\n %24 = trunc i64 %23 to i32\n %25 = add i64 %3, 28\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = icmp slt i32 %24, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = call i32* @__errno_location()\n %30 = load i32, i32* %29, align 4\n %31 = call i32* @__errno_location()\n %32 = load i32, i32* %31, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %33)\n %35 = zext i32 %30 to i64\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i64 %33, i64 %34, i64 %35, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %37 = load i64, i64* %12, align 8\n %38 = call i64 @FUNC(i64 %37, i64 %3)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @crm_debug, { 1, 0 }\n uselistorder i64 (i64)* @pcmk_strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow2_mark_clean_367", "fun_name": "qcow2_mark_clean", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 2\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = and i32 %2, -2\n %7 = bitcast i64* %arg1 to i32*\n store i32 %6, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %5)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = and i64 %8, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %13 = call i64 @FUNC(i64 %5)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "anetListen_12841", "fun_name": "anetListen", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %arg4 to i32\n %5 = bitcast i64* %arg3 to %sockaddr*\n %6 = call i32 @bind(i32 %arg2, %sockaddr* %5, i32 %4)\n %7 = icmp eq i32 %6, -1\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i32* @__errno_location()\n %10 = load i32, i32* %9, align 4\n %11 = call i8* @strerror(i32 %10)\n %12 = ptrtoint i8* %11 to i64\n %13 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %2, i64 %arg5, i64 %1)\n %14 = call i32 @close(i32 %arg2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %15 = trunc i64 %arg5 to i32\n %16 = call i32 @listen(i32 %arg2, i32 %15)\n %17 = icmp eq i32 %16, -1\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i32* @__errno_location()\n %20 = load i32, i32* %19, align 4\n %21 = call i8* @strerror(i32 %20)\n %22 = ptrtoint i8* %21 to i64\n %23 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %22, i64 %2, i64 %arg5, i64 %1)\n %24 = call i32 @close(i32 %arg2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @anetSetError, { 1, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i64 %arg5, { 2, 0, 1 }\n uselistorder i32 %arg2, { 1, 2, 0, 3 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "balloon_page_5111", "fun_name": "balloon_page", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = trunc i64 %arg2 to i32\n %7 = icmp eq i32 %6, 0\n %. = select i1 %7, i64 2, i64 1\n %8 = call i64 @FUNC(i64 %arg1, i64 4096, i64 %.)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "StreamTcpStreamCleanup_125", "fun_name": "StreamTcpStreamCleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = add i64 %arg1, 4\n %4 = call i64 @FUNC(i64 %3)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_x86_init_5044", "fun_name": "cpu_x86_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 1)\n %1 = inttoptr i64 %0 to i64*\n store i64 %arg1, i64* %1, align 8\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = load i32, i32* @gv_0, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n store i32 1, i32* @gv_0, align 4\n %8 = call i64 @FUNC()\n %9 = load i64, i64* @gv_1, align 8\n %10 = call i64 @FUNC(i64 %9)\n store i64 %10, i64* @gv_2, align 8\n br label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %0, i64 %arg1)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %16 = call i64 @FUNC(i64 %0, i64 0)\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_init_used_9697", "fun_name": "vhost_init_used", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = icmp eq i64* %arg1, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i8\n %7 = add i64 %1, 8\n %8 = inttoptr i64 %7 to i8*\n store i8 %6, i8* %8, align 1\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_2:\n %9 = call i64 @FUNC(i64 %1)\n %10 = call i64 @FUNC(i64 %1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %10, i64* %rax.0.shrunk.reg2mem\n br i1 %12, label LBL_3, label LBL_6\n LBL_3:\n %13 = add i64 %1, 26\n %14 = inttoptr i64 %13 to i8*\n store i8 0, i8* %14, align 1\n %15 = add i64 %1, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 0, i64 %17, i64 2)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 1, i64* %rax.0.shrunk.reg2mem\n br i1 %21, label LBL_4, label LBL_6\n LBL_4:\n %22 = load i64, i64* %16, align 8\n %23 = urem i32 %2, 65536\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %22)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n store i64 %25, i64* %rax.0.shrunk.reg2mem\n br i1 %27, label LBL_5, label LBL_6\n LBL_5:\n %28 = call i64 @FUNC(i64 %1, i64 %24)\n %29 = trunc i64 %28 to i16\n %30 = add i64 %1, 24\n %31 = inttoptr i64 %30 to i16*\n store i16 %29, i16* %31, align 2\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %1, { 2, 1, 3, 4, 6, 5, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder label LBL_6, { 3, 0, 1, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "raw_refresh_limits_1820", "fun_name": "raw_refresh_limits", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rdi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32, i32* %1\n %sv_0 = alloca i64, align 8\n %5 = trunc i64 %2 to i32\n %6 = bitcast i64* %sv_0 to %stat*\n %7 = call i32 @fstat(i32 %5, %stat* nonnull %6)\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_6, label LBL_1\n LBL_1:\n %10 = and i32 %4, 61440\n %11 = icmp ne i32 %10, 24576\n %12 = icmp eq i32 %10, 8192\n %13 = icmp eq i1 %12, false\n %or.cond = icmp eq i1 %11, %13\n br i1 %or.cond, label LBL_6, label LBL_2\n LBL_2:\n %14 = and i64 %2, 4294967295\n %15 = call i64 @FUNC(i64 %3, i64 %14)\n %16 = trunc i64 %15 to i32\n %.off = add i32 %16, -1\n %17 = icmp ugt i32 %.off, 1048575\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = and i64 %15, 4294967295\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = add i64 %3, 8\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n br label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64* nonnull %sv_0)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 1\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i32 @getpagesize()\n %27 = mul i32 %26, %24\n %28 = add i64 %3, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = sub i32 %27, %30\n %32 = xor i32 %27, %30\n %33 = xor i32 %31, %27\n %34 = and i32 %33, %32\n %35 = icmp slt i32 %34, 0\n %36 = icmp eq i32 %31, 0\n %37 = icmp slt i32 %31, 0\n %38 = icmp eq i1 %37, %35\n %39 = icmp eq i1 %36, false\n %40 = icmp eq i1 %38, %39\n %41 = select i1 %40, i32 %30, i32 %27\n store i32 %41, i32* %29, align 4\n br label LBL_6\n LBL_6:\n %42 = ptrtoint i64* %arg2 to i64\n %43 = bitcast i64* %rdi to i32*\n %44 = load i32, i32* %43, align 8\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %3, i64 %45, i64 %42)\n %47 = add i64 %3, 4\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = add i64 %3, 12\n %51 = inttoptr i64 %50 to i32*\n store i32 %49, i32* %51, align 4\n %52 = call i32 @getpagesize()\n %53 = load i32, i32* %48, align 4\n %54 = sub i32 %52, %53\n %55 = xor i32 %53, %52\n %56 = xor i32 %54, %52\n %57 = and i32 %56, %55\n %58 = icmp slt i32 %57, 0\n %59 = icmp slt i32 %54, 0\n %60 = icmp eq i1 %59, %58\n %61 = select i1 %60, i32 %52, i32 %53\n %62 = add i64 %3, 16\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n ret i64 %3\n\n uselistorder i32 %54, { 1, 0 }\n uselistorder i32 %53, { 1, 0, 2 }\n uselistorder i32 %52, { 2, 0, 1, 3 }\n uselistorder i32 %31, { 1, 2, 0 }\n uselistorder i32 %27, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 3, 4, 5, 6, 7, 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 ()* @getpagesize, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_ablkcipher_show_10398", "fun_name": "crypto_ablkcipher_show", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = ptrtoint i32* %arg2 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n %11 = urem i64 %3, 2\n %12 = icmp eq i64 %11, 0\n %. = select i1 %12, i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64 ptrtoint ([4 x i8]* @gv_2 to i64)\n %13 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %., i64 %5, i64 %2, i64 %1)\n %14 = add i64 %7, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i64 %17, i64 %5, i64 %2, i64 %1)\n %19 = load i32, i32* %9, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64 %20, i64 %5, i64 %2, i64 %1)\n %22 = add i64 %7, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0), i64 %25, i64 %5, i64 %2, i64 %1)\n %27 = add i64 %7, 16\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i64 %30, i64 %5, i64 %2, i64 %1)\n %32 = add i64 %7, 24\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n %storemerge = select i1 %36, i64 %34, i64 ptrtoint ([10 x i8]* @gv_8 to i64)\n %37 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_9, i64 0, i64 0), i64 %storemerge, i64 %6, i64 %2, i64 %1)\n ret i64 %37\n\n uselistorder i64 %7, { 1, 2, 3, 0, 4 }\n uselistorder i64 %6, { 5, 6, 4, 3, 2, 1, 0, 7 }\n uselistorder i64 %5, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @seq_printf, { 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "coroutine_enter_cb_1542", "fun_name": "coroutine_enter_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "encode_gray_bitstream_2907", "fun_name": "encode_gray_bitstream", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv11.reg2mem = alloca i64\n %indvars.iv13.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %arg2 to i32\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = sub i64 %8, %4\n %10 = call i64 @FUNC(i64 %4)\n %11 = trunc i64 %10 to i32\n %12 = ashr i32 %11, 3\n %narrow = sub nsw i32 0, %12\n %.neg5 = sext i32 %narrow to i64\n %13 = add i64 %9, %.neg5\n %14 = mul i32 %5, 4\n %15 = sext i32 %14 to i64\n %16 = icmp slt i64 %13, %15\n br i1 %16, label LBL_1, label LBL_2\n LBL_1:\n %17 = add i64 %4, 24\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_2:\n %21 = icmp slt i32 %5, 0\n %22 = zext i1 %21 to i32\n %23 = add i32 %22, %5\n %24 = ashr i32 %23, 1\n %25 = add i64 %4, 16\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = urem i32 %27, 2\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_6, label LBL_3\n LBL_3:\n %30 = icmp sgt i32 %23, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %30, label LBL_4, label LBL_13\n LBL_4:\n %31 = add i64 %4, 32\n %32 = inttoptr i64 %31 to i64*\n %33 = add i64 %4, 40\n %34 = inttoptr i64 %33 to i64*\n %35 = sext i32 %24 to i64\n store i64 0, i64* %indvars.iv13.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem\n %36 = load i64, i64* %32, align 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = load i64, i64* %34, align 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = mul i64 %indvars.iv13.reload, 8\n %43 = add i64 %41, %42\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = sext i32 %45 to i64\n %47 = mul i64 %46, 4\n %48 = add i64 %47, %38\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i32 %50, 1\n store i32 %51, i32* %49, align 4\n %52 = load i64, i64* %32, align 8\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = load i64, i64* %34, align 8\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = or i64 %42, 4\n %59 = add i64 %57, %58\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = sext i32 %61 to i64\n %63 = mul i64 %62, 4\n %64 = add i64 %63, %54\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = add i32 %66, 1\n store i32 %67, i32* %65, align 4\n %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1\n %68 = icmp slt i64 %indvars.iv.next14, %35\n store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %68, label LBL_5, label LBL_13\n LBL_6:\n %69 = add i64 %4, 64\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = icmp eq i64 %71, 0\n %73 = icmp sgt i32 %23, 1\n br i1 %72, label LBL_9, label LBL_7\n LBL_7:\n store i64 0, i64* %storemerge.reg2mem\n br i1 %73, label LBL_8, label LBL_13\n LBL_8:\n %74 = add i64 %4, 32\n %75 = inttoptr i64 %74 to i64*\n %76 = add i64 %4, 40\n %77 = inttoptr i64 %76 to i64*\n %78 = add i64 %4, 56\n %79 = inttoptr i64 %78 to i64*\n %80 = add i64 %4, 48\n %81 = inttoptr i64 %80 to i64*\n %82 = sext i32 %24 to i64\n store i64 0, i64* %indvars.iv11.reg2mem\n br label LBL_11\n LBL_9:\n store i64 0, i64* %storemerge.reg2mem\n br i1 %73, label LBL_10, label LBL_13\n LBL_10:\n %83 = add i64 %4, 56\n %84 = inttoptr i64 %83 to i64*\n %85 = add i64 %4, 40\n %86 = inttoptr i64 %85 to i64*\n %87 = add i64 %4, 48\n %88 = inttoptr i64 %87 to i64*\n %89 = sext i32 %24 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_12\n LBL_11:\n %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem\n %90 = load i64, i64* %75, align 8\n %91 = inttoptr i64 %90 to i64*\n %92 = load i64, i64* %91, align 8\n %93 = load i64, i64* %77, align 8\n %94 = inttoptr i64 %93 to i64*\n %95 = load i64, i64* %94, align 8\n %96 = mul i64 %indvars.iv11.reload, 8\n %97 = add i64 %95, %96\n %98 = inttoptr i64 %97 to i32*\n %99 = load i32, i32* %98, align 4\n %100 = sext i32 %99 to i64\n %101 = mul i64 %100, 4\n %102 = add i64 %101, %92\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = add i32 %104, 1\n store i32 %105, i32* %103, align 4\n %106 = load i64, i64* %79, align 8\n %107 = inttoptr i64 %106 to i64*\n %108 = load i64, i64* %107, align 8\n %109 = load i64, i64* %77, align 8\n %110 = inttoptr i64 %109 to i64*\n %111 = load i64, i64* %110, align 8\n %112 = add i64 %111, %96\n %113 = inttoptr i64 %112 to i32*\n %114 = load i32, i32* %113, align 4\n %115 = sext i32 %114 to i64\n %116 = mul i64 %115, 4\n %117 = add i64 %116, %108\n %118 = inttoptr i64 %117 to i32*\n %119 = load i32, i32* %118, align 4\n %120 = load i64, i64* %81, align 8\n %121 = inttoptr i64 %120 to i64*\n %122 = load i64, i64* %121, align 8\n %123 = add i64 %122, %116\n %124 = inttoptr i64 %123 to i32*\n %125 = load i32, i32* %124, align 4\n %126 = zext i32 %125 to i64\n %127 = call i64 @FUNC(i64 %4, i64 %126, i32 %119)\n %128 = load i64, i64* %75, align 8\n %129 = inttoptr i64 %128 to i64*\n %130 = load i64, i64* %129, align 8\n %131 = load i64, i64* %77, align 8\n %132 = inttoptr i64 %131 to i64*\n %133 = load i64, i64* %132, align 8\n %134 = or i64 %96, 4\n %135 = add i64 %133, %134\n %136 = inttoptr i64 %135 to i32*\n %137 = load i32, i32* %136, align 4\n %138 = sext i32 %137 to i64\n %139 = mul i64 %138, 4\n %140 = add i64 %139, %130\n %141 = inttoptr i64 %140 to i32*\n %142 = load i32, i32* %141, align 4\n %143 = add i32 %142, 1\n store i32 %143, i32* %141, align 4\n %144 = load i64, i64* %79, align 8\n %145 = inttoptr i64 %144 to i64*\n %146 = load i64, i64* %145, align 8\n %147 = load i64, i64* %77, align 8\n %148 = inttoptr i64 %147 to i64*\n %149 = load i64, i64* %148, align 8\n %150 = add i64 %149, %134\n %151 = inttoptr i64 %150 to i32*\n %152 = load i32, i32* %151, align 4\n %153 = sext i32 %152 to i64\n %154 = mul i64 %153, 4\n %155 = add i64 %154, %146\n %156 = inttoptr i64 %155 to i32*\n %157 = load i32, i32* %156, align 4\n %158 = load i64, i64* %81, align 8\n %159 = inttoptr i64 %158 to i64*\n %160 = load i64, i64* %159, align 8\n %161 = add i64 %160, %154\n %162 = inttoptr i64 %161 to i32*\n %163 = load i32, i32* %162, align 4\n %164 = zext i32 %163 to i64\n %165 = call i64 @FUNC(i64 %4, i64 %164, i32 %157)\n %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1\n %166 = icmp slt i64 %indvars.iv.next12, %82\n store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %166, label LBL_11, label LBL_13\n LBL_12:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %167 = load i64, i64* %84, align 8\n %168 = inttoptr i64 %167 to i64*\n %169 = load i64, i64* %168, align 8\n %170 = load i64, i64* %86, align 8\n %171 = inttoptr i64 %170 to i64*\n %172 = load i64, i64* %171, align 8\n %173 = mul i64 %indvars.iv.reload, 8\n %174 = add i64 %172, %173\n %175 = inttoptr i64 %174 to i32*\n %176 = load i32, i32* %175, align 4\n %177 = sext i32 %176 to i64\n %178 = mul i64 %177, 4\n %179 = add i64 %178, %169\n %180 = inttoptr i64 %179 to i32*\n %181 = load i32, i32* %180, align 4\n %182 = load i64, i64* %88, align 8\n %183 = inttoptr i64 %182 to i64*\n %184 = load i64, i64* %183, align 8\n %185 = add i64 %184, %178\n %186 = inttoptr i64 %185 to i32*\n %187 = load i32, i32* %186, align 4\n %188 = zext i32 %187 to i64\n %189 = call i64 @FUNC(i64 %4, i64 %188, i32 %181)\n %190 = load i64, i64* %84, align 8\n %191 = inttoptr i64 %190 to i64*\n %192 = load i64, i64* %191, align 8\n %193 = load i64, i64* %86, align 8\n %194 = inttoptr i64 %193 to i64*\n %195 = load i64, i64* %194, align 8\n %196 = or i64 %173, 4\n %197 = add i64 %195, %196\n %198 = inttoptr i64 %197 to i32*\n %199 = load i32, i32* %198, align 4\n %200 = sext i32 %199 to i64\n %201 = mul i64 %200, 4\n %202 = add i64 %201, %192\n %203 = inttoptr i64 %202 to i32*\n %204 = load i32, i32* %203, align 4\n %205 = load i64, i64* %88, align 8\n %206 = inttoptr i64 %205 to i64*\n %207 = load i64, i64* %206, align 8\n %208 = add i64 %207, %201\n %209 = inttoptr i64 %208 to i32*\n %210 = load i32, i32* %209, align 4\n %211 = zext i32 %210 to i64\n %212 = call i64 @FUNC(i64 %4, i64 %211, i32 %204)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %213 = icmp slt i64 %indvars.iv.next, %89\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %213, label LBL_12, label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %201, { 1, 0 }\n uselistorder i64 %178, { 1, 0 }\n uselistorder i64 %154, { 1, 0 }\n uselistorder i64 %116, { 1, 0 }\n uselistorder i64 %96, { 0, 2, 1 }\n uselistorder i1 %73, { 1, 0 }\n uselistorder i32 %24, { 2, 1, 0 }\n uselistorder i32 %5, { 2, 1, 0 }\n uselistorder i64 %4, { 9, 13, 3, 6, 12, 11, 10, 5, 4, 8, 7, 15, 2, 1, 14, 16, 17, 0, 18 }\n uselistorder i64* %indvars.iv13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 6, 5, 1, 4, 7 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i32)* @put_bits, { 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 4, { 0, 8, 1, 2, 3, 9, 4, 5, 6, 10, 7 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_13, { 2, 1, 5, 4, 0, 3, 6 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__kmalloc_8979", "fun_name": "__kmalloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = icmp ult i64 %arg1, 4097\n %2 = icmp ne i1 %1, true\n %3 = icmp eq i1 %2, false\n %4 = and i64 %0, 4294967295\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1, i64 %4)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1, i64 %4)\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = icmp eq i1 %10, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_4\n LBL_3:\n %12 = sext i32 %arg3 to i64\n %13 = trunc i64 %0 to i32\n %14 = call i64 @FUNC(i64 %6, i32 %13, i64 4294967295, i64 %12)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i1 false, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_logfile_16313", "fun_name": "hmp_logfile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %1)\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "h2_shutr_10918", "fun_name": "h2_shutr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_19, label LBL_1\n LBL_1:\n %5 = trunc i64 %1 to i32\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %5, label LBL_2 [\n i32 0, label LBL_19\n i32 1, label LBL_17\n i32 2, label LBL_171\n ]\n LBL_2:\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %.pre5 = add i64 %2, 8\n %.pre6 = inttoptr i64 %.pre5 to i64*\n store i32 %8, i32* %.reg2mem\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = load i64, i64* %.pre6, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %2)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 1\n br i1 %15, label LBL_12, label LBL_3.LBL_5_crit_edge\n LBL_4:\n %.pre = load i32, i32* %7, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %16 = and i32 %.reload, 2\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_8, label LBL_6\n LBL_6:\n %19 = load i64, i64* %.pre6, align 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = urem i32 %21, 4\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC(i64 %19, i64 %2)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 1\n br i1 %27, label LBL_12, label LBL_8\n LBL_8:\n %28 = load i64, i64* %.pre6, align 8\n %29 = add i64 %28, 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_11, label LBL_9\n LBL_9:\n %35 = inttoptr i64 %28 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = urem i32 %36, 2\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i64 %28)\n br label LBL_11\n LBL_11:\n %41 = call i64 @FUNC(i64 %2)\n br label LBL_12\n LBL_12:\n %42 = add i64 %2, 16\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, %42\n %46 = icmp eq i1 %45, false\n store i64 %44, i64* %rax.0.reg2mem\n br i1 %46, label LBL_19, label LBL_13\n LBL_13:\n %47 = load i32, i32* %7, align 4\n %48 = and i32 %47, 4\n %49 = icmp eq i32 %48, 0\n br i1 %49, label LBL_15, label LBL_14\n LBL_14:\n %50 = add i64 %2, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = add i64 %52, 16\n store i64 %53, i64* %43, align 8\n %54 = load i64, i64* %51, align 8\n %55 = add i64 %54, 24\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = add i64 %2, 24\n %59 = inttoptr i64 %58 to i64*\n store i64 %57, i64* %59, align 8\n %60 = load i64, i64* %51, align 8\n %61 = add i64 %60, 24\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = inttoptr i64 %63 to i64*\n store i64 %42, i64* %64, align 8\n %65 = load i64, i64* %51, align 8\n %66 = add i64 %65, 24\n %67 = inttoptr i64 %66 to i64*\n store i64 %42, i64* %67, align 8\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_15:\n %68 = and i32 %47, 24\n %69 = icmp eq i32 %68, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %69, label LBL_19, label LBL_16\n LBL_16:\n %70 = add i64 %2, 8\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = add i64 %72, 32\n store i64 %73, i64* %43, align 8\n %74 = load i64, i64* %71, align 8\n %75 = add i64 %74, 40\n %76 = inttoptr i64 %75 to i64*\n %77 = load i64, i64* %76, align 8\n %78 = add i64 %2, 24\n %79 = inttoptr i64 %78 to i64*\n store i64 %77, i64* %79, align 8\n %80 = load i64, i64* %71, align 8\n %81 = add i64 %80, 40\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n %84 = inttoptr i64 %83 to i64*\n store i64 %42, i64* %84, align 8\n %85 = load i64, i64* %71, align 8\n %86 = add i64 %85, 40\n %87 = inttoptr i64 %86 to i64*\n store i64 %42, i64* %87, align 8\n store i64 %85, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_17:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_18:\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %43, { 1, 0, 2 }\n uselistorder i64 %42, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64 %28, { 1, 0, 2 }\n uselistorder i32* %7, { 1, 0, 2 }\n uselistorder i64 %2, { 3, 4, 2, 5, 6, 7, 8, 10, 1, 9, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 5, 3, 6, 7, 8 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i32 2, { 0, 3, 1, 2 }\n uselistorder label LBL_19, { 1, 2, 4, 5, 6, 7, 0, 3 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alloc_scratch_buffers_634", "fun_name": "alloc_scratch_buffers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = sub i32 0, %3\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = select i1 %6, i32 %4, i32 %3\n %8 = add i32 %7, 63\n %9 = and i32 %8, -32\n %10 = mul i32 %9, 96\n %11 = sext i32 %10 to i64\n %12 = add i64 %2, 16\n %13 = add i64 %2, 8\n %14 = call i64 @FUNC(i64 %13, i64 %12, i64 %11)\n %15 = mul i32 %9, 42\n %16 = sext i32 %15 to i64\n %17 = add i64 %2, 32\n %18 = add i64 %2, 24\n %19 = call i64 @FUNC(i64 %18, i64 %17, i64 %16)\n %sext = mul i64 %1, 206158430208\n %20 = ashr exact i64 %sext, 31\n %21 = add i64 %2, 56\n %22 = add i64 %2, 40\n %23 = call i64 @FUNC(i64 %22, i64 %21, i64 %20)\n %24 = add i64 %2, 64\n %25 = add i64 %2, 48\n %26 = call i64 @FUNC(i64 %25, i64 %24, i64 %20)\n %27 = inttoptr i64 %13 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_4, label LBL_1\n LBL_1:\n %30 = inttoptr i64 %18 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_4, label LBL_2\n LBL_2:\n %33 = inttoptr i64 %22 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n br i1 %35, label LBL_4, label LBL_3\n LBL_3:\n %36 = inttoptr i64 %25 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %39, label LBL_5, label LBL_4\n LBL_4:\n %40 = call i64 @FUNC(i64 %13)\n %41 = call i64 @FUNC(i64 %18)\n %42 = call i64 @FUNC(i64 %22)\n %43 = call i64 @FUNC(i64 %25)\n %44 = inttoptr i64 %12 to i64*\n store i64 0, i64* %44, align 8\n %45 = inttoptr i64 %17 to i64*\n store i64 0, i64* %45, align 8\n %46 = inttoptr i64 %21 to i64*\n store i64 0, i64* %46, align 8\n %47 = inttoptr i64 %24 to i64*\n store i64 0, i64* %47, align 8\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %25, { 1, 0, 2 }\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %18, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @av_fast_mallocz, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @av_fast_malloc, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_writepage_finish_10215", "fun_name": "fuse_writepage_finish", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 24\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %11 = call i64 @FUNC(i64 %2, i64 0)\n %12 = load i64, i64* %10, align 8\n %13 = mul i64 %.reload, 8\n %14 = add i64 %12, %13\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16, i64 0)\n %18 = call i64 @FUNC(i64 %2)\n %19 = add i32 %storemerge1.reload, 1\n %20 = load i32, i32* %6, align 4\n %21 = zext i32 %20 to i64\n %22 = sext i32 %19 to i64\n %23 = icmp slt i64 %22, %21\n store i64 %22, i64* %.reg2mem\n store i32 %19, i32* %storemerge1.reg2mem\n br i1 %23, label LBL_2, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %1)\n ret i64 %24\n\n uselistorder i32* %6, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "h2c_send_rst_stream_10303", "fun_name": "h2c_send_rst_stream", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 3\n %7 = icmp eq i1 %6, false\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_1, label LBL_9\n LBL_1:\n %8 = ptrtoint i32* %arg2 to i64\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = or i32 %14, 1\n store i32 %15, i32* %13, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %16 = call i64 @FUNC(i64 %2, i64 %3)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = add i64 %2, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = or i32 %21, 10\n store i32 %22, i32* %20, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %23 = call i64* @memcpy(i64* nonnull %sv_3, i64* nonnull @gv_0, i32 5)\n %24 = and i64 %1, 4294967295\n %25 = call i64 @FUNC(i64* nonnull %sv_2, i64 %24)\n %26 = call i64 @FUNC(i64* nonnull %sv_1, i64 7)\n %27 = call i64 @FUNC(i64* nonnull %sv_3, i64 13)\n %28 = call i64 @FUNC(i64 %16, i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 1\n %31 = zext i1 %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i64 %28, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_9, label LBL_6\n LBL_6:\n %35 = icmp eq i32 %29, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_8, label LBL_7\n LBL_7:\n %37 = add i64 %2, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = or i32 %39, 12\n store i32 %40, i32* %38, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %41 = call i64 @FUNC(i64 %2, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %42 = and i64 %sv_0.0.reload, 4294967295\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 2, 0, 4, 3, 5, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64*, i64)* @write_n32, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Curl_detach_connnection_6844", "fun_name": "Curl_detach_connnection", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = add i64 %arg1, 8\n %2 = call i64 @FUNC(i64 %arg1, i64 %1, i64 0)\n %3 = call i64 @FUNC(i64 %arg1, i64 %arg1)\n br label LBL_2\n LBL_2:\n %4 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %4, align 8\n ret i64 %arg1\n\n uselistorder i64 %arg1, { 2, 3, 5, 1, 4, 0, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "exynos4210_combiner_init_229", "fun_name": "exynos4210_combiner_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1, i64 4198741, i64 1)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %4 = mul i64 %indvars.iv.reload, 4\n %5 = add i64 %4, %2\n %6 = call i64 @FUNC(i64 %0, i64 %5)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %7 = call i64 @FUNC(i64 %2)\n %8 = add i64 %2, 16\n %9 = call i64 @FUNC(i64 %8, i64 %7, i64* nonnull @gv_0, i64 %2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 1024)\n %10 = call i64 @FUNC(i64 %0, i64 %8)\n ret i64 0\n\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "archive_entry_xattr_add_entry_18428", "fun_name": "archive_entry_xattr_add_entry", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %storemerge1.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %3 = add i64 %storemerge1.reload, 24\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %storemerge1.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_2:\n %8 = call i64* @malloc(i32 32)\n %9 = ptrtoint i64* %8 to i64\n %10 = icmp eq i64* %8, null\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_7, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %arg2 to i8*\n %12 = call i8* @strdup(i8* %11)\n %13 = ptrtoint i8* %12 to i64\n store i64 %13, i64* %8, align 8\n %14 = trunc i64 %arg4 to i32\n %15 = call i64* @malloc(i32 %14)\n %16 = ptrtoint i64* %15 to i64\n %17 = add i64 %9, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = icmp eq i64* %15, null\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = inttoptr i64 %arg3 to i64*\n %21 = call i64* @memcpy(i64* nonnull %15, i64* %20, i32 %14)\n %22 = add i64 %9, 16\n %23 = inttoptr i64 %22 to i64*\n store i64 %arg4, i64* %23, align 8\n store i64 %16, i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_5:\n %24 = add i64 %9, 16\n %25 = inttoptr i64 %24 to i64*\n store i64 0, i64* %25, align 8\n store i64 %arg4, i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %26 = add i64 %9, 24\n %27 = inttoptr i64 %26 to i64*\n store i64 %rdi.0.reload, i64* %27, align 8\n store i64 %9, i64* %arg1, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %15, { 1, 0, 2 }\n uselistorder i64 %9, { 2, 3, 4, 1, 5, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i64* null, { 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "recover_2575", "fun_name": "recover", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %7, label LBL_6, label LBL_1\n LBL_1:\n %8 = zext i32 %6 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %9 = mul i64 %.reload, 16\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp ugt i64 %12, %arg2\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %3, i64 %12, i64 0)\n %16 = icmp slt i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_6\n LBL_4:\n %18 = add i64 %3, 8\n %19 = add i64 %18, %9\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %24 = add i32 %storemerge2.reload, 1\n %25 = sext i32 %24 to i64\n %26 = icmp slt i64 %25, %8\n store i64 %25, i64* %.reg2mem\n store i32 %24, i32* %storemerge2.reg2mem\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %26, label LBL_2, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder label LBL_6, { 0, 3, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ToPropertyDescriptor_7147", "fun_name": "ToPropertyDescriptor", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %1 = call i64 @FUNC(i64 %arg1, i64 %arg4)\n %2 = call i64 @FUNC(i64 %arg1, i64 4294967295, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i32 0, i32* %sv_4.0.reg2mem\n store i32 0, i32* %sv_3.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1, i64 4294967295)\n %6 = trunc i64 %5 to i32\n %7 = call i64 @FUNC(i64 %arg1, i64 1)\n store i32 1, i32* %sv_4.0.reg2mem\n store i32 %6, i32* %sv_3.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %8 = call i64 @FUNC(i64 %arg1, i64 4294967295, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %arg1, i64 4294967295)\n %12 = trunc i64 %11 to i32\n %13 = call i64 @FUNC(i64 %arg1, i64 1)\n store i32 %12, i32* %sv_2.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %14 = call i64 @FUNC(i64 %arg1, i64 4294967295, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %arg1, i64 4294967295)\n %18 = trunc i64 %17 to i32\n %19 = call i64 @FUNC(i64 %arg1, i64 1)\n store i32 %18, i32* %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %20 = call i64 @FUNC(i64 %arg1, i64 4294967295, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %arg1, i64 4294967293, i64 %arg3, i64 0)\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %24 = call i64 @FUNC(i64 %arg1, i64 4294967295, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_11, label LBL_9\n LBL_9:\n %27 = or i32 %sv_0.0.reload, %sv_4.0.reload\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_12, label LBL_10\n LBL_10:\n %29 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_12\n LBL_11:\n %30 = call i64 @FUNC(i64 %arg1)\n br label LBL_12\n LBL_12:\n %31 = call i64 @FUNC(i64 %arg1, i64 4294967294, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0))\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_15, label LBL_13\n LBL_13:\n %34 = or i32 %sv_0.0.reload, %sv_4.0.reload\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_16, label LBL_14\n LBL_14:\n %36 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_16\n LBL_15:\n %37 = call i64 @FUNC(i64 %arg1)\n br label LBL_16\n LBL_16:\n %38 = icmp eq i32 %sv_3.0.reload, 0\n %spec.select = zext i1 %38 to i32\n %39 = icmp eq i32 %sv_2.0.reload, 0\n %40 = icmp eq i1 %39, false\n %41 = or i32 %spec.select, 2\n %sv_5.1 = select i1 %40, i32 %spec.select, i32 %41\n %42 = icmp eq i32 %sv_1.0.reload, 0\n %43 = icmp eq i1 %42, false\n %44 = or i32 %sv_5.1, 4\n %spec.select4 = select i1 %43, i32 %sv_5.1, i32 %44\n %45 = call i64 @FUNC(i64 %arg1, i64 4294967292, i64 %arg3, i32 %spec.select4)\n %46 = call i64 @FUNC(i64 %arg1, i64 2)\n ret i64 %46\n\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %sv_4.0.reload, { 1, 0 }\n uselistorder i64 (i64)* @js_pushundefined, { 1, 0 }\n uselistorder i64 (i64, i8*)* @js_typeerror, { 1, 0 }\n uselistorder i64 (i64, i64)* @js_pop, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @js_toboolean, { 2, 1, 0 }\n uselistorder i32 0, { 9, 10, 11, 5, 7, 6, 8, 0, 12, 1, 13, 2, 14, 3, 4, 15 }\n uselistorder i64 (i64, i64, i8*)* @js_hasproperty, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @js_pushobject, { 1, 0 }\n uselistorder i32 1, { 6, 11, 12, 10, 9, 8, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64 %arg1, { 10, 9, 11, 8, 12, 13, 7, 14, 6, 15, 5, 4, 16, 3, 2, 17, 1, 0, 18, 19, 20 }\n uselistorder label LBL_16, { 1, 2, 0 }\n uselistorder label LBL_12, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "http_connect_11281", "fun_name": "http_connect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %2, 48\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %12, label LBL_3, label LBL_21\n LBL_3:\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %15)\n %18 = load i64, i64* %14, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 0, i64* %14, align 8\n %20 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %20, align 4\n br label LBL_5\n LBL_5:\n %21 = add i64 %2, 16\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n %25 = add i64 %2, 32\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %2, 24\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %31 = call i64 @FUNC(i64 %13, i64 %30, i32 %27)\n store i64 %31, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_7:\n %32 = call i64 @FUNC(i64 %13, i64 %30, i32 %27)\n %33 = load i32, i32* %26, align 4\n %34 = load i64, i64* %29, align 8\n %35 = call i64 @FUNC(i64 %13, i64 %34, i32 %33)\n store i64 %35, i64* %storemerge.in.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %36 = icmp slt i32 %storemerge, 0\n %37 = icmp eq i1 %36, false\n store i32 %storemerge, i32* %rax.0.shrunk.reg2mem\n br i1 %37, label LBL_9, label LBL_21\n LBL_9:\n %38 = load i64, i64* %14, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_12, label LBL_10\n LBL_10:\n %42 = load i32, i32* %22, align 4\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n %45 = add i64 %2, 40\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = zext i1 %44 to i64\n %51 = call i64 @FUNC(i64 %49, i64 %50, i64* nonnull %sv_2)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_12, label LBL_11\n LBL_11:\n %55 = load i64, i64* %sv_2, align 8\n %56 = load i64, i64* %14, align 8\n %57 = call i64 @FUNC(i64 %56, i64 %55)\n %58 = trunc i64 %57 to i32\n %59 = load i64, i64* %sv_2, align 8\n %60 = call i64 @FUNC(i64 %59)\n %61 = icmp slt i32 %58, 0\n %62 = icmp eq i1 %61, false\n store i32 %58, i32* %rax.0.shrunk.reg2mem\n br i1 %62, label LBL_12, label LBL_21\n LBL_12:\n %63 = load i64, i64* %14, align 8\n %64 = call i64 @FUNC(i64 %63)\n %65 = trunc i64 %64 to i32\n %66 = icmp ne i32 %65, 0\n %67 = icmp eq i32 %65, -1\n %68 = icmp eq i1 %67, false\n %or.cond = icmp eq i1 %66, %68\n store i32 %65, i32* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_19, label LBL_13\n LBL_13:\n %69 = add i64 %2, 40\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = add i64 %71, 8\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = icmp eq i64 %74, 0\n store i32 %65, i32* %sv_0.0.reg2mem\n br i1 %75, label LBL_19, label LBL_14\n LBL_14:\n %76 = load i64, i64* %14, align 8\n %77 = call i64 @FUNC(i64 %76)\n %78 = trunc i64 %77 to i32\n %79 = icmp eq i32 %78, 0\n store i32 %65, i32* %sv_0.0.reg2mem\n br i1 %79, label LBL_19, label LBL_15\n LBL_15:\n %80 = load i64, i64* %14, align 8\n %81 = bitcast i32* %sv_1 to i64*\n %82 = call i64 @FUNC(i64* nonnull %81, i64 %80)\n %83 = trunc i64 %82 to i32\n %84 = icmp slt i32 %83, 0\n %85 = icmp eq i1 %84, false\n store i32 %83, i32* %rax.0.shrunk.reg2mem\n br i1 %85, label LBL_16, label LBL_21\n LBL_16:\n %86 = call i64 @FUNC()\n %87 = load i32, i32* %sv_1, align 4\n %88 = icmp slt i32 %87, 0\n %89 = icmp eq i1 %88, false\n store i32 %87, i32* %sv_0.0.reg2mem\n br i1 %89, label LBL_19, label LBL_17\n LBL_17:\n %90 = call i64 @FUNC()\n %91 = icmp eq i64 %90, 0\n %92 = icmp eq i1 %91, false\n store i32 %87, i32* %rax.0.shrunk.reg2mem\n br i1 %92, label LBL_21, label LBL_18\n LBL_18:\n %93 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n store i32 %87, i32* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_19:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %94 = icmp slt i32 %sv_0.0.reload, 0\n %95 = icmp eq i1 %94, false\n store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %95, label LBL_20, label LBL_21\n LBL_20:\n %96 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %96, align 4\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %87, { 1, 0, 2, 3 }\n uselistorder i32 %65, { 1, 2, 0, 3, 4 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i32 %27, { 1, 0 }\n uselistorder i64* %14, { 3, 4, 5, 2, 6, 0, 1, 7 }\n uselistorder i64* %sv_2, { 1, 2, 0 }\n uselistorder i64 %2, { 2, 1, 4, 5, 3, 6, 0, 7 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 8, 1, 3, 2, 4, 5, 6, 7 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6, 7, 8 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 14, 15, 16 }\n uselistorder label LBL_21, { 7, 0, 2, 1, 3, 4, 5, 6 }\n uselistorder label LBL_19, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs4_proc_setlk_7926", "fun_name": "nfs4_proc_setlk", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %2 = and i64 %arg2, 4294967295\n store i32 0, i32* %sv_0, align 4\n br label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %1, i64 %2, i64 %0)\n %4 = call i64 @FUNC(i64 %1)\n %5 = and i64 %3, 4294967295\n %6 = call i64 @FUNC(i64 %4, i64 %5, i32* nonnull %sv_0)\n %7 = load i32, i32* %sv_0, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_1, label LBL_2\n LBL_2:\n %10 = and i64 %6, 4294967295\n ret i64 %10\n\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_get_fd_2328", "fun_name": "qemu_get_fd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mcf_config_inline_17612", "fun_name": "mcf_config_inline", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %5 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 1)\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %3, 24\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %5, i64 %9, i64 0, i64 0)\n %11 = call i64 @FUNC(i64 %5)\n %12 = call i64 @FUNC(i64 %5)\n %13 = icmp eq i64 %12, 0\n store i64 0, i64* %rdx.0.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %5)\n %15 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 0, i64 %2, i64 %1)\n store i64 %14, i64* %rdx.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %16 = call i64 @FUNC(i64 %5)\n %17 = icmp eq i64 %10, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %rdx.0.reload, i64 0, i64 %2, i64 %1)\n %20 = call i64 @FUNC(i64 %4, i64 1)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %21 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %rdx.0.reload, i64 0, i64 %2, i64 %1)\n %22 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %23 = icmp slt i32 %22, 0\n %.pre = add i64 %3, 16\n %.pre2 = inttoptr i64 %.pre to i64*\n br i1 %23, label LBL_7, label LBL_5\n LBL_5:\n %24 = load i64, i64* %.pre2, align 8\n %25 = bitcast i32* %sv_0 to i64*\n %26 = call i64 @FUNC(i64* nonnull %25, i64* nonnull %sv_1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %24, i64 %10)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = load i32, i32* %sv_0, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %4, i64 %30)\n %32 = load i64, i64* %sv_1, align 8\n %33 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %32, i64 %24, i64 %10, i64 %1)\n %34 = load i64, i64* %sv_1, align 8\n %35 = inttoptr i64 %34 to i64*\n call void @free(i64* %35)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %36 = load i64, i64* %.pre2, align 8\n %37 = call i64 @FUNC(i64 %36, i64 %10)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rdx.0.reload, { 1, 0 }\n uselistorder i64 %10, { 2, 0, 1, 3 }\n uselistorder i64 %5, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %sv_1, { 1, 2, 0 }\n uselistorder i64 %4, { 2, 1, 3, 4, 5, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @cli_result, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @cli_out, { 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sfb_dump_4270", "fun_name": "sfb_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n store i64 %5, i64* %arg1, align 8\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_define_shared_msr_9485", "fun_name": "kvm_define_shared_msr", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = icmp ult i32 %0, 256\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %2 = load i32, i32* @gv_0, align 4\n %3 = icmp ugt i32 %2, %0\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n %4 = add i32 %0, 1\n store i32 %4, i32* @gv_0, align 4\n br label LBL_4\n LBL_4:\n %5 = trunc i64 %arg2 to i32\n %6 = mul i64 %arg1, 4\n %7 = and i64 %6, 17179869180\n %8 = add i64 %7, ptrtoint (i32** @gv_1 to i64)\n %9 = inttoptr i64 %8 to i32*\n store i32 %5, i32* %9, align 4\n %10 = call i64 @FUNC()\n ret i64 %10\n\n uselistorder i32 %0, { 1, 0, 2 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "callchain_init_4080", "fun_name": "callchain_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 %3, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 %3, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 %7, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 %7, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = add i64 %0, 64\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n ret i64 %0\n\n uselistorder i64 %7, { 0, 2, 1 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 9, 8, 10 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cirrus_bitblt_videotovideo_copy_5322", "fun_name": "cirrus_bitblt_videotovideo_copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = add i64 %2, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %2, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = sub i32 %15, %18\n %20 = sub i32 %6, %18\n %21 = zext i32 %12 to i64\n %22 = zext i32 %19 to i64\n %23 = call i64 @FUNC(i64 %2, i32 %20, i64 %22, i64 %21, i32 %9)\n store i64 %23, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 4, 2, 3, 1, 0, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mobi_search_links_kf7_6484", "fun_name": "mobi_search_links_kf7", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.3.be.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.117.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.020.reg2mem = alloca i64\n %sv_0.323.reg2mem = alloca i64\n %sv_2.125.reg2mem = alloca i8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n store i64 0, i64* %arg1, align 8\n %6 = add i64 %3, 16\n %7 = inttoptr i64 %6 to i8*\n store i8 0, i8* %7, align 1\n %8 = icmp ne i64 %arg2, 0\n %9 = icmp eq i64 %arg3, 0\n %10 = icmp eq i1 %9, false\n %or.cond7 = icmp eq i1 %8, %10\n br i1 %or.cond7, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64* nonnull @gv_1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_4:\n %12 = call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0))\n %13 = sext i32 %12 to i64\n %14 = call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0))\n %15 = sext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %13, i64 %15)\n %17 = add i64 %16, %arg2\n %18 = icmp ugt i64 %17, %arg3\n %19 = icmp ugt i64 %arg2, %arg3\n %or.cond32 = or i1 %19, %18\n store i8 60, i8* %sv_2.125.reg2mem\n store i64 %arg2, i64* %sv_0.323.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond32, label LBL_21, label LBL_5\n LBL_5:\n %sv_0.323.reload = load i64, i64* %sv_0.323.reg2mem\n %sv_2.125.reload = load i8, i8* %sv_2.125.reg2mem\n %20 = inttoptr i64 %sv_0.323.reload to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp ne i8 %21, 60\n %23 = icmp eq i8 %21, 62\n %24 = icmp eq i1 %23, false\n %or.cond9 = icmp eq i1 %22, %24\n %spec.select13 = select i1 %or.cond9, i8 %sv_2.125.reload, i8 %21\n %25 = add i64 %sv_0.323.reload, %16\n %26 = icmp ugt i64 %25, %arg3\n br i1 %26, label LBL_19, label LBL_6\n LBL_6:\n %27 = inttoptr i64 %sv_0.323.reload to i64*\n %28 = call i32 @memcmp(i64* %27, i64* bitcast ([9 x i8]* @gv_3 to i64*), i32 %12)\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = call i32 @memcmp(i64* %27, i64* bitcast ([10 x i8]* @gv_4 to i64*), i32 %14)\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_19, label LBL_8\n LBL_8:\n %33 = icmp eq i8 %spec.select13, 60\n store i64 %25, i64* %sv_0.3.be.reg2mem\n br i1 %33, label LBL_9, label LBL_20\n LBL_9:\n %34 = icmp ult i64 %sv_0.323.reload, %arg2\n store i64 %sv_0.323.reload, i64* %sv_0.020.reg2mem\n store i64 %sv_0.323.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %34, label LBL_12, label LBL_11\n LBL_10:\n %35 = add i64 %sv_0.020.reload, -1\n %36 = icmp ult i64 %35, %arg2\n store i64 %35, i64* %sv_0.020.reg2mem\n store i64 %35, i64* %sv_0.0.lcssa.reg2mem\n br i1 %36, label LBL_12, label LBL_11\n LBL_11:\n %sv_0.020.reload = load i64, i64* %sv_0.020.reg2mem\n %37 = call i16** @__ctype_b_loc()\n %38 = load i16*, i16** %37, align 8\n %39 = ptrtoint i16* %38 to i64\n %40 = inttoptr i64 %sv_0.020.reload to i8*\n %41 = load i8, i8* %40, align 1\n %42 = zext i8 %41 to i64\n %43 = mul i64 %42, 2\n %44 = add i64 %43, %39\n %45 = inttoptr i64 %44 to i16*\n %46 = load i16, i16* %45, align 2\n %47 = and i16 %46, 8192\n %48 = icmp eq i16 %47, 0\n %49 = icmp eq i8 %41, 60\n %50 = icmp eq i1 %49, false\n %or.cond11 = icmp eq i1 %50, %48\n store i64 %sv_0.020.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %or.cond11, label LBL_10, label LBL_12\n LBL_12:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %51 = add i64 %sv_0.0.lcssa.reload, 1\n store i64 %51, i64* %arg1, align 8\n %52 = icmp ugt i64 %51, %arg3\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %51, i64* %sv_0.117.reg2mem\n store i64 %51, i64* %sv_0.2.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n br i1 %52, label LBL_18, label LBL_14\n LBL_13:\n %53 = add i64 %sv_0.117.reload, 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %54 = add i64 %indvars.iv.reload, %6\n %55 = inttoptr i64 %54 to i8*\n store i8 %61, i8* %55, align 1\n %56 = icmp ugt i64 %53, %arg3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %53, i64* %sv_0.117.reg2mem\n store i64 %53, i64* %sv_0.2.reg2mem\n store i64 %indvars.iv.next, i64* %sv_1.1.reg2mem\n br i1 %56, label LBL_18, label LBL_14\n LBL_14:\n %sv_0.117.reload = load i64, i64* %sv_0.117.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %57 = call i16** @__ctype_b_loc()\n %58 = load i16*, i16** %57, align 8\n %59 = ptrtoint i16* %58 to i64\n %60 = inttoptr i64 %sv_0.117.reload to i8*\n %61 = load i8, i8* %60, align 1\n %62 = zext i8 %61 to i64\n %63 = mul i64 %62, 2\n %64 = add i64 %63, %59\n %65 = inttoptr i64 %64 to i16*\n %66 = load i16, i16* %65, align 2\n %67 = and i16 %66, 8192\n %68 = icmp eq i16 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_16, label LBL_15\n LBL_15:\n %70 = icmp ne i8 %61, 62\n %71 = icmp ult i64 %indvars.iv.reload, 256\n %or.cond = icmp eq i1 %71, %70\n br i1 %or.cond, label LBL_13, label LBL_16\n LBL_16:\n %72 = add i64 %sv_0.117.reload, -1\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %75 = icmp eq i8 %74, 47\n %76 = icmp eq i1 %75, false\n store i64 %sv_0.117.reload, i64* %sv_0.2.reg2mem\n store i64 %indvars.iv.reload, i64* %sv_1.1.reg2mem\n br i1 %76, label LBL_18, label LBL_17\n LBL_17:\n %77 = icmp eq i8 %61, 62\n %78 = icmp eq i1 %77, false\n %spec.select = select i1 %78, i64 %sv_0.117.reload, i64 %72\n %not. = icmp ne i1 %78, true\n %79 = sext i1 %not. to i64\n %spec.select12 = add i64 %indvars.iv.reload, %79\n store i64 %spec.select, i64* %sv_0.2.reg2mem\n store i64 %spec.select12, i64* %sv_1.1.reg2mem\n br label LBL_18\n LBL_18:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n store i64 %sv_0.2.reload, i64* %5, align 8\n %sext = mul i64 %sv_1.1.reload, 4294967296\n %80 = ashr exact i64 %sext, 32\n %81 = add i64 %80, %6\n %82 = inttoptr i64 %81 to i8*\n store i8 0, i8* %82, align 1\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_19:\n %83 = add i64 %sv_0.323.reload, 1\n store i64 %83, i64* %sv_0.3.be.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.3.be.reload = load i64, i64* %sv_0.3.be.reg2mem\n %84 = icmp ugt i64 %sv_0.3.be.reload, %arg3\n store i8 %spec.select13, i8* %sv_2.125.reg2mem\n store i64 %sv_0.3.be.reload, i64* %sv_0.323.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %84, label LBL_21, label LBL_5\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.3.be.reload, { 1, 0 }\n uselistorder i8 %61, { 0, 2, 3, 1 }\n uselistorder i64 %indvars.iv.reload, { 4, 0, 2, 1, 3 }\n uselistorder i64 %sv_0.117.reload, { 4, 0, 3, 1, 2 }\n uselistorder i64 %sv_0.323.reload, { 4, 0, 1, 6, 2, 5, 3 }\n uselistorder i8* %sv_2.125.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.323.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.020.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.117.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %sv_0.3.be.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 5, 3 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i8 62, { 2, 1, 0 }\n uselistorder i8 60, { 1, 3, 2, 0 }\n uselistorder i64 1, { 3, 2, 4, 5, 1, 0 }\n uselistorder i64 (i8*, i64*)* @debug_print, { 1, 0 }\n uselistorder i64 %arg3, { 6, 5, 1, 3, 0, 4, 2 }\n uselistorder i64 %arg2, { 4, 3, 0, 2, 1, 5 }\n uselistorder i64* %arg1, { 0, 1, 3, 2 }\n uselistorder label LBL_21, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_18, { 2, 3, 0, 1 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "target_get_monitor_def_15940", "fun_name": "target_get_monitor_def", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %sext = mul i32 %4, 16777216\n %5 = ashr exact i32 %sext, 24\n %6 = call i32 @tolower(i32 %5)\n %7 = icmp eq i32 %6, 114\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = ptrtoint i8* %arg2 to i64\n %10 = add i64 %9, 1\n %11 = bitcast i32* %sv_0 to i64*\n %12 = call i64 @FUNC(i64 %10, i64 32, i64* nonnull %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = load i32, i32* %sv_0, align 4\n %16 = sext i32 %15 to i64\n %17 = mul i64 %16, 8\n %18 = add i64 %17, %3\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %20, i64* %arg3, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_3:\n %21 = call i32 @tolower(i32 %5)\n %22 = icmp eq i32 %21, 102\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_4\n LBL_4:\n %24 = ptrtoint i8* %arg2 to i64\n %25 = add i64 %24, 1\n %26 = bitcast i32* %sv_0 to i64*\n %27 = call i64 @FUNC(i64 %25, i64 32, i64* nonnull %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = load i32, i32* %sv_0, align 4\n %31 = sext i32 %30 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %3, 256\n %34 = add i64 %33, %32\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n store i64 %36, i64* %arg3, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %37 = mul i64 %indvars.iv.reload, 8\n %38 = add i64 %37, %3\n %39 = add i64 %38, 1024\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = icmp eq i64 %41, 0\n br i1 %42, label LBL_10, label LBL_8\n LBL_8:\n %43 = inttoptr i64 %41 to i8*\n %44 = call i32 @strcasecmp(i8* %arg2, i8* %43)\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_10, label LBL_9\n LBL_9:\n %47 = add i64 %38, 768\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n store i64 %49, i64* %arg3, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %50 = icmp ult i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %50, label LBL_7, label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i32* %sv_0, { 1, 3, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 (i64, i64, i64*)* @ppc_cpu_get_reg_num, { 1, 0 }\n uselistorder i64 32, { 1, 2, 3, 0 }\n uselistorder i8* %arg2, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "theora_decode_header_36", "fun_name": "theora_decode_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i64\n %r8.1.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %3, i64 24)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %4, 12\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = and i64 %5, 4294967295\n %10 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %2, i64 %1)\n %11 = load i32, i32* %8, align 4\n %12 = icmp ult i32 %11, 197120\n br i1 %12, label LBL_1, label LBL_2\n LBL_1:\n %13 = add i64 %4, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 1, i32* %14, align 4\n %15 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i64 %3, i64 16)\n %17 = trunc i64 %16 to i32\n %18 = mul i32 %17, 16\n %19 = bitcast i64* %arg1 to i32*\n store i32 %18, i32* %19, align 4\n %20 = bitcast i64* %rdi to i32*\n %21 = load i32, i32* %20, align 8\n %22 = call i64 @FUNC(i64 %3, i64 16)\n %23 = trunc i64 %22 to i32\n %24 = mul i32 %23, 16\n %25 = add i64 %4, 4\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = load i32, i32* %20, align 8\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28, i32 %24, i64 0, i64 %4)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_4, label LBL_3\n LBL_3:\n %32 = load i32, i32* %26, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %28, i64 %33, i64 %1)\n store i32 0, i32* %26, align 4\n store i32 0, i32* %19, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_4:\n %35 = load i32, i32* %8, align 4\n %36 = icmp ult i32 %35, 197120\n store i32 0, i32* %sv_3.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n store i32 %21, i32* %sv_1.0.reg2mem\n store i32 %24, i32* %sv_0.0.reg2mem\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %37 = call i64 @FUNC(i64 %3, i64 24)\n %38 = trunc i64 %37 to i32\n %39 = call i64 @FUNC(i64 %3, i64 24)\n %40 = trunc i64 %39 to i32\n %41 = call i64 @FUNC(i64 %3, i64 8)\n %42 = trunc i64 %41 to i32\n %43 = call i64 @FUNC(i64 %3, i64 8)\n %44 = trunc i64 %43 to i32\n store i32 %42, i32* %sv_3.0.reg2mem\n store i32 %44, i32* %sv_2.0.reg2mem\n store i32 %38, i32* %sv_1.0.reg2mem\n store i32 %40, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %45 = call i64 @FUNC(i64 %3, i64 32)\n %46 = trunc i64 %45 to i32\n %47 = call i64 @FUNC(i64 %3, i64 32)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %46, 0\n %50 = icmp eq i32 %48, 0\n %or.cond = or i1 %49, %50\n store i64 %4, i64* %rcx.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %51 = add i64 %4, 8\n %52 = and i64 %45, 4294967295\n %53 = and i64 %47, 4294967295\n %54 = call i64 @FUNC(i64 %51, i64 %7, i64 %53, i64 %52, i64 1073741824)\n store i64 %52, i64* %rcx.0.reg2mem\n store i64 1073741824, i64* %r8.0.reg2mem\n br label LBL_8\n LBL_8:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %55 = call i64 @FUNC(i64 %3, i64 24)\n %56 = trunc i64 %55 to i32\n %57 = call i64 @FUNC(i64 %3, i64 24)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %56, 0\n %60 = icmp eq i32 %58, 0\n %or.cond3 = or i1 %59, %60\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.reg2mem\n br i1 %or.cond3, label LBL_10, label LBL_9\n LBL_9:\n %61 = add i64 %4, 20\n %62 = add i64 %4, 16\n %63 = and i64 %57, 4294967295\n %64 = and i64 %55, 4294967295\n %65 = call i64 @FUNC(i64 %62, i64 %61, i64 %64, i64 %63, i64 1073741824)\n store i64 %63, i64* %rcx.1.reg2mem\n store i64 1073741824, i64* %r8.1.reg2mem\n br label LBL_10\n LBL_10:\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %66 = load i32, i32* %8, align 4\n %67 = icmp ult i32 %66, 197120\n br i1 %67, label LBL_11, label LBL_12\n LBL_11:\n %68 = call i64 @FUNC(i64 %3, i64 5)\n br label LBL_12\n LBL_12:\n %69 = call i64 @FUNC(i64 %3, i64 8)\n %70 = call i64 @FUNC(i64 %3, i64 24)\n %71 = call i64 @FUNC(i64 %3, i64 6)\n %72 = load i32, i32* %8, align 4\n %73 = icmp ult i32 %72, 197120\n store i64 %28, i64* %.pre-phi.reg2mem\n store i32 %27, i32* %.reg2mem\n br i1 %73, label LBL_16, label LBL_13\n LBL_13:\n %74 = call i64 @FUNC(i64 %3, i64 5)\n %75 = call i64 @FUNC(i64 %3, i64 2)\n %sext = mul i64 %75, 4294967296\n %76 = ashr exact i64 %sext, 30\n %77 = add i64 %76, ptrtoint (i32** @gv_3 to i64)\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = add i64 %4, 24\n %81 = inttoptr i64 %80 to i32*\n store i32 %79, i32* %81, align 4\n %82 = icmp eq i32 %79, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_15, label LBL_14\n LBL_14:\n %84 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 %rcx.1.reload, i64 %r8.1.reload, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_15:\n %85 = call i64 @FUNC(i64 %3, i64 3)\n %.pre = load i32, i32* %20, align 8\n %.pre8 = zext i32 %.pre to i64\n store i64 %.pre8, i64* %.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem\n br label LBL_16\n LBL_16:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %86 = sext i32 %sv_1.0.reload to i64\n %87 = icmp slt i64 %.pre-phi.reload, %86\n br i1 %87, label LBL_22, label LBL_17\n LBL_17:\n %.reload = load i32, i32* %.reg2mem\n %88 = add i32 %.reload, -15\n %89 = zext i32 %88 to i64\n %90 = icmp slt i64 %86, %89\n br i1 %90, label LBL_22, label LBL_18\n LBL_18:\n %91 = load i32, i32* %26, align 4\n %92 = zext i32 %91 to i64\n %93 = sext i32 %sv_0.0.reload to i64\n %94 = icmp sgt i64 %93, %92\n br i1 %94, label LBL_22, label LBL_19\n LBL_19:\n %95 = add i32 %91, -15\n %96 = zext i32 %95 to i64\n %97 = icmp slt i64 %93, %96\n %98 = icmp eq i32 %sv_3.0.reload, 0\n %99 = icmp eq i1 %98, false\n %or.cond5 = or i1 %99, %97\n br i1 %or.cond5, label LBL_22, label LBL_20\n LBL_20:\n %100 = sub i32 %91, %sv_0.0.reload\n %101 = icmp eq i32 %sv_2.0.reload, %100\n %102 = icmp eq i1 %101, false\n br i1 %102, label LBL_22, label LBL_21\n LBL_21:\n %103 = zext i32 %sv_1.0.reload to i64\n %104 = call i64 @FUNC(i64 %4, i64 %103, i32 %sv_0.0.reload)\n br label LBL_23\n LBL_22:\n %105 = load i32, i32* %26, align 4\n %106 = call i64 @FUNC(i64 %4, i64 %.pre-phi.reload, i32 %105)\n br label LBL_23\n LBL_23:\n %107 = trunc i64 %69 to i32\n %108 = icmp eq i32 %107, 1\n %109 = icmp eq i1 %108, false\n br i1 %109, label LBL_25, label LBL_24\n LBL_24:\n %110 = add i64 %4, 28\n %111 = inttoptr i64 %110 to i32*\n store i32 1, i32* %111, align 4\n br label LBL_27\n LBL_25:\n %112 = icmp eq i32 %107, 2\n %113 = icmp eq i1 %112, false\n br i1 %113, label LBL_27, label LBL_26\n LBL_26:\n %114 = add i64 %4, 28\n %115 = inttoptr i64 %114 to i32*\n store i32 2, i32* %115, align 4\n br label LBL_27\n LBL_27:\n %116 = icmp ne i32 %107, 1\n %117 = icmp eq i32 %107, 2\n %118 = icmp eq i1 %117, false\n %or.cond7 = icmp eq i1 %116, %118\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond7, label LBL_29, label LBL_28\n LBL_28:\n %119 = add i64 %4, 32\n %120 = inttoptr i64 %119 to i32*\n store i32 3, i32* %120, align 4\n %121 = add i64 %4, 36\n %122 = inttoptr i64 %121 to i32*\n store i32 4, i32* %122, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_29:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %107, { 0, 1, 3, 2 }\n uselistorder i64 %86, { 1, 0 }\n uselistorder i32* %26, { 3, 2, 0, 1, 4 }\n uselistorder i32 %24, { 0, 2, 1 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %4, { 10, 11, 9, 8, 12, 7, 5, 6, 4, 3, 2, 0, 1, 13, 14, 15, 16, 17, 18 }\n uselistorder i64 %3, { 4, 6, 5, 9, 8, 7, 10, 12, 11, 14, 13, 1, 0, 3, 2, 15, 16, 17 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i32)* @avcodec_set_dimensions, { 1, 0 }\n uselistorder i64 (i64, i64)* @skip_bits, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @av_reduce, { 1, 0 }\n uselistorder i64 1073741824, { 0, 2, 1, 3 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder i64 8, { 0, 3, 1, 2, 4 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64 (i64, i64)* @get_bits_long, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 24, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "padb_Read_7903", "fun_name": "padb_Read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %6, align 4\n %7 = bitcast i64* %rdi to i32*\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = load i32, i32* %7, align 8\n %13 = icmp eq i32 %12, 0\n store i32 %12, i32* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %13, label LBL_4, label LBL_1\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %14 = call i64 @FUNC(i64 %2, i64 1)\n %15 = or i32 %storemerge1.reload, 1\n %16 = icmp ult i32 %15, %.reload\n %17 = icmp eq i1 %16, false\n %18 = call i64 @FUNC(i64 %2, i64 3)\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %19 = load i64, i64* %11, align 8\n %20 = zext i32 %15 to i64\n %21 = add i64 %19, %20\n %22 = trunc i64 %18 to i8\n %23 = inttoptr i64 %21 to i8*\n store i8 %22, i8* %23, align 1\n br label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %2, i64 1)\n %25 = call i64 @FUNC(i64 %2, i64 3)\n %26 = load i64, i64* %11, align 8\n %27 = zext i32 %storemerge1.reload to i64\n %28 = add i64 %26, %27\n %29 = trunc i64 %25 to i8\n %30 = inttoptr i64 %28 to i8*\n store i8 %29, i8* %30, align 1\n %31 = add i32 %storemerge1.reload, 2\n %32 = load i32, i32* %7, align 8\n %33 = icmp ult i32 %31, %32\n store i32 %32, i32* %.reg2mem\n store i32 %31, i32* %storemerge1.reg2mem\n br i1 %33, label LBL_1, label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i32 %storemerge1.reload, { 1, 2, 0 }\n uselistorder i64* %11, { 1, 0, 2 }\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3, 4 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__qeth_l2_set_offline_3858", "fun_name": "__qeth_l2_set_offline", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n store i64 %1, i64* %sv_0, align 8\n %2 = add i64 %1, 16\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %1, 56\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 0, i64 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 0, i64 3, i64* nonnull %sv_0, i64 8)\n %8 = load i64, i64* %sv_0, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_3, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %10)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = load i64, i64* %sv_0, align 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n br label LBL_3\n LBL_3:\n %sext = mul i64 %arg2, 4294967296\n %19 = ashr exact i64 %sext, 32\n %20 = load i64, i64* %sv_0, align 8\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = trunc i64 %19 to i32\n %25 = icmp ne i32 %24, 0\n %.pre3 = add i64 %20, 12\n %.pre4 = inttoptr i64 %.pre3 to i32*\n %.pre6 = load i32, i32* %.pre4, align 4\n %26 = icmp eq i32 %.pre6, 0\n %or.cond.not = or i1 %26, %25\n %27 = icmp eq i32 %.pre6, 2\n %28 = icmp eq i1 %27, false\n %or.cond9 = icmp eq i1 %or.cond.not, %28\n store i64 %20, i64* %.reg2mem\n br i1 %or.cond9, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i64 @FUNC(i64 %20, i64 1)\n %30 = load i64, i64* %sv_0, align 8\n %31 = add i64 %30, 12\n %32 = inttoptr i64 %31 to i32*\n store i32 1, i32* %32, align 4\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %33 = and i64 %19, 4294967295\n %34 = call i64 @FUNC(i64 %.reload, i64 %33)\n %35 = load i64, i64* %sv_0, align 8\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i64 @FUNC(i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = load i64, i64* %sv_0, align 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = trunc i64 %43 to i32\n %45 = load i64, i64* %sv_0, align 8\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = call i64 @FUNC(i64 %47)\n %49 = icmp eq i32 %39, 0\n %50 = icmp eq i1 %49, false\n %51 = trunc i64 %48 to i32\n %52 = icmp eq i32 %44, 0\n %storemerge.in = select i1 %52, i32 %51, i32 %44\n %sv_1.0 = select i1 %50, i32 %39, i32 %storemerge.in\n %53 = icmp eq i32 %sv_1.0, 0\n br i1 %53, label LBL_7, label LBL_6\n LBL_6:\n %54 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n %55 = load i64, i64* %sv_0, align 8\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = call i64 @FUNC(i64 %57)\n %59 = icmp eq i32 %23, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_9, label LBL_8\n LBL_8:\n %61 = load i64, i64* %sv_0, align 8\n %62 = add i64 %61, 8\n %63 = inttoptr i64 %62 to i32*\n store i32 1, i32* %63, align 4\n br label LBL_9\n LBL_9:\n %64 = call i64 @FUNC(i64 %0, i64 0)\n %65 = load i64, i64* %sv_0, align 8\n %66 = add i64 %65, 56\n %67 = call i64 @FUNC(i64 %66)\n %68 = load i64, i64* %sv_0, align 8\n %69 = add i64 %68, 16\n %70 = call i64 @FUNC(i64 %69)\n ret i64 0\n\n uselistorder i32 %44, { 1, 0 }\n uselistorder i64 %20, { 2, 0, 1, 3 }\n uselistorder i64* %sv_0, { 2, 3, 4, 5, 6, 7, 8, 0, 9, 10, 11, 12, 1, 13 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64)* @ccw_device_set_offline, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i64 (i64, i64, i8*)* @QETH_DBF_TEXT, { 1, 0 }\n uselistorder i64 (i64)* @mutex_lock, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mobi_buffer_move_5843", "fun_name": "mobi_buffer_move", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %arg2 to i32\n %6 = sub i32 0, %5\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = select i1 %8, i32 %6, i32 %5\n %10 = sext i32 %9 to i64\n %11 = add i64 %4, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, %4\n %15 = icmp slt i32 %5, 0\n br i1 %15, label LBL_4, label LBL_1\n LBL_1:\n %16 = add i64 %13, %arg3\n %17 = add i64 %16, %10\n %18 = add i64 %4, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp ugt i64 %17, %20\n br i1 %21, label LBL_2, label LBL_3\n LBL_2:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %3, i64 %2, i64 %1)\n %23 = add i64 %4, 24\n %24 = inttoptr i64 %23 to i32*\n store i32 -1, i32* %24, align 4\n br label LBL_9\n LBL_3:\n %25 = add i64 %14, %10\n store i64 %25, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_4:\n %26 = icmp ult i64 %13, %10\n store i64 %4, i64* %rdx.0.reg2mem\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = add i64 %13, %arg3\n %28 = add i64 %4, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp ugt i64 %27, %30\n store i64 %27, i64* %rdx.0.reg2mem\n br i1 %31, label LBL_6, label LBL_7\n LBL_6:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %rdx.0.reload, i64 %3, i64 %2, i64 %1)\n %33 = add i64 %4, 24\n %34 = inttoptr i64 %33 to i32*\n store i32 -1, i32* %34, align 4\n br label LBL_9\n LBL_7:\n %35 = sub i64 %14, %10\n store i64 %35, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %36 = inttoptr i64 %14 to i64*\n %37 = inttoptr i64 %storemerge.reload to i64*\n %38 = trunc i64 %arg3 to i32\n %39 = call i64* @memmove(i64* %36, i64* %37, i32 %38)\n %40 = load i64, i64* %12, align 8\n %41 = add i64 %40, %arg3\n store i64 %41, i64* %12, align 8\n br label LBL_9\n LBL_9:\n ret i64 %4\n\n uselistorder i64 %14, { 1, 2, 0 }\n uselistorder i64 %13, { 0, 3, 1, 2 }\n uselistorder i64* %12, { 1, 0, 2 }\n uselistorder i64 %10, { 3, 2, 0, 1 }\n uselistorder i32 %5, { 2, 0, 1 }\n uselistorder i64 %4, { 2, 6, 5, 0, 3, 4, 1, 7 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @debug_print, { 1, 0 }\n uselistorder i64 %arg3, { 0, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "padb_dump_9434", "fun_name": "padb_dump", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %4 = trunc i64 %1 to i32\n %5 = and i64 %1, 4294967295\n %6 = inttoptr i64 %arg2 to %_IO_FILE*\n %7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %5)\n %8 = icmp eq i32 %4, 0\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %11 = load i64, i64* %10, align 8\n %12 = mul i64 %indvars.iv.reload, 4\n %13 = add i64 %11, %12\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0), i64 %16)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %5\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i32 @fwrite(i64* bitcast ([36 x i8]* @gv_3 to i64*), i32 1, i32 35, %_IO_FILE* %6)\n br label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %arg2)\n ret i64 0\n\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ath9k_update_p2p_ps_18199", "fun_name": "ath9k_update_p2p_ps", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %2, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = trunc i64 %1 to i32\n %12 = and i64 %1, 4294967295\n %13 = icmp eq i32 %11, 1\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_2\n LBL_2:\n %15 = add i64 %2, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = add i64 %3, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 %6, i64* %20, align 8\n %21 = call i64 @FUNC(i64 %3)\n %22 = trunc i64 %21 to i32\n %23 = add i64 %2, 8\n %24 = call i64 @FUNC(i64 %23, i64 %6, i32 %22)\n %25 = call i64 @FUNC(i64 %3, i64 %6)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_4, { 3, 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "view_scroll_4162", "fun_name": "view_scroll", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_1.014.reg2mem = alloca i32\n %sv_0.015.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64* %arg2, null\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_25\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = trunc i64 %2 to i32\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 32\n %9 = icmp eq i64 %8, %5\n %10 = sub i32 0, %6\n %11 = add i32 %6, %arg4\n store i32 0, i32* %arg3, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp slt i32 %11, 0\n %14 = icmp eq i1 %13, false\n %15 = icmp eq i1 %12, false\n %16 = icmp eq i1 %14, %15\n store i32 %11, i32* %sv_1.1.reg2mem\n store i32 %10, i32* %sv_0.1.reg2mem\n br i1 %16, label LBL_2, label LBL_10\n LBL_2:\n %17 = icmp eq i1 %9, false\n %18 = add i64 %7, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = add i64 %7, 24\n %21 = inttoptr i64 %20 to i32*\n %22 = add i64 %5, 8\n %23 = inttoptr i64 %22 to i64*\n store i32 %10, i32* %sv_0.015.reg2mem\n store i32 %11, i32* %sv_1.014.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.014.reload = load i32, i32* %sv_1.014.reg2mem\n %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem\n %24 = call i64 @FUNC(i64 %7, i64 %5)\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n %25 = load i64, i64* %19, align 8\n %26 = icmp eq i64 %25, %5\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_5\n LBL_5:\n %28 = load i32, i32* %21, align 4\n %29 = zext i32 %28 to i64\n %30 = sext i32 %sv_1.014.reload to i64\n %31 = icmp slt i64 %30, %29\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n store i32 %28, i32* %arg3, align 4\n %32 = load i32, i32* %21, align 4\n %33 = add i32 %32, %sv_0.015.reload\n store i32 0, i32* %sv_1.1.reg2mem\n store i32 %33, i32* %sv_0.1.reg2mem\n br label LBL_10\n LBL_7:\n %34 = trunc i64 %24 to i32\n %35 = sub i32 %sv_1.014.reload, %34\n %36 = icmp slt i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %38 = add i32 %sv_1.014.reload, %sv_0.015.reload\n store i32 %sv_1.014.reload, i32* %arg3, align 4\n store i32 0, i32* %sv_1.1.reg2mem\n store i32 %38, i32* %sv_0.1.reg2mem\n br label LBL_10\n LBL_9:\n %39 = add i32 %sv_0.015.reload, %34\n %40 = load i64, i64* %23, align 8\n store i64 %40, i64* %arg2, align 8\n %41 = icmp eq i32 %35, 0\n %42 = icmp eq i1 %41, false\n store i32 %39, i32* %sv_0.015.reg2mem\n store i32 %35, i32* %sv_1.014.reg2mem\n store i32 %35, i32* %sv_1.1.reg2mem\n store i32 %39, i32* %sv_0.1.reg2mem\n br i1 %42, label LBL_3, label LBL_10\n LBL_10:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %43 = add i64 %5, 16\n %44 = inttoptr i64 %43 to i64*\n store i32 %sv_1.1.reload, i32* %sv_1.2.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_13\n LBL_11:\n store i64 %53, i64* %arg2, align 8\n %45 = call i64 @FUNC(i64 %7, i64 %5)\n %46 = trunc i64 %45 to i32\n %47 = sub i32 %sv_0.2.reload, %46\n %48 = add i32 %sv_1.2.reload, %46\n %49 = icmp slt i32 %48, 1\n store i32 %48, i32* %sv_1.2.reg2mem\n store i32 %47, i32* %sv_0.2.reg2mem\n br i1 %49, label LBL_13, label LBL_12\n LBL_12:\n %50 = add i32 %sv_0.2.reload, %sv_1.2.reload\n store i32 %48, i32* %arg3, align 4\n store i32 %50, i32* %sv_0.3.reg2mem\n br label LBL_15\n LBL_13:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %51 = icmp slt i32 %sv_1.2.reload, 0\n %52 = icmp eq i1 %51, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n br i1 %52, label LBL_15, label LBL_14\n LBL_14:\n %53 = load i64, i64* %44, align 8\n %54 = icmp eq i64 %53, 0\n %55 = icmp eq i1 %54, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n br i1 %55, label LBL_11, label LBL_15\n LBL_15:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %56 = icmp eq i1 %9, false\n %57 = icmp eq i32 %sv_0.3.reload, 0\n %or.cond = or i1 %56, %57\n br i1 %or.cond, label LBL_24, label LBL_16\n LBL_16:\n %58 = add i64 %7, 8\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = icmp eq i64 %60, 0\n br i1 %61, label LBL_24, label LBL_17\n LBL_17:\n %62 = sub i64 0, %1\n %63 = and i64 %62, 4294967295\n %64 = sext i32 %sv_0.3.reload to i64\n %65 = icmp slt i64 %63, %64\n %66 = and i64 %1, 4294967295\n %67 = icmp sgt i64 %66, %64\n %or.cond5 = icmp eq i1 %65, %67\n br i1 %or.cond5, label LBL_19, label LBL_18\n LBL_18:\n %68 = call i64 @FUNC(i64 %7)\n br label LBL_24\n LBL_19:\n %69 = call i64 @FUNC(i64 %60, i64 1)\n %70 = load i64, i64* %59, align 8\n %71 = zext i32 %sv_0.3.reload to i64\n %72 = call i64 @FUNC(i64 %70, i64 %71)\n %73 = load i64, i64* %59, align 8\n %74 = call i64 @FUNC(i64 %73, i64 0)\n %75 = trunc i64 %arg5 to i32\n %76 = icmp eq i32 %75, 0\n br i1 %76, label LBL_23, label LBL_20\n LBL_20:\n %77 = icmp slt i32 %sv_0.3.reload, 0\n %78 = icmp eq i1 %77, false\n br i1 %78, label LBL_22, label LBL_21\n LBL_21:\n %79 = sub i32 0, %sv_0.3.reload\n %80 = zext i32 %79 to i64\n %81 = call i64 @FUNC(i64 %7, i64 %80)\n br label LBL_23\n LBL_22:\n %82 = call i64 @FUNC(i64 %7, i64 %71)\n br label LBL_23\n LBL_23:\n %83 = load i64, i64* %59, align 8\n %84 = call i64 @FUNC(i64 %83)\n br label LBL_24\n LBL_24:\n %85 = sub i32 0, %sv_0.3.reload\n %86 = icmp slt i32 %85, 0\n %87 = icmp eq i1 %86, false\n %88 = select i1 %87, i32 %85, i32 %sv_0.3.reload\n %89 = zext i32 %88 to i64\n store i64 %89, i64* %storemerge.reg2mem\n br label LBL_25\n LBL_25:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_0.3.reload, { 2, 3, 5, 6, 4, 0, 1 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i32 %48, { 1, 0, 2 }\n uselistorder i32 %sv_0.015.reload, { 0, 2, 1 }\n uselistorder i32 %sv_1.014.reload, { 2, 3, 1, 0 }\n uselistorder i32 %11, { 1, 0, 2, 3 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i1 %9, { 1, 0 }\n uselistorder i64 %7, { 3, 2, 1, 4, 0, 7, 6, 5, 8 }\n uselistorder i64 %5, { 2, 3, 0, 5, 4, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.015.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.014.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @scrollok, { 1, 0 }\n uselistorder i64 (i64, i64)* @view_get_linecount, { 1, 0 }\n uselistorder i1 false, { 4, 5, 3, 6, 7, 10, 8, 9, 2, 0, 1, 11 }\n uselistorder i32* %arg3, { 1, 2, 0, 3 }\n uselistorder i64* %arg2, { 1, 0, 3, 2 }\n uselistorder label LBL_25, { 1, 0 }\n uselistorder label LBL_10, { 0, 2, 3, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_set_feature_1268", "fun_name": "nvme_set_feature", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n store i64 4294950912, i64* %storemerge.reg2mem\n switch i32 %5, label LBL_3 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n %11 = urem i64 %10, 2\n %12 = call i64 @FUNC(i64 %9, i64 %11)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = ptrtoint i64* %arg3 to i64\n %15 = add i64 %13, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i32 %17, -2\n %19 = mul i32 %17, 65536\n %20 = add i32 %19, -131072\n %21 = or i32 %20, %18\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = add i64 %14, 4\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xmlStopParser_5222", "fun_name": "xmlStopParser", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %2, align 4\n %3 = add i64 %1, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 1, i32* %4, align 4\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n %7 = add i64 %1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = inttoptr i64 %9 to i64*\n store i64 4202512, i64* %11, align 8\n %12 = load i64, i64* %8, align 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %12, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r128_cce_blit_4283", "fun_name": "r128_cce_blit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i32* %arg3 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %7, i64 %6)\n %12 = call i64 @FUNC(i64 %10)\n %13 = trunc i64 %4 to i32\n %14 = call i32 @getpid()\n %15 = and i64 %4, 4294967295\n %16 = zext i32 %14 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %15, i64 %5, i64 %2, i64 %1)\n %18 = icmp sgt i32 %13, -1\n %19 = trunc i64 %3 to i32\n %20 = icmp ult i32 %13, %19\n %or.cond = icmp eq i1 %18, %20\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %21 = add i64 %3, 4294967295\n %22 = and i64 %21, 4294967295\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %22, i64 %5, i64 %2, i64 %1)\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %24 = call i64 @FUNC(i64 %10)\n %25 = call i64 @FUNC(i64 %10)\n %26 = ptrtoint i32* %arg2 to i64\n %27 = call i64 @FUNC(i64 %7, i64 %6, i64 %26)\n %28 = call i64 @FUNC()\n %29 = and i64 %27, 4294967295\n store i64 %29, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "getsistring_5833", "fun_name": "getsistring", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i32 %arg3, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_10\n LBL_1:\n %2 = icmp ult i32 %arg3, 400\n %spec.select = select i1 %2, i32 %arg3, i32 400\n %3 = add nuw nsw i32 %spec.select, 1\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %9 = trunc i64 %arg2 to i32\n %10 = inttoptr i64 %arg1 to %_IO_FILE*\n %11 = call i32 @fseek(%_IO_FILE* %10, i32 %9, i32 0)\n %12 = inttoptr i64 %5 to i64*\n %13 = call i32 @fread(i64* %12, i32 %spec.select, i32 1, %_IO_FILE* %10)\n %14 = icmp eq i32 %13, 1\n br i1 %14, label LBL_4, label LBL_6\n LBL_4:\n %15 = icmp eq i32 %spec.select, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %15, label LBL_9, label LBL_5\n LBL_5:\n %16 = zext i32 %spec.select to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_7\n LBL_6:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))\n call void @free(i64* %12)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %18 = add i64 %indvars.iv.reload, %5\n %19 = udiv i64 %indvars.iv.reload, 2\n %20 = add i64 %19, %5\n %21 = inttoptr i64 %18 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = inttoptr i64 %20 to i8*\n store i8 %22, i8* %23, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 2\n %24 = icmp ult i64 %indvars.iv.next, %16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %24, label LBL_7, label LBL_8\n LBL_8:\n %phitmp = udiv i64 %indvars.iv.next, 2\n %phitmp4 = urem i64 %phitmp, 2147483648\n store i64 %phitmp4, i64* %storemerge.lcssa.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %25 = add i64 %storemerge.lcssa.reload, %5\n %26 = inttoptr i64 %25 to i8*\n store i8 0, i8* %26, align 1\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.next, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %spec.select, { 0, 1, 3, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 2, { 0, 2, 1 }\n uselistorder i64 (i8*)* @cli_dbgmsg, { 1, 0 }\n uselistorder label LBL_10, { 1, 2, 3, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "udp6_ufo_send_check_7939", "fun_name": "udp6_ufo_send_check", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = trunc i64 %1 to i32\n %13 = call i64 @FUNC(i64 %2)\n %14 = call i64 @FUNC(i64 %2)\n %15 = add i64 %13, 16\n %16 = call i64 @FUNC(i64 %13, i64 %15, i32 %12, i64 17, i64 0)\n %17 = trunc i64 %16 to i16\n %18 = sub i16 0, %17\n %19 = sub i16 %18, 1\n %20 = inttoptr i64 %14 to i16*\n store i16 %19, i16* %20, align 2\n %21 = call i64 @FUNC(i64 %2)\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = sub i64 %21, %24\n %26 = trunc i64 %25 to i32\n %27 = add i64 %2, 24\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %2, 28\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %2, 32\n %32 = inttoptr i64 %31 to i32*\n store i32 1, i32* %32, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 0, 1, 2, 4, 3, 6, 7, 5, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "client_reset_12852", "fun_name": "client_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %2)\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %2, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = call i32 @time(i32* null)\n %9 = sext i32 %8 to i64\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = add i64 %2, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = add i64 %2, 32\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = call i64 @FUNC(i64 64)\n %17 = call i64 @FUNC(i64 64)\n %18 = add i64 %2, 40\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = call i64 @FUNC()\n %21 = call i64 @FUNC()\n %22 = load i64, i64* %19, align 8\n %23 = urem i64 %20, 65536\n %24 = urem i64 %21, 65536\n %25 = call i64 @FUNC(i64 %22, i64 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %24, i64 %23, i64 %1)\n %26 = load i64, i64* %19, align 8\n %27 = call i64 @FUNC(i64 %16, i64 64, i64 %26)\n %28 = call i64 @FUNC(i64 %16)\n %29 = add i64 %2, 48\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n %31 = inttoptr i64 %16 to i64*\n call void @free(i64* %31)\n %32 = call i64 @FUNC(i64 32)\n %33 = add i64 %2, 64\n %34 = inttoptr i64 %33 to i64*\n store i64 %32, i64* %34, align 8\n %35 = call i64 @FUNC(i64 64)\n %36 = add i64 %2, 72\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = add i64 %2, 56\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = icmp eq i64 %40, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %41, label LBL_4, label LBL_1\n LBL_1:\n %42 = inttoptr i64 %40 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = icmp eq i8 %43, 0\n br i1 %44, label LBL_3, label LBL_2\n LBL_2:\n %45 = call i64 @FUNC(i64 16)\n %46 = call i64 @FUNC(i64 32)\n %47 = load i64, i64* %39, align 8\n %48 = call i64 @FUNC(i64 %46, i64 32, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %47, i64 %23, i64 %1)\n %49 = load i64, i64* %39, align 8\n %50 = call i64 @FUNC(i64 %45, i64 16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %49, i64 %46)\n %51 = inttoptr i64 %45 to i64*\n call void @free(i64* %51)\n %52 = inttoptr i64 %46 to i64*\n call void @free(i64* %52)\n br label LBL_3\n LBL_3:\n %53 = call i64 @FUNC(i64 16)\n store i64 %53, i64* %39, align 8\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %39, { 2, 0, 1, 3 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @safe_snprintf, { 1, 0 }\n uselistorder i64 ()* @rand16, { 1, 0 }\n uselistorder i64 64, { 0, 5, 1, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "futex_get_mm_9182", "fun_name": "futex_get_mm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_extendedopt_5990", "fun_name": "add_extendedopt", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n store i64 %arg1, i64* %sv_0, align 8\n %5 = inttoptr i64 %arg1 to i8*\n %6 = call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n call void @exit(i32 0)\n unreachable\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = load i64, i64* %sv_0, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n store i32 %16, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %17 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0))\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = load i64, i64* %sv_0, align 8\n store i64 %21, i64* @gv_5, align 8\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %22 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_6, i64 0, i64 0))\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = load i64, i64* %sv_0, align 8\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n store i32 %28, i32* bitcast (i64* @gv_7 to i32*), align 8\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %29 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_8, i64 0, i64 0), i64 %arg1, i64 %4, i64 %2, i64 %1)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 3, 0, 4, 1, 5, 2, 6 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @parse_flag_value, { 1, 0 }\n uselistorder i64 (i64*, i8*)* @match_extendedopt, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dropbear_log, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i32 1, { 6, 3, 2, 4, 5, 7, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_fsetstat_8530", "fun_name": "process_fsetstat", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.3.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %7 = load i32, i32* %1\n %8 = load i32, i32* %1\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i32, align 4\n %9 = load i64, i64* @gv_0, align 8\n %10 = bitcast i32* %sv_5 to i64*\n %11 = call i64 @FUNC(i64 %9, i64* nonnull %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %11, i64* %sv_1.0.reg2mem\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = load i64, i64* @gv_0, align 8\n %16 = bitcast i32* %sv_4 to i64*\n %17 = call i64 @FUNC(i64 %15, i64* nonnull %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i64 %17, i64* %sv_1.0.reg2mem\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %20 = and i64 %sv_1.0.reload, 4294967295\n %21 = call i64 @FUNC(i64 %20)\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %4, i64 %3, i64 %2)\n unreachable\n LBL_3:\n %23 = and i64 %arg1, 4294967295\n %24 = load i32, i32* %sv_5, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %23, i64 %25, i64 %4, i64 %3, i64 %2)\n %27 = load i32, i32* %sv_5, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i32 1, i32* %sv_0.3.reg2mem\n br i1 %32, label LBL_4, label LBL_16\n LBL_4:\n %33 = load i32, i32* %sv_5, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = load i32, i32* %sv_4, align 4\n %37 = urem i32 %36, 2\n %38 = icmp eq i32 %37, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %38, label LBL_7, label LBL_5\n LBL_5:\n %39 = sext i32 %8 to i64\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i64 %35, i64 %39, i64 %4, i64 %3, i64 %2)\n %41 = call i32 @ftruncate(i32 %30, i32 %8)\n %42 = icmp eq i32 %41, -1\n %43 = icmp eq i1 %42, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %43, label LBL_7, label LBL_6\n LBL_6:\n %44 = call i32* @__errno_location()\n %45 = load i32, i32* %44, align 4\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %46)\n %48 = trunc i64 %47 to i32\n store i32 %48, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %49 = load i32, i32* %sv_4, align 4\n %50 = and i32 %49, 2\n %51 = icmp eq i32 %50, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %51, label LBL_10, label LBL_8\n LBL_8:\n %52 = zext i32 %7 to i64\n %53 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64 %35, i64 %52, i64 %4, i64 %3, i64 %2)\n %54 = urem i32 %7, 4096\n %55 = call i32 @fchmod(i32 %30, i32 %54)\n %56 = icmp eq i32 %55, -1\n %57 = icmp eq i1 %56, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %57, label LBL_10, label LBL_9\n LBL_9:\n %58 = call i32* @__errno_location()\n %59 = load i32, i32* %58, align 4\n %60 = zext i32 %59 to i64\n %61 = call i64 @FUNC(i64 %60)\n %62 = trunc i64 %61 to i32\n store i32 %62, i32* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %63 = load i32, i32* %sv_4, align 4\n %64 = and i32 %63, 4\n %65 = icmp eq i32 %64, 0\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br i1 %65, label LBL_13, label LBL_11\n LBL_11:\n %66 = bitcast i64* %sv_3 to i32*\n %67 = call %tm* @localtime(i32* nonnull %66)\n %68 = ptrtoint %tm* %67 to i64\n %69 = bitcast i64* %sv_2 to i8*\n %70 = call i32 @strftime(i8* nonnull %69, i32 64, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0), %tm* %67)\n %71 = ptrtoint i64* %sv_2 to i64\n %72 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_7, i64 0, i64 0), i64 %35, i64 %71, i64 %68, i64 %3, i64 %2)\n %73 = call i64 @FUNC(i64* nonnull %16)\n %74 = insertvalue %timeval undef, i64 %73, 0\n %75 = insertvalue [2 x %timeval] undef, %timeval %74, 0\n %76 = call i32 @futimes(i32 %30, [2 x %timeval] %75)\n %77 = icmp eq i32 %76, -1\n %78 = icmp eq i1 %77, false\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br i1 %78, label LBL_13, label LBL_12\n LBL_12:\n %79 = call i32* @__errno_location()\n %80 = load i32, i32* %79, align 4\n %81 = zext i32 %80 to i64\n %82 = call i64 @FUNC(i64 %81)\n %83 = trunc i64 %82 to i32\n store i32 %83, i32* %sv_0.2.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %84 = load i32, i32* %sv_4, align 4\n %85 = and i32 %84, 8\n %86 = icmp eq i32 %85, 0\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n br i1 %86, label LBL_16, label LBL_14\n LBL_14:\n %87 = zext i32 %6 to i64\n %88 = zext i32 %5 to i64\n %89 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_8, i64 0, i64 0), i64 %35, i64 %88, i64 %87, i64 %3, i64 %2)\n %90 = call i32 @fchown(i32 %30, i32 %5, i32 %6)\n %91 = icmp eq i32 %90, -1\n %92 = icmp eq i1 %91, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n br i1 %92, label LBL_16, label LBL_15\n LBL_15:\n %93 = call i32* @__errno_location()\n %94 = load i32, i32* %93, align 4\n %95 = zext i32 %94 to i64\n %96 = call i64 @FUNC(i64 %95)\n %97 = trunc i64 %96 to i32\n store i32 %97, i32* %sv_0.3.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %98 = zext i32 %sv_0.3.reload to i64\n %99 = call i64 @FUNC(i64 %23, i64 %98)\n ret i64 %99\n\n uselistorder i64 %35, { 2, 1, 0, 3 }\n uselistorder i32 %30, { 3, 2, 1, 0, 4 }\n uselistorder i32* %sv_5, { 2, 1, 0, 3 }\n uselistorder i32* %sv_4, { 3, 2, 1, 0, 4 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 }\n uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i32* %1, { 3, 2, 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 8, { 3, 0, 1, 2 }\n uselistorder i64 (i64)* @errno_to_portable, { 3, 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @logit, { 3, 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1, 5, 6, 7, 8 }\n uselistorder i32 1, { 8, 15, 16, 18, 17, 13, 12, 11, 10, 9, 7, 6, 19, 5, 2, 14, 20, 4, 1, 21, 3, 0, 22 }\n uselistorder label LBL_16, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__reg_assign_32_into_64_5933", "fun_name": "__reg_assign_32_into_64", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %1, 4294967295\n %4 = add i64 %2, 24\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = add i64 %2, 32\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_3, label LBL_1\n LBL_1:\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = load i64, i64* %13, align 8\n %25 = add i64 %2, 40\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n %27 = load i64, i64* %19, align 8\n %28 = add i64 %2, 48\n %29 = inttoptr i64 %28 to i64*\n store i64 %27, i64* %29, align 8\n br label LBL_4\n LBL_3:\n %30 = add i64 %2, 40\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n %32 = add i64 %2, 48\n %33 = inttoptr i64 %32 to i64*\n store i64 4294967295, i64* %33, align 8\n br label LBL_4\n LBL_4:\n ret i64 %2\n\n uselistorder i64 %2, { 0, 4, 5, 1, 2, 3, 6, 8, 7, 9 }\n uselistorder i64 (i64)* @__reg32_bound_s64, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen9_init_indirectctx_bb_5733", "fun_name": "gen9_init_indirectctx_bb", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %2, 4\n %5 = bitcast i64* %arg2 to i32*\n store i32 3, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %3, i64 %4)\n %7 = call i64 @FUNC(i64 %6, i64 60, i64 48)\n %8 = call i64 @FUNC(i64 %7, i64* nonnull @gv_0, i64 3)\n %9 = urem i64 %1, 2\n %10 = icmp eq i64 %9, 0\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %8, 4\n %12 = inttoptr i64 %8 to i32*\n store i32 64, i32* %12, align 4\n %13 = add i64 %8, 8\n %14 = inttoptr i64 %11 to i32*\n store i32 80, i32* %14, align 4\n %15 = add i64 %8, 12\n %16 = inttoptr i64 %13 to i32*\n store i32 7827456, i32* %16, align 4\n %17 = add i64 %8, 16\n %18 = inttoptr i64 %15 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %8, 20\n %20 = inttoptr i64 %17 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %8, 24\n %22 = inttoptr i64 %19 to i32*\n store i32 0, i32* %22, align 4\n store i64 %21, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = inttoptr i64 %sv_0.0.reload to i32*\n store i32 3, i32* %23, align 4\n %sv_0.11 = add i64 %sv_0.0.reload, 4\n %24 = urem i64 %sv_0.11, 64\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %sv_0.11, i64* %sv_0.12.reg2mem\n store i64 %sv_0.11, i64* %sv_0.1.lcssa.reg2mem\n br i1 %26, label LBL_3, label LBL_4\n LBL_3:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %27 = inttoptr i64 %sv_0.12.reload to i32*\n store i32 0, i32* %27, align 4\n %sv_0.1 = add i64 %sv_0.12.reload, 4\n %28 = urem i64 %sv_0.1, 64\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %sv_0.1, i64* %sv_0.12.reg2mem\n store i64 %sv_0.1, i64* %sv_0.1.lcssa.reg2mem\n br i1 %30, label LBL_3, label LBL_4\n LBL_4:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i64 %sv_0.12.reload, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %8, { 1, 2, 3, 4, 5, 6, 7, 0 }\n uselistorder i64* %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 4, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "msr_seek_9628", "fun_name": "msr_seek", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg3 to i32\n %2 = call i64 @FUNC(i64 %0)\n store i64 -22, i64* %sv_0.0.reg2mem\n switch i32 %1, label LBL_3 [\n i32 0, label LBL_1\n i32 1, label LBL_2\n ]\n LBL_1:\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %arg2, i64* %4, align 8\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %7, %arg2\n store i64 %8, i64* %6, align 8\n store i64 %8, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %9 = call i64 @FUNC(i64 %0)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "timer_del_593", "fun_name": "timer_del", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0, i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 4, 1, 3, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtcp_send_sr_2698", "fun_name": "rtcp_send_sr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, -1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n store i64 %arg2, i64* %2, align 8\n br label LBL_2\n LBL_2:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 %arg2, i64* %7, align 8\n %8 = load i64, i64* %2, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = sub i64 %arg2, %8\n %12 = call i64 @FUNC(i64 %11, i64 4294967296000001, i32 %10)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %0, 28\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i32 %16, %13\n %18 = load i64, i64* %7, align 8\n %19 = call i64 @FUNC(i64 %18, i64 128)\n %20 = load i64, i64* %7, align 8\n %21 = call i64 @FUNC(i64 %20, i64 200)\n %22 = load i64, i64* %7, align 8\n %23 = call i64 @FUNC(i64 %22, i64 6)\n %24 = add i64 %0, 32\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = load i64, i64* %7, align 8\n %28 = zext i32 %26 to i64\n %29 = call i64 @FUNC(i64 %27, i64 %28)\n %30 = load i64, i64* %7, align 8\n %31 = call i64 @FUNC(i64 %30, i64 0)\n %32 = load i64, i64* %7, align 8\n %33 = call i64 @FUNC(i64 %32, i64 0)\n %34 = load i64, i64* %7, align 8\n %35 = zext i32 %17 to i64\n %36 = call i64 @FUNC(i64 %34, i64 %35)\n %37 = add i64 %0, 36\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = load i64, i64* %7, align 8\n %41 = zext i32 %39 to i64\n %42 = call i64 @FUNC(i64 %40, i64 %41)\n %43 = add i64 %0, 40\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = load i64, i64* %7, align 8\n %47 = zext i32 %45 to i64\n %48 = call i64 @FUNC(i64 %46, i64 %47)\n %49 = load i64, i64* %7, align 8\n %50 = call i64 @FUNC(i64 %49)\n ret i64 %50\n\n uselistorder i64* %7, { 1, 0, 2, 4, 3, 5, 6, 7, 9, 8, 10 }\n uselistorder i64 (i64, i64)* @put_be32, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @put_byte, { 1, 0 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aio_bh_poll_14824", "fun_name": "aio_bh_poll", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem17 = alloca i64\n %.reg2mem15 = alloca i64*\n %.reg2mem13 = alloca i64\n %sv_0.2.lcssa.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.22.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = add i32 %3, 1\n store i32 %4, i32* %2, align 4\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n store i64 %0, i64* %storemerge3.reg2mem\n store i32 0, i32* %sv_0.22.reg2mem\n store i32 %4, i32* %.reg2mem\n store i32 0, i32* %sv_0.2.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_6\n LBL_1:\n %sv_0.22.reload = load i32, i32* %sv_0.22.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %7 = call i64 @FUNC()\n %8 = inttoptr i64 %storemerge3.reload to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %storemerge3.reload, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i32 %sv_0.22.reload, i32* %sv_0.1.reg2mem\n br i1 %14, label LBL_4, label LBL_2\n LBL_2:\n %15 = add i64 %storemerge3.reload, 12\n %16 = call i64 @FUNC(i64 %15, i64 0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i32 %sv_0.22.reload, i32* %sv_0.1.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = add i64 %storemerge3.reload, 16\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n %spec.select = select i1 %23, i32 %sv_0.22.reload, i32 1\n store i32 0, i32* %20, align 4\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %24 = icmp eq i64 %9, 0\n %25 = icmp eq i1 %24, false\n store i64 %9, i64* %storemerge3.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.22.reg2mem\n br i1 %25, label LBL_1, label LBL_5\n LBL_5:\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %26 = add i32 %.reload, -1\n store i32 %26, i32* %2, align 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_13, label LBL_7\n LBL_7:\n %29 = add i64 %0, 16\n %30 = call i64 @FUNC(i64 %29)\n %31 = load i64, i64* %arg1, align 8\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %31, i64* %.reg2mem13\n store i64* %arg1, i64** %.reg2mem15\n br i1 %33, label LBL_9, label LBL_12\n LBL_8:\n %34 = icmp eq i64 %41, 0\n %35 = icmp eq i1 %34, false\n store i64 %41, i64* %.reg2mem13\n store i64* %40, i64** %.reg2mem15\n br i1 %35, label LBL_9, label LBL_12\n LBL_9:\n %.reload16 = load i64*, i64** %.reg2mem15\n %.reload14 = load i64, i64* %.reg2mem13\n store i64 %.reload14, i64* %.reg2mem17\n br label LBL_10\n LBL_10:\n %.reload18 = load i64, i64* %.reg2mem17\n %36 = add i64 %.reload18, 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 0\n %40 = inttoptr i64 %.reload18 to i64*\n %41 = load i64, i64* %40, align 8\n br i1 %39, label LBL_8, label LBL_11\n LBL_11:\n store i64 %41, i64* %.reload16, align 8\n %42 = call i64 @FUNC(i64 %.reload18)\n %43 = load i64, i64* %.reload16, align 8\n %44 = icmp eq i64 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 %43, i64* %.reg2mem17\n br i1 %45, label LBL_10, label LBL_12\n LBL_12:\n %46 = call i64 @FUNC(i64 %29)\n br label LBL_13\n LBL_13:\n %47 = zext i32 %sv_0.2.lcssa.reload to i64\n ret i64 %47\n\n uselistorder i64 %41, { 2, 1, 0 }\n uselistorder i64* %40, { 1, 0 }\n uselistorder i64 %.reload18, { 0, 2, 1 }\n uselistorder i64* %.reload16, { 1, 0 }\n uselistorder i64 %storemerge3.reload, { 0, 1, 3, 2 }\n uselistorder i32 %sv_0.22.reload, { 2, 0, 1 }\n uselistorder i32* %2, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.22.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem13, { 0, 2, 1 }\n uselistorder i64** %.reg2mem15, { 0, 2, 1 }\n uselistorder i64* %.reg2mem17, { 1, 0, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 0, { 2, 7, 3, 4, 5, 6, 0, 1 }\n uselistorder i1 false, { 3, 2, 1, 6, 7, 4, 5, 0 }\n uselistorder i64* %arg1, { 0, 2, 1, 3 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "MSLPopImage_6368", "fun_name": "MSLPopImage", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %6, 40\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sext i32 %12 to i64\n %14 = mul i64 %13, 8\n %15 = add i64 %14, %9\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n store i64 %14, i64* %.pre-phi3.reg2mem\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %17)\n store i64 %19, i64* %16, align 8\n %.pre = load i32, i32* %11, align 4\n %.pre1 = sext i32 %.pre to i64\n %.pre2 = mul i64 %.pre1, 8\n store i64 %.pre2, i64* %.pre-phi3.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi3.reload = load i64, i64* %.pre-phi3.reg2mem\n %20 = add i64 %6, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = add i64 %22, %.pre-phi3.reload\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n store i64 %26, i64* %24, align 8\n %27 = add i64 %6, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = load i32, i32* %11, align 4\n %31 = sext i32 %30 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %32, %29\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %35)\n store i64 %36, i64* %34, align 8\n %37 = add i64 %6, 32\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = load i32, i32* %11, align 4\n %41 = sext i32 %40 to i64\n %42 = mul i64 %41, 8\n %43 = add i64 %42, %39\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = call i64 @FUNC(i64 %45)\n store i64 %46, i64* %44, align 8\n %47 = load i32, i32* %11, align 4\n %48 = add i32 %47, -1\n store i32 %48, i32* %11, align 4\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %11, { 2, 1, 3, 4, 0, 5 }\n uselistorder i64 %6, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.pre-phi3.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @DestroyImage, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fdctrl_start_transfer_7799", "fun_name": "fdctrl_start_transfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %.pre-phi10.reg2mem = alloca i8*\n %rsi.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 1\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = urem i8 %3, 4\n %5 = zext i8 %4 to i64\n %6 = call i64 @FUNC(i64 %0, i64 %5)\n %7 = call i64 @FUNC(i64 %0)\n %8 = add i64 %0, 2\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = add i64 %0, 3\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = add i64 %0, 4\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = call i64 @FUNC(i64 %7)\n %18 = add i64 %7, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = and i64 %17, 4294967295\n %22 = zext i8 %13 to i64\n %23 = call i64 @FUNC(i64 %22, i8 %10, i8 %16, i32 %20, i64 %21)\n %24 = call i64 @FUNC(i64 %0)\n %25 = and i64 %23, 4294967295\n %26 = zext i8 %16 to i64\n %27 = zext i8 %10 to i64\n %28 = and i64 %24, 4294967295\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %28, i64 %22, i64 %27, i64 %26, i64 %25)\n %30 = add i64 %0, 32\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = urem i32 %32, 2\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %7, i8 %13, i8 %10, i8 %16, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 4\n br i1 %37, label LBL_6, label LBL_1\n LBL_1:\n %38 = icmp sgt i32 %36, 4\n br i1 %38, label LBL_8, label LBL_2\n LBL_2:\n switch i32 %36, label LBL_3 [\n i32 3, label LBL_5\n i32 1, label LBL_7\n ]\n LBL_3:\n %39 = icmp eq i32 %36, 2\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_8, label LBL_4\n LBL_4:\n %41 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 0)\n store i8 %10, i8* %12, align 1\n store i8 %13, i8* %15, align 1\n %42 = add i64 %0, 5\n %43 = inttoptr i64 %42 to i8*\n store i8 %16, i8* %43, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_5:\n %44 = call i64 @FUNC(i64 %0, i64 1, i64 2, i64 0)\n store i8 %10, i8* %12, align 1\n store i8 %13, i8* %15, align 1\n %45 = add i64 %0, 5\n %46 = inttoptr i64 %45 to i8*\n store i8 %16, i8* %46, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_6:\n %47 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 0)\n store i8 %10, i8* %12, align 1\n store i8 %13, i8* %15, align 1\n %48 = add i64 %0, 5\n %49 = inttoptr i64 %48 to i8*\n store i8 %16, i8* %49, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_7:\n %50 = add i64 %0, 10\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = or i8 %52, 2\n store i8 %53, i8* %51, align 1\n br label LBL_8\n LBL_8:\n %54 = inttoptr i64 %7 to i32*\n %55 = add i64 %0, 11\n %56 = inttoptr i64 %55 to i8*\n %57 = load i8, i8* %56, align 1\n %58 = urem i8 %57, 16\n %59 = zext i8 %58 to i32\n %60 = load i32, i32* %54, align 4\n %61 = icmp eq i32 %60, %59\n br i1 %61, label LBL_10, label LBL_9\n LBL_9:\n %62 = zext i8 %58 to i64\n %63 = zext i32 %60 to i64\n %64 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %62, i64 %63, i64 %62, i64 %34, i64 %25)\n %65 = call i64 @FUNC(i64 %0, i64 1, i64 4, i64 0)\n store i8 %10, i8* %12, align 1\n store i8 %13, i8* %15, align 1\n %66 = add i64 %0, 5\n %67 = inttoptr i64 %66 to i8*\n store i8 %16, i8* %67, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_10:\n %sext = mul i64 %arg2, 4294967296\n %68 = ashr exact i64 %sext, 32\n %69 = trunc i64 %68 to i8\n %70 = add i64 %0, 12\n %71 = inttoptr i64 %70 to i8*\n store i8 %69, i8* %71, align 1\n %72 = add i64 %0, 13\n %73 = inttoptr i64 %72 to i8*\n store i8 0, i8* %73, align 1\n %74 = add i64 %0, 16\n %75 = inttoptr i64 %74 to i8*\n %76 = load i8, i8* %75, align 1\n %77 = urem i8 %76, 2\n %78 = icmp eq i8 %77, 0\n %79 = icmp eq i1 %78, false\n store i64 %26, i64* %rcx.0.reg2mem\n store i64 %22, i64* %rsi.0.reg2mem\n br i1 %79, label LBL_12, label LBL_11\n LBL_11:\n call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_3, i64 0, i64 0), i32 149, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0))\n store i64 ptrtoint ([22 x i8]* @gv_4 to i64), i64* %rcx.0.reg2mem\n store i64 ptrtoint ([55 x i8]* @gv_3 to i64), i64* %rsi.0.reg2mem\n br label LBL_12\n LBL_12:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %80 = bitcast i64* %rdi to i8*\n %81 = load i8, i8* %80, align 8\n %82 = icmp slt i8 %81, 0\n %83 = icmp eq i1 %82, false\n %84 = add i64 %0, 36\n %85 = inttoptr i64 %84 to i8*\n %86 = load i8, i8* %85, align 1\n %87 = or i8 %86, 16\n %88 = and i8 %86, -17\n %storemerge5 = select i1 %83, i8 %88, i8 %87\n store i8 %storemerge5, i8* %85, align 1\n %89 = add i64 %0, 5\n %90 = inttoptr i64 %89 to i8*\n %91 = load i8, i8* %90, align 1\n %92 = icmp eq i8 %91, 0\n %93 = icmp eq i1 %92, false\n br i1 %93, label LBL_14, label LBL_13\n LBL_13:\n %94 = add i64 %0, 8\n %95 = inttoptr i64 %94 to i8*\n %96 = load i8, i8* %95, align 1\n %97 = add i64 %0, 14\n %98 = inttoptr i64 %97 to i8*\n store i8 %96, i8* %98, align 1\n %.pre = add i64 %0, 6\n %.pre9 = inttoptr i64 %.pre to i8*\n store i8* %.pre9, i8** %.pre-phi10.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n br label LBL_15\n LBL_14:\n %99 = icmp ult i8 %91, 7\n %100 = select i1 %99, i8 %91, i8 7\n %101 = zext i8 %100 to i64\n %102 = icmp eq i8 %100, 0\n %103 = zext i8 %100 to i32\n %104 = shl i32 128, %103\n %phitmp = trunc i32 %104 to i8\n %rdx.0 = select i1 %102, i8 -128, i8 %phitmp\n %105 = add i64 %0, 14\n %106 = inttoptr i64 %105 to i8*\n store i8 %rdx.0, i8* %106, align 1\n %107 = add i64 %0, 6\n %108 = inttoptr i64 %107 to i8*\n %109 = load i8, i8* %108, align 1\n %110 = load i8, i8* %80, align 8\n %111 = icmp slt i8 %110, 0\n %112 = icmp eq i1 %111, false\n %113 = select i1 %112, i8 0, i8 %109\n %114 = sub i8 1, %16\n %115 = add i8 %114, %109\n %spec.select = add i8 %115, %113\n %116 = mul i8 %spec.select, %rdx.0\n store i8 %116, i8* %106, align 1\n store i8* %108, i8** %.pre-phi10.reg2mem\n store i64 %101, i64* %rcx.1.reg2mem\n br label LBL_15\n LBL_15:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %.pre-phi10.reload = load i8*, i8** %.pre-phi10.reg2mem\n %117 = load i8, i8* %.pre-phi10.reload, align 1\n %118 = add i64 %0, 15\n %119 = inttoptr i64 %118 to i8*\n store i8 %117, i8* %119, align 1\n %120 = add i64 %0, 17\n %121 = inttoptr i64 %120 to i8*\n %122 = load i8, i8* %121, align 1\n %123 = and i8 %122, 32\n %124 = icmp eq i8 %123, 0\n br i1 %124, label LBL_19, label LBL_16\n LBL_16:\n %125 = zext i8 %16 to i32\n %126 = add i64 %0, 24\n %127 = inttoptr i64 %126 to i64*\n %128 = load i64, i64* %127, align 8\n %129 = call i64 @FUNC(i64 %128)\n %130 = add i64 %0, 14\n %131 = inttoptr i64 %130 to i8*\n %132 = load i8, i8* %131, align 1\n %133 = zext i8 %132 to i64\n %134 = load i8, i8* %90, align 1\n %135 = urem i8 %134, 32\n %136 = icmp eq i8 %135, 0\n %137 = zext i8 %135 to i32\n %138 = shl i32 128, %137\n %storemerge = select i1 %136, i32 128, i32 %138\n %139 = load i32, i32* %19, align 4\n %140 = sub nsw i32 1, %125\n %141 = add i32 %140, %139\n %142 = mul i32 %storemerge, %141\n %143 = zext i32 %142 to i64\n %144 = and i64 %68, 4294967295\n %145 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), i64 %144, i64 %143, i64 %133, i64 %34, i64 %25)\n %146 = load i8, i8* %75, align 1\n %147 = and i8 %146, -5\n store i8 %147, i8* %75, align 1\n %148 = trunc i64 %68 to i32\n %149 = icmp eq i32 %148, 1\n br i1 %149, label LBL_18, label LBL_17\n LBL_17:\n %150 = load i64, i64* %127, align 8\n store i64 %150, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_18:\n %151 = load i8, i8* %131, align 1\n %152 = add i64 %0, 20\n %153 = inttoptr i64 %152 to i32*\n %154 = load i32, i32* %153, align 4\n %155 = zext i8 %151 to i64\n %156 = call i64 @FUNC(i64 %0, i32 %154, i64 0, i64 %155)\n store i64 %156, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_19:\n %157 = zext i8 %117 to i64\n %158 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i64 %rsi.0.reload, i64 %157, i64 %rcx.1.reload, i64 %34, i64 %25)\n %159 = load i8, i8* %75, align 1\n %160 = trunc i64 %68 to i32\n %161 = icmp eq i32 %160, 2\n %spec.select7.v = select i1 %161, i8 6, i8 14\n %spec.select7 = or i8 %159, %spec.select7.v\n store i8 %spec.select7, i8* %75, align 1\n %162 = call i64 @FUNC(i64 %0)\n store i64 %162, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %117, { 1, 0 }\n uselistorder i8 %100, { 1, 0, 2 }\n uselistorder i8 %86, { 1, 0 }\n uselistorder i8* %75, { 0, 3, 2, 1, 4 }\n uselistorder i64 %68, { 2, 0, 1, 3 }\n uselistorder i64 %62, { 1, 0 }\n uselistorder i8 %58, { 1, 0 }\n uselistorder i32 %36, { 1, 0, 2, 3 }\n uselistorder i64 %34, { 2, 1, 0, 3 }\n uselistorder i64 %25, { 2, 1, 0, 3 }\n uselistorder i8 %16, { 1, 0, 4, 2, 3, 5, 6, 7, 8 }\n uselistorder i8* %15, { 2, 3, 1, 0, 4 }\n uselistorder i8 %13, { 2, 3, 1, 0, 4, 5 }\n uselistorder i8* %12, { 2, 3, 1, 0, 4 }\n uselistorder i8 %10, { 2, 3, 1, 0, 4, 5, 6 }\n uselistorder i64 %0, { 15, 13, 12, 14, 17, 16, 18, 19, 20, 4, 23, 22, 21, 24, 25, 26, 28, 2, 10, 11, 27, 7, 3, 29, 30, 1, 8, 9, 0, 5, 6, 31, 32, 33, 34, 35, 36, 37, 38 }\n uselistorder i8** %.pre-phi10.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 7, 2, 1 }\n uselistorder i32 128, { 0, 2, 1 }\n uselistorder i8 7, { 1, 0 }\n uselistorder i64 6, { 1, 0 }\n uselistorder [22 x i8]* @gv_4, { 1, 0 }\n uselistorder [55 x i8]* @gv_3, { 1, 0 }\n uselistorder i8 0, { 2, 3, 0, 5, 1, 6, 7, 4, 8, 9 }\n uselistorder i8 16, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @fdctrl_stop_transfer, { 3, 2, 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FLOPPY_DPRINTF, { 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 3, 4, 5, 6, 0, 1 }\n uselistorder label LBL_8, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "piix3_ide_class_init_2461", "fun_name": "piix3_ide_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 4198662, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 4198669, i64* %5, align 8\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i32*\n store i32 32902, i32* %7, align 4\n %8 = add i64 %0, 28\n %9 = inttoptr i64 %8 to i32*\n store i32 28945, i32* %9, align 4\n %10 = add i64 %0, 32\n %11 = inttoptr i64 %10 to i32*\n store i32 257, i32* %11, align 4\n %12 = add i64 %0, 4\n %13 = call i64 @FUNC(i64 0, i64 %12)\n %14 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %14, align 1\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mpeg_set_erpic_1216", "fun_name": "ff_mpeg_set_erpic", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64* @memset(i64* %arg1, i32 0, i32 40)\n %1 = ptrtoint i64* %0 to i64\n %2 = icmp eq i64* %arg2, null\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n store i64 %3, i64* %arg1, align 8\n %5 = add i64 %3, 4\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = add i64 %3, 8\n %9 = add i64 %4, 24\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = mul i64 %indvars.iv.reload, 4\n %11 = add i64 %8, %10\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add nuw nsw i64 %10, 16\n %15 = add i64 %14, %4\n %16 = inttoptr i64 %15 to i32*\n store i32 %13, i32* %16, align 4\n %17 = add i64 %14, %3\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = add i64 %9, %10\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %22 = add i64 %3, 24\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %4, 32\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = add i64 %3, 28\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %4, 36\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 2, 1, 0 }\n uselistorder i64 %4, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64 %3, { 1, 3, 0, 2, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_thread_ref_frame_2357", "fun_name": "ff_thread_ref_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %3, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16, i64 %13)\n %18 = trunc i64 %17 to i32\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_2, label LBL_1\n LBL_1:\n %21 = and i64 %17, 4294967295\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %22 = add i64 %3, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n %26 = zext i1 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %2, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %31, label LBL_5, label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 %30)\n store i64 %32, i64* %23, align 8\n %33 = icmp eq i64 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_5, label LBL_4\n LBL_4:\n %35 = bitcast i64* %rdi to i32*\n %36 = load i32, i32* %35, align 8\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37, i64 %3)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_init_cpu_signals_3597", "fun_name": "kvm_init_cpu_signals", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i32\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 152)\n store i64 4198806, i64* %sv_1, align 8\n %1 = call i32 @__libc_current_sigrtmin()\n %2 = add i32 %1, 1\n %3 = bitcast i64* %sv_1 to %sigaction*\n %4 = call i32 @sigaction(i32 %2, %sigaction* nonnull %3, %sigaction* null)\n %5 = bitcast i64* %sv_0 to %_TYPEDEF___sigset_t*\n %6 = call i32 @pthread_sigmask(i32 0, %_TYPEDEF___sigset_t* null, %_TYPEDEF___sigset_t* nonnull %5)\n %7 = call i32 @__libc_current_sigrtmin()\n %8 = add i32 %7, 1\n %9 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t*\n %10 = call i32 @sigdelset(%_TYPEDEF_sigset_t* nonnull %9, i32 %8)\n %11 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i32 @pthread_sigmask(i32 2, %_TYPEDEF___sigset_t* nonnull %5, %_TYPEDEF___sigset_t* null)\n %14 = sext i32 %13 to i64\n store i64 %14, i64* %rax.0.reg2mem\n store i32 %13, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %15 = ptrtoint i64* %arg1 to i64\n %16 = call i64 @FUNC(i64 %15, i64* nonnull %sv_0)\n %17 = trunc i64 %16 to i32\n store i64 %16, i64* %rax.0.reg2mem\n store i32 %17, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %18 = icmp eq i32 %storemerge.reload, 0\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = sub i32 0, %storemerge.reload\n %20 = call i8* @strerror(i32 %19)\n %21 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %22 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %21, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8* %20)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i32, %_TYPEDEF___sigset_t*, %_TYPEDEF___sigset_t*)* @pthread_sigmask, { 1, 0 }\n uselistorder i32 ()* @__libc_current_sigrtmin, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_set_systematic_pal_2311", "fun_name": "ff_set_systematic_pal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = and i64 %1, 4294967295\n %trunc = trunc i64 %1 to i32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n store i64 %2, i64* @0, align 8\n %3 = trunc i64 %indvars.iv.reload to i32\n store i32 %3, i32* %sv_2.0.reg2mem\n store i32 %3, i32* %sv_1.0.reg2mem\n store i32 %3, i32* %sv_0.0.reg2mem\n store i64 4294967295, i64* %storemerge4.reg2mem\n switch i32 %trunc, label LBL_7 [\n i32 0, label LBL_2\n i32 1, label LBL_3\n i32 2, label LBL_4\n i32 3, label LBL_5\n i32 4, label LBL_6\n ]\n LBL_2:\n %4 = udiv i32 %3, 32\n %5 = mul i32 %4, 36\n %6 = udiv i32 %3, 4\n %7 = urem i32 %6, 8\n %8 = mul nuw nsw i32 %7, 36\n %9 = urem i32 %3, 4\n %narrow3 = mul nuw nsw i32 %9, 85\n store i32 %5, i32* %sv_2.0.reg2mem\n store i32 %8, i32* %sv_1.0.reg2mem\n store i32 %narrow3, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_3:\n %10 = udiv i32 %3, 64\n %11 = mul i32 %10, 85\n %12 = udiv i32 %3, 8\n %13 = urem i32 %12, 8\n %14 = mul nuw nsw i32 %13, 36\n %15 = urem i32 %3, 8\n %16 = mul nuw nsw i32 %15, 36\n store i32 %16, i32* %sv_2.0.reg2mem\n store i32 %14, i32* %sv_1.0.reg2mem\n store i32 %11, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_4:\n %17 = udiv i32 %3, 8\n %18 = mul i32 %17, 255\n %19 = udiv i32 %3, 2\n %20 = urem i32 %19, 4\n %narrow2 = mul nuw nsw i32 %20, 85\n %21 = urem i32 %3, 2\n %22 = mul nuw nsw i32 %21, 255\n store i32 %18, i32* %sv_2.0.reg2mem\n store i32 %narrow2, i32* %sv_1.0.reg2mem\n store i32 %22, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %23 = udiv i32 %3, 8\n %24 = mul i32 %23, 255\n %25 = udiv i32 %3, 2\n %26 = urem i32 %25, 4\n %narrow = mul nuw nsw i32 %26, 85\n %27 = urem i32 %3, 2\n %28 = mul nuw nsw i32 %27, 255\n store i32 %28, i32* %sv_2.0.reg2mem\n store i32 %narrow, i32* %sv_1.0.reg2mem\n store i32 %24, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %29 = mul i32 %sv_1.0.reload, 256\n %30 = mul i32 %sv_2.0.reload, 65536\n %31 = add i32 %sv_0.0.reload, %30\n %32 = add i32 %31, %29\n %33 = mul i64 %indvars.iv.reload, 4\n %34 = add i64 %33, %0\n %35 = inttoptr i64 %34 to i32*\n store i32 %32, i32* %35, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %36 = icmp ult i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge4.reg2mem\n br i1 %36, label LBL_1, label LBL_7\n LBL_7:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i32 %3, { 5, 3, 4, 8, 6, 7, 11, 9, 10, 14, 12, 13, 0, 1, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32 255, { 2, 3, 0, 1 }\n uselistorder i32 85, { 3, 2, 1, 0 }\n uselistorder i32 8, { 0, 1, 3, 4, 2, 5 }\n uselistorder i32 36, { 2, 3, 0, 1 }\n uselistorder i32 4, { 0, 1, 3, 2, 4 }\n uselistorder i32 2, { 1, 0, 3, 2, 4 }\n uselistorder label LBL_6, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "colr_box_dump_6454", "fun_name": "colr_box_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_14\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = trunc i64 %3 to i32\n %9 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %10 = icmp eq i32 %8, 0\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = add i64 %7, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %7, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %7, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %13 to i64\n %21 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 %19, i32 %16, i64 %20, i64 %1)\n %22 = add i64 %7, 16\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n store i32 %16, i32* %.pre-phi.reg2mem\n store i32 %19, i32* %rdx.0.reg2mem\n br i1 %25, label LBL_4, label LBL_3\n LBL_3:\n %26 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i32 %19, i32 %16, i64 %20, i64 %1)\n %27 = load i32, i32* %23, align 4\n %28 = zext i32 %27 to i64\n %29 = add i64 %7, 24\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %arg2, i64 %31, i64 %28)\n %33 = trunc i64 %31 to i32\n %34 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i32 %27, i32 %33, i64 %20, i64 %1)\n store i32 %33, i32* %.pre-phi.reg2mem\n store i32 %27, i32* %rdx.0.reg2mem\n br label LBL_4\n LBL_4:\n %rdx.0.reload = load i32, i32* %rdx.0.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %35 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i32 %rdx.0.reload, i32 %.pre-phi.reload, i64 %20, i64 %1)\n br label LBL_13\n LBL_5:\n %36 = add i64 %7, 32\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp sgt i32 %38, 4\n br i1 %39, label LBL_12, label LBL_6\n LBL_6:\n %40 = icmp sgt i32 %38, 2\n br i1 %40, label LBL_10, label LBL_7\n LBL_7:\n switch i32 %38, label LBL_12 [\n i32 1, label LBL_8\n i32 2, label LBL_9\n ]\n LBL_8:\n %41 = add i64 %7, 44\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %7, 40\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i64 %7, 36\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = call i64 @FUNC(i64 1)\n %51 = zext i32 %43 to i64\n %52 = zext i32 %46 to i64\n %53 = trunc i64 %50 to i32\n %54 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([96 x i8], [96 x i8]* @gv_5, i64 0, i64 0), i32 %53, i32 %49, i64 %52, i64 %51)\n br label LBL_13\n LBL_9:\n %55 = add i64 %7, 44\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i64 %7, 40\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = add i64 %7, 36\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = call i64 @FUNC(i64 2)\n %65 = zext i32 %57 to i64\n %66 = zext i32 %60 to i64\n %67 = trunc i64 %64 to i32\n %68 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([117 x i8], [117 x i8]* @gv_6, i64 0, i64 0), i32 %67, i32 %63, i64 %66, i64 %65)\n br label LBL_13\n LBL_10:\n %69 = zext i32 %38 to i64\n %70 = call i64 @FUNC(i64 %69)\n %71 = trunc i64 %70 to i32\n %72 = trunc i64 %4 to i32\n %73 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i32 %71, i32 %72, i64 %2, i64 %1)\n %74 = add i64 %7, 24\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = icmp eq i64 %76, 0\n br i1 %77, label LBL_13, label LBL_11\n LBL_11:\n %78 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i32 %71, i32 %72, i64 %2, i64 %1)\n %79 = add i64 %7, 16\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 4\n %82 = mul i32 %81, 2\n %83 = add i32 %82, 3\n %84 = zext i32 %83 to i64\n %85 = call i64 @FUNC(i64 %84)\n %86 = load i32, i32* %80, align 4\n %87 = zext i32 %86 to i64\n %88 = load i64, i64* %75, align 8\n %89 = call i64 @FUNC(i64 %88, i64 %87, i64 %85, i32 %83)\n %90 = and i64 %89, 4294967295\n %91 = add i64 %90, %85\n %92 = inttoptr i64 %91 to i8*\n store i8 0, i8* %92, align 1\n %93 = trunc i64 %85 to i32\n %94 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i32 %93, i32 %83, i64 %2, i64 %1)\n %95 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_10, i64 0, i64 0), i32 %93, i32 %83, i64 %2, i64 %1)\n br label LBL_13\n LBL_12:\n %96 = zext i32 %38 to i64\n %97 = call i64 @FUNC(i64 %96)\n %98 = trunc i64 %97 to i32\n %99 = trunc i64 %4 to i32\n %100 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i32 %98, i32 %99, i64 %2, i64 %1)\n br label LBL_13\n LBL_13:\n %101 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %arg2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %85, { 1, 0, 2 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %20, { 2, 0, 1, 3 }\n uselistorder i32 %19, { 1, 0, 2 }\n uselistorder i32 %16, { 1, 0, 2 }\n uselistorder i64 %7, { 11, 9, 10, 5, 4, 3, 8, 7, 6, 12, 0, 1, 2, 13, 14, 15 }\n uselistorder i64 %2, { 0, 3, 4, 2, 1 }\n uselistorder i64 %1, { 8, 6, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %rdx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64)* @gf_4cc_to_str, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i32, i32, i64, i64)* @gf_fprintf, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 11, 12, 8, 7, 9, 10, 5, 6, 3, 1, 0, 2, 4, 13 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 2, 1, 0, 3, 4, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_chr_disconnect_3570", "fun_name": "tcp_chr_disconnect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_5, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %8, i64 1, i64 4198703, i64 %4, i64 0)\n %11 = add i64 %4, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n br label LBL_3\n LBL_3:\n %13 = add i64 %4, 36\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %4, 32\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %4, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %21, i32 %18, i32 %15)\n store i64 %22, i64* %7, align 8\n %23 = call i64 @FUNC(i64 %4, i64 0)\n %24 = add i64 %4, 40\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = call i64 @FUNC(i64 %4)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 2, 3, 6, 5, 4, 8, 0, 7, 9 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "monitor_get_ccr_591", "fun_name": "monitor_get_ccr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.01.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.01.reload = load i32, i32* %sv_0.01.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = mul i64 %indvars.iv.reload, 4\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = trunc i64 %1 to i32\n %6 = sub i32 28, %5\n %7 = and i32 %6, 28\n %8 = shl i32 %4, %7\n %9 = or i32 %8, %sv_0.01.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %9, i32* %sv_0.01.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %10 = zext i32 %9 to i64\n ret i64 %10\n\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i32 28, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qxl_rom_size_1235", "fun_name": "qxl_rom_size", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n ret i64 8192\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "http_isfiltered_5834", "fun_name": "http_isfiltered", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = mul i64 %arg2, 4\n %2 = and i64 %1, 17179869180\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_5\n LBL_1:\n %8 = mul i64 %arg2, 256\n %9 = and i64 %8, 1099511627520\n %10 = or i64 %9, 32\n %11 = add i64 %0, 8\n %12 = add i64 %11, %10\n %13 = inttoptr i64 %12 to i8*\n %14 = call i8* @strchr(i8* %13, i32 58)\n %15 = icmp eq i8* %14, null\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_5\n LBL_2:\n %17 = ptrtoint i8* %14 to i64\n %18 = call i64 @FUNC(i64 %12, i64 %17)\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = inttoptr i64 %18 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = trunc i64 %arg3 to i32\n %23 = and i32 %21, %22\n %24 = icmp eq i32 %23, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %24, label LBL_4, label LBL_5\n LBL_4:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %14, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_match_text_5812", "fun_name": "find_match_text", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i32\n %storemerge25.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg3 to i64\n %sv_1 = alloca i64, align 8\n %1 = and i64 %arg2, 4294967295\n store i64 %arg1, i64* %sv_1, align 8\n %2 = bitcast i64* %arg3 to i8*\n br label LBL_1\n LBL_1:\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 1, i64* %sv_0.0.lcssa.reg2mem\n br i1 %5, label LBL_2, label LBL_6\n LBL_2:\n %6 = load i64, i64* @gv_0, align 8\n %7 = load i64, i64* %sv_1, align 8\n %8 = add i64 %7, %6\n store i8 %3, i8* %.reg2mem\n store i32 0, i32* %storemerge25.reg2mem\n store i32 1, i32* %sv_0.04.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %9 = sext i32 %sv_0.04.reload to i64\n %10 = add i64 %8, %9\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %.reload, %12\n br i1 %13, label LBL_4, label LBL_7\n LBL_4:\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %14 = add i32 %sv_0.04.reload, 1\n %15 = add i32 %storemerge25.reload, 1\n %16 = sext i32 %15 to i64\n %17 = add i64 %16, %0\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 0\n %21 = icmp eq i1 %20, false\n store i8 %19, i8* %.reg2mem\n store i32 %15, i32* %storemerge25.reg2mem\n store i32 %14, i32* %sv_0.04.reg2mem\n br i1 %21, label LBL_3, label LBL_5\n LBL_5:\n %phitmp = sext i32 %14 to i64\n store i64 %phitmp, i64* %sv_0.0.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %22 = call i64 @FUNC()\n %23 = load i32, i32* inttoptr (i64 4210844 to i32*), align 4\n store i32 %23, i32* bitcast (i64* @gv_1 to i32*), align 8\n %24 = load i64, i64* %sv_1, align 8\n store i64 %24, i64* @gv_2, align 8\n %25 = load i32, i32* @gv_3, align 4\n store i32 %25, i32* bitcast (i64* @gv_4 to i32*), align 8\n %26 = add i64 %24, %sv_0.0.lcssa.reload\n store i64 %26, i64* @gv_5, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %27 = add i64 %7, 1\n store i64 %27, i64* %sv_1, align 8\n %28 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, -1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %30, label LBL_8, label LBL_1\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %14, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 0, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vring_used_idx_1435", "fun_name": "vring_used_idx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 %1, i64 0)\n ret i64 %2\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "extract_mpeg4_header_1276", "fun_name": "extract_mpeg4_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %storemerge3.in6.reg2mem = alloca i64\n %sv_0.38.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.110.reg2mem = alloca i32\n %storemerge411.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %4 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %5 = trunc i64 %2 to i32\n %6 = and i64 %2, 4294967295\n %7 = icmp eq i32 %5, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %7, label LBL_20, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge411.reg2mem\n store i32 0, i32* %sv_0.110.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem\n %storemerge411.reload = load i32, i32* %storemerge411.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = mul i64 %.reload, 8\n %13 = add i64 %12, %11\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 1\n %19 = icmp eq i1 %18, false\n store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = add i64 %15, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n %24 = zext i1 %23 to i32\n %spec.select = add i32 %sv_0.110.reload, %24\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %25 = add i32 %storemerge411.reload, 1\n %26 = sext i32 %25 to i64\n %27 = icmp sgt i64 %6, %26\n store i64 %26, i64* %.reg2mem\n store i32 %25, i32* %storemerge411.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem\n br i1 %27, label LBL_2, label LBL_5\n LBL_5:\n %28 = icmp eq i32 %sv_0.0.reload, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %28, label LBL_20, label LBL_6\n LBL_6:\n %29 = add i64 %8, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i8*\n %33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i8* %32)\n %34 = sext i32 %33 to i64\n %35 = icmp slt i32 %sv_0.0.reload, 0\n %36 = icmp eq i1 %35, false\n store i64 %34, i64* %rax.0.reg2mem\n br i1 %36, label LBL_7, label LBL_20\n LBL_7:\n %37 = bitcast i32* %sv_1 to i64*\n %38 = sext i32 %3 to i64\n %39 = add nsw i64 %38, -4\n %40 = add i64 %39, %4\n %41 = icmp ugt i64 %40, %4\n %42 = inttoptr i64 %4 to i64*\n store i32 %sv_0.0.reload, i32* %sv_0.38.reg2mem\n br label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64 %8, i64* nonnull %37)\n %44 = trunc i64 %43 to i32\n %45 = icmp slt i32 %44, 0\n store i64 %43, i64* %rax.0.reg2mem\n br i1 %45, label LBL_20, label LBL_9\n LBL_9:\n %sv_0.38.reload = load i32, i32* %sv_0.38.reg2mem\n %46 = load i64, i64* %10, align 8\n %47 = load i32, i32* %sv_1, align 4\n %48 = sext i32 %47 to i64\n %49 = mul i64 %48, 8\n %50 = add i64 %49, %46\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = icmp eq i32 %54, 1\n %56 = icmp eq i1 %55, false\n store i32 %sv_0.38.reload, i32* %sv_0.2.reg2mem\n br i1 %56, label LBL_19, label LBL_10\n LBL_10:\n %57 = add i64 %52, 4\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = icmp eq i32 %59, 0\n %61 = icmp eq i1 %60, false\n store i32 %sv_0.38.reload, i32* %sv_0.2.reg2mem\n br i1 %61, label LBL_19, label LBL_11\n LBL_11:\n %62 = add i64 %52, 8\n %63 = call i64 @FUNC(i64 %62)\n br i1 %41, label LBL_12, label LBL_18\n LBL_12:\n %storemerge3.in6.reload = load i64, i64* %storemerge3.in6.reg2mem\n %storemerge3 = inttoptr i64 %storemerge3.in6.reload to i8*\n %64 = load i8, i8* %storemerge3, align 1\n %65 = icmp eq i8 %64, 0\n %66 = icmp eq i1 %65, false\n %.pre = add nuw i64 %storemerge3.in6.reload, 1\n br i1 %66, label LBL_17, label LBL_13\n LBL_13:\n %67 = inttoptr i64 %.pre to i8*\n %68 = load i8, i8* %67, align 1\n %69 = icmp eq i8 %68, 0\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_17, label LBL_14\n LBL_14:\n %71 = add i64 %storemerge3.in6.reload, 2\n %72 = inttoptr i64 %71 to i8*\n %73 = load i8, i8* %72, align 1\n %74 = icmp eq i8 %73, 1\n %75 = icmp eq i1 %74, false\n br i1 %75, label LBL_17, label LBL_15\n LBL_15:\n %76 = add i64 %storemerge3.in6.reload, 3\n %77 = inttoptr i64 %76 to i8*\n %78 = load i8, i8* %77, align 1\n %79 = icmp eq i8 %78, -74\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_17, label LBL_16\n LBL_16:\n %81 = sub i64 %storemerge3.in6.reload, %4\n %82 = trunc i64 %81 to i32\n %sext = mul i64 %81, 4294967296\n %83 = ashr exact i64 %sext, 32\n %84 = call i64 @FUNC(i64 %83)\n %85 = inttoptr i64 %62 to i64*\n store i64 %84, i64* %85, align 8\n store i32 %82, i32* %58, align 4\n %86 = load i64, i64* %85, align 8\n %87 = inttoptr i64 %86 to i64*\n %88 = call i64* @memcpy(i64* %87, i64* %42, i32 %82)\n br label LBL_18\n LBL_17:\n %89 = icmp ugt i64 %40, %.pre\n store i64 %.pre, i64* %storemerge3.in6.reg2mem\n br i1 %89, label LBL_12, label LBL_18\n LBL_18:\n %90 = add i32 %sv_0.38.reload, -1\n store i32 %90, i32* %sv_0.2.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %91 = call i64 @FUNC(i64* nonnull %37)\n %92 = icmp eq i32 %sv_0.2.reload, 0\n %93 = icmp slt i32 %sv_0.2.reload, 0\n %94 = icmp eq i1 %93, false\n %95 = icmp eq i1 %92, false\n %96 = icmp eq i1 %94, %95\n store i32 %sv_0.2.reload, i32* %sv_0.38.reg2mem\n store i64 %91, i64* %rax.0.reg2mem\n br i1 %96, label LBL_8, label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.2.reload, { 2, 1, 0 }\n uselistorder i64 %storemerge3.in6.reload, { 4, 0, 1, 3, 2 }\n uselistorder i32 %sv_0.38.reload, { 2, 0, 1 }\n uselistorder i64 %40, { 1, 0 }\n uselistorder i32 %sv_0.110.reload, { 1, 0 }\n uselistorder i64 %6, { 1, 2, 0 }\n uselistorder i64 %4, { 0, 2, 3, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge411.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.110.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.38.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge3.in6.reg2mem, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 5, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 8, 1, 2, 3, 4, 5, 6, 7, 0, 9 }\n uselistorder i64 8, { 2, 0, 1, 3 }\n uselistorder i32 0, { 6, 7, 4, 5, 3, 9, 8, 0, 1, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_20, { 0, 1, 3, 4, 2 }\n uselistorder label LBL_18, { 0, 2, 1 }\n uselistorder label LBL_17, { 1, 2, 3, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_queue_set_align_3560", "fun_name": "virtio_queue_set_align", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0))\n store i64 %6, i64* %rax.1.reg2mem\n br label LBL_6\n LBL_2:\n %7 = inttoptr i64 %2 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = icmp eq i32 %8, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %rax.0.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0))\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n store i64 ptrtoint ([32 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %12 = trunc i64 %arg3 to i32\n %13 = icmp eq i32 %12, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %sext = mul i64 %arg2, 4294967296\n %14 = and i64 %arg2, 4294967295\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %15 = ashr exact i64 %sext, 30\n %16 = add i64 %rdi.0.reload, %15\n %17 = inttoptr i64 %16 to i32*\n store i32 %12, i32* %17, align 4\n %18 = call i64 @FUNC(i64 %0, i64 %14)\n store i64 %18, i64* %rax.1.reg2mem\n br label LBL_6\n LBL_6:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder [32 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "saa7134_try_get_set_fmt_vbi_cap_4749", "fun_name": "saa7134_try_get_set_fmt_vbi_cap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = call i64* @memset(i64* %3, i32 0, i32 16)\n %5 = add i64 %0, 32\n %6 = inttoptr i64 %5 to i32*\n store i32 27000000, i32* %6, align 4\n %7 = add i64 %0, 36\n %8 = inttoptr i64 %7 to i32*\n store i32 2048, i32* %8, align 4\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %0, 44\n %12 = inttoptr i64 %11 to i32*\n store i32 256, i32* %12, align 4\n %13 = bitcast i64* %rsi to i32*\n %14 = load i32, i32* %13, align 8\n %15 = add i64 %0, 48\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = add i64 %1, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = load i32, i32* %13, align 8\n %21 = add i32 %19, 1\n %22 = sub i32 %21, %20\n %23 = add i64 %0, 56\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %1, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %0, 52\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = load i32, i32* %24, align 4\n %31 = add i64 %0, 60\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = add i64 %0, 64\n %34 = inttoptr i64 %33 to i32*\n store i32 0, i32* %34, align 4\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "oidc_handle_redirect_uri_request_13492", "fun_name": "oidc_handle_redirect_uri_request", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_2:\n %10 = call i64 @FUNC(i64 %5, i64 %4)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_4:\n %14 = call i64 @FUNC(i64 %5, i64 %4)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %5, i64 %4)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_6:\n %18 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_8:\n %22 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_10, label LBL_9\n LBL_9:\n %25 = call i64 @FUNC(i64 %5, i64 %4)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_10:\n %26 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0))\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_12, label LBL_11\n LBL_11:\n %29 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_12:\n %30 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_14, label LBL_13\n LBL_13:\n %33 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_14:\n %34 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0))\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_16, label LBL_15\n LBL_15:\n %37 = call i64 @FUNC(i64 %5, i64 %4)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_16:\n %38 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0))\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_18, label LBL_17\n LBL_17:\n %41 = call i64 @FUNC(i64 %5, i64 %4)\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_18:\n %42 = icmp eq i64* %arg1, null\n br i1 %42, label LBL_20, label LBL_19\n LBL_19:\n %43 = call i64 @FUNC(i64 %5, i64* nonnull @gv_6)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_21, label LBL_20\n LBL_20:\n %47 = call i64 @FUNC(i64 %5, i64 %4)\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_21:\n %48 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0))\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n store i64 %4, i64* %rdx.0.reg2mem\n br i1 %50, label LBL_23, label LBL_22\n LBL_22:\n %51 = call i64 @FUNC(i64 %5, i64 %4, i64 %3)\n store i64 %4, i64* %rcx.0.reg2mem\n store i64 %3, i64* %rdx.0.reg2mem\n br label LBL_23\n LBL_23:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %52 = add i64 %5, 8\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = call i64 @FUNC(i64 %54, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_8, i64 0, i64 0), i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %56 = call i64 @FUNC(i64 %5, i64 ptrtoint ([60 x i8]* @gv_8 to i64), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_9, i64 0, i64 0), i64 %55, i64 500)\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 10, 11, 9, 12, 13, 14, 8, 15, 7, 16, 6, 17, 5, 18, 4, 19, 3, 20, 2, 21, 1, 22, 0, 23 }\n uselistorder i64 %4, { 1, 11, 0, 12, 10, 9, 8, 7, 6, 5, 4, 13, 3, 14, 2, 15 }\n uselistorder i64 %3, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder [60 x i8]* @gv_8, { 1, 0 }\n uselistorder i64 (i64, i8*)* @oidc_util_request_has_parameter, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @oidc_handle_redirect_authorization_response, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "open_test_file_555", "fun_name": "open_test_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i8\n %1 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = call i32 @dup(i32 %1)\n %3 = call i32 @lseek(i32 %2, i32 0, i32 0)\n %4 = icmp eq i8 %0, 0\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = call i32 @ftruncate(i32 %2, i32 0)\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_2, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %7 = zext i32 %2 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %8)\n store i64 %8, i64* %.reg2mem\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %10 = zext i32 %2 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %11)\n store i64 %11, i64* %.reg2mem\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %13 = call i64 @FUNC(i64 %.reload)\n ret i64 %storemerge.reload\n\n uselistorder i32 %2, { 2, 0, 1, 3 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @qio_channel_file_new_fd, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cac_get_serial_nr_from_CUID_11036", "fun_name": "cac_get_serial_nr_from_CUID", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = add i64 %1, 40\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4, i64 1)\n %6 = trunc i64 %4 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n store i64 %4, i64* %arg2, align 8\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = add i64 %1, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %1, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 %15, i64* %20, align 8\n %21 = add i64 %0, 24\n %22 = inttoptr i64 %21 to i64*\n store i64 %18, i64* %22, align 8\n %23 = add i64 %1, 32\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %0, 32\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = load i64, i64* %3, align 8\n %29 = call i64 @FUNC(i64 %28, i64 1, i64 0)\n br label LBL_2\n LBL_2:\n %30 = add i64 %1, 48\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_4, label LBL_3\n LBL_3:\n %34 = add i32 %32, -32\n %35 = sub i32 31, %32\n %36 = and i32 %35, %32\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i32 %34, 0\n %39 = icmp slt i32 %34, 0\n %40 = icmp ne i1 %39, %37\n %41 = or i1 %38, %40\n %42 = select i1 %41, i32 %32, i32 32\n %43 = bitcast i64* %arg2 to i32*\n store i32 %42, i32* %43, align 4\n %44 = load i32, i32* %31, align 4\n %45 = add i64 %1, 52\n %46 = add i64 %0, 4\n %47 = inttoptr i64 %46 to i64*\n %48 = inttoptr i64 %45 to i64*\n %49 = call i64* @memcpy(i64* %47, i64* %48, i32 %44)\n %50 = load i64, i64* %3, align 8\n %51 = call i64 @FUNC(i64 %50, i64 1, i64 0)\n br label LBL_4\n LBL_4:\n %52 = load i64, i64* %3, align 8\n %53 = call i64 @FUNC(i64 %52, i64 1, i64 4294967295)\n ret i64 %53\n\n uselistorder i32 %34, { 1, 0 }\n uselistorder i32 %32, { 2, 0, 3, 1, 4 }\n uselistorder i64* %3, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 4, 6, 3, 2, 1, 0, 5 }\n uselistorder i64 %0, { 4, 0, 1, 2, 3 }\n uselistorder i64 (i64, i64, i64)* @SC_FUNC_RETURN, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_create_pidfile_345", "fun_name": "qemu_create_pidfile", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg1, i64 66, i64 384)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, -1\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_5\n LBL_1:\n %4 = call i32 @lockf(i32 %1, i32 2, i32 0)\n %5 = icmp eq i32 %4, -1\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i32 @close(i32 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %8 = call i32 @getpid()\n %9 = zext i32 %8 to i64\n %10 = bitcast i64* %sv_0 to i8*\n %11 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %10, i32 128, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %9)\n %12 = call i32 @write(i32 %1, i64* nonnull %sv_0, i32 %11)\n %13 = icmp eq i32 %12, %11\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i32 @close(i32 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %1, { 1, 2, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder label LBL_5, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "OTHERNAME_cmp_9169", "fun_name": "OTHERNAME_cmp", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp ne i32* %arg1, null\n %4 = icmp eq i64* %arg2, null\n %5 = icmp eq i1 %4, false\n %or.cond = icmp eq i1 %3, %5\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_4\n LBL_1:\n %6 = and i64 %2, 4294967295\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = and i64 %8, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = ptrtoint i32* %arg1 to i64\n %17 = add i64 %16, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %15)\n %21 = and i64 %20, 4294967295\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "entropy_decode_stereo_3900_9258", "fun_name": "entropy_decode_stereo_3900", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.in7.reg2mem = alloca i64\n %sv_0.08.reg2mem = alloca i64\n %sv_2.09.reg2mem = alloca i64\n %sv_3.010.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %0, 20\n store i64 %0, i64* %sv_3.010.reg2mem\n store i64 %1, i64* %sv_2.09.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem\n %sv_3.010.reload = load i64, i64* %sv_3.010.reg2mem\n %9 = mul i64 %sv_2.09.reload, 4294967296\n %sext5 = add i64 %9, -4294967296\n %10 = ashr exact i64 %sext5, 32\n %11 = add i64 %sv_3.010.reload, 4\n %12 = call i64 @FUNC(i64 %0, i64 %8)\n %13 = trunc i64 %12 to i32\n %14 = inttoptr i64 %sv_3.010.reload to i32*\n store i32 %13, i32* %14, align 4\n %15 = trunc i64 %10 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %11, i64* %sv_3.010.reg2mem\n store i64 %10, i64* %sv_2.09.reg2mem\n br i1 %17, label LBL_2, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %0)\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i32 %21, -1\n store i32 %22, i32* %20, align 4\n %23 = call i64 @FUNC(i64 %0)\n %24 = add i64 %0, 24\n store i64 %1, i64* %sv_0.08.reg2mem\n store i64 %7, i64* %sv_1.0.in7.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.in7.reload = load i64, i64* %sv_1.0.in7.reg2mem\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %sv_1.0 = inttoptr i64 %sv_1.0.in7.reload to i32*\n %25 = mul i64 %sv_0.08.reload, 4294967296\n %sext6 = add i64 %25, -4294967296\n %26 = ashr exact i64 %sext6, 32\n %27 = add i64 %sv_1.0.in7.reload, 4\n %28 = call i64 @FUNC(i64 %0, i64 %24)\n %29 = trunc i64 %28 to i32\n store i32 %29, i32* %sv_1.0, align 4\n %30 = trunc i64 %26 to i32\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %26, i64* %sv_0.08.reg2mem\n store i64 %27, i64* %sv_1.0.in7.reg2mem\n store i64 %26, i64* %sv_0.0.lcssa.reg2mem\n br i1 %32, label LBL_4, label LBL_6\n LBL_5:\n %33 = call i64 @FUNC(i64 %0)\n %34 = add i64 %0, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i32 %36, -1\n store i32 %37, i32* %35, align 4\n %38 = call i64 @FUNC(i64 %0)\n store i64 %1, i64* %sv_0.0.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %39 = and i64 %sv_0.0.lcssa.reload, 4294967295\n ret i64 %39\n\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 9, 10, 8, 0, 7, 11 }\n uselistorder i64* %sv_3.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.in7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @ape_decode_value_3900, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "big_key_revoke_6056", "fun_name": "big_key_revoke", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp ult i64 %7, 1025\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %0, i64 0)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_alg_mod_lookup_10530", "fun_name": "crypto_alg_mod_lookup", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i64\n %0 = and i64 %arg2, 4294967295\n %sext3 = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext3, 32\n %2 = or i64 %1, %arg2\n %3 = urem i64 %2, 2\n %4 = icmp eq i64 %3, 0\n %5 = zext i1 %4 to i64\n %sv_0.0 = or i64 %0, %5\n %.masked = and i64 %1, 4294967295\n %6 = or i64 %.masked, %5\n %7 = ptrtoint i8* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i64 %sv_0.0, i64 %6)\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %8, i64* %storemerge.reg2mem\n br i1 %12, label LBL_6, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %8)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %8, i64* %storemerge.reg2mem\n br i1 %16, label LBL_2, label LBL_6\n LBL_2:\n %17 = call i64 @FUNC(i64 100, i64 %8)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %8)\n store i64 %21, i64* %storemerge6.reg2mem\n br label LBL_5\n LBL_4:\n %22 = call i64 @FUNC(i64 %8)\n %23 = call i64 @FUNC(i64 4294967294)\n store i64 %23, i64* %storemerge6.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %24 = call i64 @FUNC(i64 %8)\n store i64 %storemerge6.reload, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 2, 3, 4, 5, 1, 6, 0, 7 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_to_user_migrate_9167", "fun_name": "copy_to_user_migrate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %3 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 84)\n %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 32\n store i64 %4, i64* %sv_0, align 8\n %5 = call i64 @FUNC(i64 %2, i64 1, i64 84, i64* nonnull %sv_0)\n ret i64 %5\n\n uselistorder i64* %sv_0, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qf_free_stack_17917", "fun_name": "qf_free_stack", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %arg2)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = add i64 %arg2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp ugt i32 %7, %4\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %arg2, i64 %9)\n br label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %arg2, i64 0)\n br label LBL_4\n LBL_4:\n %12 = icmp eq i64 %arg1, 0\n br i1 %12, label LBL_5, label LBL_6\n LBL_5:\n %13 = call i64 @FUNC(i64 0)\n br label LBL_9\n LBL_6:\n %14 = call i64 @FUNC(i64 %arg1)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_7, label LBL_8\n LBL_7:\n %17 = call i64 @FUNC(i64 %arg1)\n store i64 0, i64* %sv_0.01.reg2mem\n br label LBL_10\n LBL_8:\n %18 = call i64 @FUNC(i64 %arg2)\n %19 = icmp eq i64 %18, 0\n %spec.select = select i1 %19, i64 %arg1, i64 %18\n %20 = call i64 @FUNC(i64 %spec.select)\n %21 = icmp eq i64 %spec.select, 0\n %22 = icmp eq i1 %21, false\n store i64 %18, i64* %sv_0.01.reg2mem\n br i1 %22, label LBL_10, label LBL_9\n LBL_9:\n %23 = inttoptr i64 %arg2 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %arg2, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n store i64 %arg2, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %26 = call i64 @FUNC(i64 %arg1)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n store i64 %26, i64* %rax.0.reg2mem\n br i1 %28, label LBL_13, label LBL_11\n LBL_11:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %29 = call i64 @FUNC()\n %30 = inttoptr i64 %arg1 to i64*\n store i64 %29, i64* %30, align 8\n %31 = icmp eq i64 %sv_0.01.reload, 0\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %31, label LBL_13, label LBL_12\n LBL_12:\n %32 = add i64 %sv_0.01.reload, 8\n %33 = inttoptr i64 %32 to i64*\n store i64 %29, i64* %33, align 8\n %34 = add i64 %29, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i32 %36, 1\n store i32 %37, i32* %35, align 4\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64 (i64)* @IS_LL_WINDOW, { 1, 0 }\n uselistorder i64 (i64)* @qf_free_all, { 2, 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 0, 5, 6, 4, 1, 3, 2, 7 }\n uselistorder i64 %arg1, { 0, 4, 5, 2, 1, 3, 6 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_audio_mix_2708", "fun_name": "ff_audio_mix", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %.reg2mem25 = alloca i32\n %storemerge3.reg2mem = alloca i32\n %.reg2mem23 = alloca i64\n %.reg2mem21 = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem19 = alloca i32\n %.reg2mem17 = alloca i32\n %sv_1.04.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %.reg2mem15 = alloca i64\n %.reg2mem13 = alloca i32\n %.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i64, align 8\n %5 = trunc i64 %2 to i32\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 0\n store i64 88, i64* %sv_3.0.reg2mem\n store i32 %5, i32* %sv_2.0.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = add i64 %4, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %3, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %4, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = ashr i32 %13, 31\n %18 = zext i32 %13 to i64\n %19 = zext i32 %17 to i64\n %20 = mul i64 %19, 4294967296\n %21 = or i64 %20, %18\n %22 = zext i32 %16 to i64\n %23 = srem i64 %21, %22\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 88, i64* %sv_3.0.reg2mem\n store i32 %5, i32* %sv_2.0.reg2mem\n br i1 %26, label LBL_3, label LBL_2\n LBL_2:\n %27 = add i32 %5, -1\n %28 = add i32 %27, %10\n %29 = sub i32 0, %10\n %30 = and i32 %28, %29\n %31 = add i64 %3, 20\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = sext i32 %30 to i64\n %36 = icmp sgt i64 %35, %34\n %spec.select = select i1 %36, i64 88, i64 96\n %spec.select2 = select i1 %36, i32 %5, i32 %30\n store i64 %spec.select, i64* %sv_3.0.reg2mem\n store i32 %spec.select2, i32* %sv_2.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %storemerge1.in.in = add i64 %sv_3.0.reload, %4\n %storemerge1.in = inttoptr i64 %storemerge1.in.in to i64*\n %storemerge1 = load i64, i64* %storemerge1.in, align 8\n %37 = add i64 %4, 16\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %4, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %4, 80\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = call i64 @FUNC(i64 %45, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i32 %5, i32 %42, i32 %39, i64 %storemerge1)\n %47 = add i64 %4, 20\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = icmp eq i32 %49, 0\n %.pre9 = add i64 %4, 24\n %.pre10 = inttoptr i64 %.pre9 to i32*\n br i1 %50, label LBL_13, label LBL_4\n LBL_4:\n %51 = load i32, i32* %.pre10, align 4\n %52 = icmp eq i32 %51, 0\n br i1 %52, label LBL_13, label LBL_5\n LBL_5:\n %53 = load i32, i32* %38, align 4\n %54 = icmp ult i32 %51, %53\n %.pre = load i32, i32* %41, align 4\n %55 = icmp ult i32 %49, %.pre\n %or.cond = or i1 %54, %55\n br i1 %or.cond, label LBL_6, label LBL_13\n LBL_6:\n %56 = sub i32 %53, %.pre\n %57 = xor i32 %.pre, %53\n %58 = xor i32 %56, %53\n %59 = and i32 %58, %57\n %60 = icmp slt i32 %59, 0\n %61 = icmp slt i32 %56, 0\n %62 = icmp eq i1 %61, %60\n %63 = select i1 %62, i32 %53, i32 %.pre\n %64 = icmp eq i32 %63, 0\n br i1 %64, label LBL_13, label LBL_7\n LBL_7:\n %65 = ptrtoint i64* %sv_4 to i64\n %66 = add i64 %4, 32\n %67 = inttoptr i64 %66 to i64*\n %68 = add i64 %4, 40\n %69 = inttoptr i64 %68 to i64*\n %70 = add i64 %4, 48\n %71 = inttoptr i64 %70 to i64*\n %72 = add i64 %3, 8\n %73 = inttoptr i64 %72 to i64*\n %74 = add i64 %65, -96\n store i32 %.pre, i32* %.reg2mem\n store i32 %53, i32* %.reg2mem13\n store i64 0, i64* %.reg2mem15\n store i32 0, i32* %sv_0.15.reg2mem\n store i32 0, i32* %sv_1.04.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %.reload16 = load i64, i64* %.reg2mem15\n %.reload14 = load i32, i32* %.reg2mem13\n %.reload = load i32, i32* %.reg2mem\n %75 = load i64, i64* %67, align 8\n %76 = mul i64 %.reload16, 4\n %77 = add i64 %75, %76\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n store i32 %.reload, i32* %.reg2mem17\n store i32 %.reload14, i32* %.reg2mem19\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %81, label LBL_12, label LBL_9\n LBL_9:\n %82 = load i64, i64* %69, align 8\n %83 = add i64 %82, %76\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = icmp eq i32 %85, 0\n %87 = icmp eq i1 %86, false\n store i32 %.reload, i32* %.reg2mem17\n store i32 %.reload14, i32* %.reg2mem19\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %87, label LBL_12, label LBL_10\n LBL_10:\n %88 = load i64, i64* %71, align 8\n %89 = add i64 %88, %76\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n %92 = icmp eq i32 %91, 0\n %93 = icmp eq i1 %92, false\n store i32 %.reload, i32* %.reg2mem17\n store i32 %.reload14, i32* %.reg2mem19\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %93, label LBL_12, label LBL_11\n LBL_11:\n %94 = load i64, i64* %73, align 8\n %95 = mul i64 %.reload16, 8\n %96 = add i64 %94, %95\n %97 = add i32 %sv_0.15.reload, 1\n %98 = inttoptr i64 %96 to i64*\n %99 = load i64, i64* %98, align 8\n %100 = sext i32 %sv_0.15.reload to i64\n %101 = mul i64 %100, 8\n %102 = add i64 %74, %101\n %103 = inttoptr i64 %102 to i64*\n store i64 %99, i64* %103, align 8\n %.pre6 = load i32, i32* %38, align 4\n %.pre7 = load i32, i32* %41, align 4\n store i32 %.pre7, i32* %.reg2mem17\n store i32 %.pre6, i32* %.reg2mem19\n store i32 %97, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload20 = load i32, i32* %.reg2mem19\n %.reload18 = load i32, i32* %.reg2mem17\n %104 = add i32 %sv_1.04.reload, 1\n %105 = sub i32 %.reload20, %.reload18\n %106 = xor i32 %.reload20, %.reload18\n %107 = xor i32 %105, %.reload20\n %108 = and i32 %107, %106\n %109 = icmp slt i32 %108, 0\n %110 = icmp slt i32 %105, 0\n %111 = icmp eq i1 %110, %109\n %112 = select i1 %111, i32 %.reload20, i32 %.reload18\n %113 = zext i32 %112 to i64\n %114 = sext i32 %104 to i64\n %115 = icmp slt i64 %114, %113\n store i32 %.reload18, i32* %.reg2mem\n store i32 %.reload20, i32* %.reg2mem13\n store i64 %114, i64* %.reg2mem15\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n store i32 %104, i32* %sv_1.04.reg2mem\n br i1 %115, label LBL_8, label LBL_13\n LBL_13:\n %116 = load i32, i32* %.pre10, align 4\n %117 = load i32, i32* %38, align 4\n %118 = icmp ult i32 %116, %117\n br i1 %118, label LBL_15, label LBL_13.LBL_19_crit_edge\n LBL_14:\n %.pre12 = zext i32 %117 to i64\n store i64 %.pre12, i64* %.pre-phi.reg2mem\n br label LBL_19\n LBL_15:\n %119 = add i64 %4, 48\n %120 = inttoptr i64 %119 to i64*\n %121 = add i64 %4, 104\n %122 = inttoptr i64 %121 to i32*\n %123 = add i64 %3, 8\n %124 = inttoptr i64 %123 to i64*\n %125 = zext i32 %sv_2.0.reload to i64\n store i32 %117, i32* %.reg2mem21\n store i64 0, i64* %.reg2mem23\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload24 = load i64, i64* %.reg2mem23\n %.reload22 = load i32, i32* %.reg2mem21\n %126 = load i64, i64* %120, align 8\n %127 = mul i64 %.reload24, 4\n %128 = add i64 %126, %127\n %129 = inttoptr i64 %128 to i32*\n %130 = load i32, i32* %129, align 4\n %131 = icmp eq i32 %130, 0\n store i32 %.reload22, i32* %.reg2mem25\n br i1 %131, label LBL_18, label LBL_17\n LBL_17:\n %132 = load i32, i32* %122, align 4\n %133 = load i64, i64* %124, align 8\n %134 = mul i64 %.reload24, 8\n %135 = add i64 %133, %134\n %136 = zext i32 %132 to i64\n %137 = call i64 @FUNC(i64 %135, i64 0, i64 %125, i64 1, i64 %136)\n %.pre8 = load i32, i32* %38, align 4\n store i32 %.pre8, i32* %.reg2mem25\n br label LBL_18\n LBL_18:\n %.reload26 = load i32, i32* %.reg2mem25\n %138 = add i32 %storemerge3.reload, 1\n %139 = zext i32 %.reload26 to i64\n %140 = sext i32 %138 to i64\n %141 = icmp slt i64 %140, %139\n store i32 %.reload26, i32* %.reg2mem21\n store i64 %140, i64* %.reg2mem23\n store i32 %138, i32* %storemerge3.reg2mem\n store i64 %139, i64* %.pre-phi.reg2mem\n br i1 %141, label LBL_16, label LBL_19\n LBL_19:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %142 = call i64 @FUNC(i64 %3, i64 %.pre-phi.reload)\n ret i64 0\n\n uselistorder i32 %.reload26, { 1, 0 }\n uselistorder i64 %.reload24, { 1, 0 }\n uselistorder i32 %105, { 1, 0 }\n uselistorder i32 %.reload18, { 3, 0, 2, 1 }\n uselistorder i32 %.reload20, { 4, 0, 3, 2, 1 }\n uselistorder i64 %76, { 2, 1, 0 }\n uselistorder i64 %.reload16, { 1, 0 }\n uselistorder i32 %sv_0.15.reload, { 4, 3, 0, 1, 2 }\n uselistorder i32 %56, { 1, 0 }\n uselistorder i32 %.pre, { 0, 2, 1, 3, 4 }\n uselistorder i32 %53, { 0, 4, 1, 2, 3, 5 }\n uselistorder i32* %38, { 0, 3, 1, 2, 4 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i32 %5, { 2, 4, 3, 0, 1 }\n uselistorder i64 %4, { 8, 7, 6, 5, 4, 1, 9, 12, 11, 10, 0, 2, 3 }\n uselistorder i64 %3, { 3, 4, 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem13, { 1, 0, 2 }\n uselistorder i64* %.reg2mem15, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem21, { 1, 0, 2 }\n uselistorder i64* %.reg2mem23, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem25, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 8, { 0, 3, 1, 2, 4, 5 }\n uselistorder i64 88, { 2, 0, 1 }\n uselistorder i32 0, { 6, 0, 10, 11, 7, 8, 9, 1, 2, 3, 4, 5, 12, 13, 15, 14, 16 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_13, { 0, 3, 1, 4, 2 }\n uselistorder label LBL_12, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mrb_fd_cloexec_7955", "fun_name": "mrb_fd_cloexec", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = call i32 (i32, i32, ...) @fcntl(i32 %3, i32 1)\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32* @__errno_location()\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = and i64 %4, 4294967295\n %13 = call i64 @FUNC(i64 %12)\n %14 = and i64 %13, 4294967295\n %15 = ptrtoint i32* %arg1 to i64\n %16 = and i64 %11, 4294967295\n %17 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 %16, i64 %2, i64 %1)\n unreachable\n LBL_2:\n %18 = trunc i64 %4 to i32\n %19 = icmp sgt i32 %18, 2\n %20 = or i32 %5, 1\n %21 = and i32 %5, -2\n %storemerge = select i1 %19, i32 %20, i32 %21\n %22 = zext i32 %5 to i64\n %23 = icmp eq i32 %5, %storemerge\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %23, label LBL_5, label LBL_3\n LBL_3:\n %24 = call i32 (i32, i32, ...) @fcntl(i32 %18, i32 2)\n %25 = sext i32 %24 to i64\n %26 = icmp eq i32 %24, -1\n %27 = icmp eq i1 %26, false\n store i64 %25, i64* %rax.0.reg2mem\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = call i32* @__errno_location()\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30)\n %32 = zext i32 %storemerge to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = and i64 %4, 4294967295\n %35 = call i64 @FUNC(i64 %34)\n %36 = and i64 %35, 4294967295\n %37 = ptrtoint i32* %arg1 to i64\n %38 = and i64 %31, 4294967295\n %39 = and i64 %33, 4294967295\n %40 = call i64 @FUNC(i64 %37, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %36, i64 %39, i64 %38, i64 %1)\n unreachable\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %5, { 1, 0, 3, 2, 4 }\n uselistorder i64 %4, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @mrb_bug, { 1, 0 }\n uselistorder i64 (i64)* @mrb_fixnum_value, { 4, 3, 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "horizX1Filter_1311", "fun_name": "horizX1Filter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.08.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i32\n %storemerge610.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %storemerge610.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %storemerge610.reload = load i32, i32* %storemerge610.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = icmp ugt i64 %indvars.iv.reload, 127\n %4 = mul i32 %storemerge610.reload, 2\n %5 = add nuw nsw i32 %4, -512\n %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32\n %6 = mul i32 %indvars.iv.tr, 2\n %storemerge7.in = select i1 %3, i32 %5, i32 %6\n %storemerge7 = zext i32 %storemerge7.in to i64\n %7 = add i32 %storemerge7.in, 15\n %8 = icmp slt i32 %storemerge7.in, 0\n %9 = select i1 %8, i32 %7, i32 %storemerge7.in\n %10 = udiv i32 %9, 16\n %11 = zext i32 %10 to i64\n %12 = mul i32 %storemerge7.in, 3\n %13 = add i32 %12, 15\n %14 = icmp slt i32 %12, 0\n %15 = select i1 %14, i32 %13, i32 %12\n %16 = udiv i32 %15, 16\n %17 = urem i32 %16, 256\n %18 = zext i32 %17 to i64\n %19 = mul i32 %storemerge7.in, 5\n %20 = add i32 %19, 15\n %21 = icmp slt i32 %19, 0\n %22 = select i1 %21, i32 %20, i32 %19\n %23 = udiv i32 %22, 16\n %24 = urem i32 %23, 256\n %25 = zext i32 %24 to i64\n %26 = mul i32 %storemerge7.in, 7\n %27 = icmp slt i32 %26, 0\n %28 = sub nsw i32 0, %10\n %29 = urem i32 %28, 256\n %30 = zext i32 %29 to i64\n %31 = mul i64 %11, 72057594037927936\n %32 = mul i64 %18, 281474976710656\n %33 = mul i64 %25, 1099511627776\n %34 = mul nuw nsw i64 %storemerge7, 1879048192\n %35 = add nuw i64 %34, 4026531840\n %36 = select i1 %27, i64 %35, i64 %34\n %37 = urem i64 %36, 1095216660481\n %38 = mul i32 %23, 16777216\n %39 = sub i32 0, %38\n %40 = zext i32 %39 to i64\n %41 = mul i32 %23, 65536\n %42 = sub i32 0, %41\n %43 = and i32 %42, 16711680\n %44 = zext i32 %43 to i64\n %45 = mul i32 %16, 256\n %46 = sub i32 0, %45\n %47 = and i32 %46, 65280\n %48 = zext i32 %47 to i64\n %49 = or i64 %37, %31\n %50 = or i64 %49, %30\n %51 = or i64 %50, %40\n %52 = or i64 %51, %32\n %53 = or i64 %52, %33\n %54 = or i64 %53, %44\n %55 = or i64 %54, %48\n %56 = mul i64 %indvars.iv.reload, 8\n %57 = add i64 %56, ptrtoint (i64* @gv_1 to i64)\n %58 = inttoptr i64 %57 to i64*\n store i64 %55, i64* %58, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %59 = add nuw nsw i32 %storemerge610.reload, 1\n %exitcond11 = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %59, i32* %storemerge610.reg2mem\n br i1 %exitcond11, label LBL_2, label LBL_1\n LBL_2:\n %60 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %61 = ashr exact i64 %sext, 32\n store i32 0, i32* %storemerge9.reg2mem\n store i64 %60, i64* %sv_0.08.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %62 = add i64 %sv_0.08.reload, 1\n %63 = inttoptr i64 %62 to i8*\n %64 = load i8, i8* %63, align 1\n %65 = add i64 %sv_0.08.reload, 2\n %66 = inttoptr i64 %65 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = zext i8 %64 to i32\n %69 = zext i8 %67 to i32\n %70 = sub nsw i32 %68, %69\n %71 = add i64 %sv_0.08.reload, 3\n %72 = inttoptr i64 %71 to i8*\n %73 = load i8, i8* %72, align 1\n %74 = add i64 %sv_0.08.reload, 4\n %75 = inttoptr i64 %74 to i8*\n %76 = load i8, i8* %75, align 1\n %77 = zext i8 %73 to i32\n %78 = zext i8 %76 to i32\n %79 = sub nsw i32 %77, %78\n %80 = add i64 %sv_0.08.reload, 5\n %81 = inttoptr i64 %80 to i8*\n %82 = load i8, i8* %81, align 1\n %83 = add i64 %sv_0.08.reload, 6\n %84 = inttoptr i64 %83 to i8*\n %85 = load i8, i8* %84, align 1\n %86 = zext i8 %82 to i32\n %87 = zext i8 %85 to i32\n %88 = sub nsw i32 %86, %87\n %89 = sub nsw i32 0, %79\n %90 = icmp sgt i32 %79, 0\n %91 = icmp eq i1 %90, false\n %92 = select i1 %91, i32 %89, i32 %79\n %93 = sub nsw i32 0, %70\n %94 = icmp sgt i32 %70, 0\n %95 = icmp eq i1 %94, false\n %96 = select i1 %95, i32 %93, i32 %70\n %97 = sub nsw i32 0, %88\n %98 = icmp sgt i32 %88, 0\n %99 = icmp eq i1 %98, false\n %100 = select i1 %99, i32 %97, i32 %88\n %101 = add nsw i32 %100, %96\n %102 = icmp slt i32 %101, 0\n %103 = zext i1 %102 to i32\n %104 = add nsw i32 %101, %103\n %105 = ashr i32 %104, 1\n %106 = sub nsw i32 %92, %105\n %107 = icmp sgt i32 %106, 0\n %108 = select i1 %107, i32 %106, i32 0\n %109 = icmp slt i32 %108, %arg3\n br i1 %109, label LBL_4, label LBL_5\n LBL_4:\n %110 = icmp slt i32 %79, 1\n %111 = select i1 %110, i32 1, i32 -1\n %112 = mul i32 %108, %111\n %113 = add i32 %112, 7\n %114 = icmp slt i32 %112, 0\n %115 = select i1 %114, i32 %113, i32 %112\n %116 = udiv i32 %115, 8\n %117 = trunc i32 %116 to i8\n %118 = add i8 %64, %117\n store i8 %118, i8* %63, align 1\n %119 = load i8, i8* %66, align 1\n %120 = add i32 %112, 3\n %121 = select i1 %114, i32 %120, i32 %112\n %122 = udiv i32 %121, 4\n %123 = trunc i32 %122 to i8\n %124 = add i8 %119, %123\n store i8 %124, i8* %66, align 1\n %125 = load i8, i8* %72, align 1\n %126 = mul i32 %112, 3\n %127 = add i32 %126, 7\n %128 = icmp slt i32 %126, 0\n %129 = select i1 %128, i32 %127, i32 %126\n %130 = udiv i32 %129, 8\n %131 = trunc i32 %130 to i8\n %132 = add i8 %125, %131\n store i8 %132, i8* %72, align 1\n %133 = load i8, i8* %75, align 1\n %134 = sub i8 %133, %131\n store i8 %134, i8* %75, align 1\n %135 = load i8, i8* %81, align 1\n %136 = sub i8 %135, %123\n store i8 %136, i8* %81, align 1\n %137 = load i8, i8* %84, align 1\n %138 = sub i8 %137, %117\n store i8 %138, i8* %84, align 1\n br label LBL_5\n LBL_5:\n %139 = add i64 %sv_0.08.reload, %61\n %140 = add nuw nsw i32 %storemerge9.reload, 1\n %exitcond = icmp eq i32 %140, 8\n store i32 %140, i32* %storemerge9.reg2mem\n store i64 %139, i64* %sv_0.08.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n ret i64 %61\n\n uselistorder i8 %131, { 1, 0 }\n uselistorder i8 %123, { 1, 0 }\n uselistorder i8 %117, { 1, 0 }\n uselistorder i32 %88, { 2, 0, 1 }\n uselistorder i8* %84, { 1, 0, 2 }\n uselistorder i8* %81, { 1, 0, 2 }\n uselistorder i8* %75, { 1, 0, 2 }\n uselistorder i8* %72, { 1, 0, 2 }\n uselistorder i32 %70, { 2, 0, 1 }\n uselistorder i8* %66, { 1, 0, 2 }\n uselistorder i64 %sv_0.08.reload, { 6, 1, 0, 4, 5, 3, 2 }\n uselistorder i64 %61, { 1, 0 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i32 %19, { 2, 1, 0 }\n uselistorder i32 %12, { 2, 1, 0 }\n uselistorder i32 %storemerge7.in, { 6, 0, 1, 5, 4, 3, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge610.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i32 8, { 2, 0, 1 }\n uselistorder i32 7, { 1, 2, 0 }\n uselistorder i32 3, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_privileged_1719", "fun_name": "check_privileged", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %0, 4294967295\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0, i64 1)\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "grow_stack_state_7099", "fun_name": "grow_stack_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = udiv i64 %0, 8\n %2 = trunc i64 %arg3 to i32\n %3 = sdiv i32 %2, 128\n %4 = sext i32 %3 to i64\n %5 = icmp ult i64 %1, %4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8, i64 %1, i64 %4, i64 0)\n store i64 %9, i64* %7, align 8\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_4\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %12 = ashr exact i64 %sext, 32\n store i64 %12, i64* %arg2, align 8\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = sext i32 %15 to i64\n %17 = mul i64 %16, 8\n %18 = add i64 %17, %8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp ult i64 %20, %12\n %22 = icmp eq i1 %21, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n store i64 %12, i64* %19, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_notify_map_clients_locked_14014", "fun_name": "cpu_notify_map_clients_locked", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 %0, i64* %.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64* nonnull @gv_0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 %5, i64* %.lcssa.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64*)* @QLIST_EMPTY, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_read_riff_info_16145", "fun_name": "ff_read_riff_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rcx.013.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %4, %arg2\n %6 = call i64 @FUNC(i64 %3)\n %7 = icmp sgt i64 %6, -1\n %8 = add i64 %5, -7\n %9 = icmp slt i64 %6, %8\n %or.cond12 = icmp eq i1 %7, %9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond12, label LBL_1, label LBL_10\n LBL_1:\n %10 = add i64 %3, 8\n store i64 %6, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %rcx.013.reload = load i64, i64* %rcx.013.reg2mem\n store i32 0, i32* %sv_0, align 4\n %11 = call i64 @FUNC(i64 %3)\n %12 = call i64 @FUNC(i64 %3)\n %13 = and i64 %12, 4294967295\n %14 = icmp sgt i64 %13, %5\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %sext4 = mul i64 %12, 4294967296\n %15 = ashr exact i64 %sext4, 32\n %16 = sub i64 %5, %15\n %17 = icmp sgt i64 %.reload, %16\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n %18 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.013.reload, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %19 = add nsw i64 %15, 1\n %20 = or i64 %19, 1\n %21 = call i64 @FUNC(i64 %20)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.013.reload, i64 %2, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %25 = trunc i64 %11 to i32\n %26 = trunc i64 %19 to i32\n %27 = and i32 %26, -2\n %sext = mul i32 %25, 16777216\n %28 = ashr exact i32 %sext, 24\n store i32 %28, i32* %sv_0, align 4\n %29 = zext i32 %27 to i64\n %30 = call i64 @FUNC(i64 %3, i64 %21, i64 %29)\n %sext3 = mul i64 %30, 4294967296\n %31 = ashr exact i64 %sext3, 32\n %32 = sext i32 %27 to i64\n %33 = icmp eq i64 %31, %32\n br i1 %33, label LBL_9, label LBL_8\n LBL_8:\n %34 = inttoptr i64 %21 to i32*\n %35 = call i64 @FUNC(i32* nonnull %sv_0)\n %36 = call i64 @FUNC(i32* %34)\n %37 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %38 = add i64 %31, %21\n %39 = inttoptr i64 %38 to i8*\n store i8 0, i8* %39, align 1\n %40 = call i64 @FUNC(i64 %10, i32* nonnull %sv_0, i64 %21, i64 0)\n %41 = call i64 @FUNC(i64 %3)\n %42 = icmp sgt i64 %41, -1\n %43 = icmp slt i64 %41, %8\n %or.cond = icmp eq i1 %42, %43\n store i64 %41, i64* %.reg2mem\n store i64 0, i64* %rcx.013.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %41, { 0, 2, 1 }\n uselistorder i64 %21, { 3, 2, 0, 1, 4, 5 }\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %3, { 8, 2, 4, 1, 5, 7, 6, 3, 0, 9 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.013.reg2mem, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 5, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i32*)* @av_freep, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @avio_rl32, { 1, 0 }\n uselistorder i64 0, { 0, 2, 11, 12, 5, 6, 13, 7, 8, 16, 14, 9, 10, 1, 3, 4, 15 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i64 (i64)* @avio_tell, { 2, 0, 1 }\n uselistorder label LBL_10, { 0, 2, 3, 4, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_device_13568", "fun_name": "parse_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i8*\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg3 to i64\n %sv_1 = alloca i8*, align 8\n %sv_2 = alloca i8*, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n store i64 %4, i64* %sv_3, align 8\n %5 = call i64* @memset(i64* %arg1, i32 0, i32 8)\n %6 = bitcast i64* %arg3 to i8*\n %7 = call i8* @strchr(i8* %6, i32 44)\n store i8* %7, i8** %sv_2, align 8\n %8 = icmp eq i8* %7, null\n br i1 %8, label LBL_13, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = ptrtoint i8* %7 to i64\n %11 = add i64 %10, 1\n %12 = inttoptr i64 %11 to i8*\n store i8* %12, i8** %sv_2, align 8\n store i8 0, i8* %7, align 1\n %13 = load i64, i64* %sv_3, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_2, label LBL_4\n LBL_2:\n %17 = bitcast i8** %sv_2 to i64*\n %18 = call i64 @FUNC(i64* nonnull %17, i64* nonnull @gv_0)\n %19 = inttoptr i64 %18 to i8*\n store i8* %19, i8** %sv_1, align 8\n %20 = icmp eq i64 %18, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_3, label LBL_11\n LBL_3:\n %22 = ptrtoint i64* %sv_4 to i64\n %23 = bitcast i8** %sv_1 to i64*\n %24 = add i64 %22, -128\n store i64 0, i64* %indvars.iv.reg2mem\n store i8* %19, i8** %.reg2mem\n br label LBL_5\n LBL_4:\n %25 = load i64, i64* %sv_3, align 8\n %26 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %25, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_5:\n %.reload = load i8*, i8** %.reg2mem\n %27 = load i8, i8* %.reload, align 1\n %28 = icmp eq i8 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %31 = icmp ult i64 %indvars.iv.reload, 10\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %33 = call i64 @FUNC(i64* nonnull %23)\n %34 = mul i64 %indvars.iv.reload, 8\n %35 = add i64 %24, %34\n %36 = inttoptr i64 %35 to i64*\n store i64 %33, i64* %36, align 8\n %37 = call i64 @FUNC(i64* nonnull %17, i64* nonnull @gv_0)\n %38 = inttoptr i64 %37 to i8*\n store i8* %38, i8** %sv_1, align 8\n %39 = icmp eq i64 %37, 0\n %40 = icmp eq i1 %39, false\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i8* %38, i8** %.reg2mem\n br i1 %40, label LBL_5, label LBL_10\n LBL_10:\n %41 = trunc i64 %indvars.iv.next to i32\n %42 = icmp sgt i32 %41, 1\n br i1 %42, label LBL_12, label LBL_11\n LBL_11:\n %43 = call i64 @FUNC(i64 %9, i64 2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %44 = and i64 %indvars.iv.next, 4294967295\n store i64 %44, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %45 = call i64 @FUNC(i64* nonnull %sv_3)\n store i64 %45, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.next, { 1, 2, 0 }\n uselistorder i64 %indvars.iv.reload, { 2, 0, 1 }\n uselistorder i64* %17, { 1, 0 }\n uselistorder i64 %9, { 1, 3, 2, 0 }\n uselistorder i8* %7, { 1, 0, 2, 3 }\n uselistorder i8** %sv_2, { 2, 1, 0 }\n uselistorder i8** %sv_1, { 1, 2, 0 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 0, 1, 3 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64*)* @mtree_atol, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @archive_set_error, { 1, 3, 2, 0 }\n uselistorder i64 (i64*, i64*)* @la_strsep, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3, 4 }\n uselistorder i64 1, { 1, 4, 3, 2, 0, 5, 6 }\n uselistorder label LBL_15, { 0, 3, 1, 2, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dup_task_struct_8051", "fun_name": "dup_task_struct", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %9 = call i64 @FUNC(i64 %2, i64 %0)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_4\n LBL_4:\n %13 = inttoptr i64 %2 to i64*\n store i64 %5, i64* %13, align 8\n %14 = add i64 %2, 32\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %2, i64 %0)\n %20 = add i64 %2, 8\n %21 = call i64 @FUNC(i64 %20, i64 2)\n %22 = add i64 %2, 12\n %23 = call i64 @FUNC(i64 %22, i64 0)\n %24 = add i64 %2, 24\n %25 = inttoptr i64 %24 to i64*\n store i64 0, i64* %25, align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %26 = call i64 @FUNC(i64 %5)\n %27 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %2, { 8, 0, 5, 4, 3, 2, 6, 7, 9, 1, 10, 11 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "info_9982", "fun_name": "info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_5, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = inttoptr i64 %4 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_5\n LBL_3:\n %10 = call i64* @calloc(i32 1, i32 80)\n %11 = icmp eq i64* %10, null\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_5\n LBL_4:\n %13 = ptrtoint i64* %10 to i64\n %14 = inttoptr i64 %7 to i8*\n %15 = call i8* @strdup(i8* inttoptr (i64 1 to i8*))\n %16 = ptrtoint i8* %15 to i64\n store i64 %16, i64* %10, align 8\n %17 = call i8* @strdup(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %18 = ptrtoint i8* %17 to i64\n %19 = add i64 %13, 8\n %20 = inttoptr i64 %19 to i64*\n store i64 %18, i64* %20, align 8\n %21 = call i8* @strdup(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %22 = ptrtoint i8* %21 to i64\n %23 = add i64 %13, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = call i8* @strdup(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0))\n %26 = ptrtoint i8* %25 to i64\n %27 = add i64 %13, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n %29 = call i8* @strdup(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %30 = ptrtoint i8* %29 to i64\n %31 = add i64 %13, 32\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n %33 = call i8* @strdup(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %34 = ptrtoint i8* %33 to i64\n %35 = add i64 %13, 40\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = call i8* @strdup(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0))\n %38 = ptrtoint i8* %37 to i64\n %39 = add i64 %13, 48\n %40 = inttoptr i64 %39 to i64*\n store i64 %38, i64* %40, align 8\n %41 = load i8, i8* %14, align 1\n %42 = add i64 %13, 56\n %43 = inttoptr i64 %42 to i8*\n store i8 %41, i8* %43, align 1\n %44 = add i64 %13, 60\n %45 = inttoptr i64 %44 to i32*\n store i32 32, i32* %45, align 4\n %46 = add i64 %13, 64\n %47 = inttoptr i64 %46 to i8*\n store i8 0, i8* %47, align 1\n %48 = add i64 %13, 68\n %49 = inttoptr i64 %48 to i32*\n store i32 0, i32* %49, align 4\n %50 = call i8* @strdup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0))\n %51 = ptrtoint i8* %50 to i64\n %52 = add i64 %13, 72\n %53 = inttoptr i64 %52 to i64*\n store i64 %51, i64* %53, align 8\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %10, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i8* (i8*)* @strdup, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 4, 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spl_array_iterator_append_6562", "fun_name": "spl_array_iterator_append", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %5, i64 0)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 0, i64 2, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %2, i64 %1)\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @php_error_docref, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mirror_write_complete_1730", "fun_name": "mirror_write_complete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = icmp slt i32 %3, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = trunc i64 %1 to i32\n %11 = inttoptr i64 %9 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %9, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = call i64 @FUNC(i64 %12, i32 %18, i32 %10, i32 %15)\n %20 = sub nsw i64 0, %4\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %9, i64 0, i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_4, label LBL_2\n LBL_2:\n %26 = add i64 %9, 12\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp slt i32 %28, 0\n br i1 %29, label LBL_4, label LBL_3\n LBL_3:\n %30 = trunc i64 %4 to i32\n store i32 %30, i32* %27, align 4\n br label LBL_4\n LBL_4:\n %31 = and i64 %4, 4294967295\n %32 = call i64 @FUNC(i64 %2, i64 %31)\n ret i64 %32\n\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ioapic_service_4106", "fun_name": "ioapic_service", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = ashr exact i64 %sext, 29\n %3 = sub nsw i64 %2, %1\n %4 = mul i64 %3, 4\n %5 = add i64 %4, %0\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n store i64 4294967295, i64* %storemerge4.reg2mem\n br i1 %8, label LBL_1, label LBL_12\n LBL_1:\n %9 = add i64 %5, 20\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %5, 16\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %5, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %5, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %5, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %11 to i64\n %25 = zext i32 %14 to i64\n %26 = zext i32 %23 to i64\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_0, i64 0, i64 0), i64 %26, i32 %20, i32 %17, i64 %25, i64 %24)\n %28 = load i32, i32* %22, align 4\n store i32 %28, i32* %sv_1, align 4\n %29 = load i32, i32* %10, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_1.LBL_4_crit_edge, label LBL_3\n LBL_2:\n %.pre = trunc i64 %1 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n br label LBL_4\n LBL_3:\n %32 = add i64 %0, 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = trunc i64 %1 to i32\n %36 = urem i32 %35, 32\n %37 = icmp eq i32 %36, 0\n %38 = shl i32 -1, %36\n %phitmp = add i32 %38, -1\n %storemerge = select i1 %37, i32 -2, i32 %phitmp\n %39 = and i32 %34, %storemerge\n store i32 %39, i32* %33, align 4\n store i32 %35, i32* %.pre-phi.reg2mem\n br label LBL_4\n LBL_4:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %40 = icmp eq i32 %.pre-phi.reload, 8\n %41 = icmp eq i1 %40, false\n %42 = trunc i64 %arg3 to i8\n %43 = icmp eq i8 %42, 0\n %or.cond = or i1 %43, %41\n br i1 %or.cond, label LBL_8, label LBL_5\n LBL_5:\n %44 = add i64 %0, 12\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_7, label LBL_6\n LBL_6:\n %48 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %49 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %48)\n br label LBL_7\n LBL_7:\n %50 = add i64 %0, 16\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = sext i32 %52 to i64\n %54 = add i64 %0, 24\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56, i64 0, i32* nonnull %sv_1, i64 %53)\n %58 = trunc i64 %57 to i32\n %59 = icmp slt i32 %58, 0\n %60 = icmp eq i1 %59, false\n %61 = select i1 %60, i32 %58, i32 0\n store i32 %61, i32* %45, align 4\n store i32 %58, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %62 = add i64 %0, 24\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = call i64 @FUNC(i64 %64, i64 0, i32* nonnull %sv_1, i64 0)\n %66 = trunc i64 %65 to i32\n store i32 %66, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %67 = icmp eq i32 %sv_0.0.reload, 0\n %68 = icmp eq i32 %29, 1\n %69 = icmp eq i1 %68, false\n %or.cond7 = or i1 %69, %67\n br i1 %or.cond7, label LBL_11, label LBL_10\n LBL_10:\n %70 = add i64 %5, 24\n %71 = inttoptr i64 %70 to i32*\n store i32 1, i32* %71, align 4\n br label LBL_11\n LBL_11:\n %72 = zext i32 %sv_0.0.reload to i64\n store i64 %72, i64* %storemerge4.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %5, { 0, 1, 3, 2, 5, 4, 6 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 5, 3, 2, 4, 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i32*, i64)* @kvm_irq_delivery_to_apic, { 1, 0 }\n uselistorder i8 0, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "BN_swap_9860", "fun_name": "BN_swap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %1, 20\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %0, 20\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %1, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %1, 12\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %1, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n store i64 %0, i64* %arg1, align 8\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n store i32 %21, i32* %11, align 4\n %22 = add i64 %0, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n store i32 %24, i32* %14, align 4\n %25 = add i64 %0, 16\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n store i32 %27, i32* %17, align 4\n store i64 %0, i64* %arg2, align 8\n store i32 %12, i32* %20, align 4\n store i32 %15, i32* %23, align 4\n store i32 %18, i32* %26, align 4\n %28 = urem i32 %6, 2\n %29 = and i32 %9, 2\n %30 = or i32 %29, %28\n store i32 %30, i32* %5, align 4\n %31 = urem i32 %9, 2\n %32 = and i32 %6, 2\n %33 = or i32 %31, %32\n store i32 %33, i32* %8, align 4\n %34 = call i64 @FUNC(i64 %1)\n %35 = call i64 @FUNC(i64 %0)\n ret i64 %35\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %0, { 3, 6, 2, 1, 0, 7, 4, 5 }\n uselistorder i32 2, { 2, 0, 3, 1 }\n uselistorder i64 (i64)* @bn_check_top, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_sbd_18390", "fun_name": "init_sbd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 904, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %arg1, align 8\n %4 = inttoptr i64 %0 to i64*\n store i64 %3, i64* %4, align 8\n %5 = add i64 %0, 8\n %6 = call i64 @FUNC(i64 0, i64 %5)\n %7 = add i64 %0, 16\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %7)\n %10 = add i64 %0, 64\n %11 = call i64 @FUNC(i64 %10, i64 0)\n %12 = add i64 %0, 72\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 112\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %0, 152\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 192\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %0, 208\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %0, 224\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %0, 240\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %0, 280\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %0, 320\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %0, 336\n %31 = call i64 @FUNC(i64 %30)\n %32 = add i64 %0, 376\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %0, 424\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %0, 440\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i64 %0, 480\n %39 = call i64 @FUNC(i64 %38)\n %40 = add i64 %0, 520\n %41 = call i64 @FUNC(i64 %40, i64 0)\n %42 = add i64 %0, 528\n %43 = call i64 @FUNC(i64 %42)\n %44 = add i64 %0, 544\n %45 = call i64 @FUNC(i64 %44)\n %46 = add i64 %0, 560\n %47 = call i64 @FUNC(i64 %46)\n %48 = add i64 %0, 576\n %49 = call i64 @FUNC(i64 %48)\n %50 = add i64 %0, 592\n %51 = call i64 @FUNC(i64 %50)\n %52 = add i64 %0, 608\n %53 = call i64 @FUNC(i64 %52)\n %54 = add i64 %0, 656\n %55 = call i64 @FUNC(i64 %54)\n %56 = add i64 %0, 704\n %57 = call i64 @FUNC(i64 %56)\n %58 = add i64 %0, 720\n %59 = call i64 @FUNC(i64 %58)\n %60 = add i64 %0, 736\n %61 = call i64 @FUNC(i64 %60)\n %62 = add i64 %0, 792\n %63 = call i64 @FUNC(i64 %62, i64 0)\n %64 = add i64 %0, 800\n %65 = call i64 @FUNC(i64 %64)\n %66 = add i64 %0, 848\n %67 = call i64 @FUNC(i64 %66)\n %68 = add i64 %0, 864\n %69 = call i64 @FUNC(i64 %68)\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @mutex_init, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @spin_lock_init, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @atomic_set, { 2, 1, 0 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i64 (i64)* @init_waitqueue_head, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lz4_uncompress_5482", "fun_name": "lz4_uncompress", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.6.reg2mem = alloca i64\n %sv_1.517.reg2mem = alloca i64\n %sv_2.318.reg2mem = alloca i8*\n %sv_1.423.reg2mem = alloca i64\n %sv_2.224.reg2mem = alloca i8*\n %sv_2.1.lcssa.reg2mem = alloca i8*\n %sv_1.3.lcssa.reg2mem = alloca i64\n %sv_1.319.reg2mem = alloca i64\n %sv_2.120.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i8*\n %sv_1.2.reg2mem = alloca i64\n %sv_3.3.reg2mem = alloca i32\n %sv_0.5.reg2mem = alloca i64\n %sv_3.2.reg2mem = alloca i32\n %sv_0.4.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_0.3.lcssa.reg2mem = alloca i64\n %sv_0.313.reg2mem = alloca i64\n %sv_1.114.reg2mem = alloca i64\n %sv_3.1.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i64\n %sv_4.0.in.lcssa.reg2mem = alloca i8\n %sv_3.0.lcssa.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.19.reg2mem = alloca i64\n %sv_3.010.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_5 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_5 to i64\n %2 = sext i32 %arg3 to i64\n %3 = add i64 %2, %0\n %4 = add i64 %3, -8\n %5 = add i64 %1, -144\n store i64 %arg1, i64* %sv_0.0.reg2mem\n store i64 %0, i64* %sv_1.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %6 = add i64 %sv_0.0.reload, 1\n %7 = inttoptr i64 %sv_0.0.reload to i8*\n %8 = load i8, i8* %7, align 1\n %9 = zext i8 %8 to i32\n %10 = udiv i32 %9, 16\n %11 = and i32 %9, 240\n %12 = icmp eq i32 %11, 240\n %13 = icmp eq i1 %12, false\n store i64 %6, i64* %sv_0.2.reg2mem\n store i32 %10, i32* %sv_3.1.reg2mem\n br i1 %13, label LBL_6, label LBL_2\n LBL_2:\n %14 = add i64 %sv_0.0.reload, 2\n %sv_4.0.in.in7 = inttoptr i64 %6 to i8*\n %sv_4.0.in8 = load i8, i8* %sv_4.0.in.in7, align 1\n %15 = icmp eq i8 %sv_4.0.in8, -1\n store i32 %10, i32* %sv_3.010.reg2mem\n store i64 %14, i64* %sv_0.19.reg2mem\n store i64 %14, i64* %sv_0.1.lcssa.reg2mem\n store i32 %10, i32* %sv_3.0.lcssa.reg2mem\n store i8 %sv_4.0.in8, i8* %sv_4.0.in.lcssa.reg2mem\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem\n %sv_3.010.reload = load i32, i32* %sv_3.010.reg2mem\n %16 = add i64 %sv_0.19.reload, 1\n %17 = add i32 %sv_3.010.reload, 255\n %sv_4.0.in.in = inttoptr i64 %sv_0.19.reload to i8*\n %sv_4.0.in = load i8, i8* %sv_4.0.in.in, align 1\n %18 = icmp eq i8 %sv_4.0.in, -1\n store i32 %17, i32* %sv_3.010.reg2mem\n store i64 %16, i64* %sv_0.19.reg2mem\n store i64 %16, i64* %sv_0.1.lcssa.reg2mem\n store i32 %17, i32* %sv_3.0.lcssa.reg2mem\n store i8 %sv_4.0.in, i8* %sv_4.0.in.lcssa.reg2mem\n br i1 %18, label LBL_3, label LBL_4\n LBL_4:\n %sv_4.0.in.lcssa.reload = load i8, i8* %sv_4.0.in.lcssa.reg2mem\n %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %sv_4.0 = zext i8 %sv_4.0.in.lcssa.reload to i64\n %19 = sext i32 %sv_3.0.lcssa.reload to i64\n %20 = add nsw i64 %sv_4.0, %19\n %21 = icmp uge i64 %20, %19\n %22 = icmp ne i1 %21, true\n %23 = icmp eq i1 %22, false\n %24 = icmp eq i1 %23, false\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.6.reg2mem\n br i1 %24, label LBL_28, label LBL_5\n LBL_5:\n %25 = zext i8 %sv_4.0.in.lcssa.reload to i32\n %26 = add i32 %sv_3.0.lcssa.reload, %25\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.reg2mem\n store i32 %26, i32* %sv_3.1.reg2mem\n br label LBL_6\n LBL_6:\n %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %27 = sext i32 %sv_3.1.reload to i64\n %28 = add i64 %sv_1.0.reload, %27\n %29 = icmp ule i64 %28, %4\n %30 = icmp ne i1 %29, true\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_8\n LBL_7:\n %32 = icmp ugt i64 %28, %sv_1.0.reload\n store i64 %sv_1.0.reload, i64* %sv_1.114.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.313.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.3.lcssa.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem\n br i1 %32, label LBL_10, label LBL_11\n LBL_8:\n %33 = icmp eq i64 %28, %3\n %34 = icmp eq i1 %33, false\n store i64 %sv_0.2.reload, i64* %sv_0.6.reg2mem\n br i1 %34, label LBL_28, label LBL_9\n LBL_9:\n %35 = inttoptr i64 %sv_1.0.reload to i64*\n %36 = inttoptr i64 %sv_0.2.reload to i64*\n %37 = call i64* @memcpy(i64* %35, i64* %36, i32 %sv_3.1.reload)\n %38 = sub i64 %sv_0.2.reload, %arg1\n %39 = add i64 %38, %27\n store i64 %39, i64* %storemerge.reg2mem\n br label LBL_29\n LBL_10:\n %sv_0.313.reload = load i64, i64* %sv_0.313.reg2mem\n %sv_1.114.reload = load i64, i64* %sv_1.114.reg2mem\n %40 = add i64 %sv_0.313.reload, 1\n %41 = add nuw i64 %sv_1.114.reload, 1\n %42 = inttoptr i64 %sv_0.313.reload to i8*\n %43 = load i8, i8* %42, align 1\n %44 = inttoptr i64 %sv_1.114.reload to i8*\n store i8 %43, i8* %44, align 1\n %exitcond = icmp eq i64 %41, %28\n store i64 %41, i64* %sv_1.114.reg2mem\n store i64 %40, i64* %sv_0.313.reg2mem\n store i64 %40, i64* %sv_0.3.lcssa.reg2mem\n store i64 %28, i64* %sv_1.1.lcssa.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_10\n LBL_11:\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n %sv_0.3.lcssa.reload = load i64, i64* %sv_0.3.lcssa.reg2mem\n %45 = sub i64 %28, %sv_1.1.lcssa.reload\n %46 = add i64 %45, %sv_0.3.lcssa.reload\n %47 = inttoptr i64 %46 to i16*\n %48 = load i16, i16* %47, align 2\n %49 = zext i16 %48 to i64\n %50 = add i64 %46, 2\n %51 = icmp ugt i64 %0, %49\n %52 = icmp eq i1 %51, false\n %53 = icmp eq i1 %52, false\n store i64 %50, i64* %sv_0.6.reg2mem\n br i1 %53, label LBL_28, label LBL_12\n LBL_12:\n %54 = urem i32 %9, 16\n %55 = icmp eq i32 %54, 15\n %56 = icmp eq i1 %55, false\n store i64 %50, i64* %sv_0.4.reg2mem\n store i32 %54, i32* %sv_3.2.reg2mem\n store i64 %50, i64* %sv_0.5.reg2mem\n store i32 %54, i32* %sv_3.3.reg2mem\n br i1 %56, label LBL_15, label LBL_13\n LBL_13:\n %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem\n %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem\n %57 = inttoptr i64 %sv_0.4.reload to i8*\n %58 = load i8, i8* %57, align 1\n %59 = icmp eq i8 %58, -1\n %60 = add i64 %sv_0.4.reload, 1\n %61 = add i32 %sv_3.2.reload, 255\n store i64 %60, i64* %sv_0.4.reg2mem\n store i32 %61, i32* %sv_3.2.reg2mem\n br i1 %59, label LBL_13, label LBL_14\n LBL_14:\n %62 = zext i8 %58 to i32\n %63 = add i32 %sv_3.2.reload, %62\n store i64 %60, i64* %sv_0.5.reg2mem\n store i32 %63, i32* %sv_3.3.reg2mem\n br label LBL_15\n LBL_15:\n %64 = inttoptr i64 %49 to i8*\n %sv_3.3.reload = load i32, i32* %sv_3.3.reg2mem\n %sv_0.5.reload = load i64, i64* %sv_0.5.reg2mem\n %65 = sub i64 %28, %49\n %66 = add i64 %65, -7\n %67 = sub i64 6, %65\n %68 = and i64 %67, %65\n %69 = icmp slt i64 %68, 0\n %70 = icmp eq i64 %66, 0\n %71 = icmp slt i64 %66, 0\n %72 = icmp ne i1 %71, %69\n %73 = or i1 %70, %72\n %74 = icmp eq i1 %73, false\n %75 = load i8, i8* %64, align 1\n %76 = inttoptr i64 %28 to i8*\n store i8 %75, i8* %76, align 1\n %77 = add nuw nsw i64 %49, 1\n %78 = add i64 %28, 1\n %79 = inttoptr i64 %77 to i8*\n %80 = load i8, i8* %79, align 1\n %81 = inttoptr i64 %78 to i8*\n store i8 %80, i8* %81, align 1\n %82 = add nuw nsw i64 %49, 2\n %83 = add i64 %28, 2\n %84 = inttoptr i64 %82 to i8*\n %85 = load i8, i8* %84, align 1\n %86 = inttoptr i64 %83 to i8*\n store i8 %85, i8* %86, align 1\n %87 = add nuw nsw i64 %49, 3\n %88 = add i64 %28, 3\n %89 = inttoptr i64 %87 to i8*\n %90 = load i8, i8* %89, align 1\n %91 = inttoptr i64 %88 to i8*\n store i8 %90, i8* %91, align 1\n br i1 %74, label LBL_17, label LBL_16\n LBL_16:\n %92 = add i64 %28, 4\n %93 = add nuw nsw i64 %49, 4\n %94 = sub i64 %92, %93\n %95 = mul i64 %94, 8\n %96 = add i64 %5, %95\n %97 = inttoptr i64 %96 to i64*\n %98 = load i64, i64* %97, align 8\n %99 = sub i64 %93, %98\n %100 = inttoptr i64 %99 to i32*\n %101 = load i32, i32* %100, align 4\n %102 = inttoptr i64 %92 to i32*\n store i32 %101, i32* %102, align 4\n %103 = add i64 %28, 8\n %104 = inttoptr i64 %99 to i8*\n store i64 %103, i64* %sv_1.2.reg2mem\n store i8* %104, i8** %sv_2.0.reg2mem\n br label LBL_18\n LBL_17:\n %105 = add nuw nsw i64 %49, 4\n %106 = add i64 %28, 4\n %107 = inttoptr i64 %105 to i8*\n %108 = load i8, i8* %107, align 1\n %109 = inttoptr i64 %106 to i8*\n store i8 %108, i8* %109, align 1\n %110 = add nuw nsw i64 %49, 5\n %111 = add i64 %28, 5\n %112 = inttoptr i64 %110 to i8*\n %113 = load i8, i8* %112, align 1\n %114 = inttoptr i64 %111 to i8*\n store i8 %113, i8* %114, align 1\n %115 = add nuw nsw i64 %49, 6\n %116 = add i64 %28, 6\n %117 = inttoptr i64 %115 to i8*\n %118 = load i8, i8* %117, align 1\n %119 = inttoptr i64 %116 to i8*\n store i8 %118, i8* %119, align 1\n %120 = add nuw nsw i64 %49, 7\n %121 = add i64 %28, 7\n %122 = inttoptr i64 %120 to i8*\n %123 = load i8, i8* %122, align 1\n %124 = inttoptr i64 %121 to i8*\n store i8 %123, i8* %124, align 1\n store i64 %28, i64* %sv_1.2.reg2mem\n store i8* %64, i8** %sv_2.0.reg2mem\n br label LBL_18\n LBL_18:\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %125 = sext i32 %sv_3.3.reload to i64\n %126 = add nsw i64 %125, -4\n %127 = add i64 %126, %sv_1.2.reload\n %128 = icmp ugt i64 %127, %4\n br i1 %128, label LBL_20, label LBL_19\n LBL_19:\n %129 = icmp ult i64 %sv_1.2.reload, %127\n store i8* %sv_2.0.reload, i8** %sv_2.318.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.517.reg2mem\n br i1 %129, label LBL_27, label LBL_1.backedge\n LBL_20:\n %130 = icmp ugt i64 %127, %3\n store i64 %sv_0.5.reload, i64* %sv_0.6.reg2mem\n br i1 %130, label LBL_28, label LBL_21\n LBL_21:\n %131 = icmp ult i64 %sv_1.2.reload, %4\n store i8* %sv_2.0.reload, i8** %sv_2.120.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.319.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.3.lcssa.reg2mem\n store i8* %sv_2.0.reload, i8** %sv_2.1.lcssa.reg2mem\n br i1 %131, label LBL_22, label LBL_23\n LBL_22:\n %sv_1.319.reload = load i64, i64* %sv_1.319.reg2mem\n %sv_2.120.reload = load i8*, i8** %sv_2.120.reg2mem\n %132 = ptrtoint i8* %sv_2.120.reload to i64\n %133 = add i64 %132, 1\n %134 = inttoptr i64 %133 to i8*\n %135 = add nuw i64 %sv_1.319.reload, 1\n %136 = load i8, i8* %sv_2.120.reload, align 1\n %137 = inttoptr i64 %sv_1.319.reload to i8*\n store i8 %136, i8* %137, align 1\n %exitcond38 = icmp eq i64 %135, %4\n store i8* %134, i8** %sv_2.120.reg2mem\n store i64 %135, i64* %sv_1.319.reg2mem\n store i64 %4, i64* %sv_1.3.lcssa.reg2mem\n store i8* %134, i8** %sv_2.1.lcssa.reg2mem\n br i1 %exitcond38, label LBL_23, label LBL_22\n LBL_23:\n %sv_2.1.lcssa.reload = load i8*, i8** %sv_2.1.lcssa.reg2mem\n %sv_1.3.lcssa.reload = load i64, i64* %sv_1.3.lcssa.reg2mem\n %138 = icmp ult i64 %sv_1.3.lcssa.reload, %127\n store i8* %sv_2.1.lcssa.reload, i8** %sv_2.224.reg2mem\n store i64 %sv_1.3.lcssa.reload, i64* %sv_1.423.reg2mem\n br i1 %138, label LBL_24, label LBL_25\n LBL_24:\n %sv_1.423.reload = load i64, i64* %sv_1.423.reg2mem\n %sv_2.224.reload = load i8*, i8** %sv_2.224.reg2mem\n %139 = ptrtoint i8* %sv_2.224.reload to i64\n %140 = add i64 %139, 1\n %141 = inttoptr i64 %140 to i8*\n %142 = add nuw i64 %sv_1.423.reload, 1\n %143 = load i8, i8* %sv_2.224.reload, align 1\n %144 = inttoptr i64 %sv_1.423.reload to i8*\n store i8 %143, i8* %144, align 1\n %exitcond39 = icmp eq i64 %142, %127\n store i8* %141, i8** %sv_2.224.reg2mem\n store i64 %142, i64* %sv_1.423.reg2mem\n br i1 %exitcond39, label LBL_25, label LBL_24\n LBL_25:\n %145 = icmp eq i64 %127, %3\n %146 = icmp eq i1 %145, false\n store i64 %sv_0.5.reload, i64* %sv_0.6.reg2mem\n br i1 %146, label LBL_1.backedge, label LBL_28\n LBL_26:\n store i64 %sv_0.5.reload, i64* %sv_0.0.reg2mem\n store i64 %127, i64* %sv_1.0.reg2mem\n br label LBL_1\n LBL_27:\n %sv_1.517.reload = load i64, i64* %sv_1.517.reg2mem\n %sv_2.318.reload = load i8*, i8** %sv_2.318.reg2mem\n %147 = ptrtoint i8* %sv_2.318.reload to i64\n %148 = add i64 %147, 1\n %149 = inttoptr i64 %148 to i8*\n %150 = add nuw i64 %sv_1.517.reload, 1\n %151 = load i8, i8* %sv_2.318.reload, align 1\n %152 = inttoptr i64 %sv_1.517.reload to i8*\n store i8 %151, i8* %152, align 1\n %exitcond37 = icmp eq i64 %150, %127\n store i8* %149, i8** %sv_2.318.reg2mem\n store i64 %150, i64* %sv_1.517.reg2mem\n br i1 %exitcond37, label LBL_1.backedge, label LBL_27\n LBL_28:\n %sv_0.6.reload = load i64, i64* %sv_0.6.reg2mem\n %153 = sub i64 %arg1, %sv_0.6.reload\n %154 = and i64 %153, 4294967295\n store i64 %154, i64* %storemerge.reg2mem\n br label LBL_29\n LBL_29:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %sv_2.318.reload, { 1, 0 }\n uselistorder i8* %sv_2.224.reload, { 1, 0 }\n uselistorder i8* %sv_2.120.reload, { 1, 0 }\n uselistorder i64 %127, { 2, 0, 5, 1, 3, 6, 4, 7 }\n uselistorder i64 %sv_1.2.reload, { 1, 2, 5, 0, 4, 3 }\n uselistorder i8* %sv_2.0.reload, { 1, 2, 0 }\n uselistorder i64 %66, { 1, 0 }\n uselistorder i64 %sv_0.5.reload, { 2, 0, 1 }\n uselistorder i32 %sv_3.2.reload, { 1, 0 }\n uselistorder i64 %50, { 1, 2, 0 }\n uselistorder i64 %49, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 9 }\n uselistorder i64 %46, { 1, 0 }\n uselistorder i64 %28, { 0, 7, 8, 9, 10, 6, 5, 11, 12, 13, 15, 14, 16, 1, 3, 2, 4, 17 }\n uselistorder i64 %sv_0.2.reload, { 4, 3, 0, 1, 2 }\n uselistorder i32 %sv_3.1.reload, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %sv_0.1.lcssa.reload, { 1, 0 }\n uselistorder i32 %sv_3.0.lcssa.reload, { 1, 0 }\n uselistorder i8 %sv_4.0.in.lcssa.reload, { 1, 0 }\n uselistorder i64 %sv_0.19.reload, { 1, 0 }\n uselistorder i32 %10, { 1, 2, 0 }\n uselistorder i32 %9, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 4, 0, 1, 2, 3 }\n uselistorder i64 %3, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.010.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.19.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.114.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.313.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.4.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_2.120.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.319.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_2.224.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.423.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_2.318.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.517.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.6.reg2mem, { 0, 2, 3, 4, 5, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 6, { 1, 2, 0 }\n uselistorder i32 255, { 1, 0 }\n uselistorder i8 -1, { 2, 1, 0 }\n uselistorder i64 2, { 1, 2, 3, 0 }\n uselistorder i1 false, { 4, 0, 5, 6, 1, 7, 2, 8, 3, 9 }\n uselistorder i32 240, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0 }\n uselistorder label LBL_28, { 3, 0, 1, 4, 2 }\n uselistorder label LBL_27, { 1, 0 }\n uselistorder label LBL_1.backedge, { 0, 2, 1 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_nxt_set_async_config_8748", "fun_name": "handle_nxt_set_async_config", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %2 = call i64 @FUNC(i64 %1)\n %3 = bitcast i32* %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %0, i64 0, i64* nonnull %3, i64* nonnull %3)\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* %sv_0, align 4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %8 = call i64 @FUNC(i64 %1, i64* nonnull %3)\n %9 = call i64 @FUNC(i64 %1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 1\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %12, label LBL_5, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %1)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %1, i64 128)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 0, 1, 3, 2, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wake_up_new_task_4460", "fun_name": "wake_up_new_task", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1, i64 %2)\n %4 = add i64 %1, 4\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %1)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %1, i64 %7, i64 0, i64 0)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %1, i64 %9)\n %11 = call i64 @FUNC(i64 %1)\n %12 = call i64 @FUNC(i64 %11, i64 %1, i64 0)\n %13 = inttoptr i64 %4 to i32*\n store i32 1, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %1)\n %15 = call i64 @FUNC(i64 %11, i64 %1, i64 0)\n %16 = call i64 @FUNC(i64 %11, i64 %1, i64* nonnull %sv_0)\n ret i64 %16\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "append_path_8934", "fun_name": "append_path", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = inttoptr i64 %arg3 to i8*\n %2 = call i32 @strlen(i8* %1)\n %3 = sext i32 %2 to i64\n %4 = add i64 %3, %arg2\n %5 = sub i64 %4, %0\n %6 = icmp slt i64 %5, 4094\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = inttoptr i64 %arg2 to i64*\n %8 = inttoptr i64 %arg3 to i64*\n %9 = call i64* @memcpy(i64* %7, i64* %8, i32 %2)\n %10 = inttoptr i64 %4 to i8*\n store i8 47, i8* %10, align 1\n %11 = add i64 %4, 1\n %12 = inttoptr i64 %11 to i8*\n store i8 0, i8* %12, align 1\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_10217", "fun_name": "load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1)\n %4 = add i64 %1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %1, i64 %2, i64 %3, i64 %14, i64 %11)\n %16 = inttoptr i64 %6 to i64*\n store i64 %15, i64* %16, align 8\n %17 = load i64, i64* %5, align 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = zext i1 %21 to i64\n store i64 %22, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i915_gem_init_18445", "fun_name": "i915_gem_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %5, 4294967295\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %9 = call i64 @FUNC(i64 %0)\n %10 = trunc i64 %9 to i32\n %11 = call i64 @FUNC(i64 %1)\n %12 = icmp eq i32 %10, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0)\n %14 = call i64 @FUNC(i64 %0)\n %15 = and i64 %9, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %16 = call i64 @FUNC(i64 %0, i64 1)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = inttoptr i64 %1 to i32*\n store i32 1, i32* %20, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ath5k_deinit_softc_3764", "fun_name": "ath5k_deinit_softc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %0, 20\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = zext i32 %6 to i64\n %11 = call i64 @FUNC(i64 %9, i64 %10)\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %0)\n %14 = load i64, i64* %8, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = load i64, i64* %8, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21, i64 %0)\n ret i64 %22\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ffm_seek1_1472", "fun_name": "ffm_seek1", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, -1024\n %5 = sub i64 %arg2, %4\n %6 = xor i64 %4, %arg2\n %7 = xor i64 %5, %arg2\n %8 = and i64 %7, %6\n %9 = icmp slt i64 %8, 0\n %10 = icmp eq i64 %5, 0\n %11 = icmp slt i64 %5, 0\n %12 = icmp eq i1 %11, %9\n %13 = icmp eq i1 %10, false\n %14 = icmp eq i1 %12, %13\n %15 = select i1 %14, i64 %4, i64 %arg2\n %16 = add i64 %15, -1024\n %17 = sub i64 1023, %15\n %18 = and i64 %17, %15\n %19 = icmp slt i64 %18, 0\n %20 = icmp slt i64 %16, 0\n %21 = icmp eq i1 %20, %19\n %22 = select i1 %21, i64 %15, i64 1024\n %23 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %22)\n %24 = call i64 @FUNC(i64 %3, i64 %22, i64 0)\n ret i64 %24\n\n uselistorder i64 %15, { 2, 0, 1, 3 }\n uselistorder i64 %5, { 1, 2, 0 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %arg2, { 2, 3, 0, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "atalk_autobind_8223", "fun_name": "atalk_autobind", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i16, align 2\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = icmp eq i64 %2, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i16*\n %5 = load i16, i16* %4, align 2\n %6 = call i16 @htons(i16 0)\n %7 = icmp eq i16 %5, %6\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %1 to i16*\n %9 = load i16, i16* %4, align 2\n store i16 %9, i16* %sv_1, align 2\n store i16 %9, i16* %8, align 2\n %10 = add i64 %2, 2\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = add i64 %1, 2\n %14 = inttoptr i64 %13 to i8*\n store i8 %12, i8* %14, align 1\n %15 = call i64 @FUNC(i64 %0, i16* nonnull %sv_1)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %15, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %0, i64 1)\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %20\n\n uselistorder i16 (i16)* @htons, { 1, 0 }\n uselistorder label LBL_4, { 3, 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vfio_intx_set_signal_10429", "fun_name": "vfio_intx_set_signal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = add i64 %2, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %8, i64 %2)\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = load i64, i64* %5, align 8\n %15 = call i64 @FUNC(i64 %14)\n store i64 0, i64* %5, align 8\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %16 = ashr exact i64 %sext, 32\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_3, label LBL_12\n LBL_3:\n %20 = call i64 @FUNC(i64 %2)\n %21 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %20)\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = icmp eq i64 %21, 0\n %25 = icmp eq i1 %24, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %25, label LBL_4, label LBL_12\n LBL_4:\n %26 = and i64 %16, 4294967295\n %27 = call i64 @FUNC(i64 %26)\n %28 = call i64 @FUNC(i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = load i64, i64* %23, align 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = call i64 @FUNC(i64 %27)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n store i64 %27, i64* %5, align 8\n %34 = add i64 %2, 32\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n %spec.select = zext i1 %38 to i64\n %39 = load i64, i64* %23, align 8\n %40 = bitcast i64* %rdi to i32*\n %41 = load i32, i32* %40, align 8\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %42, i64 4198966, i64 %spec.select, i64 %39, i64 %2)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_8, label LBL_7\n LBL_7:\n store i64 0, i64* %5, align 8\n %46 = load i64, i64* %23, align 8\n %47 = call i64 @FUNC(i64 %46)\n %48 = call i64 @FUNC(i64 %27)\n %49 = and i64 %43, 4294967295\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %50 = add i64 %2, 36\n %51 = call i64 @FUNC(i64 %50, i64 %3)\n %52 = load i32, i32* %35, align 4\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_11, label LBL_9\n LBL_9:\n %55 = add i64 %2, 24\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_11, label LBL_10\n LBL_10:\n %59 = call i64 @FUNC(i64 %42)\n br label LBL_11\n LBL_11:\n %60 = call i64 @FUNC(i64 %50, i64 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %27, { 1, 2, 0, 3 }\n uselistorder i64* %23, { 1, 2, 0, 3 }\n uselistorder i64* %5, { 2, 3, 1, 0, 4 }\n uselistorder i64 %2, { 2, 3, 4, 5, 6, 7, 1, 0, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @eventfd_ctx_put, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n uselistorder label LBL_12, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_option_parse_11935", "fun_name": "_option_parse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.ph25.reg2mem = alloca i8\n %rdx.1.ph26.reg2mem = alloca i64\n %sv_1.01927.in.reg2mem = alloca i64\n %.reg2mem90 = alloca i64\n %rdx.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.pre-phi44.reg2mem = alloca i8*\n %sv_0.021.reg2mem = alloca i8\n %sv_1.022.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i16* %arg2 to i64\n %6 = urem i64 %5, 65536\n %7 = call i64 @FUNC(i64 %6)\n %8 = urem i64 %7, 65536\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i8\n %11 = icmp ult i8 %10, 21\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_16, label LBL_1\n LBL_1:\n %12 = mul i8 %10, 4\n %13 = add i8 %12, -80\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_16\n LBL_2:\n %16 = add i64 %5, 2\n %17 = bitcast i64* %arg1 to i16*\n %18 = urem i64 %3, 65536\n store i64 %5, i64* %.reg2mem90\n store i64 %16, i64* %sv_1.01927.in.reg2mem\n store i8 %13, i8* %sv_0.0.ph25.reg2mem\n br label LBL_3.lr.ph\n LBL_3:\n %sv_0.021.reload = load i8, i8* %sv_0.021.reg2mem\n %sv_1.022.in.reload = load i64, i64* %sv_1.022.in.reg2mem\n %sv_1.022 = inttoptr i64 %sv_1.022.in.reload to i8*\n %19 = load i8, i8* %sv_1.022, align 1\n %20 = icmp eq i8 %19, 2\n br i1 %20, label LBL_8, label LBL_4\n LBL_4:\n %21 = icmp ugt i8 %19, 2\n br i1 %21, label LBL_11, label LBL_5\n LBL_5:\n switch i8 %19, label LBL_11 [\n i8 0, label LBL_6\n i8 1, label LBL_7\n ]\n LBL_6:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %.reload91, i64 %rdx.1.ph26.reload, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_7:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i64 %.reload91, i64 %rdx.1.ph26.reload, i64 %4, i64 %2, i64 %1)\n %24 = add i64 %sv_1.022.in.reload, 1\n %25 = add i8 %sv_0.021.reload, -1\n %26 = icmp eq i8 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %24, i64* %sv_1.022.in.reg2mem\n store i8 %25, i8* %sv_0.021.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_3, label LBL_16\n LBL_8:\n %28 = add i64 %sv_1.022.in.reload, 1\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = icmp eq i8 %30, 4\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_2, i64 0, i64 0), i64 %.reload91, i64 %rdx.1.ph26.reload, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_10:\n %33 = add i64 %sv_1.022.in.reload, 2\n %34 = inttoptr i64 %33 to i8*\n %35 = load i8, i8* %34, align 1\n %36 = zext i8 %35 to i64\n %37 = mul i64 %36, 256\n %38 = add i64 %sv_1.022.in.reload, 3\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i64\n %42 = or i64 %37, %41\n %43 = trunc i64 %42 to i16\n store i16 %43, i16* %17, align 2\n %44 = call i64 @FUNC(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_3, i64 0, i64 0), i64 %18, i64 %42, i64 %4, i64 %2, i64 %1)\n store i8* %29, i8** %.pre-phi44.reg2mem\n store i64 %18, i64* %.reg2mem\n store i64 %42, i64* %rdx.0.reg2mem\n br label LBL_12\n LBL_11:\n %45 = add i64 %sv_1.022.in.reload, 1\n %46 = inttoptr i64 %45 to i8*\n %47 = load i8, i8* %46, align 1\n %48 = zext i8 %47 to i64\n %49 = zext i8 %19 to i64\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([101 x i8], [101 x i8]* @gv_4, i64 0, i64 0), i64 %49, i64 %48, i64 %4, i64 %2, i64 %1)\n store i8* %46, i8** %.pre-phi44.reg2mem\n store i64 %49, i64* %.reg2mem\n store i64 %48, i64* %rdx.0.reg2mem\n br label LBL_12\n LBL_12:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %.pre-phi44.reload = load i8*, i8** %.pre-phi44.reg2mem\n %51 = load i8, i8* %.pre-phi44.reload, align 1\n %52 = icmp ult i8 %sv_0.021.reload, %51\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_14, label LBL_13\n LBL_13:\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_5, i64 0, i64 0), i64 %.reload, i64 %rdx.0.reload, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %55 = zext i8 %51 to i64\n %56 = add i64 %sv_1.022.in.reload, %55\n %57 = sub i8 %sv_0.021.reload, %51\n %58 = icmp eq i8 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 %.reload, i64* %.reg2mem90\n store i64 %56, i64* %sv_1.01927.in.reg2mem\n store i64 %rdx.0.reload, i64* %rdx.1.ph26.reg2mem\n store i8 %57, i8* %sv_0.0.ph25.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_3.lr.ph, label LBL_16\n LBL_15:\n %sv_0.0.ph25.reload = load i8, i8* %sv_0.0.ph25.reg2mem\n %rdx.1.ph26.reload = load i64, i64* %rdx.1.ph26.reg2mem\n %sv_1.01927.in.reload = load i64, i64* %sv_1.01927.in.reg2mem\n %.reload91 = load i64, i64* %.reg2mem90\n store i64 %sv_1.01927.in.reload, i64* %sv_1.022.in.reg2mem\n store i8 %sv_0.0.ph25.reload, i8* %sv_0.021.reg2mem\n br label LBL_3\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload91, { 1, 0, 2 }\n uselistorder i64 %rdx.1.ph26.reload, { 1, 0, 2 }\n uselistorder i64 %42, { 0, 2, 1 }\n uselistorder i64 %sv_1.022.in.reload, { 6, 2, 3, 4, 5, 1, 0 }\n uselistorder i8 %sv_0.021.reload, { 2, 1, 0 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %4, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %sv_1.022.in.reg2mem, { 2, 1, 0 }\n uselistorder i8* %sv_0.021.reg2mem, { 2, 1, 0 }\n uselistorder i8** %.pre-phi44.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 7, 6, 2, 5, 3, 4 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 256, { 0, 3, 2, 1 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DEBUG, { 5, 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i8 0, { 1, 3, 2, 0, 4 }\n uselistorder i8 4, { 1, 0 }\n uselistorder label LBL_16, { 0, 4, 5, 1, 6, 2, 3 }\n uselistorder label LBL_3.lr.ph, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xtensa_cpu_realizefn_1367", "fun_name": "xtensa_cpu_realizefn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = inttoptr i64 %1 to i32*\n store i32 %6, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %1)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nsv_read_header_15928", "fun_name": "nsv_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i8*\n %10 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i8* %9, i64 %3, i64 %2, i64 %1)\n %11 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %4, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n store i64 0, i64* %7, align 8\n %14 = bitcast i64* %rdi to i32*\n %15 = load i32, i32* %14, align 8\n %16 = icmp eq i32 %15, 1\n %17 = icmp eq i1 %16, false\n %18 = icmp eq i32 %15, 2\n %19 = icmp eq i1 %18, false\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_1\n LBL_1:\n %20 = call i64 @FUNC(i64 %4)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_2, label LBL_9\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %4)\n br label LBL_4\n LBL_4:\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %4)\n br label LBL_7\n LBL_6:\n %26 = add nuw nsw i32 %storemerge1.reload, 1\n %27 = icmp ult i32 %26, 10\n store i32 %26, i32* %storemerge1.reg2mem\n br i1 %27, label LBL_1, label LBL_7\n LBL_7:\n %28 = inttoptr i64 %12 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp slt i32 %29, 0\n %32 = icmp eq i1 %31, false\n %33 = icmp eq i1 %30, false\n %34 = icmp eq i1 %32, %33\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_8, label LBL_9\n LBL_8:\n %35 = call i64 @FUNC(i64 %4, i64 1)\n %36 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i8* null, i64 %3, i64 %2, i64 %1)\n %37 = and i64 %35, 4294967295\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %29, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 3, 0, 4, 5, 6, 7, 8 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i1 false, { 4, 0, 3, 1, 2 }\n uselistorder i32 0, { 2, 3, 1, 0, 4 }\n uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @av_dlog, { 2, 1, 0 }\n uselistorder label LBL_9, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_disable_carbons_handler_4230", "fun_name": "_disable_carbons_handler", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i64 %arg2)\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %arg2)\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %9, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %12 = inttoptr i64 %9 to i64*\n call void @free(i64* %12)\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64 %arg3, i64 %3, i64 %2, i64 %1)\n br label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @log_debug, { 1, 0 }\n uselistorder i32 1, { 4, 5, 3, 1, 6, 2, 0 }\n uselistorder i64 %arg3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_file_11583", "fun_name": "copy_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sext4 = mul i64 %arg5, 4294967296\n %0 = ashr exact i64 %sext4, 32\n %1 = call i64 @FUNC(i64 1, i64 %arg2)\n %2 = call i64 @FUNC(i64 0, i64 %arg1)\n %3 = and i64 %arg5, 61440\n %4 = icmp eq i64 %3, 40960\n %5 = icmp eq i1 %4, false\n %6 = select i1 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* %6, i64 %2, i64 %1, i64 %arg5, i64 %arg6)\n %8 = and i64 %0, 61440\n %9 = icmp eq i64 %8, 40960\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_9, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 4097)\n %12 = call i64 @FUNC(i64 %arg1, i64 %11, i64 4096)\n %13 = icmp slt i64 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)\n unreachable\n LBL_3:\n %16 = add i64 %12, %11\n %17 = inttoptr i64 %16 to i8*\n store i8 0, i8* %17, align 1\n %18 = call i64 @FUNC(i64 %11, i64 %arg2)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg2)\n unreachable\n LBL_5:\n %22 = icmp eq i64* %arg3, null\n br i1 %22, label LBL_8, label LBL_6\n LBL_6:\n %23 = ptrtoint i64* %arg3 to i64\n %24 = call i64 @FUNC(i64 %arg2, i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg2)\n unreachable\n LBL_8:\n %28 = inttoptr i64 %11 to i64*\n call void @free(i64* %28)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_16\n LBL_9:\n %29 = icmp eq i64 %8, 32768\n br i1 %29, label LBL_11, label LBL_10\n LBL_10:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_7, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0))\n br label LBL_11\n LBL_11:\n %30 = trunc i64 %arg6 to i8\n %31 = and i64 %arg4, 4294967294\n %32 = or i64 %31, 1\n %33 = trunc i64 %0 to i32\n %34 = call i64 @FUNC(i64 %arg2, i64 %32, i32 %33, i8 %30)\n %35 = trunc i64 %34 to i32\n %36 = and i64 %34, 4294967295\n %37 = call i64 @FUNC(i64 %arg1, i64 %36)\n %38 = icmp eq i64* %arg3, null\n br i1 %38, label LBL_14, label LBL_12\n LBL_12:\n %39 = bitcast i64* %arg3 to %stat*\n %40 = call i32 @fstat(i32 %35, %stat* %39)\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_14, label LBL_13\n LBL_13:\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n unreachable\n LBL_14:\n %43 = call i32 @close(i32 %35)\n %44 = icmp eq i32 %43, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %44, label LBL_16, label LBL_15\n LBL_15:\n %45 = call i64 @FUNC()\n unreachable\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %11, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i8*, i8*, i64)* @pfatal, { 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), { 1, 2, 3, 0 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder i1 false, { 3, 4, 5, 6, 2, 0, 1 }\n uselistorder i64 (i64, i64)* @quotearg_n, { 1, 0 }\n uselistorder i64 %arg5, { 1, 2, 0 }\n uselistorder i64* %arg3, { 0, 1, 3, 2 }\n uselistorder i64 %arg2, { 4, 5, 1, 2, 0, 3, 6 }\n uselistorder i64 %arg1, { 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "opt_input_file_17287", "fun_name": "opt_input_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg2 to i8*\n %1 = load i8*, i8** @gv_0, align 8\n %2 = icmp eq i8* %1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %4 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %3, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_2, i64 0, i64 0), i8* %0, i8* nonnull %1)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %5 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0))\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n %spec.select = select i1 %7, i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)\n %8 = ptrtoint i8* %spec.select to i64\n store i8* %spec.select, i8** @gv_0, align 8\n ret i64 %8\n\n uselistorder i8* %0, { 0, 2, 1 }\n uselistorder i8** @gv_0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "seen_before_6339", "fun_name": "seen_before", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %arg2)\n %2 = mul i64 %1, 8\n %3 = and i64 %2, 34359738360\n %4 = add i64 %3, %0\n %storemerge.in2 = inttoptr i64 %4 to i64*\n %storemerge3 = load i64, i64* %storemerge.in2, align 8\n %5 = icmp eq i64 %storemerge3, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = inttoptr i64 %arg2 to i8*\n store i64 %storemerge3, i64* %storemerge4.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %8 = inttoptr i64 %storemerge4.reload to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i8*\n %11 = call i32 @strcmp(i8* %7, i8* %10)\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n %14 = add i64 %storemerge4.reload, 8\n %storemerge.in = inttoptr i64 %14 to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %15 = icmp eq i64 %storemerge, 0\n %16 = icmp eq i1 %15, false\n store i64 %storemerge, i64* %storemerge4.reg2mem\n br i1 %16, label LBL_2, label LBL_5\n LBL_4:\n %17 = icmp eq i64 %storemerge4.reload, 0\n %18 = icmp eq i1 %17, false\n store i64 %storemerge4.reload, i64* %rax.0.reg2mem\n br i1 %18, label LBL_8, label LBL_5\n LBL_5:\n %19 = call i64* @malloc(i32 16)\n %20 = icmp eq i64* %19, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = inttoptr i64 %arg2 to i8*\n %22 = call i8* @strdup(i8* %21)\n %23 = ptrtoint i8* %22 to i64\n store i64 %23, i64* %19, align 8\n %24 = icmp eq i8* %22, null\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_7, label LBL_8\n LBL_7:\n %26 = ptrtoint i64* %19 to i64\n %27 = load i64, i64* %storemerge.in2, align 8\n %28 = add i64 %26, 8\n %29 = inttoptr i64 %28 to i64*\n store i64 %27, i64* %29, align 8\n store i64 %26, i64* %storemerge.in2, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %19, { 2, 0, 1 }\n uselistorder i64 %storemerge4.reload, { 0, 3, 1, 2 }\n uselistorder i64* %storemerge.in2, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 3, 4, 5, 2, 0, 6, 1 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_8, { 3, 2, 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "m101_decode_init_3331", "fun_name": "m101_decode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 23\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %7, 32\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 10\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %4, 16\n %14 = inttoptr i64 %13 to i32*\n store i32 1, i32* %14, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %15 = icmp eq i32 %10, 8\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %4, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 2, i32* %18, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %19 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i32 %10)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder label LBL_6, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bloc_Read_10085", "fun_name": "bloc_Read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0, i64 %1, i64 256)\n %3 = add i64 %1, 256\n %4 = call i64 @FUNC(i64 %0, i64 %3, i64 256)\n %5 = call i64 @FUNC(i64 %0, i64 512)\n ret i64 0\n\n uselistorder i64 (i64, i64, i64)* @gf_bs_read_data, { 1, 0 }\n uselistorder i64 256, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scatterwalk_map_and_copy_17882", "fun_name": "scatterwalk_map_and_copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %.lcssa7.reg2mem = alloca i32\n %.reg2mem9 = alloca i64\n %.reg2mem = alloca i32\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %0 = ptrtoint i32* %arg2 to i64\n %1 = call i64 @FUNC(i32* nonnull %sv_0, i64 %0)\n %2 = load i32, i32* %arg2, align 4\n %3 = load i32, i32* %sv_0, align 4\n %4 = add i32 %3, %2\n %5 = trunc i64 %arg3 to i32\n %6 = icmp ugt i32 %4, %5\n store i32 %4, i32* %.reg2mem\n store i64 %0, i64* %.reg2mem9\n store i32 %3, i32* %.lcssa7.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %.reload10 = load i64, i64* %.reg2mem9\n %.reload = load i32, i32* %.reg2mem\n store i32 %.reload, i32* %sv_0, align 4\n %7 = call i64 @FUNC(i64 %.reload10)\n %8 = inttoptr i64 %7 to i32*\n %9 = call i64 @FUNC(i32* nonnull %sv_0, i64 %7)\n %10 = load i32, i32* %8, align 4\n %11 = load i32, i32* %sv_0, align 4\n %12 = add i32 %11, %10\n %13 = icmp ugt i32 %12, %5\n store i32 %12, i32* %.reg2mem\n store i64 %7, i64* %.reg2mem9\n store i32 %11, i32* %.lcssa7.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_2:\n %14 = ptrtoint i64* %arg1 to i64\n %sext6 = mul i64 %arg5, 4294967296\n %15 = ashr exact i64 %sext6, 32\n %.lcssa7.reload = load i32, i32* %.lcssa7.reg2mem\n %16 = sub i32 %5, %.lcssa7.reload\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i32* nonnull %sv_0, i64 %17)\n %19 = trunc i64 %15 to i32\n %20 = trunc i64 %arg4 to i32\n %21 = call i64 @FUNC(i64 %14, i32* nonnull %sv_0, i32 %20, i32 %19)\n %22 = and i64 %15, 4294967295\n %23 = call i64 @FUNC(i32* nonnull %sv_0, i64 %22, i64 0)\n ret i64 %23\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i32 %5, { 0, 2, 1 }\n uselistorder i32* %sv_0, { 2, 3, 4, 7, 5, 6, 0, 1, 8 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem9, { 2, 0, 1 }\n uselistorder i64 (i32*, i64)* @scatterwalk_start, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cons_show_wins_4248", "fun_name": "cons_show_wins", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = call i64 @FUNC(i64* bitcast ([16 x i8]* @gv_1 to i64*))\n %3 = call i64 @FUNC()\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %storemerge1.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %6 = inttoptr i64 %storemerge1.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = call i64 @FUNC(i64 %storemerge1.reload)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %storemerge1.reg2mem\n br i1 %11, label LBL_1, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %3, i64 4198448)\n %13 = call i64 @FUNC(i64* nonnull @gv_0)\n %14 = call i64 @FUNC()\n ret i64 %14\n\n uselistorder i64 %storemerge1.reload, { 1, 0 }\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 2, 0, 3, 1 }\n uselistorder i64 (i64*)* @cons_show, { 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 4, 3, 5, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mif_validate_3640", "fun_name": "mif_validate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i8\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i8, i8* %0\n %3 = load i8, i8* %0\n %4 = load i8, i8* %0\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i64, align 8\n %5 = bitcast i8* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %1, i64* nonnull %5, i64 4)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_6\n LBL_1:\n %10 = ptrtoint i64* %sv_1 to i64\n %11 = add i64 %10, -20\n store i32 %7, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %12 = sext i32 %storemerge to i64\n %13 = add i64 %11, %12\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = zext i8 %15 to i64\n %17 = call i64 @FUNC(i64 %1, i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, -1\n %20 = icmp eq i1 %19, false\n store i32 %storemerge, i32* %storemerge.in.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_3, label LBL_6\n LBL_3:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = add i32 %storemerge.in.reload, -1\n %21 = icmp slt i32 %storemerge, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_2, label LBL_4\n LBL_4:\n %23 = icmp sgt i32 %7, 3\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_5, label LBL_6\n LBL_5:\n %24 = load i8, i8* %sv_0, align 1\n %25 = zext i8 %24 to i64\n %26 = mul i64 %25, 16777216\n %27 = zext i8 %4 to i64\n %28 = mul i64 %27, 65536\n %29 = zext i8 %3 to i64\n %30 = mul i64 %29, 256\n %31 = zext i8 %2 to i64\n %32 = or i64 %30, %31\n %33 = or i64 %32, %28\n %34 = or i64 %33, %26\n %35 = icmp eq i64 %34, 305419896\n %. = select i1 %35, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge, { 2, 1, 0 }\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i8* %0, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 2, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "discover_upi_topology_7098", "fun_name": "discover_upi_topology", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.3.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i64\n %sv_2.1.reg2mem = alloca i64\n %sv_1.1.ph39.reg2mem = alloca i64\n %.reg2mem99 = alloca i64\n %.reg2mem97 = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i64\n %.reg2mem95 = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.134.reg2mem = alloca i32\n %storemerge35.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = icmp sgt i32 %3, 8\n store i64 0, i64* %sv_2.1.reg2mem\n store i64 0, i64* %sv_1.2.reg2mem\n store i32 -1, i32* %sv_0.3.reg2mem\n br i1 %4, label LBL_16, label LBL_1\n LBL_1:\n %5 = and i64 %arg2, 4294967295\n %6 = call i64 @FUNC(i64 32902, i64 %5, i64 0)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %sv_2.1.reg2mem\n store i64 0, i64* %sv_1.2.reg2mem\n store i32 -1, i32* %sv_0.3.reg2mem\n br i1 %8, label LBL_2, label LBL_16\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = trunc i64 %1 to i32\n %11 = bitcast i32* %sv_3 to i64*\n %12 = bitcast i32* %sv_4 to i64*\n %13 = add i64 %9, 8\n %14 = and i64 %1, 4294967295\n store i32 %10, i32* %.reg2mem97\n store i64 %6, i64* %.reg2mem99\n store i64 0, i64* %sv_1.1.ph39.reg2mem\n br label LBL_3.lr.ph\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %15 = call i64 @FUNC(i64 %.reload, i64 0, i64 0, i64* nonnull %11, i64* nonnull %12)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = and i64 %15, 4294967295\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i32\n store i64 %.reload, i64* %sv_2.1.reg2mem\n store i64 %sv_1.1.ph39.reload, i64* %sv_1.2.reg2mem\n store i32 %20, i32* %sv_0.3.reg2mem\n br label LBL_16\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = load i32, i32* %sv_4, align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22, i64 %indvars.iv.reload)\n %24 = trunc i64 %23 to i32\n %25 = load i32, i32* %sv_3, align 4\n %26 = icmp eq i32 %25, %24\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_12, label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 %indvars.iv.reload)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %.reload, i64* %sv_2.1.reg2mem\n store i64 %sv_1.1.ph39.reload, i64* %sv_1.2.reg2mem\n store i32 -1, i32* %sv_0.3.reg2mem\n br i1 %31, label LBL_7, label LBL_16\n LBL_7:\n %32 = icmp eq i32 %.reload98, 0\n store i32 0, i32* %.reg2mem95\n store i64 %sv_1.1.ph39.reload, i64* %sv_1.0.lcssa.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %32, label LBL_13, label LBL_8\n LBL_8:\n %sext6 = mul i64 %28, 4294967296\n %33 = ashr exact i64 %sext6, 29\n %34 = add i64 %13, %33\n %35 = inttoptr i64 %34 to i64*\n %36 = inttoptr i64 %.reload to i64*\n store i32 0, i32* %storemerge35.reg2mem\n store i32 0, i32* %sv_0.134.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.134.reload = load i32, i32* %sv_0.134.reg2mem\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %37 = load i64, i64* %35, align 8\n %38 = add i32 %storemerge35.reload, %arg3\n %39 = mul i32 %38, 8\n %40 = and i32 %39, 248\n %41 = load i64, i64* %36, align 8\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = call i64 @FUNC(i64 %41)\n %45 = zext i32 %40 to i64\n %46 = zext i32 %43 to i64\n %47 = and i64 %44, 4294967295\n %48 = call i64 @FUNC(i64 %47, i64 %46, i64 %45)\n %49 = icmp eq i64 %48, 0\n store i32 %sv_0.134.reload, i32* %sv_0.0.reg2mem\n br i1 %49, label LBL_11, label LBL_10\n LBL_10:\n %50 = call i64 @FUNC(i64 %48, i64 %37, i32 %storemerge35.reload)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n store i32 %51, i32* %sv_0.0.reg2mem\n store i64 %.reload, i64* %sv_2.1.reg2mem\n store i64 %48, i64* %sv_1.2.reg2mem\n store i32 %51, i32* %sv_0.3.reg2mem\n br i1 %53, label LBL_16, label LBL_11\n LBL_11:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %54 = add i32 %storemerge35.reload, 1\n %55 = sext i32 %54 to i64\n %56 = icmp sgt i64 %14, %55\n store i32 %54, i32* %storemerge35.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.134.reg2mem\n store i32 %10, i32* %.reg2mem95\n store i64 %48, i64* %sv_1.0.lcssa.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %56, label LBL_9, label LBL_13\n LBL_12:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %57 = icmp ult i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %57, label LBL_5, label LBL_137\n LBL_13:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %.reload96 = load i32, i32* %.reg2mem95\n %58 = call i64 @FUNC(i64 32902, i64 %5, i64 %.reload)\n %59 = icmp eq i64 %58, 0\n %60 = icmp eq i1 %59, false\n store i32 %.reload96, i32* %.reg2mem97\n store i64 %58, i64* %.reg2mem99\n store i64 %sv_1.0.lcssa.reload, i64* %sv_1.1.ph39.reg2mem\n store i64 %58, i64* %sv_2.1.reg2mem\n store i64 %sv_1.0.lcssa.reload, i64* %sv_1.2.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.3.reg2mem\n br i1 %60, label LBL_3.lr.ph, label LBL_16\n LBL_14:\n %sv_1.1.ph39.reload = load i64, i64* %sv_1.1.ph39.reg2mem\n %.reload100 = load i64, i64* %.reg2mem99\n %.reload98 = load i32, i32* %.reg2mem97\n store i64 %.reload100, i64* %.reg2mem\n br label LBL_3\n LBL_15:\n %61 = call i64 @FUNC(i64 32902, i64 %5, i64 %.reload)\n %62 = icmp eq i64 %61, 0\n %63 = icmp eq i1 %62, false\n store i64 %61, i64* %.reg2mem\n store i64 %61, i64* %sv_2.1.reg2mem\n store i64 %sv_1.1.ph39.reload, i64* %sv_1.2.reg2mem\n store i32 0, i32* %sv_0.3.reg2mem\n br i1 %63, label LBL_3, label LBL_16\n LBL_16:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem\n %64 = call i64 @FUNC(i64 %sv_2.1.reload)\n %65 = call i64 @FUNC(i64 %sv_1.2.reload)\n %66 = zext i32 %sv_0.3.reload to i64\n ret i64 %66\n\n uselistorder i64 %sv_1.1.ph39.reload, { 1, 2, 0, 3 }\n uselistorder i64 %48, { 1, 0, 2, 3 }\n uselistorder i32 %storemerge35.reload, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %.reload, { 4, 6, 1, 5, 0, 2, 3 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.134.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.1.reg2mem, { 0, 3, 1, 4, 2, 6, 5, 7 }\n uselistorder i64* %sv_1.2.reg2mem, { 0, 3, 1, 4, 2, 6, 5, 7 }\n uselistorder i32* %sv_0.3.reg2mem, { 0, 3, 1, 4, 2, 6, 5, 7 }\n uselistorder i64 (i64)* @pci_dev_put, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0 }\n uselistorder i64 (i64, i64, i64)* @pci_get_device, { 2, 1, 0 }\n uselistorder i64 32902, { 2, 1, 0 }\n uselistorder label LBL_16, { 2, 0, 3, 1, 6, 4, 5 }\n uselistorder label LBL_3.lr.ph, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_virtio_dev_16806", "fun_name": "init_virtio_dev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0)\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 1)\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %2)\n %6 = call i64 @FUNC(i64 %2)\n %7 = call i64 @FUNC(i64 %2)\n %8 = call i64 @FUNC(i64 %2)\n %9 = urem i64 %8, 2\n %10 = call i64 @FUNC(i64 %2, i64 %9)\n %11 = call i64 @FUNC(i64 %2)\n ret i64 %11\n\n uselistorder i64 (i64)* @g_assert_nonnull, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sdhci_sdma_transfer_multi_blocks_7570", "fun_name": "sdhci_sdma_transfer_multi_blocks", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %.pre-phi24.reg2mem = alloca i32*\n %sv_0.2.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem30 = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem28 = alloca i32\n %.reg2mem = alloca i32\n %indvars.iv18.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i16\n %4 = urem i16 %3, 4096\n %5 = zext i16 %4 to i32\n %6 = udiv i16 %3, 4096\n %narrow = add nuw nsw i16 %6, 12\n %7 = zext i16 %narrow to i32\n %8 = shl i32 1, %7\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = urem i32 %11, %8\n %13 = sub i32 %8, %12\n %14 = icmp eq i32 %12, 0\n %15 = add i64 %2, 20\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n br i1 %19, label LBL_13, label LBL_1\n LBL_1:\n %23 = or i32 %22, 28\n store i32 %23, i32* %21, align 4\n %24 = add i64 %2, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = add i64 %2, 12\n %27 = inttoptr i64 %26 to i32*\n %28 = icmp eq i16 %4, 0\n %29 = add i64 %2, 2080\n %30 = add i64 %2, 32\n %wide.trip.count20 = zext i16 %4 to i64\n store i32 %13, i32* %sv_0.1.reg2mem\n br label LBL_12\n LBL_2:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %31 = load i32, i32* %27, align 4\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n %brmerge = or i1 %28, %33\n store i64 0, i64* %indvars.iv18.reg2mem\n store i32 %31, i32* %.reg2mem\n br i1 %brmerge, label LBL_5, label LBL_3\n LBL_3:\n %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem\n %34 = call i64 @FUNC(i64 %29)\n %35 = trunc i64 %34 to i32\n %36 = mul i64 %indvars.iv18.reload, 4\n %37 = add i64 %36, %30\n %38 = inttoptr i64 %37 to i32*\n store i32 %35, i32* %38, align 4\n %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18.reload, 1\n %exitcond21 = icmp eq i64 %indvars.iv.next19, %wide.trip.count20\n store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem\n br i1 %exitcond21, label LBL_4, label LBL_3\n LBL_4:\n %.pre.pre = load i32, i32* %27, align 4\n store i32 %.pre.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %39 = add i32 %.reload, %sv_0.1.reload\n %40 = icmp ult i32 %39, %5\n %41 = icmp eq i1 %14, %40\n br i1 %41, label LBL_6, label LBL_7\n LBL_6:\n store i32 %39, i32* %27, align 4\n store i32 %39, i32* %.reg2mem28\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n store i32 %5, i32* %27, align 4\n %42 = sub i32 %.reload, %5\n %43 = add i32 %42, %sv_0.1.reload\n %44 = load i32, i32* %16, align 4\n %45 = and i32 %44, 2\n %46 = icmp eq i32 %45, 0\n store i32 %5, i32* %.reg2mem28\n store i32 %43, i32* %sv_0.0.reg2mem\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %47 = load i32, i32* %25, align 4\n %48 = add i32 %47, -1\n store i32 %48, i32* %25, align 4\n %.pre22 = load i32, i32* %27, align 4\n store i32 %.pre22, i32* %.reg2mem28\n store i32 %43, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload29 = load i32, i32* %.reg2mem28\n %49 = sub i32 %.reload29, %.reload\n %50 = zext i32 %.reload to i64\n %51 = mul i64 %50, 4\n %52 = add i64 %51, %30\n %53 = load i32, i32* %10, align 4\n %54 = zext i32 %49 to i64\n %55 = zext i32 %53 to i64\n %56 = call i64 @FUNC(i64* nonnull @gv_0, i64 %55, i64 %52, i64 %54)\n %57 = load i32, i32* %10, align 4\n %58 = load i32, i32* %27, align 4\n %59 = sub i32 %57, %.reload\n %60 = add i32 %59, %58\n store i32 %60, i32* %10, align 4\n %61 = load i32, i32* %27, align 4\n %62 = icmp eq i32 %61, %5\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_11, label LBL_10\n LBL_10:\n store i32 0, i32* %27, align 4\n br label LBL_11\n LBL_11:\n %64 = or i32 %sv_0.0.reload, %12\n %65 = icmp eq i32 %64, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i32* %25, i32** %.pre-phi24.reg2mem\n br i1 %65, label LBL_24, label LBL_12\n LBL_12:\n %66 = load i32, i32* %25, align 4\n %67 = icmp eq i32 %66, 0\n %68 = icmp eq i1 %67, false\n store i32* %25, i32** %.pre-phi24.reg2mem\n br i1 %68, label LBL_2, label LBL_24\n LBL_13:\n %69 = or i32 %22, 56\n store i32 %69, i32* %21, align 4\n %70 = add i64 %2, 8\n %71 = inttoptr i64 %70 to i32*\n %72 = add i64 %2, 12\n %73 = inttoptr i64 %72 to i32*\n %74 = add i64 %2, 32\n %75 = icmp eq i16 %4, 0\n %76 = add i64 %2, 2080\n %wide.trip.count = zext i16 %4 to i64\n store i32 %13, i32* %sv_0.2.reg2mem\n br label LBL_23\n LBL_14:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %77 = load i32, i32* %73, align 4\n %78 = add i32 %77, %sv_0.2.reload\n %79 = icmp ult i32 %78, %5\n %80 = icmp eq i1 %14, %79\n br i1 %80, label LBL_15, label LBL_16\n LBL_15:\n store i32 %78, i32* %73, align 4\n store i32 %78, i32* %.reg2mem30\n store i32 0, i32* %storemerge5.reg2mem\n br label LBL_17\n LBL_16:\n store i32 %5, i32* %73, align 4\n %81 = sub i32 %sv_0.2.reload, %5\n %82 = add i32 %81, %77\n store i32 %5, i32* %.reg2mem30\n store i32 %82, i32* %storemerge5.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload31 = load i32, i32* %.reg2mem30\n %83 = zext i32 %77 to i64\n %84 = mul i64 %83, 4\n %85 = add i64 %84, %74\n %86 = load i32, i32* %10, align 4\n %87 = zext i32 %.reload31 to i64\n %88 = zext i32 %86 to i64\n %89 = call i64 @FUNC(i64* nonnull @gv_0, i64 %88, i64 %85, i64 %87)\n %90 = load i32, i32* %10, align 4\n %91 = load i32, i32* %73, align 4\n %92 = sub i32 %90, %77\n %93 = add i32 %92, %91\n store i32 %93, i32* %10, align 4\n %94 = load i32, i32* %73, align 4\n %95 = icmp eq i32 %94, %5\n %96 = icmp eq i1 %95, false\n br i1 %96, label LBL_22, label LBL_18\n LBL_18:\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %75, label LBL_20, label LBL_19\n LBL_19:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %97 = mul i64 %indvars.iv.reload, 4\n %98 = add i64 %97, %74\n %99 = inttoptr i64 %98 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = zext i32 %100 to i64\n %102 = call i64 @FUNC(i64 %76, i64 %101)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_20, label LBL_19\n LBL_20:\n store i32 0, i32* %73, align 4\n %103 = load i32, i32* %16, align 4\n %104 = and i32 %103, 2\n %105 = icmp eq i32 %104, 0\n br i1 %105, label LBL_22, label LBL_21\n LBL_21:\n %106 = load i32, i32* %71, align 4\n %107 = add i32 %106, -1\n store i32 %107, i32* %71, align 4\n br label LBL_22\n LBL_22:\n %108 = or i32 %storemerge5.reload, %12\n %109 = icmp eq i32 %108, 0\n store i32 %storemerge5.reload, i32* %sv_0.2.reg2mem\n store i32* %71, i32** %.pre-phi24.reg2mem\n br i1 %109, label LBL_24, label LBL_23\n LBL_23:\n %110 = load i32, i32* %71, align 4\n %111 = icmp eq i32 %110, 0\n %112 = icmp eq i1 %111, false\n store i32* %71, i32** %.pre-phi24.reg2mem\n br i1 %112, label LBL_14, label LBL_24\n LBL_24:\n %.pre-phi24.reload = load i32*, i32** %.pre-phi24.reg2mem\n %113 = load i32, i32* %.pre-phi24.reload, align 4\n %114 = icmp eq i32 %113, 0\n %115 = icmp eq i1 %114, false\n br i1 %115, label LBL_26, label LBL_25\n LBL_25:\n %116 = call i64 @FUNC(i64 %2)\n store i64 %116, i64* %storemerge2.reg2mem\n br label LBL_29\n LBL_26:\n %117 = add i64 %2, 24\n %118 = inttoptr i64 %117 to i32*\n %119 = load i32, i32* %118, align 4\n %120 = and i32 %119, 64\n %121 = icmp eq i32 %120, 0\n br i1 %121, label LBL_28, label LBL_27\n LBL_27:\n %122 = add i64 %2, 28\n %123 = inttoptr i64 %122 to i32*\n %124 = load i32, i32* %123, align 4\n %125 = or i32 %124, 128\n store i32 %125, i32* %123, align 4\n br label LBL_28\n LBL_28:\n %126 = call i64 @FUNC(i64 %2)\n store i64 %126, i64* %storemerge2.reg2mem\n br label LBL_29\n LBL_29:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %77, { 0, 3, 2, 1 }\n uselistorder i32 %sv_0.2.reload, { 1, 0 }\n uselistorder i32* %71, { 1, 4, 0, 3, 2 }\n uselistorder i32 %.reload, { 4, 1, 0, 2, 3 }\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32* %27, { 3, 2, 4, 1, 5, 6, 0, 7 }\n uselistorder i32* %25, { 1, 4, 0, 3, 2 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i32* %21, { 1, 0, 2 }\n uselistorder i32* %16, { 1, 0, 2 }\n uselistorder i32* %10, { 4, 3, 5, 1, 0, 2, 6 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32 %5, { 3, 0, 2, 5, 4, 7, 1, 6, 9, 8 }\n uselistorder i16 %4, { 4, 2, 3, 1, 0 }\n uselistorder i64 %2, { 6, 9, 8, 7, 5, 0, 11, 10, 1, 2, 4, 3, 13, 12, 14 }\n uselistorder i64* %indvars.iv18.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem28, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem30, { 0, 2, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.pre-phi24.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 0, 2, 1, 5, 3, 4 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i32 0, { 5, 6, 9, 2, 7, 8, 0, 13, 3, 10, 11, 1, 12, 14, 4 }\n uselistorder label LBL_24, { 3, 2, 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ivshmem_setup_interrupts_2372", "fun_name": "ivshmem_setup_interrupts", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 0)\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = call i64 @FUNC(i64 %3, i64 1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = bitcast i64* %rdi to i32*\n %12 = load i32, i32* %11, align 8\n %13 = call i64 @FUNC(i64 %3, i32 %12, i64 1, i64 %10)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %15, label LBL_2, label LBL_3\n LBL_2:\n %16 = zext i32 %12 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 1, i64 %10, i64 %2, i64 %1)\n %18 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_set_log_filename_16425", "fun_name": "qemu_set_log_filename", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i8* @strchr(i8* %arg1, i32 37)\n %7 = icmp eq i8* %6, null\n br i1 %7, label LBL_5, label LBL_1\n LBL_1:\n %8 = ptrtoint i8* %6 to i64\n %9 = add i64 %8, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp eq i8 %11, 100\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = add i64 %8, 2\n %15 = inttoptr i64 %14 to i8*\n %16 = call i8* @strchr(i8* %15, i32 37)\n %17 = icmp eq i8* %16, null\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = ptrtoint i8* %arg1 to i64\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %18)\n store i64 0, i64* @gv_0, align 8\n br label LBL_6\n LBL_4:\n %20 = call i32 @getpid()\n %21 = zext i32 %20 to i64\n %22 = ptrtoint i8* %arg1 to i64\n %23 = call i64 @FUNC(i64 %22, i64 %21, i64 %21, i64 %3, i64 %2, i64 %1)\n store i64 %23, i64* @gv_0, align 8\n br label LBL_6\n LBL_5:\n %24 = ptrtoint i8* %arg1 to i64\n %25 = call i64 @FUNC(i64 %24)\n store i64 %25, i64* @gv_0, align 8\n br label LBL_6\n LBL_6:\n %26 = call i64 @FUNC()\n %27 = load i32, i32* @gv_2, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n ret i64 %29\n\n uselistorder i64 %21, { 1, 0 }\n uselistorder i8* %6, { 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 7, 6, 1, 0, 5 }\n uselistorder i8* %arg1, { 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_tick_get_count_1709", "fun_name": "cpu_tick_get_count", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 0)\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = sub i64 %6, %9\n %11 = call i64 @FUNC(i64 %10, i64 %5)\n %12 = add i64 %2, 32\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %. = select i1 %15, i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 ptrtoint ([9 x i8]* @gv_1 to i64)\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i64 %10, i64 %11, i64 %., i64 %2, i64 %1)\n %17 = load i32, i32* %13, align 4\n %18 = icmp eq i32 %17, 0\n store i64 %11, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %19 = add i64 %2, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = or i64 %21, %11\n store i64 %22, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %11, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uhci_queue_fill_507", "fun_name": "uhci_queue_fill", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32, i32* %1\n %5 = load i32, i32* %1\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n store i32 0, i32* %sv_1, align 4\n %6 = and i64 %2, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_1, label LBL_9\n LBL_1:\n %11 = bitcast i32* %sv_0 to i64*\n %12 = trunc i64 %2 to i32\n %13 = urem i32 %5, 2\n %14 = icmp eq i32 %13, 0\n %15 = add i64 %3, 20\n %16 = inttoptr i64 %15 to i32*\n %17 = zext i32 %5 to i64\n %18 = add i64 %3, 16\n %19 = inttoptr i64 %18 to i32*\n store i64 %6, i64* %.reg2mem\n store i32 %12, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %20 = call i64 @FUNC(i64 %.reload, i64* nonnull %11, i32 %storemerge3.reload)\n br i1 %14, label LBL_9, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64* nonnull %11)\n %22 = load i32, i32* %16, align 4\n %23 = trunc i64 %21 to i32\n %24 = icmp eq i32 %22, %23\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_9, label LBL_4\n LBL_4:\n %26 = and i32 %storemerge3.reload, -16\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %27, i64 %17, i32 %4)\n %29 = load i32, i32* %19, align 4\n %30 = call i64 @FUNC(i64 %27, i64 %3, i32 %29, i64* nonnull %11, i64 %.reload, i32* nonnull %sv_1)\n %31 = trunc i64 %30 to i32\n switch i32 %31, label LBL_5 [\n i32 1, label LBL_9\n i32 0, label LBL_6\n ]\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 59, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %32 = load i32, i32* %sv_1, align 4\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 60, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %storemerge = load i32, i32* %sv_0, align 4\n %34 = zext i32 %storemerge to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 %34, i64* %.reg2mem\n store i32 %storemerge, i32* %storemerge3.reg2mem\n br i1 %38, label LBL_2, label LBL_9\n LBL_9:\n %39 = add i64 %3, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %43, i64 %41)\n ret i64 %44\n\n uselistorder i64 %41, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64 %3, { 3, 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i64 (i64)* @is_valid, { 1, 0 }\n uselistorder i32 0, { 5, 3, 1, 4, 0, 2 }\n uselistorder label LBL_9, { 0, 3, 2, 1, 4 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prefetch_enc_5869", "fun_name": "prefetch_enc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8\n %0 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %1 = add i32 %0, 1\n store i32 %1, i32* @gv_2, align 4\n %2 = call i64 @FUNC(i64* nonnull @gv_1, i64 8)\n ret i64 %2\n\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_enable_quotas_10903", "fun_name": "ext4_enable_quotas", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %5 = ptrtoint i64* %sv_0 to i64\n %6 = and i64 %3, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = add nuw nsw i64 %6, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = add nuw nsw i64 %11, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %4, i64 0)\n %19 = call i64 @FUNC(i64 %4, i64 1)\n %20 = call i64 @FUNC(i64 %4, i64 2)\n %21 = call i64 @FUNC(i64 %4)\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = or i32 %23, 1\n store i32 %24, i32* %22, align 4\n %25 = add i64 %5, -32\n %26 = add i64 %5, -35\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %27 = mul i64 %indvars.iv.reload, 8\n %28 = add i64 %25, %27\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_4, label LBL_2\n LBL_2:\n %32 = add nuw nsw i64 %26, %indvars.iv.reload\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp eq i8 %34, 0\n %. = select i1 %35, i64 2, i64 6\n %36 = trunc i64 %indvars.iv.reload to i32\n %37 = call i64 @FUNC(i64 %4, i32 %36, i64 1, i64 %.)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_4, label LBL_3\n LBL_3:\n %40 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_0, i64 0, i64 0), i32 %36, i32 %38, i64 %2, i64 %1)\n %41 = and i64 %37, 4294967295\n store i64 %41, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %42 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %42, label LBL_1, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64)* @test_opt, { 2, 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cc_calc_abs_32_15181", "fun_name": "cc_calc_abs_32", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = icmp eq i32 %0, -2147483648\n %2 = icmp eq i1 %1, false\n %3 = icmp ne i32 %0, 0\n %. = zext i1 %3 to i64\n %rax.0 = select i1 %2, i64 %., i64 3\n ret i64 %rax.0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_nfs4_free_stateid_10718", "fun_name": "_nfs4_free_stateid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n %7 = load i64, i64* @gv_0, align 8\n store i64 %7, i64* %sv_1, align 8\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1)\n %9 = ptrtoint i64* %sv_2 to i64\n %10 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %sv_0, i64 0)\n %11 = ptrtoint i64* %sv_1 to i64\n %12 = ptrtoint i64* %sv_0 to i64\n %13 = call i64 @FUNC(i64 %9, i64 %6, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_0, i64 1)\n %14 = and i64 %13, 4294967295\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i64 %14, i64 %11, i64 %9, i64 %12, i64 1)\n ret i64 %14\n\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dprintk, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stream_pause_2579", "fun_name": "stream_pause", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem3 = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n store i32 1, i32* %.reg2mem3\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = call i128 @FUNC()\n %6 = call i64 @FUNC(i128 %5)\n %7 = call i128 @FUNC(i64 4696837146684686336)\n %8 = call i128 @__asm_movq.1(i64 %6)\n %9 = call i128 @FUNC(i128 %8, i128 %7)\n %10 = add i64 %2, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i128 @FUNC(i64 %12)\n %14 = call i128 @FUNC(i128 %13, i128 %9)\n %15 = add i64 %2, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i128 @FUNC(i64 %17)\n %19 = call i128 @FUNC(i128 %14)\n %20 = call i128 @FUNC(i128 %19, i128 %18)\n %21 = add i64 %2, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i128 @FUNC(i64 %23)\n %25 = call i128 @FUNC(i128 %24, i128 %20)\n %26 = call i64 @__asm_movsd.2(i128 %25)\n store i64 %26, i64* %22, align 8\n %27 = add i64 %2, 32\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, -78\n br i1 %30, label LBL_1.LBL_4_crit_edge, label LBL_3\n LBL_2:\n %.pre = load i64, i64* %16, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_4\n LBL_3:\n %31 = load i64, i64* %11, align 8\n %32 = call i128 @FUNC(i64 %31)\n %33 = call i64 @__asm_movsd.2(i128 %32)\n %34 = call i128 @FUNC()\n %35 = call i64 @FUNC(i128 %34)\n %36 = call i128 @FUNC(i64 4696837146684686336)\n %37 = call i128 @__asm_movq.1(i64 %35)\n %38 = call i128 @FUNC(i128 %37, i128 %36)\n %39 = call i128 @__asm_addsd.3(i128 %38, i64 %33)\n %40 = call i64 @__asm_movsd.2(i128 %39)\n store i64 %40, i64* %16, align 8\n store i64 %40, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %41 = bitcast i64* %rdi to i32*\n %.reload = load i64, i64* %.reg2mem\n %42 = call i128 @FUNC(i64 %.reload)\n %43 = call i64 @__asm_movsd.2(i128 %42)\n %44 = call i128 @FUNC()\n %45 = call i64 @FUNC(i128 %44)\n %46 = call i128 @FUNC(i64 4696837146684686336)\n %47 = call i128 @__asm_movq.1(i64 %45)\n %48 = call i128 @FUNC(i128 %47, i128 %46)\n %49 = call i128 @FUNC(i64 %43)\n %50 = call i128 @FUNC(i128 %49, i128 %48)\n %51 = call i64 @__asm_movsd.2(i128 %50)\n store i64 %51, i64* %11, align 8\n %.pre1 = load i32, i32* %41, align 8\n %phitmp = icmp eq i32 %.pre1, 0\n %phitmp2 = zext i1 %phitmp to i32\n store i32 %phitmp2, i32* %.reg2mem3\n br label LBL_5\n LBL_5:\n %.reload4 = load i32, i32* %.reg2mem3\n %52 = bitcast i64* %arg1 to i32*\n store i32 %.reload4, i32* %52, align 4\n ret i64 %2\n\n uselistorder i64* %16, { 1, 0, 2 }\n uselistorder i64* %11, { 1, 0, 2 }\n uselistorder i64 %2, { 4, 0, 1, 3, 2 }\n uselistorder i32* %.reg2mem3, { 0, 2, 1 }\n uselistorder i128 ()* @av_gettime, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openpic_set_irq_2341", "fun_name": "openpic_set_irq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %4 = and i64 %arg2, 4294967295\n %sext3 = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext3, 32\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %6, %3\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i64 %5, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %10, i32 %9, i64 %2, i64 %1)\n %12 = load i32, i32* %8, align 4\n %13 = urem i32 %12, 2\n %14 = icmp eq i32 %13, 0\n %15 = trunc i64 %5 to i32\n br i1 %14, label LBL_3, label LBL_1\n LBL_1:\n %16 = add i64 %7, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = icmp eq i32 %15, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_2\n LBL_2:\n %20 = load i32, i32* %8, align 4\n %21 = and i32 %20, -3\n store i32 %21, i32* %8, align 4\n br label LBL_5\n LBL_3:\n %22 = icmp eq i32 %15, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = add i64 %7, 4\n %24 = inttoptr i64 %23 to i32*\n store i32 1, i32* %24, align 4\n br label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %3, i64 %4)\n ret i64 %25\n\n uselistorder i32 %15, { 2, 0, 1 }\n uselistorder i32* %8, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migrate_use_xbzrle_1312", "fun_name": "migrate_use_xbzrle", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = zext i32 %2 to i64\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_auth_sasl_mechname_len_2846", "fun_name": "protocol_client_auth_sasl_mechname_len", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp ult i32 %4, 101\n %6 = trunc i64 %1 to i32\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i32 %6, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n %9 = call i64 @FUNC(i64 %7)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = icmp eq i32 %4, 0\n %11 = icmp eq i1 %10, false\n %12 = ptrtoint i32* %arg1 to i64\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %12, i32 %6, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64* nonnull @gv_1)\n %14 = call i64 @FUNC(i64 %12)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %15 = call i64 @FUNC(i64 %12, i64 4198916, i32 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @vnc_client_error, { 1, 0 }\n uselistorder i64 (i64, i32, i8*, i64*)* @trace_vnc_auth_fail, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tb_alloc_page_5034", "fun_name": "tb_alloc_page", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_1.12.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = mul i64 %arg2, 8\n %3 = and i64 %2, 34359738360\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i64*\n store i64 %arg3, i64* %5, align 8\n %6 = udiv i64 %arg3, 4096\n %7 = call i64 @FUNC(i64 %6, i64 1)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %10, %3\n %12 = inttoptr i64 %7 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %11 to i64*\n store i64 %13, i64* %14, align 8\n %15 = load i64, i64* %12, align 8\n %16 = and i64 %arg2, 4294967295\n %17 = or i64 %16, %0\n store i64 %17, i64* %12, align 8\n %18 = call i64 @FUNC(i64 %7)\n %19 = add i64 %7, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = urem i32 %21, 2\n %23 = icmp eq i32 %22, 0\n store i64 %arg3, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_6, label LBL_1\n LBL_1:\n %24 = load i64, i64* @gv_0, align 8\n %25 = and i64 %24, %arg3\n %26 = load i32, i32* @gv_1, align 4\n %27 = sext i32 %26 to i64\n %28 = add i64 %25, %27\n %29 = icmp ult i64 %25, %28\n store i64 %25, i64* %storemerge3.reg2mem\n store i32 0, i32* %sv_1.12.reg2mem\n store i32 0, i32* %sv_1.1.lcssa.reg2mem\n store i32 %26, i32* %.lcssa.reg2mem\n br i1 %29, label LBL_2, label LBL_5\n LBL_2:\n %sv_1.12.reload = load i32, i32* %sv_1.12.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %30 = udiv i64 %storemerge3.reload, 4096\n %31 = call i64 @FUNC(i64 %30)\n %32 = icmp eq i64 %31, 0\n store i32 %sv_1.12.reload, i32* %sv_1.0.reg2mem\n br i1 %32, label LBL_4, label LBL_3\n LBL_3:\n %33 = add i64 %31, 8\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = or i32 %35, %sv_1.12.reload\n %37 = and i32 %35, -2\n store i32 %37, i32* %34, align 4\n store i32 %36, i32* %sv_1.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %38 = add i64 %storemerge3.reload, 4096\n %39 = load i32, i32* @gv_1, align 4\n %40 = sext i32 %39 to i64\n %41 = add i64 %25, %40\n %42 = icmp ult i64 %38, %41\n store i64 %38, i64* %storemerge3.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.12.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem\n store i32 %39, i32* %.lcssa.reg2mem\n br i1 %42, label LBL_2, label LBL_5\n LBL_5:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %43 = and i32 %sv_1.1.lcssa.reload, 2\n %44 = call i64 @FUNC(i64 %25)\n %45 = inttoptr i64 %44 to i64*\n %46 = call i32 @mprotect(i64* %45, i32 %.lcssa.reload, i32 %43)\n %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n store i64 %25, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %48 = icmp eq i64 %15, 0\n %49 = icmp eq i1 %48, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %49, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %50 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %35, { 1, 0 }\n uselistorder i32 %sv_1.12.reload, { 1, 0 }\n uselistorder i64 %25, { 0, 5, 2, 1, 4, 3 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.12.reg2mem, { 2, 0, 1 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 4096, { 2, 0, 1 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i64 %arg3, { 2, 0, 1, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_e820_entries_8462", "fun_name": "setup_e820_entries", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i32, i32* @gv_0, align 4\n %2 = icmp ult i32 %1, 128\n %spec.select = select i1 %2, i32 %1, i32 128\n %3 = bitcast i64* %arg1 to i32*\n store i32 %spec.select, i32* %3, align 4\n %4 = mul nuw nsw i32 %spec.select, 24\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = call i64* @memcpy(i64* %6, i64* nonnull @gv_1, i32 %4)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_socket_3679", "fun_name": "ff_socket", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %arg1 to i32\n %4 = trunc i64 %arg2 to i32\n %5 = or i32 %4, 524288\n %6 = call i32 @socket(i32 %3, i32 %5, i32 %arg3)\n %7 = icmp eq i32 %6, -1\n %8 = icmp eq i1 %7, false\n store i32 %6, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_5, label LBL_1\n LBL_1:\n %9 = call i32* @__errno_location()\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 22\n %12 = icmp eq i1 %11, false\n store i32 %6, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_5, label LBL_2\n LBL_2:\n %sext3 = mul i64 %arg2, 4294967296\n %13 = ashr exact i64 %sext3, 32\n %14 = trunc i64 %13 to i32\n %15 = call i32 @socket(i32 %3, i32 %14, i32 %arg3)\n %16 = icmp eq i32 %15, -1\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = call i32 (i32, i32, ...) @fcntl(i32 %15, i32 2)\n %18 = icmp eq i32 %17, -1\n %19 = icmp eq i1 %18, false\n store i32 %15, i32* %sv_0.0.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = and i64 %13, 4294967295\n %21 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %2, i64 %1)\n store i32 %15, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %22 = zext i32 %sv_0.0.reload to i64\n ret i64 %22\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 (i32, i32, i32)* @socket, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rxrpc_put_bundle_6883", "fun_name": "rxrpc_put_bundle", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = add i64 %2, 4\n %4 = bitcast i32* %sv_0 to i64*\n %5 = call i64 @FUNC(i64 %3, i64* nonnull %4)\n %6 = trunc i64 %5 to i8\n %7 = load i32, i32* %sv_0, align 4\n %8 = add i32 %7, -1\n %9 = zext i32 %8 to i64\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %9)\n %12 = icmp eq i8 %6, 0\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %2)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipa_region_paint_9881", "fun_name": "ipa_region_paint", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = load i64, i64* @gv_0, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %4)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = load i64, i64* @gv_0, align 8\n %12 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %13 = add i64 %4, 24\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %10, i64 %16, i64 1)\n %18 = icmp sgt i32 %2, 0\n br i1 %18, label LBL_3, label LBL_5\n LBL_3:\n %19 = add i64 %4, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = add i64 %4, 8\n %22 = inttoptr i64 %21 to i64*\n %sext = mul i64 %1, 4294967296\n %23 = ashr exact i64 %sext, 32\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %24 = load i64, i64* %20, align 8\n %25 = mul i64 %storemerge1.reload, 8\n %26 = add i64 %24, %25\n %27 = add i64 %26, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = inttoptr i64 %26 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = load i64, i64* %22, align 8\n %33 = add i64 %32, %25\n %34 = add i64 %33, 4\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = inttoptr i64 %33 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = load i64, i64* @gv_0, align 8\n %40 = zext i32 %29 to i64\n %41 = call i64 @FUNC(i64 %39, i32 %38, i32 %36, i32 %31, i64 %40)\n %42 = add nuw nsw i64 %storemerge1.reload, 1\n %exitcond = icmp eq i64 %42, %23\n store i64 %42, i64* %storemerge1.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %43 = load i64, i64* @gv_0, align 8\n %44 = call i64 @FUNC(i64 %43)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_times_4045", "fun_name": "set_times", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 29\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = bitcast i32* %sv_0 to i64*\n %7 = bitcast i32* %sv_1 to i64*\n %8 = call i64 @FUNC(i64 %5, i64* nonnull %6, i64* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = load i32, i32* %sv_1, align 4\n %12 = sext i32 %11 to i64\n %13 = mul i64 %12, 4\n %14 = add i64 %13, ptrtoint (i32** @gv_0 to i64)\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = load i32, i32* %sv_0, align 4\n %18 = sext i32 %17 to i64\n %19 = mul i64 %18, 4\n %20 = add i64 %19, ptrtoint (i32** @gv_0 to i64)\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = zext i32 %16 to i64\n %27 = zext i32 %11 to i64\n %28 = zext i32 %22 to i64\n %29 = zext i32 %17 to i64\n %30 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %28, i64 %27, i64 %26)\n %31 = load i32, i32* %sv_1, align 4\n %32 = zext i32 %31 to i64\n %33 = trunc i64 %arg2 to i32\n %34 = call i64 @FUNC(i64 %0, i64 0, i32 %33, i64 %32)\n %35 = load i32, i32* %sv_0, align 4\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %0, i64 1, i32 %33, i64 %36)\n store i32 %9, i32* %3, align 4\n %38 = add i64 %2, 4\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64 %41, i64* nonnull %6, i64* nonnull %7)\n %43 = trunc i64 %42 to i32\n %44 = load i32, i32* %sv_1, align 4\n %45 = sext i32 %44 to i64\n %46 = mul i64 %45, 4\n %47 = add i64 %46, ptrtoint (i32** @gv_0 to i64)\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = load i32, i32* %sv_0, align 4\n %51 = sext i32 %50 to i64\n %52 = mul i64 %51, 4\n %53 = add i64 %52, ptrtoint (i32** @gv_0 to i64)\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = load i64, i64* %24, align 8\n %57 = zext i32 %49 to i64\n %58 = zext i32 %44 to i64\n %59 = zext i32 %55 to i64\n %60 = zext i32 %50 to i64\n %61 = call i64 @FUNC(i64 %56, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %60, i64 %59, i64 %58, i64 %57)\n %62 = load i32, i32* %sv_1, align 4\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %0, i64 2, i32 %33, i64 %63)\n %65 = load i32, i32* %sv_0, align 4\n %66 = zext i32 %65 to i64\n %67 = call i64 @FUNC(i64 %0, i64 3, i32 %33, i64 %66)\n %68 = load i32, i32* %sv_0, align 4\n %69 = zext i32 %68 to i64\n %70 = call i64 @FUNC(i64 %0, i64 4, i32 %33, i64 %69)\n store i32 %43, i32* %39, align 4\n %71 = call i64 @FUNC(i64 %0, i64 5, i32 %33, i64 6)\n store i64 %71, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 }\n uselistorder i32* %sv_0, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 0 }\n uselistorder i64 (i64, i64, i32, i64)* @set_code, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_dbg, { 1, 0 }\n uselistorder i64 4, { 5, 0, 1, 4, 2, 3 }\n uselistorder i64 (i64, i64*, i64*)* @choose_times, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "client_printf_54", "fun_name": "client_printf", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n store i32 8, i32* %sv_1, align 4\n %21 = ptrtoint i32* %sv_1 to i64\n %22 = bitcast i64* %sv_0 to i8*\n %23 = call i32 @vsnprintf(i8* nonnull %22, i32 1024, i8* %arg1, i64 %21)\n %24 = icmp ult i32 %23, 1024\n store i32 %23, i32* %storemerge.reg2mem\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = call i32 @strlen(i8* nonnull %22)\n store i32 %25, i32* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %26 = load i64, i64* @gv_0, align 8\n %27 = sext i32 %storemerge.reload to i64\n %28 = icmp ugt i64 %26, %27\n store i64 %26, i64* %.reg2mem\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = call i64 @FUNC()\n %.pre = load i64, i64* @gv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %30 = icmp ult i64 %.reload, %27\n br i1 %30, label LBL_7, label LBL_8\n LBL_7:\n call void @abort()\n unreachable\n LBL_8:\n %31 = load i64*, i64** @gv_1, align 8\n %32 = call i64* @memcpy(i64* %31, i64* nonnull %sv_0, i32 %storemerge.reload)\n %33 = load i64*, i64** @gv_1, align 8\n %34 = ptrtoint i64* %33 to i64\n %35 = add i64 %34, %27\n store i64 %35, i64* bitcast (i64** @gv_1 to i64*), align 8\n %36 = load i64, i64* @gv_0, align 8\n %37 = sub i64 %36, %27\n store i64 %37, i64* @gv_0, align 8\n ret i64 %37\n\n uselistorder i64 %37, { 1, 0 }\n uselistorder i64 %27, { 1, 0, 2, 3 }\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1024, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdev_try_create_2097", "fun_name": "qdev_try_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_5\n LBL_2:\n %6 = icmp eq i64 %arg1, 0\n %7 = icmp eq i1 %6, false\n store i64 %arg1, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %3)\n %9 = call i64 @FUNC(i64 %8, i64 1)\n %10 = and i64 %9, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC()\n store i64 %12, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %13 = call i64 @FUNC(i64 %3, i64 %sv_0.0.reload)\n %14 = call i64 @FUNC(i64 %3)\n %15 = call i64 @FUNC(i64 %14)\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 (i64)* @OBJECT, { 1, 0 }\n uselistorder i32 1, { 3, 2, 4, 5, 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_coc_851", "fun_name": "get_coc", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 1\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg3 to i64\n %6 = call i64 @FUNC(i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = urem i32 %7, 256\n %9 = mul i32 %8, 4\n %10 = zext i32 %9 to i64\n %11 = add i64 %10, %4\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i32\n %14 = urem i32 %13, 256\n %15 = inttoptr i64 %11 to i32*\n store i32 %14, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %0, i64 %11)\n %17 = zext i32 %8 to i64\n %18 = add i64 %17, %5\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = or i8 %20, 1\n store i8 %21, i8* %19, align 1\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_init_integrity_18556", "fun_name": "nvme_init_integrity", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 2\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = icmp eq i32 %2, 0\n %5 = icmp slt i32 %2, 0\n %6 = icmp eq i1 %5, false\n %7 = icmp eq i1 %4, false\n %8 = icmp eq i1 %6, %7\n br i1 %8, label LBL_4, label LBL_5\n LBL_2:\n %9 = icmp eq i32 %2, 3\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0, align 8\n br label LBL_6\n LBL_4:\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %sv_0, align 8\n br label LBL_6\n LBL_5:\n store i64 0, i64* %sv_0, align 8\n br label LBL_6\n LBL_6:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = add i64 %11, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14, i64* nonnull %sv_0)\n %16 = add i64 %11, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18, i64 1)\n ret i64 %19\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i32 %2, { 3, 1, 2, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fpm_unix_resolve_socket_premissions_8583", "fun_name": "fpm_unix_resolve_socket_premissions", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 -1, i32* %5, align 4\n %6 = add i64 %3, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 -1, i32* %7, align 4\n %8 = add i64 %3, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 432, i32* %9, align 4\n %10 = icmp eq i64* %arg1, null\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_1, label LBL_14\n LBL_1:\n %12 = inttoptr i64 %4 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_6, label LBL_2\n LBL_2:\n %15 = inttoptr i64 %13 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 0\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = call %passwd* @getpwnam(i8* %15)\n %19 = icmp eq %passwd* %18, null\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = load i64, i64* %12, align 8\n %22 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %21, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %23 = ptrtoint %passwd* %18 to i64\n %24 = add i64 %23, 16\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n store i32 %26, i32* %5, align 4\n %27 = add i64 %23, 20\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n store i32 %29, i32* %7, align 4\n br label LBL_6\n LBL_6:\n %30 = inttoptr i64 %8 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp eq i64 %31, 0\n br i1 %32, label LBL_11, label LBL_7\n LBL_7:\n %33 = inttoptr i64 %31 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp eq i8 %34, 0\n br i1 %35, label LBL_11, label LBL_8\n LBL_8:\n %36 = call %group* @getgrnam(i8* %33)\n %37 = icmp eq %group* %36, null\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = load i64, i64* %30, align 8\n %40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %31, i64 %39, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_10:\n %41 = ptrtoint %group* %36 to i64\n %42 = add i64 %41, 16\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n store i32 %44, i32* %7, align 4\n br label LBL_11\n LBL_11:\n %45 = add i64 %3, 24\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = icmp eq i64 %47, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %48, label LBL_14, label LBL_12\n LBL_12:\n %49 = inttoptr i64 %47 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = icmp eq i8 %50, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %51, label LBL_14, label LBL_13\n LBL_13:\n %52 = call i32 @strtoul(i8* %49, i8** null, i32 8)\n store i32 %52, i32* %9, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder %group* %36, { 1, 0 }\n uselistorder %passwd* %18, { 1, 0 }\n uselistorder i32* %7, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 6, 5, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @zlog, { 1, 0 }\n uselistorder label LBL_14, { 2, 1, 0, 4, 5, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mov_lang_to_iso639_16227", "fun_name": "ff_mov_lang_to_iso639", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = icmp slt i32 %1, 139\n store i64 2, i64* %indvars.iv.reg2mem\n store i64 %2, i64* %sv_0.04.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %4 = trunc i64 %sv_0.04.reload to i8\n %5 = urem i8 %4, 32\n %6 = or i8 %5, 96\n %7 = add i64 %indvars.iv.reload, %0\n %8 = inttoptr i64 %7 to i8*\n store i8 %6, i8* %8, align 1\n %9 = trunc i64 %sv_0.04.reload to i32\n %10 = ashr i32 %9, 5\n %11 = sext i32 %10 to i64\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1\n %12 = icmp eq i64 %indvars.iv.reload, 0\n %13 = icmp eq i1 %12, false\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %11, i64* %sv_0.04.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_5\n LBL_2:\n %14 = trunc i64 %2 to i32\n %15 = icmp ult i32 %14, 139\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_5\n LBL_3:\n %16 = ashr exact i64 %sext, 29\n %17 = add i64 %16, ptrtoint ([139 x i8*]* @gv_0 to i64)\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_4, label LBL_5\n LBL_4:\n %22 = bitcast i64* %arg2 to i8*\n %23 = inttoptr i64 %19 to i8*\n %24 = call i8* @strncpy(i8* %22, i8* %23, i32 4)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 2, 0, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder label LBL_5, { 3, 1, 2, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__dwc3_gadget_kick_transfer_11200", "fun_name": "__dwc3_gadget_kick_transfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_12\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = call i64 @FUNC(i64 %2)\n %9 = add i64 %2, 16\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = or i32 %7, 2\n %14 = bitcast i64* %arg1 to i32*\n store i32 %13, i32* %14, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_3:\n %15 = urem i32 %7, 2\n %16 = icmp eq i32 %15, 0\n %17 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 16)\n %18 = icmp eq i1 %16, false\n br i1 %18, label LBL_6, label LBL_4\n LBL_4:\n %19 = add i64 %10, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n store i64 %22, i64* %sv_1, align 8\n %23 = load i64, i64* %20, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %2, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n store i32 3, i32* %sv_0.0.reg2mem\n br i1 %31, label LBL_7, label LBL_5\n LBL_5:\n %32 = add i64 %2, 24\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = or i32 %34, 3\n store i32 %35, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %36 = add i64 %2, 4\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = or i32 %38, 4\n store i32 %39, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %40 = zext i32 %sv_0.0.reload to i64\n %41 = call i64 @FUNC(i64 %2, i64 %40, i64* nonnull %sv_1)\n %42 = trunc i64 %41 to i32\n %43 = icmp slt i32 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_9, label LBL_8\n LBL_8:\n %45 = add i64 %2, 12\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i32 %47, -1\n store i32 %48, i32* %46, align 4\n %49 = call i64 @FUNC(i64 %2, i64 %10, i32 %42)\n %50 = and i64 %41, 4294967295\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %51 = or i32 %7, 1\n %52 = bitcast i64* %arg1 to i32*\n store i32 %51, i32* %52, align 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_12, label LBL_10\n LBL_10:\n %53 = call i64 @FUNC(i64 %2)\n %54 = trunc i64 %53 to i32\n %55 = add i64 %2, 4\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n %57 = icmp eq i32 %54, 0\n %58 = icmp eq i1 %57, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %58, label LBL_12, label LBL_11\n LBL_11:\n %59 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64 %2, { 5, 4, 2, 3, 6, 7, 0, 1, 9, 8, 10 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 6, 5, 4 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }\n uselistorder label LBL_12, { 2, 1, 0, 4, 5, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "isa_bus_irqs_17188", "fun_name": "isa_bus_irqs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = ptrtoint i64* %arg2 to i64\n store i64 %4, i64* %arg1, align 8\n ret i64 %3\n\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_msr_hyperv_pw_9880", "fun_name": "get_msr_hyperv_pw", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 1073741828\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = icmp ult i32 %1, 1073741829\n br i1 %3, label LBL_2, label LBL_6\n LBL_2:\n store i64 %0, i64* %sv_0.0.reg2mem\n switch i32 %1, label LBL_6 [\n i32 1073741827, label LBL_4\n i32 1073741825, label LBL_7\n i32 1073741826, label LBL_3\n ]\n LBL_3:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n store i64 %6, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_4:\n %7 = call i64 @FUNC()\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %10, %7\n %12 = call i64 @FUNC(i64 %11, i64 100)\n store i64 %12, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %13 = add i64 %0, 24\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_6:\n %16 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %1)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %arg3, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %1, { 2, 0, 1, 3 }\n uselistorder i64 %0, { 1, 4, 2, 3, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_video_chains_17536", "fun_name": "dump_video_chains", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %rcx.12.reg2mem = alloca i64\n %r8.13.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n %7 = call i64 @FUNC()\n %8 = icmp sgt i64 %7, 0\n store i32 0, i32* %storemerge4.reg2mem\n store i64 %7, i64* %.lcssa.reg2mem\n br i1 %8, label LBL_1, label LBL_7\n LBL_1:\n %r8.13.reload = load i64, i64* %r8.13.reg2mem\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %9 = zext i32 %storemerge4.reload to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_5, label LBL_2\n LBL_2:\n %15 = add i64 %13, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = inttoptr i64 %17 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %13 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %10 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %24, i64 %22, i64 %20, i64 %1)\n store i64 %22, i64* %rcx.0.reg2mem\n store i64 %20, i64* %r8.0.reg2mem\n br label LBL_6\n LBL_4:\n %26 = inttoptr i64 %13 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = inttoptr i64 %10 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %9, i64 %29, i64 %27, i64 %r8.13.reload, i64 %1)\n store i64 %27, i64* %rcx.0.reg2mem\n store i64 %r8.13.reload, i64* %r8.0.reg2mem\n br label LBL_6\n LBL_5:\n %rcx.12.reload = load i64, i64* %rcx.12.reg2mem\n %31 = inttoptr i64 %10 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %9, i64 %32, i64 %rcx.12.reload, i64 %r8.13.reload, i64 %1)\n store i64 %rcx.12.reload, i64* %rcx.0.reg2mem\n store i64 %r8.13.reload, i64* %r8.0.reg2mem\n br label LBL_6\n LBL_6:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %34 = add i32 %storemerge4.reload, 1\n %35 = call i64 @FUNC()\n %36 = sext i32 %34 to i64\n %37 = icmp sgt i64 %35, %36\n store i32 %34, i32* %storemerge4.reg2mem\n store i64 %r8.0.reload, i64* %r8.13.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.12.reg2mem\n store i64 %35, i64* %.lcssa.reg2mem\n br i1 %37, label LBL_1, label LBL_7\n LBL_7:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %13, { 1, 0, 2, 3 }\n uselistorder i64 %10, { 2, 1, 0, 3 }\n uselistorder i64 %9, { 2, 1, 0, 3 }\n uselistorder i64 %r8.13.reload, { 1, 3, 0, 2 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.13.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.12.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %r8.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 ()* @omap_dss_get_num_overlays, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DBG, { 3, 2, 1, 0 }\n uselistorder i32 1, { 10, 8, 7, 6, 5, 4, 3, 2, 9, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ValueNew_10029", "fun_name": "ValueNew", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, 1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, 1\n store i32 %9, i32* %7, align 4\n %10 = call i64 @FUNC(i64 1, i64 4)\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = call i64 @FUNC()\n %13 = and i64 %12, 4294967295\n %14 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %2)\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext3_blkdev_get_11129", "fun_name": "ext3_blkdev_get", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %arg1, i64 7, i64 %3)\n %5 = icmp ult i64 %4, -1000\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0)\n %7 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_channels_3507", "fun_name": "read_channels", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %sv_1.02.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n store i64 0, i64* %sv_3, align 8\n %1 = call i64 @FUNC(i64 %0)\n store i64 %1, i64* %sv_2, align 8\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = icmp sgt i32 %arg2, 0\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %1, i64* %sv_1.02.reg2mem\n store i64 0, i64* %sv_0.01.reg2mem\n br i1 %5, label LBL_2, label LBL_8\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem\n %6 = call i64 @FUNC(i64 %sv_1.02.reload, i64* nonnull @gv_0, i64* nonnull %sv_3)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n %spec.select = select i1 %8, i64 %6, i64 %sv_0.01.reload\n %9 = icmp eq i64 %spec.select, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_9\n LBL_3:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %11 = sext i32 %storemerge3.reload to i64\n %12 = mul i64 %11, 4\n %13 = add i64 %12, %arg4\n %14 = call i64 @FUNC(i64 %spec.select, i64 %13)\n %15 = inttoptr i64 %13 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i32 %16, 1\n %18 = sext i32 %17 to i64\n %19 = mul i64 %11, 8\n %20 = add i64 %19, %arg6\n %21 = call i64 @FUNC(i64 %18, i64 8)\n %22 = inttoptr i64 %20 to i64*\n store i64 %21, i64* %22, align 8\n %23 = load i32, i32* %15, align 4\n %24 = sext i32 %23 to i64\n %25 = add i64 %19, %arg5\n %26 = call i64 @FUNC(i64 %24, i64 8)\n %27 = inttoptr i64 %25 to i64*\n store i64 %26, i64* %27, align 8\n %28 = icmp eq i64 %26, 0\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %28, label LBL_9, label LBL_4\n LBL_4:\n %29 = load i64, i64* %22, align 8\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %31, label LBL_5, label LBL_9\n LBL_5:\n %32 = load i32, i32* %15, align 4\n %33 = call i64 @FUNC(i64 %4, i64 %spec.select, i32 %32, i64 %26)\n %34 = trunc i64 %33 to i32\n %35 = icmp slt i32 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_7, label LBL_6\n LBL_6:\n %37 = and i64 %33, 4294967295\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %38 = add nuw i32 %storemerge3.reload, 1\n %39 = icmp slt i32 %38, %arg2\n store i32 %38, i32* %storemerge3.reg2mem\n store i64 0, i64* %sv_1.02.reg2mem\n store i64 %spec.select, i64* %sv_0.01.reg2mem\n br i1 %39, label LBL_2, label LBL_8\n LBL_8:\n %40 = call i64 @FUNC(i64* nonnull %sv_2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %26, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %spec.select, { 0, 3, 1, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 2, 1, 3, 4 }\n uselistorder i64 (i64, i64)* @av_calloc, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0, 2 }\n uselistorder i32 %arg2, { 1, 0 }\n uselistorder label LBL_9, { 5, 4, 1, 0, 2, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_close_2225", "fun_name": "crypto_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %3 = add i64 %0, 8\n %4 = call i64 @FUNC(i64 %3)\n ret i64 0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sr_drive_status_10678", "fun_name": "sr_drive_status", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %sv_0 = alloca i32, align 4\n %2 = load i32, i32* %0\n %3 = load i32, i32* %0\n %sv_1 = alloca i32, align 4\n %4 = trunc i64 %arg2 to i32\n %5 = icmp eq i32 %4, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_11\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i32* %sv_1 to i64*\n %8 = call i64 @FUNC(i64 %6, i64 1000, i64 3, i64* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_11\n LBL_2:\n %12 = call i64 @FUNC(i64* nonnull %7)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = load i32, i32* %sv_1, align 4\n %16 = icmp eq i32 %15, 2\n %17 = icmp eq i32 %3, 4\n %18 = icmp eq i1 %17, %16\n %19 = icmp eq i32 %2, 1\n %20 = icmp eq i1 %19, %18\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_11, label LBL_4\n LBL_4:\n %21 = bitcast i32* %sv_0 to i64*\n %22 = call i64 @FUNC(i64 %6, i64* nonnull %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_7, label LBL_5\n LBL_5:\n %26 = load i32, i32* %sv_0, align 4\n %27 = icmp eq i32 %26, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_6, label LBL_11\n LBL_6:\n %28 = icmp eq i32 %1, 0\n %. = select i1 %28, i64 4294967293, i64 4294967294\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %29 = call i64 @FUNC(i64* nonnull %7)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %.pre = load i32, i32* %sv_1, align 4\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = icmp eq i32 %.pre, 2\n %33 = icmp eq i32 %3, 4\n %34 = icmp eq i1 %33, %32\n %35 = icmp eq i32 %2, 2\n %36 = icmp eq i1 %35, %34\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %36, label LBL_11, label LBL_9\n LBL_9:\n %37 = icmp eq i32 %.pre, 2\n %38 = icmp eq i32 %3, 4\n %39 = icmp eq i1 %38, %37\n store i64 0, i64* %rax.0.reg2mem\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i64* nonnull %7)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i32 %3, 58\n %44 = icmp eq i1 %43, false\n %or.cond13 = or i1 %44, %42\n %spec.select = select i1 %or.cond13, i64 4294967294, i64 4294967293\n ret i64 %spec.select\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %3, { 3, 2, 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32* %0, { 2, 1, 0 }\n uselistorder i64 4294967294, { 1, 0, 2 }\n uselistorder i32 2, { 1, 0, 2, 3 }\n uselistorder i64 (i64*)* @scsi_sense_valid, { 2, 1, 0 }\n uselistorder label LBL_11, { 2, 0, 3, 4, 1, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clear_context_new_18162", "fun_name": "clear_context_new", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64* @calloc(i32 1, i32 32)\n %1 = icmp eq i64* %0, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = bitcast i64* %0 to i32*\n %3 = trunc i64 %arg1 to i32\n store i32 %3, i32* %2, align 4\n %4 = call i64 @FUNC()\n %5 = ptrtoint i64* %0 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %4, i64* %7, align 8\n %8 = icmp eq i64 %4, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %4, i64 0)\n %11 = add i64 %5, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 1048576, i64* %12, align 8\n %13 = call i64* @malloc(i32 1048576)\n %14 = ptrtoint i64* %13 to i64\n %15 = add i64 %5, 24\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = call i64 @FUNC(i64 %5)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %0, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvm_vcpu_kick_9919", "fun_name": "kvm_vcpu_kick", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i8\n %5 = icmp eq i8 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %7, %9\n br i1 %10, label LBL_6, label LBL_2\n LBL_2:\n %11 = load i32, i32* @gv_0, align 4\n %12 = icmp ugt i32 %11, %7\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_6, label LBL_3\n LBL_3:\n %14 = and i64 %1, 4294967295\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i8\n %17 = icmp eq i8 %16, 0\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 %2)\n %19 = trunc i64 %18 to i8\n %20 = icmp eq i8 %19, 0\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %14)\n br label LBL_6\n LBL_6:\n %22 = call i64 @FUNC()\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_v_overlap_c_3046", "fun_name": "vc1_v_overlap_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.08.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i32\n %storemerge10.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = mul i64 %arg2, 8589934592\n %2 = sub i64 0, %1\n %3 = ashr exact i64 %2, 32\n %sext3 = sub i64 0, %sext\n %4 = ashr exact i64 %sext3, 32\n %5 = ashr exact i64 %sext, 32\n store i32 0, i32* %storemerge10.reg2mem\n store i32 1, i32* %sv_1.09.reg2mem\n store i64 %0, i64* %sv_0.08.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem\n %storemerge10.reload = load i32, i32* %storemerge10.reg2mem\n %6 = add i64 %sv_0.08.reload, %3\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = zext i8 %8 to i32\n %10 = add i64 %sv_0.08.reload, %4\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %12 to i32\n %14 = inttoptr i64 %sv_0.08.reload to i8*\n %15 = load i8, i8* %14, align 1\n %16 = zext i8 %15 to i32\n %17 = add i64 %sv_0.08.reload, %5\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = zext i8 %19 to i32\n %21 = sub nsw i32 %9, %20\n %22 = add nuw nsw i32 %sv_1.09.reload, 3\n %23 = add nsw i32 %22, %21\n %24 = udiv i32 %23, 8\n %25 = sub nsw i32 4, %sv_1.09.reload\n %26 = add nuw nsw i32 %25, %13\n %27 = sub nsw i32 %26, %16\n %28 = add nsw i32 %27, %21\n %29 = ashr i32 %28, 3\n %30 = trunc i32 %24 to i8\n %31 = sub i8 %8, %30\n store i8 %31, i8* %7, align 1\n %32 = sub nsw i32 %13, %29\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i8\n store i8 %35, i8* %11, align 1\n %36 = add nsw i32 %29, %16\n %37 = zext i32 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n %39 = trunc i64 %38 to i8\n store i8 %39, i8* %14, align 1\n %40 = add i8 %19, %30\n store i8 %40, i8* %18, align 1\n %41 = add i64 %sv_0.08.reload, 1\n %42 = icmp eq i32 %sv_1.09.reload, 0\n %43 = zext i1 %42 to i32\n %44 = add nuw nsw i32 %storemerge10.reload, 1\n %exitcond = icmp eq i32 %44, 8\n store i32 %44, i32* %storemerge10.reg2mem\n store i32 %43, i32* %sv_1.09.reg2mem\n store i64 %41, i64* %sv_0.08.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 1\n\n uselistorder i32 %21, { 1, 0 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i32 %sv_1.09.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.08.reload, { 0, 4, 1, 3, 2 }\n uselistorder i32* %storemerge10.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_clip_uint8, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "run_poll_handlers_16922", "fun_name": "run_poll_handlers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.2.lcssa.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.24.reg2mem = alloca i32\n %storemerge.in5.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp slt i32 %8, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp eq i1 %9, false\n %13 = icmp eq i1 %11, %12\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 42, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %14 = add i64 %5, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i64 %5, i64 %arg2)\n %19 = call i64 @FUNC(i64 0)\n %20 = add i64 %19, %arg2\n %21 = add i64 %5, 16\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n store i64 %21, i64* %storemerge.in5.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.24.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.lcssa.reg2mem\n br i1 %23, label LBL_8, label LBL_12\n LBL_8:\n %sv_0.24.reload = load i32, i32* %sv_0.24.reg2mem\n %storemerge.in5.reload = load i64, i64* %storemerge.in5.reg2mem\n %storemerge = inttoptr i64 %storemerge.in5.reload to i8*\n %24 = load i8, i8* %storemerge, align 1\n %25 = icmp eq i8 %24, 1\n store i32 %sv_0.24.reload, i32* %sv_0.1.reg2mem\n br i1 %25, label LBL_11, label LBL_9\n LBL_9:\n %26 = add i64 %storemerge.in5.reload, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n store i32 %sv_0.24.reload, i32* %sv_0.1.reg2mem\n br i1 %29, label LBL_11, label LBL_10\n LBL_10:\n %30 = add i64 %storemerge.in5.reload, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = trunc i64 %32 to i8\n %34 = icmp eq i8 %33, 0\n %spec.select = select i1 %34, i32 %sv_0.24.reload, i32 1\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %35 = add i64 %storemerge.in5.reload, 24\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 %37, i64* %storemerge.in5.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.24.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.lcssa.reg2mem\n br i1 %39, label LBL_8, label LBL_12\n LBL_12:\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %40 = trunc i32 %sv_0.2.lcssa.reload to i8\n %41 = icmp eq i8 %40, 1\n br i1 %41, label LBL_14, label LBL_13\n LBL_13:\n %42 = call i64 @FUNC(i64 0)\n %43 = icmp sgt i64 %20, %42\n store i32 %sv_0.2.lcssa.reload, i32* %sv_0.0.reg2mem\n br i1 %43, label LBL_7, label LBL_14\n LBL_14:\n %44 = urem i32 %sv_0.2.lcssa.reload, 256\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %5, i64 %45)\n ret i64 %45\n\n uselistorder i32 %sv_0.2.lcssa.reload, { 1, 2, 0 }\n uselistorder i32 %sv_0.24.reload, { 2, 0, 1 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.in5.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.24.reg2mem, { 2, 0, 1 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 (i64)* @qemu_clock_get_ns, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 1 }\n uselistorder i1 false, { 2, 0, 3, 1, 4 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "aarch64_cpu_set_pc_350", "fun_name": "aarch64_cpu_set_pc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = inttoptr i64 %1 to i64*\n store i64 %arg2, i64* %5, align 8\n br label LBL_3\n LBL_2:\n %6 = add i64 %1, 128\n %7 = inttoptr i64 %6 to i64*\n store i64 %arg2, i64* %7, align 8\n br label LBL_3\n LBL_3:\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ion_handle_put_13556", "fun_name": "ion_handle_put", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = and i64 %2, 4294967295\n ret i64 %4\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_load_guest_xsave_state_100", "fun_name": "kvm_load_guest_xsave_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 2097152)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_7, label LBL_2\n LBL_2:\n %10 = add i64 %6, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = load i64, i64* @gv_0, align 8\n %14 = icmp eq i64 %12, %13\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 0, i64 %12)\n br label LBL_4\n LBL_4:\n %16 = add i64 %6, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_7, label LBL_5\n LBL_5:\n %20 = add i64 %6, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = load i64, i64* @gv_1, align 8\n %24 = icmp eq i64 %22, %23\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = call i64 @FUNC(i64 218, i64 %22)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 0, { 0, 3, 1, 2, 4, 5, 6, 7 }\n uselistorder i32 1, { 3, 2, 4, 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hub_port_reset_7567", "fun_name": "hub_port_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdi.2.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %r8.017.reg2mem = alloca i64\n %r8.016.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %r8.0.ph.reg2mem = alloca i64\n %rcx.1.ph.reg2mem = alloca i64\n %sv_1.022.reg2mem = alloca i32\n %sv_0.223.reg2mem = alloca i64\n %rdi.127.reg2mem = alloca i64\n %r8.128.reg2mem = alloca i64\n %storemerge429.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %sext = mul i64 %arg5, 72057594037927936\n %3 = ashr exact i64 %sext, 56\n %4 = add i64 %2, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = sext i32 %arg2 to i64\n %8 = mul i64 %7, 8\n %9 = add nsw i64 %8, -8\n %10 = add i64 %9, %6\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = and i64 %2, 4294967295\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = trunc i64 %3 to i8\n br i1 %17, label LBL_4, label LBL_1\n LBL_1:\n %19 = icmp eq i8 %18, 0\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = sext i32 %arg4 to i64\n %21 = add i64 %2, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = and i64 %23, 4294967295\n %25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %20, i64 %arg5, i64 %1)\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_25\n LBL_3:\n %26 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %3, i64* %sv_0.0.reg2mem\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %rdi.0.reg2mem\n br label LBL_7\n LBL_4:\n %27 = icmp eq i8 %18, 1\n store i64 %3, i64* %sv_0.0.reg2mem\n store i64 %13, i64* %rdi.0.reg2mem\n br i1 %27, label LBL_7, label LBL_5\n LBL_5:\n %28 = bitcast i32* %sv_3 to i64*\n %29 = call i64 @FUNC(i64 %2, i32 %arg2, i64* nonnull %28, i64* nonnull %sv_4)\n %30 = trunc i64 %29 to i32\n store i32 %30, i32* %sv_2, align 4\n %31 = icmp slt i32 %30, 0\n store i64 %2, i64* %rdi.2.reg2mem\n br i1 %31, label LBL_22, label LBL_6\n LBL_6:\n %32 = load i32, i32* %sv_3, align 4\n %33 = urem i32 %32, 65536\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %2, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %spec.select = select i1 %37, i64 %3, i64 1\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n store i64 %2, i64* %rdi.0.reg2mem\n br label LBL_7\n LBL_7:\n %38 = ptrtoint i64* %arg3 to i64\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %39 = zext i32 %arg2 to i64\n %40 = add i64 %2, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = and i64 %12, 4294967295\n %43 = ptrtoint i64* %sv_4 to i64\n %44 = bitcast i32* %sv_3 to i64*\n store i32 0, i32* %storemerge429.reg2mem\n store i64 %arg5, i64* %r8.128.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.127.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.223.reg2mem\n store i32 %arg4, i32* %sv_1.022.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.223.reload = load i64, i64* %sv_0.223.reg2mem\n %rdi.127.reload = load i64, i64* %rdi.127.reg2mem\n %r8.128.reload = load i64, i64* %r8.128.reg2mem\n %storemerge429.reload = load i32, i32* %storemerge429.reg2mem\n %45 = trunc i64 %sv_0.223.reload to i8\n %46 = icmp eq i8 %45, 0\n %. = select i1 %46, i64 2, i64 1\n %47 = and i64 %rdi.127.reload, 4294967295\n %48 = call i64 @FUNC(i64 %47, i64 %39, i64 %.)\n %49 = trunc i64 %48 to i32\n store i32 %49, i32* %sv_2, align 4\n store i64 %r8.128.reload, i64* %r8.016.reg2mem\n switch i32 %49, label LBL_9 [\n i32 -19, label LBL_15\n i32 0, label LBL_10\n ]\n LBL_9:\n %50 = and i64 %48, 4294967295\n %.8 = select i1 %46, i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint ([6 x i8]* @gv_3 to i64)\n %51 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %.8, i64 %50, i64 %r8.128.reload, i64 %1)\n store i64 %50, i64* %rcx.1.ph.reg2mem\n store i64 %r8.128.reload, i64* %r8.0.ph.reg2mem\n br label LBL_12\n LBL_10:\n %sv_1.022.reload = load i32, i32* %sv_1.022.reg2mem\n %52 = zext i32 %sv_1.022.reload to i64\n %53 = urem i64 %sv_0.223.reload, 256\n %54 = call i64 @FUNC(i64 %2, i32 %arg2, i64 %38, i32 %sv_1.022.reload, i64 %53)\n %55 = trunc i64 %54 to i32\n store i32 %55, i32* %sv_2, align 4\n store i32 %55, i32* %.reg2mem\n store i32 %55, i32* %.reg2mem\n store i32 %55, i32* %.reg2mem\n store i64 %52, i64* %rcx.1.reg2mem\n store i64 %52, i64* %rcx.1.reg2mem\n store i64 %52, i64* %rcx.1.reg2mem\n store i64 %53, i64* %r8.0.reg2mem\n store i64 %53, i64* %r8.0.reg2mem\n store i64 %53, i64* %r8.0.reg2mem\n switch i32 %55, label LBL_11 [\n i32 -19, label LBL_13\n i32 -107, label LBL_13\n i32 0, label LBL_13\n ]\n LBL_11:\n %56 = load i64, i64* %41, align 8\n %57 = and i64 %56, 4294967295\n %58 = and i64 %54, 4294967295\n %59 = call i64 @FUNC(i64 %57, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_5, i64 0, i64 0), i64 %58, i64 %57, i64 %53, i64 %1)\n store i64 %57, i64* %rcx.1.ph.reg2mem\n store i64 %53, i64* %r8.0.ph.reg2mem\n br label LBL_12\n LBL_12:\n %r8.0.ph.reload = load i64, i64* %r8.0.ph.reg2mem\n %rcx.1.ph.reload = load i64, i64* %rcx.1.ph.reg2mem\n %.pr = load i32, i32* %sv_2, align 4\n store i32 %.pr, i32* %.reg2mem\n store i64 %rcx.1.ph.reload, i64* %rcx.1.reg2mem\n store i64 %r8.0.ph.reload, i64* %r8.0.reg2mem\n br label LBL_13\n LBL_13:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n store i64 %r8.0.reload, i64* %r8.016.reg2mem\n store i64 %r8.0.reload, i64* %r8.016.reg2mem\n switch i32 %.reload, label LBL_14 [\n i32 -107, label LBL_15\n i32 0, label LBL_15\n ]\n LBL_14:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %60 = icmp eq i32 %.reload, -19\n %61 = icmp eq i1 %60, false\n store i64 %r8.0.reload, i64* %r8.016.reg2mem\n store i64 %r8.0.reload, i64* %r8.017.reg2mem\n store i64 %sv_0.223.reload, i64* %sv_0.1.reg2mem\n store i64 %rcx.1.reload, i64* %rcx.2.reg2mem\n br i1 %61, label LBL_20, label LBL_15\n LBL_15:\n %62 = call i64 @FUNC(i64 %2, i32 %arg2, i64 %38, i32* nonnull %sv_2)\n %63 = call i64 @FUNC(i64 %13)\n %64 = trunc i64 %63 to i32\n %65 = icmp eq i32 %64, 0\n store i64 %13, i64* %rdi.2.reg2mem\n br i1 %65, label LBL_22, label LBL_16\n LBL_16:\n %66 = call i64 @FUNC(i64 %2, i32 %arg2, i64* nonnull %44, i64* nonnull %sv_4)\n %67 = trunc i64 %66 to i32\n %68 = icmp slt i32 %67, 0\n store i64 %2, i64* %rdi.2.reg2mem\n br i1 %68, label LBL_22, label LBL_17\n LBL_17:\n %69 = load i32, i32* %sv_3, align 4\n %70 = urem i32 %69, 65536\n %71 = zext i32 %70 to i64\n %72 = call i64 @FUNC(i64 %2, i64 %71)\n %73 = trunc i64 %72 to i32\n %74 = icmp eq i32 %73, 0\n store i64 %2, i64* %rdi.2.reg2mem\n br i1 %74, label LBL_22, label LBL_18\n LBL_18:\n %r8.016.reload = load i64, i64* %r8.016.reg2mem\n %75 = icmp eq i8 %45, 1\n store i64 %r8.016.reload, i64* %r8.017.reg2mem\n store i64 %sv_0.223.reload, i64* %sv_0.1.reg2mem\n store i64 %43, i64* %rcx.2.reg2mem\n br i1 %75, label LBL_20, label LBL_19\n LBL_19:\n %76 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_6, i64 0, i64 0), i64 %71, i64 %43, i64 %r8.016.reload, i64 %1)\n store i64 %r8.016.reload, i64* %r8.017.reg2mem\n store i64 1, i64* %sv_0.1.reg2mem\n store i64 %43, i64* %rcx.2.reg2mem\n br label LBL_20\n LBL_20:\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %r8.017.reload = load i64, i64* %r8.017.reg2mem\n %77 = trunc i64 %sv_0.1.reload to i8\n %78 = icmp eq i8 %77, 0\n %.14 = select i1 %78, i64 ptrtoint (i64* @gv_2 to i64), i64 ptrtoint ([6 x i8]* @gv_3 to i64)\n %79 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_7, i64 0, i64 0), i64 %.14, i64 %rcx.2.reload, i64 %r8.017.reload, i64 %1)\n %80 = add nuw nsw i32 %storemerge429.reload, 1\n %81 = icmp ult i32 %80, 5\n store i32 %80, i32* %storemerge429.reg2mem\n store i64 %r8.017.reload, i64* %r8.128.reg2mem\n store i64 %42, i64* %rdi.127.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.223.reg2mem\n store i32 1000, i32* %sv_1.022.reg2mem\n br i1 %81, label LBL_8, label LBL_21\n LBL_21:\n %82 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_8, i64 0, i64 0), i64 %.14, i64 %rcx.2.reload, i64 %r8.017.reload, i64 %1)\n store i64 %42, i64* %rdi.2.reg2mem\n br label LBL_22\n LBL_22:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %83 = and i64 %rdi.2.reload, 4294967295\n %84 = call i64 @FUNC(i64 %83)\n %85 = trunc i64 %84 to i32\n %86 = icmp eq i32 %85, 0\n %87 = icmp eq i1 %86, false\n br i1 %87, label LBL_24, label LBL_23\n LBL_23:\n %88 = call i64 @FUNC(i64* nonnull @gv_1)\n br label LBL_24\n LBL_24:\n %89 = load i32, i32* %sv_2, align 4\n %90 = zext i32 %89 to i64\n store i64 %90, i64* %storemerge.reg2mem\n br label LBL_25\n LBL_25:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %r8.017.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.1.reload, { 1, 0 }\n uselistorder i64 %rcx.2.reload, { 1, 0 }\n uselistorder i64 %r8.016.reload, { 0, 2, 1 }\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i64 %57, { 0, 2, 1 }\n uselistorder i32 %55, { 3, 0, 1, 2, 4 }\n uselistorder i64 %53, { 3, 5, 0, 1, 2, 4 }\n uselistorder i32 %sv_1.022.reload, { 1, 0 }\n uselistorder i64 %r8.128.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.223.reload, { 1, 0, 3, 2 }\n uselistorder i64 %43, { 0, 2, 1 }\n uselistorder i64 %42, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %38, { 1, 0 }\n uselistorder i8 %18, { 1, 0 }\n uselistorder i64 %13, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 2, 1, 0, 3 }\n uselistorder i64* %sv_4, { 0, 2, 1 }\n uselistorder i32* %sv_3, { 1, 3, 0, 2 }\n uselistorder i32* %sv_2, { 2, 1, 0, 3, 4, 5 }\n uselistorder i64 %2, { 0, 9, 1, 10, 11, 8, 7, 3, 5, 2, 6, 4, 12, 13 }\n uselistorder i64 %1, { 2, 5, 4, 3, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %storemerge429.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r8.128.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.127.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.223.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.022.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %rcx.1.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %r8.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %r8.016.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %r8.017.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rdi.2.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_dbg, { 2, 1, 0 }\n uselistorder i32 -19, { 2, 0, 1 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @hub_port_warm_reset_required, { 1, 0 }\n uselistorder i64 (i64, i32, i64*, i64*)* @hub_port_status, { 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64* @gv_1, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 1, 2, 0 }\n uselistorder i32 0, { 4, 5, 6, 7, 1, 2, 3, 0, 8, 9, 10 }\n uselistorder i64 (i64)* @hub_is_superspeed, { 2, 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i64 %arg5, { 0, 2, 1 }\n uselistorder i32 %arg2, { 2, 3, 1, 4, 0, 5 }\n uselistorder label LBL_22, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_15, { 3, 1, 2, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hmp_migrate_status_cb_16754", "fun_name": "hmp_migrate_status_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 0)\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rdi.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = add i64 %6, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i8*\n %14 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %12, i64* %rdi.0.reg2mem\n br i1 %16, label LBL_7, label LBL_2\n LBL_2:\n %17 = add i64 %6, 16\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_6, label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %21 = add i64 %6, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 0\n store i32 100, i32* %storemerge.reg2mem\n br i1 %26, label LBL_5, label LBL_4\n LBL_4:\n %27 = add i64 %23, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = mul i32 %29, 100\n %31 = add i64 %23, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = ashr i32 %30, 31\n %36 = zext i32 %30 to i64\n %37 = zext i32 %35 to i64\n %38 = mul i64 %37, 4294967296\n %39 = or i64 %38, %36\n %40 = sdiv i64 %39, %34\n %41 = trunc i64 %40 to i32\n store i64 %34, i64* %rcx.0.reg2mem\n store i32 %41, i32* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %42 = call i64 @FUNC(i64 %rdi.0.reload, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %storemerge.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %43 = call i64 @FUNC(i64 %rdi.0.reload)\n br label LBL_6\n LBL_6:\n %44 = call i64 @FUNC(i64 0)\n %45 = add i64 %44, 1000\n %46 = add i64 %5, 16\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = and i64 %45, 4294967295\n %50 = call i64 @FUNC(i64 %48, i64 %49)\n br label LBL_10\n LBL_7:\n %51 = add i64 %5, 8\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = icmp eq i32 %53, 0\n br i1 %54, label LBL_9, label LBL_8\n LBL_8:\n %55 = trunc i64 %3 to i32\n %56 = call i64 @FUNC(i64 %12, i8* inttoptr (i64 4202536 to i8*), i32 %55, i64 %4, i64 %2, i64 %1)\n br label LBL_9\n LBL_9:\n %57 = call i64 @FUNC(i64 %12)\n %58 = add i64 %5, 16\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = call i64 @FUNC(i64 %60)\n %62 = call i64 @FUNC(i64 %5)\n br label LBL_10\n LBL_10:\n %63 = call i64 @FUNC(i64 %6)\n ret i64 %63\n\n uselistorder i64 %12, { 2, 1, 0, 3 }\n uselistorder i64 %6, { 0, 2, 1, 3, 4 }\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @monitor_printf, { 1, 0 }\n uselistorder i32 100, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "http_change_connection_header_9537", "fun_name": "http_change_connection_header", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %rsi.1.be.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = load i32, i32* %1\n %5 = load i64, i64* %0\n %6 = load i32, i32* %1\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %7 = trunc i64 %2 to i32\n %8 = urem i32 %7, 2\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = icmp eq i1 %10, false\n %spec.select4 = select i1 %11, i32 10, i32 16\n %12 = and i32 %7, -7\n store i32 %12, i32* %arg1, align 4\n %13 = ptrtoint i32* %arg1 to i64\n %14 = add i64 %13, 4\n %15 = select i1 %11, i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64 ptrtoint ([17 x i8]* @gv_1 to i64)\n %16 = call i64 @FUNC(i64 %15, i32 %spec.select4, i64 %3, i64 %14, i32* nonnull %sv_0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_1, label LBL_13\n LBL_1:\n %20 = icmp slt i32 %6, 10\n %21 = sext i32 %4 to i64\n %22 = add i64 %5, %21\n %23 = zext i32 %6 to i64\n %24 = and i64 %arg3, 4\n %25 = icmp eq i64 %24, 0\n %26 = or i32 %7, 4\n %27 = zext i32 %spec.select4 to i64\n %28 = icmp slt i32 %6, 5\n %29 = and i64 %arg3, 2\n %30 = icmp eq i64 %29, 0\n %31 = or i32 %7, 2\n br label LBL_2\n LBL_2:\n br i1 %20, label LBL_8, label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 %22, i64 %23, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i64 10)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_9, label LBL_4\n LBL_4:\n br i1 %25, label LBL_7, label LBL_5\n LBL_5:\n store i32 %26, i32* %arg1, align 4\n store i64 %23, i64* %rsi.1.be.reg2mem\n br label LBL_6\n LBL_6:\n %rsi.1.be.reload = load i64, i64* %rsi.1.be.reg2mem\n %35 = call i64 @FUNC(i64 %15, i32 %spec.select4, i64 %rsi.1.be.reload, i64 %14, i32* nonnull %sv_0)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_2, label LBL_13\n LBL_7:\n %39 = call i64 @FUNC(i64 %3, i64 %14, i32* nonnull %sv_0)\n store i64 %14, i64* %rsi.1.be.reg2mem\n br label LBL_6\n LBL_8:\n store i64 %27, i64* %rsi.1.be.reg2mem\n br i1 %28, label LBL_6, label LBL_9\n LBL_9:\n %40 = call i64 @FUNC(i64 %22, i64 %23, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 5)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n store i64 %23, i64* %rsi.1.be.reg2mem\n br i1 %42, label LBL_6, label LBL_10\n LBL_10:\n br i1 %30, label LBL_12, label LBL_11\n LBL_11:\n store i32 %31, i32* %arg1, align 4\n store i64 %23, i64* %rsi.1.be.reg2mem\n br label LBL_6\n LBL_12:\n %43 = call i64 @FUNC(i64 %3, i64 %14, i32* nonnull %sv_0)\n store i64 %14, i64* %rsi.1.be.reg2mem\n br label LBL_6\n LBL_13:\n %44 = and i32 %7, 6\n %45 = zext i32 %44 to i64\n %46 = trunc i64 %arg3 to i32\n %47 = icmp eq i32 %44, %46\n store i64 %45, i64* %rax.0.reg2mem\n br i1 %47, label LBL_20, label LBL_14\n LBL_14:\n %48 = and i64 %arg3, 2\n %49 = icmp eq i64 %48, 0\n br i1 %49, label LBL_17, label LBL_15\n LBL_15:\n %50 = and i32 %7, 2\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_17, label LBL_16\n LBL_16:\n %53 = or i32 %7, 2\n store i32 %53, i32* %arg1, align 4\n %spec.select6 = select i1 %11, i32 17, i32 23\n %54 = select i1 %11, i64 ptrtoint ([18 x i8]* @gv_4 to i64), i64 ptrtoint ([24 x i8]* @gv_5 to i64)\n %55 = call i64 @FUNC(i64 %3, i64 %14, i64 %54, i32 %spec.select6)\n br label LBL_17\n LBL_17:\n %56 = and i64 %arg3, 4\n %57 = icmp eq i64 %56, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %57, label LBL_20, label LBL_18\n LBL_18:\n %58 = and i32 %7, 4\n %59 = zext i32 %58 to i64\n %60 = icmp eq i32 %58, 0\n %61 = icmp eq i1 %60, false\n store i64 %59, i64* %rax.0.reg2mem\n br i1 %61, label LBL_20, label LBL_19\n LBL_19:\n %62 = or i32 %7, 4\n store i32 %62, i32* %arg1, align 4\n %spec.select8 = select i1 %11, i32 22, i32 28\n %63 = select i1 %11, i64 ptrtoint ([23 x i8]* @gv_6 to i64), i64 ptrtoint ([29 x i8]* @gv_7 to i64)\n %64 = call i64 @FUNC(i64 %3, i64 %14, i64 %63, i32 %spec.select8)\n store i64 %64, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %23, { 1, 2, 3, 0, 4 }\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %14, { 2, 3, 1, 6, 0, 5, 7, 4 }\n uselistorder i32 %spec.select4, { 1, 2, 0 }\n uselistorder i1 %11, { 1, 0, 3, 2, 4, 5 }\n uselistorder i32 %7, { 1, 2, 4, 3, 5, 6, 7, 8, 0 }\n uselistorder i32* %sv_0, { 2, 3, 1, 0, 4 }\n uselistorder i64 %3, { 2, 1, 4, 3, 0 }\n uselistorder i64* %rsi.1.be.reg2mem, { 4, 3, 5, 6, 2, 0, 1 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32)* @http_header_add_tail2, { 1, 0 }\n uselistorder i64 (i64, i64, i32*)* @http_remove_header2, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64)* @word_match, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64, i32, i64, i64, i32*)* @http_find_header2, { 1, 0 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i32 2, { 2, 3, 1, 0 }\n uselistorder i64 %arg3, { 1, 4, 0, 2, 3 }\n uselistorder i32* %arg1, { 1, 0, 3, 2, 4, 5 }\n uselistorder label LBL_20, { 2, 1, 0, 3 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prealloc_elems_and_freelist_19206", "fun_name": "prealloc_elems_and_freelist", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 12\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = trunc i64 %0 to i32\n %8 = mul i32 %6, %7\n %9 = zext i32 %8 to i64\n %10 = zext i32 %3 to i64\n %11 = call i64 @FUNC(i64 %9, i64 %10)\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = icmp eq i64 %11, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %15, label LBL_1, label LBL_4\n LBL_1:\n %16 = add i64 %0, 24\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = load i32, i32* %5, align 4\n %22 = load i64, i64* %13, align 8\n %23 = call i64 @FUNC(i64 %16, i64 %22, i32 %7, i32 %21)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %24 = load i64, i64* %13, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = and i64 %17, 4294967295\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %13, { 1, 0, 2 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "local_truncate_10686", "fun_name": "local_truncate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 1, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = trunc i64 %arg3 to i32\n %7 = call i32 @ftruncate(i32 %3, i32 %6)\n %8 = and i64 %2, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = zext i32 %7 to i64\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_query_auth_7456", "fun_name": "qmp_query_auth", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n store i64 %3, i64* @0, align 8\n switch i32 %2, label LBL_9 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n i32 5, label LBL_5\n i32 6, label LBL_6\n i32 7, label LBL_7\n i32 8, label LBL_8\n ]\n LBL_1:\n %4 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %4, align 4\n br label LBL_10\n LBL_2:\n %5 = bitcast i64* %arg2 to i32*\n store i32 2, i32* %5, align 4\n br label LBL_10\n LBL_3:\n %6 = bitcast i64* %arg2 to i32*\n store i32 3, i32* %6, align 4\n br label LBL_10\n LBL_4:\n %7 = bitcast i64* %arg2 to i32*\n store i32 4, i32* %7, align 4\n br label LBL_10\n LBL_5:\n %8 = bitcast i64* %arg2 to i32*\n store i32 5, i32* %8, align 4\n br label LBL_10\n LBL_6:\n %9 = bitcast i64* %arg2 to i32*\n store i32 6, i32* %9, align 4\n br label LBL_10\n LBL_7:\n %10 = bitcast i64* %arg2 to i32*\n store i32 7, i32* %10, align 4\n br label LBL_10\n LBL_8:\n %11 = bitcast i64* %arg2 to i32*\n store i32 8, i32* %11, align 4\n br label LBL_10\n LBL_9:\n %12 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %12, align 4\n br label LBL_10\n LBL_10:\n %13 = ptrtoint i64* %arg2 to i64\n ret i64 %13\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 6, { 1, 0 }\n uselistorder i32 5, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64* %arg2, { 9, 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder label LBL_10, { 8, 0, 1, 2, 3, 4, 5, 6, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "free_field_queue_13962", "fun_name": "free_field_queue", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = icmp eq i64 %arg1, 0\n %2 = icmp eq i1 %1, false\n store i64 %arg1, i64* %sv_0.02.reg2mem\n store i64 %arg1, i64* %rax.1.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %3 = add i64 %sv_0.02.reload, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %sv_0.02.reload, 24\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %sv_0.02.reload, 32\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp eq i64 %sv_0.02.reload, %0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %0)\n store i64 %17, i64* %rax.1.reg2mem\n br label LBL_4\n LBL_3:\n %18 = inttoptr i64 %sv_0.02.reload to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %19, 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = icmp eq i64 %19, 0\n %23 = icmp eq i1 %22, false\n store i64 %19, i64* %sv_0.02.reg2mem\n store i64 %21, i64* %rax.1.reg2mem\n br i1 %23, label LBL_1, label LBL_4\n LBL_4:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %sv_0.02.reload, { 0, 2, 1, 3, 4 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder i64 (i64)* @av_free, { 3, 2, 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_4, { 0, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ReadDDSInfo_4478", "fun_name": "ReadDDSInfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 4, i64 0)\n %4 = call i64 @FUNC(i64 %2)\n %5 = icmp eq i64 %4, 124\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n %7 = trunc i64 %6 to i32\n %8 = bitcast i64* %arg2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = and i64 %1, 4102\n %10 = icmp eq i64 %9, 4102\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_5\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = call i64 @FUNC(i64 %2)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %11, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %2)\n %17 = trunc i64 %16 to i32\n %18 = add i64 %11, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = call i64 @FUNC(i64 %2)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %11, 12\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %2)\n %25 = trunc i64 %24 to i32\n %26 = add i64 %11, 16\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %2)\n %29 = trunc i64 %28 to i32\n %30 = add i64 %11, 20\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = and i64 %28, 4294967295\n %33 = call i64 @FUNC(i64 %2)\n %34 = icmp ult i64 %33, %32\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_5, label LBL_3\n LBL_3:\n %35 = call i64 @FUNC(i64 %2, i64 44, i64 1)\n %36 = call i64 @FUNC(i64 %2)\n %37 = icmp eq i64 %36, 32\n store i64 0, i64* %rax.0.reg2mem\n br i1 %37, label LBL_4, label LBL_5\n LBL_4:\n %38 = call i64 @FUNC(i64 %2)\n %39 = trunc i64 %38 to i32\n %40 = add i64 %11, 24\n %41 = inttoptr i64 %40 to i32*\n store i32 %39, i32* %41, align 4\n %42 = call i64 @FUNC(i64 %2)\n %43 = trunc i64 %42 to i32\n %44 = add i64 %11, 28\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = call i64 @FUNC(i64 %2)\n %47 = trunc i64 %46 to i32\n %48 = add i64 %11, 32\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = call i64 @FUNC(i64 %2)\n %51 = trunc i64 %50 to i32\n %52 = add i64 %11, 36\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n %54 = call i64 @FUNC(i64 %2)\n %55 = trunc i64 %54 to i32\n %56 = add i64 %11, 40\n %57 = inttoptr i64 %56 to i32*\n store i32 %55, i32* %57, align 4\n %58 = call i64 @FUNC(i64 %2)\n %59 = trunc i64 %58 to i32\n %60 = add i64 %11, 44\n %61 = inttoptr i64 %60 to i32*\n store i32 %59, i32* %61, align 4\n %62 = call i64 @FUNC(i64 %2)\n %63 = trunc i64 %62 to i32\n %64 = add i64 %11, 48\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n %66 = call i64 @FUNC(i64 %2)\n %67 = trunc i64 %66 to i32\n %68 = add i64 %11, 52\n %69 = inttoptr i64 %68 to i32*\n store i32 %67, i32* %69, align 4\n %70 = call i64 @FUNC(i64 %2)\n %71 = trunc i64 %70 to i32\n %72 = add i64 %11, 56\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n %74 = call i64 @FUNC(i64 %2, i64 12, i64 1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 44, { 1, 0 }\n uselistorder i64 (i64)* @ReadBlobLSBLong, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @SeekBlob, { 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_xmt_done_6017", "fun_name": "load_xmt_done", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.1.reg2mem = alloca i64\n %rdi.0.lcssa.reg2mem = alloca i64\n %rdi.01.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_10, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n store i64 %2, i64* %.reg2mem\n store i64 %0, i64* %rdi.01.reg2mem\n store i64 %0, i64* %rdi.0.lcssa.reg2mem\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %rdi.01.reload = load i64, i64* %rdi.01.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %4 = call i64 @FUNC(i64 %rdi.01.reload)\n %5 = inttoptr i64 %.reload to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6, i64 0)\n %8 = load i64, i64* %5, align 8\n %9 = call i64 @FUNC(i64 %8, i64 0)\n %10 = call i64 @FUNC(i64 %.reload)\n %11 = call i64 @FUNC(i64 %.reload)\n %12 = icmp eq i64 %11, 0\n store i64 %11, i64* %.reg2mem\n store i64 %.reload, i64* %rdi.01.reg2mem\n store i64 %.reload, i64* %rdi.0.lcssa.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_3:\n %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n store i64 %rdi.0.lcssa.reload, i64* %rdi.1.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %15)\n store i64 %15, i64* %rdi.1.reg2mem\n br label LBL_5\n LBL_5:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %18 = call i64 @FUNC(i64 %rdi.1.reload)\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = load i64, i64* %20, align 8\n %26 = call i64 @FUNC(i64 %25, i64 0)\n %27 = call i64 @FUNC(i64 %26)\n br label LBL_7\n LBL_7:\n %28 = load i64, i64* %20, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %0, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %0, 32\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i64 %0, 40\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = add i64 %0, 48\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44)\n %46 = add i64 %0, 56\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48)\n %50 = add i64 %0, 64\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %52)\n %54 = add i64 %0, 72\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56)\n %58 = add i64 %0, 80\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = icmp eq i64 %60, 0\n br i1 %61, label LBL_9, label LBL_8\n LBL_8:\n %62 = call i64 @FUNC(i64 %60)\n br label LBL_9\n LBL_9:\n %63 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_10\n LBL_10:\n ret i64 %0\n\n uselistorder i64* %20, { 1, 0, 2 }\n uselistorder i64 %.reload, { 0, 1, 4, 2, 3 }\n uselistorder i64 %0, { 3, 4, 5, 7, 6, 9, 8, 11, 10, 12, 13, 14, 0, 1, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @gf_list_del, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @gf_free, { 2, 1, 0 }\n uselistorder i64 (i64)* @gf_list_last, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dfa_probe_14717", "fun_name": "dfa_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 4\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = trunc i64 %0 to i32\n %6 = icmp eq i32 %5, 1145456961\n %spec.select = select i1 %6, i64 100, i64 0\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "is_spillable_regtype_98", "fun_name": "is_spillable_regtype", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = icmp ult i32 %0, 6\n %. = zext i1 %1 to i64\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pass_add_hook_17892", "fun_name": "pass_add_hook", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 9\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i32 %2, 1\n %5 = ptrtoint i32* %arg1 to i64\n store i32 %4, i32* %arg1, align 4\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 10)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %arg1, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "text_console_resize_14296", "fun_name": "text_console_resize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi17.reg2mem = alloca i64*\n %.reg2mem23 = alloca i32\n %sv_0.27.reg2mem = alloca i8*\n %storemerge28.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i8*\n %.reg2mem21 = alloca i32\n %sv_0.04.reg2mem = alloca i8*\n %sv_1.05.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i32\n %storemerge9.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %rdi to i32*\n %4 = add i64 %2, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = sdiv i32 %8, 128\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n %11 = load i64, i64* %5, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = sdiv i32 %13, 32768\n %15 = add i64 %2, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = load i32, i32* %3, align 8\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = mul i32 %20, %17\n %22 = sext i32 %21 to i64\n %23 = mul i64 %22, 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = load i32, i32* %19, align 4\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_0.LBL_10_crit_edge, label LBL_2\n LBL_1:\n %.pre15 = add i64 %2, 16\n %.pre16 = inttoptr i64 %.pre15 to i64*\n store i64* %.pre16, i64** %.pre-phi17.reg2mem\n br label LBL_10\n LBL_2:\n %27 = trunc i64 %1 to i32\n %28 = zext i32 %17 to i64\n %sext = mul i64 %1, 4294967296\n %29 = ashr exact i64 %sext, 32\n %30 = icmp sgt i64 %29, %28\n %spec.select = select i1 %30, i32 %17, i32 %27\n %31 = icmp slt i32 %spec.select, 1\n %32 = add i64 %2, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = sext i32 %spec.select to i64\n %35 = add i64 %2, 12\n %36 = inttoptr i64 %35 to i32*\n store i32 %17, i32* %.reg2mem\n store i32 0, i32* %storemerge9.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %37 = mul i32 %storemerge9.reload, %.reload\n %38 = sext i32 %37 to i64\n %39 = mul i64 %38, 8\n %40 = add i64 %39, %24\n %41 = inttoptr i64 %40 to i8*\n store i32 %.reload, i32* %.reg2mem21\n store i8* %41, i8** %sv_0.1.reg2mem\n br i1 %31, label LBL_7, label LBL_4\n LBL_4:\n %42 = load i64, i64* %33, align 8\n %43 = mul i32 %storemerge9.reload, %27\n %44 = sext i32 %43 to i64\n %45 = mul i64 %44, 8\n %46 = add i64 %42, %45\n store i32 0, i32* %storemerge36.reg2mem\n store i64 %46, i64* %sv_1.05.reg2mem\n store i8* %41, i8** %sv_0.04.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.04.reload = load i8*, i8** %sv_0.04.reg2mem\n %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %47 = add i64 %sv_1.05.reload, 8\n %48 = ptrtoint i8* %sv_0.04.reload to i64\n %49 = add i64 %48, 8\n %50 = inttoptr i64 %49 to i8*\n %51 = inttoptr i64 %sv_1.05.reload to i64*\n %52 = load i64, i64* %51, align 8\n %53 = bitcast i8* %sv_0.04.reload to i64*\n store i64 %52, i64* %53, align 8\n %54 = add nuw nsw i32 %storemerge36.reload, 1\n %exitcond = icmp eq i32 %54, %spec.select\n store i32 %54, i32* %storemerge36.reg2mem\n store i64 %47, i64* %sv_1.05.reg2mem\n store i8* %50, i8** %sv_0.04.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %.pre.pre = load i32, i32* %3, align 8\n store i32 %.pre.pre, i32* %.reg2mem21\n store i8* %50, i8** %sv_0.1.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem\n %.reload22 = load i32, i32* %.reg2mem21\n %55 = zext i32 %.reload22 to i64\n %56 = icmp slt i64 %34, %55\n store i32 %spec.select, i32* %storemerge28.reg2mem\n store i8* %sv_0.1.reload, i8** %sv_0.27.reg2mem\n store i32 %.reload22, i32* %.reg2mem23\n br i1 %56, label LBL_8, label LBL_9\n LBL_8:\n %sv_0.27.reload = load i8*, i8** %sv_0.27.reg2mem\n %storemerge28.reload = load i32, i32* %storemerge28.reg2mem\n store i8 32, i8* %sv_0.27.reload, align 1\n %57 = load i32, i32* %36, align 4\n %58 = ptrtoint i8* %sv_0.27.reload to i64\n %59 = add i64 %58, 4\n %60 = inttoptr i64 %59 to i32*\n store i32 %57, i32* %60, align 4\n %61 = add i64 %58, 8\n %62 = inttoptr i64 %61 to i8*\n %63 = add i32 %storemerge28.reload, 1\n %64 = load i32, i32* %3, align 8\n %65 = zext i32 %64 to i64\n %66 = sext i32 %63 to i64\n %67 = icmp slt i64 %66, %65\n store i32 %63, i32* %storemerge28.reg2mem\n store i8* %62, i8** %sv_0.27.reg2mem\n store i32 %64, i32* %.reg2mem23\n br i1 %67, label LBL_8, label LBL_9\n LBL_9:\n %.reload24 = load i32, i32* %.reg2mem23\n %68 = add i32 %storemerge9.reload, 1\n %69 = load i32, i32* %19, align 4\n %70 = zext i32 %69 to i64\n %71 = sext i32 %68 to i64\n %72 = icmp slt i64 %71, %70\n store i32 %.reload24, i32* %.reg2mem\n store i32 %68, i32* %storemerge9.reg2mem\n store i64* %33, i64** %.pre-phi17.reg2mem\n br i1 %72, label LBL_3, label LBL_10\n LBL_10:\n %.pre-phi17.reload = load i64*, i64** %.pre-phi17.reg2mem\n %73 = load i64, i64* %.pre-phi17.reload, align 8\n %74 = call i64 @FUNC(i64 %73)\n store i64 %24, i64* %.pre-phi17.reload, align 8\n ret i64 %2\n\n uselistorder i8* %sv_0.27.reload, { 1, 0 }\n uselistorder i8* %sv_0.04.reload, { 1, 0 }\n uselistorder i8* %41, { 1, 0 }\n uselistorder i32 %storemerge9.reload, { 0, 2, 1 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i32* %19, { 1, 0, 2 }\n uselistorder i32 %17, { 0, 2, 3, 1 }\n uselistorder i32* %3, { 1, 0, 2 }\n uselistorder i64 %2, { 3, 2, 1, 0, 4, 5, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge28.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.27.reg2mem, { 2, 0, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 8, { 3, 4, 5, 0, 1, 2, 6 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "load_pdptrs_9525", "fun_name": "load_pdptrs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %1 = udiv i64 %arg2, 4096\n %2 = and i64 %arg2, 4064\n %3 = add i64 %0, 56\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5, i64 %1, i64* nonnull %sv_1, i64 %2, i64 32)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_1, label LBL_6\n LBL_1:\n %10 = ptrtoint i64* %sv_2 to i64\n %11 = add i64 %10, -64\n %12 = add i64 %0, 48\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = add i64 %11, %14\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = load i64, i64* %16, align 8\n %22 = load i64, i64* %13, align 8\n %23 = and i64 %22, %21\n %24 = icmp eq i64 %23, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_4, label LBL_6\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %25 = icmp ult i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %25, label LBL_2, label LBL_5\n LBL_5:\n %26 = call i64* @memcpy(i64* %arg1, i64* nonnull %sv_1, i32 32)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "host_start_11726", "fun_name": "host_start", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 4294967277, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 4210733, i64 %3, i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_6\n LBL_2:\n %8 = call i64 @FUNC(i64 4210733, i64 %3)\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %5 to i64*\n store i64 %11, i64* %12, align 8\n %13 = add i64 %3, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %5, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = add i64 %3, 24\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = add i64 %5, 16\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n %23 = add i64 %5, 24\n %24 = inttoptr i64 %23 to i32*\n store i32 1, i32* %24, align 4\n %25 = add i64 %3, 48\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %5, 28\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = add i64 %3, 64\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %5, 32\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = call i64 @FUNC(i64 %5)\n %38 = add i64 %3, 32\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = inttoptr i64 %37 to i64*\n store i64 %40, i64* %41, align 8\n %42 = add i64 %3, 40\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = add i64 %37, 8\n %46 = inttoptr i64 %45 to i32*\n store i32 %44, i32* %46, align 4\n %47 = call i64 @FUNC(i64 %5, i64 0, i64 0)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n br i1 %49, label LBL_4, label LBL_3\n LBL_3:\n %50 = call i64 @FUNC(i64 %5)\n br label LBL_5\n LBL_4:\n %51 = add i64 %3, 56\n %52 = inttoptr i64 %51 to i64*\n store i64 %5, i64* %52, align 8\n br label LBL_5\n LBL_5:\n %53 = and i64 %47, 4294967295\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i64 %3, { 0, 1, 2, 3, 4, 5, 6, 8, 7, 10, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 40, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "page_check_range_15314", "fun_name": "page_check_range", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i64\n %0 = icmp ult i64 %arg1, 281474976710656\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %1 = icmp eq i64 %arg2, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_3, label LBL_16\n LBL_3:\n %3 = add i64 %arg2, %arg1\n %4 = add i64 %3, -1\n %5 = icmp ult i64 %4, %arg1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_16, label LBL_4\n LBL_4:\n %6 = and i64 %3, -4096\n %7 = and i64 %arg1, -4096\n %8 = sub i64 %6, %7\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_16\n LBL_5:\n %11 = and i32 %arg3, 2\n %12 = icmp eq i32 %11, 0\n %13 = and i32 %arg3, 4\n %14 = icmp eq i32 %13, 0\n store i64 %7, i64* %sv_1.04.reg2mem\n store i64 %8, i64* %sv_0.03.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %15 = udiv i64 %sv_1.04.reload, 4096\n %16 = call i64 @FUNC(i64 %15)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_16\n LBL_7:\n %19 = inttoptr i64 %16 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = urem i32 %20, 2\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_8, label LBL_16\n LBL_8:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n br i1 %12, label LBL_10, label LBL_9\n LBL_9:\n %24 = and i32 %20, 2\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %26, label LBL_10, label LBL_16\n LBL_10:\n br i1 %14, label LBL_15, label LBL_11\n LBL_11:\n %27 = and i32 %20, 8\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_12, label LBL_16\n LBL_12:\n %30 = and i32 %20, 4\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_14, label LBL_13\n LBL_13:\n %33 = call i64 @FUNC(i64 %sv_1.04.reload, i64 0, i64 0)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %36, label LBL_14, label LBL_16\n LBL_14:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %37 = add i64 %sv_0.03.reload, -4096\n %38 = add i64 %sv_1.04.reload, 4096\n %39 = icmp eq i64 %37, 0\n %40 = icmp eq i1 %39, false\n store i64 %38, i64* %sv_1.04.reg2mem\n store i64 %37, i64* %sv_0.03.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %40, label LBL_6, label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %20, { 2, 1, 3, 0 }\n uselistorder i64* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 10, 6, 7, 3, 2, 1, 5, 8, 9 }\n uselistorder i32 0, { 0, 1, 2, 4, 6, 3, 5 }\n uselistorder i32 2, { 1, 0, 2 }\n uselistorder i1 false, { 7, 1, 2, 3, 4, 5, 6, 0, 8 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n uselistorder label LBL_16, { 3, 9, 5, 6, 2, 1, 0, 4, 7, 8 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rlb_arp_xmit_6010", "fun_name": "rlb_arp_xmit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %rcx.02.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 16)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_12\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = call i64 @FUNC(i64 %3)\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_12\n LBL_2:\n %14 = call i64 @FUNC(i64 %9)\n %15 = add i64 %9, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %14, i64 %18)\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %19)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = call i64 @FUNC(i64 %19)\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_4, label LBL_12\n LBL_4:\n %25 = add i64 %9, 12\n %26 = inttoptr i64 %25 to i16*\n %27 = load i16, i16* %26, align 2\n %28 = call i16 @htons(i16 2)\n %29 = icmp eq i16 %27, %28\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_8, label LBL_5\n LBL_5:\n %31 = call i64 @FUNC(i64 %3, i64 %8, i64 %9)\n %32 = icmp eq i64 %31, 0\n store i64 %8, i64* %rcx.02.reg2mem\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = inttoptr i64 %31 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %34, 40\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i64 %34, 32\n %39 = call i64 @FUNC(i64 %9, i64 %38, i32 %37)\n %40 = load i64, i64* %33, align 8\n store i64 %38, i64* %rcx.02.reg2mem\n store i64 %40, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %rcx.02.reload = load i64, i64* %rcx.02.reg2mem\n %41 = inttoptr i64 %storemerge.reload to i8*\n %42 = call i64 @FUNC(i64 %rcx.02.reload, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i8* %41, i64 %rcx.02.reload, i64 %2, i64 %1)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %43 = load i16, i16* %26, align 2\n %44 = call i16 @htons(i16 1)\n %45 = icmp eq i16 %43, %44\n %46 = icmp eq i1 %45, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %46, label LBL_12, label LBL_9\n LBL_9:\n %47 = call i64 @FUNC(i64 %3, i64 %8, i64 %9)\n %48 = add i64 %8, 8\n %49 = inttoptr i64 %48 to i32*\n store i32 5, i32* %49, align 4\n %50 = load i32, i32* %16, align 4\n %51 = zext i32 %50 to i64\n %52 = call i64 @FUNC(i64 %8, i64 %51)\n %53 = icmp eq i64 %47, 0\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %storemerge1.reg2mem\n br i1 %53, label LBL_11, label LBL_10\n LBL_10:\n %54 = inttoptr i64 %47 to i64*\n %55 = load i64, i64* %54, align 8\n store i64 %55, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %56 = inttoptr i64 %storemerge1.reload to i8*\n %57 = call i64 @FUNC(i64 %51, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i8* %56, i64 %8, i64 %2, i64 %1)\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 %8, { 2, 3, 5, 4, 0, 1, 6 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rcx.02.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @netdev_dbg, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @rlb_choose_channel, { 1, 0 }\n uselistorder i16 (i16)* @htons, { 1, 0 }\n uselistorder label LBL_12, { 2, 1, 0, 3, 4, 5 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "select_bad_process_5336", "fun_name": "select_bad_process", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %arg1, align 8\n %2 = call i64 @FUNC(i64* nonnull %sv_0)\n %3 = icmp eq i64 %1, 0\n %4 = icmp eq i1 %3, false\n store i32* null, i32** %.reg2mem\n br i1 %4, label LBL_1, label LBL_10\n LBL_1:\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n store i32* null, i32** %.reg2mem\n br i1 %8, label LBL_10, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %1 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 1\n store i32* null, i32** %.reg2mem\n br i1 %11, label LBL_10, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %1, i64 1)\n %13 = trunc i64 %12 to i32\n %.pre = add i64 %1, 20\n %.pre8 = inttoptr i64 %.pre to i32*\n %.pre10 = load i32, i32* %.pre8, align 4\n %14 = and i32 %.pre10, 8\n %15 = or i32 %14, %13\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_8, label LBL_4\n LBL_4:\n %17 = and i32 %.pre10, 4\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i32* null, i32** %.reg2mem\n br i1 %19, label LBL_10, label LBL_5\n LBL_5:\n %20 = and i32 %.pre10, 8\n %21 = icmp eq i32 %20, 0\n store i64 -1, i64* %storemerge.reg2mem\n br i1 %21, label LBL_11, label LBL_6\n LBL_6:\n %22 = load i64, i64* @gv_0, align 8\n %23 = icmp eq i64 %22, %1\n %24 = icmp eq i1 %23, false\n store i64 -1, i64* %storemerge.reg2mem\n br i1 %24, label LBL_11, label LBL_7\n LBL_7:\n store i64 -1, i64* %arg1, align 8\n store i32* %9, i32** %.reg2mem\n br label LBL_10\n LBL_8:\n %25 = add i64 %1, 16\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 16\n store i32* null, i32** %.reg2mem\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %29 = load i64, i64* %sv_0, align 8\n %30 = call i64 @FUNC(i64 %1, i64 %29)\n store i64 %30, i64* %arg1, align 8\n store i32* %9, i32** %.reg2mem\n br label LBL_10\n LBL_10:\n %.reload = load i32*, i32** %.reg2mem\n %31 = ptrtoint i32* %.reload to i64\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 7, 5, 0, 6, 1 }\n uselistorder i32** %.reg2mem, { 0, 1, 5, 7, 4, 3, 2, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 -1, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32* null, { 3, 2, 1, 0, 4 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder label LBL_11, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 5, 6, 4, 3, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acm_get_by_minor_9397", "fun_name": "acm_get_by_minor", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32*\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64* nonnull @gv_1, i64 %1)\n %3 = inttoptr i64 %2 to i32*\n %4 = icmp eq i64 %2, 0\n store i32* %3, i32** %sv_0.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = call i64 @FUNC(i64* %6)\n %8 = load i32, i32* %3, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %5)\n store i32* null, i32** %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %11 = add i64 %2, 48\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %5)\n store i32* %3, i32** %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %14 = call i64 @FUNC(i64 ptrtoint (i64* @gv_0 to i64))\n %15 = ptrtoint i32* %sv_0.0.reload to i64\n ret i64 %15\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i32* %3, { 0, 2, 1 }\n uselistorder i64 %2, { 0, 1, 3, 2 }\n uselistorder i32** %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 }\n uselistorder i64 (i64*)* @mutex_lock, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_qcx_2285", "fun_name": "get_qcx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv10.reg2mem = alloca i64\n %indvars.iv12.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = sub i64 %3, %0\n %5 = icmp eq i64 %4, 0\n %6 = icmp slt i64 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_14\n LBL_1:\n %10 = ptrtoint i64* %arg3 to i64\n %sext = mul i64 %arg2, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i32\n %14 = ashr i32 %13, 5\n %15 = bitcast i64* %arg3 to i32*\n store i32 %14, i32* %15, align 4\n %16 = urem i32 %13, 32\n %17 = add i64 %10, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = icmp eq i32 %16, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_2\n LBL_2:\n %21 = trunc i64 %11 to i32\n %22 = add i32 %21, -3\n %23 = sext i32 %22 to i64\n %24 = load i64, i64* %2, align 8\n %25 = sub i64 %24, %0\n %26 = icmp sge i64 %25, %23\n %27 = icmp slt i32 %22, 97\n %or.cond = icmp eq i1 %27, %26\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_14\n LBL_3:\n %28 = icmp sgt i32 %22, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_4, label LBL_14\n LBL_4:\n %29 = add i64 %10, 8\n %wide.trip.count = zext i32 %22 to i64\n store i64 0, i64* %indvars.iv12.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem\n %30 = call i64 @FUNC(i64 %0)\n %31 = trunc i64 %30 to i32\n %32 = ashr i32 %31, 3\n %33 = mul i64 %indvars.iv12.reload, 4\n %34 = add i64 %29, %33\n %35 = inttoptr i64 %34 to i32*\n store i32 %32, i32* %35, align 4\n %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1\n %exitcond14 = icmp eq i64 %indvars.iv.next13, %wide.trip.count\n store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond14, label LBL_14, label LBL_5\n LBL_6:\n %36 = icmp eq i32 %16, 1\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_10, label LBL_7\n LBL_7:\n %38 = load i64, i64* %2, align 8\n %39 = sub i64 %38, %0\n %40 = icmp sgt i64 %39, 1\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %40, label LBL_8, label LBL_14\n LBL_8:\n %41 = call i64 @FUNC(i64 %0)\n %42 = trunc i64 %41 to i32\n %43 = ashr i32 %42, 11\n %44 = add i64 %10, 8\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = urem i32 %42, 2048\n %47 = add i64 %10, 392\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n store i64 1, i64* %indvars.iv10.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %49 = load i32, i32* %45, align 4\n %50 = add nsw i64 %indvars.iv10.reload, -1\n %51 = mul nuw nsw i64 %50, 1431655766\n %52 = udiv i64 %51, 4294967296\n %53 = trunc i64 %50 to i32\n %54 = ashr i32 %53, 31\n %55 = trunc i64 %52 to i32\n %56 = sub i32 %54, %55\n %57 = add i32 %56, %49\n %58 = icmp sgt i32 %57, 0\n %59 = select i1 %58, i32 %57, i32 0\n %60 = mul i64 %indvars.iv10.reload, 4\n %61 = add i64 %60, %44\n %62 = inttoptr i64 %61 to i32*\n store i32 %59, i32* %62, align 4\n %63 = load i32, i32* %48, align 4\n %64 = add i64 %60, %47\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next11, 96\n store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_14, label LBL_9\n LBL_10:\n %66 = trunc i64 %11 to i32\n %67 = add i32 %66, -3\n %68 = ashr i32 %67, 1\n %69 = sext i32 %68 to i64\n %70 = load i64, i64* %2, align 8\n %71 = sub i64 %70, %0\n %72 = icmp sge i64 %71, %69\n %73 = icmp slt i32 %67, 194\n %or.cond4 = icmp eq i1 %73, %72\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond4, label LBL_11, label LBL_14\n LBL_11:\n %74 = icmp sgt i32 %67, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %74, label LBL_12, label LBL_14\n LBL_12:\n %75 = add i64 %10, 8\n %76 = add i64 %10, 392\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_13\n LBL_13:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %77 = call i64 @FUNC(i64 %0)\n %78 = trunc i64 %77 to i32\n %79 = ashr i32 %78, 11\n %80 = mul i64 %indvars.iv.reload, 4\n %81 = add i64 %75, %80\n %82 = inttoptr i64 %81 to i32*\n store i32 %79, i32* %82, align 4\n %83 = urem i32 %78, 2048\n %84 = add i64 %76, %80\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %86 = icmp slt i64 %indvars.iv.next, %69\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %86, label LBL_13, label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %80, { 1, 0 }\n uselistorder i64 %60, { 1, 0 }\n uselistorder i64 %indvars.iv10.reload, { 0, 2, 1 }\n uselistorder i32 %16, { 1, 2, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %10, { 0, 4, 2, 3, 1, 5 }\n uselistorder i64* %2, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 4, 5, 3, 2, 0, 1, 6, 7, 8 }\n uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 6, 2, 7, 1, 4, 8, 9 }\n uselistorder i64 (i64)* @bytestream_get_be16, { 1, 0 }\n uselistorder i64 (i64)* @bytestream_get_byte, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder label LBL_14, { 2, 4, 5, 1, 6, 0, 3, 7, 8 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_tco_timeout_15008", "fun_name": "test_tco_timeout", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %4 = call i64 @FUNC(i64* nonnull %sv_0)\n %5 = call i64 @FUNC(i64* nonnull %sv_0)\n %6 = call i64 @FUNC(i64* nonnull %sv_0)\n %7 = call i64 @FUNC(i64 0)\n %8 = call i64 @FUNC(i64* nonnull %sv_0, i64 4000)\n %9 = call i64 @FUNC(i64* nonnull %sv_0)\n %10 = call i64 @FUNC(i64* nonnull %sv_0)\n %11 = call i64 @FUNC(i64 4000000)\n %12 = zext i32 %3 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = urem i64 %13, 2\n %16 = icmp ne i64 %15, 0\n %17 = zext i1 %16 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = or i32 %14, 1\n %20 = call i64 @FUNC(i64 %2, i64 %12, i32 %19)\n %21 = call i64 @FUNC(i64 %2, i64 %12)\n %22 = urem i64 %21, 2\n %23 = icmp eq i64 %22, 0\n %24 = zext i1 %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 4000000)\n %27 = call i64 @FUNC(i64 %2, i64 %12)\n %28 = urem i64 %27, 2\n %29 = icmp ne i64 %28, 0\n %30 = zext i1 %29 to i64\n %31 = call i64 @FUNC(i64 %30)\n %32 = add i32 %3, 2\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %2, i64 %33)\n %35 = urem i64 %34, 2\n %36 = icmp ne i64 %35, 0\n %37 = zext i1 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n %39 = call i64 @FUNC(i64* nonnull %sv_0)\n %40 = call i64 @FUNC()\n ret i64 %40\n\n uselistorder i64 %12, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @g_assert, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @qpci_io_readw, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @clock_step, { 1, 0 }\n uselistorder i64 (i64*)* @stop_tco, { 1, 0 }\n uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_sequence_header_11399", "fun_name": "read_sequence_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 16, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = call i64 @FUNC(i64 16, i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %1, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = call i64 @FUNC(i64 3, i64 %0)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = call i64 @FUNC(i64 1, i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %1, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = call i64 @FUNC(i64 1, i64 %0)\n %18 = trunc i64 %17 to i32\n %19 = add i64 %1, 16\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = call i64 @FUNC(i64 2, i64 %0)\n %22 = trunc i64 %21 to i32\n %23 = add i32 %22, 1\n %24 = add i64 %1, 20\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = call i64 @FUNC(i64 2, i64 %0)\n %27 = trunc i64 %26 to i32\n %28 = add i64 %1, 24\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = call i64 @FUNC(i64 1, i64 %0)\n %31 = trunc i64 %30 to i32\n %32 = add i64 %1, 28\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = call i64 @FUNC(i64 1, i64 %0)\n %35 = trunc i64 %34 to i32\n %36 = add i64 %1, 32\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = call i64 @FUNC(i64 1, i64 %0)\n %39 = trunc i64 %38 to i32\n %40 = add i64 %1, 36\n %41 = inttoptr i64 %40 to i32*\n store i32 %39, i32* %41, align 4\n %42 = call i64 @FUNC(i64 1, i64 %0)\n %43 = trunc i64 %42 to i32\n %44 = add i64 %1, 40\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = call i64 @FUNC(i64 2, i64 %0)\n %47 = trunc i64 %46 to i32\n %48 = add i64 %1, 44\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = call i64 @FUNC(i64 1, i64 %0)\n %51 = trunc i64 %50 to i32\n %52 = add i64 %1, 48\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n %54 = icmp eq i32 %51, 0\n br i1 %54, label LBL_2, label LBL_1\n LBL_1:\n %55 = call i64 @FUNC(i64 6, i64 %0)\n %56 = trunc i64 %55 to i32\n %57 = add i32 %56, -32\n %58 = add i64 %1, 52\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n br label LBL_2\n LBL_2:\n %60 = call i64 @FUNC(i64 2, i64 %0)\n %61 = trunc i64 %60 to i32\n %62 = add i64 %1, 56\n %63 = inttoptr i64 %62 to i32*\n %64 = urem i32 %61, 2\n %65 = mul nuw nsw i32 %64, 20\n %66 = and i32 %61, 2\n %narrow = mul nuw nsw i32 %66, 22\n %67 = add nuw nsw i32 %65, %narrow\n %68 = urem i32 %61, 4\n %69 = icmp eq i32 %68, 3\n %70 = icmp eq i1 %69, false\n %. = select i1 %70, i32 0, i32 2\n %71 = or i32 %., %67\n %72 = add nuw nsw i32 %71, 400\n store i32 %72, i32* %63, align 4\n %73 = call i64 @FUNC(i64 4, i64 %0)\n %74 = trunc i64 %73 to i32\n %75 = add i64 %1, 60\n %76 = inttoptr i64 %75 to i32*\n store i32 %74, i32* %76, align 4\n %77 = load i32, i32* %63, align 4\n %78 = icmp eq i32 %77, 400\n br i1 %78, label LBL_4, label LBL_3\n LBL_3:\n %79 = call i64 @FUNC(i64 1, i64 %0)\n %80 = trunc i64 %79 to i32\n %81 = add i64 %1, 64\n %82 = inttoptr i64 %81 to i32*\n store i32 %80, i32* %82, align 4\n %83 = call i64 @FUNC(i64 1, i64 %0)\n %84 = trunc i64 %83 to i32\n %85 = add i64 %1, 68\n %86 = inttoptr i64 %85 to i32*\n store i32 %84, i32* %86, align 4\n br label LBL_4\n LBL_4:\n %87 = call i64 @FUNC(i64 1, i64 %0)\n %88 = trunc i64 %87 to i32\n %89 = icmp eq i32 %88, 0\n %90 = select i1 %89, i32 8, i32 10\n %91 = add i64 %1, 72\n %92 = inttoptr i64 %91 to i32*\n store i32 %90, i32* %92, align 4\n br i1 %89, label LBL_6, label LBL_5\n LBL_5:\n %93 = call i64 @FUNC(i64 1, i64 %0)\n %.tr = trunc i64 %93 to i32\n %94 = mul i32 %.tr, 2\n %95 = load i32, i32* %92, align 4\n %96 = add i32 %94, %95\n store i32 %96, i32* %92, align 4\n br label LBL_6\n LBL_6:\n %97 = call i64 @FUNC(i64 1, i64 %0)\n %98 = trunc i64 %97 to i32\n %99 = icmp eq i32 %98, 0\n %100 = select i1 %99, i32 8, i32 10\n %101 = add i64 %1, 76\n %102 = inttoptr i64 %101 to i32*\n store i32 %100, i32* %102, align 4\n %103 = zext i32 %100 to i64\n store i64 %103, i64* %rax.0.reg2mem\n br i1 %99, label LBL_8, label LBL_7\n LBL_7:\n %104 = call i64 @FUNC(i64 1, i64 %0)\n %.tr1 = trunc i64 %104 to i32\n %105 = mul i32 %.tr1, 2\n %106 = load i32, i32* %102, align 4\n %107 = add i32 %105, %106\n store i32 %107, i32* %102, align 4\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %102, { 1, 0, 2 }\n uselistorder i32* %92, { 1, 0, 2 }\n uselistorder i32 %61, { 0, 2, 1 }\n uselistorder i64 %1, { 0, 4, 5, 2, 3, 6, 7, 1, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }\n uselistorder i64 %0, { 4, 5, 3, 6, 1, 2, 7, 8, 0, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 }\n uselistorder i32 2, { 0, 1, 3, 4, 2 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i64 (i64, i64)* @get_flc, { 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 16, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gf_seng_get_base64_iod_12500", "fun_name": "gf_seng_get_base64_iod", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n store i32 0, i32* %sv_2, align 4\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5, i32* nonnull %sv_2)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %.reg2mem\n store i64 %5, i64* %.reg2mem6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_6\n LBL_2:\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload = load i64, i64* %.reg2mem\n %9 = inttoptr i64 %.reload to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 1\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_4\n LBL_3:\n %13 = add i64 %.reload7, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15, i32* nonnull %sv_2)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %.reg2mem\n store i64 %15, i64* %.reg2mem6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_2, label LBL_6\n LBL_4:\n %19 = add i64 %.reload, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 2\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_3\n LBL_5:\n store i32 0, i32* %sv_1, align 4\n %24 = call i64 @FUNC(i64 %.reload7, i64* nonnull %sv_0, i32* nonnull %sv_1)\n %25 = load i32, i32* %sv_1, align 4\n %26 = mul i32 %25, 2\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %27)\n %29 = load i32, i32* %sv_1, align 4\n %30 = mul i32 %29, 2\n %31 = zext i32 %30 to i64\n %32 = load i64, i64* %sv_0, align 8\n %33 = call i64 @FUNC(i64 %32, i32 %29, i64 %28, i64 %31)\n %34 = and i64 %33, 4294967295\n %35 = add i64 %34, %28\n %36 = inttoptr i64 %35 to i8*\n store i8 0, i8* %36, align 1\n %37 = load i64, i64* %sv_0, align 8\n %38 = call i64 @FUNC(i64 %37)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %29, { 1, 0 }\n uselistorder i64 %.reload7, { 1, 0 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i32* %sv_1, { 1, 2, 0, 3 }\n uselistorder i64* %sv_0, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem6, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i32*)* @gf_list_enum, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i1 false, { 1, 3, 2, 0, 4 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_hda_create_spdif_out_ctls_4619", "fun_name": "snd_hda_create_spdif_out_ctls", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge10.reg2mem = alloca i8**\n %storemerge411.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %3 to i32\n store i32 0, i32* %storemerge411.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge411.reload = load i32, i32* %storemerge411.reg2mem\n %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i32 %storemerge411.reload)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = load i8*, i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), align 8\n %11 = icmp eq i8* %10, null\n %12 = icmp eq i1 %11, false\n %13 = trunc i64 %arg2 to i32\n store i8** getelementptr inbounds ([2 x i8*], [2 x i8*]* @gv_1, i64 0, i64 0), i8*** %storemerge10.reg2mem\n store i32 %6, i32* %.reg2mem\n br i1 %12, label LBL_5, label LBL_10\n LBL_3:\n %14 = add nuw nsw i32 %storemerge411.reload, 1\n %15 = icmp ult i32 %14, 10\n store i32 %14, i32* %storemerge411.reg2mem\n br i1 %15, label LBL_1, label LBL_4\n LBL_4:\n %16 = zext i32 %storemerge411.reload to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i64 ptrtoint ([23 x i8]* @gv_0 to i64), i64 %16, i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %storemerge10.reload = load i8**, i8*** %storemerge10.reg2mem\n %18 = ptrtoint i8** %storemerge10.reload to i64\n %19 = call i64 @FUNC(i64 %18, i64 %5)\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_11\n LBL_6:\n %22 = inttoptr i64 %19 to i32*\n store i32 %storemerge411.reload, i32* %22, align 4\n %23 = add i64 %19, 4\n %24 = inttoptr i64 %23 to i32*\n store i32 %13, i32* %24, align 4\n %25 = call i64 @FUNC(i64 %5, i64 %19)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = and i64 %25, 4294967295\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %30 = add i64 %18, 8\n %31 = inttoptr i64 %30 to i8**\n %32 = load i8*, i8** %31, align 8\n %33 = icmp eq i8* %32, null\n %34 = icmp eq i1 %33, false\n store i8** %31, i8*** %storemerge10.reg2mem\n br i1 %34, label LBL_5, label LBL_9\n LBL_9:\n %.phi.trans.insert = bitcast i64* %rdi to i32*\n %.pre = load i32, i32* %.phi.trans.insert, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_10\n LBL_10:\n %.reload = load i32, i32* %.reg2mem\n %35 = call i64 @FUNC(i64 %5, i32 %13, i64 0, i64 0, i64 0)\n %36 = trunc i64 %35 to i32\n %37 = bitcast i64* %arg1 to i32*\n store i32 %36, i32* %37, align 4\n %38 = zext i32 %.reload to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = add i64 %5, 4\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge411.reload, { 3, 2, 0, 1 }\n uselistorder i32* %storemerge411.reg2mem, { 1, 0, 2 }\n uselistorder i8*** %storemerge10.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i8* null, { 1, 0 }\n uselistorder [23 x i8]* @gv_0, { 1, 0 }\n uselistorder i32 0, { 5, 6, 0, 7, 1, 2, 3, 4 }\n uselistorder label LBL_11, { 2, 1, 0, 3 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__update_clear_spte_fast_10877", "fun_name": "__update_clear_spte_fast", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %arg2, i64* %arg1, align 8\n %1 = call i64 @FUNC()\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 0, i64* %3, align 8\n %4 = call i64 @FUNC(i64 %0, i64 %arg2)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_string_binary_2313", "fun_name": "set_string_binary", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %sv_1.0.in6.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg4 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = call i64 @FUNC(i64 %0)\n store i32 0, i32* %2, align 4\n %4 = icmp eq i64 %arg3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_8, label LBL_1\n LBL_1:\n %5 = inttoptr i64 %arg3 to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_8\n LBL_2:\n %9 = urem i32 %6, 2\n %10 = icmp eq i32 %9, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_8\n LBL_3:\n %11 = icmp slt i32 %6, 0\n %12 = zext i1 %11 to i32\n %13 = add i32 %6, %12\n %14 = ashr i32 %13, 1\n %15 = sext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = load i8, i8* %5, align 1\n %18 = icmp eq i8 %17, 0\n %19 = icmp eq i1 %18, false\n store i8 %17, i8* %.reg2mem\n store i64 %16, i64* %sv_1.0.in6.reg2mem\n store i64 %arg3, i64* %sv_0.05.reg2mem\n br i1 %19, label LBL_4, label LBL_7\n LBL_4:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %20 = add i64 %sv_0.05.reload, 1\n %21 = sext i8 %.reload to i64\n %22 = and i64 %21, 4294967295\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = inttoptr i64 %20 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = sext i8 %26 to i64\n %28 = and i64 %27, 4294967295\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp sgt i32 %24, -1\n %32 = icmp slt i32 %30, 0\n %33 = icmp eq i1 %32, false\n %or.cond = icmp eq i1 %31, %33\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %34 = call i64 @FUNC(i64 %16)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %sv_1.0.in6.reload = load i64, i64* %sv_1.0.in6.reg2mem\n %sv_1.07 = inttoptr i64 %sv_1.0.in6.reload to i8*\n %35 = add i64 %sv_0.05.reload, 2\n %36 = mul i32 %24, 16\n %37 = or i32 %36, %30\n %38 = add i64 %sv_1.0.in6.reload, 1\n %39 = trunc i32 %37 to i8\n store i8 %39, i8* %sv_1.07, align 1\n %40 = inttoptr i64 %35 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp eq i8 %41, 0\n %43 = icmp eq i1 %42, false\n store i8 %41, i8* %.reg2mem\n store i64 %38, i64* %sv_1.0.in6.reg2mem\n store i64 %35, i64* %sv_0.05.reg2mem\n br i1 %43, label LBL_4, label LBL_7\n LBL_7:\n store i64 %16, i64* %arg4, align 8\n store i32 %14, i32* %2, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %16, { 1, 2, 0 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.in6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 1, 3, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64)* @hexchar2int, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder label LBL_8, { 4, 3, 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_ie_13084", "fun_name": "find_ie", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i64\n %sv_0.07.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = icmp ult i64 %arg3, 3\n store i64 %0, i64* %sv_1.0.lcssa.reg2mem\n store i64 %arg3, i64* %sv_0.0.lcssa.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = trunc i64 %arg1 to i8\n store i64 %arg3, i64* %sv_0.07.reg2mem\n store i64 %0, i64* %sv_1.06.reg2mem\n br label LBL_3\n LBL_2:\n %3 = add i64 %sv_1.06.reload, 1\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = zext i8 %5 to i64\n %7 = add nuw nsw i64 %6, 2\n %8 = sub i64 %sv_0.07.reload, %7\n %9 = add i64 %7, %sv_1.06.reload\n %10 = icmp ult i64 %8, 3\n store i64 %8, i64* %sv_0.07.reg2mem\n store i64 %9, i64* %sv_1.06.reg2mem\n store i64 %9, i64* %sv_1.0.lcssa.reg2mem\n store i64 %8, i64* %sv_0.0.lcssa.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %11 = inttoptr i64 %sv_1.06.reload to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %12, %2\n %14 = icmp eq i1 %13, false\n store i64 %sv_1.06.reload, i64* %sv_1.05.reg2mem\n store i64 %sv_0.07.reload, i64* %sv_0.03.reg2mem\n br i1 %14, label LBL_2, label LBL_5\n LBL_4:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %15 = icmp eq i64 %sv_0.0.lcssa.reload, 2\n store i64 %sv_1.0.lcssa.reload, i64* %sv_1.05.reg2mem\n store i64 2, i64* %sv_0.03.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %16 = add i64 %sv_1.05.reload, 1\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = zext i8 %18 to i64\n %20 = add nuw nsw i64 %19, 2\n %21 = icmp ult i64 %sv_0.03.reload, %20\n %22 = icmp eq i1 %21, false\n %sv_1.0. = select i1 %22, i64 %sv_1.05.reload, i64 0\n store i64 %sv_1.0., i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_1.05.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.03.reg2mem, { 0, 2, 1 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mutt_newsgroup_unsubscribe_53", "fun_name": "mutt_newsgroup_unsubscribe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i64 %arg2, 0\n %or.cond4 = or i1 %2, %3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond4, label LBL_5, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_5\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i64 %arg2)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = inttoptr i64 %8 to i8*\n store i8 0, i8* %11, align 1\n %12 = load i8, i8* inttoptr (i64 4210733 to i8*), align 1\n %13 = icmp eq i8 %12, 1\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i64 %8, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = add i64 %8, 16\n %17 = call i64 @FUNC(i64 %16)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2, 4, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "picolcd_check_version_8384", "fun_name": "picolcd_check_version", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 19, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0))\n store i64 19, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %8 = inttoptr i64 %4 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 2\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_7, label LBL_4\n LBL_4:\n %12 = inttoptr i64 %1 to i32*\n %13 = add i64 %4, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n store i32 %15, i32* %12, align 4\n %16 = add i64 %4, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %1, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %1, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = urem i32 %23, 2\n %25 = icmp eq i32 %24, 0\n %26 = load i32, i32* %17, align 4\n %27 = load i32, i32* %14, align 4\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i32 %27, i32 %26)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_6:\n %29 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i32 %27, i32 %26)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %30 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_3, i64 0, i64 0))\n store i64 22, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %31 = call i64 @FUNC(i64 %4)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %27, { 1, 0 }\n uselistorder i32 %26, { 1, 0 }\n uselistorder i64 %0, { 3, 1, 2, 0, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i8*, i32, i32)* @hid_info, { 1, 0 }\n uselistorder i64 (i64, i8*)* @hid_err, { 1, 0 }\n uselistorder i64 19, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_class_init_1728", "fun_name": "virtio_blk_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198662, i64* %arg1, align 8\n store i64 4198669, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198676, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198683, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198690, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198697, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198704, i64* %12, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mailbox_get_guid_4245", "fun_name": "mailbox_get_guid", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i64 1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %12 = trunc i64 %1 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %2)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_6\n LBL_4:\n %19 = trunc i64 %2 to i32\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n %22 = ptrtoint i64* %arg2 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = zext i1 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Sp_split_regexp_6280", "fun_name": "Sp_split_regexp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.ph.lcssa.reg2mem = alloca i64\n %sv_1.1.ph.lcssa.reg2mem = alloca i32\n %sv_1.1.ph22.reg2mem = alloca i32\n %sv_0.0.ph24.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %storemerge19.reg2mem = alloca i32\n %sv_1.020.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_2.012.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %1, i64 0)\n %5 = call i64 @FUNC(i64 %1, i64 1)\n %6 = call i64 @FUNC(i64 %1, i64 2)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i32 1073741824, i32* %storemerge3.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1, i64 2)\n %phitmp = trunc i64 %9 to i32\n store i32 %phitmp, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %10 = inttoptr i64 %4 to i8*\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %11 = call i64 @FUNC(i64 %1)\n %12 = call i32 @strlen(i8* %10)\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_5\n LBL_3:\n %15 = sext i32 %12 to i64\n %16 = add i64 %4, %15\n %17 = icmp ult i64 %4, %16\n store i32 0, i32* %sv_1.1.ph.lcssa.reg2mem\n store i64 %4, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %17, label LBL_4, label LBL_17\n LBL_4:\n %18 = ptrtoint i64* %sv_4 to i64\n %19 = inttoptr i64 %5 to i64*\n %20 = bitcast i32* %sv_3 to i64*\n %21 = icmp ult i64 %2, %16\n store i64 %4, i64* %sv_0.0.ph24.reg2mem\n store i32 0, i32* %sv_1.1.ph22.reg2mem\n br label LBL_8.lr.ph\n LBL_5:\n %22 = inttoptr i64 %5 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = bitcast i32* %sv_3 to i64*\n %25 = call i64 @FUNC(i64 %1, i64 %23, i64 %4, i64* nonnull %24, i64 0)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n store i64 %25, i64* %rax.0.reg2mem\n br i1 %27, label LBL_19, label LBL_6\n LBL_6:\n %28 = icmp eq i32 %storemerge3.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_19, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 %1, i64 4202524)\n %30 = call i64 @FUNC(i64 %1, i64 4294967294, i64 0)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_8:\n %sv_2.012.reload = load i64, i64* %sv_2.012.reg2mem\n %31 = icmp ule i64 %sv_2.012.reload, %4\n %32 = icmp ne i1 %31, true\n %33 = load i64, i64* %19, align 8\n %34 = zext i1 %32 to i64\n %35 = call i64 @FUNC(i64 %1, i64 %33, i64 %sv_2.012.reload, i64* nonnull %20, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i32 %sv_1.1.ph22.reload, i32* %sv_1.1.ph.lcssa.reg2mem\n store i64 %sv_0.0.ph24.reload, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %38, label LBL_17, label LBL_9\n LBL_9:\n br i1 %65, label LBL_10, label LBL_16\n LBL_10:\n %39 = zext i32 %sv_1.1.ph22.reload to i64\n %40 = icmp eq i32 %sv_1.1.ph22.reload, %storemerge3.reload\n store i64 %39, i64* %rax.0.reg2mem\n br i1 %40, label LBL_19, label LBL_11\n LBL_11:\n %41 = sub i64 %3, %sv_0.0.ph24.reload\n %42 = call i64 @FUNC(i64 %1, i64 %sv_0.0.ph24.reload, i64 %41)\n %43 = call i64 @FUNC(i64 %1, i64 4294967294, i64 %39)\n %sv_1.018 = add i32 %sv_1.1.ph22.reload, 1\n %44 = load i32, i32* %sv_3, align 4\n %45 = icmp ugt i32 %44, 1\n store i64 1, i64* %.reg2mem\n store i32 %sv_1.018, i32* %sv_1.020.reg2mem\n store i32 1, i32* %storemerge19.reg2mem\n store i32 %sv_1.018, i32* %sv_1.0.lcssa.reg2mem\n br i1 %45, label LBL_12, label LBL_14\n LBL_12:\n %sv_1.020.reload = load i32, i32* %sv_1.020.reg2mem\n %46 = zext i32 %sv_1.020.reload to i64\n %47 = icmp eq i32 %sv_1.020.reload, %storemerge3.reload\n store i64 %46, i64* %rax.0.reg2mem\n br i1 %47, label LBL_19, label LBL_13\n LBL_13:\n %storemerge19.reload = load i32, i32* %storemerge19.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %48 = mul i64 %.reload, 16\n %49 = add i64 %48, %18\n %50 = add i64 %49, -224\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = add i64 %49, -232\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = sub i64 %52, %55\n %57 = call i64 @FUNC(i64 %1, i64 %55, i64 %56)\n %58 = call i64 @FUNC(i64 %1, i64 4294967294, i64 %46)\n %59 = add i32 %storemerge19.reload, 1\n %sv_1.0 = add i32 %sv_1.020.reload, 1\n %60 = load i32, i32* %sv_3, align 4\n %61 = zext i32 %60 to i64\n %62 = sext i32 %59 to i64\n %63 = icmp slt i64 %62, %61\n store i64 %62, i64* %.reg2mem\n store i32 %sv_1.0, i32* %sv_1.020.reg2mem\n store i32 %59, i32* %storemerge19.reg2mem\n store i32 %sv_1.0, i32* %sv_1.0.lcssa.reg2mem\n br i1 %63, label LBL_12, label LBL_14\n LBL_14:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.ph22.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.ph.lcssa.reg2mem\n br i1 %21, label LBL_8.lr.ph, label LBL_17\n LBL_15:\n %sv_1.1.ph22.reload = load i32, i32* %sv_1.1.ph22.reg2mem\n %sv_0.0.ph24.reload = load i64, i64* %sv_0.0.ph24.reg2mem\n %64 = icmp eq i64 %3, %sv_0.0.ph24.reload\n %65 = icmp eq i1 %64, false\n store i64 %sv_0.0.ph24.reload, i64* %sv_2.012.reg2mem\n br label LBL_8\n LBL_16:\n %66 = add i64 %sv_2.012.reload, 1\n %67 = icmp ult i64 %66, %16\n store i64 %66, i64* %sv_2.012.reg2mem\n store i32 %sv_1.1.ph22.reload, i32* %sv_1.1.ph.lcssa.reg2mem\n store i64 %sv_0.0.ph24.reload, i64* %sv_0.0.ph.lcssa.reg2mem\n br i1 %67, label LBL_8, label LBL_17\n LBL_17:\n %sv_1.1.ph.lcssa.reload = load i32, i32* %sv_1.1.ph.lcssa.reg2mem\n %68 = zext i32 %sv_1.1.ph.lcssa.reload to i64\n %69 = icmp eq i32 %sv_1.1.ph.lcssa.reload, %storemerge3.reload\n store i64 %68, i64* %rax.0.reg2mem\n br i1 %69, label LBL_19, label LBL_18\n LBL_18:\n %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem\n %70 = call i64 @FUNC(i64 %1, i64 %sv_0.0.ph.lcssa.reload)\n %71 = call i64 @FUNC(i64 %1, i64 4294967294, i64 %68)\n store i64 %71, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %68, { 1, 0 }\n uselistorder i64 %sv_0.0.ph24.reload, { 0, 5, 2, 1, 4, 3 }\n uselistorder i32 %sv_1.1.ph22.reload, { 0, 1, 4, 3, 2 }\n uselistorder i64 %46, { 1, 0 }\n uselistorder i32 %sv_1.020.reload, { 2, 0, 1 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i64 %sv_2.012.reload, { 0, 2, 1 }\n uselistorder i64 %16, { 2, 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32 %storemerge3.reload, { 2, 0, 1, 3 }\n uselistorder i64 %4, { 4, 5, 1, 0, 3, 2, 6 }\n uselistorder i32* %sv_3, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 9, 8, 5, 4, 7, 6, 10, 2, 1, 3, 11, 0, 12, 13, 14 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.012.reg2mem, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.020.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge19.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.1.ph.lcssa.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 2, 1, 3, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @js_pushlstring, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @js_setindex, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64*, i64)* @js_doregexec, { 1, 0 }\n uselistorder i32 0, { 4, 2, 5, 1, 0, 3, 6 }\n uselistorder i64 1, { 3, 0, 2, 1 }\n uselistorder label LBL_19, { 6, 2, 1, 0, 5, 3, 4 }\n uselistorder label LBL_17, { 1, 0, 2, 3 }\n uselistorder label LBL_8.lr.ph, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "key_notify_policy_flush_4512", "fun_name": "key_notify_policy_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = call i64 @FUNC(i64 36, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %0, i64 20)\n %5 = inttoptr i64 %4 to i8*\n store i8 2, i8* %5, align 1\n %6 = bitcast i64* %rdi to i32*\n %7 = load i32, i32* %6, align 8\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %3, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %4, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %4, 2\n %16 = inttoptr i64 %15 to i8*\n store i8 3, i8* %16, align 1\n %17 = add i64 %4, 1\n %18 = inttoptr i64 %17 to i8*\n store i8 0, i8* %18, align 1\n %19 = add i64 %4, 3\n %20 = inttoptr i64 %19 to i8*\n store i8 4, i8* %20, align 1\n %21 = add i64 %4, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 2, i32* %22, align 4\n %23 = add i64 %4, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %3, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %0, i64 0, i64 5, i64 0, i64 %27)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "faad_resetbits_5553", "fun_name": "faad_resetbits", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.in.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %sv_0.0.in.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %.pre-phi45.reg2mem = alloca i32*\n %.reg2mem9 = alloca i64\n %.reg2mem7 = alloca i32\n %.pre-phi46.reg2mem = alloca i32*\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = ashr i32 %1, 5\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = mul i32 %2, 4\n %7 = icmp ult i32 %5, %6\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = add i64 %0, 12\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = sext i32 %2 to i64\n %11 = add i64 %10, %0\n store i64 %11, i64* %.reg2mem\n store i32* %9, i32** %.pre-phi46.reg2mem\n store i32 0, i32* %.reg2mem7\n br label LBL_4\n LBL_2:\n %12 = sub i32 %5, %6\n %13 = add i64 %0, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = icmp slt i32 %12, 4\n %16 = sext i32 %2 to i64\n %17 = add i64 %16, %0\n store i64 %17, i64* %.reg2mem\n store i32* %14, i32** %.pre-phi46.reg2mem\n store i32 %12, i32* %.reg2mem7\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %17)\n %19 = load i32, i32* %14, align 4\n %20 = add i32 %19, -4\n store i64 %17, i64* %.reg2mem9\n store i32* %14, i32** %.pre-phi45.reg2mem\n store i32 %20, i32* %storemerge.reg2mem\n store i64 %18, i64* %sv_0.0.in.reg2mem\n br label LBL_5\n LBL_4:\n %.reload8 = load i32, i32* %.reg2mem7\n %.pre-phi46.reload = load i32*, i32** %.pre-phi46.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %21 = zext i32 %.reload8 to i64\n %22 = call i64 @FUNC(i64 %.reload, i64 %21)\n store i64 %.reload, i64* %.reg2mem9\n store i32* %.pre-phi46.reload, i32** %.pre-phi45.reg2mem\n store i32 0, i32* %storemerge.reg2mem\n store i64 %22, i64* %sv_0.0.in.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %.pre-phi45.reload = load i32*, i32** %.pre-phi45.reg2mem\n %.reload10 = load i64, i64* %.reg2mem9\n store i32 %storemerge.reload, i32* %.pre-phi45.reload, align 4\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 %sv_0.0, i32* %24, align 4\n %25 = load i32, i32* %.pre-phi45.reload, align 4\n %26 = icmp slt i32 %25, 4\n %narrow2 = add nsw i32 %2, 1\n %27 = sext i32 %narrow2 to i64\n %28 = add i64 %.reload10, %27\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i64 %28)\n %30 = load i32, i32* %.pre-phi45.reload, align 4\n %31 = add i32 %30, -4\n store i32 %31, i32* %storemerge3.reg2mem\n store i64 %29, i64* %sv_0.1.in.reg2mem\n br label LBL_8\n LBL_7:\n %32 = zext i32 %25 to i64\n %33 = call i64 @FUNC(i64 %28, i64 %32)\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %33, i64* %sv_0.1.in.reg2mem\n br label LBL_8\n LBL_8:\n %34 = urem i32 %1, 32\n %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n store i32 %storemerge3.reload, i32* %.pre-phi45.reload, align 4\n %sv_0.1 = trunc i64 %sv_0.1.in.reload to i32\n %35 = add i64 %0, 20\n %36 = inttoptr i64 %35 to i32*\n store i32 %sv_0.1, i32* %36, align 4\n %37 = sub nsw i32 32, %34\n %38 = add i64 %0, 24\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %narrow1 = add nsw i32 %2, 2\n %40 = sext i32 %narrow1 to i64\n %41 = add i64 %28, %40\n %42 = add i64 %0, 32\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n %44 = add i64 %0, 40\n %45 = inttoptr i64 %44 to i32*\n store i32 0, i32* %45, align 4\n ret i64 %0\n\n uselistorder i64 %28, { 0, 2, 1 }\n uselistorder i32* %.pre-phi45.reload, { 0, 2, 3, 1 }\n uselistorder i64 %17, { 0, 2, 1 }\n uselistorder i32* %14, { 0, 2, 1, 3 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i32 %2, { 3, 2, 4, 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 5, 6, 7, 1, 9, 0, 8, 10 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i64 (i64, i64)* @getdword_n, { 1, 0 }\n uselistorder i64 (i64)* @getdword, { 1, 0 }\n uselistorder i32 4, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_write_chunk_size_6490", "fun_name": "get_write_chunk_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %arg2, 4\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = udiv i32 %4, 16\n %6 = and i64 %arg2, 4294967295\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp ult i32 %5, %8\n %spec.select = select i1 %9, i32 %5, i32 %8\n %10 = mul i32 %spec.select, 16\n %11 = or i32 %10, 4\n %12 = zext i32 %11 to i64\n ret i64 %12\n\n uselistorder i32 %5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SFS_GetString_13027", "fun_name": "SFS_GetString", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64* nonnull %sv_0)\n %11 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "alloc_msn_index_8333", "fun_name": "alloc_msn_index", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp ult i64 %3, %arg2\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = icmp ult i64 %arg2, 536870911\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @globalFUNCvarFUNC402018, i64 0, i64 0))\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 1)\n unreachable\n LBL_3:\n %9 = add i64 %arg2, 25\n %10 = icmp eq i64* %arg1, null\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64 %9, i64 8)\n store i64 %12, i64* %arg1, align 8\n br label LBL_6\n LBL_5:\n %13 = mul i64 %9, 8\n %14 = call i64 @FUNC(i64 %0, i64 %13)\n %15 = load i64, i64* %2, align 8\n %16 = sub i64 %9, %15\n %17 = mul i64 %15, 8\n %18 = add i64 %17, %0\n %19 = inttoptr i64 %18 to i64*\n %.tr = trunc i64 %16 to i32\n %20 = mul i32 %.tr, 8\n %21 = call i64* @memset(i64* %19, i32 0, i32 %20)\n br label LBL_6\n LBL_6:\n store i64 %9, i64* %2, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "srt_probe_3213", "fun_name": "srt_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %sv_0.03.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i64*\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %6 = trunc i64 %3 to i32\n %7 = mul i32 %6, 65536\n %8 = and i32 %7, 16711680\n %9 = add i64 %5, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i32\n %13 = mul i32 %12, 256\n %14 = or i32 %13, %8\n %15 = add i64 %5, 2\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = zext i8 %17 to i32\n %19 = or i32 %14, %18\n %20 = icmp eq i32 %19, 15711167\n %21 = icmp eq i1 %20, false\n %22 = add i64 %5, 3\n %spec.select = select i1 %21, i64 %5, i64 %22\n store i64 %spec.select, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_1:\n %23 = add i64 %sv_1.0.reload, 1\n store i64 %23, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %24 = inttoptr i64 %sv_1.0.reload to i8*\n %25 = load i8, i8* %24, align 1\n switch i8 %25, label LBL_3 [\n i8 13, label LBL_1\n i8 10, label LBL_1\n ]\n LBL_3:\n %26 = inttoptr i64 %4 to i64*\n %27 = inttoptr i64 %2 to i64*\n %28 = inttoptr i64 %1 to i64*\n store i32 0, i32* %.reg2mem\n store i64 0, i64* %.reg2mem6\n store i64* null, i64** %storemerge25.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.14.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %storemerge25.reload = load i64*, i64** %storemerge25.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload = load i32, i32* %.reg2mem\n %29 = icmp eq i32 %sv_0.03.reload, %.reload\n br i1 %29, label LBL_7, label LBL_5\n LBL_5:\n %30 = sub i32 0, %sv_0.03.reload\n %31 = sub i32 %30, 1\n %32 = sub i32 0, %.reload\n %33 = icmp eq i32 %31, %32\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre = inttoptr i64 %sv_1.14.reload to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n br label LBL_8\n LBL_7:\n %35 = inttoptr i64 %sv_1.14.reload to i8*\n %36 = call i32 (i8*, i8*, ...) @sscanf(i8* %35, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i64* %26, i64* %27, i64* %28, i64* %storemerge25.reload)\n %37 = icmp eq i32 %36, 1\n %38 = icmp eq i1 %37, false\n store i8* %35, i8** %.pre-phi.reg2mem\n store i64 100, i64* %storemerge.reg2mem\n br i1 %38, label LBL_8, label LBL_9\n LBL_8:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %39 = call i32 @atoi(i8* %.pre-phi.reload)\n %40 = call i64 @FUNC(i64 %sv_1.14.reload)\n %sext = mul i64 %40, 4294967296\n %41 = ashr exact i64 %sext, 32\n %42 = add i64 %41, %sv_1.14.reload\n %43 = add nuw nsw i64 %.reload7, 1\n %44 = and i64 %43, 4294967295\n %45 = inttoptr i64 %44 to i64*\n %46 = trunc i64 %43 to i32\n %47 = icmp slt i32 %46, 2\n store i32 %46, i32* %.reg2mem\n store i64 %44, i64* %.reg2mem6\n store i64* %45, i64** %storemerge25.reg2mem\n store i64 %42, i64* %sv_1.14.reg2mem\n store i32 %39, i32* %sv_0.03.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %47, label LBL_4, label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.14.reload, { 3, 0, 1, 2 }\n uselistorder i32 %sv_0.03.reload, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem6, { 1, 0, 2 }\n uselistorder i64** %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 0, { 3, 2, 0, 1 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_text_height_6730", "fun_name": "bm_text_height", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.02.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %rdi.04.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rdi.04.reg2mem\n br label LBL_3\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n store i64 %2, i64* %rdi.04.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.04.reload = load i64, i64* %rdi.04.reg2mem\n %3 = inttoptr i64 %arg2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 0\n %6 = icmp eq i1 %5, false\n store i8 %4, i8* %.reg2mem\n store i32 1, i32* %sv_0.13.reg2mem\n store i64 %arg2, i64* %sv_1.02.reg2mem\n store i32 1, i32* %sv_0.1.lcssa.reg2mem\n br i1 %6, label LBL_4, label LBL_5\n LBL_4:\n %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %7 = icmp eq i8 %.reload, 10\n %8 = zext i1 %7 to i32\n %spec.select = add i32 %sv_0.13.reload, %8\n %9 = add i64 %sv_1.02.reload, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp eq i8 %11, 0\n %13 = icmp eq i1 %12, false\n store i8 %11, i8* %.reg2mem\n store i32 %spec.select, i32* %sv_0.13.reg2mem\n store i64 %9, i64* %sv_1.02.reg2mem\n store i32 %spec.select, i32* %sv_0.1.lcssa.reg2mem\n br i1 %13, label LBL_4, label LBL_5\n LBL_5:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %14 = trunc i64 %rdi.04.reload to i32\n %15 = mul i32 %sv_0.1.lcssa.reload, %14\n %16 = zext i32 %15 to i64\n ret i64 %16\n\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.02.reg2mem, { 2, 0, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder [2 x i8]* @gv_0, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "run_commit_hook_4172", "fun_name": "run_commit_hook", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %4 = ptrtoint i64* %sv_1 to i64\n store i64 %4, i64* %sv_0, align 8\n %5 = trunc i64 %3 to i8\n %6 = icmp eq i8 %5, 46\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_9\n LBL_1:\n %8 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %9 = urem i32 %8, 4\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_9\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = ptrtoint i8* %arg3 to i64\n %13 = bitcast i64* %sv_1 to i8*\n %14 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 4096, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %arg3)\n %15 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %16 = and i32 %15, 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i64 %11, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = sext i32 %20 to i64\n %22 = mul i64 %21, 8\n %23 = add i64 %22, ptrtoint ([2 x i8*]* @gv_2 to i64)\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %25, i64 %12, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %27 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %28 = icmp slt i32 %27, 2\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = add i64 %11, 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = sext i32 %31 to i64\n %33 = mul i64 %32, 8\n %34 = add i64 %33, ptrtoint ([2 x i8*]* @gv_2 to i64)\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1, i64 %36, i64 %12, i64 %2, i64 %1)\n br label LBL_6\n LBL_6:\n %38 = call i64 @FUNC(i64 %11, i64* nonnull %sv_1, i64* nonnull %sv_0)\n %39 = trunc i64 %38 to i32\n %40 = icmp slt i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_8, label LBL_7\n LBL_7:\n %42 = add i64 %11, 8\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %46, label LBL_8, label LBL_9\n LBL_8:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %11, { 2, 3, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @apk_message, { 1, 0 }\n uselistorder i64 8, { 2, 0, 3, 1, 4 }\n uselistorder i32 0, { 4, 5, 6, 7, 0, 1, 2, 3 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i8* %arg3, { 1, 0 }\n uselistorder label LBL_9, { 3, 0, 4, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipa_flood_interior_9228", "fun_name": "ipa_flood_interior", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 0)\n %3 = call i64 @FUNC(i64 %1, i64 %0)\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 0, i64 %10, i32 %6, i64 0)\n %12 = call i64 @FUNC(i64 0)\n ret i64 %12\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SFS_Identifier_13028", "fun_name": "SFS_Identifier", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %6, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %16, 4294967295\n %18 = and i64 %17, 4294967295\n %19 = call i64 @FUNC(i64 %18)\n %20 = load i64, i64* %8, align 8\n %21 = and i64 %19, 4294967295\n %22 = call i64 @FUNC(i64 %20, i64 %21)\n %23 = load i64, i64* %14, align 8\n %24 = and i64 %22, 4294967295\n %25 = call i64 @FUNC(i64 %23, i64 %24)\n %26 = call i64 @FUNC(i64 %6, i64 %25)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %27 = load i64, i64* %8, align 8\n %28 = call i64 @FUNC(i64 %27, i64* nonnull %sv_0)\n %29 = call i64 @FUNC(i64* nonnull %sv_0)\n %30 = add i64 %6, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i64 %29)\n %34 = ptrtoint i64* %sv_0 to i64\n %35 = call i64 @FUNC(i64 %6, i64 %34)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %8, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 2, 0, 3, 4 }\n uselistorder i64* %sv_0, { 2, 0, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @SFS_AddString, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "convert_password_encoding_10161", "fun_name": "convert_password_encoding", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i8, align 1\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_14\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_14\n LBL_2:\n store i8 0, i8* %sv_2, align 1\n %6 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %9 = call i64 @FUNC(i8* nonnull %sv_2, i64 %8, i64 256)\n br label LBL_4\n LBL_4:\n %10 = call i64 @FUNC(i8* nonnull %sv_2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_14, label LBL_5\n LBL_5:\n %14 = ptrtoint i8* %sv_2 to i64\n %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_14\n LBL_6:\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i8*\n %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_4, i64 0, i64 0), i8* %19)\n %21 = call i64 @FUNC(i64 %15)\n %22 = icmp sgt i64 %21, 0\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %22, label LBL_7, label LBL_11\n LBL_7:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %23 = add i32 %storemerge1.reload, 1\n %24 = zext i32 %23 to i64\n %25 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %sv_2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_5, i64 0, i64 0), i64 %24)\n %26 = call i64 @FUNC(i64 %14, i8* nonnull %sv_2)\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_10, label LBL_8\n LBL_8:\n %28 = call i64 @FUNC(i64 %26)\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %26)\n %31 = call i64 @FUNC(i8* nonnull %sv_2, i64 %30, i64 256)\n %32 = call i64 @FUNC(i8* nonnull %sv_2, i64* nonnull %sv_1)\n %33 = call i64 @FUNC(i64* nonnull %sv_1, i8* nonnull %sv_2, i64 256)\n %34 = call i64 @FUNC(i64 %26, i8* nonnull %sv_2)\n %35 = call i64 @FUNC(i64 %26, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_10\n LBL_10:\n %36 = call i64 @FUNC(i64 %15)\n %37 = sext i32 %23 to i64\n %38 = icmp sgt i64 %36, %37\n store i32 %23, i32* %storemerge1.reg2mem\n br i1 %38, label LBL_7, label LBL_11\n LBL_11:\n %39 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0, i64 256)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_13, label LBL_12\n LBL_12:\n %42 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2)\n br label LBL_13\n LBL_13:\n %43 = call i32 @puts(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %26, { 2, 1, 0, 3, 4 }\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i8* %sv_2, { 0, 1, 2, 3, 4, 5, 8, 6, 7, 9 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64 (i64)* @mxml_get_value, { 1, 0 }\n uselistorder i64 (i64)* @mxml_get_number_of_children, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i64 (i8*, i64, i64)* @strlcpy, { 1, 0 }\n uselistorder i64 (i64, i8*)* @mxml_get_attribute, { 1, 0 }\n uselistorder i64 (i64, i8*)* @mxml_find_node, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_14, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mdia_Read_9170", "fun_name": "mdia_Read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 4198717)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %6 = icmp eq i64* %arg1, null\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i32 @puts(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %15 = add i64 %1, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_8, label LBL_7\n LBL_7:\n %20 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i32 (i8*)* @puts, { 2, 1, 0 }\n uselistorder i64 0, { 2, 3, 0, 9, 4, 5, 10, 6, 7, 1, 8 }\n uselistorder label LBL_8, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_inv_trans_4x8_c_16513", "fun_name": "vc1_inv_trans_4x8_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.021.reg2mem = alloca i64\n %sv_1.122.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i32\n %sv_2.025.reg2mem = alloca i64\n %storemerge1026.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg3 to i64\n store i32 0, i32* %storemerge1026.reg2mem\n store i64 %0, i64* %sv_2.025.reg2mem\n br label LBL_1\n LBL_1:\n %sv_2.025.reload = load i64, i64* %sv_2.025.reg2mem\n %storemerge1026.reload = load i32, i32* %storemerge1026.reg2mem\n %1 = inttoptr i64 %sv_2.025.reload to i16*\n %2 = load i16, i16* %1, align 2\n %3 = add i64 %sv_2.025.reload, 4\n %4 = inttoptr i64 %3 to i16*\n %5 = load i16, i16* %4, align 2\n %6 = sext i16 %5 to i64\n %7 = sext i16 %2 to i64\n %8 = add nsw i64 %6, %7\n %9 = mul nsw i64 %8, 17\n %10 = add nsw i64 %9, 4\n %11 = sub nsw i64 %7, %6\n %12 = mul nsw i64 %11, 17\n %13 = add nsw i64 %12, 4\n %14 = add i64 %sv_2.025.reload, 2\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = sext i16 %16 to i64\n %18 = mul nsw i64 %17, 22\n %19 = add i64 %sv_2.025.reload, 6\n %20 = inttoptr i64 %19 to i16*\n %21 = load i16, i16* %20, align 2\n %22 = sext i16 %21 to i64\n %23 = mul nsw i64 %22, 10\n %24 = add nsw i64 %23, %18\n %25 = mul nsw i64 %22, 22\n %26 = mul nsw i64 %17, 4294967286\n %27 = add nsw i64 %25, %26\n %28 = add nsw i64 %24, %10\n %29 = trunc i64 %28 to i32\n %30 = udiv i32 %29, 8\n %31 = trunc i32 %30 to i16\n store i16 %31, i16* %1, align 2\n %32 = trunc i64 %13 to i32\n %33 = trunc i64 %27 to i32\n %34 = sub i32 %32, %33\n %35 = udiv i32 %34, 8\n %36 = trunc i32 %35 to i16\n store i16 %36, i16* %15, align 2\n %37 = add nsw i64 %27, %13\n %38 = trunc i64 %37 to i32\n %39 = udiv i32 %38, 8\n %40 = trunc i32 %39 to i16\n store i16 %40, i16* %4, align 2\n %41 = trunc i64 %10 to i32\n %42 = trunc i64 %24 to i32\n %43 = sub i32 %41, %42\n %44 = udiv i32 %43, 8\n %45 = trunc i32 %44 to i16\n store i16 %45, i16* %20, align 2\n %46 = add i64 %sv_2.025.reload, 16\n %47 = add nuw nsw i32 %storemerge1026.reload, 1\n %exitcond27 = icmp eq i32 %47, 8\n store i32 %47, i32* %storemerge1026.reg2mem\n store i64 %46, i64* %sv_2.025.reg2mem\n br i1 %exitcond27, label LBL_2, label LBL_1\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %48 = ptrtoint i64* %arg1 to i64\n %49 = ashr exact i64 %sext, 32\n %50 = mul i64 %arg2, 8589934592\n %51 = ashr exact i64 %50, 32\n %sext6 = mul i64 %49, 12884901888\n %52 = ashr exact i64 %sext6, 32\n %sext11 = mul i64 %arg2, 17179869184\n %53 = ashr exact i64 %sext11, 32\n %54 = mul i64 %arg2, 4\n %55 = add i64 %49, %54\n %sext12 = mul i64 %55, 4294967296\n %56 = ashr exact i64 %sext12, 32\n %sext8 = mul i64 %49, 25769803776\n %57 = ashr exact i64 %sext8, 32\n %58 = mul i64 %arg2, 8\n %59 = sub i64 %58, %49\n %sext13 = mul i64 %59, 4294967296\n %60 = ashr exact i64 %sext13, 32\n store i32 0, i32* %storemerge23.reg2mem\n store i64 %0, i64* %sv_1.122.reg2mem\n store i64 %48, i64* %sv_0.021.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.021.reload = load i64, i64* %sv_0.021.reg2mem\n %sv_1.122.reload = load i64, i64* %sv_1.122.reg2mem\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %61 = inttoptr i64 %sv_1.122.reload to i16*\n %62 = load i16, i16* %61, align 2\n %63 = add i64 %sv_1.122.reload, 64\n %64 = inttoptr i64 %63 to i16*\n %65 = load i16, i16* %64, align 2\n %66 = sext i16 %65 to i64\n %67 = sext i16 %62 to i64\n %68 = add nsw i64 %66, %67\n %69 = mul nsw i64 %68, 12\n %70 = add nsw i64 %69, 64\n %71 = sub nsw i64 %67, %66\n %72 = mul nsw i64 %71, 12\n %73 = add nsw i64 %72, 64\n %74 = add i64 %sv_1.122.reload, 32\n %75 = inttoptr i64 %74 to i16*\n %76 = load i16, i16* %75, align 2\n %77 = sext i16 %76 to i64\n %78 = mul i64 %77, 16\n %79 = add i64 %sv_1.122.reload, 96\n %80 = inttoptr i64 %79 to i16*\n %81 = load i16, i16* %80, align 2\n %82 = sext i16 %81 to i64\n %83 = mul nsw i64 %82, 6\n %84 = add nsw i64 %83, %78\n %85 = mul nsw i64 %77, 6\n %86 = mul i64 %82, 16\n %87 = sub nsw i64 %85, %86\n %88 = add nsw i64 %84, %70\n %89 = add nsw i64 %87, %73\n %90 = sub nsw i64 %73, %87\n %91 = sub nsw i64 %70, %84\n %92 = add i64 %sv_1.122.reload, 16\n %93 = inttoptr i64 %92 to i16*\n %94 = load i16, i16* %93, align 2\n %95 = sext i16 %94 to i64\n %96 = mul i64 %95, 16\n %97 = add i64 %sv_1.122.reload, 48\n %98 = inttoptr i64 %97 to i16*\n %99 = load i16, i16* %98, align 2\n %100 = sext i16 %99 to i64\n %101 = mul i64 %100, 16\n %102 = mul nsw i64 %100, 15\n %103 = add nsw i64 %102, %96\n %104 = add i64 %sv_1.122.reload, 80\n %105 = inttoptr i64 %104 to i16*\n %106 = load i16, i16* %105, align 2\n %107 = sext i16 %106 to i64\n %108 = mul nsw i64 %107, 9\n %109 = add nsw i64 %103, %108\n %110 = add i64 %sv_1.122.reload, 112\n %111 = inttoptr i64 %110 to i16*\n %112 = load i16, i16* %111, align 2\n %113 = sext i16 %112 to i64\n %114 = mul i64 %113, 4\n %115 = add nsw i64 %109, %114\n %116 = mul nsw i64 %95, 15\n %117 = mul i64 %100, 4\n %118 = sub nsw i64 %116, %117\n %119 = mul i64 %107, 16\n %120 = sub nsw i64 %118, %119\n %121 = mul nsw i64 %113, -9\n %122 = add nsw i64 %120, %121\n %123 = mul nsw i64 %95, 9\n %124 = sub nsw i64 %123, %101\n %125 = mul i64 %107, 4\n %126 = add nsw i64 %124, %125\n %127 = mul i64 %113, 16\n %128 = mul nsw i64 %113, 15\n %129 = add nsw i64 %126, %128\n %130 = mul i64 %95, 4\n %131 = mul nsw i64 %100, -9\n %132 = add nsw i64 %131, %130\n %133 = mul nsw i64 %107, 15\n %134 = add nsw i64 %132, %133\n %135 = sub nsw i64 %134, %127\n %136 = inttoptr i64 %sv_0.021.reload to i8*\n %137 = load i8, i8* %136, align 1\n %138 = add nsw i64 %115, %88\n %139 = trunc i64 %138 to i32\n %140 = ashr i32 %139, 7\n %141 = zext i8 %137 to i32\n %142 = add nsw i32 %140, %141\n %143 = sext i32 %142 to i64\n %144 = add i64 %143, ptrtoint (i64* @gv_0 to i64)\n %145 = inttoptr i64 %144 to i8*\n %146 = load i8, i8* %145, align 1\n store i8 %146, i8* %136, align 1\n %147 = add i64 %sv_0.021.reload, %49\n %148 = inttoptr i64 %147 to i8*\n %149 = load i8, i8* %148, align 1\n %150 = add nsw i64 %122, %89\n %151 = trunc i64 %150 to i32\n %152 = ashr i32 %151, 7\n %153 = zext i8 %149 to i32\n %154 = add nsw i32 %152, %153\n %155 = sext i32 %154 to i64\n %156 = add i64 %155, ptrtoint (i64* @gv_0 to i64)\n %157 = inttoptr i64 %156 to i8*\n %158 = load i8, i8* %157, align 1\n store i8 %158, i8* %148, align 1\n %159 = add i64 %sv_0.021.reload, %51\n %160 = inttoptr i64 %159 to i8*\n %161 = load i8, i8* %160, align 1\n %162 = add nsw i64 %129, %90\n %163 = trunc i64 %162 to i32\n %164 = ashr i32 %163, 7\n %165 = zext i8 %161 to i32\n %166 = add nsw i32 %164, %165\n %167 = sext i32 %166 to i64\n %168 = add i64 %167, ptrtoint (i64* @gv_0 to i64)\n %169 = inttoptr i64 %168 to i8*\n %170 = load i8, i8* %169, align 1\n store i8 %170, i8* %160, align 1\n %171 = add i64 %sv_0.021.reload, %52\n %172 = inttoptr i64 %171 to i8*\n %173 = load i8, i8* %172, align 1\n %174 = add nsw i64 %135, %91\n %175 = trunc i64 %174 to i32\n %176 = ashr i32 %175, 7\n %177 = zext i8 %173 to i32\n %178 = add nsw i32 %176, %177\n %179 = sext i32 %178 to i64\n %180 = add i64 %179, ptrtoint (i64* @gv_0 to i64)\n %181 = inttoptr i64 %180 to i8*\n %182 = load i8, i8* %181, align 1\n store i8 %182, i8* %172, align 1\n %183 = add i64 %sv_0.021.reload, %53\n %184 = inttoptr i64 %183 to i8*\n %185 = load i8, i8* %184, align 1\n %186 = trunc i64 %91 to i32\n %187 = trunc i64 %135 to i32\n %188 = or i32 %186, 1\n %189 = sub i32 %188, %187\n %190 = ashr i32 %189, 7\n %191 = zext i8 %185 to i32\n %192 = add nsw i32 %190, %191\n %193 = sext i32 %192 to i64\n %194 = add i64 %193, ptrtoint (i64* @gv_0 to i64)\n %195 = inttoptr i64 %194 to i8*\n %196 = load i8, i8* %195, align 1\n store i8 %196, i8* %184, align 1\n %197 = add i64 %sv_0.021.reload, %56\n %198 = inttoptr i64 %197 to i8*\n %199 = load i8, i8* %198, align 1\n %200 = trunc i64 %90 to i32\n %201 = trunc i64 %129 to i32\n %202 = or i32 %200, 1\n %203 = sub i32 %202, %201\n %204 = ashr i32 %203, 7\n %205 = zext i8 %199 to i32\n %206 = add nsw i32 %204, %205\n %207 = sext i32 %206 to i64\n %208 = add i64 %207, ptrtoint (i64* @gv_0 to i64)\n %209 = inttoptr i64 %208 to i8*\n %210 = load i8, i8* %209, align 1\n store i8 %210, i8* %198, align 1\n %211 = add i64 %sv_0.021.reload, %57\n %212 = inttoptr i64 %211 to i8*\n %213 = load i8, i8* %212, align 1\n %214 = trunc i64 %89 to i32\n %215 = trunc i64 %122 to i32\n %216 = or i32 %214, 1\n %217 = sub i32 %216, %215\n %218 = ashr i32 %217, 7\n %219 = zext i8 %213 to i32\n %220 = add nsw i32 %218, %219\n %221 = sext i32 %220 to i64\n %222 = add i64 %221, ptrtoint (i64* @gv_0 to i64)\n %223 = inttoptr i64 %222 to i8*\n %224 = load i8, i8* %223, align 1\n store i8 %224, i8* %212, align 1\n %225 = add i64 %sv_0.021.reload, %60\n %226 = inttoptr i64 %225 to i8*\n %227 = load i8, i8* %226, align 1\n %228 = trunc i64 %88 to i32\n %229 = trunc i64 %115 to i32\n %230 = or i32 %228, 1\n %231 = sub i32 %230, %229\n %232 = ashr i32 %231, 7\n %233 = zext i8 %227 to i32\n %234 = add nsw i32 %232, %233\n %235 = sext i32 %234 to i64\n %236 = add i64 %235, ptrtoint (i64* @gv_0 to i64)\n %237 = inttoptr i64 %236 to i8*\n %238 = load i8, i8* %237, align 1\n store i8 %238, i8* %226, align 1\n %239 = add i64 %sv_1.122.reload, 2\n %240 = add i64 %sv_0.021.reload, 1\n %241 = add nuw nsw i32 %storemerge23.reload, 1\n %exitcond = icmp eq i32 %241, 4\n store i32 %241, i32* %storemerge23.reg2mem\n store i64 %239, i64* %sv_1.122.reg2mem\n store i64 %240, i64* %sv_0.021.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %242 = zext i8 %238 to i64\n ret i64 %242\n\n uselistorder i64 %129, { 1, 0 }\n uselistorder i64 %122, { 1, 0 }\n uselistorder i64 %115, { 1, 0 }\n uselistorder i64 %113, { 2, 0, 3, 1 }\n uselistorder i64 %107, { 2, 0, 1, 3 }\n uselistorder i64 %100, { 2, 0, 3, 1 }\n uselistorder i64 %95, { 0, 2, 3, 1 }\n uselistorder i64 %91, { 1, 0 }\n uselistorder i64 %90, { 1, 0 }\n uselistorder i64 %89, { 1, 0 }\n uselistorder i64 %88, { 1, 0 }\n uselistorder i64 %87, { 1, 0 }\n uselistorder i64 %84, { 1, 0 }\n uselistorder i64 %77, { 1, 0 }\n uselistorder i64 %73, { 1, 0 }\n uselistorder i64 %70, { 1, 0 }\n uselistorder i64 %67, { 1, 0 }\n uselistorder i64 %66, { 1, 0 }\n uselistorder i64 %sv_1.122.reload, { 0, 8, 7, 5, 6, 3, 4, 2, 1 }\n uselistorder i64 %sv_0.021.reload, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 %49, { 0, 2, 3, 1, 4 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %sv_2.025.reload, { 0, 2, 1, 3, 4 }\n uselistorder i32* %storemerge1026.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.025.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.122.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.021.reg2mem, { 1, 0, 2 }\n uselistorder i64 32, { 7, 0, 3, 1, 2, 4, 5, 6 }\n uselistorder i32 8, { 4, 0, 1, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "add_child_4247", "fun_name": "add_child", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %arg3, i64* %8, align 8\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %0, 28\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bnxt_dump_tx_sw_state_3975", "fun_name": "bnxt_dump_tx_sw_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = icmp eq i64* %arg1, null\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = trunc i64 %1 to i32\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = zext i32 %11 to i64\n %18 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i32 %5, i32 %8, i64 %17, i64 %6)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pcan_usb_pro_send_req_18414", "fun_name": "pcan_usb_pro_send_req", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %5 = trunc i64 %arg5 to i32\n %6 = call i64* @memset(i64* %arg4, i32 0, i32 %5)\n %7 = trunc i64 %arg2 to i32\n %8 = icmp eq i32 %7, 1\n %9 = icmp eq i1 %8, false\n %10 = ptrtoint i32* %arg1 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %13, i64 0)\n store i8 64, i8* %sv_1.0.reg2mem\n store i64 %14, i64* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_3:\n %15 = call i64 @FUNC(i64 %13, i64 0)\n store i8 -64, i8* %sv_1.0.reg2mem\n store i64 %15, i64* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %16 = load i64, i64* %12, align 8\n %17 = trunc i64 %arg3 to i32\n %18 = call i64 @FUNC(i64 %16, i32 %sv_0.0, i32 %7, i8 %sv_1.0.reload, i32 %17, i64 0)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = add i64 %10, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = and i64 %18, 4294967295\n %26 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i32 %7, i32 %17, i64 %25, i64 0)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %13, { 1, 0 }\n uselistorder i8* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "msix_init_5309", "fun_name": "msix_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_7\n LBL_1:\n %3 = trunc i64 %arg2 to i16\n %4 = icmp ult i16 %3, 257\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_7\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 256)\n store i64 %6, i64* %arg1, align 8\n %7 = call i64 @FUNC(i64 4096)\n %8 = add i64 %5, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = load i64, i64* @gv_0, align 8\n %11 = load i64, i64* @gv_1, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %10, i64 %5)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %5, 16\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = icmp eq i32 %13, -1\n %17 = icmp eq i1 %16, false\n store i64 4294967293, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_3, label LBL_6\n LBL_3:\n %18 = add i64 %5, 20\n %19 = inttoptr i64 %18 to i16*\n store i16 %3, i16* %19, align 2\n %20 = trunc i64 %arg4 to i32\n %21 = trunc i64 %arg3 to i32\n %22 = call i64 @FUNC(i64 %5, i16 %3, i32 %21, i32 %20)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = add i64 %5, 24\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = or i32 %28, 1\n store i32 %29, i32* %27, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n store i16 0, i16* %19, align 2\n %30 = load i32, i32* %15, align 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n %phitmp = and i64 %22, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %33 = load i64, i64* %9, align 8\n %34 = call i64 @FUNC(i64 %33)\n store i64 0, i64* %9, align 8\n %35 = call i64 @FUNC(i64 %33)\n store i64 0, i64* %arg1, align 8\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %9, { 1, 0, 2 }\n uselistorder i64 %5, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64)* @qemu_free, { 1, 0 }\n uselistorder i64 (i64)* @qemu_mallocz, { 1, 0 }\n uselistorder label LBL_7, { 2, 3, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dentry_cmp_10467", "fun_name": "dentry_cmp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %1, i64 %0, i32 %arg3)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nsv_read_header_2221", "fun_name": "nsv_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i8*\n %10 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i8* %9, i64 %3, i64 %2, i64 %1)\n %11 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %4, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n store i64 0, i64* %7, align 8\n %14 = bitcast i64* %rdi to i32*\n %15 = load i32, i32* %14, align 8\n %16 = icmp eq i32 %15, 1\n %17 = icmp eq i1 %16, false\n %18 = icmp eq i32 %15, 2\n %19 = icmp eq i1 %18, false\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_1\n LBL_1:\n %20 = call i64 @FUNC(i64 %4)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_2, label LBL_11\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n br i1 %17, label LBL_5, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %4)\n %25 = trunc i64 %24 to i32\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = and i64 %24, 4294967295\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n br i1 %19, label LBL_8, label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i64 %4)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_9, label LBL_7\n LBL_7:\n %33 = and i64 %29, 4294967295\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %34 = add nuw nsw i32 %storemerge1.reload, 1\n %35 = icmp ult i32 %34, 10\n store i32 %34, i32* %storemerge1.reg2mem\n br i1 %35, label LBL_1, label LBL_9\n LBL_9:\n %36 = inttoptr i64 %12 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n %39 = icmp slt i32 %37, 0\n %40 = icmp eq i1 %39, false\n %41 = icmp eq i1 %38, false\n %42 = icmp eq i1 %40, %41\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %42, label LBL_10, label LBL_11\n LBL_10:\n %43 = call i64 @FUNC(i64 %4, i64 1)\n %44 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i8* null, i64 %3, i64 %2, i64 %1)\n %45 = and i64 %43, 4294967295\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %37, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 3, 0, 4, 5, 6, 7, 8 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 4, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 4, 6, 3, 5 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @av_dlog, { 2, 1, 0 }\n uselistorder label LBL_11, { 2, 1, 3, 4, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mg_get_http_header_7164", "fun_name": "mg_get_http_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge24.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i32 @strlen(i8* %arg2)\n %2 = sext i32 %1 to i64\n %3 = ptrtoint i8* %arg2 to i64\n store i64 0, i64* %storemerge24.reg2mem\n br label LBL_4\n LBL_1:\n %4 = inttoptr i64 %16 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i64 %19, %2\n %8 = icmp eq i1 %7, false\n %or.cond = or i1 %8, %6\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %5, i64 %3, i64 %2)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_5\n LBL_3:\n %13 = add nuw nsw i64 %storemerge24.reload, 1\n %14 = icmp ult i64 %13, 100\n store i64 %13, i64* %storemerge24.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %14, label LBL_4, label LBL_6\n LBL_4:\n %storemerge24.reload = load i64, i64* %storemerge24.reg2mem\n %15 = mul i64 %storemerge24.reload, 16\n %16 = add i64 %15, %0\n %17 = add i64 %16, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %21, label LBL_1, label LBL_6\n LBL_5:\n %22 = add i64 %16, 1600\n store i64 %22, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %16, { 0, 2, 1 }\n uselistorder i64 %storemerge24.reload, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_update_features_468", "fun_name": "vmxnet3_update_features", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = bitcast i64* %rdi to i32*\n %5 = load i32, i32* %4, align 8\n %6 = zext i32 %5 to i64\n %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 %6)\n %8 = sext i32 %7 to i64\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfssvc_decode_writeargs_13757", "fun_name": "nfssvc_decode_writeargs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64*\n %.lcssa1.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.02.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = call i64 @FUNC(i64 %arg2, i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = add i64 %1, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = call i32 @ntohl(i32 %6)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %1, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = call i32 @ntohl(i32 %12)\n %14 = add i64 %0, 12\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = icmp ult i32 %13, 8193\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_9\n LBL_2:\n %17 = ptrtoint i64* %arg1 to i64\n %18 = add i64 %1, 16\n %19 = zext i32 %12 to i64\n %20 = sub i64 %18, %19\n %21 = and i64 %20, 4294967295\n %22 = add i64 %17, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp ugt i64 %21, %24\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_9, label LBL_3\n LBL_3:\n %26 = trunc i64 %20 to i32\n %27 = trunc i64 %24 to i32\n %28 = mul i32 %27, 2\n %29 = sub i32 %28, %26\n %30 = add i32 %13, 3\n %31 = and i32 %30, -4\n %32 = icmp ult i32 %29, %31\n %33 = icmp eq i1 %32, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_4, label LBL_9\n LBL_4:\n %34 = add i64 %17, 16\n %35 = inttoptr i64 %34 to i64*\n store i64 %18, i64* %35, align 8\n %36 = load i64, i64* %23, align 8\n %37 = sub i64 %36, %21\n %38 = add i64 %17, 24\n %39 = inttoptr i64 %38 to i64*\n store i64 %37, i64* %39, align 8\n %40 = zext i32 %13 to i64\n %41 = icmp ult i64 %37, %40\n store i32 1, i32* %sv_0.0.lcssa.reg2mem\n store i64 %40, i64* %.lcssa1.reg2mem\n store i64* %39, i64** %.lcssa.reg2mem\n br i1 %41, label LBL_5, label LBL_8\n LBL_5:\n %42 = add i64 %17, 272\n store i64 %37, i64* %.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n store i32 %13, i32* %sv_1.02.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %43 = trunc i64 %.reload to i32\n %44 = sub i32 %sv_1.02.reload, %43\n %45 = add i32 %sv_0.03.reload, 1\n %46 = sext i32 %45 to i64\n %47 = mul i64 %46, 8\n %48 = add i64 %42, %47\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = call i64 @FUNC(i64 %50)\n %52 = mul i64 %46, 16\n %53 = add i64 %52, %34\n %54 = inttoptr i64 %53 to i64*\n store i64 %51, i64* %54, align 8\n %55 = add i64 %53, 8\n %56 = inttoptr i64 %55 to i64*\n store i64 4096, i64* %56, align 8\n %57 = zext i32 %44 to i64\n %58 = add i64 %52, %38\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = icmp ult i64 %60, %57\n store i64 %60, i64* %.reg2mem\n store i32 %45, i32* %sv_0.03.reg2mem\n store i32 %44, i32* %sv_1.02.reg2mem\n br i1 %61, label LBL_6, label LBL_7\n LBL_7:\n %phitmp = add i32 %sv_0.03.reload, 2\n store i32 %phitmp, i32* %sv_0.0.lcssa.reg2mem\n store i64 %57, i64* %.lcssa1.reg2mem\n store i64* %59, i64** %.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem\n %.lcssa1.reload = load i64, i64* %.lcssa1.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n store i64 %.lcssa1.reload, i64* %.lcssa.reload, align 8\n %62 = add i64 %0, 16\n %63 = inttoptr i64 %62 to i32*\n store i32 %sv_0.0.lcssa.reload, i32* %63, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %52, { 1, 0 }\n uselistorder i32 %sv_0.03.reload, { 1, 0 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i32 %13, { 0, 1, 3, 2, 4 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.lcssa1.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 16, { 2, 0, 3, 1 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i32 (i32)* @ntohl, { 1, 0 }\n uselistorder label LBL_9, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lpfc_sli4_rb_alloc_3920", "fun_name": "lpfc_sli4_rb_alloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 40, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n %3 = add i64 %0, 8\n %4 = call i64 @FUNC(i64 40, i64 0, i64 %3)\n %5 = inttoptr i64 %0 to i64*\n store i64 %4, i64* %5, align 8\n %6 = icmp eq i64 %4, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = add i64 %0, 24\n %11 = add i64 %9, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i64 0, i64 %10)\n %15 = add i64 %0, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = icmp eq i64 %14, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = inttoptr i64 %3 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = load i64, i64* %5, align 8\n %22 = call i64 @FUNC(i64 %13, i64 %21, i64 %20)\n %23 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %24 = add i64 %0, 32\n %25 = inttoptr i64 %24 to i64*\n store i64 1024, i64* %25, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 2, 1, 3, 5, 4, 7, 6, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @pci_pool_alloc, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_state_waitlisthead_1247", "fun_name": "ehci_state_waitlisthead", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_2 = alloca i32, align 4\n %4 = trunc i64 %arg2 to i32\n %5 = icmp eq i32 %4, 0\n %.pre = ptrtoint i32* %arg1 to i64\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %.pre, i64 1)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = trunc i64 %2 to i32\n %9 = and i64 %7, 4294967295\n %10 = call i64 @FUNC(i64 %.pre, i64 %9, i64 0)\n %11 = bitcast i32* %sv_2 to i64*\n %12 = icmp ne i32 %3, %8\n store i32 0, i32* %storemerge6.reg2mem\n store i32 %8, i32* %sv_1.15.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem\n %13 = call i64 @FUNC(i64 %.pre, i32 %sv_1.15.reload, i64* nonnull %11, i64 2)\n %14 = zext i32 %sv_1.15.reload to i64\n %15 = call i64 @FUNC(i64 0, i64 %14, i64* nonnull %11)\n %16 = load i32, i32* %sv_2, align 4\n %17 = and i32 %16, 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = trunc i64 %7 to i32\n %20 = icmp eq i32 %19, 0\n %21 = or i32 %sv_1.15.reload, 4\n %spec.select = select i1 %20, i32 %sv_1.15.reload, i32 %21\n %22 = call i64 @FUNC(i64 %.pre, i64 %9, i32 %spec.select)\n %23 = call i64 @FUNC(i64 %.pre, i64 %9, i64 5)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %24 = add nuw nsw i32 %storemerge6.reload, 1\n %25 = icmp ult i32 %24, 128\n %or.cond = icmp eq i1 %12, %25\n store i32 %24, i32* %storemerge6.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %.pre, i64 %9, i64 6)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %sv_1.15.reload, { 3, 2, 1, 0 }\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64 %.pre, { 0, 2, 1, 3, 4, 5 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acpi_load_old_1467", "fun_name": "acpi_load_old", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.in.reg2mem\n br i1 %5, label LBL_1, label LBL_7\n LBL_1:\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %1, i64 %6)\n %8 = add i64 %0, 10\n %9 = call i64 @FUNC(i64 %1, i64 %8)\n %10 = add i64 %0, 12\n %11 = call i64 @FUNC(i64 %1, i64 %10)\n %12 = add i64 %0, 48\n %13 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0, i64 %12, i64 1)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 %13, i64* %rax.0.in.reg2mem\n br i1 %15, label LBL_2, label LBL_7\n LBL_2:\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %1, i64 %18)\n %20 = add i64 %0, 24\n %21 = call i64 @FUNC(i64 %1, i64 %20)\n %22 = add i64 %0, 32\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %1, i64 %24)\n %26 = ptrtoint i64* %sv_0 to i64\n store i32 0, i32* %storemerge13.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %27 = call i64 @FUNC(i64 %1, i64 %26)\n %28 = add nuw nsw i32 %storemerge13.reload, 1\n %exitcond4 = icmp eq i32 %28, 3\n store i32 %28, i32* %storemerge13.reg2mem\n br i1 %exitcond4, label LBL_4, label LBL_3\n LBL_4:\n %29 = add i64 %0, 40\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %1, i64 %31)\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %33 = call i64 @FUNC(i64 %1, i64 %26)\n %34 = add nuw nsw i32 %storemerge2.reload, 1\n %exitcond = icmp eq i32 %34, 3\n store i32 %34, i32* %storemerge2.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %35 = add i64 %0, 52\n %36 = call i64 @FUNC(i64 %1, i64* nonnull @gv_1, i64 %35, i64 1)\n store i64 %36, i64* %rax.0.in.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem\n %rax.0 = and i64 %rax.0.in.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %1, { 0, 1, 2, 3, 4, 6, 5, 7, 10, 9, 8, 11 }\n uselistorder i64 %0, { 0, 1, 2, 4, 3, 5, 8, 7, 6, 9 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 (i64, i64*, i64, i64)* @vmstate_load_state, { 1, 0 }\n uselistorder i64 (i64, i64)* @qemu_get_be16s, { 6, 4, 5, 3, 2, 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "forward_search_range_7624", "fun_name": "forward_search_range", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64* %arg6, i64* %arg7, i64* %arg8) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge6.reg2mem = alloca i64\n %r9.1.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %r9.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.2.ph.reg2mem = alloca i64\n %sv_0.015.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg6 to i64\n %sv_2 = alloca i64, align 8\n store i64 %2, i64* %sv_2, align 8\n %3 = and i64 %arg3, 4294967295\n %4 = and i64 %arg2, 4294967295\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = and i64 %arg5, 4294967295\n %7 = and i64 %arg4, 4294967295\n %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %7, i64 %6)\n %9 = trunc i64 %1 to i32\n %10 = icmp slt i32 %9, 1\n %.pre23 = ptrtoint i32* %arg1 to i64\n %.pre = add i64 %.pre23, 48\n %.pre24 = inttoptr i64 %.pre to i64*\n store i64 %arg4, i64* %sv_0.2.ph.reg2mem\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = load i64, i64* %.pre24, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %sext25 = mul i64 %1, 4294967296\n %15 = ashr exact i64 %sext25, 32\n %16 = add i64 %15, %arg4\n store i64 %16, i64* %sv_0.2.ph.reg2mem\n br i1 %14, label LBL_2, label LBL_4\n LBL_2:\n %17 = icmp ugt i64 %16, %arg4\n store i64 %arg4, i64* %sv_0.015.reg2mem\n store i64 %arg4, i64* %sv_0.2.ph.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n %sv_0.015.reload = load i64, i64* %sv_0.015.reg2mem\n %18 = load i64, i64* %.pre24, align 8\n %19 = call i64 @FUNC(i64 %18, i64 %sv_0.015.reload)\n %sext7 = mul i64 %19, 4294967296\n %20 = ashr exact i64 %sext7, 32\n %21 = add i64 %20, %sv_0.015.reload\n %22 = icmp ult i64 %21, %16\n store i64 %21, i64* %sv_0.015.reg2mem\n store i64 %21, i64* %sv_0.2.ph.reg2mem\n br i1 %22, label LBL_3, label LBL_4\n LBL_4:\n %23 = ptrtoint i64* %arg8 to i64\n %24 = ptrtoint i64* %sv_2 to i64\n %25 = bitcast i64* %rdi to i32*\n %sv_0.2.ph.reload = load i64, i64* %sv_0.2.ph.reg2mem\n %26 = add i64 %.pre23, 40\n %27 = inttoptr i64 %26 to i64*\n %28 = add i64 %.pre23, 32\n %29 = inttoptr i64 %28 to i64*\n %30 = add i64 %.pre23, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = add i64 %.pre23, 16\n %33 = inttoptr i64 %32 to i32*\n %34 = add i64 %24, -16\n %35 = inttoptr i64 %34 to i64*\n %36 = add i64 %.pre23, 12\n %37 = inttoptr i64 %36 to i32*\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %sv_0.2.ph.reload, i64* %sv_0.2.reg2mem\n store i64 %6, i64* %r9.0.reg2mem\n br label LBL_5\n LBL_5:\n %r9.0.reload = load i64, i64* %r9.0.reg2mem\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n store i64 %.pre23, i64* @0, align 8\n store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem\n store i64 %r9.0.reload, i64* %r9.1.reg2mem\n switch i64 %.pre23, label LBL_11 [\n i64 0, label LBL_6\n i64 1, label LBL_7\n i64 2, label LBL_8\n i64 3, label LBL_9\n i64 4, label LBL_10\n ]\n LBL_6:\n %38 = load i64, i64* %29, align 8\n %39 = load i64, i64* %31, align 8\n %40 = load i64, i64* %.pre24, align 8\n %41 = call i64 @FUNC(i64 %40, i64 %39, i64 %38, i64 %sv_0.2.reload, i64 %arg3, i64 %arg5)\n store i64 %41, i64* %sv_0.3.reg2mem\n store i64 %arg5, i64* %r9.1.reg2mem\n br label LBL_11\n LBL_7:\n %42 = load i64, i64* %29, align 8\n %43 = load i64, i64* %31, align 8\n %44 = load i32, i32* %33, align 4\n %45 = load i64, i64* %.pre24, align 8\n store i64 %arg5, i64* %35, align 8\n %46 = call i64 @FUNC(i64 %45, i32 %44, i64 %43, i64 %42, i64 %sv_0.2.reload, i64 %arg3)\n store i64 %46, i64* %sv_0.3.reg2mem\n store i64 %arg3, i64* %r9.1.reg2mem\n br label LBL_11\n LBL_8:\n %47 = load i64, i64* %29, align 8\n %48 = load i64, i64* %31, align 8\n %49 = call i64 @FUNC(i64 2, i64 %48, i64 %47, i64 %sv_0.2.reload, i64 %arg3, i64 %arg5)\n store i64 %49, i64* %sv_0.3.reg2mem\n store i64 %arg5, i64* %r9.1.reg2mem\n br label LBL_11\n LBL_9:\n %50 = load i64, i64* %29, align 8\n %51 = load i64, i64* %31, align 8\n %52 = call i64 @FUNC(i64 3, i64 %51, i64 %50, i64 %sv_0.2.reload, i64 %arg3, i64 %arg5)\n store i64 %52, i64* %sv_0.3.reg2mem\n store i64 %arg5, i64* %r9.1.reg2mem\n br label LBL_11\n LBL_10:\n %53 = load i64, i64* %27, align 8\n %54 = load i64, i64* %.pre24, align 8\n %55 = call i64 @FUNC(i64 %54, i64 %53, i64 %sv_0.2.reload, i64 %arg5)\n store i64 %55, i64* %sv_0.3.reg2mem\n store i64 %r9.0.reload, i64* %r9.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %56 = icmp eq i64 %sv_0.3.reload, 0\n %57 = icmp ult i64 %sv_0.3.reload, %arg5\n %58 = icmp eq i1 %57, false\n %or.cond = or i1 %56, %58\n store i64 0, i64* %storemerge6.reg2mem\n br i1 %or.cond, label LBL_31, label LBL_12\n LBL_12:\n %r9.1.reload = load i64, i64* %r9.1.reg2mem\n %59 = load i32, i32* %25, align 8\n %60 = sext i32 %59 to i64\n %61 = sub i64 %sv_0.3.reload, %60\n %62 = icmp ult i64 %61, %arg4\n br i1 %62, label LBL_13, label LBL_14\n LBL_13:\n %63 = load i64, i64* %.pre24, align 8\n %64 = call i64 @FUNC(i64 %63, i64 %sv_0.3.reload)\n %sext = mul i64 %64, 4294967296\n %65 = ashr exact i64 %sext, 32\n %66 = add i64 %65, %sv_0.3.reload\n store i64 %sv_0.3.reload, i64* %sv_1.0.reg2mem\n store i64 %66, i64* %sv_0.2.reg2mem\n store i64 %r9.1.reload, i64* %r9.0.reg2mem\n br label LBL_5\n LBL_14:\n %67 = load i32, i32* %37, align 4\n switch i32 %67, label LBL_18 [\n i32 2, label LBL_16\n i32 1, label LBL_15\n ]\n LBL_15:\n %68 = icmp eq i64 %sv_1.0.reload, 0\n %storemerge5 = select i1 %68, i64 %arg2, i64 %sv_1.0.reload\n %69 = load i64, i64* %.pre24, align 8\n %70 = call i64 @FUNC(i64 %69, i64 %storemerge5, i64 %sv_0.3.reload)\n %71 = load i64, i64* %.pre24, align 8\n %72 = call i64 @FUNC(i64 %71, i64 %70, i64 %arg3)\n %73 = trunc i64 %72 to i32\n %74 = icmp eq i32 %73, 0\n %75 = icmp eq i1 %74, false\n br i1 %75, label LBL_18, label LBL_13\n LBL_16:\n %76 = load i64, i64* %.pre24, align 8\n %77 = call i64 @FUNC(i64 %76, i64 %sv_0.3.reload, i64 %arg3)\n %78 = trunc i64 %77 to i32\n %79 = icmp eq i32 %78, 0\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_18, label LBL_17\n LBL_17:\n %81 = load i64, i64* %.pre24, align 8\n %82 = call i64 @FUNC(i64 %81, i64 %sv_0.3.reload, i64 %arg3)\n %83 = trunc i64 %82 to i32\n %84 = icmp eq i32 %83, 0\n br i1 %84, label LBL_13, label LBL_18\n LBL_18:\n %85 = add i64 %.pre23, 4\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = icmp eq i32 %87, 0\n %89 = icmp eq i1 %88, false\n br i1 %89, label LBL_23, label LBL_19\n LBL_19:\n %90 = load i64, i64* %sv_2, align 8\n %91 = inttoptr i64 %90 to i64*\n store i64 %sv_0.3.reload, i64* %91, align 8\n %92 = icmp eq i64* %arg8, null\n br i1 %92, label LBL_30, label LBL_20\n LBL_20:\n %93 = icmp ugt i64 %r9.1.reload, %arg4\n %94 = icmp eq i1 %93, false\n br i1 %94, label LBL_22, label LBL_21\n LBL_21:\n %95 = load i64, i64* %.pre24, align 8\n %96 = call i64 @FUNC(i64 %95, i64 %arg4, i64 %sv_0.3.reload)\n store i64 %96, i64* %arg8, align 8\n br label LBL_30\n LBL_22:\n %97 = icmp eq i64 %sv_1.0.reload, 0\n %storemerge = select i1 %97, i64 %arg2, i64 %sv_1.0.reload\n %98 = load i64, i64* %.pre24, align 8\n %99 = call i64 @FUNC(i64 %98, i64 %storemerge, i64 %sv_0.3.reload)\n store i64 %99, i64* %arg8, align 8\n br label LBL_30\n LBL_23:\n %100 = icmp eq i32 %87, -1\n br i1 %100, label LBL_30, label LBL_24\n LBL_24:\n %101 = sext i32 %87 to i64\n %102 = sub i64 %sv_0.3.reload, %101\n %103 = load i64, i64* %sv_2, align 8\n %104 = inttoptr i64 %103 to i64*\n store i64 %102, i64* %104, align 8\n %105 = icmp ugt i64 %r9.1.reload, %arg4\n %106 = icmp eq i1 %105, false\n br i1 %106, label LBL_28, label LBL_25\n LBL_25:\n %107 = load i64, i64* %.pre24, align 8\n %108 = call i64 @FUNC(i64 %107, i64 %arg4, i64 %r9.1.reload, i64 %23)\n %109 = load i64, i64* %sv_2, align 8\n %110 = inttoptr i64 %109 to i64*\n store i64 %108, i64* %110, align 8\n %111 = icmp eq i64* %arg8, null\n br i1 %111, label LBL_30, label LBL_26\n LBL_26:\n %112 = load i64, i64* %arg8, align 8\n %113 = icmp eq i64 %112, 0\n %114 = icmp eq i1 %113, false\n br i1 %114, label LBL_30, label LBL_27\n LBL_27:\n %115 = icmp eq i64 %sv_1.0.reload, 0\n %storemerge2 = select i1 %115, i64 %arg4, i64 %sv_1.0.reload\n %116 = load i64, i64* %.pre24, align 8\n %117 = call i64 @FUNC(i64 %116, i64 %storemerge2, i64 %r9.1.reload)\n store i64 %117, i64* %arg8, align 8\n br label LBL_30\n LBL_28:\n %118 = icmp eq i64* %arg8, null\n br i1 %118, label LBL_30, label LBL_29\n LBL_29:\n %119 = icmp eq i64 %sv_1.0.reload, 0\n %storemerge3 = select i1 %119, i64 %arg2, i64 %sv_1.0.reload\n %120 = load i64, i64* %.pre24, align 8\n %121 = call i64 @FUNC(i64 %120, i64 %storemerge3, i64 %r9.1.reload)\n store i64 %121, i64* %arg8, align 8\n br label LBL_30\n LBL_30:\n %122 = load i32, i32* %25, align 8\n %123 = sext i32 %122 to i64\n %124 = sub i64 %sv_0.3.reload, %123\n store i64 %124, i64* %arg7, align 8\n %125 = load i32, i32* %86, align 4\n %126 = sub i64 %124, %arg2\n %127 = sub i64 %r9.1.reload, %arg2\n %128 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %129 = zext i32 %125 to i64\n %130 = zext i32 %122 to i64\n %131 = and i64 %126, 4294967295\n %132 = and i64 %127, 4294967295\n %133 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %128, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_2, i64 0, i64 0), i64 %132, i64 %131, i64 %130, i64 %129)\n store i64 1, i64* %storemerge6.reg2mem\n br label LBL_31\n LBL_31:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n ret i64 %storemerge6.reload\n\n uselistorder i64 %r9.1.reload, { 5, 1, 2, 0, 4, 3, 6 }\n uselistorder i64 %sv_0.3.reload, { 12, 8, 10, 11, 9, 5, 4, 3, 13, 7, 2, 0, 6, 1 }\n uselistorder i64 %sv_1.0.reload, { 2, 3, 4, 5, 6, 7, 0, 1 }\n uselistorder i64 %sv_0.2.reload, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64* %31, { 3, 2, 1, 0 }\n uselistorder i64* %29, { 3, 2, 1, 0 }\n uselistorder i64 %sv_0.015.reload, { 1, 0 }\n uselistorder i64 %16, { 2, 1, 0 }\n uselistorder i64* %.pre24, { 0, 2, 1, 3, 4, 7, 6, 9, 8, 5, 12, 11, 10, 14, 13 }\n uselistorder i64 %.pre23, { 0, 6, 7, 5, 4, 3, 2, 1, 8 }\n uselistorder i64* %sv_2, { 0, 1, 2, 4, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.015.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.2.ph.reg2mem, { 0, 1, 3, 4, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r9.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.3.reg2mem, { 0, 5, 4, 3, 2, 1, 6 }\n uselistorder i64* %r9.1.reg2mem, { 0, 5, 4, 3, 2, 1, 6 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @ONIGENC_IS_MBC_NEWLINE, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @onigenc_get_prev_char_head, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 1, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @enclen, { 1, 0 }\n uselistorder i64 32, { 2, 3, 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 %arg5, { 3, 8, 2, 7, 1, 6, 5, 0, 4, 9 }\n uselistorder i64 %arg4, { 9, 10, 5, 8, 6, 7, 1, 2, 4, 3, 0, 11 }\n uselistorder i64 %arg3, { 5, 6, 7, 4, 3, 0, 2, 1, 8 }\n uselistorder i64 %arg2, { 4, 3, 2, 1, 0, 5 }\n uselistorder label LBL_31, { 1, 0 }\n uselistorder label LBL_18, { 2, 1, 3, 0 }\n uselistorder label LBL_13, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 0, 2, 3, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "idreg_init1_3052", "fun_name": "idreg_init1", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1, i64 %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 256, i64* nonnull @gv_1)\n %4 = call i64 @FUNC(i64 %1)\n %5 = call i64 @FUNC(i64 %1, i64 1)\n %6 = call i64 @FUNC(i64 %0, i64 %1)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "continue_send_1570", "fun_name": "continue_send", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem10 = alloca i32\n %.reg2mem8 = alloca i32\n %.reg2mem = alloca i32\n %.pre-phi5.reg2mem = alloca i32*\n %.pre-phi7.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %rdi to i32*\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_9, label LBL_0.LBL_2_crit_edge\n LBL_1:\n %.pre3 = add i64 %2, 4\n %.pre4 = inttoptr i64 %.pre3 to i32*\n %.pre6 = add i64 %2, 32\n store i64 %.pre6, i64* %.pre-phi7.reg2mem\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n store i32 %4, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %.pre-phi7.reload = load i64, i64* %.pre-phi7.reg2mem\n %6 = load i32, i32* %.pre-phi5.reload, align 4\n %7 = sub i32 %.reload, %6\n %8 = sext i32 %6 to i64\n %9 = add i64 %.pre-phi7.reload, %8\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12, i64 %9, i32 %7)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 1\n %.pre1 = load i32, i32* %.pre-phi5.reload, align 4\n store i32 %.reload, i32* %.reg2mem8\n store i32 %.pre1, i32* %.reg2mem10\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = add i32 %.pre1, %14\n store i32 %16, i32* %.pre-phi5.reload, align 4\n %.pre2 = load i32, i32* %3, align 8\n store i32 %.pre2, i32* %.reg2mem8\n store i32 %16, i32* %.reg2mem10\n br label LBL_4\n LBL_4:\n %.reload11 = load i32, i32* %.reg2mem10\n %.reload9 = load i32, i32* %.reg2mem8\n %17 = icmp ult i32 %.reload11, %.reload9\n br i1 %17, label LBL_5, label LBL_6\n LBL_5:\n %18 = call i64 @FUNC(i64 0)\n %19 = add i64 %18, 10000000\n %20 = add i64 %2, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22, i64 %19)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_6:\n %24 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %24, align 4\n store i32 0, i32* %.pre-phi5.reload, align 4\n %25 = add i64 %2, 8\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 1\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = add i64 %2, 9\n %30 = inttoptr i64 %29 to i8*\n store i8 1, i8* %30, align 1\n br label LBL_9\n LBL_8:\n store i8 0, i8* %26, align 1\n br label LBL_9\n LBL_9:\n %31 = add i64 %2, 10\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, 0\n br i1 %34, label LBL_12, label LBL_10\n LBL_10:\n %35 = add i64 %2, 11\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 0\n br i1 %38, label LBL_12, label LBL_11\n LBL_11:\n %39 = add i64 %2, 32\n %40 = inttoptr i64 %39 to i8*\n store i8 1, i8* %40, align 1\n %41 = add i64 %2, 33\n %42 = inttoptr i64 %41 to i8*\n store i8 2, i8* %42, align 1\n %43 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %43, align 4\n %44 = add i64 %2, 4\n %45 = inttoptr i64 %44 to i32*\n store i32 0, i32* %45, align 4\n store i8 0, i8* %36, align 1\n %46 = add i64 %2, 8\n %47 = inttoptr i64 %46 to i8*\n store i8 1, i8* %47, align 1\n %.pre = load i32, i32* %3, align 8\n store i64 %39, i64* %.pre-phi7.reg2mem\n store i32* %45, i32** %.pre-phi5.reg2mem\n store i32 %.pre, i32* %.reg2mem\n br label LBL_2\n LBL_12:\n %48 = add i64 %2, 9\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = icmp eq i8 %50, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %51, label LBL_14, label LBL_13\n LBL_13:\n %52 = call i64 @FUNC(i64 0)\n %53 = add i64 %52, 4000000000\n %54 = add i64 %2, 24\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56, i64 %53)\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.pre1, { 1, 0 }\n uselistorder i32* %.pre-phi5.reload, { 2, 1, 0, 3 }\n uselistorder i32* %3, { 1, 0 }\n uselistorder i64 %2, { 9, 10, 6, 7, 8, 13, 12, 11, 3, 2, 4, 5, 0, 1 }\n uselistorder i64* %.pre-phi7.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.pre-phi5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem8, { 0, 2, 1 }\n uselistorder i32* %.reg2mem10, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8 1, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64)* @timer_mod_ns, { 1, 0 }\n uselistorder i64 (i64)* @qemu_clock_get_ns, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "afiucv_pm_restore_thaw_7909", "fun_name": "afiucv_pm_restore_thaw", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %.pre = load i32, i32* bitcast (i32** @gv_1 to i32*), align 8\n %1 = icmp eq i32 %.pre, 1\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i32 32, i32* inttoptr (i64 add (i64 ptrtoint (i32** @gv_1 to i64), i64 4) to i32*), align 4\n store i32 2, i32* bitcast (i32** @gv_1 to i32*), align 8\n br label LBL_2\n LBL_2:\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 0\n\n uselistorder i32* bitcast (i32** @gv_1 to i32*), { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_restore_state_1080", "fun_name": "cpu_restore_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.in.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_4, label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = inttoptr i64 %3 to i32*\n %7 = call i64 @FUNC(i64 %5, i64 %3, i64 %arg2)\n %8 = load i32, i32* %6, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %3, i64 4294967295)\n %12 = call i64 @FUNC(i64 %3)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %13 = call i64 @FUNC()\n store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n ret i64 %storemerge.in.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_rng_initfn_15820", "fun_name": "virtio_rng_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %0, i64 0)\n ret i64 %1\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "RegenerateThumbnail_12055", "fun_name": "RegenerateThumbnail", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_5\n LBL_2:\n %5 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %6 = zext i32 %5 to i64\n %7 = load i32, i32* @gv_1, align 4\n %8 = zext i32 %7 to i64\n %9 = bitcast i64* %sv_0 to i8*\n %10 = inttoptr i64 %arg1 to i8*\n %11 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %9, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %6, i8* %10)\n %12 = call i32 @system(i8* nonnull %9)\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %arg1)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_3, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 0, { 2, 3, 4, 5, 6, 1, 0, 7, 8, 9 }\n uselistorder label LBL_5, { 2, 3, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "brcmf_wiphy_pno_params_152", "fun_name": "brcmf_wiphy_pno_params", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 16, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 16, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 256, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = or i32 %8, 1\n store i32 %9, i32* %7, align 4\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "img_amend_42", "fun_name": "img_amend", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i64\n %sv_4.1.reg2mem = alloca i8*\n %sv_5.1.reg2mem = alloca i32\n %sv_6.1.reg2mem = alloca i32\n %sv_7.1.reg2mem = alloca i64\n %sv_8.1.reg2mem = alloca i64\n %sv_4.0.ph.reg2mem = alloca i8*\n %sv_5.0.ph.reg2mem = alloca i32\n %sv_6.0.ph.reg2mem = alloca i32\n %sv_7.0.ph.reg2mem = alloca i64\n %sv_8.0.ph.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_9 = alloca i32, align 4\n %sv_10 = alloca i64, align 8\n %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n store i64 0, i64* %sv_10, align 8\n %4 = trunc i64 %3 to i32\n %5 = inttoptr i64 %arg2 to i8**\n store i64 0, i64* %sv_8.0.ph.reg2mem\n store i64 0, i64* %sv_7.0.ph.reg2mem\n store i32 0, i32* %sv_6.0.ph.reg2mem\n store i32 0, i32* %sv_5.0.ph.reg2mem\n store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8** %sv_4.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %sv_4.0.ph.reload = load i8*, i8** %sv_4.0.ph.reg2mem\n %sv_5.0.ph.reload = load i32, i32* %sv_5.0.ph.reg2mem\n %sv_6.0.ph.reload = load i32, i32* %sv_6.0.ph.reg2mem\n %sv_7.0.ph.reload = load i64, i64* %sv_7.0.ph.reg2mem\n %sv_8.0.ph.reload = load i64, i64* %sv_8.0.ph.reg2mem\n br label LBL_2\n LBL_2:\n %6 = call i32 @getopt(i32 %4, i8** %5, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0))\n %7 = icmp eq i32 %6, -1\n br i1 %7, label LBL_14, label LBL_3\n LBL_3:\n %8 = add i32 %6, -63\n %9 = zext i32 %8 to i64\n store i64 %9, i64* @0, align 8\n store i64 %sv_8.0.ph.reload, i64* %sv_8.1.reg2mem\n store i64 %sv_7.0.ph.reload, i64* %sv_7.1.reg2mem\n store i32 %sv_6.0.ph.reload, i32* %sv_6.1.reg2mem\n store i32 1, i32* %sv_5.1.reg2mem\n store i8* %sv_4.0.ph.reload, i8** %sv_4.1.reg2mem\n switch i32 %6, label LBL_2 [\n i32 63, label LBL_4\n i32 102, label LBL_10\n i32 104, label LBL_4\n i32 111, label LBL_5\n i32 112, label LBL_13\n i32 113, label LBL_12\n i32 116, label LBL_11\n ]\n LBL_4:\n %10 = call i64 @FUNC()\n store i64 %sv_8.0.ph.reload, i64* %sv_8.1.reg2mem\n store i64 %sv_7.0.ph.reload, i64* %sv_7.1.reg2mem\n store i32 %sv_6.0.ph.reload, i32* %sv_6.1.reg2mem\n store i32 %sv_5.0.ph.reload, i32* %sv_5.1.reg2mem\n store i8* %sv_4.0.ph.reload, i8** %sv_4.1.reg2mem\n br label LBL_13\n LBL_5:\n %11 = load i64, i64* @gv_2, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 1\n br i1 %14, label LBL_7, label LBL_6\n LBL_6:\n %15 = load i64, i64* @gv_2, align 8\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %15, i64 ptrtoint ([10 x i8]* @gv_1 to i64), i64 %arg2, i64 %2, i64 %1)\n store i32 -1, i32* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_7:\n %17 = icmp eq i64 %sv_8.0.ph.reload, 0\n %18 = icmp eq i1 %17, false\n %19 = load i64, i64* @gv_2, align 8\n br i1 %18, label LBL_9, label LBL_8\n LBL_8:\n %20 = call i64 @FUNC(i64 %19)\n store i64 %20, i64* %sv_8.1.reg2mem\n store i64 %sv_7.0.ph.reload, i64* %sv_7.1.reg2mem\n store i32 %sv_6.0.ph.reload, i32* %sv_6.1.reg2mem\n store i32 %sv_5.0.ph.reload, i32* %sv_5.1.reg2mem\n store i8* %sv_4.0.ph.reload, i8** %sv_4.1.reg2mem\n br label LBL_13\n LBL_9:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %sv_8.0.ph.reload, i64 %19, i64 %arg2, i64 %2, i64 %1)\n %22 = call i64 @FUNC(i64 %sv_8.0.ph.reload)\n store i64 %21, i64* %sv_8.1.reg2mem\n store i64 %sv_7.0.ph.reload, i64* %sv_7.1.reg2mem\n store i32 %sv_6.0.ph.reload, i32* %sv_6.1.reg2mem\n store i32 %sv_5.0.ph.reload, i32* %sv_5.1.reg2mem\n store i8* %sv_4.0.ph.reload, i8** %sv_4.1.reg2mem\n br label LBL_13\n LBL_10:\n %23 = load i64, i64* @gv_2, align 8\n store i64 %sv_8.0.ph.reload, i64* %sv_8.1.reg2mem\n store i64 %23, i64* %sv_7.1.reg2mem\n store i32 %sv_6.0.ph.reload, i32* %sv_6.1.reg2mem\n store i32 %sv_5.0.ph.reload, i32* %sv_5.1.reg2mem\n store i8* %sv_4.0.ph.reload, i8** %sv_4.1.reg2mem\n br label LBL_13\n LBL_11:\n %24 = load i64, i64* @gv_2, align 8\n %25 = inttoptr i64 %24 to i8*\n store i64 %sv_8.0.ph.reload, i64* %sv_8.1.reg2mem\n store i64 %sv_7.0.ph.reload, i64* %sv_7.1.reg2mem\n store i32 %sv_6.0.ph.reload, i32* %sv_6.1.reg2mem\n store i32 %sv_5.0.ph.reload, i32* %sv_5.1.reg2mem\n store i8* %25, i8** %sv_4.1.reg2mem\n br label LBL_13\n LBL_12:\n store i64 %sv_8.0.ph.reload, i64* %sv_8.1.reg2mem\n store i64 %sv_7.0.ph.reload, i64* %sv_7.1.reg2mem\n store i32 1, i32* %sv_6.1.reg2mem\n store i32 %sv_5.0.ph.reload, i32* %sv_5.1.reg2mem\n store i8* %sv_4.0.ph.reload, i8** %sv_4.1.reg2mem\n br label LBL_13\n LBL_13:\n %sv_4.1.reload = load i8*, i8** %sv_4.1.reg2mem\n %sv_5.1.reload = load i32, i32* %sv_5.1.reg2mem\n %sv_6.1.reload = load i32, i32* %sv_6.1.reg2mem\n %sv_7.1.reload = load i64, i64* %sv_7.1.reg2mem\n %sv_8.1.reload = load i64, i64* %sv_8.1.reg2mem\n store i64 %sv_8.1.reload, i64* %sv_8.0.ph.reg2mem\n store i64 %sv_7.1.reload, i64* %sv_7.0.ph.reg2mem\n store i32 %sv_6.1.reload, i32* %sv_6.0.ph.reg2mem\n store i32 %sv_5.1.reload, i32* %sv_5.0.ph.reg2mem\n store i8* %sv_4.1.reload, i8** %sv_4.0.ph.reg2mem\n br label LBL_1\n LBL_14:\n %26 = icmp eq i64 %sv_8.0.ph.reload, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_16, label LBL_15\n LBL_15:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0))\n unreachable\n LBL_16:\n %29 = trunc i32 %sv_6.0.ph.reload to i8\n %30 = icmp eq i8 %29, 0\n %31 = call i128 @FUNC(i32 1065353216)\n %sv_5.0.op = urem i32 %sv_5.0.ph.reload, 256\n %32 = zext i32 %sv_5.0.op to i64\n %33 = select i1 %30, i64 %32, i64 0\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i32 %4, -1\n %36 = load i32, i32* @gv_6, align 4\n %37 = icmp eq i32 %35, %36\n %38 = icmp eq i1 %37, false\n store i64 0, i64* %storemerge6.reg2mem\n br i1 %38, label LBL_18, label LBL_17\n LBL_17:\n %39 = ashr exact i64 %sext, 29\n %40 = add i64 %arg2, -8\n %41 = add i64 %40, %39\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n store i64 %43, i64* %storemerge6.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %44 = icmp eq i64 %sv_7.0.ph.reload, 0\n store i32 %36, i32* %.reg2mem\n br i1 %44, label LBL_22, label LBL_19\n LBL_19:\n %45 = call i64 @FUNC(i64 %sv_8.0.ph.reload)\n %46 = trunc i64 %45 to i8\n %47 = icmp eq i8 %46, 0\n br i1 %47, label LBL_19.LBL_22_crit_edge, label LBL_21\n LBL_20:\n %.pre = load i32, i32* @gv_6, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_22\n LBL_21:\n %48 = call i64 @FUNC(i64 %storemerge6.reload, i64 %sv_7.0.ph.reload)\n %49 = trunc i64 %48 to i32\n store i32 %49, i32* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_22:\n %.reload = load i32, i32* %.reg2mem\n %50 = add nsw i64 %3, 4294967295\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %.reload, %51\n br i1 %52, label LBL_24, label LBL_23\n LBL_23:\n %53 = and i64 %50, 4294967295\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_7, i64 0, i64 0), i64 %arg2, i64 %53, i64 %arg2, i64 %2, i64 %1)\n store i32 -1, i32* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_24:\n store i32 1, i32* %sv_9, align 4\n %55 = ptrtoint i8* %sv_4.0.ph.reload to i64\n %56 = call i64 @FUNC(i64 %55, i32* nonnull %sv_9)\n %57 = trunc i64 %56 to i32\n %58 = icmp slt i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_26, label LBL_25\n LBL_25:\n %60 = ptrtoint i32* %sv_9 to i64\n %61 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_8, i64 0, i64 0), i64 %55, i64 %60, i64 %arg2, i64 %2, i64 %1)\n store i32 %57, i32* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_26:\n %62 = load i32, i32* %sv_9, align 4\n %63 = urem i32 %sv_6.0.ph.reload, 256\n %64 = zext i32 %63 to i64\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_9, i64 0, i64 0), i64 %storemerge6.reload, i64 %sv_7.0.ph.reload, i32 %62, i64 1, i64 %64)\n %66 = icmp eq i64 %65, 0\n %67 = icmp eq i1 %66, false\n store i32 -1, i32* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %65, i64* %sv_0.0.reg2mem\n br i1 %67, label LBL_27, label LBL_35\n LBL_27:\n %68 = call i64 @FUNC(i64 %65)\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = call i64 @FUNC(i64 %sv_8.0.ph.reload)\n %74 = trunc i64 %73 to i8\n %75 = icmp eq i8 %74, 0\n br i1 %75, label LBL_29, label LBL_28\n LBL_28:\n %76 = call i64 @FUNC(i64 %storemerge6.reload, i64 %72)\n %77 = trunc i64 %76 to i32\n store i32 %77, i32* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %65, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_29:\n %78 = load i64, i64* %69, align 8\n %79 = add i64 %78, 8\n %80 = inttoptr i64 %79 to i64*\n %81 = load i64, i64* %80, align 8\n %82 = icmp eq i64 %81, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_31, label LBL_30\n LBL_30:\n %84 = zext i32 %62 to i64\n %85 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_10, i64 0, i64 0), i64 %72, i64 %sv_7.0.ph.reload, i64 %84, i64 1, i64 %64)\n store i32 -1, i32* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 %65, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_31:\n %86 = call i64 @FUNC(i64 0, i64 %81)\n %87 = call i64 @FUNC(i64 %86, i64 0, i64 0, i64 4199447)\n %88 = call i64 @FUNC(i64 %87, i64 %sv_8.0.ph.reload, i64 0, i64* nonnull %sv_10)\n %89 = load i64, i64* %sv_10, align 8\n %90 = icmp eq i64 %89, 0\n br i1 %90, label LBL_33, label LBL_32\n LBL_32:\n %91 = call i64 @FUNC(i64 %89)\n store i32 -1, i32* %sv_3.0.reg2mem\n store i64 %86, i64* %sv_2.0.reg2mem\n store i64 %87, i64* %sv_1.0.reg2mem\n store i64 %65, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_33:\n %92 = call i128 @FUNC(i32 0)\n %93 = call i64 @FUNC(i64 0)\n %94 = call i64 @FUNC(i64 %68, i64 %87, i64 4199454)\n %95 = trunc i64 %94 to i32\n %96 = load i32, i32* inttoptr (i64 4203208 to i32*), align 8\n %97 = call i128 @FUNC(i32 %96)\n %98 = call i64 @FUNC(i64 0)\n %99 = icmp slt i32 %95, 0\n %100 = icmp eq i1 %99, false\n store i32 %95, i32* %sv_3.0.reg2mem\n store i64 %86, i64* %sv_2.0.reg2mem\n store i64 %87, i64* %sv_1.0.reg2mem\n store i64 %65, i64* %sv_0.0.reg2mem\n br i1 %100, label LBL_35, label LBL_34\n LBL_34:\n %101 = sub i32 0, %95\n %102 = call i8* @strerror(i32 %101)\n %103 = ptrtoint i8* %102 to i64\n %104 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_11, i64 0, i64 0), i64 %103, i64 4199454, i64 %87, i64 1, i64 %64)\n store i32 %95, i32* %sv_3.0.reg2mem\n store i64 %86, i64* %sv_2.0.reg2mem\n store i64 %87, i64* %sv_1.0.reg2mem\n store i64 %65, i64* %sv_0.0.reg2mem\n br label LBL_35\n LBL_35:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %105 = call i64 @FUNC()\n %106 = call i64 @FUNC(i64 %sv_0.0.reload)\n %107 = call i64 @FUNC(i64 %sv_1.0.reload)\n %108 = call i64 @FUNC(i64 %sv_2.0.reload)\n %109 = call i64 @FUNC(i64 %sv_8.0.ph.reload)\n %110 = icmp ne i32 %sv_3.0.reload, 0\n %. = zext i1 %110 to i64\n ret i64 %.\n\n uselistorder i32 %95, { 0, 2, 1, 3 }\n uselistorder i64 %87, { 1, 3, 2, 4, 0, 5 }\n uselistorder i64 %86, { 1, 2, 0, 3 }\n uselistorder i64 %72, { 1, 0 }\n uselistorder i64 %65, { 4, 5, 3, 2, 1, 6, 0, 7 }\n uselistorder i64 %64, { 1, 0, 2 }\n uselistorder i32 %62, { 1, 0 }\n uselistorder i64 %50, { 1, 0 }\n uselistorder i64 %storemerge6.reload, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %sv_8.0.ph.reload, { 12, 9, 10, 8, 11, 1, 4, 3, 7, 6, 5, 2, 0 }\n uselistorder i64 %sv_7.0.ph.reload, { 7, 8, 6, 9, 1, 5, 4, 3, 2, 0 }\n uselistorder i32 %sv_6.0.ph.reload, { 7, 6, 5, 2, 4, 3, 1, 0 }\n uselistorder i32 %sv_5.0.ph.reload, { 6, 0, 5, 2, 4, 3, 1 }\n uselistorder i8* %sv_4.0.ph.reload, { 6, 1, 3, 5, 4, 2, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %sv_10, { 1, 0, 2 }\n uselistorder i32* %sv_9, { 1, 2, 0, 3 }\n uselistorder i64* %sv_8.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_7.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_6.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_4.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_8.1.reg2mem, { 0, 2, 7, 4, 6, 5, 3, 1 }\n uselistorder i64* %sv_7.1.reg2mem, { 0, 2, 7, 4, 6, 5, 3, 1 }\n uselistorder i32* %sv_6.1.reg2mem, { 0, 2, 7, 4, 6, 5, 3, 1 }\n uselistorder i32* %sv_5.1.reg2mem, { 0, 2, 7, 4, 6, 5, 3, 1 }\n uselistorder i8** %sv_4.1.reg2mem, { 0, 2, 7, 4, 6, 5, 3, 1 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 9, 10, 8, 7, 6, 1, 5, 4, 3, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 9, 10, 8, 7, 6, 1, 5, 4, 3, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 9, 10, 8, 7, 6, 1, 5, 4, 3, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 9, 10, 8, 7, 6, 1, 5, 4, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @qemu_progress_print, { 1, 0 }\n uselistorder i64 1, { 2, 1, 3, 0 }\n uselistorder i64 (i64, i64)* @print_block_option_help, { 1, 0 }\n uselistorder i64 (i64)* @has_help_option, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 3, 2, 1, 0, 4 }\n uselistorder i32 -1, { 4, 3, 0, 2, 5, 1, 6 }\n uselistorder [10 x i8]* @gv_1, { 1, 0 }\n uselistorder i32 0, { 5, 6, 7, 2, 8, 0, 1, 3, 4 }\n uselistorder i64 0, { 29, 30, 51, 52, 60, 53, 55, 54, 28, 10, 17, 31, 32, 61, 9, 16, 4, 11, 62, 33, 34, 3, 8, 15, 35, 36, 2, 7, 14, 37, 38, 1, 6, 13, 63, 18, 27, 39, 40, 64, 41, 42, 59, 0, 5, 12, 43, 44, 45, 46, 47, 48, 19, 20, 58, 21, 22, 23, 24, 25, 26, 49, 50, 56, 57 }\n uselistorder i64 %arg2, { 5, 3, 4, 0, 2, 1, 6 }\n uselistorder label LBL_35, { 3, 1, 4, 5, 6, 0, 7, 8, 9, 2 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_13, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__bpf_ringbuf_reserve_5817", "fun_name": "__bpf_ringbuf_reserve", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp ult i64 %arg2, 4097\n %3 = icmp ne i1 %2, true\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %arg2, 8\n %7 = call i64 @FUNC(i64 %6, i64 8)\n %8 = and i64 %7, 4294967295\n %9 = add i64 %5, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %11, 1\n %13 = icmp ugt i64 %8, %12\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_8, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %5)\n %15 = call i64 @FUNC()\n %16 = trunc i64 %15 to i8\n %17 = icmp eq i8 %16, 0\n %18 = add i64 %5, 32\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %18, i64 %1)\n %20 = trunc i64 %19 to i8\n %21 = icmp eq i8 %20, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_8\n LBL_4:\n %22 = call i64 @FUNC(i64 %18, i64 %1)\n br label LBL_5\n LBL_5:\n %23 = add i64 %5, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %25, %8\n %27 = sub i64 %26, %14\n %28 = load i64, i64* %10, align 8\n %29 = icmp ugt i64 %27, %28\n br i1 %29, label LBL_6, label LBL_7\n LBL_6:\n %30 = call i64 @FUNC(i64 %18, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %31 = add i64 %5, 24\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = and i64 %28, %25\n %35 = add i64 %33, %34\n %36 = call i64 @FUNC(i64 %5, i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = trunc i64 %arg2 to i32\n %39 = or i32 %38, 1\n %40 = inttoptr i64 %35 to i32*\n store i32 %39, i32* %40, align 4\n %41 = add i64 %35, 4\n %42 = inttoptr i64 %41 to i32*\n store i32 %37, i32* %42, align 4\n %43 = call i64 @FUNC(i64 %23, i64 %26)\n %44 = call i64 @FUNC(i64 %18, i64 %1)\n %45 = add i64 %35, 8\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %18, { 0, 1, 3, 2 }\n uselistorder i64 %5, { 1, 0, 2, 3, 5, 4 }\n uselistorder i64 %1, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @spin_unlock_irqrestore, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0, 3 }\n uselistorder label LBL_8, { 3, 4, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ip6_find_1stfragopt_6657", "fun_name": "ip6_find_1stfragopt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem15 = alloca i8\n %sv_1.03.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i32\n %.reg2mem13 = alloca i32\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = sub i64 %1, %2\n %4 = trunc i64 %3 to i32\n %5 = call i64 @FUNC(i64 %0)\n store i64 %5, i64* %arg2, align 8\n %6 = icmp eq i32 %4, 0\n %7 = icmp eq i1 %6, false\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %7, label LBL_1, label LBL_9\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = trunc i64 %8 to i8\n store i8 %9, i8* %.reg2mem\n store i32 1, i32* %.reg2mem13\n store i32 0, i32* %sv_0.14.reg2mem\n store i32 1, i32* %sv_1.03.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %.reload14 = load i32, i32* %.reg2mem13\n %.reload = load i8, i8* %.reg2mem\n %10 = icmp eq i8 %.reload, 60\n br i1 %10, label LBL_6, label LBL_3\n LBL_3:\n %11 = icmp ugt i8 %.reload, 60\n store i32 %.reload14, i32* %rax.0.shrunk.reg2mem\n br i1 %11, label LBL_9, label LBL_4\n LBL_4:\n %12 = icmp eq i8 %.reload, 0\n store i8 0, i8* %.reg2mem15\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_7, label LBL_5\n LBL_5:\n %13 = icmp eq i8 %.reload, 43\n %14 = icmp eq i1 %13, false\n store i8 %.reload, i8* %.reg2mem15\n store i32 1, i32* %sv_0.0.reg2mem\n store i32 %.reload14, i32* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_9, label LBL_7\n LBL_6:\n %15 = zext i32 %.reload14 to i64\n %16 = call i64 @FUNC(i64 %0, i64 %15, i64 1)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n %20 = icmp eq i32 %sv_0.14.reload, 0\n %or.cond = or i1 %20, %19\n %21 = trunc i32 %.reload14 to i8\n store i8 %21, i8* %.reg2mem15\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n store i32 %.reload14, i32* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_7, label LBL_9\n LBL_7:\n %22 = icmp ult i32 %.reload14, %4\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_8, label LBL_9\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload16 = load i8, i8* %.reg2mem15\n %23 = call i64 @FUNC(i64 %0)\n %24 = zext i32 %.reload14 to i64\n %25 = add i64 %23, %24\n %26 = call i64 @FUNC(i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = add i32 %sv_1.03.reload, %27\n %sext = mul i32 %28, 65536\n %29 = ashr exact i32 %sext, 16\n store i64 %25, i64* %arg2, align 8\n %30 = urem i32 %29, 65536\n %31 = icmp ugt i32 %30, %4\n %32 = icmp eq i1 %31, false\n store i8 %.reload16, i8* %.reg2mem\n store i32 %30, i32* %.reg2mem13\n store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem\n store i32 %29, i32* %sv_1.03.reg2mem\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %32, label LBL_2, label LBL_9\n LBL_9:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %.reload14, { 5, 3, 2, 6, 4, 1, 0 }\n uselistorder i32 %sv_0.14.reload, { 1, 2, 0 }\n uselistorder i32 %4, { 1, 2, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem13, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem15, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 5, 3, 2, 1, 6 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i64 (i64)* @skb_network_header, { 1, 0 }\n uselistorder i64* %arg2, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cipso_v4_doi_remove_6819", "fun_name": "cipso_v4_doi_remove", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = and i64 %arg1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64* nonnull @gv_0)\n store i32 -2, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %9 = call i64 @FUNC(i64 %5)\n %10 = call i64 @FUNC(i64* nonnull @gv_0)\n %11 = call i64 @FUNC(i64 %5)\n store i32 0, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %12 = ptrtoint i64* %arg2 to i64\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %13 = call i64 @FUNC(i64 0, i64 %12)\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = icmp eq i32 %storemerge.reload, 0\n %16 = zext i1 %15 to i64\n %17 = trunc i64 %arg1 to i32\n %18 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i32 %17, i64 %16, i64 %2, i64 %1)\n %19 = call i64 @FUNC(i64 %13)\n br label LBL_5\n LBL_5:\n %20 = zext i32 %storemerge.reload to i64\n ret i64 %20\n\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64*)* @spin_unlock, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_refresh_inode_dotl_11946", "fun_name": "v9fs_refresh_inode_dotl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %1, i64 0)\n %4 = icmp ult i64 %3, -4095\n store i64 %3, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %3 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = xor i64 %9, %7\n %11 = and i64 %10, 61440\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_2\n LBL_2:\n %14 = inttoptr i64 %2 to i32*\n %15 = add i64 %0, 16\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %3, i64 %0)\n %18 = load i32, i32* %14, align 4\n %19 = icmp ne i32 %18, 1\n %20 = icmp eq i32 %18, 2\n %21 = icmp eq i1 %20, false\n %or.cond = icmp eq i1 %19, %21\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %arg2, align 8\n br label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 %15)\n br label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 2, 1, 3, 0, 4 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "helper_ocbi_2566", "fun_name": "helper_ocbi", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n %3 = xor i64 %0, %arg2\n %4 = trunc i64 %3 to i32\n %5 = icmp ult i32 %4, 32\n %6 = icmp eq i1 %5, false\n br label LBL_5\n LBL_1:\n br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %0, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = and i64 %0, 4294967295\n %14 = call i64 @FUNC(i64 %0, i64 %13, i32 %12)\n %15 = icmp eq i64 %9, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n store i64 %0, i64* %8, align 8\n br label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %0)\n store i64 %9, i64* %arg1, align 8\n br label LBL_6\n LBL_5:\n br i1 %2, label LBL_1, label LBL_6\n LBL_6:\n ret i64 %0\n\n uselistorder i64 %0, { 3, 0, 6, 7, 1, 4, 5, 2 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sc_pkcs15init_authenticate_4062", "fun_name": "sc_pkcs15init_authenticate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.112.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rcx.117.reg2mem = alloca i64\n %rdx.018.reg2mem = alloca i64\n %r8.019.reg2mem = alloca i64\n %sv_1.021.in.reg2mem = alloca i64\n %storemerge2.in.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp eq i64* %arg3, null\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 78, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = ptrtoint i64* %arg3 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = zext i32 %arg4 to i64\n %10 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i64 %8, i64 %9, i64 %2, i64 %1)\n %11 = load i32, i32* inttoptr (i64 add (i64 ptrtoint ([17 x i8]* @gv_3 to i64), i64 8) to i32*), align 8\n %12 = urem i32 %11, 2\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 ptrtoint ([17 x i8]* @gv_3 to i64), i64 %7, i64* nonnull %sv_2)\n %15 = trunc i64 %14 to i32\n %16 = and i64 %14, 4294967295\n %17 = call i64 @FUNC(i64 %3, i64 %16, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_4, i64 0, i64 0))\n %18 = load i64, i64* %sv_2, align 8\n %19 = call i64 @FUNC(i64 %18, i64 %9)\n store i32 %15, i32* %sv_0.0.reg2mem\n store i64 %16, i64* %rcx.0.reg2mem\n store i64 %19, i64* %storemerge2.in.reg2mem\n br label LBL_5\n LBL_4:\n %20 = call i64 @FUNC(i64 %7, i64 %9)\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %9, i64* %rcx.0.reg2mem\n store i64 %20, i64* %storemerge2.in.reg2mem\n br label LBL_5\n LBL_5:\n %21 = ptrtoint i64* %arg1 to i64\n %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %22 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i64 %storemerge2.in.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %23 = icmp eq i32 %sv_0.0.reload, 0\n %24 = icmp eq i64 %storemerge2.in.reload, 0\n %25 = icmp eq i1 %24, false\n %or.cond14 = icmp eq i1 %23, %25\n store i64 %storemerge2.in.reload, i64* %sv_1.021.in.reg2mem\n store i64 %storemerge2.in.reload, i64* %rdx.018.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.117.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.112.reg2mem\n br i1 %or.cond14, label LBL_6, label LBL_13\n LBL_6:\n %r8.019.reload = load i64, i64* %r8.019.reg2mem\n %sv_1.021.in.reload = load i64, i64* %sv_1.021.in.reg2mem\n %sv_1.021 = inttoptr i64 %sv_1.021.in.reload to i32*\n %26 = load i32, i32* %sv_1.021, align 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 %3, i64 4294967295, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_6, i64 0, i64 0))\n %.pre = load i32, i32* %sv_1.021, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_12\n LBL_8:\n %rcx.117.reload = load i64, i64* %rcx.117.reg2mem\n %rdx.018.reload = load i64, i64* %rdx.018.reg2mem\n %30 = icmp eq i32 %26, 1\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0), i64 %rdx.018.reload, i64 %rcx.117.reload, i64 %r8.019.reload, i64 %1)\n store i32 0, i32* %sv_0.112.reg2mem\n br label LBL_13\n LBL_10:\n %33 = icmp eq i32 %26, 2\n %34 = icmp eq i1 %33, false\n store i32 %26, i32* %.reg2mem\n br i1 %34, label LBL_12, label LBL_11\n LBL_11:\n %35 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i64 %rdx.018.reload, i64 %rcx.117.reload, i64 %r8.019.reload, i64 %1)\n store i32 0, i32* %sv_0.112.reg2mem\n br label LBL_13\n LBL_12:\n %.reload = load i32, i32* %.reg2mem\n %36 = add i64 %sv_1.021.in.reload, 4\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = zext i32 %38 to i64\n %40 = zext i32 %.reload to i64\n %41 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_9, i64 0, i64 0), i64 %40, i64 %39, i64 %r8.019.reload, i64 %1)\n %42 = load i32, i32* %37, align 4\n %43 = zext i32 %42 to i64\n %44 = load i32, i32* %sv_1.021, align 4\n %45 = zext i32 %44 to i64\n %46 = load i64, i64* %sv_2, align 8\n %47 = icmp eq i64 %46, 0\n %storemerge = select i1 %47, i64 %7, i64 %46\n %48 = call i64 @FUNC(i64 %21, i64 %3, i64 %storemerge, i64 %45, i64 %43)\n %49 = trunc i64 %48 to i32\n %50 = add i64 %sv_1.021.in.reload, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = icmp eq i32 %49, 0\n %54 = icmp eq i64 %52, 0\n %55 = icmp eq i1 %54, false\n %or.cond = icmp eq i1 %53, %55\n store i64 %52, i64* %sv_1.021.in.reg2mem\n store i64 %43, i64* %r8.019.reg2mem\n store i64 %storemerge, i64* %rdx.018.reg2mem\n store i64 %45, i64* %rcx.117.reg2mem\n store i32 %49, i32* %sv_0.112.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_13\n LBL_13:\n %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem\n %56 = load i64, i64* %sv_2, align 8\n %57 = icmp eq i64 %56, 0\n br i1 %57, label LBL_15, label LBL_14\n LBL_14:\n %58 = call i64 @FUNC(i64 %56)\n br label LBL_15\n LBL_15:\n %59 = zext i32 %sv_0.112.reload to i64\n %60 = call i64 @FUNC(i64 %3, i64 %59)\n ret i64 %60\n\n uselistorder i64 %rdx.018.reload, { 1, 0 }\n uselistorder i64 %rcx.117.reload, { 1, 0 }\n uselistorder i32* %sv_1.021, { 2, 0, 1 }\n uselistorder i64 %sv_1.021.in.reload, { 2, 1, 0 }\n uselistorder i64 %r8.019.reload, { 0, 2, 1 }\n uselistorder i64 %storemerge2.in.reload, { 0, 1, 3, 2 }\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64 %7, { 1, 2, 0, 3 }\n uselistorder i64* %sv_2, { 1, 2, 3, 0, 4 }\n uselistorder i64 %3, { 6, 4, 5, 3, 2, 1, 7, 0, 8, 9 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.021.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.019.reg2mem, { 1, 0 }\n uselistorder i64* %rdx.018.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.117.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.112.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @sc_file_get_acl_entry, { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @LOG_TEST_RET, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @sc_log, { 4, 3, 2, 1, 0 }\n uselistorder [17 x i8]* @gv_3, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_13, { 0, 2, 3, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_arm_reset_vcpu_16232", "fun_name": "kvm_arm_reset_vcpu", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n ret i64 %3\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "filter_frame_4707", "fun_name": "filter_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32*, align 8\n %sv_1 = alloca i32*, align 8\n store i32* %arg2, i32** %sv_1, align 8\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = ptrtoint i32* %arg2 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = bitcast i32** %sv_0 to i64*\n store i64 %8, i64* %12, align 8\n store i32* %arg2, i32** %.reg2mem\n br label LBL_8\n LBL_2:\n %13 = and i64 %1, 4294967295\n %14 = call i64 @FUNC(i64 %2, i64 %13)\n %15 = inttoptr i64 %14 to i32*\n store i32* %15, i32** %sv_0, align 8\n %16 = icmp eq i64 %14, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = bitcast i32** %sv_1 to i64*\n %19 = call i64 @FUNC(i64* nonnull %18)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %20 = call i64 @FUNC(i64 %14, i64 %8)\n %21 = load i32*, i32** %sv_1, align 8\n %22 = ptrtoint i32* %21 to i64\n %23 = call i64 @FUNC(i64 %14, i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = bitcast i32** %sv_0 to i64*\n %28 = call i64 @FUNC(i64* nonnull %27)\n %29 = bitcast i32** %sv_1 to i64*\n %30 = call i64 @FUNC(i64* nonnull %29)\n %31 = and i64 %23, 4294967295\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %.pre = load i32*, i32** %sv_1, align 8\n %32 = icmp eq i32* %.pre, %15\n store i32* %15, i32** %.reg2mem\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %33 = bitcast i32** %sv_1 to i64*\n %34 = call i64 @FUNC(i64* nonnull %33)\n %.pre3 = load i32*, i32** %sv_0, align 8\n store i32* %.pre3, i32** %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32*, i32** %.reg2mem\n %35 = ptrtoint i32* %.reload to i64\n %36 = call i64 @FUNC(i64 %7, i64 %35)\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32** %sv_1, { 5, 0, 4, 2, 3, 1 }\n uselistorder i32** %sv_0, { 0, 3, 2, 1 }\n uselistorder i32** %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64*)* @av_frame_free, { 3, 2, 1, 0 }\n uselistorder i64 0, { 5, 0, 1, 2, 6, 3, 4 }\n uselistorder label LBL_8, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpeg2000_dec_cleanup_13839", "fun_name": "jpeg2000_dec_cleanup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi12.reg2mem = alloca i32*\n %.reg2mem23 = alloca i32\n %.lcssa.reg2mem = alloca i64\n %.reg2mem21 = alloca i32\n %.reg2mem19 = alloca i64\n %.reg2mem17 = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem15 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = mul i32 %6, %3\n %8 = icmp eq i32 %7, 0\n %9 = add i64 %2, 16\n br i1 %8, label LBL_0.LBL_9_crit_edge, label LBL_2\n LBL_1:\n %.pre10 = add i64 %2, 8\n %.pre11 = inttoptr i64 %.pre10 to i32*\n store i32* %.pre11, i32** %.pre-phi12.reg2mem\n br label LBL_9\n LBL_2:\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %6, i32* %.reg2mem\n store i64 0, i64* %.reg2mem15\n store i32 0, i32* %storemerge5.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload16 = load i64, i64* %.reg2mem15\n %.reload = load i32, i32* %.reg2mem\n %13 = load i64, i64* %10, align 8\n %14 = mul i64 %.reload16, 16\n %15 = add i64 %13, %14\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n store i32 %.reload, i32* %.reg2mem23\n br i1 %18, label LBL_8, label LBL_4\n LBL_4:\n %19 = load i32, i32* %12, align 4\n %20 = icmp eq i32 %19, 0\n store i64 %15, i64* %.lcssa.reg2mem\n br i1 %20, label LBL_7, label LBL_5\n LBL_5:\n %21 = add i64 %15, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %17, i64 %23)\n %25 = load i32, i32* %12, align 4\n %26 = icmp ugt i32 %25, 1\n %27 = load i64, i64* %10, align 8\n %28 = add i64 %27, %14\n store i64 %28, i64* %.reg2mem17\n store i64 1, i64* %.reg2mem19\n store i32 1, i32* %.reg2mem21\n store i64 %28, i64* %.lcssa.reg2mem\n br i1 %26, label LBL_6, label LBL_7\n LBL_6:\n %.reload22 = load i32, i32* %.reg2mem21\n %.reload20 = load i64, i64* %.reg2mem19\n %.reload18 = load i64, i64* %.reg2mem17\n %.phi.trans.insert = inttoptr i64 %.reload18 to i64*\n %.pre = load i64, i64* %.phi.trans.insert, align 8\n %29 = add i64 %.reload20, %.pre\n %30 = add i64 %.reload18, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = add i64 %32, %.reload20\n %34 = call i64 @FUNC(i64 %29, i64 %33)\n %35 = add i32 %.reload22, 1\n %36 = load i32, i32* %12, align 4\n %37 = zext i32 %36 to i64\n %38 = sext i32 %35 to i64\n %39 = icmp slt i64 %38, %37\n %40 = load i64, i64* %10, align 8\n %41 = add i64 %40, %14\n store i64 %41, i64* %.reg2mem17\n store i64 %38, i64* %.reg2mem19\n store i32 %35, i32* %.reg2mem21\n store i64 %41, i64* %.lcssa.reg2mem\n br i1 %39, label LBL_6, label LBL_7\n LBL_7:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %42 = call i64 @FUNC(i64 %.lcssa.reload)\n %.pre9 = load i32, i32* %5, align 4\n store i32 %.pre9, i32* %.reg2mem23\n br label LBL_8\n LBL_8:\n %.reload24 = load i32, i32* %.reg2mem23\n %43 = add i32 %storemerge5.reload, 1\n %44 = mul i32 %.reload24, %3\n %45 = zext i32 %44 to i64\n %46 = sext i32 %43 to i64\n %47 = icmp slt i64 %46, %45\n store i32 %.reload24, i32* %.reg2mem\n store i64 %46, i64* %.reg2mem15\n store i32 %43, i32* %storemerge5.reg2mem\n store i32* %12, i32** %.pre-phi12.reg2mem\n br i1 %47, label LBL_3, label LBL_9\n LBL_9:\n %.pre-phi12.reload = load i32*, i32** %.pre-phi12.reg2mem\n %48 = call i64 @FUNC(i64 %9)\n %49 = add i64 %2, 24\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = inttoptr i64 %51 to i64*\n %53 = call i64* @memset(i64* %52, i32 0, i32 8)\n %54 = add i64 %2, 32\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = inttoptr i64 %56 to i64*\n %58 = call i64* @memset(i64* %57, i32 0, i32 8)\n %59 = add i64 %2, 40\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = inttoptr i64 %61 to i64*\n %63 = call i64* @memset(i64* %62, i32 0, i32 8)\n %64 = add i64 %2, 48\n %65 = inttoptr i64 %64 to i64*\n %66 = call i64* @memset(i64* %65, i32 0, i32 8)\n store i32 0, i32* %5, align 4\n %67 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %67, align 4\n store i32 0, i32* %.pre-phi12.reload, align 4\n ret i64 %2\n\n uselistorder i32 %.reload24, { 1, 0 }\n uselistorder i64 %.reload18, { 1, 0 }\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i64 %14, { 1, 2, 0 }\n uselistorder i32* %12, { 0, 3, 1, 2 }\n uselistorder i64* %10, { 1, 0, 2 }\n uselistorder i32* %5, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 2, 4, 3, 7, 5, 0, 8, 6 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem15, { 1, 0, 2 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem17, { 2, 0, 1 }\n uselistorder i64* %.reg2mem19, { 2, 0, 1 }\n uselistorder i32* %.reg2mem21, { 2, 0, 1 }\n uselistorder i32* %.reg2mem23, { 0, 2, 1 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @ff_jpeg2000_cleanup, { 1, 0 }\n uselistorder i64 8, { 2, 0, 3, 1 }\n uselistorder i32 0, { 8, 3, 9, 4, 5, 6, 7, 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "activate_ep_files_4379", "fun_name": "activate_ep_files", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %storemerge1647.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64* %arg1, null\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %5, 16\n %9 = call i64 @FUNC(i64 88, i64 0)\n %10 = icmp eq i64 %9, 0\n store i64 %9, i64* %.reg2mem\n store i64 %5, i64* %storemerge1647.reg2mem\n br i1 %10, label LBL_8, label LBL_3\n LBL_2:\n %11 = call i64 @FUNC(i64 88, i64 0)\n %12 = icmp eq i64 %11, 0\n store i64 %11, i64* %.reg2mem\n store i64 %42, i64* %storemerge1647.reg2mem\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rcx.2.reg2mem\n br i1 %12, label LBL_8, label LBL_3\n LBL_3:\n %storemerge1647.reload = load i64, i64* %storemerge1647.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %13 = inttoptr i64 %.reload to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %.reload, 4\n %15 = call i64 @FUNC(i64 %14)\n %16 = call i64 @FUNC(i64 %14)\n %17 = inttoptr i64 %14 to i8*\n %18 = inttoptr i64 %storemerge1647.reload to i8*\n %19 = call i8* @strncpy(i8* %17, i8* %18, i32 31)\n %20 = add i64 %.reload, 36\n %21 = call i64 @FUNC(i64 %20, i64 1)\n %22 = add i64 %.reload, 40\n %23 = inttoptr i64 %22 to i64*\n store i64 %5, i64* %23, align 8\n %24 = call i64 @FUNC(i64 %5)\n %25 = add i64 %.reload, 48\n %26 = inttoptr i64 %25 to i64*\n store i64 %storemerge1647.reload, i64* %26, align 8\n %27 = add i64 %storemerge1647.reload, 32\n %28 = inttoptr i64 %27 to i64*\n store i64 %.reload, i64* %28, align 8\n %29 = call i64 @FUNC(i64 %storemerge1647.reload, i64 0)\n %30 = add i64 %.reload, 56\n %31 = inttoptr i64 %30 to i64*\n store i64 %29, i64* %31, align 8\n %32 = icmp eq i64 %29, 0\n store i64 %14, i64* %rcx.1.reg2mem\n br i1 %32, label LBL_7, label LBL_4\n LBL_4:\n %33 = load i64, i64* %7, align 8\n %34 = call i64 @FUNC(i64 %33, i64 %14, i64 %.reload, i64* nonnull @gv_0)\n %35 = add i64 %.reload, 64\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = icmp eq i64 %34, 0\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = add i64 %.reload, 72\n %39 = call i64 @FUNC(i64 %38, i64 %8)\n %40 = add i64 %storemerge1647.reload, 40\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %44, label LBL_2, label LBL_9\n LBL_6:\n %45 = load i64, i64* %31, align 8\n %46 = call i64 @FUNC(i64 %storemerge1647.reload, i64 %45)\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rcx.1.reg2mem\n br label LBL_7\n LBL_7:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %47 = call i64 @FUNC(i64 %5)\n %48 = call i64 @FUNC(i64 %.reload)\n store i64 %rcx.1.reload, i64* %rcx.2.reg2mem\n br label LBL_8\n LBL_8:\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %49 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 %rcx.2.reload, i64 %2, i64 %1)\n %50 = call i64 @FUNC(i64 %5)\n store i64 4294967284, i64* %storemerge2.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %14, { 1, 0, 2, 3, 4 }\n uselistorder i64 %.reload, { 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 %storemerge1647.reload, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %5, { 7, 6, 3, 4, 5, 0, 1, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1647.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 }\n uselistorder i64 (i64, i64)* @kzalloc, { 1, 0 }\n uselistorder i64 88, { 1, 0 }\n uselistorder i64 0, { 4, 5, 6, 7, 0, 16, 13, 14, 8, 15, 9, 2, 3, 1, 10, 11, 12 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_8, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kq_dealloc_18733", "fun_name": "kq_dealloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg2, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = inttoptr i64 %4 to i64*\n call void @free(i64* %6)\n br label LBL_2\n LBL_2:\n %7 = add i64 %arg2, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %9 to i64*\n call void @free(i64* %11)\n br label LBL_4\n LBL_4:\n %12 = trunc i64 %1 to i32\n %13 = icmp slt i32 %12, 0\n br i1 %13, label LBL_7, label LBL_5\n LBL_5:\n %14 = add i64 %arg2, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i32 @getpid()\n %18 = icmp eq i32 %16, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = call i32 @close(i32 %12)\n br label LBL_7\n LBL_7:\n %21 = inttoptr i64 %arg2 to i64*\n %22 = call i64* @memset(i64* %21, i32 0, i32 24)\n call void @free(i64* %21)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vmx_sync_dirty_debug_regs_207", "fun_name": "vmx_sync_dirty_debug_regs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8, i64 1)\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13, i64 2)\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18, i64 3)\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %23, i64 6)\n %25 = call i64 @FUNC(i64 0)\n %26 = trunc i64 %25 to i32\n %27 = add i64 %2, 20\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %2, 24\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = and i32 %31, -3\n store i32 %32, i32* %30, align 4\n %33 = call i64 @FUNC(i64 1)\n %34 = and i64 %33, 4294967291\n %35 = or i64 %34, 4\n %36 = call i64 @FUNC(i64 1, i64 %35)\n ret i64 %36\n\n uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 (i64, i64)* @get_debugreg, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isValidNameNonASCII_9305", "fun_name": "isValidNameNonASCII", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = sext i32 %1 to i64\n %3 = ptrtoint i16* %arg1 to i64\n %4 = trunc i64 %arg2 to i32\n %5 = icmp eq i32 %4, 0\n %6 = zext i32 %1 to i64\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %3, i32 0, i32 %4, i64 %2)\n %8 = call i64 @FUNC(i64 %6)\n %9 = trunc i64 %8 to i8\n %10 = icmp eq i8 %9, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %4, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_cdlms_3334", "fun_name": "decode_cdlms", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge2029.reg2mem = alloca i32\n %.reg2mem47 = alloca i64\n %.reg2mem45 = alloca i32\n %storemerge1630.reg2mem = alloca i32\n %.reg2mem43 = alloca i64\n %storemerge2228.reg2mem = alloca i32\n %.reg2mem41 = alloca i64\n %storemerge2427.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge.off031.reg2mem = alloca i32\n %storemerge.off02532.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 5644\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %1 to i32\n %6 = and i64 %1, 4294967295\n %7 = icmp eq i32 %5, 0\n store i64 %6, i64* %.lcssa.reg2mem\n br i1 %7, label LBL_16, label LBL_1\n LBL_1:\n %8 = bitcast i64* %rdi to i32*\n %9 = trunc i64 %4 to i32\n %10 = add i64 %2, 5604\n %11 = icmp eq i32 %9, 0\n %12 = add i64 %2, 20\n store i64 0, i64* %storemerge.off02532.reg2mem\n store i32 0, i32* %storemerge.off031.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.off031.reload = load i32, i32* %storemerge.off031.reg2mem\n %storemerge.off02532.reload = load i64, i64* %storemerge.off02532.reg2mem\n %13 = call i64 @FUNC(i64 %3, i64 3)\n %14 = trunc i64 %13 to i32\n %15 = add i32 %14, 1\n %16 = mul i64 %storemerge.off02532.reload, 4\n %17 = add i64 %10, %16\n %18 = inttoptr i64 %17 to i32*\n store i32 %15, i32* %18, align 4\n %19 = icmp eq i32 %15, 0\n br i1 %19, label LBL_15, label LBL_3\n LBL_3:\n %20 = mul nsw i64 %storemerge.off02532.reload, 560\n %21 = add i64 %20, %2\n %22 = add i64 %21, 4\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2427.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge2427.reload = load i32, i32* %storemerge2427.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %23 = call i64 @FUNC(i64 %3, i64 7)\n %.tr = trunc i64 %23 to i32\n %24 = mul i32 %.tr, 8\n %25 = add i32 %24, 8\n %26 = mul nsw i64 %.reload, 56\n %27 = add i64 %22, %26\n %28 = inttoptr i64 %27 to i32*\n store i32 %25, i32* %28, align 4\n %29 = add i32 %storemerge2427.reload, 1\n %30 = load i32, i32* %18, align 4\n %31 = zext i32 %30 to i64\n %32 = sext i32 %29 to i64\n %33 = icmp slt i64 %32, %31\n store i64 %32, i64* %.reg2mem\n store i32 %29, i32* %storemerge2427.reg2mem\n br i1 %33, label LBL_4, label LBL_5\n LBL_5:\n %34 = icmp eq i32 %30, 0\n br i1 %34, label LBL_15, label LBL_6\n LBL_6:\n %35 = add i64 %21, 8\n store i64 0, i64* %.reg2mem41\n store i32 0, i32* %storemerge2228.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge2228.reload = load i32, i32* %storemerge2228.reg2mem\n %.reload42 = load i64, i64* %.reg2mem41\n %36 = call i64 @FUNC(i64 %3, i64 4)\n %37 = trunc i64 %36 to i32\n %38 = mul nsw i64 %.reload42, 56\n %39 = add i64 %35, %38\n %40 = inttoptr i64 %39 to i32*\n store i32 %37, i32* %40, align 4\n %41 = add i32 %storemerge2228.reload, 1\n %42 = load i32, i32* %18, align 4\n %43 = zext i32 %42 to i64\n %44 = sext i32 %41 to i64\n %45 = icmp slt i64 %44, %43\n store i64 %44, i64* %.reg2mem41\n store i32 %41, i32* %storemerge2228.reg2mem\n br i1 %45, label LBL_7, label LBL_8\n LBL_8:\n %46 = icmp eq i32 %42, 0\n %or.cond = or i1 %11, %46\n br i1 %or.cond, label LBL_15, label LBL_9\n LBL_9:\n %47 = mul nsw i64 %storemerge.off02532.reload, 140\n store i64 0, i64* %.reg2mem43\n store i32 0, i32* %storemerge1630.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge1630.reload = load i32, i32* %storemerge1630.reg2mem\n %.reload44 = load i64, i64* %.reg2mem43\n %48 = mul nsw i64 %.reload44, 56\n %49 = add i64 %21, %48\n %50 = add i64 %49, 4\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64 %53)\n %55 = trunc i64 %54 to i32\n %56 = urem i32 %55, 32\n %57 = shl i32 1, %56\n %58 = load i32, i32* %51, align 4\n %59 = icmp ult i32 %57, %58\n %60 = zext i1 %59 to i64\n %spec.select = add i64 %54, %60\n %61 = and i64 %spec.select, 4294967295\n %62 = call i64 @FUNC(i64 %3, i64 %61)\n %63 = trunc i64 %62 to i32\n %64 = add i32 %63, 1\n %65 = add i64 %49, 12\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n %67 = add i64 %49, 8\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = add i32 %69, 1\n %71 = zext i32 %70 to i64\n %72 = call i64 @FUNC(i64 %71)\n %73 = trunc i64 %72 to i32\n %74 = load i32, i32* %68, align 4\n %75 = urem i32 %73, 32\n %.highbits = lshr i32 %74, %75\n %76 = icmp ne i32 %.highbits, 0\n %77 = zext i1 %76 to i64\n %sv_0.1 = add i64 %72, %77\n %78 = and i64 %sv_0.1, 4294967295\n %79 = call i64 @FUNC(i64 %3, i64 %78)\n %80 = trunc i64 %79 to i32\n %81 = add i32 %80, 2\n %82 = add i64 %49, 16\n %83 = inttoptr i64 %82 to i32*\n store i32 %81, i32* %83, align 4\n %84 = load i32, i32* %66, align 4\n %85 = icmp eq i32 %84, 0\n br i1 %85, label LBL_14, label LBL_11\n LBL_11:\n %86 = load i32, i32* %68, align 4\n %87 = sub i32 30, %86\n %88 = sub i32 30, %80\n %89 = urem i32 %88, 32\n %90 = icmp eq i32 %89, 0\n %91 = urem i32 %87, 32\n %92 = icmp eq i32 %91, 0\n %93 = mul nsw i64 %.reload44, 14\n %94 = add nsw i64 %93, %47\n store i32 %81, i32* %.reg2mem45\n store i64 0, i64* %.reg2mem47\n store i32 0, i32* %storemerge2029.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge2029.reload = load i32, i32* %storemerge2029.reg2mem\n %.reload48 = load i64, i64* %.reg2mem47\n %.reload46 = load i32, i32* %.reg2mem45\n %95 = zext i32 %.reload46 to i64\n %96 = call i64 @FUNC(i64 %3, i64 %95)\n %97 = and i64 %96, 4294967295\n %98 = trunc i64 %96 to i32\n %99 = shl i32 %98, %89\n %100 = zext i32 %99 to i64\n %rdx.0 = select i1 %90, i64 %97, i64 %100\n %101 = trunc i64 %rdx.0 to i32\n %102 = ashr i32 %101, %91\n %103 = zext i32 %102 to i64\n %rsi.1 = select i1 %92, i64 %rdx.0, i64 %103\n %104 = add nsw i64 %94, %.reload48\n %105 = trunc i64 %rsi.1 to i32\n %106 = mul i64 %104, 4\n %107 = add i64 %12, %106\n %108 = inttoptr i64 %107 to i32*\n store i32 %105, i32* %108, align 4\n %109 = add i32 %storemerge2029.reload, 1\n %110 = load i32, i32* %66, align 4\n %111 = zext i32 %110 to i64\n %112 = sext i32 %109 to i64\n %113 = icmp slt i64 %112, %111\n br i1 %113, label LBL_12.LBL_12_crit_edge, label LBL_14\n LBL_13:\n %.pre = load i32, i32* %83, align 4\n store i32 %.pre, i32* %.reg2mem45\n store i64 %112, i64* %.reg2mem47\n store i32 %109, i32* %storemerge2029.reg2mem\n br label LBL_12\n LBL_14:\n %114 = add i32 %storemerge1630.reload, 1\n %115 = load i32, i32* %18, align 4\n %116 = zext i32 %115 to i64\n %117 = sext i32 %114 to i64\n %118 = icmp slt i64 %117, %116\n store i64 %117, i64* %.reg2mem43\n store i32 %114, i32* %storemerge1630.reg2mem\n br i1 %118, label LBL_10, label LBL_15\n LBL_15:\n %119 = add i32 %storemerge.off031.reload, 1\n %extract.t26 = sext i32 %119 to i64\n %120 = load i32, i32* %8, align 8\n %121 = zext i32 %120 to i64\n %122 = icmp slt i64 %extract.t26, %121\n store i64 %extract.t26, i64* %storemerge.off02532.reg2mem\n store i32 %119, i32* %storemerge.off031.reg2mem\n store i64 %121, i64* %.lcssa.reg2mem\n br i1 %122, label LBL_2, label LBL_16\n LBL_16:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %91, { 1, 0 }\n uselistorder i32 %89, { 1, 0 }\n uselistorder i32* %66, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.off02532.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.off031.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2427.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem41, { 1, 0, 2 }\n uselistorder i32* %storemerge2228.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem43, { 1, 0, 2 }\n uselistorder i32* %storemerge1630.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem45, { 1, 0, 2 }\n uselistorder i64* %.reg2mem47, { 1, 0, 2 }\n uselistorder i32* %storemerge2029.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_log2, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 56, { 2, 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i64 4, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 0, 12, 13, 7, 11, 1, 6, 2, 8, 3, 9, 4, 14, 10, 15, 5 }\n uselistorder i64 4294967295, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_15, { 0, 3, 2, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xan_decode_frame_type1_1948", "fun_name": "xan_decode_frame_type1", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.2.in11.reg2mem = alloca i64\n %sv_1.1.in13.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i32\n %.reg2mem54 = alloca i32\n %.reg2mem52 = alloca i32\n %.reg2mem50 = alloca i32\n %.reg2mem48 = alloca i32\n %storemerge410.reg2mem = alloca i32\n %.reg2mem46 = alloca i64\n %.lcssa7.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i8*\n %.pre-phi.reg2mem = alloca i8\n %sv_2.018.reg2mem = alloca i32\n %storemerge619.reg2mem = alloca i32\n %sv_0.0.in20.reg2mem = alloca i64\n %sv_0.021.reg2mem = alloca i8*\n %.reg2mem = alloca i64\n %sv_0.127.reg2mem = alloca i8*\n %storemerge530.reg2mem = alloca i32\n %sv_1.031.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %3, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %6, 20\n %10 = call i64 @FUNC(i64 %9)\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %3, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = and i64 %12, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_2:\n %16 = call i64 @FUNC(i64 %9, i64 16, i64 0)\n %17 = add i64 %6, 16\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = ashr i32 %19, 1\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %6, i64 %8, i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %2, i64 %1)\n %26 = and i64 %22, 4294967295\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n %27 = add i64 %3, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_15, label LBL_5\n LBL_5:\n %31 = inttoptr i64 %8 to i8*\n %32 = add i64 %6, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = bitcast i64* %rdi to i32*\n store i64 %34, i64* %sv_1.031.in.reg2mem\n store i32 0, i32* %storemerge530.reg2mem\n store i8* %31, i8** %sv_0.127.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.127.reload = load i8*, i8** %sv_0.127.reg2mem\n %storemerge530.reload = load i32, i32* %storemerge530.reg2mem\n %sv_1.031.in.reload = load i64, i64* %sv_1.031.in.reg2mem\n %sv_1.031 = inttoptr i64 %sv_1.031.in.reload to i8*\n %36 = load i8, i8* %sv_1.031, align 1\n %37 = ptrtoint i8* %sv_0.127.reload to i64\n %38 = load i8, i8* %sv_0.127.reload, align 1\n %39 = zext i8 %38 to i32\n %40 = mul i32 %39, 2\n %41 = zext i8 %36 to i32\n %42 = add nuw nsw i32 %40, %41\n %43 = urem i32 %42, 64\n %44 = trunc i32 %43 to i8\n store i8 %44, i8* %sv_1.031, align 1\n %sv_0.0.in16 = add i64 %37, 1\n %sv_0.017 = inttoptr i64 %sv_0.0.in16 to i8*\n %45 = load i32, i32* %35, align 8\n %46 = add i32 %45, -1\n %47 = icmp ugt i32 %46, 1\n store i64 1, i64* %.reg2mem\n store i8* %sv_0.017, i8** %sv_0.021.reg2mem\n store i64 %sv_0.0.in16, i64* %sv_0.0.in20.reg2mem\n store i32 1, i32* %storemerge619.reg2mem\n store i32 %43, i32* %sv_2.018.reg2mem\n store i8 %44, i8* %.pre-phi.reg2mem\n store i8* %sv_0.017, i8** %sv_0.0.lcssa.reg2mem\n store i64 1, i64* %.lcssa7.reg2mem\n br i1 %47, label LBL_7, label LBL_8\n LBL_7:\n %sv_2.018.reload = load i32, i32* %sv_2.018.reg2mem\n %storemerge619.reload = load i32, i32* %storemerge619.reg2mem\n %sv_0.0.in20.reload = load i64, i64* %sv_0.0.in20.reg2mem\n %sv_0.021.reload = load i8*, i8** %sv_0.021.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %48 = add i64 %.reload, %sv_1.031.in.reload\n %49 = add i64 %48, 1\n %50 = inttoptr i64 %49 to i8*\n %51 = load i8, i8* %50, align 1\n %52 = load i8, i8* %sv_0.021.reload, align 1\n %53 = zext i8 %52 to i32\n %54 = mul i32 %53, 2\n %55 = zext i8 %51 to i32\n %56 = add nuw nsw i32 %54, %55\n %57 = urem i32 %56, 64\n %58 = add nuw nsw i32 %57, %sv_2.018.reload\n %59 = udiv i32 %58, 2\n %60 = trunc i32 %59 to i8\n %61 = inttoptr i64 %48 to i8*\n store i8 %60, i8* %61, align 1\n %62 = trunc i32 %57 to i8\n store i8 %62, i8* %50, align 1\n %63 = add i32 %storemerge619.reload, 2\n %sv_0.0.in = add i64 %sv_0.0.in20.reload, 1\n %sv_0.0 = inttoptr i64 %sv_0.0.in to i8*\n %64 = load i32, i32* %35, align 8\n %65 = add i32 %64, -1\n %66 = zext i32 %65 to i64\n %67 = sext i32 %63 to i64\n %68 = icmp slt i64 %67, %66\n store i64 %67, i64* %.reg2mem\n store i8* %sv_0.0, i8** %sv_0.021.reg2mem\n store i64 %sv_0.0.in, i64* %sv_0.0.in20.reg2mem\n store i32 %63, i32* %storemerge619.reg2mem\n store i32 %57, i32* %sv_2.018.reg2mem\n store i8 %62, i8* %.pre-phi.reg2mem\n store i8* %sv_0.0, i8** %sv_0.0.lcssa.reg2mem\n store i64 %67, i64* %.lcssa7.reg2mem\n br i1 %68, label LBL_7, label LBL_8\n LBL_8:\n %.lcssa7.reload = load i64, i64* %.lcssa7.reg2mem\n %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem\n %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem\n %69 = add i64 %.lcssa7.reload, %sv_1.031.in.reload\n %70 = inttoptr i64 %69 to i8*\n store i8 %.pre-phi.reload, i8* %70, align 1\n %71 = load i32, i32* %35, align 8\n %72 = sext i32 %71 to i64\n %73 = add i64 %sv_1.031.in.reload, %72\n %74 = add i32 %storemerge530.reload, 1\n %75 = load i32, i32* %28, align 4\n %76 = zext i32 %75 to i64\n %77 = sext i32 %74 to i64\n %78 = icmp slt i64 %77, %76\n store i64 %73, i64* %sv_1.031.in.reg2mem\n store i32 %74, i32* %storemerge530.reg2mem\n store i8* %sv_0.0.lcssa.reload, i8** %sv_0.127.reg2mem\n br i1 %78, label LBL_6, label LBL_9\n LBL_9:\n %79 = icmp eq i32 %75, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %79, label LBL_15, label LBL_10\n LBL_10:\n %80 = add i64 %6, 24\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = load i64, i64* %33, align 8\n %84 = add i64 %6, 32\n %85 = inttoptr i64 %84 to i32*\n store i32 %75, i32* %.reg2mem52\n store i32 %71, i32* %.reg2mem54\n store i32 0, i32* %storemerge15.reg2mem\n store i64 %82, i64* %sv_1.1.in13.reg2mem\n store i64 %83, i64* %sv_0.2.in11.reg2mem\n br label LBL_14\n LBL_11:\n %storemerge410.reload = load i32, i32* %storemerge410.reg2mem\n %.reload47 = load i64, i64* %.reg2mem46\n %86 = add i64 %.reload47, %sv_0.2.in11.reload\n %87 = inttoptr i64 %86 to i8*\n %88 = load i8, i8* %87, align 1\n %89 = mul i8 %88, 4\n %90 = udiv i8 %88, 8\n %91 = or i8 %89, %90\n %92 = add i64 %.reload47, %sv_1.1.in13.reload\n %93 = inttoptr i64 %92 to i8*\n store i8 %91, i8* %93, align 1\n %94 = add i32 %storemerge410.reload, 1\n %95 = load i32, i32* %35, align 8\n %96 = zext i32 %95 to i64\n %97 = sext i32 %94 to i64\n %98 = icmp slt i64 %97, %96\n store i64 %97, i64* %.reg2mem46\n store i32 %94, i32* %storemerge410.reg2mem\n br i1 %98, label LBL_11, label LBL_12\n LBL_12:\n %.pre = load i32, i32* %28, align 4\n store i32 %.pre, i32* %.reg2mem48\n store i32 %95, i32* %.reg2mem50\n br label LBL_13\n LBL_13:\n %.reload51 = load i32, i32* %.reg2mem50\n %.reload49 = load i32, i32* %.reg2mem48\n %99 = sext i32 %.reload51 to i64\n %100 = add i64 %sv_0.2.in11.reload, %99\n %101 = load i32, i32* %85, align 4\n %102 = sext i32 %101 to i64\n %103 = add i64 %sv_1.1.in13.reload, %102\n %104 = add i32 %storemerge15.reload, 1\n %105 = zext i32 %.reload49 to i64\n %106 = sext i32 %104 to i64\n %107 = icmp slt i64 %106, %105\n store i32 %.reload49, i32* %.reg2mem52\n store i32 %.reload51, i32* %.reg2mem54\n store i32 %104, i32* %storemerge15.reg2mem\n store i64 %103, i64* %sv_1.1.in13.reg2mem\n store i64 %100, i64* %sv_0.2.in11.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %107, label LBL_14, label LBL_15\n LBL_14:\n %sv_0.2.in11.reload = load i64, i64* %sv_0.2.in11.reg2mem\n %sv_1.1.in13.reload = load i64, i64* %sv_1.1.in13.reg2mem\n %storemerge15.reload = load i32, i32* %storemerge15.reg2mem\n %.reload55 = load i32, i32* %.reg2mem54\n %.reload53 = load i32, i32* %.reg2mem52\n %108 = icmp eq i32 %.reload55, 0\n store i64 0, i64* %.reg2mem46\n store i32 0, i32* %storemerge410.reg2mem\n store i32 %.reload53, i32* %.reg2mem48\n store i32 0, i32* %.reg2mem50\n br i1 %108, label LBL_13, label LBL_11\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %88, { 1, 0 }\n uselistorder i64 %.reload47, { 1, 0 }\n uselistorder i8* %sv_1.031, { 1, 0 }\n uselistorder i64 %sv_1.031.in.reload, { 3, 2, 1, 0 }\n uselistorder i8* %sv_0.127.reload, { 1, 0 }\n uselistorder i32* %35, { 0, 1, 3, 2 }\n uselistorder i32* %28, { 0, 2, 1 }\n uselistorder i64 %8, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %sv_1.031.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge530.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.127.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.021.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.in20.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge619.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.018.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem46, { 1, 2, 0 }\n uselistorder i32* %storemerge410.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem48, { 1, 0, 2 }\n uselistorder i32* %.reg2mem50, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 5, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 1, { 4, 3, 0, 1, 2 }\n uselistorder i32 2, { 3, 2, 0, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 0, { 1, 2, 4, 0, 5, 3, 6, 7, 8 }\n uselistorder label LBL_15, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "disas_ldst_reg_imm9_132", "fun_name": "disas_ldst_reg_imm9", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i8\n %sv_3.0.in.in.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i8\n %sv_5.0.reg2mem = alloca i32\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC(i64 %0, i64 0, i32 5)\n %2 = call i64 @FUNC(i64 %0, i64 5, i32 5)\n %3 = call i64 @FUNC(i64 %0, i64 12, i64 9)\n %4 = call i64 @FUNC(i64 %0, i64 22, i32 2)\n %5 = trunc i64 %4 to i32\n %6 = call i64 @FUNC(i64 %0, i64 30, i32 2)\n %7 = trunc i64 %6 to i32\n %8 = call i64 @FUNC(i64 %0, i64 10, i32 2)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 2\n %11 = call i64 @FUNC(i64 %0, i64 26, i32 1)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_1\n LBL_1:\n %16 = mul i32 %5, 2\n %17 = and i32 %16, 4\n %18 = or i32 %17, %7\n %19 = icmp slt i32 %18, 5\n %20 = icmp eq i1 %10, false\n %or.cond = icmp eq i1 %19, %20\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %21 = ptrtoint i32* %arg1 to i64\n %22 = call i64 @FUNC(i64 %21)\n store i64 %22, i64* %rax.1.reg2mem\n br label LBL_33\n LBL_3:\n %23 = urem i32 %5, 2\n %24 = ptrtoint i32* %arg1 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = and i64 %25, 4294967295\n %27 = xor i64 %26, 1\n %28 = trunc i64 %27 to i8\n %29 = icmp eq i8 %28, 0\n store i32 %18, i32* %sv_5.0.reg2mem\n store i8 0, i8* %sv_4.0.reg2mem\n store i32 %23, i32* %sv_3.0.in.in.reg2mem\n store i8 0, i8* %sv_2.0.reg2mem\n store i64 %27, i64* %rax.1.reg2mem\n br i1 %29, label LBL_10, label LBL_33\n LBL_4:\n %30 = icmp eq i32 %7, 3\n %31 = icmp eq i32 %5, 2\n %32 = icmp eq i1 %31, %30\n br i1 %32, label LBL_5, label LBL_7\n LBL_5:\n %33 = zext i1 %14 to i64\n %34 = and i64 %11, -256\n %35 = or i64 %34, %33\n %36 = icmp eq i1 %10, false\n store i64 %35, i64* %rax.1.reg2mem\n br i1 %36, label LBL_33, label LBL_6\n LBL_6:\n %37 = ptrtoint i32* %arg1 to i64\n %38 = call i64 @FUNC(i64 %37)\n store i64 %38, i64* %rax.1.reg2mem\n br label LBL_33\n LBL_7:\n %39 = icmp eq i32 %5, 3\n %40 = icmp eq i1 %39, false\n %41 = icmp slt i32 %7, 2\n %or.cond6 = or i1 %40, %41\n br i1 %or.cond6, label LBL_9, label LBL_8\n LBL_8:\n %42 = ptrtoint i32* %arg1 to i64\n %43 = call i64 @FUNC(i64 %42)\n store i64 %43, i64* %rax.1.reg2mem\n br label LBL_33\n LBL_9:\n %44 = and i32 %5, 2\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n %47 = zext i1 %46 to i8\n %48 = icmp slt i32 %7, 3\n %49 = urem i32 %5, 2\n %50 = icmp ne i32 %49, 0\n %not.or.cond11 = icmp eq i1 %50, %48\n %storemerge3 = zext i1 %not.or.cond11 to i8\n store i32 %7, i32* %sv_5.0.reg2mem\n store i8 %47, i8* %sv_4.0.reg2mem\n store i32 %5, i32* %sv_3.0.in.in.reg2mem\n store i8 %storemerge3, i8* %sv_2.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_2.0.reload = load i8, i8* %sv_2.0.reg2mem\n %sv_3.0.in.in.reload = load i32, i32* %sv_3.0.in.in.reg2mem\n %sv_4.0.reload = load i8, i8* %sv_4.0.reg2mem\n %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem\n %51 = icmp eq i32 %9, 3\n store i32 0, i32* %sv_1.0.reg2mem\n store i8 1, i8* %sv_0.0.reg2mem\n br i1 %51, label LBL_16, label LBL_11\n LBL_11:\n %52 = icmp sgt i32 %9, 3\n br i1 %52, label LBL_16, label LBL_12\n LBL_12:\n br i1 %10, label LBL_14, label LBL_13\n LBL_13:\n switch i32 %9, label LBL_16 [\n i32 0, label LBL_14\n i32 1, label LBL_15\n ]\n LBL_14:\n store i32 0, i32* %sv_1.0.reg2mem\n store i8 0, i8* %sv_0.0.reg2mem\n br label LBL_16\n LBL_15:\n store i32 1, i32* %sv_1.0.reg2mem\n store i8 1, i8* %sv_0.0.reg2mem\n br label LBL_16\n LBL_16:\n %53 = trunc i64 %2 to i32\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %54 = icmp eq i32 %53, 31\n %55 = icmp eq i1 %54, false\n %.pre = ptrtoint i32* %arg1 to i64\n br i1 %55, label LBL_18, label LBL_17\n LBL_17:\n %56 = call i64 @FUNC(i64 %.pre)\n br label LBL_18\n LBL_18:\n %57 = trunc i64 %3 to i32\n %58 = and i64 %2, 4294967295\n %59 = call i64 @FUNC(i64 %.pre, i64 %58, i64 1)\n %60 = trunc i32 %sv_1.0.reload to i8\n %61 = icmp eq i8 %60, 1\n br i1 %61, label LBL_20, label LBL_19\n LBL_19:\n %62 = and i64 %59, 4294967295\n %63 = call i64 @FUNC(i64 %62, i64 %62, i32 %57)\n br label LBL_20\n LBL_20:\n %sv_3.0.in = icmp eq i32 %sv_3.0.in.in.reload, 0\n %64 = trunc i64 %59 to i32\n br i1 %15, label LBL_24, label LBL_21\n LBL_21:\n %65 = trunc i64 %1 to i32\n %66 = icmp eq i1 %sv_3.0.in, false\n br i1 %66, label LBL_23, label LBL_22\n LBL_22:\n %67 = call i64 @FUNC(i64 %.pre, i32 %65, i32 %64, i32 %sv_5.0.reload)\n store i64 %67, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_23:\n %68 = call i64 @FUNC(i64 %.pre, i32 %65, i32 %64, i32 %sv_5.0.reload)\n store i64 %68, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_24:\n %69 = and i64 %1, 4294967295\n %70 = call i64 @FUNC(i64 %.pre, i64 %69)\n %71 = icmp eq i1 %10, false\n %72 = icmp eq i1 %71, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %72, label LBL_26, label LBL_25\n LBL_25:\n %73 = call i64 @FUNC(i64 %.pre)\n %phitmp7 = and i64 %73, 4294967295\n store i64 %phitmp7, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_26:\n %74 = trunc i64 %70 to i32\n %75 = icmp eq i1 %sv_3.0.in, false\n br i1 %75, label LBL_28, label LBL_27\n LBL_27:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %76 = call i64 @FUNC(i64 %.pre, i32 %74, i32 %64, i32 %sv_5.0.reload, i64 %storemerge.reload)\n store i64 %76, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_28:\n %77 = call i64 @FUNC(i64 %.pre, i32 %74, i32 %64, i32 %sv_5.0.reload, i8 %sv_4.0.reload, i8 %sv_2.0.reload)\n store i64 %77, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_29:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %78 = icmp eq i8 %sv_0.0.reload, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %78, label LBL_33, label LBL_30\n LBL_30:\n %79 = call i64 @FUNC(i64 %.pre, i64 %58)\n %80 = icmp eq i8 %60, 0\n %.pre12 = and i64 %59, 4294967295\n br i1 %80, label LBL_32, label LBL_31\n LBL_31:\n %81 = call i64 @FUNC(i64 %.pre12, i64 %.pre12, i32 %57)\n br label LBL_32\n LBL_32:\n %82 = and i64 %79, 4294967295\n %83 = call i64 @FUNC(i64 %82, i64 %.pre12)\n store i64 %83, i64* %rax.1.reg2mem\n br label LBL_33\n LBL_33:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %.pre12, { 0, 2, 1 }\n uselistorder i32 %74, { 1, 0 }\n uselistorder i32 %64, { 3, 2, 0, 1 }\n uselistorder i1 %sv_3.0.in, { 1, 0 }\n uselistorder i64 %59, { 0, 2, 1 }\n uselistorder i32 %57, { 1, 0 }\n uselistorder i64 %.pre, { 2, 4, 5, 3, 6, 0, 1, 7, 8 }\n uselistorder i32 %sv_5.0.reload, { 0, 1, 3, 2 }\n uselistorder i1 %14, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i1 %10, { 2, 0, 1, 3 }\n uselistorder i32 %9, { 0, 2, 1, 3 }\n uselistorder i32 %7, { 0, 2, 3, 4, 1 }\n uselistorder i32 %5, { 0, 2, 6, 5, 4, 3, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 6, 7, 5, 3, 4, 2, 1 }\n uselistorder i64 (i64, i64, i32)* @tcg_gen_addi_i64, { 1, 0 }\n uselistorder i8 1, { 2, 1, 0 }\n uselistorder i32 3, { 4, 3, 0, 1, 2 }\n uselistorder i8 0, { 3, 4, 0, 1, 2, 5 }\n uselistorder i64 1, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @unallocated_encoding, { 2, 1, 0 }\n uselistorder i1 false, { 1, 6, 2, 3, 7, 8, 9, 0, 4, 5, 10 }\n uselistorder i32 2, { 1, 9, 4, 3, 2, 0, 5, 6, 7, 8 }\n uselistorder i64 (i64, i64, i32)* @extract32, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 3, 0, 1, 2, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i32* %arg1, { 0, 4, 3, 2, 1 }\n uselistorder label LBL_33, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_26, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_16, { 2, 3, 1, 4, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_egl_rendernode_open_2482", "fun_name": "qemu_egl_rendernode_open", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.in.reg2mem = alloca %dirent*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call %__dirstream* @opendir(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq %__dirstream* %4, null\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_1, label LBL_7\n LBL_1:\n %7 = call %dirent* @readdir(%__dirstream* %4)\n %8 = icmp eq %dirent* %7, null\n %9 = icmp eq i1 %8, false\n store %dirent* %7, %dirent** %.in.reg2mem\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_6\n LBL_2:\n %.in.reload = load %dirent*, %dirent** %.in.reg2mem\n %10 = ptrtoint %dirent* %.in.reload to i64\n %11 = add i64 %10, 18\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 2\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call %dirent* @readdir(%__dirstream* %4)\n %16 = icmp eq %dirent* %15, null\n %17 = icmp eq i1 %16, false\n store %dirent* %15, %dirent** %.in.reg2mem\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %17, label LBL_2, label LBL_6\n LBL_4:\n %18 = add i64 %10, 19\n %19 = inttoptr i64 %18 to i8*\n %20 = call i32 @strncmp(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 7)\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_5, label LBL_3\n LBL_5:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 7, i64 %3, i64 %2, i64 %1)\n %23 = inttoptr i64 %22 to i8*\n %24 = call i32 (i8*, i32, ...) @open(i8* %23, i32 526594)\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n %27 = call i64 @FUNC(i64 %22)\n store i32 %24, i32* %sv_0.0.reg2mem\n br i1 %26, label LBL_6, label LBL_3\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %28 = call i32 @closedir(%__dirstream* %4)\n %29 = icmp slt i32 %sv_0.0.reload, 0\n %30 = icmp eq i1 %29, false\n %31 = zext i32 %sv_0.0.reload to i64\n %spec.select = select i1 %30, i64 %31, i64 4294967295\n ret i64 %spec.select\n LBL_7:\n ret i64 4294967295\n\n uselistorder %__dirstream* %4, { 1, 2, 0, 3 }\n uselistorder %dirent** %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder %dirent* null, { 1, 0 }\n uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n uselistorder label LBL_3, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pt_lock_13234", "fun_name": "pt_lock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %.lcssa.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0)\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %.lcssa.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64)* @likely, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cx24116_send_diseqc_msg_5268", "fun_name": "cx24116_send_diseqc_msg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i32\n %rcx.0.lcssa.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i32\n %.reg2mem24 = alloca i64\n %.reg2mem22 = alloca i32\n %rdx.0.lcssa.reg2mem = alloca i64\n %.reg2mem20 = alloca i32\n %.lcssa11.in.reg2mem = alloca i8\n %.reg2mem18 = alloca i8*\n %.reg2mem16 = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = trunc i64 %3 to i32\n %7 = icmp ult i32 %6, 257\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %7, label LBL_1, label LBL_23\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = load i32, i32* @gv_0, align 4\n %10 = icmp eq i32 %9, 0\n store i32 %6, i32* %.reg2mem22\n br i1 %10, label LBL_7, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n %12 = icmp eq i32 %6, 0\n store i32 0, i32* %.reg2mem20\n br i1 %12, label LBL_6, label LBL_3\n LBL_3:\n %13 = add i64 %8, 4\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = zext i8 %15 to i64\n store i64 %16, i64* %rsi, align 8\n %17 = inttoptr i64 %16 to i8*\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i8* %17, i64 %8, i64 %5, i64 %2, i64 %1)\n %19 = icmp ugt i8 %15, 1\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %.reg2mem16\n store i8* %17, i8** %.reg2mem18\n store i8 %15, i8* %.lcssa11.in.reg2mem\n br i1 %19, label LBL_4, label LBL_5\n LBL_4:\n %.reload19 = load i8*, i8** %.reg2mem18\n %.reload17 = load i32, i32* %.reg2mem16\n %.reload = load i64, i64* %.reg2mem\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0), i8* %.reload19, i64 %8, i64 %5, i64 %2, i64 %1)\n %21 = add i64 %13, %.reload\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = zext i8 %23 to i64\n store i64 %24, i64* %rsi, align 8\n %25 = inttoptr i64 %24 to i8*\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i8* %25, i64 %8, i64 %5, i64 %2, i64 %1)\n %27 = add i32 %.reload17, 1\n %28 = sext i32 %27 to i64\n %29 = icmp slt i64 %28, %24\n store i64 %28, i64* %.reg2mem\n store i32 %27, i32* %.reg2mem16\n store i8* %25, i8** %.reg2mem18\n store i8 %23, i8* %.lcssa11.in.reg2mem\n br i1 %29, label LBL_4, label LBL_5\n LBL_5:\n %.lcssa11.in.reload = load i8, i8* %.lcssa11.in.reg2mem\n %.lcssa11 = zext i8 %.lcssa11.in.reload to i32\n store i32 %.lcssa11, i32* %.reg2mem20\n store i64 %8, i64* %rdx.0.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem\n %.reload21 = load i32, i32* %.reg2mem20\n %30 = load i32, i32* inttoptr (i64 4210744 to i32*), align 8\n %31 = zext i32 %30 to i64\n %32 = inttoptr i64 %31 to i8*\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i8* %32, i64 %rdx.0.lcssa.reload, i64 %5, i64 %2, i64 %1)\n store i32 %.reload21, i32* %.reg2mem22\n br label LBL_7\n LBL_7:\n %34 = ptrtoint i64* %arg1 to i64\n %35 = bitcast i64* %rsi to i32*\n %.reload23 = load i32, i32* %.reg2mem22\n %36 = icmp eq i32 %.reload23, 0\n store i32 0, i32* %.lcssa.reg2mem\n br i1 %36, label LBL_11, label LBL_8\n LBL_8:\n %37 = add i64 %8, 4\n store i64 0, i64* %.reg2mem24\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %.reload25 = load i64, i64* %.reg2mem24\n %38 = add i64 %37, %.reload25\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i32\n %42 = mul i64 %.reload25, 4\n %43 = add i64 %42, %34\n %44 = inttoptr i64 %43 to i32*\n store i32 %41, i32* %44, align 4\n %45 = add i32 %storemerge12.reload, 1\n %46 = load i32, i32* %35, align 8\n %47 = zext i32 %46 to i64\n %48 = sext i32 %45 to i64\n %49 = icmp slt i64 %48, %47\n store i64 %48, i64* %.reg2mem24\n store i32 %45, i32* %storemerge12.reg2mem\n br i1 %49, label LBL_9, label LBL_10\n LBL_10:\n %50 = zext i8 %40 to i64\n store i64 %50, i64* %rcx.0.lcssa.reg2mem\n store i32 %46, i32* %.lcssa.reg2mem\n br label LBL_11\n LBL_11:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem\n %51 = add i64 %34, 4\n %52 = inttoptr i64 %51 to i32*\n store i32 %.lcssa.reload, i32* %52, align 4\n %53 = add i64 %34, 40\n %54 = inttoptr i64 %53 to i32*\n store i32 %.lcssa.reload, i32* %54, align 4\n %55 = load i32, i32* @gv_6, align 4\n %56 = icmp eq i32 %55, 3\n %57 = icmp eq i1 %56, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %57, label LBL_12, label LBL_23\n LBL_12:\n %58 = icmp eq i32 %55, 4\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_14, label LBL_13\n LBL_13:\n %60 = add i64 %34, 8\n %61 = inttoptr i64 %60 to i32*\n store i32 0, i32* %61, align 4\n br label LBL_20\n LBL_14:\n %62 = icmp eq i32 %55, 5\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_20, label LBL_15\n LBL_15:\n %64 = load i32, i32* %35, align 8\n %65 = icmp slt i32 %64, 4\n br i1 %65, label LBL_18, label LBL_16\n LBL_16:\n %66 = add i64 %8, 6\n %67 = inttoptr i64 %66 to i8*\n %68 = load i8, i8* %67, align 1\n %69 = icmp eq i8 %68, 56\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_18, label LBL_17\n LBL_17:\n %71 = add i64 %8, 7\n %72 = inttoptr i64 %71 to i8*\n %73 = load i8, i8* %72, align 1\n %74 = udiv i8 %73, 4\n %75 = urem i8 %74, 2\n %76 = zext i8 %75 to i32\n %77 = add i64 %34, 8\n %78 = inttoptr i64 %77 to i32*\n store i32 %76, i32* %78, align 4\n br label LBL_18\n LBL_18:\n %79 = load i32, i32* @gv_0, align 4\n %80 = icmp eq i32 %79, 0\n br i1 %80, label LBL_20, label LBL_19\n LBL_19:\n %81 = add i64 %34, 8\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = zext i32 %83 to i64\n %85 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %84, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n br label LBL_20\n LBL_20:\n %86 = call i64 @FUNC(i64 %34)\n %87 = trunc i64 %86 to i32\n %88 = icmp eq i32 %87, 0\n store i64 %86, i64* %rax.0.shrunk.reg2mem\n br i1 %88, label LBL_21, label LBL_23\n LBL_21:\n %89 = call i64 @FUNC(i64 100)\n %90 = call i64 @FUNC(i64 %34, i64 %34)\n %91 = trunc i64 %90 to i32\n %92 = icmp eq i32 %91, 0\n store i64 %90, i64* %rax.0.shrunk.reg2mem\n br i1 %92, label LBL_22, label LBL_23\n LBL_22:\n %93 = load i32, i32* %52, align 4\n %94 = mul i32 %93, 16\n %95 = zext i32 %94 to i64\n %96 = load i32, i32* @gv_6, align 4\n %97 = icmp eq i32 %96, 4\n %98 = icmp eq i1 %97, false\n %. = select i1 %98, i64 60, i64 30\n %99 = add nuw nsw i64 %., %95\n %100 = and i64 %99, 4294967294\n %101 = call i64 @FUNC(i64 %100)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %.reload25, { 1, 0 }\n uselistorder i64 %34, { 5, 4, 6, 3, 2, 1, 7, 8, 0 }\n uselistorder i64 %24, { 0, 2, 1 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %8, { 6, 5, 7, 0, 3, 2, 1, 4 }\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i64 %5, { 3, 1, 2, 4, 0 }\n uselistorder i64* %rsi, { 2, 1, 0 }\n uselistorder i64 %2, { 4, 3, 1, 2, 5, 0 }\n uselistorder i64 %1, { 4, 3, 1, 2, 5, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem16, { 2, 0, 1 }\n uselistorder i8** %.reg2mem18, { 2, 0, 1 }\n uselistorder i32* %.reg2mem22, { 0, 2, 1 }\n uselistorder i64* %.reg2mem24, { 1, 0, 2 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @msleep, { 1, 0 }\n uselistorder i32 4, { 1, 0, 2 }\n uselistorder i32* @gv_6, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @printk, { 2, 3, 4, 0, 1 }\n uselistorder i32 0, { 5, 6, 7, 8, 1, 0, 3, 2, 4, 9, 10 }\n uselistorder i32* @gv_0, { 2, 1, 0 }\n uselistorder label LBL_23, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvaser_usb_get_card_info_4336", "fun_name": "kvaser_usb_get_card_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2, i64 1, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %3, 4294967295\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %7 = bitcast i32* %sv_0 to i64*\n %8 = call i64 @FUNC(i64 %2, i64 2, i64* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = and i64 %8, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %12 = trunc i64 %1 to i32\n %13 = load i32, i32* %sv_0, align 4\n %14 = bitcast i64* %arg1 to i32*\n store i32 %13, i32* %14, align 4\n %15 = icmp slt i32 %12, 11\n %. = select i1 %15, i64 0, i64 4294967274\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iwl_hw_get_beacon_cmd_17677", "fun_name": "iwl_hw_get_beacon_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 12\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp eq i64 %3, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = call i64* @memset(i64* %arg2, i32 0, i32 272)\n %10 = add i64 %8, 16\n %11 = call i64 @FUNC(i64 %2, i64 %10, i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp ult i32 %12, 2347\n %14 = icmp ne i1 %13, true\n %15 = zext i1 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_3, label LBL_4\n LBL_3:\n %19 = trunc i64 %1 to i8\n %20 = urem i64 %11, 65536\n %21 = call i64 @FUNC(i64 %20)\n %22 = trunc i64 %21 to i16\n %23 = bitcast i64* %arg2 to i16*\n store i16 %22, i16* %23, align 2\n %24 = add i64 %8, 2\n %25 = inttoptr i64 %24 to i8*\n store i8 %19, i8* %25, align 1\n %26 = add i64 %8, 4\n %27 = inttoptr i64 %26 to i32*\n store i32 -1, i32* %27, align 4\n %28 = add i64 %8, 8\n %29 = inttoptr i64 %28 to i32*\n store i32 7, i32* %29, align 4\n %30 = and i64 %11, 4294967295\n %31 = call i64 @FUNC(i64 %2, i64 %8, i64 %10, i64 %30)\n %32 = call i64 @FUNC(i64 %2, i64 %2)\n %33 = trunc i64 %32 to i32\n %34 = add i64 %2, 9\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = zext i8 %36 to i64\n %38 = add i64 %2, 8\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i64\n %42 = call i64 @FUNC(i64 %2, i64 %41, i64 %37)\n %43 = trunc i64 %42 to i8\n store i8 %43, i8* %39, align 1\n %44 = urem i64 %42, 256\n %45 = call i64 @FUNC(i64 %44)\n %46 = icmp ult i32 %33, 4\n %47 = or i64 %45, 8\n %spec.select = select i1 %46, i64 %47, i64 %45\n %48 = and i64 %spec.select, 4294967295\n %49 = and i64 %32, 4294967295\n %50 = call i64 @FUNC(i64 %49, i64 %48)\n %51 = trunc i64 %50 to i32\n %52 = add i64 %8, 12\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n %54 = add i64 %11, 272\n %55 = and i64 %54, 4294967295\n store i64 %55, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 2, 1, 6, 4, 5, 3, 7, 0, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "udf_CS0toNLS_5391", "fun_name": "udf_CS0toNLS", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = trunc i64 %4 to i8\n %7 = icmp eq i8 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64* @memset(i64* %arg2, i32 0, i32 257)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %10 = ptrtoint i64* %arg3 to i64\n %11 = add i64 %10, 1\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n switch i8 %13, label LBL_3 [\n i8 8, label LBL_4\n i8 16, label LBL_4\n ]\n LBL_3:\n %14 = call i64* @memset(i64* %arg2, i32 0, i32 257)\n %15 = add i64 %10, 2\n %16 = zext i8 %13 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %15, i64 %5, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %18 = ptrtoint i64* %arg2 to i64\n %19 = trunc i64 %3 to i8\n %20 = add i64 %10, 2\n %21 = bitcast i64* %arg2 to i8*\n %22 = bitcast i64* %rsi to i8*\n store i8 0, i8* %21, align 1\n %23 = urem i64 %4, 256\n %24 = icmp eq i8 %13, 16\n %25 = icmp eq i1 %24, false\n %26 = icmp ult i8 %19, -3\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n br label LBL_8\n LBL_5:\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %27 = add i32 %sv_0.12.reload, 1\n %28 = add i64 %.reload, %20\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = zext i8 %30 to i32\n store i32 %27, i32* %sv_0.0.reg2mem\n store i32 %31, i32* %sv_1.0.reg2mem\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %32 = mul i32 %31, 256\n %33 = add i32 %sv_0.12.reload, 2\n %34 = sext i32 %27 to i64\n %35 = add i64 %20, %34\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = zext i8 %37 to i32\n %39 = or i32 %32, %38\n store i32 %33, i32* %sv_0.0.reg2mem\n store i32 %39, i32* %sv_1.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %40 = trunc i32 %sv_1.0.reload to i8\n %41 = add i8 %40, %19\n store i8 %41, i8* %21, align 1\n %42 = sext i32 %sv_0.0.reload to i64\n %43 = icmp sgt i64 %23, %42\n store i64 %42, i64* %.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem\n br i1 %43, label LBL_8, label LBL_9\n LBL_8:\n br i1 %26, label LBL_5, label LBL_9\n LBL_9:\n %44 = add i64 %18, 1\n %45 = inttoptr i64 %44 to i8*\n store i8 8, i8* %45, align 1\n %46 = load i8, i8* %22, align 8\n %47 = zext i8 %46 to i64\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %31, { 1, 0 }\n uselistorder i32 %27, { 1, 0 }\n uselistorder i8* %21, { 1, 0 }\n uselistorder i8 %13, { 2, 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i8 16, { 1, 0 }\n uselistorder i8 8, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i8 0, { 0, 2, 3, 1 }\n uselistorder i64* %arg2, { 0, 3, 1, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cfi_staa_writev_4199", "fun_name": "cfi_staa_writev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.4.reg2mem = alloca i64*\n %sv_1.4.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i64*\n %sv_1.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64*\n %sv_1.1.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_4.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64*\n %sv_1.0.reg2mem = alloca i64\n %sv_1.311.reg2mem = alloca i64\n %sv_0.312.reg2mem = alloca i64*\n %sv_2.113.reg2mem = alloca i32\n %storemerge414.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 1024, i64 0)\n store i64 %2, i64* @gv_0, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_19\n LBL_1:\n %5 = icmp eq i64 %arg3, 0\n store i64 0, i64* %sv_1.4.reg2mem\n store i64* null, i64** %sv_0.4.reg2mem\n br i1 %5, label LBL_16, label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %8 = trunc i64 %7 to i32\n %9 = and i64 %7, 4294967295\n %10 = inttoptr i64 %9 to i64*\n %11 = icmp eq i32 %8, 0\n %12 = icmp eq i64 %1, 1024\n %13 = icmp eq i1 %11, %12\n %14 = trunc i64 %1 to i32\n %15 = icmp eq i1 %11, false\n store i64 0, i64* %storemerge414.reg2mem\n store i32 0, i32* %sv_2.113.reg2mem\n store i64* null, i64** %sv_0.312.reg2mem\n store i64 0, i64* %sv_1.311.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.311.reload = load i64, i64* %sv_1.311.reg2mem\n %sv_0.312.reload = load i64*, i64** %sv_0.312.reg2mem\n %sv_2.113.reload = load i32, i32* %sv_2.113.reg2mem\n %storemerge414.reload = load i64, i64* %storemerge414.reg2mem\n %16 = mul i64 %storemerge414.reload, 16\n %17 = add i64 %16, %6\n %18 = add i64 %17, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %17 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %20, 0\n store i64 %sv_1.311.reload, i64* %sv_1.2.reg2mem\n store i64* %sv_0.312.reload, i64** %sv_0.2.reg2mem\n store i32 %sv_2.113.reload, i32* %sv_2.0.reg2mem\n br i1 %23, label LBL_14, label LBL_4\n LBL_4:\n %24 = trunc i64 %20 to i32\n %25 = icmp eq i32 %sv_2.113.reload, 0\n store i64 %sv_1.311.reload, i64* %sv_1.0.reg2mem\n store i64* %sv_0.312.reload, i64** %sv_0.0.reg2mem\n store i32 %24, i32* %sv_4.0.reg2mem\n store i64 %22, i64* %sv_3.0.reg2mem\n br i1 %25, label LBL_9, label LBL_5\n LBL_5:\n %26 = sext i32 %sv_2.113.reload to i64\n %sext = mul i64 %20, 4294967296\n %27 = ashr exact i64 %sext, 32\n %28 = add nsw i64 %27, %26\n %29 = icmp ult i64 %28, 1024\n br i1 %29, label LBL_6, label LBL_7\n LBL_6:\n %30 = load i64, i64* @gv_0, align 8\n %31 = add i64 %30, %26\n %32 = inttoptr i64 %31 to i64*\n %33 = inttoptr i64 %22 to i64*\n %34 = call i64* @memcpy(i64* %32, i64* %33, i32 %24)\n %35 = add i32 %sv_2.113.reload, %24\n store i64 %sv_1.311.reload, i64* %sv_1.2.reg2mem\n store i64* %sv_0.312.reload, i64** %sv_0.2.reg2mem\n store i32 %35, i32* %sv_2.0.reg2mem\n br label LBL_14\n LBL_7:\n %36 = sub i32 1024, %sv_2.113.reload\n %37 = load i64, i64* @gv_0, align 8\n %38 = add i64 %37, %26\n %39 = inttoptr i64 %38 to i64*\n %40 = inttoptr i64 %22 to i64*\n %41 = call i64* @memcpy(i64* %39, i64* %40, i32 %36)\n %42 = add i64 %sv_1.311.reload, %1\n store i64 %42, i64* %sv_1.4.reg2mem\n store i64* %10, i64** %sv_0.4.reg2mem\n br i1 %13, label LBL_8, label LBL_16\n LBL_8:\n %43 = sub i32 %sv_2.113.reload, %14\n %44 = add i32 %43, %24\n %45 = sub nsw i64 1024, %26\n %46 = add i64 %45, %22\n store i64 %42, i64* %sv_1.0.reg2mem\n store i64* %10, i64** %sv_0.0.reg2mem\n store i32 %44, i32* %sv_4.0.reg2mem\n store i64 %46, i64* %sv_3.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %sv_0.0.reload = load i64*, i64** %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %47 = sext i32 %sv_4.0.reload to i64\n %48 = call i64 @FUNC(i64 %47)\n %49 = icmp eq i64 %48, 0\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64* %sv_0.0.reload, i64** %sv_0.1.reg2mem\n br i1 %49, label LBL_12, label LBL_10\n LBL_10:\n %50 = call i64 @FUNC(i64 %47)\n %51 = add i64 %sv_1.0.reload, %1\n store i64 %51, i64* %sv_1.4.reg2mem\n store i64* %10, i64** %sv_0.4.reg2mem\n br i1 %15, label LBL_16, label LBL_11\n LBL_11:\n %52 = call i64 @FUNC(i64 %47)\n %53 = icmp eq i64 %52, %1\n %54 = icmp eq i1 %53, false\n store i64 %51, i64* %sv_1.1.reg2mem\n store i64* %10, i64** %sv_0.1.reg2mem\n store i64 %51, i64* %sv_1.4.reg2mem\n store i64* %10, i64** %sv_0.4.reg2mem\n br i1 %54, label LBL_16, label LBL_12\n LBL_12:\n %sv_0.1.reload = load i64*, i64** %sv_0.1.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %55 = call i64 @FUNC(i64 %47)\n %56 = icmp eq i64 %55, 0\n store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem\n store i64* %sv_0.1.reload, i64** %sv_0.2.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n br i1 %56, label LBL_14, label LBL_13\n LBL_13:\n %57 = trunc i64 %55 to i32\n %58 = load i64, i64* @gv_0, align 8\n %59 = inttoptr i64 %58 to i64*\n %60 = call i64* @memset(i64* %59, i32 255, i32 1024)\n %61 = add i64 %sv_3.0.reload, %1\n %62 = load i64, i64* @gv_0, align 8\n %63 = inttoptr i64 %62 to i64*\n %64 = inttoptr i64 %61 to i64*\n %65 = call i64* @memcpy(i64* %63, i64* %64, i32 %57)\n store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem\n store i64* %sv_0.1.reload, i64** %sv_0.2.reg2mem\n store i32 %57, i32* %sv_2.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_0.2.reload = load i64*, i64** %sv_0.2.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %66 = add nuw i64 %storemerge414.reload, 1\n %67 = icmp ult i64 %66, %arg3\n store i64 %66, i64* %storemerge414.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.113.reg2mem\n store i64* %sv_0.2.reload, i64** %sv_0.312.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.311.reg2mem\n br i1 %67, label LBL_3, label LBL_15\n LBL_15:\n %68 = icmp eq i32 %sv_2.0.reload, 0\n %69 = select i1 %68, i64 0, i64 %1\n %spec.select = add i64 %69, %sv_1.2.reload\n %spec.select27 = select i1 %68, i64* %sv_0.2.reload, i64* %10\n store i64 %spec.select, i64* %sv_1.4.reg2mem\n store i64* %spec.select27, i64** %sv_0.4.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.4.reload = load i64*, i64** %sv_0.4.reg2mem\n %70 = icmp eq i64* %arg5, null\n br i1 %70, label LBL_18, label LBL_17\n LBL_17:\n %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem\n store i64 %sv_1.4.reload, i64* %arg5, align 8\n br label LBL_18\n LBL_18:\n %71 = load i64, i64* @gv_0, align 8\n %72 = call i64 @FUNC(i64 %71)\n %73 = ptrtoint i64* %sv_0.4.reload to i64\n %74 = and i64 %73, 4294967295\n store i64 %74, i64* %storemerge.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i1 %68, { 1, 0 }\n uselistorder i64 %51, { 0, 2, 1 }\n uselistorder i64 %47, { 2, 0, 1, 3 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %26, { 0, 2, 1, 3 }\n uselistorder i32 %24, { 2, 1, 3, 0 }\n uselistorder i64 %22, { 1, 2, 3, 0 }\n uselistorder i32 %sv_2.113.reload, { 4, 3, 5, 2, 1, 0 }\n uselistorder i64* %sv_0.312.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.311.reload, { 3, 0, 2, 1 }\n uselistorder i1 %11, { 1, 0 }\n uselistorder i64* %10, { 5, 0, 3, 1, 4, 2 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %1, { 3, 6, 0, 5, 4, 1, 2 }\n uselistorder i64* %storemerge414.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.113.reg2mem, { 1, 0, 2 }\n uselistorder i64** %sv_0.312.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.311.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64** %sv_0.2.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64* %sv_1.4.reg2mem, { 0, 4, 1, 2, 3, 5 }\n uselistorder i64** %sv_0.4.reg2mem, { 0, 4, 1, 2, 3, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @ECCBUF_DIV, { 2, 1, 0 }\n uselistorder i32 1024, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 2, 0 }\n uselistorder i32 0, { 3, 0, 2, 1, 4 }\n uselistorder i64* null, { 2, 1, 0 }\n uselistorder i64 1024, { 2, 4, 3, 5, 0, 1 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_16, { 3, 0, 1, 2, 4 }\n uselistorder label LBL_14, { 1, 2, 3, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clear_tco_status_1702", "fun_name": "clear_tco_status", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %6, i32 %5, i64 1, i64 8)\n %8 = load i32, i32* %4, align 4\n %9 = call i64 @FUNC(i64 %6, i32 %8, i64 2, i64 2)\n %10 = load i32, i32* %4, align 4\n %11 = call i64 @FUNC(i64 %6, i32 %10, i64 2, i64 4)\n ret i64 %11\n\n uselistorder i64 %6, { 2, 1, 0 }\n uselistorder i64 2, { 0, 2, 1 }\n uselistorder i64 (i64, i32, i64, i64)* @qpci_io_writew, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "exit_sg_10278", "fun_name": "exit_sg", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 4210740)\n %1 = load i64, i64* @gv_0, align 8\n %2 = call i64 @FUNC(i64 %1)\n store i32 0, i32* bitcast (i64* @gv_1 to i32*), align 8\n %3 = call i64 @FUNC(i64 0, i64 0)\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 256)\n %6 = call i64 @FUNC(i64* nonnull @gv_2)\n ret i64 %6\n\n uselistorder i64 256, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_video_buffer_12140", "fun_name": "get_video_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge68.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %7, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = trunc i64 %arg3 to i32\n %15 = add i32 %10, %14\n %16 = sub i32 %15, %13\n %17 = inttoptr i64 %7 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %7, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i32 %18, %1\n %23 = sub i32 %22, %21\n %24 = inttoptr i64 %4 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = zext i32 %23 to i64\n %29 = call i64 @FUNC(i64 %27, i64 %28, i32 %16)\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %31, label LBL_1, label LBL_4\n LBL_1:\n %32 = inttoptr i64 %29 to i32*\n store i32 %1, i32* %32, align 4\n %33 = add i64 %29, 4\n %34 = inttoptr i64 %33 to i32*\n store i32 %14, i32* %34, align 4\n %35 = add i64 %29, 8\n %36 = add i64 %7, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = add i64 %7, 20\n %39 = inttoptr i64 %38 to i32*\n %40 = add i64 %29, 40\n store i32 0, i32* %storemerge68.reg2mem\n br label LBL_3\n LBL_2:\n %41 = mul i64 %68, 4\n %42 = add i64 %41, %7\n %43 = add i64 %42, 24\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i64 %42, 40\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = load i32, i32* %37, align 4\n %50 = urem i32 %45, 32\n %51 = ashr i32 %49, %50\n %52 = add i64 %42, 56\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = mul i32 %51, %54\n %56 = load i32, i32* %39, align 4\n %57 = urem i32 %48, 32\n %58 = ashr i32 %56, %57\n %59 = add i64 %40, %41\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = mul i32 %61, %58\n %63 = add i32 %62, %55\n %64 = sext i32 %63 to i64\n %65 = add i64 %72, %64\n store i64 %65, i64* %71, align 8\n %66 = add nuw i32 %storemerge68.reload, 1\n %67 = icmp ugt i32 %storemerge68.reload, 2\n store i32 %66, i32* %storemerge68.reg2mem\n store i64 %29, i64* %storemerge.reg2mem\n br i1 %67, label LBL_4, label LBL_3\n LBL_3:\n %storemerge68.reload = load i32, i32* %storemerge68.reg2mem\n %68 = sext i32 %storemerge68.reload to i64\n %69 = mul i64 %68, 8\n %70 = add i64 %35, %69\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = icmp eq i64 %72, 0\n %74 = icmp eq i1 %73, false\n store i64 %29, i64* %storemerge.reg2mem\n br i1 %74, label LBL_2, label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %72, { 1, 0 }\n uselistorder i64* %71, { 1, 0 }\n uselistorder i32 %storemerge68.reload, { 1, 0, 2 }\n uselistorder i64 %29, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 40, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_pcm_set_sync_9152", "fun_name": "snd_pcm_set_sync", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %1 to i32\n %7 = inttoptr i64 %5 to i32*\n store i32 %6, i32* %7, align 4\n %8 = add i64 %5, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 -1, i32* %9, align 4\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 -1, i32* %11, align 4\n %12 = add i64 %5, 12\n %13 = inttoptr i64 %12 to i32*\n store i32 -1, i32* %13, align 4\n ret i64 %5\n\n uselistorder i64 %5, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_rfc822_parse_quoted_string_5160", "fun_name": "test_rfc822_parse_quoted_string", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_1 to i64\n %1 = call i64 @FUNC(i64 64)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = mul nuw nsw i64 %indvars.iv.reload, 24\n %4 = add i64 %3, %0\n %5 = add i64 %4, -208\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i8*\n %9 = call i32 @strlen(i8* %8)\n %10 = sext i32 %9 to i64\n %11 = load i64, i64* %6, align 8\n %12 = call i64 @FUNC(i64* nonnull %sv_0, i64 %11, i64 %10, i64 0)\n %13 = call i64 @FUNC(i64* nonnull %sv_0, i64 %1)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %4, -192\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 8\n %18 = icmp eq i32 %17, %14\n %19 = zext i1 %18 to i64\n %20 = call i64 @FUNC(i64 %19, i64 %indvars.iv.reload)\n %21 = load i32, i32* %16, align 8\n %22 = icmp slt i32 %21, 0\n store i64 1, i64* %storemerge1.reg2mem\n br i1 %22, label LBL_3, label LBL_2\n LBL_2:\n %23 = call i64 @FUNC(i64 %1)\n %24 = add i64 %4, -200\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = inttoptr i64 %26 to i8*\n %28 = inttoptr i64 %23 to i8*\n %29 = call i32 @strcmp(i8* %27, i8* %28)\n %30 = icmp eq i32 %29, 0\n %spec.select = zext i1 %30 to i64\n store i64 %spec.select, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %31 = call i64 @FUNC(i64 %storemerge1.reload, i64 %indvars.iv.reload)\n %32 = call i64 @FUNC(i64* nonnull %sv_0)\n %33 = call i64 @FUNC(i64 %1, i64 0)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %34 = call i64 @FUNC()\n ret i64 %34\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @test_assert_idx, { 1, 0 }\n uselistorder i32 1, { 5, 4, 2, 1, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "host_to_target_siginfo_428", "fun_name": "host_to_target_siginfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0)\n %3 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arp_checkentry_6", "fun_name": "arp_checkentry", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = trunc i64 %3 to i32\n %7 = icmp ult i32 %6, 256\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %3, 4294967040\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %10 = ptrtoint i32* %arg1 to i64\n %11 = add i64 %10, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp ult i32 %13, 256\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = and i32 %13, -256\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @duprintf, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acpi_os_wait_semaphore_8235", "fun_name": "acpi_os_wait_semaphore", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_7\n LBL_1:\n %7 = icmp eq i32* %arg1, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_7, label LBL_2\n LBL_2:\n %8 = trunc i64 %arg2 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_7\n LBL_3:\n %11 = icmp ult i32 %8, 2\n store i64 2, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_7\n LBL_4:\n %12 = urem i64 %arg3, 65536\n %13 = call i64 @FUNC(i64 %12, i64 %arg2, i64 %arg3, i64 %3, i64 %2, i64 %1)\n %14 = call i64 @FUNC(i64 %12)\n %15 = ptrtoint i32* %arg1 to i64\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %spec.select = select i1 %18, i32 0, i32 3\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = zext i32 %spec.select to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 %20, i64 %14, i64 %14, i64 %3, i64 %2, i64 %1)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %22 = call i64 @FUNC(i64 %12, i64 %14, i64 %14, i64 %3, i64 %2, i64 %1)\n %.pre = zext i32 %spec.select to i64\n store i64 %.pre, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 2, 3, 0, 1, 4 }\n uselistorder i64 %12, { 2, 1, 0 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4, 6 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @ACPI_DEBUG_PRINT, { 2, 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2, 4, 3, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vp9_rc_update_rate_correction_factors_5152", "fun_name": "vp9_rc_update_rate_correction_factors", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %xmm0.0.reg2mem = alloca i128\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i128 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i128 %3)\n %5 = trunc i64 %1 to i32\n %6 = and i64 %1, 4294967295\n %7 = icmp eq i32 %5, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_13, label LBL_1\n LBL_1:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = call i64 @FUNC()\n %12 = add i64 %2, 20\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = add i64 %2, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = add i64 %2, 12\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = load i32, i32* %10, align 4\n %25 = call i128 @__asm_movq.2(i64 %4)\n %26 = zext i32 %24 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %23, i64 %19, i64 %15)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %28, 1\n store i32 100, i32* %sv_2.0.reg2mem\n br i1 %29, label LBL_3, label LBL_2\n LBL_2:\n %30 = add i64 %2, 4\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = mul i32 %32, 100\n %34 = ashr i32 %33, 31\n %35 = zext i32 %33 to i64\n %36 = zext i32 %34 to i64\n %37 = mul i64 %36, 4294967296\n %38 = or i64 %37, %35\n %39 = and i64 %27, 4294967295\n %40 = sdiv i64 %38, %39\n %41 = trunc i64 %40 to i32\n store i32 %41, i32* %sv_2.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %42 = trunc i64 %arg2 to i32\n switch i32 %42, label LBL_6 [\n i32 0, label LBL_4\n i32 1, label LBL_5\n ]\n LBL_4:\n %43 = call i128 @FUNC(i64 4604930618986332160)\n %44 = call i64 @__asm_movsd.1(i128 %43)\n store i64 %44, i64* %sv_1.0.reg2mem\n store i128 %43, i128* %xmm0.0.reg2mem\n br label LBL_7\n LBL_5:\n %45 = call i128 @FUNC(i64 4600427019358961664)\n %46 = call i64 @__asm_movsd.1(i128 %45)\n store i64 %46, i64* %sv_1.0.reg2mem\n store i128 %45, i128* %xmm0.0.reg2mem\n br label LBL_7\n LBL_6:\n %47 = call i128 @FUNC(i64 4598175219545276416)\n %48 = call i64 @__asm_movsd.1(i128 %47)\n store i64 %48, i64* %sv_1.0.reg2mem\n store i128 %47, i128* %xmm0.0.reg2mem\n br label LBL_7\n LBL_7:\n %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %49 = icmp slt i32 %sv_2.0.reload, 103\n br i1 %49, label LBL_9, label LBL_8\n LBL_8:\n %50 = add i32 %sv_2.0.reload, -100\n %51 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload)\n %52 = call i128 @FUNC(i32 %50)\n %53 = call i128 @FUNC(i128 %52)\n %54 = call i128 @FUNC(i128 %53, i64 %sv_1.0.reload)\n %55 = call i128 @FUNC(i64 4636737291354636288)\n %56 = call i128 @FUNC(i128 %55, i128 %54)\n %57 = call i32 @FUNC(i128 %56)\n %58 = call i128 @FUNC(i128 %56, i128 %56)\n %59 = call i128 @FUNC(i32 %57)\n %60 = call i128 @FUNC(i128 %59, i64 %4)\n %61 = call i128 @FUNC(i64 4636737291354636288)\n %62 = call i128 @FUNC(i128 %60, i128 %61)\n %63 = call i64 @__asm_movsd.1(i128 %62)\n %64 = call i128 @FUNC(i64 %63)\n %65 = load i128, i128* @gv_0, align 8\n call void @FUNC(i128 %64, i128 %65)\n %66 = trunc i128 %65 to i64\n %67 = call i128 @FUNC(i64 %66)\n %68 = call i64 @__asm_movsd.1(i128 %67)\n store i64 %68, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_9:\n %69 = icmp sgt i32 %sv_2.0.reload, 98\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %69, label LBL_12, label LBL_10\n LBL_10:\n %70 = sub i32 100, %sv_2.0.reload\n %71 = icmp ugt i32 %sv_2.0.reload, 100\n %72 = icmp eq i32 %70, 0\n %73 = call i128 @FUNC(i128 %xmm0.0.reload, i128 %xmm0.0.reload)\n %74 = call i128 @FUNC(i32 %70)\n %75 = call i128 @FUNC(i128 %74)\n %76 = call i128 @FUNC(i128 %75, i64 %sv_1.0.reload)\n %77 = call i128 @FUNC(i64 4636737291354636288)\n %78 = call i128 @FUNC(i128 %77, i128 %76)\n %79 = call i32 @FUNC(i128 %78)\n %80 = call i128 @FUNC(i128 %78, i128 %78)\n %81 = call i128 @FUNC(i32 %79)\n %82 = call i128 @FUNC(i128 %81, i64 %4)\n %83 = call i128 @FUNC(i64 4636737291354636288)\n %84 = call i128 @FUNC(i128 %82, i128 %83)\n %85 = call i64 @__asm_movsd.1(i128 %84)\n %86 = call i128 @FUNC(i64 4602678819172646912)\n %87 = sext i64 %85 to i128\n call void @FUNC(i128 %86, i128 %87)\n %88 = or i1 %71, %72\n store i64 %85, i64* %sv_0.0.reg2mem\n br i1 %88, label LBL_12, label LBL_11\n LBL_11:\n %89 = call i128 @FUNC(i64 4602678819172646912)\n %90 = call i64 @__asm_movsd.1(i128 %89)\n store i64 %90, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %91 = call i128 @__asm_movq.2(i64 %sv_0.0.reload)\n %92 = call i64 @FUNC(i64 %2)\n store i64 %92, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i128 %78, { 2, 1, 0 }\n uselistorder i128 %56, { 2, 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 1, 0, 2, 3, 4 }\n uselistorder i64 %4, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 4, 3, 0, 1, 2, 6, 5 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i32 100, { 1, 3, 2, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rose_write_internal_7490", "fun_name": "rose_write_internal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %5 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = call i64 @FUNC(i64 %4)\n %8 = icmp eq i32 %5, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = trunc i64 %6 to i32\n %10 = icmp sgt i32 %9, -1\n %11 = add i32 %9, -1\n %12 = icmp ult i32 %11, 3\n %or.cond = icmp eq i1 %10, %12\n %spec.select = select i1 %or.cond, i64 38, i64 36\n store i64 %spec.select, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %13 = call i64 @FUNC(i64* nonnull %sv_2, i64 %7)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %13, 49\n %phitmp = and i64 %15, 4294967295\n store i64 %phitmp, i64* %sv_1.0.reg2mem\n store i32 %14, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %16 = call i64 @FUNC(i64 %sv_1.0.reload, i64 0)\n %17 = icmp eq i64 %16, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_13, label LBL_4\n LBL_4:\n %18 = inttoptr i64 %7 to i32*\n %19 = call i64 @FUNC(i64 %16, i64 31)\n %20 = call i64 @FUNC(i64 %16)\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %16, i64 %21)\n %23 = inttoptr i64 %22 to i8*\n %24 = load i32, i32* %18, align 4\n %25 = udiv i32 %24, 256\n %26 = urem i32 %25, 16\n %27 = trunc i32 %24 to i8\n %28 = and i64 %6, 4294967295\n store i64 %28, i64* @0, align 8\n %trunc = trunc i64 %6 to i32\n switch i32 %trunc, label LBL_11 [\n i32 0, label LBL_5\n i32 1, label LBL_6\n i32 2, label LBL_7\n i32 3, label LBL_8\n i32 4, label LBL_9\n i32 5, label LBL_9\n i32 6, label LBL_10\n i32 7, label LBL_10\n ]\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %29 = add i64 %22, 1\n %30 = trunc i32 %26 to i8\n %31 = or i8 %30, 1\n store i8 %31, i8* %23, align 1\n %32 = add i64 %22, 2\n %33 = inttoptr i64 %29 to i8*\n store i8 %27, i8* %33, align 1\n %34 = add i64 %22, 3\n %35 = trunc i64 %6 to i8\n %36 = inttoptr i64 %32 to i8*\n store i8 %35, i8* %36, align 1\n %37 = add i64 %22, 4\n %38 = inttoptr i64 %34 to i8*\n store i8 -86, i8* %38, align 1\n %39 = add i64 %7, 16\n %40 = inttoptr i64 %37 to i64*\n %41 = inttoptr i64 %39 to i64*\n %42 = call i64* @memcpy(i64* %40, i64* %41, i32 6)\n %43 = add i64 %22, 10\n %44 = inttoptr i64 %43 to i64*\n %45 = call i64* @memcpy(i64* %44, i64* %41, i32 6)\n %46 = add i64 %22, 16\n %47 = inttoptr i64 %46 to i64*\n %48 = call i64* @memcpy(i64* %47, i64* nonnull %sv_2, i32 %sv_0.0.reload)\n br label LBL_12\n LBL_6:\n %49 = add i64 %22, 1\n %50 = trunc i32 %26 to i8\n %51 = or i8 %50, 1\n store i8 %51, i8* %23, align 1\n %52 = add i64 %22, 2\n %53 = inttoptr i64 %49 to i8*\n store i8 %27, i8* %53, align 1\n %54 = add i64 %22, 3\n %55 = trunc i64 %6 to i8\n %56 = inttoptr i64 %52 to i8*\n store i8 %55, i8* %56, align 1\n %57 = add i64 %22, 4\n %58 = inttoptr i64 %54 to i8*\n store i8 0, i8* %58, align 1\n %59 = inttoptr i64 %57 to i8*\n store i8 0, i8* %59, align 1\n br label LBL_12\n LBL_7:\n %60 = add i64 %22, 1\n %61 = trunc i32 %26 to i8\n %62 = or i8 %61, 1\n store i8 %62, i8* %23, align 1\n %63 = add i64 %22, 2\n %64 = inttoptr i64 %60 to i8*\n store i8 %27, i8* %64, align 1\n %65 = add i64 %22, 3\n %66 = trunc i64 %6 to i8\n %67 = inttoptr i64 %63 to i8*\n store i8 %66, i8* %67, align 1\n %68 = add i64 %7, 4\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = add i64 %22, 4\n %72 = trunc i32 %70 to i8\n %73 = inttoptr i64 %65 to i8*\n store i8 %72, i8* %73, align 1\n %74 = add i64 %7, 8\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = trunc i32 %76 to i8\n %78 = inttoptr i64 %71 to i8*\n store i8 %77, i8* %78, align 1\n br label LBL_12\n LBL_8:\n %79 = add i64 %22, 1\n %80 = trunc i32 %26 to i8\n %81 = or i8 %80, 1\n store i8 %81, i8* %23, align 1\n %82 = add i64 %22, 2\n %83 = inttoptr i64 %79 to i8*\n store i8 %27, i8* %83, align 1\n %84 = add i64 %22, 3\n %85 = trunc i64 %6 to i8\n %86 = inttoptr i64 %82 to i8*\n store i8 %85, i8* %86, align 1\n %87 = add i64 %22, 4\n %88 = inttoptr i64 %84 to i8*\n store i8 8, i8* %88, align 1\n %89 = inttoptr i64 %87 to i8*\n store i8 0, i8* %89, align 1\n br label LBL_12\n LBL_9:\n %90 = add i64 %22, 1\n %91 = trunc i32 %26 to i8\n %92 = or i8 %91, 1\n store i8 %92, i8* %23, align 1\n %93 = add i64 %22, 2\n %94 = inttoptr i64 %90 to i8*\n store i8 %27, i8* %94, align 1\n %95 = trunc i64 %6 to i8\n %96 = inttoptr i64 %93 to i8*\n store i8 %95, i8* %96, align 1\n %97 = add i64 %7, 12\n %98 = inttoptr i64 %97 to i32*\n %99 = load i32, i32* %98, align 4\n %100 = mul i32 %99, 32\n %101 = or i32 %100, %trunc\n %102 = trunc i32 %101 to i8\n store i8 %102, i8* %96, align 1\n br label LBL_12\n LBL_10:\n %103 = add i64 %22, 1\n %104 = trunc i32 %26 to i8\n %105 = or i8 %104, 1\n store i8 %105, i8* %23, align 1\n %106 = add i64 %22, 2\n %107 = inttoptr i64 %103 to i8*\n store i8 %27, i8* %107, align 1\n %108 = trunc i64 %6 to i8\n %109 = inttoptr i64 %106 to i8*\n store i8 %108, i8* %109, align 1\n br label LBL_12\n LBL_11:\n %110 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 %28, i64 %21, i64 %3, i64 %2, i64 %1)\n %111 = call i64 @FUNC(i64 %16)\n store i64 %111, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %112 = add i64 %7, 16\n %113 = inttoptr i64 %112 to i64*\n %114 = load i64, i64* %113, align 8\n %115 = call i64 @FUNC(i64 %16, i64 %114)\n store i64 %115, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %27, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 %24, { 1, 0 }\n uselistorder i8* %23, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %22, { 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 22 }\n uselistorder i64 %16, { 0, 1, 4, 3, 2, 5 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %7, { 5, 4, 2, 3, 1, 6, 0 }\n uselistorder i64 %6, { 6, 5, 4, 3, 2, 1, 8, 7, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0, 2 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder i64 4, { 0, 1, 4, 2, 3 }\n uselistorder i8 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 6, { 1, 2, 0 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 0, { 1, 0, 3, 2 }\n uselistorder label LBL_13, { 1, 2, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rac_normalise_315", "fun_name": "rac_normalise", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %rdi to i32*\n %4 = bitcast i64* %arg1 to i32*\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = add i64 %2, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %2, 24\n %12 = inttoptr i64 %11 to i32*\n %13 = trunc i64 %1 to i32\n store i32 %13, i32* %.reg2mem\n br label LBL_1\n LBL_1:\n %.reload = load i32, i32* %.reg2mem\n %14 = mul i32 %.reload, 256\n store i32 %14, i32* %4, align 4\n %15 = load i32, i32* %6, align 4\n %16 = mul i32 %15, 256\n store i32 %16, i32* %6, align 4\n %17 = load i64, i64* %8, align 8\n %18 = load i64, i64* %10, align 8\n %19 = icmp ult i64 %17, %18\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = add i64 %17, 1\n store i64 %21, i64* %8, align 8\n %22 = inttoptr i64 %17 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = load i32, i32* %6, align 4\n %25 = zext i8 %23 to i32\n %26 = or i32 %24, %25\n store i32 %26, i32* %6, align 4\n br label LBL_5\n LBL_3:\n %27 = icmp eq i32 %16, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %12, align 4\n store i32 1, i32* %6, align 4\n br label LBL_5\n LBL_5:\n %29 = load i32, i32* %3, align 8\n %30 = icmp ult i32 %29, 16777216\n store i32 %29, i32* %.reg2mem\n br i1 %30, label LBL_1, label LBL_6\n LBL_6:\n %31 = zext i32 %29 to i64\n ret i64 %31\n\n uselistorder i32 %29, { 1, 0, 2 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i32* %6, { 2, 1, 0, 3, 4 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "archive_entry_xattr_add_entry_4823", "fun_name": "archive_entry_xattr_add_entry", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %storemerge1.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %3 = add i64 %storemerge1.reload, 24\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %storemerge1.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_2:\n %8 = call i64* @malloc(i32 32)\n %9 = ptrtoint i64* %8 to i64\n %10 = icmp eq i64* %8, null\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_8, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %arg2 to i8*\n %12 = call i8* @strdup(i8* %11)\n %13 = ptrtoint i8* %12 to i64\n store i64 %13, i64* %8, align 8\n %14 = icmp eq i8* %12, null\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %14, label LBL_8, label LBL_4\n LBL_4:\n %15 = trunc i64 %arg4 to i32\n %16 = call i64* @malloc(i32 %15)\n %17 = ptrtoint i64* %16 to i64\n %18 = add i64 %9, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = icmp eq i64* %16, null\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = inttoptr i64 %arg3 to i64*\n %22 = call i64* @memcpy(i64* nonnull %16, i64* %21, i32 %15)\n %23 = add i64 %9, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 %arg4, i64* %24, align 8\n store i64 %17, i64* %rdi.0.reg2mem\n br label LBL_7\n LBL_6:\n %25 = add i64 %9, 16\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n store i64 %arg4, i64* %rdi.0.reg2mem\n br label LBL_7\n LBL_7:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %27 = add i64 %9, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %rdi.0.reload, i64* %28, align 8\n store i64 %9, i64* %arg1, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %16, { 1, 0, 2 }\n uselistorder i64 %9, { 2, 3, 4, 1, 5, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i64* null, { 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtl8187_remove_interface_18168", "fun_name": "rtl8187_remove_interface", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_net_open_10005", "fun_name": "do_net_open", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_2, i64 15)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, -1\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = trunc i64 %0 to i16\n store i32 2, i32* %sv_1, align 4\n %5 = call i16 @htons(i16 %4)\n %6 = bitcast i64* %sv_2 to i8*\n %7 = bitcast i64* %sv_0 to %in_addr*\n %8 = call i32 @inet_aton(i8* nonnull %6, %in_addr* nonnull %7)\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_8\n LBL_2:\n %11 = call i32 @socket(i32 2, i32 1, i32 6)\n %12 = icmp eq i32 %11, -1\n %13 = icmp eq i1 %12, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_8\n LBL_3:\n %sext = mul i64 %0, 281474976710656\n %14 = ashr exact i64 %sext, 48\n %15 = and i64 %14, 4294967295\n %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i64 %15)\n %17 = bitcast i32* %sv_1 to %sockaddr*\n %18 = call i32 @connect(i32 %11, %sockaddr* nonnull %17, i32 16)\n %19 = icmp eq i32 %18, -1\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i32 @close(i32 %11)\n %22 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n %23 = zext i32 %11 to i64\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, -1\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = call i32 @close(i32 %11)\n %29 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %30 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0))\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 1, 2, 3 }\n uselistorder i32 (i8*)* @puts, { 2, 1, 0 }\n uselistorder i64 4294967295, { 4, 3, 5, 0, 1, 2 }\n uselistorder label LBL_8, { 3, 4, 5, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "netdev_queue_add_kobject_7341", "fun_name": "netdev_queue_add_kobject", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 28\n %4 = add i64 %3, %2\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %4 to i64*\n store i64 %7, i64* %8, align 8\n %9 = and i64 %arg2, 4294967295\n %10 = call i64 @FUNC(i64 %4, i64* nonnull @gv_0, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = and i64 %10, 4294967295\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %14 = add i64 %4, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %4, i64 1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mz_path_has_slash_6796", "fun_name": "mz_path_has_slash", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = icmp slt i32 %1, 1\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = sext i32 %1 to i64\n %4 = add i64 %arg1, -1\n %5 = add i64 %4, %3\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n store i64 4294967295, i64* %storemerge.reg2mem\n switch i8 %7, label LBL_3 [\n i8 92, label LBL_2\n i8 47, label LBL_2\n ]\n LBL_2:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "moxie_cpu_initfn_16434", "fun_name": "moxie_cpu_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = call i64 @FUNC(i64 %1, i64 4198725)\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = load i32, i32* @gv_0, align 4\n %9 = zext i32 %8 to i64\n %10 = icmp eq i32 %8, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n store i32 1, i32* @gv_0, align 4\n %12 = call i64 @FUNC()\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cifs_writev_callback_8890", "fun_name": "cifs_writev_callback", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i32*\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %1 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = icmp sgt i32 %12, -1\n %15 = add i32 %12, -1\n %16 = icmp ult i32 %15, 2\n %or.cond = icmp eq i1 %14, %16\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_2:\n %17 = add i64 %arg1, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %11 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %arg1, i64 %23, i64 0)\n %25 = trunc i64 %24 to i32\n store i32 %25, i32* %5, align 4\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_8, label LBL_3\n LBL_3:\n %28 = inttoptr i64 %19 to i16*\n %29 = add i64 %19, 2\n %30 = inttoptr i64 %29 to i16*\n %31 = load i16, i16* %30, align 2\n %32 = zext i16 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = mul i32 %34, 65536\n %36 = load i16, i16* %28, align 2\n %37 = zext i16 %36 to i64\n %38 = call i64 @FUNC(i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = add i32 %35, %39\n %41 = add i64 %4, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = icmp ugt i32 %40, %43\n %45 = urem i32 %40, 65536\n %spec.select = select i1 %44, i32 %45, i32 %40\n %46 = icmp ult i32 %spec.select, %43\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_5, label LBL_4\n LBL_4:\n store i32 -28, i32* %5, align 4\n br label LBL_8\n LBL_5:\n store i32 %spec.select, i32* %42, align 4\n br label LBL_8\n LBL_6:\n store i32 -11, i32* %5, align 4\n br label LBL_8\n LBL_7:\n store i32 -5, i32* %5, align 4\n br label LBL_8\n LBL_8:\n %48 = add i64 %4, 16\n %49 = load i64, i64* @gv_0, align 8\n %50 = call i64 @FUNC(i64 %49, i64 %48)\n %51 = call i64 @FUNC(i64 %arg1)\n %52 = inttoptr i64 %11 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = call i64 @FUNC(i64 %55)\n %57 = load i64, i64* %52, align 8\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = add i64 %59, 8\n %61 = call i64 @FUNC(i64 %60)\n ret i64 %61\n\n uselistorder i32 %40, { 1, 0, 2 }\n uselistorder i32 %12, { 1, 2, 0 }\n uselistorder i32* %5, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 1, 0, 3, 2 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_8, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvmet_fc_free_ls_iodlist_7944", "fun_name": "nvmet_fc_free_ls_iodlist", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %0, i64* %sv_0.01.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %3 = add i64 %sv_0.01.reload, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = load i64, i64* %2, align 8\n %7 = call i64 @FUNC(i64 %6, i64 %5, i64 4096, i64 0)\n %8 = inttoptr i64 %sv_0.01.reload to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %sv_0.01.reload, 16\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %sv_0.01.reload, 32\n %14 = add nuw nsw i32 %storemerge2.reload, 1\n %exitcond = icmp eq i32 %14, 10\n store i32 %14, i32* %storemerge2.reg2mem\n store i64 %13, i64* %sv_0.01.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %15 = call i64 @FUNC(i64 %11)\n ret i64 %15\n\n uselistorder i64 %sv_0.01.reload, { 0, 2, 1, 3 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "float128_to_int32_round_to_zero_306", "fun_name": "float128_to_int32_round_to_zero", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %1 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %2 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %3 = trunc i64 %2 to i32\n %4 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i64 %0, 0\n %7 = icmp eq i1 %6, false\n %8 = zext i1 %7 to i64\n %9 = or i64 %1, %8\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %3, 16415\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = icmp eq i32 %3, 32767\n %13 = icmp eq i1 %12, false\n %14 = icmp eq i32 %10, 0\n %or.cond = or i1 %13, %14\n %spec.select = select i1 %or.cond, i32 %5, i32 0\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_2:\n %15 = icmp sgt i32 %3, 16382\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = or i64 %9, %2\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_10, label LBL_4\n LBL_4:\n %19 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %20 = or i32 %19, 1\n store i32 %20, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %sext = mul i64 %9, 4294967296\n %21 = ashr exact i64 %sext, 32\n %22 = or i64 %21, 281474976710656\n %23 = sub i32 47, %3\n %24 = urem i32 %23, 64\n %25 = icmp eq i32 %24, 0\n %26 = zext i32 %24 to i64\n %27 = lshr i64 %22, %26\n %28 = trunc i64 %27 to i32\n %sv_1.0 = select i1 %25, i32 %10, i32 %28\n %29 = icmp eq i32 %5, 0\n %30 = sub i32 0, %sv_1.0\n %spec.select5 = select i1 %29, i32 %sv_1.0, i32 %30\n %31 = icmp slt i32 %spec.select5, 0\n %32 = zext i1 %31 to i32\n %33 = icmp eq i32 %32, %5\n store i32 %5, i32* %sv_0.0.reg2mem\n br i1 %33, label LBL_7, label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %34 = icmp eq i32 %sv_0.0.reload, 0\n %. = select i1 %34, i64 2147483647, i64 2147483648\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %35 = sext i32 %sv_1.0 to i64\n %storemerge = shl i64 %35, %26\n %36 = icmp eq i64 %22, %storemerge\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %38 = or i32 %37, 1\n store i32 %38, i32* bitcast (i64* @gv_0 to i32*), align 8\n br label LBL_9\n LBL_9:\n %39 = zext i32 %spec.select5 to i64\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %spec.select5, { 1, 0 }\n uselistorder i32 %sv_1.0, { 2, 0, 1 }\n uselistorder i32 %5, { 0, 2, 3, 1 }\n uselistorder i32 %3, { 2, 0, 1, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 0, { 5, 0, 6, 7, 4, 2, 1, 3 }\n uselistorder label LBL_10, { 3, 0, 1, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_packet_timestamps_190", "fun_name": "mxf_packet_timestamps", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem13 = alloca i32\n %sv_0.010.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %1 to i32\n %7 = and i64 %1, 4294967295\n %8 = icmp slt i32 %6, 1\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %8, label LBL_11, label LBL_1\n LBL_1:\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32 %11, i32* %.reg2mem\n store i64 -1, i64* %sv_0.010.reg2mem\n store i32 %11, i32* %.reg2mem13\n br i1 %13, label LBL_2, label LBL_8\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %14 = add i32 %.reload, 1\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %2, i64 %5, i64 %15, i64 0, i64* nonnull %sv_1, i64 0)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n br i1 %18, label LBL_7, label LBL_3\n LBL_3:\n %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem\n %19 = load i64, i64* %sv_1, align 8\n %20 = icmp slt i64 %sv_0.010.reload, %19\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = ptrtoint i64* %sv_1 to i64\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24, i64 0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %21, i64 0)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %26 = icmp slt i64 %5, %19\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %27 = load i32, i32* %10, align 4\n %28 = add i32 %27, 1\n store i32 %28, i32* %10, align 4\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i32 %28, i32* %.reg2mem\n store i64 %19, i64* %sv_0.010.reg2mem\n store i32 %28, i32* %.reg2mem13\n br i1 %30, label LBL_2, label LBL_8\n LBL_7:\n %.pr = load i32, i32* %10, align 4\n store i32 %.pr, i32* %.reg2mem13\n br label LBL_8\n LBL_8:\n %.reload14 = load i32, i32* %.reg2mem13\n %31 = zext i32 %.reload14 to i64\n %32 = icmp slt i32 %.reload14, 0\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %32, label LBL_11, label LBL_9\n LBL_9:\n %33 = inttoptr i64 %5 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = zext i32 %34 to i64\n %36 = icmp ult i32 %.reload14, %34\n store i64 %35, i64* %rax.0.reg2mem\n br i1 %36, label LBL_10, label LBL_11\n LBL_10:\n %37 = ptrtoint i64* %arg2 to i64\n %38 = sext i32 %.reload14 to i64\n %39 = add i64 %5, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %41, %38\n %43 = add i64 %37, 8\n %44 = inttoptr i64 %43 to i64*\n store i64 %42, i64* %44, align 8\n %45 = add i64 %5, 16\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = load i32, i32* %10, align 4\n %49 = sext i32 %48 to i64\n %50 = mul i64 %49, 8\n %51 = add i64 %50, %47\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = add i64 %37, 16\n %55 = inttoptr i64 %54 to i64*\n store i64 %53, i64* %55, align 8\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %10, { 1, 0, 4, 3, 2 }\n uselistorder i64 %5, { 2, 3, 4, 0, 1 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.010.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem13, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1, 5 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 3, 2, 0 }\n uselistorder label LBL_11, { 3, 1, 0, 4, 2 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "format_CONJUNCTION_10731", "fun_name": "format_CONJUNCTION", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %3, 4\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = zext i8 %6 to i64\n %8 = add nuw nsw i64 %7, 1\n %9 = load i64*, i64** @gv_0, align 8\n %10 = ptrtoint i64* %9 to i64\n %11 = load i64*, i64** @gv_1, align 8\n %12 = ptrtoint i64* %11 to i64\n %13 = and i64 %1, 4294967295\n %14 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %12, i64 %10, i64 %13, i64 %8)\n ret i64 %14\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "phys_sections_clear_1704", "fun_name": "phys_sections_clear", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp slt i32 %0, 0\n %3 = icmp eq i1 %2, false\n %4 = icmp eq i1 %1, false\n %5 = icmp eq i1 %3, %4\n store i32 %0, i32* %.reg2mem\n store i32 %0, i32* %.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %.reload = load i32, i32* %.reg2mem\n %6 = add i32 %.reload, -1\n store i32 %6, i32* @gv_0, align 4\n %7 = sext i32 %6 to i64\n %8 = mul i64 %7, 4\n %9 = add i64 %8, ptrtoint (i32** @gv_1 to i64)\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = load i32, i32* @gv_0, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp slt i32 %14, 0\n %17 = icmp eq i1 %16, false\n %18 = icmp eq i1 %15, false\n %19 = icmp eq i1 %17, %18\n store i32 %14, i32* %.reg2mem\n store i32 %14, i32* %.lcssa.reg2mem\n br i1 %19, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %20 = zext i32 %.lcssa.reload to i64\n ret i64 %20\n\n uselistorder i32 %14, { 0, 1, 3, 2 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 3, 2, 0, 1 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ParseNameValue_11357", "fun_name": "ParseNameValue", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %arg3, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 0, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n store i32 0, i32* %4, align 4\n store i64 %arg1, i64* %sv_0, align 8\n %5 = call i64 @FUNC(i64* nonnull %sv_0)\n ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nsexec_6797", "fun_name": "nsexec", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = load i32, i32* %0\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n store i32 0, i32* %sv_3, align 4\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, -1\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_29, label LBL_1\n LBL_1:\n %6 = call i32 @prctl(i32 4, i32 0, i32 0, i32 0, i32 0)\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_3:\n %9 = and i64 %3, 4294967295\n %10 = bitcast i32* %sv_3 to i64*\n %11 = call i64 @FUNC(i64 %9, i64* nonnull %10)\n %12 = load i32, i32* %sv_3, align 4\n %13 = icmp eq i32 %12, -1\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_5:\n %16 = ptrtoint i32* %sv_2 to i64\n %17 = trunc i64 %16 to i32\n %18 = insertvalue [2 x i32] undef, i32 %17, 0\n %19 = call i32 @pipe([2 x i32] %18)\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0))\n unreachable\n LBL_7:\n %23 = ptrtoint i64* %sv_1 to i64\n %24 = trunc i64 %23 to i32\n %25 = insertvalue [8 x i32] undef, i32 %24, 0\n %26 = insertvalue %__jmp_buf_tag undef, [8 x i32] %25, 0\n %27 = insertvalue [1 x %__jmp_buf_tag] undef, %__jmp_buf_tag %26, 0\n %28 = call i32 @_setjmp([1 x %__jmp_buf_tag] %27)\n %29 = icmp eq i32 %28, 1\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_28, label LBL_8\n LBL_8:\n store i8 0, i8* %sv_0, align 1\n %31 = call i32 @close(i32 %1)\n %32 = load i32, i32* %sv_2, align 4\n %33 = bitcast i8* %sv_0 to i64*\n %34 = call i32 @read(i32 %32, i64* nonnull %33, i32 1)\n %35 = icmp eq i32 %34, 1\n %36 = load i8, i8* %sv_0, align 1\n %37 = icmp eq i8 %36, 1\n %or.cond = icmp eq i1 %35, %37\n br i1 %or.cond, label LBL_10, label LBL_9\n LBL_9:\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_10:\n %39 = call i32 @setsid()\n %40 = icmp slt i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0))\n unreachable\n LBL_12:\n %43 = call i32 @setuid(i32 0)\n %44 = icmp slt i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_14, label LBL_13\n LBL_13:\n %46 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0))\n unreachable\n LBL_14:\n %47 = call i32 @setgid(i32 0)\n %48 = icmp slt i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_16, label LBL_15\n LBL_15:\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0))\n unreachable\n LBL_16:\n %51 = call i32 @setgroups(i32 0, i32* null)\n %52 = icmp slt i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_18, label LBL_17\n LBL_17:\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0))\n unreachable\n LBL_18:\n %55 = icmp eq i32 %2, -1\n br i1 %55, label LBL_27, label LBL_19\n LBL_19:\n %56 = call i32 (i32, i32, ...) @ioctl(i32 %2, i32 21518)\n %57 = icmp slt i32 %56, 0\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_21, label LBL_20\n LBL_20:\n %59 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_8, i64 0, i64 0))\n unreachable\n LBL_21:\n %60 = call i32 @dup3(i32 %2, i32 0, i32 0)\n %61 = icmp eq i32 %60, 0\n br i1 %61, label LBL_23, label LBL_22\n LBL_22:\n %62 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_9, i64 0, i64 0))\n unreachable\n LBL_23:\n %63 = call i32 @dup3(i32 %2, i32 1, i32 0)\n %64 = icmp eq i32 %63, 1\n br i1 %64, label LBL_25, label LBL_24\n LBL_24:\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_10, i64 0, i64 0))\n unreachable\n LBL_25:\n %66 = call i32 @dup3(i32 %2, i32 2, i32 0)\n %67 = icmp eq i32 %66, 2\n br i1 %67, label LBL_27, label LBL_26\n LBL_26:\n %68 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_11, i64 0, i64 0))\n unreachable\n LBL_27:\n %69 = call i64 @FUNC(i64* nonnull %10)\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_28:\n %70 = bitcast i32* %sv_2 to i64*\n %71 = call i64 @FUNC(i64 %9, i64* nonnull %sv_1, i64* nonnull %70, i64* nonnull %10)\n %72 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_12, i64 0, i64 0))\n unreachable\n LBL_29:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %10, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i32* %sv_3, { 1, 2, 0 }\n uselistorder i32* %sv_2, { 2, 1, 0 }\n uselistorder i32 %2, { 4, 3, 2, 0, 1 }\n uselistorder i32* %0, { 1, 0 }\n uselistorder i32 (i32, i32, i32)* @dup3, { 2, 1, 0 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder i64 (i8*)* @bail, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 0, 1, 13, 2, 3, 14, 15, 4, 16, 5, 17, 6, 18, 19, 20, 7, 8, 9, 10, 11, 21, 22, 12 }\n uselistorder i32 1, { 4, 7, 5, 8, 6, 10, 11, 13, 12, 2, 1, 0, 3, 14, 9 }\n uselistorder label LBL_29, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uwb_rsv_find_best_allocation_4261", "fun_name": "uwb_rsv_find_best_allocation", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i32\n %indvars.iv9.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 148, i64 0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_20\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = ptrtoint i64* %arg2 to i64\n %7 = trunc i64 %1 to i32\n %8 = inttoptr i64 %2 to i32*\n store i32 %7, i32* %8, align 4\n %9 = ptrtoint i32* %arg1 to i64\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %9, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %2, 12\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %21 = call i64 @FUNC(i64 %indvars.iv9.reload, i64 %6)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = mul i64 %indvars.iv9.reload, 4\n %26 = add i64 %25, %20\n %27 = inttoptr i64 %26 to i32*\n store i32 -1, i32* %27, align 4\n br label LBL_4\n LBL_4:\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %exitcond11 = icmp eq i64 %indvars.iv.next10, 32\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n br i1 %exitcond11, label LBL_5, label LBL_2\n LBL_5:\n %28 = load i32, i32* %19, align 4\n %29 = icmp eq i32 %28, 1\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_7, label LBL_6\n LBL_6:\n %31 = call i64 @FUNC(i64 %2)\n %32 = call i64 @FUNC(i64 %2)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_19, label LBL_12\n LBL_7:\n %36 = call i64 @FUNC(i64 %2)\n store i32 16, i32* %storemerge36.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %37 = load i32, i32* %19, align 4\n %38 = icmp ugt i32 %storemerge36.reload, %37\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = zext i32 %storemerge36.reload to i64\n %40 = call i64 @FUNC(i64 %2, i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n br i1 %42, label LBL_12, label LBL_10\n LBL_10:\n %43 = udiv i32 %storemerge36.reload, 2\n %44 = icmp ugt i32 %storemerge36.reload, 3\n store i32 %43, i32* %storemerge36.reg2mem\n br i1 %44, label LBL_8, label LBL_11\n LBL_11:\n %45 = call i64 @FUNC(i64 %2)\n %46 = call i64 @FUNC(i64 %2)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_19, label LBL_12\n LBL_12:\n %50 = call i64 @FUNC(i64 %5, i64 32)\n %51 = add i64 %5, 4\n %52 = call i64 @FUNC(i64 %51, i64 32)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_13\n LBL_13:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %53 = mul i64 %indvars.iv.reload, 4\n %54 = add i64 %53, %20\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 1\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_15, label LBL_14\n LBL_14:\n %59 = call i64 @FUNC(i64 %indvars.iv.reload, i64 %5)\n br label LBL_17\n LBL_15:\n %60 = icmp eq i32 %56, 2\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_17, label LBL_16\n LBL_16:\n %62 = call i64 @FUNC(i64 %indvars.iv.reload, i64 %51)\n br label LBL_17\n LBL_17:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_18, label LBL_13\n LBL_18:\n %63 = call i64 @FUNC(i64 %5, i64 %5, i64 %51, i64 32)\n %64 = add i64 %2, 140\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = add i64 %5, 8\n %68 = inttoptr i64 %67 to i32*\n store i32 %66, i32* %68, align 4\n %69 = add i64 %2, 144\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = add i64 %5, 12\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n %74 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_19:\n %75 = call i64 @FUNC(i64 %2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 }\n uselistorder i32 %storemerge36.reload, { 2, 3, 1, 0 }\n uselistorder i64 %indvars.iv9.reload, { 0, 2, 1 }\n uselistorder i64 %5, { 0, 1, 2, 3, 4, 6, 5 }\n uselistorder i64 %2, { 4, 5, 6, 7, 1, 3, 2, 9, 8, 10, 0, 11, 12, 13, 14 }\n uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 (i64, i64)* @set_bit, { 1, 0 }\n uselistorder i64 (i64, i64)* @bitmap_zero, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64)* @uwb_rsv_find_best_row_alloc, { 1, 0 }\n uselistorder i64 (i64)* @get_row_descriptors, { 1, 0 }\n uselistorder i64 32, { 2, 1, 3, 4, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 4, 3, 6, 5, 7, 8, 0, 1, 9, 10, 2 }\n uselistorder i64 4, { 0, 5, 1, 6, 7, 2, 3, 4 }\n uselistorder i1 false, { 0, 1, 2, 4, 5, 3, 6, 7 }\n uselistorder label LBL_20, { 1, 2, 0 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_rt_sigreturn_2671", "fun_name": "do_rt_sigreturn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = add i64 %1, 56\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, -4\n %7 = call i64 @FUNC(i64 %1, i64 %6)\n %8 = call i64 @FUNC(i64 0, i64 %2, i64 %6, i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1)\n %12 = call i64 @FUNC(i64* nonnull %sv_0)\n %13 = call i64 @FUNC(i64 %1, i64 %2)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %1)\n %18 = call i64 @FUNC(i64 %6, i64 0, i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, -14\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %2, i64 %6, i64 0)\n br label LBL_5\n LBL_4:\n %22 = call i64 @FUNC(i64 %2, i64 %6, i64 0)\n %23 = call i64 @FUNC(i64 11)\n br label LBL_5\n LBL_5:\n ret i64 1\n\n uselistorder i64 %6, { 2, 0, 1, 4, 3 }\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_irq_1621", "fun_name": "update_irq", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge2.in.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 1\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = icmp eq i32 %2, 0\n %8 = icmp eq i1 %7, false\n %. = select i1 %8, i64 8, i64 0\n %.pre = ptrtoint i32* %arg1 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %., i64* %storemerge2.in.reg2mem\n br label LBL_4\n LBL_3:\n %9 = ptrtoint i32* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9)\n store i64 %9, i64* %.pre-phi.reg2mem\n store i64 %10, i64* %storemerge2.in.reg2mem\n br label LBL_4\n LBL_4:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %11 = call i64 @FUNC(i64 %.pre-phi.reload)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_7, label LBL_5\n LBL_5:\n %14 = call i64 @FUNC()\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem\n %17 = add i64 %.pre-phi.reload, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %sext = mul i64 %storemerge2.in.reload, 4294967296\n %22 = ashr exact i64 %sext, 30\n %23 = add i64 %21, %22\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.in.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__br_multicast_enable_port_8606", "fun_name": "__br_multicast_enable_port", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %2, i64 %11)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avfilter_process_command_2731", "fun_name": "avfilter_process_command", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n store i64 0, i64* %sv_0, align 8\n %5 = icmp eq i64* %arg4, null\n %6 = icmp eq i1 %5, false\n %spec.select = select i1 %6, i64* %arg4, i64* %sv_0\n %sv_1.0 = ptrtoint i64* %spec.select to i64\n %7 = add i64 %1, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = trunc i64 %arg5 to i32\n %11 = select i1 %6, i32 %10, i32 256\n %12 = call i64 @FUNC(i64 %sv_1.0, i32 %11, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %0, i64 %9, i64 %arg6)\n %13 = icmp eq i64* %spec.select, %sv_0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %sv_1.0, i64 %9, i64 %arg6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %16 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %1, i64 %arg3)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %20 = add i64 %0, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n %. = select i1 %23, i64 4294967258, i64 %1\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0, { 1, 0 }\n uselistorder i64* %spec.select, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder label LBL_6, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_ucounts_5499", "fun_name": "put_ucounts", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1)\n %3 = inttoptr i64 %arg1 to i64*\n store i64 add (i64 ptrtoint (i64* @gv_0 to i64), i64 -1), i64* %3, align 8\n %4 = call i64 @FUNC(i64* nonnull @gv_0, i64 %1)\n %5 = call i64 @FUNC(i64 0)\n ret i64 %5\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* @gv_0, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "full_name_hash_9315", "fun_name": "full_name_hash", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %sv_1.02.reg2mem = alloca i64\n %sv_2.05.reg2mem = alloca i64\n %sv_3.06.reg2mem = alloca i32\n %sv_0.07.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i64\n %0 = icmp eq i32 %arg3, 0\n store i64 %arg1, i64* %sv_1.08.reg2mem\n store i64 0, i64* %sv_0.07.reg2mem\n store i32 %arg3, i32* %sv_3.06.reg2mem\n store i64 %arg2, i64* %sv_2.05.reg2mem\n store i64 %arg1, i64* %sv_1.02.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %sv_2.05.reload = load i64, i64* %sv_2.05.reg2mem\n %sv_3.06.reload = load i32, i32* %sv_3.06.reg2mem\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem\n %1 = call i64 @FUNC(i64 %sv_2.05.reload)\n %2 = icmp ult i32 %sv_3.06.reload, 8\n br i1 %2, label LBL_3, label LBL_2\n LBL_2:\n %3 = xor i64 %1, %sv_0.07.reload\n %4 = mul i64 %3, 668265263\n %5 = xor i64 %4, %sv_1.08.reload\n %6 = mul i64 %5, 668265263\n %7 = add i64 %sv_2.05.reload, 8\n %8 = add i32 %sv_3.06.reload, -8\n %9 = icmp eq i32 %8, 0\n store i64 %6, i64* %sv_1.08.reg2mem\n store i64 %4, i64* %sv_0.07.reg2mem\n store i32 %8, i32* %sv_3.06.reg2mem\n store i64 %7, i64* %sv_2.05.reg2mem\n store i64 %6, i64* %sv_1.02.reg2mem\n store i64 %4, i64* %sv_0.1.reg2mem\n br i1 %9, label LBL_4, label LBL_1\n LBL_3:\n %.tr = zext i32 %sv_3.06.reload to i64\n %10 = mul i64 %.tr, 8\n %11 = and i64 %10, 56\n %12 = icmp eq i64 %11, 0\n %notmask = shl nsw i64 -1, %11\n %13 = sub i64 0, %notmask\n %phitmp = sub i64 %13, 1\n %storemerge = select i1 %12, i64 0, i64 %phitmp\n %14 = and i64 %storemerge, %1\n %15 = xor i64 %14, %sv_0.07.reload\n store i64 %sv_1.08.reload, i64* %sv_1.02.reg2mem\n store i64 %15, i64* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem\n %16 = call i64 @FUNC(i64 %sv_0.1.reload, i64 %sv_1.02.reload)\n ret i64 %16\n\n uselistorder i64 %sv_0.07.reload, { 1, 0 }\n uselistorder i32 %sv_3.06.reload, { 2, 0, 1 }\n uselistorder i64* %sv_1.08.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.07.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.06.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.02.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 8, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0, 7, 6 }\n uselistorder label LBL_4, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usbip_recv_xbuff_11783", "fun_name": "usbip_recv_xbuff", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = and i64 %2, 4294967295\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_11\n LBL_2:\n %10 = ptrtoint i32* %arg2 to i64\n %11 = add i64 %10, 4\n store i64 %11, i64* %storemerge.in.in.reg2mem\n br label LBL_5\n LBL_3:\n %12 = call i64 @FUNC(i64 %6)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_11\n LBL_4:\n %15 = ptrtoint i32* %arg2 to i64\n %16 = add i64 %15, 8\n store i64 %16, i64* %storemerge.in.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.in.reload = load i64, i64* %storemerge.in.in.reg2mem\n %storemerge.in = inttoptr i64 %storemerge.in.in.reload to i32*\n %storemerge = load i32, i32* %storemerge.in, align 4\n %17 = icmp eq i32 %storemerge, 0\n %18 = icmp slt i32 %storemerge, 0\n %19 = icmp eq i1 %18, false\n %20 = icmp eq i1 %17, false\n %21 = icmp eq i1 %19, %20\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_11\n LBL_6:\n %22 = ptrtoint i32* %arg2 to i64\n %23 = add i64 %22, 24\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = ptrtoint i32* %arg1 to i64\n %27 = add i64 %26, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %25, i32 %storemerge)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %storemerge, %32\n br i1 %33, label LBL_6.dec_label_pc_4012a5_crit_edge, label LBL_8\n LBL_7:\n %.pre = and i64 %31, 4294967295\n store i64 %.pre, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %34 = add i64 %22, 16\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = and i64 %31, 4294967295\n %38 = call i64 @FUNC(i64 %36, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %37)\n br i1 %5, label LBL_10, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 %26, i64 2)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %40 = call i64 @FUNC(i64 %26, i64 3)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %31, { 1, 0, 2 }\n uselistorder i32 %storemerge, { 1, 0, 3, 2 }\n uselistorder i64* %storemerge.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @usbip_event_add, { 1, 0 }\n uselistorder i64 2, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32* %arg2, { 1, 2, 0 }\n uselistorder label LBL_11, { 5, 0, 1, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "show_smap_9862", "fun_name": "show_smap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %5 = trunc i64 %arg3 to i32\n store i64 4198876, i64* %sv_1, align 8\n %6 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 80)\n %7 = call i64 @FUNC(i64 %1, i64* nonnull %sv_1)\n %8 = call i64 @FUNC(i64 %2, i64 %1, i32 %5)\n %9 = call i64 @FUNC(i64 %1)\n %10 = call i64 @FUNC(i64 %1)\n %11 = udiv i64 %3, 1024\n %12 = udiv i64 %4, 1024\n %13 = load i64, i64* %sv_0, align 8\n %14 = udiv i64 %13, 1024\n %15 = add i64 %1, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = sub i64 %17, %14\n %19 = udiv i64 %18, 1024\n %20 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([337 x i8], [337 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %14, i64 %12, i64 %11)\n %21 = call i64 @FUNC(i64 %2, i64 %1)\n %22 = call i64 @FUNC(i64 %2, i64 %1)\n ret i64 0\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0, 5, 6 }\n uselistorder i64* %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kerberos5_forward_4095", "fun_name": "kerberos5_forward", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %2 = load i32, i32* %1\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_3)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = load i32, i32* @gv_1, align 4\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_17, label LBL_2\n LBL_2:\n %10 = load i64, i64* @gv_0, align 8\n %11 = and i64 %5, 4294967295\n %12 = call i64 @FUNC(i64 %10, i64 %11)\n %13 = inttoptr i64 %12 to i8*\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i8* %13)\n %15 = sext i32 %14 to i64\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_3:\n %16 = load i64, i64* %sv_3, align 8\n %17 = load i64, i64* @gv_0, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %16, i64* nonnull %sv_2)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %21 = load i32, i32* @gv_1, align 4\n %22 = icmp eq i32 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_17, label LBL_5\n LBL_5:\n %23 = load i64, i64* @gv_0, align 8\n %24 = and i64 %18, 4294967295\n %25 = call i64 @FUNC(i64 %23, i64 %24)\n %26 = inttoptr i64 %25 to i8*\n %27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i8* %26)\n %28 = sext i32 %27 to i64\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_6:\n %29 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 24)\n %30 = load i64, i64* %sv_2, align 8\n store i64 %30, i64* %sv_1, align 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i8*\n %34 = call i32 @strlen(i8* %33)\n %35 = sext i32 %34 to i64\n %36 = load i64, i64* @gv_0, align 8\n %37 = call i64 @FUNC(i64 %36, i64* nonnull %sv_0, i64 %35, i64 %32, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %32)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_9, label LBL_7\n LBL_7:\n %40 = load i32, i32* @gv_1, align 4\n %41 = icmp eq i32 %40, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %41, label LBL_17, label LBL_8\n LBL_8:\n %42 = load i64, i64* @gv_0, align 8\n %43 = and i64 %37, 4294967295\n %44 = call i64 @FUNC(i64 %42, i64 %43)\n %45 = inttoptr i64 %44 to i8*\n %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i8* %45)\n %47 = sext i32 %46 to i64\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_9:\n %48 = load i64, i64* @gv_5, align 8\n %49 = load i64, i64* %sv_3, align 8\n %50 = load i64, i64* @gv_6, align 8\n %51 = load i64, i64* @gv_0, align 8\n %52 = call i64 @FUNC(i64 %51, i64 %50, i64 %49, i32 0, i64 %48, i64* nonnull %sv_1)\n %53 = trunc i64 %52 to i32\n %54 = icmp eq i32 %53, 0\n br i1 %54, label LBL_12, label LBL_10\n LBL_10:\n %55 = load i32, i32* @gv_1, align 4\n %56 = icmp eq i32 %55, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %56, label LBL_17, label LBL_11\n LBL_11:\n %57 = load i64, i64* @gv_0, align 8\n %58 = and i64 %52, 4294967295\n %59 = call i64 @FUNC(i64 %57, i64 %58)\n %60 = inttoptr i64 %59 to i8*\n %61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_7, i64 0, i64 0), i8* %60)\n %62 = sext i32 %61 to i64\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_12:\n %63 = ptrtoint i64* %arg1 to i64\n %64 = call i64 @FUNC(i64 %63, i64 1, i64 %3, i32 %2)\n %65 = trunc i64 %64 to i32\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i1 %66, false\n %68 = load i32, i32* @gv_1, align 4\n %69 = icmp eq i32 %68, 0\n br i1 %67, label LBL_15, label LBL_13\n LBL_13:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %69, label LBL_17, label LBL_14\n LBL_14:\n %70 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_8, i64 0, i64 0))\n %71 = sext i32 %70 to i64\n store i64 %71, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_15:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %69, label LBL_17, label LBL_16\n LBL_16:\n %72 = call i32 @puts(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_9, i64 0, i64 0))\n %73 = sext i32 %72 to i64\n store i64 %73, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %69, { 1, 0 }\n uselistorder i64 %32, { 2, 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 11, 12, 9, 10, 7, 8, 5, 6, 3, 4, 1, 2 }\n uselistorder i32 (i8*)* @puts, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 0, 1, 3, 2 }\n uselistorder i64 (i64, i64)* @krb5_get_err_text, { 3, 2, 1, 0 }\n uselistorder i32* @gv_1, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 4, 5, 6, 7, 0, 8, 9, 1, 10, 11, 12, 13, 2, 3 }\n uselistorder label LBL_17, { 8, 9, 10, 11, 1, 0, 3, 2, 5, 4, 7, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_arm_shift_im_3208", "fun_name": "gen_arm_shift_im", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi9.reg2mem = alloca i64\n %.pre-phi11.reg2mem = alloca i64\n %.pre-phi15.reg2mem = alloca i64\n %.pre-phi13.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = trunc i64 %arg2 to i32\n %sext5 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext5, 32\n %sext6 = mul i64 %arg4, 4294967296\n %3 = ashr exact i64 %sext6, 32\n %4 = icmp eq i32 %1, 3\n br i1 %4, label LBL_20, label LBL_1\n LBL_1:\n %5 = icmp sgt i32 %1, 3\n br i1 %5, label LBL_28, label LBL_2\n LBL_2:\n switch i32 %1, label LBL_28 [\n i32 2, label LBL_16\n i32 0, label LBL_3\n i32 1, label LBL_8\n ]\n LBL_3:\n %6 = trunc i64 %2 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_28, label LBL_4\n LBL_4:\n %8 = trunc i64 %3 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre12 = and i64 %0, 4294967295\n store i64 %.pre12, i64* %.pre-phi13.reg2mem\n br label LBL_7\n LBL_6:\n %10 = sub nsw i64 32, %2\n %11 = and i64 %10, 4294967295\n %12 = and i64 %0, 4294967295\n %13 = call i64 @FUNC(i64 %12, i64 %11)\n store i64 %12, i64* %.pre-phi13.reg2mem\n br label LBL_7\n LBL_7:\n %.pre-phi13.reload = load i64, i64* %.pre-phi13.reg2mem\n %14 = call i64 @FUNC(i64 %.pre-phi13.reload, i64 %.pre-phi13.reload, i32 %6)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_8:\n %15 = trunc i64 %2 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = trunc i64 %3 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %17, label LBL_12, label LBL_9\n LBL_9:\n %.pre16 = and i64 %0, 4294967295\n br i1 %19, label LBL_11, label LBL_10\n LBL_10:\n %20 = call i64 @FUNC(i64 %.pre16, i64 %.pre16, i64 31)\n %21 = call i64 @FUNC(i64 %.pre16)\n br label LBL_11\n LBL_11:\n %22 = call i64 @FUNC(i64 %.pre16, i64 0)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_12:\n br i1 %19, label LBL_12.LBL_15_crit_edge, label LBL_14\n LBL_13:\n %.pre14 = and i64 %0, 4294967295\n store i64 %.pre14, i64* %.pre-phi15.reg2mem\n br label LBL_15\n LBL_14:\n %23 = add nsw i64 %2, 4294967295\n %24 = and i64 %23, 4294967295\n %25 = and i64 %0, 4294967295\n %26 = call i64 @FUNC(i64 %25, i64 %24)\n store i64 %25, i64* %.pre-phi15.reg2mem\n br label LBL_15\n LBL_15:\n %.pre-phi15.reload = load i64, i64* %.pre-phi15.reg2mem\n %27 = and i64 %2, 4294967295\n %28 = call i64 @FUNC(i64 %.pre-phi15.reload, i64 %.pre-phi15.reload, i64 %27)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_16:\n %29 = trunc i64 %2 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n %spec.select = select i1 %31, i64 %2, i64 32\n %32 = trunc i64 %3 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_16.LBL_19_crit_edge, label LBL_18\n LBL_17:\n %.pre10 = and i64 %0, 4294967295\n store i64 %.pre10, i64* %.pre-phi11.reg2mem\n br label LBL_19\n LBL_18:\n %34 = add nsw i64 %spec.select, 4294967295\n %35 = and i64 %34, 4294967295\n %36 = and i64 %0, 4294967295\n %37 = call i64 @FUNC(i64 %36, i64 %35)\n store i64 %36, i64* %.pre-phi11.reg2mem\n br label LBL_19\n LBL_19:\n %.pre-phi11.reload = load i64, i64* %.pre-phi11.reg2mem\n %38 = trunc i64 %spec.select to i32\n %39 = icmp eq i32 %38, 32\n %40 = icmp eq i1 %39, false\n %41 = select i1 %40, i32 %38, i32 31\n %42 = call i64 @FUNC(i64 %.pre-phi11.reload, i64 %.pre-phi11.reload, i32 %41)\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_20:\n %43 = trunc i64 %2 to i32\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_25, label LBL_21\n LBL_21:\n %45 = trunc i64 %3 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_21.LBL_24_crit_edge, label LBL_23\n LBL_22:\n %.pre8 = and i64 %0, 4294967295\n store i64 %.pre8, i64* %.pre-phi9.reg2mem\n br label LBL_24\n LBL_23:\n %47 = add nsw i64 %2, 4294967295\n %48 = and i64 %47, 4294967295\n %49 = and i64 %0, 4294967295\n %50 = call i64 @FUNC(i64 %49, i64 %48)\n store i64 %49, i64* %.pre-phi9.reg2mem\n br label LBL_24\n LBL_24:\n %.pre-phi9.reload = load i64, i64* %.pre-phi9.reg2mem\n %51 = call i64 @FUNC(i64 %.pre-phi9.reload, i64 %.pre-phi9.reload, i32 %43)\n store i64 %51, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_25:\n %52 = call i64 @FUNC(i64 0)\n %53 = trunc i64 %3 to i32\n %54 = icmp eq i32 %53, 0\n %.pre = and i64 %0, 4294967295\n br i1 %54, label LBL_27, label LBL_26\n LBL_26:\n %55 = call i64 @FUNC(i64 %.pre, i64 0)\n br label LBL_27\n LBL_27:\n %56 = trunc i64 %52 to i32\n %57 = call i64 @FUNC(i64 %.pre, i64 %.pre, i64 1)\n %58 = and i64 %52, 4294967295\n %59 = call i64 @FUNC(i64 %58, i64 %58, i32 31)\n %60 = call i64 @FUNC(i64 %.pre, i64 %.pre, i32 %56)\n %61 = call i64 @FUNC(i64 %58)\n store i64 %61, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_28:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.pre, { 0, 1, 3, 2, 4 }\n uselistorder i64 %.pre-phi9.reload, { 1, 0 }\n uselistorder i64 %.pre-phi11.reload, { 1, 0 }\n uselistorder i64 %.pre-phi15.reload, { 1, 0 }\n uselistorder i64 %.pre16, { 0, 3, 1, 2 }\n uselistorder i1 %19, { 1, 0 }\n uselistorder i64 %.pre-phi13.reload, { 1, 0 }\n uselistorder i64 %3, { 1, 4, 0, 2, 3 }\n uselistorder i64 %2, { 8, 7, 0, 6, 1, 3, 2, 5, 4 }\n uselistorder i64 %0, { 5, 9, 4, 8, 3, 6, 1, 0, 7, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 2, 1, 3 }\n uselistorder i32 31, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @tcg_gen_shri_i32, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i32)* @tcg_gen_shli_i32, { 1, 0 }\n uselistorder i64 (i64, i64)* @shifter_out_im, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 6, 5, 7, 8, 9, 4, 10, 11, 12, 3, 15, 16, 17, 18, 1, 0, 13, 14, 2 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 1, { 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_28, { 3, 4, 5, 6, 7, 2, 1, 0, 8 }\n uselistorder label LBL_27, { 1, 0 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tree_evaluate_12916", "fun_name": "tree_evaluate", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i32\n %sv_1.0.in7.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp ugt i32 %2, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = and i64 %1, 4294967295\n store i64 %7, i64* %sv_1.0.in7.in.reg2mem\n store i32 1, i32* %sv_0.06.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.in7.in.reload = load i64, i64* %sv_1.0.in7.in.reg2mem\n %sv_1.0.in7 = add i64 %sv_1.0.in7.in.reload, 16\n %9 = add i64 %sv_1.0.in7.in.reload, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %sv_1.0.in7, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_8\n LBL_3:\n %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem\n %sv_1.08 = inttoptr i64 %sv_1.0.in7 to i32*\n %17 = load i32, i32* %sv_1.08, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %sv_1.0.in7, i64 %12, i64 %4)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %24, label LBL_5, label LBL_8\n LBL_5:\n %25 = call i64 @FUNC(i64 %4, i64 %sv_1.0.in7)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 1\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = and i64 %25, 4294967295\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %29 = add i32 %sv_0.06.reload, 1\n %30 = sext i32 %29 to i64\n %31 = icmp sgt i64 %8, %30\n store i64 %sv_1.0.in7, i64* %sv_1.0.in7.in.reg2mem\n store i32 %29, i32* %sv_0.06.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %31, label LBL_2, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.in7, { 0, 3, 2, 4, 1 }\n uselistorder i64 %sv_1.0.in7.in.reload, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_1.0.in7.in.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.06.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 2, 1, 4 }\n uselistorder label LBL_8, { 2, 4, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "php_pgsql_fd_cast_10868", "fun_name": "php_pgsql_fd_cast", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = add i32 %0, -1\n %2 = icmp ugt i32 %1, 2\n %3 = icmp eq i64* %arg3, null\n %or.cond = or i1 %3, %2\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, -1\n %8 = icmp eq i1 %7, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = bitcast i64* %arg3 to i32*\n store i32 %6, i32* %9, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mptsas_config_manufacturing_1_16107", "fun_name": "mptsas_config_manufacturing_1", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n ret i64 7\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ntlm_populate_message_header_6760", "fun_name": "ntlm_populate_message_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 5)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n store i32 %1, i32* %4, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qsb_set_length_2173", "fun_name": "qsb_set_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp ult i64 %0, %arg2\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %.arg2 = select i1 %1, i64 %0, i64 %arg2\n store i64 %.arg2, i64* %3, align 8\n ret i64 %.arg2\n\n uselistorder i64 %.arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "php_snmp_read_info_6497", "fun_name": "php_snmp_read_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64* @malloc(i32 16)\n %1 = ptrtoint i64* %0 to i64\n store i64 %1, i64* %arg2, align 8\n %2 = call i64* @malloc(i32 16)\n %3 = ptrtoint i64* %2 to i64\n %4 = bitcast i64* %2 to i32*\n store i32 1, i32* %4, align 4\n %5 = call i32 @strlen(i8* inttoptr (i64 16 to i8*))\n %6 = call i8* @strndup(i8* inttoptr (i64 16 to i8*), i32 %5)\n %7 = ptrtoint i8* %6 to i64\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = call i64* @malloc(i32 16)\n %11 = ptrtoint i64* %10 to i64\n %12 = bitcast i64* %10 to i32*\n store i32 2, i32* %12, align 4\n %13 = load i32, i32* inttoptr (i64 24 to i32*), align 8\n %14 = sext i32 %13 to i64\n %15 = add i64 %11, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = call i64* @malloc(i32 16)\n %18 = ptrtoint i64* %17 to i64\n %19 = bitcast i64* %17 to i32*\n store i32 2, i32* %19, align 4\n %20 = load i32, i32* inttoptr (i64 28 to i32*), align 4\n %21 = sext i32 %20 to i64\n %22 = add i64 %18, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = call i64* @malloc(i32 16)\n %25 = ptrtoint i64* %24 to i64\n %26 = bitcast i64* %24 to i32*\n store i32 2, i32* %26, align 4\n %27 = load i32, i32* inttoptr (i64 32 to i32*), align 32\n %28 = sext i32 %27 to i64\n %29 = add i64 %25, 8\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n ret i64 0\n\n uselistorder i64* (i32)* @malloc, { 4, 3, 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rewrite_footer_15184", "fun_name": "rewrite_footer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %3, 8\n %7 = call i64 @FUNC(i64 %0, i64 %5, i64 %6, i64 512)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = and i64 %7, 4294967295\n %storemerge = select i1 %10, i64 0, i64 %11\n ret i64 %storemerge\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jas_stream_printf_5579", "fun_name": "jas_stream_printf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = ptrtoint i64* %arg1 to i64\n store i32 16, i32* %sv_1, align 4\n %22 = ptrtoint i32* %sv_1 to i64\n %23 = bitcast i64* %sv_0 to i8*\n %24 = call i32 @vsnprintf(i8* nonnull %23, i32 4096, i8* %arg2, i64 %22)\n %25 = call i64 @FUNC(i64 %21, i64* nonnull %sv_0)\n %26 = zext i32 %24 to i64\n ret i64 %26\n\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_transaction_2123", "fun_name": "qmp_transaction", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge58.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %storemerge39.reg2mem = alloca i64\n %storemerge210.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %.reg2mem18 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n %1 = call i64 @FUNC()\n store i64 %arg1, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br label LBL_11\n LBL_1:\n %2 = inttoptr i64 %sv_1.0.reload to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = add i64 %sv_1.0.reload, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = load i32, i32* %4, align 4\n %9 = icmp ult i32 %8, 10\n store i32 %8, i32* %.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 93, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %4, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %10 = sext i32 %.reload to i64\n %11 = mul nsw i64 %10, 40\n %12 = add i64 %11, ptrtoint (i64* @gv_3 to i64)\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %.reg2mem18\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 95, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n %.pre13 = load i64, i64* %13, align 8\n store i64 %.pre13, i64* %.reg2mem18\n br label LBL_5\n LBL_5:\n %.reload19 = load i64, i64* %.reg2mem18\n %17 = call i64 @FUNC(i64 %.reload19)\n %18 = inttoptr i64 %17 to i64*\n store i64 %12, i64* %18, align 8\n %19 = add i64 %17, 8\n %20 = inttoptr i64 %19 to i64*\n store i64 %3, i64* %20, align 8\n %21 = icmp eq i64 %sv_0.1.reload, 0\n %22 = icmp eq i1 %21, false\n store i64 %sv_0.1.reload, i64* %storemerge4.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = add i64 %17, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %24, align 8\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %25 = add i64 %storemerge4.reload, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %27, i64* %storemerge4.reg2mem\n br i1 %29, label LBL_7, label LBL_8\n LBL_8:\n store i64 %17, i64* %26, align 8\n %30 = add i64 %17, 16\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %32 = call i64 @FUNC(i64* nonnull %sv_2)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i64 %7, i64* %sv_1.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n %35 = load i64, i64* %sv_2, align 8\n %36 = call i64 @FUNC(i64 %0, i64 %35)\n %37 = icmp eq i64 %sv_0.0.reload, 0\n %38 = icmp eq i1 %37, false\n store i64 %sv_0.0.reload, i64* %storemerge39.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n br i1 %38, label LBL_14, label LBL_15\n LBL_11:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %39 = icmp eq i64 %sv_1.0.reload, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_1, label LBL_12\n LBL_12:\n %41 = icmp eq i64 %sv_0.1.reload, 0\n %42 = icmp eq i1 %41, false\n store i64 %sv_0.1.reload, i64* %storemerge210.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br i1 %42, label LBL_13, label LBL_15\n LBL_13:\n %storemerge210.reload = load i64, i64* %storemerge210.reg2mem\n %43 = add i64 %storemerge210.reload, 16\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = icmp eq i64 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %45, i64* %storemerge210.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br i1 %47, label LBL_13, label LBL_15\n LBL_14:\n %storemerge39.reload = load i64, i64* %storemerge39.reg2mem\n %48 = add i64 %storemerge39.reload, 16\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = icmp eq i64 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 %50, i64* %storemerge39.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n br i1 %52, label LBL_14, label LBL_15\n LBL_15:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %53 = icmp eq i64 %sv_0.2.reload, 0\n store i64 %sv_0.2.reload, i64* %storemerge58.reg2mem\n br i1 %53, label LBL_17, label LBL_16\n LBL_16:\n %storemerge58.reload = load i64, i64* %storemerge58.reg2mem\n %54 = add i64 %storemerge58.reload, 16\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %storemerge58.reload)\n %58 = icmp eq i64 %56, 0\n store i64 %56, i64* %storemerge58.reg2mem\n br i1 %58, label LBL_17, label LBL_16\n LBL_17:\n ret i64 0\n\n uselistorder i64 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.1.reload, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder i64 %sv_0.0.reload, { 0, 1, 2, 4, 3 }\n uselistorder i64 %17, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem18, { 0, 2, 1 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge210.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge39.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %storemerge58.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 2, 3, 0, 7, 1, 4, 5, 6 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 1, 0, 2, 3 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iwgif_read_color_table_10443", "fun_name": "iwgif_read_color_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp slt i32 %2, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i1 %3, false\n %7 = icmp eq i1 %5, %6\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_3\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = ptrtoint i64* %arg1 to i64\n %10 = bitcast i64* %rsi to i32*\n %11 = mul i32 %2, 3\n %12 = call i64 @FUNC(i64 %9, i64 %9, i32 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %brmerge = or i1 %3, %14\n %not. = icmp ne i1 %14, true\n %.mux = zext i1 %not. to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n store i64 %.mux, i64* %rax.0.reg2mem\n br i1 %brmerge, label LBL_3, label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %15 = mul i32 %storemerge1.reload, 3\n %16 = sext i32 %15 to i64\n %17 = add i64 %16, %9\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = mul nsw i64 %.reload, 3\n %21 = add i64 %20, %8\n %22 = add i64 %21, 4\n %23 = inttoptr i64 %22 to i8*\n store i8 %19, i8* %23, align 1\n %24 = add i64 %17, 1\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = add i64 %21, 5\n %28 = inttoptr i64 %27 to i8*\n store i8 %26, i8* %28, align 1\n %29 = add i64 %17, 2\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = add i64 %21, 6\n %33 = inttoptr i64 %32 to i8*\n store i8 %31, i8* %33, align 1\n %34 = add i32 %storemerge1.reload, 1\n %35 = load i32, i32* %10, align 8\n %36 = zext i32 %35 to i64\n %37 = sext i32 %34 to i64\n %38 = icmp slt i64 %37, %36\n store i64 %37, i64* %.reg2mem\n store i32 %34, i32* %storemerge1.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %38, label LBL_2, label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i32 %2, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 0, 4, 1, 2, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_text_decode_close_232", "fun_name": "mov_text_decode_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jio_snprintf_5661", "fun_name": "jio_snprintf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = call i64 @FUNC()\n store i32 24, i32* %sv_0, align 4\n %22 = trunc i64 %arg2 to i32\n %23 = ptrtoint i32* %sv_0 to i64\n %24 = bitcast i64* %arg1 to i8*\n %25 = call i32 @vsnprintf(i8* %24, i32 %22, i8* %arg3, i64 %23)\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n ret i64 %26\n\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shash_ahash_digest_8976", "fun_name": "shash_ahash_digest", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = sub i64 4096, %1\n %8 = add i64 %3, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = and i64 %7, 4294967295\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 %12, i64 %11)\n %14 = trunc i64 %13 to i32\n %15 = icmp ult i32 %6, %14\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = call i64 @FUNC(i64 %3)\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %3, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = and i64 %1, 4294967295\n %23 = add i64 %18, %22\n %24 = ptrtoint i32* %arg2 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %23, i32 %6, i64 %21)\n %26 = call i64 @FUNC(i64 %18)\n %27 = and i64 %2, 4294967295\n %28 = call i64 @FUNC(i64 %27)\n store i64 %25, i64* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_2:\n %29 = ptrtoint i32* %arg2 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %30, i64* %sv_0.0.in.reg2mem\n br i1 %33, label LBL_4, label LBL_3\n LBL_3:\n %34 = call i64 @FUNC(i64 %3, i64 %29)\n store i64 %34, i64* %sv_0.0.in.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %35 = and i64 %sv_0.0.in.reload, 4294967295\n ret i64 %35\n\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %3, { 2, 0, 1, 3, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xhci_ep_nuke_one_xfer_8658", "fun_name": "xhci_ep_nuke_one_xfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = trunc i64 %1 to i32\n store i32 %5, i32* %.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n store i32 %5, i32* %.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = bitcast i64* %rdi to i32*\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %3, i32* %14, align 4\n %15 = call i64 @FUNC(i64 %2)\n %.pre = load i32, i32* %12, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %16 = icmp eq i32 %.reload, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = add i64 %2, 40\n %18 = call i64 @FUNC(i64 %17)\n %19 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %19, align 4\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = add i64 %2, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %23, label LBL_10, label LBL_7\n LBL_7:\n %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = inttoptr i64 %26 to i64*\n store i64 0, i64* %28, align 8\n %29 = load i64, i64* %25, align 8\n %30 = add i64 %29, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n br label LBL_9\n LBL_9:\n store i32 0, i32* %21, align 4\n store i64 1, i64* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %34 = add i64 %2, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %36)\n store i64 0, i64* %35, align 8\n %38 = add i64 %2, 32\n %39 = inttoptr i64 %38 to i32*\n store i32 0, i32* %39, align 4\n %40 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %40\n\n uselistorder i32 %5, { 1, 2, 0 }\n uselistorder i64 %2, { 4, 5, 7, 6, 3, 1, 2, 0 }\n uselistorder i32* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "security_fips_decrypt_18974", "fun_name": "security_fips_decrypt", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %0, i64 %1, i64 %arg2, i64 %1, i64* nonnull %sv_0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n %. = zext i1 %5 to i64\n ret i64 %.\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fsl_qspi_unprep_4718", "fun_name": "fsl_qspi_unprep", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_emit_qmp_eject_event_10787", "fun_name": "bdrv_emit_qmp_eject_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = urem i64 %arg2, 256\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %1, i64 %2)\n %4 = call i64 @FUNC(i64 1, i64 %3)\n %5 = call i64 @FUNC(i64 %3)\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "omap_i2c_init_1426", "fun_name": "omap_i2c_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp slt i32 %10, 2\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = add i64 %2, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %18 = add i64 %2, 12\n %19 = call i64 @FUNC(i64 %0, i64 %18)\n %20 = add i64 %2, 16\n %21 = call i64 @FUNC(i64 %0, i64 %20)\n %22 = add i64 %2, 20\n %23 = call i64 @FUNC(i64 %0, i64 %22)\n %24 = load i32, i32* %9, align 4\n %25 = icmp sgt i32 %24, 1\n %. = select i1 %25, i64 4096, i64 2048\n %26 = call i64 @FUNC(i64 %2)\n %27 = add i64 %2, 24\n %28 = call i64 @FUNC(i64 %27, i64 %26, i64* nonnull @gv_2, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %.)\n %29 = call i64 @FUNC(i64 %0, i64 %27)\n %30 = call i64 @FUNC(i64 %1, i64 0)\n %31 = add i64 %2, 32\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 0, 1, 2, 3, 6, 5, 4, 7, 8, 9 }\n uselistorder i64 %0, { 0, 3, 2, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @sysbus_init_irq, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i8*)* @error_report, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Reduce_8676", "fun_name": "Reduce", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n %. = select i1 %4, i64 16, i64 8\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %5 = mul i64 %storemerge2.reload, 8\n %6 = add i64 %5, %arg2\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %arg1, i64 %8)\n br label LBL_3\n LBL_3:\n %11 = add nuw nsw i64 %storemerge2.reload, 1\n %12 = icmp ult i64 %11, %.\n store i64 %11, i64* %storemerge2.reg2mem\n br i1 %12, label LBL_1, label LBL_4\n LBL_4:\n %13 = add i64 %arg2, 128\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %arg1, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp ugt i64 %15, %18\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %21 = add i64 %arg2, 136\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n store i64 %15, i64* %.reg2mem\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = add i64 %arg1, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %27, 1\n store i64 %28, i64* %26, align 8\n %.pre = load i64, i64* %14, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %29 = add i64 %arg1, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = icmp ult i64 %.reload, %31\n %33 = icmp eq i1 %32, false\n store i64 %31, i64* %rax.0.reg2mem\n br i1 %33, label LBL_10, label LBL_9\n LBL_9:\n store i64 %.reload, i64* %30, align 8\n store i64 %arg1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 %arg2, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 4, 2, 5 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "MqttClient_GetProtocolVersion_1", "fun_name": "MqttClient_GetProtocolVersion", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n ret i64 4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_index_3818", "fun_name": "setup_index", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = load i64, i64* @gv_0, align 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %4 to i64*\n store i64 %9, i64* %10, align 8\n %11 = load i64, i64* @gv_0, align 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %4, i64* %12, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_bitmap_695", "fun_name": "get_bitmap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %arg3, 63\n %2 = udiv i64 %1, 64\n %3 = icmp ult i64 %1, 64\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %4 = call i64 @FUNC(i64 %0)\n %5 = add i32 %storemerge2.reload, 1\n %6 = sext i32 %storemerge2.reload to i64\n %7 = mul i64 %6, 8\n %8 = add i64 %7, %arg2\n %9 = inttoptr i64 %8 to i64*\n store i64 %4, i64* %9, align 8\n %10 = sext i32 %5 to i64\n %11 = icmp ugt i64 %2, %10\n store i32 %5, i32* %storemerge2.reg2mem\n br i1 %11, label LBL_1, label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i32 %storemerge2.reload, { 1, 0 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compute_mask_1140", "fun_name": "compute_mask", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge8.reg2mem = alloca i32\n %.reg2mem20 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge49.reg2mem = alloca i32\n %.reg2mem18 = alloca i64\n %storemerge310.reg2mem = alloca i32\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i64\n %storemerge511.reg2mem = alloca i32\n %.reg2mem12 = alloca i64\n %.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i32\n %1 = mul i32 %0, 8\n %2 = or i32 %1, 4\n store i64 0, i64* %sv_3, align 8\n %3 = sext i32 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n store i64 %4, i64* %sv_2, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_1, label LBL_11\n LBL_1:\n %7 = call i64 @FUNC(i64 %3)\n store i64 %7, i64* %sv_1, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_11\n LBL_2:\n %10 = mul i64 %arg1, 8589934592\n %sext2 = ashr exact i64 %10, 32\n %11 = or i64 %sext2, 1\n %12 = call i64 @FUNC(i64 %11, i64 8)\n store i64 %12, i64* %sv_3, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_3, label LBL_11\n LBL_3:\n %15 = mul i64 %arg1, 2\n %16 = and i64 %15, 4294967294\n store i64 %12, i64* %.reg2mem\n store i64 0, i64* %.reg2mem12\n store i32 0, i32* %storemerge511.reg2mem\n br label LBL_4\n LBL_4:\n %.reload13 = load i64, i64* %.reg2mem12\n %.reload = load i64, i64* %.reg2mem\n %17 = mul i64 %.reload13, 8\n %18 = add i64 %17, %.reload\n %19 = call i64 @FUNC(i64 %3)\n %20 = inttoptr i64 %18 to i64*\n store i64 %19, i64* %20, align 8\n %21 = load i64, i64* %sv_3, align 8\n %22 = add i64 %21, %17\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_5, label LBL_11\n LBL_5:\n %storemerge511.reload = load i32, i32* %storemerge511.reg2mem\n %27 = add i32 %storemerge511.reload, 1\n %28 = sext i32 %27 to i64\n %29 = icmp slt i64 %16, %28\n store i64 %21, i64* %.reg2mem\n store i64 %28, i64* %.reg2mem12\n store i32 %27, i32* %storemerge511.reg2mem\n br i1 %29, label LBL_6, label LBL_4\n LBL_6:\n %30 = load i64, i64* %sv_2, align 8\n %31 = icmp eq i64 %16, 0\n store i64 %30, i64* %.reg2mem14\n store i64 0, i64* %.reg2mem16\n store i32 0, i32* %storemerge310.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge310.reload = load i32, i32* %storemerge310.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload15 = load i64, i64* %.reg2mem14\n %32 = inttoptr i64 %.reload15 to i64*\n %33 = call i64* @memset(i64* %32, i32 0, i32 %2)\n %34 = load i64, i64* %sv_2, align 8\n %35 = mul i64 %.reload17, 4\n %36 = add i64 %34, %35\n %37 = inttoptr i64 %36 to i32*\n store i32 1, i32* %37, align 4\n store i64 0, i64* %.reg2mem18\n store i32 0, i32* %storemerge49.reg2mem\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %storemerge49.reload = load i32, i32* %storemerge49.reg2mem\n %.reload19 = load i64, i64* %.reg2mem18\n %38 = load i64, i64* %sv_2, align 8\n %39 = load i64, i64* %sv_3, align 8\n %40 = mul i64 %.reload19, 8\n %41 = add i64 %39, %40\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = load i64, i64* %sv_1, align 8\n %45 = call i64 @FUNC(i64 %44, i64 %43, i64 %38, i64 %16)\n %46 = load i64, i64* %sv_2, align 8\n %47 = load i64, i64* %sv_3, align 8\n %48 = add i64 %47, %40\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = inttoptr i64 %50 to i64*\n %52 = inttoptr i64 %46 to i64*\n %53 = call i64* @memcpy(i64* %51, i64* %52, i32 %2)\n %54 = load i64, i64* %sv_1, align 8\n %55 = load i64, i64* %sv_3, align 8\n %56 = or i64 %40, 8\n %57 = add i64 %55, %56\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = load i64, i64* %sv_2, align 8\n %61 = call i64 @FUNC(i64 %60, i64 %59, i64 %54, i64 %16)\n %62 = load i64, i64* %sv_1, align 8\n %63 = load i64, i64* %sv_3, align 8\n %64 = add i64 %63, %56\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = inttoptr i64 %66 to i64*\n %68 = inttoptr i64 %62 to i64*\n %69 = call i64* @memcpy(i64* %67, i64* %68, i32 %2)\n %70 = add i32 %storemerge49.reload, 2\n %71 = sext i32 %70 to i64\n %72 = icmp sgt i64 %16, %71\n store i64 %71, i64* %.reg2mem18\n store i32 %70, i32* %storemerge49.reg2mem\n br i1 %72, label LBL_8, label LBL_9\n LBL_9:\n %73 = add i32 %storemerge310.reload, 1\n %74 = sext i32 %73 to i64\n %75 = icmp slt i64 %16, %74\n %76 = load i64, i64* %sv_2, align 8\n store i64 %76, i64* %.reg2mem14\n store i64 %74, i64* %.reg2mem16\n store i32 %73, i32* %storemerge310.reg2mem\n br i1 %75, label LBL_10, label LBL_7\n LBL_10:\n %77 = inttoptr i64 %arg2 to i64*\n %78 = inttoptr i64 %76 to i64*\n %79 = call i64* @memcpy(i64* %77, i64* %78, i32 %2)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %80 = call i64 @FUNC(i64* nonnull %sv_2)\n %81 = call i64 @FUNC(i64* nonnull %sv_1)\n %82 = mul i64 %arg1, 2\n %83 = and i64 %82, 4294967294\n %84 = load i64, i64* %sv_3, align 8\n %85 = icmp eq i64 %84, 0\n store i64 %84, i64* %.reg2mem20\n store i32 0, i32* %storemerge8.reg2mem\n br i1 %85, label LBL_14, label LBL_13\n LBL_12:\n %.reload21 = load i64, i64* %.reg2mem20\n %86 = mul i64 %93, 8\n %87 = add i64 %86, %.reload21\n %88 = inttoptr i64 %87 to i64*\n %89 = call i64 @FUNC(i64* %88)\n %90 = add i32 %storemerge8.reload, 1\n %91 = load i64, i64* %sv_3, align 8\n %92 = icmp eq i64 %91, 0\n store i64 %91, i64* %.reg2mem20\n store i32 %90, i32* %storemerge8.reg2mem\n br i1 %92, label LBL_14, label LBL_13\n LBL_13:\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %93 = sext i32 %storemerge8.reload to i64\n %94 = icmp slt i64 %83, %93\n br i1 %94, label LBL_14, label LBL_12\n LBL_14:\n %95 = call i64 @FUNC(i64* nonnull %sv_3)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %93, { 1, 0 }\n uselistorder i32 %storemerge8.reload, { 1, 0 }\n uselistorder i64 %76, { 1, 0 }\n uselistorder i64 %40, { 0, 2, 1 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %16, { 4, 2, 1, 3, 0, 5 }\n uselistorder i32 %2, { 2, 4, 3, 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i64* %sv_2, { 1, 2, 3, 4, 5, 6, 0, 7 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem12, { 1, 0, 2 }\n uselistorder i32* %storemerge511.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem14, { 1, 0, 2 }\n uselistorder i64* %.reg2mem16, { 1, 0, 2 }\n uselistorder i32* %storemerge310.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem18, { 2, 0, 1 }\n uselistorder i32* %storemerge49.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64* %.reg2mem20, { 2, 0, 1 }\n uselistorder i32* %storemerge8.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*)* @av_freep, { 2, 3, 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64)* @add_mask_counter, { 1, 0 }\n uselistorder i64 4294967294, { 1, 0 }\n uselistorder i64 8, { 0, 3, 1, 2, 4 }\n uselistorder i64 (i64)* @av_mallocz, { 3, 2, 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "GENERAL_NAME_cmp_5711", "fun_name": "GENERAL_NAME_cmp", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp ne i32* %arg1, null\n %4 = icmp ne i64* %arg2, null\n %5 = trunc i64 %1 to i32\n %or.cond.not = icmp eq i1 %3, %4\n %6 = trunc i64 %2 to i32\n %7 = icmp eq i32 %5, %6\n %or.cond4 = icmp eq i1 %or.cond.not, %7\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %or.cond4, label LBL_1, label LBL_10\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = and i64 %1, 4294967295\n store i64 %9, i64* @0, align 8\n store i64 4294967295, i64* %sv_0.0.reg2mem\n switch i32 %5, label LBL_9 [\n i32 1, label LBL_2\n i32 2, label LBL_3\n i32 3, label LBL_4\n i32 4, label LBL_5\n i32 5, label LBL_5\n i32 6, label LBL_5\n i32 7, label LBL_6\n i32 8, label LBL_7\n i32 9, label LBL_8\n ]\n LBL_2:\n %10 = add i64 %8, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = ptrtoint i32* %arg1 to i64\n %14 = add i64 %13, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16, i64 %12)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_3:\n %18 = add i64 %8, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = ptrtoint i32* %arg1 to i64\n %22 = add i64 %21, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24, i64 %20)\n store i64 %25, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_4:\n %26 = add i64 %8, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = ptrtoint i32* %arg1 to i64\n %30 = add i64 %29, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i64 %28)\n store i64 %33, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_5:\n %34 = add i64 %8, 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = ptrtoint i32* %arg1 to i64\n %38 = add i64 %37, 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40, i64 %36)\n store i64 %41, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %42 = add i64 %8, 8\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = ptrtoint i32* %arg1 to i64\n %46 = add i64 %45, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48, i64 %44)\n store i64 %49, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %50 = add i64 %8, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = ptrtoint i32* %arg1 to i64\n %54 = add i64 %53, 8\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56, i64 %52)\n store i64 %57, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %58 = add i64 %8, 8\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = ptrtoint i32* %arg1 to i64\n %62 = add i64 %61, 8\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = call i64 @FUNC(i64 %64, i64 %60)\n store i64 %65, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %66 = and i64 %sv_0.0.reload, 4294967295\n store i64 %66, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i32* %arg1, { 6, 5, 4, 3, 2, 1, 0, 7 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_log_stop_2622", "fun_name": "kvm_log_stop", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0, i64 1)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zip_get_local_file_header_size_8473", "fun_name": "zip_get_local_file_header_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %arg2, 30\n %2 = call i64 @FUNC(i64 %0, i64 %1, i64 0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i64 4294967294, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %6 = add i64 %2, %arg2\n %7 = inttoptr i64 %6 to i64*\n %8 = call i32 @memcmp(i64* %7, i64* nonnull @gv_1, i32 4)\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %0, i64 4294967295, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %11 = add i64 %6, 26\n %12 = call i64 @FUNC(i64 %11, i64 ptrtoint (i64* @gv_1 to i64), i64 4)\n %13 = add i64 %6, 28\n %14 = call i64 @FUNC(i64 %13, i64 ptrtoint (i64* @gv_1 to i64), i64 4)\n %15 = urem i64 %12, 65536\n %16 = urem i64 %14, 65536\n %17 = add nuw nsw i64 %15, 30\n %18 = add nuw nsw i64 %17, %16\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @archive_le16dec, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 1, 0 }\n uselistorder i64* @gv_1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 3, 0, 2 }\n uselistorder i64 (i64, i64, i8*)* @archive_set_error, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "close_htab_fd_1153", "fun_name": "close_htab_fd", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i32 @close(i32 %2)\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i32* %arg1 to i64\n store i32 -1, i32* %arg1, align 4\n ret i64 %5\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_token_out_14208", "fun_name": "do_token_out", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n switch i32 %7, label LBL_9 [\n i32 0, label LBL_2\n i32 1, label LBL_4\n ]\n LBL_2:\n %8 = add i64 %2, 12\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp slt i8 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_9, label LBL_3\n LBL_3:\n store i32 2, i32* %6, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %13 = add i64 %2, 12\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp slt i8 %15, 0\n br i1 %16, label LBL_8, label LBL_5\n LBL_5:\n %17 = ptrtoint i64* %arg2 to i64\n %18 = add i64 %2, 20\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %2, 24\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = sub i32 %20, %23\n %25 = add i64 %17, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %27 to i64\n %29 = sext i32 %24 to i64\n %30 = icmp sgt i64 %29, %28\n %spec.select = select i1 %30, i32 %27, i32 %24\n %31 = add i64 %17, 8\n %32 = add i64 %2, 28\n %33 = sext i32 %23 to i64\n %34 = add i64 %32, %33\n %35 = inttoptr i64 %34 to i64*\n %36 = inttoptr i64 %31 to i64*\n %37 = call i64* @memcpy(i64* %35, i64* %36, i32 %spec.select)\n %38 = load i32, i32* %22, align 4\n %39 = add i32 %spec.select, %38\n store i32 %39, i32* %22, align 4\n %40 = load i32, i32* %19, align 4\n %41 = icmp ult i32 %39, %40\n br i1 %41, label LBL_7, label LBL_6\n LBL_6:\n store i32 0, i32* %6, align 4\n br label LBL_7\n LBL_7:\n %42 = zext i32 %spec.select to i64\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n store i32 2, i32* %6, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %spec.select, { 2, 0, 1 }\n uselistorder i32* %22, { 1, 0, 2 }\n uselistorder i32* %6, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 1, 4, 3, 2, 5, 6, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 3, 2, 1, 4 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_9, { 4, 5, 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_string_binary_3725", "fun_name": "set_string_binary", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %sv_1.0.in6.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg4 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = inttoptr i64 %arg3 to i8*\n %4 = call i32 @strlen(i8* %3)\n %5 = call i64 @FUNC(i64 %0)\n store i32 0, i32* %2, align 4\n %6 = urem i32 %4, 2\n %7 = icmp eq i32 %6, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_7\n LBL_1:\n %8 = icmp slt i32 %4, 0\n %9 = zext i1 %8 to i32\n %10 = add i32 %4, %9\n %11 = ashr i32 %10, 1\n %12 = sext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_7\n LBL_2:\n %16 = load i8, i8* %3, align 1\n %17 = icmp eq i8 %16, 0\n %18 = icmp eq i1 %17, false\n store i8 %16, i8* %.reg2mem\n store i64 %13, i64* %sv_1.0.in6.reg2mem\n store i64 %arg3, i64* %sv_0.05.reg2mem\n br i1 %18, label LBL_3, label LBL_6\n LBL_3:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %19 = add i64 %sv_0.05.reload, 1\n %20 = sext i8 %.reload to i64\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = inttoptr i64 %19 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = sext i8 %25 to i64\n %27 = and i64 %26, 4294967295\n %28 = call i64 @FUNC(i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp sgt i32 %23, -1\n %31 = icmp slt i32 %29, 0\n %32 = icmp eq i1 %31, false\n %or.cond = icmp eq i1 %30, %32\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %33 = call i64 @FUNC(i64 %13)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %sv_1.0.in6.reload = load i64, i64* %sv_1.0.in6.reg2mem\n %sv_1.07 = inttoptr i64 %sv_1.0.in6.reload to i8*\n %34 = add i64 %sv_0.05.reload, 2\n %35 = mul i32 %23, 16\n %36 = or i32 %35, %29\n %37 = add i64 %sv_1.0.in6.reload, 1\n %38 = trunc i32 %36 to i8\n store i8 %38, i8* %sv_1.07, align 1\n %39 = inttoptr i64 %34 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = icmp eq i8 %40, 0\n %42 = icmp eq i1 %41, false\n store i8 %40, i8* %.reg2mem\n store i64 %37, i64* %sv_1.0.in6.reg2mem\n store i64 %34, i64* %sv_0.05.reg2mem\n br i1 %42, label LBL_3, label LBL_6\n LBL_6:\n store i64 %13, i64* %arg4, align 8\n store i32 %11, i32* %2, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %13, { 1, 2, 0, 3 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.in6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64)* @hexchar2int, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder label LBL_7, { 3, 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wolfSSL_X509_STORE_CTX_set_time_3861", "fun_name": "wolfSSL_X509_STORE_CTX_set_time", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %arg3, i64* %arg1, align 8\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = or i64 %4, 1\n store i64 %5, i64* %3, align 8\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iothread_complete_215", "fun_name": "iothread_complete", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %0 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 -1, i32* %3, align 4\n %4 = call i64 @FUNC(i64* nonnull %sv_0)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = icmp eq i64 %4, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = load i64, i64* %sv_0, align 8\n %11 = call i64 @FUNC(i64 %9, i64 %10)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %12 = add i64 %0, 24\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 64\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %0, 16\n %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 4198909, i64 %0, i64 1)\n %18 = call i64 @FUNC(i64 %12)\n %19 = load i32, i32* %3, align 4\n %20 = icmp eq i32 %19, -1\n br i1 %20, label LBL_3, label LBL_4\n LBL_3:\n %21 = call i64 @FUNC(i64 %14, i64 %12)\n %22 = load i32, i32* %3, align 4\n %23 = icmp eq i32 %22, -1\n br i1 %23, label LBL_3, label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %12)\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %12, { 1, 0, 2, 3 }\n uselistorder i32* %3, { 1, 0, 2 }\n uselistorder i64 %0, { 3, 2, 1, 0, 4, 5, 6 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "etm_event_init_9426", "fun_name": "etm_event_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %4 = icmp eq i32 %3, %2\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 4198709, i64* %11, align 8\n store i64 %6, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %12 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %12\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "impeg2d_get_slice_pos_7847", "fun_name": "impeg2d_get_slice_pos", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i32\n %rdi.1.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_1.010.reg2mem = alloca i32\n %sv_0.011.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %2 = load i32, i32* %0\n %sv_5 = alloca i32, align 4\n %3 = add i64 %1, 48\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %1, 40\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = trunc i64 %8 to i32\n store i32 %9, i32* %sv_5, align 4\n %10 = add i64 %1, 56\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %1, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %14, 56\n %16 = inttoptr i64 %15 to i32*\n store i32 -1, i32* %16, align 4\n %17 = add i64 %1, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %19, 56\n %21 = inttoptr i64 %20 to i32*\n store i32 -1, i32* %21, align 4\n %22 = add i64 %1, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %24, 56\n %26 = inttoptr i64 %25 to i32*\n store i32 -1, i32* %26, align 4\n %27 = inttoptr i64 %12 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %1, 60\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = load i64, i64* %13, align 8\n %32 = add i64 %31, 60\n %33 = inttoptr i64 %32 to i32*\n store i32 -1, i32* %33, align 4\n %34 = load i64, i64* %18, align 8\n %35 = add i64 %34, 60\n %36 = inttoptr i64 %35 to i32*\n store i32 -1, i32* %36, align 4\n %37 = load i64, i64* %23, align 8\n %38 = add i64 %37, 60\n %39 = inttoptr i64 %38 to i32*\n store i32 -1, i32* %39, align 4\n %40 = add i64 %1, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 1\n %44 = icmp eq i1 %43, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %44, label LBL_1, label LBL_21\n LBL_1:\n %45 = call i64 @FUNC(i64 %1)\n %46 = load i32, i32* %sv_5, align 4\n %47 = add i32 %46, 4\n %48 = icmp ult i32 %47, %2\n store i32 -1, i32* %sv_0.0.lcssa.reg2mem\n store i64 %1, i64* %rdi.1.reg2mem\n br i1 %48, label LBL_2, label LBL_13\n LBL_2:\n %49 = ptrtoint i32* %sv_5 to i64\n %50 = bitcast i32* %sv_5 to i64*\n store i32 -1, i32* %sv_0.011.reg2mem\n store i32 -1, i32* %sv_1.010.reg2mem\n br label LBL_4\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %51 = add i32 %.reload, 4\n %52 = icmp ult i32 %51, %2\n store i32 %sv_0.1.reload, i32* %sv_0.011.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.010.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.lcssa.reg2mem\n store i64 %49, i64* %rdi.1.reg2mem\n br i1 %52, label LBL_4, label LBL_13\n LBL_4:\n %sv_0.011.reload = load i32, i32* %sv_0.011.reg2mem\n %53 = call i64 @FUNC(i64* nonnull %50, i64 4)\n %54 = trunc i64 %53 to i32\n %55 = urem i32 %54, 256\n %.mask3 = and i64 %53, 4294967040\n %56 = icmp eq i64 %.mask3, 256\n %57 = icmp eq i1 %56, false\n %58 = icmp eq i32 %55, 0\n %or.cond = or i1 %57, %58\n store i32 %sv_0.011.reload, i32* %sv_0.0.lcssa.reg2mem\n store i64 %49, i64* %rdi.1.reg2mem\n br i1 %or.cond, label LBL_13, label LBL_5\n LBL_5:\n %59 = load i32, i32* %27, align 4\n %60 = icmp ugt i32 %55, %59\n store i32 %sv_0.011.reload, i32* %sv_0.0.lcssa.reg2mem\n store i64 %49, i64* %rdi.1.reg2mem\n br i1 %60, label LBL_13, label LBL_6\n LBL_6:\n %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem\n %61 = add nsw i32 %55, -1\n %62 = icmp eq i32 %sv_1.010.reload, %61\n store i32 %sv_1.010.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.011.reload, i32* %sv_0.1.reg2mem\n br i1 %62, label LBL_9, label LBL_7\n LBL_7:\n %63 = icmp eq i32 %sv_0.011.reload, -1\n store i32 %61, i32* %sv_1.1.reg2mem\n store i32 %61, i32* %sv_0.1.reg2mem\n br i1 %63, label LBL_9, label LBL_8\n LBL_8:\n store i32 %sv_0.011.reload, i32* %sv_4, align 4\n %64 = call i64 @FUNC(i64 %49, i32* nonnull %sv_4, i64 16, i64 1, i64 0)\n %65 = trunc i64 %64 to i32\n %66 = icmp eq i32 %65, 0\n store i32 %61, i32* %sv_1.1.reg2mem\n store i32 %61, i32* %sv_0.1.reg2mem\n store i64 %64, i64* %rax.0.shrunk.reg2mem\n br i1 %66, label LBL_9, label LBL_21\n LBL_9:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %67 = call i64 @FUNC(i64* nonnull %50, i64 4)\n br label LBL_11\n LBL_10:\n %68 = call i64 @FUNC(i64* nonnull %50, i64 8)\n %69 = load i32, i32* %sv_5, align 4\n %70 = icmp ult i32 %69, %2\n store i32 %69, i32* %.reg2mem\n br i1 %70, label LBL_11, label LBL_3\n LBL_11:\n %71 = call i64 @FUNC(i64* nonnull %50, i64 24)\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 1\n %74 = icmp eq i1 %73, false\n br i1 %74, label LBL_10, label LBL_11.LBL_3_crit_edge\n LBL_12:\n %.pre = load i32, i32* %sv_5, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_13:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_3, align 4\n %75 = call i64 @FUNC(i64 %rdi.1.reload, i32* nonnull %sv_3, i64 16, i64 1, i64 0)\n %76 = trunc i64 %75 to i32\n %77 = icmp eq i32 %76, 0\n store i64 %75, i64* %rax.0.shrunk.reg2mem\n br i1 %77, label LBL_14, label LBL_21\n LBL_14:\n %78 = load i64, i64* %23, align 8\n %79 = icmp eq i64 %78, 0\n br i1 %79, label LBL_20, label LBL_15\n LBL_15:\n %80 = add i64 %1, 32\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = icmp eq i32 %82, 0\n br i1 %83, label LBL_17, label LBL_16\n LBL_16:\n %84 = add i64 %1, 36\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = icmp eq i32 %86, 1\n br i1 %87, label LBL_20, label LBL_17\n LBL_17:\n %88 = inttoptr i64 %17 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = icmp eq i32 %89, 0\n store i32 0, i32* %storemerge9.reg2mem\n br i1 %90, label LBL_20, label LBL_18\n LBL_18:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %91 = ashr exact i32 %storemerge9.reload, 4\n store i32 %91, i32* %sv_2, align 4\n %92 = call i64 @FUNC(i64 %rdi.1.reload, i32* nonnull %sv_2, i64 16, i64 1, i64 0)\n %93 = trunc i64 %92 to i32\n %94 = icmp eq i32 %93, 0\n store i64 %92, i64* %rax.0.shrunk.reg2mem\n br i1 %94, label LBL_19, label LBL_21\n LBL_19:\n %95 = add i32 %storemerge9.reload, 64\n %96 = load i32, i32* %88, align 4\n %97 = zext i32 %96 to i64\n %98 = sext i32 %95 to i64\n %99 = icmp slt i64 %98, %97\n store i32 %95, i32* %storemerge9.reg2mem\n br i1 %99, label LBL_18, label LBL_20\n LBL_20:\n %100 = trunc i64 %5 to i32\n %101 = call i64 @FUNC(i64 %rdi.1.reload)\n %102 = load i32, i32* %sv_5, align 4\n %103 = ashr i32 %102, 3\n %104 = add i64 %1, 20\n %105 = inttoptr i64 %104 to i32*\n %106 = urem i32 %100, 4\n %107 = sub nsw i32 %103, %106\n store i32 %107, i32* %105, align 4\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32* %88, { 1, 0 }\n uselistorder i64 %rdi.1.reload, { 1, 2, 0 }\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %61, { 1, 3, 0, 2, 4 }\n uselistorder i32 %55, { 1, 2, 0 }\n uselistorder i32 %sv_0.011.reload, { 4, 3, 2, 1, 0 }\n uselistorder i64* %50, { 1, 0, 2, 3 }\n uselistorder i64 %49, { 3, 1, 0, 2 }\n uselistorder i32* %sv_5, { 5, 0, 4, 6, 3, 1, 2 }\n uselistorder i64 %1, { 1, 3, 2, 0, 4, 5, 6, 7, 8, 9, 10, 12, 11 }\n uselistorder i32* %.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rdi.1.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i32* %storemerge9.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 2, 3, 1, 4 }\n uselistorder i64 (i64, i32*, i64, i64, i64)* @impeg2_jobq_queue, { 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @impeg2d_bit_stream_nxt, { 1, 0 }\n uselistorder i32 4, { 0, 3, 2, 1 }\n uselistorder i32 -1, { 3, 4, 1, 2, 0, 5, 6, 7, 8, 9, 10 }\n uselistorder i32 0, { 3, 0, 1, 4, 5, 6, 2, 7 }\n uselistorder label LBL_21, { 4, 1, 2, 0, 3 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_13, { 1, 2, 0, 3 }\n uselistorder label LBL_9, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_rtc_time_5354", "fun_name": "get_rtc_time", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %sv_0.0.in.reg2mem = alloca i64\n %sv_1 = alloca i128, align 8\n %0 = call i64* @memset(i64* %arg1, i32 0, i32 24)\n %1 = bitcast i128* %sv_1 to i64*\n %2 = call i64 @FUNC(i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 3, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_8\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = load i128, i128* %sv_1, align 8\n %8 = trunc i128 %7 to i64\n %9 = lshr i64 %8, 63\n %10 = ashr i64 %8, 63\n %11 = and i64 %10, -86400\n %12 = add i64 %11, %8\n %13 = ashr i64 %12, 63\n %14 = and i64 %13, -3600\n %15 = add i64 %14, %12\n %16 = lshr i64 %15, 63\n %17 = trunc i64 %16 to i32\n %18 = add i64 %6, 16\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = ashr i64 %15, 63\n %21 = and i64 %20, 4294967236\n %22 = add i64 %21, %15\n %23 = trunc i64 %22 to i32\n %24 = add i64 %6, 20\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n store i64 %9, i64* %sv_0.0.in.reg2mem\n store i32 1970, i32* %storemerge7.reg2mem\n br label LBL_3\n LBL_2:\n %26 = lshr i64 %sv_0.0.in.reload, 63\n %27 = sext i32 %storemerge7.reload to i64\n %28 = add nsw i64 %26, %27\n %29 = ashr i64 %sv_0.0.in.reload, 63\n %30 = and i64 %29, -365\n %31 = add i64 %30, %sv_0.0.in.reload\n %.neg9 = ashr i64 %31, 63\n %32 = add nsw i64 %28, %.neg9\n %33 = sub nsw i64 %32, %27\n %34 = add nsw i64 %32, 4294967295\n %35 = and i64 %34, 4294967295\n %36 = call i64 @FUNC(i64 %35)\n %sext5 = mul i64 %36, 4294967296\n %37 = ashr exact i64 %sext5, 32\n %38 = add i32 %storemerge7.reload, -1\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39)\n %sext6 = mul i64 %40, 4294967296\n %41 = ashr exact i64 %sext6, 32\n %.neg10 = mul nsw i64 %33, -365\n %.neg12 = add i64 %.neg10, %sv_0.0.in.reload\n %42 = sub i64 %.neg12, %37\n %43 = add i64 %42, %41\n %44 = trunc i64 %32 to i32\n store i64 %43, i64* %sv_0.0.in.reg2mem\n store i32 %44, i32* %storemerge7.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %45 = icmp slt i64 %sv_0.0.in.reload, 0\n br i1 %45, label LBL_2, label LBL_4\n LBL_4:\n %46 = zext i32 %storemerge7.reload to i64\n %47 = call i64 @FUNC(i64 %46)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n %. = select i1 %49, i64 365, i64 366\n %50 = icmp sgt i64 %., %sv_0.0.in.reload\n br i1 %50, label LBL_5, label LBL_2\n LBL_5:\n %51 = add i32 %storemerge7.reload, -1900\n %52 = bitcast i64* %arg1 to i32*\n store i32 %51, i32* %52, align 4\n %53 = call i64 @FUNC(i64 %46)\n %sext = mul i64 %53, 4294967296\n %54 = ashr exact i64 %sext, 29\n %55 = add i64 %54, ptrtoint (i64* @gv_0 to i64)\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n store i32 11, i32* %storemerge4.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %58 = sext i32 %storemerge4.reload to i64\n %59 = mul i64 %58, 2\n %60 = add i64 %59, %57\n %61 = inttoptr i64 %60 to i16*\n %62 = load i16, i16* %61, align 2\n %63 = zext i16 %62 to i64\n %64 = icmp slt i64 %sv_0.0.in.reload, %63\n %65 = add i32 %storemerge4.reload, -1\n store i32 %65, i32* %storemerge4.reg2mem\n br i1 %64, label LBL_6, label LBL_7\n LBL_7:\n %66 = zext i16 %62 to i32\n %67 = trunc i64 %sv_0.0.in.reload to i32\n %68 = add i64 %6, 4\n %69 = inttoptr i64 %68 to i32*\n store i32 %storemerge4.reload, i32* %69, align 4\n %70 = add i32 %67, 1\n %71 = sub i32 %70, %66\n %72 = add i64 %6, 8\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge4.reload, { 2, 1, 0 }\n uselistorder i64 %sv_0.0.in.reload, { 5, 4, 1, 0, 6, 7, 2, 3 }\n uselistorder i32 %storemerge7.reload, { 3, 0, 1, 2 }\n uselistorder i64 %32, { 1, 2, 0 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %15, { 2, 0, 1 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %8, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64)* @__isleap, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 4294967296, { 0, 1, 2, 5, 3, 6, 4 }\n uselistorder i64 (i64)* @LEAPS_THRU_END_OF, { 1, 0 }\n uselistorder i64 -365, { 1, 0 }\n uselistorder i64 63, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i32 0, { 3, 4, 1, 2, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_grackle_class_init_1255", "fun_name": "pci_grackle_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 4198662, i64* %arg1, align 8\n %4 = inttoptr i64 %3 to i8*\n store i8 1, i8* %4, align 1\n ret i64 %3\n\n uselistorder i64 %3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "close_connection_5850", "fun_name": "close_connection", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = add i64 %0, 16\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %0)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readBytes_6924", "fun_name": "readBytes", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = icmp eq i32 %0, 0\n %3 = icmp slt i32 %0, 0\n %4 = icmp eq i1 %3, false\n %5 = icmp eq i1 %2, false\n %6 = icmp eq i1 %4, %5\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i64 %7)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %9 = trunc i64 %sv_0.0.reload to i32\n %10 = call i64* @malloc(i32 %9)\n %11 = ptrtoint i64* %10 to i64\n %12 = icmp sgt i32 %9, 0\n br i1 %12, label LBL_3, label LBL_5\n LBL_3:\n %wide.trip.count = and i64 %sv_0.0.reload, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %13 = call i64 @FUNC(i64 %arg1)\n %14 = add i64 %indvars.iv.reload, %11\n %15 = trunc i64 %13 to i8\n %16 = inttoptr i64 %14 to i8*\n store i8 %15, i8* %16, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n ret i64 %11\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "monitor_fdset_dup_fd_remove_1158", "fun_name": "monitor_fdset_dup_fd_remove", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0, i64 1)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "deleteExpiredKeyAndPropagate_204", "fun_name": "deleteExpiredKeyAndPropagate", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i64 %3)\n %5 = load i32, i32* @gv_0, align 4\n %6 = ptrtoint i32* %arg2 to i64\n %7 = call i64 @FUNC(i64 %2, i64 %6, i32 %5, i64 1)\n %8 = call i64 @FUNC(i64 %3)\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %3)\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %6, i64 %10)\n %12 = call i64 @FUNC(i64 0, i64 %2, i64 %6)\n %13 = load i32, i32* @gv_0, align 4\n %14 = call i64 @FUNC(i64 %2, i64 %6, i32 %13)\n store i32 ptrtoint (i32* @gv_3 to i32), i32* bitcast (i64* @gv_4 to i32*), align 8\n ret i64 ptrtoint (i32* @gv_3 to i64)\n\n uselistorder i64 %6, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32* @gv_3, { 1, 0 }\n uselistorder i64 0, { 5, 1, 2, 3, 4, 0, 6, 7 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i32* @gv_0, { 2, 1, 0 }\n uselistorder i32 1, { 7, 9, 8, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_cx_9412", "fun_name": "add_cx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = trunc i64 %0 to i32\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n %8 = and i32 %5, 2\n %9 = icmp eq i32 %8, 0\n %. = select i1 %9, i32 3, i32 2\n store i32 %., i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %14, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = sext i32 %19 to i64\n %21 = mul i64 %20, 4\n %22 = add i64 %21, %16\n %23 = inttoptr i64 %22 to i32*\n store i32 %sv_0.0.reload, i32* %23, align 4\n %24 = load i64, i64* %11, align 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %26, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i32 %29, 1\n store i32 %30, i32* %28, align 4\n %31 = load i64, i64* %11, align 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = add i64 %33, 16\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = add i64 %33, 24\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = sext i32 %39 to i64\n %41 = mul i64 %40, 4\n %42 = add i64 %41, %36\n %43 = inttoptr i64 %42 to i32*\n store i32 %sv_0.0.reload, i32* %43, align 4\n %44 = load i64, i64* %11, align 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = add i64 %46, 24\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = add i32 %49, 1\n store i32 %50, i32* %48, align 4\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prpl_xfer_free_7940", "fun_name": "prpl_xfer_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %0)\n store i64 %1, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = inttoptr i64 %4 to i64*\n store i64 0, i64* %6, align 8\n %7 = load i64, i64* %3, align 8\n %8 = call i64 @FUNC(i64 %7)\n br label LBL_2\n LBL_2:\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %11)\n br label LBL_4\n LBL_4:\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 32\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %0, 40\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp slt i32 %24, 0\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i32 @close(i32 %24)\n br label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %0)\n ret i64 %27\n\n uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 7, 6 }\n uselistorder i64 (i64)* @g_free, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mt2063_get_status_3817", "fun_name": "mt2063_get_status", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 2, i64* nonnull @gv_0)\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967277, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %6)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = and i64 %8, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %13 = icmp eq i32 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %7, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__put_net_12348", "fun_name": "__put_net", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 4198710)\n %1 = load i64, i64* @gv_0, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %arg1)\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "snd_hda_query_supported_pcm_7645", "fun_name": "snd_hda_query_supported_pcm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.4.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %sv_2.110.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg5 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = zext i32 %arg2 to i64\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = call i64 @FUNC(i64 %3, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i64* %arg3, null\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_2.110.reg2mem\n br i1 %8, label LBL_7, label LBL_1\n LBL_1:\n %sv_2.110.reload = load i32, i32* %sv_2.110.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %9 = trunc i64 %indvars.iv.reload to i32\n %10 = shl i32 1, %9\n %11 = and i32 %10, %7\n %12 = icmp eq i32 %11, 0\n store i32 %sv_2.110.reload, i32* %sv_2.0.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = mul i64 %indvars.iv.reload, 4\n %14 = add i64 %13, ptrtoint (i32** @gv_0 to i64)\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = or i32 %16, %sv_2.110.reload\n store i32 %17, i32* %sv_2.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.110.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %18 = icmp eq i32 %sv_2.0.reload, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = urem i64 %5, 2\n %21 = and i64 %6, 4294967295\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %21, i64 %20, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_6:\n %23 = bitcast i64* %arg3 to i32*\n store i32 %sv_2.0.reload, i32* %23, align 4\n br label LBL_7\n LBL_7:\n %24 = icmp eq i64* %arg4, null\n %25 = icmp eq i64* %arg5, null\n %or.cond = icmp eq i1 %24, %25\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_23, label LBL_8\n LBL_8:\n %26 = call i64 @FUNC(i64 %3, i64 %4)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %29, label LBL_9, label LBL_23\n LBL_9:\n %30 = urem i32 %27, 2\n %31 = icmp eq i32 %30, 0\n store i64 0, i64* %sv_1.4.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %31, label LBL_17, label LBL_10\n LBL_10:\n %32 = urem i32 %7, 2\n %33 = icmp ne i32 %32, 0\n %spec.select = zext i1 %33 to i64\n %34 = mul i32 %32, 8\n %35 = and i32 %7, 2\n %36 = icmp eq i32 %35, 0\n %37 = zext i32 %35 to i64\n %38 = or i64 %spec.select, %37\n %sv_0.1 = select i1 %36, i32 %34, i32 16\n %39 = and i64 %5, 2\n %40 = icmp eq i64 %39, 0\n br i1 %40, label LBL_13, label LBL_11\n LBL_11:\n %41 = and i64 %6, 16\n %42 = or i64 %38, %41\n %43 = and i32 %7, 12\n %44 = icmp eq i32 %43, 0\n %45 = or i64 %42, 4\n %sv_1.3 = select i1 %44, i64 %42, i64 %45\n %46 = and i32 %7, 8\n %47 = icmp eq i32 %46, 0\n store i64 %sv_1.3, i64* %sv_1.4.reg2mem\n store i32 24, i32* %sv_0.2.reg2mem\n br i1 %47, label LBL_12, label LBL_17\n LBL_12:\n %48 = and i32 %7, 4\n %49 = icmp eq i32 %48, 0\n %spec.select5 = select i1 %49, i32 %sv_0.1, i32 20\n store i64 %sv_1.3, i64* %sv_1.4.reg2mem\n store i32 %spec.select5, i32* %sv_0.2.reg2mem\n br label LBL_17\n LBL_13:\n %50 = and i32 %7, 28\n %51 = icmp eq i32 %50, 0\n store i64 %38, i64* %sv_1.4.reg2mem\n store i32 %sv_0.1, i32* %sv_0.2.reg2mem\n br i1 %51, label LBL_17, label LBL_14\n LBL_14:\n %52 = or i64 %38, 4\n %53 = and i32 %7, 16\n %54 = icmp eq i32 %53, 0\n store i64 %52, i64* %sv_1.4.reg2mem\n store i32 32, i32* %sv_0.2.reg2mem\n br i1 %54, label LBL_15, label LBL_17\n LBL_15:\n %55 = and i32 %7, 8\n %56 = icmp eq i32 %55, 0\n store i64 %52, i64* %sv_1.4.reg2mem\n store i32 24, i32* %sv_0.2.reg2mem\n br i1 %56, label LBL_16, label LBL_17\n LBL_16:\n %57 = and i32 %7, 4\n %58 = icmp eq i32 %57, 0\n %spec.select6 = select i1 %58, i32 %sv_0.1, i32 20\n store i64 %52, i64* %sv_1.4.reg2mem\n store i32 %spec.select6, i32* %sv_0.2.reg2mem\n br label LBL_17\n LBL_17:\n %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem\n %59 = and i32 %27, 2\n %60 = icmp eq i32 %59, 0\n %61 = or i64 %sv_1.4.reload, 8\n %spec.select7 = select i1 %60, i64 %sv_1.4.reload, i64 %61\n %62 = icmp eq i32 %27, 3\n %63 = icmp eq i1 %62, false\n %not.9 = icmp ne i1 %63, true\n %64 = zext i1 %not.9 to i64\n %sv_1.6 = or i64 %spec.select7, %64\n %65 = icmp eq i64 %sv_1.6, 0\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_19, label LBL_18\n LBL_18:\n %67 = urem i64 %5, 2\n %68 = and i64 %26, 4294967295\n %69 = and i64 %6, 4294967295\n %70 = call i64 @FUNC(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %69, i64 %67, i64 %68, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_19:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n br i1 %24, label LBL_21, label LBL_20\n LBL_20:\n store i64 %sv_1.6, i64* %arg4, align 8\n br label LBL_21\n LBL_21:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_23, label LBL_22\n LBL_22:\n %spec.select8 = select i1 %60, i32 %sv_0.2.reload, i32 32\n %sv_0.4 = select i1 %63, i32 %spec.select8, i32 8\n %71 = bitcast i64* %arg5 to i32*\n store i32 %sv_0.4, i32* %71, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.6, { 1, 0 }\n uselistorder i1 %63, { 1, 0 }\n uselistorder i64 %sv_1.4.reload, { 1, 0 }\n uselistorder i64 %42, { 1, 0 }\n uselistorder i32 %sv_0.1, { 1, 0, 2 }\n uselistorder i64 %38, { 2, 0, 1 }\n uselistorder i32 %27, { 1, 2, 0, 3 }\n uselistorder i1 %25, { 1, 0 }\n uselistorder i1 %24, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %sv_2.110.reload, { 1, 0 }\n uselistorder i32 %7, { 7, 6, 5, 8, 3, 2, 4, 9, 0, 1 }\n uselistorder i64 %6, { 1, 0, 2, 3 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %4, { 1, 2, 0, 3, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.110.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.4.reg2mem, { 0, 1, 2, 3, 6, 4, 5, 7 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 1, 2, 3, 6, 4, 5, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 6, 4, 3, 5 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i32 16, { 2, 0, 1 }\n uselistorder i32 8, { 1, 2, 3, 0 }\n uselistorder i32 2, { 2, 3, 0, 1 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @snd_printk, { 1, 0 }\n uselistorder i64 2, { 0, 2, 1 }\n uselistorder i64 1, { 2, 0, 1, 3 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder label LBL_23, { 1, 0, 4, 3, 2, 5 }\n uselistorder label LBL_17, { 0, 2, 3, 5, 1, 4, 6 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rds_ib_add_conn_5337", "fun_name": "rds_ib_add_conn", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = call i64 @FUNC(i64 4210796)\n %3 = call i64 @FUNC(i64 4210752)\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %0)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %0)\n %10 = add i64 %1, 4\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %1, 8\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n %14 = call i64 @FUNC(i64 %10)\n %15 = call i64 @FUNC(i64* nonnull @gv_0)\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i64*\n store i64 %1, i64* %17, align 8\n %18 = call i64 @FUNC(i64 %1)\n ret i64 %18\n\n uselistorder i64 (i64)* @BUG_ON, { 1, 0 }\n uselistorder i64 (i64)* @list_empty, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "h264_init_context_873", "fun_name": "h264_init_context", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %.reg2mem13 = alloca i64\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %indvars.iv10.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = add i64 %0, 264\n %3 = inttoptr i64 %2 to i64*\n store i64 %1, i64* %3, align 8\n %4 = bitcast i64* %rdi to i32*\n %5 = load i32, i32* %4, align 8\n %6 = add i64 %0, 160\n %7 = inttoptr i64 %6 to i32*\n store i32 %5, i32* %7, align 4\n %8 = add i64 %1, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %0, 164\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = add i64 %0, 168\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %1, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %0, 172\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %1, 12\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %0, 176\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %0, 256\n %26 = inttoptr i64 %25 to i32*\n store i32 65536, i32* %26, align 4\n %27 = add i64 %0, 184\n %28 = inttoptr i64 %27 to i32*\n store i32 -1, i32* %28, align 4\n %29 = add i64 %0, 188\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %0, 180\n %32 = inttoptr i64 %31 to i32*\n store i32 -2147483648, i32* %32, align 4\n %33 = add i64 %0, 192\n store i64 0, i64* %indvars.iv10.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %34 = mul i64 %indvars.iv10.reload, 4\n %35 = add i64 %33, %34\n %36 = inttoptr i64 %35 to i32*\n store i32 -2147483648, i32* %36, align 4\n %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next11, 16\n store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %37 = add i64 %0, 272\n %38 = call i64 @FUNC(i64 %37)\n %39 = add i64 %1, 24\n %40 = inttoptr i64 %39 to i32*\n store i32 0, i32* %40, align 4\n %41 = add i64 %1, 16\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = urem i32 %43, 2\n %45 = icmp eq i32 %44, 0\n store i32 1, i32* %storemerge3.reg2mem\n br i1 %45, label LBL_4, label LBL_3\n LBL_3:\n %46 = add i64 %1, 20\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n store i32 %48, i32* %storemerge3.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %49 = add i64 %0, 144\n %50 = inttoptr i64 %49 to i32*\n store i32 %storemerge3.reload, i32* %50, align 4\n %51 = sext i32 %storemerge3.reload to i64\n %52 = call i64 @FUNC(i64 %51, i64 8)\n %53 = add i64 %0, 152\n %54 = inttoptr i64 %53 to i64*\n store i64 %52, i64* %54, align 8\n %55 = icmp eq i64 %52, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_5, label LBL_6\n LBL_5:\n %57 = call i64 @FUNC()\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %57, i64* %.reg2mem\n br label LBL_7\n LBL_6:\n store i32 0, i32* %50, align 4\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %58 = mul i64 %indvars.iv.reload, 8\n %59 = add i64 %58, %0\n %60 = inttoptr i64 %59 to i64*\n store i64 %.reload, i64* %60, align 8\n %61 = icmp eq i64 %.reload, 0\n %62 = icmp eq i1 %61, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %62, label LBL_8, label LBL_13\n LBL_8:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %63 = icmp ult i64 %indvars.iv.next, 16\n %64 = call i64 @FUNC()\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %64, i64* %.reg2mem\n br i1 %63, label LBL_7, label LBL_9\n LBL_9:\n %65 = add i64 %0, 128\n %66 = inttoptr i64 %65 to i64*\n store i64 %64, i64* %66, align 8\n %67 = icmp eq i64 %64, 0\n %68 = icmp eq i1 %67, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %68, label LBL_10, label LBL_13\n LBL_10:\n %69 = call i64 @FUNC()\n %70 = add i64 %0, 136\n %71 = inttoptr i64 %70 to i64*\n store i64 %69, i64* %71, align 8\n %72 = icmp eq i64 %69, 0\n %73 = icmp eq i1 %72, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %73, label LBL_11, label LBL_13\n LBL_11:\n %74 = load i32, i32* %50, align 4\n %75 = icmp eq i32 %74, 0\n store i64 0, i64* %.reg2mem13\n store i32 0, i32* %storemerge7.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %75, label LBL_13, label LBL_12\n LBL_12:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload14 = load i64, i64* %.reg2mem13\n %76 = load i64, i64* %54, align 8\n %77 = mul i64 %.reload14, 8\n %78 = add i64 %76, %77\n %79 = inttoptr i64 %78 to i64*\n store i64 %0, i64* %79, align 8\n %80 = add i32 %storemerge7.reload, 1\n %81 = load i32, i32* %50, align 4\n %82 = zext i32 %81 to i64\n %83 = sext i32 %80 to i64\n %84 = icmp slt i64 %83, %82\n store i64 %83, i64* %.reg2mem13\n store i32 %80, i32* %storemerge7.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %84, label LBL_12, label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %64, { 1, 2, 0 }\n uselistorder i32* %50, { 2, 0, 1, 3 }\n uselistorder i32 %storemerge3.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 %0, { 2, 3, 4, 0, 5, 6, 7, 1, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem13, { 2, 0, 1 }\n uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 5, 1, 6 }\n uselistorder i64 4294967284, { 1, 2, 0, 3 }\n uselistorder i64 ()* @av_frame_alloc, { 2, 1, 0 }\n uselistorder i64 16, { 1, 2, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_13, { 1, 2, 3, 4, 0, 5 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_soc_dapm_stream_event_17448", "fun_name": "snd_soc_dapm_stream_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge3.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add i64 %2, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %2, -8\n %7 = ptrtoint i8* %arg2 to i64\n %8 = and i64 %3, 4294967295\n %trunc = trunc i64 %3 to i32\n store i64 %4, i64* %.reg2mem\n store i64 %6, i64* %storemerge3.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = add i64 %storemerge3.reload, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_11, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %storemerge3.reload to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %14, i64 %11, i64 %7, i64 %8, i64 %1)\n %16 = load i64, i64* %10, align 8\n %17 = inttoptr i64 %16 to i8*\n %18 = call i8* @strstr(i8* %17, i8* %arg2)\n %19 = icmp eq i8* %18, null\n br i1 %19, label LBL_11, label LBL_3\n LBL_3:\n store i64 %8, i64* @0, align 8\n switch i32 %trunc, label LBL_11 [\n i32 1, label LBL_4\n i32 2, label LBL_5\n i32 3, label LBL_6\n i32 4, label LBL_9\n ]\n LBL_4:\n %20 = add i64 %storemerge3.reload, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 1, i32* %21, align 4\n br label LBL_11\n LBL_5:\n %22 = add i64 %storemerge3.reload, 16\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n br label LBL_11\n LBL_6:\n %24 = add i64 %storemerge3.reload, 16\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = add i64 %storemerge3.reload, 20\n %29 = inttoptr i64 %28 to i32*\n store i32 1, i32* %29, align 4\n br label LBL_8\n LBL_8:\n store i32 0, i32* %25, align 4\n br label LBL_11\n LBL_9:\n %30 = add i64 %storemerge3.reload, 20\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_11, label LBL_10\n LBL_10:\n %34 = add i64 %storemerge3.reload, 16\n %35 = inttoptr i64 %34 to i32*\n store i32 1, i32* %35, align 4\n store i32 0, i32* %31, align 4\n br label LBL_11\n LBL_11:\n %36 = inttoptr i64 %.reload to i64*\n %37 = load i64, i64* %36, align 8\n %38 = add i64 %37, -24\n %39 = icmp eq i64 %37, %2\n %40 = icmp eq i1 %39, false\n store i64 %37, i64* %.reg2mem\n store i64 %38, i64* %storemerge3.reg2mem\n br i1 %40, label LBL_1, label LBL_12\n LBL_12:\n %41 = call i64 @FUNC(i64 %4)\n %42 = call i64 @FUNC(i64 %2, i64 %8)\n %43 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0))\n ret i64 0\n\n uselistorder i64 %storemerge3.reload, { 5, 4, 3, 2, 1, 0, 6, 7 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 2, 0, 3, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0, 3, 4, 5, 6, 7, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "park_frame_worker_threads_3526", "fun_name": "park_frame_worker_threads", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp sgt i32 %0, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_8\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %wide.trip.count = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = mul nuw nsw i64 %indvars.iv.reload, 104\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 1\n br i1 %7, label LBL_7, label LBL_3\n LBL_3:\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = call i32 @pthread_mutex_lock(i64* %9)\n %11 = load i32, i32* %5, align 4\n %12 = icmp eq i32 %11, 1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_6\n LBL_4:\n %14 = add i64 %4, 48\n %15 = inttoptr i64 %14 to i64*\n br label LBL_5\n LBL_5:\n %16 = call i32 @pthread_cond_wait(i64* %15, i64* %9)\n %17 = load i32, i32* %5, align 4\n %18 = icmp eq i32 %17, 1\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_6\n LBL_6:\n %20 = call i32 @pthread_mutex_unlock(i64* %9)\n br label LBL_7\n LBL_7:\n %21 = add i64 %4, 96\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %wide.trip.count, i64* %storemerge.lcssa.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_2\n LBL_8:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i32* %5, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vfp_exceptbits_from_host_2023", "fun_name": "vfp_exceptbits_from_host", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = urem i64 %arg1, 2\n %1 = icmp ne i64 %0, 0\n %spec.select = zext i1 %1 to i32\n %2 = trunc i64 %arg1 to i32\n %3 = and i32 %2, 6\n %4 = or i32 %3, %spec.select\n %5 = and i64 %arg1, 24\n %6 = icmp eq i64 %5, 0\n %7 = or i32 %4, 8\n %sv_0.3 = select i1 %6, i32 %4, i32 %7\n %8 = udiv i64 %arg1, 2\n %9 = trunc i64 %8 to i32\n %10 = and i32 %9, 16\n %11 = mul i32 %2, 2\n %12 = and i32 %11, 128\n %13 = or i32 %12, %10\n %14 = or i32 %13, %sv_0.3\n %15 = zext i32 %14 to i64\n ret i64 %15\n\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "processCompressOptions_9704", "fun_name": "processCompressOptions", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.in1.reg2mem = alloca i8*\n %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i32 0, i32* bitcast (i64* @gv_1 to i32*), align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_2:\n %3 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n store i32 1, i32* bitcast (i64* @gv_1 to i32*), align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_4:\n %6 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i64 4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_14, label LBL_5\n LBL_5:\n %9 = inttoptr i64 %arg1 to i8*\n %10 = call i8* @strchr(i8* %9, i32 58)\n store i32 2, i32* bitcast (i64* @gv_1 to i32*), align 8\n %11 = icmp eq i8* %10, null\n %12 = icmp eq i1 %11, false\n store i8* %10, i8** %sv_0.0.in1.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %12, label LBL_6, label LBL_26\n LBL_6:\n %sv_0.0.in1.reload = load i8*, i8** %sv_0.0.in1.reg2mem\n %sv_0.0 = ptrtoint i8* %sv_0.0.in1.reload to i64\n %13 = call i16** @__ctype_b_loc()\n %14 = load i16*, i16** %13, align 8\n %15 = ptrtoint i16* %14 to i64\n %16 = add i64 %sv_0.0, 1\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = sext i8 %18 to i64\n %20 = mul i64 %19, 2\n %21 = add i64 %20, %15\n %22 = inttoptr i64 %21 to i16*\n %23 = load i16, i16* %22, align 2\n %24 = and i16 %23, 2048\n %25 = icmp eq i16 %24, 0\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = call i32 @atoi(i8* %17)\n store i32 %26, i32* bitcast (i64* @gv_4 to i32*), align 8\n br label LBL_13\n LBL_8:\n %27 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 3)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n store i32 0, i32* bitcast (i64* @gv_6 to i32*), align 8\n br label LBL_13\n LBL_10:\n %30 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0), i64 3)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_12, label LBL_11\n LBL_11:\n store i32 1, i32* bitcast (i64* @gv_6 to i32*), align 8\n br label LBL_13\n LBL_12:\n %33 = call i64 @FUNC()\n unreachable\n LBL_13:\n %34 = call i8* @strchr(i8* %17, i32 58)\n %35 = icmp eq i8* %34, null\n %36 = icmp eq i1 %35, false\n store i8* %34, i8** %sv_0.0.in1.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %36, label LBL_6, label LBL_26\n LBL_14:\n %37 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0), i64 2)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_16, label LBL_15\n LBL_15:\n %40 = call i64 @FUNC(i64 %arg1)\n store i32 3, i32* bitcast (i64* @gv_1 to i32*), align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_16:\n %41 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0))\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_18, label LBL_17\n LBL_17:\n store i32 4, i32* bitcast (i64* @gv_1 to i32*), align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_18:\n %44 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_10, i64 0, i64 0), i64 3)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_22, label LBL_19\n LBL_19:\n %47 = inttoptr i64 %arg1 to i8*\n %48 = call i8* @strchr(i8* %47, i32 58)\n %49 = icmp eq i8* %48, null\n br i1 %49, label LBL_21, label LBL_20\n LBL_20:\n %50 = ptrtoint i8* %48 to i64\n %51 = add i64 %50, 1\n %52 = inttoptr i64 %51 to i8*\n %53 = call i32 @atoi(i8* %52)\n store i32 %53, i32* bitcast (i64* @gv_11 to i32*), align 8\n br label LBL_21\n LBL_21:\n store i32 5, i32* bitcast (i64* @gv_1 to i32*), align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_22:\n %54 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_12, i64 0, i64 0), i64 3)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %56, label LBL_26, label LBL_23\n LBL_23:\n %57 = inttoptr i64 %arg1 to i8*\n %58 = call i8* @strchr(i8* %57, i32 58)\n %59 = icmp eq i8* %58, null\n br i1 %59, label LBL_25, label LBL_24\n LBL_24:\n %60 = ptrtoint i8* %58 to i64\n %61 = add i64 %60, 1\n %62 = inttoptr i64 %61 to i8*\n %63 = call i32 @atoi(i8* %62)\n store i32 %63, i32* bitcast (i64* @gv_11 to i32*), align 8\n br label LBL_25\n LBL_25:\n store i32 6, i32* bitcast (i64* @gv_1 to i32*), align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_26:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %58, { 1, 0 }\n uselistorder i8* %48, { 1, 0 }\n uselistorder i8** %sv_0.0.in1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 8, 9, 7, 6, 5, 1, 2, 4, 3 }\n uselistorder i32 (i8*)* @atoi, { 2, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8* null, { 2, 3, 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @streq, { 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @strneq, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_26, { 7, 8, 6, 5, 4, 0, 1, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "keyctl_keyring_clear_8482", "fun_name": "keyctl_keyring_clear", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 1, i64 2)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %sv_1.0.reg2mem\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 -1, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1, i64 0, i64 0)\n %7 = icmp eq i64 %6, 0\n store i64 %6, i64* %sv_1.0.reg2mem\n store i64 -1, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %8 = inttoptr i64 %sv_1.0.reload to i64*\n call void @free(i64* %8)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64)* @lookup_user_key, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 1, { 1, 0, 2 }\n uselistorder label LBL_4, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "g2m_decode_end_4314", "fun_name": "g2m_decode_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %6 = add i64 %0, 24\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 32\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 40\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %0, 48\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 56\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %0, 64\n %17 = call i64 @FUNC(i64 %16)\n ret i64 0\n\n uselistorder i64 (i64)* @av_freep, { 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vp9_superframe_close_15656", "fun_name": "vp9_superframe_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %rdi.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %0, i64* %rdi.01.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %rdi.01.reload = load i64, i64* %rdi.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = mul i64 %.reload, 8\n %6 = add i64 %rdi.01.reload, %5\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i32 %storemerge2.reload, 1\n %9 = load i32, i32* %2, align 4\n %10 = zext i32 %9 to i64\n %11 = sext i32 %8 to i64\n %12 = icmp slt i64 %11, %10\n store i64 %11, i64* %.reg2mem\n store i32 %8, i32* %storemerge2.reg2mem\n store i64 %6, i64* %rdi.01.reg2mem\n store i64 %10, i64* %.lcssa.reg2mem\n br i1 %12, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32* %2, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "exit_io_context_13493", "fun_name": "exit_io_context", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n store i64 0, i64* %3, align 8\n %5 = load i64, i64* @gv_0, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %4, 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %4)\n br label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %4)\n ret i64 %12\n\n uselistorder i64 %4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsonNewDString_10892", "fun_name": "jsonNewDString", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.2.lcssa.reg2mem = alloca i8*\n %sv_0.2.be.reg2mem = alloca i8*\n %sv_1.1.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_0.26.reg2mem = alloca i8*\n %sv_1.27.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg4, 4294967296\n %1 = bitcast i64* %sv_2 to i8*\n %2 = ashr exact i64 %sext, 32\n %3 = icmp sgt i64 %sext, 0\n %4 = ptrtoint i64* %sv_2 to i64\n store i64 %arg3, i64* %sv_1.27.reg2mem\n store i8* %1, i8** %sv_0.26.reg2mem\n store i8* %1, i8** %sv_0.2.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_20\n LBL_1:\n %sv_0.26.reload = load i8*, i8** %sv_0.26.reg2mem\n %sv_1.27.reload = load i64, i64* %sv_1.27.reg2mem\n %5 = inttoptr i64 %sv_1.27.reload to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 92\n %8 = icmp eq i1 %7, false\n %9 = add i64 %sv_1.27.reload, 1\n br i1 %8, label LBL_16, label LBL_2\n LBL_2:\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp eq i8 %11, 34\n br i1 %12, label LBL_10, label LBL_3\n LBL_3:\n %.off = add i8 %11, -34\n %13 = icmp ugt i8 %.off, 83\n %14 = icmp slt i8 %11, 92\n %or.cond5 = or i1 %14, %13\n store i8* %sv_0.26.reload, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br i1 %or.cond5, label LBL_15, label LBL_4\n LBL_4:\n %15 = sext i8 %11 to i64\n %16 = add nsw i64 %15, 4294967204\n %17 = and i64 %16, 4294967295\n store i64 %17, i64* @0, align 8\n %trunc = trunc i64 %16 to i32\n store i8* %sv_0.26.reload, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n switch i32 %trunc, label LBL_15 [\n i32 0, label LBL_11\n i32 6, label LBL_5\n i32 10, label LBL_8\n i32 18, label LBL_6\n i32 22, label LBL_7\n i32 24, label LBL_9\n i32 25, label LBL_12\n ]\n LBL_5:\n %18 = ptrtoint i8* %sv_0.26.reload to i64\n %19 = add i64 %18, 1\n %20 = inttoptr i64 %19 to i8*\n store i8 8, i8* %sv_0.26.reload, align 1\n store i8* %20, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_6:\n %21 = ptrtoint i8* %sv_0.26.reload to i64\n %22 = add i64 %21, 1\n %23 = inttoptr i64 %22 to i8*\n store i8 10, i8* %sv_0.26.reload, align 1\n store i8* %23, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_7:\n %24 = ptrtoint i8* %sv_0.26.reload to i64\n %25 = add i64 %24, 1\n %26 = inttoptr i64 %25 to i8*\n store i8 13, i8* %sv_0.26.reload, align 1\n store i8* %26, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_8:\n %27 = ptrtoint i8* %sv_0.26.reload to i64\n %28 = add i64 %27, 1\n %29 = inttoptr i64 %28 to i8*\n store i8 12, i8* %sv_0.26.reload, align 1\n store i8* %29, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_9:\n %30 = ptrtoint i8* %sv_0.26.reload to i64\n %31 = add i64 %30, 1\n %32 = inttoptr i64 %31 to i8*\n store i8 9, i8* %sv_0.26.reload, align 1\n store i8* %32, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_10:\n %33 = ptrtoint i8* %sv_0.26.reload to i64\n %34 = add i64 %33, 1\n %35 = inttoptr i64 %34 to i8*\n store i8 34, i8* %sv_0.26.reload, align 1\n store i8* %35, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_11:\n %36 = ptrtoint i8* %sv_0.26.reload to i64\n %37 = add i64 %36, 1\n %38 = inttoptr i64 %37 to i8*\n store i8 92, i8* %sv_0.26.reload, align 1\n store i8* %38, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_12:\n %39 = add i64 %sv_1.27.reload, 2\n %40 = ptrtoint i8* %sv_0.26.reload to i64\n %41 = call i64 @FUNC(i64 %39, i64 %40)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_14, label LBL_13\n LBL_13:\n %sext4 = mul i64 %41, 4294967296\n %44 = ashr exact i64 %sext4, 32\n %45 = add i64 %44, %40\n %46 = inttoptr i64 %45 to i8*\n %47 = add i64 %sv_1.27.reload, 4\n store i8* %46, i8** %sv_0.0.reg2mem\n store i64 %47, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_14:\n %48 = add i64 %40, 1\n store i8 92, i8* %sv_0.26.reload, align 1\n %49 = add i64 %40, 2\n %50 = inttoptr i64 %49 to i8*\n %51 = inttoptr i64 %48 to i8*\n store i8 117, i8* %51, align 1\n store i8* %50, i8** %sv_0.0.reg2mem\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br label LBL_15\n LBL_15:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %52 = add i64 %sv_1.0.reload, 2\n store i8* %sv_0.0.reload, i8** %sv_0.1.reg2mem\n store i64 %52, i64* %sv_1.1.reg2mem\n br label LBL_17\n LBL_16:\n %53 = ptrtoint i8* %sv_0.26.reload to i64\n %54 = add i64 %53, 1\n %55 = inttoptr i64 %54 to i8*\n store i8 %6, i8* %sv_0.26.reload, align 1\n store i8* %55, i8** %sv_0.1.reg2mem\n store i64 %9, i64* %sv_1.1.reg2mem\n br label LBL_17\n LBL_17:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %sv_0.1.reload = load i8*, i8** %sv_0.1.reg2mem\n %56 = ptrtoint i8* %sv_0.1.reload to i64\n %57 = sub i64 %56, %4\n %58 = icmp slt i64 %57, 91\n store i8* %sv_0.1.reload, i8** %sv_0.2.be.reg2mem\n br i1 %58, label LBL_18, label LBL_19\n LBL_18:\n %sv_0.2.be.reload = load i8*, i8** %sv_0.2.be.reg2mem\n %59 = sub i64 %sv_1.1.reload, %arg3\n %60 = icmp slt i64 %59, %2\n store i64 %sv_1.1.reload, i64* %sv_1.27.reg2mem\n store i8* %sv_0.2.be.reload, i8** %sv_0.26.reg2mem\n store i8* %sv_0.2.be.reload, i8** %sv_0.2.lcssa.reg2mem\n br i1 %60, label LBL_1, label LBL_20\n LBL_19:\n store i8 0, i8* %sv_0.1.reload, align 1\n %61 = and i64 %57, 4294967295\n %62 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2, i64 %61)\n store i8* %1, i8** %sv_0.2.be.reg2mem\n br label LBL_18\n LBL_20:\n %sv_0.2.lcssa.reload = load i8*, i8** %sv_0.2.lcssa.reg2mem\n store i8 0, i8* %sv_0.2.lcssa.reload, align 1\n %63 = ptrtoint i8* %sv_0.2.lcssa.reload to i64\n %64 = sub i64 %63, %4\n %65 = and i64 %64, 4294967295\n %66 = call i64 @FUNC(i64 %0, i64* nonnull %sv_2, i64 %65)\n ret i64 %66\n\n uselistorder i8* %sv_0.1.reload, { 1, 0, 2 }\n uselistorder i64 %sv_1.1.reload, { 1, 0 }\n uselistorder i64 %40, { 1, 2, 0, 3 }\n uselistorder i8 %11, { 3, 1, 0, 2 }\n uselistorder i64 %sv_1.27.reload, { 6, 10, 11, 0, 9, 5, 2, 4, 3, 1, 7, 8, 13, 12 }\n uselistorder i8* %sv_0.26.reload, { 19, 18, 14, 15, 3, 2, 17, 16, 13, 12, 7, 6, 11, 10, 9, 8, 5, 4, 0, 1 }\n uselistorder i8* %1, { 1, 0, 2 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 3, 0 }\n uselistorder i64* %sv_1.27.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.26.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 8, 7, 1, 11, 6, 3, 5, 4, 2, 9, 10 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 8, 7, 1, 11, 6, 3, 5, 4, 2, 9, 10 }\n uselistorder i8** %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.2.be.reg2mem, { 1, 0, 2 }\n uselistorder i8 0, { 1, 0, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 2, { 3, 1, 2, 4, 5, 0 }\n uselistorder i8 8, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i8 34, { 1, 0 }\n uselistorder i64 1, { 8, 1, 2, 10, 3, 4, 5, 6, 7, 9, 11, 12, 13, 0 }\n uselistorder i8 92, { 2, 3, 0, 1 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_15, { 1, 0, 2, 8, 3, 4, 5, 6, 7, 9, 10 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_one_vdso_page_7010", "fun_name": "dump_one_vdso_page", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rcx.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = mul i64 %3, 4096\n %6 = and i64 %5, -16777216\n %7 = and i64 %4, 4294967295\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %7, i64 %3, i64 %2, i64 %1)\n %9 = icmp ne i64* %arg2, null\n %10 = icmp ult i64* %arg2, inttoptr (i64 -1000 to i64*)\n %or.cond = icmp eq i1 %9, %10\n store i64 %6, i64* %rsi.0.reg2mem\n store i64 %7, i64* %rdx.0.reg2mem\n store i64 %3, i64* %rcx.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = mul i64 %11, 4096\n %14 = and i64 %13, -16777216\n %15 = and i64 %12, 4294967295\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %14, i64 %15, i64 %6, i64 %2, i64 %1)\n store i64 %14, i64* %rsi.0.reg2mem\n store i64 %15, i64* %rdx.0.reg2mem\n store i64 %6, i64* %rcx.0.reg2mem\n br label LBL_2\n LBL_2:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %17 = call i64 @FUNC(i8* inttoptr (i64 4202559 to i8*), i64 %rsi.0.reload, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n ret i64 %17\n\n uselistorder i64 %6, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 2, 1, 0 }\n uselistorder i64 (i64)* @page_count, { 1, 0 }\n uselistorder i64* %arg2, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blk_mq_free_queue_10931", "fun_name": "blk_mq_free_queue", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %5 = call i64 @FUNC(i64 %2, i64 %2, i32 %4)\n %6 = call i64 @FUNC(i64 %2, i64 %2)\n %7 = add i64 %2, 32\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n store i64 0, i64* %10, align 8\n %13 = call i64 @FUNC(i64 4210733)\n %14 = add i64 %2, 16\n %15 = call i64 @FUNC(i64 %14)\n %16 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %16\n\n uselistorder i64 %2, { 0, 1, 2, 4, 3, 6, 5, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jswrap_graphics_stringWidth_10279", "fun_name": "jswrap_graphics_stringWidth", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %sv_3 = alloca i32, align 4\n %0 = bitcast i32* %sv_3 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0, i64 %arg1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_14\n LBL_1:\n %5 = load i32, i32* %sv_3, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %arg1, i64 2, i64 0)\n %9 = call i64 @FUNC(i64 %arg1, i64 3, i64 0)\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n store i64 %8, i64* %sv_2.0.reg2mem\n store i32 %11, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %12 = call i64 @FUNC(i64 %arg2, i64 0)\n %13 = call i64 @FUNC(i64* nonnull %0, i64 %12, i64 0)\n %14 = call i64 @FUNC(i64* nonnull %0)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %17, label LBL_4, label LBL_13\n LBL_4:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %18 = sext i32 %sv_1.0.reload to i64\n store i32 0, i32* %sv_0.15.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %19 = call i64 @FUNC(i64* nonnull %0)\n %20 = trunc i64 %19 to i32\n %sext = mul i32 %20, 16777216\n %21 = ashr exact i32 %sext, 24\n %22 = load i32, i32* %sv_3, align 4\n %23 = icmp slt i32 %22, 1\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = trunc i32 %21 to i8\n %25 = zext i32 %22 to i64\n %26 = call i64 @FUNC(i64* nonnull %0, i64 %25, i8 %24)\n %27 = trunc i64 %26 to i32\n %28 = add i32 %sv_0.15.reload, %27\n store i32 %28, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_7:\n %29 = icmp eq i32 %22, 0\n %30 = icmp eq i1 %29, false\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %30, label LBL_12, label LBL_8\n LBL_8:\n %31 = call i64 @FUNC(i64 %sv_2.0.reload)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_11, label LBL_9\n LBL_9:\n %34 = zext i32 %21 to i64\n %sext3 = mul i64 %34, 72057594037927936\n %35 = ashr exact i64 %sext3, 56\n %36 = icmp slt i64 %35, %18\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %36, label LBL_12, label LBL_10\n LBL_10:\n %37 = sub i32 %21, %sv_1.0.reload\n %38 = sext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = urem i32 %40, 256\n %42 = add i32 %41, %sv_0.15.reload\n store i32 %42, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %43 = call i64 @FUNC(i64 %sv_2.0.reload)\n %44 = trunc i64 %43 to i32\n %45 = add i32 %sv_0.15.reload, %44\n store i32 %45, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %46 = call i64 @FUNC(i64* nonnull %0)\n %47 = call i64 @FUNC(i64* nonnull %0)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %50, label LBL_5, label LBL_13\n LBL_13:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %51 = call i64 @FUNC(i64* nonnull %0)\n %52 = call i64 @FUNC(i64 %12, i64 %sv_2.0.reload)\n %53 = zext i32 %sv_0.1.lcssa.reload to i64\n store i64 %53, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %22, { 1, 0, 2 }\n uselistorder i32 %sv_0.15.reload, { 4, 2, 0, 1, 3 }\n uselistorder i64 %sv_2.0.reload, { 3, 1, 2, 0 }\n uselistorder i64* %0, { 4, 5, 2, 1, 3, 0, 6, 7 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 2, 3, 5, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*)* @jsvStringIteratorHasChar, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @jsvObjectGetChild, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3, 4 }\n uselistorder i32 0, { 6, 4, 5, 1, 0, 3, 2, 7, 8, 9 }\n uselistorder i32 1, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rgb15tobgr24_15582", "fun_name": "rgb15tobgr24", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i16*\n %.reg2mem = alloca i64\n %0 = ptrtoint i16* %arg1 to i64\n %1 = and i32 %arg3, -2\n %2 = zext i32 %1 to i64\n %3 = add i64 %2, %0\n %4 = icmp ugt i64 %3, %0\n store i64 %0, i64* %.reg2mem\n store i16* %arg1, i16** %sv_1.03.reg2mem\n store i64 %arg2, i64* %sv_0.02.reg2mem\n store i64 %0, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %sv_1.03.reload = load i16*, i16** %sv_1.03.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = add i64 %.reload, 2\n %6 = inttoptr i64 %5 to i16*\n %7 = load i16, i16* %sv_1.03.reload, align 2\n %8 = udiv i16 %7, 128\n %9 = add i64 %sv_0.02.reload, 1\n %10 = trunc i16 %8 to i8\n %11 = and i8 %10, -8\n %12 = inttoptr i64 %sv_0.02.reload to i8*\n store i8 %11, i8* %12, align 1\n %13 = udiv i16 %7, 4\n %14 = add i64 %sv_0.02.reload, 2\n %15 = trunc i16 %13 to i8\n %16 = and i8 %15, -8\n %17 = inttoptr i64 %9 to i8*\n store i8 %16, i8* %17, align 1\n %18 = trunc i16 %7 to i8\n %19 = mul i8 %18, 8\n %20 = add i64 %sv_0.02.reload, 3\n %21 = inttoptr i64 %14 to i8*\n store i8 %19, i8* %21, align 1\n %22 = icmp ugt i64 %3, %5\n store i64 %5, i64* %.reg2mem\n store i16* %6, i16** %sv_1.03.reg2mem\n store i64 %20, i64* %sv_0.02.reg2mem\n store i64 %5, i64* %.lcssa.reg2mem\n br i1 %22, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i16 %7, { 2, 0, 1 }\n uselistorder i64 %sv_0.02.reload, { 3, 2, 0, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i16** %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "r_bin_mdmp_init_directory_12754", "fun_name": "r_bin_mdmp_init_directory", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = add i64 %6, %0\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i32 %5, i64 0)\n %12 = load i64, i64* %9, align 8\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_2, i64 0, i64 0), i64 0)\n %14 = load i64, i64* %2, align 8\n %15 = add i64 %14, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %19 = call i64 @FUNC(i64 %0, i64 %7)\n %20 = add i32 %storemerge1.reload, 1\n %21 = load i64, i64* %2, align 8\n %22 = add i64 %21, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = sext i32 %20 to i64\n %27 = icmp slt i64 %26, %25\n store i32 %20, i32* %storemerge1.reg2mem\n br i1 %27, label LBL_1, label LBL_2\n LBL_2:\n ret i64 1\n\n uselistorder i64* %2, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "start_ahci_device_1412", "fun_name": "start_ahci_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = call i64 @FUNC(i64 %0, i64 5, i64 %1)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %2, i64* %4, align 8\n %5 = call i64 @FUNC(i64 %0)\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_arm_gic_class_init_1724", "fun_name": "kvm_arm_gic_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %2, align 8\n %3 = add i64 %0, 24\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = load i64, i64* %2, align 8\n %6 = add i64 %0, 32\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n store i64 4198676, i64* %arg1, align 8\n store i64 4198683, i64* %2, align 8\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i8*\n store i8 1, i8* %9, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 4, 3, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_nfs_fh_5727", "fun_name": "decode_nfs_fh", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 4)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_5\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = trunc i64 %3 to i32\n %11 = call i64 @FUNC(i64 %6)\n %12 = trunc i64 %11 to i32\n %13 = bitcast i64* %arg2 to i32*\n store i32 %12, i32* %13, align 4\n %14 = icmp slt i32 %10, 129\n %15 = and i64 %3, 4294967295\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %9, i64 %4, i64 %2, i64 %1)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %17 = call i64 @FUNC(i64 %5, i64 %15)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_5\n LBL_4:\n %20 = add i64 %9, 4\n %21 = inttoptr i64 %20 to i64*\n %22 = inttoptr i64 %17 to i64*\n %23 = call i64* @memcpy(i64* %21, i64* %22, i32 %10)\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 %20, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %15, { 2, 0, 1 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @xdr_inline_decode, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_5, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtcp_parse_packet_17306", "fun_name": "rtcp_parse_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem5 = alloca i32\n %sv_0.02.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = trunc i64 %arg3 to i32\n %5 = icmp sgt i32 %4, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_11\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = ptrtoint i64* %arg2 to i64\n %8 = add i64 %6, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = add i64 %6, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %6, 24\n %13 = inttoptr i64 %12 to i32*\n %14 = add i64 %6, 28\n %15 = inttoptr i64 %14 to i32*\n store i32 %4, i32* %.reg2mem\n store i64 %7, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %16 = add i64 %sv_0.02.reload, 1\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n store i64 4294967093, i64* %rax.0.reg2mem\n switch i8 %18, label LBL_10 [\n i8 -56, label LBL_3\n i8 -53, label LBL_11\n ]\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %19 = icmp sgt i32 %.reload, 15\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %21 = add i64 %sv_0.02.reload, 2\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = add i64 %sv_0.02.reload, 3\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = add i64 %sv_0.02.reload, 8\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = zext i8 %29 to i64\n %31 = mul i64 %30, 72057594037927936\n %32 = add i64 %sv_0.02.reload, 9\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i64\n %36 = mul i64 %35, 281474976710656\n %37 = or i64 %36, %31\n %38 = add i64 %sv_0.02.reload, 10\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i64\n %42 = mul i64 %41, 1099511627776\n %43 = or i64 %37, %42\n %44 = add i64 %sv_0.02.reload, 11\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = zext i8 %46 to i64\n %48 = mul i64 %47, 4294967296\n %49 = or i64 %43, %48\n %50 = add i64 %sv_0.02.reload, 12\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = zext i8 %52 to i64\n %54 = mul i64 %53, 16777216\n %55 = or i64 %49, %54\n %56 = add i64 %sv_0.02.reload, 13\n %57 = inttoptr i64 %56 to i8*\n %58 = load i8, i8* %57, align 1\n %59 = zext i8 %58 to i64\n %60 = mul i64 %59, 65536\n %61 = or i64 %55, %60\n %62 = add i64 %sv_0.02.reload, 14\n %63 = inttoptr i64 %62 to i8*\n %64 = load i8, i8* %63, align 1\n %65 = zext i8 %64 to i64\n %66 = mul i64 %65, 256\n %67 = or i64 %61, %66\n %68 = add i64 %sv_0.02.reload, 15\n %69 = inttoptr i64 %68 to i8*\n %70 = load i8, i8* %69, align 1\n %71 = zext i8 %70 to i64\n %72 = or i64 %67, %71\n store i64 %72, i64* %arg1, align 8\n %73 = add i64 %sv_0.02.reload, 16\n %74 = inttoptr i64 %73 to i8*\n %75 = load i8, i8* %74, align 1\n %76 = zext i8 %75 to i32\n %77 = mul i32 %76, 16777216\n %78 = add i64 %sv_0.02.reload, 17\n %79 = inttoptr i64 %78 to i8*\n %80 = load i8, i8* %79, align 1\n %81 = zext i8 %80 to i32\n %82 = mul i32 %81, 65536\n %83 = or i32 %82, %77\n %84 = add i64 %sv_0.02.reload, 18\n %85 = inttoptr i64 %84 to i8*\n %86 = load i8, i8* %85, align 1\n %87 = zext i8 %86 to i32\n %88 = mul i32 %87, 256\n %89 = or i32 %83, %88\n %90 = add i64 %sv_0.02.reload, 19\n %91 = inttoptr i64 %90 to i8*\n %92 = load i8, i8* %91, align 1\n %93 = zext i8 %92 to i32\n %94 = or i32 %89, %93\n store i32 %94, i32* %9, align 4\n %95 = load i64, i64* %11, align 8\n %96 = icmp eq i64 %95, -1\n %97 = icmp eq i1 %96, false\n br i1 %97, label LBL_9, label LBL_6\n LBL_6:\n store i64 %6, i64* %11, align 8\n %98 = load i32, i32* %13, align 4\n %99 = icmp eq i32 %98, 0\n %100 = icmp eq i1 %99, false\n store i32 %98, i32* %.reg2mem5\n br i1 %100, label LBL_8, label LBL_7\n LBL_7:\n %101 = load i32, i32* %9, align 4\n store i32 %101, i32* %13, align 4\n store i32 %101, i32* %.reg2mem5\n br label LBL_8\n LBL_8:\n %.reload6 = load i32, i32* %.reg2mem5\n %102 = load i32, i32* %9, align 4\n %103 = sub i32 %102, %.reload6\n store i32 %103, i32* %15, align 4\n br label LBL_9\n LBL_9:\n %104 = zext i8 %23 to i32\n %105 = mul i32 %104, 256\n %106 = zext i8 %26 to i32\n %107 = or i32 %105, %106\n %108 = mul i32 %107, 4\n %109 = add nuw nsw i32 %108, 4\n %110 = zext i32 %109 to i64\n %111 = add i64 %sv_0.02.reload, %110\n %112 = sub i32 %.reload, %109\n %113 = icmp sgt i32 %112, 1\n store i32 %112, i32* %.reg2mem\n store i64 %111, i64* %sv_0.02.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %113, label LBL_2, label LBL_11\n LBL_10:\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %109, { 1, 0 }\n uselistorder i64 %sv_0.02.reload, { 15, 3, 2, 1, 0, 11, 10, 9, 8, 7, 6, 5, 4, 13, 12, 14 }\n uselistorder i32* %9, { 1, 0, 2 }\n uselistorder i64 %6, { 2, 0, 1, 3, 4 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem5, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 5, 1, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_11, { 3, 2, 4, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ip_mc_join_group_9943", "fun_name": "ip_mc_join_group", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967292, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = call i64 @FUNC(i64 %3, i64 %0)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967294, i64* %storemerge.reg2mem\n br i1 %10, label LBL_2, label LBL_4\n LBL_2:\n %11 = call i64 @FUNC(i64 %1, i64 48, i64 0)\n %12 = icmp eq i64 %11, 0\n store i64 4294967293, i64* %storemerge.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %11, i64 %0, i64 24)\n %14 = inttoptr i64 %2 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %11, 24\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = add i64 %11, 32\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %19, align 8\n %20 = add i64 %11, 40\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = load i64, i64* %14, align 8\n %23 = call i64 @FUNC(i64 %22, i64 %11)\n %24 = call i64 @FUNC(i64 %8, i64 %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %11, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 0, { 0, 8, 9, 6, 10, 11, 5, 1, 2, 3, 4, 7 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_syscall_enter_12630", "fun_name": "perf_syscall_enter", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i32, align 4\n %1 = load i64, i64* @gv_0, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64* nonnull @gv_1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_6, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %5)\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_6, label LBL_3\n LBL_3:\n %11 = add i64 %9, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %21 = inttoptr i64 %9 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = mul i32 %22, 8\n %24 = add i32 %23, 67\n %25 = and i32 %24, -8\n %26 = add i32 %25, -4\n %27 = load i64, i64* %12, align 8\n %28 = add i64 %27, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = zext i32 %26 to i64\n %32 = bitcast i32* %sv_0 to i64*\n %33 = call i64 @FUNC(i64 %31, i32 %30, i64 %0, i64* nonnull %32)\n %34 = icmp eq i64 %33, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = inttoptr i64 %33 to i32*\n store i32 %3, i32* %35, align 4\n %36 = add i64 %33, 8\n %37 = load i32, i32* %21, align 4\n %38 = load i64, i64* @gv_0, align 8\n %39 = zext i32 %37 to i64\n %40 = call i64 @FUNC(i64 %38, i64 %0, i64 0, i64 %39, i64 %36)\n %41 = load i32, i32* %sv_0, align 4\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %33, i32 %26, i64 %42, i64 0, i64 1, i64 %0)\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_6, { 5, 0, 1, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "caif_seqpkt_recvmsg_13725", "fun_name": "caif_seqpkt_recvmsg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n store i64 1, i64* %sv_1, align 8\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_10, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %5, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = trunc i64 %arg5 to i32\n %10 = bitcast i64* %sv_1 to i32*\n %11 = call i64 @FUNC(i64 %6, i32 %9, i64 0, i32* nonnull %10)\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_10, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %11 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sext i32 %14 to i64\n %16 = icmp ugt i64 %15, %arg4\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = bitcast i64* %rdx to i32*\n %19 = load i32, i32* %18, align 8\n %20 = or i32 %19, 2\n %21 = bitcast i64* %arg3 to i32*\n store i32 %20, i32* %21, align 4\n %sext5 = mul i64 %arg4, 4294967296\n %22 = ashr exact i64 %sext5, 32\n store i64 %22, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = add i64 %5, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = trunc i64 %sv_0.0.reload to i32\n %27 = call i64 @FUNC(i64 %11, i64 0, i64 %25, i32 %26)\n %sext6 = mul i64 %27, 4294967296\n %28 = ashr exact i64 %sext6, 32\n store i64 %28, i64* %sv_1, align 8\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_9, label LBL_5\n LBL_5:\n %32 = and i64 %arg5, 2\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_7, label LBL_6\n LBL_6:\n %34 = load i32, i32* %13, align 4\n %35 = zext i32 %34 to i64\n store i64 %35, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %36 = and i64 %sv_0.0.reload, 4294967295\n store i64 %36, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %sext7 = mul i64 %storemerge.reload, 4294967296\n %37 = ashr exact i64 %sext7, 32\n store i64 %37, i64* %sv_1, align 8\n br label LBL_9\n LBL_9:\n %38 = call i64 @FUNC(i64 %6, i64 %11)\n %39 = call i64 @FUNC(i64 %6)\n br label LBL_10\n LBL_10:\n %storemerge8.in = load i64, i64* %sv_1, align 8\n %storemerge8 = and i64 %storemerge8.in, 4294967295\n ret i64 %storemerge8\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 0, 3, 2, 4, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rac_normalise_14004", "fun_name": "rac_normalise", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n %3 = bitcast i64* %rdi to i32*\n %4 = bitcast i64* %arg1 to i32*\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_1\n LBL_1:\n %.reload = load i32, i32* %.reg2mem\n %9 = mul i32 %.reload, 256\n store i32 %9, i32* %2, align 4\n %10 = load i32, i32* %3, align 8\n %11 = mul i32 %10, 256\n store i32 %11, i32* %4, align 4\n %12 = load i64, i64* %6, align 8\n %13 = load i64, i64* %8, align 8\n %14 = icmp ult i64 %12, %13\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = add i64 %12, 1\n store i64 %16, i64* %6, align 8\n %17 = inttoptr i64 %12 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = load i32, i32* %3, align 8\n %20 = zext i8 %18 to i32\n %21 = or i32 %19, %20\n store i32 %21, i32* %4, align 4\n br label LBL_5\n LBL_3:\n %22 = icmp eq i32 %10, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = add i64 %0, 24\n %25 = inttoptr i64 %24 to i32*\n store i32 1, i32* %25, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %26 = load i32, i32* %2, align 4\n %27 = icmp ult i32 %26, 16777216\n store i32 %26, i32* %.reg2mem\n br i1 %27, label LBL_1, label LBL_6\n LBL_6:\n %28 = zext i32 %26 to i64\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %26, { 1, 0, 2 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i32* %2, { 1, 2, 0 }\n uselistorder i64 %0, { 0, 3, 2, 1, 4 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_segment_filename_3501", "fun_name": "set_segment_filename", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %6, 40\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %6, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = add i64 %6, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = urem i64 %16, %12\n store i64 %17, i64* %15, align 8\n br label LBL_2\n LBL_2:\n %18 = add i64 %6, 32\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_5, label LBL_3\n LBL_3:\n %22 = bitcast i64* %sv_2 to i32*\n %23 = call i32 @time(i32* nonnull %22)\n %24 = bitcast i64* %sv_1 to %tm*\n %25 = call %tm* @localtime_r(i32* nonnull %22, %tm* nonnull %24)\n %26 = inttoptr i64 %9 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = inttoptr i64 %27 to i8*\n %29 = bitcast i64* %sv_2 to i8*\n %30 = call i32 @strftime(i8* %28, i32 8, i8* nonnull %29, %tm* %25)\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64* %26, i64** %.pre-phi.reg2mem\n br i1 %32, label LBL_7, label LBL_4\n LBL_4:\n %33 = ptrtoint %tm* %25 to i64\n %34 = call i64 @FUNC(i64 %9, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %33, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %35 = add i64 %6, 16\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = inttoptr i64 %9 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39, i64 8, i64 %3, i64 %37)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64* %38, i64** %.pre-phi.reg2mem\n br i1 %43, label LBL_7, label LBL_6\n LBL_6:\n %44 = call i64 @FUNC(i64 %9, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %39, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %45 = load i64, i64* %.pre-phi.reload, align 8\n %46 = call i64 @FUNC(i64 %45)\n %47 = inttoptr i64 %46 to i8*\n %48 = call i32 @strlen(i8* %47)\n %49 = add i32 %48, 1\n %50 = inttoptr i64 %6 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = icmp eq i64 %51, 0\n store i32 %49, i32* %sv_0.0.reg2mem\n br i1 %52, label LBL_9, label LBL_8\n LBL_8:\n %53 = inttoptr i64 %51 to i8*\n %54 = call i32 @strlen(i8* %53)\n %55 = add i32 %54, %49\n store i32 %55, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %56 = add i64 %6, 8\n %57 = sext i32 %sv_0.0.reload to i64\n %58 = call i64 @FUNC(i64 %56, i64 %57)\n %59 = trunc i64 %58 to i32\n %60 = icmp slt i32 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_11, label LBL_10\n LBL_10:\n %62 = and i64 %58, 4294967295\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %63 = load i64, i64* %.pre-phi.reload, align 8\n %64 = call i64 @FUNC(i64 %63)\n %65 = load i64, i64* %50, align 8\n %66 = icmp eq i64 %65, 0\n %spec.select = select i1 %66, i64 ptrtoint (i8** @gv_2 to i64), i64 %65\n %67 = inttoptr i64 %56 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = inttoptr i64 %68 to i8*\n %70 = inttoptr i64 %spec.select to i8*\n %71 = inttoptr i64 %64 to i8*\n %72 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %69, i32 %sv_0.0.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i8* %70, i8* %71)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %49, { 1, 0 }\n uselistorder %tm* %25, { 1, 0 }\n uselistorder i64 %9, { 2, 3, 0, 1 }\n uselistorder i64 %6, { 1, 2, 4, 3, 0, 5, 6 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 (i64)* @av_basename, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i64 8, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rbd_get_client_4455", "fun_name": "rbd_get_client", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 4, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_7\n LBL_1:\n %3 = inttoptr i64 %0 to i32*\n store i32 1000, i32* %3, align 4\n %4 = load i64, i64* @gv_0, align 8\n %5 = inttoptr i64 %arg2 to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = sext i32 %6 to i64\n %8 = add i64 %7, %arg2\n %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 %arg3, i64 %arg2, i64 %8, i64 %4, i64 %0)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_6, label LBL_2\n LBL_2:\n %12 = ptrtoint i64* %arg1 to i64\n %13 = call i64 @FUNC(i64* nonnull @gv_1)\n %14 = load i64, i64* %sv_1, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = load i64, i64* %sv_1, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC(i64 %0)\n %sext = mul i64 %15, 4294967296\n %20 = ashr exact i64 %sext, 32\n %21 = call i64 @FUNC(i64 %20)\n store i64 %20, i64* %arg1, align 8\n %22 = add nsw i64 %20, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %12, 8\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n %27 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %28 = call i64 @FUNC(i64* nonnull @gv_1)\n %29 = load i64, i64* %sv_1, align 8\n %30 = call i64 @FUNC(i64 %29, i64 %0)\n %31 = icmp ult i64 %30, -1000\n store i64 %30, i64* %sv_0.0.reg2mem\n br i1 %31, label LBL_5, label LBL_6\n LBL_5:\n %sext4 = mul i64 %30, 4294967296\n %32 = ashr exact i64 %sext4, 32\n store i64 %32, i64* %arg1, align 8\n %33 = add nsw i64 %32, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = add i64 %12, 8\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %38 = call i64 @FUNC(i64 %0)\n %39 = and i64 %sv_0.0.reload, 4294967295\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %30, { 1, 0, 2 }\n uselistorder i64 %20, { 0, 2, 1 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 2, 3, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64*)* @spin_unlock, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__inode_permission_8887", "fun_name": "__inode_permission", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i64 %arg2, 2\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_8\n LBL_2:\n %8 = call i64 @FUNC(i64 %0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_8\n LBL_3:\n %11 = and i64 %arg2, 4294967295\n %12 = call i64 @FUNC(i64 %0, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = and i64 %12, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n %16 = call i64 @FUNC(i64 %0, i64 %11)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = and i64 %16, 4294967295\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %20 = call i64 @FUNC(i64 %0, i64 %11)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 3, 4, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_8, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cli_read_prepare_result_17813", "fun_name": "cli_read_prepare_result", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 0)\n %3 = icmp eq i64 %2, 4294967295\n %4 = icmp eq i1 %3, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_10\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %9, 1\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = bitcast i64* %arg2 to i32*\n store i32 %12, i32* %13, align 4\n %14 = add i64 %9, 5\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = add i64 %9, 7\n %18 = inttoptr i64 %17 to i16*\n %19 = load i16, i16* %18, align 2\n %20 = icmp ult i64 %2, 12\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = add i64 %9, 10\n %22 = inttoptr i64 %21 to i16*\n %23 = load i16, i16* %22, align 2\n %24 = zext i16 %23 to i32\n store i32 %24, i32* %6, align 4\n br label LBL_3\n LBL_3:\n %25 = icmp eq i16 %19, 0\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i64 %0, i64 1)\n %27 = zext i16 %19 to i64\n %28 = call i64 @FUNC(i64 %0, i64 %27, i64 7)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %30, label LBL_5, label LBL_10\n LBL_5:\n %31 = ptrtoint i64* %arg2 to i64\n %32 = icmp eq i16 %16, 0\n store i64 0, i64* %.pre-phi.reg2mem\n br i1 %32, label LBL_9, label LBL_6\n LBL_6:\n %33 = add i64 %0, 12\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = urem i32 %35, 2\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n %39 = or i32 %35, 2\n store i32 %39, i32* %34, align 4\n br label LBL_8\n LBL_8:\n %40 = call i64 @FUNC(i64 %0, i64 2)\n %41 = zext i16 %16 to i64\n %42 = call i64 @FUNC(i64 %0, i64 %41, i64 7)\n %43 = add i64 %31, 24\n %44 = inttoptr i64 %43 to i64*\n store i64 %42, i64* %44, align 8\n %45 = icmp eq i64 %42, 0\n %46 = icmp eq i1 %45, false\n store i64 %41, i64* %.pre-phi.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %46, label LBL_9, label LBL_10\n LBL_9:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %47 = call i64 @FUNC(i64 %0, i64 3)\n %48 = add i64 %31, 8\n %49 = inttoptr i64 %48 to i64*\n store i64 %.pre-phi.reload, i64* %49, align 8\n %50 = zext i16 %19 to i64\n %51 = add i64 %31, 16\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %31, { 1, 2, 0 }\n uselistorder i64 %9, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 5, 3, 2, 4, 1, 0, 6, 7, 8, 9 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @cli_read_metadata, { 1, 0 }\n uselistorder i64 (i64, i64)* @MYSQL_TRACE_STAGE, { 2, 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 7, { 1, 2, 0 }\n uselistorder i64 0, { 0, 6, 1, 7, 4, 2, 3, 5 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_10, { 3, 0, 1, 2 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "allwinner_ahci_class_init_14397", "fun_name": "allwinner_ahci_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "create_durable_buf_10277", "fun_name": "create_durable_buf", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 32, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = inttoptr i64 %0 to i16*\n %4 = call i64 @FUNC(i64 16)\n %5 = trunc i64 %4 to i16\n store i16 %5, i16* %3, align 2\n %6 = call i64 @FUNC(i64 16)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = call i64 @FUNC(i64 12)\n %11 = trunc i64 %10 to i16\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i16*\n store i16 %11, i16* %13, align 2\n %14 = call i64 @FUNC(i64 4)\n %15 = trunc i64 %14 to i16\n %16 = add i64 %0, 10\n %17 = inttoptr i64 %16 to i16*\n store i16 %15, i16* %17, align 2\n %18 = add i64 %0, 12\n %19 = inttoptr i64 %18 to i8*\n store i8 68, i8* %19, align 1\n %20 = add i64 %0, 13\n %21 = inttoptr i64 %20 to i8*\n store i8 72, i8* %21, align 1\n %22 = add i64 %0, 14\n %23 = inttoptr i64 %22 to i8*\n store i8 110, i8* %23, align 1\n %24 = add i64 %0, 15\n %25 = inttoptr i64 %24 to i8*\n store i8 81, i8* %25, align 1\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 (i64)* @cpu_to_le16, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "IsValidSize_13436", "fun_name": "IsValidSize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 40\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = mul i64 %5, 4\n %7 = add i64 %6, %1\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = or i32 %9, %4\n %11 = icmp eq i32 %10, 0\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n %12 = add i64 %1, 44\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n store i32 %14, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %15 = trunc i64 %arg2 to i32\n %16 = add i32 %15, 2\n %17 = icmp ult i32 %sv_0.0.reload, %16\n store i64 0, i64* %storemerge.reg2mem\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_tag_2628", "fun_name": "check_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sext2 = mul i64 %arg3, 4294967296\n %0 = ashr exact i64 %sext2, 32\n %1 = trunc i64 %0 to i32\n %2 = icmp ult i32 %1, 5\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = and i64 %arg2, 4294967295\n %5 = call i64 @FUNC(i64 %3, i64 %4, i64 0)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = and i64 %0, 4294967295\n %9 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 %8)\n %10 = icmp slt i64 %9, %8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64* nonnull %sv_0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8)\n %15 = trunc i64 %14 to i32\n %16 = icmp ne i32 %15, 0\n %spec.select = zext i1 %16 to i64\n ret i64 %spec.select\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder label LBL_5, { 0, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "timerqueue_init_head_6356", "fun_name": "timerqueue_init_head", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg1, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_partitions_2109", "fun_name": "setup_partitions", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i32\n %storemerge111.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 136\n %4 = call i64 @FUNC(i64 %3, i64 2)\n %5 = trunc i64 %4 to i32\n %6 = urem i32 %5, 32\n %7 = shl i32 1, %6\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, align 4\n %9 = trunc i64 %1 to i32\n %10 = mul i32 %9, -3\n %11 = add i32 %arg3, 3\n %12 = add i32 %11, %10\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_1, label LBL_9\n LBL_1:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = mul i64 %1, 12884901888\n %sext21 = add i64 %16, -12884901888\n %17 = ashr exact i64 %sext21, 32\n %18 = add i64 %17, %15\n %19 = icmp eq i32 %9, 1\n %.pre = add i64 %2, 8\n store i64 %18, i64* %sv_1.0.lcssa.reg2mem\n store i32 %12, i32* %sv_0.0.lcssa.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %19, label LBL_8, label LBL_2\n LBL_2:\n %20 = add i64 %1, 4294967295\n %21 = and i64 %20, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge111.reg2mem\n store i32 %12, i32* %sv_0.010.reg2mem\n store i64 %18, i64* %sv_1.09.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %storemerge111.reload = load i32, i32* %storemerge111.reg2mem\n %22 = mul i32 %storemerge111.reload, 3\n %23 = sext i32 %22 to i64\n %24 = add i64 %23, %15\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = sub i32 %sv_0.010.reload, %26\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_4, label LBL_9\n LBL_4:\n %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %30 = mul i64 %.reload, 8\n %31 = add i64 %30, %.pre\n %32 = call i64 @FUNC(i64 %31, i64 %sv_1.09.reload, i32 %26)\n %33 = trunc i64 %32 to i32\n %34 = icmp slt i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_6, label LBL_5\n LBL_5:\n %36 = and i64 %32, 4294967295\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %sext = mul i64 %25, 4294967296\n %37 = ashr exact i64 %sext, 32\n %38 = add i64 %37, %sv_1.09.reload\n %39 = add i32 %storemerge111.reload, 1\n %40 = sext i32 %39 to i64\n %41 = icmp sgt i64 %21, %40\n store i64 %40, i64* %.reg2mem\n store i32 %39, i32* %storemerge111.reg2mem\n store i32 %27, i32* %sv_0.010.reg2mem\n store i64 %38, i64* %sv_1.09.reg2mem\n br i1 %41, label LBL_3, label LBL_7\n LBL_7:\n %phitmp = mul i64 %40, 8\n store i64 %38, i64* %sv_1.0.lcssa.reg2mem\n store i32 %27, i32* %sv_0.0.lcssa.reg2mem\n store i64 %phitmp, i64* %.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %42 = add i64 %.lcssa.reload, %.pre\n %43 = call i64 @FUNC(i64 %42, i64 %sv_1.0.lcssa.reload, i32 %sv_0.0.lcssa.reload)\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %40, { 1, 0, 2 }\n uselistorder i64 %sv_1.09.reload, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i32 %12, { 1, 0, 2 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge111.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder label LBL_9, { 3, 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "verifyAttribute_13265", "fun_name": "verifyAttribute", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = inttoptr i64 %arg2 to i8*\n %4 = inttoptr i64 %arg3 to i8*\n store i64 %2, i64* %sv_0.01.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %5 = inttoptr i64 %sv_0.01.reload to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i8*\n %8 = call i32 @strcmp(i8* %3, i8* %7)\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = add i64 %sv_0.01.reload, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i8*\n %15 = call i32 @strcmp(i8* %4, i8* %14)\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n %18 = add i64 %sv_0.01.reload, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %sv_0.01.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %22, label LBL_2, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.01.reload, { 2, 0, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 3, 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kqemu_vmalloc_7389", "fun_name": "kqemu_vmalloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %sv_0 = alloca i64, align 8\n %2 = load i128, i128* %0\n %3 = load i64, i64* %1\n %sv_1 = alloca i64, align 8\n %4 = load i32, i32* inttoptr (i64 4210820 to i32*), align 4\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_13, label LBL_1\n LBL_1:\n %7 = call i8* @getenv(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n %8 = icmp eq i8* %7, null\n %9 = icmp eq i1 %8, false\n %spec.select = select i1 %9, i8* %7, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0)\n %10 = bitcast i64* %sv_1 to %statfs*\n %11 = call i32 @statfs(i8* %spec.select, %statfs* nonnull %10)\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_7, label LBL_2\n LBL_2:\n %14 = trunc i128 %2 to i64\n %15 = mul i64 %3, %14\n %16 = load i32, i32* @gv_2, align 4\n %17 = add i32 %16, 8388608\n %18 = sext i32 %17 to i64\n %19 = icmp sgt i64 %15, %18\n br i1 %19, label LBL_7, label LBL_3\n LBL_3:\n %20 = add i32 %16, 1048575\n %21 = icmp slt i32 %16, 0\n %22 = select i1 %21, i32 %20, i32 %16\n %23 = ashr i32 %22, 20\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %25 = zext i32 %23 to i64\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_4, i64 0, i64 0), i8* %spec.select, i64 %25)\n %27 = call i32 @strcmp(i8* %spec.select, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_5, label LBL_4\n LBL_4:\n %30 = add nsw i32 %23, 16\n %31 = zext i32 %30 to i64\n %32 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %33 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %32, i8* getelementptr inbounds ([138 x i8], [138 x i8]* @gv_5, i64 0, i64 0), i64 %31)\n br label LBL_6\n LBL_5:\n %34 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %35 = call i32 @fwrite(i64* bitcast ([186 x i8]* @gv_6 to i64*), i32 1, i32 185, %_IO_FILE* %34)\n br label LBL_6\n LBL_6:\n %36 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %37 = call i32 @fwrite(i64* bitcast ([50 x i8]* @gv_7 to i64*), i32 1, i32 49, %_IO_FILE* %36)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %38 = bitcast i64* %sv_0 to i8*\n %39 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %38, i32 1024, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i8* %spec.select)\n %40 = call i32 @mkstemp(i8* nonnull %38)\n %41 = icmp slt i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_10, label LBL_8\n LBL_8:\n %43 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %44 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %43, i8* getelementptr inbounds ([138 x i8], [138 x i8]* @gv_9, i64 0, i64 0), i8* %spec.select)\n %45 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %38, i32 1024, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0))\n %46 = call i32 @mkstemp(i8* nonnull %38)\n %47 = icmp slt i32 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_10, label LBL_9\n LBL_9:\n %49 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %50 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %49, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_11, i64 0, i64 0), i64* nonnull %sv_0)\n call void @exit(i32 1)\n unreachable\n LBL_10:\n %51 = call i32 (i8*, i32, ...) @open(i8* nonnull %38, i32 578)\n store i32 %51, i32* @gv_12, align 4\n %52 = icmp slt i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_12, label LBL_11\n LBL_11:\n %54 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %55 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %54, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_13, i64 0, i64 0), i64* nonnull %sv_0)\n call void @exit(i32 1)\n unreachable\n LBL_12:\n %56 = call i32 @unlink(i8* nonnull %38)\n br label LBL_13\n LBL_13:\n %57 = load i32, i32* @gv_14, align 4\n %58 = load i32, i32* @gv_12, align 4\n %59 = trunc i64 %arg1 to i32\n %60 = add i32 %59, 4095\n %61 = and i32 %60, -4096\n %62 = add i32 %57, %61\n %63 = call i32 @ftruncate(i32 %58, i32 %62)\n %64 = load i32, i32* @gv_14, align 4\n %65 = load i32, i32* @gv_12, align 4\n %66 = call i64* @mmap(i64* null, i32 %61, i32 3, i32 1, i32 %65, i32 %64)\n %67 = icmp eq i64* %66, inttoptr (i64 -1 to i64*)\n %68 = icmp eq i1 %67, false\n br i1 %68, label LBL_15, label LBL_14\n LBL_14:\n %69 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %70 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_15 to i64*), i32 1, i32 30, %_IO_FILE* %69)\n call void @exit(i32 1)\n unreachable\n LBL_15:\n %71 = ptrtoint i64* %66 to i64\n %72 = load i32, i32* @gv_14, align 4\n %73 = add i32 %72, %61\n store i32 %73, i32* @gv_14, align 4\n ret i64 %71\n\n uselistorder i64* %66, { 1, 0 }\n uselistorder i32 %61, { 0, 2, 1 }\n uselistorder i8* %38, { 2, 3, 0, 1, 4, 5 }\n uselistorder i32 %16, { 2, 1, 0, 3 }\n uselistorder i8* %spec.select, { 2, 3, 1, 0, 4 }\n uselistorder i32* @gv_14, { 3, 2, 1, 0 }\n uselistorder i32* @gv_12, { 2, 1, 0 }\n uselistorder i32 (i8*)* @mkstemp, { 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }\n uselistorder void (i32)* @exit, { 3, 2, 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 3, 2, 0, 4 }\n uselistorder %_IO_FILE** @gv_3, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i32 1, { 2, 3, 4, 5, 6, 8, 9, 7, 11, 10, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "create_bits_5008", "fun_name": "create_bits", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n store i64 8, i64* %rax.0.reg2mem\n switch i32 %0, label LBL_1 [\n i32 0, label LBL_3\n i32 1, label LBL_2\n ]\n LBL_1:\n %1 = icmp eq i32 %0, 2\n %2 = icmp eq i1 %1, false\n %. = select i1 %2, i64 0, i64 32\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n store i64 24, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %sext6 = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext6, 32\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 %rax.0.reload)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %7, label LBL_4, label LBL_11\n LBL_4:\n %8 = trunc i64 %rax.0.reload to i32\n %9 = trunc i64 %3 to i32\n %10 = mul i32 %8, %9\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64 31)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %14, label LBL_5, label LBL_11\n LBL_5:\n %sext7 = mul i64 %arg3, 4294967296\n %15 = add i32 %10, 31\n %16 = ashr i32 %15, 5\n %17 = mul i32 %16, 4\n %18 = sext i32 %17 to i64\n %19 = ashr exact i64 %sext7, 32\n %20 = call i64 @FUNC(i64 %19, i64 %18)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %22, label LBL_6, label LBL_11\n LBL_6:\n %23 = icmp eq i64* %arg4, null\n br i1 %23, label LBL_8, label LBL_7\n LBL_7:\n %24 = bitcast i64* %arg4 to i32*\n store i32 %17, i32* %24, align 4\n br label LBL_8\n LBL_8:\n %25 = trunc i64 %arg3 to i32\n %26 = mul i32 %17, %25\n %27 = trunc i64 %arg5 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %29 = call i64* @calloc(i32 %26, i32 1)\n %30 = ptrtoint i64* %29 to i64\n store i64 %30, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_10:\n %31 = call i64* @malloc(i32 %26)\n %32 = ptrtoint i64* %31 to i64\n store i64 %32, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_11:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %17, { 2, 1, 0 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rax.1.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64 32, { 1, 2, 0, 3, 4, 5 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_11, { 3, 4, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_xdr_dec_getacl_11674", "fun_name": "nfs4_xdr_dec_getacl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i32, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n store i32 %3, i32* %sv_0, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %.reg2mem\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg3 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %6, 4\n %9 = call i64 @FUNC(i64 %0, i64 %8, i64 %7)\n %10 = trunc i64 %9 to i32\n store i32 %10, i32* %sv_0, align 4\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %.reg2mem\n br i1 %12, label LBL_4, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n store i32 %14, i32* %sv_0, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %13, i64* %.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %0, i64 %7, i64 %6)\n %18 = trunc i64 %17 to i32\n store i32 %18, i32* %sv_0, align 4\n store i64 %17, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %19 = and i64 %.reload, 4294967295\n ret i64 %19\n\n uselistorder i32* %sv_0, { 3, 2, 1, 0, 4 }\n uselistorder i64* %.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pic_common_class_init_2150", "fun_name": "pic_common_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i8*\n store i8 1, i8* %2, align 1\n %3 = load i64, i64* @gv_1, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n store i64 4198662, i64* %7, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mp_mul_2d_6069", "fun_name": "mp_mul_2d", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.in8.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i32\n %storemerge410.reg2mem = alloca i32\n %rdx = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_1, label LBL_13\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = bitcast i32* %arg1 to i64*\n %7 = icmp eq i64* %6, %arg3\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8, i64 %5)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %9, i64* %rax.0.shrunk.reg2mem\n br i1 %11, label LBL_3, label LBL_13\n LBL_3:\n %12 = trunc i64 %1 to i32\n %13 = ashr i32 %2, 5\n %14 = add i32 %13, %12\n %15 = add i64 %5, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp ult i32 %14, %17\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = add i32 %14, 1\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %5, i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n store i64 %21, i64* %rax.0.shrunk.reg2mem\n br i1 %23, label LBL_5, label LBL_13\n LBL_5:\n %24 = icmp slt i32 %2, 32\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = udiv i64 %arg2, 32\n %26 = urem i64 %25, 134217728\n %27 = call i64 @FUNC(i64 %5, i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 %27, i64* %rax.0.shrunk.reg2mem\n br i1 %29, label LBL_7, label LBL_13\n LBL_7:\n %30 = srem i32 %2, 32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_12, label LBL_8\n LBL_8:\n %32 = bitcast i64* %rdx to i32*\n %33 = urem i32 %30, 32\n %34 = shl i32 1, %33\n %storemerge = zext i32 %34 to i64\n store i64 %storemerge, i64* %rdx, align 8\n %35 = add i32 %34, -1\n %36 = add i64 %5, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = sub nsw i32 0, %30\n %40 = urem i32 %39, 32\n store i32 0, i32* %storemerge410.reg2mem\n store i32 0, i32* %sv_1.09.reg2mem\n store i64 %38, i64* %sv_0.0.in8.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.in8.reload = load i64, i64* %sv_0.0.in8.reg2mem\n %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem\n %storemerge410.reload = load i32, i32* %storemerge410.reg2mem\n %sv_0.011 = inttoptr i64 %sv_0.0.in8.reload to i32*\n %41 = load i32, i32* %sv_0.011, align 4\n %42 = lshr i32 %41, %40\n %storemerge5 = zext i32 %42 to i64\n store i64 %storemerge5, i64* %rdx, align 8\n %43 = and i32 %42, %35\n %44 = load i32, i32* %sv_0.011, align 4\n %45 = shl i32 %44, %33\n %storemerge6 = zext i32 %45 to i64\n store i64 %storemerge6, i64* %rdx, align 8\n %46 = or i32 %45, %sv_1.09.reload\n store i32 %46, i32* %sv_0.011, align 4\n %47 = add i64 %sv_0.0.in8.reload, 4\n %48 = add i32 %storemerge410.reload, 1\n %49 = load i32, i32* %32, align 8\n %50 = zext i32 %49 to i64\n %51 = sext i32 %48 to i64\n %52 = icmp slt i64 %51, %50\n store i32 %48, i32* %storemerge410.reg2mem\n store i32 %43, i32* %sv_1.09.reg2mem\n store i64 %47, i64* %sv_0.0.in8.reg2mem\n br i1 %52, label LBL_9, label LBL_10\n LBL_10:\n %53 = icmp eq i32 %43, 0\n br i1 %53, label LBL_12, label LBL_11\n LBL_11:\n %54 = load i64, i64* %37, align 8\n %55 = add i32 %49, 1\n %56 = bitcast i64* %arg3 to i32*\n store i32 %55, i32* %56, align 4\n %57 = sext i32 %49 to i64\n %58 = mul i64 %57, 4\n %59 = add i64 %54, %58\n %60 = inttoptr i64 %59 to i32*\n store i32 %43, i32* %60, align 4\n br label LBL_12\n LBL_12:\n %61 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32 %49, { 1, 0, 2 }\n uselistorder i32 %43, { 1, 2, 0 }\n uselistorder i32* %sv_0.011, { 2, 1, 0 }\n uselistorder i32 %33, { 1, 0 }\n uselistorder i32 %30, { 2, 0, 1 }\n uselistorder i64 %5, { 2, 1, 0, 4, 3, 5 }\n uselistorder i32 %2, { 0, 2, 1, 3 }\n uselistorder i32* %storemerge410.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.in8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i32 -1, { 1, 2, 3, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_13, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_seek_stream_16483", "fun_name": "mov_seek_stream", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.18.reg2mem = alloca i32\n %storemerge29.reg2mem = alloca i32\n %sv_0.010.reg2mem = alloca i32\n %storemerge311.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %2, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %2, i64 %arg3, i32 %arg4)\n %8 = trunc i64 %7 to i32\n %9 = and i64 %7, 4294967295\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %arg3, i64 %9)\n %12 = icmp slt i32 %8, 0\n %13 = icmp eq i1 %12, false\n store i32 %8, i32* %sv_1.0.reg2mem\n br i1 %13, label LBL_3, label LBL_1\n LBL_1:\n %14 = add i64 %2, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n store i32 %8, i32* %sv_1.0.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp sgt i64 %22, %arg3\n %spec.select = select i1 %23, i32 0, i32 %8\n store i32 %spec.select, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %24 = icmp slt i32 %sv_1.0.reload, 0\n %25 = icmp eq i1 %24, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %25, label LBL_4, label LBL_14\n LBL_4:\n %26 = inttoptr i64 %6 to i32*\n %27 = bitcast i64* %rsi to i32*\n store i32 %sv_1.0.reload, i32* %26, align 4\n %28 = load i32, i32* %27, align 8\n %29 = zext i32 %sv_1.0.reload to i64\n %30 = zext i32 %28 to i64\n %31 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %29, i64 %9)\n %32 = add i64 %6, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n br i1 %35, label LBL_10, label LBL_5\n LBL_5:\n %36 = add i64 %6, 4\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_10, label LBL_6\n LBL_6:\n %40 = load i32, i32* %26, align 4\n %41 = zext i32 %40 to i64\n %42 = zext i32 %38 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge311.reg2mem\n store i32 0, i32* %sv_0.010.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %storemerge311.reload = load i32, i32* %storemerge311.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %43 = mul i64 %.reload, 4\n %44 = add i64 %43, %34\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i32 %46, %sv_0.010.reload\n %48 = sext i32 %47 to i64\n %49 = icmp sgt i64 %48, %41\n br i1 %49, label LBL_8, label LBL_9\n LBL_8:\n %50 = add i64 %6, 20\n %51 = inttoptr i64 %50 to i32*\n store i32 %storemerge311.reload, i32* %51, align 4\n %52 = load i32, i32* %26, align 4\n %53 = sub i32 %52, %sv_0.010.reload\n %54 = add i64 %6, 24\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n br label LBL_10\n LBL_9:\n %56 = add i32 %storemerge311.reload, 1\n %57 = sext i32 %56 to i64\n %58 = icmp slt i64 %57, %42\n store i64 %57, i64* %.reg2mem\n store i32 %56, i32* %storemerge311.reg2mem\n store i32 %47, i32* %sv_0.010.reg2mem\n br i1 %58, label LBL_7, label LBL_10\n LBL_10:\n %59 = add i64 %6, 16\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = icmp eq i32 %61, 0\n store i32 0, i32* %storemerge29.reg2mem\n store i32 0, i32* %sv_0.18.reg2mem\n store i64 %29, i64* %storemerge.reg2mem\n br i1 %62, label LBL_14, label LBL_11\n LBL_11:\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %storemerge29.reload = load i32, i32* %storemerge29.reg2mem\n %63 = zext i32 %storemerge29.reload to i64\n %64 = call i64 @FUNC(i64 %6, i64 %63)\n %65 = trunc i64 %64 to i32\n %66 = add i32 %sv_0.18.reload, %65\n %67 = load i32, i32* %26, align 4\n %68 = zext i32 %67 to i64\n %69 = sext i32 %66 to i64\n %70 = icmp sgt i64 %69, %68\n br i1 %70, label LBL_12, label LBL_13\n LBL_12:\n %71 = add i64 %6, 28\n %72 = inttoptr i64 %71 to i32*\n store i32 %storemerge29.reload, i32* %72, align 4\n %73 = load i32, i32* %26, align 4\n %74 = sub i32 %73, %sv_0.18.reload\n %75 = add i64 %6, 32\n %76 = inttoptr i64 %75 to i32*\n store i32 %74, i32* %76, align 4\n store i64 %29, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_13:\n %77 = add i32 %storemerge29.reload, 1\n %78 = load i32, i32* %60, align 4\n %79 = zext i32 %78 to i64\n %80 = sext i32 %77 to i64\n %81 = icmp slt i64 %80, %79\n store i32 %77, i32* %storemerge29.reg2mem\n store i32 %66, i32* %sv_0.18.reg2mem\n store i64 %29, i64* %storemerge.reg2mem\n br i1 %81, label LBL_11, label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge29.reload, { 0, 2, 1 }\n uselistorder i32 %sv_0.18.reload, { 1, 0 }\n uselistorder i32* %60, { 1, 0 }\n uselistorder i32 %sv_0.010.reload, { 1, 0 }\n uselistorder i64 %29, { 0, 2, 1, 3 }\n uselistorder i32* %26, { 2, 3, 0, 1, 4 }\n uselistorder i32 %sv_1.0.reload, { 1, 0, 2 }\n uselistorder i32 %8, { 2, 0, 1, 3 }\n uselistorder i64 %6, { 2, 3, 4, 5, 0, 1, 6, 7, 8 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge311.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.010.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.18.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder label LBL_14, { 0, 2, 1, 3 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 0, 2, 1, 3 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "find_high_bit_6652", "fun_name": "find_high_bit", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = trunc i64 %0 to i32\n store i32 31, i32* %storemerge35.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %2 = urem i32 %storemerge35.reload, 32\n %3 = icmp eq i32 %2, 0\n %4 = lshr i32 %1, %2\n %5 = zext i32 %4 to i64\n %storemerge = select i1 %3, i64 %0, i64 %5\n %6 = urem i64 %storemerge, 2\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = zext i32 %storemerge35.reload to i64\n store i64 %8, i64* %storemerge2.reg2mem\n br label LBL_4\n LBL_3:\n %9 = add nsw i32 %storemerge35.reload, -1\n %10 = icmp eq i32 %storemerge35.reload, 0\n %11 = icmp eq i1 %10, false\n store i32 %9, i32* %storemerge35.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %11, label LBL_1, label LBL_4\n LBL_4:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32 %storemerge35.reload, { 2, 0, 1, 3 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "packet_put_7062", "fun_name": "packet_put", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i32, i32* @gv_0, align 4\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n br label LBL_3\n LBL_2:\n %4 = call i64 @FUNC(i64 %0)\n br label LBL_3\n LBL_3:\n %5 = load i32, i32* @gv_1, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_5, label LBL_4\n LBL_4:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n %9 = call i64 @FUNC(i64 111)\n unreachable\n LBL_5:\n %10 = trunc i64 %0 to i8\n %11 = urem i64 %0, 256\n %12 = icmp eq i8 %10, 20\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_8, label LBL_6\n LBL_6:\n %14 = load i32, i32* @gv_3, align 4\n %15 = urem i32 %14, 2\n %16 = icmp eq i32 %15, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_8, label LBL_7\n LBL_7:\n store i32 0, i32* @gv_1, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "futex_wake_882", "fun_name": "futex_wake", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i32 @pthread_mutex_lock(i64* %arg1)\n %3 = icmp eq i32 %1, 1\n %4 = icmp eq i1 %3, false\n %5 = add i64 %0, 40\n %6 = inttoptr i64 %5 to i64*\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i32 @pthread_cond_signal(i64* %6)\n br label LBL_3\n LBL_2:\n %8 = call i32 @pthread_cond_broadcast(i64* %6)\n br label LBL_3\n LBL_3:\n %9 = call i32 @pthread_mutex_unlock(i64* %arg1)\n %10 = sext i32 %9 to i64\n ret i64 %10\n\n uselistorder i64* %6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tp3780I_QueryAbilities_18789", "fun_name": "tp3780I_QueryAbilities", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i32* %arg1 to i64\n %7 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %4, i64 %2, i64 %1)\n %8 = trunc i64 %3 to i32\n %9 = bitcast i64* %arg2 to i32*\n store i32 %8, i32* %9, align 4\n %10 = add i64 %6, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %5, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %6, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %5, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %6, 12\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %5, 12\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %5, 16\n %26 = inttoptr i64 %25 to i32*\n store i32 65537, i32* %26, align 4\n %27 = add i64 %5, 20\n %28 = inttoptr i64 %27 to i32*\n store i32 65538, i32* %28, align 4\n %29 = add i64 %5, 24\n %30 = inttoptr i64 %29 to i32*\n store i32 65540, i32* %30, align 4\n %31 = add i64 %5, 28\n %32 = inttoptr i64 %31 to i32*\n store i32 65544, i32* %32, align 4\n %33 = add i64 %5, 32\n %34 = inttoptr i64 %33 to i32*\n store i32 65552, i32* %34, align 4\n %35 = add i64 %5, 36\n %36 = inttoptr i64 %35 to i32*\n store i32 65568, i32* %36, align 4\n %37 = add i64 %5, 40\n %38 = inttoptr i64 %37 to i32*\n store i32 65600, i32* %38, align 4\n %39 = add i64 %5, 44\n %40 = inttoptr i64 %39 to i32*\n store i32 7, i32* %40, align 4\n %41 = add i64 %5, 48\n %42 = inttoptr i64 %41 to i64*\n %43 = call i64* @memcpy(i64* %42, i64* bitcast ([8 x i8]* @gv_1 to i64*), i32 8)\n %44 = add i64 %5, 80\n %45 = inttoptr i64 %44 to i64*\n %46 = call i64* @memcpy(i64* %45, i64* bitcast ([8 x i8]* @gv_2 to i64*), i32 8)\n %47 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_3, i64 0, i64 0), i64 8, i64 %4, i64 %2, i64 %1)\n ret i64 0\n\n uselistorder i64 %5, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tlb_reset_dirty_3050", "fun_name": "tlb_reset_dirty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %indvars.iv9.reg2mem = alloca i64\n %indvars.iv6.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 2048\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_4\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = add nuw nsw i64 %indvars.iv.reload, %10\n %3 = mul i64 %2, 8\n %4 = add i64 %3, %0\n %5 = call i64 @FUNC(i64 %4, i64 %arg2, i64 %arg3)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %indvars.iv6.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem\n %6 = add nuw nsw i64 %indvars.iv6.reload, %10\n %7 = mul i64 %6, 8\n %8 = add i64 %1, %7\n %9 = call i64 @FUNC(i64 %8, i64 %arg2, i64 %arg3)\n %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1\n %exitcond8 = icmp eq i64 %indvars.iv.next7, 64\n store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem\n br i1 %exitcond8, label LBL_3, label LBL_2\n LBL_3:\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %exitcond11 = icmp eq i64 %indvars.iv.next10, 4\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n br i1 %exitcond11, label LBL_5, label LBL_4\n LBL_4:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %10 = mul i64 %indvars.iv9.reload, 64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_5:\n ret i64 %9\n\n uselistorder i64 %indvars.iv9.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @tlb_reset_dirty_range, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_personality_64bit_10446", "fun_name": "set_personality_64bit", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 1)\n %1 = call i64 @FUNC(i64 2)\n %2 = call i64 @FUNC(i64 4)\n %3 = load i64, i64* @gv_0, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 %3, i64* %.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = inttoptr i64 %5 to i32*\n store i32 0, i32* %7, align 4\n %.pre = load i64, i64* @gv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %8 = add i64 %.reload, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = and i32 %10, -9\n store i32 %11, i32* %9, align 4\n ret i64 %.reload\n\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @clear_thread_flag, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_virtqueue_kick_15066", "fun_name": "qvirtio_pci_virtqueue_kick", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %arg1, i64 %5, i32 %2)\n ret i64 %6\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "add_probe_13372", "fun_name": "add_probe", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i8* @strchr(i8* %arg1, i32 47)\n %1 = icmp eq i8* %0, null\n %2 = ptrtoint i8* %arg1 to i64\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %2)\n unreachable\n LBL_2:\n %4 = call i64 @FUNC(i64 %2)\n %5 = load i32, i32* @gv_1, align 4\n %6 = urem i32 %5, 4\n %7 = zext i32 %6 to i64\n %8 = icmp eq i32 %6, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n %10 = add i64 %4, 256\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = and i32 %12, 4\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_4\n LBL_4:\n %15 = inttoptr i64 %4 to i8*\n %16 = call i32 @strncmp(i8* %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i32 7)\n %17 = sext i32 %16 to i64\n %18 = icmp eq i32 %16, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n store i32 1, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32 4, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i32 1, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_remount_sb_6289", "fun_name": "do_remount_sb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i1\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 4294967280, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_16\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %sext4 = mul i64 %arg4, 4294967296\n %6 = ashr exact i64 %sext4, 32\n %7 = urem i64 %arg2, 2\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_7, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %5)\n %10 = call i64 @FUNC(i64 %5)\n %11 = call i64 @FUNC(i64 %5)\n %12 = add i64 %5, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = urem i32 %14, 2\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i1 true, i1* %storemerge5.reg2mem\n br i1 %17, label LBL_8, label LBL_3\n LBL_3:\n %18 = trunc i64 %6 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = add i64 %5, 32\n %21 = inttoptr i64 %20 to i32*\n store i32 1, i32* %21, align 4\n %22 = call i64 @FUNC()\n store i1 false, i1* %storemerge5.reg2mem\n br label LBL_8\n LBL_5:\n %23 = call i64 @FUNC(i64 %5)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i1 false, i1* %storemerge5.reg2mem\n br i1 %25, label LBL_8, label LBL_6\n LBL_6:\n %26 = and i64 %23, 4294967295\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_7:\n %27 = call i64 @FUNC(i64 %5)\n %28 = call i64 @FUNC(i64 %5)\n store i1 true, i1* %storemerge5.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge5.reload = load i1, i1* %storemerge5.reg2mem\n %29 = add i64 %5, 16\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n br i1 %34, label LBL_12, label LBL_9\n LBL_9:\n %35 = trunc i64 %5 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_12, label LBL_10\n LBL_10:\n %37 = and i64 %5, 4294967295\n %38 = trunc i64 %6 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_15, label LBL_11\n LBL_11:\n %40 = add i64 %5, 24\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %44, i64 %37, i64 %33, i64 %1)\n br label LBL_12\n LBL_12:\n %46 = add i64 %5, 4\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = and i32 %48, -4\n %50 = trunc i64 %arg2 to i32\n %51 = urem i32 %50, 4\n %52 = or i32 %49, %51\n store i32 %52, i32* %47, align 4\n %53 = call i64 @FUNC()\n %54 = add i64 %5, 32\n %55 = inttoptr i64 %54 to i32*\n store i32 0, i32* %55, align 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %storemerge5.reload, label LBL_16, label LBL_13\n LBL_13:\n %56 = add i64 %5, 8\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = icmp eq i64 %58, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_16, label LBL_14\n LBL_14:\n %60 = call i64 @FUNC(i64 %58)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %61 = add i64 %5, 32\n %62 = inttoptr i64 %61 to i32*\n store i32 0, i32* %62, align 4\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %5, { 6, 10, 11, 12, 7, 9, 8, 13, 0, 1, 4, 5, 3, 15, 14, 2 }\n uselistorder i1* %storemerge5.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 1, 5, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 ()* @smp_wmb, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 32, { 1, 2, 3, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_16, { 4, 2, 1, 0, 5, 3 }\n uselistorder label LBL_8, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_max_resource_4716", "fun_name": "get_max_resource", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.2.reg2mem = alloca i64\n %.pre-phi18.reg2mem = alloca i64*\n %sv_0.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %.reg2mem25 = alloca i64\n %rdi.0.reg2mem = alloca i64\n %.reg2mem23 = alloca i64\n %.reg2mem = alloca i64\n %rdi.34.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_21\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_21\n LBL_2:\n %7 = icmp eq i64* %arg1, null\n %8 = icmp eq i1 %7, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_21\n LBL_3:\n %sext = mul i64 %arg2, 4294967296\n %9 = ashr exact i64 %sext, 32\n %10 = and i64 %9, 4294967295\n %11 = add nsw i64 %9, 4294967295\n %12 = and i64 %11, 4294967295\n %13 = sub nsw i64 0, %9\n %14 = and i64 %13, 4294967295\n store i64 %0, i64* %storemerge5.reg2mem\n store i64 %0, i64* %rdi.34.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.34.reload = load i64, i64* %rdi.34.reg2mem\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %15 = add i64 %storemerge5.reload, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp ult i64 %17, %10\n store i64 %rdi.34.reload, i64* %rdi.2.reg2mem\n br i1 %18, label LBL_20, label LBL_5\n LBL_5:\n %19 = inttoptr i64 %storemerge5.reload to i64*\n %20 = load i64, i64* %19, align 8\n %21 = and i64 %20, %12\n %22 = icmp eq i64 %21, 0\n store i64 %17, i64* %.reg2mem\n store i64 %20, i64* %.reg2mem23\n store i64 %rdi.34.reload, i64* %rdi.0.reg2mem\n br i1 %22, label LBL_9, label LBL_6\n LBL_6:\n %23 = or i64 %20, %11\n %24 = add i64 %23, 1\n %25 = and i64 %24, 4294967295\n %26 = add i64 %20, %17\n %27 = sub i64 %26, %25\n %28 = icmp ult i64 %27, %10\n store i64 %rdi.34.reload, i64* %rdi.2.reg2mem\n br i1 %28, label LBL_20, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 24, i64 0)\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %31, label LBL_8, label LBL_21\n LBL_8:\n %32 = load i64, i64* %19, align 8\n %33 = inttoptr i64 %29 to i64*\n store i64 %32, i64* %33, align 8\n %34 = load i64, i64* %19, align 8\n %35 = sub i64 %25, %34\n %36 = add i64 %29, 8\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n store i64 %25, i64* %19, align 8\n %38 = load i64, i64* %16, align 8\n %39 = load i64, i64* %37, align 8\n %40 = sub i64 %38, %39\n store i64 %40, i64* %16, align 8\n %41 = add i64 %storemerge5.reload, 16\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i64 %29, 16\n %45 = inttoptr i64 %44 to i64*\n store i64 %43, i64* %45, align 8\n store i64 %29, i64* %42, align 8\n %.pre = load i64, i64* %19, align 8\n %.pre14 = load i64, i64* %16, align 8\n store i64 %.pre14, i64* %.reg2mem\n store i64 %.pre, i64* %.reg2mem23\n store i64 24, i64* %rdi.0.reg2mem\n br label LBL_9\n LBL_9:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %.reload24 = load i64, i64* %.reg2mem23\n %.reload = load i64, i64* %.reg2mem\n %46 = add i64 %.reload24, %.reload\n %47 = and i64 %46, %12\n %48 = icmp eq i64 %47, 0\n store i64 %.reload, i64* %.reg2mem25\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %48, label LBL_12, label LBL_10\n LBL_10:\n %49 = call i64 @FUNC(i64 24, i64 0)\n %50 = icmp eq i64 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %51, label LBL_11, label LBL_21\n LBL_11:\n %52 = load i64, i64* %19, align 8\n %53 = load i64, i64* %16, align 8\n %54 = add i64 %53, %52\n %55 = and i64 %14, %54\n %56 = inttoptr i64 %49 to i64*\n store i64 %55, i64* %56, align 8\n %57 = load i64, i64* %16, align 8\n %58 = load i64, i64* %19, align 8\n %59 = sub i64 %57, %55\n %60 = add i64 %59, %58\n %61 = add i64 %49, 8\n %62 = inttoptr i64 %61 to i64*\n store i64 %60, i64* %62, align 8\n %63 = load i64, i64* %16, align 8\n %64 = sub i64 %63, %60\n store i64 %64, i64* %16, align 8\n %65 = add i64 %storemerge5.reload, 16\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = add i64 %49, 16\n %69 = inttoptr i64 %68 to i64*\n store i64 %67, i64* %69, align 8\n store i64 %49, i64* %66, align 8\n %.pre15 = load i64, i64* %16, align 8\n store i64 %.pre15, i64* %.reg2mem25\n store i64 24, i64* %rdi.1.reg2mem\n br label LBL_12\n LBL_12:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %.reload26 = load i64, i64* %.reg2mem25\n %70 = icmp ult i64 %.reload26, %10\n store i64 %rdi.1.reload, i64* %rdi.2.reg2mem\n br i1 %70, label LBL_20, label LBL_13\n LBL_13:\n %71 = icmp eq i64 %rdi.1.reload, %storemerge5.reload\n %72 = icmp eq i1 %71, false\n store i64 %rdi.1.reload, i64* %sv_0.0.reg2mem\n br i1 %72, label LBL_15, label LBL_14\n LBL_14:\n %73 = add i64 %storemerge5.reload, 16\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n store i64 %75, i64* %arg1, align 8\n store i64* %74, i64** %.pre-phi18.reg2mem\n br label LBL_19\n LBL_15:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %cond = icmp eq i64 %sv_0.0.reload, 0\n br i1 %cond, label LBL_18, label LBL_16\n LBL_16:\n %76 = add i64 %sv_0.0.reload, 16\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = icmp eq i64 %storemerge5.reload, %78\n %80 = icmp eq i1 %79, false\n store i64 %78, i64* %sv_0.0.reg2mem\n br i1 %80, label LBL_15, label LBL_17\n LBL_17:\n %81 = add i64 %storemerge5.reload, 16\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n store i64 %83, i64* %77, align 8\n store i64* %82, i64** %.pre-phi18.reg2mem\n br label LBL_19\n LBL_18:\n %.pre16 = add i64 %storemerge5.reload, 16\n %.pre17 = inttoptr i64 %.pre16 to i64*\n store i64* %.pre17, i64** %.pre-phi18.reg2mem\n br label LBL_19\n LBL_19:\n %.pre-phi18.reload = load i64*, i64** %.pre-phi18.reg2mem\n store i64 0, i64* %.pre-phi18.reload, align 8\n store i64 %storemerge5.reload, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %84 = add i64 %storemerge5.reload, 16\n %85 = inttoptr i64 %84 to i64*\n %86 = load i64, i64* %85, align 8\n %87 = icmp eq i64 %86, 0\n %88 = icmp eq i1 %87, false\n store i64 %86, i64* %storemerge5.reg2mem\n store i64 %rdi.2.reload, i64* %rdi.34.reg2mem\n store i64 %86, i64* %rax.0.reg2mem\n br i1 %88, label LBL_4, label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rdi.1.reload, { 1, 2, 0 }\n uselistorder i64 %60, { 1, 0 }\n uselistorder i64 %25, { 2, 1, 0 }\n uselistorder i64 %20, { 1, 2, 0, 3 }\n uselistorder i64* %19, { 4, 5, 0, 1, 2, 3, 6 }\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i64* %16, { 0, 5, 4, 6, 7, 1, 3, 2, 8 }\n uselistorder i64 %storemerge5.reload, { 5, 0, 10, 8, 9, 6, 7, 2, 1, 3, 4 }\n uselistorder i64 %rdi.34.reload, { 0, 2, 1 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 2, 0, 3, 4 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.34.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.pre-phi18.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 5, 2, 1, 4, 6, 7 }\n uselistorder i64 16, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }\n uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 }\n uselistorder i64 24, { 0, 2, 1, 3 }\n uselistorder i64 4294967295, { 1, 0, 2, 3, 4 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_21, { 2, 4, 1, 0, 3, 5, 6 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bt_hci_event_complete_read_local_name_3003", "fun_name": "bt_hci_event_complete_read_local_name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n store i32 0, i32* %sv_1, align 4\n %1 = ptrtoint i64* %sv_0 to i64\n %2 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 248)\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 248, i64 %1)\n %4 = call i64 @FUNC(i64 %0, i32* nonnull %sv_1, i64 252)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_tests_10035", "fun_name": "setup_tests", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 1)\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0), i64 1)\n %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 1)\n %4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i64 1)\n ret i64 1\n\n uselistorder i32 (i8*, ...)* @printf, { 0, 1, 4, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sg_res_in_use_9321", "fun_name": "sg_res_in_use", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge.in2.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = add i64 %1, 8\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = icmp eq i64 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %3, i64* %storemerge.in2.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %storemerge.in2.reload = load i64, i64* %storemerge.in2.reg2mem\n %storemerge = inttoptr i64 %storemerge.in2.reload to i32*\n %7 = load i32, i32* %storemerge, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %.lcssa.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = add i64 %storemerge.in2.reload, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %storemerge.in2.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %15 = call i64 @FUNC(i64 %3, i64 %2)\n ret i64 %.lcssa.reload\n\n uselistorder i64 %3, { 2, 0, 1, 3 }\n uselistorder i64* %storemerge.in2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xfrm_compile_policy_18141", "fun_name": "xfrm_compile_policy", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %trunc = trunc i64 %arg1 to i16\n switch i16 %trunc, label LBL_5 [\n i16 2, label LBL_1\n i16 10, label LBL_3\n ]\n LBL_1:\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 1\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = bitcast i64* %arg5 to i32*\n store i32 1, i32* %7, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_3:\n %8 = trunc i64 %4 to i32\n %9 = icmp eq i32 %8, 2\n br i1 %9, label LBL_6, label LBL_4\n LBL_4:\n %10 = bitcast i64* %arg5 to i32*\n store i32 1, i32* %10, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %11 = bitcast i64* %arg5 to i32*\n store i32 2, i32* %11, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %12 = bitcast i64* %arg5 to i32*\n store i32 2, i32* %12, align 4\n %13 = trunc i64 %arg4 to i32\n %14 = icmp ult i32 %13, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_11, label LBL_7\n LBL_7:\n %15 = ptrtoint i64* %arg3 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_8, label LBL_11\n LBL_8:\n %19 = call i64 @FUNC(i64 0)\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_10, label LBL_9\n LBL_9:\n store i32 3, i32* %12, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %22 = add i64 %15, 4\n %23 = trunc i64 %2 to i32\n %24 = call i64 @FUNC(i64 %19, i64 %15)\n %25 = call i64 @FUNC(i64 %19, i64 %22, i32 %3)\n store i32 %23, i32* %12, align 4\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %19, { 0, 2, 1, 3 }\n uselistorder i64 %15, { 0, 2, 1 }\n uselistorder i32* %12, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 2, 1, 3, 4, 5 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i64* %arg5, { 1, 3, 2, 0 }\n uselistorder label LBL_11, { 2, 3, 1, 0, 4, 5, 6 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "i440fx_class_init_179", "fun_name": "i440fx_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198662, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i32*\n store i32 32902, i32* %6, align 4\n %7 = add i64 %0, 28\n %8 = inttoptr i64 %7 to i32*\n store i32 4663, i32* %8, align 4\n %9 = add i64 %0, 32\n %10 = inttoptr i64 %9 to i32*\n store i32 2, i32* %10, align 4\n %11 = add i64 %0, 36\n %12 = inttoptr i64 %11 to i32*\n store i32 394240, i32* %12, align 4\n store i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %13 = inttoptr i64 %1 to i8*\n store i8 1, i8* %13, align 1\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %4, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xtensa_cpu_class_init_504", "fun_name": "xtensa_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %arg1, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198711, i64* %12, align 8\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i64*\n store i64 4198718, i64* %14, align 8\n %15 = add i64 %0, 64\n %16 = inttoptr i64 %15 to i64*\n store i64 4198725, i64* %16, align 8\n %17 = add i64 %0, 72\n %18 = inttoptr i64 %17 to i8*\n store i8 1, i8* %18, align 1\n %19 = add i64 %0, 80\n %20 = inttoptr i64 %19 to i64*\n store i64 4198732, i64* %20, align 8\n %21 = add i64 %0, 88\n %22 = inttoptr i64 %21 to i64*\n store i64 4198739, i64* %22, align 8\n %23 = add i64 %0, 96\n %24 = inttoptr i64 %23 to i64*\n store i64 4198746, i64* %24, align 8\n %25 = add i64 %0, 104\n %26 = inttoptr i64 %25 to i64*\n store i64 4198753, i64* %26, align 8\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mountpoint_last_11771", "fun_name": "mountpoint_last", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i32 %3, i32* %.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 4294967286, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_1.LBL_3_crit_edge, label LBL_17\n LBL_2:\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %9 = and i32 %.reload, -3\n store i32 %9, i32* %2, align 4\n %10 = add i64 %0, 20\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = zext i1 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_6, label LBL_4\n LBL_4:\n %19 = load i32, i32* %11, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %0, i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %21, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_17, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %0)\n store i64 %25, i64* %sv_1.1.reg2mem\n br label LBL_12\n LBL_6:\n %26 = call i64 @FUNC(i64 %15)\n %27 = add i64 %0, 24\n %28 = call i64 @FUNC(i64 %0, i64 %27)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %sv_1.0.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %30, label LBL_11, label LBL_7\n LBL_7:\n %31 = call i64 @FUNC(i64 %0, i64 %27)\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_9, label LBL_8\n LBL_8:\n %34 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_9:\n %35 = load i32, i32* %2, align 4\n %36 = call i64 @FUNC(i64 %0, i64 %31, i32 %35)\n %37 = call i64 @FUNC(i64 %36)\n %38 = call i64 @FUNC(i64 %36)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n store i64 %36, i64* %sv_1.0.reg2mem\n store i64 %36, i64* %rdi.0.reg2mem\n br i1 %40, label LBL_11, label LBL_10\n LBL_10:\n %41 = call i64 @FUNC(i64 %36)\n store i64 %37, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_11:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %42 = call i64 @FUNC(i64 %rdi.0.reload)\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n br label LBL_12\n LBL_12:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %43 = inttoptr i64 %sv_1.1.reload to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n br i1 %45, label LBL_14, label LBL_13\n LBL_13:\n %46 = call i64 @FUNC(i64 %sv_1.1.reload)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_15, label LBL_14\n LBL_14:\n %49 = call i64 @FUNC(i64 %sv_1.1.reload)\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_15:\n %50 = ptrtoint i64* %arg2 to i64\n store i64 %sv_1.1.reload, i64* %arg2, align 8\n %51 = add i64 %0, 8\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = call i64 @FUNC(i64 %53)\n %55 = add i64 %50, 8\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n %57 = load i32, i32* %2, align 4\n %58 = and i32 %57, 4\n %59 = zext i32 %58 to i64\n %60 = call i64 @FUNC(i64 %sv_1.1.reload, i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %62, label LBL_16, label LBL_18\n LBL_16:\n %63 = call i64 @FUNC(i64 %50)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %64 = call i64 @FUNC(i64 %0)\n %65 = and i64 %sv_0.0.reload, 4294967295\n store i64 %65, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.1.reload, { 4, 3, 2, 0, 1 }\n uselistorder i64 %36, { 2, 0, 1, 3, 4 }\n uselistorder i32* %2, { 1, 2, 3, 0, 4 }\n uselistorder i64 %0, { 8, 7, 5, 4, 6, 0, 9, 10, 2, 3, 11, 1, 12 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 6, 4, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @mutex_unlock, { 2, 1, 0 }\n uselistorder i64 0, { 0, 8, 9, 10, 6, 1, 2, 11, 3, 4, 5, 7 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 2, 3, 4, 5, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "helper_rfmci_772", "fun_name": "helper_rfmci", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0, i64 %0, i64 %3, i64 -1, i64 0)\n ret i64 %4\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_cursor_2614", "fun_name": "load_cursor", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.514.reg2mem = alloca i8*\n %sv_1.515.reg2mem = alloca i16*\n %sv_2.516.reg2mem = alloca i32*\n %storemerge17.reg2mem = alloca i32\n %.reg2mem57 = alloca i32\n %.reg2mem55 = alloca i32\n %sv_2.4.lcssa.reg2mem = alloca i32*\n %sv_1.4.lcssa.reg2mem = alloca i16*\n %sv_0.4.lcssa.reg2mem = alloca i8*\n %.reg2mem53 = alloca i32\n %.reg2mem51 = alloca i32\n %sv_2.3.reg2mem = alloca i32*\n %sv_1.3.reg2mem = alloca i16*\n %sv_0.3.reg2mem = alloca i8*\n %sv_0.48.reg2mem = alloca i8*\n %sv_1.49.reg2mem = alloca i16*\n %sv_2.410.reg2mem = alloca i32*\n %storemerge411.reg2mem = alloca i32\n %sv_0.226.reg2mem = alloca i8*\n %sv_1.227.reg2mem = alloca i16*\n %sv_2.228.reg2mem = alloca i32*\n %storemerge529.reg2mem = alloca i32\n %.reg2mem49 = alloca i32\n %.reg2mem47 = alloca i32\n %.pre3344.reg2mem = alloca i32\n %sv_2.1.lcssa.reg2mem = alloca i32*\n %sv_1.1.lcssa.reg2mem = alloca i16*\n %sv_0.1.lcssa.reg2mem = alloca i8*\n %.reg2mem45 = alloca i32\n %.reg2mem = alloca i32\n %.pre33.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32*\n %sv_1.0.reg2mem = alloca i16*\n %sv_0.0.reg2mem = alloca i8*\n %sv_0.119.reg2mem = alloca i8*\n %sv_1.120.reg2mem = alloca i16*\n %sv_2.121.reg2mem = alloca i32*\n %storemerge622.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %9, label LBL_24, label LBL_1\n LBL_1:\n %10 = trunc i64 %1 to i32\n %11 = inttoptr i64 %5 to i32*\n %12 = inttoptr i64 %5 to i16*\n %13 = inttoptr i64 %5 to i8*\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = add i64 %2, 12\n %17 = inttoptr i64 %16 to i32*\n %18 = add i64 %2, 32\n %19 = and i64 %1, 4294967295\n %20 = icmp eq i32 %10, 1\n %21 = icmp eq i1 %20, false\n %22 = icmp eq i32 %10, 2\n %23 = icmp eq i1 %22, false\n %24 = icmp eq i32 %10, 4\n %25 = icmp eq i1 %24, false\n %.pre = load i32, i32* %15, align 4\n store i32 %.pre, i32* %.pre3344.reg2mem\n store i32 %8, i32* %.reg2mem47\n store i32 %.pre, i32* %.reg2mem49\n store i32 0, i32* %storemerge529.reg2mem\n store i32* %11, i32** %sv_2.228.reg2mem\n store i16* %12, i16** %sv_1.227.reg2mem\n store i8* %13, i8** %sv_0.226.reg2mem\n br label LBL_11\n LBL_2:\n %sv_0.119.reload = load i8*, i8** %sv_0.119.reg2mem\n %sv_1.120.reload = load i16*, i16** %sv_1.120.reg2mem\n %sv_2.121.reload = load i32*, i32** %sv_2.121.reg2mem\n %storemerge622.reload = load i32, i32* %storemerge622.reg2mem\n %26 = load i32, i32* %17, align 4\n %27 = call i64 @FUNC(i64 %18, i64 %19, i32 %26)\n store i8* %sv_0.119.reload, i8** %sv_0.0.reg2mem\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %28 = ptrtoint i8* %sv_0.119.reload to i64\n %29 = add i64 %28, 1\n %30 = inttoptr i64 %29 to i8*\n %31 = trunc i64 %27 to i8\n store i8 %31, i8* %sv_0.119.reload, align 1\n store i8* %30, i8** %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n store i16* %sv_1.120.reload, i16** %sv_1.0.reg2mem\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %32 = ptrtoint i16* %sv_1.120.reload to i64\n %33 = add i64 %32, 2\n %34 = inttoptr i64 %33 to i16*\n %35 = trunc i64 %27 to i16\n store i16 %35, i16* %sv_1.120.reload, align 2\n store i16* %34, i16** %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.0.reload = load i16*, i16** %sv_1.0.reg2mem\n store i32* %sv_2.121.reload, i32** %sv_2.0.reg2mem\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %36 = trunc i64 %27 to i32\n %37 = ptrtoint i32* %sv_2.121.reload to i64\n %38 = add i64 %37, 4\n %39 = inttoptr i64 %38 to i32*\n store i32 %36, i32* %sv_2.121.reload, align 4\n store i32* %39, i32** %sv_2.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_2.0.reload = load i32*, i32** %sv_2.0.reg2mem\n %40 = add i32 %storemerge622.reload, 1\n %41 = load i32, i32* %15, align 4\n %42 = zext i32 %41 to i64\n %43 = sext i32 %40 to i64\n %44 = icmp slt i64 %43, %42\n store i32 %40, i32* %storemerge622.reg2mem\n store i32* %sv_2.0.reload, i32** %sv_2.121.reg2mem\n store i16* %sv_1.0.reload, i16** %sv_1.120.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.119.reg2mem\n br i1 %44, label LBL_2, label LBL_9\n LBL_9:\n %.pre32 = load i32, i32* %7, align 4\n store i32 %41, i32* %.pre33.reg2mem\n store i32 %.pre32, i32* %.reg2mem\n store i32 %41, i32* %.reg2mem45\n store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem\n store i16* %sv_1.0.reload, i16** %sv_1.1.lcssa.reg2mem\n store i32* %sv_2.0.reload, i32** %sv_2.1.lcssa.reg2mem\n br label LBL_10\n LBL_10:\n %sv_2.1.lcssa.reload = load i32*, i32** %sv_2.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i16*, i16** %sv_1.1.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem\n %.reload46 = load i32, i32* %.reg2mem45\n %.reload = load i32, i32* %.reg2mem\n %.pre33.reload = load i32, i32* %.pre33.reg2mem\n %45 = add i32 %storemerge529.reload, 1\n %46 = zext i32 %.reload to i64\n %47 = sext i32 %45 to i64\n %48 = icmp slt i64 %47, %46\n store i32 %.pre33.reload, i32* %.pre3344.reg2mem\n store i32 %.reload, i32* %.reg2mem47\n store i32 %.reload46, i32* %.reg2mem49\n store i32 %45, i32* %storemerge529.reg2mem\n store i32* %sv_2.1.lcssa.reload, i32** %sv_2.228.reg2mem\n store i16* %sv_1.1.lcssa.reload, i16** %sv_1.227.reg2mem\n store i8* %sv_0.1.lcssa.reload, i8** %sv_0.226.reg2mem\n br i1 %48, label LBL_11, label LBL_12\n LBL_11:\n %sv_0.226.reload = load i8*, i8** %sv_0.226.reg2mem\n %sv_1.227.reload = load i16*, i16** %sv_1.227.reg2mem\n %sv_2.228.reload = load i32*, i32** %sv_2.228.reg2mem\n %storemerge529.reload = load i32, i32* %storemerge529.reg2mem\n %.reload50 = load i32, i32* %.reg2mem49\n %.reload48 = load i32, i32* %.reg2mem47\n %.pre3344.reload = load i32, i32* %.pre3344.reg2mem\n %49 = icmp eq i32 %.reload50, 0\n store i32 0, i32* %storemerge622.reg2mem\n store i32* %sv_2.228.reload, i32** %sv_2.121.reg2mem\n store i16* %sv_1.227.reload, i16** %sv_1.120.reg2mem\n store i8* %sv_0.226.reload, i8** %sv_0.119.reg2mem\n store i32 %.pre3344.reload, i32* %.pre33.reg2mem\n store i32 %.reload48, i32* %.reg2mem\n store i32 0, i32* %.reg2mem45\n store i8* %sv_0.226.reload, i8** %sv_0.1.lcssa.reg2mem\n store i16* %sv_1.227.reload, i16** %sv_1.1.lcssa.reg2mem\n store i32* %sv_2.228.reload, i32** %sv_2.1.lcssa.reg2mem\n br i1 %49, label LBL_10, label LBL_2\n LBL_12:\n %50 = add i64 %2, 24\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = icmp eq i32 %.reload, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %53, label LBL_24, label LBL_13\n LBL_13:\n %54 = inttoptr i64 %52 to i32*\n %55 = inttoptr i64 %52 to i16*\n %56 = inttoptr i64 %52 to i8*\n store i32 %.reload, i32* %.reg2mem55\n store i32 %.pre33.reload, i32* %.reg2mem57\n store i32 0, i32* %storemerge17.reg2mem\n store i32* %54, i32** %sv_2.516.reg2mem\n store i16* %55, i16** %sv_1.515.reg2mem\n store i8* %56, i8** %sv_0.514.reg2mem\n br label LBL_23\n LBL_14:\n %sv_0.48.reload = load i8*, i8** %sv_0.48.reg2mem\n %sv_1.49.reload = load i16*, i16** %sv_1.49.reg2mem\n %sv_2.410.reload = load i32*, i32** %sv_2.410.reg2mem\n %storemerge411.reload = load i32, i32* %storemerge411.reg2mem\n %57 = load i32, i32* %17, align 4\n %58 = call i64 @FUNC(i64 %18, i64 %19, i32 %57)\n store i8* %sv_0.48.reload, i8** %sv_0.3.reg2mem\n br i1 %21, label LBL_16, label LBL_15\n LBL_15:\n %59 = ptrtoint i8* %sv_0.48.reload to i64\n %60 = add i64 %59, 1\n %61 = inttoptr i64 %60 to i8*\n %62 = trunc i64 %58 to i8\n store i8 %62, i8* %sv_0.48.reload, align 1\n store i8* %61, i8** %sv_0.3.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.3.reload = load i8*, i8** %sv_0.3.reg2mem\n store i16* %sv_1.49.reload, i16** %sv_1.3.reg2mem\n br i1 %23, label LBL_18, label LBL_17\n LBL_17:\n %63 = ptrtoint i16* %sv_1.49.reload to i64\n %64 = add i64 %63, 2\n %65 = inttoptr i64 %64 to i16*\n %66 = trunc i64 %58 to i16\n store i16 %66, i16* %sv_1.49.reload, align 2\n store i16* %65, i16** %sv_1.3.reg2mem\n br label LBL_18\n LBL_18:\n %sv_1.3.reload = load i16*, i16** %sv_1.3.reg2mem\n store i32* %sv_2.410.reload, i32** %sv_2.3.reg2mem\n br i1 %25, label LBL_20, label LBL_19\n LBL_19:\n %67 = trunc i64 %58 to i32\n %68 = ptrtoint i32* %sv_2.410.reload to i64\n %69 = add i64 %68, 4\n %70 = inttoptr i64 %69 to i32*\n store i32 %67, i32* %sv_2.410.reload, align 4\n store i32* %70, i32** %sv_2.3.reg2mem\n br label LBL_20\n LBL_20:\n %sv_2.3.reload = load i32*, i32** %sv_2.3.reg2mem\n %71 = add i32 %storemerge411.reload, 1\n %72 = load i32, i32* %15, align 4\n %73 = zext i32 %72 to i64\n %74 = sext i32 %71 to i64\n %75 = icmp slt i64 %74, %73\n store i32 %71, i32* %storemerge411.reg2mem\n store i32* %sv_2.3.reload, i32** %sv_2.410.reg2mem\n store i16* %sv_1.3.reload, i16** %sv_1.49.reg2mem\n store i8* %sv_0.3.reload, i8** %sv_0.48.reg2mem\n br i1 %75, label LBL_14, label LBL_21\n LBL_21:\n %.pre34 = load i32, i32* %7, align 4\n store i32 %.pre34, i32* %.reg2mem51\n store i32 %72, i32* %.reg2mem53\n store i8* %sv_0.3.reload, i8** %sv_0.4.lcssa.reg2mem\n store i16* %sv_1.3.reload, i16** %sv_1.4.lcssa.reg2mem\n store i32* %sv_2.3.reload, i32** %sv_2.4.lcssa.reg2mem\n br label LBL_22\n LBL_22:\n %sv_2.4.lcssa.reload = load i32*, i32** %sv_2.4.lcssa.reg2mem\n %sv_1.4.lcssa.reload = load i16*, i16** %sv_1.4.lcssa.reg2mem\n %sv_0.4.lcssa.reload = load i8*, i8** %sv_0.4.lcssa.reg2mem\n %.reload54 = load i32, i32* %.reg2mem53\n %.reload52 = load i32, i32* %.reg2mem51\n %76 = add i32 %storemerge17.reload, 1\n %77 = zext i32 %.reload52 to i64\n %78 = sext i32 %76 to i64\n %79 = icmp slt i64 %78, %77\n store i32 %.reload52, i32* %.reg2mem55\n store i32 %.reload54, i32* %.reg2mem57\n store i32 %76, i32* %storemerge17.reg2mem\n store i32* %sv_2.4.lcssa.reload, i32** %sv_2.516.reg2mem\n store i16* %sv_1.4.lcssa.reload, i16** %sv_1.515.reg2mem\n store i8* %sv_0.4.lcssa.reload, i8** %sv_0.514.reg2mem\n store i64 %77, i64* %.lcssa.reg2mem\n br i1 %79, label LBL_23, label LBL_24\n LBL_23:\n %sv_0.514.reload = load i8*, i8** %sv_0.514.reg2mem\n %sv_1.515.reload = load i16*, i16** %sv_1.515.reg2mem\n %sv_2.516.reload = load i32*, i32** %sv_2.516.reg2mem\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %.reload58 = load i32, i32* %.reg2mem57\n %.reload56 = load i32, i32* %.reg2mem55\n %80 = icmp eq i32 %.reload58, 0\n store i32 0, i32* %storemerge411.reg2mem\n store i32* %sv_2.516.reload, i32** %sv_2.410.reg2mem\n store i16* %sv_1.515.reload, i16** %sv_1.49.reg2mem\n store i8* %sv_0.514.reload, i8** %sv_0.48.reg2mem\n store i32 %.reload56, i32* %.reg2mem51\n store i32 0, i32* %.reg2mem53\n store i8* %sv_0.514.reload, i8** %sv_0.4.lcssa.reg2mem\n store i16* %sv_1.515.reload, i16** %sv_1.4.lcssa.reg2mem\n store i32* %sv_2.516.reload, i32** %sv_2.4.lcssa.reg2mem\n br i1 %80, label LBL_22, label LBL_14\n LBL_24:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32* %sv_2.516.reload, { 1, 0 }\n uselistorder i16* %sv_1.515.reload, { 1, 0 }\n uselistorder i8* %sv_0.514.reload, { 1, 0 }\n uselistorder i64 %58, { 2, 0, 1 }\n uselistorder i32* %sv_2.410.reload, { 2, 1, 0 }\n uselistorder i16* %sv_1.49.reload, { 2, 1, 0 }\n uselistorder i8* %sv_0.48.reload, { 2, 1, 0 }\n uselistorder i64 %52, { 2, 1, 0 }\n uselistorder i32* %sv_2.228.reload, { 1, 0 }\n uselistorder i16* %sv_1.227.reload, { 1, 0 }\n uselistorder i8* %sv_0.226.reload, { 1, 0 }\n uselistorder i32 %.reload, { 0, 3, 1, 2 }\n uselistorder i64 %27, { 2, 0, 1 }\n uselistorder i32* %sv_2.121.reload, { 2, 1, 0 }\n uselistorder i16* %sv_1.120.reload, { 2, 1, 0 }\n uselistorder i8* %sv_0.119.reload, { 2, 1, 0 }\n uselistorder i32* %15, { 0, 2, 1 }\n uselistorder i32 %10, { 2, 1, 0 }\n uselistorder i64 %5, { 2, 0, 1 }\n uselistorder i64 %2, { 4, 1, 2, 0, 3, 5 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge622.reg2mem, { 1, 2, 0 }\n uselistorder i32** %sv_2.121.reg2mem, { 1, 2, 0 }\n uselistorder i16** %sv_1.120.reg2mem, { 1, 2, 0 }\n uselistorder i8** %sv_0.119.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.pre33.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem45, { 1, 0, 2 }\n uselistorder i8** %sv_0.1.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_1.1.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_2.1.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge411.reg2mem, { 1, 2, 0 }\n uselistorder i32** %sv_2.410.reg2mem, { 1, 2, 0 }\n uselistorder i16** %sv_1.49.reg2mem, { 1, 2, 0 }\n uselistorder i8** %sv_0.48.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem51, { 1, 0, 2 }\n uselistorder i32* %.reg2mem53, { 1, 0, 2 }\n uselistorder i8** %sv_0.4.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_1.4.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_2.4.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 (i64, i64, i32)* @vmnc_get_pixel, { 1, 0 }\n uselistorder i32 0, { 1, 2, 7, 0, 8, 4, 5, 6, 3, 9 }\n uselistorder label LBL_24, { 0, 2, 1 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_scsi_unrealize_15179", "fun_name": "vhost_scsi_unrealize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = load i64, i64* %3, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %1, i64 0)\n %9 = call i64 @FUNC(i64 %1)\n %10 = call i64 @FUNC(i64 %1, i64 %0)\n ret i64 %10\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jsi_GetHomeDir_9588", "fun_name": "jsi_GetHomeDir", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_1, label LBL_7\n LBL_1:\n %2 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %3 = ptrtoint i8* %2 to i64\n %4 = icmp eq i8* %2, null\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = call i32 @getuid()\n %7 = bitcast i64* %sv_1 to %passwd*\n %8 = bitcast i64* %sv_2 to i8*\n %9 = bitcast i64* %sv_3 to %passwd**\n %10 = call i32 @getpwuid_r(i32 %6, %passwd* nonnull %7, i8* nonnull %8, i32 3072, %passwd** nonnull %9)\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = load i64, i64* %sv_3, align 8\n %14 = add i64 %13, 32\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %spec.select = select i1 %17, i64 %3, i64 %16\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = icmp eq i64 %sv_0.0.reload, 0\n %19 = icmp eq i1 %18, false\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))\n store i64 ptrtoint (i64* @gv_2 to i64), i64* %sv_0.1.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %21 = call i64 @FUNC(i64 %0, i64 %sv_0.1.reload)\n call void @llvm.trap()\n unreachable\n LBL_7:\n ret i64 %0\n\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64* %sv_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_rdma_init_ram_blocks_1259", "fun_name": "qemu_rdma_init_ram_blocks", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64 4198879, i64 4198894)\n store i64 %5, i64* %2, align 8\n %6 = call i64* @memset(i64* %arg1, i32 0, i32 8)\n %7 = call i64 @FUNC(i64 4198801, i64 %0)\n %8 = bitcast i64* %rdi to i32*\n %9 = load i32, i32* %8, align 8\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i64 %10)\n %12 = call i64 @FUNC(i64 0)\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = add i64 %0, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 1, i32* %16, align 4\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_instance_init_16772", "fun_name": "nvme_instance_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 4198715, i64 4198730, i64 0)\n %2 = call i64 @FUNC(i64 %0, i64 4294967295, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 0)\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dnxhd_encode_picture_2146", "fun_name": "dnxhd_encode_picture", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %.reg2mem11 = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.05.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge1.in.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 80\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = sext i32 %arg3 to i64\n %12 = icmp slt i64 %11, %10\n br i1 %12, label LBL_1, label LBL_2\n LBL_1:\n %13 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_2:\n %14 = ptrtoint i64* %arg2 to i64\n %15 = call i64 @FUNC(i64 %5, i64 %arg4)\n %16 = add i64 %5, 72\n %17 = inttoptr i64 %16 to i64*\n %18 = add i64 %5, 8\n %19 = add i64 %5, 60\n %20 = inttoptr i64 %19 to i32*\n %21 = add i64 %5, 64\n %22 = inttoptr i64 %21 to i32*\n %23 = add i64 %5, 32\n %24 = add i64 %2, 120\n %25 = inttoptr i64 %24 to i32*\n %26 = add i64 %5, 56\n %27 = inttoptr i64 %26 to i32*\n %28 = add i64 %5, 112\n %29 = inttoptr i64 %28 to i64*\n %30 = add i64 %5, 48\n %31 = inttoptr i64 %30 to i64*\n store i64 %14, i64* %sv_2.0.reg2mem\n store i32 1, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %32 = load i64, i64* %17, align 8\n %33 = mul i64 %indvars.iv.reload, 8\n %34 = add i64 %32, %33\n %35 = add i64 %18, %33\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = inttoptr i64 %34 to i64*\n store i64 %37, i64* %38, align 8\n %39 = load i32, i32* %20, align 4\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_7, label LBL_5\n LBL_5:\n %41 = load i32, i32* %22, align 4\n %42 = icmp eq i32 %41, 0\n br i1 %42, label LBL_7, label LBL_6\n LBL_6:\n %43 = load i64, i64* %17, align 8\n %44 = add i64 %43, %33\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = mul i64 %indvars.iv.reload, 4\n %48 = add i64 %23, %47\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = sext i32 %50 to i64\n %52 = add i64 %46, %51\n store i64 %52, i64* %45, align 8\n br label LBL_7\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_4\n LBL_8:\n %53 = call i64 @FUNC(i64 %2, i64 %sv_2.0.reload)\n %54 = load i32, i32* %25, align 4\n %55 = icmp eq i32 %54, 1\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_10, label LBL_9\n LBL_9:\n %57 = call i64 @FUNC(i64 %2, i64 %5)\n store i64 %57, i64* %storemerge1.in.reg2mem\n br label LBL_11\n LBL_10:\n %58 = call i64 @FUNC(i64 %2, i64 %5)\n store i64 %58, i64* %storemerge1.in.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem\n %storemerge1 = trunc i64 %storemerge1.in.reload to i32\n %59 = icmp slt i32 %storemerge1, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_13, label LBL_12\n LBL_12:\n %61 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_13:\n %62 = call i64 @FUNC(i64 %5, i64 %sv_2.0.reload)\n %63 = load i32, i32* %27, align 4\n %64 = icmp eq i32 %63, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge6.reg2mem\n store i32 0, i32* %sv_0.05.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %64, label LBL_17, label LBL_14\n LBL_14:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %65 = load i64, i64* %29, align 8\n %66 = mul i32 %storemerge6.reload, 4\n %67 = sext i32 %66 to i64\n %68 = mul i64 %67, 4\n %69 = add i64 %68, %65\n %70 = zext i32 %sv_0.05.reload to i64\n %71 = call i64 @FUNC(i64 %69, i64 %70)\n %72 = load i64, i64* %31, align 8\n %73 = mul i64 %.reload, 4\n %74 = add i64 %72, %73\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = urem i32 %76, 4\n %78 = icmp eq i32 %77, 0\n br i1 %78, label LBL_16, label LBL_15\n LBL_15:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 123, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_16\n LBL_16:\n %79 = add i32 %76, %sv_0.05.reload\n %80 = add i32 %storemerge6.reload, 1\n %81 = load i32, i32* %27, align 4\n %82 = zext i32 %81 to i64\n %83 = sext i32 %80 to i64\n %84 = icmp slt i64 %83, %82\n store i64 %83, i64* %.reg2mem\n store i32 %80, i32* %storemerge6.reg2mem\n store i32 %79, i32* %sv_0.05.reg2mem\n store i32 %79, i32* %sv_0.0.lcssa.reg2mem\n br i1 %84, label LBL_14, label LBL_17\n LBL_17:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %85 = add i32 %sv_0.0.lcssa.reload, 643\n %86 = load i64, i64* %6, align 8\n %87 = add i64 %86, 4\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = icmp ult i32 %85, %89\n store i32 %89, i32* %.reg2mem11\n br i1 %90, label LBL_19, label LBL_18\n LBL_18:\n call void @__assert_fail(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 125, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n %.pre = load i64, i64* %6, align 8\n %.pre7 = add i64 %.pre, 4\n %.pre8 = inttoptr i64 %.pre7 to i32*\n %.pre10 = load i32, i32* %.pre8, align 4\n store i32 %.pre10, i32* %.reg2mem11\n br label LBL_19\n LBL_19:\n %.reload12 = load i32, i32* %.reg2mem11\n %91 = sub i32 -644, %sv_0.0.lcssa.reload\n %92 = add i32 %91, %.reload12\n %93 = sext i32 %sv_0.0.lcssa.reload to i64\n %94 = add i64 %sv_2.0.reload, 640\n %95 = add i64 %94, %93\n %96 = inttoptr i64 %95 to i64*\n %97 = call i64* @memset(i64* %96, i32 0, i32 %92)\n %98 = load i64, i64* %6, align 8\n %99 = add i64 %98, 4\n %100 = inttoptr i64 %99 to i32*\n %101 = load i32, i32* %100, align 4\n %102 = sext i32 %101 to i64\n %103 = add i64 %sv_2.0.reload, -4\n %104 = add i64 %103, %102\n %105 = call i64 @FUNC(i64 %104, i64 1611514078)\n %106 = load i32, i32* %20, align 4\n %107 = icmp eq i32 %106, 0\n %108 = icmp eq i32 %sv_1.0.reload, 0\n %or.cond = or i1 %108, %107\n br i1 %or.cond, label LBL_21, label LBL_20\n LBL_20:\n %109 = load i32, i32* %22, align 4\n %110 = xor i32 %109, 1\n store i32 %110, i32* %22, align 4\n %111 = load i64, i64* %6, align 8\n %112 = add i64 %111, 4\n %113 = inttoptr i64 %112 to i32*\n %114 = load i32, i32* %113, align 4\n %115 = sext i32 %114 to i64\n %116 = add i64 %sv_2.0.reload, %115\n store i64 %116, i64* %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_21:\n %117 = add i64 %5, 68\n %118 = inttoptr i64 %117 to i32*\n %119 = load i32, i32* %118, align 4\n %120 = call i128 @FUNC(i128 %1, i128 %1)\n %121 = call i128 @FUNC(i32 %119)\n %122 = call i32 @FUNC(i128 %121)\n %123 = add i64 %5, 44\n %124 = inttoptr i64 %123 to i32*\n store i32 %122, i32* %124, align 4\n %125 = load i64, i64* %6, align 8\n %126 = inttoptr i64 %125 to i32*\n %127 = load i32, i32* %126, align 4\n %128 = zext i32 %127 to i64\n store i64 %128, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.lcssa.reload, { 0, 2, 1 }\n uselistorder i32 %76, { 1, 0 }\n uselistorder i32 %sv_0.05.reload, { 1, 0 }\n uselistorder i64 %33, { 2, 0, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %sv_2.0.reload, { 4, 3, 2, 1, 0 }\n uselistorder i32* %27, { 1, 0 }\n uselistorder i32* %22, { 1, 0, 2 }\n uselistorder i64* %6, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64 %5, { 0, 1, 5, 6, 7, 2, 4, 3, 10, 9, 8, 12, 11, 13, 14 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem11, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64, i64)* @AV_WB32, { 1, 0 }\n uselistorder i64 4, { 4, 5, 3, 6, 0, 1, 2 }\n uselistorder i32 0, { 3, 5, 7, 6, 8, 0, 1, 2, 4, 9, 10, 11, 12 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_put_request_8475", "fun_name": "fuse_put_request", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = add i64 %arg2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg1)\n br label LBL_3\n LBL_3:\n %8 = add i64 %arg2, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %13 = call i64 @FUNC(i64 %arg2)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 %arg2, { 2, 1, 0, 3, 4 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pte_alloc_one_3875", "fun_name": "pte_alloc_one", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 0, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cJSON_GetObjectItem_13546", "fun_name": "cJSON_GetObjectItem", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %0, label LBL_5, label LBL_1\n LBL_1:\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %4, label LBL_5, label LBL_2\n LBL_2:\n %5 = ptrtoint i8* %arg2 to i64\n store i64 %3, i64* %storemerge3.reg2mem\n br label LBL_4\n LBL_3:\n %6 = inttoptr i64 %storemerge3.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n store i64 %7, i64* %storemerge3.reg2mem\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %9 = add i64 %storemerge3.reload, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %5)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %storemerge3.reload, i64* %storemerge.lcssa.reg2mem\n br i1 %15, label LBL_3, label LBL_5\n LBL_5:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64 %storemerge3.reload, { 0, 2, 1 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_command_info_15839", "fun_name": "qmp_command_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 16)\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %3)\n %5 = inttoptr i64 %2 to i64*\n store i64 %4, i64* %5, align 8\n %6 = call i64 @FUNC(i64 %1)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = call i64 @FUNC(i64 %1)\n %11 = trunc i64 %10 to i32\n %12 = add i64 %2, 12\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = call i64 @FUNC(i64 16)\n %15 = inttoptr i64 %14 to i64*\n store i64 %2, i64* %15, align 8\n %16 = add i64 %14, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %0, i64* %17, align 8\n store i64 %14, i64* %arg2, align 8\n ret i64 %0\n\n uselistorder i64 (i64)* @g_malloc0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hdspm_set_dds_value_5402", "fun_name": "hdspm_set_dds_value", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = icmp slt i32 %2, 1\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %8, label LBL_11, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %9 = ashr exact i64 %sext, 32\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 112000\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = udiv i64 %9, 4\n %13 = urem i64 %12, 1073741824\n store i64 %13, i64* %sv_1.0.reg2mem\n br label LBL_5\n LBL_3:\n %14 = icmp slt i32 %10, 56000\n store i64 %9, i64* %sv_1.0.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = icmp slt i64 %sext, 0\n %16 = zext i1 %15 to i32\n %17 = add i32 %16, %10\n %18 = ashr i32 %17, 1\n %19 = sext i32 %18 to i64\n store i64 %19, i64* %sv_1.0.reg2mem\n br label LBL_5\n LBL_5:\n %20 = trunc i64 %1 to i32\n %21 = icmp sgt i32 %20, 5\n br i1 %21, label LBL_9, label LBL_6\n LBL_6:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %22 = icmp sgt i32 %20, 3\n store i64 104857600000000, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_10, label LBL_7\n LBL_7:\n %23 = icmp eq i32 %20, 1\n store i64 131072000000000, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_10, label LBL_8\n LBL_8:\n %24 = icmp sgt i32 %20, 0\n %25 = or i32 %20, 1\n %26 = icmp eq i32 %25, 3\n %or.cond = icmp eq i1 %24, %26\n store i64 110069313433624, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_9\n LBL_9:\n %27 = call i64 @FUNC()\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %28 = and i64 %sv_1.0.reload, 4294967295\n %29 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %28)\n %30 = udiv i64 %29, 4294967296\n %31 = call i64 @FUNC(i64 %30)\n %32 = and i64 %29, 4294967295\n %33 = ptrtoint i32* %arg1 to i64\n %34 = call i64 @FUNC(i64 %33, i64 0, i64 %32)\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %29, { 1, 0 }\n uselistorder i32 %20, { 3, 4, 2, 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 4294967296, { 2, 0, 1 }\n uselistorder i64 (i64)* @snd_BUG_ON, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ohci_sysbus_class_init_2527", "fun_name": "ohci_sysbus_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 40\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = or i64 %3, 2\n store i64 %4, i64* %2, align 8\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 ptrtoint ([20 x i8]* @gv_0 to i64), i64* %6, align 8\n %7 = load i64, i64* @gv_1, align 8\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 4198669, i64* %11, align 8\n %12 = add i64 %0, 32\n %13 = inttoptr i64 %12 to i8*\n store i8 1, i8* %13, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "remoteStreamHandleFinish_5135", "fun_name": "remoteStreamHandleFinish", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i32* %arg3 to i64\n %5 = ptrtoint i32* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %7 = add i64 %4, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = trunc i64 %3 to i32\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %5, i32 %10, i32 %9, i64 %2, i64 %1)\n store i32 1, i32* %arg2, align 4\n %12 = add i64 %5, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = load i64, i64* %13, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n store i32 %18, i32* %sv_0, align 4\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_2, label LBL_1\n LBL_1:\n %21 = call i64 @FUNC(i32* nonnull %sv_0)\n %22 = call i64 @FUNC(i64 %6, i32* nonnull %sv_0, i64 %4)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %23 = call i64 @FUNC(i64 %6, i64 %5, i64 0, i64 0)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n %. = select i1 %26, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "show_help_3137", "fun_name": "show_help", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge24.reg2mem = alloca i8*\n %.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %sv_0 = alloca i64, align 8\n %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = icmp eq i32 %0, 0\n %2 = select i1 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0)\n %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_3, i64 0, i64 0), i8* %2)\n %4 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i32 @puts(i8* getelementptr inbounds ([124 x i8], [124 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_3\n LBL_2:\n %8 = call i32 @puts(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %9 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0))\n %10 = bitcast i64* %sv_0 to i8*\n %11 = ptrtoint i64* %sv_0 to i64\n store i32 0, i32* %storemerge5.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %12 = icmp eq i32 %storemerge5.reload, 1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n store i64 ptrtoint ([5 x i8]* @gv_8 to i64), i64* %.reg2mem\n store i8* bitcast ([5 x i8]** @gv_9 to i8*), i8** %storemerge24.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge24.reload = load i8*, i8** %storemerge24.reg2mem\n %15 = ptrtoint i8* %storemerge24.reload to i64\n %16 = add i64 %15, 24\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = urem i32 %18, 2\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = zext i1 %21 to i32\n %23 = icmp eq i32 %storemerge5.reload, %22\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_11, label LBL_8\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %25 = inttoptr i64 %.reload to i8*\n %26 = call i8* @strcpy(i8* nonnull %10, i8* %25)\n %27 = load i32, i32* %17, align 4\n %28 = and i32 %27, 2\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = call i32 @strlen(i8* nonnull %10)\n %31 = sext i32 %30 to i64\n %32 = add i64 %31, %11\n %33 = inttoptr i64 %32 to i16*\n store i16 32, i16* %33, align 2\n %34 = add i64 %15, 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i8*\n %38 = call i8* @strcat(i8* nonnull %10, i8* %37)\n br label LBL_10\n LBL_10:\n %39 = add i64 %15, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %41 to i8*\n %43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_10, i64 0, i64 0), i64* nonnull %sv_0, i8* %42)\n br label LBL_11\n LBL_11:\n %44 = add i64 %15, 32\n %45 = inttoptr i64 %44 to i8*\n %46 = inttoptr i64 %44 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = icmp eq i64 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 %47, i64* %.reg2mem\n store i8* %45, i8** %storemerge24.reg2mem\n br i1 %49, label LBL_7, label LBL_12\n LBL_12:\n %50 = add nuw nsw i32 %storemerge5.reload, 1\n %exitcond = icmp eq i32 %50, 2\n store i32 %50, i32* %storemerge5.reg2mem\n br i1 %exitcond, label LBL_13, label LBL_4\n LBL_13:\n call void @exit(i32 1)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %15, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %storemerge24.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*)* @puts, { 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avs_decode_init_3825", "fun_name": "avs_decode_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %4, align 4\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %0, i64 318, i64 198)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nprobe_384", "fun_name": "nprobe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %2 = icmp ne i64* %arg2, null\n %3 = icmp eq i64* %arg4, null\n %4 = icmp eq i1 %3, false\n %or.cond = icmp eq i1 %2, %4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_6\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %1 to i32\n %8 = add i64 %6, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = zext i32 %10 to i64\n %12 = add i64 %11, %5\n %13 = inttoptr i64 %12 to i64*\n %14 = call i32 @memcmp(i64* %13, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4)\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n %17 = add i32 %10, 32\n %spec.select = select i1 %16, i32 %10, i32 %17\n %18 = zext i32 %spec.select to i64\n %19 = add i64 %18, %5\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, %7\n br i1 %22, label LBL_3, label LBL_2\n LBL_2:\n %23 = call i32 @puts(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %sext = mul i64 %arg3, 4294967296\n %24 = add i32 %spec.select, 32\n %25 = zext i32 %24 to i64\n %26 = add i64 %25, %5\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i32 %spec.select, 36\n %30 = zext i32 %29 to i64\n %31 = add i64 %30, %5\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = udiv i32 %33, 16\n store i32 %34, i32* %sv_0, align 4\n %35 = zext i32 %28 to i64\n %36 = and i32 %33, -16\n %37 = zext i32 %36 to i64\n %38 = add nuw nsw i64 %35, 44\n %39 = add nuw nsw i64 %38, %37\n %40 = ashr exact i64 %sext, 32\n %41 = icmp ugt i64 %39, %40\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %41, label LBL_6, label LBL_4\n LBL_4:\n %42 = ptrtoint i64* %arg4 to i64\n %43 = call i64 @FUNC(i32* nonnull %sv_0, i64 %42, i64 192, i64 1)\n %44 = load i32, i32* %sv_0, align 4\n %45 = add i32 %44, -1\n store i32 %45, i32* %sv_0, align 4\n %46 = icmp eq i32 %44, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %46, label LBL_6, label LBL_5\n LBL_5:\n %47 = add i32 %spec.select, 44\n %48 = add i32 %47, %28\n %49 = zext i32 %48 to i64\n %50 = add i64 %49, %5\n %51 = add i64 %6, 8\n %52 = call i64 @FUNC(i32* nonnull %sv_0, i64 %51, i64 %50, i64 2, i64 0, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %33, { 1, 0 }\n uselistorder i32 %spec.select, { 3, 2, 1, 0 }\n uselistorder i32* %sv_0, { 0, 2, 3, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg4, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_iterate_965", "fun_name": "dump_iterate", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 32\n %4 = inttoptr i64 %3 to i64*\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = add i64 %2, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = trunc i64 %1 to i32\n %12 = icmp eq i32 %11, 0\n br label LBL_1\n LBL_1:\n %13 = load i64, i64* %4, align 8\n %14 = add i64 %13, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %13 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = sub i64 %16, %18\n %.pre = load i64, i64* %6, align 8\n store i64 %19, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_4, label LBL_2\n LBL_2:\n %20 = sub i64 %19, %.pre\n %21 = load i64, i64* %8, align 8\n %22 = load i64, i64* %10, align 8\n %23 = add i64 %22, %21\n %24 = icmp slt i64 %23, %16\n store i64 %20, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_3, label LBL_4\n LBL_3:\n %25 = sub i64 %20, %16\n %26 = add i64 %25, %23\n store i64 %26, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %27 = call i64 @FUNC(i64 %2, i64 %13, i64 %.pre, i64 %sv_0.0.reload)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, -1\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = and i64 %27, 4294967295\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_6:\n %32 = call i64 @FUNC(i64 %2, i64 %13)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 1\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_1, label LBL_7\n LBL_7:\n %36 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %2, { 0, 4, 5, 2, 1, 3, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsonNewLine_6988", "fun_name": "jsonNewLine", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n %1 = udiv i32 %0, 4\n store i32 %1, i32* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %2 = add i32 %sv_0.0.reload, -1\n %3 = icmp eq i32 %sv_0.0.reload, 0\n %4 = icmp eq i1 %3, false\n store i32 %2, i32* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_2:\n %5 = zext i32 %sv_0.0.reload to i64\n ret i64 %5\n\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssh2_pkt_getbool_7968", "fun_name": "ssh2_pkt_getbool", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %3, %6\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = add i64 %6, %0\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp eq i8 %11, 0\n %13 = icmp eq i1 %12, false\n %14 = zext i1 %13 to i64\n %15 = add i64 %6, 1\n store i64 %15, i64* %5, align 8\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "netlink_bind_4063", "fun_name": "netlink_bind", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg3 to i32\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %2)\n %6 = icmp ugt i32 %3, 11\n %7 = trunc i64 %1 to i16\n %8 = icmp eq i16 %7, 16\n %or.cond = icmp eq i1 %6, %8\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_18\n LBL_1:\n %9 = ptrtoint i16* %arg2 to i64\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %2, i64 1)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %17, label LBL_3, label LBL_18\n LBL_3:\n %18 = call i64 @FUNC(i64 %2)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n store i64 %18, i64* %rax.0.shrunk.reg2mem\n br i1 %20, label LBL_4, label LBL_18\n LBL_4:\n %21 = inttoptr i64 %5 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n %24 = add i64 %9, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %27 = icmp eq i32 %26, %22\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %27, label LBL_10, label LBL_18\n LBL_6:\n %28 = icmp eq i32 %26, 0\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 %2, i64 %4, i32 %26)\n store i64 %29, i64* %storemerge4.reg2mem\n br label LBL_9\n LBL_8:\n %30 = call i64 @FUNC(i64 %2)\n store i64 %30, i64* %storemerge4.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %31 = trunc i64 %storemerge4.reload to i32\n %32 = icmp eq i32 %31, 0\n store i64 %storemerge4.reload, i64* %rax.0.shrunk.reg2mem\n br i1 %32, label LBL_10, label LBL_18\n LBL_10:\n %33 = load i32, i32* %11, align 4\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n %.pre6 = add i64 %5, 8\n %.pre7 = inttoptr i64 %.pre6 to i64*\n br i1 %35, label LBL_13, label LBL_11\n LBL_11:\n %36 = load i64, i64* %.pre7, align 8\n %37 = icmp eq i64 %36, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %37, label LBL_18, label LBL_12\n LBL_12:\n %38 = inttoptr i64 %36 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %41, label LBL_13, label LBL_18\n LBL_13:\n %42 = call i64 @FUNC()\n %43 = add i64 %5, 32\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = load i32, i32* %11, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %47)\n %sext = mul i64 %48, 4294967296\n %49 = ashr exact i64 %sext, 32\n %50 = load i64, i64* %.pre7, align 8\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64 %53)\n %sext3 = mul i64 %54, 4294967296\n %55 = ashr exact i64 %sext3, 32\n %56 = sub nsw i64 %49, %55\n %57 = mul i64 %56, 4\n %58 = add i64 %57, %45\n %59 = and i64 %58, 4294967295\n %60 = call i64 @FUNC(i64 %2, i64 %59)\n %61 = load i32, i32* %11, align 4\n %62 = load i64, i64* %.pre7, align 8\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n %64 = call i64 @FUNC(i64 %2)\n %65 = call i64 @FUNC()\n %66 = add i64 %5, 24\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = icmp eq i64 %68, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %69, label LBL_18, label LBL_14\n LBL_14:\n %70 = load i64, i64* %.pre7, align 8\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = icmp eq i32 %72, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %73, label LBL_18, label LBL_15\n LBL_15:\n %74 = add i64 %5, 16\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = icmp eq i32 %76, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %77, label LBL_18, label LBL_16\n LBL_16:\n %78 = call i64 @FUNC(i64 0, i64 %70)\n %79 = load i32, i32* %75, align 4\n %80 = icmp ugt i32 %79, 1\n store i32 1, i32* %.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %80, label LBL_17, label LBL_18\n LBL_17:\n %.reload = load i32, i32* %.reg2mem\n %.pre = load i64, i64* %.pre7, align 8\n %81 = zext i32 %.reload to i64\n %82 = call i64 @FUNC(i64 %81, i64 %.pre)\n %83 = add i32 %.reload, 1\n %84 = load i32, i32* %75, align 4\n %85 = zext i32 %84 to i64\n %86 = sext i32 %83 to i64\n %87 = icmp slt i64 %86, %85\n store i32 %83, i32* %.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %87, label LBL_17, label LBL_18\n LBL_18:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i32* %75, { 2, 0, 1 }\n uselistorder i32 %26, { 0, 2, 1 }\n uselistorder i64 %5, { 1, 2, 3, 0, 4 }\n uselistorder i64 %2, { 3, 4, 5, 2, 0, 1, 6, 7 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 5, 4, 7, 6, 8, 9, 10, 11, 12 }\n uselistorder i64 (i64, i64)* @test_bit, { 1, 0 }\n uselistorder i64 (i64)* @hweight32, { 1, 0 }\n uselistorder i64 32, { 1, 2, 5, 0, 3, 4 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 2 }\n uselistorder label LBL_18, { 1, 0, 3, 5, 4, 7, 6, 8, 9, 10, 11, 2 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_irq_2051", "fun_name": "update_irq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge2.lcssa.reg2mem = alloca i32\n %storemerge23.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %1, 2\n %4 = icmp eq i64 %3, 0\n %.pre = add i64 %2, 4\n %.pre4 = inttoptr i64 %.pre to i32*\n %.pre6 = load i32, i32* %.pre4, align 4\n store i32 %.pre6, i32* %.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %2, 20\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %2, 24\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = sub i32 0, %10\n %12 = sub i32 %11, 1\n %13 = and i32 %7, %12\n %14 = or i32 %13, %.pre6\n store i32 %14, i32* %.pre4, align 4\n store i32 %14, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %15 = bitcast i64* %rdi to i32*\n %.reload = load i32, i32* %.reg2mem\n %16 = add i64 %2, 12\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i32 %18, %.reload\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n store i32 0, i32* %storemerge23.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %22 = shl i32 1, %storemerge23.reload\n %23 = and i32 %22, %19\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i32 %storemerge23.reload, i32* %storemerge2.lcssa.reg2mem\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = add nuw nsw i32 %storemerge23.reload, 1\n %27 = icmp ult i32 %26, 32\n store i32 %26, i32* %storemerge23.reg2mem\n store i32 32, i32* %storemerge2.lcssa.reg2mem\n br i1 %27, label LBL_3, label LBL_5\n LBL_5:\n %storemerge2.lcssa.reload = load i32, i32* %storemerge2.lcssa.reg2mem\n %28 = icmp eq i32 %storemerge2.lcssa.reload, 32\n %29 = icmp eq i1 %28, false\n %spec.select = select i1 %29, i32 %storemerge2.lcssa.reload, i32 -1\n %30 = add i64 %2, 16\n %31 = inttoptr i64 %30 to i32*\n store i32 %spec.select, i32* %31, align 4\n %32 = load i32, i32* %15, align 8\n %33 = urem i32 %32, 2\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = load i32, i32* %21, align 4\n %36 = icmp eq i32 %35, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %36, label LBL_7, label LBL_8\n LBL_7:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %37 = add i64 %2, 28\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %40, i64 %storemerge.reload)\n ret i64 %41\n\n uselistorder i32 %storemerge23.reload, { 1, 0, 2 }\n uselistorder i32 %.pre6, { 1, 0 }\n uselistorder i32* %.pre4, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 4, 3, 5, 6, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 32, { 1, 0, 2 }\n uselistorder i32 0, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_handle_fd_param_758", "fun_name": "net_handle_fd_param", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sv_1 = alloca i8*, align 8\n %sext = mul i64 %1, 72057594037927936\n %2 = ashr exact i64 %sext, 56\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i64* %arg1, null\n %or.cond = or i1 %8, %7\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i64 %arg2)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, -1\n %13 = icmp eq i1 %12, false\n store i32 %11, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_6, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n store i8* null, i8** %sv_1, align 8\n %15 = inttoptr i64 %arg2 to i8*\n %16 = call i32 @strtol(i8* %15, i8** nonnull %sv_1, i32 10)\n %17 = load i8*, i8** %sv_1, align 8\n %18 = load i8, i8* %17, align 1\n %19 = icmp eq i8 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_7, label LBL_4\n LBL_4:\n %21 = icmp eq i32 %16, 0\n %22 = icmp eq i1 %21, false\n store i32 %16, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = ptrtoint i8* %17 to i64\n %24 = icmp eq i64 %23, %arg2\n %25 = icmp eq i1 %24, false\n store i32 %16, i32* %sv_0.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %25, label LBL_6, label LBL_7\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %26 = zext i32 %sv_0.0.reload to i64\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8** %sv_1, { 1, 2, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 %arg2, { 0, 3, 1, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_tsw1_2024", "fun_name": "decode_tsw1", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_0.12.reg2mem = alloca i64\n %sv_2.13.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i32\n %.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = mul i32 %arg4, %arg3\n %2 = sext i32 %1 to i64\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = call i64 @FUNC(i64 %0)\n %6 = icmp eq i32 %4, 0\n %.pre = and i64 %5, 4294967295\n %7 = icmp eq i64 %.pre, %2\n %8 = icmp eq i1 %6, %7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_13, label LBL_1\n LBL_1:\n %9 = icmp sge i64 %.pre, %2\n %brmerge = or i1 %6, %9\n %.mux = select i1 %9, i64 4294967295, i64 0\n store i64 %.mux, i64* %rax.0.reg2mem\n br i1 %brmerge, label LBL_13, label LBL_2\n LBL_2:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = add i64 %2, %10\n %12 = add i64 %.pre, %10\n store i32 %4, i32* %.in.reg2mem\n store i32 0, i32* %sv_1.14.reg2mem\n store i32 65536, i32* %sv_2.13.reg2mem\n store i64 %12, i64* %sv_0.12.reg2mem\n br label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0)\n %14 = icmp ult i64 %13, 2\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_13, label LBL_4\n LBL_4:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %sv_2.13.reload = load i32, i32* %sv_2.13.reg2mem\n %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %15 = icmp eq i32 %sv_2.13.reload, 65536\n %16 = icmp eq i1 %15, false\n store i32 %sv_2.13.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.14.reload, i32* %sv_1.0.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %0)\n %18 = trunc i64 %17 to i32\n store i32 1, i32* %sv_2.0.reg2mem\n store i32 %18, i32* %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %19 = sub i64 %11, %sv_0.12.reload\n %20 = icmp sgt i64 %19, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_7, label LBL_13\n LBL_7:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %21 = and i32 %sv_1.0.reload, %sv_2.0.reload\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_11, label LBL_8\n LBL_8:\n %23 = call i64 @FUNC(i64 %0)\n %24 = mul i64 %23, 2\n %25 = and i64 %24, 16382\n %26 = sub i64 %sv_0.12.reload, %10\n %27 = icmp slt i64 %26, %25\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %27, label LBL_13, label LBL_9\n LBL_9:\n %28 = trunc i64 %23 to i32\n %29 = ashr i32 %28, 13\n %30 = mul i32 %29, 2\n %31 = add nsw i32 %30, 4\n %32 = sext i32 %31 to i64\n %33 = icmp slt i64 %19, %32\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %33, label LBL_13, label LBL_10\n LBL_10:\n %34 = call i64 @FUNC(i64 %sv_0.12.reload, i64 %25, i32 %31)\n %35 = add i64 %sv_0.12.reload, %32\n store i64 %35, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %36 = add i64 %sv_0.12.reload, 1\n %37 = call i64 @FUNC(i64 %0)\n %38 = trunc i64 %37 to i8\n %39 = inttoptr i64 %sv_0.12.reload to i8*\n store i8 %38, i8* %39, align 1\n %40 = add i64 %sv_0.12.reload, 2\n %41 = call i64 @FUNC(i64 %0)\n %42 = trunc i64 %41 to i8\n %43 = inttoptr i64 %36 to i8*\n store i8 %42, i8* %43, align 1\n store i64 %40, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %44 = add i32 %.in.reload, -1\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %45 = mul i32 %sv_2.0.reload, 2\n %46 = icmp eq i32 %44, 0\n %47 = icmp eq i1 %46, false\n store i32 %44, i32* %.in.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.14.reg2mem\n store i32 %45, i32* %sv_2.13.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %47, label LBL_3, label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %sv_0.12.reload, { 2, 4, 3, 6, 1, 0, 5 }\n uselistorder i64 %10, { 2, 1, 0 }\n uselistorder i1 %9, { 1, 0 }\n uselistorder i1 %6, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64 %0, { 2, 3, 1, 0, 4, 5, 6 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 4, 2, 1, 7, 6 }\n uselistorder i64 (i64)* @bytestream2_get_byte, { 1, 0 }\n uselistorder i64 (i64)* @bytestream2_get_le16u, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 2, { 3, 0, 2, 4, 1 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i32 0, { 3, 2, 0, 4, 1 }\n uselistorder i64 (i64)* @bytestream2_get_le32, { 1, 0 }\n uselistorder label LBL_13, { 4, 2, 3, 1, 0, 6, 5 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gif_copy_img_rect_4448", "fun_name": "gif_copy_img_rect", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.in11.reg2mem = alloca i64\n %sv_2.0.in12.reg2mem = alloca i64\n %sv_0.013.reg2mem = alloca i64\n %sv_3.014.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = trunc i64 %arg5 to i32\n %2 = mul i32 %1, %arg3\n %3 = sext i32 %2 to i64\n %4 = mul i64 %3, 4\n %5 = add i64 %4, %0\n %6 = trunc i64 %arg7 to i32\n %7 = mul i32 %6, %arg3\n %8 = sext i32 %7 to i64\n %9 = mul i64 %8, 4\n %10 = add i64 %9, %5\n %11 = icmp ult i64 %5, %10\n store i64 %5, i64* %sv_0.0.lcssa.reg2mem\n br i1 %11, label LBL_1, label LBL_6\n LBL_1:\n %12 = ptrtoint i64* %arg2 to i64\n %13 = add i64 %4, %12\n %sext5 = mul i64 %arg6, 4294967296\n %sext = mul i64 %arg4, 4294967296\n %14 = ashr exact i64 %sext, 30\n %15 = ashr exact i64 %sext5, 30\n %16 = sext i32 %arg3 to i64\n %17 = mul i64 %16, 4\n store i64 %13, i64* %sv_3.014.reg2mem\n store i64 %5, i64* %sv_0.013.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem\n %sv_3.014.reload = load i64, i64* %sv_3.014.reg2mem\n %18 = add i64 %sv_0.013.reload, %14\n %19 = add i64 %18, %15\n %20 = icmp ugt i64 %19, %18\n br i1 %20, label LBL_3, label LBL_5\n LBL_3:\n %21 = add i64 %sv_3.014.reload, %14\n store i64 %21, i64* %sv_2.0.in12.reg2mem\n store i64 %18, i64* %sv_1.0.in11.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.0.in11.reload = load i64, i64* %sv_1.0.in11.reg2mem\n %sv_2.0.in12.reload = load i64, i64* %sv_2.0.in12.reg2mem\n %sv_2.0 = inttoptr i64 %sv_2.0.in12.reload to i32*\n %sv_1.0 = inttoptr i64 %sv_1.0.in11.reload to i32*\n %22 = load i32, i32* %sv_1.0, align 4\n store i32 %22, i32* %sv_2.0, align 4\n %23 = add i64 %sv_1.0.in11.reload, 4\n %24 = add i64 %sv_2.0.in12.reload, 4\n %25 = icmp ugt i64 %19, %23\n store i64 %24, i64* %sv_2.0.in12.reg2mem\n store i64 %23, i64* %sv_1.0.in11.reg2mem\n br i1 %25, label LBL_4, label LBL_5\n LBL_5:\n %26 = add i64 %sv_0.013.reload, %17\n %27 = add i64 %sv_3.014.reload, %17\n %28 = icmp ult i64 %26, %10\n store i64 %27, i64* %sv_3.014.reg2mem\n store i64 %26, i64* %sv_0.013.reg2mem\n store i64 %26, i64* %sv_0.0.lcssa.reg2mem\n br i1 %28, label LBL_2, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %18, { 0, 2, 1 }\n uselistorder i64 %sv_3.014.reload, { 1, 0 }\n uselistorder i64 %sv_0.013.reload, { 1, 0 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 3, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %sv_3.014.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.013.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.in12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.in11.reg2mem, { 1, 0, 2 }\n uselistorder i32 %arg3, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_update_rx_mode_1379", "fun_name": "vmxnet3_update_rx_mode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = bitcast i64* %arg1 to i32*\n store i32 -1, i32* %2, align 4\n %3 = trunc i64 %1 to i32\n %4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i32 %3)\n %5 = sext i32 %4 to i64\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "updateDevice_5529", "fun_name": "updateDevice", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.07.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.pre-phi29.reg2mem = alloca i64*\n %.pre-phi33.reg2mem = alloca i64*\n %.pre-phi37.reg2mem = alloca i64*\n %rdi.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.pre-phi21.pre-phi.reg2mem = alloca i64*\n %.pre-phi25.pre-phi.reg2mem = alloca i64*\n %sv_2.010.reg2mem = alloca i64\n %rdi.111.reg2mem = alloca i64\n %storemerge112.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %storemerge19 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %storemerge19, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_0.LBL_13_crit_edge\n LBL_1:\n %.pre26 = add i64 %0, 16\n %.pre28 = inttoptr i64 %.pre26 to i64*\n %.pre30 = add i64 %0, 24\n %.pre32 = inttoptr i64 %.pre30 to i64*\n %.pre34 = add i64 %0, 8\n %.pre36 = inttoptr i64 %.pre34 to i64*\n store i64* %.pre36, i64** %.pre-phi37.reg2mem\n store i64* %.pre32, i64** %.pre-phi33.reg2mem\n store i64* %.pre28, i64** %.pre-phi29.reg2mem\n br label LBL_13\n LBL_2:\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %storemerge19, i64* %storemerge112.reg2mem\n store i64 %0, i64* %rdi.111.reg2mem\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_2.010.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.111.reload = load i64, i64* %rdi.111.reg2mem\n %storemerge112.reload = load i64, i64* %storemerge112.reg2mem\n %9 = add i64 %storemerge112.reload, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = load i64, i64* %4, align 8\n %13 = icmp eq i64 %11, %12\n %14 = icmp eq i1 %13, false\n store i64 %rdi.111.reload, i64* %rdi.0.reg2mem\n br i1 %14, label LBL_12, label LBL_4\n LBL_4:\n %15 = inttoptr i64 %storemerge112.reload to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i64*\n %18 = inttoptr i64 %rdi.111.reload to i64*\n %19 = trunc i64 %12 to i32\n %20 = call i32 @memcmp(i64* %17, i64* %18, i32 %19)\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %16, i64* %rdi.0.reg2mem\n br i1 %22, label LBL_12, label LBL_5\n LBL_5:\n %23 = add i64 %storemerge112.reload, 24\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = load i64, i64* %6, align 8\n %27 = icmp eq i64 %25, %26\n %28 = icmp eq i1 %27, false\n store i64 %16, i64* %rdi.0.reg2mem\n br i1 %28, label LBL_12, label LBL_6\n LBL_6:\n %29 = load i64, i64* %8, align 8\n %30 = add i64 %storemerge112.reload, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i64*\n %34 = inttoptr i64 %29 to i64*\n %35 = trunc i64 %26 to i32\n %36 = call i32 @memcmp(i64* %33, i64* %34, i32 %35)\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 %32, i64* %rdi.0.reg2mem\n br i1 %38, label LBL_12, label LBL_7\n LBL_7:\n %sv_2.010.reload = load i64, i64* %sv_2.010.reg2mem\n %39 = load i64, i64* %8, align 8\n %40 = load i64, i64* %6, align 8\n %41 = inttoptr i64 %39 to i8*\n call void (i32, i8*, ...) @syslog(i32 7, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %40, i8* %41)\n %42 = add i64 %storemerge112.reload, 48\n %43 = inttoptr i64 %42 to i64*\n store i64 %arg2, i64* %43, align 8\n %44 = add i64 %0, 40\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = add i64 %storemerge112.reload, 40\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = icmp ugt i64 %46, %49\n store i64* %24, i64** %.pre-phi25.pre-phi.reg2mem\n store i64* %10, i64** %.pre-phi21.pre-phi.reg2mem\n store i64 %46, i64* %.reg2mem\n store i64 %storemerge112.reload, i64* %sv_1.0.reg2mem\n br i1 %50, label LBL_8, label LBL_11\n LBL_8:\n %51 = load i64, i64* %4, align 8\n %52 = load i64, i64* %6, align 8\n %53 = add i64 %51, %46\n %54 = add i64 %53, %52\n %55 = trunc i64 %54 to i32\n %56 = add i32 %55, 72\n %57 = call i64* @realloc(i64* %15, i32 %56)\n %58 = icmp eq i64* %57, null\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_10, label LBL_9\n LBL_9:\n call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0))\n %60 = add i64 %storemerge112.reload, 64\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = inttoptr i64 %sv_2.010.reload to i64*\n store i64 %62, i64* %63, align 8\n call void @free(i64* %15)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_10:\n %64 = ptrtoint i64* %57 to i64\n %65 = inttoptr i64 %sv_2.010.reload to i64*\n store i64 %64, i64* %65, align 8\n %.pre = load i64, i64* %45, align 8\n %.pre19 = add i64 %64, 8\n %.pre22 = add i64 %64, 24\n %.pre49 = inttoptr i64 %.pre19 to i64*\n %.pre50 = inttoptr i64 %.pre22 to i64*\n store i64* %.pre50, i64** %.pre-phi25.pre-phi.reg2mem\n store i64* %.pre49, i64** %.pre-phi21.pre-phi.reg2mem\n store i64 %.pre, i64* %.reg2mem\n store i64 %64, i64* %sv_1.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %.pre-phi21.pre-phi.reload = load i64*, i64** %.pre-phi21.pre-phi.reg2mem\n %.pre-phi25.pre-phi.reload = load i64*, i64** %.pre-phi25.pre-phi.reg2mem\n %66 = add i64 %0, 32\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = add i64 %sv_1.0.reload, 56\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = load i64, i64* %.pre-phi21.pre-phi.reload, align 8\n %73 = load i64, i64* %.pre-phi25.pre-phi.reload, align 8\n %74 = add i64 %72, %71\n %75 = add i64 %74, %73\n %76 = inttoptr i64 %75 to i64*\n %77 = inttoptr i64 %68 to i64*\n %78 = trunc i64 %.reload to i32\n %79 = call i64* @memcpy(i64* %76, i64* %77, i32 %78)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_12:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %80 = add i64 %storemerge112.reload, 64\n %81 = inttoptr i64 %80 to i64*\n %storemerge1 = load i64, i64* %81, align 8\n %82 = icmp eq i64 %storemerge1, 0\n %83 = icmp eq i1 %82, false\n store i64 %storemerge1, i64* %storemerge112.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.111.reg2mem\n store i64 %80, i64* %sv_2.010.reg2mem\n store i64* %4, i64** %.pre-phi37.reg2mem\n store i64* %6, i64** %.pre-phi33.reg2mem\n store i64* %8, i64** %.pre-phi29.reg2mem\n br i1 %83, label LBL_3, label LBL_13\n LBL_13:\n %.pre-phi29.reload = load i64*, i64** %.pre-phi29.reg2mem\n %.pre-phi33.reload = load i64*, i64** %.pre-phi33.reg2mem\n %.pre-phi37.reload = load i64*, i64** %.pre-phi37.reg2mem\n %84 = load i64, i64* %.pre-phi29.reload, align 8\n %85 = load i64, i64* %.pre-phi33.reload, align 8\n %86 = inttoptr i64 %84 to i8*\n call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %85, i8* %86)\n %87 = load i64, i64* %.pre-phi37.reload, align 8\n %88 = load i64, i64* %.pre-phi33.reload, align 8\n %89 = add i64 %88, %87\n %90 = add i64 %0, 40\n %91 = inttoptr i64 %90 to i64*\n %92 = load i64, i64* %91, align 8\n %93 = add i64 %89, %92\n %94 = trunc i64 %93 to i32\n %95 = add i32 %94, 72\n %96 = call i64* @malloc(i32 %95)\n %97 = icmp eq i64* %96, null\n %98 = icmp eq i1 %97, false\n br i1 %98, label LBL_15, label LBL_14\n LBL_14:\n call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_15:\n %99 = ptrtoint i64* %96 to i64\n %100 = load i64, i64* @gv_0, align 8\n %101 = add i64 %99, 64\n %102 = inttoptr i64 %101 to i64*\n store i64 %100, i64* %102, align 8\n %103 = add i64 %99, 48\n %104 = inttoptr i64 %103 to i64*\n store i64 %arg2, i64* %104, align 8\n %105 = add i64 %99, 56\n %106 = inttoptr i64 %105 to i64*\n %107 = load i64, i64* %106, align 8\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %107, i64* %sv_0.07.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %108 = mul i64 %indvars.iv.reload, 16\n %109 = add i64 %108, %99\n %110 = inttoptr i64 %109 to i64*\n store i64 %sv_0.07.reload, i64* %110, align 8\n %111 = add i64 %108, %0\n %112 = add i64 %111, 8\n %113 = inttoptr i64 %112 to i64*\n %114 = load i64, i64* %113, align 8\n %115 = add i64 %109, 8\n %116 = inttoptr i64 %115 to i64*\n store i64 %114, i64* %116, align 8\n %117 = load i64, i64* %113, align 8\n %118 = inttoptr i64 %111 to i64*\n %119 = load i64, i64* %118, align 8\n %120 = inttoptr i64 %sv_0.07.reload to i64*\n %121 = inttoptr i64 %119 to i64*\n %122 = trunc i64 %117 to i32\n %123 = call i64* @memcpy(i64* %120, i64* %121, i32 %122)\n %124 = load i64, i64* %113, align 8\n %125 = add i64 %124, %sv_0.07.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %125, i64* %sv_0.07.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_16\n LBL_17:\n store i64 %99, i64* @gv_0, align 8\n %126 = call i64 @FUNC(i64 1, i64 %99, i64 0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %108, { 1, 0 }\n uselistorder i64 %sv_0.07.reload, { 2, 0, 1 }\n uselistorder i64 %99, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64* %96, { 1, 0 }\n uselistorder i64* %57, { 1, 0 }\n uselistorder i64 %46, { 1, 0, 2 }\n uselistorder i64 %storemerge112.reload, { 5, 8, 0, 7, 6, 2, 1, 3, 4 }\n uselistorder i64 %rdi.111.reload, { 1, 0 }\n uselistorder i64* %6, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 1, 5, 6, 7, 0, 9, 8, 10, 2, 3, 4 }\n uselistorder i64* %storemerge112.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.111.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i32 72, { 1, 0 }\n uselistorder i64 40, { 0, 2, 1 }\n uselistorder void (i32, i8*, ...)* @syslog, { 2, 0, 3, 1 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder i64 8, { 2, 3, 1, 5, 4, 0 }\n uselistorder i64 24, { 1, 3, 2, 0 }\n uselistorder i64 16, { 0, 2, 3, 1 }\n uselistorder i1 false, { 6, 7, 1, 2, 3, 4, 5, 0 }\n uselistorder i64* @gv_0, { 1, 2, 3, 0 }\n uselistorder label LBL_18, { 0, 3, 1, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "multiplicative_6381", "fun_name": "multiplicative", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.be.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC()\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %arg1, i64 42)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1)\n %7 = call i64 @FUNC(i64 1, i64 %sv_0.0.reload, i64 %6)\n store i64 %7, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_3:\n %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem\n store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_4:\n %8 = call i64 @FUNC(i64 %arg1, i64 47)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_6, label LBL_5\n LBL_5:\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = call i64 @FUNC(i64 2, i64 %sv_0.0.reload, i64 %11)\n store i64 %12, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_6:\n %13 = call i64 @FUNC(i64 %arg1, i64 37)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %16 = call i64 @FUNC(i64 %arg1)\n %17 = call i64 @FUNC(i64 3, i64 %sv_0.0.reload, i64 %16)\n store i64 %17, i64* %sv_0.0.be.reg2mem\n br label LBL_1.backedge\n LBL_8:\n %18 = call i64 @FUNC()\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.be.reg2mem, { 3, 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @EXP2, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @jsP_accept, { 2, 1, 0 }\n uselistorder i64 (i64)* @unary, { 3, 2, 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_1.backedge, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_copy_finish_82", "fun_name": "fuse_copy_finish", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi3.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = add i64 %0, 24\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = sub i64 4096, %8\n store i64 %9, i64* %arg1, align 8\n br label LBL_3\n LBL_3:\n store i64 0, i64* %arg1, align 8\n %.pre1 = add i64 %0, 8\n %.pre2 = inttoptr i64 %.pre1 to i64*\n store i64* %.pre2, i64** %.pre-phi3.reg2mem\n br label LBL_8\n LBL_4:\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n store i64* %11, i64** %.pre-phi3.reg2mem\n br i1 %13, label LBL_8, label LBL_5\n LBL_5:\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n store i64 %12, i64* %.reg2mem\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i64 %12)\n %19 = load i64, i64* %11, align 8\n %20 = call i64 @FUNC(i64 %19)\n %.pre = load i64, i64* %11, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %21 = call i64 @FUNC(i64 %.reload)\n store i64* %11, i64** %.pre-phi3.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem\n store i64 0, i64* %.pre-phi3.reload, align 8\n ret i64 %0\n\n uselistorder i64 %12, { 1, 0, 2 }\n uselistorder i64* %11, { 1, 2, 3, 0, 4 }\n uselistorder i64 %0, { 3, 4, 5, 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.pre-phi3.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nand_setio_7405", "fun_name": "nand_setio", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa22.in.reg2mem = alloca i32\n %.lcssa.in.reg2mem = alloca i32\n %sv_0.323.reg2mem = alloca i64\n %sv_1.124.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_0.225.reg2mem = alloca i64\n %sv_1.026.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i64\n %sv_0.01820.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32\n %.pre-phi35.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add i64 %2, 56\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %3, i64* %sv_0.1.reg2mem\n br i1 %8, label LBL_20, label LBL_1\n LBL_1:\n %9 = add i64 %2, 48\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n store i64 %3, i64* %sv_0.1.reg2mem\n br i1 %12, label LBL_20, label LBL_2\n LBL_2:\n %13 = mul i64 %1, 8\n %14 = and i64 %13, 34359738360\n %15 = add i64 %14, ptrtoint (i32** @gv_0 to i64)\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 8\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_2.LBL_9_crit_edge, label LBL_4\n LBL_3:\n %.pre33 = trunc i64 %3 to i32\n store i32 %.pre33, i32* %.pre-phi.reg2mem\n br label LBL_9\n LBL_4:\n %20 = add i64 %2, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre34 = trunc i64 %3 to i32\n store i32 %.pre34, i32* %.pre-phi35.reg2mem\n br label LBL_7\n LBL_6:\n %25 = zext i32 %22 to i64\n %26 = trunc i64 %3 to i32\n %27 = icmp eq i32 %26, 3\n store i32 %26, i32* %.pre-phi35.reg2mem\n store i64 %25, i64* %rax.0.reg2mem\n br i1 %27, label LBL_52, label LBL_7\n LBL_7:\n %.pre-phi35.reload = load i32, i32* %.pre-phi35.reg2mem\n %28 = icmp eq i32 %.pre-phi35.reload, 4\n %29 = icmp eq i1 %28, false\n store i32 %.pre-phi35.reload, i32* %.pre-phi.reg2mem\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %2, 36\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = urem i32 %35, 32\n %37 = shl i32 -1, %36\n %38 = and i32 %37, %32\n store i32 %38, i32* %31, align 4\n %39 = add i64 %2, 12\n %40 = inttoptr i64 %39 to i32*\n store i32 0, i32* %40, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_52\n LBL_9:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %41 = icmp eq i32 %.pre-phi.reload, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_11, label LBL_10\n LBL_10:\n %43 = add i64 %2, 16\n %44 = inttoptr i64 %43 to i32*\n store i32 0, i32* %44, align 4\n br label LBL_16\n LBL_11:\n %45 = icmp eq i32 %.pre-phi.reload, 1\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n %47 = add i64 %2, 16\n %48 = inttoptr i64 %47 to i32*\n store i32 256, i32* %48, align 4\n br label LBL_15\n LBL_13:\n %49 = icmp eq i32 %.pre-phi.reload, 2\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_16, label LBL_14\n LBL_14:\n %51 = add i64 %2, 28\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = urem i32 %53, 32\n %55 = shl i32 1, %54\n %56 = add i64 %2, 16\n %57 = inttoptr i64 %56 to i32*\n store i32 %55, i32* %57, align 4\n br label LBL_15\n LBL_15:\n %58 = add i64 %2, 4\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n store i64 0, i64* %sv_0.01820.reg2mem\n br label LBL_19\n LBL_16:\n %60 = add i64 %2, 4\n %61 = inttoptr i64 %60 to i32*\n store i32 %.pre-phi.reload, i32* %61, align 4\n switch i32 %.pre-phi.reload, label LBL_17 [\n i32 5, label LBL_18\n i32 7, label LBL_18\n i32 8, label LBL_18\n i32 9, label LBL_18\n i32 10, label LBL_18\n i32 11, label LBL_18\n ]\n LBL_17:\n %62 = icmp eq i32 %.pre-phi.reload, 12\n %63 = icmp eq i1 %62, false\n store i64 %3, i64* %sv_0.01820.reg2mem\n br i1 %63, label LBL_19, label LBL_18\n LBL_18:\n %64 = call i64 @FUNC(i64 %2)\n %.pr.pre = load i32, i32* %61, align 4\n %65 = icmp eq i32 %.pr.pre, 11\n store i64 %3, i64* %sv_0.01820.reg2mem\n store i64 %3, i64* %sv_0.1.reg2mem\n br i1 %65, label LBL_20, label LBL_19\n LBL_19:\n %sv_0.01820.reload = load i64, i64* %sv_0.01820.reg2mem\n %66 = add i64 %2, 12\n %67 = inttoptr i64 %66 to i32*\n store i32 0, i32* %67, align 4\n store i64 %sv_0.01820.reload, i64* %sv_0.1.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %68 = add i64 %2, 52\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = icmp eq i32 %70, 0\n br i1 %71, label LBL_36, label LBL_21\n LBL_21:\n %72 = add i64 %2, 12\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = mul i32 %74, 8\n %76 = and i32 %75, 24\n %77 = icmp eq i32 %76, 0\n %78 = shl i32 -255, %76\n %79 = add nsw i32 %78, -1\n %80 = trunc i64 %sv_0.1.reload to i32\n %81 = shl i32 %80, %76\n %82 = zext i32 %81 to i64\n %storemerge3 = select i1 %77, i64 %sv_0.1.reload, i64 %82\n %83 = trunc i64 %storemerge3 to i32\n %84 = add i64 %2, 8\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = and i32 %86, %79\n %88 = or i32 %87, %83\n store i32 %88, i32* %85, align 4\n %89 = load i32, i32* %73, align 4\n %90 = add i32 %89, 1\n store i32 %90, i32* %73, align 4\n store i64 %2, i64* @0, align 8\n switch i64 %2, label LBL_36 [\n i64 1, label LBL_22\n i64 2, label LBL_24\n i64 3, label LBL_25\n i64 4, label LBL_28\n i64 5, label LBL_32\n ]\n LBL_22:\n %91 = load i32, i32* inttoptr (i64 5 to i32*), align 4\n %92 = icmp eq i32 %91, 13\n %93 = icmp eq i1 %92, false\n br i1 %93, label LBL_36, label LBL_23\n LBL_23:\n %94 = call i64 @FUNC(i64 1)\n br label LBL_36\n LBL_24:\n %95 = load i32, i32* %85, align 4\n %96 = load i32, i32* inttoptr (i64 22 to i32*), align 4\n %97 = add i32 %96, 31\n %98 = urem i32 %97, 32\n %99 = shl i32 %95, %98\n store i32 %99, i32* %85, align 4\n br label LBL_36\n LBL_25:\n %100 = bitcast i64* %rdi to i32*\n %101 = load i32, i32* %100, align 8\n %102 = zext i32 %101 to i64\n %103 = mul i64 %102, 8\n %104 = add i64 %103, ptrtoint (i32** @gv_0 to i64)\n %105 = inttoptr i64 %104 to i32*\n %106 = load i32, i32* %105, align 8\n %107 = urem i32 %106, 2\n %108 = icmp eq i32 %107, 0\n %109 = icmp eq i1 %108, false\n br i1 %109, label LBL_36, label LBL_26\n LBL_26:\n %110 = load i32, i32* inttoptr (i64 7 to i32*), align 4\n %111 = icmp ne i32 %110, 0\n %112 = icmp eq i32 %110, 6\n %113 = icmp eq i1 %112, false\n %or.cond = icmp eq i1 %111, %113\n br i1 %or.cond, label LBL_36, label LBL_27\n LBL_27:\n %114 = call i64 @FUNC(i64 3)\n br label LBL_36\n LBL_28:\n %115 = bitcast i64* %rdi to i32*\n %116 = load i32, i32* %115, align 8\n %117 = zext i32 %116 to i64\n %118 = mul i64 %117, 8\n %119 = add i64 %118, ptrtoint (i32** @gv_0 to i64)\n %120 = inttoptr i64 %119 to i32*\n %121 = load i32, i32* %120, align 8\n %122 = urem i32 %121, 2\n %123 = icmp eq i32 %122, 0\n br i1 %123, label LBL_36, label LBL_29\n LBL_29:\n %124 = add i64 %118, ptrtoint (i32** @gv_1 to i64)\n %125 = inttoptr i64 %124 to i32*\n %126 = load i32, i32* %125, align 8\n %127 = icmp ult i32 %126, 256\n br i1 %127, label LBL_30, label LBL_36\n LBL_30:\n %128 = load i32, i32* inttoptr (i64 8 to i32*), align 8\n %129 = icmp ne i32 %128, 0\n %130 = icmp eq i32 %128, 6\n %131 = icmp eq i1 %130, false\n %or.cond14 = icmp eq i1 %129, %131\n br i1 %or.cond14, label LBL_36, label LBL_31\n LBL_31:\n %132 = call i64 @FUNC(i64 4)\n br label LBL_36\n LBL_32:\n %133 = bitcast i64* %rdi to i32*\n %134 = load i32, i32* %133, align 8\n %135 = zext i32 %134 to i64\n %136 = mul i64 %135, 8\n %137 = add i64 %136, ptrtoint (i32** @gv_0 to i64)\n %138 = inttoptr i64 %137 to i32*\n %139 = load i32, i32* %138, align 8\n %140 = urem i32 %139, 2\n %141 = icmp eq i32 %140, 0\n br i1 %141, label LBL_36, label LBL_33\n LBL_33:\n %142 = add i64 %136, ptrtoint (i32** @gv_1 to i64)\n %143 = inttoptr i64 %142 to i32*\n %144 = load i32, i32* %143, align 8\n %145 = icmp ult i32 %144, 256\n br i1 %145, label LBL_36, label LBL_34\n LBL_34:\n %146 = load i32, i32* inttoptr (i64 9 to i32*), align 4\n %147 = icmp ne i32 %146, 0\n %148 = icmp eq i32 %146, 6\n %149 = icmp eq i1 %148, false\n %or.cond16 = icmp eq i1 %147, %149\n br i1 %or.cond16, label LBL_36, label LBL_35\n LBL_35:\n %150 = call i64 @FUNC(i64 5)\n br label LBL_36\n LBL_36:\n %151 = add i64 %2, 48\n %152 = inttoptr i64 %151 to i32*\n %153 = load i32, i32* %152, align 4\n %154 = icmp eq i32 %153, 0\n %155 = icmp eq i1 %154, false\n br i1 %155, label LBL_44, label LBL_37\n LBL_37:\n %156 = load i32, i32* %69, align 4\n %157 = icmp eq i32 %156, 0\n %158 = icmp eq i1 %157, false\n br i1 %158, label LBL_38, label LBL_39\n LBL_38:\n %159 = zext i32 %156 to i64\n store i64 %159, i64* %rax.0.reg2mem\n br label LBL_52\n LBL_39:\n %160 = add i64 %2, 4\n %161 = inttoptr i64 %160 to i32*\n %162 = load i32, i32* %161, align 4\n %163 = icmp eq i32 %162, 6\n %164 = icmp eq i1 %163, false\n br i1 %164, label LBL_45, label LBL_40\n LBL_40:\n %165 = add i64 %2, 24\n %166 = inttoptr i64 %165 to i32*\n %167 = load i32, i32* %166, align 4\n %168 = add i64 %2, 28\n %169 = inttoptr i64 %168 to i32*\n %170 = load i32, i32* %169, align 4\n %171 = urem i32 %170, 32\n %172 = shl i32 1, %171\n %rsi.0 = zext i32 %172 to i64\n %173 = add i64 %2, 32\n %174 = inttoptr i64 %173 to i32*\n %175 = load i32, i32* %174, align 4\n %176 = urem i32 %175, 32\n %177 = shl i32 1, %176\n %storemerge4 = zext i32 %177 to i64\n store i64 %storemerge4, i64* %rdi, align 8\n %178 = add nuw nsw i64 %storemerge4, %rsi.0\n %179 = and i64 %178, 4294967295\n %180 = trunc i64 %178 to i32\n %181 = icmp ult i32 %167, %180\n %182 = icmp eq i1 %181, false\n store i64 %179, i64* %rax.0.reg2mem\n br i1 %182, label LBL_52, label LBL_41\n LBL_41:\n %183 = add i64 %2, 20\n %184 = inttoptr i64 %183 to i32*\n %185 = load i32, i32* %184, align 4\n %186 = icmp eq i32 %185, 0\n %187 = icmp eq i1 %186, false\n store i32 %185, i32* %.lcssa22.in.reg2mem\n br i1 %187, label LBL_42, label LBL_5021\n LBL_42:\n %188 = add i64 %2, 40\n %189 = inttoptr i64 %188 to i64*\n store i32 %185, i32* %sv_1.026.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.225.reg2mem\n br label LBL_43\n LBL_43:\n %sv_0.225.reload = load i64, i64* %sv_0.225.reg2mem\n %sv_1.026.reload = load i32, i32* %sv_1.026.reg2mem\n %190 = add i32 %sv_1.026.reload, -1\n %191 = load i64, i64* %189, align 8\n %192 = load i32, i32* %166, align 4\n %193 = add i32 %192, 1\n store i32 %193, i32* %166, align 4\n %194 = zext i32 %192 to i64\n %195 = add i64 %191, %194\n %196 = trunc i64 %sv_0.225.reload to i8\n %197 = inttoptr i64 %195 to i8*\n store i8 %196, i8* %197, align 1\n %198 = udiv i64 %sv_0.225.reload, 256\n %199 = urem i64 %198, 16777216\n %200 = icmp eq i32 %190, 0\n %201 = icmp eq i1 %200, false\n store i32 %190, i32* %sv_1.026.reg2mem\n store i64 %199, i64* %sv_0.225.reg2mem\n store i32 %190, i32* %.lcssa22.in.reg2mem\n br i1 %201, label LBL_43, label LBL_5021\n LBL_44:\n %202 = zext i32 %153 to i64\n store i64 %202, i64* %rax.0.reg2mem\n br label LBL_52\n LBL_45:\n %203 = add i64 %2, 4\n %204 = inttoptr i64 %203 to i32*\n %205 = load i32, i32* %204, align 4\n %206 = zext i32 %205 to i64\n %207 = icmp eq i32 %205, 14\n %208 = icmp eq i1 %207, false\n store i64 %206, i64* %rax.0.reg2mem\n br i1 %208, label LBL_52, label LBL_46\n LBL_46:\n %209 = add i64 %2, 8\n %210 = inttoptr i64 %209 to i32*\n %211 = load i32, i32* %210, align 4\n %212 = add i64 %2, 36\n %213 = inttoptr i64 %212 to i32*\n %214 = load i32, i32* %213, align 4\n %215 = urem i32 %214, 32\n %notmask = shl nsw i32 -1, %215\n %216 = sub i32 0, %notmask\n %217 = sub i32 %216, 1\n %218 = and i32 %211, %217\n %219 = add i64 %2, 28\n %220 = inttoptr i64 %219 to i32*\n %221 = load i32, i32* %220, align 4\n %222 = urem i32 %221, 32\n %223 = shl i32 1, %222\n %rsi.1 = zext i32 %223 to i64\n %224 = add i64 %2, 32\n %225 = inttoptr i64 %224 to i32*\n %226 = load i32, i32* %225, align 4\n %227 = urem i32 %226, 32\n %228 = shl i32 1, %227\n %storemerge7 = zext i32 %228 to i64\n store i64 %storemerge7, i64* %rdi, align 8\n %229 = add nuw nsw i64 %storemerge7, %rsi.1\n %230 = and i64 %229, 4294967295\n %231 = trunc i64 %229 to i32\n %232 = icmp ult i32 %218, %231\n %233 = icmp eq i1 %232, false\n store i64 %230, i64* %rax.0.reg2mem\n br i1 %233, label LBL_52, label LBL_47\n LBL_47:\n %234 = add i64 %2, 20\n %235 = inttoptr i64 %234 to i32*\n %236 = load i32, i32* %235, align 4\n %237 = icmp eq i32 %236, 0\n %238 = icmp eq i1 %237, false\n store i32 %236, i32* %.lcssa.in.reg2mem\n br i1 %238, label LBL_48, label LBL_50\n LBL_48:\n %239 = add i64 %2, 40\n %240 = inttoptr i64 %239 to i64*\n %241 = add i64 %2, 24\n %242 = inttoptr i64 %241 to i32*\n %.pre = load i32, i32* %210, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %236, i32* %sv_1.124.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.323.reg2mem\n br label LBL_49\n LBL_49:\n %sv_0.323.reload = load i64, i64* %sv_0.323.reg2mem\n %sv_1.124.reload = load i32, i32* %sv_1.124.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %243 = add i32 %sv_1.124.reload, -1\n %244 = load i64, i64* %240, align 8\n %245 = load i32, i32* %242, align 4\n %246 = zext i32 %.reload to i64\n store i64 %246, i64* %rdi, align 8\n %247 = load i32, i32* %213, align 4\n %248 = urem i32 %247, 32\n %notmask41 = shl nsw i32 -1, %248\n %249 = sub i32 0, %notmask41\n %250 = sub i32 %249, 1\n %251 = and i32 %.reload, %250\n %252 = add i32 %251, %245\n %253 = zext i32 %252 to i64\n %254 = add i64 %244, %253\n %255 = trunc i64 %sv_0.323.reload to i8\n %256 = inttoptr i64 %254 to i8*\n store i8 %255, i8* %256, align 1\n %257 = load i32, i32* %210, align 4\n %258 = add i32 %257, 1\n store i32 %258, i32* %210, align 4\n %259 = udiv i64 %sv_0.323.reload, 256\n %260 = urem i64 %259, 16777216\n %261 = icmp eq i32 %243, 0\n %262 = icmp eq i1 %261, false\n store i32 %258, i32* %.reg2mem\n store i32 %243, i32* %sv_1.124.reg2mem\n store i64 %260, i64* %sv_0.323.reg2mem\n store i32 %243, i32* %.lcssa.in.reg2mem\n br i1 %262, label LBL_49, label LBL_50\n LBL_50:\n %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem\n %.lcssa = zext i32 %.lcssa.in.reload to i64\n store i64 %.lcssa, i64* %rax.0.reg2mem\n br label LBL_52\n LBL_51:\n %.lcssa22.in.reload = load i32, i32* %.lcssa22.in.reg2mem\n %.lcssa22 = zext i32 %.lcssa22.in.reload to i64\n store i64 %.lcssa22, i64* %rax.0.reg2mem\n br label LBL_52\n LBL_52:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i64 %sv_0.323.reload, { 1, 0 }\n uselistorder i32 %236, { 1, 0, 2 }\n uselistorder i32* %210, { 2, 1, 0, 3 }\n uselistorder i64 %sv_0.225.reload, { 1, 0 }\n uselistorder i32 %185, { 1, 0, 2 }\n uselistorder i32* %166, { 1, 0, 2 }\n uselistorder i64 %136, { 1, 0 }\n uselistorder i64 %118, { 1, 0 }\n uselistorder i32 %76, { 1, 0, 2 }\n uselistorder i32* %73, { 1, 0, 2 }\n uselistorder i64 %sv_0.1.reload, { 0, 1, 3, 2 }\n uselistorder i32 %.pre-phi.reload, { 2, 1, 0, 3, 4, 5 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i64 %3, { 0, 4, 3, 7, 5, 6, 1, 2 }\n uselistorder i64 %2, { 22, 21, 23, 24, 25, 26, 27, 28, 16, 17, 18, 19, 20, 30, 29, 13, 12, 14, 15, 31, 7, 6, 8, 1, 10, 11, 9, 5, 0, 2, 3, 4, 32, 33, 34 }\n uselistorder i64* %rdi, { 2, 0, 1, 5, 4, 3 }\n uselistorder i64* %sv_0.01820.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_1.026.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.225.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.124.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.323.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 7, 8, 9, 6, 1, 5, 4 }\n uselistorder i64 ptrtoint (i32** @gv_1 to i64), { 1, 0 }\n uselistorder i32 6, { 3, 0, 1, 2 }\n uselistorder i64 (i64)* @nand_command, { 4, 3, 2, 1, 0 }\n uselistorder i32 11, { 1, 0 }\n uselistorder i32 256, { 1, 0, 2 }\n uselistorder i32 -1, { 0, 4, 1, 5, 2, 3 }\n uselistorder i64 4, { 2, 3, 0, 4, 5, 1, 6 }\n uselistorder i32 2, { 0, 1, 2, 4, 3 }\n uselistorder i64 ptrtoint (i32** @gv_0 to i64), { 2, 1, 0, 3 }\n uselistorder i64 8, { 5, 0, 4, 1, 2, 6, 7, 3 }\n uselistorder i1 false, { 7, 1, 8, 9, 10, 0, 11, 12, 13, 14, 2, 3, 4, 5, 6, 15, 16, 17, 18, 19, 20, 21 }\n uselistorder i64 32, { 1, 2, 0 }\n uselistorder label LBL_52, { 2, 3, 5, 6, 1, 7, 0, 8, 4 }\n uselistorder label LBL_49, { 1, 0 }\n uselistorder label LBL_43, { 1, 0 }\n uselistorder label LBL_36, { 5, 0, 4, 3, 7, 1, 8, 6, 10, 2, 9, 14, 12, 11, 13, 15 }\n uselistorder label LBL_19, { 2, 0, 1 }\n uselistorder label LBL_18, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vfio_pci_load_rom_1470", "fun_name": "vfio_pci_load_rom", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n store i64 40, i64* %sv_0, align 8\n %5 = trunc i64 %3 to i32\n %6 = call i32 (i32, i32, ...) @ioctl(i32 %5, i32 1)\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %sv_0 to i64\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 1, i64 %8, i64 %4, i64 %2, i64 %1)\n store i64 %9, i64* %rax.1.reg2mem\n br label LBL_5\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = add i64 %10, 7\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = zext i8 %16 to i64\n %18 = add i64 %10, 6\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = zext i8 %20 to i64\n %22 = add i64 %10, 4\n %23 = inttoptr i64 %22 to i16*\n %24 = load i16, i16* %23, align 2\n %25 = zext i8 %13 to i64\n %26 = zext i16 %24 to i64\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %26, i64 %21, i64 %17, i64 %25, i64 %1)\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0, i64 0, i64 %25, i64 %1)\n %29 = add i64 %10, 16\n %30 = inttoptr i64 %29 to i64*\n store i64 0, i64* %30, align 8\n %31 = add i64 %10, 24\n %32 = inttoptr i64 %31 to i64*\n store i64 0, i64* %32, align 8\n %33 = load i64, i64* %30, align 8\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_4, label LBL_3\n LBL_3:\n %36 = add i64 %10, 40\n %37 = inttoptr i64 %36 to i32*\n store i32 1, i32* %37, align 4\n %38 = load i8, i8* %12, align 1\n %39 = load i8, i8* %15, align 1\n %40 = zext i8 %39 to i64\n %41 = load i8, i8* %19, align 1\n %42 = zext i8 %41 to i64\n %43 = load i16, i16* %23, align 2\n %44 = zext i8 %38 to i64\n %45 = zext i16 %43 to i64\n %46 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_3, i64 0, i64 0), i64 %45, i64 %42, i64 %40, i64 %44, i64 %1)\n %47 = call i64 @FUNC(i8* getelementptr inbounds ([133 x i8], [133 x i8]* @gv_4, i64 0, i64 0), i64 %45, i64 %42, i64 %40, i64 %44, i64 %1)\n store i64 %47, i64* %rax.1.reg2mem\n br label LBL_5\n LBL_4:\n %48 = call i64 @FUNC(i64 0)\n %49 = add i64 %10, 32\n %50 = inttoptr i64 %49 to i64*\n store i64 %48, i64* %50, align 8\n %51 = inttoptr i64 %48 to i64*\n %52 = call i64* @memset(i64* %51, i32 255, i32 0)\n %53 = ptrtoint i64* %52 to i64\n store i64 %53, i64* %rax.1.reg2mem\n br label LBL_5\n LBL_5:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %40, { 1, 0 }\n uselistorder i64 %10, { 0, 1, 2, 3, 6, 7, 5, 4 }\n uselistorder i64 %1, { 1, 2, 3, 4, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 }\n uselistorder i64 40, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spice_server_vm_stop_9205", "fun_name": "spice_server_vm_stop", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %0 = load i32*, i32** @gv_0, align 8\n %1 = ptrtoint i32* %0 to i64\n %2 = icmp eq i64 %1, %arg1\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = load i32*, i32** @gv_0, align 8\n store i32 0, i32* %5, align 4\n %6 = load i32*, i32** @gv_0, align 8\n %7 = ptrtoint i32* %6 to i64\n %8 = add i64 %7, 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %storemerge1.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %11 = add i64 %storemerge1.reload, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = inttoptr i64 %storemerge1.reload to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %storemerge1.reg2mem\n br i1 %18, label LBL_1, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC()\n ret i64 %19\n\n uselistorder i64 %storemerge1.reload, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2_unscale_group_2270", "fun_name": "l2_unscale_group", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n %1 = trunc i64 %arg2 to i32\n %2 = sext i32 %arg3 to i64\n %3 = mul i64 %2, 4\n %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64)\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = urem i32 %6, 4\n %8 = ashr i32 %0, 1\n %9 = sub i32 %1, %8\n %10 = ashr i32 %0, 2\n %11 = zext i32 %7 to i64\n %12 = sext i32 %10 to i64\n %13 = mul i64 %12, 4\n %14 = or i64 %13, %11\n %15 = mul i64 %14, 4\n %16 = add i64 %15, ptrtoint (i32** @gv_1 to i64)\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = mul i32 %18, %9\n %20 = icmp slt i32 %6, 4\n store i32 %19, i32* %sv_0.0.reg2mem\n br i1 %20, label LBL_2, label LBL_1\n LBL_1:\n %21 = ashr i32 %6, 2\n %22 = add nsw i32 %21, 31\n %23 = urem i32 %22, 32\n %24 = shl i32 1, %23\n %25 = add i32 %24, %19\n %26 = urem i32 %21, 32\n %27 = ashr i32 %25, %26\n store i32 %27, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %28 = zext i32 %sv_0.0.reload to i64\n ret i64 %28\n\n uselistorder i32 %19, { 1, 0 }\n uselistorder i32 %6, { 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_ralf_vlc_1324", "fun_name": "init_ralf_vlc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv14.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.09.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i32\n %sv_2.011.reg2mem = alloca i32\n %indvars.iv17.reg2mem = alloca i64\n %indvars.iv21.reg2mem = alloca i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_4 to i64\n %1 = add i64 %0, -864\n store i64 0, i64* %indvars.iv21.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv21.reload = load i64, i64* %indvars.iv21.reg2mem\n %2 = mul i64 %indvars.iv21.reload, 4\n %3 = add i64 %2, %1\n %4 = inttoptr i64 %3 to i32*\n store i32 0, i32* %4, align 4\n %indvars.iv.next22 = add nuw nsw i64 %indvars.iv21.reload, 1\n %exitcond23 = icmp eq i64 %indvars.iv.next22, 17\n store i64 %indvars.iv.next22, i64* %indvars.iv21.reg2mem\n br i1 %exitcond23, label LBL_2, label LBL_1\n LBL_2:\n %5 = icmp sgt i32 %arg3, 0\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %5, label LBL_3, label LBL_5\n LBL_3:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %0, -272\n %wide.trip.count19 = zext i32 %arg3 to i64\n store i64 0, i64* %indvars.iv17.reg2mem\n store i32 0, i32* %sv_2.011.reg2mem\n store i32 0, i32* %sv_0.010.reg2mem\n store i64 %6, i64* %sv_1.09.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %sv_2.011.reload = load i32, i32* %sv_2.011.reg2mem\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %8 = icmp eq i32 %sv_2.011.reload, 0\n %9 = inttoptr i64 %sv_1.09.reload to i8*\n %10 = load i8, i8* %9, align 1\n %11 = udiv i8 %10, 16\n %12 = urem i8 %10, 16\n %storemerge5.in.in = select i1 %8, i8 %11, i8 %12\n %storemerge5.in = add nuw nsw i8 %storemerge5.in.in, 1\n %13 = mul i8 %storemerge5.in, 4\n %sext = zext i8 %13 to i64\n %14 = add i64 %1, %sext\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i32 %16, 1\n store i32 %17, i32* %15, align 4\n %18 = zext i8 %storemerge5.in to i32\n %19 = sub i32 %sv_0.010.reload, %18\n %20 = xor i32 %19, -2147483648\n %21 = and i32 %20, %sv_0.010.reload\n %22 = icmp slt i32 %21, 0\n %23 = icmp slt i32 %19, 0\n %24 = icmp eq i1 %23, %22\n %25 = select i1 %24, i32 %sv_0.010.reload, i32 %18\n %26 = add i64 %7, %indvars.iv17.reload\n %27 = inttoptr i64 %26 to i8*\n store i8 %storemerge5.in, i8* %27, align 1\n %28 = sext i32 %sv_2.011.reload to i64\n %29 = add i64 %sv_1.09.reload, %28\n %30 = xor i32 %sv_2.011.reload, 1\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1\n %exitcond20 = icmp eq i64 %indvars.iv.next18, %wide.trip.count19\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n store i32 %30, i32* %sv_2.011.reg2mem\n store i32 %25, i32* %sv_0.010.reg2mem\n store i64 %29, i64* %sv_1.09.reg2mem\n store i32 %25, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond20, label LBL_5, label LBL_4\n LBL_5:\n %31 = ptrtoint i64* %arg1 to i64\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %32 = add i64 %0, -944\n store i64 1, i64* %indvars.iv14.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n %33 = mul i64 %indvars.iv14.reload, 4\n %34 = add i64 %33, %32\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %33, %1\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i32 %39, %36\n %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1\n %41 = mul i32 %40, 2\n %42 = mul i64 %indvars.iv.next15, 4\n %43 = add i64 %42, %32\n %44 = inttoptr i64 %43 to i32*\n store i32 %41, i32* %44, align 4\n %exitcond16 = icmp eq i64 %indvars.iv.next15, 17\n store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem\n br i1 %exitcond16, label LBL_7, label LBL_6\n LBL_7:\n br i1 %5, label LBL_8, label LBL_10\n LBL_8:\n %45 = add i64 %0, -272\n %46 = add i64 %0, -784\n %wide.trip.count = zext i32 %arg3 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %47 = add i64 %45, %indvars.iv.reload\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = zext i8 %49 to i64\n %51 = mul i64 %50, 4\n %52 = add i64 %51, %32\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = add i32 %54, 1\n store i32 %55, i32* %53, align 4\n %56 = trunc i32 %54 to i16\n %57 = mul i64 %indvars.iv.reload, 2\n %58 = add i64 %46, %57\n %59 = inttoptr i64 %58 to i16*\n store i16 %56, i16* %59, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %60 = add i32 %sv_0.0.lcssa.reload, -9\n %61 = sub i32 8, %sv_0.0.lcssa.reload\n %62 = and i32 %61, %sv_0.0.lcssa.reload\n %63 = icmp slt i32 %62, 0\n %64 = icmp eq i32 %60, 0\n %65 = icmp slt i32 %60, 0\n %66 = icmp ne i1 %65, %63\n %67 = or i1 %64, %66\n %68 = select i1 %67, i32 %sv_0.0.lcssa.reload, i32 9\n %69 = call i64 @FUNC(i64 %31, i32 %68, i32 %arg3, i64* nonnull %sv_3, i64 1, i64 1)\n ret i64 %69\n\n uselistorder i32 %60, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.next15, { 0, 2, 1 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 3, 2, 0 }\n uselistorder i32 %19, { 1, 0 }\n uselistorder i8 %storemerge5.in, { 1, 2, 0 }\n uselistorder i8 %10, { 1, 0 }\n uselistorder i32 %sv_2.011.reload, { 1, 0, 2 }\n uselistorder i32 %sv_0.010.reload, { 1, 2, 0 }\n uselistorder i64 %sv_1.09.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv21.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.011.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8 16, { 1, 0 }\n uselistorder i64 17, { 1, 0 }\n uselistorder i64 1, { 6, 5, 4, 3, 0, 2, 1 }\n uselistorder i32 0, { 4, 5, 6, 7, 8, 9, 1, 2, 0, 3, 10 }\n uselistorder i32 %arg3, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tls1_set_server_sigalgs_8144", "fun_name": "tls1_set_server_sigalgs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %storemerge23.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 40\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %3)\n %6 = add i64 %3, 40\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, align 8\n %8 = add i64 %3, 48\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n store i64 %3, i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n store i64 0, i64* %storemerge23.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge23.reload = load i64, i64* %storemerge23.reg2mem\n %10 = mul i64 %storemerge23.reload, 4\n %11 = add i64 %10, %rdi.0.reload\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n %13 = add nuw nsw i64 %storemerge23.reload, 1\n %exitcond = icmp eq i64 %13, 10\n store i64 %13, i64* %storemerge23.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %14 = add i64 %rdi.0.reload, 56\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_9, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %0)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 1, i64 2)\n store i32 3, i32* %storemerge.reg2mem\n br label LBL_10\n LBL_7:\n %23 = load i64, i64* %2, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 1, i64* %storemerge1.reg2mem\n br i1 %25, label LBL_11, label LBL_8\n LBL_8:\n %26 = call i64 @FUNC(i64 1, i64 4)\n store i32 5, i32* %storemerge.reg2mem\n br label LBL_10\n LBL_9:\n %27 = call i64 @FUNC(i64 %rdi.0.reload)\n store i64 1, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_10:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %28 = call i64 @FUNC(i64 %0, i64 6, i32 %storemerge.reload)\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %3, { 0, 3, 2, 1, 4 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @SSLerr, { 1, 0 }\n uselistorder label LBL_11, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "CopyKeyNamesToKeymap_9798", "fun_name": "CopyKeyNamesToKeymap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %storemerge36.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = ptrtoint i32* %arg2 to i64\n %4 = add i64 %3, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %2, 0\n %8 = icmp eq i1 %7, false\n %spec.select4 = select i1 %8, i32 %6, i32 255\n %9 = add i32 %spec.select4, 1\n %10 = call i64* @calloc(i32 %9, i32 16)\n %11 = icmp eq i64* %10, null\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %12, label LBL_1, label LBL_8\n LBL_1:\n %13 = bitcast i64* %rsi to i32*\n %spec.select = select i1 %8, i32 %2, i32 8\n %14 = ptrtoint i64* %10 to i64\n %15 = icmp ugt i32 %spec.select, %spec.select4\n store i32 %spec.select, i32* %storemerge36.reg2mem\n store i32 %2, i32* %.reg2mem\n br i1 %15, label LBL_4, label LBL_2\n LBL_2:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %16 = zext i32 %storemerge36.reload to i64\n %17 = mul i64 %16, 16\n %18 = add i64 %17, %14\n %19 = inttoptr i64 %18 to i32*\n store i32 %storemerge36.reload, i32* %19, align 4\n %20 = add i32 %storemerge36.reload, 1\n %21 = icmp ugt i32 %20, %spec.select4\n store i32 %20, i32* %storemerge36.reg2mem\n br i1 %21, label LBL_3, label LBL_2\n LBL_3:\n %.pre = load i32, i32* %13, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %22 = load i32, i32* %5, align 4\n %23 = icmp ugt i32 %.reload, %22\n br i1 %23, label LBL_7, label LBL_5\n LBL_5:\n %24 = add i64 %3, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = add i64 %14, 8\n store i32 %.reload, i32* %storemerge25.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %27 = load i64, i64* %25, align 8\n %28 = zext i32 %storemerge25.reload to i64\n %29 = mul i64 %28, 16\n %30 = call i64 @FUNC(i64 %27, i64 %28)\n %31 = add i64 %26, %29\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n %33 = add i32 %storemerge25.reload, 1\n %34 = load i32, i32* %5, align 4\n %35 = icmp ugt i32 %33, %34\n store i32 %33, i32* %storemerge25.reg2mem\n br i1 %35, label LBL_7, label LBL_6\n LBL_7:\n %36 = ptrtoint i64* %arg1 to i64\n %37 = bitcast i64* %arg1 to i32*\n store i32 %spec.select, i32* %37, align 4\n %38 = add i64 %36, 4\n %39 = inttoptr i64 %38 to i32*\n store i32 %spec.select4, i32* %39, align 4\n %40 = add i64 %36, 8\n %41 = inttoptr i64 %40 to i64*\n store i64 %14, i64* %41, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %28, { 1, 0 }\n uselistorder i32 %storemerge36.reload, { 0, 2, 1 }\n uselistorder i64 %14, { 2, 1, 0 }\n uselistorder i32 %spec.select, { 2, 0, 1 }\n uselistorder i64* %10, { 1, 0 }\n uselistorder i32 %spec.select4, { 3, 2, 0, 1 }\n uselistorder i1 %8, { 1, 0 }\n uselistorder i32* %5, { 1, 0, 2 }\n uselistorder i32 %2, { 0, 2, 1 }\n uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_next_tick_736", "fun_name": "set_next_tick", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %1 to i32\n %8 = add i32 %7, 1\n %9 = udiv i32 1000, %8\n %10 = load i64, i64* @gv_0, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = udiv i32 1000, %9\n %13 = trunc i64 %11 to i32\n %14 = add i32 %12, %13\n %15 = add i64 %2, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = zext i32 %14 to i64\n %19 = call i64 @FUNC(i64 %17, i64 %18)\n ret i64 %19\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "BD_DecFieldReplace_13037", "fun_name": "BD_DecFieldReplace", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %2, i64 %5)\n %7 = add i64 %6, 1\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = and i64 %7, 4294967295\n %12 = call i64 @FUNC(i64 %10, i64 %11)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_1, label LBL_11\n LBL_1:\n %15 = call i64 @FUNC(i64 %12, i64 0)\n %16 = add i64 %15, 4294967295\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = and i64 %18, 4294967295\n %20 = call i64 @FUNC(i64 %2, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = bitcast i32* %sv_2 to i64*\n %23 = call i64 @FUNC(i64 %12, i32 %21, i64 0, i64* nonnull %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 %23, i64* %rax.0.shrunk.reg2mem\n br i1 %25, label LBL_2, label LBL_11\n LBL_2:\n %26 = load i32, i32* %sv_2, align 4\n %27 = zext i32 %26 to i64\n %28 = bitcast i32* %sv_1 to i64*\n %29 = call i64 @FUNC(i64 %12, i64 %27, i64* nonnull %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n store i64 %29, i64* %rax.0.shrunk.reg2mem\n br i1 %31, label LBL_3, label LBL_11\n LBL_3:\n %32 = load i32, i32* %sv_1, align 4\n %33 = icmp eq i32 %32, 1\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_5, label LBL_4\n LBL_4:\n %35 = inttoptr i64 %4 to i64*\n %36 = load i64, i64* %35, align 8\n store i64 0, i64* %35, align 8\n store i64 %36, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %37 = zext i32 %32 to i64\n %38 = call i64 @FUNC(i64 %37)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %41, label LBL_7, label LBL_6\n LBL_6:\n %42 = load i32, i32* %sv_1, align 4\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %4, i64 %43)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %45 = add i64 %3, 16\n %46 = inttoptr i64 %45 to i32*\n store i32 1, i32* %46, align 4\n %47 = call i64 @FUNC(i64 %3, i64 %2, i64 %12, i64* nonnull %28, i64 0)\n store i32 0, i32* %46, align 4\n %48 = load i32, i32* %sv_1, align 4\n %49 = icmp eq i32 %48, 1\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_9, label LBL_8\n LBL_8:\n %51 = call i64 @FUNC(i64 %12, i64 %sv_0.0.reload)\n br label LBL_9\n LBL_9:\n %52 = trunc i64 %47 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n store i64 %47, i64* %rax.0.shrunk.reg2mem\n br i1 %54, label LBL_11, label LBL_10\n LBL_10:\n %55 = call i64 @FUNC(i64 %12, i64* nonnull %28)\n store i64 %47, i64* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %47, { 1, 0, 2 }\n uselistorder i64 %12, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i32* %sv_1, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 1, 0 }\n uselistorder i64 4294967295, { 2, 3, 4, 5, 0, 6, 1 }\n uselistorder label LBL_11, { 1, 0, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cbq_walk_10742", "fun_name": "cbq_walk", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %storemerge3.lcssa.reg2mem = alloca i64\n %rsi.1.lcssa.reg2mem = alloca i64\n %rsi.110.reg2mem = alloca i64\n %storemerge311.reg2mem = alloca i64\n %rsi.213.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = icmp eq i32 %5, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.1.reg2mem\n br i1 %8, label LBL_7, label LBL_1\n LBL_1:\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = trunc i64 %1 to i32\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %0, i64* %rsi.213.reg2mem\n br label LBL_2\n LBL_2:\n %rsi.213.reload = load i64, i64* %rsi.213.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = add i64 %14, %2\n %storemerge3.in8 = inttoptr i64 %15 to i64*\n %storemerge39 = load i64, i64* %storemerge3.in8, align 8\n %16 = icmp eq i64 %storemerge39, 0\n %17 = icmp eq i1 %16, false\n store i64 %storemerge39, i64* %storemerge311.reg2mem\n store i64 %rsi.213.reload, i64* %rsi.110.reg2mem\n store i64 %rsi.213.reload, i64* %rsi.1.lcssa.reg2mem\n store i64 %storemerge39, i64* %storemerge3.lcssa.reg2mem\n br i1 %17, label LBL_3, label LBL_6\n LBL_3:\n %rsi.110.reload = load i64, i64* %rsi.110.reg2mem\n %18 = load i64, i64* %10, align 8\n %19 = icmp ult i64 %rsi.110.reload, %18\n %brmerge = or i1 %13, %19\n br i1 %brmerge, label LBL_5, label LBL_4\n LBL_4:\n store i32 1, i32* %4, align 4\n store i64 %0, i64* %rax.1.reg2mem\n br label LBL_7\n LBL_5:\n %storemerge311.reload = load i64, i64* %storemerge311.reg2mem\n %rsi.110.mux = select i1 %19, i64 %rsi.110.reload, i64 %storemerge311.reload\n %storemerge4 = add i64 %rsi.110.mux, 1\n store i64 %storemerge4, i64* %arg2, align 8\n %storemerge3.in = inttoptr i64 %storemerge311.reload to i64*\n %storemerge3 = load i64, i64* %storemerge3.in, align 8\n %20 = icmp eq i64 %storemerge3, 0\n %21 = icmp eq i1 %20, false\n store i64 %storemerge3, i64* %storemerge311.reg2mem\n store i64 %rsi.110.mux, i64* %rsi.110.reg2mem\n store i64 %rsi.110.mux, i64* %rsi.1.lcssa.reg2mem\n store i64 %storemerge3, i64* %storemerge3.lcssa.reg2mem\n br i1 %21, label LBL_3, label LBL_6\n LBL_6:\n %storemerge3.lcssa.reload = load i64, i64* %storemerge3.lcssa.reg2mem\n %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %22 = icmp ult i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rsi.1.lcssa.reload, i64* %rsi.213.reg2mem\n store i64 %storemerge3.lcssa.reload, i64* %rax.1.reg2mem\n br i1 %22, label LBL_2, label LBL_7\n LBL_7:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i1 %19, { 1, 0 }\n uselistorder i64 %rsi.110.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.213.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge311.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rsi.110.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 2, 0, 1, 3 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "choose_output_1865", "fun_name": "choose_output", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rcx.09.reg2mem = alloca i64\n %storemerge211.reg2mem = alloca i64\n %rcx.08.reg2mem = alloca i64\n %storemerge210.reg2mem = alloca i64\n %rcx.13.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i32, i32* @gv_0, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge6.reg2mem\n store i64 9223372036854775807, i64* %sv_1.15.reg2mem\n store i64 0, i64* %sv_0.14.reg2mem\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %rcx.13.reload = load i64, i64* %rcx.13.reg2mem\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %sv_1.15.reload = load i64, i64* %sv_1.15.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = load i64, i64* @gv_1, align 8\n %6 = mul i64 %.reload, 8\n %7 = add i64 %5, %6\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, -1\n store i64 -9223372036854775808, i64* %storemerge210.reg2mem\n store i64 %rcx.13.reload, i64* %rcx.08.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = add i64 %11, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %13, i64 %17, i64 4294967296000001)\n %.pre = load i64, i64* %10, align 8\n %.phi.trans.insert = inttoptr i64 %.pre to i64*\n %.pre7 = load i64, i64* %.phi.trans.insert, align 8\n %19 = icmp eq i64 %.pre7, -1\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %storemerge210.reg2mem\n store i64 %17, i64* %rcx.08.reg2mem\n store i64 %18, i64* %storemerge211.reg2mem\n store i64 %17, i64* %rcx.09.reg2mem\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %rcx.08.reload = load i64, i64* %rcx.08.reg2mem\n %storemerge210.reload = load i64, i64* %storemerge210.reg2mem\n %21 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @gv_2, i64 0, i64 0), i64 %rcx.08.reload, i64 %2, i64 %1)\n store i64 %storemerge210.reload, i64* %storemerge211.reg2mem\n store i64 %rcx.08.reload, i64* %rcx.09.reg2mem\n br label LBL_4\n LBL_4:\n %rcx.09.reload = load i64, i64* %rcx.09.reg2mem\n %storemerge211.reload = load i64, i64* %storemerge211.reg2mem\n %22 = add i64 %9, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n %26 = icmp slt i64 %storemerge211.reload, %sv_1.15.reload\n %or.cond = icmp eq i1 %26, %25\n store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem\n store i64 %sv_1.15.reload, i64* %sv_1.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_6\n LBL_5:\n %27 = add i64 %9, 12\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n %storemerge1 = select i1 %31, i64 0, i64 %9\n store i64 %storemerge1, i64* %sv_0.0.reg2mem\n store i64 %storemerge211.reload, i64* %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %32 = add i32 %storemerge6.reload, 1\n %33 = load i32, i32* @gv_0, align 4\n %34 = zext i32 %33 to i64\n %35 = sext i32 %32 to i64\n %36 = icmp slt i64 %35, %34\n store i64 %35, i64* %.reg2mem\n store i32 %32, i32* %storemerge6.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.15.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem\n store i64 %rcx.09.reload, i64* %rcx.13.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %36, label LBL_1, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i64 %9, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.13.reg2mem, { 1, 0 }\n uselistorder i64* %storemerge210.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.08.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge211.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.09.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i32 0, { 3, 4, 0, 1, 2 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 1, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_sigreturn_3001", "fun_name": "do_sigreturn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %3 = load i32, i32* %1\n %4 = load i64, i64* %0\n %sv_3 = alloca i64, align 8\n %5 = add i64 %2, 120\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 0, i64 %4, i64 %7, i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = ptrtoint i64* %sv_3 to i64\n %12 = sext i32 %3 to i64\n %13 = call i64 @FUNC(i64 %12, i64 %4)\n %14 = add i64 %11, -288\n store i64 1, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul i64 %indvars.iv.reload, 4\n %16 = add i64 %15, %4\n %17 = add i64 %14, %15\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = sext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20, i64 %16)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %22 = call i64 @FUNC(i64* nonnull %sv_1, i32* nonnull %sv_2)\n %23 = call i64 @FUNC(i64 2, i64* nonnull %sv_1, i64 0)\n %24 = call i64 @FUNC(i64 %2, i64 %4, i64* nonnull %sv_0)\n %25 = call i64 @FUNC(i64 %4, i64 %7, i64 0)\n %26 = load i64, i64* %sv_0, align 8\n store i64 %26, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %27 = call i64 @FUNC(i64 %4, i64 %7, i64 0)\n %28 = call i64 @FUNC(i64 11)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64 %4, { 0, 1, 2, 5, 3, 4 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64, i64)* @__get_user, { 1, 0 }\n uselistorder i64 1, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_qdev_unrealize_1510", "fun_name": "pci_qdev_unrealize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %1)\n %5 = call i64 @FUNC(i64 %1)\n %6 = call i64 @FUNC(i64 %1)\n ret i64 %6\n\n uselistorder i64 %1, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "WriteBlobMSBLong_8716", "fun_name": "WriteBlobMSBLong", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i8, align 1\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %3 = icmp eq i64 %rdi.0.reload, 305419896\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %4 = trunc i64 %arg2 to i32\n %5 = udiv i32 %4, 16777216\n %6 = trunc i32 %5 to i8\n store i8 %6, i8* %sv_0, align 1\n %7 = call i64 @FUNC(i64 %0, i64 4, i8* nonnull %sv_0)\n ret i64 %7\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder [24 x i8]* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hls_write_header_3305", "fun_name": "hls_write_header", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i32\n %.pre-phi10.reg2mem = alloca i64*\n %.lcssa.reg2mem = alloca i32\n %rcx.0.lcssa.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %.reg2mem15 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i8*\n %11 = call i32 @strlen(i8* %10)\n %12 = call i32 @strlen(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %13 = inttoptr i64 %6 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %6, 56\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = mul i64 %16, 1000000\n %18 = add i64 %6, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = add i64 %6, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 -9223372036854775808, i64* %21, align 8\n %22 = bitcast i64* %rdi to i32*\n %23 = load i32, i32* %22, align 8\n %24 = icmp eq i32 %23, 0\n %25 = add i64 %6, 24\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n store i64 -9223372036854775808, i64* %rcx.0.lcssa.reg2mem\n store i32 %27, i32* %.lcssa.reg2mem\n br i1 %24, label LBL_3, label LBL_1\n LBL_1:\n %28 = add i64 %3, 24\n %29 = inttoptr i64 %28 to i64*\n store i32 %27, i32* %.reg2mem\n store i64 0, i64* %.reg2mem15\n store i32 0, i32* %storemerge35.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload16 = load i64, i64* %.reg2mem15\n %.reload = load i32, i32* %.reg2mem\n %30 = load i64, i64* %29, align 8\n %31 = mul i64 %.reload16, 8\n %32 = add i64 %30, %31\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 1\n %40 = zext i1 %39 to i32\n %41 = add i32 %.reload, %40\n store i32 %41, i32* %26, align 4\n %42 = add i32 %storemerge35.reload, 1\n %43 = load i32, i32* %22, align 8\n %44 = zext i32 %43 to i64\n %45 = sext i32 %42 to i64\n %46 = icmp slt i64 %45, %44\n store i32 %41, i32* %.reg2mem\n store i64 %45, i64* %.reg2mem15\n store i32 %42, i32* %storemerge35.reg2mem\n store i64 %30, i64* %rcx.0.lcssa.reg2mem\n store i32 %41, i32* %.lcssa.reg2mem\n br i1 %46, label LBL_2, label LBL_3\n LBL_3:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %47 = icmp slt i32 %.lcssa.reload, 2\n br i1 %47, label LBL_5, label LBL_4\n LBL_4:\n %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem\n %48 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_1, i64 0, i64 0), i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n br label LBL_5\n LBL_5:\n %49 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 0, i64 0)\n %50 = add i64 %6, 32\n %51 = inttoptr i64 %50 to i64*\n store i64 %49, i64* %51, align 8\n %52 = icmp eq i64 %49, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_7, label LBL_5.LBL_14_crit_edge\n LBL_6:\n %.pre = add i64 %6, 40\n %.pre9 = inttoptr i64 %.pre to i64*\n store i64* %.pre9, i64** %.pre-phi10.reg2mem\n store i32 -1, i32* %sv_0.04.reg2mem\n br label LBL_14\n LBL_7:\n %54 = add i32 %11, 1\n %55 = add i32 %54, %12\n %56 = sext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %56)\n %58 = add i64 %6, 40\n %59 = inttoptr i64 %58 to i64*\n store i64 %57, i64* %59, align 8\n %60 = icmp eq i64 %57, 0\n %61 = icmp eq i1 %60, false\n store i64* %59, i64** %.pre-phi10.reg2mem\n store i32 -12, i32* %sv_0.04.reg2mem\n br i1 %61, label LBL_8, label LBL_14\n LBL_8:\n %62 = load i64, i64* %8, align 8\n %63 = inttoptr i64 %57 to i8*\n %64 = inttoptr i64 %62 to i8*\n %65 = call i8* @strcpy(i8* %63, i8* %64)\n %66 = load i64, i64* %59, align 8\n %67 = inttoptr i64 %66 to i8*\n %68 = call i8* @strrchr(i8* %67, i32 46)\n %69 = icmp eq i8* %68, null\n br i1 %69, label LBL_10, label LBL_9\n LBL_9:\n store i8 0, i8* %68, align 1\n br label LBL_10\n LBL_10:\n %70 = load i64, i64* %59, align 8\n %71 = call i64 @FUNC(i64 %70, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %56)\n %72 = call i64 @FUNC(i64 %3)\n %73 = trunc i64 %72 to i32\n %74 = icmp slt i32 %73, 0\n store i64* %59, i64** %.pre-phi10.reg2mem\n store i32 %73, i32* %sv_0.04.reg2mem\n br i1 %74, label LBL_14, label LBL_11\n LBL_11:\n %75 = call i64 @FUNC(i64 %3)\n %76 = trunc i64 %75 to i32\n %77 = icmp slt i32 %76, 0\n store i64* %59, i64** %.pre-phi10.reg2mem\n store i32 %76, i32* %sv_0.04.reg2mem\n br i1 %77, label LBL_14, label LBL_12\n LBL_12:\n %78 = add i64 %6, 48\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = call i64 @FUNC(i64 %80, i64 0)\n %82 = trunc i64 %81 to i32\n %83 = icmp slt i32 %82, 0\n %84 = icmp eq i1 %83, false\n store i32 %82, i32* %storemerge.in.reg2mem\n br i1 %84, label LBL_13, label LBL_16\n LBL_13:\n %85 = icmp eq i32 %82, 0\n store i64* %59, i64** %.pre-phi10.reg2mem\n store i32 %82, i32* %sv_0.04.reg2mem\n store i32 0, i32* %storemerge.in.reg2mem\n br i1 %85, label LBL_16, label LBL_14\n LBL_14:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %.pre-phi10.reload = load i64*, i64** %.pre-phi10.reg2mem\n %86 = load i64, i64* %.pre-phi10.reload, align 8\n %87 = call i64 @FUNC(i64 %86)\n %88 = add i64 %6, 48\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = icmp eq i64 %90, 0\n store i32 %sv_0.04.reload, i32* %storemerge.in.reg2mem\n br i1 %91, label LBL_16, label LBL_15\n LBL_15:\n %92 = call i64 @FUNC(i64 %90)\n store i32 %sv_0.04.reload, i32* %storemerge.in.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %sv_0.04.reload, { 1, 0 }\n uselistorder i32 %82, { 1, 2, 0, 3 }\n uselistorder i64* %59, { 0, 2, 1, 4, 5, 3, 6 }\n uselistorder i64 %57, { 1, 0, 2 }\n uselistorder i32 %27, { 1, 0 }\n uselistorder i32* %26, { 1, 0 }\n uselistorder i32* %22, { 1, 0 }\n uselistorder i64 %6, { 2, 1, 3, 0, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 %3, { 1, 2, 0, 3, 4, 5 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem15, { 1, 0, 2 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i64** %.pre-phi10.reg2mem, { 0, 1, 3, 2, 4, 5 }\n uselistorder i32* %sv_0.04.reg2mem, { 0, 1, 3, 2, 4, 5 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 0, 4, 5, 6, 7, 1, 3, 8, 2 }\n uselistorder i64 0, { 14, 10, 15, 16, 12, 11, 4, 5, 6, 7, 0, 8, 9, 1, 2, 3, 13 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder label LBL_16, { 2, 1, 0, 3 }\n uselistorder label LBL_14, { 4, 2, 3, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcm_loop_queue_status_10333", "fun_name": "tcm_loop_queue_status", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i32\n %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_0, i64 0, i64 0), i64* %4, i32 %8)\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = urem i32 %12, 4\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i64*\n %19 = call i64* @memcpy(i64* %18, i64* bitcast ([62 x i8]* @gv_0 to i64*), i32 32)\n %20 = add i64 %3, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 2, i32* %21, align 4\n %22 = call i64 @FUNC(i64 %3, i64 1)\n br label LBL_3\n LBL_2:\n %23 = add i64 %0, 12\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %3, 16\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n br label LBL_3\n LBL_3:\n %28 = call i64 @FUNC(i64 %3, i64 0)\n ret i64 0\n\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hmp_info_cpus_611", "fun_name": "hmp_info_cpus", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 0)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %storemerge1.reg2mem\n br i1 %6, label LBL_1, label LBL_10\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %7 = inttoptr i64 %storemerge1.reload to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC()\n %sext = mul i64 %11, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = icmp eq i64 %10, %12\n %14 = icmp eq i1 %13, false\n %spec.select = select i1 %14, i32 32, i32 42\n %15 = load i64, i64* %7, align 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = zext i32 %spec.select to i64\n %19 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i32 %spec.select, i64 %17, i64 %2, i64 %1)\n %20 = load i64, i64* %7, align 8\n store i64 %20, i64* @0, align 8\n store i64 %18, i64* %rdx.0.reg2mem\n switch i64 %20, label LBL_7 [\n i64 1, label LBL_2\n i64 2, label LBL_3\n i64 3, label LBL_4\n i64 4, label LBL_5\n i64 5, label LBL_6\n ]\n LBL_2:\n %21 = load i64, i64* %7, align 8\n %22 = add i64 %21, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = trunc i64 %24 to i32\n %26 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i32 %25, i64 %17, i64 %2, i64 %1)\n store i64 %24, i64* %rdx.0.reg2mem\n br label LBL_7\n LBL_3:\n %27 = load i64, i64* %7, align 8\n %28 = add i64 %27, 24\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = trunc i64 %30 to i32\n %32 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i32 %31, i64 %17, i64 %2, i64 %1)\n store i64 %30, i64* %rdx.0.reg2mem\n br label LBL_7\n LBL_4:\n %33 = load i64, i64* %7, align 8\n %34 = add i64 %33, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = trunc i64 %36 to i32\n %38 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i32 %37, i64 %17, i64 %2, i64 %1)\n %39 = load i64, i64* %7, align 8\n %40 = add i64 %39, 32\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = trunc i64 %42 to i32\n %44 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i32 %43, i64 %17, i64 %2, i64 %1)\n store i64 %42, i64* %rdx.0.reg2mem\n br label LBL_7\n LBL_5:\n %45 = load i64, i64* %7, align 8\n %46 = add i64 %45, 24\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = trunc i64 %48 to i32\n %50 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i32 %49, i64 %17, i64 %2, i64 %1)\n store i64 %48, i64* %rdx.0.reg2mem\n br label LBL_7\n LBL_6:\n %51 = load i64, i64* %7, align 8\n %52 = add i64 %51, 24\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = trunc i64 %54 to i32\n %56 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), i32 %55, i64 %17, i64 %2, i64 %1)\n store i64 %54, i64* %rdx.0.reg2mem\n br label LBL_7\n LBL_7:\n %57 = load i64, i64* %7, align 8\n %58 = add i64 %57, 16\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = icmp eq i32 %60, 0\n store i64 %57, i64* %.reg2mem\n br i1 %61, label LBL_9, label LBL_8\n LBL_8:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %62 = trunc i64 %rdx.0.reload to i32\n %63 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i32 %62, i64 %17, i64 %2, i64 %1)\n %.pre = load i64, i64* %7, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i64, i64* %.reg2mem\n %64 = add i64 %.reload, 8\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = trunc i64 %66 to i32\n %68 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_6, i64 0, i64 0), i32 %67, i64 %17, i64 %2, i64 %1)\n %69 = add i64 %storemerge1.reload, 8\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = icmp eq i64 %71, 0\n %73 = icmp eq i1 %72, false\n store i64 %71, i64* %storemerge1.reg2mem\n br i1 %73, label LBL_1, label LBL_10\n LBL_10:\n %74 = call i64 @FUNC(i64 %4)\n ret i64 %74\n\n uselistorder i64 %17, { 7, 6, 5, 4, 2, 3, 1, 0, 8 }\n uselistorder i64* %7, { 0, 7, 1, 2, 3, 4, 5, 6, 8, 9, 10 }\n uselistorder i64 %4, { 2, 0, 1 }\n uselistorder i64 %3, { 7, 6, 5, 4, 2, 3, 1, 0, 8 }\n uselistorder i64 %2, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 5, 4, 3, 2, 1, 6 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @monitor_printf, { 2, 1, 8, 7, 6, 5, 4, 3, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 4, 5, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext3_blkdev_get_13533", "fun_name": "ext3_blkdev_get", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %arg1, i64 7, i64 %0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0)\n %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 -1)\n br label LBL_2\n LBL_2:\n ret i64 %1\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mjpeg_decode_dht_3370", "fun_name": "mjpeg_decode_dht", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_1.19.reg2mem = alloca i32\n %indvars.iv11.reg2mem = alloca i64\n %sv_2.07.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_5 to i64\n %2 = call i64 @FUNC(i64 %0, i64 16)\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, -2\n %5 = add i64 %1, -48\n %6 = add i64 %1, -304\n %7 = add i64 %0, 8\n store i32 %4, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_1:\n %8 = icmp sgt i32 %sv_0.0.reload, 16\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_11\n LBL_2:\n %9 = call i64 @FUNC(i64 %0, i64 4)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 2\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_11\n LBL_3:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %12 = and i64 %9, 4294967295\n %13 = inttoptr i64 %12 to i8*\n %14 = call i64 @FUNC(i64 %0, i64 4)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 4\n store i64 1, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_2.07.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_11\n LBL_4:\n %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %17 = call i64 @FUNC(i64 %0, i64 8)\n %18 = trunc i64 %17 to i8\n %19 = add i64 %5, %indvars.iv.reload\n %20 = inttoptr i64 %19 to i8*\n store i8 %18, i8* %20, align 1\n %21 = trunc i64 %17 to i32\n %22 = urem i32 %21, 256\n %23 = add i32 %22, %sv_2.07.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 17\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %23, i32* %sv_2.07.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %24 = add i32 %sv_0.0.reload, -17\n %25 = icmp sge i32 %24, %23\n %26 = icmp slt i32 %23, 257\n %or.cond = icmp eq i1 %25, %26\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_11\n LBL_6:\n %27 = icmp sgt i32 %23, 0\n store i32 0, i32* %sv_1.1.lcssa.reg2mem\n br i1 %27, label LBL_7, label LBL_9\n LBL_7:\n %wide.trip.count = zext i32 %23 to i64\n store i64 0, i64* %indvars.iv11.reg2mem\n store i32 0, i32* %sv_1.19.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.19.reload = load i32, i32* %sv_1.19.reg2mem\n %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem\n %28 = call i64 @FUNC(i64 %0, i64 8)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %sv_1.19.reload, %29\n %spec.select = select i1 %30, i32 %29, i32 %sv_1.19.reload\n %31 = trunc i64 %28 to i8\n %32 = add i64 %6, %indvars.iv11.reload\n %33 = inttoptr i64 %32 to i8*\n store i8 %31, i8* %33, align 1\n %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1\n %exitcond13 = icmp eq i64 %indvars.iv.next12, %wide.trip.count\n store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem\n store i32 %spec.select, i32* %sv_1.19.reg2mem\n store i32 %spec.select, i32* %sv_1.1.lcssa.reg2mem\n br i1 %exitcond13, label LBL_9, label LBL_8\n LBL_9:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %34 = sub i32 %24, %23\n %sext5 = mul i64 %14, 4294967296\n %35 = ashr exact i64 %sext5, 32\n %sext = mul i64 %9, 4294967296\n %36 = ashr exact i64 %sext, 30\n %37 = add nsw i64 %35, %36\n %38 = mul i64 %37, 8\n %39 = add i64 %7, %38\n %40 = call i64 @FUNC(i64 %39)\n %41 = add i32 %sv_1.1.lcssa.reload, 1\n %42 = zext i32 %41 to i64\n %43 = and i64 %14, 4294967295\n %44 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_0 to i32), i8* %13, i64 %43, i64 %42, i64 %r8.0.reload)\n %45 = call i64 @FUNC(i64 %39, i64* nonnull %sv_3, i64* nonnull %sv_4, i64 %42, i64 0)\n %46 = trunc i64 %45 to i32\n %47 = icmp slt i32 %46, 0\n %48 = icmp eq i1 %47, false\n store i32 %34, i32* %sv_0.0.reg2mem\n store i64 0, i64* %r8.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %48, label LBL_10, label LBL_11\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %49 = icmp eq i32 %sv_0.0.reload, 0\n %50 = icmp slt i32 %sv_0.0.reload, 0\n %51 = icmp eq i1 %50, false\n %52 = icmp eq i1 %49, false\n %53 = icmp eq i1 %51, %52\n store i64 0, i64* %rax.0.reg2mem\n br i1 %53, label LBL_1, label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 2, 0, 3 }\n uselistorder i32 %23, { 1, 5, 2, 4, 3, 0 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.07.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv11.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.19.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.0.reg2mem, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 4294967295, { 0, 5, 1, 2, 6, 3, 4 }\n uselistorder i64 8, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "php_stream_get_record_5429", "fun_name": "php_stream_get_record", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i1\n %storemerge1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 %arg2)\n %4 = add i64 %2, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %6, %9\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_1, label LBL_10\n LBL_1:\n %12 = icmp ne i64 %arg5, 0\n %13 = icmp eq i64* %arg4, null\n %14 = icmp eq i1 %13, false\n %or.cond4 = icmp eq i1 %12, %14\n store i1 true, i1* %sv_1.0.reg2mem\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br i1 %or.cond4, label LBL_2, label LBL_7\n LBL_2:\n %15 = icmp eq i64 %arg5, 1\n %16 = icmp eq i1 %15, false\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %20 = trunc i64 %1 to i32\n %21 = sub i64 %19, %9\n %22 = add i64 %9, %2\n %sext = mul i32 %20, 16777216\n %23 = ashr exact i32 %sext, 24\n %24 = inttoptr i64 %22 to i64*\n %25 = trunc i64 %21 to i32\n %26 = call i64* @memchr(i64* %24, i32 %23, i32 %25)\n %27 = ptrtoint i64* %26 to i64\n store i64 %22, i64* %rdi.0.reg2mem\n store i64 %27, i64* %storemerge1.reg2mem\n br label LBL_5\n LBL_4:\n %28 = ptrtoint i64* %arg4 to i64\n %29 = add i64 %19, %2\n %30 = add i64 %9, %2\n %31 = call i64 @FUNC(i64 %30, i64 %28, i64 %arg5, i64 %29)\n store i64 %30, i64* %rdi.0.reg2mem\n store i64 %31, i64* %storemerge1.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %32 = icmp eq i64 %storemerge1.reload, 0\n %33 = icmp eq i1 %32, false\n store i1 true, i1* %sv_1.0.reg2mem\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br i1 %33, label LBL_6, label LBL_7\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %34 = sub i64 %storemerge1.reload, %rdi.0.reload\n %35 = load i64, i64* %8, align 8\n %36 = sub i64 %34, %35\n store i1 false, i1* %sv_1.0.reg2mem\n store i64 %36, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %37 = ptrtoint i64* %arg3 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i1, i1* %sv_1.0.reg2mem\n %38 = icmp ule i64 %sv_0.0.reload, %arg2\n %39 = icmp eq i64 %arg2, 0\n %or.cond = or i1 %39, %38\n %spec.select = select i1 %or.cond, i64 %sv_0.0.reload, i64 %arg2\n %40 = add i64 %spec.select, 1\n %41 = call i64 @FUNC(i64 %40)\n %42 = call i64 @FUNC(i64 %2, i64 %41, i64 %spec.select)\n store i64 %42, i64* %arg3, align 8\n store i64 %37, i64* %rdx.0.reg2mem\n br i1 %sv_1.0.reload, label LBL_9, label LBL_8\n LBL_8:\n %43 = load i64, i64* %8, align 8\n %44 = add i64 %43, %arg5\n store i64 %44, i64* %8, align 8\n %45 = add i64 %2, 32\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = add i64 %47, %arg5\n store i64 %48, i64* %46, align 8\n store i64 %48, i64* %rdx.0.reg2mem\n br label LBL_9\n LBL_9:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %49 = add i64 %rdx.0.reload, %41\n %50 = inttoptr i64 %49 to i8*\n store i8 0, i8* %50, align 1\n store i64 %41, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %storemerge1.reload, { 1, 0 }\n uselistorder i64* %8, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 4, 5, 0, 1, 2, 3, 6, 7, 8 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i1* %sv_1.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64 %arg5, { 0, 1, 2, 4, 3 }\n uselistorder i64* %arg4, { 1, 0 }\n uselistorder i64 %arg2, { 2, 4, 3, 0, 1, 5 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_signal_handling_8805", "fun_name": "init_signal_handling", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = bitcast i64* %sv_0 to %_TYPEDEF_sigset_t*\n %1 = call i32 @sigemptyset(%_TYPEDEF_sigset_t* nonnull %0)\n %2 = call i32 @sigprocmask(i32 2, %_TYPEDEF_sigset_t* nonnull %0, %_TYPEDEF_sigset_t* null)\n store i64 4198774, i64* %sv_1, align 8\n %3 = bitcast i64* %sv_1 to %sigaction*\n %4 = call i32 @sigaction(i32 11, %sigaction* nonnull %3, %sigaction* null)\n %5 = call i32 @sigaction(i32 6, %sigaction* nonnull %3, %sigaction* null)\n %6 = call i32 @sigaction(i32 7, %sigaction* nonnull %3, %sigaction* null)\n %7 = call i32 @sigaction(i32 4, %sigaction* nonnull %3, %sigaction* null)\n %8 = call i32 @sigaction(i32 8, %sigaction* nonnull %3, %sigaction* null)\n %9 = sext i32 %8 to i64\n ret i64 %9\n\n uselistorder i32 (i32, %sigaction*, %sigaction*)* @sigaction, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_normal_reset_16912", "fun_name": "load_normal_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC()\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC()\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vpb_sic_init_2309", "fun_name": "vpb_sic_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 24)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = inttoptr i64 %0 to i32*\n %5 = call i64 @FUNC(i64 4198818, i64 %0, i64 32)\n %6 = trunc i64 %3 to i32\n store i32 %6, i32* %4, align 4\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %arg2, i64* %8, align 8\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i32*\n store i32 %arg3, i32* %10, align 4\n %11 = call i64 @FUNC(i64 0, i64 4198825, i64 4198836, i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = and i64 %3, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 4096, i32 %12)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_splice_read_5411", "fun_name": "tcp_splice_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.154.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_2.0.ph26.reg2mem = alloca i64\n %sv_1.0.ph27.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n store i64 %2, i64* %sv_4, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp eq i64* %arg2, null\n %6 = icmp eq i1 %5, false\n %7 = icmp eq i1 %6, false\n store i64 -29, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_25\n LBL_1:\n %8 = call i64 @FUNC(i64 %3)\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = urem i32 %13, 2\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %3, i64 %15)\n store i64 %16, i64* %sv_3, align 8\n %17 = icmp eq i64 %arg4, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %sv_0.154.reg2mem\n br label LBL_24\n LBL_3:\n %20 = trunc i64 %1 to i32\n %21 = inttoptr i64 %9 to i32*\n %22 = add i64 %3, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = add i64 %3, 16\n %25 = icmp eq i32 %20, 0\n %26 = icmp eq i1 %25, false\n store i64 0, i64* %sv_1.0.ph27.reg2mem\n store i64 %arg4, i64* %sv_2.0.ph26.reg2mem\n br label LBL_4.lr.ph\n LBL_4:\n %27 = call i64 @FUNC(i64 %3, i64* nonnull %sv_4)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %28, 0\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %29, label LBL_23, label LBL_5\n LBL_5:\n %30 = icmp eq i32 %28, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_17, label LBL_6\n LBL_6:\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %81, label LBL_23, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i64 %3, i64 1)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %35, label LBL_23, label LBL_8\n LBL_8:\n br i1 %25, label LBL_10, label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64 %3)\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %36, i64* %sv_0.1.reg2mem\n br label LBL_23\n LBL_10:\n %37 = load i32, i32* %21, align 4\n %38 = urem i32 %37, 2\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %40, label LBL_23, label LBL_11\n LBL_11:\n %41 = load i32, i32* %23, align 4\n %42 = icmp eq i32 %41, 2\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_13, label LBL_12\n LBL_12:\n %44 = call i64 @FUNC(i64 %3, i64 1)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n %spec.select = select i1 %47, i64 %27, i64 -107\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %spec.select, i64* %sv_0.1.reg2mem\n br label LBL_23\n LBL_13:\n %48 = load i64, i64* %sv_3, align 8\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 -11, i64* %sv_0.1.reg2mem\n br i1 %50, label LBL_14, label LBL_23\n LBL_14:\n %51 = call i64 @FUNC(i64 %24)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %53, label LBL_23, label LBL_15\n LBL_15:\n %54 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 0)\n %55 = load i64, i64* @gv_0, align 8\n %56 = call i64 @FUNC(i64 %55)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_4, label LBL_16\n LBL_16:\n %59 = load i64, i64* %sv_3, align 8\n %60 = call i64 @FUNC(i64 %59)\n store i64 %sv_1.0.ph27.reload, i64* %sv_1.1.reg2mem\n store i64 %60, i64* %sv_0.1.reg2mem\n br label LBL_23\n LBL_17:\n %sext1 = mul i64 %27, 4294967296\n %61 = ashr exact i64 %sext1, 32\n %62 = add i64 %61, %sv_1.0.ph27.reload\n %63 = load i64, i64* %sv_3, align 8\n %64 = icmp eq i64 %63, 0\n store i64 %62, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %64, label LBL_23, label LBL_18\n LBL_18:\n %65 = call i64 @FUNC(i64 %3)\n %66 = call i64 @FUNC(i64 %3)\n store i64 %62, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %26, label LBL_23, label LBL_19\n LBL_19:\n %67 = load i32, i32* %23, align 4\n %68 = icmp eq i32 %67, 2\n store i64 %62, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %68, label LBL_23, label LBL_20\n LBL_20:\n %69 = load i32, i32* %21, align 4\n %70 = urem i32 %69, 2\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n store i64 %62, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %72, label LBL_23, label LBL_21\n LBL_21:\n %73 = sub i64 %sv_2.0.ph26.reload, %61\n %74 = load i64, i64* @gv_0, align 8\n %75 = call i64 @FUNC(i64 %74)\n %76 = trunc i64 %75 to i32\n %77 = icmp eq i32 %76, 0\n %78 = icmp eq i64 %73, 0\n %79 = icmp eq i1 %78, false\n %or.cond = icmp eq i1 %79, %77\n store i64 %62, i64* %sv_1.0.ph27.reg2mem\n store i64 %73, i64* %sv_2.0.ph26.reg2mem\n store i64 %62, i64* %sv_1.1.reg2mem\n store i64 %27, i64* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_4.lr.ph, label LBL_23\n LBL_22:\n %sv_2.0.ph26.reload = load i64, i64* %sv_2.0.ph26.reg2mem\n %sv_1.0.ph27.reload = load i64, i64* %sv_1.0.ph27.reg2mem\n %80 = icmp eq i64 %sv_1.0.ph27.reload, 0\n %81 = icmp eq i1 %80, false\n br label LBL_4\n LBL_23:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %82 = call i64 @FUNC(i64 %3)\n %83 = icmp eq i64 %sv_1.1.reload, 0\n store i64 %sv_0.1.reload, i64* %sv_0.154.reg2mem\n store i64 %sv_1.1.reload, i64* %rax.0.reg2mem\n br i1 %83, label LBL_24, label LBL_25\n LBL_24:\n %sv_0.154.reload = load i64, i64* %sv_0.154.reg2mem\n %sext = mul i64 %sv_0.154.reload, 4294967296\n %84 = ashr exact i64 %sext, 32\n store i64 %84, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_25:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.ph27.reload, { 9, 0, 1, 2, 7, 3, 6, 5, 4, 8, 10 }\n uselistorder i64 %62, { 0, 5, 2, 3, 4, 1 }\n uselistorder i64 %61, { 1, 0 }\n uselistorder i64 %27, { 0, 2, 3, 4, 1, 10, 9, 11, 8, 7, 6, 5, 12 }\n uselistorder i1 %25, { 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0, 3, 4 }\n uselistorder i64 %3, { 9, 8, 7, 1, 5, 2, 6, 10, 4, 3, 0, 11, 12, 13, 14 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 1, 3, 4, 5, 2, 14, 10, 11, 12, 9, 13, 8, 7, 6 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 1, 3, 4, 5, 2, 14, 10, 11, 12, 9, 13, 8, 7, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @signal_pending, { 1, 0 }\n uselistorder i64 (i64, i64)* @sock_flag, { 1, 0 }\n uselistorder i32 0, { 0, 1, 2, 3, 4, 5, 7, 8, 9, 6 }\n uselistorder i64 (i64)* @release_sock, { 2, 1, 0 }\n uselistorder i32 2, { 0, 3, 4, 1, 2 }\n uselistorder i64 (i64)* @lock_sock, { 1, 0 }\n uselistorder i1 false, { 10, 0, 3, 5, 6, 7, 8, 9, 11, 4, 1, 2, 12 }\n uselistorder label LBL_25, { 2, 0, 1 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_23, { 0, 2, 3, 4, 1, 12, 9, 10, 11, 8, 13, 7, 6, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ml26124_hw_params_7617", "fun_name": "ml26124_hw_params", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %3)\n %7 = call i64 @FUNC(i64 %4)\n %8 = add i64 %6, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = and i64 %7, 4294967295\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 %12, i64 %11)\n %14 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %14, align 8\n %15 = call i64 @FUNC(i64 %4)\n %16 = trunc i64 %15 to i32\n %17 = add i64 %6, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %6, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_8, label LBL_1\n LBL_1:\n %23 = load i32, i32* %9, align 4\n %24 = call i64 @FUNC(i64 %4)\n %25 = and i64 %24, 4294967295\n %26 = ashr i32 %23, 31\n %27 = zext i32 %23 to i64\n %28 = zext i32 %26 to i64\n %29 = mul i64 %28, 4294967296\n %30 = or i64 %29, %27\n %31 = sdiv i64 %30, %25\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 1024\n br i1 %33, label LBL_6, label LBL_2\n LBL_2:\n %34 = icmp sgt i32 %32, 1024\n br i1 %34, label LBL_7, label LBL_3\n LBL_3:\n switch i32 %32, label LBL_7 [\n i32 256, label LBL_4\n i32 512, label LBL_5\n ]\n LBL_4:\n %35 = call i64 @FUNC(i64 %3, i64 0, i64 3, i64 1)\n store i64 1, i64* %rcx.0.reg2mem\n store i64 3, i64* %rdx.0.reg2mem\n br label LBL_9\n LBL_5:\n %36 = call i64 @FUNC(i64 %3, i64 0, i64 3, i64 2)\n store i64 2, i64* %rcx.0.reg2mem\n store i64 3, i64* %rdx.0.reg2mem\n br label LBL_9\n LBL_6:\n %37 = call i64 @FUNC(i64 %3, i64 0, i64 3, i64 3)\n store i64 3, i64* %rcx.0.reg2mem\n store i64 3, i64* %rdx.0.reg2mem\n br label LBL_9\n LBL_7:\n %38 = srem i64 %30, %25\n %39 = and i64 %38, 4294967295\n %40 = call i64 @FUNC(i64 %39, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0))\n store i64 %25, i64* %rcx.0.reg2mem\n store i64 %39, i64* %rdx.0.reg2mem\n br label LBL_9\n LBL_8:\n %41 = call i64 @FUNC(i64 %3, i64 0, i64 3, i64 0)\n store i64 0, i64* %rcx.0.reg2mem\n store i64 3, i64* %rdx.0.reg2mem\n br label LBL_9\n LBL_9:\n %42 = call i64 @FUNC(i64 %4)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 48000\n br i1 %44, label LBL_14, label LBL_10\n LBL_10:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %45 = icmp sgt i32 %43, 48000\n br i1 %45, label LBL_15, label LBL_11\n LBL_11:\n switch i32 %43, label LBL_15 [\n i32 16000, label LBL_12\n i32 32000, label LBL_13\n ]\n LBL_12:\n %46 = call i64 @FUNC(i64 %4)\n %47 = and i64 %46, 4294967295\n %48 = call i64 @FUNC(i64 %47)\n %49 = and i64 %48, 4294967295\n %50 = call i64 @FUNC(i64 %3, i64 1, i64 15, i64 %49)\n %sext5 = mul i64 %13, 4294967296\n %51 = ashr exact i64 %sext5, 32\n %52 = mul nsw i64 %51, 20\n %53 = add i64 %52, ptrtoint (i32** @gv_1 to i64)\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %3, i64 2, i64 255, i64 %56)\n %58 = add i64 %52, ptrtoint (i32** @gv_2 to i64)\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = zext i32 %60 to i64\n %62 = call i64 @FUNC(i64 %3, i64 3, i64 1, i64 %61)\n %63 = add i64 %52, ptrtoint (i32** @gv_3 to i64)\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = zext i32 %65 to i64\n %67 = call i64 @FUNC(i64 %3, i64 4, i64 255, i64 %66)\n %68 = add i64 %52, ptrtoint (i32** @gv_4 to i64)\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = zext i32 %70 to i64\n %72 = call i64 @FUNC(i64 %3, i64 5, i64 63, i64 %71)\n %73 = add i64 %52, ptrtoint (i32** @gv_5 to i64)\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = zext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %3, i64 6, i64 31, i64 %76)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_13:\n %78 = call i64 @FUNC(i64 %4)\n %79 = and i64 %78, 4294967295\n %80 = call i64 @FUNC(i64 %79)\n %81 = and i64 %80, 4294967295\n %82 = call i64 @FUNC(i64 %3, i64 1, i64 15, i64 %81)\n %sext = mul i64 %13, 4294967296\n %83 = ashr exact i64 %sext, 32\n %84 = mul nsw i64 %83, 20\n %85 = add i64 %84, ptrtoint (i32** @gv_1 to i64)\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = zext i32 %87 to i64\n %89 = call i64 @FUNC(i64 %3, i64 2, i64 255, i64 %88)\n %90 = add i64 %84, ptrtoint (i32** @gv_2 to i64)\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = zext i32 %92 to i64\n %94 = call i64 @FUNC(i64 %3, i64 3, i64 1, i64 %93)\n %95 = add i64 %84, ptrtoint (i32** @gv_3 to i64)\n %96 = inttoptr i64 %95 to i32*\n %97 = load i32, i32* %96, align 4\n %98 = zext i32 %97 to i64\n %99 = call i64 @FUNC(i64 %3, i64 4, i64 255, i64 %98)\n %100 = add i64 %84, ptrtoint (i32** @gv_4 to i64)\n %101 = inttoptr i64 %100 to i32*\n %102 = load i32, i32* %101, align 4\n %103 = zext i32 %102 to i64\n %104 = call i64 @FUNC(i64 %3, i64 5, i64 63, i64 %103)\n %105 = add i64 %84, ptrtoint (i32** @gv_5 to i64)\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = zext i32 %107 to i64\n %109 = call i64 @FUNC(i64 %3, i64 6, i64 31, i64 %108)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_14:\n %110 = call i64 @FUNC(i64 %4)\n %111 = and i64 %110, 4294967295\n %112 = call i64 @FUNC(i64 %111)\n %113 = and i64 %112, 4294967295\n %114 = call i64 @FUNC(i64 %3, i64 1, i64 15, i64 %113)\n %sext10 = mul i64 %13, 4294967296\n %115 = ashr exact i64 %sext10, 32\n %116 = mul nsw i64 %115, 20\n %117 = add i64 %116, ptrtoint (i32** @gv_1 to i64)\n %118 = inttoptr i64 %117 to i32*\n %119 = load i32, i32* %118, align 4\n %120 = zext i32 %119 to i64\n %121 = call i64 @FUNC(i64 %3, i64 2, i64 255, i64 %120)\n %122 = add i64 %116, ptrtoint (i32** @gv_2 to i64)\n %123 = inttoptr i64 %122 to i32*\n %124 = load i32, i32* %123, align 4\n %125 = zext i32 %124 to i64\n %126 = call i64 @FUNC(i64 %3, i64 3, i64 1, i64 %125)\n %127 = add i64 %116, ptrtoint (i32** @gv_3 to i64)\n %128 = inttoptr i64 %127 to i32*\n %129 = load i32, i32* %128, align 4\n %130 = zext i32 %129 to i64\n %131 = call i64 @FUNC(i64 %3, i64 4, i64 255, i64 %130)\n %132 = add i64 %116, ptrtoint (i32** @gv_4 to i64)\n %133 = inttoptr i64 %132 to i32*\n %134 = load i32, i32* %133, align 4\n %135 = zext i32 %134 to i64\n %136 = call i64 @FUNC(i64 %3, i64 5, i64 63, i64 %135)\n %137 = add i64 %116, ptrtoint (i32** @gv_5 to i64)\n %138 = inttoptr i64 %137 to i32*\n %139 = load i32, i32* %138, align 4\n %140 = zext i32 %139 to i64\n %141 = call i64 @FUNC(i64 %3, i64 6, i64 31, i64 %140)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_15:\n %142 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 4294967274, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %32, { 1, 0, 2 }\n uselistorder i64 %4, { 3, 1, 2, 4, 0, 5, 6 }\n uselistorder i64 %3, { 15, 16, 17, 18, 19, 20, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 21, 2, 0, 1, 22 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 5, 3, 4, 1, 2 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 5, 3, 4, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_5 to i64), { 2, 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_4 to i64), { 2, 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_3 to i64), { 2, 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_2 to i64), { 2, 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_1 to i64), { 2, 1, 0 }\n uselistorder i64 20, { 0, 2, 1 }\n uselistorder i64 32, { 0, 2, 1 }\n uselistorder i64 (i64)* @get_srate, { 2, 1, 0 }\n uselistorder i32 48000, { 1, 0 }\n uselistorder i64 2, { 1, 2, 3, 0, 4 }\n uselistorder i64 (i64, i64, i64, i64)* @snd_soc_update_bits, { 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 5, 6, 0, 7 }\n uselistorder i64 3, { 5, 6, 7, 3, 8, 2, 4, 10, 9, 0, 11, 1, 12 }\n uselistorder i32 1024, { 1, 0 }\n uselistorder i64 4294967295, { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9 }\n uselistorder i64 (i64)* @params_rate, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_16, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "free_unused_bufs_9886", "fun_name": "free_unused_bufs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi7.reg2mem = alloca i64\n %.reg2mem12 = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %.reg2mem8 = alloca i64\n %storemerge14.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %.pre = and i64 %1, 4294967295\n store i64 %.pre, i64* %.pre-phi7.reg2mem\n br label LBL_15\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge14.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %8 = load i64, i64* %6, align 8\n %9 = mul i64 %.reload, 8\n %10 = add i64 %8, %9\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %.reg2mem8\n br i1 %15, label LBL_4, label LBL_5\n LBL_4:\n %.reload9 = load i64, i64* %.reg2mem8\n %16 = call i64 @FUNC(i64 %.reload9)\n %17 = call i64 @FUNC(i64 %12)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %.reg2mem8\n br i1 %19, label LBL_4, label LBL_5\n LBL_5:\n %20 = add i32 %storemerge14.reload, 1\n %21 = sext i32 %20 to i64\n %22 = icmp sgt i64 %7, %21\n store i64 %21, i64* %.reg2mem\n store i32 %20, i32* %storemerge14.reg2mem\n br i1 %22, label LBL_3, label LBL_6\n LBL_6:\n %23 = add i64 %4, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = add i64 %4, 24\n %26 = inttoptr i64 %25 to i32*\n %27 = add i64 %4, 28\n %28 = inttoptr i64 %27 to i32*\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %29 = load i64, i64* %24, align 8\n %30 = mul i64 %.reload11, 8\n %31 = add i64 %29, %30\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 %34, i64* %.reg2mem12\n br i1 %36, label LBL_8, label LBL_14\n LBL_8:\n %.reload13 = load i64, i64* %.reg2mem12\n %37 = load i32, i32* %26, align 4\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_11, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 %.reload13)\n %40 = call i64 @FUNC(i64 %39)\n %41 = call i64 @FUNC(i64 %40)\n br label LBL_10\n LBL_10:\n %42 = call i64 @FUNC(i64 %33)\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %.reg2mem12\n br i1 %44, label LBL_8, label LBL_14\n LBL_11:\n %45 = load i32, i32* %28, align 4\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n %47 = load i64, i64* %24, align 8\n %48 = add i64 %47, %30\n %49 = call i64 @FUNC(i64 %48, i64 %.reload13)\n br label LBL_10\n LBL_13:\n %50 = call i64 @FUNC(i64 %.reload13)\n br label LBL_10\n LBL_14:\n %51 = add i32 %storemerge3.reload, 1\n %52 = sext i32 %51 to i64\n %53 = icmp sgt i64 %7, %52\n store i64 %52, i64* %.reg2mem10\n store i32 %51, i32* %storemerge3.reg2mem\n store i64 %7, i64* %.pre-phi7.reg2mem\n br i1 %53, label LBL_7, label LBL_15\n LBL_15:\n %.pre-phi7.reload = load i64, i64* %.pre-phi7.reg2mem\n ret i64 %.pre-phi7.reload\n\n uselistorder i64 %.reload13, { 2, 1, 0 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem8, { 2, 0, 1 }\n uselistorder i64* %.reg2mem10, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem12, { 2, 0, 1 }\n uselistorder i64 (i64)* @dev_kfree_skb, { 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i64 (i64)* @virtqueue_detach_unused_buf, { 3, 1, 2, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "config_input_3719", "fun_name": "config_input", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.pre-phi12.reg2mem = alloca i64\n %xmm0.2.reg2mem = alloca i128\n %xmm0.1.reg2mem = alloca i128\n %xmm0.06.reg2mem = alloca i128\n %.in.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %7, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n store i64 0, i64* %sv_1, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %13, label LBL_1, label LBL_17\n LBL_1:\n %14 = trunc i64 %1 to i32\n %15 = bitcast i64* %rdi to i32*\n %16 = mul i32 %14, 32\n %17 = add i64 %7, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = load i32, i32* %15, align 8\n %20 = sext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20, i64 1280)\n %22 = add i64 %7, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = icmp eq i64 %21, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_2, label LBL_4\n LBL_2:\n %26 = inttoptr i64 %7 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n %storemerge5 = select i1 %29, i64 0, i64 %11\n %30 = call i64 @FUNC(i64 %storemerge5, i64* nonnull @gv_0, i64* nonnull %sv_1)\n %31 = icmp eq i64 %30, 0\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %31, label LBL_16, label LBL_3\n LBL_3:\n %32 = ptrtoint i64* %sv_2 to i64\n %33 = add i64 %32, -16\n %34 = inttoptr i64 %33 to i64*\n %35 = add i64 %2, 4\n %36 = inttoptr i64 %35 to i32*\n store i64 %30, i64* %.in.reg2mem\n br label LBL_6\n LBL_4:\n store i32 0, i32* %18, align 4\n %37 = call i64 @FUNC(i64 %11)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_5:\n %38 = load i32, i32* %26, align 4\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n %storemerge = select i1 %40, i64 0, i64 %11\n %41 = call i64 @FUNC(i64 %storemerge, i64* nonnull @gv_0, i64* nonnull %sv_1)\n %42 = icmp eq i64 %41, 0\n store i64 %41, i64* %.in.reg2mem\n store i128 %xmm0.2.reload, i128* %xmm0.06.reg2mem\n br i1 %42, label LBL_15, label LBL_6\n LBL_6:\n %xmm0.06.reload = load i128, i128* %xmm0.06.reg2mem\n %.in.reload = load i64, i64* %.in.reg2mem\n %43 = inttoptr i64 %.in.reload to i8*\n %44 = load i64, i64* %23, align 8\n %45 = load i32, i32* %26, align 4\n %46 = sext i32 %45 to i64\n %47 = mul nsw i64 %46, 40\n %48 = add i64 %44, 32\n %49 = add i64 %48, %47\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n %51 = load i64, i64* %23, align 8\n %52 = load i32, i32* %26, align 4\n %53 = sext i32 %52 to i64\n %54 = mul nsw i64 %53, 40\n %55 = add i64 %54, %51\n %56 = add i64 %55, 32\n %57 = add i64 %55, 24\n %58 = add i64 %55, 16\n %59 = add i64 %55, 8\n store i64 %56, i64* %34, align 8\n %60 = inttoptr i64 %55 to i64*\n %61 = inttoptr i64 %59 to double*\n %62 = inttoptr i64 %58 to double*\n %63 = inttoptr i64 %57 to double*\n %64 = call i32 (i8*, i8*, ...) @sscanf(i8* %43, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64* %60, double* %61, double* %62, double* %63, i8* %43)\n %65 = icmp eq i32 %64, 5\n br i1 %65, label LBL_9, label LBL_7\n LBL_7:\n %66 = load i64, i64* %23, align 8\n %67 = load i32, i32* %26, align 4\n %68 = sext i32 %67 to i64\n %69 = mul nsw i64 %68, 40\n %70 = add i64 %69, %66\n %71 = add i64 %70, 24\n %72 = add i64 %70, 16\n %73 = add i64 %70, 8\n %74 = inttoptr i64 %70 to i64*\n %75 = inttoptr i64 %73 to double*\n %76 = inttoptr i64 %72 to double*\n %77 = inttoptr i64 %71 to double*\n %78 = call i32 (i8*, i8*, ...) @sscanf(i8* %43, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i64* %74, double* %75, double* %76, double* %77)\n %79 = icmp eq i32 %78, 4\n br i1 %79, label LBL_9, label LBL_8\n LBL_8:\n %80 = call i64 @FUNC(i64 %11)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_9:\n %81 = load i64, i64* %23, align 8\n %82 = load i32, i32* %26, align 4\n %83 = sext i32 %82 to i64\n %84 = mul nsw i64 %83, 40\n %85 = add i64 %84, %81\n %86 = icmp ult i64 %85, %84\n %87 = icmp eq i64 %85, 0\n %88 = add i64 %85, 8\n %89 = inttoptr i64 %88 to i64*\n %90 = load i64, i64* %89, align 8\n %91 = call i128 @FUNC(i64 %90)\n %92 = call i128 @FUNC(i128 %xmm0.06.reload, i128 %xmm0.06.reload)\n call void @FUNC(i128 %92, i128 %91)\n %93 = or i1 %86, %87\n store i128 %92, i128* %xmm0.1.reg2mem\n br i1 %93, label LBL_10, label LBL_11\n LBL_10:\n %94 = load i64, i64* %23, align 8\n %95 = load i32, i32* %26, align 4\n %96 = sext i32 %95 to i64\n %97 = mul nsw i64 %96, 40\n %98 = add i64 %94, 8\n %99 = add i64 %98, %97\n %100 = inttoptr i64 %99 to i64*\n %101 = load i64, i64* %100, align 8\n %102 = call i128 @FUNC(i64 %101)\n %103 = load i32, i32* %36, align 4\n %104 = icmp slt i32 %103, 0\n %105 = zext i1 %104 to i32\n %106 = add i32 %103, %105\n %107 = ashr i32 %106, 1\n %108 = icmp eq i32 %107, 0\n %109 = urem i32 %106, 2\n %110 = icmp ne i32 %109, 0\n %111 = call i128 @FUNC(i128 %91, i128 %91)\n %112 = call i128 @FUNC(i32 %107)\n call void @FUNC(i128 %102, i128 %112)\n %113 = or i1 %110, %108\n store i128 %102, i128* %xmm0.1.reg2mem\n store i128 %102, i128* %xmm0.2.reg2mem\n br i1 %113, label LBL_12, label LBL_11\n LBL_11:\n %xmm0.1.reload = load i128, i128* %xmm0.1.reg2mem\n %114 = load i64, i64* %23, align 8\n %115 = load i32, i32* %26, align 4\n %116 = sext i32 %115 to i64\n %117 = mul nsw i64 %116, 40\n %118 = add i64 %114, 36\n %119 = add i64 %118, %117\n %120 = inttoptr i64 %119 to i32*\n store i32 1, i32* %120, align 4\n store i128 %xmm0.1.reload, i128* %xmm0.2.reg2mem\n br label LBL_12\n LBL_12:\n %xmm0.2.reload = load i128, i128* %xmm0.2.reg2mem\n %121 = load i64, i64* %23, align 8\n %122 = load i32, i32* %26, align 4\n %123 = sext i32 %122 to i64\n %124 = mul nsw i64 %123, 40\n %125 = add i64 %124, %121\n %126 = inttoptr i64 %125 to i32*\n %127 = load i32, i32* %126, align 4\n %128 = icmp sgt i32 %127, -1\n %129 = load i32, i32* %15, align 8\n %130 = icmp ult i32 %127, %129\n %or.cond = icmp eq i1 %128, %130\n store i64 %124, i64* %.pre-phi12.reg2mem\n store i64 %121, i64* %.reg2mem\n br i1 %or.cond, label LBL_14, label LBL_13\n LBL_13:\n %131 = add i64 %125, 36\n %132 = inttoptr i64 %131 to i32*\n store i32 1, i32* %132, align 4\n %.pre = load i64, i64* %23, align 8\n %.pre9 = load i32, i32* %26, align 4\n %.pre10 = sext i32 %.pre9 to i64\n %.pre11 = mul nsw i64 %.pre10, 40\n store i64 %.pre11, i64* %.pre-phi12.reg2mem\n store i64 %.pre, i64* %.reg2mem\n br label LBL_14\n LBL_14:\n %.reload = load i64, i64* %.reg2mem\n %.pre-phi12.reload = load i64, i64* %.pre-phi12.reg2mem\n %133 = add nsw i64 %.pre-phi12.reload, 32\n %134 = add i64 %133, %.reload\n %135 = inttoptr i64 %134 to i32*\n %136 = load i32, i32* %135, align 4\n %137 = zext i32 %136 to i64\n %138 = call i64 @FUNC(i64 %137, i64 0, i64 9)\n %139 = trunc i64 %138 to i32\n store i32 %139, i32* %135, align 4\n %140 = call i64 @FUNC(i64 %7, i64 %2)\n %141 = trunc i64 %140 to i32\n %142 = icmp slt i32 %141, 0\n br i1 %142, label LBL_15, label LBL_5\n LBL_15:\n %phitmp = and i64 %140, 4294967295\n store i64 %phitmp, i64* %sv_0.1.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %143 = call i64 @FUNC(i64 %11)\n store i64 %sv_0.1.reload, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %127, { 1, 0 }\n uselistorder i128 %91, { 1, 0, 2 }\n uselistorder i64 %84, { 1, 0 }\n uselistorder i128 %xmm0.06.reload, { 1, 0 }\n uselistorder i32* %26, { 0, 4, 3, 5, 6, 2, 7, 8, 9, 1 }\n uselistorder i64* %23, { 0, 3, 2, 4, 5, 1, 6, 7, 8 }\n uselistorder i64 %11, { 3, 2, 4, 1, 0, 5 }\n uselistorder i64 %7, { 0, 3, 1, 2, 4 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i128* %xmm0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 36, { 1, 0 }\n uselistorder i32 (i8*, i8*, ...)* @sscanf, { 1, 0 }\n uselistorder i64 32, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64)* @av_free, { 2, 1, 0 }\n uselistorder i64 (i64, i64*, i64*)* @av_strtok, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 5, 6, 7, 1 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder label LBL_17, { 1, 2, 3, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "emulate_spapr_hypercall_1618", "fun_name": "emulate_spapr_hypercall", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n %4 = add i64 %0, 12\n %5 = inttoptr i64 %4 to i32*\n store i32 1, i32* %5, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %6 = add i64 %0, 16\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %0, i64 %10, i64 %6)\n %12 = trunc i64 %11 to i32\n store i32 %12, i32* %8, align 4\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 4, 3, 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aac_encode_end_2663", "fun_name": "aac_encode_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %8)\n br label LBL_2\n LBL_2:\n %11 = add i64 %0, 32\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %0, 40\n %14 = call i64 @FUNC(i64 %13)\n ret i64 0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder i64 (i64)* @ff_mdct_end, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "colo_packet_compare_udp_16302", "fun_name": "colo_packet_compare_udp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = mul i64 %1, 4\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n %6 = add i64 %4, 14\n %7 = and i64 %6, 4294967294\n %8 = call i64 @FUNC(i64 %2, i64 %3, i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_3, label LBL_1\n LBL_1:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %14)\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %19)\n %21 = call i64 @FUNC(i64 1)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = load i32, i32* %12, align 4\n %25 = load i64, i64* @gv_3, align 8\n %26 = add i64 %2, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = zext i32 %24 to i64\n %30 = call i64 @FUNC(i64 %28, i64 %25, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %29)\n %31 = load i32, i32* %17, align 4\n %32 = load i64, i64* @gv_3, align 8\n %33 = add i64 %3, 16\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = zext i32 %31 to i64\n %37 = call i64 @FUNC(i64 %35, i64 %32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %36)\n br label LBL_3\n LBL_3:\n %38 = and i64 %8, 4294967295\n ret i64 %38\n\n uselistorder i64 (i64, i64, i8*, i64)* @qemu_hexdump, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i8*, i64)* @trace_colo_compare_udp_miscompare, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 13, 14, 15, 16, 17, 18 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "LogPolygonInfo_9473", "fun_name": "LogPolygonInfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC()\n %5 = call i64 @FUNC(i64 0, i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i64 0, i64 %6, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n ret i64 %7\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @LogMagickEvent, { 1, 0 }\n uselistorder i64 ()* @GetMagickModule, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i915_handle_error_4094", "fun_name": "i915_handle_error", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i8\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = icmp eq i8 %1, 0\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %6, i64 1)\n %8 = add i64 %0, 16\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %0, 24\n %14 = call i64 @FUNC(i64 %13)\n br label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = add i64 %0, 32\n %19 = call i64 @FUNC(i64 %18)\n br label LBL_5\n LBL_5:\n %20 = add i64 %0, 48\n %21 = add i64 %0, 40\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %20)\n ret i64 %24\n\n uselistorder i64 %0, { 8, 7, 1, 2, 0, 3, 5, 4, 6, 9, 10 }\n uselistorder i64 (i64)* @wake_up_all, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_node_free_6467", "fun_name": "gf_node_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.6.reg2mem = alloca i64\n %rdi.5.reg2mem = alloca i64\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i64\n %rdi.2.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_15, label LBL_1\n LBL_1:\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n store i64 %arg1, i64* %rdi.1.reg2mem\n br i1 %4, label LBL_4, label LBL_2\n LBL_2:\n %5 = inttoptr i64 %3 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n store i64 %arg1, i64* %rdi.1.reg2mem\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n store i64 %10, i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %11 = add i64 %rdi.1.reload, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n store i64 %rdi.1.reload, i64* %rdi.5.reg2mem\n br i1 %14, label LBL_12, label LBL_5\n LBL_5:\n %15 = inttoptr i64 %13 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n store i64 %13, i64* %.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.2.reg2mem\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i64 %16)\n %.pre = add i64 %16, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n %.pre11 = load i64, i64* %.pre1, align 8\n store i64 %.pre11, i64* %.reg2mem\n store i64 %16, i64* %rdi.2.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %19 = add i64 %.reload, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n store i64 %.reload, i64* %.reg2mem14\n br i1 %22, label LBL_9, label LBL_8\n LBL_8:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %23 = add i64 %rdi.2.reload, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %21, i64 %25)\n %27 = add i64 %21, 16\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = add i64 %29, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %.pre3 = add i64 %32, 16\n %.pre5 = inttoptr i64 %.pre3 to i64*\n %.pre12 = load i64, i64* %.pre5, align 8\n store i64 %.pre12, i64* %.reg2mem14\n br label LBL_9\n LBL_9:\n %.reload15 = load i64, i64* %.reg2mem14\n %34 = add i64 %.reload15, 16\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = icmp eq i64 %36, 0\n store i64 %.reload15, i64* %.reg2mem16\n br i1 %37, label LBL_11, label LBL_10\n LBL_10:\n %38 = call i64 @FUNC(i64 %36)\n %.pre7 = add i64 %36, 16\n %.pre9 = inttoptr i64 %.pre7 to i64*\n %.pre13 = load i64, i64* %.pre9, align 8\n store i64 %.pre13, i64* %.reg2mem16\n br label LBL_11\n LBL_11:\n %.reload17 = load i64, i64* %.reg2mem16\n %39 = call i64 @FUNC(i64 %.reload17)\n store i64 %.reload17, i64* %rdi.5.reg2mem\n br label LBL_12\n LBL_12:\n %rdi.5.reload = load i64, i64* %rdi.5.reg2mem\n %40 = add i64 %rdi.5.reload, 24\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n store i64 %rdi.5.reload, i64* %rdi.6.reg2mem\n br i1 %43, label LBL_14, label LBL_13\n LBL_13:\n call void @__assert_fail(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([27 x i8]* @gv_0 to i64), i64* %rdi.6.reg2mem\n br label LBL_14\n LBL_14:\n %rdi.6.reload = load i64, i64* %rdi.6.reg2mem\n %44 = call i64 @FUNC(i64 %rdi.6.reload)\n %45 = call i64 @FUNC(i64 %arg1)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64 %rdi.1.reload, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem14, { 0, 2, 1 }\n uselistorder i64* %.reg2mem16, { 0, 2, 1 }\n uselistorder [27 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 (i64)* @gf_free, { 2, 1, 0 }\n uselistorder i64 (i64)* @gf_list_del, { 1, 0 }\n uselistorder i32 1, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 0, 1, 2, 4 }\n uselistorder label LBL_15, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_arch_vcpu_postcreate_8373", "fun_name": "kvm_arch_vcpu_postcreate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n store i64 0, i64* %sv_0, align 8\n %4 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0, i64 100)\n br label LBL_2\n LBL_2:\n %storemerge = and i64 %1, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "writer_trylock_8318", "fun_name": "writer_trylock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 1, i64 %0)\n %2 = trunc i64 %1 to i32\n store i32 %2, i32* %sv_0, align 4\n %3 = bitcast i32* %sv_0 to i64*\n %4 = icmp eq i32 %2, 1\n %5 = icmp eq i1 %4, false\n store i32 %2, i32* %.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %.reload = load i32, i32* %.reg2mem\n %6 = sext i32 %.reload to i64\n %7 = add nsw i64 %6, -1\n %8 = call i64 @FUNC(i64* nonnull %3, i64 %7, i64 %0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1.dec_label_pc_40119d_crit_edge, label LBL_3\n LBL_2:\n %.pre = load i32, i32* %sv_0, align 4\n %11 = icmp eq i32 %.pre, 1\n %12 = icmp eq i1 %11, false\n store i32 %.pre, i32* %.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %12, label LBL_1, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_0, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 1, { 0, 1, 3, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nvme_del_sq_3299", "fun_name": "nvme_del_sq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 65536\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i16\n %5 = sext i16 %4 to i32\n %6 = icmp eq i16 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = urem i32 %5, 65536\n %.pre2 = zext i32 %.pre to i64\n store i64 %.pre2, i64* %.pre-phi3.reg2mem\n br label LBL_3\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = urem i32 %5, 65536\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %9, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i1 %15, false\n store i64 %11, i64* %.pre-phi3.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %.pre-phi3.reload = load i64, i64* %.pre-phi3.reg2mem\n %17 = call i64 @FUNC(i64 %.pre-phi3.reload)\n ret i64 4294967295\n LBL_4:\n %18 = call i64 @FUNC(i64 %11)\n call void @llvm.trap()\n unreachable\n\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i16 %4, { 1, 0 }\n uselistorder i1 false, { 0, 2, 3, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "destroy_preds_4113", "fun_name": "destroy_preds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.0.reg2mem = alloca i64\n %rdi.11.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %0, i64* %rdi.11.reg2mem\n br label LBL_1\n LBL_1:\n %rdi.11.reload = load i64, i64* %rdi.11.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = mul i64 %indvars.iv.reload, 8\n %2 = add i64 %1, %rdi.11.reload\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n store i64 %rdi.11.reload, i64* %rdi.0.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %4)\n store i64 %4, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.11.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %7 = call i64 @FUNC(i64 %rdi.0.reload)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 3, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.11.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_create_object_4101", "fun_name": "pdf_create_object", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 10001\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %1, i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %6 = call i64 @FUNC(i64 %1, i64 %0, i32 %3)\n %7 = inttoptr i64 %6 to i8*\n store i8 102, i8* %7, align 1\n %8 = add i64 %6, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 -1, i32* %9, align 4\n %10 = add i64 %6, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %6, 12\n %13 = inttoptr i64 %12 to i32*\n store i32 %3, i32* %13, align 4\n %14 = add i64 %6, 16\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %6, 24\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = add i64 %6, 32\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %19, align 8\n %20 = and i64 %2, 4294967295\n ret i64 %20\n\n uselistorder i64 %1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_register_device_5948", "fun_name": "nfc_register_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64* nonnull @gv_1)\n store i32 ptrtoint (i32* @gv_2 to i32), i32* bitcast (i64* @gv_3 to i32*), align 8\n %9 = call i64 @FUNC(i64 %5)\n %10 = trunc i64 %9 to i32\n %11 = call i64 @FUNC(i64* nonnull @gv_1)\n %12 = icmp slt i32 %10, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = and i64 %9, 4294967295\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_2:\n %15 = call i64 @FUNC(i64 %5)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i64 %6, i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %5)\n %20 = call i64 @FUNC(i64 %5)\n %21 = call i64 @FUNC(i64 %20, i64 %5, i64 1, i64* nonnull @gv_5, i64 %5)\n %22 = add i64 %5, 56\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = icmp eq i64 %21, 0\n br i1 %24, label LBL_7, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %21)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = load i64, i64* %23, align 8\n %30 = call i64 @FUNC(i64 %29)\n store i64 0, i64* %23, align 8\n br label LBL_7\n LBL_7:\n %31 = add i64 %5, 64\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %33 = call i64 @FUNC(i64 %5)\n %34 = call i64 @FUNC(i64 %5)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = call i64 @FUNC(i64 %5)\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_6, i64 0, i64 0), i64 %37, i64 %5, i64 ptrtoint (i64* @gv_5 to i64), i64 %5, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %23, { 1, 0, 2 }\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64 %5, { 0, 1, 2, 4, 3, 5, 10, 9, 7, 8, 6, 11, 12, 13 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64* @gv_5, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 1, 0 }\n uselistorder i64 (i64)* @dev_name, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipv4_mtu_8166", "fun_name": "ipv4_mtu", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = load i64, i64* @gv_0, align 8\n %9 = call i64 @FUNC(i64 %8, i64 %7)\n %10 = trunc i64 %9 to i8\n %11 = icmp eq i8 %10, 0\n store i32 %3, i32* %storemerge.in.reg2mem\n br i1 %11, label LBL_6, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %2, i64 0)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i32 %13, i32* %storemerge.in.reg2mem\n br i1 %14, label LBL_3, label LBL_6\n LBL_3:\n %15 = and i64 %2, 4294967295\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = call i64 @FUNC(i64 %2, i64 0)\n %19 = urem i64 %18, 256\n %20 = icmp eq i64 %19, 0\n store i32 %17, i32* %sv_0.1.reg2mem\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = add i64 %2, 4\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = icmp eq i8 %23, 0\n %25 = icmp ult i32 %17, 577\n %or.cond = or i1 %25, %24\n %spec.select = select i1 %or.cond, i32 %17, i32 576\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %26 = icmp ult i32 %sv_0.1.reload, 65535\n %27 = select i1 %26, i32 %sv_0.1.reload, i32 65535\n %28 = add i64 %2, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = zext i32 %27 to i64\n %32 = call i64 @FUNC(i64 %30, i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = sub i32 %27, %33\n store i32 %34, i32* %storemerge.in.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %17, { 1, 2, 0 }\n uselistorder i64 %2, { 3, 2, 4, 0, 5, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_6, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_dev_stop_2486", "fun_name": "vhost_dev_stop", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = ptrtoint i32* %arg1 to i64\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = load i64, i64* %7, align 8\n %10 = mul i64 %.reload, 8\n %11 = add i64 %9, %10\n %12 = zext i32 %storemerge2.reload to i64\n %13 = call i64 @FUNC(i64 %5, i64 %2, i64 %11, i64 %12)\n %14 = add i32 %storemerge2.reload, 1\n %15 = sext i32 %14 to i64\n %16 = icmp sgt i64 %8, %15\n store i64 %15, i64* %.reg2mem\n store i32 %14, i32* %storemerge2.reg2mem\n br i1 %16, label LBL_2, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %5, i64 0, i64 -1)\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %25 = and i64 %20, 4294967295\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %25)\n %27 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %28 = call i32 @fflush(%_IO_FILE* %27)\n call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_3, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %29 = add i64 %5, 16\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %5, 24\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33)\n store i64 0, i64* %32, align 8\n %35 = add i64 %5, 32\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %36, align 8\n ret i64 %5\n\n uselistorder i64 %5, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nw_cache_create_116", "fun_name": "nw_cache_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64* @malloc(i32 24)\n %1 = icmp eq i64* %0, null\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %3 = ptrtoint i64* %0 to i64\n %4 = trunc i64 %arg1 to i32\n %5 = bitcast i64* %0 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %3, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %3, 12\n %11 = inttoptr i64 %10 to i32*\n store i32 10, i32* %11, align 4\n %12 = call i64* @malloc(i32 80)\n %13 = ptrtoint i64* %12 to i64\n %14 = add i64 %3, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = icmp eq i64* %12, null\n %17 = icmp eq i1 %16, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n call void @free(i64* nonnull %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %0, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "network_to_register_1552", "fun_name": "network_to_register", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n store i64 %1, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = call i32 @ntohl(i32 %4)\n store i32 %5, i32* %3, align 4\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n store i64 %9, i64* %7, align 8\n ret i64 %9\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i32 (i32)* @ntohl, { 2, 1, 0 }\n uselistorder i64 (i64)* @ntohll, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_unlock_avcodec_16496", "fun_name": "ff_unlock_avcodec", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_2:\n %11 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %14 = load i32, i32* @gv_1, align 4\n %15 = add i32 %14, -1\n store i32 %15, i32* @gv_1, align 4\n %16 = load i32, i32* @gv_2, align 4\n %17 = icmp eq i32 %16, 0\n %. = select i1 %17, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder label LBL_3, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "v410_decode_frame_5190", "fun_name": "v410_decode_frame", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i64\n %sv_1.07.reg2mem = alloca i64\n %sv_2.09.reg2mem = alloca i64\n %sv_3.011.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i32\n %.reg2mem23 = alloca i32\n %.reg2mem21 = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %.reg2mem19 = alloca i32\n %.reg2mem17 = alloca i32\n %sv_0.04.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg4 to i64\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %5, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = trunc i64 %3 to i32\n %13 = mul i32 %12, 4\n %14 = mul i32 %13, %11\n %15 = icmp ult i32 %8, %14\n br i1 %15, label LBL_1, label LBL_2\n LBL_1:\n %16 = call i64 @FUNC(i64 %5, i64 16, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i32 %11, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_2:\n %17 = ptrtoint i64* %arg2 to i64\n %18 = call i64 @FUNC(i64 %5, i64 %17, i64 0)\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = trunc i64 %17 to i32\n %23 = call i64 @FUNC(i64 %5, i64 16, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i32 %22, i64 %2, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %24 = add i64 %17, 36\n %25 = inttoptr i64 %24 to i32*\n store i32 1, i32* %25, align 4\n %26 = add i64 %17, 40\n %27 = inttoptr i64 %26 to i32*\n store i32 1, i32* %27, align 4\n %28 = load i32, i32* %10, align 4\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_10, label LBL_5\n LBL_5:\n %30 = bitcast i64* %rdi to i32*\n %31 = add i64 %17, 16\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = add i64 %17, 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = add i64 %17, 24\n %38 = inttoptr i64 %37 to i32*\n %39 = add i64 %17, 28\n %40 = inttoptr i64 %39 to i32*\n %41 = add i64 %17, 32\n %42 = inttoptr i64 %41 to i32*\n %.pre = load i32, i32* %30, align 8\n store i32 %28, i32* %.reg2mem21\n store i32 %.pre, i32* %.reg2mem23\n store i32 0, i32* %storemerge13.reg2mem\n store i64 %33, i64* %sv_3.011.reg2mem\n store i64 %36, i64* %sv_2.09.reg2mem\n store i64 %17, i64* %sv_1.07.reg2mem\n store i64 %4, i64* %sv_0.16.reg2mem\n br label LBL_9\n LBL_6:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %43 = inttoptr i64 %sv_0.04.reload to i32*\n %44 = load i32, i32* %43, align 4\n %45 = udiv i32 %44, 4\n %46 = mul i64 %.reload, 2\n %47 = add i64 %46, %sv_2.09.reload\n %48 = trunc i32 %45 to i16\n %49 = urem i16 %48, 1024\n %50 = inttoptr i64 %47 to i16*\n store i16 %49, i16* %50, align 2\n %51 = udiv i32 %44, 4096\n %52 = add i64 %46, %sv_1.07.reload\n %53 = trunc i32 %51 to i16\n %54 = urem i16 %53, 1024\n %55 = inttoptr i64 %52 to i16*\n store i16 %54, i16* %55, align 2\n %56 = udiv i32 %44, 4194304\n %57 = add i64 %46, %sv_3.011.reload\n %58 = trunc i32 %56 to i16\n %59 = inttoptr i64 %57 to i16*\n store i16 %58, i16* %59, align 2\n %60 = add i64 %sv_0.04.reload, 4\n %61 = add i32 %storemerge35.reload, 1\n %62 = load i32, i32* %30, align 8\n %63 = zext i32 %62 to i64\n %64 = sext i32 %61 to i64\n %65 = icmp slt i64 %64, %63\n store i64 %64, i64* %.reg2mem\n store i32 %61, i32* %storemerge35.reg2mem\n store i64 %60, i64* %sv_0.04.reg2mem\n br i1 %65, label LBL_6, label LBL_7\n LBL_7:\n %.pre14 = load i32, i32* %10, align 4\n store i32 %.pre14, i32* %.reg2mem17\n store i32 %62, i32* %.reg2mem19\n store i64 %60, i64* %sv_0.0.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %.reload20 = load i32, i32* %.reg2mem19\n %.reload18 = load i32, i32* %.reg2mem17\n %66 = load i32, i32* %38, align 4\n %67 = ashr i32 %66, 1\n %68 = sext i32 %67 to i64\n %69 = mul i64 %68, 2\n %70 = add i64 %69, %sv_1.07.reload\n %71 = load i32, i32* %40, align 4\n %72 = ashr i32 %71, 1\n %73 = sext i32 %72 to i64\n %74 = mul i64 %73, 2\n %75 = add i64 %74, %sv_2.09.reload\n %76 = load i32, i32* %42, align 4\n %77 = ashr i32 %76, 1\n %78 = sext i32 %77 to i64\n %79 = mul i64 %78, 2\n %80 = add i64 %79, %sv_3.011.reload\n %81 = add i32 %storemerge13.reload, 1\n %82 = zext i32 %.reload18 to i64\n %83 = sext i32 %81 to i64\n %84 = icmp slt i64 %83, %82\n store i32 %.reload18, i32* %.reg2mem21\n store i32 %.reload20, i32* %.reg2mem23\n store i32 %81, i32* %storemerge13.reg2mem\n store i64 %80, i64* %sv_3.011.reg2mem\n store i64 %75, i64* %sv_2.09.reg2mem\n store i64 %70, i64* %sv_1.07.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.16.reg2mem\n br i1 %84, label LBL_9, label LBL_10\n LBL_9:\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem\n %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem\n %sv_3.011.reload = load i64, i64* %sv_3.011.reg2mem\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload24 = load i32, i32* %.reg2mem23\n %.reload22 = load i32, i32* %.reg2mem21\n %85 = icmp eq i32 %.reload24, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge35.reg2mem\n store i64 %sv_0.16.reload, i64* %sv_0.04.reg2mem\n store i32 %.reload22, i32* %.reg2mem17\n store i32 0, i32* %.reg2mem19\n store i64 %sv_0.16.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %85, label LBL_8, label LBL_6\n LBL_10:\n store i32 1, i32* %arg3, align 4\n %86 = load i32, i32* %7, align 4\n %87 = zext i32 %86 to i64\n store i64 %87, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.16.reload, { 1, 0 }\n uselistorder i64 %46, { 2, 1, 0 }\n uselistorder i32* %30, { 1, 0 }\n uselistorder i64 %17, { 0, 2, 3, 4, 5, 6, 7, 8, 1, 9 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %5, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 2, 0 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.reg2mem17, { 1, 0, 2 }\n uselistorder i32* %.reg2mem19, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i32, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 16, { 2, 0, 1, 3 }\n uselistorder i32 4, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "t1_include_9303", "fun_name": "t1_include", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n br label LBL_1\n LBL_1:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = load i8, i8* inttoptr (i64 4210717 to i8*), align 1\n %4 = icmp eq i8 %3, 1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_1, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC()\n br label LBL_3\n LBL_3:\n %7 = call i64 @FUNC()\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8 %11, 1\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC()\n %14 = trunc i64 %13 to i8\n %15 = icmp eq i8 %14, 1\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_5\n LBL_5:\n store i8 1, i8* inttoptr (i64 4210719 to i8*), align 1\n br label LBL_6\n LBL_6:\n %17 = call i64 @FUNC()\n %18 = call i64 @FUNC()\n %19 = call i64 @FUNC()\n %20 = trunc i64 %19 to i8\n %21 = icmp eq i8 %20, 1\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_6, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC()\n %24 = load i8, i8* inttoptr (i64 4210718 to i8*), align 2\n %25 = icmp eq i8 %24, 0\n br i1 %25, label LBL_10, label LBL_8\n LBL_8:\n %26 = call i64 @FUNC()\n %27 = call i64 @FUNC()\n %28 = call i64 @FUNC()\n %29 = trunc i64 %28 to i8\n %30 = icmp eq i8 %29, 1\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_8, label LBL_9\n LBL_9:\n %32 = call i64 @FUNC()\n br label LBL_10\n LBL_10:\n %33 = call i64 @FUNC()\n ret i64 %33\n\n uselistorder i8 1, { 0, 1, 5, 2, 3, 4 }\n uselistorder i64 ()* @t1_putline, { 3, 2, 1, 0 }\n uselistorder i64 ()* @t1_scan_param, { 1, 0 }\n uselistorder i64 ()* @t1_getline, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "srt_probe_16904", "fun_name": "srt_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %sv_0.03.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i64*\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %6 = trunc i64 %3 to i32\n %7 = mul i32 %6, 65536\n %8 = and i32 %7, 16711680\n %9 = add i64 %5, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i32\n %13 = mul i32 %12, 256\n %14 = or i32 %13, %8\n %15 = add i64 %5, 2\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = zext i8 %17 to i32\n %19 = or i32 %14, %18\n %20 = icmp eq i32 %19, 15711167\n %21 = icmp eq i1 %20, false\n %22 = add i64 %5, 3\n %spec.select = select i1 %21, i64 %5, i64 %22\n store i64 %spec.select, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_1:\n %23 = add i64 %sv_1.0.reload, 1\n store i64 %23, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %24 = inttoptr i64 %sv_1.0.reload to i8*\n %25 = load i8, i8* %24, align 1\n switch i8 %25, label LBL_3 [\n i8 13, label LBL_1\n i8 10, label LBL_1\n ]\n LBL_3:\n %26 = inttoptr i64 %4 to i64*\n %27 = inttoptr i64 %2 to i64*\n %28 = inttoptr i64 %1 to i64*\n store i32 0, i32* %.reg2mem\n store i64 0, i64* %.reg2mem6\n store i64* null, i64** %storemerge25.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.14.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %storemerge25.reload = load i64*, i64** %storemerge25.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload = load i32, i32* %.reg2mem\n %29 = icmp eq i32 %sv_0.03.reload, %.reload\n br i1 %29, label LBL_7, label LBL_5\n LBL_5:\n %30 = sub i32 0, %sv_0.03.reload\n %31 = sub i32 %30, 1\n %32 = sub i32 0, %.reload\n %33 = icmp eq i32 %31, %32\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre = inttoptr i64 %sv_1.14.reload to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n br label LBL_8\n LBL_7:\n %35 = inttoptr i64 %sv_1.14.reload to i8*\n %36 = call i32 (i8*, i8*, ...) @sscanf(i8* %35, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2, i64* %26, i64* %27, i64* %28, i64* %storemerge25.reload)\n %37 = icmp eq i32 %36, 1\n %38 = icmp eq i1 %37, false\n store i8* %35, i8** %.pre-phi.reg2mem\n store i64 100, i64* %storemerge.reg2mem\n br i1 %38, label LBL_8, label LBL_9\n LBL_8:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %39 = call i32 @atoi(i8* %.pre-phi.reload)\n %40 = call i32 @strcspn(i8* %.pre-phi.reload, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %41 = sext i32 %40 to i64\n %42 = add i64 %sv_1.14.reload, 1\n %43 = add i64 %42, %41\n %44 = add nuw nsw i64 %.reload7, 1\n %45 = and i64 %44, 4294967295\n %46 = inttoptr i64 %45 to i64*\n %47 = trunc i64 %44 to i32\n %48 = icmp slt i32 %47, 2\n store i32 %47, i32* %.reg2mem\n store i64 %45, i64* %.reg2mem6\n store i64* %46, i64** %storemerge25.reg2mem\n store i64 %43, i64* %sv_1.14.reg2mem\n store i32 %39, i32* %sv_0.03.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %48, label LBL_4, label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_0.03.reload, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem6, { 1, 0, 2 }\n uselistorder i64** %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 0, { 3, 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_ppc_reset_5038", "fun_name": "cpu_ppc_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = or i64 %6, %3\n store i64 %7, i64* %arg1, align 8\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 1\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %13 = add i64 %0, 32\n %14 = inttoptr i64 %13 to i64*\n store i64 248, i64* %14, align 8\n %15 = call i64 @FUNC(i64 %0)\n %16 = add i64 %0, 40\n %17 = inttoptr i64 %16 to i64*\n store i64 -1, i64* %17, align 8\n %18 = add i64 %0, 48\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %0, 52\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 56\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %0, i64 1)\n ret i64 %24\n\n uselistorder i64 %0, { 1, 2, 3, 4, 6, 5, 7, 0, 10, 9, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "utf8_to_utf32_10006", "fun_name": "utf8_to_utf32", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge4.reg2mem = alloca i64\n %.pn.reg2mem = alloca i32\n %sv_0.010.reg2mem = alloca i64\n %sv_1.011.reg2mem = alloca i32\n %storemerge12.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp sgt i8 %2, -1\n %4 = icmp eq i1 %3, false\n store i64 1, i64* %sv_3.0.reg2mem\n store i32 127, i32* %sv_2.0.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %5 = sext i8 %2 to i32\n %6 = and i32 %5, 224\n %7 = icmp eq i32 %6, 192\n %8 = icmp eq i1 %7, false\n %9 = trunc i64 %arg2 to i32\n %10 = icmp slt i32 %9, 2\n %or.cond = or i1 %10, %8\n store i64 2, i64* %sv_3.0.reg2mem\n store i32 31, i32* %sv_2.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_4\n LBL_2:\n %11 = and i32 %5, 240\n %12 = icmp eq i32 %11, 224\n %13 = icmp eq i1 %12, false\n %14 = icmp slt i32 %9, 3\n %or.cond7 = or i1 %14, %13\n store i64 3, i64* %sv_3.0.reg2mem\n store i32 15, i32* %sv_2.0.reg2mem\n br i1 %or.cond7, label LBL_3, label LBL_4\n LBL_3:\n %15 = and i32 %5, 248\n %16 = icmp eq i32 %15, 240\n %17 = icmp eq i1 %16, false\n %18 = icmp slt i32 %9, 4\n %or.cond9 = or i1 %18, %17\n store i64 4, i64* %sv_3.0.reg2mem\n store i32 7, i32* %sv_2.0.reg2mem\n store i64 4294967274, i64* %storemerge4.reg2mem\n br i1 %or.cond9, label LBL_10, label LBL_4\n LBL_4:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %19 = trunc i64 %sv_3.0.reload to i32\n store i32 0, i32* %storemerge12.reg2mem\n store i32 0, i32* %sv_1.011.reg2mem\n store i64 %arg1, i64* %sv_0.010.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem\n %sv_1.011.reload = load i32, i32* %sv_1.011.reg2mem\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %20 = sub i32 0, %storemerge12.reload\n %21 = sub i32 %20, 1\n %22 = add nsw i32 %21, %19\n %23 = mul nsw i32 %22, 6\n %24 = icmp eq i32 %storemerge12.reload, 0\n %25 = icmp eq i1 %24, false\n %26 = inttoptr i64 %sv_0.010.reload to i8*\n %27 = load i8, i8* %26, align 1\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %28 = sext i8 %27 to i32\n %29 = and i32 %sv_2.0.reload, %28\n %30 = and i32 %23, 30\n %31 = shl i32 %29, %30\n store i32 %31, i32* %.pn.reg2mem\n br label LBL_8\n LBL_7:\n %32 = urem i8 %27, 64\n %33 = zext i8 %32 to i32\n %34 = and i32 %23, 30\n %35 = shl i32 %33, %34\n store i32 %35, i32* %.pn.reg2mem\n br label LBL_8\n LBL_8:\n %36 = add i64 %sv_0.010.reload, 1\n %.pn.reload = load i32, i32* %.pn.reg2mem\n %storemerge3 = or i32 %.pn.reload, %sv_1.011.reload\n %37 = add nuw nsw i32 %storemerge12.reload, 1\n %exitcond = icmp eq i32 %37, %19\n store i32 %37, i32* %storemerge12.reg2mem\n store i32 %storemerge3, i32* %sv_1.011.reg2mem\n store i64 %36, i64* %sv_0.010.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_5\n LBL_9:\n %38 = bitcast i64* %arg3 to i32*\n store i32 %storemerge3, i32* %38, align 4\n store i64 %sv_3.0.reload, i64* %storemerge4.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i32 %storemerge3, { 1, 0 }\n uselistorder i32 %23, { 1, 0 }\n uselistorder i64 %sv_0.010.reload, { 1, 0 }\n uselistorder i32 %19, { 1, 0 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.011.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_4, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "enable_12550", "fun_name": "enable", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %1 = call i64 @FUNC()\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = call i64 @FUNC()\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ao_chain_uninit_4001", "fun_name": "ao_chain_uninit", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %1, align 8\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 0, i64* %3, align 8\n %4 = call i64 @FUNC(i64 0)\n br label LBL_2\n LBL_2:\n %5 = add i64 %arg1, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %7, i64 0)\n br label LBL_4\n LBL_4:\n %10 = add i64 %arg1, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %arg1, 32\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %arg1, 40\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %arg1, 48\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %arg1, 56\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %arg1, 64\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %arg1, 72\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = call i64 @FUNC(i64 %arg1)\n ret i64 %38\n\n uselistorder i64 (i64)* @talloc_free, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 2, 5, 4, 7, 6, 9, 8, 10, 0, 1, 11 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Curl_up_free_8092", "fun_name": "Curl_up_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %arg1, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %arg1, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %arg1, 32\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %arg1, 40\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %arg1, 48\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %arg1, 56\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %arg1, 64\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %31)\n store i64 0, i64* %30, align 8\n ret i64 %arg1\n\n uselistorder i64 (i64)* @Curl_safefree, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ktypes2str_10147", "fun_name": "ktypes2str", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.110.reg2mem = alloca i8*\n %sv_0.1.be.reg2mem = alloca i8*\n %.in.reg2mem = alloca i8*\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = trunc i64 %arg3 to i32\n %2 = icmp slt i32 %1, 0\n %3 = icmp ult i64 %arg2, 18\n %or.cond = or i1 %3, %2\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\n %4 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %4, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = and i64 %5, 4294967295\n %7 = bitcast i64* %arg1 to i8*\n %8 = trunc i64 %arg2 to i32\n %9 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %7, i32 %8, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %6)\n %10 = trunc i64 %5 to i32\n %11 = icmp sgt i32 %10, 0\n br i1 %11, label LBL_3, label LBL_15\n LBL_3:\n %12 = ptrtoint i64* %arg4 to i64\n %13 = bitcast i64* %sv_1 to i8*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = mul i64 %indvars.iv.reload, 4\n %15 = add i64 %14, %12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i64 %indvars.iv.reload, 0\n %19 = select i1 %18, i8* bitcast (i64* @gv_1 to i8*), i8* bitcast (i8** @gv_2 to i8*)\n %20 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %13, i32 5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i8* %19, i32 %17)\n %21 = call i32 @strlen(i8* %7)\n %22 = sext i32 %21 to i64\n %23 = call i32 @strlen(i8* nonnull %13)\n %24 = sext i32 %23 to i64\n %25 = add nsw i64 %22, 2\n %26 = add nsw i64 %25, %24\n %27 = icmp ugt i64 %26, %arg2\n %28 = call i32 @strlen(i8* %7)\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %29 = sub i32 0, %28\n %30 = sub i32 %29, 1\n %31 = add i32 %30, %8\n %32 = call i8* @strncat(i8* %7, i8* nonnull %13, i32 %31)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %33 = icmp slt i64 %indvars.iv.next, %5\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %33, label LBL_4, label LBL_15\n LBL_6:\n %34 = sext i32 %28 to i64\n %35 = add nsw i64 %34, 5\n %36 = icmp ugt i64 %35, %arg2\n br i1 %36, label LBL_7, label LBL_14\n LBL_7:\n %37 = sub i64 5, %0\n %38 = add i64 %34, %0\n %39 = inttoptr i64 %38 to i8*\n store i8* %39, i8** %sv_0.110.reg2mem\n br label LBL_13\n LBL_8:\n %40 = ptrtoint i8* %.in.reload to i64\n %41 = add i64 %40, -1\n %42 = inttoptr i64 %41 to i8*\n store i8 0, i8* %.in.reload, align 1\n %43 = inttoptr i64 %41 to i64*\n %44 = icmp ugt i64* %43, %arg1\n store i8* %42, i8** %.in.reg2mem\n store i8* %42, i8** %sv_0.1.be.reg2mem\n br i1 %44, label LBL_9, label LBL_11\n LBL_9:\n %.in.reload = load i8*, i8** %.in.reg2mem\n %45 = load i8, i8* %.in.reload, align 1\n %46 = icmp ne i8 %45, 32\n %47 = icmp eq i8 %45, 123\n %48 = icmp eq i1 %47, false\n %or.cond6 = icmp eq i1 %46, %48\n br i1 %or.cond6, label LBL_8, label LBL_10\n LBL_10:\n %49 = icmp eq i8 %45, 32\n %50 = icmp eq i1 %49, false\n store i8* %.in.reload, i8** %sv_0.1.be.reg2mem\n br i1 %50, label LBL_11, label LBL_12\n LBL_11:\n %sv_0.1.be.reload = load i8*, i8** %sv_0.1.be.reg2mem\n %51 = ptrtoint i8* %sv_0.1.be.reload to i64\n %52 = add i64 %37, %51\n %53 = icmp ugt i64 %52, %arg2\n store i8* %sv_0.1.be.reload, i8** %sv_0.110.reg2mem\n br i1 %53, label LBL_13, label LBL_14\n LBL_12:\n %54 = ptrtoint i8* %.in.reload to i64\n %55 = add i64 %54, -1\n %56 = inttoptr i64 %55 to i8*\n store i8 0, i8* %.in.reload, align 1\n store i8* %56, i8** %sv_0.1.be.reg2mem\n br label LBL_11\n LBL_13:\n %sv_0.110.reload = load i8*, i8** %sv_0.110.reg2mem\n %57 = bitcast i8* %sv_0.110.reload to i64*\n %58 = icmp ugt i64* %57, %arg1\n store i8* %sv_0.110.reload, i8** %.in.reg2mem\n store i8* %sv_0.110.reload, i8** %sv_0.1.be.reg2mem\n br i1 %58, label LBL_9, label LBL_11\n LBL_14:\n %59 = call i32 @strlen(i8* %7)\n %60 = sub i32 0, %59\n %61 = sub i32 %60, 1\n %62 = add i32 %61, %8\n %63 = call i8* @strncat(i8* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i32 %62)\n br label LBL_15\n LBL_15:\n %64 = call i32 @strlen(i8* %7)\n %65 = sub i32 0, %64\n %66 = sub i32 %65, 1\n %67 = add i32 %66, %8\n %68 = call i8* @strncat(i8* %7, i8* inttoptr (i64 4202537 to i8*), i32 %67)\n %69 = ptrtoint i8* %68 to i64\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %sv_0.110.reload, { 2, 1, 0 }\n uselistorder i8* %.in.reload, { 5, 4, 0, 3, 1, 2 }\n uselistorder i32 %28, { 1, 0 }\n uselistorder i8* %7, { 0, 1, 2, 3, 5, 4, 6, 7 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.in.reg2mem, { 1, 0, 2 }\n uselistorder i8** %sv_0.1.be.reg2mem, { 2, 3, 0, 4, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i8* (i8*, i8*, i32)* @strncat, { 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0, 4, 3 }\n uselistorder i8 0, { 1, 0, 2 }\n uselistorder i64 %arg2, { 2, 0, 1, 4, 3 }\n uselistorder i64* %arg1, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_15, { 2, 0, 1 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 3, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "EC_GROUP_new_11724", "fun_name": "EC_GROUP_new", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %3 = call i64 @FUNC(i64 64)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC(i64 1, i64 4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = inttoptr i64 %3 to i64*\n store i64 %7, i64* %8, align 8\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n %11 = add i64 %3, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = add i64 %3, 24\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %3, 28\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %3, 32\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %3, 36\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %3, 40\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %3, 48\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %24, align 8\n %25 = add i64 %3, 56\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n %27 = trunc i64 %3 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 0, 1, 3, 4, 5, 6, 9, 8, 7, 10, 11, 12, 13 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 (i64)* @BN_init, { 1, 0 }\n uselistorder i64 (i64, i64)* @ECerr, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sk_common_release_147", "fun_name": "sk_common_release", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n ret i64 %4\n\n uselistorder i64 %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_exit_4926", "fun_name": "kvm_exit", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = load i64, i64* @gv_1, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC()\n %5 = call i64 @FUNC(i64* nonnull @gv_2)\n %6 = call i64 @FUNC(i64* nonnull @gv_3)\n %7 = call i64 @FUNC(i64* nonnull @gv_4)\n %8 = call i64 @FUNC(i64 4198785, i64 0, i64 1)\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n %11 = load i64, i64* @gv_5, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = load i64, i64* @gv_6, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i64, i64* @gv_7, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = load i64, i64* @gv_8, align 8\n %18 = call i64 @FUNC(i64 %17)\n ret i64 %18\n\n uselistorder i64 (i64)* @__free_page, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setmatrix_4352", "fun_name": "setmatrix", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext, 29\n %4 = add i64 %3, ptrtoint (i64* @gv_0 to i64)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %8 = add nuw nsw i64 %indvars.iv.reload, 266\n %9 = add i64 %indvars.iv.reload, %6\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12, i64 %8)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 9\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 9, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "e1000e_ring_empty_3609", "fun_name": "e1000e_ring_empty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 30\n %5 = add i64 %4, %3\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = sext i32 %10 to i64\n %12 = mul i64 %11, 4\n %13 = add i64 %12, %3\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %7, %15\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = sext i32 %19 to i64\n %21 = mul i64 %20, 4\n %22 = add i64 %21, %3\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = sdiv i32 %24, 32768\n %26 = icmp uge i32 %15, %25\n %spec.select = zext i1 %26 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_write_super_lockfs_8704", "fun_name": "ext4_write_super_lockfs", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n store i32 0, i32* %arg1, align 4\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = zext i32 %4 to i64\n %6 = icmp eq i32 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %0)\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %10)\n %13 = call i64 @FUNC(i64 %10)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %0, i64 2)\n %17 = call i64 @FUNC(i64 %0)\n %18 = add i64 %17, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %0, i64 %20, i64 1)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @EXT4_SB, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "udp_err_10168", "fun_name": "udp_err", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = mul i32 %3, 4\n %5 = sext i32 %4 to i64\n %6 = add i64 %5, %2\n %7 = inttoptr i64 %6 to i16*\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %10, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %2, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %6, 2\n %22 = inttoptr i64 %21 to i16*\n %23 = load i16, i16* %22, align 2\n %24 = zext i16 %23 to i64\n %25 = inttoptr i64 %8 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = load i16, i16* %7, align 2\n %28 = zext i16 %27 to i64\n %29 = add i64 %2, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %20 to i64\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %28, i32 %26, i64 %24, i64 %32)\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_2, label LBL_1\n LBL_1:\n %37 = call i64 @FUNC(i64 0)\n store i64 %37, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_2:\n %38 = call i64 @FUNC(i64 %34)\n %39 = icmp eq i32 %12, 12\n store i32 71, i32* %sv_1.0.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %39, label LBL_9, label LBL_3\n LBL_3:\n %40 = icmp sgt i32 %12, 12\n store i32 113, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %40, label LBL_9, label LBL_4\n LBL_4:\n store i32 113, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n switch i32 %12, label LBL_9 [\n i32 3, label LBL_5\n i32 4, label LBL_14\n ]\n LBL_5:\n %41 = icmp eq i32 %15, 4\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_7, label LBL_6\n LBL_6:\n %43 = inttoptr i64 %38 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %44, 0\n store i32 90, i32* %sv_1.0.reg2mem\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %45, label LBL_14, label LBL_9\n LBL_7:\n %46 = icmp sgt i32 %15, 3\n store i32 113, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %47 = sext i32 %15 to i64\n %48 = mul i64 %47, 8\n %49 = add i64 %48, ptrtoint (i32** @gv_0 to i64)\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 8\n %52 = add i64 %48, ptrtoint (i32** @gv_1 to i64)\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 8\n store i32 %54, i32* %sv_1.0.reg2mem\n store i32 %51, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %55 = add i64 %38, 4\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_12, label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %60 = icmp eq i32 %sv_0.0.reload, 0\n br i1 %60, label LBL_14, label LBL_11\n LBL_11:\n %61 = inttoptr i64 %34 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = icmp eq i32 %62, 1\n br i1 %63, label LBL_13, label LBL_14\n LBL_12:\n %64 = and i64 %arg2, 4294967295\n %65 = add i64 %6, 4\n %66 = load i16, i16* %7, align 2\n %67 = zext i16 %66 to i64\n %68 = call i64 @FUNC(i64 %34, i64 %2, i32 %sv_1.0.reload, i64 %67, i64 %64, i64 %65)\n br label LBL_13\n LBL_13:\n %69 = add i64 %34, 4\n %70 = inttoptr i64 %69 to i32*\n store i32 %sv_1.0.reload, i32* %70, align 4\n br label LBL_14\n LBL_14:\n %71 = call i64 @FUNC(i64 %34)\n store i64 %71, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %48, { 1, 0 }\n uselistorder i64 %34, { 2, 1, 0, 4, 3, 5 }\n uselistorder i32 %15, { 1, 0, 2 }\n uselistorder i32 %12, { 0, 2, 1 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 2, 3, 4, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 5, 6, 1, 4, 3, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 6, 1, 4, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 0, { 3, 4, 2, 5, 1, 0 }\n uselistorder i32 113, { 2, 1, 0 }\n uselistorder i32 12, { 1, 0 }\n uselistorder label LBL_14, { 4, 2, 1, 3, 0 }\n uselistorder label LBL_9, { 5, 4, 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_rt_sigreturn_585", "fun_name": "do_rt_sigreturn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 144\n %5 = call i64 @FUNC(i64 0, i64 0, i64 %4, i64 1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 0, i64 %0, i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = load i64, i64* %2, align 8\n %13 = call i64 @FUNC(i64 %4, i64 0, i64 %12)\n %14 = call i64 @FUNC(i64 0, i64 %4, i64 1)\n br label LBL_4\n LBL_3:\n %15 = call i64 @FUNC(i64 0, i64 %4, i64 1)\n %16 = call i64 @FUNC(i64 11)\n br label LBL_4\n LBL_4:\n ret i64 1\n\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n uselistorder i64 1, { 0, 2, 3, 4, 5, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_displaystate_631", "fun_name": "init_displaystate", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC()\n %4 = load i32, i32* @gv_0, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %rcx.01.reload = load i64, i64* %rcx.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = mul i64 %.reload, 8\n %7 = add i64 %6, ptrtoint (i64* @gv_1 to i64)\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = load i32, i32* inttoptr (i64 4210744 to i32*), align 8\n %14 = icmp eq i32 %11, %13\n store i64 %12, i64* %rdx.0.reg2mem\n br i1 %14, label LBL_4, label LBL_2\n LBL_2:\n %15 = add i64 %9, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %12, i64* %rdx.0.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = load i64, i64* @gv_2, align 8\n %21 = add i64 %9, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %20)\n store i64 %20, i64* %rdx.0.reg2mem\n br label LBL_4\n LBL_4:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %25 = zext i32 %storemerge2.reload to i64\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 %25, i64 %rdx.0.reload, i64 %rcx.01.reload, i64 %2, i64 %1)\n %27 = load i64, i64* %8, align 8\n %28 = call i64 @FUNC(i64 %27)\n %29 = call i64 @FUNC()\n %30 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_4, i64 0, i64 0))\n %31 = call i64 @FUNC(i64 %30, i64 %26, i64 %28, i64* nonnull @gv_5)\n %32 = call i64 @FUNC(i64 %26)\n %33 = add i32 %storemerge2.reload, 1\n %34 = load i32, i32* @gv_0, align 4\n %35 = zext i32 %34 to i64\n %36 = sext i32 %33 to i64\n %37 = icmp slt i64 %36, %35\n store i64 %36, i64* %.reg2mem\n store i32 %33, i32* %storemerge2.reg2mem\n store i64 ptrtoint (i64* @gv_5 to i64), i64* %rcx.01.reg2mem\n br i1 %37, label LBL_1, label LBL_5\n LBL_5:\n %38 = load i64, i64* @gv_2, align 8\n ret i64 %38\n\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.01.reg2mem, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64* @gv_5, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "delayed_output_7284", "fun_name": "delayed_output", "llvm_ir_function": "define i128 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = load i128, i128* %0\n %2 = call i64 @FUNC(i128 %1)\n %3 = load i64, i64* @gv_0, align 8\n %4 = load i64, i64* @gv_1, align 8\n %5 = load i32, i32* @gv_2, align 4\n %6 = call i64* @malloc(i32 %5)\n %7 = icmp eq i64* %6, null\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 1, i64 0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_2:\n %10 = ptrtoint i64* %6 to i64\n %11 = trunc i64 %2 to i32\n store i64 %10, i64* @gv_0, align 8\n store i64 %10, i64* @gv_1, align 8\n %12 = bitcast i64* %6 to i8*\n store i8 0, i8* %12, align 1\n store i32 -1, i32* bitcast (i64* @gv_4 to i32*), align 8\n %13 = call i64 @FUNC()\n store i64 %3, i64* @gv_0, align 8\n store i64 %4, i64* @gv_1, align 8\n store i32 -1, i32* bitcast (i64* @gv_4 to i32*), align 8\n %14 = call i128 @FUNC(i32 %11)\n %15 = call i128 @FUNC()\n %16 = call i32 @__asm_movd.2(i128 %15)\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %10)\n call void @free(i64* %6)\n %18 = call i128 @__asm_movss.1(i32 %16)\n ret i128 %18\n\n uselistorder i64 %10, { 0, 2, 1 }\n uselistorder i64* %6, { 0, 1, 3, 2 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_trie_node_free_7274", "fun_name": "r_trie_node_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n %spec.select = select i1 %2, i64 %1, i64 %arg1\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kex_input_newkeys_13816", "fun_name": "kex_input_newkeys", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0, i64 1, i64 4198799)\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %3, 4294967295\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = and i64 %7, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %11 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %11, align 4\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %0, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i32 %18, -2\n store i32 %19, i32* %17, align 4\n %20 = add i64 %0, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %22 to i64*\n call void @free(i64* %23)\n store i64 0, i64* %21, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 2, 1, 3, 5, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unit_create_cgroups_17971", "fun_name": "unit_create_cgroups", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.03.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64* %arg1, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 51, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_14\n LBL_3:\n %9 = add i64 %5, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i64 %6, i64 %5)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = inttoptr i64 %6 to i64*\n call void @free(i64* %18)\n %19 = sub i32 0, %15\n %20 = call i8* @strerror(i32 %19)\n %21 = ptrtoint i8* %20 to i64\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %6, i64 %21, i64 %6, i64 %2, i64 %1)\n %23 = and i64 %14, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %sext = mul i64 %arg2, 4294967296\n %24 = ashr exact i64 %sext, 32\n %25 = and i64 %24, 4294967295\n %26 = call i64 @FUNC(i64 %25, i64 %6)\n %27 = trunc i64 %26 to i32\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = sub i32 0, %27\n %31 = call i8* @strerror(i32 %30)\n %32 = ptrtoint i8* %31 to i64\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64 %6, i64 %32, i64 %6, i64 %2, i64 %1)\n store i64 ptrtoint ([31 x i8]* @gv_4 to i64), i64* %rdi.03.reg2mem\n br label LBL_8\n LBL_7:\n %34 = icmp eq i64 %25, 0\n store i64 %25, i64* %rdi.03.reg2mem\n store i64 0, i64* %rdi.1.reg2mem\n br i1 %34, label LBL_11, label LBL_8\n LBL_8:\n %rdi.03.reload = load i64, i64* %rdi.03.reg2mem\n %35 = call i64 @FUNC(i64 %6, i64 %rdi.03.reload)\n %36 = trunc i64 %35 to i8\n %37 = icmp eq i8 %36, 1\n store i64 %6, i64* %rdi.1.reg2mem\n br i1 %37, label LBL_11, label LBL_9\n LBL_9:\n %38 = call i64 @FUNC(i64 %25, i64 %6, i64 %6)\n %39 = trunc i64 %38 to i32\n %40 = icmp slt i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %25, i64* %rdi.1.reg2mem\n br i1 %41, label LBL_11, label LBL_10\n LBL_10:\n %42 = sub i32 0, %39\n %43 = call i8* @strerror(i32 %42)\n %44 = ptrtoint i8* %43 to i64\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %6, i64 %44, i64 %6, i64 %2, i64 %1)\n store i64 ptrtoint ([32 x i8]* @gv_5 to i64), i64* %rdi.1.reg2mem\n br label LBL_11\n LBL_11:\n %46 = icmp eq i32 %15, 0\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %47 = inttoptr i64 %rdi.1.reload to i64*\n call void @free(i64* %47)\n store i64 %6, i64* %arg1, align 8\n br label LBL_13\n LBL_13:\n %48 = add i64 %5, 8\n %49 = inttoptr i64 %48 to i8*\n store i8 1, i8* %49, align 1\n %50 = trunc i64 %24 to i32\n %51 = add i64 %5, 12\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %25, { 0, 3, 1, 2, 4 }\n uselistorder i32 %15, { 2, 0, 1 }\n uselistorder i64 %6, { 10, 5, 6, 7, 8, 0, 9, 3, 4, 11, 1, 2, 12, 13, 14 }\n uselistorder i64 %5, { 0, 1, 3, 2, 4 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder [32 x i8]* @gv_5, { 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder [31 x i8]* @gv_4, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @log_error, { 2, 1, 0 }\n uselistorder i8* (i32)* @strerror, { 2, 1, 0 }\n uselistorder i32 0, { 6, 0, 1, 2, 3, 4, 5, 7 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_14, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "updateDevice_11572", "fun_name": "updateDevice", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.pre-phi27.reg2mem = alloca i64*\n %.pre-phi31.reg2mem = alloca i32*\n %.pre-phi35.reg2mem = alloca i32*\n %rdi.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.pre-phi19.pre-phi.reg2mem = alloca i32*\n %.pre-phi23.pre-phi.reg2mem = alloca i32*\n %sv_2.09.reg2mem = alloca i64\n %rdi.110.reg2mem = alloca i64\n %storemerge111.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %storemerge18 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %storemerge18, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_0.LBL_13_crit_edge\n LBL_1:\n %.pre24 = add i64 %0, 16\n %.pre26 = inttoptr i64 %.pre24 to i64*\n %.pre28 = add i64 %0, 24\n %.pre30 = inttoptr i64 %.pre28 to i32*\n %.pre32 = add i64 %0, 8\n %.pre34 = inttoptr i64 %.pre32 to i32*\n store i32* %.pre34, i32** %.pre-phi35.reg2mem\n store i32* %.pre30, i32** %.pre-phi31.reg2mem\n store i64* %.pre26, i64** %.pre-phi27.reg2mem\n br label LBL_13\n LBL_2:\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i32*\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %storemerge18, i64* %storemerge111.reg2mem\n store i64 %0, i64* %rdi.110.reg2mem\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_2.09.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.110.reload = load i64, i64* %rdi.110.reg2mem\n %storemerge111.reload = load i64, i64* %storemerge111.reg2mem\n %9 = add i64 %storemerge111.reload, 24\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = load i32, i32* %4, align 4\n %13 = icmp eq i32 %11, %12\n %14 = icmp eq i1 %13, false\n store i64 %rdi.110.reload, i64* %rdi.0.reg2mem\n br i1 %14, label LBL_12, label LBL_4\n LBL_4:\n %15 = add i64 %storemerge111.reload, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i64*\n %19 = inttoptr i64 %rdi.110.reload to i64*\n %20 = call i32 @memcmp(i64* %18, i64* %19, i32 %12)\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %17, i64* %rdi.0.reg2mem\n br i1 %22, label LBL_12, label LBL_5\n LBL_5:\n %23 = add i64 %storemerge111.reload, 40\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = load i32, i32* %6, align 4\n %27 = icmp eq i32 %25, %26\n %28 = icmp eq i1 %27, false\n store i64 %17, i64* %rdi.0.reg2mem\n br i1 %28, label LBL_12, label LBL_6\n LBL_6:\n %29 = load i64, i64* %8, align 8\n %30 = add i64 %storemerge111.reload, 32\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i64*\n %34 = inttoptr i64 %29 to i64*\n %35 = call i32 @memcmp(i64* %33, i64* %34, i32 %26)\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %32, i64* %rdi.0.reg2mem\n br i1 %37, label LBL_12, label LBL_7\n LBL_7:\n %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem\n %38 = load i64, i64* %8, align 8\n %39 = load i32, i32* %6, align 4\n %40 = zext i32 %39 to i64\n %41 = inttoptr i64 %38 to i8*\n call void (i32, i8*, ...) @syslog(i32 7, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %40, i8* %41)\n %42 = add i64 %storemerge111.reload, 8\n %43 = inttoptr i64 %42 to i64*\n store i64 %arg2, i64* %43, align 8\n %44 = add i64 %0, 40\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i64 %storemerge111.reload, 56\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = icmp ugt i32 %46, %49\n store i32* %24, i32** %.pre-phi23.pre-phi.reg2mem\n store i32* %10, i32** %.pre-phi19.pre-phi.reg2mem\n store i32 %46, i32* %.reg2mem\n store i64 %storemerge111.reload, i64* %sv_1.0.reg2mem\n br i1 %50, label LBL_8, label LBL_11\n LBL_8:\n %51 = load i32, i32* %4, align 4\n %52 = load i32, i32* %6, align 4\n %53 = add i32 %46, 64\n %54 = add i32 %53, %51\n %55 = add i32 %54, %52\n %56 = inttoptr i64 %storemerge111.reload to i64*\n %57 = call i64* @realloc(i64* %56, i32 %55)\n %58 = icmp eq i64* %57, null\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_10, label LBL_9\n LBL_9:\n call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0))\n call void @free(i64* %56)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_10:\n %60 = ptrtoint i64* %57 to i64\n %61 = inttoptr i64 %sv_2.09.reload to i64*\n store i64 %60, i64* %61, align 8\n %.pre = load i32, i32* %45, align 4\n %.pre17 = add i64 %60, 24\n %.pre20 = add i64 %60, 40\n %.pre45 = inttoptr i64 %.pre17 to i32*\n %.pre46 = inttoptr i64 %.pre20 to i32*\n store i32* %.pre46, i32** %.pre-phi23.pre-phi.reg2mem\n store i32* %.pre45, i32** %.pre-phi19.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem\n store i64 %60, i64* %sv_1.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi19.pre-phi.reload = load i32*, i32** %.pre-phi19.pre-phi.reg2mem\n %.pre-phi23.pre-phi.reload = load i32*, i32** %.pre-phi23.pre-phi.reg2mem\n %62 = add i64 %0, 32\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = load i32, i32* %.pre-phi19.pre-phi.reload, align 4\n %66 = sext i32 %65 to i64\n %67 = load i32, i32* %.pre-phi23.pre-phi.reload, align 4\n %68 = sext i32 %67 to i64\n %69 = add i64 %sv_1.0.reload, 64\n %70 = add i64 %69, %66\n %71 = add i64 %70, %68\n %72 = inttoptr i64 %71 to i64*\n %73 = inttoptr i64 %64 to i64*\n %74 = call i64* @memcpy(i64* %72, i64* %73, i32 %.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_12:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %75 = inttoptr i64 %storemerge111.reload to i64*\n %storemerge1 = load i64, i64* %75, align 8\n %76 = icmp eq i64 %storemerge1, 0\n %77 = icmp eq i1 %76, false\n store i64 %storemerge1, i64* %storemerge111.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.110.reg2mem\n store i64 %storemerge111.reload, i64* %sv_2.09.reg2mem\n store i32* %4, i32** %.pre-phi35.reg2mem\n store i32* %6, i32** %.pre-phi31.reg2mem\n store i64* %8, i64** %.pre-phi27.reg2mem\n br i1 %77, label LBL_3, label LBL_13\n LBL_13:\n %.pre-phi27.reload = load i64*, i64** %.pre-phi27.reg2mem\n %.pre-phi31.reload = load i32*, i32** %.pre-phi31.reg2mem\n %.pre-phi35.reload = load i32*, i32** %.pre-phi35.reg2mem\n %78 = load i64, i64* %.pre-phi27.reload, align 8\n %79 = load i32, i32* %.pre-phi31.reload, align 4\n %80 = zext i32 %79 to i64\n %81 = inttoptr i64 %78 to i8*\n call void (i32, i8*, ...) @syslog(i32 6, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %80, i8* %81)\n %82 = load i32, i32* %.pre-phi35.reload, align 4\n %83 = load i32, i32* %.pre-phi31.reload, align 4\n %84 = add i64 %0, 40\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = add i32 %82, 64\n %88 = add i32 %87, %83\n %89 = add i32 %88, %86\n %90 = call i64* @malloc(i32 %89)\n %91 = icmp eq i64* %90, null\n %92 = icmp eq i1 %91, false\n br i1 %92, label LBL_15, label LBL_14\n LBL_14:\n call void (i32, i8*, ...) @syslog(i32 3, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_15:\n %93 = ptrtoint i64* %90 to i64\n %94 = load i64, i64* @gv_0, align 8\n store i64 %94, i64* %90, align 8\n %95 = add i64 %93, 8\n %96 = inttoptr i64 %95 to i64*\n store i64 %arg2, i64* %96, align 8\n %97 = add i64 %93, 64\n %98 = add i64 %93, 16\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %97, i64* %sv_0.06.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %99 = mul i64 %indvars.iv.reload, 16\n %100 = add i64 %98, %99\n %101 = inttoptr i64 %100 to i64*\n store i64 %sv_0.06.reload, i64* %101, align 8\n %102 = add i64 %99, %0\n %103 = add i64 %102, 8\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = add i64 %100, 8\n %107 = inttoptr i64 %106 to i32*\n store i32 %105, i32* %107, align 4\n %108 = load i32, i32* %104, align 4\n %109 = inttoptr i64 %102 to i64*\n %110 = load i64, i64* %109, align 8\n %111 = inttoptr i64 %sv_0.06.reload to i64*\n %112 = inttoptr i64 %110 to i64*\n %113 = call i64* @memcpy(i64* %111, i64* %112, i32 %108)\n %114 = load i32, i32* %104, align 4\n %115 = sext i32 %114 to i64\n %116 = add i64 %sv_0.06.reload, %115\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %116, i64* %sv_0.06.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_16\n LBL_17:\n store i64 %93, i64* @gv_0, align 8\n %117 = call i64 @FUNC(i64 1, i64 %93, i64 0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %99, { 1, 0 }\n uselistorder i64 %sv_0.06.reload, { 2, 0, 1 }\n uselistorder i64 %93, { 1, 2, 0, 3, 4 }\n uselistorder i64* %90, { 0, 2, 1 }\n uselistorder i64* %57, { 1, 0 }\n uselistorder i32 %46, { 1, 0, 2 }\n uselistorder i64 %storemerge111.reload, { 1, 4, 8, 0, 9, 7, 3, 2, 5, 6 }\n uselistorder i64 %rdi.110.reload, { 1, 0 }\n uselistorder i32* %6, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 1, 5, 6, 7, 0, 9, 8, 10, 2, 3, 4 }\n uselistorder i64* %storemerge111.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.110.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.06.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i32 64, { 1, 0 }\n uselistorder void (i32, i8*, ...)* @syslog, { 2, 0, 3, 1 }\n uselistorder i64 40, { 1, 0, 2, 3 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder i64 8, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 24, { 1, 3, 2, 0 }\n uselistorder i64 16, { 0, 2, 4, 3, 1 }\n uselistorder i1 false, { 6, 7, 1, 2, 3, 4, 5, 0 }\n uselistorder i64* @gv_0, { 1, 2, 3, 0 }\n uselistorder label LBL_18, { 0, 3, 1, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vm_stop_491", "fun_name": "vm_stop", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC()\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %0)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mlx5_ib_dealloc_xrcd_9362", "fun_name": "mlx5_ib_dealloc_xrcd", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = inttoptr i64 %0 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = zext i32 %3 to i64\n %7 = call i64 @FUNC(i64 %5, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i32 %3)\n br label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %arg1)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_common_init_18379", "fun_name": "virtio_common_init", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %indvars.iv.next3.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i16\n %1 = call i64 @FUNC(i64 %arg4)\n %2 = inttoptr i64 %1 to i16*\n store i16 %0, i16* %2, align 2\n %3 = add i64 %1, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 0, i32* %4, align 4\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %1, 12\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = call i64 @FUNC(i64 4096)\n %12 = add i64 %1, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = inttoptr i64 %11 to i32*\n store i32 0, i32* %14, align 4\n %15 = load i64, i64* %13, align 8\n %16 = add i64 %15, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %1, i64* %17, align 8\n store i64 1, i64* %indvars.iv.next3.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.next3.reload = load i64, i64* %indvars.iv.next3.reg2mem\n %.pre = load i64, i64* %13, align 8\n %18 = mul i64 %indvars.iv.next3.reload, 16\n %19 = add i64 %18, %.pre\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = load i64, i64* %13, align 8\n %22 = or i64 %18, 8\n %23 = add i64 %22, %21\n %24 = inttoptr i64 %23 to i64*\n store i64 %1, i64* %24, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.next3.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.next3.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %25 = ptrtoint i8* %arg1 to i64\n %26 = add i64 %1, 32\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = add i64 %1, 40\n %29 = inttoptr i64 %28 to i64*\n store i64 %arg3, i64* %29, align 8\n %30 = icmp eq i64 %arg3, 0\n br i1 %30, label LBL_4, label LBL_3\n LBL_3:\n %31 = call i64 @FUNC(i64 %arg3)\n %32 = add i64 %1, 48\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n br label LBL_5\n LBL_4:\n %34 = add i64 %1, 48\n %35 = inttoptr i64 %34 to i64*\n store i64 0, i64* %35, align 8\n br label LBL_5\n LBL_5:\n %36 = call i64 @FUNC(i64 4198823, i64 %1)\n %37 = add i64 %1, 56\n %38 = inttoptr i64 %37 to i64*\n store i64 %36, i64* %38, align 8\n ret i64 %1\n\n uselistorder i64* %13, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 2, 4, 3, 5, 1, 6, 8, 7, 0, 9, 10, 11, 12, 13, 14 }\n uselistorder i64* %indvars.iv.next3.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 0, { 2, 0, 3, 4, 5, 6, 1 }\n uselistorder i64 (i64)* @qemu_mallocz, { 2, 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sgpd_Write_8125", "fun_name": "sgpd_Write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_2:\n %8 = trunc i64 %1 to i32\n %9 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12)\n %14 = icmp eq i32 %8, 0\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %2, i64 %18)\n %20 = icmp eq i32 %8, 1\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = add i64 %3, 12\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %2, i64 %24)\n br label LBL_5\n LBL_5:\n %26 = add i64 %3, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = and i64 %29, 4294967295\n %31 = call i64 @FUNC(i64 %2, i64 %30)\n %32 = load i64, i64* %27, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %35, label LBL_11, label LBL_6\n LBL_6:\n %36 = add i64 %3, 8\n %37 = inttoptr i64 %36 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %38 = load i64, i64* %27, align 8\n %39 = call i64 @FUNC(i64 %38, i64 %indvars.iv.reload)\n br i1 %14, label LBL_10, label LBL_8\n LBL_8:\n %40 = load i32, i32* %37, align 4\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_10, label LBL_9\n LBL_9:\n %43 = load i32, i32* %10, align 4\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %44, i64 %39)\n %46 = and i64 %45, 4294967295\n %47 = call i64 @FUNC(i64 %2, i64 %46)\n br label LBL_10\n LBL_10:\n %48 = load i32, i32* %10, align 4\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %49, i64 %39, i64 %2)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %51 = load i64, i64* %27, align 8\n %52 = call i64 @FUNC(i64 %51)\n %53 = and i64 %52, 4294967295\n %54 = icmp ult i64 %indvars.iv.next, %53\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %54, label LBL_7, label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %27, { 2, 1, 0, 3 }\n uselistorder i32* %10, { 1, 0, 2 }\n uselistorder i64 %3, { 2, 3, 1, 0, 4, 5 }\n uselistorder i64 %2, { 3, 2, 4, 1, 0, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 0, { 0, 2, 1, 3, 4, 5, 6, 7 }\n uselistorder i64 (i64)* @gf_list_count, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 3, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hpet_in_legacy_mode_15085", "fun_name": "hpet_in_legacy_mode", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i32*, i32** @gv_0, align 8\n %1 = icmp eq i32* %0, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load i32, i32* %0, align 4\n %3 = urem i32 %2, 2\n %4 = zext i32 %3 to i64\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lag_read_prob_header_7417", "fun_name": "lag_read_prob_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i32\n %sv_1.311.reg2mem = alloca i32\n %storemerge312.reg2mem = alloca i32\n %sv_1.113.reg2mem = alloca i32\n %indvars.iv27.reg2mem = alloca i64\n %sv_1.015.reg2mem = alloca i32\n %indvars.iv30.reg2mem = alloca i64\n %sv_2.1.reg2mem = alloca i32\n %sv_2.017.reg2mem = alloca i32\n %storemerge618.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_3.020.reg2mem = alloca i32\n %storemerge521.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i32, align 4\n %2 = add i64 %1, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %1, 1032\n %5 = inttoptr i64 %4 to i32*\n store i32 -1, i32* %5, align 4\n %6 = ptrtoint i32* %sv_4 to i64\n store i32 1, i32* %storemerge521.reg2mem\n store i32 0, i32* %sv_3.020.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge521.reload = load i32, i32* %storemerge521.reg2mem\n %7 = sext i32 %storemerge521.reload to i64\n %8 = mul i64 %7, 4\n %9 = add i64 %8, %2\n %10 = call i64 @FUNC(i64 %0, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = bitcast i64* %rdi to i32*\n %15 = load i32, i32* %14, align 8\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_3:\n %sv_3.020.reload = load i32, i32* %sv_3.020.reg2mem\n %18 = zext i32 %sv_3.020.reload to i64\n %19 = inttoptr i64 %9 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = add nuw nsw i64 %21, %18\n %23 = icmp ult i64 %22, 4294967296\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = bitcast i64* %rdi to i32*\n %25 = load i32, i32* %24, align 8\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26, i64 0, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_5:\n %28 = icmp eq i32 %20, 0\n %29 = icmp eq i1 %28, false\n store i32 %storemerge521.reload, i32* %sv_2.1.reg2mem\n br i1 %29, label LBL_12, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %0, i64 %6)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %33 = bitcast i64* %rdi to i32*\n %34 = load i32, i32* %33, align 8\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %35, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_8:\n %37 = sub i32 256, %storemerge521.reload\n %38 = load i32, i32* %sv_4, align 4\n %39 = icmp ult i32 %37, %38\n %40 = icmp eq i1 %39, false\n store i32 %38, i32* %.reg2mem\n br i1 %40, label LBL_10, label LBL_9\n LBL_9:\n store i32 %37, i32* %sv_4, align 4\n store i32 %37, i32* %.reg2mem\n br label LBL_10\n LBL_10:\n %.reload = load i32, i32* %.reg2mem\n %41 = icmp eq i32 %.reload, 0\n store i32 0, i32* %storemerge618.reg2mem\n store i32 %storemerge521.reload, i32* %sv_2.017.reg2mem\n store i32 %storemerge521.reload, i32* %sv_2.1.reg2mem\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %sv_2.017.reload = load i32, i32* %sv_2.017.reg2mem\n %storemerge618.reload = load i32, i32* %storemerge618.reg2mem\n %42 = add i32 %sv_2.017.reload, 1\n %43 = sext i32 %42 to i64\n %44 = mul i64 %43, 4\n %45 = add i64 %44, %2\n %46 = inttoptr i64 %45 to i32*\n store i32 0, i32* %46, align 4\n %47 = add nuw i32 %storemerge618.reload, 1\n %48 = load i32, i32* %sv_4, align 4\n %49 = icmp ult i32 %47, %48\n store i32 %47, i32* %storemerge618.reg2mem\n store i32 %42, i32* %sv_2.017.reg2mem\n store i32 %42, i32* %sv_2.1.reg2mem\n br i1 %49, label LBL_11, label LBL_12\n LBL_12:\n %50 = add i32 %20, %sv_3.020.reload\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %51 = add i32 %sv_2.1.reload, 1\n %52 = icmp slt i32 %51, 257\n store i32 %51, i32* %storemerge521.reg2mem\n store i32 %50, i32* %sv_3.020.reg2mem\n br i1 %52, label LBL_1, label LBL_13\n LBL_13:\n %53 = icmp eq i32 %50, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_15, label LBL_14\n LBL_14:\n %55 = bitcast i64* %rdi to i32*\n %56 = load i32, i32* %55, align 8\n %57 = zext i32 %56 to i64\n %58 = call i64 @FUNC(i64 %57, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_15:\n %59 = zext i32 %50 to i64\n %60 = call i64 @FUNC(i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = add i32 %50, -1\n %63 = and i32 %62, %50\n %64 = icmp eq i32 %63, 0\n store i32 %61, i32* %sv_0.0.reg2mem\n br i1 %64, label LBL_27, label LBL_16\n LBL_16:\n %65 = call i64 @FUNC(i64 %59)\n store i64 1, i64* %indvars.iv30.reg2mem\n store i32 0, i32* %sv_1.015.reg2mem\n br label LBL_17\n LBL_17:\n %sv_1.015.reload = load i32, i32* %sv_1.015.reg2mem\n %indvars.iv30.reload = load i64, i64* %indvars.iv30.reg2mem\n %66 = mul i64 %indvars.iv30.reload, 4\n %67 = add i64 %66, %2\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = zext i32 %69 to i64\n %71 = call i64 @FUNC(i64 %70, i64 %65)\n %72 = trunc i64 %71 to i32\n store i32 %72, i32* %68, align 4\n %73 = add i32 %sv_1.015.reload, %72\n %indvars.iv.next31 = add nuw nsw i64 %indvars.iv30.reload, 1\n %exitcond32 = icmp eq i64 %indvars.iv.next31, 129\n store i64 %indvars.iv.next31, i64* %indvars.iv30.reg2mem\n store i32 %73, i32* %sv_1.015.reg2mem\n br i1 %exitcond32, label LBL_18, label LBL_17\n LBL_18:\n %74 = icmp eq i32 %73, 0\n %75 = icmp eq i1 %74, false\n store i64 129, i64* %indvars.iv27.reg2mem\n store i32 %73, i32* %sv_1.113.reg2mem\n br i1 %75, label LBL_20, label LBL_19\n LBL_19:\n %76 = bitcast i64* %rdi to i32*\n %77 = load i32, i32* %76, align 8\n %78 = zext i32 %77 to i64\n %79 = call i64 @FUNC(i64 %78, i64 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_20:\n %sv_1.113.reload = load i32, i32* %sv_1.113.reg2mem\n %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem\n %80 = mul i64 %indvars.iv27.reload, 4\n %81 = add i64 %80, %2\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = zext i32 %83 to i64\n %85 = call i64 @FUNC(i64 %84, i64 %65)\n %86 = trunc i64 %85 to i32\n store i32 %86, i32* %82, align 4\n %87 = add i32 %sv_1.113.reload, %86\n %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1\n %exitcond29 = icmp eq i64 %indvars.iv.next28, 257\n store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem\n store i32 %87, i32* %sv_1.113.reg2mem\n br i1 %exitcond29, label LBL_21, label LBL_20\n LBL_21:\n %88 = add i32 %61, 1\n %89 = urem i32 %88, 32\n %90 = shl i32 1, %89\n %91 = icmp ult i32 %90, %87\n br i1 %91, label LBL_22, label LBL_23\n LBL_22:\n %92 = bitcast i64* %rdi to i32*\n %93 = load i32, i32* %92, align 8\n %94 = zext i32 %93 to i64\n %95 = call i64 @FUNC(i64 %94, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_5, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_23:\n %96 = sub i32 %90, %87\n %97 = icmp eq i32 %96, 0\n %98 = icmp eq i1 %97, false\n store i32 1, i32* %storemerge312.reg2mem\n store i32 %96, i32* %sv_1.311.reg2mem\n store i32 %88, i32* %sv_0.0.reg2mem\n br i1 %98, label LBL_24, label LBL_27\n LBL_24:\n %sv_1.311.reload = load i32, i32* %sv_1.311.reg2mem\n %storemerge312.reload = load i32, i32* %storemerge312.reg2mem\n %99 = sext i32 %storemerge312.reload to i64\n %100 = mul i64 %99, 4\n %101 = add i64 %100, %2\n %102 = inttoptr i64 %101 to i32*\n %103 = load i32, i32* %102, align 4\n %104 = icmp eq i32 %103, 0\n store i32 %sv_1.311.reload, i32* %sv_1.2.reg2mem\n br i1 %104, label LBL_26, label LBL_25\n LBL_25:\n %105 = add i32 %103, 1\n store i32 %105, i32* %102, align 4\n %106 = add i32 %sv_1.311.reload, -1\n store i32 %106, i32* %sv_1.2.reg2mem\n br label LBL_26\n LBL_26:\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %107 = urem i32 %storemerge312.reload, 128\n %108 = add nuw nsw i32 %107, 1\n %109 = icmp eq i32 %sv_1.2.reload, 0\n %110 = icmp eq i1 %109, false\n store i32 %108, i32* %storemerge312.reg2mem\n store i32 %sv_1.2.reload, i32* %sv_1.311.reg2mem\n store i32 %88, i32* %sv_0.0.reg2mem\n br i1 %110, label LBL_24, label LBL_27\n LBL_27:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %111 = add i64 %1, 1036\n %112 = inttoptr i64 %111 to i32*\n store i32 %sv_0.0.reload, i32* %112, align 4\n store i64 1, i64* %indvars.iv.reg2mem\n br label LBL_28\n LBL_28:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %113 = mul i64 %indvars.iv.reload, 4\n %114 = add i64 %113, %2\n %115 = inttoptr i64 %114 to i32*\n %116 = load i32, i32* %115, align 4\n %117 = add i64 %113, %1\n %118 = inttoptr i64 %117 to i32*\n %119 = load i32, i32* %118, align 4\n %120 = add i32 %119, %116\n store i32 %120, i32* %115, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 257\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_29, label LBL_28\n LBL_29:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %113, { 1, 0 }\n uselistorder i32 %sv_1.2.reload, { 1, 0 }\n uselistorder i32 %storemerge312.reload, { 1, 0 }\n uselistorder i32 %sv_1.311.reload, { 1, 0 }\n uselistorder i32 %90, { 1, 0 }\n uselistorder i32 %87, { 2, 1, 0 }\n uselistorder i32 %73, { 0, 2, 1 }\n uselistorder i32 %61, { 1, 0 }\n uselistorder i32 %50, { 1, 3, 4, 2, 0 }\n uselistorder i32 %sv_3.020.reload, { 1, 0 }\n uselistorder i32 %storemerge521.reload, { 0, 2, 3, 1, 4 }\n uselistorder i32* %sv_4, { 3, 2, 1, 0 }\n uselistorder i64* %rdi, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %storemerge521.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.020.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge618.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.017.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv30.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.015.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv27.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.113.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge312.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.311.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2, 7, 6, 5 }\n uselistorder i64 257, { 1, 0 }\n uselistorder i64 (i64, i64)* @softfloat_mul, { 1, 0 }\n uselistorder i64 1, { 4, 0, 3, 2, 1 }\n uselistorder i64 4294967296, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 5, 4, 0, 3, 2, 1 }\n uselistorder i1 false, { 1, 0, 2, 6, 3, 4, 5, 7 }\n uselistorder i64 (i64, i64)* @lag_decode_prob, { 1, 0 }\n uselistorder i32 -1, { 1, 2, 3, 0 }\n uselistorder i32 0, { 7, 6, 5, 8, 0, 9, 14, 10, 1, 4, 11, 12, 13, 2, 15, 3 }\n uselistorder label LBL_29, { 0, 1, 2, 6, 3, 4, 5 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qdist_bin__internal_1326", "fun_name": "qdist_bin__internal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %xmm0.2.reg2mem = alloca i128\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.011.reg2mem = alloca i64\n %rsi.012.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i128\n %storemerge3.reg2mem = alloca i128\n %sv_0.116.reg2mem = alloca i64\n %xmm0.317.reg2mem = alloca i128\n %storemerge18.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %xmm0.0.reg2mem = alloca i128\n %storemerge6.reg2mem = alloca i128\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_20, label LBL_1\n LBL_1:\n %9 = icmp ne i64 %arg3, 0\n %10 = icmp eq i64 %7, 1\n %11 = icmp eq i1 %10, false\n %or.cond = icmp eq i1 %9, %11\n %spec.select = select i1 %or.cond, i64 %arg3, i64 %7\n %12 = call i64 @FUNC(i64 %2)\n %13 = call i64 @FUNC(i128 %1)\n %14 = call i64 @FUNC(i64 %2)\n %15 = call i64 @FUNC(i128 %1)\n %16 = call i128 @FUNC(i64 %15)\n %17 = call i128 @FUNC(i128 %16)\n %18 = call i128 @FUNC(i128 %17, i64 %13)\n %19 = icmp slt i64 %spec.select, 0\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = call i128 @FUNC(i128 %16, i128 %16)\n %21 = call i128 @FUNC(i64 %spec.select)\n store i128 %21, i128* %storemerge6.reg2mem\n br label LBL_4\n LBL_3:\n %22 = udiv i64 %spec.select, 2\n %23 = urem i64 %spec.select, 2\n %24 = or i64 %22, %23\n %25 = call i128 @FUNC(i128 %16, i128 %16)\n %26 = call i128 @FUNC(i64 %24)\n %27 = call i128 @FUNC(i128 %26, i128 %26)\n store i128 %27, i128* %storemerge6.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge6.reload = load i128, i128* %storemerge6.reg2mem\n %28 = call i128 @FUNC(i128 %18, i128 %storemerge6.reload)\n %29 = call i64 @__asm_movsd.1(i128 %28)\n %30 = load i64, i64* %6, align 8\n %31 = icmp eq i64 %spec.select, %30\n %32 = icmp eq i1 %31, false\n store i128 %storemerge6.reload, i128* %xmm0.0.reg2mem\n br i1 %32, label LBL_8, label LBL_5\n LBL_5:\n %33 = icmp eq i64 %30, 0\n br i1 %33, label LBL_6, label LBL_7\n LBL_6:\n %34 = call i64 @FUNC(i64 %2, i64 %spec.select, i64 16)\n store i64 %34, i64* %arg1, align 8\n %35 = load i64, i64* %6, align 8\n %36 = add i64 %3, 8\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = inttoptr i64 %spec.select to i64*\n %.tr = trunc i64 %35 to i32\n %39 = mul i32 %.tr, 16\n %40 = call i64* @memcpy(i64* %arg2, i64* %38, i32 %39)\n %41 = ptrtoint i64* %40 to i64\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_7:\n %42 = load i64, i64* %arg2, align 8\n %43 = call i128 @FUNC(i64 %42)\n %44 = call i128 @FUNC(i128 %28, i128 %28)\n %45 = call i128 @FUNC(i64 0)\n %46 = call i128 @FUNC(i128 %45, i64 %29)\n %47 = call i128 @__asm_addsd.2(i128 %46, i64 %13)\n call void @FUNC(i128 %43, i128 %47)\n store i128 %43, i128* %xmm0.0.reg2mem\n br label LBL_8\n LBL_8:\n %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem\n %48 = add i64 %spec.select, -1\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge18.reg2mem\n store i128 %xmm0.0.reload, i128* %xmm0.317.reg2mem\n store i64 0, i64* %sv_0.116.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.116.reload = load i64, i64* %sv_0.116.reg2mem\n %xmm0.317.reload = load i128, i128* %xmm0.317.reg2mem\n %storemerge18.reload = load i32, i32* %storemerge18.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %49 = icmp slt i32 %storemerge18.reload, 0\n br i1 %49, label LBL_11, label LBL_10\n LBL_10:\n %50 = call i128 @FUNC(i128 %xmm0.317.reload, i128 %xmm0.317.reload)\n %51 = call i128 @FUNC(i64 %.reload)\n store i128 %51, i128* %storemerge3.reg2mem\n br label LBL_12\n LBL_11:\n %52 = udiv i64 %.reload, 2\n %53 = urem i64 %.reload, 2\n %54 = or i64 %52, %53\n %55 = call i128 @FUNC(i128 %xmm0.317.reload, i128 %xmm0.317.reload)\n %56 = call i128 @FUNC(i64 %54)\n %57 = call i128 @FUNC(i128 %56, i128 %56)\n store i128 %57, i128* %storemerge3.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge3.reload = load i128, i128* %storemerge3.reg2mem\n %58 = call i128 @FUNC(i128 %storemerge3.reload, i64 %29)\n %59 = call i128 @FUNC(i64 %13)\n %60 = call i128 @FUNC(i128 %58, i128 %59)\n %61 = call i64 @__asm_movsd.1(i128 %60)\n %62 = add nsw i64 %.reload, 1\n %63 = icmp slt i64 %62, 0\n br i1 %63, label LBL_14, label LBL_13\n LBL_13:\n %64 = call i128 @FUNC(i128 %60, i128 %60)\n %65 = call i128 @FUNC(i64 %62)\n store i128 %65, i128* %storemerge2.reg2mem\n br label LBL_15\n LBL_14:\n %66 = udiv i64 %62, 2\n %67 = urem i64 %62, 2\n %68 = or i64 %66, %67\n %69 = call i128 @FUNC(i128 %60, i128 %60)\n %70 = call i128 @FUNC(i64 %68)\n %71 = call i128 @FUNC(i128 %70, i128 %70)\n store i128 %71, i128* %storemerge2.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge2.reload = load i128, i128* %storemerge2.reg2mem\n %72 = call i128 @FUNC(i128 %storemerge2.reload, i64 %29)\n %73 = call i128 @FUNC(i64 %13)\n %74 = call i128 @FUNC(i128 %72, i128 %73)\n %75 = call i64 @__asm_movsd.1(i128 %74)\n %76 = call i128 @FUNC(i64 %61)\n %77 = call i64 @__asm_movsd.1(i128 %76)\n %78 = call i128 @__asm_movq.3(i64 %77)\n %79 = call i64 @FUNC(i64 %3, i64 0)\n %80 = load i64, i64* %6, align 8\n %81 = icmp ult i64 %sv_0.116.reload, %80\n %82 = icmp eq i1 %81, false\n store i64 %sv_0.116.reload, i64* %sv_0.0.lcssa.reg2mem\n store i128 %78, i128* %xmm0.2.reg2mem\n br i1 %82, label LBL_19, label LBL_16\n LBL_16:\n %83 = icmp eq i64 %48, %.reload\n store i64 0, i64* %rsi.012.reg2mem\n store i64 %sv_0.116.reload, i64* %sv_0.011.reg2mem\n br label LBL_18\n LBL_17:\n %84 = add i64 %95, 8\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = zext i32 %86 to i64\n %88 = call i128 @__asm_movq.3(i64 %77)\n %89 = call i64 @FUNC(i64 %3, i64 %87)\n %90 = add i64 %sv_0.011.reload, 1\n %91 = load i64, i64* %6, align 8\n %92 = icmp ult i64 %90, %91\n %93 = icmp eq i1 %92, false\n store i64 %87, i64* %rsi.012.reg2mem\n store i64 %90, i64* %sv_0.011.reg2mem\n store i64 %90, i64* %sv_0.0.lcssa.reg2mem\n store i128 %88, i128* %xmm0.2.reg2mem\n br i1 %93, label LBL_19, label LBL_18\n LBL_18:\n %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem\n %rsi.012.reload = load i64, i64* %rsi.012.reg2mem\n %94 = mul i64 %sv_0.011.reload, 16\n %95 = add i64 %94, %rsi.012.reload\n %96 = icmp uge i64 %95, %94\n %97 = icmp ne i64 %95, 0\n %98 = inttoptr i64 %95 to i64*\n %99 = load i64, i64* %98, align 8\n %100 = call i128 @FUNC(i64 %99)\n %101 = call i128 @FUNC(i64 %75)\n call void @FUNC(i128 %101, i128 %100)\n %.not = icmp eq i1 %97, %96\n %or.cond9 = or i1 %83, %.not\n store i64 %sv_0.011.reload, i64* %sv_0.0.lcssa.reg2mem\n store i128 %101, i128* %xmm0.2.reg2mem\n br i1 %or.cond9, label LBL_17, label LBL_19\n LBL_19:\n %xmm0.2.reload = load i128, i128* %xmm0.2.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %102 = add i32 %storemerge18.reload, 1\n %103 = sext i32 %102 to i64\n %104 = icmp ugt i64 %spec.select, %103\n store i64 %103, i64* %.reg2mem\n store i32 %102, i32* %storemerge18.reg2mem\n store i128 %xmm0.2.reload, i128* %xmm0.317.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.116.reg2mem\n store i64 %103, i64* %rax.0.reg2mem\n br i1 %104, label LBL_9, label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %95, { 1, 2, 3, 0 }\n uselistorder i64 %sv_0.011.reload, { 0, 2, 1 }\n uselistorder i128 %70, { 1, 0 }\n uselistorder i64 %62, { 1, 0, 2, 3 }\n uselistorder i128 %60, { 3, 2, 1, 0, 4 }\n uselistorder i128 %56, { 1, 0 }\n uselistorder i64 %.reload, { 0, 1, 3, 4, 2 }\n uselistorder i128 %xmm0.317.reload, { 3, 2, 1, 0 }\n uselistorder i64 %sv_0.116.reload, { 1, 0, 2 }\n uselistorder i64 %29, { 1, 2, 0 }\n uselistorder i128 %28, { 1, 0, 2 }\n uselistorder i128 %26, { 1, 0 }\n uselistorder i128 %16, { 3, 2, 1, 0, 4 }\n uselistorder i64 %13, { 1, 2, 0, 3 }\n uselistorder i64 %spec.select, { 4, 8, 5, 6, 3, 1, 0, 7, 2 }\n uselistorder i64* %6, { 2, 0, 1, 3, 4 }\n uselistorder i64 %3, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i128* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.317.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.116.reg2mem, { 1, 0, 2 }\n uselistorder i128* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @qdist_add, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 16, { 0, 2, 1 }\n uselistorder i64 2, { 1, 0, 3, 2, 5, 4 }\n uselistorder i1 false, { 2, 0, 3, 1 }\n uselistorder label LBL_20, { 0, 2, 1 }\n uselistorder label LBL_19, { 1, 0, 2 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ps2_reset_keyboard_661", "fun_name": "ps2_reset_keyboard", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %2, align 4\n %3 = add i64 %0, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 2, i32* %4, align 4\n %5 = add i64 %0, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %0, i64 0)\n ret i64 %7\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "swabHorAcc32_11049", "fun_name": "swabHorAcc32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = udiv i64 %arg3, 4\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg3)\n ret i64 %4\n\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vrend_scale_depth_8214", "fun_name": "vrend_scale_depth", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %xmm0.0.reg2mem = alloca i128\n %xmm0.13.reg2mem = alloca i128\n %storemerge4.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = call i64 @FUNC(i128 %1)\n %3 = trunc i64 %2 to i32\n %4 = call i128 @__asm_movss.1(i32 864026625)\n %5 = call i64 @FUNC(i128 %4)\n %6 = trunc i64 %5 to i32\n %7 = trunc i64 %arg2 to i32\n %8 = sdiv i32 %7, 8\n %9 = zext i32 %8 to i64\n %.off = add i32 %7, 7\n %10 = icmp ult i32 %.off, 15\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n store i128 %4, i128* %xmm0.13.reg2mem\n br i1 %10, label LBL_5, label LBL_1\n LBL_1:\n %xmm0.13.reload = load i128, i128* %xmm0.13.reg2mem\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %11 = mul i64 %.reload, 4\n %12 = add i64 %11, %arg1\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = udiv i32 %14, 256\n %16 = zext i32 %15 to i64\n %17 = icmp ult i32 %14, 256\n %18 = call i128 @FUNC(i128 %xmm0.13.reload, i128 %xmm0.13.reload)\n %19 = call i128 @FUNC(i64 %16)\n %20 = call i128 @FUNC(i128 %19, i32 %6)\n %21 = call i128 @__asm_movss.1(i32 %3)\n %22 = call i128 @__asm_mulss.2(i128 %20, i128 %21)\n %23 = call i64 @FUNC(i128 %22)\n %24 = trunc i64 %23 to i32\n %25 = call i128 @FUNC(i128 %22, i128 %22)\n call void @FUNC(i128 %25, i32 %24)\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %26 = call i128 @FUNC(i128 %25, i128 %25)\n store i128 %26, i128* %xmm0.0.reg2mem\n br label LBL_4\n LBL_3:\n %27 = call i128 @__asm_movss.1(i32 %24)\n %28 = load i32, i32* inttoptr (i64 4202520 to i32*), align 8\n %29 = call i128 @__asm_movss.1(i32 %28)\n call void @__asm_comiss.3(i128 %27, i128 %29)\n %30 = call i128 @__asm_movss.1(i32 %24)\n store i128 %30, i128* %xmm0.0.reg2mem\n br label LBL_4\n LBL_4:\n %xmm0.0.reload = load i128, i128* %xmm0.0.reg2mem\n %31 = call i64 @FUNC(i128 %xmm0.0.reload)\n %32 = trunc i64 %31 to i32\n %33 = call i128 @__asm_movss.1(i32 %32)\n %34 = call i128 @FUNC(i128 %33, i32 %6)\n %35 = call i32 @FUNC(i128 %34)\n %36 = mul i32 %35, 256\n store i32 %36, i32* %13, align 4\n %37 = add i32 %storemerge4.reload, 1\n %38 = sext i32 %37 to i64\n %39 = icmp slt i64 %38, %9\n store i64 %38, i64* %.reg2mem\n store i32 %37, i32* %storemerge4.reg2mem\n store i128 %34, i128* %xmm0.13.reg2mem\n br i1 %39, label LBL_1, label LBL_5\n LBL_5:\n ret i64 %9\n\n uselistorder i128 %25, { 1, 0, 2 }\n uselistorder i128 %22, { 2, 1, 0 }\n uselistorder i128 %xmm0.13.reload, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i128* %xmm0.13.reg2mem, { 2, 0, 1 }\n uselistorder i128* %xmm0.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "utf2char_7283", "fun_name": "utf2char", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i16*\n %sv_2.04.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add nsw i64 %3, 4294967295\n %5 = and i64 %4, 4294967295\n %6 = add i64 %5, %2\n %7 = inttoptr i64 %6 to i8*\n store i8 0, i8* %7, align 1\n %8 = load i16, i16* %arg1, align 2\n %9 = icmp eq i16 %8, 0\n store i64 %2, i64* %sv_0.05.reg2mem\n store i64 %3, i64* %sv_2.04.reg2mem\n store i16* %arg1, i16** %sv_1.03.reg2mem\n store i64 %2, i64* %sv_0.0.lcssa.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_2:\n %sv_1.03.reload = load i16*, i16** %sv_1.03.reg2mem\n %10 = sext i32 %21 to i64\n %11 = add i64 %sv_0.05.reload, 1\n %12 = bitcast i16* %sv_1.03.reload to i8*\n %13 = load i8, i8* %12, align 1\n %14 = inttoptr i64 %sv_0.05.reload to i8*\n store i8 %13, i8* %14, align 1\n %15 = ptrtoint i16* %sv_1.03.reload to i64\n %16 = add i64 %15, 2\n %17 = inttoptr i64 %16 to i16*\n %18 = load i16, i16* %17, align 2\n %19 = icmp eq i16 %18, 0\n store i64 %11, i64* %sv_0.05.reg2mem\n store i64 %10, i64* %sv_2.04.reg2mem\n store i16* %17, i16** %sv_1.03.reg2mem\n store i64 %11, i64* %sv_0.0.lcssa.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %sv_2.04.reload = load i64, i64* %sv_2.04.reg2mem\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %20 = trunc i64 %sv_2.04.reload to i32\n %21 = add i32 %20, -1\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %sv_0.05.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %23, label LBL_2, label LBL_4\n LBL_4:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %24 = inttoptr i64 %sv_0.0.lcssa.reload to i8*\n store i8 0, i8* %24, align 1\n store i64 %sv_0.0.lcssa.reload, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.05.reload, { 0, 2, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.04.reg2mem, { 0, 2, 1 }\n uselistorder i16** %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i16 0, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "buffer_end_2438", "fun_name": "buffer_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, %0\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_avio_child_class_next_856", "fun_name": "ff_avio_child_class_next", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n %. = select i1 %1, i64 0, i64 ptrtoint ([17 x i8]** @gv_0 to i64)\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_int2flt_1745", "fun_name": "av_int2flt", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = mul i64 %arg1, 2\n %3 = trunc i64 %2 to i32\n %4 = icmp ult i32 %3, -16777215\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967294\n %6 = load i32, i32* inttoptr (i64 4202532 to i32*), align 4\n %7 = call i128 @FUNC(i32 %6)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %8 = trunc i64 %arg1 to i32\n %9 = udiv i32 %8, 8388608\n %10 = urem i32 %9, 256\n %11 = add nsw i32 %10, -150\n %12 = ashr i32 %8, 31\n %13 = or i32 %12, 1\n %14 = urem i32 %8, 8388608\n %15 = or i32 %14, 8388608\n %16 = mul nsw i32 %13, %15\n %17 = call i128 @FUNC(i128 %1, i128 %1)\n %18 = call i128 @FUNC(i32 %16)\n %19 = call i64 @FUNC(i128 %18)\n %20 = call i128 @__asm_movq.1(i64 %19)\n %21 = trunc i128 %20 to i64\n %22 = bitcast i64 %21 to double\n %23 = call double @ldexp(double %22, i32 %11)\n %24 = fptrunc double %23 to float\n %25 = bitcast float %24 to i32\n %26 = sext i32 %25 to i128\n %27 = bitcast double %23 to i64\n %28 = call i128 @FUNC(i128 %26)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 8388608, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow2_snapshot_delete_5077", "fun_name": "qcow2_snapshot_delete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = ptrtoint i8* %arg2 to i64\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %sext = mul i64 %2, 4294967296\n %6 = ashr exact i64 %sext, 27\n %7 = add i64 %6, %0\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %7, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %7, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = xor i32 %3, 134217727\n %23 = add i32 %21, %22\n %24 = mul i32 %23, 32\n %25 = add i64 %7, 32\n %26 = inttoptr i64 %25 to i64*\n %27 = call i64* @memmove(i64* %8, i64* %26, i32 %24)\n %28 = load i32, i32* %20, align 4\n %29 = add i32 %28, -1\n store i32 %29, i32* %20, align 4\n %30 = call i64 @FUNC(i64 %0)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %30, i64* %rax.0.shrunk.reg2mem\n br i1 %33, label LBL_2, label LBL_5\n LBL_2:\n %34 = call i64 @FUNC(i64 %9)\n %35 = call i64 @FUNC(i64 %12)\n %36 = call i64 @FUNC(i64 %0, i64 %15, i64 %18, i64 4294967295)\n %37 = trunc i64 %36 to i32\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 %36, i64* %rax.0.shrunk.reg2mem\n br i1 %39, label LBL_3, label LBL_5\n LBL_3:\n %40 = mul i64 %18, 8\n %41 = call i64 @FUNC(i64 %0, i64 %15, i64 %40)\n %42 = add i64 %0, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %0, 16\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = call i64 @FUNC(i64 %0, i64 %47, i64 %44, i64 0)\n %49 = trunc i64 %48 to i32\n %50 = icmp slt i32 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 %48, i64* %rax.0.shrunk.reg2mem\n br i1 %51, label LBL_4, label LBL_5\n LBL_4:\n store i32 0, i32* %sv_0, align 4\n %52 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0, i64 0)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32* %20, { 1, 0, 2 }\n uselistorder i64 %7, { 0, 4, 3, 2, 1 }\n uselistorder i64 %0, { 1, 2, 4, 3, 5, 6, 7, 8, 0, 9 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64, i64, i64)* @qcow2_update_snapshot_refcount, { 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder label LBL_5, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "encode_frame_3116", "fun_name": "encode_frame", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %sext = mul i64 %3, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %sv_0.0.lcssa.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = and i64 %1, 4294967295\n store i32 0, i32* %storemerge35.reg2mem\n store i64 %4, i64* %sv_0.04.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %8 = zext i32 %storemerge35.reload to i64\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n %sext2 = mul i64 %9, 4294967296\n %10 = ashr exact i64 %sext2, 32\n %11 = add i64 %10, %sv_0.04.reload\n %12 = add i32 %storemerge35.reload, 1\n %13 = sext i32 %12 to i64\n %14 = icmp sgt i64 %7, %13\n store i32 %12, i32* %storemerge35.reg2mem\n store i64 %11, i64* %sv_0.04.reg2mem\n store i64 %11, i64* %sv_0.0.lcssa.reg2mem\n br i1 %14, label LBL_2, label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %15 = sub i64 0, %sv_0.0.lcssa.reload\n %16 = urem i64 %15, 8\n %17 = add i64 %sv_0.0.lcssa.reload, 16\n %18 = add i64 %17, %16\n %19 = udiv i64 %18, 8\n %20 = icmp ult i64 %18, 17179869184\n %storemerge = select i1 %20, i64 %19, i64 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_object_item_13374", "fun_name": "get_object_item", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.2.ph.reg2mem = alloca i64\n %.pre-phi13.pre-phi.reg2mem = alloca i64*\n %sv_0.19.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i64\n %0 = icmp ne i64 %arg1, 0\n %1 = icmp eq i8* %arg2, null\n %2 = icmp eq i1 %1, false\n %or.cond = icmp eq i1 %0, %2\n br i1 %or.cond, label LBL_1, label LBL_11\n LBL_1:\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %arg3 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i64 %5, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n store i64 %5, i64* %sv_0.010.reg2mem\n br i1 %8, label LBL_11, label LBL_6\n LBL_3:\n br i1 %8, label LBL_11, label LBL_4\n LBL_4:\n %9 = ptrtoint i8* %arg2 to i64\n store i64 %5, i64* %sv_0.19.reg2mem\n br label LBL_9\n LBL_5:\n %10 = inttoptr i64 %sv_0.010.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i64 %11, i64* %sv_0.010.reg2mem\n br i1 %12, label LBL_11, label LBL_6\n LBL_6:\n %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem\n %13 = add i64 %sv_0.010.reload, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n store i64* %14, i64** %.pre-phi13.pre-phi.reg2mem\n store i64 %sv_0.010.reload, i64* %sv_0.2.ph.reg2mem\n br i1 %16, label LBL_10, label LBL_7\n LBL_7:\n %17 = inttoptr i64 %15 to i8*\n %18 = call i32 @strcmp(i8* %arg2, i8* %17)\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64* %14, i64** %.pre-phi13.pre-phi.reg2mem\n store i64 %sv_0.010.reload, i64* %sv_0.2.ph.reg2mem\n br i1 %20, label LBL_5, label LBL_10\n LBL_8:\n %21 = inttoptr i64 %sv_0.19.reload to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n store i64 %22, i64* %sv_0.19.reg2mem\n br i1 %23, label LBL_11, label LBL_9\n LBL_9:\n %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem\n %24 = add i64 %sv_0.19.reload, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %9, i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64* %25, i64** %.pre-phi13.pre-phi.reg2mem\n store i64 %sv_0.19.reload, i64* %sv_0.2.ph.reg2mem\n br i1 %30, label LBL_8, label LBL_10\n LBL_10:\n %sv_0.2.ph.reload = load i64, i64* %sv_0.2.ph.reg2mem\n %.pre-phi13.pre-phi.reload = load i64*, i64** %.pre-phi13.pre-phi.reg2mem\n %31 = load i64, i64* %.pre-phi13.pre-phi.reload, align 8\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n %spec.select = select i1 %33, i64 %sv_0.2.ph.reload, i64 0\n ret i64 %spec.select\n LBL_11:\n ret i64 0\n\n uselistorder i64 %sv_0.19.reload, { 0, 2, 1 }\n uselistorder i64* %14, { 1, 0, 2 }\n uselistorder i64 %sv_0.010.reload, { 1, 0, 3, 2 }\n uselistorder i1 %8, { 1, 0 }\n uselistorder i64* %sv_0.010.reg2mem, { 0, 2, 1 }\n uselistorder i64** %.pre-phi13.pre-phi.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.2.ph.reg2mem, { 0, 3, 2, 1 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i8* %arg2, { 1, 2, 0 }\n uselistorder label LBL_11, { 1, 0, 3, 2, 4 }\n uselistorder label LBL_10, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdict_get_qdict_197", "fun_name": "qdict_get_qdict", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %1 = call i64 @FUNC(i64 %0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fbcon_deinit_18456", "fun_name": "fbcon_deinit", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 30\n %3 = add i64 %2, ptrtoint (i32** @gv_0 to i64)\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, -1\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = sext i32 %5 to i64\n %8 = mul i64 %7, 8\n %9 = add i64 %8, ptrtoint (i64* @gv_1 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %12, label LBL_4, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %11 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = urem i32 %14, 2\n %16 = icmp eq i32 %15, 0\n %spec.select = zext i1 %16 to i32\n %17 = add i64 %11, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = inttoptr i64 %19 to i32*\n %22 = call i64 @FUNC(i64 %11)\n %23 = load i32, i32* %21, align 4\n %24 = and i32 %23, -2\n store i32 %24, i32* %21, align 4\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %25 = zext i32 %sv_0.1.reload to i64\n %26 = call i64 @FUNC(i64 ptrtoint (i64* @gv_2 to i64), i64 %25)\n %27 = call i64 @FUNC(i64* nonnull @gv_3)\n %28 = and i64 %27, 4294967295\n %29 = xor i64 %28, 1\n %30 = trunc i64 %29 to i8\n %31 = icmp eq i8 %30, 0\n store i64 %29, i64* %rax.0.reg2mem\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = call i64 @FUNC()\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %21, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_input_event_send_key_delay_530", "fun_name": "qemu_input_event_send_key_delay", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_2\n LBL_2:\n %7 = load i64, i64* @gv_0, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 0, i64 4198727, i64* nonnull @gv_1)\n store i64 %10, i64* @gv_0, align 8\n store i64 %10, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %11 = load i32, i32* @gv_2, align 4\n %12 = load i32, i32* @gv_3, align 4\n %13 = zext i32 %12 to i64\n %14 = icmp ult i32 %11, %12\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %14, label LBL_5, label LBL_9\n LBL_5:\n %sext = mul i64 %arg1, 4294967296\n %15 = ashr exact i64 %sext, 32\n %.reload = load i64, i64* %.reg2mem\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n %18 = and i64 %15, 4294967295\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %19 = load i32, i32* inttoptr (i64 4210720 to i32*), align 32\n %20 = zext i32 %19 to i64\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %21 = call i64 @FUNC(i64* nonnull @gv_1, i64 %.reload, i64 %storemerge.reload)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_9, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megasas_reset_frames_277", "fun_name": "megasas_reset_frames", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = add i64 %2, 8\n %6 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %7 = mul i64 %.reload, 8\n %8 = add i64 %5, %7\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %2, i64 %8)\n br label LBL_4\n LBL_4:\n %13 = add i32 %storemerge1.reload, 1\n %14 = sext i32 %13 to i64\n %15 = icmp sgt i64 %6, %14\n store i64 %14, i64* %.reg2mem\n store i32 %13, i32* %storemerge1.reg2mem\n br i1 %15, label LBL_2, label LBL_5\n LBL_5:\n %16 = add i64 %2, 2056\n %17 = call i64 @FUNC(i64 %16, i64 256)\n ret i64 %17\n\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 0, 1, 3, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_checksum_length_7095", "fun_name": "get_checksum_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %.pre = add i64 %0, 24\n %.pre1 = inttoptr i64 %.pre to i64*\n %.pr.pre = load i64, i64* %.pre1, align 8\n %3 = icmp eq i64 %.pr.pre, 0\n %4 = icmp eq i1 %3, false\n %or.cond = or i1 %2, %4\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %7)\n store i64 %9, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_3:\n %10 = icmp eq i64 %.pr.pre, 0\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 %.pr.pre)\n store i64 %11, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %12 = add i64 %0, 32\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n store i64 16, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_7, label LBL_6\n LBL_6:\n %16 = call i64 @FUNC(i64 %14)\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %17\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @picoquic_aead_get_checksum_length, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pred8x8_top_dc_rv40_c_3154", "fun_name": "pred8x8_top_dc_rv40_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i32\n %indvars.iv8.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv8.reg2mem\n store i32 0, i32* %sv_0.06.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.06.reload = load i32, i32* %sv_0.06.reg2mem\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %1 = sub i64 %indvars.iv8.reload, %arg2\n %sext11 = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext11, 32\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = zext i8 %5 to i32\n %7 = add i32 %sv_0.06.reload, %6\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %exitcond10 = icmp eq i64 %indvars.iv.next9, 8\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n store i32 %7, i32* %sv_0.06.reg2mem\n br i1 %exitcond10, label LBL_2, label LBL_1\n LBL_2:\n %8 = add i32 %7, 4\n %9 = udiv i32 %8, 8\n %10 = mul i32 %9, 16843009\n %11 = mul i64 %arg2, 4294967296\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %sext12 = mul i64 %11, %indvars.iv.reload\n %12 = ashr exact i64 %sext12, 32\n %13 = add i64 %12, %0\n %14 = add i64 %13, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %10, i32* %15, align 4\n %16 = inttoptr i64 %13 to i32*\n store i32 %10, i32* %16, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %rax.0 = zext i32 %10 to i64\n ret i64 %rax.0\n\n uselistorder i32 %10, { 0, 2, 1 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.06.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tap_send_16116", "fun_name": "tap_send", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = add i64 %2, 16\n %6 = inttoptr i64 %5 to i32*\n %7 = add i64 %2, 20\n %8 = inttoptr i64 %7 to i32*\n %9 = add i64 %2, 24\n %10 = and i64 %1, 4294967295\n br label LBL_1\n LBL_1:\n %11 = load i64, i64* %4, align 8\n %12 = call i64 @FUNC(i64 %10, i64 %11, i64 8)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 1\n store i64 %12, i64* %rax.1.reg2mem\n br i1 %14, label LBL_9, label LBL_2\n LBL_2:\n %15 = load i32, i32* %6, align 4\n %16 = icmp eq i32 %15, 0\n store i64 %11, i64* %sv_1.0.reg2mem\n store i32 %13, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = load i32, i32* %8, align 4\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %11, i64* %sv_1.0.reg2mem\n store i32 %13, i32* %sv_0.0.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = sext i32 %15 to i64\n %21 = add i64 %11, %20\n %22 = sub i32 %13, %15\n store i64 %21, i64* %sv_1.0.reg2mem\n store i32 %22, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %23 = call i64 @FUNC(i64 %9, i64 %sv_1.0.reload, i32 %sv_0.0.reload, i64 4198785)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %2, i64 0)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %28 = icmp slt i32 %24, 1\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = call i64 @FUNC(i64 %9)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %29, i64* %rax.1.reg2mem\n br i1 %32, label LBL_1, label LBL_9\n LBL_9:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %13, { 2, 0, 1, 3 }\n uselistorder i64 %11, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 0, 1, 3, 2, 4 }\n uselistorder label LBL_9, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "memory_region_destroy_754", "fun_name": "memory_region_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 28, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = load i32, i32* bitcast (i64* @gv_3 to i32*), align 8\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %8 = call i64 @FUNC(i64 %0)\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n ret i64 %16\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_one_set_err_8501", "fun_name": "do_one_set_err", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64* %arg1, %arg2\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_8, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_8, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %1 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %3, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %10, %13\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_8, label LBL_3\n LBL_3:\n %15 = add i64 %3, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %1, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp ugt i32 %17, %20\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_8, label LBL_4\n LBL_4:\n %22 = add i64 %1, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i32 %17, -1\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %24)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %29, label LBL_8, label LBL_5\n LBL_5:\n %30 = add i64 %3, 16\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 105\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = add i64 %1, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = urem i32 %37, 2\n %39 = icmp eq i32 %38, 0\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %39, label LBL_7, label LBL_8\n LBL_7:\n %40 = bitcast i64* %arg1 to i32*\n store i32 %32, i32* %40, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4, 5, 6, 7 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i64 (i64)* @sock_net, { 1, 0 }\n uselistorder i64 (i64)* @nlk_sk, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_8, { 6, 0, 3, 2, 1, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tty_ldisc_hangup_13082", "fun_name": "tty_ldisc_hangup", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 1, i64 %0)\n %5 = call i64 @FUNC(i64 %1)\n br label LBL_2\n LBL_2:\n %6 = add i64 %0, 56\n %7 = call i64 @FUNC(i64 %6, i64 1)\n %8 = add i64 %0, 64\n %9 = call i64 @FUNC(i64 %8, i64 2)\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = urem i32 %14, 2\n %16 = icmp eq i32 %15, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_3\n LBL_3:\n %17 = add i64 %0, 16\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %0, 72\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %0)\n %24 = call i64 @FUNC(i64 %0)\n %25 = load i64, i64* %20, align 8\n %26 = call i64 @FUNC(i64 %0, i64 %25)\n %27 = and i64 %26, 4294967295\n %28 = call i64 @FUNC(i64 %27)\n %29 = call i64 @FUNC(i64 %0)\n br label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i64 %17)\n %31 = call i64 @FUNC(i64 %0)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 6, 3, 2, 5, 4, 8, 7, 9, 11, 10, 1, 0, 12 }\n uselistorder i64 (i64, i64)* @wake_up_interruptible_poll, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "Fp_toString_12599", "fun_name": "Fp_toString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.07.reg2mem = alloca i32\n %storemerge38.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 0)\n %1 = call i64 @FUNC(i64 %arg1, i64 0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = inttoptr i64 %0 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp ne i32 %7, 1\n %9 = icmp eq i32 %7, 2\n %10 = icmp eq i1 %9, false\n %or.cond = icmp eq i1 %8, %10\n br i1 %or.cond, label LBL_14, label LBL_3\n LBL_3:\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i8*\n %17 = call i32 @strlen(i8* %16)\n %18 = add i32 %17, 19\n %19 = add i64 %13, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n store i32 %18, i32* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_6, label LBL_4\n LBL_4:\n %23 = add i64 %13, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge38.reg2mem\n store i32 %18, i32* %sv_0.07.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %25 = load i64, i64* %24, align 8\n %26 = mul i64 %.reload, 8\n %27 = add i64 %25, %26\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %29 to i8*\n %31 = call i32 @strlen(i8* %30)\n %32 = add i32 %sv_0.07.reload, 1\n %33 = add i32 %32, %31\n %34 = add i32 %storemerge38.reload, 1\n %35 = load i32, i32* %20, align 4\n %36 = zext i32 %35 to i64\n %37 = sext i32 %34 to i64\n %38 = icmp slt i64 %37, %36\n store i64 %37, i64* %.reg2mem\n store i32 %34, i32* %storemerge38.reg2mem\n store i32 %33, i32* %sv_0.07.reg2mem\n store i32 %33, i32* %sv_0.0.lcssa.reg2mem\n br i1 %38, label LBL_5, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %39 = sext i32 %sv_0.0.lcssa.reload to i64\n %40 = call i64 @FUNC(i64 %arg1, i64 %39)\n %41 = inttoptr i64 %40 to i8*\n %42 = inttoptr i64 %40 to i64*\n store i64 7957695015192261990, i64* %42, align 8\n %43 = add i64 %40, 8\n %44 = inttoptr i64 %43 to i16*\n store i16 32, i16* %44, align 2\n %45 = load i64, i64* %14, align 8\n %46 = inttoptr i64 %45 to i8*\n %47 = call i8* @strcat(i8* %41, i8* %46)\n %48 = call i32 @strlen(i8* %41)\n %49 = sext i32 %48 to i64\n %50 = add i64 %40, %49\n %51 = inttoptr i64 %50 to i16*\n store i16 40, i16* %51, align 2\n %52 = load i32, i32* %20, align 4\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_11, label LBL_7\n LBL_7:\n %54 = add i64 %13, 16\n %55 = inttoptr i64 %54 to i64*\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %56 = icmp slt i32 %storemerge6.reload, 1\n br i1 %56, label LBL_10, label LBL_9\n LBL_9:\n %57 = call i32 @strlen(i8* %41)\n %58 = sext i32 %57 to i64\n %59 = add i64 %40, %58\n %60 = inttoptr i64 %59 to i16*\n store i16 44, i16* %60, align 2\n br label LBL_10\n LBL_10:\n %61 = load i64, i64* %55, align 8\n %62 = mul i64 %.reload11, 8\n %63 = add i64 %61, %62\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = inttoptr i64 %65 to i8*\n %67 = call i8* @strcat(i8* %41, i8* %66)\n %68 = add i32 %storemerge6.reload, 1\n %69 = load i32, i32* %20, align 4\n %70 = zext i32 %69 to i64\n %71 = sext i32 %68 to i64\n %72 = icmp slt i64 %71, %70\n store i64 %71, i64* %.reg2mem10\n store i32 %68, i32* %storemerge6.reg2mem\n br i1 %72, label LBL_8, label LBL_11\n LBL_11:\n %73 = call i32 @strlen(i8* %41)\n %74 = sext i32 %73 to i64\n %75 = add i64 %40, %74\n %76 = inttoptr i64 %75 to i64*\n store i64 2318841633790697513, i64* %76, align 8\n %77 = add i64 %75, 8\n %78 = inttoptr i64 %77 to i16*\n store i16 125, i16* %78, align 2\n %79 = call i64 @FUNC(i64 %arg1)\n %80 = trunc i64 %79 to i32\n %81 = icmp eq i32 %80, 0\n br i1 %81, label LBL_13, label LBL_12\n LBL_12:\n %82 = call i64 @FUNC(i64 %arg1, i64 %40)\n %83 = call i64 @FUNC(i64 %arg1)\n br label LBL_13\n LBL_13:\n %84 = call i64 @FUNC(i64 %arg1, i64 %40)\n %85 = call i64 @FUNC(i64 %arg1, i64 %40)\n %86 = call i64 @FUNC(i64 %arg1)\n store i64 %86, i64* %storemerge4.reg2mem\n br label LBL_15\n LBL_14:\n %87 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0))\n store i64 %87, i64* %storemerge4.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i64 %75, { 1, 0 }\n uselistorder i8* %41, { 0, 2, 1, 3, 4 }\n uselistorder i64 %40, { 3, 4, 5, 0, 1, 2, 8, 7, 6 }\n uselistorder i32* %20, { 0, 1, 3, 2 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64 %13, { 0, 2, 1, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem10, { 1, 0, 2 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @js_free, { 1, 0 }\n uselistorder i8* (i8*, i8*)* @strcat, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 3, 4, 1, 2, 0 }\n uselistorder i64 8, { 2, 0, 3, 1, 4, 5, 6, 7, 8 }\n uselistorder i32 1, { 12, 10, 13, 9, 11, 8, 7, 6, 5, 4, 3, 2, 1, 0, 14 }\n uselistorder i64 %arg1, { 1, 6, 5, 4, 3, 2, 7, 8, 0, 9, 10 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fcgi_add_stdin_4471", "fun_name": "fcgi_add_stdin", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 8)\n store i64 1, i64* %sv_0, align 8\n %1 = call i16 @htons(i16 1)\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 1, i64* nonnull %sv_0, i64 8)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %5 = call i16 @htons(i16 0)\n %6 = call i64 @FUNC(i64 0, i64* nonnull %sv_0, i64 8)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_4\n LBL_3:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = call i64 @FUNC(i64 0, i64 %10)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64*, i64)* @bufferevent_write, { 1, 0 }\n uselistorder i16 (i16)* @htons, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_opcode_table_4751", "fun_name": "print_opcode_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.2.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %.reg2mem17 = alloca i32\n %sv_0.32.reg2mem = alloca i32\n %rdi.33.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem15 = alloca i64\n %.reg2mem13 = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem11 = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %rdi.16.reg2mem = alloca i64\n %storemerge17.reg2mem = alloca i32\n %.reg2mem9 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i16, align 2\n store i16 0, i16* %sv_1, align 2\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n call void @qsort(i64* %arg1, i32 %3, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198790 to i32 (i64*, i64*)*))\n %4 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n %5 = load i32, i32* %2, align 4\n %6 = icmp eq i32 %5, 0\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = bitcast i16* %sv_1 to i8*\n store i32 %5, i32* %.reg2mem\n store i64 0, i64* %.reg2mem9\n store i32 0, i32* %storemerge17.reg2mem\n store i64 ptrtoint ([37 x i8]* @gv_0 to i64), i64* %rdi.16.reg2mem\n store i32 0, i32* %sv_0.15.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %rdi.16.reload = load i64, i64* %rdi.16.reg2mem\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %.reload10 = load i64, i64* %.reg2mem9\n %.reload = load i32, i32* %.reg2mem\n %8 = mul i64 %.reload10, 16\n %9 = add i64 %rdi.16.reload, %8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n store i32 %.reload, i32* %.reg2mem11\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n store i64 %rdi.16.reload, i64* %rdi.0.reg2mem\n br i1 %14, label LBL_6, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0, i64 %9, i32 %sv_0.15.reload)\n %16 = add i64 %9, 8\n %17 = inttoptr i64 %16 to i8*\n %18 = call i32 @strncmp(i8* nonnull %7, i8* %17, i32 2)\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = inttoptr i64 %16 to i16*\n %21 = load i16, i16* %20, align 2\n store i16 %21, i16* %sv_1, align 2\n %22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %23 = zext i32 %sv_0.15.reload to i64\n %24 = call i64 @FUNC(i64 %9, i64 %23)\n %25 = add i32 %sv_0.15.reload, 1\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem11\n store i32 %25, i32* %sv_0.0.reg2mem\n store i64 %9, i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload12 = load i32, i32* %.reg2mem11\n %26 = add i32 %storemerge17.reload, 1\n %27 = zext i32 %.reload12 to i64\n %28 = sext i32 %26 to i64\n %29 = icmp slt i64 %28, %27\n store i32 %.reload12, i32* %.reg2mem\n store i64 %28, i64* %.reg2mem9\n store i32 %26, i32* %storemerge17.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.16.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %29, label LBL_2, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %30 = call i32 @puts(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %31 = load i32, i32* %2, align 4\n %32 = icmp eq i32 %31, 0\n store i32 %31, i32* %.reg2mem13\n store i64 0, i64* %.reg2mem15\n store i32 0, i32* %storemerge4.reg2mem\n store i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64* %rdi.33.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.32.reg2mem\n br i1 %32, label LBL_11, label LBL_8\n LBL_8:\n %sv_0.32.reload = load i32, i32* %sv_0.32.reg2mem\n %rdi.33.reload = load i64, i64* %rdi.33.reg2mem\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload16 = load i64, i64* %.reg2mem15\n %.reload14 = load i32, i32* %.reg2mem13\n %33 = mul i64 %.reload16, 16\n %34 = add i64 %rdi.33.reload, %33\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i32 %.reload14, i32* %.reg2mem17\n store i32 %sv_0.32.reload, i32* %sv_0.2.reg2mem\n store i64 %rdi.33.reload, i64* %rdi.2.reg2mem\n br i1 %40, label LBL_10, label LBL_9\n LBL_9:\n %41 = call i64 @FUNC(i64 %0, i64 %34, i32 %sv_0.32.reload)\n %42 = zext i32 %sv_0.32.reload to i64\n %43 = call i64 @FUNC(i64 %34, i64 %42)\n %44 = add i32 %sv_0.32.reload, 1\n %.pre8 = load i32, i32* %2, align 4\n store i32 %.pre8, i32* %.reg2mem17\n store i32 %44, i32* %sv_0.2.reg2mem\n store i64 %34, i64* %rdi.2.reg2mem\n br label LBL_10\n LBL_10:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %.reload18 = load i32, i32* %.reg2mem17\n %45 = add i32 %storemerge4.reload, 1\n %46 = zext i32 %.reload18 to i64\n %47 = sext i32 %45 to i64\n %48 = icmp slt i64 %47, %46\n store i32 %.reload18, i32* %.reg2mem13\n store i64 %47, i64* %.reg2mem15\n store i32 %45, i32* %storemerge4.reg2mem\n store i64 %rdi.2.reload, i64* %rdi.33.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.32.reg2mem\n br i1 %48, label LBL_8, label LBL_11\n LBL_11:\n %49 = call i32 @puts(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0))\n %50 = sext i32 %49 to i64\n ret i64 %50\n\n uselistorder i32 %.reload18, { 1, 0 }\n uselistorder i64 %34, { 0, 2, 1, 3 }\n uselistorder i32 %sv_0.32.reload, { 1, 3, 2, 0 }\n uselistorder i32 %.reload12, { 1, 0 }\n uselistorder i64 %9, { 0, 1, 3, 2, 4 }\n uselistorder i32 %sv_0.15.reload, { 2, 1, 3, 0 }\n uselistorder i32* %2, { 0, 3, 1, 2, 4 }\n uselistorder i16* %sv_1, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem9, { 1, 0, 2 }\n uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem13, { 2, 0, 1 }\n uselistorder i64* %.reg2mem15, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.33.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.32.reg2mem, { 2, 0, 1 }\n uselistorder [4 x i8]* @gv_2, { 1, 0 }\n uselistorder i64 (i64, i64)* @print_opcode, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @add_to_group, { 1, 0 }\n uselistorder i32 0, { 6, 0, 4, 7, 8, 2, 3, 1, 5 }\n uselistorder i32 (i8*)* @puts, { 2, 1, 0 }\n uselistorder [37 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_sg_vrml_is_sf_field_19231", "fun_name": "gf_sg_vrml_is_sf_field", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = icmp ult i32 %0, 100\n %2 = zext i1 %1 to i64\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_pre_login_10952", "fun_name": "do_pre_login", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %3 = call i32 @getpid()\n %4 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 128)\n store i32 128, i32* %sv_0, align 4\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 128, i64* %.reg2mem\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = bitcast i64* %sv_1 to %sockaddr*\n %11 = call i32 @getpeername(i32 %9, %sockaddr* nonnull %10, i32* nonnull %sv_0)\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_1.LBL_4_crit_edge, label LBL_3\n LBL_2:\n %.pre = load i32, i32* %sv_0, align 4\n %phitmp = zext i32 %.pre to i64\n store i64 %phitmp, i64* %.reg2mem\n br label LBL_4\n LBL_3:\n %14 = ptrtoint i32* %sv_0 to i64\n %15 = and i64 %8, 4294967295\n %16 = call i32* @__errno_location()\n %17 = load i32, i32* %16, align 4\n %18 = call i8* @strerror(i32 %17)\n %19 = ptrtoint i8* %18 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %14, i64 %15, i64 %2, i64 %1)\n %21 = call i64 @FUNC(i64 255)\n unreachable\n LBL_4:\n %22 = ptrtoint i64* %arg1 to i64\n %.reload = load i64, i64* %.reg2mem\n %23 = load i32, i32* @gv_1, align 4\n %24 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %25 = zext i32 %23 to i64\n %26 = zext i32 %24 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %25)\n %28 = add i64 %22, 256\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = zext i32 %3 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %22, i64 %32, i64 %27, i64* nonnull %sv_1, i64 %.reload)\n ret i64 %34\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i32* %sv_0, { 2, 0, 1, 3 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 128, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nl_msg_parse_10847", "fun_name": "nl_msg_parse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 4198742, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %1, 4\n %3 = inttoptr i64 %2 to i16*\n %4 = load i16, i16* %3, align 2\n %5 = call i64 @FUNC(i64 %0)\n %6 = zext i16 %4 to i64\n %7 = and i64 %5, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_1:\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC(i64 %8, i64 0, i64 %11, i64* nonnull %sv_0)\n %13 = call i64 @FUNC(i64 %8)\n %14 = and i64 %12, 4294967295\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @nlmsg_hdr, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d_alloc_cursor_91", "fun_name": "d_alloc_cursor", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = inttoptr i64 %4 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = or i32 %7, 3\n store i32 %8, i32* %6, align 4\n %9 = call i64 @FUNC(i64 %0)\n %10 = add i64 %4, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n br label LBL_2\n LBL_2:\n ret i64 %4\n\n uselistorder i32* %6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdev_device_help_14913", "fun_name": "qdev_device_help", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n store i64 %5, i64* %sv_0, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_13, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %5)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_3:\n %11 = call i64 @FUNC(i64 %4)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_13\n LBL_4:\n %15 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1)\n %16 = load i64, i64* %sv_1, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %.reg2mem\n br i1 %18, label LBL_12, label LBL_5\n LBL_5:\n %19 = load i64, i64* %sv_0, align 8\n %20 = call i64 @FUNC(i64 %19, i64* nonnull %sv_1)\n %21 = load i64, i64* %sv_1, align 8\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %21, i64* %.reg2mem\n br i1 %23, label LBL_12, label LBL_6\n LBL_6:\n %24 = icmp eq i64 %20, 0\n %25 = icmp eq i1 %24, false\n store i64 %20, i64* %storemerge1.reg2mem\n br i1 %25, label LBL_7, label LBL_11\n LBL_7:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %26 = inttoptr i64 %storemerge1.reload to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %27, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %27 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = load i64, i64* %sv_0, align 8\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %33, i64 %32, i64 %30, i64 %2, i64 %1)\n %35 = load i64, i64* %26, align 8\n %36 = add i64 %35, 24\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_9, label LBL_8\n LBL_8:\n %40 = add i64 %35, 16\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i64 %42, i64 %32, i64 %30, i64 %2, i64 %1)\n br label LBL_10\n LBL_9:\n %44 = call i64 @FUNC(i8* inttoptr (i64 4202550 to i8*), i64 %33, i64 %32, i64 %30, i64 %2, i64 %1)\n br label LBL_10\n LBL_10:\n %45 = add i64 %storemerge1.reload, 8\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = icmp eq i64 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 %47, i64* %storemerge1.reg2mem\n br i1 %49, label LBL_7, label LBL_11\n LBL_11:\n %50 = call i64 @FUNC(i64 %20)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %51 = ptrtoint i64* %sv_1 to i64\n %.reload = load i64, i64* %.reg2mem\n %52 = call i64 @FUNC(i64 %.reload)\n %53 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i64 %52, i64 %51, i64 %3, i64 %2, i64 %1)\n %54 = load i64, i64* %sv_1, align 8\n %55 = call i64 @FUNC(i64 %54)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %32, { 1, 0, 2 }\n uselistorder i64 %30, { 1, 0, 2 }\n uselistorder i64 %20, { 2, 0, 1 }\n uselistorder i64* %sv_1, { 2, 5, 3, 0, 4, 1, 6 }\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 3, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_printf, { 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder label LBL_13, { 2, 3, 1, 4, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ohci_bus_stop_1320", "fun_name": "ohci_bus_stop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "caif_sktrecv_cb_10232", "fun_name": "caif_sktrecv_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, -4\n %3 = call i64 @FUNC(i64 %0)\n %4 = inttoptr i64 %2 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 1\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %3)\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64 %2, i64 %3)\n br label LBL_3\n LBL_3:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migrate_vma_unmap_5996", "fun_name": "migrate_vma_unmap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %rdi.3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.36.reg2mem = alloca i64\n %rdi.47.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i8\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i8\n %sv_1.0.reg2mem = alloca i8\n %sv_0.19.reg2mem = alloca i64\n %sv_1.312.reg2mem = alloca i8\n %rdi.213.reg2mem = alloca i64\n %storemerge114.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC()\n %5 = icmp eq i64 %3, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %5, label LBL_22, label LBL_1\n LBL_1:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %storemerge114.reg2mem\n store i64 %0, i64* %rdi.213.reg2mem\n store i8 1, i8* %sv_1.312.reg2mem\n store i64 0, i64* %sv_0.19.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem\n %sv_1.312.reload = load i8, i8* %sv_1.312.reg2mem\n %rdi.213.reload = load i64, i64* %rdi.213.reg2mem\n %storemerge114.reload = load i64, i64* %storemerge114.reg2mem\n %10 = mul i64 %storemerge114.reload, 8\n %11 = add i64 %10, %rdi.213.reload\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp eq i64 %14, 0\n store i64 %sv_0.19.reload, i64* %sv_0.0.reg2mem\n store i8 %sv_1.312.reload, i8* %sv_1.2.reg2mem\n store i64 %13, i64* %rdi.1.reg2mem\n br i1 %15, label LBL_16, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %14)\n %17 = trunc i64 %16 to i8\n %18 = icmp eq i8 %17, 1\n store i8 %sv_1.312.reload, i8* %sv_1.1.reg2mem\n br i1 %18, label LBL_9, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %14)\n %20 = trunc i64 %19 to i8\n %21 = icmp eq i8 %20, 1\n %22 = icmp eq i8 %sv_1.312.reload, 0\n %or.cond = or i1 %22, %21\n store i8 %sv_1.312.reload, i8* %sv_1.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC()\n store i8 0, i8* %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %24 = call i64 @FUNC(i64 %14)\n %25 = trunc i64 %24 to i8\n %26 = icmp eq i8 %25, 0\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = add i64 %14, %10\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = and i64 %29, -2\n store i64 %30, i64* %28, align 8\n %31 = load i64, i64* %7, align 8\n %32 = add i64 %31, -1\n store i64 %32, i64* %7, align 8\n %33 = add i64 %sv_0.19.reload, 1\n store i64 %33, i64* %sv_0.0.reg2mem\n store i8 %sv_1.0.reload, i8* %sv_1.2.reg2mem\n store i64 %14, i64* %rdi.1.reg2mem\n br label LBL_16\n LBL_8:\n %34 = call i64 @FUNC(i64 %14)\n store i8 %sv_1.0.reload, i8* %sv_1.1.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.1.reload = load i8, i8* %sv_1.1.reg2mem\n %35 = call i64 @FUNC(i64 %14)\n %36 = call i64 @FUNC(i64 %35)\n %37 = trunc i64 %36 to i8\n %38 = icmp eq i8 %37, 0\n br i1 %38, label LBL_11, label LBL_10\n LBL_10:\n %39 = call i64 @FUNC(i64 %35, i64 0)\n br label LBL_11\n LBL_11:\n %40 = call i64 @FUNC(i64 %14)\n %41 = trunc i64 %40 to i8\n %42 = icmp eq i8 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_13, label LBL_12\n LBL_12:\n %44 = load i64, i64* %9, align 8\n %45 = call i64 @FUNC(i64 %14, i64 %44)\n %46 = trunc i64 %45 to i8\n %47 = icmp eq i8 %46, 1\n store i64 %sv_0.19.reload, i64* %sv_0.0.reg2mem\n store i8 %sv_1.1.reload, i8* %sv_1.2.reg2mem\n store i64 %14, i64* %rdi.1.reg2mem\n br i1 %47, label LBL_16, label LBL_13\n LBL_13:\n %48 = call i64 @FUNC(i64 %14)\n %49 = trunc i64 %48 to i8\n %50 = icmp eq i8 %49, 1\n br i1 %50, label LBL_15, label LBL_14\n LBL_14:\n %51 = call i64 @FUNC(i64 %14)\n %52 = call i64 @FUNC(i64 %14)\n br label LBL_15\n LBL_15:\n %53 = add i64 %14, %10\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = and i64 %55, -2\n store i64 %56, i64* %54, align 8\n %57 = load i64, i64* %7, align 8\n %58 = add i64 %57, -1\n store i64 %58, i64* %7, align 8\n %59 = add i64 %sv_0.19.reload, 1\n store i64 %59, i64* %sv_0.0.reg2mem\n store i8 %sv_1.1.reload, i8* %sv_1.2.reg2mem\n store i64 %14, i64* %rdi.1.reg2mem\n br label LBL_16\n LBL_16:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %sv_1.2.reload = load i8, i8* %sv_1.2.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %60 = add nuw i64 %storemerge114.reload, 1\n %exitcond = icmp eq i64 %60, %3\n store i64 %60, i64* %storemerge114.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.213.reg2mem\n store i8 %sv_1.2.reload, i8* %sv_1.312.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.19.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_2\n LBL_17:\n %61 = icmp eq i64 %sv_0.0.reload, 0\n %62 = icmp eq i1 %61, false\n store i64 0, i64* %storemerge8.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.47.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.36.reg2mem\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %62, label LBL_18, label LBL_22\n LBL_18:\n %sv_0.36.reload = load i64, i64* %sv_0.36.reg2mem\n %rdi.47.reload = load i64, i64* %rdi.47.reg2mem\n %storemerge8.reload = load i64, i64* %storemerge8.reg2mem\n %63 = mul i64 %storemerge8.reload, 8\n %64 = add i64 %63, %rdi.47.reload\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = call i64 @FUNC(i64 %66)\n %68 = icmp eq i64 %67, 0\n store i64 %sv_0.36.reload, i64* %sv_0.2.reg2mem\n store i64 %66, i64* %rdi.3.reg2mem\n br i1 %68, label LBL_21, label LBL_19\n LBL_19:\n %69 = add i64 %66, %63\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = urem i64 %71, 2\n %73 = icmp eq i64 %72, 0\n %74 = icmp eq i1 %73, false\n store i64 %sv_0.36.reload, i64* %sv_0.2.reg2mem\n store i64 %66, i64* %rdi.3.reg2mem\n br i1 %74, label LBL_21, label LBL_20\n LBL_20:\n %75 = call i64 @FUNC(i64 %67)\n %76 = call i64 @FUNC(i64 %75, i64 %75, i64 0)\n %77 = add i64 %75, %63\n %78 = inttoptr i64 %77 to i64*\n store i64 0, i64* %78, align 8\n %79 = call i64 @FUNC(i64 %75)\n %80 = call i64 @FUNC(i64 %75)\n %81 = add i64 %sv_0.36.reload, -1\n store i64 %81, i64* %sv_0.2.reg2mem\n store i64 %75, i64* %rdi.3.reg2mem\n br label LBL_21\n LBL_21:\n %rdi.3.reload = load i64, i64* %rdi.3.reg2mem\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %82 = add nuw i64 %storemerge8.reload, 1\n %83 = icmp ult i64 %82, %3\n %84 = icmp eq i64 %sv_0.2.reload, 0\n %85 = icmp eq i1 %84, false\n %or.cond4 = icmp eq i1 %83, %85\n store i64 %82, i64* %storemerge8.reg2mem\n store i64 %rdi.3.reload, i64* %rdi.47.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.36.reg2mem\n store i64 %82, i64* %storemerge.lcssa.reg2mem\n br i1 %or.cond4, label LBL_18, label LBL_22\n LBL_22:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64 %sv_0.2.reload, { 1, 0 }\n uselistorder i64 %75, { 0, 2, 3, 1, 5, 4 }\n uselistorder i64 %66, { 0, 2, 1, 3 }\n uselistorder i64 %63, { 2, 1, 0 }\n uselistorder i64 %sv_0.36.reload, { 2, 0, 1 }\n uselistorder i8 %sv_1.1.reload, { 1, 0 }\n uselistorder i8 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %14, { 2, 3, 10, 9, 11, 1, 8, 12, 13, 5, 0, 4, 6, 7, 14, 15 }\n uselistorder i64 %10, { 2, 1, 0 }\n uselistorder i8 %sv_1.312.reload, { 2, 3, 1, 0 }\n uselistorder i64 %sv_0.19.reload, { 3, 0, 2, 1 }\n uselistorder i64* %7, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge114.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.213.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_1.312.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.19.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i8* %sv_1.2.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %rdi.1.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge8.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.47.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.36.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 1, 3, 2 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @page_folio, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i8 0, { 2, 3, 4, 0, 1 }\n uselistorder i64 (i64)* @is_zone_device_page, { 1, 0 }\n uselistorder i64 (i64)* @migrate_pfn_to_page, { 1, 0 }\n uselistorder i8 1, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_22, { 0, 2, 1 }\n uselistorder label LBL_21, { 2, 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_16, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_bin_java_get_attr_buf_6470", "fun_name": "r_bin_java_get_attr_buf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = trunc i64 %arg5 to i32\n %4 = trunc i64 %arg3 to i32\n %5 = sub i32 %3, %4\n %6 = add i32 %5, 1\n %7 = call i64* @calloc(i32 %6, i32 1)\n %8 = icmp eq i64* %7, null\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = and i64 %arg3, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %2, i64 %10, i64 %arg5, i64 %1)\n br label LBL_3\n LBL_2:\n %12 = add i64 %2, %arg3\n %13 = inttoptr i64 %12 to i64*\n %14 = call i64* @memcpy(i64* %7, i64* %13, i32 %5)\n br label LBL_3\n LBL_3:\n %15 = ptrtoint i64* %7 to i64\n ret i64 %15\n\n uselistorder i64* %7, { 2, 0, 1 }\n uselistorder i64 %arg3, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "diff_C_1197", "fun_name": "diff_C", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.04.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i64\n %sv_2.16.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %sv_2.02.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = sext i32 %arg4 to i64\n %3 = sext i32 %arg3 to i64\n store i32 0, i32* %storemerge7.reg2mem\n store i32 0, i32* %sv_2.16.reg2mem\n store i64 %0, i64* %sv_1.05.reg2mem\n store i64 %1, i64* %sv_0.04.reg2mem\n br label LBL_3\n LBL_1:\n %sv_2.02.reload = load i32, i32* %sv_2.02.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %4 = add i64 %indvars.iv.reload, %sv_1.05.reload\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = add i64 %indvars.iv.reload, %sv_0.04.reload\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %6 to i32\n %11 = zext i8 %9 to i32\n %12 = sub nsw i32 %10, %11\n %13 = sub nsw i32 0, %12\n %14 = icmp sgt i32 %12, 0\n %15 = icmp eq i1 %14, false\n %16 = select i1 %15, i32 %13, i32 %12\n %17 = add i32 %16, %sv_2.02.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %17, i32* %sv_2.02.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %18 = add i64 %sv_1.05.reload, %2\n %19 = add i64 %sv_0.04.reload, %3\n %20 = add nuw nsw i32 %storemerge7.reload, 1\n %exitcond8 = icmp eq i32 %20, 8\n store i32 %20, i32* %storemerge7.reg2mem\n store i32 %17, i32* %sv_2.16.reg2mem\n store i64 %18, i64* %sv_1.05.reg2mem\n store i64 %19, i64* %sv_0.04.reg2mem\n br i1 %exitcond8, label LBL_4, label LBL_3\n LBL_3:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %sv_2.16.reload = load i32, i32* %sv_2.16.reg2mem\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %sv_2.16.reload, i32* %sv_2.02.reg2mem\n br label LBL_1\n LBL_4:\n %21 = zext i32 %17 to i64\n ret i64 %21\n\n uselistorder i32 %17, { 2, 0, 1 }\n uselistorder i32 %12, { 2, 0, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_2.02.reg2mem, { 2, 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r128_cce_stipple_5358", "fun_name": "r128_cce_stipple", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64* @memcpy(i64* nonnull %sv_0, i64* %arg2, i32 128)\n %1 = icmp eq i64* %0, null\n store i64 4294967282, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64* nonnull %sv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_amv_2551", "fun_name": "get_amv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.016.reg2mem = alloca i32\n %sv_1.017.reg2mem = alloca i32\n %storemerge1118.reg2mem = alloca i32\n %sv_0.119.reg2mem = alloca i32\n %storemerge920.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 12\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i32 %5, 4\n %7 = urem i32 %6, 32\n %8 = shl i32 1, %7\n %9 = add i64 %2, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %2, 20\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = urem i32 %14, 2\n %16 = icmp eq i32 %15, 0\n store i32 %8, i32* %sv_2.0.reg2mem\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = add i64 %2, 36\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = urem i32 %19, 32\n %21 = ashr i32 %8, %20\n store i32 %21, i32* %sv_2.0.reg2mem\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %22 = add i64 %2, 24\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 1\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_7, label LBL_3\n LBL_3:\n %27 = trunc i64 %1 to i32\n %28 = icmp eq i32 %27, 500\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_6, label LBL_4\n LBL_4:\n %30 = add i64 %2, 4\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 413\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = ashr exact i64 %sext, 30\n %36 = add i64 %2, 40\n %37 = add i64 %36, %35\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = add i64 %2, 36\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = sub i32 %11, %43\n %45 = urem i32 %44, 32\n %46 = shl i32 1, %45\n %storemerge3 = zext i32 %46 to i64\n %47 = ashr i32 %39, 31\n %48 = zext i32 %47 to i64\n %49 = mul i64 %48, 4294967296\n %50 = or i64 %49, %40\n %51 = sdiv i64 %50, %storemerge3\n %52 = trunc i64 %51 to i32\n store i32 %52, i32* %sv_0.2.reg2mem\n br label LBL_12\n LBL_6:\n %53 = ashr exact i64 %sext, 30\n %54 = add i64 %2, 40\n %55 = add i64 %54, %53\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i64 %2, 36\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = urem i32 %60, 32\n %62 = shl i32 %57, %61\n %63 = urem i32 %11, 32\n %64 = ashr i32 %62, %63\n store i32 %64, i32* %sv_0.2.reg2mem\n br label LBL_12\n LBL_7:\n %65 = ashr exact i64 %sext, 29\n %66 = add i64 %65, %2\n %67 = add i64 %66, 104\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = add i64 %66, 108\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = add i64 %2, 8\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = trunc i64 %arg2 to i32\n %77 = icmp eq i32 %76, 0\n %78 = add i32 %11, 1\n %79 = add i32 %78, %75\n %80 = urem i32 %79, 32\n %81 = shl i32 1, %80\n %82 = select i1 %77, i32 %81, i32 0\n %sv_3.0 = sub i32 %69, %82\n %83 = select i1 %77, i32 0, i32 %81\n %sv_4.0 = sub i32 %72, %83\n %84 = ashr exact i64 %sext, 30\n %85 = add i64 %2, 40\n %86 = add i64 %85, %84\n %87 = inttoptr i64 %86 to i32*\n %88 = load i32, i32* %87, align 4\n %89 = add i64 %2, 28\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n %92 = mul i32 %91, 16\n %93 = mul i32 %92, %sv_3.0\n %94 = add i64 %2, 32\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = mul i32 %96, 16\n %98 = add i32 %93, %88\n %99 = urem i32 %75, 32\n store i32 0, i32* %storemerge920.reg2mem\n store i32 0, i32* %sv_0.119.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.119.reload = load i32, i32* %sv_0.119.reg2mem\n %storemerge920.reload = load i32, i32* %storemerge920.reg2mem\n %reass.add = add nuw nsw i32 %storemerge920.reload, %97\n %reass.mul = mul i32 %reass.add, %sv_4.0\n %100 = add i32 %98, %reass.mul\n store i32 0, i32* %storemerge1118.reg2mem\n store i32 %100, i32* %sv_1.017.reg2mem\n store i32 %sv_0.119.reload, i32* %sv_0.016.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.016.reload = load i32, i32* %sv_0.016.reg2mem\n %sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem\n %storemerge1118.reload = load i32, i32* %storemerge1118.reg2mem\n %101 = ashr i32 %sv_1.017.reload, %99\n %102 = add i32 %101, %sv_0.016.reload\n %103 = add i32 %sv_1.017.reload, %sv_3.0\n %104 = add nuw nsw i32 %storemerge1118.reload, 1\n %exitcond = icmp eq i32 %104, 16\n store i32 %104, i32* %storemerge1118.reg2mem\n store i32 %103, i32* %sv_1.017.reg2mem\n store i32 %102, i32* %sv_0.016.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %105 = add nuw nsw i32 %storemerge920.reload, 1\n %exitcond21 = icmp eq i32 %105, 16\n store i32 %105, i32* %storemerge920.reg2mem\n store i32 %102, i32* %sv_0.119.reg2mem\n br i1 %exitcond21, label LBL_11, label LBL_8\n LBL_11:\n %106 = add i32 %11, 8\n %107 = add i64 %2, 36\n %108 = inttoptr i64 %107 to i32*\n %109 = load i32, i32* %108, align 4\n %110 = sub i32 %106, %109\n %111 = urem i32 %110, 32\n %112 = ashr i32 %102, %111\n store i32 %112, i32* %sv_0.2.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %113 = sub i32 0, %sv_2.0.reload\n %114 = zext i32 %113 to i64\n %115 = sext i32 %sv_0.2.reload to i64\n %116 = icmp slt i64 %115, %114\n store i64 %114, i64* %.pre-phi.reg2mem\n br i1 %116, label LBL_14, label LBL_13\n LBL_13:\n %117 = icmp slt i32 %sv_0.2.reload, %sv_2.0.reload\n %118 = add i32 %sv_2.0.reload, -1\n %spec.select15 = select i1 %117, i32 %sv_0.2.reload, i32 %118\n %.pre = zext i32 %spec.select15 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_14\n LBL_14:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n ret i64 %.pre-phi.reload\n\n uselistorder i32 %sv_0.2.reload, { 2, 0, 1 }\n uselistorder i32 %102, { 2, 1, 0 }\n uselistorder i32 %sv_1.017.reload, { 1, 0 }\n uselistorder i64 %sext, { 3, 2, 1, 0 }\n uselistorder i32 %11, { 2, 3, 0, 1 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %2, { 4, 5, 6, 1, 14, 0, 7, 2, 8, 3, 13, 9, 10, 11, 12, 15 }\n uselistorder i32* %storemerge920.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.119.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1118.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.017.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.016.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32 16, { 2, 3, 0, 1 }\n uselistorder i64 30, { 1, 0, 2 }\n uselistorder i32 0, { 5, 0, 1, 2, 3, 4, 6, 7 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ping_unhash_5267", "fun_name": "ping_unhash", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %0, i32 %2)\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64* nonnull @gv_1)\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = call i64 @FUNC(i64 %arg1)\n store i32 0, i32* %1, align 4\n %11 = add i64 %0, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %arg1)\n %14 = call i64 @FUNC(i64 %13, i64 %arg1, i64 4294967295)\n %15 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 0, 4, 2, 1, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_msrs_9738", "fun_name": "setup_msrs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 5)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %0, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %0, i32 %2, i64 0)\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 %sv_0.0.reload, i32* %10, align 4\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i64 %0, 16\n %15 = call i64 @FUNC(i64 %14)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 3, 0, 1, 4 }\n uselistorder i32 0, { 2, 0, 3, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_read_packet_3508", "fun_name": "mxf_read_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i8\n %rax.0.reg2mem = alloca i64\n %.pre9.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = load i8, i8* %1\n %6 = load i8, i8* %1\n %sv_0 = alloca i8, align 1\n %7 = load i64, i64* %0\n %8 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %9 = trunc i64 %4 to i32\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_19\n LBL_1:\n %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 %4)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_19\n LBL_2:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = ptrtoint i64* %sv_1 to i64\n %17 = bitcast i8* %sv_0 to i64*\n %18 = add i64 %4, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = trunc i64 %16 to i32\n %21 = icmp eq i32 %20, 0\n br label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_1)\n %23 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %8, i64 %3, i64 %2)\n %24 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_2)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_6, label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64 %4, i64 %15, i64* nonnull %sv_1)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_19, label LBL_5\n LBL_5:\n %31 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 %15, i64 %3, i64 %2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_6:\n %32 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull @gv_4)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_17, label LBL_7\n LBL_7:\n %35 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1)\n %36 = trunc i64 %35 to i32\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_9, label LBL_8\n LBL_8:\n %39 = call i64 @FUNC(i64* nonnull %17)\n %40 = and i64 %39, 4294967295\n %41 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0), i64 %40, i64 %3, i64 %2)\n br label LBL_16\n LBL_9:\n %42 = load i64, i64* %19, align 8\n %sext = mul i64 %35, 4294967296\n %43 = ashr exact i64 %sext, 29\n %44 = add i64 %42, %43\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 1\n br i1 %49, label LBL_16, label LBL_10\n LBL_10:\n %50 = load i8, i8* %sv_0, align 1\n %51 = icmp eq i8 %50, 6\n %52 = icmp eq i8 %6, 1\n %53 = icmp eq i1 %52, %51\n %54 = icmp eq i8 %5, 16\n %55 = icmp eq i1 %54, %53\n br i1 %55, label LBL_11, label LBL_13\n LBL_11:\n %56 = call i64 @FUNC(i64 %4, i64 %46, i64 %15, i64 %7)\n %57 = trunc i64 %56 to i32\n %58 = icmp slt i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_15, label LBL_12\n LBL_12:\n %60 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_6, i64 0, i64 0), i64 %7, i64 %3, i64 %2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_13:\n %61 = call i64 @FUNC(i64 %4, i64 %15, i64 %7)\n %62 = trunc i64 %61 to i32\n %63 = icmp slt i32 %62, 0\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_15, label LBL_14\n LBL_14:\n %65 = and i64 %61, 4294967295\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_15:\n %66 = bitcast i64* %arg2 to i32*\n store i32 %36, i32* %66, align 4\n %67 = add i64 %15, 8\n %68 = inttoptr i64 %67 to i64*\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_16:\n %69 = call i64 @FUNC(i64 %4, i64 %7)\n store i64 %4, i64* %.pre9.reg2mem\n br label LBL_17.dec_label_pc_4012df_crit_edge\n LBL_17:\n %70 = call i64 @FUNC(i64 %16, i64 %7)\n store i64 %16, i64* %.pre9.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, label LBL_17.dec_label_pc_4012df_crit_edge, label LBL_19\n LBL_18:\n %.pre9.reload = load i64, i64* %.pre9.reg2mem\n %71 = call i64 @FUNC(i64* nonnull %sv_1, i64 %.pre9.reload)\n %72 = trunc i64 %71 to i32\n %73 = icmp slt i32 %72, 0\n %74 = icmp eq i1 %73, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %74, label LBL_3, label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %15, { 3, 4, 2, 0, 1 }\n uselistorder i64* %sv_1, { 6, 1, 2, 3, 4, 5, 7, 0 }\n uselistorder i64 %7, { 0, 5, 1, 4, 2, 3 }\n uselistorder i64 %4, { 0, 2, 3, 9, 4, 8, 11, 6, 7, 13, 12, 10, 1, 5 }\n uselistorder i64 %3, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 9, 8, 7, 6, 5, 1, 4 }\n uselistorder i8* %1, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }\n uselistorder i64 (i64*, i64*)* @IS_KLV_KEY, { 1, 0 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0 }\n uselistorder i64 (i64*, i64)* @klv_read_packet, { 1, 0 }\n uselistorder i32 0, { 8, 2, 3, 4, 5, 6, 7, 9, 0, 1 }\n uselistorder label LBL_19, { 2, 1, 5, 6, 7, 8, 4, 0, 3 }\n uselistorder label LBL_17.dec_label_pc_4012df_crit_edge, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "printDefineFont2_6395", "fun_name": "printDefineFont2", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %storemerge29.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv20.reg2mem = alloca i64\n %indvars.iv24.reg2mem = alloca i64\n %indvars.iv28.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i32\n %indvars.iv32.reg2mem = alloca i64\n %sv_0.018.reg2mem = alloca i32\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = trunc i64 %2 to i32\n %4 = urem i32 %3, 256\n %5 = call i64 @FUNC()\n %6 = inttoptr i64 %5 to i8*\n %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* %6)\n %8 = icmp eq i32 %4, 0\n %9 = icmp eq i1 %8, false\n store i32 %4, i32* %sv_0.018.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = trunc i64 %10 to i32\n %12 = urem i32 %11, 256\n %13 = call i32 @putchar(i32 %12)\n %14 = add i32 %sv_0.018.reload, -1\n %15 = icmp eq i32 %14, 0\n %16 = icmp slt i32 %14, 0\n %17 = icmp eq i1 %16, false\n %18 = icmp eq i1 %15, false\n %19 = icmp eq i1 %17, %18\n store i32 %14, i32* %sv_0.018.reg2mem\n br i1 %19, label LBL_1, label LBL_2\n LBL_2:\n %20 = trunc i64 %0 to i32\n %21 = call i32 @putchar(i32 10)\n %22 = call i64 @FUNC(i64 %arg1)\n %23 = trunc i64 %22 to i32\n %24 = urem i32 %23, 65536\n %25 = call i64 @FUNC()\n %26 = zext i32 %24 to i64\n %27 = inttoptr i64 %25 to i8*\n %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i8* %27, i64 %26)\n %29 = mul i32 %24, 4\n %30 = call i64* @malloc(i32 %29)\n %31 = icmp eq i32 %24, 0\n br i1 %31, label LBL_16, label LBL_3\n LBL_3:\n %32 = ptrtoint i64* %30 to i64\n %33 = urem i32 %20, 2\n %34 = icmp eq i32 %33, 0\n store i64 0, i64* %indvars.iv32.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = call i64 @FUNC(i64 %arg1)\n %36 = trunc i64 %35 to i32\n store i32 %36, i32* %storemerge8.reg2mem\n br label LBL_7\n LBL_6:\n %37 = call i64 @FUNC(i64 %arg1)\n %38 = trunc i64 %37 to i32\n %39 = urem i32 %38, 65536\n store i32 %39, i32* %storemerge8.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %40 = sub i32 %storemerge8.reload, %29\n %41 = add i32 %40, -4\n %42 = mul i64 %indvars.iv32.reload, 4\n %43 = add i64 %42, %32\n %44 = inttoptr i64 %43 to i32*\n store i32 %41, i32* %44, align 4\n %45 = call i64 @FUNC()\n %46 = zext i32 %41 to i64\n %47 = inttoptr i64 %45 to i8*\n %48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i8* %47, i64 %indvars.iv32.reload, i64 %46)\n %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1\n %exitcond35 = icmp eq i64 %indvars.iv.next33, %26\n store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem\n store i64 0, i64* %indvars.iv28.reg2mem\n br i1 %exitcond35, label LBL_8, label LBL_4\n LBL_8:\n %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem\n %49 = call i64 @FUNC()\n %50 = call i64 @FUNC()\n %51 = inttoptr i64 %50 to i8*\n %52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0), i8* %51, i64 %indvars.iv28.reload)\n %53 = call i64 @FUNC(i64 %arg1, i64 4)\n %54 = trunc i64 %53 to i32\n store i32 %54, i32* %sv_2, align 4\n %55 = call i64 @FUNC(i64 %arg1, i64 4)\n %56 = trunc i64 %55 to i32\n store i32 %56, i32* %sv_1, align 4\n %57 = call i64 @FUNC()\n br label LBL_9\n LBL_9:\n %58 = call i64 @FUNC(i64 %arg1, i32* nonnull %sv_2, i32* nonnull %sv_1, i64 2)\n %59 = trunc i64 %58 to i32\n %60 = icmp eq i32 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_9, label LBL_10\n LBL_10:\n %62 = call i32 @putchar(i32 10)\n %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1\n %exitcond31 = icmp eq i64 %indvars.iv.next29, %26\n store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem\n br i1 %exitcond31, label LBL_11, label LBL_8\n LBL_11:\n %63 = and i32 %20, 2\n %64 = icmp eq i32 %63, 0\n store i64 0, i64* %indvars.iv24.reg2mem\n br label LBL_12\n LBL_12:\n %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem\n br i1 %64, label LBL_14, label LBL_13\n LBL_13:\n %65 = call i64 @FUNC(i64 %arg1)\n %66 = call i64 @FUNC()\n %67 = urem i64 %65, 65536\n %68 = inttoptr i64 %66 to i8*\n %69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i8* %68, i64 %indvars.iv24.reload, i64 %67)\n br label LBL_15\n LBL_14:\n %70 = call i64 @FUNC(i64 %arg1)\n %71 = call i64 @FUNC()\n %72 = urem i64 %70, 256\n %73 = inttoptr i64 %71 to i8*\n %74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i8* %73, i64 %indvars.iv24.reload, i64 %72)\n br label LBL_15\n LBL_15:\n %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1\n %exitcond27 = icmp eq i64 %indvars.iv.next25, %26\n store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem\n br i1 %exitcond27, label LBL_16, label LBL_12\n LBL_16:\n %75 = and i32 %20, 4\n %76 = icmp eq i32 %75, 0\n br i1 %76, label LBL_26, label LBL_17\n LBL_17:\n %77 = call i64 @FUNC(i64 %arg1)\n %78 = call i64 @FUNC()\n %79 = and i64 %77, 4294967295\n %80 = inttoptr i64 %78 to i8*\n %81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_5, i64 0, i64 0), i8* %80, i64 %79)\n %82 = call i64 @FUNC(i64 %arg1)\n %83 = call i64 @FUNC()\n %84 = and i64 %82, 4294967295\n %85 = inttoptr i64 %83 to i8*\n %86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i8* %85, i64 %84)\n %87 = call i64 @FUNC(i64 %arg1)\n %88 = call i64 @FUNC()\n %89 = and i64 %87, 4294967295\n %90 = inttoptr i64 %88 to i8*\n %91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_7, i64 0, i64 0), i8* %90, i64 %89)\n store i64 0, i64* %indvars.iv20.reg2mem\n br i1 %31, label LBL_20, label LBL_18\n LBL_18:\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %92 = call i64 @FUNC(i64 %arg1)\n %93 = and i64 %92, 4294967295\n %94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i64 %indvars.iv20.reload, i64 %93)\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %exitcond23 = icmp eq i64 %indvars.iv.next21, %26\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond23, label LBL_19, label LBL_18\n LBL_19:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %95 = call i64 @FUNC()\n %96 = inttoptr i64 %95 to i8*\n %97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_9, i64 0, i64 0), i8* %96, i64 %indvars.iv.reload)\n %98 = call i64 @FUNC(i64 %arg1)\n %99 = call i32 @putchar(i32 10)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond19 = icmp eq i64 %indvars.iv.next, %26\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond19, label LBL_20, label LBL_19\n LBL_20:\n %100 = call i64 @FUNC(i64 %arg1)\n %101 = trunc i64 %100 to i32\n %102 = urem i32 %101, 65536\n %103 = icmp eq i32 %102, 0\n br i1 %103, label LBL_26, label LBL_21\n LBL_21:\n %104 = and i32 %20, 2\n %105 = icmp eq i32 %104, 0\n store i32 0, i32* %storemerge11.reg2mem\n br label LBL_22\n LBL_22:\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n br i1 %105, label LBL_24, label LBL_23\n LBL_23:\n %106 = call i64 @FUNC(i64 %arg1)\n %107 = urem i64 %106, 65536\n %108 = call i64 @FUNC(i64 %arg1)\n %109 = urem i64 %108, 65536\n store i64 %107, i64* %storemerge29.reg2mem\n store i64 %109, i64* %storemerge1.reg2mem\n br label LBL_25\n LBL_24:\n %110 = call i64 @FUNC(i64 %arg1)\n %111 = urem i64 %110, 256\n %112 = call i64 @FUNC(i64 %arg1)\n %113 = urem i64 %112, 256\n store i64 %111, i64* %storemerge29.reg2mem\n store i64 %113, i64* %storemerge1.reg2mem\n br label LBL_25\n LBL_25:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %storemerge29.reload = load i64, i64* %storemerge29.reg2mem\n %114 = call i64 @FUNC(i64 %arg1)\n %115 = call i64 @FUNC()\n %116 = and i64 %114, 4294967295\n %117 = inttoptr i64 %115 to i8*\n %118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_10, i64 0, i64 0), i8* %117, i64 %storemerge29.reload, i64 %storemerge1.reload, i64 %116)\n %119 = add nuw nsw i32 %storemerge11.reload, 1\n %exitcond = icmp eq i32 %119, %102\n store i32 %119, i32* %storemerge11.reg2mem\n br i1 %exitcond, label LBL_26, label LBL_22\n LBL_26:\n %120 = call i32 @putchar(i32 10)\n %121 = sext i32 %120 to i64\n ret i64 %121\n\n uselistorder i32 %102, { 1, 0 }\n uselistorder i64 %indvars.iv24.reload, { 0, 2, 1 }\n uselistorder i32 %29, { 1, 0 }\n uselistorder i32 %24, { 2, 0, 1 }\n uselistorder i32 %20, { 2, 3, 1, 0 }\n uselistorder i32* %sv_0.018.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv32.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge8.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv28.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv20.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge29.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 (i64)* @readSInt16, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @readBits, { 1, 0 }\n uselistorder i64 ()* @byteAlign, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i32 2, { 2, 1, 0, 3, 4 }\n uselistorder i32 4, { 1, 0, 2 }\n uselistorder i32 65536, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @readUInt16, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 10, { 2, 1, 0, 3 }\n uselistorder i32 (i32)* @putchar, { 4, 3, 2, 0, 1 }\n uselistorder i32 0, { 0, 4, 1, 6, 5, 7, 8, 2, 9, 10, 3 }\n uselistorder i32 (i8*, ...)* @printf, { 11, 10, 9, 6, 5, 4, 8, 7, 3, 2, 1, 0 }\n uselistorder i64 ()* @indent, { 10, 9, 6, 5, 4, 8, 7, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @readUInt8, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TIFFReadEncodedStrip_13459", "fun_name": "TIFFReadEncodedStrip", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_13\n LBL_1:\n %8 = trunc i64 %2 to i32\n %9 = icmp ugt i32 %8, %arg2\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = and i64 %2, 4294967295\n %11 = zext i32 %arg2 to i64\n %12 = add i64 %3, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %10, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_3:\n %16 = add i64 %3, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %3, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp ugt i32 %18, %21\n %spec.select6 = select i1 %22, i32 %21, i32 %18\n %23 = zext i32 %spec.select6 to i64\n %24 = zext i32 %21 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %23)\n %.rhs.trunc = trunc i64 %25 to i32\n %26 = urem i32 %arg2, %.rhs.trunc\n %27 = load i32, i32* %20, align 4\n %28 = mul i32 %spec.select6, %26\n %29 = sub i32 %27, %28\n %30 = icmp ugt i32 %29, %spec.select6\n %spec.select = select i1 %30, i32 %spec.select6, i32 %29\n %31 = zext i32 %spec.select to i64\n %32 = call i64 @FUNC(i64 %3, i64 %31)\n %33 = icmp eq i64 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_4, label LBL_13\n LBL_4:\n %35 = add i64 %3, 14\n %36 = inttoptr i64 %35 to i16*\n %37 = load i16, i16* %36, align 2\n %38 = icmp eq i16 %37, 1\n %39 = icmp eq i1 %38, false\n %40 = icmp eq i64 %arg4, -1\n %or.cond = or i1 %40, %39\n %41 = icmp ugt i64 %32, %arg4\n %or.cond3 = or i1 %41, %or.cond\n br i1 %or.cond3, label LBL_11, label LBL_5\n LBL_5:\n %42 = call i64 @FUNC(i64 %3)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_11, label LBL_6\n LBL_6:\n %46 = add i64 %3, 24\n %47 = inttoptr i64 %46 to i16*\n %48 = load i16, i16* %47, align 2\n %49 = and i16 %48, 2\n %50 = icmp eq i16 %49, 0\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_11, label LBL_7\n LBL_7:\n %52 = call i64 @FUNC(i64 %3, i32 %arg2, i64 %arg3, i64 %32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n %sext1 = mul i64 %52, 4294967296\n %53 = ashr exact i64 %sext1, 32\n %54 = icmp eq i64 %32, %53\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %54, label LBL_8, label LBL_13\n LBL_8:\n %55 = add i64 %3, 12\n %56 = inttoptr i64 %55 to i16*\n %57 = load i16, i16* %56, align 2\n %58 = zext i16 %57 to i64\n %59 = call i64 @FUNC(i64 %3, i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %62, label LBL_13, label LBL_9\n LBL_9:\n %63 = load i16, i16* %47, align 2\n %64 = and i16 %63, 4\n %65 = icmp eq i16 %64, 0\n %66 = icmp eq i1 %65, false\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %66, label LBL_13, label LBL_10\n LBL_10:\n %67 = call i64 @FUNC(i64 %arg3, i64 %32)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %68 = zext i32 %arg2 to i64\n %69 = call i64 @FUNC(i64 %3, i64 %68)\n %70 = trunc i64 %69 to i32\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %72, label LBL_12, label LBL_13\n LBL_12:\n %73 = icmp eq i1 %41, false\n %or.cond5 = or i1 %40, %73\n %sv_0.0 = select i1 %or.cond5, i64 %32, i64 %arg4\n %74 = icmp eq i64* %arg1, null\n %75 = icmp eq i1 %74, false\n %sv_0.0. = select i1 %75, i64 %sv_0.0, i64 4294967295\n store i64 %sv_0.0., i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %41, { 1, 0 }\n uselistorder i1 %40, { 1, 0 }\n uselistorder i64 %32, { 3, 2, 5, 1, 0, 6, 7, 4, 8 }\n uselistorder i32 %spec.select6, { 3, 1, 2, 0 }\n uselistorder i64 %3, { 6, 1, 2, 4, 3, 5, 7, 8, 10, 9, 0, 11 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 5, 4, 3, 6, 7, 9, 8 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i32 %arg2, { 3, 2, 0, 4, 1 }\n uselistorder label LBL_13, { 0, 1, 4, 3, 2, 5, 6, 8, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "entry_guards_update_state_7987", "fun_name": "entry_guards_update_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = call i64 @FUNC(i64 %0)\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = call i64 @FUNC()\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n %6 = icmp eq i32 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %8, i64 0)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_exit_14020", "fun_name": "cpu_exit", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n store i32 1, i32* %arg1, align 4\n %0 = call i64 @FUNC()\n %1 = ptrtoint i32* %arg1 to i64\n %2 = add i64 %1, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 1, i32* %3, align 4\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "NCR_SlewTimes_8911", "fun_name": "NCR_SlewTimes", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = load i128, i128* %0\n %3 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %4 = call i64 @FUNC(i128 %2)\n %5 = call i64 @FUNC(i128 %1)\n %6 = icmp eq i64 %arg1, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %arg1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i128 @__asm_movsd.1(i64 %5)\n %13 = ptrtoint i64* %sv_0 to i64\n %14 = call i128 @FUNC(i128 %12)\n %15 = call i128 @FUNC(i64 %4)\n %16 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %arg1, i64 %13)\n br label LBL_3\n LBL_3:\n %17 = add i64 %arg1, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = add i64 %arg1, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i128 @__asm_movsd.1(i64 %5)\n %27 = call i128 @FUNC(i128 %26)\n %28 = call i128 @FUNC(i64 %4)\n %29 = ptrtoint i64* %sv_0 to i64\n %30 = call i64 @FUNC(i64 %17, i64 %3, i64 %17, i64 %29)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i128* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @UTI_AdjustTimeval, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 4, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "h264bsdInitStorage_10642", "fun_name": "h264bsdInitStorage", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 0, i64 16)\n %6 = bitcast i64* %arg1 to i32*\n store i32 32, i32* %6, align 4\n %7 = add i64 %4, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 256, i32* %8, align 4\n %9 = add i64 %4, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n ret i64 %11\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ExpandMirrorKernelInfo_6646", "fun_name": "ExpandMirrorKernelInfo", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0, i64 180)\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = call i64 @FUNC(i64 %0)\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %5, i64 90)\n %8 = call i64 @FUNC(i64 %0)\n %9 = inttoptr i64 %8 to i64*\n store i64 %5, i64* %9, align 8\n %10 = call i64 @FUNC(i64 %5)\n %11 = icmp eq i64 %10, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %10, i64 180)\n %13 = call i64 @FUNC(i64 %5)\n %14 = inttoptr i64 %13 to i64*\n store i64 %10, i64* %14, align 8\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %5, { 0, 1, 3, 2, 4 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4 }\n uselistorder i64 (i64)* @LastKernelInfo, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @RotateKernelInfo, { 2, 1, 0 }\n uselistorder i64 (i64)* @CloneKernelInfo, { 2, 1, 0 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nsv_read_seek_1706", "fun_name": "nsv_read_seek", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg4 to i32\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 29\n %6 = add i64 %4, %5\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %8, i64 %arg3, i32 %1)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_1, label LBL_3\n LBL_1:\n %16 = inttoptr i64 %8 to i64*\n %17 = load i64, i64* %16, align 8\n %sext1 = mul i64 %12, 4294967296\n %18 = ashr exact i64 %sext1, 28\n %19 = or i64 %18, 8\n %20 = add i64 %17, %19\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %0, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = zext i32 %22 to i64\n %27 = call i64 @FUNC(i64 %25, i64 %26, i64 0)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %30, label LBL_2, label LBL_3\n LBL_2:\n %31 = load i64, i64* %16, align 8\n %32 = add i64 %31, %18\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %11 to i64*\n store i64 %34, i64* %35, align 8\n %36 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %36, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_accept_18923", "fun_name": "qemu_accept", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = bitcast i64* %arg2 to %sockaddr*\n %2 = call i32 @accept4(i32 %0, %sockaddr* %1, i32* %arg3, i32 524288)\n %3 = call i32 @accept(i32 %0, %sockaddr* %1, i32* %arg3)\n %4 = icmp slt i32 %3, 0\n %.pre = zext i32 %3 to i64\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %.pre)\n br label LBL_2\n LBL_2:\n ret i64 %.pre\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_pci_device_unplugged_16214", "fun_name": "virtio_pci_device_unplugged", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n ret i64 %2\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "WildMidi_OpenBuffer_6370", "fun_name": "WildMidi_OpenBuffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n store i32 441668941, i32* %sv_2, align 4\n store i32 1297239878, i32* %sv_1, align 4\n %0 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 63, i64 1, i64 0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_2:\n %4 = icmp eq i64* %arg1, null\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 66, i64 2, i64 ptrtoint ([24 x i8]* @gv_1 to i64), i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_4:\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = trunc i64 %7 to i32\n %9 = icmp ult i32 %8, 1048577\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 69, i64 3, i64 0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_6:\n %11 = icmp ult i32 %8, 18\n br i1 %11, label LBL_7, label LBL_8\n LBL_7:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 72, i64 4, i64 ptrtoint ([12 x i8]* @gv_2 to i64), i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_8:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = call i32 @memcmp(i64* %arg1, i64* bitcast ([9 x i8]* @gv_3 to i64*), i32 8)\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_10, label LBL_9\n LBL_9:\n %17 = and i64 %7, 4294967295\n %18 = call i64 @FUNC(i64 %13, i64 %17)\n store i64 %18, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_10:\n %19 = call i32 @memcmp(i64* %arg1, i64* bitcast ([19 x i8]* @gv_4 to i64*), i32 18)\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_12, label LBL_11\n LBL_11:\n %22 = and i64 %7, 4294967295\n %23 = call i64 @FUNC(i64 %13, i64 %22)\n store i64 %23, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_12:\n %24 = bitcast i32* %sv_2 to i64*\n %25 = call i32 @memcmp(i64* %arg1, i64* nonnull %24, i32 4)\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_14, label LBL_13\n LBL_13:\n %28 = and i64 %7, 4294967295\n %29 = call i64 @FUNC(i64 %13, i64 %28)\n store i64 %29, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_14:\n %30 = bitcast i32* %sv_1 to i64*\n %31 = call i32 @memcmp(i64* %arg1, i64* nonnull %30, i32 4)\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n %34 = and i64 %7, 4294967295\n br i1 %33, label LBL_16, label LBL_15\n LBL_15:\n %35 = call i64 @FUNC(i64 %13, i64 %34)\n store i64 %35, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_16:\n %36 = call i64 @FUNC(i64 %13, i64 %34)\n store i64 %36, i64* %sv_0.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %37 = icmp eq i64 %sv_0.0.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %37, label LBL_20, label LBL_18\n LBL_18:\n %38 = call i64 @FUNC(i64 %sv_0.0.reload)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %40, label LBL_20, label LBL_19\n LBL_19:\n %41 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64 %13, { 3, 4, 2, 1, 0 }\n uselistorder i64 %7, { 3, 2, 1, 0, 4 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 3, 7, 6, 5, 4 }\n uselistorder i32 18, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64)* @_WM_GLOBAL_ERROR, { 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 0, 1, 2, 3, 5, 4 }\n uselistorder label LBL_20, { 2, 1, 0, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cine_read_probe_10020", "fun_name": "cine_read_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 67\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_9, label LBL_1\n LBL_1:\n %4 = add i64 %0, 1\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 73\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_9, label LBL_2\n LBL_2:\n %9 = add i64 %0, 2\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 44\n br i1 %12, label LBL_9, label LBL_3\n LBL_3:\n %13 = add i64 %0, 6\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp sgt i32 %15, 65535\n br i1 %16, label LBL_9, label LBL_4\n LBL_4:\n %17 = add i64 %0, 12\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp sgt i32 %19, 1\n br i1 %20, label LBL_9, label LBL_5\n LBL_5:\n %21 = add i64 %0, 32\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_9, label LBL_6\n LBL_6:\n %25 = add i64 %0, 56\n %26 = call i64 @FUNC(i64 %25)\n %sext = mul i64 %10, 4294967296\n %27 = ashr exact i64 %sext, 32\n %28 = icmp slt i64 %26, %27\n br i1 %28, label LBL_9, label LBL_7\n LBL_7:\n %29 = add i64 %0, 84\n %30 = call i64 @FUNC(i64 %29)\n %31 = icmp slt i64 %30, %27\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = add i64 %0, 116\n %33 = call i64 @FUNC(i64 %32)\n %34 = icmp slt i64 %33, %27\n store i64 100, i64* %storemerge.reg2mem\n br i1 %34, label LBL_9, label LBL_10\n LBL_9:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 1, 2, 3, 4, 5, 7, 6, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @AV_RL32, { 3, 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @AV_RL16, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_content_length_12912", "fun_name": "parse_content_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i64\n %sv_2.011.reg2mem = alloca i32\n %sv_1.012.reg2mem = alloca i32\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge19.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = icmp ult i64 %4, %arg2\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %storemerge19.reg2mem\n store i64 %4, i64* %storemerge.lcssa.reg2mem\n br i1 %6, label LBL_7, label LBL_2\n LBL_1:\n %7 = add i64 %storemerge19.reload, 1\n %8 = icmp ult i64 %7, %arg2\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %storemerge19.reg2mem\n store i64 %7, i64* %storemerge.lcssa.reg2mem\n br i1 %9, label LBL_7, label LBL_2\n LBL_2:\n %storemerge19.reload = load i64, i64* %storemerge19.reg2mem\n %10 = inttoptr i64 %storemerge19.reload to i8*\n %11 = load i8, i8* %10, align 1\n switch i8 %11, label LBL_3 [\n i8 32, label LBL_1\n i8 9, label LBL_1\n ]\n LBL_3:\n %12 = icmp eq i8 %11, 13\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i64 %storemerge19.reload, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, 10\n br i1 %17, label LBL_1, label LBL_5\n LBL_5:\n %18 = icmp eq i8 %11, 10\n %19 = icmp eq i1 %18, false\n store i64 %storemerge19.reload, i64* %storemerge.lcssa.reg2mem\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = add i64 %storemerge19.reload, 1\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n store i64 %storemerge19.reload, i64* %storemerge.lcssa.reg2mem\n switch i8 %22, label LBL_7 [\n i8 32, label LBL_1\n i8 9, label LBL_1\n ]\n LBL_7:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %23 = icmp eq i64 %storemerge.lcssa.reload, %arg2\n store i64 %arg2, i64* %sv_0.3.reg2mem\n br i1 %23, label LBL_24, label LBL_8\n LBL_8:\n %24 = icmp ult i64 %storemerge.lcssa.reload, %arg2\n %25 = icmp eq i1 %24, false\n store i32 0, i32* %sv_1.012.reg2mem\n store i32 0, i32* %sv_2.011.reg2mem\n store i64 %storemerge.lcssa.reload, i64* %sv_0.010.reg2mem\n store i64 %storemerge.lcssa.reload, i64* %sv_0.3.reg2mem\n br i1 %25, label LBL_24, label LBL_12\n LBL_9:\n %26 = mul i32 %sv_1.012.reload, 10\n %27 = sext i8 %42 to i32\n %28 = add i32 %26, -48\n %29 = add i32 %28, %27\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_11, label LBL_10\n LBL_10:\n %32 = sub i64 %arg2, %4\n %33 = and i64 %32, 4294967295\n %34 = sub i64 %sv_0.010.reload, %4\n %35 = and i64 %34, 4294967295\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %35, i64 %33, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_11:\n %37 = add i32 %sv_2.011.reload, 1\n %38 = add i64 %sv_0.010.reload, 1\n %39 = icmp ult i64 %38, %arg2\n %40 = icmp eq i1 %39, false\n store i32 %29, i32* %sv_1.012.reg2mem\n store i32 %37, i32* %sv_2.011.reg2mem\n store i64 %38, i64* %sv_0.010.reg2mem\n store i64 %38, i64* %sv_0.0.lcssa.reg2mem\n store i32 %37, i32* %sv_2.0.lcssa.reg2mem\n store i32 %29, i32* %sv_1.0.lcssa.reg2mem\n br i1 %40, label LBL_13, label LBL_12\n LBL_12:\n %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem\n %sv_2.011.reload = load i32, i32* %sv_2.011.reg2mem\n %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem\n %41 = inttoptr i64 %sv_0.010.reload to i8*\n %42 = load i8, i8* %41, align 1\n %.off = add i8 %42, -48\n %43 = icmp ult i8 %.off, 10\n store i64 %sv_0.010.reload, i64* %sv_0.0.lcssa.reg2mem\n store i32 %sv_2.011.reload, i32* %sv_2.0.lcssa.reg2mem\n store i32 %sv_1.012.reload, i32* %sv_1.0.lcssa.reg2mem\n br i1 %43, label LBL_9, label LBL_13\n LBL_13:\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %44 = icmp eq i64 %sv_0.0.lcssa.reload, %arg2\n %45 = icmp eq i32 %sv_2.0.lcssa.reload, 0\n %or.cond = or i1 %44, %45\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.3.reg2mem\n br i1 %or.cond, label LBL_24, label LBL_14\n LBL_14:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %46 = icmp ult i64 %sv_0.0.lcssa.reload, %arg2\n %47 = icmp eq i1 %46, false\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.16.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %47, label LBL_19, label LBL_16\n LBL_15:\n %48 = add i64 %sv_0.16.reload, 1\n %49 = icmp ult i64 %48, %arg2\n %50 = icmp eq i1 %49, false\n store i64 %48, i64* %sv_0.16.reg2mem\n store i64 %48, i64* %sv_0.1.lcssa.reg2mem\n br i1 %50, label LBL_19, label LBL_16\n LBL_16:\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n %51 = inttoptr i64 %sv_0.16.reload to i8*\n %52 = load i8, i8* %51, align 1\n switch i8 %52, label LBL_17 [\n i8 32, label LBL_15\n i8 9, label LBL_15\n ]\n LBL_17:\n %53 = icmp eq i8 %52, 10\n %54 = icmp eq i1 %53, false\n store i64 %sv_0.16.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %54, label LBL_19, label LBL_18\n LBL_18:\n %55 = add i64 %sv_0.16.reload, 1\n %56 = inttoptr i64 %55 to i8*\n %57 = load i8, i8* %56, align 1\n store i64 %sv_0.16.reload, i64* %sv_0.1.lcssa.reg2mem\n switch i8 %57, label LBL_19 [\n i8 32, label LBL_15\n i8 9, label LBL_15\n ]\n LBL_19:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %58 = icmp eq i64 %sv_0.1.lcssa.reload, %arg2\n store i64 %arg2, i64* %sv_0.3.reg2mem\n br i1 %58, label LBL_24, label LBL_20\n LBL_20:\n %59 = add i64 %sv_0.1.lcssa.reload, 1\n %60 = inttoptr i64 %sv_0.1.lcssa.reload to i8*\n %61 = load i8, i8* %60, align 1\n %62 = icmp eq i8 %61, 10\n store i64 %59, i64* %sv_0.2.reg2mem\n br i1 %62, label LBL_23, label LBL_21\n LBL_21:\n %63 = icmp eq i8 %61, 13\n %64 = icmp eq i1 %63, false\n store i64 %59, i64* %sv_0.3.reg2mem\n br i1 %64, label LBL_24, label LBL_22\n LBL_22:\n %65 = add i64 %sv_0.1.lcssa.reload, 2\n %66 = inttoptr i64 %59 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = icmp eq i8 %67, 10\n %69 = icmp eq i1 %68, false\n store i64 %65, i64* %sv_0.2.reg2mem\n store i64 %65, i64* %sv_0.3.reg2mem\n br i1 %69, label LBL_24, label LBL_23\n LBL_23:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %70 = bitcast i64* %arg3 to i32*\n store i32 %sv_1.0.lcssa.reload, i32* %70, align 4\n store i64 %sv_0.2.reload, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_24:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %71 = inttoptr i64 %sv_0.3.reload to i8*\n %72 = load i8, i8* %71, align 1\n %73 = sext i8 %72 to i64\n %74 = and i64 %73, 4294967295\n %75 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %74, i64 %73, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_25:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %73, { 1, 0 }\n uselistorder i64 %59, { 2, 0, 1 }\n uselistorder i64 %sv_0.1.lcssa.reload, { 0, 3, 2, 1 }\n uselistorder i8 %52, { 1, 0 }\n uselistorder i64 %sv_0.16.reload, { 0, 3, 1, 2, 4 }\n uselistorder i64 %sv_0.0.lcssa.reload, { 1, 2, 4, 0, 3 }\n uselistorder i64 %sv_0.010.reload, { 0, 2, 3, 1 }\n uselistorder i64 %storemerge.lcssa.reload, { 0, 1, 3, 2 }\n uselistorder i8 %11, { 0, 2, 1 }\n uselistorder i64 %storemerge19.reload, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %4, { 5, 4, 3, 0, 1, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge19.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.012.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.011.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.010.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.16.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 3, 4, 5, 1, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LM_ERR, { 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i8 10, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 1, { 1, 2, 0, 3, 5, 6, 4 }\n uselistorder i1 false, { 3, 4, 5, 6, 2, 8, 7, 1, 9, 10, 11, 0 }\n uselistorder i64 %arg2, { 0, 6, 7, 4, 8, 9, 5, 3, 1, 10, 11, 2 }\n uselistorder label LBL_24, { 2, 1, 3, 4, 0, 5 }\n uselistorder label LBL_19, { 2, 1, 0, 3 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 0, 1, 4, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_mq_tag_to_rq_10970", "fun_name": "blk_mq_tag_to_rq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = mul i64 %arg2, 8\n %3 = and i64 %2, 34359738360\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %6 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %9)\n %13 = call i64 @FUNC(i64 %6, i64 %12, i32 %1)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %6, i64* %storemerge.reg2mem\n br i1 %16, label LBL_1, label LBL_2\n LBL_1:\n %17 = inttoptr i64 %12 to i64*\n %18 = load i64, i64* %17, align 8\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "SSL_CTX_check_private_key_7979", "fun_name": "SSL_CTX_check_private_key", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n %1 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 1, i64 3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %9 = call i64 @FUNC(i64 %2, i64 %5)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @SSLerr, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_setEdgePixel_12558", "fun_name": "_setEdgePixel", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = load i128, i128* %0\n %2 = and i64 %arg5, 4294967295\n %3 = call i64 @FUNC(i64 127)\n %4 = mul i64 %arg3, 8\n %5 = and i64 %4, 34359738360\n %6 = add nuw nsw i64 %5, 127\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = mul i64 %arg2, 4\n %10 = and i64 %9, 17179869180\n %11 = add i64 %8, %10\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i64 %3, 4294967295\n %15 = and i64 %arg4, 4294967295\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i128 @FUNC(i128 %1, i128 %1)\n %20 = trunc i64 %18 to i32\n %21 = call i128 @FUNC(i32 %20)\n %22 = load i32, i32* inttoptr (i64 4202524 to i32*), align 4\n %23 = call i128 @FUNC(i32 %22)\n %24 = call i128 @FUNC(i128 %23, i128 %21)\n %25 = call i32 @FUNC(i128 %24)\n %26 = mul i32 %25, 16777216\n %27 = or i32 %26, %13\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %2, i64 %28)\n ret i64 %29\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "htab_load_15785", "fun_name": "htab_load", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rsi.1.be.reg2mem = alloca i64\n %rsi.2.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rsi.1.ph.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i32\n %rsi.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i64, align 8\n %5 = icmp eq i32 %arg3, 1\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = sext i32 %arg3 to i64\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %6, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_2:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = and i64 %9, 4294967295\n %13 = call i64 @FUNC(i64 %4, i64 %12, i64* nonnull %sv_1)\n %14 = load i64, i64* %sv_1, align 8\n %15 = icmp eq i64 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_29, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %14)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_5:\n %17 = icmp eq i64* %arg2, null\n %18 = icmp eq i1 %17, false\n store i32 -1, i32* %sv_0.0.ph.reg2mem\n store i64 %4, i64* %rsi.1.ph.reg2mem\n br i1 %18, label LBL_10, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC()\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 1, i64* %rdx.0.reg2mem\n store i64 %4, i64* %rsi.0.reg2mem\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 81, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0))\n store i64 ptrtoint ([10 x i8]* @gv_3 to i64), i64* %rcx.0.reg2mem\n store i64 81, i64* %rdx.0.reg2mem\n store i64 ptrtoint ([43 x i8]* @gv_2 to i64), i64* %rsi.0.reg2mem\n br label LBL_8\n LBL_8:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %23 = call i64 @FUNC(i64 1)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i32 %24, i32* %sv_0.0.ph.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.1.ph.reg2mem\n br i1 %26, label LBL_10, label LBL_9\n LBL_9:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %27 = call i32* @__errno_location()\n %28 = load i32, i32* %27, align 4\n %29 = call i8* @strerror(i32 %28)\n %30 = ptrtoint i8* %29 to i64\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_4, i64 0, i64 0), i64 %30, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n store i32 %24, i32* %sv_0.0.ph.reg2mem\n store i64 %30, i64* %rsi.1.ph.reg2mem\n br label LBL_10\n LBL_10:\n %rsi.1.ph.reload = load i64, i64* %rsi.1.ph.reg2mem\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %32 = icmp slt i32 %sv_0.0.ph.reload, 0\n %33 = icmp eq i1 %32, false\n %34 = zext i32 %sv_0.0.ph.reload to i64\n store i64 %rsi.1.ph.reload, i64* %rsi.1.reg2mem\n br label LBL_11\n LBL_11:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %35 = call i64 @FUNC(i64 %8)\n %36 = trunc i64 %35 to i32\n %37 = call i64 @FUNC(i64 %8)\n %38 = trunc i64 %37 to i32\n %sext = mul i32 %38, 65536\n %39 = ashr exact i32 %sext, 16\n %40 = call i64 @FUNC(i64 %8)\n %41 = trunc i64 %40 to i32\n %sext4 = mul i32 %41, 65536\n %42 = ashr exact i32 %sext4, 16\n %43 = icmp eq i32 %36, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_13, label LBL_12\n LBL_12:\n %45 = or i32 %42, %39\n %46 = trunc i32 %45 to i16\n %47 = icmp eq i16 %46, 0\n br i1 %47, label LBL_25, label LBL_13\n LBL_13:\n %48 = urem i32 %39, 65536\n %49 = add i32 %48, %36\n %50 = urem i32 %42, 65536\n %51 = add i32 %50, %49\n %52 = icmp ult i32 %51, 16385\n br i1 %52, label LBL_15, label LBL_14\n LBL_14:\n %53 = add i64 %4, 8\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = zext i32 %50 to i64\n %57 = zext i32 %48 to i64\n %58 = zext i32 %55 to i64\n %59 = and i64 %35, 4294967295\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @gv_5, i64 0, i64 0), i64 %59, i64 %57, i64 %56, i64 %58, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_15:\n %61 = icmp eq i64 %rsi.1.reload, 0\n br i1 %61, label LBL_21, label LBL_16\n LBL_16:\n %62 = trunc i32 %39 to i16\n %63 = icmp eq i16 %62, 0\n store i64 %rsi.1.reload, i64* %rsi.2.reg2mem\n br i1 %63, label LBL_18, label LBL_17\n LBL_17:\n %64 = mul i64 %37, 64\n %65 = and i64 %64, 4194240\n %66 = mul i64 %35, 64\n %67 = and i64 %66, 4294967232\n %68 = add i64 %67, %rsi.1.reload\n %69 = call i64 @FUNC(i64 %8, i64 %68, i64 %65)\n store i64 %68, i64* %rsi.2.reg2mem\n br label LBL_18\n LBL_18:\n %rsi.2.reload = load i64, i64* %rsi.2.reg2mem\n %70 = trunc i32 %42 to i16\n %71 = icmp eq i16 %70, 0\n store i64 %rsi.2.reload, i64* %rsi.1.be.reg2mem\n br i1 %71, label LBL_11.backedge, label LBL_20\n LBL_19:\n %rsi.1.be.reload = load i64, i64* %rsi.1.be.reg2mem\n store i64 %rsi.1.be.reload, i64* %rsi.1.reg2mem\n br label LBL_11\n LBL_20:\n %72 = mul i32 %41, 64\n %73 = and i32 %72, 4194240\n %74 = mul i32 %49, 64\n %75 = zext i32 %74 to i64\n %76 = add i64 %rsi.2.reload, %75\n %77 = inttoptr i64 %76 to i64*\n %78 = call i64* @memset(i64* %77, i32 0, i32 %73)\n store i64 0, i64* %rsi.1.be.reg2mem\n br label LBL_11.backedge\n LBL_21:\n br i1 %33, label LBL_23, label LBL_22\n LBL_22:\n call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 109, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_23\n LBL_23:\n %79 = trunc i32 %39 to i16\n %80 = zext i32 %50 to i64\n %81 = call i64 @FUNC(i64 %8, i32 %sv_0.0.ph.reload, i32 %36, i16 %79, i64 %80)\n %82 = trunc i64 %81 to i32\n %83 = icmp slt i32 %82, 0\n %84 = icmp eq i1 %83, false\n store i64 %34, i64* %rsi.1.be.reg2mem\n br i1 %84, label LBL_11.backedge, label LBL_24\n LBL_24:\n %85 = and i64 %81, 4294967295\n store i64 %85, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_25:\n %86 = icmp eq i64 %rsi.1.reload, 0\n %87 = icmp eq i1 %86, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %87, label LBL_29, label LBL_26\n LBL_26:\n br i1 %33, label LBL_28, label LBL_27\n LBL_27:\n call void @__assert_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0), i32 114, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_28\n LBL_28:\n %88 = call i32 @close(i32 %sv_0.0.ph.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_29\n LBL_29:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rsi.2.reload, { 1, 0 }\n uselistorder i32 %50, { 1, 2, 0 }\n uselistorder i32 %48, { 1, 0 }\n uselistorder i32 %42, { 2, 0, 1 }\n uselistorder i32 %39, { 2, 3, 0, 1 }\n uselistorder i32 %36, { 1, 0, 2 }\n uselistorder i64 %rsi.1.reload, { 3, 2, 0, 1 }\n uselistorder i32 %sv_0.0.ph.reload, { 0, 2, 1, 3 }\n uselistorder i32 %24, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0, 2, 4, 3, 5 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64 %4, { 4, 1, 0, 3, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rsi.1.ph.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rsi.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.1.be.reg2mem, { 3, 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 6, 5, 3, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i16 0, { 1, 2, 0 }\n uselistorder i32 65536, { 2, 3, 0, 1 }\n uselistorder i64 (i64)* @qemu_get_be16, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 1 }\n uselistorder [10 x i8]* @gv_3, { 1, 0 }\n uselistorder [43 x i8]* @gv_2, { 1, 0 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i1 false, { 0, 1, 3, 2, 4, 5, 6 }\n uselistorder i32 0, { 1, 0, 3, 2, 4, 5, 6 }\n uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 }\n uselistorder i64 4294967274, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder label LBL_29, { 1, 0, 3, 4, 5, 2, 6 }\n uselistorder label LBL_11.backedge, { 2, 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mailesmtp_starttls_12193", "fun_name": "mailesmtp_starttls", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_7\n LBL_2:\n %10 = call i64 @FUNC(i64 %5)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 454\n store i64 4294967293, i64* %rax.0.reg2mem\n br i1 %12, label LBL_7, label LBL_3\n LBL_3:\n %13 = icmp sgt i32 %11, 454\n br i1 %13, label LBL_6, label LBL_4\n LBL_4:\n %14 = icmp eq i32 %11, 0\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %14, label LBL_7, label LBL_5\n LBL_5:\n %15 = icmp eq i32 %11, 220\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_6, label LBL_7\n LBL_6:\n store i64 4294967292, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 1, 2, 4, 5 }\n uselistorder i32 454, { 1, 0 }\n uselistorder label LBL_7, { 5, 2, 0, 1, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ap_handshake_socks_reply_4196", "fun_name": "ap_handshake_socks_reply", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i8, align 1\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n store i8 0, i8* %sv_0, align 1\n %3 = call i64 @FUNC(i8* nonnull %sv_0, i64 8, i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n ret i64 %4\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shapeOf_8915", "fun_name": "shapeOf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_5\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 4198709\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_5\n LBL_2:\n %11 = icmp eq i64 %8, 4198720\n %12 = icmp eq i1 %11, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_5\n LBL_3:\n %13 = icmp eq i64 %8, 4198731\n %14 = icmp eq i1 %13, false\n store i64 3, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_5\n LBL_4:\n %15 = icmp eq i64 %8, 4198742\n %16 = icmp eq i1 %15, false\n %. = select i1 %16, i64 0, i64 4\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @ND_shape, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nntp_active_save_cache_8129", "fun_name": "nntp_active_save_cache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %r9.1.lcssa.reg2mem = alloca i64\n %r8.1.lcssa.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64*\n %r9.0.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %.reg2mem14 = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i64\n %sv_1.27.reg2mem = alloca i64\n %sv_0.18.reg2mem = alloca i64\n %r8.19.reg2mem = alloca i64\n %r9.110.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i8*, align 8\n %sv_4 = alloca i64, align 8\n store i8* null, i8** %sv_3, align 8\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_13\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 1, i64 10240)\n %7 = inttoptr i64 %6 to i8*\n store i8* %7, i8** %sv_3, align 8\n %8 = add i64 %5, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = trunc i64 %10 to i32\n %12 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %7, i32 10240, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %11)\n %13 = call i32 @strlen(i8* %7)\n %14 = add i64 %5, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_1.LBL_12_crit_edge, label LBL_3\n LBL_2:\n %.pre13 = bitcast i8** %sv_3 to i64*\n store i64* %.pre13, i64** %.pre-phi.reg2mem\n br label LBL_12\n LBL_3:\n %18 = ptrtoint i64* %sv_4 to i64\n %19 = sext i32 %13 to i64\n %20 = add i64 %5, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = bitcast i8** %sv_3 to i64*\n %23 = add i64 %18, -16\n %24 = inttoptr i64 %23 to i64*\n %25 = add i64 %18, -24\n %26 = inttoptr i64 %25 to i64*\n %27 = add i64 %18, -32\n %28 = inttoptr i64 %27 to i64*\n store i32 %16, i32* %.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %19, i64* %sv_0.18.reg2mem\n store i64 10240, i64* %sv_1.27.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.27.reload = load i64, i64* %sv_1.27.reg2mem\n %sv_0.18.reload = load i64, i64* %sv_0.18.reg2mem\n %r8.19.reload = load i64, i64* %r8.19.reg2mem\n %r9.110.reload = load i64, i64* %r9.110.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %29 = load i64, i64* %21, align 8\n %30 = mul i64 %indvars.iv.reload, 8\n %31 = add i64 %29, %30\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n store i32 %.reload, i32* %.reg2mem14\n store i64 %sv_1.27.reload, i64* %sv_1.1.reg2mem\n store i64 %sv_0.18.reload, i64* %sv_0.0.reg2mem\n store i64 %r8.19.reload, i64* %r8.0.reg2mem\n store i64 %r9.110.reload, i64* %r9.0.reg2mem\n br i1 %34, label LBL_11, label LBL_5\n LBL_5:\n %35 = add i64 %33, 20\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i32 %.reload, i32* %.reg2mem14\n store i64 %sv_1.27.reload, i64* %sv_1.1.reg2mem\n store i64 %sv_0.18.reload, i64* %sv_0.0.reg2mem\n store i64 %r8.19.reload, i64* %r8.0.reg2mem\n store i64 %r9.110.reload, i64* %r9.0.reg2mem\n br i1 %39, label LBL_11, label LBL_6\n LBL_6:\n %40 = inttoptr i64 %33 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %41 to i8*\n %43 = call i32 @strlen(i8* %42)\n %44 = add i64 %33, 24\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp eq i64 %46, 0\n store i64 0, i64* %storemerge6.reg2mem\n br i1 %47, label LBL_8, label LBL_7\n LBL_7:\n %48 = inttoptr i64 %46 to i8*\n %49 = call i32 @strlen(i8* %48)\n %50 = sext i32 %49 to i64\n store i64 %50, i64* %storemerge6.reg2mem\n br label LBL_8\n LBL_8:\n %51 = sext i32 %43 to i64\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %52 = add i64 %sv_0.18.reload, 50\n %53 = add i64 %52, %51\n %54 = add i64 %53, %storemerge6.reload\n %55 = icmp ult i64 %sv_1.27.reload, %54\n %56 = icmp eq i1 %55, false\n store i64 %sv_1.27.reload, i64* %sv_1.0.reg2mem\n br i1 %56, label LBL_10, label LBL_9\n LBL_9:\n %57 = mul i64 %sv_1.27.reload, 2\n %58 = call i64 @FUNC(i64* nonnull %22, i64 %57)\n store i64 %57, i64* %sv_1.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %59 = load i64, i64* %45, align 8\n %60 = icmp eq i64 %59, 0\n %spec.select = select i1 %60, i64 ptrtoint (i64* @gv_1 to i64), i64 %59\n %. = select i1 %60, i64 ptrtoint (i64* @gv_1 to i64), i64 ptrtoint (i64* @gv_2 to i64)\n %61 = add i64 %33, 16\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = icmp eq i32 %63, 0\n %storemerge3 = select i1 %64, i64 110, i64 121\n %65 = add i64 %33, 12\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = add i64 %33, 8\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = load i64, i64* %40, align 8\n %72 = sub i64 %sv_1.0.reload, %sv_0.18.reload\n %73 = load i8*, i8** %sv_3, align 8\n %74 = ptrtoint i8* %73 to i64\n %75 = add i64 %sv_0.18.reload, %74\n store i64 %spec.select, i64* %24, align 8\n store i64 %., i64* %26, align 8\n store i64 %storemerge3, i64* %28, align 8\n %76 = zext i32 %67 to i64\n %77 = zext i32 %70 to i64\n %78 = inttoptr i64 %75 to i8*\n %79 = trunc i64 %72 to i32\n %80 = inttoptr i64 %71 to i8*\n %81 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %78, i32 %79, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i8* %80, i32 %70, i32 %67)\n %82 = load i8*, i8** %sv_3, align 8\n %83 = ptrtoint i8* %82 to i64\n %84 = add i64 %sv_0.18.reload, %83\n %85 = inttoptr i64 %84 to i8*\n %86 = call i32 @strlen(i8* %85)\n %87 = sext i32 %86 to i64\n %88 = add i64 %sv_0.18.reload, %87\n %.pre = load i32, i32* %15, align 4\n store i32 %.pre, i32* %.reg2mem14\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %88, i64* %sv_0.0.reg2mem\n store i64 %77, i64* %r8.0.reg2mem\n store i64 %76, i64* %r9.0.reg2mem\n br label LBL_11\n LBL_11:\n %r9.0.reload = load i64, i64* %r9.0.reg2mem\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %.reload15 = load i32, i32* %.reg2mem14\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %89 = zext i32 %.reload15 to i64\n %90 = icmp ult i64 %indvars.iv.next, %89\n store i32 %.reload15, i32* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %r9.0.reload, i64* %r9.110.reg2mem\n store i64 %r8.0.reload, i64* %r8.19.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.18.reg2mem\n store i64 %sv_1.1.reload, i64* %sv_1.27.reg2mem\n store i64* %22, i64** %.pre-phi.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.lcssa.reg2mem\n store i64 %r9.0.reload, i64* %r9.1.lcssa.reg2mem\n br i1 %90, label LBL_4, label LBL_12\n LBL_12:\n %r9.1.lcssa.reload = load i64, i64* %r9.1.lcssa.reg2mem\n %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %91 = add i64 %5, 32\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = call i64 @FUNC(i64* nonnull %sv_2, i64 4096, i64 %93, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0))\n %95 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_2, i64 ptrtoint ([8 x i8]* @gv_4 to i64), i64 %r8.1.lcssa.reload, i64 %r9.1.lcssa.reload)\n %96 = load i8*, i8** %sv_3, align 8\n %97 = ptrtoint i8* %96 to i64\n %98 = call i64 @FUNC(i64* nonnull %sv_2, i64 %97)\n %99 = call i64 @FUNC(i64* nonnull %.pre-phi.reload)\n %100 = and i64 %98, 4294967295\n store i64 %100, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %.reload15, { 1, 0 }\n uselistorder i64 %33, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 %sv_0.18.reload, { 6, 5, 4, 2, 3, 0, 1 }\n uselistorder i64 %sv_1.27.reload, { 4, 2, 3, 0, 1 }\n uselistorder i64 %5, { 1, 2, 0, 3 }\n uselistorder i8** %sv_3, { 5, 4, 3, 6, 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %r9.110.reg2mem, { 1, 0 }\n uselistorder i64* %r8.19.reg2mem, { 1, 0 }\n uselistorder i64* %sv_0.18.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.27.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder [8 x i8]* @gv_4, { 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 3, 2, 0, 1 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_event__header_size_110", "fun_name": "perf_event__header_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.4.reg2mem = alloca i16\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %0 to i16\n %3 = mul i16 %2, 8\n %4 = and i16 %3, 8\n %5 = and i64 %0, 2\n %6 = icmp eq i64 %5, 0\n %7 = add nuw nsw i16 %4, 8\n %sv_0.1 = select i1 %6, i16 %4, i16 %7\n %8 = and i64 %0, 4\n %9 = icmp eq i64 %8, 0\n %10 = add nuw nsw i16 %sv_0.1, 8\n %spec.select1 = select i1 %9, i16 %sv_0.1, i16 %10\n %11 = and i64 %0, 8\n %12 = icmp eq i64 %11, 0\n %13 = add nuw nsw i16 %spec.select1, 8\n %sv_0.3 = select i1 %12, i16 %spec.select1, i16 %13\n %14 = and i64 %0, 16\n %15 = icmp eq i64 %14, 0\n store i16 %sv_0.3, i16* %sv_0.4.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = add i64 %0, 8\n %17 = inttoptr i64 %16 to i16*\n %18 = load i16, i16* %17, align 2\n %19 = add i16 %18, %sv_0.3\n store i16 %19, i16* %sv_0.4.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.4.reload = load i16, i16* %sv_0.4.reg2mem\n %20 = and i64 %0, 32\n %21 = icmp eq i64 %20, 0\n %22 = add i16 %sv_0.4.reload, 8\n %spec.select2 = select i1 %21, i16 %sv_0.4.reload, i16 %22\n %23 = and i64 %0, 64\n %24 = icmp eq i64 %23, 0\n %25 = add i16 %spec.select2, 8\n %sv_0.6 = select i1 %24, i16 %spec.select2, i16 %25\n %26 = add i64 %0, 10\n %27 = inttoptr i64 %26 to i16*\n store i16 %sv_0.6, i16* %27, align 2\n ret i64 %0\n\n uselistorder i16 %sv_0.4.reload, { 1, 0 }\n uselistorder i16 %sv_0.3, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 5, 1, 6, 7, 8, 9, 0, 10 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i16 8, { 2, 3, 4, 5, 6, 1, 0, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "compare_osa_pw_hist_ent_8865", "fun_name": "compare_osa_pw_hist_ent", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n store i32 0, i32* %storemerge3.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n store i32 %10, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %11 = trunc i64 %2 to i32\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %12 = icmp eq i32 %11, 0\n store i32 0, i32* %storemerge.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = ptrtoint i32* %arg2 to i64\n %14 = add i64 %13, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n store i32 %18, i32* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %19 = sub i32 %storemerge3.reload, %storemerge.reload\n %20 = zext i32 %19 to i64\n ret i64 %20\n\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_htab_fd_16756", "fun_name": "get_htab_fd", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC(i64 0)\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* %arg1, align 4\n %6 = call i32* @__errno_location()\n %7 = load i32, i32* %6, align 4\n %8 = call i8* @strerror(i32 %7)\n %9 = ptrtoint i8* %8 to i64\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %9)\n br label LBL_2\n LBL_2:\n %storemerge = and i64 %1, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "numa_add_15975", "fun_name": "numa_add", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %sv_1 = alloca i8*, align 8\n %sv_2 = alloca i64, align 8\n %0 = call i64 @FUNC(i64* nonnull %sv_2, i64 128, i64 %arg1, i64 44)\n %1 = inttoptr i64 %0 to i8*\n %2 = load i8, i8* %1, align 1\n %3 = bitcast i64* %sv_2 to i8*\n %4 = call i32 @strcmp(i8* nonnull %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_21, label LBL_1\n LBL_1:\n %7 = load i64, i64* @gv_1, align 8\n %8 = icmp ult i64 %7, 128\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %10 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_3 to i64*), i32 1, i32 26, %_IO_FILE* %9)\n call void @exit(i32 1)\n unreachable\n LBL_3:\n %11 = icmp eq i8 %2, 44\n %12 = icmp eq i1 %11, false\n %13 = add i64 %0, 1\n %14 = inttoptr i64 %13 to i8*\n %sv_3.0 = select i1 %12, i8* %1, i8* %14\n %15 = ptrtoint i8* %sv_3.0 to i64\n %16 = call i64 @FUNC(i64* nonnull %sv_2, i64 128, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = load i64, i64* @gv_1, align 8\n store i64 %20, i64* %storemerge3.reg2mem\n br label LBL_6\n LBL_5:\n %21 = call i64 @strtoull(i8* nonnull %3, i8** null, i32 10)\n store i64 %21, i64* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %22 = icmp ult i64 %storemerge3.reload, 128\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_5, i64 0, i64 0), i64 %storemerge3.reload)\n call void @exit(i32 1)\n unreachable\n LBL_8:\n %25 = call i64 @FUNC(i64* nonnull %sv_2, i64 128, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0), i64 %15)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %29 = mul i64 %storemerge3.reload, 8\n %30 = add i64 %29, ptrtoint (i64* @gv_7 to i64)\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n br label LBL_14\n LBL_10:\n %32 = bitcast i8** %sv_1 to i64*\n %33 = call i64 @FUNC(i64* nonnull %sv_2, i64* nonnull %32)\n %34 = icmp slt i64 %33, 0\n br i1 %34, label LBL_12, label LBL_11\n LBL_11:\n %35 = load i8*, i8** %sv_1, align 8\n %36 = load i8, i8* %35, align 1\n %37 = icmp eq i8 %36, 0\n br i1 %37, label LBL_13, label LBL_12\n LBL_12:\n %38 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %39 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %38, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_8, i64 0, i64 0), i8* %sv_3.0)\n call void @exit(i32 1)\n unreachable\n LBL_13:\n %40 = mul i64 %storemerge3.reload, 8\n %41 = add i64 %40, ptrtoint (i64* @gv_7 to i64)\n %42 = inttoptr i64 %41 to i64*\n store i64 %33, i64* %42, align 8\n br label LBL_14\n LBL_14:\n %43 = call i64 @FUNC(i64* nonnull %sv_2, i64 128, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i64 %15)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_20, label LBL_15\n LBL_15:\n %46 = call i64 @strtoull(i8* nonnull %3, i8** nonnull %sv_1, i32 10)\n %47 = load i8*, i8** %sv_1, align 8\n %48 = load i8, i8* %47, align 1\n %49 = icmp eq i8 %48, 45\n %50 = icmp eq i1 %49, false\n store i64 %46, i64* %storemerge.reg2mem\n br i1 %50, label LBL_17, label LBL_16\n LBL_16:\n %51 = ptrtoint i8* %47 to i64\n %52 = add i64 %51, 1\n %53 = inttoptr i64 %52 to i8*\n %54 = call i64 @strtoull(i8* %53, i8** nonnull %sv_1, i32 10)\n store i64 %54, i64* %storemerge.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %55 = icmp ult i64 %storemerge.reload, 64\n store i64 %storemerge.reload, i64* %sv_0.0.reg2mem\n br i1 %55, label LBL_19, label LBL_18\n LBL_18:\n %56 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %57 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %56, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_10, i64 0, i64 0), i64 64)\n store i64 63, i64* %sv_0.0.reg2mem\n br label LBL_19\n LBL_19:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %58 = sub i64 1, %46\n %59 = add i64 %58, %sv_0.0.reload\n %60 = mul i64 %storemerge3.reload, 8\n %61 = add i64 %60, ptrtoint (i64* @gv_11 to i64)\n %62 = call i64 @FUNC(i64 %61, i64 %46, i64 %59)\n br label LBL_20\n LBL_20:\n %63 = load i64, i64* @gv_1, align 8\n %64 = add i64 %63, 1\n store i64 %64, i64* @gv_1, align 8\n ret i64 %64\n LBL_21:\n %65 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %66 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %65, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_12, i64 0, i64 0), i64* nonnull %sv_2)\n call void @exit(i32 1)\n unreachable\n\n uselistorder i64 %46, { 2, 1, 0 }\n uselistorder i64 %storemerge3.reload, { 4, 3, 2, 1, 0 }\n uselistorder i8* %sv_3.0, { 1, 0 }\n uselistorder i8** %sv_1, { 4, 1, 3, 0, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 64, { 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32 10, { 1, 2, 0, 3 }\n uselistorder i64 (i64*, i64, i8*, i64)* @get_param_value, { 2, 1, 0 }\n uselistorder void (i32)* @exit, { 3, 2, 1, 0 }\n uselistorder i1 false, { 0, 1, 2, 4, 3 }\n uselistorder i64 128, { 2, 3, 0, 4, 1, 5 }\n uselistorder label LBL_17, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_cmd_11250", "fun_name": "do_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i32 @system(i8* %0)\n %2 = icmp eq i32 %1, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = urem i32 %1, 128\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n store i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i8* %0)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n store i64 ptrtoint ([29 x i8]* @gv_2 to i64), i64* %arg1, align 8\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "oprofile_timer_init_4344", "fun_name": "oprofile_timer_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = call i64 @FUNC(i64* nonnull @gv_0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = and i64 %6, 4294967295\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg1, align 8\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = add i64 %10, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = add i64 %10, 24\n %16 = inttoptr i64 %15 to i64*\n store i64 4198694, i64* %16, align 8\n %17 = add i64 %10, 32\n %18 = inttoptr i64 %17 to i64*\n store i64 4198705, i64* %18, align 8\n %19 = add i64 %10, 40\n %20 = inttoptr i64 %19 to i64*\n store i64 ptrtoint ([6 x i8]* @gv_1 to i64), i64* %20, align 8\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 0, { 0, 2, 3, 9, 10, 11, 4, 5, 1, 6, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_diff_limited_q_3211", "fun_name": "get_diff_limited_q", "llvm_ir_function": "define i128 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %sv_0.2.off0.reg2mem = alloca i64\n %.pre-phi11.reg2mem = alloca i64*\n %sv_0.1.reg2mem = alloca i128\n %zf.1.reg2mem = alloca i1\n %cf.1.reg2mem = alloca i1\n %sv_0.0.reg2mem = alloca i128\n %cf.0.reg2mem = alloca i1\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i128 %4)\n %7 = sext i64 %6 to i128\n %8 = add i64 %5, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = trunc i64 %2 to i32\n %12 = call i128 @__asm_movsd.1(i64 %5)\n %13 = call i64 @FUNC(i128 %12)\n %14 = add i64 %5, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = sext i32 %16 to i64\n %18 = mul i64 %17, 8\n %19 = add i64 %18, %5\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i128 @__asm_movsd.1(i64 %21)\n %23 = call i64 @FUNC(i128 %22)\n %24 = icmp eq i32 %11, 1\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_4, label LBL_1\n LBL_1:\n %26 = icmp eq i32 %11, 0\n %27 = inttoptr i64 %10 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i128 @__asm_movsd.1(i64 %28)\n %30 = call i128 @FUNC(i128 %3, i128 %3)\n call void @FUNC(i128 %29, i128 %30)\n %31 = icmp ult i32 %11, 2\n store i1 %26, i1* %cf.0.reg2mem\n br i1 %31, label LBL_2, label LBL_3\n LBL_2:\n %32 = load i32, i32* %15, align 4\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i1 false, i1* %cf.0.reg2mem\n store i128 %7, i128* %sv_0.0.reg2mem\n store i1 true, i1* %cf.1.reg2mem\n store i1 false, i1* %zf.1.reg2mem\n br i1 %34, label LBL_7, label LBL_3\n LBL_3:\n %cf.0.reload = load i1, i1* %cf.0.reg2mem\n %35 = load i64, i64* %27, align 8\n %36 = call i128 @__asm_movsd.1(i64 %35)\n %37 = call i128 @FUNC(i128 %29, i128 %29)\n call void @FUNC(i128 %37, i128 %36)\n %38 = load i64, i64* %27, align 8\n %39 = call i128 @__asm_movsd.1(i64 %38)\n %40 = call i128 @FUNC(i128 %39)\n %41 = call i128 @FUNC(i128 %40, i64 %13)\n %42 = add i64 %10, 8\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i128 @__asm_movsd.1(i64 %44)\n %46 = call i128 @FUNC(i128 %45, i128 %41)\n %47 = call i64 @FUNC(i128 %46)\n %48 = sext i64 %47 to i128\n store i128 %48, i128* %sv_0.0.reg2mem\n store i1 %cf.0.reload, i1* %cf.1.reg2mem\n store i1 true, i1* %zf.1.reg2mem\n br label LBL_7\n LBL_4:\n %49 = icmp ult i32 %11, 2\n %50 = icmp eq i32 %11, 2\n %51 = icmp eq i1 %50, false\n store i128 %7, i128* %sv_0.0.reg2mem\n store i1 %49, i1* %cf.1.reg2mem\n store i1 false, i1* %zf.1.reg2mem\n br i1 %51, label LBL_7, label LBL_5\n LBL_5:\n %52 = add i64 %10, 16\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = call i128 @__asm_movsd.1(i64 %54)\n %56 = call i128 @FUNC(i128 %3, i128 %3)\n call void @FUNC(i128 %55, i128 %56)\n %57 = icmp ult i32 %11, 3\n store i128 %7, i128* %sv_0.0.reg2mem\n store i1 %49, i1* %cf.1.reg2mem\n store i1 true, i1* %zf.1.reg2mem\n br i1 %57, label LBL_7, label LBL_6\n LBL_6:\n %58 = load i64, i64* %53, align 8\n %59 = call i128 @__asm_movsd.1(i64 %58)\n %60 = call i128 @FUNC(i128 %59)\n %61 = call i128 @FUNC(i128 %60, i64 %23)\n %62 = add i64 %10, 24\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = call i128 @__asm_movsd.1(i64 %64)\n %66 = call i128 @FUNC(i128 %65, i128 %61)\n %67 = call i64 @FUNC(i128 %66)\n %68 = sext i64 %67 to i128\n store i128 %68, i128* %sv_0.0.reg2mem\n store i1 %49, i1* %cf.1.reg2mem\n store i1 true, i1* %zf.1.reg2mem\n br label LBL_7\n LBL_7:\n %zf.1.reload = load i1, i1* %zf.1.reg2mem\n %cf.1.reload = load i1, i1* %cf.1.reg2mem\n %sv_0.0.reload = load i128, i128* %sv_0.0.reg2mem\n %69 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n call void @FUNC(i128 %69, i128 %sv_0.0.reload)\n %70 = or i1 %cf.1.reload, %zf.1.reload\n store i128 %sv_0.0.reload, i128* %sv_0.1.reg2mem\n br i1 %70, label LBL_9, label LBL_8\n LBL_8:\n %71 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %72 = call i64 @FUNC(i128 %71)\n %73 = sext i64 %72 to i128\n store i128 %73, i128* %sv_0.1.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.1.reload = load i128, i128* %sv_0.1.reg2mem\n %74 = load i32, i32* %15, align 4\n %75 = icmp ne i32 %74, %11\n %or.cond = icmp eq i1 %24, %75\n %extract.t = trunc i128 %sv_0.1.reload to i64\n %sext12 = mul i64 %2, 4294967296\n %.pre6 = ashr exact i64 %sext12, 29\n %.pre8 = add i64 %.pre6, %5\n br i1 %or.cond, label LBL_9.LBL_14_crit_edge, label LBL_11\n LBL_10:\n %.pre10 = inttoptr i64 %.pre8 to i64*\n store i64* %.pre10, i64** %.pre-phi11.reg2mem\n store i64 %extract.t, i64* %sv_0.2.off0.reg2mem\n br label LBL_14\n LBL_11:\n %76 = icmp ult i64 %.pre8, %.pre6\n %77 = icmp eq i64 %.pre8, 0\n %78 = inttoptr i64 %.pre8 to i64*\n %79 = load i64, i64* %78, align 8\n %80 = call i128 @__asm_movsd.1(i64 %79)\n %81 = call i64 @FUNC(i128 %80)\n %82 = add i64 %10, 32\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = call i128 @__asm_movsd.1(i64 %84)\n %86 = call i32 @FUNC(i128 %85)\n %87 = call i128 @FUNC(i128 %85, i128 %85)\n %88 = call i128 @FUNC(i32 %86)\n %89 = call i128 @FUNC(i128 %88)\n %90 = call i128 @__asm_addsd.2(i128 %89, i64 %81)\n %91 = call i128 @__asm_movsd.1(i64 %extract.t)\n call void @FUNC(i128 %91, i128 %90)\n %92 = or i1 %76, %77\n br i1 %92, label LBL_13, label LBL_12\n LBL_12:\n %93 = call i128 @FUNC(i128 %91, i128 %91)\n %94 = call i128 @FUNC(i32 %86)\n %95 = call i128 @__asm_movsd.1(i64 %81)\n %96 = call i128 @FUNC(i128 %94, i128 %95)\n %97 = call i64 @FUNC(i128 %96)\n store i64* %78, i64** %.pre-phi11.reg2mem\n store i64 %97, i64* %sv_0.2.off0.reg2mem\n br label LBL_14\n LBL_13:\n %98 = call i128 @FUNC(i128 %90, i128 %90)\n %99 = call i128 @FUNC(i32 %86)\n %100 = call i128 @__asm_movsd.1(i64 %81)\n %101 = call i128 @FUNC(i128 %100, i128 %99)\n call void @FUNC(i128 %101, i128 %sv_0.1.reload)\n store i64* %78, i64** %.pre-phi11.reg2mem\n store i64 %extract.t, i64* %sv_0.2.off0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.2.off0.reload = load i64, i64* %sv_0.2.off0.reg2mem\n %.pre-phi11.reload = load i64*, i64** %.pre-phi11.reg2mem\n %102 = call i128 @__asm_movsd.1(i64 %sv_0.2.off0.reload)\n %103 = call i64 @FUNC(i128 %102)\n store i64 %103, i64* %.pre-phi11.reload, align 8\n %104 = icmp eq i32 %11, 2\n br i1 %104, label LBL_16, label LBL_15\n LBL_15:\n store i32 %11, i32* %15, align 4\n br label LBL_16\n LBL_16:\n %105 = call i128 @__asm_movsd.1(i64 %sv_0.2.off0.reload)\n ret i128 %105\n\n uselistorder i128 %91, { 1, 0, 2 }\n uselistorder i128 %90, { 1, 0, 2 }\n uselistorder i32 %86, { 1, 0, 2 }\n uselistorder i128 %85, { 2, 1, 0 }\n uselistorder i64 %81, { 1, 0, 2 }\n uselistorder i64* %78, { 1, 0, 2 }\n uselistorder i64 %.pre8, { 2, 1, 0, 3 }\n uselistorder i64 %.pre6, { 1, 0 }\n uselistorder i64 %extract.t, { 0, 2, 1 }\n uselistorder i128 %sv_0.1.reload, { 1, 0 }\n uselistorder i128 %29, { 1, 0, 2 }\n uselistorder i32* %15, { 1, 2, 0, 3 }\n uselistorder i32 %11, { 5, 6, 0, 8, 3, 4, 7, 1, 2 }\n uselistorder i64 %10, { 4, 2, 3, 0, 1 }\n uselistorder i128 %7, { 1, 2, 0 }\n uselistorder i64 %5, { 0, 1, 2, 4, 3 }\n uselistorder i128 %3, { 3, 2, 0, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i1* %cf.0.reg2mem, { 0, 2, 1 }\n uselistorder i128* %sv_0.0.reg2mem, { 0, 3, 4, 5, 2, 1 }\n uselistorder i1* %cf.1.reg2mem, { 0, 3, 4, 5, 2, 1 }\n uselistorder i1* %zf.1.reg2mem, { 0, 3, 4, 5, 2, 1 }\n uselistorder i64** %.pre-phi11.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0.2.off0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i128* %0, { 1, 0 }\n uselistorder i1 true, { 1, 2, 0, 3 }\n uselistorder i32 2, { 2, 1, 3, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 1, 3, 0, 2, 4, 5 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_14, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i8257_realize_2167", "fun_name": "i8257_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 32\n %5 = shl i32 8, %4\n %rdx.0 = zext i32 %5 to i64\n %6 = add i64 %2, 80\n %7 = call i64 @FUNC(i64 %6, i64 0, i64* nonnull @gv_0, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %rdx.0)\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = call i64 @FUNC(i64 %2)\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 %11, i64 %12, i64 %6)\n %14 = load i64, i64* @gv_2, align 8\n %15 = add i64 %2, 96\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %2, 88\n %19 = and i64 %17, 4294967295\n %20 = call i64 @FUNC(i64 %2, i64 %18, i64 %19, i64 %14, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0))\n %21 = load i64, i64* @gv_4, align 8\n %22 = add i64 %2, 112\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %2, 104\n %26 = and i64 %24, 4294967295\n %27 = call i64 @FUNC(i64 %2, i64 %25, i64 %26, i64 %21, i64 %2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0))\n %28 = call i64 @FUNC(i64 %2)\n %29 = add i64 %2, 120\n %30 = call i64 @FUNC(i64 %29, i64 %28, i64* nonnull @gv_6, i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i64 %rdx.0)\n %31 = load i32, i32* %9, align 4\n %32 = zext i32 %31 to i64\n %33 = add nuw nsw i64 %32, %rdx.0\n %34 = call i64 @FUNC(i64 %2)\n %35 = and i64 %33, 4294967295\n %36 = call i64 @FUNC(i64 %34, i64 %35, i64 %29)\n %37 = add i64 %2, 8\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %38 = mul i64 %indvars.iv.reload, 8\n %39 = add i64 %37, %38\n %40 = inttoptr i64 %39 to i64*\n store i64 4198801, i64* %40, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %41 = call i64 @FUNC(i64 4198790, i64 %2)\n %42 = add i64 %2, 72\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n ret i64 %41\n\n uselistorder i64 %41, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0, 3, 5, 4, 6, 9, 7, 8, 13, 14, 10, 12, 11, 15, 18, 17, 16 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64, i8*)* @isa_register_portio_list, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @memory_region_add_subregion, { 1, 0 }\n uselistorder i64 (i64)* @isa_address_space_io, { 1, 0 }\n uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_rock_ridge_inode_12283", "fun_name": "parse_rock_ridge_inode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 0)\n %3 = trunc i64 %0 to i32\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %0, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 2\n %10 = icmp eq i1 %9, false\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %1, i64 %0, i64 14)\n store i64 %11, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %12 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %12\n\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i64 (i64, i64, i64)* @parse_rock_ridge_inode_internal, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_end_2172", "fun_name": "decode_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 16\n %3 = add i64 %0, 8\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = add i64 %0, 24\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %0, 32\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %0, 40\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %0, 48\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %0, 56\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %0, 64\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %0, 72\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %0, 80\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %0, 88\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %0, 96\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %0, 104\n %26 = call i64 @FUNC(i64 %25)\n %27 = add i64 %0, 112\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %0, 120\n %30 = call i64 @FUNC(i64 %29)\n %31 = add i64 %0, 128\n %32 = call i64 @FUNC(i64 %31)\n %33 = add i64 %0, 136\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %0, 144\n %36 = call i64 @FUNC(i64 %35)\n %37 = add i64 %0, 152\n %38 = call i64 @FUNC(i64 %37)\n %39 = add i64 %0, 160\n %40 = call i64 @FUNC(i64 %39)\n %41 = add i64 %0, 168\n %42 = call i64 @FUNC(i64 %41)\n %43 = add i64 %0, 176\n %44 = call i64 @FUNC(i64 %43)\n ret i64 0\n\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 }\n uselistorder i64 (i64)* @av_freep, { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d_make_root_8696", "fun_name": "d_make_root", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1, i64** nonnull @gv_0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_3, label LBL_2\n LBL_2:\n %3 = call i64 @FUNC(i64 %1, i64 %arg1)\n store i64 %1, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %4 = call i64 @FUNC(i64 %arg1)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "page_unlock_12095", "fun_name": "page_unlock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %1 = add i64 %sv_0.0.reload, -1\n %2 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload, i64 %1)\n %3 = icmp eq i64 %2, %sv_0.0.reload\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_2:\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nid_range_18322", "fun_name": "nid_range", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = trunc i64 %2 to i32\n %4 = bitcast i64* %arg3 to i32*\n store i32 %3, i32* %4, align 4\n %5 = trunc i64 %1 to i32\n store i64 %arg1, i64* %storemerge.in.reg2mem\n br label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %storemerge)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %5, %7\n %9 = icmp eq i1 %8, false\n store i64 %storemerge, i64* %storemerge.in.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = add i64 %storemerge.in.reload, 4096\n %10 = icmp ult i64 %storemerge, %arg2\n br i1 %10, label LBL_1, label LBL_3\n LBL_3:\n ret i64 %storemerge\n\n uselistorder i64 %storemerge, { 1, 3, 2, 0 }\n uselistorder i64 4096, { 1, 0 }\n uselistorder i64 (i64)* @find_node, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "t2p_sample_rgbaa_to_rgb_8264", "fun_name": "t2p_sample_rgbaa_to_rgb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i32\n %indvars.iv8.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 0\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv8.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %4 = mul i64 %indvars.iv8.reload, 4\n %5 = add i64 %4, %0\n %6 = mul nuw nsw i64 %indvars.iv8.reload, 3\n %7 = add i64 %6, %0\n %8 = inttoptr i64 %7 to i64*\n %9 = inttoptr i64 %5 to i64*\n %10 = call i64* @memmove(i64* %8, i64* %9, i32 3)\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %11 = icmp ult i64 %indvars.iv.next9, 3\n %12 = icmp ult i64 %indvars.iv.next9, %3\n %or.cond = icmp eq i1 %11, %12\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_3\n LBL_3:\n %13 = trunc i64 %indvars.iv.next9 to i32\n store i32 %13, i32* %storemerge.lcssa.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %14 = icmp ult i32 %storemerge.lcssa.reload, %1\n store i32 %storemerge.lcssa.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %14, label LBL_5, label LBL_7\n LBL_5:\n %15 = zext i32 %storemerge.lcssa.reload to i64\n %wide.trip.count = and i64 %arg2, 4294967295\n store i64 %15, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = mul i64 %indvars.iv.reload, 4\n %17 = and i64 %16, 4294967292\n %18 = add i64 %17, %0\n %19 = mul i64 %indvars.iv.reload, 3\n %20 = and i64 %19, 4294967295\n %21 = add i64 %20, %0\n %22 = inttoptr i64 %21 to i64*\n %23 = inttoptr i64 %18 to i64*\n %24 = call i64* @memcpy(i64* %22, i64* %23, i32 3)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %1, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %25 = mul i32 %sv_0.0.lcssa.reload, 3\n %26 = zext i32 %25 to i64\n ret i64 %26\n\n uselistorder i32 %storemerge.lcssa.reload, { 2, 0, 1 }\n uselistorder i64 %indvars.iv.next9, { 1, 0, 3, 2 }\n uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 3, { 0, 2, 1 }\n uselistorder i64 3, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_dds1_19227", "fun_name": "decode_dds1", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.013.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_0.215.reg2mem = alloca i64\n %sv_2.116.reg2mem = alloca i32\n %sv_1.117.reg2mem = alloca i32\n %.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_16\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %6 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %arg4, 4294967296\n %7 = ashr exact i64 %sext4, 32\n %sext5 = mul i64 %7, %sext\n %8 = ashr exact i64 %sext5, 32\n %9 = add i64 %8, %5\n %10 = trunc i64 %6 to i32\n %11 = add nsw i64 %6, 1\n store i32 %2, i32* %.in.reg2mem\n store i32 0, i32* %sv_1.117.reg2mem\n store i32 65536, i32* %sv_2.116.reg2mem\n store i64 %5, i64* %sv_0.215.reg2mem\n br label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i32\n %14 = icmp sgt i32 %13, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_16\n LBL_3:\n %sv_0.215.reload = load i64, i64* %sv_0.215.reg2mem\n %sv_2.116.reload = load i32, i32* %sv_2.116.reg2mem\n %sv_1.117.reload = load i32, i32* %sv_1.117.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %15 = icmp eq i32 %sv_2.116.reload, 65536\n %16 = icmp eq i1 %15, false\n store i32 %sv_2.116.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.117.reload, i32* %sv_1.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %0)\n %18 = trunc i64 %17 to i32\n store i32 1, i32* %sv_2.0.reg2mem\n store i32 %18, i32* %sv_1.0.reg2mem\n br label LBL_5\n LBL_5:\n %19 = sub i64 %9, %sv_0.215.reload\n %20 = icmp sgt i64 %19, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_6, label LBL_16\n LBL_6:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %21 = and i32 %sv_1.0.reload, %sv_2.0.reload\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_12, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %0)\n %24 = trunc i64 %23 to i32\n %25 = mul i32 %24, 4\n %26 = and i32 %25, 32764\n %27 = sub i64 %sv_0.215.reload, %5\n %28 = zext i32 %26 to i64\n %29 = icmp slt i64 %27, %28\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_16, label LBL_8\n LBL_8:\n %30 = ashr i32 %24, 13\n %31 = mul i32 %30, 2\n %32 = add nsw i32 %31, 4\n %33 = mul i32 %32, 2\n %34 = add i32 %33, %10\n %35 = sext i32 %34 to i64\n %36 = icmp slt i64 %19, %35\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %36, label LBL_16, label LBL_9\n LBL_9:\n %37 = icmp sgt i32 %32, 0\n store i64 %sv_0.215.reload, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_10, label LBL_15\n LBL_10:\n %38 = sub nsw i32 0, %26\n %39 = sext i32 %38 to i64\n store i32 0, i32* %storemerge14.reg2mem\n store i64 %sv_0.215.reload, i64* %sv_0.013.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %40 = add i64 %sv_0.013.reload, %39\n %41 = add i64 %sv_0.013.reload, %11\n %42 = inttoptr i64 %40 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = inttoptr i64 %41 to i8*\n store i8 %43, i8* %44, align 1\n %45 = add i64 %sv_0.013.reload, %6\n %46 = inttoptr i64 %45 to i8*\n store i8 %43, i8* %46, align 1\n %47 = add i64 %sv_0.013.reload, 1\n %48 = inttoptr i64 %47 to i8*\n store i8 %43, i8* %48, align 1\n %49 = inttoptr i64 %sv_0.013.reload to i8*\n store i8 %43, i8* %49, align 1\n %50 = add i64 %sv_0.013.reload, 2\n %51 = add nuw nsw i32 %storemerge14.reload, 1\n %exitcond = icmp eq i32 %51, %32\n store i32 %51, i32* %storemerge14.reg2mem\n store i64 %50, i64* %sv_0.013.reg2mem\n store i64 %50, i64* %sv_0.1.reg2mem\n br i1 %exitcond, label LBL_15, label LBL_11\n LBL_12:\n %52 = mul i32 %sv_2.0.reload, 2\n %53 = and i32 %52, %sv_1.0.reload\n %54 = icmp eq i32 %53, 0\n br i1 %54, label LBL_14, label LBL_13\n LBL_13:\n %55 = call i64 @FUNC(i64 %0)\n %56 = mul i64 %55, 8589934592\n %57 = ashr exact i64 %56, 32\n %58 = add i64 %57, %sv_0.215.reload\n store i64 %58, i64* %sv_0.1.reg2mem\n br label LBL_15\n LBL_14:\n %59 = call i64 @FUNC(i64 %0)\n %60 = add i64 %sv_0.215.reload, %11\n %61 = trunc i64 %59 to i8\n %62 = inttoptr i64 %60 to i8*\n store i8 %61, i8* %62, align 1\n %63 = add i64 %sv_0.215.reload, %6\n %64 = inttoptr i64 %63 to i8*\n store i8 %61, i8* %64, align 1\n %65 = add i64 %sv_0.215.reload, 1\n %66 = inttoptr i64 %65 to i8*\n store i8 %61, i8* %66, align 1\n %67 = inttoptr i64 %sv_0.215.reload to i8*\n store i8 %61, i8* %67, align 1\n %68 = add i64 %sv_0.215.reload, 2\n %69 = call i64 @FUNC(i64 %0)\n %70 = add i64 %68, %11\n %71 = trunc i64 %69 to i8\n %72 = inttoptr i64 %70 to i8*\n store i8 %71, i8* %72, align 1\n %73 = add i64 %68, %6\n %74 = inttoptr i64 %73 to i8*\n store i8 %71, i8* %74, align 1\n %75 = add i64 %sv_0.215.reload, 3\n %76 = inttoptr i64 %75 to i8*\n store i8 %71, i8* %76, align 1\n %77 = inttoptr i64 %68 to i8*\n store i8 %71, i8* %77, align 1\n %78 = add i64 %sv_0.215.reload, 4\n store i64 %78, i64* %sv_0.1.reg2mem\n br label LBL_15\n LBL_15:\n %79 = add i32 %.in.reload, -1\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %80 = mul i32 %sv_2.0.reload, 4\n %81 = icmp eq i32 %79, 0\n %82 = icmp eq i1 %81, false\n store i32 %79, i32* %.in.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.117.reg2mem\n store i32 %80, i32* %sv_2.116.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.215.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %82, label LBL_2, label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %68, { 2, 0, 1 }\n uselistorder i8 %61, { 2, 1, 0, 3 }\n uselistorder i8 %43, { 2, 1, 0, 3 }\n uselistorder i64 %sv_0.013.reload, { 0, 1, 2, 5, 4, 3 }\n uselistorder i32 %32, { 1, 2, 0 }\n uselistorder i32 %24, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 2, 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.215.reload, { 5, 4, 3, 6, 7, 10, 9, 8, 1, 0, 2, 11 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %5, { 2, 0, 1 }\n uselistorder i64 %0, { 2, 3, 4, 1, 0, 5, 6 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.117.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.116.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.215.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.013.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4, 5, 6 }\n uselistorder i64 (i64)* @bytestream2_get_byte, { 1, 0 }\n uselistorder i32 4, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i64 1, { 3, 4, 2, 5, 0, 1 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 7, 4, 0, 5, 2, 6, 1, 3 }\n uselistorder i64 (i64)* @bytestream2_get_le16, { 2, 1, 0 }\n uselistorder label LBL_16, { 4, 2, 3, 1, 0, 5 }\n uselistorder label LBL_15, { 2, 3, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "shm_destroy_6095", "fun_name": "shm_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg2, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %4, 4095\n %6 = udiv i64 %5, 4096\n %7 = sub i64 %1, %6\n store i64 %7, i64* %arg1, align 8\n %8 = call i64 @FUNC(i64 %1, i64 %0)\n %9 = call i64 @FUNC(i64 %0)\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %17 = call i64 @FUNC(i64 %0, i64 0, i32 %16)\n br label LBL_4\n LBL_2:\n %18 = icmp eq i32 %16, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %0)\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = zext i32 %16 to i64\n %23 = call i64 @FUNC(i64 %21, i64 %22)\n br label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %0)\n %25 = call i64 @FUNC(i64 %0, i64 4198823)\n ret i64 %25\n\n uselistorder i32 %16, { 0, 2, 1 }\n uselistorder i64 %0, { 2, 3, 1, 0, 4, 8, 6, 5, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "floatx80_scalbn_3381", "fun_name": "floatx80_scalbn", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %4 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %5 = trunc i64 %4 to i32\n %6 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %7 = icmp eq i32 %5, 32767\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %.mask = and i64 %3, 9223372036854775807\n %9 = icmp eq i64 %.mask, 0\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg1, i64 %arg2, i64 %2, i64 %1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %11 = icmp eq i32 %5, 0\n %12 = icmp eq i64 %3, 0\n %13 = icmp eq i1 %12, %11\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = trunc i64 %6 to i32\n %15 = icmp slt i32 %arg3, 65537\n %16 = icmp sgt i32 %arg3, -65536\n %spec.select = select i1 %16, i32 %arg3, i32 -65536\n %sv_0.0 = select i1 %15, i32 %spec.select, i32 65536\n %17 = add i32 %sv_0.0, %5\n %18 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %19, i32 %14, i32 %17, i64 %3, i64 0)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 2, 1, 4, 5, 6 }\n uselistorder label LBL_5, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "e1000_post_load_15159", "fun_name": "e1000_post_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = urem i64 %1, 2\n %8 = icmp eq i64 %7, 0\n %9 = zext i1 %8 to i32\n %10 = inttoptr i64 %6 to i32*\n store i32 %9, i32* %10, align 4\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "arcmsr_hbaD_flush_cache_9469", "fun_name": "arcmsr_hbaD_flush_cache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = and i64 %3, 4294967295\n %7 = call i64 @FUNC(i64 1, i64 %6)\n %8 = add i64 %5, 8\n %9 = inttoptr i64 %8 to i64*\n store i32 15, i32* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %5)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %14 = add nsw i32 %sv_0.0.reload, -1\n %15 = load i64, i64* %9, align 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @gv_0, i64 0, i64 0), i64 %18, i32 %14, i64 %4, i64 %2, i64 %1)\n %20 = icmp eq i32 %14, 0\n %21 = icmp eq i1 %20, false\n store i32 %14, i32* %sv_0.0.reg2mem\n store i64 %19, i64* %rax.0.reg2mem\n br i1 %21, label LBL_1, label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %14, { 0, 2, 1 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "naludmx_set_dolby_vision_19162", "fun_name": "naludmx_set_dolby_vision", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %4 = trunc i64 %2 to i32\n %5 = icmp sgt i32 %4, 1\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %2, 4294967295\n %7 = icmp slt i32 %4, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_9, label LBL_5\n LBL_2:\n %9 = icmp eq i32 %4, 2\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_9, label LBL_5\n LBL_5:\n %20 = add i64 %3, 28\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %3, 24\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %3, 20\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %3, 16\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %3, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = zext i32 %22 to i64\n %36 = zext i32 %34 to i64\n %37 = call i64 @FUNC(i64 %36, i32 %31, i32 %28, i32 %25, i64 %35)\n %38 = add i64 %3, 32\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp eq i32 %40, 8\n %42 = icmp eq i1 %41, false\n %.pre = add i64 %3, 36\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %42, label LBL_8, label LBL_6\n LBL_6:\n %43 = load i32, i32* %.pre1, align 4\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_8, label LBL_7\n LBL_7:\n %46 = zext i32 %25 to i64\n %47 = add i64 %3, 40\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 1, i64 2, i64 %49, i64 %46, i64 %35, i64 %1)\n store i32 2, i32* %.pre1, align 4\n br label LBL_8\n LBL_8:\n %51 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 24)\n %52 = call i64 @FUNC(i64* nonnull %sv_0, i64 24, i64 1)\n %53 = call i64 @FUNC(i64 %52, i64 1)\n %54 = call i64 @FUNC(i64 %52, i64 0)\n %55 = load i32, i32* %39, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %52, i64 %56, i64 7)\n %58 = and i64 %37, 4294967295\n %59 = call i64 @FUNC(i64 %52, i64 %58, i64 6)\n %60 = add i64 %3, 4\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = icmp eq i32 %62, 0\n %64 = icmp eq i1 %63, false\n %65 = zext i1 %64 to i64\n %66 = call i64 @FUNC(i64 %52, i64 %65, i64 1)\n %67 = add i64 %3, 8\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = icmp eq i32 %69, 0\n %71 = icmp eq i1 %70, false\n %72 = zext i1 %71 to i64\n %73 = call i64 @FUNC(i64 %52, i64 %72, i64 1)\n %74 = call i64 @FUNC(i64 %52, i64 1, i64 1)\n %75 = load i32, i32* %.pre1, align 4\n %76 = zext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %52, i64 %76, i64 4)\n %78 = call i64 @FUNC(i64 %52, i64 0, i64 28)\n %79 = call i64 @FUNC(i64 %52, i64 0)\n %80 = call i64 @FUNC(i64 %52, i64 0)\n %81 = call i64 @FUNC(i64 %52, i64 0)\n %82 = call i64 @FUNC(i64 %52, i64 0)\n %83 = call i64 @FUNC(i64 %52)\n %84 = add i64 %3, 48\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = zext i32 %86 to i64\n %88 = call i64 @FUNC(i64 %87, i64 0, i64* nonnull %sv_0)\n store i64 %88, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %.pre1, { 0, 2, 1 }\n uselistorder i32 %25, { 1, 0 }\n uselistorder i32 %4, { 2, 1, 0 }\n uselistorder i64 %3, { 3, 4, 5, 7, 0, 6, 10, 9, 8, 12, 11, 2, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u8, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ga_unset_frozen_18638", "fun_name": "ga_unset_frozen", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = and i64 %5, 4294967295\n %7 = xor i64 %6, 1\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_11, label LBL_1\n LBL_1:\n %11 = icmp eq i64* %arg1, null\n br i1 %11, label LBL_5, label LBL_2\n LBL_2:\n %12 = bitcast i64* %arg1 to i8*\n %13 = call %_IO_FILE* @fopen(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %14 = ptrtoint %_IO_FILE* %13 to i64\n %15 = add i64 %4, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = icmp eq %_IO_FILE* %13, null\n %18 = icmp eq i1 %17, false\n store i64 %14, i64* %rdx.0.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = load i64, i64* @gv_1, align 8\n store i64 %19, i64* %16, align 8\n store i64 %19, i64* %rdx.0.reg2mem\n br label LBL_4\n LBL_4:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n store i64 0, i64* %arg1, align 8\n store i64 %rdx.0.reload, i64* %rdx.1.reg2mem\n store i64 ptrtoint ([2 x i8]* @gv_0 to i64), i64* %rsi.0.reg2mem\n br label LBL_5\n LBL_5:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %20 = call i64 @FUNC(i64 %4)\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %rsi.0.reload, i64 %rdx.1.reload, i64 %3, i64 %2, i64 %1)\n %22 = add i64 %4, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_9, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %24)\n %27 = trunc i64 %26 to i8\n %28 = icmp eq i8 %27, 1\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i64 %rsi.0.reload, i64 %rdx.1.reload, i64 %3, i64 %2, i64 %1)\n br label LBL_8\n LBL_8:\n store i64 0, i64* %23, align 8\n br label LBL_9\n LBL_9:\n %30 = add i64 %4, 40\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %4, 32\n %35 = inttoptr i64 %34 to i8*\n store i8 0, i8* %35, align 1\n %36 = add i64 %4, 24\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = and i64 %39, 4294967295\n %41 = xor i64 %40, 1\n %42 = trunc i64 %41 to i8\n %43 = icmp eq i8 %42, 0\n store i64 %41, i64* %rax.0.reg2mem\n br i1 %43, label LBL_11, label LBL_10\n LBL_10:\n %44 = load i64, i64* %37, align 8\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_4, i64 0, i64 0), i64 %44, i64 %rdx.1.reload, i64 %3, i64 %2, i64 %1)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rdx.1.reload, { 1, 2, 0 }\n uselistorder i64 %rsi.0.reload, { 1, 0 }\n uselistorder i64 %4, { 1, 3, 2, 4, 5, 0, 6 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @g_warning, { 2, 1, 0 }\n uselistorder [2 x i8]* @gv_0, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 4, 0 }\n uselistorder i64 1, { 3, 4, 0, 1, 2 }\n uselistorder label LBL_11, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mxf_write_random_index_pack_14051", "fun_name": "mxf_write_random_index_pack", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %5, i64* nonnull @gv_0, i64 16)\n %8 = mul i64 %1, 12\n %9 = add i64 %8, 28\n %10 = and i64 %9, 4294967292\n %11 = call i64 @FUNC(i64 %5, i64 %10)\n %12 = add i64 %2, 24\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = call i64 @FUNC(i64 %5, i64 1)\n br label LBL_3\n LBL_2:\n %17 = call i64 @FUNC(i64 %5, i64 0)\n br label LBL_3\n LBL_3:\n %18 = trunc i64 %1 to i32\n %19 = call i64 @FUNC(i64 %5, i64 0)\n %20 = icmp eq i32 %18, 0\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %21 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %22 = call i64 @FUNC(i64 %5, i64 1)\n %23 = load i64, i64* %4, align 8\n %24 = mul i64 %.reload, 8\n %25 = add i64 %23, %24\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %5, i64 %27)\n %29 = add i32 %storemerge2.reload, 1\n %30 = sext i32 %29 to i64\n %31 = icmp sgt i64 %21, %30\n store i64 %30, i64* %.reg2mem\n store i32 %29, i32* %storemerge2.reg2mem\n br i1 %31, label LBL_5, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %5, i64 0)\n %33 = add i64 %2, 16\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %5, i64 %35)\n %37 = call i64 @FUNC(i64 %5)\n %38 = sub i64 4, %6\n %39 = add i64 %38, %37\n %40 = and i64 %39, 4294967295\n %41 = call i64 @FUNC(i64 %5, i64 %40)\n ret i64 %41\n\n uselistorder i64 %5, { 1, 0, 4, 5, 2, 3, 6, 7, 8, 9, 10, 11 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_wb64, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @avio_wb32, { 3, 2, 4, 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64)* @avio_tell, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "saa7134_ts_fini_7158", "fun_name": "saa7134_ts_fini", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 4\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %2)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_spice_display_init_common_1413", "fun_name": "qemu_spice_display_init_common", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 16\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 -1, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 -1, i32* %7, align 4\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = zext i32 %10 to i64\n %12 = icmp eq i32 %10, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n store i32 1024, i32* %9, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rng_random_request_entropy_6178", "fun_name": "rng_random_request_entropy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9, i64 4198699, i64 0, i64 %1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_config_readq_16050", "fun_name": "qvirtio_pci_config_readq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %1)\n store i64 %5, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cmd_hash_engine_5463", "fun_name": "cmd_hash_engine", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg2, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i32 @strcasecmp(i8* %arg3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %6, align 4\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 1, i32* %8, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %9 = call i32 @strcasecmp(i8* %arg3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %12, align 4\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %15 = ptrtoint i8* %arg3 to i64\n %16 = call i64 @FUNC(i64 %15, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i64 %15)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64* %arg2, { 0, 1, 3, 2 }\n uselistorder label LBL_6, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "input_set_capability_19281", "fun_name": "input_set_capability", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %sext2 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext2, 32\n %5 = and i64 %3, 4294967295\n store i64 %5, i64* @0, align 8\n %trunc = trunc i64 %3 to i32\n switch i32 %trunc, label LBL_9 [\n i32 0, label LBL_1\n i32 1, label LBL_2\n i32 2, label LBL_3\n i32 3, label LBL_4\n i32 4, label LBL_5\n i32 5, label LBL_6\n i32 6, label LBL_7\n i32 7, label LBL_8\n i32 8, label LBL_10\n ]\n LBL_1:\n %6 = and i64 %4, 4294967295\n %7 = call i64 @FUNC(i64 %6, i64 %arg1)\n br label LBL_10\n LBL_2:\n %8 = add i64 %arg1, 16\n %9 = and i64 %4, 4294967295\n %10 = call i64 @FUNC(i64 %9, i64 %8)\n br label LBL_10\n LBL_3:\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = add i64 %arg1, 32\n %13 = and i64 %4, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n br label LBL_10\n LBL_4:\n %15 = add i64 %arg1, 48\n %16 = and i64 %4, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 %15)\n br label LBL_10\n LBL_5:\n %18 = add i64 %arg1, 64\n %19 = and i64 %4, 4294967295\n %20 = call i64 @FUNC(i64 %19, i64 %18)\n br label LBL_10\n LBL_6:\n %21 = add i64 %arg1, 80\n %22 = and i64 %4, 4294967295\n %23 = call i64 @FUNC(i64 %22, i64 %21)\n br label LBL_10\n LBL_7:\n %24 = add i64 %arg1, 96\n %25 = and i64 %4, 4294967295\n %26 = call i64 @FUNC(i64 %25, i64 %24)\n br label LBL_10\n LBL_8:\n %27 = add i64 %arg1, 112\n %28 = and i64 %4, 4294967295\n %29 = call i64 @FUNC(i64 %28, i64 %27)\n br label LBL_10\n LBL_9:\n %30 = and i64 %4, 4294967295\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %30, i64 %2, i64 %1)\n %32 = call i64 @FUNC()\n store i64 %32, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_10:\n %33 = add i64 %arg1, 128\n %34 = call i64 @FUNC(i64 %5, i64 %33)\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i64 (i64, i64)* @__set_bit, { 1, 8, 7, 6, 5, 4, 3, 2, 0 }\n uselistorder i64 4294967295, { 0, 8, 7, 6, 5, 4, 3, 2, 1, 9 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 %arg1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_10, { 1, 2, 3, 4, 5, 6, 7, 8, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "yop_read_packet_14169", "fun_name": "yop_read_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %4, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %4, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %4, 16\n %14 = inttoptr i64 %13 to i32*\n store i32 1, i32* %14, align 4\n %15 = add i64 %4, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %19 = inttoptr i64 %13 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %20, i64* %arg2, align 8\n %21 = add i64 %0, 8\n %22 = inttoptr i64 %21 to i64*\n store i64 %17, i64* %22, align 8\n %23 = add i64 %4, 32\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %4, 40\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = add i64 %0, 16\n %30 = inttoptr i64 %29 to i64*\n store i64 %25, i64* %30, align 8\n %31 = add i64 %0, 24\n %32 = inttoptr i64 %31 to i64*\n store i64 %28, i64* %32, align 8\n store i64 0, i64* %16, align 8\n %33 = inttoptr i64 %23 to i32*\n store i32 0, i32* %33, align 4\n %34 = add i64 %4, 48\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = load i64, i64* %22, align 8\n %38 = trunc i32 %36 to i8\n %39 = inttoptr i64 %37 to i8*\n store i8 %38, i8* %39, align 1\n %40 = inttoptr i64 %31 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = or i32 %41, 1\n store i32 %42, i32* %40, align 4\n %43 = load i32, i32* %35, align 4\n %44 = xor i32 %43, 1\n store i32 %44, i32* %35, align 4\n %45 = inttoptr i64 %29 to i32*\n %46 = load i32, i32* %45, align 4\n store i32 %46, i32* %rax.0.in.reg2mem\n br label LBL_11\n LBL_2:\n %47 = load i32, i32* %5, align 4\n %48 = load i32, i32* %8, align 4\n %49 = sub i32 %47, %48\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i64 %13, i64 %50)\n %52 = trunc i64 %51 to i32\n %53 = icmp slt i32 %52, 0\n %54 = icmp eq i1 %53, false\n store i32 %52, i32* %rax.0.in.reg2mem\n br i1 %54, label LBL_3, label LBL_11\n LBL_3:\n %55 = call i64 @FUNC(i64 %1)\n %56 = trunc i64 %55 to i32\n %57 = add i64 %4, 36\n %58 = inttoptr i64 %57 to i32*\n store i32 %56, i32* %58, align 4\n %59 = load i32, i32* %11, align 4\n %60 = load i64, i64* %16, align 8\n %61 = call i64 @FUNC(i64 %1, i64 %60, i32 %59)\n %62 = trunc i64 %61 to i32\n %63 = icmp slt i32 %62, 0\n store i32 %62, i32* %sv_0.0.reg2mem\n br i1 %63, label LBL_10, label LBL_4\n LBL_4:\n %64 = load i32, i32* %11, align 4\n %65 = zext i32 %64 to i64\n %sext = mul i64 %61, 4294967296\n %66 = ashr exact i64 %sext, 32\n %67 = icmp slt i64 %66, %65\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %67, label LBL_10, label LBL_5\n LBL_5:\n %68 = call i64 @FUNC(i64 %1, i64 %0, i64 920)\n %69 = trunc i64 %68 to i32\n %70 = icmp slt i32 %69, 0\n store i32 %69, i32* %sv_0.0.reg2mem\n br i1 %70, label LBL_10, label LBL_6\n LBL_6:\n %71 = sub i32 %6, %9\n %72 = sub i32 %71, %12\n %73 = load i32, i32* %58, align 4\n %74 = add i64 %0, 20\n %75 = inttoptr i64 %74 to i32*\n store i32 %73, i32* %75, align 4\n %76 = load i32, i32* %8, align 4\n %77 = sub i32 %76, %69\n %78 = zext i32 %77 to i64\n %79 = call i64 @FUNC(i64 %1, i64 %78)\n %80 = load i64, i64* %16, align 8\n %81 = load i32, i32* %11, align 4\n %82 = sext i32 %81 to i64\n %83 = add i64 %80, %82\n %84 = call i64 @FUNC(i64 %1, i64 %83, i32 %72)\n %85 = trunc i64 %84 to i32\n %86 = icmp slt i32 %85, 0\n store i32 %85, i32* %sv_0.0.reg2mem\n br i1 %86, label LBL_10, label LBL_7\n LBL_7:\n %87 = icmp sgt i32 %72, %85\n br i1 %87, label LBL_8, label LBL_9\n LBL_8:\n %88 = load i32, i32* %11, align 4\n %89 = add i32 %88, %85\n %90 = zext i32 %89 to i64\n %91 = call i64 @FUNC(i64 %13, i64 %90)\n br label LBL_9\n LBL_9:\n %92 = load i32, i32* %8, align 4\n store i32 %92, i32* %rax.0.in.reg2mem\n br label LBL_11\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %93 = call i64 @FUNC(i64 %13)\n store i32 %sv_0.0.reload, i32* %rax.0.in.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = zext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %85, { 1, 2, 0, 3 }\n uselistorder i32 %69, { 1, 0, 2 }\n uselistorder i32* %35, { 1, 0, 2 }\n uselistorder i64* %16, { 1, 2, 0, 3 }\n uselistorder i64 %13, { 2, 1, 3, 0, 4 }\n uselistorder i64 %4, { 0, 1, 2, 3, 5, 6, 7, 8, 4 }\n uselistorder i64 %0, { 3, 4, 0, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i32* %rax.0.in.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64, i32)* @avio_read, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0, 3 }\n uselistorder label LBL_10, { 1, 2, 0, 3 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "yuv_to_rgba_10396", "fun_name": "yuv_to_rgba", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = udiv i32 %0, 65536\n %2 = urem i32 %1, 256\n %3 = udiv i32 %0, 256\n %4 = urem i32 %3, 256\n %5 = urem i32 %0, 256\n %6 = mul nuw nsw i32 %2, 1164\n %7 = mul nuw nsw i32 %5, 2018\n %narrow = add nsw i32 %7, -276928\n %8 = add nsw i32 %narrow, %6\n %9 = sdiv i32 %8, 1000\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = mul nsw i32 %4, -813\n %13 = mul nsw i32 %5, -391\n %narrow3 = add nsw i32 %13, 135488\n %14 = add nsw i32 %narrow3, %12\n %15 = add nsw i32 %14, %6\n %16 = sdiv i32 %15, 1000\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = mul nuw nsw i32 %4, 1596\n %narrow5 = add nsw i32 %6, -222912\n %20 = add nsw i32 %narrow5, %19\n %21 = sdiv i32 %20, 1000\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = mul i64 %23, 65536\n %25 = and i64 %24, 16711680\n %26 = mul i64 %18, 256\n %27 = and i64 %26, 65280\n %28 = urem i64 %11, 256\n %29 = or i64 %27, %28\n %30 = or i64 %29, %25\n ret i64 %30\n\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i32 %5, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i32 %0, { 2, 0, 1 }\n uselistorder i64 256, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_clip_uint8, { 2, 1, 0 }\n uselistorder i32 256, { 1, 2, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_pci_unregister_device_1894", "fun_name": "do_pci_unregister_device", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %sext = mul i64 %1, 4294967296\n %8 = ashr exact i64 %sext, 29\n %9 = add i64 %7, %8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n %11 = call i64 @FUNC(i64 %2)\n %12 = add i64 %2, 16\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = add i64 %2, 24\n %17 = call i64 @FUNC(i64 %16, i64 %12)\n br label LBL_2\n LBL_2:\n %18 = add i64 %2, 32\n %19 = call i64 @FUNC(i64 %18)\n ret i64 %19\n\n uselistorder i64 %2, { 1, 0, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opj_pi_next_rpcl_7513", "fun_name": "opj_pi_next_rpcl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge9.reg2mem = alloca i64\n %.reg2mem50 = alloca i32\n %.reg2mem48 = alloca i32\n %.reg2mem46 = alloca i32\n %.pre-phi24.reg2mem = alloca i64\n %.reg2mem44 = alloca i32\n %.pre-phi32.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %.reg2mem42 = alloca i32\n %.pre-phi30.reg2mem = alloca i64\n %.reg2mem40 = alloca i32\n %.reg2mem38 = alloca i32\n %storemerge12.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %.reg2mem36 = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv22.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_0.LBL_32_crit_edge, label LBL_2\n LBL_1:\n %.pre29 = add i64 %0, 48\n %.phi.trans.insert = inttoptr i64 %.pre29 to i32*\n %.pre35 = load i32, i32* %.phi.trans.insert, align 4\n store i32 %.pre35, i32* %.reg2mem40\n store i64 %.pre29, i64* %.pre-phi30.reg2mem\n br label LBL_32\n LBL_2:\n store i32 0, i32* %2, align 4\n %5 = add i64 %0, 20\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = bitcast i64* %rdi to i32*\n %10 = load i32, i32* %9, align 8\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_13, label LBL_3\n LBL_3:\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i64*\n store i32 %10, i32* %.reg2mem\n store i64 0, i64* %indvars.iv22.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %14 = load i64, i64* %13, align 8\n %15 = mul nuw nsw i64 %indvars.iv22.reload, 24\n %16 = add i64 %14, %15\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n store i32 %.reload, i32* %.reg2mem38\n br i1 %19, label LBL_12, label LBL_5\n LBL_5:\n %20 = add i64 %16, 16\n %21 = inttoptr i64 %20 to i64*\n %22 = add i64 %16, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = add i64 %16, 8\n %25 = inttoptr i64 %24 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %18, i32* %.reg2mem36\n br label LBL_6\n LBL_6:\n %.reload37 = load i32, i32* %.reg2mem36\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %26 = load i64, i64* %21, align 8\n %27 = mul i64 %indvars.iv.reload, 16\n %28 = add i64 %26, %27\n %29 = load i32, i32* %23, align 4\n %30 = add i64 %28, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = trunc i64 %indvars.iv.reload to i32\n %34 = xor i32 %33, 31\n %35 = add i32 %34, %.reload37\n %36 = add i32 %32, %35\n %37 = urem i32 %36, 32\n %38 = shl i32 %29, %37\n %39 = load i32, i32* %25, align 4\n %40 = add i64 %28, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = load i32, i32* %6, align 4\n %44 = icmp eq i32 %43, 0\n %45 = zext i32 %38 to i64\n store i64 %45, i64* %storemerge13.reg2mem\n br i1 %44, label LBL_8, label LBL_7\n LBL_7:\n %46 = zext i32 %43 to i64\n %47 = call i64 @FUNC(i64 %46, i64 %45)\n store i64 %47, i64* %storemerge13.reg2mem\n br label LBL_8\n LBL_8:\n %48 = add i32 %42, %35\n %49 = urem i32 %48, 32\n %50 = shl i32 %39, %49\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %51 = trunc i64 %storemerge13.reload to i32\n store i32 %51, i32* %6, align 4\n %52 = load i32, i32* %8, align 4\n %53 = icmp eq i32 %52, 0\n %54 = zext i32 %50 to i64\n store i64 %54, i64* %storemerge12.reg2mem\n br i1 %53, label LBL_10, label LBL_9\n LBL_9:\n %55 = zext i32 %52 to i64\n %56 = call i64 @FUNC(i64 %55, i64 %54)\n store i64 %56, i64* %storemerge12.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %57 = trunc i64 %storemerge12.reload to i32\n store i32 %57, i32* %8, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %58 = load i32, i32* %17, align 4\n %59 = zext i32 %58 to i64\n %60 = icmp ult i64 %indvars.iv.next, %59\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %58, i32* %.reg2mem36\n br i1 %60, label LBL_6, label LBL_11\n LBL_11:\n %.pre = load i32, i32* %9, align 8\n store i32 %.pre, i32* %.reg2mem38\n br label LBL_12\n LBL_12:\n %.reload39 = load i32, i32* %.reg2mem38\n %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1\n %61 = zext i32 %.reload39 to i64\n %62 = icmp ult i64 %indvars.iv.next23, %61\n store i32 %.reload39, i32* %.reg2mem\n store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem\n br i1 %62, label LBL_4, label LBL_13\n LBL_13:\n %63 = add i64 %0, 136\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = icmp eq i8 %65, 0\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_15, label LBL_14\n LBL_14:\n %68 = add i64 %0, 124\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = add i64 %0, 88\n %72 = inttoptr i64 %71 to i32*\n store i32 %70, i32* %72, align 4\n %73 = add i64 %0, 120\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = add i64 %0, 96\n %77 = inttoptr i64 %76 to i32*\n store i32 %75, i32* %77, align 4\n %78 = add i64 %0, 132\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = add i64 %0, 92\n %82 = inttoptr i64 %81 to i32*\n store i32 %80, i32* %82, align 4\n %83 = add i64 %0, 128\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = add i64 %0, 100\n %87 = inttoptr i64 %86 to i32*\n store i32 %85, i32* %87, align 4\n br label LBL_15\n LBL_15:\n %88 = add i64 %0, 104\n %89 = inttoptr i64 %88 to i32*\n %90 = load i32, i32* %89, align 4\n %91 = add i64 %0, 28\n %92 = inttoptr i64 %91 to i32*\n store i32 %90, i32* %92, align 4\n store i32 %90, i32* %.reg2mem50\n br label LBL_45\n LBL_16:\n %93 = add i64 %0, 88\n %94 = inttoptr i64 %93 to i32*\n %95 = load i32, i32* %94, align 4\n %96 = add i64 %0, 32\n %97 = inttoptr i64 %96 to i32*\n store i32 %95, i32* %97, align 4\n store i32 %95, i32* %.reg2mem48\n br label LBL_43\n LBL_17:\n %98 = add i64 %0, 96\n %99 = inttoptr i64 %98 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = add i64 %0, 36\n %102 = inttoptr i64 %101 to i32*\n store i32 %100, i32* %102, align 4\n store i32 %100, i32* %.reg2mem46\n br label LBL_41\n LBL_18:\n %103 = add i64 %0, 80\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = add i64 %0, 40\n %107 = inttoptr i64 %106 to i32*\n store i32 %105, i32* %107, align 4\n store i32 %105, i32* %.reg2mem44\n store i64 %106, i64* %.pre-phi24.reg2mem\n br label LBL_39\n LBL_19:\n %.pre-phi24.reload = load i64, i64* %.pre-phi24.reg2mem\n %108 = add i64 %0, 8\n %109 = inttoptr i64 %108 to i64*\n %110 = load i64, i64* %109, align 8\n %111 = zext i32 %.reload45 to i64\n %112 = mul nuw nsw i64 %111, 24\n %113 = add i64 %110, %112\n %114 = inttoptr i64 %113 to i32*\n %115 = add i64 %0, 28\n %116 = inttoptr i64 %115 to i32*\n %117 = load i32, i32* %116, align 4\n %118 = load i32, i32* %114, align 4\n %119 = icmp ult i32 %117, %118\n %120 = icmp eq i1 %119, false\n store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem\n br i1 %120, label LBL_38, label LBL_20\n LBL_20:\n %121 = add i64 %113, 16\n %122 = inttoptr i64 %121 to i64*\n %123 = load i64, i64* %122, align 8\n %124 = zext i32 %117 to i64\n %125 = mul i64 %124, 16\n %126 = add i64 %123, %125\n %127 = sub i32 0, %117\n %128 = sub i32 %127, 1\n %129 = add i32 %118, %128\n %130 = add i64 %113, 4\n %131 = inttoptr i64 %130 to i32*\n %132 = load i32, i32* %131, align 4\n %133 = urem i32 %129, 32\n %134 = icmp eq i32 %133, 0\n %135 = shl i32 %132, %133\n %rdx.2 = zext i32 %135 to i64\n %136 = add i64 %0, 120\n %137 = inttoptr i64 %136 to i32*\n %138 = load i32, i32* %137, align 4\n %139 = zext i32 %138 to i64\n %140 = call i64 @FUNC(i64 %139, i64 %rdx.2)\n %141 = add i64 %113, 8\n %142 = inttoptr i64 %141 to i32*\n %143 = load i32, i32* %142, align 4\n %144 = shl i32 %143, %133\n %rdx.3 = zext i32 %144 to i64\n %145 = add i64 %0, 124\n %146 = inttoptr i64 %145 to i32*\n %147 = load i32, i32* %146, align 4\n %148 = zext i32 %147 to i64\n %149 = call i64 @FUNC(i64 %148, i64 %rdx.3)\n %150 = trunc i64 %149 to i32\n %151 = load i32, i32* %131, align 4\n %152 = shl i32 %151, %133\n %rdx.4 = zext i32 %152 to i64\n %153 = add i64 %0, 128\n %154 = inttoptr i64 %153 to i32*\n %155 = load i32, i32* %154, align 4\n %156 = zext i32 %155 to i64\n %157 = call i64 @FUNC(i64 %156, i64 %rdx.4)\n %158 = load i32, i32* %142, align 4\n %159 = shl i32 %158, %133\n %rdx.5 = zext i32 %159 to i64\n %160 = add i64 %0, 132\n %161 = inttoptr i64 %160 to i32*\n %162 = load i32, i32* %161, align 4\n %163 = zext i32 %162 to i64\n %164 = call i64 @FUNC(i64 %163, i64 %rdx.5)\n %165 = add i64 %126, 8\n %166 = inttoptr i64 %165 to i32*\n %167 = load i32, i32* %166, align 4\n %168 = add i64 %126, 12\n %169 = inttoptr i64 %168 to i32*\n %170 = load i32, i32* %169, align 4\n %171 = add i32 %170, %129\n %172 = add i64 %0, 32\n %173 = inttoptr i64 %172 to i32*\n %174 = load i32, i32* %173, align 4\n %175 = load i32, i32* %142, align 4\n %176 = urem i32 %171, 32\n %177 = shl i32 %175, %176\n %178 = urem i32 %174, %177\n %179 = icmp eq i32 %178, 0\n br i1 %179, label LBL_23, label LBL_21\n LBL_21:\n %180 = load i32, i32* %146, align 4\n %181 = icmp eq i32 %174, %180\n %182 = icmp eq i1 %181, false\n br i1 %182, label LBL_35, label LBL_22\n LBL_22:\n %183 = and i64 %149, 4294967295\n %184 = shl i32 %150, %133\n %185 = zext i32 %184 to i64\n %rdx.6 = select i1 %134, i64 %183, i64 %185\n %186 = shl i32 1, %176\n %storemerge6 = zext i32 %186 to i64\n %187 = trunc i64 %rdx.6 to i32\n %188 = ashr i32 %187, 31\n %189 = zext i32 %188 to i64\n %190 = mul i64 %189, 4294967296\n %191 = or i64 %190, %rdx.6\n %192 = srem i64 %191, %storemerge6\n %193 = trunc i64 %192 to i32\n %194 = icmp eq i32 %193, 0\n br i1 %194, label LBL_35, label LBL_23\n LBL_23:\n %195 = trunc i64 %140 to i32\n %196 = add i32 %167, %129\n %197 = add i64 %0, 36\n %198 = inttoptr i64 %197 to i32*\n %199 = load i32, i32* %198, align 4\n %200 = load i32, i32* %131, align 4\n %201 = urem i32 %196, 32\n %202 = shl i32 %200, %201\n %203 = urem i32 %199, %202\n %204 = icmp eq i32 %203, 0\n br i1 %204, label LBL_26, label LBL_24\n LBL_24:\n %205 = load i32, i32* %137, align 4\n %206 = icmp eq i32 %199, %205\n %207 = icmp eq i1 %206, false\n br i1 %207, label LBL_36, label LBL_25\n LBL_25:\n %208 = and i64 %140, 4294967295\n %209 = shl i32 %195, %133\n %210 = zext i32 %209 to i64\n %rdx.7 = select i1 %134, i64 %208, i64 %210\n %211 = shl i32 1, %201\n %storemerge8 = zext i32 %211 to i64\n %212 = trunc i64 %rdx.7 to i32\n %213 = ashr i32 %212, 31\n %214 = zext i32 %213 to i64\n %215 = mul i64 %214, 4294967296\n %216 = or i64 %215, %rdx.7\n %217 = srem i64 %216, %storemerge8\n %218 = trunc i64 %217 to i32\n %219 = icmp eq i32 %218, 0\n br i1 %219, label LBL_36, label LBL_26\n LBL_26:\n %220 = inttoptr i64 %126 to i32*\n %221 = load i32, i32* %220, align 4\n %222 = icmp eq i32 %221, 0\n br i1 %222, label LBL_37, label LBL_27\n LBL_27:\n %223 = add i64 %126, 4\n %224 = inttoptr i64 %223 to i32*\n %225 = load i32, i32* %224, align 4\n %226 = icmp eq i32 %225, 0\n br i1 %226, label LBL_37, label LBL_28\n LBL_28:\n %227 = trunc i64 %157 to i32\n %228 = trunc i64 %164 to i32\n %229 = icmp eq i32 %195, %227\n %230 = icmp eq i32 %150, %228\n %or.cond = or i1 %229, %230\n store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem\n br i1 %or.cond, label LBL_38, label LBL_29\n LBL_29:\n %231 = zext i32 %167 to i64\n %232 = shl i32 %200, %133\n %rdx.8 = zext i32 %232 to i64\n %233 = zext i32 %199 to i64\n %234 = call i64 @FUNC(i64 %233, i64 %rdx.8)\n %235 = and i64 %234, 4294967295\n %236 = call i64 @FUNC(i64 %235, i64 %231)\n %237 = trunc i64 %236 to i32\n %238 = load i32, i32* %166, align 4\n %239 = zext i32 %238 to i64\n %240 = and i64 %140, 4294967295\n %241 = call i64 @FUNC(i64 %240, i64 %239)\n %242 = trunc i64 %241 to i32\n %243 = sub i32 %237, %242\n %244 = load i32, i32* %169, align 4\n %245 = zext i32 %244 to i64\n %246 = load i32, i32* %142, align 4\n %247 = shl i32 %246, %133\n %rdx.9 = zext i32 %247 to i64\n %248 = load i32, i32* %173, align 4\n %249 = zext i32 %248 to i64\n %250 = call i64 @FUNC(i64 %249, i64 %rdx.9)\n %251 = and i64 %250, 4294967295\n %252 = call i64 @FUNC(i64 %251, i64 %245)\n %253 = load i32, i32* %169, align 4\n %254 = zext i32 %253 to i64\n %255 = and i64 %149, 4294967295\n %256 = call i64 @FUNC(i64 %255, i64 %254)\n %257 = sub i64 %252, %256\n %258 = load i32, i32* %220, align 4\n %259 = trunc i64 %257 to i32\n %260 = mul i32 %258, %259\n %261 = add i32 %243, %260\n %262 = add i64 %0, 44\n %263 = inttoptr i64 %262 to i32*\n store i32 %261, i32* %263, align 4\n %264 = add i64 %0, 112\n %265 = inttoptr i64 %264 to i32*\n %266 = load i32, i32* %265, align 4\n %267 = add i64 %0, 48\n %268 = inttoptr i64 %267 to i32*\n store i32 %266, i32* %268, align 4\n store i32 %266, i32* %.reg2mem42\n store i64 %267, i64* %.pre-phi.reg2mem\n br label LBL_33\n LBL_30:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %269 = add i64 %0, 52\n %270 = inttoptr i64 %269 to i32*\n %271 = load i32, i32* %270, align 4\n %272 = mul i32 %271, %.reload43\n %273 = add i64 %0, 28\n %274 = inttoptr i64 %273 to i32*\n %275 = load i32, i32* %274, align 4\n %276 = add i64 %0, 56\n %277 = inttoptr i64 %276 to i32*\n %278 = load i32, i32* %277, align 4\n %279 = mul i32 %278, %275\n %280 = add i64 %0, 44\n %281 = inttoptr i64 %280 to i32*\n %282 = load i32, i32* %281, align 4\n %283 = add i64 %0, 64\n %284 = inttoptr i64 %283 to i32*\n %285 = load i32, i32* %284, align 4\n %286 = mul i32 %285, %282\n %287 = add i64 %0, 40\n %288 = inttoptr i64 %287 to i32*\n %289 = load i32, i32* %288, align 4\n %290 = add i64 %0, 60\n %291 = inttoptr i64 %290 to i32*\n %292 = load i32, i32* %291, align 4\n %293 = mul i32 %292, %289\n %294 = add i32 %279, %272\n %295 = add i32 %294, %286\n %296 = add i32 %295, %293\n %297 = add i64 %0, 72\n %298 = inttoptr i64 %297 to i64*\n %299 = load i64, i64* %298, align 8\n %300 = zext i32 %296 to i64\n %301 = add i64 %299, %300\n %302 = inttoptr i64 %301 to i8*\n %303 = load i8, i8* %302, align 1\n %304 = icmp eq i8 %303, 0\n %305 = icmp eq i1 %304, false\n store i32 %.reload43, i32* %.reg2mem40\n store i64 %.pre-phi.reload, i64* %.pre-phi30.reg2mem\n br i1 %305, label LBL_32, label LBL_31\n LBL_31:\n store i8 1, i8* %302, align 1\n store i64 1, i64* %storemerge9.reg2mem\n br label LBL_46\n LBL_32:\n %.pre-phi30.reload = load i64, i64* %.pre-phi30.reg2mem\n %.reload41 = load i32, i32* %.reg2mem40\n %306 = inttoptr i64 %.pre-phi30.reload to i32*\n %307 = add i32 %.reload41, 1\n store i32 %307, i32* %306, align 4\n store i32 %307, i32* %.reg2mem42\n store i64 %.pre-phi30.reload, i64* %.pre-phi.reg2mem\n br label LBL_33\n LBL_33:\n %.reload43 = load i32, i32* %.reg2mem42\n %308 = add i64 %0, 116\n %309 = inttoptr i64 %308 to i32*\n %310 = load i32, i32* %309, align 4\n %311 = icmp ult i32 %.reload43, %310\n br i1 %311, label LBL_30, label LBL_33.LBL_38_crit_edge\n LBL_34:\n %.pre31 = add i64 %0, 40\n store i64 %.pre31, i64* %.pre-phi32.reg2mem\n br label LBL_38\n LBL_35:\n store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem\n br label LBL_38\n LBL_36:\n store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem\n br label LBL_38\n LBL_37:\n store i64 %.pre-phi24.reload, i64* %.pre-phi32.reg2mem\n br label LBL_38\n LBL_38:\n %.pre-phi32.reload = load i64, i64* %.pre-phi32.reg2mem\n %312 = inttoptr i64 %.pre-phi32.reload to i32*\n %313 = load i32, i32* %312, align 4\n %314 = add i32 %313, 1\n store i32 %314, i32* %312, align 4\n store i32 %314, i32* %.reg2mem44\n store i64 %.pre-phi32.reload, i64* %.pre-phi24.reg2mem\n br label LBL_39\n LBL_39:\n %.reload45 = load i32, i32* %.reg2mem44\n %315 = add i64 %0, 84\n %316 = inttoptr i64 %315 to i32*\n %317 = load i32, i32* %316, align 4\n %318 = icmp ult i32 %.reload45, %317\n br i1 %318, label LBL_19, label LBL_40\n LBL_40:\n %319 = add i64 %0, 36\n %320 = inttoptr i64 %319 to i32*\n %321 = load i32, i32* %320, align 4\n %322 = add i64 %0, 20\n %323 = inttoptr i64 %322 to i32*\n %324 = load i32, i32* %323, align 4\n %325 = urem i32 %321, %324\n %326 = add i32 %324, %321\n %327 = sub i32 %326, %325\n store i32 %327, i32* %320, align 4\n store i32 %327, i32* %.reg2mem46\n br label LBL_41\n LBL_41:\n %.reload47 = load i32, i32* %.reg2mem46\n %328 = add i64 %0, 100\n %329 = inttoptr i64 %328 to i32*\n %330 = load i32, i32* %329, align 4\n %331 = icmp ult i32 %.reload47, %330\n br i1 %331, label LBL_18, label LBL_42\n LBL_42:\n %332 = add i64 %0, 32\n %333 = inttoptr i64 %332 to i32*\n %334 = load i32, i32* %333, align 4\n %335 = add i64 %0, 24\n %336 = inttoptr i64 %335 to i32*\n %337 = load i32, i32* %336, align 4\n %338 = urem i32 %334, %337\n %339 = add i32 %337, %334\n %340 = sub i32 %339, %338\n store i32 %340, i32* %333, align 4\n store i32 %340, i32* %.reg2mem48\n br label LBL_43\n LBL_43:\n %.reload49 = load i32, i32* %.reg2mem48\n %341 = add i64 %0, 92\n %342 = inttoptr i64 %341 to i32*\n %343 = load i32, i32* %342, align 4\n %344 = icmp ult i32 %.reload49, %343\n br i1 %344, label LBL_17, label LBL_44\n LBL_44:\n %345 = add i64 %0, 28\n %346 = inttoptr i64 %345 to i32*\n %347 = load i32, i32* %346, align 4\n %348 = add i32 %347, 1\n store i32 %348, i32* %346, align 4\n store i32 %348, i32* %.reg2mem50\n br label LBL_45\n LBL_45:\n %.reload51 = load i32, i32* %.reg2mem50\n %349 = add i64 %0, 108\n %350 = inttoptr i64 %349 to i32*\n %351 = load i32, i32* %350, align 4\n %352 = icmp ult i32 %.reload51, %351\n store i64 0, i64* %storemerge9.reg2mem\n br i1 %352, label LBL_16, label LBL_46\n LBL_46:\n %storemerge9.reload = load i64, i64* %storemerge9.reg2mem\n ret i64 %storemerge9.reload\n\n uselistorder i32 %.reload45, { 1, 0 }\n uselistorder i32 %.reload43, { 1, 0, 2 }\n uselistorder i32 %201, { 1, 0 }\n uselistorder i32 %195, { 1, 0 }\n uselistorder i32 %176, { 1, 0 }\n uselistorder i32 %167, { 1, 0 }\n uselistorder i1 %134, { 1, 0 }\n uselistorder i32 %133, { 6, 5, 7, 8, 4, 3, 2, 1, 0 }\n uselistorder i32 %129, { 2, 1, 0 }\n uselistorder i64 %126, { 0, 3, 1, 2 }\n uselistorder i64 %.pre-phi24.reload, { 2, 3, 4, 0, 1 }\n uselistorder i32 %.reload39, { 1, 0 }\n uselistorder i64 %54, { 1, 0 }\n uselistorder i64 %45, { 1, 0 }\n uselistorder i32* %17, { 1, 0 }\n uselistorder i64 %0, { 16, 20, 19, 25, 24, 23, 40, 39, 38, 0, 43, 42, 49, 50, 47, 48, 45, 46, 44, 29, 28, 30, 31, 32, 33, 34, 35, 36, 37, 41, 26, 27, 21, 22, 17, 18, 9, 8, 3, 2, 5, 4, 7, 6, 12, 13, 11, 10, 14, 15, 1, 51 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem36, { 1, 0, 2 }\n uselistorder i64* %storemerge13.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge12.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi32.reg2mem, { 0, 3, 2, 1, 6, 5, 4 }\n uselistorder i64* %.pre-phi24.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem50, { 0, 2, 1 }\n uselistorder i64 44, { 1, 0 }\n uselistorder i64 (i64, i64)* @opj_int_floordivpow2, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 5, 2, 6, 3, 4, 7, 8, 9, 10, 0, 11 }\n uselistorder i64 (i64, i64)* @opj_int_ceildiv, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 40, { 0, 2, 1 }\n uselistorder i64 36, { 2, 0, 1 }\n uselistorder i64 32, { 2, 1, 0 }\n uselistorder i64 28, { 1, 2, 0, 3 }\n uselistorder i1 false, { 3, 0, 1, 2, 4 }\n uselistorder i64 (i64, i64)* @opj_uint_min, { 1, 0 }\n uselistorder i32 31, { 1, 2, 0, 3 }\n uselistorder i64 8, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 24, { 2, 1, 0, 3 }\n uselistorder i64 48, { 1, 0 }\n uselistorder i32 0, { 5, 6, 7, 3, 8, 4, 9, 0, 10, 11, 1, 2, 12, 13, 14, 15, 16 }\n uselistorder i64 16, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_43, { 1, 0 }\n uselistorder label LBL_41, { 1, 0 }\n uselistorder label LBL_39, { 1, 0 }\n uselistorder label LBL_38, { 3, 4, 5, 0, 1, 2 }\n uselistorder label LBL_33, { 1, 0 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "handle_ept_misconfig_10629", "fun_name": "handle_ept_misconfig", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 0)\n %2 = call i64 @FUNC(i64 %0, i64 0, i64 %1, i64 0, i64 0)\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 %1, i64 1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %0, i64 %1, i64 0, i64 0, i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = zext i1 %13 to i64\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %15 = icmp eq i32 %8, -1\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %0, i64 %1, i64 0, i64 0, i64 0)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %18 = icmp eq i32 %8, 2\n %19 = icmp eq i1 %18, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %19, label LBL_7, label LBL_8\n LBL_7:\n %20 = call i64 @FUNC(i64 1)\n store i32 1, i32* inttoptr (i64 1 to i32*), align 4\n store i32 2, i32* inttoptr (i64 5 to i32*), align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 2, 1, 3, 0, 4 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 1, { 3, 4, 0, 5, 1, 2 }\n uselistorder label LBL_8, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_load_request_1903", "fun_name": "virtio_scsi_load_request", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = call i64* @malloc(i32 176)\n %4 = bitcast i32* %sv_0 to i64*\n %5 = call i64 @FUNC(i64 %2, i64* nonnull %4)\n %6 = trunc i64 %1 to i32\n %7 = load i32, i32* %sv_0, align 4\n %8 = icmp ult i32 %7, %6\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %9 = bitcast i64* %3 to i32*\n %10 = ptrtoint i64* %3 to i64\n %11 = call i64 @FUNC(i64 %2, i64 %10, i64 168)\n %12 = load i32, i32* %9, align 4\n %13 = icmp ult i32 %12, 11\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 90, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %14 = add i64 %10, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp ult i32 %16, 11\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 91, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %18 = ptrtoint i64* %arg2 to i64\n %19 = load i32, i32* %sv_0, align 4\n %20 = zext i32 %19 to i64\n %21 = mul i64 %20, 8\n %22 = add i64 %18, 8\n %23 = add i64 %21, %22\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %18, i64 %25, i64 %10)\n %27 = call i64 @FUNC(i64 %18)\n %28 = add i64 %10, 168\n %29 = inttoptr i64 %28 to i64*\n store i64 %18, i64* %29, align 8\n %30 = inttoptr i64 %22 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_9, label LBL_7\n LBL_7:\n %33 = load i32, i32* %9, align 4\n %34 = icmp ult i32 %33, 2\n %. = select i1 %34, i32 2, i32 1\n %35 = icmp eq i32 %31, %.\n br i1 %35, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 98, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n ret i64 %10\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %18, { 1, 0, 2, 3 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 168, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ll_find_alias_6583", "fun_name": "ll_find_alias", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_13\n LBL_1:\n %6 = call i64 @FUNC(i64 %1)\n %phitmp = icmp eq i64* %arg1, null\n %phitmp2 = icmp eq i1 %phitmp, false\n store i64 0, i64* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %phitmp2, label LBL_2, label LBL_10\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = icmp eq i64 %2, %7\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rsi.0.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([22 x i8]* @gv_1 to i64), i64* %rsi.0.reg2mem\n br label LBL_4\n LBL_4:\n %12 = add i64 %2, 36\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %2, 32\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = urem i32 %16, 2\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %sv_1.0.reg2mem\n br i1 %18, label LBL_5, label LBL_9\n LBL_5:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %19 = inttoptr i64 %2 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, %rsi.0.reload\n %22 = icmp eq i1 %21, false\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_9, label LBL_6\n LBL_6:\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %7, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %25, %28\n %30 = icmp eq i1 %29, false\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_9, label LBL_7\n LBL_7:\n %31 = add i64 %2, 16\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i64 %7, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %33, %36\n %38 = icmp eq i1 %37, false\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %38, label LBL_9, label LBL_8\n LBL_8:\n %39 = add i64 %7, 24\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %2, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = inttoptr i64 %44 to i64*\n %46 = inttoptr i64 %41 to i64*\n %47 = call i32 @memcmp(i64* %45, i64* %46, i32 %36)\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n %spec.select = select i1 %49, i64 0, i64 %2\n store i64 %spec.select, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %50 = call i64 @FUNC(i64 %12)\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %51 = icmp eq i64 %sv_1.1.reload, 0\n %52 = icmp eq i1 %51, false\n %spec.select3 = select i1 %52, i64 %sv_1.1.reload, i64 %sv_0.1.reload\n %53 = icmp eq i64 %spec.select3, 0\n br i1 %53, label LBL_12, label LBL_11\n LBL_11:\n %54 = add i64 %spec.select3, 36\n %55 = call i64 @FUNC(i64 %54)\n %56 = call i64 @FUNC(i64 %spec.select3)\n %57 = call i64 @FUNC(i64 %54)\n br label LBL_12\n LBL_12:\n %58 = call i64 @FUNC(i64 %1)\n store i64 %spec.select3, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %spec.select3, { 0, 2, 1, 3 }\n uselistorder i64 %sv_1.1.reload, { 1, 0 }\n uselistorder i64 %7, { 3, 2, 1, 0, 4 }\n uselistorder i64 %2, { 7, 3, 4, 5, 6, 1, 2, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 1, 3, 4, 5, 2 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock, { 1, 0 }\n uselistorder [22 x i8]* @gv_1, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 0, 2, 3, 4, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_task_ioprio_6536", "fun_name": "get_task_ioprio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %1, i64* %sv_0.1.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0)\n store i64 %0, i64* %sv_0.1.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %7 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %7\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_stream_pad_6627", "fun_name": "jas_stream_pad", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sext514.in.reg2mem = alloca i64\n %storemerge610.lcssa.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp slt i32 %5, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %6, false\n %10 = icmp eq i1 %8, %9\n store i64 %4, i64* %storemerge.in.reg2mem\n br i1 %10, label LBL_3, label LBL_7\n LBL_3:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = and i64 %arg3, 4294967295\n %13 = call i64 @FUNC(i64 %11, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, -1\n %16 = icmp eq i1 %15, false\n store i64 %4, i64* %storemerge610.lcssa.reg2mem\n store i64 %sext, i64* %sext514.in.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_4:\n %17 = call i64 @FUNC(i64 %11, i64 %12)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, -1\n %20 = icmp eq i1 %19, false\n store i64 %storemerge6, i64* %storemerge610.lcssa.reg2mem\n store i64 %sext514, i64* %sext514.in.reg2mem\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %storemerge610.lcssa.reload = load i64, i64* %storemerge610.lcssa.reg2mem\n %21 = sub nsw i64 %4, %storemerge610.lcssa.reload\n store i64 %21, i64* %storemerge.in.reg2mem\n br label LBL_7\n LBL_6:\n %sext514.in.reload = load i64, i64* %sext514.in.reg2mem\n %sext514 = add i64 %sext514.in.reload, -4294967296\n %storemerge6 = ashr exact i64 %sext514, 32\n %22 = trunc i64 %storemerge6 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp slt i32 %22, 0\n %25 = icmp eq i1 %24, false\n %26 = icmp eq i1 %23, false\n %27 = icmp eq i1 %25, %26\n store i64 %4, i64* %storemerge.in.reg2mem\n br i1 %27, label LBL_4, label LBL_7\n LBL_7:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i32 %22, { 1, 0 }\n uselistorder i64 %storemerge6, { 1, 0 }\n uselistorder i64 %sext514, { 1, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %4, { 0, 4, 2, 1, 3 }\n uselistorder i64* %sext514.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64, i64)* @jas_stream_putc, { 1, 0 }\n uselistorder i1 false, { 5, 3, 4, 0, 1, 2, 6 }\n uselistorder i32 0, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "espRouteDirective_5231", "fun_name": "espRouteDirective", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_4.0.reg2mem = alloca i64\n %sv_4.14.reg2mem = alloca i64\n %sv_3.15.reg2mem = alloca i64\n %sv_2.17.reg2mem = alloca i64\n %sv_1.19.reg2mem = alloca i8*\n %sv_0.111.reg2mem = alloca i8*\n %storemerge13.reg2mem = alloca i64\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg3, i64* nonnull @gv_0)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %2, label LBL_20, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg3)\n %4 = call i64 @FUNC(i64 %3, i64* nonnull %sv_6)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %storemerge13.reg2mem\n store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.111.reg2mem\n store i8* null, i8** %sv_1.19.reg2mem\n store i64 0, i64* %sv_2.17.reg2mem\n store i64 0, i64* %sv_3.15.reg2mem\n store i64 0, i64* %sv_4.14.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_20\n LBL_2:\n %sv_4.14.reload = load i64, i64* %sv_4.14.reg2mem\n %sv_3.15.reload = load i64, i64* %sv_3.15.reg2mem\n %sv_2.17.reload = load i64, i64* %sv_2.17.reg2mem\n %sv_1.19.reload = load i8*, i8** %sv_1.19.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %7 = call i64 @FUNC(i64 %storemerge13.reload, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64* nonnull %sv_5)\n %8 = load i64, i64* %sv_5, align 8\n %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 1)\n store i64 %9, i64* %sv_5, align 8\n %10 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0))\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = load i64, i64* %sv_5, align 8\n %14 = inttoptr i64 %13 to i8*\n store i64 %sv_4.14.reload, i64* %sv_4.0.reg2mem\n store i64 %sv_3.15.reload, i64* %sv_3.0.reg2mem\n store i64 %sv_2.17.reload, i64* %sv_2.0.reg2mem\n store i8* %sv_1.19.reload, i8** %sv_1.0.reg2mem\n store i8* %14, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_4:\n %sv_0.111.reload = load i8*, i8** %sv_0.111.reg2mem\n %15 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0))\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = load i64, i64* %sv_5, align 8\n store i64 %sv_4.14.reload, i64* %sv_4.0.reg2mem\n store i64 %18, i64* %sv_3.0.reg2mem\n store i64 %sv_2.17.reload, i64* %sv_2.0.reg2mem\n store i8* %sv_1.19.reload, i8** %sv_1.0.reg2mem\n store i8* %sv_0.111.reload, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_6:\n %19 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0))\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0))\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_9, label LBL_8\n LBL_8:\n %26 = load i64, i64* %sv_5, align 8\n store i64 %26, i64* %sv_4.0.reg2mem\n store i64 %sv_3.15.reload, i64* %sv_3.0.reg2mem\n store i64 %sv_2.17.reload, i64* %sv_2.0.reg2mem\n store i8* %sv_1.19.reload, i8** %sv_1.0.reg2mem\n store i8* %sv_0.111.reload, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_9:\n %27 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_8, i64 0, i64 0))\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_11, label LBL_10\n LBL_10:\n %30 = load i64, i64* %sv_5, align 8\n store i64 %sv_4.14.reload, i64* %sv_4.0.reg2mem\n store i64 %sv_3.15.reload, i64* %sv_3.0.reg2mem\n store i64 %30, i64* %sv_2.0.reg2mem\n store i8* %sv_1.19.reload, i8** %sv_1.0.reg2mem\n store i8* %sv_0.111.reload, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_11:\n %31 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_9, i64 0, i64 0))\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_13, label LBL_12\n LBL_12:\n %34 = load i64, i64* %sv_5, align 8\n %35 = inttoptr i64 %34 to i8*\n store i64 %sv_4.14.reload, i64* %sv_4.0.reg2mem\n store i64 %sv_3.15.reload, i64* %sv_3.0.reg2mem\n store i64 %sv_2.17.reload, i64* %sv_2.0.reg2mem\n store i8* %35, i8** %sv_1.0.reg2mem\n store i8* %sv_0.111.reload, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_10, i64 0, i64 0), i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_11, i64 0, i64 0), i64 %7)\n store i64 %sv_4.14.reload, i64* %sv_4.0.reg2mem\n store i64 %sv_3.15.reload, i64* %sv_3.0.reg2mem\n store i64 %sv_2.17.reload, i64* %sv_2.0.reg2mem\n store i8* %sv_1.19.reload, i8** %sv_1.0.reg2mem\n store i8* %sv_0.111.reload, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem\n %37 = load i64, i64* %sv_6, align 8\n %38 = call i64 @FUNC(i64 %37, i64* nonnull %sv_6)\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n store i64 %38, i64* %storemerge13.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.111.reg2mem\n store i8* %sv_1.0.reload, i8** %sv_1.19.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.17.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.15.reg2mem\n store i64 %sv_4.0.reload, i64* %sv_4.14.reg2mem\n br i1 %40, label LBL_2, label LBL_15\n LBL_15:\n %41 = icmp ne i64 %sv_4.0.reload, 0\n %42 = icmp eq i8* %sv_1.0.reload, null\n %43 = icmp eq i1 %42, false\n %or.cond = icmp eq i1 %41, %43\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_16, label LBL_20\n LBL_16:\n %44 = load i8, i8* %sv_1.0.reload, align 1\n %45 = icmp eq i8 %44, 0\n %46 = icmp eq i1 %45, false\n %47 = ptrtoint i8* %sv_1.0.reload to i64\n %48 = select i1 %46, i64 %47, i64 ptrtoint ([3 x i8]* @gv_12 to i64)\n %49 = call i64 @FUNC(i64 %48, i64 %37)\n %50 = ptrtoint i8* %sv_0.0.reload to i64\n %51 = call i64 @FUNC(i64 %48, i64 %sv_3.0.reload, i64 %50, i64 %sv_4.0.reload, i64 %49, i64 %sv_2.0.reload)\n %52 = icmp eq i64 %51, 0\n %53 = icmp eq i1 %52, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %53, label LBL_17, label LBL_20\n LBL_17:\n %54 = call i64 @FUNC(i64 %51, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_13, i64 0, i64 0))\n %55 = call i64 @FUNC(i64 %51)\n %56 = icmp eq i64 %55, 0\n %57 = icmp eq i1 %56, false\n store i64 4294967293, i64* %rax.0.reg2mem\n br i1 %57, label LBL_18, label LBL_20\n LBL_18:\n %58 = icmp eq i64 %sv_3.0.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %58, label LBL_20, label LBL_19\n LBL_19:\n %59 = call i64 @FUNC(i64 %sv_3.0.reload)\n %60 = inttoptr i64 %55 to i64*\n store i64 %59, i64* %60, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %51, { 1, 0, 2 }\n uselistorder i64 %sv_3.0.reload, { 1, 0, 2, 3 }\n uselistorder i8* %sv_1.0.reload, { 1, 0, 2, 3 }\n uselistorder i8* %sv_0.111.reload, { 3, 2, 1, 4, 0 }\n uselistorder i8* %sv_1.19.reload, { 3, 2, 4, 1, 0 }\n uselistorder i64 %sv_2.17.reload, { 3, 2, 4, 1, 0 }\n uselistorder i64 %sv_3.15.reload, { 3, 2, 1, 4, 0 }\n uselistorder i64 %sv_4.14.reload, { 4, 3, 2, 1, 0 }\n uselistorder i64* %sv_6, { 0, 2, 1 }\n uselistorder i64* %sv_5, { 1, 2, 3, 4, 5, 6, 7, 0 }\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.111.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_1.19.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.17.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_3.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_4.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_4.0.reg2mem, { 0, 5, 4, 3, 6, 2, 1 }\n uselistorder i64* %sv_3.0.reg2mem, { 0, 5, 4, 3, 6, 2, 1 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 5, 4, 3, 6, 2, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 5, 4, 3, 6, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 5, 4, 3, 6, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 6, 7, 1, 2 }\n uselistorder i64 (i64, i8*)* @smatch, { 5, 4, 3, 2, 1, 0 }\n uselistorder i8* null, { 1, 0, 2, 3 }\n uselistorder i1 false, { 2, 3, 4, 1, 6, 5, 0, 7 }\n uselistorder i64 (i64, i64*)* @maGetNextArg, { 1, 0 }\n uselistorder i64 (i64)* @sclone, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8 }\n uselistorder label LBL_20, { 4, 3, 5, 6, 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_bitstream_pending_10588", "fun_name": "jpc_bitstream_pending", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp slt i32 %7, 8\n %. = zext i1 %8 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__read_io_type_13470", "fun_name": "__read_io_type", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %1 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %4 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %5)\n %9 = icmp eq i64 %7, %8\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_4\n LBL_2:\n %11 = load i64, i64* %6, align 8\n %12 = call i64 @FUNC(i64 %5)\n %13 = icmp eq i64 %11, %12\n %14 = icmp eq i1 %13, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_4\n LBL_3:\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_report_akcipher_13664", "fun_name": "crypto_report_akcipher", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = bitcast i64* %sv_0 to i8*\n %2 = call i8* @strncpy(i8* nonnull %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i32 10)\n %3 = call i64 @FUNC(i64 %0, i64 1, i64 10, i64* nonnull %sv_0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %. = select i1 %6, i64 4294967206, i64 0\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "onig_number_of_capture_histories_10930", "fun_name": "onig_number_of_capture_histories", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %rdx.0.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i32\n %0 = ptrtoint i8* %arg1 to i64\n store i32 0, i32* %storemerge3.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %1 = udiv i32 %storemerge3.reload, 8\n %2 = zext i32 %1 to i64\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = zext i8 %5 to i64\n %7 = urem i32 %storemerge3.reload, 8\n %8 = icmp eq i32 %7, 0\n store i64 %6, i64* %rdx.0.reg2mem\n br i1 %8, label LBL_2, label %9\n LBL_2:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %13 = urem i64 %rdx.0.reload, 2\n %14 = icmp ne i64 %13, 0\n %15 = zext i1 %14 to i32\n %spec.select = add i32 %sv_0.12.reload, %15\n %16 = add nuw nsw i32 %storemerge3.reload, 1\n %exitcond = icmp eq i32 %16, 11\n store i32 %16, i32* %storemerge3.reg2mem\n store i32 %spec.select, i32* %sv_0.12.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_1\n LBL_3:\n %17 = zext i32 %spec.select to i64\n ret i64 %17\n\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "trx_create_7594", "fun_name": "trx_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = and i64 %0, 4294967295\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 352)\n %4 = inttoptr i64 %3 to i32*\n store i32 12345, i32* %4, align 4\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %6, align 8\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i32*\n store i32 1, i32* %8, align 4\n %9 = add i64 %3, 20\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = call i32 @time(i32* null)\n %12 = sext i32 %11 to i64\n %13 = add i64 %3, 24\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = add i64 %3, 32\n %16 = inttoptr i64 %15 to i32*\n store i32 2, i32* %16, align 4\n %17 = add i64 %3, 40\n %18 = inttoptr i64 %17 to i64*\n store i64 0, i64* %18, align 8\n %19 = add i64 %3, 48\n %20 = inttoptr i64 %19 to i64*\n store i64 -1, i64* %20, align 8\n %21 = add i64 %3, 56\n %22 = inttoptr i64 %21 to i8*\n store i8 1, i8* %22, align 1\n %23 = add i64 %3, 57\n %24 = inttoptr i64 %23 to i8*\n store i8 1, i8* %24, align 1\n %25 = add i64 %3, 58\n %26 = inttoptr i64 %25 to i8*\n store i8 0, i8* %26, align 1\n %27 = add i64 %3, 59\n %28 = inttoptr i64 %27 to i8*\n store i8 0, i8* %28, align 1\n %29 = add i64 %3, 64\n %30 = inttoptr i64 %29 to i64*\n store i64 0, i64* %30, align 8\n %31 = add i64 %3, 72\n %32 = inttoptr i64 %31 to i64*\n store i64 0, i64* %32, align 8\n %33 = add i64 %3, 80\n %34 = inttoptr i64 %33 to i32*\n store i32 0, i32* %34, align 4\n %35 = add i64 %3, 84\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %36, align 4\n %37 = add i64 %3, 88\n %38 = inttoptr i64 %37 to i64*\n store i64 0, i64* %38, align 8\n %39 = add i64 %3, 96\n %40 = inttoptr i64 %39 to i64*\n store i64 0, i64* %40, align 8\n %41 = add i64 %3, 104\n %42 = inttoptr i64 %41 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %42, align 8\n %43 = add i64 %3, 112\n %44 = inttoptr i64 %43 to i64*\n store i64 0, i64* %44, align 8\n %45 = add i64 %3, 120\n %46 = inttoptr i64 %45 to i64*\n store i64 0, i64* %46, align 8\n %47 = add i64 %3, 128\n %48 = inttoptr i64 %47 to i64*\n store i64 0, i64* %48, align 8\n %49 = add i64 %3, 136\n %50 = call i64 @FUNC(i64 %49)\n %51 = call i64 @FUNC(i64 %49, i64 1)\n %52 = add i64 %3, 344\n %53 = inttoptr i64 %52 to i64*\n store i64 0, i64* %53, align 8\n %54 = add i64 %3, 144\n %55 = inttoptr i64 %54 to i64*\n store i64 0, i64* %55, align 8\n %56 = add i64 %3, 152\n %57 = inttoptr i64 %56 to i64*\n store i64 0, i64* %57, align 8\n %58 = add i64 %3, 160\n %59 = inttoptr i64 %58 to i64*\n store i64 0, i64* %59, align 8\n %60 = add i64 %3, 168\n %61 = inttoptr i64 %60 to i64*\n store i64 0, i64* %61, align 8\n %62 = add i64 %3, 176\n %63 = inttoptr i64 %62 to i64*\n store i64 0, i64* %63, align 8\n %64 = add i64 %3, 184\n %65 = inttoptr i64 %64 to i32*\n store i32 0, i32* %65, align 4\n %66 = add i64 %3, 192\n %67 = inttoptr i64 %66 to i64*\n store i64 %arg1, i64* %67, align 8\n %68 = add i64 %3, 200\n %69 = inttoptr i64 %68 to i32*\n store i32 1, i32* %69, align 4\n %70 = add i64 %3, 204\n %71 = inttoptr i64 %70 to i32*\n store i32 0, i32* %71, align 4\n %72 = add i64 %3, 208\n %73 = inttoptr i64 %72 to i8*\n store i8 0, i8* %73, align 1\n %74 = add i64 %3, 216\n %75 = inttoptr i64 %74 to i64*\n store i64 0, i64* %75, align 8\n %76 = add i64 %3, 224\n %77 = inttoptr i64 %76 to i64*\n store i64 0, i64* %77, align 8\n %78 = add i64 %3, 232\n %79 = inttoptr i64 %78 to i64*\n store i64 0, i64* %79, align 8\n %80 = add i64 %3, 240\n %81 = inttoptr i64 %80 to i64*\n store i64 0, i64* %81, align 8\n %82 = add i64 %3, 248\n %83 = inttoptr i64 %82 to i8*\n store i8 0, i8* %83, align 1\n %84 = add i64 %3, 256\n %85 = inttoptr i64 %84 to i64*\n store i64 0, i64* %85, align 8\n %86 = call i64 @FUNC(i64 256)\n %87 = add i64 %3, 264\n %88 = inttoptr i64 %87 to i64*\n store i64 %86, i64* %88, align 8\n %89 = add i64 %3, 272\n %90 = inttoptr i64 %89 to i64*\n store i64 0, i64* %90, align 8\n %91 = add i64 %3, 280\n %92 = inttoptr i64 %91 to i64*\n store i64 0, i64* %92, align 8\n %93 = add i64 %3, 288\n %94 = inttoptr i64 %93 to i32*\n store i32 0, i32* %94, align 4\n %95 = add i64 %3, 292\n %96 = inttoptr i64 %95 to i8*\n store i8 0, i8* %96, align 1\n %97 = add i64 %3, 296\n %98 = inttoptr i64 %97 to i32*\n store i32 1000, i32* %98, align 4\n %99 = add i64 %3, 300\n %100 = inttoptr i64 %99 to i8*\n store i8 0, i8* %100, align 1\n %101 = add i64 %3, 304\n %102 = inttoptr i64 %101 to i32*\n store i32 0, i32* %102, align 4\n %103 = add i64 %3, 312\n %104 = inttoptr i64 %103 to i64*\n store i64 0, i64* %104, align 8\n %105 = add i64 %3, 320\n %106 = inttoptr i64 %105 to i32*\n store i32 0, i32* %106, align 4\n %107 = call i64 @FUNC(i64 256)\n %108 = add i64 %3, 328\n %109 = inttoptr i64 %108 to i64*\n store i64 %107, i64* %109, align 8\n %110 = add i64 %3, 336\n %111 = inttoptr i64 %110 to i64*\n store i64 0, i64* %111, align 8\n ret i64 %3\n\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 1, { 3, 4, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fuse_permission_7234", "fun_name": "fuse_permission", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n store i64 4294967291, i64* %rax.0.shrunk.reg2mem\n br i1 %6, label LBL_1, label LBL_20\n LBL_1:\n %7 = call i64 @FUNC(i64 %3)\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 1\n store i64 4294967283, i64* %rax.0.shrunk.reg2mem\n br i1 %9, label LBL_2, label LBL_20\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %10 = ashr exact i64 %sext, 32\n %11 = inttoptr i64 %3 to i8*\n %12 = trunc i64 %1 to i32\n %13 = load i8, i8* %11, align 1\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = urem i64 %arg2, 2\n %17 = icmp eq i64 %16, 0\n store i8 0, i8* %sv_1.0.reg2mem\n br i1 %17, label LBL_8, label LBL_4\n LBL_4:\n %18 = and i32 %12, 61440\n %19 = icmp eq i32 %18, 32768\n %20 = icmp eq i1 %19, false\n store i8 0, i8* %sv_1.0.reg2mem\n br i1 %20, label LBL_8, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %2)\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = urem i32 %23, 8\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_7, label LBL_6\n LBL_6:\n %27 = call i64 @FUNC()\n %28 = add i64 %21, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30, i64 %27)\n %32 = trunc i64 %31 to i8\n %33 = icmp eq i8 %32, 0\n store i8 0, i8* %sv_1.0.reg2mem\n br i1 %33, label LBL_8, label LBL_7\n LBL_7:\n %34 = and i64 %10, 4294967295\n %35 = call i64 @FUNC(i64 %2, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n store i8 1, i8* %sv_1.0.reg2mem\n store i64 %35, i64* %rax.0.shrunk.reg2mem\n br i1 %37, label LBL_8, label LBL_20\n LBL_8:\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %38 = load i8, i8* %11, align 1\n %39 = icmp eq i8 %38, 0\n br i1 %39, label LBL_12, label LBL_9\n LBL_9:\n %40 = and i64 %10, 4294967295\n %41 = call i64 @FUNC(i64 %2, i64 %40)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, -13\n %44 = icmp eq i1 %43, false\n %45 = icmp eq i8 %sv_1.0.reload, 1\n %or.cond = or i1 %45, %44\n store i64 %41, i64* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_19, label LBL_10\n LBL_10:\n %46 = call i64 @FUNC(i64 %2, i64 %40)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 %46, i64* %sv_0.1.reg2mem\n br i1 %49, label LBL_19, label LBL_11\n LBL_11:\n %50 = call i64 @FUNC(i64 %2, i64 %40)\n store i64 %50, i64* %sv_0.1.reg2mem\n br label LBL_19\n LBL_12:\n %51 = and i64 %arg2, 6\n %52 = icmp eq i64 %51, 0\n br i1 %52, label LBL_14, label LBL_13\n LBL_13:\n %53 = and i64 %10, 4294967295\n %54 = call i64 @FUNC(i64 %2, i64 %53)\n store i64 %54, i64* %sv_0.1.reg2mem\n br label LBL_19\n LBL_14:\n %55 = urem i64 %arg2, 2\n %56 = icmp eq i64 %55, 0\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %56, label LBL_19, label LBL_15\n LBL_15:\n %57 = and i32 %12, 61440\n %58 = icmp eq i32 %57, 32768\n %59 = icmp eq i1 %58, false\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %59, label LBL_19, label LBL_16\n LBL_16:\n %60 = and i32 %12, 448\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %62, label LBL_19, label LBL_17\n LBL_17:\n %63 = icmp eq i8 %sv_1.0.reload, 0\n store i64 4294967283, i64* %rax.0.shrunk.reg2mem\n br i1 %63, label LBL_18, label LBL_20\n LBL_18:\n %64 = and i64 %10, 4294967295\n %65 = call i64 @FUNC(i64 %2, i64 %64)\n %66 = trunc i64 %65 to i32\n %67 = icmp eq i32 %66, 0\n %68 = icmp eq i1 %67, false\n store i64 %65, i64* %sv_0.1.reg2mem\n store i64 4294967283, i64* %rax.0.shrunk.reg2mem\n br i1 %68, label LBL_19, label LBL_20\n LBL_19:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n store i64 %sv_0.1.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %10, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 4, 3, 0, 1, 2, 5, 6, 7, 8 }\n uselistorder i8* %sv_1.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 5, 6, 7, 8, 4, 1, 2, 3 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64 (i64, i64)* @generic_permission, { 1, 0 }\n uselistorder i64 (i64, i64)* @fuse_perm_getattr, { 2, 1, 0 }\n uselistorder i8 1, { 1, 0, 2 }\n uselistorder i8 0, { 4, 5, 2, 6, 0, 1, 7, 8, 3 }\n uselistorder i64 %arg2, { 1, 3, 2, 0 }\n uselistorder label LBL_20, { 5, 0, 1, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pc_init_pci_1_3_16363", "fun_name": "pc_init_pci_1_3", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n store i8 1, i8* inttoptr (i64 4210717 to i8*), align 1\n store i8 0, i8* inttoptr (i64 4210718 to i8*), align 2\n %2 = call i64 @FUNC(i64 %0)\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_base64_decode_373", "fun_name": "av_base64_decode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i32\n %sv_0.19.reg2mem = alloca i64\n %storemerge410.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = inttoptr i64 %arg2 to i8*\n %2 = load i8, i8* %1, align 1\n %3 = icmp ne i8 %2, 0\n %4 = icmp eq i8 %2, 61\n %5 = icmp eq i1 %4, false\n %or.cond7 = icmp eq i1 %3, %5\n store i64 %0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond7, label LBL_1, label LBL_7\n LBL_1:\n %sext = mul i64 %arg3, 4294967296\n %6 = ashr exact i64 %sext, 32\n store i8 %2, i8* %.reg2mem\n store i32 0, i32* %storemerge410.reg2mem\n store i64 %0, i64* %sv_0.19.reg2mem\n store i32 0, i32* %sv_1.08.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i8, i8* %.reg2mem\n %7 = sext i8 %.reload to i32\n %8 = add nsw i32 %7, -43\n %9 = icmp ult i32 %8, 255\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %9, label LBL_3, label LBL_8\n LBL_3:\n %10 = zext i32 %8 to i64\n %11 = add i64 %10, ptrtoint (i8** @gv_0 to i64)\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, -1\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %15, label LBL_4, label LBL_8\n LBL_4:\n %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem\n %sv_0.19.reload = load i64, i64* %sv_0.19.reg2mem\n %storemerge410.reload = load i32, i32* %storemerge410.reg2mem\n %16 = mul i32 %sv_1.08.reload, 64\n %17 = zext i8 %13 to i32\n %18 = add i32 %16, %17\n %19 = urem i32 %storemerge410.reload, 4\n %20 = icmp ne i32 %19, 0\n %21 = sub i64 %sv_0.19.reload, %0\n %22 = icmp slt i64 %21, %6\n %or.cond12 = icmp eq i1 %20, %22\n store i64 %sv_0.19.reload, i64* %sv_0.0.reg2mem\n br i1 %or.cond12, label LBL_5, label LBL_6\n LBL_5:\n %23 = mul i32 %storemerge410.reload, 2\n %24 = and i32 %23, 6\n %25 = xor i32 %24, 6\n %26 = lshr i32 %18, %25\n %27 = add i64 %sv_0.19.reload, 1\n %28 = trunc i32 %26 to i8\n %29 = inttoptr i64 %sv_0.19.reload to i8*\n store i8 %28, i8* %29, align 1\n store i64 %27, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %30 = add i32 %storemerge410.reload, 1\n %31 = sext i32 %30 to i64\n %32 = add i64 %31, %arg2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp ne i8 %34, 0\n %36 = icmp eq i8 %34, 61\n %37 = icmp eq i1 %36, false\n %or.cond = icmp eq i1 %35, %37\n store i8 %34, i8* %.reg2mem\n store i32 %30, i32* %storemerge410.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.19.reg2mem\n store i32 %18, i32* %sv_1.08.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %38 = sub i64 %sv_0.1.lcssa.reload, %0\n store i64 %38, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge410.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.19.reload, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 3, 2, 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge410.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.19.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i8 61, { 1, 0 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fdc_post_load_8131", "fun_name": "fdc_post_load", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = urem i64 %1, 4\n %5 = call i64 @FUNC(i64 %2, i64 %4)\n %6 = and i32 %3, -4\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %2)\n %15 = trunc i64 %14 to i32\n store i32 %15, i32* %10, align 4\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_real_id_3396", "fun_name": "get_real_id", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %0 = bitcast i64* %sv_1 to i8*\n %1 = inttoptr i64 %arg1 to i8*\n %2 = inttoptr i64 %arg2 to i8*\n %3 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %0, i32 128, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %1, i8* %2)\n %4 = call %_IO_FILE* @fopen(i8* nonnull %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %5 = icmp eq %_IO_FILE* %4, null\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %8 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i32* nonnull %sv_0)\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = load i32, i32* %sv_0, align 4\n %12 = trunc i32 %11 to i16\n %13 = bitcast i64* %arg3 to i16*\n store i16 %12, i16* %13, align 2\n %14 = call i32 @fclose(%_IO_FILE* %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %15 = call i32 @fclose(%_IO_FILE* %4)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder %_IO_FILE* %4, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_quota_enable_4635", "fun_name": "ext4_quota_enable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_0 to i64\n %sext = mul i64 %arg2, 4294967296\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = ashr exact i64 %sext, 29\n %5 = add nsw i64 %4, -32\n %6 = add i64 %5, %1\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_4\n LBL_1:\n %11 = call i64 @FUNC(i64 %0, i64 %8)\n %12 = icmp ult i64 %11, -1000\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = load i64, i64* %7, align 8\n %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %13)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %15 = inttoptr i64 %11 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = or i64 %16, 1\n store i64 %17, i64* %15, align 8\n %18 = trunc i64 %arg4 to i32\n %19 = trunc i64 %arg3 to i32\n %20 = trunc i64 %arg2 to i32\n %21 = call i64 @FUNC(i64 %11, i32 %20, i32 %19, i32 %18)\n %22 = call i64 @FUNC(i64 %11)\n %23 = and i64 %21, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 2, 1, 3, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @EXT4_SB, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__reiserfs_set_acl_13388", "fun_name": "__reiserfs_set_acl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.03.reg2mem = alloca i8**\n %sv_2.0.ph.reg2mem = alloca i8**\n %.pr.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i64* %arg2 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %4 = trunc i64 %arg3 to i32\n %sext = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext, 32\n store i64 %2, i64* %sv_4, align 8\n store i64 0, i64* %sv_3, align 8\n %6 = icmp eq i32 %4, 1\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = trunc i64 %5 to i32\n %8 = icmp eq i32 %7, 2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %8, label LBL_6, label LBL_18\n LBL_2:\n %9 = load i64, i64* bitcast ([2 x i8*]* @gv_0 to i64*), align 8\n %10 = inttoptr i64 %9 to i8**\n %11 = icmp eq i64* %arg4, null\n store i8** %10, i8*** %sv_2.03.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n br i1 %11, label LBL_11, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %3, i64 %3, i64* nonnull %sv_4)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_3.LBL_8_crit_edge, label LBL_5\n LBL_4:\n %.pr.pre = load i64, i64* %sv_4, align 8\n store i64 %.pr.pre, i64* %.pr.reg2mem\n store i8** %10, i8*** %sv_2.0.ph.reg2mem\n br label LBL_8\n LBL_5:\n %15 = and i64 %12, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_6:\n %16 = load [8 x i8]*, [8 x i8]** @gv_1, align 8\n %17 = bitcast [8 x i8]* %16 to i8**\n %18 = and i64 %1, 61440\n %19 = icmp eq i64 %18, 16384\n store i64 %2, i64* %.pr.reg2mem\n store i8** %17, i8*** %sv_2.0.ph.reg2mem\n br i1 %19, label LBL_8, label LBL_7\n LBL_7:\n %20 = icmp eq i64* %arg4, null\n %. = select i1 %20, i64 0, i64 4294967283\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_18\n LBL_8:\n %sv_2.0.ph.reload = load i8**, i8*** %sv_2.0.ph.reg2mem\n %.pr.reload = load i64, i64* %.pr.reg2mem\n %21 = icmp eq i64 %.pr.reload, 0\n store i8** %sv_2.0.ph.reload, i8*** %sv_2.03.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n br i1 %21, label LBL_11, label LBL_9\n LBL_9:\n %22 = call i64 @FUNC(i64 %.pr.reload, i64* nonnull %sv_3)\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i8** %sv_2.0.ph.reload, i8*** %sv_2.03.reg2mem\n store i64 %22, i64* %sv_1.0.reg2mem\n br i1 %25, label LBL_11, label LBL_10\n LBL_10:\n %26 = call i64 @FUNC(i64 %22)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_11:\n %27 = ptrtoint i64* %arg1 to i64\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.03.reload = load i8**, i8*** %sv_2.03.reg2mem\n %28 = load i64, i64* %sv_3, align 8\n %29 = ptrtoint i8** %sv_2.03.reload to i64\n %30 = call i64 @FUNC(i64 %27, i64 %3, i64 %29, i64 %sv_1.0.reload, i64 %28, i64 0)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, -61\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_15, label LBL_12\n LBL_12:\n %34 = trunc i64 %5 to i32\n %35 = icmp eq i32 %34, 1\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_14, label LBL_13\n LBL_13:\n %37 = add i64 %3, 4\n %38 = inttoptr i64 %37 to i32*\n store i32 0, i32* %38, align 4\n %39 = call i64 @FUNC(i64 %3)\n br label LBL_14\n LBL_14:\n %40 = call i64 @FUNC(i64 %sv_1.0.reload)\n store i64 0, i64* %sv_0.04.reg2mem\n br label LBL_16\n LBL_15:\n %41 = call i64 @FUNC(i64 %sv_1.0.reload)\n %42 = icmp eq i32 %31, 0\n %43 = icmp eq i1 %42, false\n store i64 %30, i64* %sv_0.04.reg2mem\n store i64 %30, i64* %sv_0.05.reg2mem\n br i1 %43, label LBL_17, label LBL_16\n LBL_16:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %44 = load i64, i64* %sv_4, align 8\n %45 = and i64 %5, 4294967295\n %46 = call i64 @FUNC(i64 %3, i64 %45, i64 %44)\n store i64 %sv_0.04.reload, i64* %sv_0.05.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %47 = and i64 %sv_0.05.reload, 4294967295\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.reload, { 1, 2, 0 }\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i64 %.pr.reload, { 1, 0 }\n uselistorder i8** %10, { 1, 0 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64* %sv_4, { 2, 0, 1, 3 }\n uselistorder i64* %sv_3, { 1, 0, 2 }\n uselistorder i64 %3, { 4, 2, 3, 5, 0, 1 }\n uselistorder i64* %.pr.reg2mem, { 0, 2, 1 }\n uselistorder i8*** %sv_2.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i8*** %sv_2.03.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 3, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i32 0, { 4, 5, 6, 7, 0, 1, 2, 3 }\n uselistorder i64* %arg4, { 1, 0, 2 }\n uselistorder label LBL_18, { 2, 3, 1, 4, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_req_dequeue_3518", "fun_name": "scsi_req_dequeue", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 12\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 %9, i32 %5)\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n store i8 0, i8* %13, align 1\n %16 = call i64 @FUNC(i64 %2)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_sg_vrml_mf_alloc_6960", "fun_name": "gf_sg_vrml_mf_alloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 4\n %7 = icmp eq i1 %6, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_9\n LBL_2:\n %8 = icmp eq i64* %arg1, null\n %9 = icmp eq i1 %8, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_9\n LBL_3:\n %10 = and i64 %4, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_9\n LBL_4:\n %sext2 = mul i64 %arg3, 4294967296\n %15 = ashr exact i64 %sext2, 32\n %16 = trunc i64 %15 to i32\n %17 = icmp ult i32 %16, 1001\n store i64 3, i64* %rax.0.reg2mem\n br i1 %17, label LBL_5, label LBL_9\n LBL_5:\n %18 = ptrtoint i64* %arg1 to i64\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, %16\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_6, label LBL_9\n LBL_6:\n %24 = call i64 @FUNC(i64 %18, i64 %10)\n %25 = icmp eq i32 %16, 0\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = and i64 %15, 4294967295\n %27 = and i64 %11, 4294967295\n %28 = mul nuw i64 %27, %26\n %29 = call i64 @FUNC(i64 %28)\n store i64 %29, i64* %arg1, align 8\n %30 = inttoptr i64 %28 to i64*\n %31 = mul i32 %12, %16\n %32 = call i64* @memset(i64* %30, i32 0, i32 %31)\n br label LBL_8\n LBL_8:\n store i32 %16, i32* %20, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %28, { 1, 0 }\n uselistorder i32 %16, { 1, 0, 2, 3, 4 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_9, { 6, 0, 1, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smacker_decode_bigtree_751", "fun_name": "smacker_decode_bigtree", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i32\n %rdx.1.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = trunc i64 %arg4 to i32\n %5 = icmp slt i32 %4, 501\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br label LBL_20\n LBL_2:\n %7 = trunc i64 %3 to i32\n %8 = add i32 %7, 1\n %9 = add i64 %arg2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp ult i32 %8, %11\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %arg4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br label LBL_20\n LBL_4:\n %14 = call i64 @FUNC(i64 %arg1)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_17, label LBL_5\n LBL_5:\n %18 = zext i32 %8 to i64\n %19 = add i64 %arg3, 32\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n store i64 %18, i64* %rdx.0.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = call i64 @FUNC(i64 %arg1, i64 %23, i64 10, i64 3)\n %phitmp = trunc i64 %25 to i32\n store i64 10, i64* %rdx.0.reg2mem\n store i32 %phitmp, i32* %storemerge2.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %26 = add i64 %arg3, 40\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n store i64 %rdx.0.reload, i64* %rdx.1.reg2mem\n store i32 0, i32* %storemerge.reg2mem\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = call i64 @FUNC(i64 %arg1, i64 %30, i64 10, i64 3)\n %phitmp3 = trunc i64 %32 to i32\n store i64 10, i64* %rdx.1.reg2mem\n store i32 %phitmp3, i32* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %33 = icmp sgt i32 %storemerge2.reload, -1\n %34 = icmp slt i32 %storemerge.reload, 0\n %35 = icmp eq i1 %34, false\n %or.cond = icmp eq i1 %33, %35\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_20\n LBL_10:\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %36 = sext i32 %storemerge2.reload to i64\n %37 = mul i64 %36, 4\n %38 = add nsw i64 %rdx.1.reload, %37\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i64 %arg3, 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = sext i32 %storemerge.reload to i64\n %45 = mul i64 %44, 4\n %46 = add i64 %43, %45\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = mul i32 %48, 256\n %50 = or i32 %49, %40\n %51 = add i64 %arg3, 16\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = icmp eq i32 %50, %55\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_12, label LBL_11\n LBL_11:\n %58 = add i64 %arg3, 24\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = inttoptr i64 %60 to i32*\n store i32 %7, i32* %61, align 4\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_12:\n %62 = add i64 %53, 4\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = icmp eq i32 %50, %64\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_14, label LBL_13\n LBL_13:\n %67 = add i64 %arg3, 24\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = add i64 %69, 4\n %71 = inttoptr i64 %70 to i32*\n store i32 %7, i32* %71, align 4\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_14:\n %72 = add i64 %53, 8\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = icmp eq i32 %50, %74\n %76 = icmp eq i1 %75, false\n store i32 %50, i32* %sv_0.0.reg2mem\n br i1 %76, label LBL_16, label LBL_15\n LBL_15:\n %77 = add i64 %arg3, 24\n %78 = inttoptr i64 %77 to i64*\n %79 = load i64, i64* %78, align 8\n %80 = add i64 %79, 8\n %81 = inttoptr i64 %80 to i32*\n store i32 %7, i32* %81, align 4\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_16:\n %82 = bitcast i64* %rsi to i32*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %83 = add i64 %arg2, 8\n %84 = inttoptr i64 %83 to i64*\n %85 = load i64, i64* %84, align 8\n %86 = load i32, i32* %82, align 8\n %87 = add i32 %86, 1\n %88 = inttoptr i64 %arg2 to i32*\n store i32 %87, i32* %88, align 4\n %89 = sext i32 %86 to i64\n %90 = mul i64 %89, 4\n %91 = add i64 %90, %85\n %92 = inttoptr i64 %91 to i32*\n store i32 %sv_0.0.reload, i32* %92, align 4\n store i64 1, i64* %rax.0.shrunk.reg2mem\n br label LBL_20\n LBL_17:\n %93 = inttoptr i64 %arg2 to i32*\n store i32 %8, i32* %93, align 4\n %94 = add i64 %arg4, 1\n %95 = and i64 %94, 4294967295\n %96 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %95)\n %97 = trunc i64 %96 to i32\n %98 = icmp slt i32 %97, 0\n %99 = icmp eq i1 %98, false\n store i64 %96, i64* %rax.0.shrunk.reg2mem\n br i1 %99, label LBL_18, label LBL_20\n LBL_18:\n %100 = or i32 %97, -2147483648\n %101 = add i64 %arg2, 8\n %102 = inttoptr i64 %101 to i64*\n %103 = load i64, i64* %102, align 8\n %sext = mul i64 %3, 4294967296\n %104 = ashr exact i64 %sext, 30\n %105 = add i64 %103, %104\n %106 = inttoptr i64 %105 to i32*\n store i32 %100, i32* %106, align 4\n %107 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %95)\n %108 = trunc i64 %107 to i32\n %109 = icmp slt i32 %108, 0\n %110 = icmp eq i1 %109, false\n store i64 %107, i64* %rax.0.shrunk.reg2mem\n br i1 %110, label LBL_19, label LBL_20\n LBL_19:\n %111 = add i64 %96, 1\n %112 = add i64 %111, %107\n store i64 %112, i64* %rax.0.shrunk.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %107, { 1, 0, 2 }\n uselistorder i64 %96, { 1, 0, 2 }\n uselistorder i32 %8, { 0, 2, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 7, 1, 2, 6, 3, 5, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @get_vlc2, { 1, 0 }\n uselistorder i64 10, { 0, 2, 1, 3 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64 4, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 %arg4, { 0, 2, 1, 3 }\n uselistorder i64 %arg3, { 7, 8, 3, 2, 1, 0, 4, 5, 6 }\n uselistorder i64 %arg2, { 2, 3, 4, 5, 1, 0, 6 }\n uselistorder i64 %arg1, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_20, { 3, 0, 1, 4, 2, 5, 6 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "chk_malloc_5717", "fun_name": "chk_malloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp ugt i64 %arg1, -11\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = add i64 %arg1, 10\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = inttoptr i64 %3 to i64*\n %6 = trunc i64 %arg1 to i32\n %7 = add i32 %6, 10\n %8 = call i64* @memset(i64* %5, i32 170, i32 %7)\n %9 = call i64 @FUNC(i64 %3)\n %10 = add i64 %3, -8\n %11 = add i64 %10, %9\n %12 = inttoptr i64 %11 to i64*\n store i64 %arg1, i64* %12, align 8\n %13 = add i64 %3, 1\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0, 3, 2, 4 }\n uselistorder i64 %arg1, { 0, 1, 3, 2 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DetachBlob_13678", "fun_name": "DetachBlob", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.2.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([30 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %3 = add i64 %0, 52\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC()\n %sext = mul i64 %7, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = call i64 @FUNC(i64 0, i64 %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0))\n store i64 0, i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %10 = add i64 %0, 48\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %.pre = add i64 %0, 8\n %.pre1 = inttoptr i64 %.pre to i64*\n store i64 %rdi.1.reload, i64* %rdi.2.reg2mem\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = load i64, i64* %.pre1, align 8\n %15 = call i64 @FUNC(i64 %rdi.1.reload, i64 %14)\n store i64 0, i64* %arg1, align 8\n %16 = load i64, i64* %.pre1, align 8\n %17 = call i64 @FUNC(i64 0, i64 %16)\n store i64 0, i64* %rdi.2.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n store i32 0, i32* %11, align 4\n store i64 0, i64* %.pre1, align 8\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %19, align 8\n %20 = add i64 %0, 24\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 28\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 32\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 36\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %0, 40\n %29 = inttoptr i64 %28 to i64*\n store i64 0, i64* %29, align 8\n store i64 0, i64* %arg1, align 8\n %30 = add i64 %0, 56\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n %32 = add i64 %0, 64\n %33 = inttoptr i64 %32 to i64*\n store i64 0, i64* %33, align 8\n ret i64 %rdi.2.reload\n\n uselistorder i64* %.pre1, { 0, 2, 1 }\n uselistorder i64 %rdi.1.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 5, 6, 7, 8, 9, 1, 10, 11, 0 }\n uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder [30 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hsr_set_operstate_9522", "fun_name": "hsr_set_operstate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 1\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0, i64 2)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %5 = trunc i64 %arg2 to i8\n %6 = icmp eq i8 %5, 0\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %0, i64 1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %8 = call i64 @FUNC(i64 %0, i64 3)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @__hsr_set_operstate, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsvAppendStringVar_10516", "fun_name": "jsvAppendStringVar", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.04.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = bitcast i32* %sv_1 to i64*\n %7 = call i64 @FUNC(i64* nonnull %6, i64 %0, i64 0)\n %8 = call i64 @FUNC(i64* nonnull %6)\n %9 = call i64 @FUNC(i64* nonnull %6, i64 %5, i64 %arg3)\n %10 = call i64 @FUNC(i64* nonnull %6)\n %11 = trunc i64 %10 to i32\n %12 = icmp ne i32 %11, 0\n %13 = icmp eq i64 %arg4, 0\n %14 = icmp eq i1 %13, false\n %or.cond3 = icmp eq i1 %14, %12\n store i64 %arg4, i64* %sv_0.04.reg2mem\n br i1 %or.cond3, label LBL_3, label LBL_4\n LBL_3:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %15 = add i64 %sv_0.04.reload, -1\n %16 = call i64 @FUNC(i64* nonnull %6)\n %17 = trunc i64 %16 to i32\n %sext = mul i32 %17, 16777216\n %18 = ashr exact i32 %sext, 24\n store i32 %18, i32* %sv_1, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64* nonnull %6, i64 %19)\n %21 = call i64 @FUNC(i64* nonnull %6)\n %22 = call i64 @FUNC(i64* nonnull %6)\n %23 = trunc i64 %22 to i32\n %24 = icmp ne i32 %23, 0\n %25 = icmp eq i64 %15, 0\n %26 = icmp eq i1 %25, false\n %or.cond = icmp eq i1 %26, %24\n store i64 %15, i64* %sv_0.04.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64* nonnull %6)\n %28 = call i64 @FUNC(i64* nonnull %6)\n ret i64 %28\n\n uselistorder i64* %6, { 4, 5, 6, 1, 2, 3, 0, 7, 8, 9 }\n uselistorder i64* %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64*)* @jsvStringIteratorFree, { 1, 0 }\n uselistorder i64 (i64*)* @jsvStringIteratorHasChar, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_check_clienthello_tlsext_late_8807", "fun_name": "ssl_check_clienthello_tlsext_late", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = add i64 %arg1, 24\n %1 = inttoptr i64 %0 to i32*\n store i32 0, i32* %1, align 4\n %2 = bitcast i64* %rdi to i32*\n %3 = load i32, i32* %2, align 8\n %4 = icmp eq i32 %3, -1\n br i1 %4, label LBL_9, label LBL_1\n LBL_1:\n %5 = add i64 %arg1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_9, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %7 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_9, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %arg1)\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_9, label LBL_4\n LBL_4:\n %14 = add i64 %arg1, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %12, i64* %17, align 8\n %18 = trunc i64 %arg1 to i32\n switch i32 %18, label LBL_8 [\n i32 0, label LBL_5\n i32 1, label LBL_6\n ]\n LBL_5:\n store i32 0, i32* %1, align 4\n br label LBL_9\n LBL_6:\n %19 = add i64 %arg1, 32\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n br i1 %22, label LBL_9, label LBL_7\n LBL_7:\n store i32 1, i32* %1, align 4\n br label LBL_9\n LBL_8:\n %23 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %23, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %24 = ptrtoint i64* %arg2 to i64\n %25 = call i64 @FUNC(i64 %arg1, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n %. = zext i1 %28 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 5, 0, 1, 2, 4, 3, 6 }\n uselistorder label LBL_9, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "multiwrite_cb_15054", "fun_name": "multiwrite_cb", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %arg1 to i32*\n store i32 %0, i32* %3, align 4\n %4 = call i64 @FUNC(i64 %arg1)\n br label LBL_2\n LBL_2:\n %5 = add i64 %arg1, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i32 %7, -1\n store i32 %8, i32* %6, align 4\n %9 = zext i32 %8 to i64\n %10 = icmp eq i32 %8, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = bitcast i64* %rdi to i32*\n %13 = load i32, i32* %12, align 8\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %arg1)\n br label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %arg1)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder i64 (i64)* @multiwrite_user_cb, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 0, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "blk_mig_bytes_total_13941", "fun_name": "blk_mig_bytes_total", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge2.reg2mem\n store i64 0, i64* %sv_0.01.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %0 = inttoptr i64 %storemerge2.reload to i64*\n %1 = load i64, i64* %0, align 8\n %2 = add i64 %1, %sv_0.01.reload\n %3 = add i64 %storemerge2.reload, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %storemerge2.reg2mem\n store i64 %2, i64* %sv_0.01.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_2:\n %8 = mul i64 %2, 512\n ret i64 %8\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %storemerge2.reload, { 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "stcoin_7253", "fun_name": "stcoin", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_3.13.reg2mem = alloca i32\n %sv_2.14.reg2mem = alloca i32\n %sv_1.25.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n %1 = icmp sgt i32 %0, 7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_13\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = icmp ne i32 %4, 0\n %6 = icmp eq i32 %4, -1\n %7 = icmp eq i1 %6, false\n %or.cond = icmp eq i1 %5, %7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_13\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = trunc i64 %8 to i32\n %10 = add i32 %9, -8\n %11 = udiv i32 %10, 4\n %12 = icmp ult i32 %11, %4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_13, label LBL_3\n LBL_3:\n %13 = load i32, i32* @gv_0, align 4\n %14 = icmp eq i32 %13, 0\n store i32 0, i32* %storemerge7.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n store i32 0, i32* %sv_1.25.reg2mem\n store i32 0, i32* %sv_2.14.reg2mem\n store i32 0, i32* %sv_3.13.reg2mem\n br i1 %14, label LBL_12, label LBL_4\n LBL_4:\n %sv_3.13.reload = load i32, i32* %sv_3.13.reg2mem\n %sv_2.14.reload = load i32, i32* %sv_2.14.reg2mem\n %sv_1.25.reload = load i32, i32* %sv_1.25.reg2mem\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %15 = icmp eq i32 %sv_2.14.reload, 0\n %16 = icmp eq i1 %15, false\n store i32 %sv_3.13.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_2.14.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.25.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br i1 %16, label LBL_10, label LBL_5\n LBL_5:\n %17 = add i32 %sv_3.13.reload, 1\n %18 = icmp ugt i32 %17, %4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_13, label LBL_6\n LBL_6:\n %19 = load i32, i32* @gv_1, align 4\n %20 = icmp ult i32 %sv_1.25.reload, %19\n %21 = icmp eq i1 %20, false\n store i32 %sv_1.25.reload, i32* %sv_1.0.reg2mem\n br i1 %21, label LBL_9, label LBL_7\n LBL_7:\n %22 = add i32 %sv_1.25.reload, 1\n %23 = icmp ult i32 %22, %19\n %24 = icmp eq i1 %23, false\n store i32 %sv_1.25.reload, i32* %sv_1.0.reg2mem\n br i1 %24, label LBL_9, label LBL_8\n LBL_8:\n %25 = load i64, i64* @gv_2, align 8\n %26 = zext i32 %22 to i64\n %27 = mul i64 %26, 8\n %28 = add i64 %25, %27\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %17, %30\n %32 = icmp eq i1 %31, false\n %spec.select = select i1 %32, i32 %sv_1.25.reload, i32 %22\n store i32 %spec.select, i32* %sv_1.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %33 = load i64, i64* @gv_2, align 8\n %34 = zext i32 %sv_1.0.reload to i64\n %35 = mul i64 %34, 8\n %36 = add i64 %33, 4\n %37 = add i64 %36, %35\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = call i64 @FUNC()\n %41 = trunc i64 %40 to i32\n store i32 %17, i32* %sv_3.0.reg2mem\n store i32 %39, i32* %sv_2.0.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %41, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %42 = load i64, i64* @gv_3, align 8\n %43 = zext i32 %storemerge7.reload to i64\n %44 = mul i64 %43, 8\n %45 = or i64 %44, 4\n %46 = add i64 %42, %45\n %47 = inttoptr i64 %46 to i32*\n store i32 %sv_0.0.reload, i32* %47, align 4\n %48 = load i64, i64* @gv_3, align 8\n %49 = add i64 %48, %44\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i32 %51, %sv_0.0.reload\n %53 = icmp ult i32 %52, %sv_0.0.reload\n %54 = icmp eq i1 %53, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %54, label LBL_11, label LBL_13\n LBL_11:\n %55 = add i32 %sv_2.0.reload, -1\n %56 = add i32 %storemerge7.reload, 1\n %57 = load i32, i32* @gv_0, align 4\n %58 = icmp ult i32 %56, %57\n store i32 %56, i32* %storemerge7.reg2mem\n store i32 %52, i32* %sv_0.16.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.25.reg2mem\n store i32 %55, i32* %sv_2.14.reg2mem\n store i32 %sv_3.0.reload, i32* %sv_3.13.reg2mem\n br i1 %58, label LBL_4, label LBL_12\n LBL_12:\n %59 = call i64 @FUNC(i64* nonnull @gv_2)\n %60 = and i64 %8, 4294967295\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %44, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i32 %sv_1.25.reload, { 3, 1, 5, 2, 4, 0 }\n uselistorder i32 %sv_3.13.reload, { 1, 0 }\n uselistorder i32 %4, { 2, 1, 0, 3 }\n uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.25.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 ()* @u32in, { 2, 1, 0 }\n uselistorder label LBL_13, { 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "yuv2yuvXinC_3671", "fun_name": "yuv2yuvXinC", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64* %arg2, i32 %arg3, i16* %arg4, i64* %arg5, i32 %arg6, i64 %arg7, i64 %arg8, i64 %arg9, i64 %arg10, i64 %arg11) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %indvars.iv24.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.09.reg2mem = alloca i32\n %sv_0.010.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge7.lcssa.reg2mem = alloca i64\n %indvars.iv32.reg2mem = alloca i64\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_2.015.reg2mem = alloca i32\n %indvars.iv28.reg2mem = alloca i64\n %0 = trunc i64 %arg10 to i32\n %1 = icmp sgt i32 %0, 0\n store i64 0, i64* %storemerge7.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = icmp sgt i32 %arg3, 0\n %4 = ptrtoint i16* %arg1 to i64\n %wide.trip.count30 = zext i32 %arg3 to i64\n %wide.trip.count34 = and i64 %arg10, 4294967295\n store i64 0, i64* %indvars.iv32.reg2mem\n br label LBL_4\n LBL_2:\n %sv_2.015.reload = load i32, i32* %sv_2.015.reg2mem\n %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem\n %5 = mul i64 %indvars.iv28.reload, 8\n %6 = add i64 %5, %2\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, %26\n %10 = inttoptr i64 %9 to i16*\n %11 = load i16, i16* %10, align 2\n %12 = mul i64 %indvars.iv28.reload, 2\n %13 = add i64 %12, %4\n %14 = inttoptr i64 %13 to i16*\n %15 = load i16, i16* %14, align 2\n %16 = sext i16 %15 to i32\n %17 = sext i16 %11 to i32\n %18 = mul nsw i32 %16, %17\n %19 = add i32 %18, %sv_2.015.reload\n %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1\n %exitcond31 = icmp eq i64 %indvars.iv.next29, %wide.trip.count30\n store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem\n store i32 %19, i32* %sv_2.015.reg2mem\n store i32 %19, i32* %sv_2.0.lcssa.reg2mem\n br i1 %exitcond31, label LBL_3, label LBL_2\n LBL_3:\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n %20 = ashr i32 %sv_2.0.lcssa.reload, 19\n %21 = add i64 %indvars.iv32.reload, %arg7\n %22 = zext i32 %20 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i8\n %25 = inttoptr i64 %21 to i8*\n store i8 %24, i8* %25, align 1\n %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32.reload, 1\n %exitcond35 = icmp eq i64 %indvars.iv.next33, %wide.trip.count34\n store i64 %indvars.iv.next33, i64* %indvars.iv32.reg2mem\n store i64 %wide.trip.count34, i64* %storemerge7.lcssa.reg2mem\n br i1 %exitcond35, label LBL_6, label LBL_4\n LBL_4:\n %indvars.iv32.reload = load i64, i64* %indvars.iv32.reg2mem\n store i32 262144, i32* %sv_2.0.lcssa.reg2mem\n br i1 %3, label LBL_2.lr.ph, label LBL_3\n LBL_5:\n %26 = mul i64 %indvars.iv32.reload, 2\n store i64 0, i64* %indvars.iv28.reg2mem\n store i32 262144, i32* %sv_2.015.reg2mem\n br label LBL_2\n LBL_6:\n %storemerge7.lcssa.reload = load i64, i64* %storemerge7.lcssa.reg2mem\n %27 = icmp eq i64 %arg8, 0\n store i64 %storemerge7.lcssa.reload, i64* %rax.0.in.reg2mem\n br i1 %27, label LBL_13, label LBL_7\n LBL_7:\n %28 = trunc i64 %arg11 to i32\n %29 = icmp sgt i32 %28, 0\n store i64 0, i64* %rax.0.in.reg2mem\n br i1 %29, label LBL_8, label LBL_13\n LBL_8:\n %30 = ptrtoint i64* %arg5 to i64\n %31 = icmp sgt i32 %arg6, 0\n %32 = ptrtoint i16* %arg4 to i64\n %wide.trip.count = zext i32 %arg6 to i64\n %wide.trip.count26 = and i64 %arg11, 4294967295\n store i64 0, i64* %indvars.iv24.reg2mem\n br label LBL_11\n LBL_9:\n %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %33 = mul i64 %indvars.iv.reload, 8\n %34 = add i64 %33, %30\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = add i64 %36, %66\n %38 = inttoptr i64 %37 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = mul i64 %indvars.iv.reload, 2\n %41 = add i64 %40, %32\n %42 = inttoptr i64 %41 to i16*\n %43 = load i16, i16* %42, align 2\n %44 = sext i16 %43 to i32\n %45 = sext i16 %39 to i32\n %46 = mul nsw i32 %44, %45\n %47 = add i32 %46, %sv_1.09.reload\n %48 = add i64 %37, 2\n %49 = inttoptr i64 %48 to i16*\n %50 = load i16, i16* %49, align 2\n %51 = sext i16 %50 to i32\n %52 = mul nsw i32 %51, %44\n %53 = add i32 %52, %sv_0.010.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %53, i32* %sv_0.010.reg2mem\n store i32 %47, i32* %sv_1.09.reg2mem\n store i32 %47, i32* %sv_1.0.lcssa.reg2mem\n store i32 %53, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %54 = ashr i32 %sv_1.0.lcssa.reload, 19\n %55 = add i64 %indvars.iv24.reload, %arg8\n %56 = zext i32 %54 to i64\n %57 = call i64 @FUNC(i64 %56)\n %58 = trunc i64 %57 to i8\n %59 = inttoptr i64 %55 to i8*\n store i8 %58, i8* %59, align 1\n %60 = ashr i32 %sv_0.0.lcssa.reload, 19\n %61 = add i64 %indvars.iv24.reload, %arg9\n %62 = zext i32 %60 to i64\n %63 = call i64 @FUNC(i64 %62)\n %64 = trunc i64 %63 to i8\n %65 = inttoptr i64 %61 to i8*\n store i8 %64, i8* %65, align 1\n %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1\n %exitcond27 = icmp eq i64 %indvars.iv.next25, %wide.trip.count26\n store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem\n store i64 %wide.trip.count26, i64* %rax.0.in.reg2mem\n br i1 %exitcond27, label LBL_13, label LBL_11\n LBL_11:\n %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem\n store i32 262144, i32* %sv_1.0.lcssa.reg2mem\n store i32 262144, i32* %sv_0.0.lcssa.reg2mem\n br i1 %31, label LBL_9.lr.ph, label LBL_10\n LBL_12:\n %66 = mul i64 %indvars.iv24.reload, 2\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 262144, i32* %sv_0.010.reg2mem\n store i32 262144, i32* %sv_1.09.reg2mem\n br label LBL_9\n LBL_13:\n %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem\n %rax.0 = and i64 %rax.0.in.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %indvars.iv24.reload, { 3, 1, 2, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv32.reload, { 2, 1, 0 }\n uselistorder i64 %indvars.iv28.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv28.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_2.015.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_2.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.010.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.09.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32 262144, { 2, 3, 0, 1, 5, 4 }\n uselistorder i64 (i64)* @av_clip_uint8, { 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_dcaadpcm_init_14688", "fun_name": "ff_dcaadpcm_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = call i64 @FUNC(i64 1024)\n store i64 %2, i64* %arg1, align 8\n %3 = call i64 @FUNC(i64 1024)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "machine_parse_3371", "fun_name": "machine_parse", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i32\n %.pre-phi6.reg2mem = alloca i64*\n %.pre-phi8.reg2mem = alloca i64*\n %storemerge14.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_3, label LBL_2\n LBL_2:\n ret i64 %1\n LBL_3:\n %3 = call i32 @puts(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))\n %storemerge13 = load i64, i64* @gv_1, align 8\n %4 = icmp eq i64 %storemerge13, 0\n %5 = icmp eq i1 %4, false\n store i64 %storemerge13, i64* %storemerge14.reg2mem\n br i1 %5, label LBL_4, label LBL_8\n LBL_4:\n %storemerge14.reload = load i64, i64* %storemerge14.reg2mem\n %6 = add i64 %storemerge14.reload, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre = add i64 %storemerge14.reload, 8\n %.pre5 = inttoptr i64 %.pre to i64*\n %.pre7 = inttoptr i64 %storemerge14.reload to i64*\n store i64* %.pre7, i64** %.pre-phi8.reg2mem\n store i64* %.pre5, i64** %.pre-phi6.reg2mem\n br label LBL_7\n LBL_6:\n %10 = inttoptr i64 %storemerge14.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %storemerge14.reload, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %8 to i8*\n %16 = inttoptr i64 %14 to i8*\n %17 = inttoptr i64 %11 to i8*\n %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i8* %15, i8* %16, i8* %17)\n store i64* %10, i64** %.pre-phi8.reg2mem\n store i64* %13, i64** %.pre-phi6.reg2mem\n br label LBL_7\n LBL_7:\n %.pre-phi6.reload = load i64*, i64** %.pre-phi6.reg2mem\n %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem\n %19 = add i64 %storemerge14.reload, 24\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n %23 = load i64, i64* %.pre-phi6.reload, align 8\n %24 = load i64, i64* %.pre-phi8.reload, align 8\n %25 = inttoptr i64 %24 to i8*\n %26 = inttoptr i64 %23 to i8*\n %27 = select i1 %22, i8* bitcast (i64* @gv_3 to i8*), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0)\n %28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i8* %25, i8* %26, i8* %27)\n %29 = add i64 %storemerge14.reload, 32\n %30 = inttoptr i64 %29 to i64*\n %storemerge1 = load i64, i64* %30, align 8\n %31 = icmp eq i64 %storemerge1, 0\n %32 = icmp eq i1 %31, false\n store i64 %storemerge1, i64* %storemerge14.reg2mem\n br i1 %32, label LBL_4, label LBL_8\n LBL_8:\n store i32 1, i32* %storemerge.reg2mem\n br i1 %0, label LBL_10, label LBL_9\n LBL_9:\n %33 = call i64 @FUNC(i64 %arg1)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n %phitmp = zext i1 %35 to i32\n store i32 %phitmp, i32* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n call void @exit(i32 %storemerge.reload)\n unreachable\n\n uselistorder i64 %storemerge14.reload, { 0, 1, 3, 2, 6, 5, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 0, 4, 3, 2, 1 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_compute_hflags_18671", "fun_name": "do_compute_hflags", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n %2 = mul i64 %1, 2\n %3 = load i64, i64* @gv_1, align 8\n %4 = or i64 %2, %3\n %5 = load i64, i64* @gv_2, align 8\n %6 = mul i64 %5, 4\n %7 = or i64 %4, %6\n %8 = load i64, i64* @gv_3, align 8\n %9 = mul i64 %8, 8\n %10 = or i64 %7, %9\n %11 = load i64, i64* @gv_4, align 8\n %12 = mul i64 %11, 16\n %13 = or i64 %10, %12\n %14 = load i64, i64* @gv_5, align 8\n %15 = mul i64 %14, 32\n %16 = or i64 %13, %15\n %17 = load i64, i64* @gv_6, align 8\n %18 = mul i64 %17, 64\n %19 = or i64 %16, %18\n %20 = load i64, i64* @gv_7, align 8\n %21 = mul i64 %20, 128\n %22 = or i64 %19, %21\n %23 = load i64, i64* @gv_8, align 8\n %24 = mul i64 %23, 256\n %25 = or i64 %22, %24\n %26 = load i64, i64* @gv_9, align 8\n %27 = mul i64 %26, 512\n %28 = or i64 %25, %27\n store i64 %28, i64* %arg1, align 8\n %29 = load i64, i64* @gv_10, align 8\n %30 = mul i64 %29, 1024\n %31 = load i64, i64* @gv_11, align 8\n %32 = mul i64 %31, 2048\n %33 = or i64 %30, %0\n %34 = or i64 %33, %32\n store i64 %34, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "giveup_all_5588", "fun_name": "giveup_all", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_7, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = load i32, i32* @gv_0, align 4\n %4 = sext i32 %3 to i64\n %5 = and i64 %4, %0\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_7, label LBL_2\n LBL_2:\n %7 = trunc i64 %0 to i32\n %8 = call i64 @FUNC(i64 %4)\n %9 = urem i32 %7, 2\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = and i32 %7, 2\n %12 = icmp eq i32 %11, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %12, label LBL_6, label LBL_4\n LBL_4:\n %13 = and i32 %7, 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %16 = call i64 @FUNC(i64 %storemerge.reload)\n %17 = load i32, i32* @gv_0, align 4\n %18 = sext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %7, { 2, 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 3, 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "e1000e_macreg_read_230", "fun_name": "e1000e_macreg_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %0, i64 %4, i32 %1)\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wkbConvLineStringToShape_10671", "fun_name": "wkbConvLineStringToShape", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* %sv_0, align 4\n %6 = icmp eq i32 %5, 2\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0)\n %9 = call i64 @FUNC(i64 %7, i32* nonnull %sv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "falcon_remove_nic_18022", "fun_name": "falcon_remove_nic", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %0)\n %6 = add i64 %0, 12\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = call i64 @FUNC(i64 %0, i64 0)\n %9 = icmp eq i64* %arg1, null\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 2, 0, 3, 4, 5, 6, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "WILC_WFI_mon_setup_4376", "fun_name": "WILC_WFI_mon_setup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4210733, i64* %arg1, align 8\n %1 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n store i32 0, i32* %4, align 4\n %5 = add i64 %0, 12\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 16\n %8 = call i64 @FUNC(i64 %7)\n %9 = inttoptr i64 %7 to i32*\n store i32 1589792768, i32* %9, align 4\n %10 = add i64 %0, 20\n %11 = inttoptr i64 %10 to i16*\n store i16 -28912, i16* %11, align 2\n %12 = inttoptr i64 %7 to i8*\n store i8 18, i8* %12, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "event_class_init_1688", "fun_name": "event_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 4198662, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 4198669, i64* %5, align 8\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n store i64 4198676, i64* %7, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "install_process_keyring_to_cred_13607", "fun_name": "install_process_keyring_to_cred", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %10, i32 %9, i64 %2, i64 1, i64 2)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_3\n LBL_2:\n store i64 %11, i64* %4, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "brcmf_rx_frame_7138", "fun_name": "brcmf_rx_frame", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i8* %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg2 to i64\n %1 = ptrtoint i8* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %1)\n %6 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %0)\n %7 = call i64 @FUNC(i64 %4, i64 %0, i64* nonnull %sv_0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_6, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %0)\n %12 = trunc i64 %11 to i8\n %13 = icmp eq i8 %12, 0\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = load i64, i64* %sv_0, align 8\n %15 = call i64 @FUNC(i64 %14, i64 %0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %16 = icmp eq i8 %arg3, 0\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = load i64, i64* %sv_0, align 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %0, i64 1)\n br label LBL_5\n LBL_5:\n %21 = load i64, i64* %sv_0, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %0)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 1, 2, 3, 0 }\n uselistorder i64 %0, { 2, 1, 0, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pcie_pci_bridge_reset_459", "fun_name": "pcie_pci_bridge_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %0)\n ret i64 %6\n\n uselistorder i64 %0, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_codec_1705", "fun_name": "add_codec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = trunc i64 %1 to i32\n switch i32 %3, label LBL_23 [\n i32 1, label LBL_1\n i32 2, label LBL_7\n ]\n LBL_1:\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n store i32 64000, i32* %5, align 4\n br label LBL_3\n LBL_3:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n store i32 22050, i32* %10, align 4\n br label LBL_5\n LBL_5:\n %14 = add i64 %2, 12\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_24, label LBL_6\n LBL_6:\n store i32 1, i32* %15, align 4\n br label LBL_24\n LBL_7:\n %19 = add i64 %2, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_9, label LBL_8\n LBL_8:\n store i32 64000, i32* %20, align 4\n br label LBL_9\n LBL_9:\n %24 = add i64 %2, 16\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_11, label LBL_10\n LBL_10:\n store i32 5000, i32* %25, align 4\n br label LBL_11\n LBL_11:\n %29 = add i64 %2, 20\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n %.pre = add i64 %2, 24\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %32, label LBL_13, label LBL_12\n LBL_12:\n %33 = load i32, i32* %.pre1, align 4\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_14, label LBL_13\n LBL_13:\n store i32 160, i32* %30, align 4\n store i32 128, i32* %.pre1, align 4\n br label LBL_14\n LBL_14:\n %36 = add i64 %2, 28\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_16, label LBL_15\n LBL_15:\n %41 = load i32, i32* %20, align 4\n %42 = sdiv i32 %41, 8\n store i32 %42, i32* %37, align 4\n br label LBL_16\n LBL_16:\n %43 = add i64 %2, 32\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_18, label LBL_17\n LBL_17:\n store i32 3, i32* %44, align 4\n br label LBL_18\n LBL_18:\n %48 = add i64 %2, 36\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_20, label LBL_19\n LBL_19:\n store i32 31, i32* %49, align 4\n br label LBL_20\n LBL_20:\n %53 = add i64 %2, 40\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_22, label LBL_21\n LBL_21:\n store i32 3, i32* %54, align 4\n br label LBL_22\n LBL_22:\n %58 = call i128 @FUNC(i64 4602678819172646912)\n %59 = call i64 @__asm_movsd.1(i128 %58)\n %60 = add i64 %2, 48\n %61 = inttoptr i64 %60 to i64*\n store i64 %59, i64* %61, align 8\n %62 = call i128 @FUNC(i64 4602678819172646912)\n %63 = call i64 @__asm_movsd.1(i128 %62)\n %64 = add i64 %2, 56\n %65 = inttoptr i64 %64 to i64*\n store i64 %63, i64* %65, align 8\n br label LBL_24\n LBL_23:\n %66 = call i64 @FUNC()\n unreachable\n LBL_24:\n %67 = call i64 @FUNC(i64 64)\n %68 = icmp eq i64 %67, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %68, label LBL_26, label LBL_25\n LBL_25:\n %69 = ptrtoint i64* %arg1 to i64\n %70 = add i64 %69, 80\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = add i32 %72, 1\n store i32 %73, i32* %71, align 4\n %74 = sext i32 %72 to i64\n %75 = mul i64 %74, 8\n %76 = add i64 %75, %69\n %77 = inttoptr i64 %76 to i64*\n store i64 %67, i64* %77, align 8\n %78 = inttoptr i64 %67 to i64*\n %79 = call i64* @memcpy(i64* %78, i64* %arg2, i32 64)\n %80 = ptrtoint i64* %79 to i64\n store i64 %80, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_26:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9, 10, 11, 12 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0 }\n uselistorder label LBL_26, { 1, 0 }\n uselistorder label LBL_24, { 2, 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dvb_fini_3807", "fun_name": "dvb_fini", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %8)\n %11 = load i64, i64* %7, align 8\n %12 = call i64 @FUNC(i64 %11)\n store i64 0, i64* %7, align 8\n br label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "d_exchange_86", "fun_name": "d_exchange", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = icmp eq i64* %arg2, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0))\n %4 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %5, i64 1)\n %8 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %8\n\n uselistorder i32 (i8*)* @puts, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cJSON_GetObjectItem_11144", "fun_name": "cJSON_GetObjectItem", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.in.reg2mem = alloca i64\n %0 = add i64 %arg1, 8\n %1 = ptrtoint i8* %arg2 to i64\n store i64 %0, i64* %storemerge.in.in.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.in.in.reload = load i64, i64* %storemerge.in.in.reg2mem\n %storemerge.in = inttoptr i64 %storemerge.in.in.reload to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %2 = icmp eq i64 %storemerge, 0\n br i1 %2, label LBL_3, label LBL_2\n LBL_2:\n %3 = add i64 %storemerge, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5, i64 %1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %storemerge, i64* %storemerge.in.in.reg2mem\n br i1 %9, label LBL_1, label LBL_3\n LBL_3:\n ret i64 %storemerge\n\n uselistorder i64 %storemerge, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.in.in.reg2mem, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "enl_ipc_get_5439", "fun_name": "enl_ipc_get", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %4 = icmp eq i64 %arg1, ptrtoint ([8 x i8]* @gv_0 to i64)\n %5 = icmp eq i1 %4, false\n store i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_8\n LBL_1:\n %6 = ptrtoint i64* %sv_1 to i64\n %7 = add i64 %6, -38\n store i64 0, i64* %storemerge23.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge23.reload = load i64, i64* %storemerge23.reg2mem\n %8 = urem i64 %storemerge23.reload, 256\n %9 = add i64 %8, %arg1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = add i64 %7, %8\n %13 = inttoptr i64 %12 to i8*\n store i8 %11, i8* %13, align 1\n %14 = add nuw nsw i64 %storemerge23.reload, 1\n %15 = and i64 %14, 4294967295\n %16 = trunc i64 %14 to i8\n %17 = icmp ult i8 %16, 12\n store i64 %15, i64* %storemerge23.reg2mem\n br i1 %17, label LBL_2, label LBL_3\n LBL_3:\n %18 = bitcast i64* %sv_0 to i8*\n %19 = call i32 @strlen(i8* nonnull %18)\n %20 = load i8*, i8** @gv_1, align 8\n %21 = icmp eq i8* %20, null\n %.mask = urem i32 %19, 256\n %22 = zext i32 %.mask to i64\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %23 = load i64, i64* @gv_2, align 8\n %24 = add i64 %23, %22\n store i64 %24, i64* @gv_2, align 8\n %25 = add i64 %24, 1\n %26 = ptrtoint i8* %20 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %25)\n %28 = inttoptr i64 %27 to i8*\n store i8* %28, i8** @gv_1, align 8\n %29 = call i8* @strcat(i8* %28, i8* nonnull %18)\n br label LBL_6\n LBL_5:\n store i64 %22, i64* @gv_2, align 8\n %30 = add nuw nsw i64 %22, 1\n %31 = call i64 @FUNC(i64 %30)\n %32 = inttoptr i64 %31 to i8*\n store i8* %32, i8** @gv_1, align 8\n %33 = call i8* @strcpy(i8* %32, i8* nonnull %18)\n br label LBL_6\n LBL_6:\n %34 = trunc i32 %19 to i8\n %35 = icmp ult i8 %34, 12\n store i64 0, i64* %storemerge.reg2mem\n br i1 %35, label LBL_7, label LBL_8\n LBL_7:\n %rdx.0 = ptrtoint i64* %sv_0 to i64\n %36 = load i8*, i8** @gv_1, align 8\n %37 = ptrtoint i8* %36 to i64\n store i8* null, i8** @gv_1, align 8\n %38 = call i64 @FUNC(i64 %37, i64 %rdx.0, i64 %rdx.0, i64 %3, i64 %2, i64 %1)\n store i64 %37, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %22, { 2, 1, 0 }\n uselistorder i32 %19, { 1, 0 }\n uselistorder i8* %18, { 1, 0, 2 }\n uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8* null, { 1, 0 }\n uselistorder i8** @gv_1, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 1, { 8, 7, 4, 3, 2, 9, 1, 0, 5, 6 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dnxhd_decode_close_3214", "fun_name": "dnxhd_decode_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 24\n %7 = call i64 @FUNC(i64 %6)\n ret i64 0\n\n uselistorder i64 (i64)* @ff_free_vlc, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_digit_18984", "fun_name": "decode_digit", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = add i32 %0, -48\n %3 = icmp ult i32 %2, 10\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = add nsw i64 %1, 4294967274\n %5 = and i64 %4, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %6 = trunc i64 %1 to i32\n %7 = add i32 %6, -65\n %8 = icmp ult i32 %7, 26\n br i1 %8, label LBL_3, label LBL_4\n LBL_3:\n %9 = add nsw i64 %1, 4294967231\n %10 = and i64 %9, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %11 = add i32 %6, -97\n %12 = icmp ult i32 %11, 26\n store i64 36, i64* %rax.0.reg2mem\n br i1 %12, label LBL_5, label LBL_6\n LBL_5:\n %13 = add nsw i64 %1, 4294967199\n %14 = and i64 %13, 4294967295\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_balloon_load_677", "fun_name": "virtio_balloon_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 1\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = call i64 @FUNC(i64 %3)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %3)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @qemu_get_be32, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_config_node_type_10427", "fun_name": "r_config_node_type", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i64 ptrtoint ([5 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_5\n LBL_2:\n %6 = and i32 %3, 2\n %7 = icmp eq i32 %6, 0\n store i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_5\n LBL_3:\n %8 = and i32 %3, 12\n %9 = icmp eq i32 %8, 0\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i8*\n %15 = call i32 @strncmp(i8* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i32 2)\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %. = select i1 %17, i64 ptrtoint ([4 x i8]* @gv_4 to i64), i64 ptrtoint ([5 x i8]* @gv_5 to i64)\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %3, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 5, 1 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_busid_priv_7297", "fun_name": "get_busid_priv", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %1, 4294967296\n %4 = ashr exact i64 %sext, 30\n %5 = add i64 %4, ptrtoint (i64* @gv_1 to i64)\n %6 = inttoptr i64 %5 to i64*\n %7 = call i64 @FUNC(i64* %6)\n store i64 %5, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %8 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 (i64*)* @spin_lock, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blit_is_unsafe_11623", "fun_name": "blit_is_unsafe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp slt i32 %2, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i1 %3, false\n %7 = icmp eq i1 %5, %6\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 18, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %8, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp slt i32 %11, 0\n %14 = icmp eq i1 %13, false\n %15 = icmp eq i1 %12, false\n %16 = icmp eq i1 %14, %15\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 19, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %17 = add i64 %8, 12\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = add i64 %8, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = and i32 %22, %19\n %24 = add i64 %8, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %8, i64 %27, i32 %23)\n %29 = trunc i64 %28 to i8\n %30 = icmp ne i8 %29, 0\n %. = zext i1 %30 to i64\n ret i64 %.\n\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64 %8, { 2, 3, 1, 0, 4 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i64 0, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9 }\n uselistorder i1 false, { 2, 0, 3, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dec_addi_acr_762", "fun_name": "dec_addi_acr", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = call i64 @FUNC(i64 %2)\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i8\n %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8 %10, i32 %6, i32 %3)\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i64 %2, i64 0)\n %16 = call i64 @FUNC(i64 0)\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = load i32, i32* %5, align 4\n %23 = zext i32 %22 to i64\n %24 = mul i64 %23, 8\n %25 = add i64 %24, ptrtoint (i64* @gv_2 to i64)\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %16, i64 %27, i64 %21)\n %29 = mul i64 %1, 8\n %30 = and i64 %29, 34359738360\n %31 = add i64 %30, ptrtoint (i64* @gv_2 to i64)\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = load i64, i64* @gv_2, align 8\n %35 = call i64 @FUNC(i64 %34, i64 %33, i64 %16)\n %36 = call i64 @FUNC(i64 %16)\n ret i64 2\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ismode_9770", "fun_name": "ismode", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %0 = icmp ult i64 %arg1, %arg2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_11\n LBL_1:\n %1 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %1, align 4\n store i64 %arg1, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %2 = inttoptr i64 %sv_0.02.reload to i8*\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 45\n br i1 %4, label LBL_3, label LBL_4\n LBL_3:\n %5 = add nuw i64 %sv_0.02.reload, 1\n %6 = icmp ult i64 %5, %arg2\n store i64 %5, i64* %sv_0.02.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_11\n LBL_4:\n %.off = add i8 %3, -45\n %7 = icmp ugt i8 %.off, 75\n %8 = icmp slt i8 %3, 82\n %or.cond1 = or i1 %8, %7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond1, label LBL_11, label LBL_5\n LBL_5:\n %9 = add i8 %3, 46\n %10 = urem i8 %9, 64\n %11 = zext i8 %10 to i64\n %12 = shl i64 1, %11\n %13 = and i64 %12, 274877907008\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i1 %15, false\n %17 = icmp eq i1 %16, false\n %18 = trunc i64 %12 to i32\n br i1 %17, label LBL_10, label LBL_6\n LBL_6:\n %19 = and i64 %12, 137438953504\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = icmp eq i1 %21, false\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_9, label LBL_7\n LBL_7:\n %24 = urem i64 %12, 4294967298\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n %27 = icmp eq i1 %26, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_11, label LBL_8\n LBL_8:\n %28 = or i32 %18, 1\n store i32 %28, i32* %1, align 4\n br label LBL_3\n LBL_9:\n %29 = or i32 %18, 2\n store i32 %29, i32* %1, align 4\n br label LBL_3\n LBL_10:\n %30 = or i32 %18, 4\n store i32 %30, i32* %1, align 4\n br label LBL_3\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 0, 2, 1, 3 }\n uselistorder i8 %3, { 2, 1, 0, 3 }\n uselistorder i32* %1, { 2, 1, 0, 3 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 0, 3, 4, 1, 5, 6, 2, 7 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_3, { 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "htab_save_complete_2297", "fun_name": "htab_save_complete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = and i64 %7, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %12 = call i64 @FUNC(i64 %0, i32 %8, i64 1024, i64 4294967295)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = and i64 %12, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %17 = call i64 @FUNC(i64 %0, i64 0)\n %18 = call i64 @FUNC(i64 %0, i64 0)\n %19 = call i64 @FUNC(i64 %0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @qemu_put_be16, { 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @qemu_put_be32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_setEdgePixel_6507", "fun_name": "_setEdgePixel", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = load i128, i128* %0\n %2 = and i64 %arg5, 4294967295\n %3 = call i64 @FUNC(i64 127)\n %4 = zext i32 %arg3 to i64\n %5 = mul i64 %4, 8\n %6 = add nuw nsw i64 %5, 127\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = zext i32 %arg2 to i64\n %10 = mul i64 %9, 4\n %11 = add i64 %8, %10\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i64 %3, 4294967295\n %15 = zext i32 %arg4 to i64\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i128 @FUNC(i128 %1, i128 %1)\n %20 = trunc i64 %18 to i32\n %21 = call i128 @FUNC(i32 %20)\n %22 = load i32, i32* inttoptr (i64 4202524 to i32*), align 4\n %23 = call i128 @FUNC(i32 %22)\n %24 = call i128 @FUNC(i128 %23, i128 %21)\n %25 = call i32 @FUNC(i128 %24)\n %26 = mul i32 %25, 16777216\n %27 = or i32 %26, %13\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %2, i64 %28)\n ret i64 %29\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fifo_realloc_894", "fun_name": "fifo_realloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i64 %0, 24\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = sub i64 %4, %0\n %6 = trunc i64 %5 to i32\n %7 = and i64 %5, 4294967295\n %8 = icmp ult i32 %6, %1\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %10 = ashr exact i64 %sext, 32\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 %0, i64 %11)\n store i64 %12, i64* %arg1, align 8\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp ult i64 %18, %15\n %20 = icmp eq i1 %19, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = sub i64 %4, %15\n %22 = sub nsw i64 %11, %7\n %23 = add i64 %15, %22\n %24 = inttoptr i64 %23 to i64*\n %25 = inttoptr i64 %15 to i64*\n %26 = trunc i64 %21 to i32\n %27 = call i64* @memmove(i64* %24, i64* %25, i32 %26)\n %28 = load i64, i64* %14, align 8\n %29 = sub i64 %10, %5\n %30 = and i64 %29, 4294967295\n %31 = add i64 %28, %30\n store i64 %31, i64* %14, align 8\n store i64 %23, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %32 = add i64 %rdi.0.reload, %11\n store i64 %32, i64* %3, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %15, { 1, 0, 2, 3 }\n uselistorder i64* %14, { 1, 0, 2 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__io_worker_unuse_19262", "fun_name": "__io_worker_unuse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, %0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %1)\n %7 = call i64 @FUNC(i64 %1)\n %8 = load i64, i64* @gv_0, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = load i64, i64* @gv_0, align 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %0, i64* %11, align 8\n %12 = load i64, i64* @gv_0, align 8\n %13 = call i64 @FUNC(i64 %12)\n store i32 1, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = icmp eq i32 %sv_0.0.reload, 1\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %1)\n %20 = call i64 @FUNC(i64 %1)\n br label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 1)\n %22 = call i64 @FUNC(i64 0)\n %23 = load i64, i64* %15, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = load i64, i64* %15, align 8\n %26 = call i64 @FUNC(i64 %25)\n store i64 0, i64* %15, align 8\n store i32 1, i32* %sv_0.2.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %27 = zext i32 %sv_0.2.reload to i64\n ret i64 %27\n\n uselistorder i64* %15, { 0, 2, 1, 3 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64 (i64)* @spin_unlock_irq, { 1, 0 }\n uselistorder i64 (i64)* @__acquire, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "iwmmxt_store_creg_2211", "fun_name": "iwmmxt_store_creg", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg2, 4294967295\n %sext1 = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext1, 30\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %0, i64 %2, i64 %1)\n %4 = call i64 @FUNC(i64 %0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "BN_to_ASN1_INTEGER_12262", "fun_name": "BN_to_ASN1_INTEGER", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.pre-phi4.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i64 %arg2, i64* %storemerge2.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n store i64 %2, i64* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %3 = icmp eq i64 %storemerge2.reload, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_4, label LBL_3\n LBL_3:\n %5 = call i64 @FUNC(i64 0, i64 1)\n br label LBL_13\n LBL_4:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = inttoptr i64 %storemerge2.reload to i32*\n store i32 2, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %6)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = sdiv i32 %10, 128\n %13 = add nsw i32 %12, 1\n %14 = zext i32 %13 to i64\n store i64 %14, i64* %storemerge1.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %15 = add nuw nsw i64 %storemerge1.reload, 3\n %16 = and i64 %15, 4294967295\n %17 = add i64 %storemerge2.reload, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n %21 = icmp ult i64 %16, %20\n br i1 %21, label LBL_6.LBL_11_crit_edge, label LBL_8\n LBL_7:\n %.pre = add i64 %storemerge2.reload, 8\n %.pre3 = inttoptr i64 %.pre to i64*\n %.pre5 = load i64, i64* %.pre3, align 8\n store i64 %.pre5, i64* %.reg2mem\n store i64* %.pre3, i64** %.pre-phi4.reg2mem\n br label LBL_11\n LBL_8:\n %22 = mul i64 %storemerge1.reload, 4294967296\n %sext = add i64 %22, 17179869184\n %23 = ashr exact i64 %sext, 32\n %24 = add i64 %storemerge2.reload, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26, i64 %23)\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 0, i64 2)\n br label LBL_13\n LBL_10:\n store i64 %27, i64* %25, align 8\n store i64 %27, i64* %.reg2mem\n store i64* %25, i64** %.pre-phi4.reg2mem\n br label LBL_11\n LBL_11:\n %.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %31 = call i64 @FUNC(i64 %6, i64 %.reload)\n %32 = trunc i64 %31 to i32\n store i32 %32, i32* %18, align 4\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 %storemerge2.reload, i64* %storemerge.reg2mem\n br i1 %34, label LBL_15, label LBL_12\n LBL_12:\n %35 = load i64, i64* %.pre-phi4.reload, align 8\n %36 = inttoptr i64 %35 to i8*\n store i8 0, i8* %36, align 1\n store i32 1, i32* %18, align 4\n store i64 %storemerge2.reload, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_13:\n %37 = icmp eq i64 %storemerge2.reload, %arg2\n store i64 0, i64* %storemerge.reg2mem\n br i1 %37, label LBL_15, label LBL_14\n LBL_14:\n %38 = call i64 @FUNC(i64 %storemerge2.reload)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge1.reload, { 1, 0 }\n uselistorder i64 %storemerge2.reload, { 6, 7, 1, 0, 4, 8, 5, 3, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 8, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64)* @ASN1err, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_15, { 3, 2, 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "secure_check_12198", "fun_name": "secure_check", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %arg1, i64 8, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 305419896\n %or.cond = icmp eq i1 %6, %4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\n %7 = add i64 %arg1, 8\n %8 = add i64 %arg1, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %7, i64 %11, i64 1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @secure_decrypt, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nbd_send_reply_2388", "fun_name": "nbd_send_reply", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = call i64 @FUNC(i64* nonnull %sv_2, i64 1732535960)\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 %4)\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8)\n %10 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))\n %11 = and i64 %arg1, 4294967295\n %12 = call i64 @FUNC(i64 %11, i64* nonnull %sv_2, i64 16)\n %13 = icmp eq i64 %12, 16\n store i64 0, i64* %storemerge.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0))\n %16 = call i32* @__errno_location()\n store i32 22, i32* %16, align 4\n store i64 -1, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64*, i64)* @cpu_to_be32w, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_skb_header_7937", "fun_name": "copy_skb_header", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %1 = call i64 @FUNC(i64 %arg2)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = inttoptr i64 %1 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = inttoptr i64 %2 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %arg2)\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = add i64 %6, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %7, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %arg2)\n %14 = call i64 @FUNC(i64 %arg1)\n %15 = add i64 %13, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %14, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n ret i64 %14\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 (i64)* @skb_shinfo, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_event__synthesize_thread_map_4571", "fun_name": "perf_event__synthesize_thread_map", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i32* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i32\n %storemerge68.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %storemerge9.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, 4\n %5 = call i64* @malloc(i32 %4)\n %6 = icmp eq i64* %5, null\n store i64 4294967295, i64* %sv_0.3.reg2mem\n br i1 %6, label LBL_16, label LBL_1\n LBL_1:\n %7 = call i64* @malloc(i32 %3)\n %8 = icmp eq i64* %7, null\n store i64 4294967295, i64* %sv_0.2.reg2mem\n br i1 %8, label LBL_15, label LBL_2\n LBL_2:\n %9 = call i64* @malloc(i32 %3)\n %10 = icmp eq i64* %9, null\n store i64 4294967295, i64* %sv_0.1.reg2mem\n br i1 %10, label LBL_14, label LBL_3\n LBL_3:\n %11 = trunc i64 %1 to i32\n %12 = icmp eq i32 %11, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_13, label LBL_4\n LBL_4:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = ptrtoint i64* %sv_1 to i64\n %15 = and i64 %arg6, 4294967295\n %16 = urem i64 %arg5, 256\n %17 = ptrtoint i64* %5 to i64\n %18 = ptrtoint i64* %7 to i64\n %19 = ptrtoint i64* %9 to i64\n %20 = ptrtoint i32* %arg2 to i64\n %21 = bitcast i64* %rsi to i32*\n %22 = add i64 %14, -8\n %23 = inttoptr i64 %22 to i64*\n %24 = add i64 %14, -16\n %25 = inttoptr i64 %24 to i64*\n %26 = ptrtoint i32* %arg4 to i64\n %27 = add i64 %14, -24\n %28 = inttoptr i64 %27 to i64*\n %29 = add i64 %14, -32\n %30 = inttoptr i64 %29 to i64*\n %31 = bitcast i64* %5 to i32*\n store i32 0, i32* %storemerge9.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %32 = zext i32 %storemerge9.reload to i64\n %33 = call i64 @FUNC(i64 %20, i64 %32)\n store i64 %15, i64* %23, align 8\n store i64 %16, i64* %25, align 8\n store i64 %26, i64* %28, align 8\n store i64 %13, i64* %30, align 8\n %34 = and i64 %33, 4294967295\n %35 = call i64 @FUNC(i64 %17, i64 %18, i64 %19, i64 %34, i64 0, i64 %arg3, i64 ptrtoint (i32* @0 to i64))\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %37, label LBL_6, label LBL_13\n LBL_6:\n %38 = load i32, i32* %31, align 4\n %39 = call i64 @FUNC(i64 %20, i64 %32)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %38, %40\n br i1 %41, label LBL_12, label LBL_7\n LBL_7:\n %42 = load i32, i32* %21, align 8\n %43 = icmp eq i32 %42, 0\n %44 = load i32, i32* %31, align 4\n store i32 %44, i32* %.lcssa.reg2mem\n br i1 %43, label LBL_11, label LBL_8\n LBL_8:\n %45 = zext i32 %42 to i64\n store i32 %44, i32* %.reg2mem\n store i32 0, i32* %storemerge68.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge68.reload = load i32, i32* %storemerge68.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %46 = zext i32 %storemerge68.reload to i64\n %47 = call i64 @FUNC(i64 %20, i64 %46)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %.reload, %48\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_10, label LBL_12\n LBL_10:\n %51 = add i32 %storemerge68.reload, 1\n %52 = sext i32 %51 to i64\n %53 = icmp slt i64 %52, %45\n %54 = load i32, i32* %31, align 4\n store i32 %54, i32* %.reg2mem\n store i32 %51, i32* %storemerge68.reg2mem\n store i32 %54, i32* %.lcssa.reg2mem\n br i1 %53, label LBL_9, label LBL_11\n LBL_11:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %55 = zext i32 %.lcssa.reload to i64\n store i64 %15, i64* %23, align 8\n store i64 %16, i64* %25, align 8\n store i64 %26, i64* %28, align 8\n store i64 %13, i64* %30, align 8\n %56 = call i64 @FUNC(i64 %17, i64 %18, i64 %19, i64 %55, i64 0, i64 %arg3, i64 ptrtoint (i32* @0 to i64))\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %58, label LBL_12, label LBL_13\n LBL_12:\n %59 = add i32 %storemerge9.reload, 1\n %60 = load i32, i32* %21, align 8\n %61 = zext i32 %60 to i64\n %62 = sext i32 %59 to i64\n %63 = icmp slt i64 %62, %61\n store i32 %59, i32* %storemerge9.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %63, label LBL_5, label LBL_13\n LBL_13:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n call void @free(i64* nonnull %9)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n call void @free(i64* nonnull %7)\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n call void @free(i64* nonnull %5)\n store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %64 = and i64 %sv_0.3.reload, 4294967295\n ret i64 %64\n\n uselistorder i32 %44, { 1, 0 }\n uselistorder i32* %31, { 1, 0, 2 }\n uselistorder i32* %21, { 1, 0 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64* %9, { 0, 2, 1 }\n uselistorder i64* %7, { 0, 2, 1 }\n uselistorder i64* %5, { 1, 0, 3, 2 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge68.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64, i64)* @__event__synthesize_thread, { 1, 0 }\n uselistorder i64 (i64, i64)* @thread_map__pid, { 2, 1, 0 }\n uselistorder i32 0, { 4, 0, 2, 5, 1, 3 }\n uselistorder i64* (i32)* @malloc, { 2, 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 0, 2, 1, 3 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usecs_to_jiffies_10442", "fun_name": "usecs_to_jiffies", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 1000)\n %2 = icmp ugt i64 %0, %1\n store i64 1000, i64* %storemerge.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = add i64 %arg1, 9999\n %4 = and i64 %3, 4294967295\n %narrow = mul nuw i64 %4, 3518437209\n %5 = udiv i64 %narrow, 35184372088832\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_busid_table_7295", "fun_name": "init_busid_table", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64* @memset(i64* nonnull @gv_0, i32 0, i32 40)\n %1 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = mul i64 %indvars.iv.reload, 4\n %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64)\n %4 = inttoptr i64 %3 to i64*\n %5 = call i64 @FUNC(i64* %4)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %5\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64*)* @spin_lock_init, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mg_http_parse_6147", "fun_name": "mg_http_parse", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %1 = icmp eq i64 %arg1, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %0, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = add i64 %2, %arg1\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %4 = trunc i64 %0 to i32\n %5 = call i64* @memset(i64* %arg3, i32 0, i32 288)\n %6 = icmp eq i32 %4, 0\n %7 = icmp slt i32 %4, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %6, false\n %10 = icmp eq i1 %8, %9\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = and i64 %0, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_4:\n %12 = ptrtoint i64* %arg3 to i64\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %13 = add i64 %12, 272\n %14 = inttoptr i64 %13 to i64*\n store i64 %arg1, i64* %14, align 8\n %15 = add i64 %12, 224\n %16 = inttoptr i64 %15 to i64*\n store i64 %arg1, i64* %16, align 8\n %17 = add i64 %12, 240\n %18 = inttoptr i64 %17 to i64*\n store i64 %storemerge.reload, i64* %18, align 8\n %sext2 = mul i64 %0, 4294967296\n %19 = ashr exact i64 %sext2, 32\n %20 = add i64 %12, 280\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = add i64 %12, 256\n %23 = inttoptr i64 %22 to i64*\n store i64 %storemerge.reload, i64* %23, align 8\n %24 = add i64 %12, 248\n %25 = inttoptr i64 %24 to i64*\n store i64 -1, i64* %25, align 8\n %26 = add i64 %12, 232\n %27 = inttoptr i64 %26 to i64*\n store i64 -1, i64* %27, align 8\n %28 = call i64 @FUNC(i64 %arg1, i64 %storemerge.reload, i64* nonnull @gv_0, i64 %12)\n %29 = add i64 %12, 16\n %30 = call i64 @FUNC(i64 %28, i64 %storemerge.reload, i64* nonnull @gv_0, i64 %29)\n %31 = add i64 %12, 32\n %32 = call i64 @FUNC(i64 %30, i64 %storemerge.reload, i64* bitcast ([3 x i8]* @gv_1 to i64*), i64 %31)\n %33 = add i64 %12, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %36, label LBL_19, label LBL_5\n LBL_5:\n %37 = add i64 %12, 24\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %41, label LBL_6, label LBL_19\n LBL_6:\n %42 = inttoptr i64 %29 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = inttoptr i64 %43 to i64*\n %45 = trunc i64 %39 to i32\n %46 = call i64* @memchr(i64* %44, i32 63, i32 %45)\n %47 = icmp eq i64* %46, null\n br i1 %47, label LBL_8, label LBL_7\n LBL_7:\n %48 = ptrtoint i64* %46 to i64\n %49 = add i64 %48, 1\n %50 = add i64 %12, 48\n %51 = inttoptr i64 %50 to i64*\n store i64 %49, i64* %51, align 8\n %52 = load i64, i64* %42, align 8\n %53 = load i64, i64* %38, align 8\n %54 = sub i64 0, %48\n %55 = sub i64 %54, 1\n %56 = add i64 %52, %55\n %57 = add i64 %56, %53\n %58 = add i64 %12, 56\n %59 = inttoptr i64 %58 to i64*\n store i64 %57, i64* %59, align 8\n %60 = load i64, i64* %42, align 8\n %61 = sub i64 %48, %60\n store i64 %61, i64* %38, align 8\n br label LBL_8\n LBL_8:\n %62 = add i64 %12, 64\n %63 = call i64 @FUNC(i64 %32, i64 %storemerge.reload, i64 %62, i64 10)\n %64 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n %65 = icmp eq i64 %64, 0\n store i64 %62, i64* %rdx.0.reg2mem\n br i1 %65, label LBL_11, label LBL_9\n LBL_9:\n %66 = inttoptr i64 %64 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = add i64 %64, 8\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = call i64 @FUNC(i64 %67, i64 %70)\n %72 = icmp slt i64 %71, 0\n %73 = icmp eq i1 %72, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %73, label LBL_10, label LBL_19\n LBL_10:\n store i64 %71, i64* %25, align 8\n %74 = add i64 %71, %19\n store i64 %74, i64* %27, align 8\n store i64 %74, i64* %rdx.0.reg2mem\n br label LBL_11\n LBL_11:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %75 = call i64 @FUNC(i64 %rdx.0.reload, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 5)\n %76 = trunc i64 %75 to i32\n %77 = icmp eq i32 %76, 0\n %78 = load i64, i64* %25, align 8\n %79 = icmp eq i64 %78, -1\n %80 = icmp eq i1 %77, false\n %81 = icmp eq i1 %79, %80\n br i1 %81, label LBL_12, label LBL_15\n LBL_12:\n %82 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))\n %83 = trunc i64 %82 to i32\n %84 = icmp eq i32 %83, 0\n br i1 %84, label LBL_18, label LBL_13\n LBL_13:\n %85 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0))\n %86 = trunc i64 %85 to i32\n %87 = icmp eq i32 %86, 0\n br i1 %87, label LBL_18, label LBL_14\n LBL_14:\n store i64 0, i64* %25, align 8\n store i64 %19, i64* %27, align 8\n br label LBL_18\n LBL_15:\n %88 = icmp eq i1 %77, %79\n br i1 %88, label LBL_16, label LBL_18\n LBL_16:\n %89 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0))\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n %92 = icmp eq i1 %91, false\n br i1 %92, label LBL_18, label LBL_17\n LBL_17:\n store i64 0, i64* %25, align 8\n store i64 %19, i64* %27, align 8\n br label LBL_18\n LBL_18:\n %93 = and i64 %0, 4294967295\n store i64 %93, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %48, { 1, 0, 2 }\n uselistorder i64* %46, { 1, 0 }\n uselistorder i64* %27, { 2, 1, 0, 3 }\n uselistorder i64* %25, { 2, 1, 3, 0, 4 }\n uselistorder i64 %19, { 2, 1, 0, 3 }\n uselistorder i64 %storemerge.reload, { 5, 4, 2, 3, 1, 0 }\n uselistorder i64 %12, { 2, 3, 4, 5, 0, 1, 7, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 3, 4, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 3, 2, 4 }\n uselistorder i64 (i64, i8*)* @mg_vcasecmp, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64*, i64)* @skip, { 2, 1, 0 }\n uselistorder i64 -1, { 1, 0, 2 }\n uselistorder i1 false, { 2, 0, 3, 4, 5, 1 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64 %arg1, { 2, 1, 3, 0, 5, 4 }\n uselistorder label LBL_19, { 3, 0, 2, 1, 4 }\n uselistorder label LBL_18, { 4, 5, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "palette8tobgr24_2944", "fun_name": "palette8tobgr24", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg3, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i64* %arg4 to i64\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i16* %arg1 to i64\n store i64 0, i64* %storemerge3.reg2mem\n store i64 %2, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %4 = add i64 %storemerge3.reload, %3\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = zext i8 %6 to i64\n %8 = mul i64 %7, 4\n %9 = add i64 %8, %1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = inttoptr i64 %sv_0.02.reload to i8*\n store i8 %11, i8* %12, align 1\n %13 = load i8, i8* %5, align 1\n %14 = zext i8 %13 to i64\n %15 = mul i64 %14, 4\n %16 = or i64 %15, 1\n %17 = add i64 %16, %1\n %18 = add i64 %sv_0.02.reload, 1\n %19 = inttoptr i64 %17 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = inttoptr i64 %18 to i8*\n store i8 %20, i8* %21, align 1\n %22 = load i8, i8* %5, align 1\n %23 = zext i8 %22 to i64\n %24 = mul i64 %23, 4\n %25 = or i64 %24, 2\n %26 = add i64 %25, %1\n %27 = add i64 %sv_0.02.reload, 2\n %28 = inttoptr i64 %26 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = inttoptr i64 %27 to i8*\n store i8 %29, i8* %30, align 1\n %31 = add i64 %sv_0.02.reload, 3\n %32 = add nuw nsw i64 %storemerge3.reload, 1\n %exitcond = icmp eq i64 %32, %arg3\n store i64 %32, i64* %storemerge3.reg2mem\n store i64 %31, i64* %sv_0.02.reg2mem\n store i64 %arg3, i64* %storemerge.lcssa.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_times_17725", "fun_name": "set_times", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %1 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 29\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = bitcast i32* %sv_0 to i64*\n %8 = bitcast i32* %sv_1 to i64*\n %9 = call i64 @FUNC(i64 %6, i64* nonnull %7, i64* nonnull %8)\n %10 = trunc i64 %9 to i32\n %11 = load i32, i32* %sv_1, align 4\n %12 = sext i32 %11 to i64\n %13 = mul i64 %12, 4\n %14 = add i64 %13, ptrtoint (i32** @gv_0 to i64)\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = load i32, i32* %sv_0, align 4\n %18 = sext i32 %17 to i64\n %19 = mul i64 %18, 4\n %20 = add i64 %19, ptrtoint (i32** @gv_0 to i64)\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = zext i32 %16 to i64\n %27 = zext i32 %11 to i64\n %28 = zext i32 %22 to i64\n %29 = zext i32 %17 to i64\n %30 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %29, i64 %28, i64 %27, i64 %26)\n %31 = load i32, i32* %sv_1, align 4\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %0, i64 0, i32 %1, i64 %32)\n %34 = load i32, i32* %sv_0, align 4\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %0, i64 1, i32 %1, i64 %35)\n store i32 %10, i32* %4, align 4\n %37 = add i64 %3, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %40, i64* nonnull %7, i64* nonnull %8)\n %42 = trunc i64 %41 to i32\n %43 = load i32, i32* %sv_1, align 4\n %44 = sext i32 %43 to i64\n %45 = mul i64 %44, 4\n %46 = add i64 %45, ptrtoint (i32** @gv_0 to i64)\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = load i32, i32* %sv_0, align 4\n %50 = sext i32 %49 to i64\n %51 = mul i64 %50, 4\n %52 = add i64 %51, ptrtoint (i32** @gv_0 to i64)\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = load i64, i64* %24, align 8\n %56 = zext i32 %48 to i64\n %57 = zext i32 %43 to i64\n %58 = zext i32 %54 to i64\n %59 = zext i32 %49 to i64\n %60 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %59, i64 %58, i64 %57, i64 %56)\n %61 = load i32, i32* %sv_1, align 4\n %62 = zext i32 %61 to i64\n %63 = call i64 @FUNC(i64 %0, i64 2, i32 %1, i64 %62)\n %64 = load i32, i32* %sv_0, align 4\n %65 = zext i32 %64 to i64\n %66 = call i64 @FUNC(i64 %0, i64 3, i32 %1, i64 %65)\n %67 = load i32, i32* %sv_0, align 4\n %68 = zext i32 %67 to i64\n %69 = call i64 @FUNC(i64 %0, i64 4, i32 %1, i64 %68)\n store i32 %42, i32* %38, align 4\n %70 = call i64 @FUNC(i64 %0, i64 5, i32 %1, i64 0)\n ret i64 %70\n\n uselistorder i32* %sv_1, { 3, 2, 1, 0, 4 }\n uselistorder i32* %sv_0, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i32, i64)* @set_code, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_dbg, { 1, 0 }\n uselistorder i64 4, { 5, 0, 1, 4, 2, 3 }\n uselistorder i64 (i64, i64*, i64*)* @choose_times, { 1, 0 }\n uselistorder i64 4294967296, { 0, 3, 1, 4, 2, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sysfs_add_link_4585", "fun_name": "sysfs_add_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 16, i64 0)\n %1 = icmp eq i64 %0, 0\n store i64 4294967284, i64* %sv_0.1.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %arg2 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = sext i32 %3 to i64\n %5 = add nsw i64 %4, 1\n %6 = call i64 @FUNC(i64 %5, i64 0)\n %7 = inttoptr i64 %0 to i64*\n store i64 %6, i64* %7, align 8\n %8 = icmp eq i64 %6, 0\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = ptrtoint i64* %arg3 to i64\n %10 = ptrtoint i64* %arg1 to i64\n %11 = inttoptr i64 %6 to i8*\n %12 = call i8* @strcpy(i8* %11, i8* %2)\n %13 = call i64 @FUNC(i64 %9)\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = call i64 @FUNC(i64 %10, i64 0, i64 %0, i64 0, i64 0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %19, label LBL_3, label LBL_6\n LBL_3:\n %20 = call i64 @FUNC(i64 %9)\n %21 = load i64, i64* %7, align 8\n %22 = call i64 @FUNC(i64 %21)\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = call i64 @FUNC(i64 %0)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %24 = and i64 %sv_0.1.reload, 4294967295\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_arrays_for_13400", "fun_name": "print_arrays_for", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_0 to i8*), i32 256, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i8* %0)\n %2 = call %_IO_FILE* @fopen(i8* bitcast (i8** @gv_0 to i8*), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))\n %3 = icmp eq %_IO_FILE* %2, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load [13 x i8]*, [13 x i8]** @gv_3, align 8\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %7 = getelementptr inbounds [13 x i8], [13 x i8]* %5, i64 0, i64 0\n %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_5, i64 0, i64 0), i8* %7, i8* %0)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %10 = ptrtoint %_IO_FILE* %2 to i64\n %11 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 256)\n %12 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_8, i64 0, i64 0), i64 256)\n %13 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_9, i64 0, i64 0), i64 256)\n %14 = call i64 @FUNC(i64 %10, i64 %arg1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i64 256)\n %15 = call i32 @putchar(i32 10)\n %16 = call i32 @fclose(%_IO_FILE* %2)\n %17 = sext i32 %16 to i64\n ret i64 %17\n\n uselistorder i64 (i64, i64, i8*, i64)* @print_array, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 2, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "imap_quote_string_17333", "fun_name": "imap_quote_string", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i8*\n %sv_0.1.in.lcssa.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_1.16.reg2mem = alloca i64\n %sv_0.1.in7.reg2mem = alloca i64\n %sv_2.08.reg2mem = alloca i64\n %sv_0.19.reg2mem = alloca i8*\n %.reg2mem20 = alloca i8*\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg4 to i8\n %2 = icmp eq i8 %1, 1\n %spec.select = select i1 %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0)\n %3 = add i64 %0, 1\n %4 = bitcast i64* %arg1 to i8*\n store i8 34, i8* %4, align 1\n %5 = add i64 %arg2, -2\n %sv_0.14 = inttoptr i64 %3 to i8*\n %6 = inttoptr i64 %arg3 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp ne i8 %7, 0\n %9 = icmp eq i64 %5, 0\n %10 = icmp eq i1 %9, false\n %or.cond5 = icmp eq i1 %10, %8\n store i8 %7, i8* %.reg2mem\n store i8* %6, i8** %.reg2mem20\n store i8* %sv_0.14, i8** %sv_0.19.reg2mem\n store i64 %arg3, i64* %sv_2.08.reg2mem\n store i64 %3, i64* %sv_0.1.in7.reg2mem\n store i64 %5, i64* %sv_1.16.reg2mem\n store i64 %3, i64* %sv_0.1.in.lcssa.reg2mem\n store i8* %sv_0.14, i8** %sv_0.1.lcssa.reg2mem\n br i1 %or.cond5, label LBL_1, label LBL_6\n LBL_1:\n %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem\n %sv_0.1.in7.reload = load i64, i64* %sv_0.1.in7.reg2mem\n %sv_2.08.reload = load i64, i64* %sv_2.08.reg2mem\n %sv_0.19.reload = load i8*, i8** %sv_0.19.reg2mem\n %.reload21 = load i8*, i8** %.reg2mem20\n %.reload = load i8, i8* %.reg2mem\n %11 = sext i8 %.reload to i32\n %12 = call i8* @strchr(i8* %spec.select, i32 %11)\n %13 = icmp eq i8* %12, null\n br i1 %13, label LBL_4, label LBL_2\n LBL_2:\n %14 = add i64 %sv_1.16.reload, -2\n %15 = icmp eq i64 %14, 0\n store i64 %sv_0.1.in7.reload, i64* %sv_0.1.in.lcssa.reg2mem\n store i8* %sv_0.19.reload, i8** %sv_0.1.lcssa.reg2mem\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = add i64 %sv_0.1.in7.reload, 1\n store i8 92, i8* %sv_0.19.reload, align 1\n %17 = add i64 %sv_0.1.in7.reload, 2\n %18 = load i8, i8* %.reload21, align 1\n %19 = inttoptr i64 %16 to i8*\n store i8 %18, i8* %19, align 1\n store i64 %14, i64* %sv_1.0.reg2mem\n store i64 %17, i64* %sv_0.0.in.reg2mem\n br label LBL_5\n LBL_4:\n %20 = add i64 %sv_0.1.in7.reload, 1\n %21 = load i8, i8* %.reload21, align 1\n store i8 %21, i8* %sv_0.19.reload, align 1\n %22 = add i64 %sv_1.16.reload, -1\n store i64 %22, i64* %sv_1.0.reg2mem\n store i64 %20, i64* %sv_0.0.in.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %23 = add i64 %sv_2.08.reload, 1\n %sv_0.1 = inttoptr i64 %sv_0.0.in.reload to i8*\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp ne i8 %25, 0\n %27 = icmp eq i64 %sv_1.0.reload, 0\n %28 = icmp eq i1 %27, false\n %or.cond = icmp eq i1 %28, %26\n store i8 %25, i8* %.reg2mem\n store i8* %24, i8** %.reg2mem20\n store i8* %sv_0.1, i8** %sv_0.19.reg2mem\n store i64 %23, i64* %sv_2.08.reg2mem\n store i64 %sv_0.0.in.reload, i64* %sv_0.1.in7.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.16.reg2mem\n store i64 %sv_0.0.in.reload, i64* %sv_0.1.in.lcssa.reg2mem\n store i8* %sv_0.1, i8** %sv_0.1.lcssa.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_6\n LBL_6:\n %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem\n %sv_0.1.in.lcssa.reload = load i64, i64* %sv_0.1.in.lcssa.reg2mem\n %29 = add i64 %sv_0.1.in.lcssa.reload, 1\n store i8 34, i8* %sv_0.1.lcssa.reload, align 1\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n ret i64 %29\n\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %sv_0.0.in.reload, { 0, 2, 1 }\n uselistorder i8* %.reload21, { 1, 0 }\n uselistorder i8* %sv_0.19.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.1.in7.reload, { 1, 3, 2, 0 }\n uselistorder i64 %sv_1.16.reload, { 1, 0 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem20, { 2, 0, 1 }\n uselistorder i8** %sv_0.19.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.08.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.in7.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.in.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8** %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "init_proc_POWER9_14792", "fun_name": "init_proc_POWER9", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0)\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC(i64 %0)\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %0)\n %14 = call i64 @FUNC(i64 %0)\n %15 = call i64 @FUNC(i64 %0)\n %16 = call i64 @FUNC(i64 %0)\n %17 = call i64 @FUNC(i64 %0)\n %18 = call i64 @FUNC(i64 %0)\n %19 = call i64 @FUNC(i64 %0)\n %20 = call i64 @FUNC(i64 %0)\n %21 = call i64 @FUNC(i64 %0)\n %22 = call i64 @FUNC(i64 %0)\n %23 = call i64 @FUNC(i64 %0)\n %24 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 0, i64 0)\n %25 = bitcast i64* %arg1 to i32*\n store i32 32, i32* %25, align 4\n %26 = add i64 %0, 4\n %27 = inttoptr i64 %26 to i8*\n store i8 1, i8* %27, align 1\n %28 = add i64 %0, 8\n %29 = inttoptr i64 %28 to i32*\n store i32 128, i32* %29, align 4\n %30 = add i64 %0, 12\n %31 = inttoptr i64 %30 to i32*\n store i32 128, i32* %31, align 4\n %32 = call i64 @FUNC(i64 %0)\n %33 = call i64 @FUNC(i64 %0)\n %34 = call i64 @FUNC(i64 %33)\n ret i64 %34\n\n uselistorder i64 %0, { 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 28 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ftyp_Write_10108", "fun_name": "ftyp_Write", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %arg1, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %3, 4294967295\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %2, i64 %7)\n %9 = add i64 %arg1, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12)\n %14 = add i64 %arg1, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %17, label LBL_5, label LBL_3\n LBL_3:\n %18 = add i64 %arg1, 8\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %20 = load i64, i64* %19, align 8\n %21 = mul i64 %indvars.iv.reload, 4\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %2, i64 %25)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %27 = load i32, i32* %15, align 4\n %28 = zext i32 %27 to i64\n %29 = icmp ult i64 %indvars.iv.next, %28\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %29, label LBL_4, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %15, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decrypt_callback_8697", "fun_name": "decrypt_callback", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = trunc i64 %arg3 to i32\n %4 = and i64 %arg3, 4294967295\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %arg1, align 4\n %8 = icmp eq i32 %3, 64\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_1, label LBL_3\n LBL_1:\n %10 = icmp ult i32 %3, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = udiv i32 %3, 8\n %.zext = zext i32 %11 to i64\n %12 = ptrtoint i32* %arg1 to i64\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i64*\n store i32 0, i32* %sv_1.04.reg2mem\n store i64 %2, i64* %sv_0.03.reg2mem\n br label LBL_4\n LBL_3:\n %15 = ptrtoint i32* %arg1 to i64\n %16 = add i64 %15, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18, i64 %2, i64 %2)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %20 = load i64, i64* %14, align 8\n %21 = call i64 @FUNC(i64 %20, i64 %sv_0.03.reload, i64 %sv_0.03.reload)\n %22 = add nuw nsw i32 %sv_1.04.reload, 1\n %23 = add i64 %sv_0.03.reload, 8\n %exitcond = icmp eq i32 %22, %11\n store i32 %22, i32* %sv_1.04.reg2mem\n store i64 %23, i64* %sv_0.03.reg2mem\n store i64 %.zext, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i32* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 8, { 3, 5, 4, 1, 2, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ath9k_cmn_spectral_init_debug_17678", "fun_name": "ath9k_cmn_spectral_init_debug", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 1024, i64 256, i64* nonnull @gv_1, i64 0)\n store i64 %2, i64* %arg1, align 8\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 384, i64 %0, i64 %1, i64* nonnull @gv_3)\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i64 384, i64 %0, i64 %1, i64* nonnull @gv_5)\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i64 384, i64 %0, i64 %1, i64* nonnull @gv_7)\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_8, i64 0, i64 0), i64 384, i64 %0, i64 %1, i64* nonnull @gv_9)\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_10, i64 0, i64 0), i64 384, i64 %0, i64 %1, i64* nonnull @gv_11)\n ret i64 %7\n\n uselistorder i64 (i8*, i64, i64, i64, i64*)* @debugfs_create_file, { 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "WriteBlobLSBShort_9915", "fun_name": "WriteBlobLSBShort", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([24 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %3 = icmp eq i64 %rdi.0.reload, 305419896\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 23, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %sext3 = mul i64 %arg2, 72057594037927936\n %4 = ashr exact i64 %sext3, 56\n store i64 %4, i64* %sv_0, align 8\n %5 = bitcast i64* %sv_0 to i8*\n %6 = call i64 @FUNC(i64 %0, i64 2, i8* nonnull %5)\n ret i64 %6\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder [24 x i8]* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_lease_7214", "fun_name": "get_lease", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i64 %arg2, 65536\n %2 = call i64 @FUNC(i64 %0, i64 %1, i64 51)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 3600, i64* %storemerge1.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n %6 = trunc i64 %5 to i32\n %7 = icmp ult i32 %6, 10\n %.op = and i64 %5, 4294967295\n %8 = select i1 %7, i64 10, i64 %.op\n store i64 %8, i64* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mcf_uart_do_tx_2678", "fun_name": "mcf_uart_do_tx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem8 = alloca i32\n %.in.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %.pre2 = add i64 %2, 4\n %.pre3 = inttoptr i64 %.pre2 to i32*\n %5 = load i32, i32* %.pre3, align 4\n store i32 %5, i32* %.in.reg2mem\n br i1 %4, label LBL_5.thread, label LBL_1\n LBL_1:\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = or i32 %5, 2\n store i32 %9, i32* %.reg2mem8\n br label %21\n LBL_3:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n store i32 %5, i32* %.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i64 %2, 16\n %15 = call i64 @FUNC(i64 %12, i64 %14, i64 1)\n %.pre = load i32, i32* %.pre3, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %16 = bitcast i64* %rdi to i32*\n %.reload = load i32, i32* %.reg2mem\n %17 = or i32 %.reload, 1\n store i32 %17, i32* %.pre3, align 4\n %.pre1 = load i32, i32* %16, align 8\n %18 = icmp eq i32 %.pre1, 0\n %19 = or i32 %.reload, 3\n store i32 %17, i32* %.in.reg2mem\n store i32 %19, i32* %.reg2mem8\n br i1 %18, label LBL_5.thread, label %21\n LBL_6:\n %.in.reload = load i32, i32* %.in.reg2mem\n %20 = and i32 %.in.reload, -3\n store i32 %20, i32* %.reg2mem8\n br label %21\n\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i32 %5, { 1, 3, 2, 0 }\n uselistorder i64 %2, { 1, 2, 3, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem8, { 0, 3, 2, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label %21, { 2, 1, 0 }\n uselistorder label LBL_5.thread, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ffurl_read_2134", "fun_name": "ffurl_read", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967291, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = trunc i64 %arg3 to i32\n %13 = call i64 @FUNC(i64 %6, i64 %5, i32 %12, i64 1, i64 %11)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "send_sub_rect_jpeg_5392", "fun_name": "send_sub_rect_jpeg", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64 %arg8, i32* %arg9) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg8 to i32\n %sext11 = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext11, 32\n %sext12 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext12, 32\n %sext13 = mul i64 %arg4, 4294967296\n %5 = ashr exact i64 %sext13, 32\n %sext14 = mul i64 %arg5, 4294967296\n %6 = ashr exact i64 %sext14, 32\n %7 = icmp eq i32 %2, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = trunc i64 %6 to i32\n %10 = ptrtoint i32* %arg1 to i64\n %11 = and i64 %5, 4294967295\n %12 = call i64 @FUNC(i64 %10, i64 %11, i32 %9)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %sext = mul i64 %1, 4294967296\n %15 = ashr exact i64 %sext, 30\n %16 = add i64 %15, ptrtoint (i32** @gv_0 to i64)\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = trunc i64 %5 to i32\n %20 = trunc i64 %4 to i32\n %21 = trunc i64 %3 to i32\n %22 = zext i32 %18 to i64\n %23 = and i64 %6, 4294967295\n %24 = call i64 @FUNC(i64 %10, i32 %21, i32 %20, i32 %19, i64 %23, i64 %22)\n store i64 %24, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_3:\n %25 = trunc i64 %5 to i32\n %26 = trunc i64 %4 to i32\n %27 = trunc i64 %3 to i32\n %28 = and i64 %6, 4294967295\n %29 = call i64 @FUNC(i64 %10, i32 %27, i32 %26, i32 %25, i64 %28)\n store i64 %29, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_4:\n %30 = icmp eq i32 %2, 1\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = ptrtoint i32* %arg1 to i64\n %33 = call i64 @FUNC(i64 %32)\n store i64 %33, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_6:\n %34 = icmp eq i32 %2, 2\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_8, label LBL_7\n LBL_7:\n %36 = trunc i64 %arg6 to i32\n %37 = trunc i64 %6 to i32\n %38 = trunc i64 %5 to i32\n %39 = trunc i64 %4 to i32\n %40 = trunc i64 %3 to i32\n %41 = ptrtoint i32* %arg1 to i64\n %42 = call i64 @FUNC(i64 %41, i32 %40, i32 %39, i32 %38, i32 %37, i32 %36)\n store i64 %42, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_8:\n %43 = icmp sgt i32 %2, 256\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %43, label LBL_14, label LBL_9\n LBL_9:\n %44 = icmp slt i32 %2, 97\n br i1 %44, label LBL_9.LBL_13_crit_edge, label LBL_11\n LBL_10:\n %.pre = ptrtoint i32* %arg1 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_13\n LBL_11:\n %45 = trunc i64 %6 to i32\n %46 = ptrtoint i32* %arg1 to i64\n %47 = and i64 %5, 4294967295\n %48 = call i64 @FUNC(i64 %46, i64 %47, i32 %45)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n store i64 %46, i64* %.pre-phi.reg2mem\n br i1 %50, label LBL_13, label LBL_12\n LBL_12:\n %sext16 = mul i64 %1, 4294967296\n %51 = ashr exact i64 %sext16, 30\n %52 = add i64 %51, ptrtoint (i32** @gv_0 to i64)\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = trunc i64 %5 to i32\n %56 = trunc i64 %4 to i32\n %57 = trunc i64 %3 to i32\n %58 = zext i32 %54 to i64\n %59 = and i64 %6, 4294967295\n %60 = call i64 @FUNC(i64 %46, i32 %57, i32 %56, i32 %55, i64 %59, i64 %58)\n store i64 %60, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %61 = ptrtoint i32* %arg9 to i64\n %62 = trunc i64 %5 to i32\n %63 = trunc i64 %4 to i32\n %64 = trunc i64 %3 to i32\n %65 = and i64 %6, 4294967295\n %66 = call i64 @FUNC(i64 %.pre-phi.reload, i32 %64, i32 %63, i32 %62, i64 %65, i64 %61)\n store i64 %66, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %67 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %67\n\n uselistorder i64 %46, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %6, { 6, 4, 5, 3, 1, 0, 2 }\n uselistorder i64 %5, { 6, 4, 5, 3, 1, 0, 2 }\n uselistorder i64 %4, { 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 4, 3, 2, 1, 0 }\n uselistorder i32 %2, { 3, 2, 1, 0, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 7, 6, 1, 5, 4, 3, 2 }\n uselistorder i64 (i64, i32, i32, i32, i64, i64)* @send_jpeg_rect, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @tight_detect_smooth_image, { 1, 0 }\n uselistorder i32* %arg1, { 4, 0, 3, 2, 1 }\n uselistorder label LBL_14, { 1, 2, 0, 3, 4, 5, 6 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ide_cmd_write_9272", "fun_name": "ide_cmd_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv9.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %1, 4\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = and i64 %arg3, 4\n %7 = icmp eq i64 %6, 0\n %or.cond = or i1 %7, %5\n store i64 0, i64* %indvars.iv9.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %8 = mul nuw nsw i64 %indvars.iv9.reload, 3\n %9 = add i64 %8, %2\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i8*\n store i8 3, i8* %11, align 1\n %12 = add i64 %9, 5\n %13 = inttoptr i64 %12 to i8*\n store i8 1, i8* %13, align 1\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %exitcond11 = icmp eq i64 %indvars.iv.next10, 2\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n br i1 %exitcond11, label LBL_4, label LBL_1\n LBL_2:\n %14 = icmp eq i1 %7, false\n %or.cond5 = or i1 %14, %4\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %or.cond5, label LBL_4, label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul nuw nsw i64 %indvars.iv.reload, 3\n %16 = add i64 %15, %2\n %17 = add i64 %16, 4\n %18 = inttoptr i64 %17 to i8*\n %19 = add i64 %16, 6\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 1\n %23 = icmp eq i1 %22, false\n %. = select i1 %23, i8 6, i8 0\n store i8 %., i8* %18, align 1\n %24 = call i64 @FUNC(i64 %17)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %25 = trunc i64 %arg3 to i32\n %26 = bitcast i64* %arg1 to i32*\n store i32 %25, i32* %26, align 4\n ret i64 %2\n\n uselistorder i1 %7, { 1, 0 }\n uselistorder i1 %4, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64* %indvars.iv9.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 4, { 2, 3, 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_event__header_size_7064", "fun_name": "perf_event__header_size", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, 20\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 %9)\n %12 = trunc i64 %11 to i32\n %13 = add i64 %2, 16\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %2, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %2, i64 %18)\n ret i64 %19\n\n uselistorder i64 %2, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ich_elrsr_read_2900", "fun_name": "ich_elrsr_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %5 = add i64 %1, 8\n %6 = zext i32 %3 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge35.reg2mem\n store i64 0, i64* %sv_0.14.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.14.reload = load i64, i64* %sv_0.14.reg2mem\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %7 = mul i64 %.reload, 8\n %8 = add i64 %5, %7\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = urem i64 %10, 4\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_6, label LBL_3\n LBL_3:\n %14 = trunc i64 %10 to i32\n %15 = and i32 %14, 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = and i32 %14, 8\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %sv_0.14.reload, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = urem i32 %storemerge35.reload, 32\n %22 = shl i32 1, %21\n %23 = sext i32 %22 to i64\n %24 = or i64 %sv_0.14.reload, %23\n store i64 %24, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %25 = add i32 %storemerge35.reload, 1\n %26 = sext i32 %25 to i64\n %27 = icmp slt i64 %26, %6\n store i64 %26, i64* %.reg2mem\n store i32 %25, i32* %storemerge35.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.14.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %27, label LBL_2, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %28 = call i64 @FUNC(i64 %1)\n %29 = and i64 %28, 4294967295\n %30 = call i64 @FUNC(i64 %29, i64 %sv_0.1.lcssa.reload)\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i64 %sv_0.1.lcssa.reload, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %sv_0.14.reload, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder i32 0, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_query_migrate_capabilities_15025", "fun_name": "qmp_query_migrate_capabilities", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %sv_0.12.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = icmp eq i64 %sv_0.12.reload, 0\n %2 = icmp eq i1 %1, false\n %3 = call i64 @FUNC(i64 16)\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_2, label LBL_3\n LBL_2:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %4 = add i64 %sv_1.03.reload, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n store i64 %sv_0.12.reload, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %6 = call i64 @FUNC(i64 8)\n %7 = inttoptr i64 %3 to i64*\n store i64 %6, i64* %7, align 8\n %8 = inttoptr i64 %6 to i32*\n %9 = trunc i64 %indvars.iv.reload to i32\n store i32 %9, i32* %8, align 4\n %10 = load i64, i64* %7, align 8\n %11 = mul i64 %indvars.iv.reload, 4\n %12 = add i64 %11, %0\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %10, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %3, i64* %sv_1.03.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %3, { 1, 2, 3, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.03.reg2mem, { 1, 0 }\n uselistorder i64* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "co_sleep_cb_1036", "fun_name": "co_sleep_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = call i64 @FUNC(i64 %0)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "old_style_option_17674", "fun_name": "old_style_option", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.0.ph11.reg2mem = alloca i32\n %sv_0.0.ph12.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_1.04.lcssa.reg2mem = alloca i32\n %sv_0.05.lcssa.reg2mem = alloca i64\n %sv_0.0522.reg2mem = alloca i64\n %sv_1.0423.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 1\n store i64 1, i64* %indvars.iv.reg2mem\n store i64 -1, i64* %sv_0.0.ph12.reg2mem\n store i32 %2, i32* %sv_1.0.ph11.reg2mem\n store i32 %2, i32* %sv_1.0.lcssa.reg2mem\n store i64 -1, i64* %sv_0.0.lcssa.reg2mem\n br i1 %3, label LBL_1.lr.ph, label LBL_6\n LBL_1:\n %4 = load i64, i64* %36, align 8\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 45\n %8 = icmp eq i1 %7, false\n store i32 %27, i32* %sv_1.0423.reg2mem\n store i64 %26, i64* %sv_0.0522.reg2mem\n store i64 %26, i64* %sv_0.05.lcssa.reg2mem\n store i32 %27, i32* %sv_1.04.lcssa.reg2mem\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %sv_0.0522.reload = load i64, i64* %sv_0.0522.reg2mem\n %sv_1.0423.reload = load i32, i32* %sv_1.0423.reg2mem\n %9 = call i16** @__ctype_b_loc()\n %10 = load i16*, i16** %9, align 8\n %11 = ptrtoint i16* %10 to i64\n %12 = load i64, i64* %36, align 8\n %13 = add i64 %12, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = sext i8 %15 to i64\n %17 = mul i64 %16, 2\n %18 = add i64 %17, %11\n %19 = inttoptr i64 %18 to i16*\n %20 = load i16, i16* %19, align 2\n %21 = and i16 %20, 2048\n %22 = icmp eq i16 %21, 0\n store i64 %sv_0.0522.reload, i64* %sv_0.05.lcssa.reg2mem\n store i32 %sv_1.0423.reload, i32* %sv_1.04.lcssa.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @globalFUNCvarFUNC402018, i64 0, i64 0))\n %24 = load i64, i64* %36, align 8\n %25 = add i64 %24, 1\n %26 = call i64 @FUNC(i64 %25, i64 %23)\n %27 = add i32 %sv_1.0423.reload, -1\n %28 = mul i32 %27, 8\n %29 = call i64* @memmove(i64* nonnull %36, i64* %38, i32 %28)\n %30 = sext i32 %27 to i64\n %31 = icmp slt i64 %indvars.iv.reload, %30\n store i32 %27, i32* %sv_1.0.lcssa.reg2mem\n store i64 %26, i64* %sv_0.0.lcssa.reg2mem\n br i1 %31, label LBL_1, label LBL_6\n LBL_4:\n %sv_1.04.lcssa.reload = load i32, i32* %sv_1.04.lcssa.reg2mem\n %sv_0.05.lcssa.reload = load i64, i64* %sv_0.05.lcssa.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %32 = sext i32 %sv_1.04.lcssa.reload to i64\n %33 = icmp slt i64 %indvars.iv.next, %32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %sv_0.05.lcssa.reload, i64* %sv_0.0.ph12.reg2mem\n store i32 %sv_1.04.lcssa.reload, i32* %sv_1.0.ph11.reg2mem\n store i32 %sv_1.04.lcssa.reload, i32* %sv_1.0.lcssa.reg2mem\n store i64 %sv_0.05.lcssa.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %33, label LBL_1.lr.ph, label LBL_6\n LBL_5:\n %sv_1.0.ph11.reload = load i32, i32* %sv_1.0.ph11.reg2mem\n %sv_0.0.ph12.reload = load i64, i64* %sv_0.0.ph12.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %34 = mul i64 %indvars.iv.reload, 8\n %35 = add i64 %34, %arg2\n %36 = inttoptr i64 %35 to i64*\n %37 = add i64 %35, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %36, align 8\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp eq i8 %41, 45\n %43 = icmp eq i1 %42, false\n store i32 %sv_1.0.ph11.reload, i32* %sv_1.0423.reg2mem\n store i64 %sv_0.0.ph12.reload, i64* %sv_0.0522.reg2mem\n store i64 %sv_0.0.ph12.reload, i64* %sv_0.05.lcssa.reg2mem\n store i32 %sv_1.0.ph11.reload, i32* %sv_1.04.lcssa.reg2mem\n br i1 %43, label LBL_4, label LBL_2\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %arg1, align 4\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i64* %36, { 0, 4, 3, 2, 1 }\n uselistorder i64 %indvars.iv.reload, { 2, 1, 0 }\n uselistorder i64 %sv_0.0.ph12.reload, { 1, 0 }\n uselistorder i32 %sv_1.0.ph11.reload, { 1, 0 }\n uselistorder i32 %27, { 0, 4, 3, 2, 1 }\n uselistorder i64 %26, { 0, 2, 1 }\n uselistorder i32 %sv_1.0423.reload, { 1, 0 }\n uselistorder i32* %sv_1.0423.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0522.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.05.lcssa.reg2mem, { 3, 0, 2, 1 }\n uselistorder i32* %sv_1.04.lcssa.reg2mem, { 3, 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph12.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.ph11.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder label LBL_1.lr.ph, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mta_host_unref_4898", "fun_name": "mta_host_unref", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = bitcast i64* %rdi to i32*\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, -1\n %5 = inttoptr i64 %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = load i32, i32* %2, align 8\n %7 = zext i32 %6 to i64\n %8 = icmp eq i32 %6, 0\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = load i32, i32* @gv_0, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64* nonnull @gv_1, i64 %arg1)\n %13 = add i64 %arg1, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i64*\n call void @free(i64* %16)\n %17 = add i64 %arg1, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i64*\n call void @free(i64* %20)\n %21 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %21)\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 1)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder void (i64*)* @free, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_fetch_timestamp_9516", "fun_name": "ff_fetch_timestamp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.2.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem7 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 -9223372036854775808, i64* %2, align 8\n store i64 -9223372036854775808, i64* %arg1, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 -1, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 0, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n %9 = ashr exact i64 %sext, 32\n %10 = add i64 %0, 360\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %0, 368\n %13 = inttoptr i64 %12 to i64*\n %14 = trunc i64 %arg3 to i32\n %15 = icmp eq i32 %14, 0\n %.pre = load i64, i64* %8, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %16 = add i64 %.reload, %9\n %17 = mul i64 %indvars.iv.reload, 8\n %18 = add i64 %17, %0\n %19 = add i64 %18, 40\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp slt i64 %16, %21\n store i64 %.reload, i64* %.reg2mem7\n store i64 %21, i64* %rax.0.reg2mem\n br i1 %22, label LBL_9, label LBL_2\n LBL_2:\n %23 = load i64, i64* %11, align 8\n %24 = icmp slt i64 %23, %21\n br i1 %24, label LBL_5, label LBL_3\n LBL_3:\n %25 = icmp eq i64 %23, 0\n %26 = icmp eq i1 %25, false\n store i64 %.reload, i64* %.reg2mem7\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %26, label LBL_9, label LBL_4\n LBL_4:\n %27 = load i64, i64* %13, align 8\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %.reload, i64* %.reg2mem7\n store i64 %27, i64* %rax.0.reg2mem\n br i1 %29, label LBL_9, label LBL_5\n LBL_5:\n %30 = add i64 %18, 104\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, 0\n store i64 %.reload, i64* %.reg2mem7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_9, label LBL_6\n LBL_6:\n %34 = add i64 %18, 168\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n store i64 %36, i64* %arg1, align 8\n %37 = add i64 %18, 232\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n store i64 %39, i64* %2, align 8\n %40 = add i64 %18, 296\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n store i64 %42, i64* %4, align 8\n %43 = load i64, i64* %13, align 8\n %44 = load i64, i64* %20, align 8\n %45 = sub i64 %43, %44\n store i64 %45, i64* %6, align 8\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n store i64 9223372036854775807, i64* %20, align 8\n br label LBL_8\n LBL_8:\n %46 = load i64, i64* %8, align 8\n %47 = add i64 %46, %9\n %48 = load i64, i64* %31, align 8\n %49 = icmp slt i64 %47, %48\n store i64 %46, i64* %.reg2mem7\n store i64 %48, i64* %rax.0.reg2mem\n store i64 %48, i64* %rax.2.reg2mem\n br i1 %49, label LBL_10, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %.reload8 = load i64, i64* %.reg2mem7\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %50 = icmp ult i64 %indvars.iv.next, 8\n store i64 %.reload8, i64* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rax.0.reload, i64* %rax.2.reg2mem\n br i1 %50, label LBL_1, label LBL_10\n LBL_10:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64 %.reload, { 2, 0, 1, 3, 4 }\n uselistorder i64* %8, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem7, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "integratorcm_init_2038", "fun_name": "integratorcm_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = call i64 @FUNC(i64 20)\n %2 = inttoptr i64 %1 to i32*\n store i32 16777288, i32* %2, align 4\n %3 = add i64 %1, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 524031, i32* %4, align 4\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 69922, i32* %6, align 4\n %7 = icmp slt i32 %0, 256\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n store i32 64, i32* bitcast (i64* @gv_0 to i32*), align 8\n %8 = load i32, i32* %6, align 4\n %9 = or i32 %8, 16\n store i32 %9, i32* %6, align 4\n br label LBL_9\n LBL_2:\n %10 = icmp slt i32 %0, 128\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n store i32 32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %11 = load i32, i32* %6, align 4\n %12 = or i32 %11, 12\n store i32 %12, i32* %6, align 4\n br label LBL_9\n LBL_4:\n %13 = icmp slt i32 %0, 64\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n store i32 16, i32* bitcast (i64* @gv_0 to i32*), align 8\n %14 = load i32, i32* %6, align 4\n %15 = or i32 %14, 8\n store i32 %15, i32* %6, align 4\n br label LBL_9\n LBL_6:\n %16 = icmp slt i32 %0, 32\n br i1 %16, label LBL_8, label LBL_7\n LBL_7:\n store i32 4, i32* bitcast (i64* @gv_0 to i32*), align 8\n %17 = load i32, i32* %6, align 4\n %18 = or i32 %17, 4\n store i32 %18, i32* %6, align 4\n br label LBL_9\n LBL_8:\n store i32 2, i32* bitcast (i64* @gv_0 to i32*), align 8\n br label LBL_9\n LBL_9:\n %19 = call i64* @memcpy(i64* nonnull @gv_1, i64* bitcast ([12 x i8]* @gv_2 to i64*), i32 11)\n %20 = add i64 %1, 12\n %21 = inttoptr i64 %20 to i32*\n store i32 274, i32* %21, align 4\n %22 = trunc i64 %arg2 to i32\n %23 = add i64 %1, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = call i64 @FUNC(i64 0, i64 4198797, i64 4198808, i64 %1)\n %26 = and i64 %25, 4294967295\n %27 = call i64 @FUNC(i64 268435456, i64 8388608, i64 %26)\n %28 = call i64 @FUNC(i64 %1, i64 1)\n ret i64 %28\n\n uselistorder i32* %6, { 7, 6, 5, 4, 3, 2, 1, 0, 8 }\n uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i32 %0, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "GetXMLTreeTag_8508", "fun_name": "GetXMLTreeTag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([33 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %3 = icmp eq i64 %rdi.0.reload, 305419896\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([103 x i8], [103 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_6, label LBL_5\n LBL_5:\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 1, i64 %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n ret i64 %12\n\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder [33 x i8]* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_random_1682", "fun_name": "read_random", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i32 (i8*, i32, ...) @open(i8* %0, i32 0)\n %2 = icmp eq i32 %1, -1\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i32 @read(i32 %1, i64* %arg1, i32 4)\n %5 = call i32 @close(i32 %1)\n %6 = zext i32 %4 to i64\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "collect_mounts_5494", "fun_name": "collect_mounts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 4294967274)\n store i64 %7, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_2:\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %2)\n %12 = call i64 @FUNC(i64 %11, i64 %10, i64 3)\n store i64 %12, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %13 = call i64 @FUNC()\n %14 = call i64 @FUNC(i64 %storemerge1.reload)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n store i64 %storemerge1.reload, i64* %storemerge.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %storemerge1.reload)\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge1.reload, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @real_mount, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vbe_ioport_write_data_7390", "fun_name": "vbe_ioport_write_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp ult i32 %2, 5\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = icmp eq i32 %2, 0\n %7 = trunc i64 %arg3 to i32\n br i1 %6, label LBL_2, label LBL_4\n LBL_2:\n %switch = icmp ugt i32 %7, 3\n %8 = icmp eq i32 %7, 4\n %9 = icmp eq i1 %8, false\n %or.cond = icmp eq i1 %switch, %9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_3\n LBL_3:\n %10 = mul i64 %3, 4\n %11 = add i64 %5, 4\n %12 = add i64 %11, %10\n %13 = inttoptr i64 %12 to i32*\n store i32 %7, i32* %13, align 4\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %14 = mul i64 %3, 4\n %15 = add i64 %5, 4\n %16 = add i64 %15, %14\n %17 = inttoptr i64 %16 to i32*\n store i32 %7, i32* %17, align 4\n %18 = call i64 @FUNC(i64 %5)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %7, { 0, 2, 3, 1 }\n uselistorder i64 %5, { 1, 2, 0, 3 }\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 4, { 2, 0, 3, 1 }\n uselistorder label LBL_5, { 3, 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ide_data_writel_2303", "fun_name": "ide_data_writel", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %1, 16\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = and i8 %4, 8\n %6 = icmp eq i8 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = inttoptr i64 %1 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %12, 4\n %14 = add i64 %1, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp ugt i64 %13, %16\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = and i64 %arg3, 4294967295\n %19 = inttoptr i64 %12 to i32*\n %20 = call i64 @FUNC(i64 %18)\n %21 = trunc i64 %20 to i32\n store i32 %21, i32* %19, align 4\n store i64 %13, i64* %11, align 8\n %22 = load i64, i64* %15, align 8\n %23 = icmp ult i64 %13, %22\n %spec.select = select i1 %23, i64 %22, i64 %1\n ret i64 %spec.select\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_4, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_line_charstring_12333", "fun_name": "check_line_charstring", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i8\n %storemerge2.lcssa.reg2mem = alloca i8*\n %storemerge23.reg2mem = alloca i8*\n %0 = call i16** @__ctype_b_loc()\n %1 = load i16*, i16** %0, align 8\n %2 = ptrtoint i16* %1 to i64\n %3 = load i8, i8* bitcast (i8** @gv_0 to i8*), align 8\n %4 = sext i8 %3 to i64\n %5 = mul i64 %4, 2\n %6 = add i64 %5, %2\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = and i16 %8, 8192\n %10 = icmp eq i16 %9, 0\n %11 = icmp eq i1 %10, false\n store i8* bitcast (i8** @gv_0 to i8*), i8** %storemerge23.reg2mem\n store i8* bitcast (i8** @gv_0 to i8*), i8** %storemerge2.lcssa.reg2mem\n store i8 %3, i8* %.lcssa.reg2mem\n br i1 %11, label LBL_1, label LBL_2\n LBL_1:\n %storemerge23.reload = load i8*, i8** %storemerge23.reg2mem\n %12 = ptrtoint i8* %storemerge23.reload to i64\n %13 = add i64 %12, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = call i16** @__ctype_b_loc()\n %16 = load i16*, i16** %15, align 8\n %17 = ptrtoint i16* %16 to i64\n %18 = load i8, i8* %14, align 1\n %19 = sext i8 %18 to i64\n %20 = mul i64 %19, 2\n %21 = add i64 %20, %17\n %22 = inttoptr i64 %21 to i16*\n %23 = load i16, i16* %22, align 2\n %24 = and i16 %23, 8192\n %25 = icmp eq i16 %24, 0\n %26 = icmp eq i1 %25, false\n store i8* %14, i8** %storemerge23.reg2mem\n store i8* %14, i8** %storemerge2.lcssa.reg2mem\n store i8 %18, i8* %.lcssa.reg2mem\n br i1 %26, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i8, i8* %.lcssa.reg2mem\n %27 = icmp eq i8 %.lcssa.reload, 47\n store i64 1, i64* %storemerge.reg2mem\n br i1 %27, label LBL_7, label LBL_3\n LBL_3:\n %28 = icmp eq i8 %.lcssa.reload, 100\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_6, label LBL_4\n LBL_4:\n %storemerge2.lcssa.reload = load i8*, i8** %storemerge2.lcssa.reg2mem\n %30 = ptrtoint i8* %storemerge2.lcssa.reload to i64\n %31 = add i64 %30, 1\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = icmp eq i8 %33, 117\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_6, label LBL_5\n LBL_5:\n %36 = add i64 %30, 2\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = icmp eq i8 %38, 112\n %40 = icmp eq i1 %39, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %40, label LBL_6, label LBL_7\n LBL_6:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8 %.lcssa.reload, { 1, 0 }\n uselistorder i8** %storemerge23.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 3, 0, 2 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i16 0, { 1, 0 }\n uselistorder i16 8192, { 1, 0 }\n uselistorder i64 2, { 2, 0, 1 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "load_psw_609", "fun_name": "load_psw", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 %arg3, i64* %arg1, align 8\n store i64 %arg2, i64* %2, align 8\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = udiv i64 %arg2, 17592186044416\n %8 = trunc i64 %7 to i32\n %9 = urem i32 %8, 4\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n br label LBL_2\n LBL_2:\n %12 = xor i64 %3, %arg2\n %13 = urem i64 %12, 2\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0)\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %16)\n br label LBL_4\n LBL_4:\n %18 = and i64 %arg2, 2\n %19 = icmp eq i64 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %0)\n %21 = call i64 @FUNC(i64 %20)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64 (i64)* @s390_env_get_cpu, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_wrpsr_3475", "fun_name": "helper_wrpsr", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %arg2, 32\n %sext = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = icmp ult i64 %2, %3\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 2, i64 0)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = call i64 @FUNC()\n %8 = ptrtoint i32* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8, i64 %arg2)\n %10 = call i64 @FUNC()\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_read_primer_pack_5562", "fun_name": "mxf_read_primer_pack", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 18\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i32 %3)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %6 = trunc i64 %1 to i32\n %7 = icmp slt i32 %6, 65537\n %8 = icmp slt i32 %6, 0\n %9 = icmp eq i1 %8, false\n %or.cond = icmp eq i1 %7, %9\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %10)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %12 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %2, 4294967296\n %13 = ashr exact i64 %sext, 32\n %sext1 = mul i64 %1, 4294967296\n %14 = ashr exact i64 %sext1, 32\n %15 = call i64 @FUNC(i64 %14, i64 %13)\n %16 = add i64 %12, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = icmp eq i64 %15, 0\n %19 = icmp eq i1 %18, false\n store i64 4294967293, i64* %rax.0.reg2mem\n br i1 %19, label LBL_5, label LBL_6\n LBL_5:\n %20 = add i64 %12, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 %6, i32* %21, align 4\n %22 = mul i64 %2, %1\n %23 = and i64 %22, 4294967295\n %24 = load i64, i64* %17, align 8\n %25 = call i64 @FUNC(i64 %0, i64 %24, i64 %23)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 2, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @avio_rb32, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "debugcon_ioport_write_5036", "fun_name": "debugcon_ioport_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sext = mul i64 %arg3, 72057594037927936\n %0 = ashr exact i64 %sext, 56\n store i64 %0, i64* %sv_0, align 8\n %1 = trunc i64 %arg2 to i32\n %2 = trunc i64 %arg3 to i32\n %3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i32 %1, i32 %2)\n %4 = bitcast i64* %sv_0 to i8*\n %5 = call i64 @FUNC(i64 ptrtoint ([45 x i8]* @gv_0 to i64), i8* nonnull %4, i64 1)\n ret i64 %5\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder [45 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "esp_do_dma_5089", "fun_name": "esp_do_dma", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_5, label LBL_1\n LBL_1:\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i64 %1, 4294967295\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %10)\n %13 = load i32, i32* %8, align 4\n %14 = icmp ult i32 %13, 257\n br i1 %14, label LBL_2, label LBL_3\n LBL_2:\n %15 = zext i32 %13 to i64\n %16 = sub nsw i64 256, %15\n %17 = icmp ult i64 %16, %10\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %18 = add i64 %2, 280\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cirrus_bitblt_cputovideo_14670", "fun_name": "cirrus_bitblt_cputovideo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.pre-phi3.reg2mem = alloca i32*\n %.pre-phi1.reg2mem = alloca i32*\n %.reg2mem6 = alloca i32\n %.pre-phi5.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 1)\n %4 = trunc i64 %3 to i8\n %5 = icmp eq i8 %4, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_13\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = bitcast i64* %rdi to i32*\n %8 = and i32 %6, -2\n %9 = bitcast i64* %arg1 to i32*\n store i32 %8, i32* %9, align 4\n %10 = add i64 %2, 28\n %11 = add i64 %2, 1056\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = add i64 %2, 1064\n %14 = inttoptr i64 %13 to i64*\n store i64 %10, i64* %14, align 8\n %15 = load i32, i32* %7, align 8\n %16 = and i32 %15, 2\n %17 = icmp eq i32 %16, 0\n %18 = and i32 %15, 4\n %19 = icmp eq i32 %18, 0\n br i1 %17, label LBL_6, label LBL_2\n LBL_2:\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = add i64 %2, 20\n %21 = inttoptr i64 %20 to i32*\n store i32 8, i32* %21, align 4\n store i32 8, i32* %.reg2mem\n store i32* %21, i32** %.pre-phi5.reg2mem\n br label LBL_5\n LBL_4:\n %22 = add i64 %2, 16\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = mul i32 %24, 64\n %26 = add i64 %2, 20\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n store i32 %25, i32* %.reg2mem\n store i32* %27, i32** %.pre-phi5.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %28 = add i64 %2, 24\n %29 = inttoptr i64 %28 to i32*\n store i32 %.reload, i32* %29, align 4\n store i32* %.pre-phi5.reload, i32** %.pre-phi3.reg2mem\n br label LBL_12\n LBL_6:\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n br i1 %19, label LBL_10, label LBL_7\n LBL_7:\n %33 = add i64 %2, 16\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = ashr i32 %32, 31\n %37 = zext i32 %32 to i64\n %38 = zext i32 %36 to i64\n %39 = mul i64 %38, 4294967296\n %40 = or i64 %39, %37\n %41 = zext i32 %35 to i64\n %42 = sdiv i64 %40, %41\n %43 = trunc i64 %42 to i32\n %44 = add i64 %2, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = and i32 %46, 8\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_9, label LBL_8\n LBL_8:\n %49 = add i32 %43, 31\n %50 = ashr i32 %49, 5\n %51 = add i64 %2, 20\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n store i32 %50, i32* %.reg2mem6\n store i32* %52, i32** %.pre-phi1.reg2mem\n br label LBL_11\n LBL_9:\n %53 = add i32 %43, 7\n %54 = ashr i32 %53, 3\n %55 = add i64 %2, 20\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n store i32 %54, i32* %.reg2mem6\n store i32* %56, i32** %.pre-phi1.reg2mem\n br label LBL_11\n LBL_10:\n %57 = add i32 %32, 3\n %58 = and i32 %57, -4\n %59 = add i64 %2, 20\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n store i32 %58, i32* %.reg2mem6\n store i32* %60, i32** %.pre-phi1.reg2mem\n br label LBL_11\n LBL_11:\n %.pre-phi1.reload = load i32*, i32** %.pre-phi1.reg2mem\n %.reload7 = load i32, i32* %.reg2mem6\n %61 = add i64 %2, 12\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = mul i32 %63, %.reload7\n %65 = add i64 %2, 24\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n store i32* %.pre-phi1.reload, i32** %.pre-phi3.reg2mem\n br label LBL_12\n LBL_12:\n %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem\n store i64 %10, i64* %12, align 8\n %67 = load i32, i32* %.pre-phi3.reload, align 4\n %68 = sext i32 %67 to i64\n %69 = add i64 %10, %68\n store i64 %69, i64* %14, align 8\n %70 = call i64 @FUNC(i64 %2)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %32, { 2, 1, 0 }\n uselistorder i1 %19, { 1, 0 }\n uselistorder i64 %2, { 4, 6, 5, 8, 2, 3, 1, 9, 7, 0, 11, 12, 10, 13, 15, 14, 16 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32** %.pre-phi5.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem6, { 0, 3, 2, 1 }\n uselistorder i32** %.pre-phi1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32** %.pre-phi3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 8, { 1, 0, 2 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "libAVFilter_QueryVendorInfo_2036", "fun_name": "libAVFilter_QueryVendorInfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n %. = select i1 %3, i64 4294967294, i64 4294967295\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_set_cr0_9322", "fun_name": "handle_set_cr0", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = sub i64 0, %6\n %8 = sub i64 %7, 1\n %9 = and i64 %8, %arg2\n %10 = add i64 %4, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = and i64 %12, %6\n %14 = or i64 %13, %9\n %15 = call i64 @FUNC(i64 %0, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %18, label LBL_2, label LBL_5\n LBL_2:\n %19 = call i64 @FUNC(i64 %0, i64 %14)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %21, label LBL_3, label LBL_5\n LBL_3:\n %22 = call i64 @FUNC(i64 0, i64 %arg2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %23 = call i64 @FUNC(i64 %0)\n %24 = call i64 @FUNC(i64 %0, i64 %arg2)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %0, { 3, 2, 0, 1, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @kvm_set_cr0, { 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder label LBL_5, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kernel_accept_8681", "fun_name": "kernel_accept", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %arg1, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %9, i32 %8, i32 %5, i64 %2)\n %11 = trunc i64 %10 to i32\n %sext = mul i64 %10, 4294967296\n %12 = ashr exact i64 %sext, 32\n %13 = icmp slt i32 %11, 0\n store i64 %12, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_4, label LBL_1\n LBL_1:\n %14 = zext i32 %8 to i64\n %15 = trunc i64 %arg1 to i32\n %sext3 = mul i64 %arg1, 4294967296\n %16 = ashr exact i64 %sext3, 32\n %17 = icmp slt i32 %15, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %14)\n store i64 0, i64* %arg2, align 8\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %20 = inttoptr i64 %3 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add nuw nsw i64 %14, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = add i64 %21, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26)\n store i64 %16, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %28 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %28\n\n uselistorder i64 %16, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avpicture_get_size_1723", "fun_name": "avpicture_get_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %sext4 = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext4, 32\n %5 = and i64 %4, 4294967295\n %6 = call i64 @FUNC(i64 %5, i32 %arg3, i64 0, i64 0)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %sv_0, align 4\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = and i64 %6, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %11 = inttoptr i64 %1 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = urem i32 %12, 2\n %14 = icmp eq i32 %13, 0\n %15 = trunc i64 %4 to i32\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %16 = mul i32 %15, %arg3\n %17 = zext i32 %16 to i64\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %18 = trunc i64 %arg1 to i32\n %19 = zext i32 %arg3 to i64\n %20 = call i64 @FUNC(i32* nonnull %sv_0, i64 0, i32 %18, i32 %15, i64 %19)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %15, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i32 %arg3, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_section_8319", "fun_name": "find_section", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8*\n %sv_0.1.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %0 = bitcast i64* %sv_2 to i8*\n %1 = ptrtoint i8* %arg2 to i64\n store i64 %arg1, i64* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %2 = inttoptr i64 %sv_0.0.reload to i8*\n %3 = load i8, i8* %2, align 1\n %4 = icmp eq i8 %3, 91\n %5 = icmp eq i1 %4, false\n store i64 %sv_0.0.reload, i64* %sv_0.1.in.reg2mem\n store i8* %0, i8** %sv_1.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.2.reg2mem\n br i1 %5, label LBL_6, label LBL_3\n LBL_2:\n %6 = ptrtoint i8* %sv_1.0.reload to i64\n %7 = add i64 %6, 1\n %8 = inttoptr i64 %7 to i8*\n store i8 %10, i8* %sv_1.0.reload, align 1\n store i64 %sv_0.1, i64* %sv_0.1.in.reg2mem\n store i8* %8, i8** %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem\n %sv_0.1 = add i64 %sv_0.1.in.reload, 1\n %9 = inttoptr i64 %sv_0.1 to i8*\n %10 = load i8, i8* %9, align 1\n switch i8 %10, label LBL_4 [\n i8 0, label LBL_5\n i8 93, label LBL_5\n i8 10, label LBL_5\n ]\n LBL_4:\n %11 = icmp eq i8 %10, 13\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_2, label LBL_5\n LBL_5:\n store i8 0, i8* %sv_1.0.reload, align 1\n %13 = call i64 @FUNC(i64* nonnull %sv_2, i64 %1)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 %sv_0.1, i64* %sv_0.2.reg2mem\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br i1 %15, label LBL_6, label LBL_9\n LBL_6:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %16 = icmp eq i64 %sv_0.2.reload, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %16, label LBL_9, label LBL_7\n LBL_7:\n %17 = inttoptr i64 %sv_0.2.reload to i8*\n %18 = call i8* @strchr(i8* %17, i32 10)\n %19 = ptrtoint i8* %18 to i64\n %20 = icmp eq i8* %18, null\n %21 = add i64 %19, 1\n %22 = icmp eq i64 %21, 0\n %23 = or i1 %20, %22\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_9, label LBL_8\n LBL_8:\n %24 = inttoptr i64 %21 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = icmp eq i8 %25, 13\n %27 = icmp eq i1 %26, false\n %28 = add i64 %19, 2\n %spec.select3 = select i1 %27, i64 %21, i64 %28\n %29 = icmp eq i64 %spec.select3, 0\n %30 = icmp eq i1 %29, false\n store i64 %spec.select3, i64* %sv_0.0.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %30, label LBL_1, label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i8 %10, { 2, 1, 0 }\n uselistorder i64 %sv_0.1, { 0, 2, 1 }\n uselistorder i8* %sv_1.0.reload, { 2, 1, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.in.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_9, { 3, 1, 0, 2 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "circuit_clear_isolation_9437", "fun_name": "circuit_clear_isolation", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0))\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = add i64 %5, 76\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 1\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0))\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %11 = add i64 %arg1, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n %13 = add i64 %arg1, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %arg1, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %arg1, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %arg1, 20\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %arg1, 24\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %arg1, 76\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %arg1, 32\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %arg1, 40\n %30 = inttoptr i64 %29 to i32*\n store i32 -1, i32* %30, align 4\n %31 = add i64 %arg1, 44\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %33 = add i64 %arg1, 48\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %37 = add i64 %arg1, 56\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = sext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %35, i64 17, i64 %40)\n %42 = load i64, i64* %34, align 8\n %43 = call i64 @FUNC(i64 %42)\n br label LBL_6\n LBL_6:\n %44 = add i64 %arg1, 64\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp eq i64 %46, 0\n %.pre = add i64 %arg1, 72\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %47, label LBL_8, label LBL_7\n LBL_7:\n %48 = load i32, i32* %.pre1, align 4\n %49 = sext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %46, i64 5, i64 %49)\n %51 = load i64, i64* %45, align 8\n %52 = call i64 @FUNC(i64 %51)\n br label LBL_8\n LBL_8:\n store i32 0, i32* %.pre1, align 4\n %53 = add i64 %arg1, 56\n %54 = inttoptr i64 %53 to i32*\n store i32 0, i32* %54, align 4\n store i64 %arg1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @memwipe, { 1, 0 }\n uselistorder i64 (i64)* @tor_free, { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @log_warn, { 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipip_destroy_tunnels_115", "fun_name": "ipip_destroy_tunnels", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv10.reg2mem = alloca i64\n %storemerge3.lcssa.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n store i64 1, i64* %indvars.iv10.reg2mem\n br label LBL_5\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %0 = add nuw nsw i64 %indvars.iv.reload, %11\n %1 = mul i64 %0, 8\n %2 = add i64 %1, %arg1\n %storemerge3.in4 = inttoptr i64 %2 to i64*\n %storemerge35 = load i64, i64* %storemerge3.in4, align 8\n %3 = icmp eq i64 %storemerge35, 0\n %4 = icmp eq i1 %3, false\n store i64 %storemerge35, i64* %storemerge36.reg2mem\n store i64 %storemerge35, i64* %storemerge3.lcssa.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n %storemerge36.reload = load i64, i64* %storemerge36.reg2mem\n %5 = add i64 %storemerge36.reload, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i64 %arg2)\n %storemerge3.in = inttoptr i64 %storemerge36.reload to i64*\n %storemerge3 = load i64, i64* %storemerge3.in, align 8\n %9 = icmp eq i64 %storemerge3, 0\n %10 = icmp eq i1 %9, false\n store i64 %storemerge3, i64* %storemerge36.reg2mem\n store i64 %storemerge3, i64* %storemerge3.lcssa.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %indvars.iv.next11 = add nuw nsw i64 %indvars.iv10.reload, 1\n %exitcond12 = icmp eq i64 %indvars.iv.next11, 4\n store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem\n br i1 %exitcond12, label LBL_6, label LBL_5\n LBL_5:\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %11 = mul i64 %indvars.iv10.reload, 256\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_6:\n %storemerge3.lcssa.reload = load i64, i64* %storemerge3.lcssa.reg2mem\n ret i64 %storemerge3.lcssa.reload\n\n uselistorder i64 %indvars.iv10.reload, { 1, 0 }\n uselistorder i64 %storemerge36.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %storemerge36.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "index_list_mailbox_open_18088", "fun_name": "index_list_mailbox_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem10 = alloca i32\n %storemerge24.reg2mem = alloca i64\n %.reg2mem8 = alloca i32\n %.reg2mem6 = alloca i32\n %.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %1 = trunc i64 %0 to i32\n %2 = icmp slt i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_20\n LBL_1:\n %4 = add i64 %0, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = inttoptr i64 %6 to i8*\n %9 = call i8* @strdup(i8* %8)\n %10 = ptrtoint i8* %9 to i64\n %11 = call i32 @strlen(i8* %9)\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\n %13 = trunc i64 %7 to i8\n %wide.trip.count = zext i32 %11 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = add i64 %indvars.iv.reload, %10\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp eq i8 %16, %13\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n store i8 0, i8* %15, align 1\n br label LBL_5\n LBL_5:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %0, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = bitcast i32* %sv_2 to i64*\n %26 = call i64 @FUNC(i64 %24, i32 %21, i64* nonnull %sv_1, i64* nonnull %25)\n %27 = load i64, i64* %sv_1, align 8\n %.pr = load i32, i32* %sv_2, align 4\n %28 = icmp eq i32 %.pr, 0\n store i32 0, i32* %.reg2mem6\n br i1 %28, label LBL_10, label LBL_7\n LBL_7:\n %29 = add i64 %27, -1\n store i32 %.pr, i32* %.reg2mem\n br label LBL_9\n LBL_8:\n %30 = add i32 %.reload, -1\n store i32 %30, i32* %sv_2, align 4\n %31 = icmp eq i32 %30, 0\n store i32 %30, i32* %.reg2mem\n store i32 0, i32* %.reg2mem6\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %.reload = load i32, i32* %.reg2mem\n %32 = sext i32 %.reload to i64\n %33 = add i64 %29, %32\n %34 = inttoptr i64 %33 to i8*\n %35 = load i8, i8* %34, align 1\n %36 = icmp eq i8 %35, 0\n store i32 %.reload, i32* %.reg2mem6\n br i1 %36, label LBL_8, label LBL_10\n LBL_10:\n %.reload7 = load i32, i32* %.reg2mem6\n %37 = zext i32 %11 to i64\n %38 = sext i32 %.reload7 to i64\n %39 = icmp eq i64 %37, %38\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_12, label LBL_11\n LBL_11:\n %41 = bitcast i8* %9 to i64*\n %42 = inttoptr i64 %27 to i64*\n %43 = call i32 @memcmp(i64* %41, i64* %42, i32 %11)\n %44 = icmp eq i32 %43, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %44, label LBL_20, label LBL_12\n LBL_12:\n %45 = call i64 @FUNC(i64 %0)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_14, label LBL_13\n LBL_13:\n %49 = load i64, i64* %23, align 8\n %50 = call i64 @FUNC(i64 %49, i64 0)\n %sext = mul i64 %50, 4294967296\n %51 = ashr exact i64 %sext, 32\n store i64 %51, i64* %sv_0, align 8\n %52 = load i32, i32* %20, align 4\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64 %51, i64 %53, i32 %11)\n %55 = load i32, i32* %20, align 4\n %56 = call i64 @FUNC(i64 %51, i32 %55, i64 0, i64 %10, i64 %37)\n %57 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_20\n LBL_14:\n %58 = load i32, i32* %sv_2, align 4\n %59 = icmp eq i32 %58, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %59, label LBL_20, label LBL_15\n LBL_15:\n %60 = load i64, i64* %5, align 8\n %61 = call i64 @FUNC(i64 %60)\n %62 = trunc i64 %61 to i8\n %63 = load i32, i32* %sv_2, align 4\n %64 = add i32 %63, 1\n %65 = call i64* @calloc(i32 1, i32 %64)\n %66 = ptrtoint i64* %65 to i64\n %67 = load i32, i32* %sv_2, align 4\n %68 = inttoptr i64 %27 to i64*\n %69 = call i64* @memcpy(i64* %65, i64* %68, i32 %67)\n %70 = load i32, i32* %sv_2, align 4\n %71 = icmp eq i32 %70, 0\n store i32 %70, i32* %.reg2mem8\n store i64 0, i64* %storemerge24.reg2mem\n br i1 %71, label LBL_19, label LBL_16\n LBL_16:\n %storemerge24.reload = load i64, i64* %storemerge24.reg2mem\n %.reload9 = load i32, i32* %.reg2mem8\n %72 = add i64 %storemerge24.reload, %66\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %75 = icmp eq i8 %74, 0\n %76 = icmp eq i1 %75, false\n store i32 %.reload9, i32* %.reg2mem10\n br i1 %76, label LBL_18, label LBL_17\n LBL_17:\n store i8 %62, i8* %73, align 1\n %.pre = load i32, i32* %sv_2, align 4\n store i32 %.pre, i32* %.reg2mem10\n br label LBL_18\n LBL_18:\n %.reload11 = load i32, i32* %.reg2mem10\n %77 = add nuw i64 %storemerge24.reload, 1\n %78 = sext i32 %.reload11 to i64\n %79 = icmp ult i64 %77, %78\n store i32 %.reload11, i32* %.reg2mem8\n store i64 %77, i64* %storemerge24.reg2mem\n br i1 %79, label LBL_16, label LBL_19\n LBL_19:\n %80 = call i64 @FUNC(i64 %0, i64 %66)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_20\n LBL_20:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %.reload11, { 1, 0 }\n uselistorder i64 %66, { 1, 0 }\n uselistorder i64 %27, { 2, 1, 0 }\n uselistorder i32 %11, { 2, 4, 3, 0, 1 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32* %sv_2, { 0, 1, 6, 5, 4, 3, 2, 7 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem8, { 2, 0, 1 }\n uselistorder i64* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem10, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1, 5 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @mailbox_list_get_hierarchy_sep, { 1, 0 }\n uselistorder i32 0, { 2, 5, 7, 8, 0, 6, 1, 4, 3, 9 }\n uselistorder label LBL_20, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mnt_alloc_group_id_7967", "fun_name": "mnt_alloc_group_id", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 4210732, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64* nonnull @gv_1, i64 %8, i64 %6)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = trunc i64 %1 to i32\n %14 = add i32 %13, 1\n store i32 %14, i32* bitcast (i64* @gv_0 to i32*), align 8\n br label LBL_3\n LBL_3:\n %15 = and i64 %9, 4294967295\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mpeg4_frame_end_14686", "fun_name": "ff_mpeg4_frame_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge26.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_13, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 24\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %7, %10\n store i32 0, i32* %storemerge3.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %5)\n %13 = trunc i64 %12 to i32\n %14 = ashr i32 %13, 3\n store i32 %14, i32* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %sext = mul i64 %arg3, 4294967296\n %15 = ashr exact i64 %sext, 32\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %16 = trunc i64 %15 to i32\n %17 = sub i32 %16, %storemerge3.reload\n %18 = icmp slt i32 %17, 8\n store i64 0, i64* %storemerge.reg2mem\n br i1 %18, label LBL_13, label LBL_4\n LBL_4:\n %19 = ptrtoint i64* %arg2 to i64\n %20 = add nsw i64 %15, 4294967292\n %21 = and i64 %20, 4294967295\n %22 = sext i32 %storemerge3.reload to i64\n %23 = icmp sgt i64 %21, %22\n store i64 %22, i64* %.reg2mem\n store i32 %storemerge3.reload, i32* %storemerge26.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_5, label LBL_13\n LBL_5:\n %storemerge26.reload = load i32, i32* %storemerge26.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %24 = add i64 %.reload, %19\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = icmp eq i8 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_6\n LBL_6:\n %29 = add i64 %24, 1\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = icmp eq i8 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_10, label LBL_7\n LBL_7:\n %34 = add i64 %24, 2\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = icmp eq i8 %36, 1\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_10, label LBL_8\n LBL_8:\n %39 = add i64 %24, 3\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp eq i8 %41, -74\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_10, label LBL_9\n LBL_9:\n %44 = add i64 %24, 4\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = and i8 %46, 64\n %48 = icmp eq i8 %47, 0\n %phitmp = icmp eq i1 %48, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %phitmp, label LBL_13, label LBL_11\n LBL_10:\n %49 = add i32 %storemerge26.reload, 1\n %50 = sext i32 %49 to i64\n %51 = icmp sgt i64 %21, %50\n store i64 %50, i64* %.reg2mem\n store i32 %49, i32* %storemerge26.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %51, label LBL_5, label LBL_13\n LBL_11:\n %52 = add i32 %17, 32\n %53 = zext i32 %52 to i64\n %54 = add i64 %4, 16\n %55 = call i64 @FUNC(i64 %8, i64 %54, i64 %53)\n %56 = load i64, i64* %9, align 8\n %57 = icmp eq i64 %56, 0\n %58 = icmp eq i1 %57, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %58, label LBL_12, label LBL_13\n LBL_12:\n %59 = add i64 %22, %19\n %60 = inttoptr i64 %56 to i64*\n %61 = inttoptr i64 %59 to i64*\n %62 = call i64* @memcpy(i64* %60, i64* %61, i32 %17)\n %63 = add i64 %4, 20\n %64 = inttoptr i64 %63 to i32*\n store i32 %17, i32* %64, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %storemerge3.reload, { 0, 2, 1 }\n uselistorder i64 %4, { 0, 1, 3, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 6, 7, 1, 5, 2, 3, 4 }\n uselistorder i1 false, { 5, 0, 1, 2, 3, 4 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_13, { 5, 6, 0, 4, 1, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "truemotion1_decode_init_14977", "fun_name": "truemotion1_decode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = call i64 @FUNC()\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = icmp eq i64 %5, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = load i64, i64* %4, align 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sext i32 %12 to i64\n %14 = mul i64 %13, 4\n %15 = add i64 %3, 24\n %16 = add i64 %3, 16\n %17 = call i64 @FUNC(i64 %16, i64 %15, i64 %14)\n %18 = inttoptr i64 %16 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n %. = select i1 %21, i64 0, i64 4294967284\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 4294967284, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "iscsi_nop_timed_event_3361", "fun_name": "iscsi_nop_timed_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 5\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0))\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i8*\n store i8 1, i8* %6, align 1\n br label LBL_4\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 0, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0))\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %11 = call i64 @FUNC(i64 0)\n %12 = add i64 %11, 1000\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = and i64 %12, 4294967295\n %17 = call i64 @FUNC(i64 %15, i64 %16)\n %18 = call i64 @FUNC(i64 %0)\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 2, 1, 3, 0, 4 }\n uselistorder i64 (i8*)* @error_report, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_direct_commit_release_17483", "fun_name": "nfs_direct_commit_release", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 72\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = trunc i64 %3 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = add i64 %5, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %16, i32 %10, i64 %4, i64 %2, i64 %1)\n store i32 1, i32* %9, align 4\n store i32* %14, i32** %.pre-phi5.reg2mem\n br label LBL_4\n LBL_2:\n %18 = add i64 %5, 8\n %19 = add i64 %8, 4\n %20 = inttoptr i64 %19 to i64*\n %21 = inttoptr i64 %18 to i64*\n %22 = call i32 @memcmp(i64* %20, i64* %21, i32 64)\n %23 = icmp eq i32 %22, 0\n %.pre = add i64 %5, 4\n %.pre4 = inttoptr i64 %.pre to i32*\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n store i64 %18, i64* %rcx.0.reg2mem\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = load i32, i32* %.pre4, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %25, i32 64, i64 %18, i64 %2, i64 %1)\n store i32 1, i32* %9, align 4\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n store i64 %18, i64* %rcx.0.reg2mem\n br label LBL_4\n LBL_4:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %27 = load i32, i32* %.pre-phi5.reload, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %28, i32 %10, i64 %rcx.0.reload, i64 %2, i64 %1)\n %30 = add i64 %5, 80\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %8, i64 %32)\n %34 = call i64 @FUNC(i64 %5)\n ret i64 %34\n\n uselistorder i32* %.pre4, { 1, 2, 0 }\n uselistorder i64 %18, { 1, 2, 0, 3 }\n uselistorder i32 %10, { 2, 1, 0 }\n uselistorder i32* %9, { 1, 0 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32** %.pre-phi5.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @dprintk, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "util_acl_to_str_12773", "fun_name": "util_acl_to_str", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_20\n LBL_1:\n store i8 0, i8* bitcast (i8** @gv_1 to i8*), align 8\n %2 = ptrtoint i64* %arg1 to i64\n store i64 %2, i64* %sv_0.01.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %3 = inttoptr i64 %sv_0.01.reload to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n store i64 %5, i64* @0, align 8\n store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n switch i32 %4, label LBL_15 [\n i32 0, label LBL_18\n i32 1, label LBL_183\n i32 2, label LBL_20\n i32 3, label LBL_3\n i32 4, label LBL_5\n i32 5, label LBL_6\n i32 6, label LBL_7\n i32 7, label LBL_9\n i32 8, label LBL_11\n i32 9, label LBL_13\n ]\n LBL_3:\n store i32 5654595, i32* bitcast (i8** @gv_3 to i32*), align 8\n %6 = add i64 %sv_0.01.reload, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, -1\n br i1 %9, label LBL_16, label LBL_4\n LBL_4:\n %10 = zext i32 %8 to i64\n %11 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %10)\n br label LBL_16\n LBL_5:\n store i32 1297237332, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n br label LBL_16\n LBL_6:\n store i32 1414484560, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n br label LBL_16\n LBL_7:\n store i32 1213486401, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n %12 = add i64 %sv_0.01.reload, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, -1\n br i1 %15, label LBL_16, label LBL_8\n LBL_8:\n %16 = zext i32 %14 to i64\n %17 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %16)\n br label LBL_16\n LBL_9:\n store i8* inttoptr (i64 3347984616406607187 to i8*), i8** @gv_3, align 8\n store i16 32, i16* bitcast (i64* @gv_7 to i16*), align 8\n %18 = add i64 %sv_0.01.reload, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, -1\n br i1 %21, label LBL_16, label LBL_10\n LBL_10:\n %22 = zext i32 %20 to i64\n %23 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64 %22)\n br label LBL_16\n LBL_11:\n store i8* inttoptr (i64 8389765490169570643 to i8*), i8** @gv_3, align 8\n store i64 2334400046015737714, i64* @gv_7, align 8\n store i8 0, i8* bitcast (i64* @gv_9 to i8*), align 8\n %24 = add i64 %sv_0.01.reload, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, -1\n br i1 %27, label LBL_16, label LBL_12\n LBL_12:\n %28 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0), i32 %26)\n br label LBL_16\n LBL_13:\n store i8* inttoptr (i64 2320815210769894224 to i8*), i8** @gv_3, align 8\n store i64 9082281330505025, i64* @gv_7, align 8\n %29 = add i64 %sv_0.01.reload, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, -1\n br i1 %32, label LBL_16, label LBL_14\n LBL_14:\n %33 = zext i32 %31 to i64\n %34 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64 %33)\n br label LBL_16\n LBL_15:\n store i32 1061109567, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n br label LBL_16\n LBL_16:\n %35 = call i8* @strcat(i8* bitcast (i8** @gv_1 to i8*), i8* bitcast (i8** @gv_3 to i8*))\n %36 = call i32 @strlen(i8* bitcast (i8** @gv_1 to i8*))\n %37 = sext i32 %36 to i64\n %38 = add i64 %37, ptrtoint (i8** @gv_1 to i64)\n %39 = inttoptr i64 %38 to i16*\n store i16 32, i16* %39, align 2\n %40 = add i64 %sv_0.01.reload, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %sv_0.01.reg2mem\n br i1 %44, label LBL_2, label LBL_17\n LBL_17:\n %45 = call i32 @strlen(i8* bitcast (i8** @gv_1 to i8*))\n %46 = sext i32 %45 to i64\n %47 = add i64 %46, add (i64 ptrtoint (i8** @gv_1 to i64), i64 -1)\n %48 = inttoptr i64 %47 to i8*\n store i8 0, i8* %48, align 1\n store i64 ptrtoint (i8** @gv_1 to i64), i64* %rax.0.reg2mem\n br label LBL_20\n LBL_18:\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br label LBL_20\n LBL_19:\n store i64 ptrtoint ([5 x i8]* @gv_11 to i64), i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %sv_0.01.reload, { 6, 4, 3, 2, 1, 0, 5 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 5, 1, 4 }\n uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), { 1, 0 }\n uselistorder i16 32, { 1, 0 }\n uselistorder i8* bitcast (i8** @gv_6 to i8*), { 4, 0, 3, 2, 1 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 4, 0, 3, 2 }\n uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), { 1, 0 }\n uselistorder i8* bitcast (i8** @gv_4 to i8*), { 3, 2, 1, 0 }\n uselistorder i32 -1, { 4, 3, 2, 1, 0 }\n uselistorder i8** @gv_3, { 0, 4, 3, 2, 1 }\n uselistorder i32* bitcast (i8** @gv_3 to i32*), { 4, 3, 2, 1, 0 }\n uselistorder i8** @gv_1, { 1, 0 }\n uselistorder i8* bitcast (i8** @gv_1 to i8*), { 2, 0, 1, 3 }\n uselistorder i8 0, { 5, 4, 0, 1, 2, 3, 6 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_20, { 1, 2, 4, 0, 3 }\n uselistorder label LBL_16, { 12, 1, 0, 3, 2, 5, 4, 7, 6, 10, 11, 9, 8 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "single_quote_string_5451", "fun_name": "single_quote_string", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_0 to i64\n %1 = add i64 %0, -16\n %2 = add i64 %0, -96\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %.reg2mem\n store i64 %1, i64* %.reg2mem6\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %4, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload = load i64, i64* %.reg2mem\n %7 = call i64 @FUNC(i64 %.reload, i64 4198933)\n %8 = call i64 @FUNC(i64 %7)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %.reload7, -72\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %8)\n %15 = inttoptr i64 %14 to i8*\n %16 = inttoptr i64 %13 to i8*\n %17 = call i32 @strcmp(i8* %15, i8* %16)\n %18 = icmp eq i32 %17, 0\n %19 = zext i1 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 %8)\n %22 = add i32 %storemerge2.reload, 1\n %23 = sext i32 %22 to i64\n %24 = mul i64 %23, 16\n %25 = add i64 %24, %1\n %26 = add i64 %25, -80\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %.reg2mem\n store i64 %25, i64* %.reg2mem6\n store i32 %22, i32* %storemerge2.reg2mem\n store i64 %28, i64* %.lcssa.reg2mem\n br i1 %30, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem6, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @g_assert, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1, 3 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 1, { 8, 7, 4, 3, 2, 1, 5, 6, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vt_disallocate_13358", "fun_name": "vt_disallocate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = call i64 @FUNC()\n %2 = and i64 %arg1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = trunc i64 %0 to i32\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 4294967280, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = and i64 %0, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n store i64 %9, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %10 = call i64 @FUNC()\n %11 = icmp eq i64 %sv_1.0.reload, 0\n %12 = icmp eq i32 %6, 0\n %or.cond = or i1 %12, %11\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %sv_1.0.reload)\n %14 = call i64 @FUNC(i64 %sv_1.0.reload)\n br label LBL_5\n LBL_5:\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %sv_1.0.reload, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 0, 2, 3, 1 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bzImage64_verify_sig_8853", "fun_name": "bzImage64_verify_sig", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\n %0 = load i64, i64* @gv_0, align 8\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %0, i64 0, i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = and i64 %2, 4294967295\n %7 = load i32, i32* %sv_0, align 4\n %8 = trunc i32 %7 to i8\n %9 = icmp ne i8 %8, 1\n %. = zext i1 %9 to i64\n %rax.0 = select i1 %5, i64 %., i64 %6\n ret i64 %rax.0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qpci_io_writeb_15223", "fun_name": "qpci_io_writeb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_should_notify_9706", "fun_name": "virtio_should_notify", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i1\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %1, i64 1)\n %4 = trunc i64 %3 to i8\n %5 = icmp eq i8 %4, 0\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0)\n %12 = trunc i64 %11 to i8\n %13 = icmp eq i8 %12, 0\n store i1 true, i1* %rax.0.shrunk.reg2mem\n br i1 %13, label LBL_3, label LBL_7\n LBL_3:\n %14 = call i64 @FUNC(i64 %1, i64 2)\n %15 = trunc i64 %14 to i8\n %16 = icmp eq i8 %15, 1\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %0)\n %18 = urem i64 %17, 2\n %19 = icmp eq i64 %18, 0\n store i1 %19, i1* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_5:\n %20 = add i64 %0, 4\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n store i8 1, i8* %21, align 1\n %23 = add i64 %0, 2\n %24 = inttoptr i64 %23 to i16*\n %25 = load i16, i16* %24, align 2\n %26 = bitcast i64* %rsi to i16*\n %27 = load i16, i16* %26, align 8\n store i16 %27, i16* %24, align 2\n %28 = icmp eq i8 %22, 1\n %29 = icmp eq i1 %28, false\n store i1 true, i1* %rax.0.shrunk.reg2mem\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %0)\n %31 = zext i16 %25 to i64\n %32 = zext i16 %27 to i64\n %33 = urem i64 %30, 65536\n %34 = call i64 @FUNC(i64 %33, i64 %32, i64 %31)\n %35 = trunc i64 %34 to i8\n %36 = icmp ne i8 %35, 0\n store i1 %36, i1* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.shrunk.reload = load i1, i1* %rax.0.shrunk.reg2mem\n %rax.0 = zext i1 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i64 %0, { 2, 3, 4, 5, 1, 0 }\n uselistorder i1* %rax.0.shrunk.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i8 1, { 0, 2, 1 }\n uselistorder i64 2, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @virtio_vdev_has_feature, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ppc405ep_compute_clocks_7711", "fun_name": "ppc405ep_compute_clocks", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem23 = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n %8 = trunc i64 %1 to i32\n store i32 %5, i32* %.reg2mem\n store i32 %8, i32* %.reg2mem23\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %7, label LBL_5, label LBL_1\n LBL_1:\n %9 = and i32 %5, 1073741824\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i32 %5, i32* %.reg2mem\n store i32 %8, i32* %.reg2mem23\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %11, label LBL_5, label LBL_2\n LBL_2:\n %12 = udiv i32 %5, 1048576\n %13 = add nuw nsw i32 %12, 15\n %14 = urem i32 %13, 16\n %15 = add nuw nsw i32 %14, 1\n %16 = urem i32 %12, 16\n %17 = zext i32 %15 to i64\n %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i32 %16, i64 %17)\n %19 = load i32, i32* %4, align 4\n %20 = udiv i32 %19, 65536\n %21 = urem i32 %20, 8\n %22 = sub nsw i32 8, %21\n %23 = zext i32 %22 to i64\n %24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i32 %21, i64 %23)\n %25 = bitcast i64* %rdi to i32*\n %26 = mul i32 %15, %8\n %27 = mul i32 %26, %22\n %.off = add i32 %27, -500000000\n %28 = icmp ult i32 %.off, 500000001\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i32 %27)\n %30 = load i32, i32* %4, align 4\n %31 = urem i32 %30, -2147483648\n store i32 %31, i32* %4, align 4\n %.pre = load i32, i32* %25, align 8\n store i32 %31, i32* %.reg2mem\n store i32 %.pre, i32* %.reg2mem23\n store i32 %27, i32* %sv_1.0.reg2mem\n br label LBL_5\n LBL_4:\n %32 = udiv i32 %27, %22\n %33 = add i64 %2, 16\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = or i32 %35, 1\n store i32 %36, i32* %34, align 4\n store i32* %25, i32** %.pre-phi.reg2mem\n store i32 %27, i32* %sv_1.1.reg2mem\n store i32 %32, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %.reload24 = load i32, i32* %.reg2mem23\n %.reload = load i32, i32* %.reg2mem\n %37 = bitcast i64* %rdi to i32*\n %38 = and i32 %.reload, 1073741824\n %39 = icmp eq i32 %38, 0\n store i32* %37, i32** %.pre-phi.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %.reload24, i32* %sv_0.0.reg2mem\n br i1 %39, label LBL_7, label LBL_6\n LBL_6:\n %40 = add i64 %2, 16\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = and i32 %42, -2\n store i32 %43, i32* %41, align 4\n store i32* %37, i32** %.pre-phi.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %.reload24, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %44 = add i64 %2, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = udiv i32 %46, 1048576\n %48 = urem i32 %47, 4\n %49 = add nuw nsw i32 %48, 1\n %50 = zext i32 %49 to i64\n %51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0), i32 %48, i64 %50)\n %52 = sext i32 %sv_0.0.reload to i64\n %53 = udiv i64 %52, %50\n %54 = trunc i64 %53 to i32\n %55 = load i32, i32* %45, align 4\n %56 = udiv i32 %55, 65536\n %57 = urem i32 %56, 4\n %58 = add nuw nsw i32 %57, 1\n %59 = zext i32 %58 to i64\n %60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i32 %57, i64 %59)\n %61 = and i64 %53, 4294967295\n %62 = udiv i32 %54, %58\n %.zext = zext i32 %62 to i64\n %63 = load i32, i32* %45, align 4\n %64 = udiv i32 %63, 4096\n %65 = urem i32 %64, 4\n %66 = add nuw nsw i32 %65, 1\n %67 = zext i32 %66 to i64\n %68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i32 %65, i64 %67)\n %69 = udiv i32 %62, %66\n %.zext10 = zext i32 %69 to i64\n %70 = load i32, i32* %45, align 4\n %71 = udiv i32 %70, 256\n %72 = urem i32 %71, 4\n %73 = add nuw nsw i32 %72, 2\n %74 = zext i32 %73 to i64\n %75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0), i32 %72, i64 %74)\n %76 = udiv i32 %62, %73\n %.zext13 = zext i32 %76 to i64\n %77 = load i32, i32* %45, align 4\n %78 = udiv i32 %77, 16\n %79 = urem i32 %78, 4\n %80 = add nuw nsw i32 %79, 1\n %81 = zext i32 %80 to i64\n %82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_7, i64 0, i64 0), i32 %79, i64 %81)\n %83 = udiv i32 %62, %80\n %.zext16 = zext i32 %83 to i64\n %84 = load i32, i32* %45, align 4\n %85 = urem i32 %84, 4\n %86 = add nuw nsw i32 %85, 1\n %87 = zext i32 %86 to i64\n %88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i32 %85, i64 %87)\n %89 = udiv i32 %62, %86\n %.zext19 = zext i32 %89 to i64\n %90 = add i64 %2, 12\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = add i32 %92, 127\n %94 = urem i32 %93, 128\n %95 = add nuw nsw i32 %94, 1\n %96 = urem i32 %92, 128\n %97 = zext i32 %95 to i64\n %98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0), i32 %96, i64 %97)\n %99 = udiv i64 %52, %97\n %100 = trunc i64 %99 to i32\n %101 = load i32, i32* %91, align 4\n %102 = udiv i32 %101, 256\n %103 = add nuw nsw i32 %102, 127\n %104 = urem i32 %103, 128\n %105 = add nuw nsw i32 %104, 1\n %106 = urem i32 %102, 128\n %107 = zext i32 %105 to i64\n %108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_10, i64 0, i64 0), i32 %106, i64 %107)\n %109 = udiv i64 %52, %107\n %110 = trunc i64 %109 to i32\n %111 = load i32, i32* %.pre-phi.reload, align 8\n %112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_11, i64 0, i64 0), i32 %111, i32 %sv_1.1.reload, i32 %sv_0.0.reload)\n %113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_12, i64 0, i64 0), i32 %54, i32 %62, i32 %69, i32 %76, i32 %83, i32 %89, i32 %100, i32 %110)\n %114 = add i64 %2, 20\n %115 = call i64 @FUNC(i64 %114, i64 %61)\n %116 = add i64 %2, 24\n %117 = call i64 @FUNC(i64 %116, i64 %.zext)\n %118 = add i64 %2, 28\n %119 = call i64 @FUNC(i64 %118, i64 %.zext10)\n %120 = add i64 %2, 32\n %121 = call i64 @FUNC(i64 %120, i64 %.zext13)\n %122 = add i64 %2, 36\n %123 = call i64 @FUNC(i64 %122, i64 %.zext16)\n %124 = add i64 %2, 40\n %125 = call i64 @FUNC(i64 %124, i64 %.zext19)\n %126 = add i64 %2, 44\n %127 = and i64 %99, 4294967295\n %128 = call i64 @FUNC(i64 %126, i64 %127)\n %129 = add i64 %2, 48\n %130 = and i64 %109, 4294967295\n %131 = call i64 @FUNC(i64 %129, i64 %130)\n ret i64 %131\n\n uselistorder i32 %102, { 1, 0 }\n uselistorder i32 %85, { 1, 0 }\n uselistorder i32 %79, { 1, 0 }\n uselistorder i32 %72, { 1, 0 }\n uselistorder i32 %65, { 1, 0 }\n uselistorder i32 %62, { 4, 0, 1, 2, 3, 5 }\n uselistorder i32 %57, { 1, 0 }\n uselistorder i32 %54, { 1, 0 }\n uselistorder i32 %48, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32* %37, { 1, 0 }\n uselistorder i32 %.reload24, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %27, { 0, 2, 1, 4, 3 }\n uselistorder i32 %22, { 1, 0, 2 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32 %8, { 2, 0, 1 }\n uselistorder i32 %5, { 2, 0, 3, 1, 4 }\n uselistorder i32* %4, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 12 }\n uselistorder i64* %rdi, { 1, 0 }\n uselistorder i32** %.pre-phi.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @clk_setup, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 8, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 12, 11, 1, 2, 0, 10, 9, 8, 7, 6, 5, 4, 3 }\n uselistorder i32 0, { 2, 0, 3, 1, 4 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "isabus_fdc_class_init_2910", "fun_name": "isabus_fdc_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i8*\n store i8 1, i8* %4, align 1\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198669, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %8, align 8\n %9 = load i64, i64* @gv_2, align 8\n %10 = add i64 %0, 40\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = add i64 %0, 48\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 0, i64 %14)\n ret i64 %15\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdp_parse_fmtp_config_3457", "fun_name": "sdp_parse_fmtp_config", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = add i32 %2, -1\n %4 = zext i32 %3 to i64\n %5 = icmp eq i32 %3, 0\n %6 = icmp eq i32 %2, 2\n %7 = or i1 %6, %5\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_6\n LBL_1:\n %8 = inttoptr i64 %arg2 to i8*\n %9 = call i32 @strcmp(i8* %8, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %10 = sext i32 %9 to i64\n %11 = icmp eq i32 %9, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = call i64 @FUNC(i64 0, i64 %arg3)\n %15 = add i64 %13, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %17)\n br label LBL_4\n LBL_4:\n %20 = mul i64 %14, 4294967296\n %sext = add i64 %20, 137438953472\n %21 = ashr exact i64 %sext, 32\n %22 = call i64 @FUNC(i64 %21)\n store i64 %22, i64* %16, align 8\n %23 = icmp eq i64 %22, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = trunc i64 %14 to i32\n %25 = add i64 %13, 16\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %27 = load i64, i64* %16, align 8\n %28 = call i64 @FUNC(i64 %27, i64 %arg3)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64 (i64, i64)* @hex_to_data, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_6, { 2, 0, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_uring_files_cancel_6423", "fun_name": "io_uring_files_cancel", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32*, i32** @gv_0, align 8\n %1 = load i32, i32* %0, align 4\n %2 = icmp eq i32 %1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 0)\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unassigned_mem_writel_5074", "fun_name": "unassigned_mem_writel", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg3 to i32\n %1 = trunc i64 %arg2 to i32\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i32 %1, i32 %0)\n %3 = load i64, i64* @gv_1, align 8\n %4 = call i64 @FUNC(i64 %3, i64 %arg2, i64 1, i64 0, i64 0, i64 4)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_start_outgoing_migration_2395", "fun_name": "tcp_start_outgoing_migration", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %arg2, i64 4198685, i64 %1, i64 %0)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stsc_Read_6938", "fun_name": "stsc_Read", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i64* %arg2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = inttoptr i64 %arg1 to i32*\n store i32 %5, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %arg1, i64 4)\n %8 = bitcast i64* %rdi to i32*\n %9 = load i32, i32* %8, align 8\n %10 = add i64 %arg1, 32\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = udiv i32 %12, 12\n %14 = icmp ugt i32 %9, %13\n br i1 %14, label LBL_1, label LBL_2\n LBL_1:\n %15 = zext i32 %9 to i64\n %16 = call i64 @FUNC(i64 1, i64 1, i64 %15, i64 undef, i64 %2, i64 %1)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %17 = add i64 %arg1, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %9, i32* %18, align 4\n %19 = add i64 %arg1, 8\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %20, align 8\n %21 = load i32, i32* %8, align 8\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_11, label LBL_3\n LBL_3:\n %23 = load i32, i32* %18, align 4\n %24 = zext i32 %23 to i64\n %25 = mul nuw nsw i64 %24, 20\n %26 = call i64 @FUNC(i64 %25)\n store i64 %26, i64* %20, align 8\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %28, label LBL_4, label LBL_12\n LBL_4:\n %.pre = load i32, i32* %8, align 8\n %phitmp = icmp eq i32 %.pre, 0\n store i64 %26, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %phitmp, label LBL_11, label LBL_5\n LBL_5:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %29 = zext i32 %storemerge1.reload to i64\n %30 = mul nuw nsw i64 %29, 20\n %31 = add i64 %30, %.reload\n %32 = call i64 @FUNC(i64 %3)\n %33 = trunc i64 %32 to i32\n %34 = inttoptr i64 %31 to i32*\n store i32 %33, i32* %34, align 4\n %35 = load i64, i64* %20, align 8\n %36 = call i64 @FUNC(i64 %3)\n %37 = trunc i64 %36 to i32\n %38 = add nuw nsw i64 %30, 4\n %39 = add i64 %38, %35\n %40 = inttoptr i64 %39 to i32*\n store i32 %37, i32* %40, align 4\n %41 = load i64, i64* %20, align 8\n %42 = call i64 @FUNC(i64 %3)\n %43 = trunc i64 %42 to i32\n %44 = add nuw nsw i64 %30, 8\n %45 = add i64 %44, %41\n %46 = inttoptr i64 %45 to i32*\n store i32 %43, i32* %46, align 4\n %47 = load i64, i64* %20, align 8\n %48 = add nuw nsw i64 %30, 12\n %49 = add i64 %48, %47\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n %51 = load i64, i64* %20, align 8\n %52 = add nuw nsw i64 %30, 16\n %53 = add i64 %52, %51\n %54 = inttoptr i64 %53 to i32*\n store i32 0, i32* %54, align 4\n %55 = load i64, i64* %20, align 8\n %56 = add i64 %55, %30\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_7, label LBL_6\n LBL_6:\n %61 = load i32, i32* %8, align 8\n %62 = zext i32 %61 to i64\n %63 = call i64 @FUNC(i64 1, i64 1, i64 %62, i64 %55, i64 %2, i64 %1)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %64 = icmp eq i32 %storemerge1.reload, 0\n br i1 %64, label LBL_9, label LBL_8\n LBL_8:\n %65 = add i32 %storemerge1.reload, -1\n %66 = zext i32 %65 to i64\n %67 = mul nuw nsw i64 %66, 20\n %68 = add nuw nsw i64 %67, 16\n %69 = add i64 %68, %55\n %70 = inttoptr i64 %69 to i32*\n store i32 %58, i32* %70, align 4\n br label LBL_9\n LBL_9:\n %71 = add i32 %storemerge1.reload, 1\n %72 = load i32, i32* %8, align 8\n %73 = icmp ult i32 %71, %72\n br i1 %73, label LBL_9.LBL_5_crit_edge, label LBL_11\n LBL_10:\n %.pre3 = load i64, i64* %20, align 8\n store i64 %.pre3, i64* %.reg2mem\n store i32 %71, i32* %storemerge1.reg2mem\n br label LBL_5\n LBL_11:\n %74 = add i64 %arg1, 16\n %75 = inttoptr i64 %74 to i32*\n store i32 0, i32* %75, align 4\n %76 = add i64 %arg1, 20\n %77 = inttoptr i64 %76 to i32*\n store i32 0, i32* %77, align 4\n %78 = add i64 %arg1, 24\n %79 = inttoptr i64 %78 to i32*\n store i32 0, i32* %79, align 4\n %80 = add i64 %arg1, 28\n %81 = inttoptr i64 %80 to i32*\n store i32 0, i32* %81, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %55, { 2, 0, 1 }\n uselistorder i64 %30, { 0, 4, 5, 2, 3, 1 }\n uselistorder i32 %storemerge1.reload, { 0, 2, 1, 3 }\n uselistorder i64* %20, { 0, 2, 3, 4, 5, 6, 1, 7 }\n uselistorder i32 %9, { 1, 0, 2 }\n uselistorder i32* %8, { 2, 1, 0, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 16, { 2, 0, 1 }\n uselistorder i64 20, { 3, 0, 1, 2 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @GF_LOG, { 1, 0 }\n uselistorder i64 1, { 3, 2, 0, 5, 4, 1 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 (i64)* @gf_bs_read_u32, { 3, 2, 1, 0 }\n uselistorder label LBL_12, { 2, 1, 0, 3 }\n uselistorder label LBL_11, { 0, 2, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_class_init_8309", "fun_name": "vmxnet3_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i16*\n store i16 5549, i16* %4, align 2\n %5 = add i64 %0, 18\n %6 = inttoptr i64 %5 to i16*\n store i16 1029, i16* %6, align 2\n %7 = add i64 %0, 20\n %8 = inttoptr i64 %7 to i8*\n store i8 0, i8* %8, align 1\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %0, 32\n %12 = inttoptr i64 %11 to i32*\n store i32 131072, i32* %12, align 4\n %13 = add i64 %0, 36\n %14 = inttoptr i64 %13 to i16*\n store i16 5549, i16* %14, align 2\n %15 = add i64 %0, 38\n %16 = inttoptr i64 %15 to i16*\n store i16 1029, i16* %16, align 2\n store i64 4198676, i64* %arg1, align 8\n store i64 ptrtoint ([35 x i8]* @gv_0 to i64), i64* %2, align 8\n %17 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %17, align 8\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %10, align 8\n %18 = load i64, i64* @gv_2, align 8\n %19 = inttoptr i64 %11 to i64*\n store i64 %18, i64* %19, align 8\n %20 = add i64 %0, 40\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 0, i64 %23)\n ret i64 %24\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dyn_buf_write_529", "fun_name": "dyn_buf_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg3 to i32\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = add i32 %4, %1\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp uge i32 %5, %4\n %10 = icmp ult i32 %5, 1073741824\n %or.cond = icmp eq i1 %9, %10\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_10\n LBL_1:\n %11 = icmp ugt i32 %5, %8\n store i32 %8, i32* %sv_0.03.reg2mem\n store i32 %4, i32* %.reg2mem\n br i1 %11, label LBL_2, label LBL_7\n LBL_2:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %12 = icmp eq i32 %sv_0.03.reload, 0\n %13 = icmp eq i1 %12, false\n store i32 %5, i32* %sv_0.0.lcssa.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n %14 = udiv i32 %sv_0.03.reload, 2\n %15 = add i32 %sv_0.03.reload, 1\n %16 = add i32 %15, %14\n %17 = icmp ugt i32 %5, %16\n store i32 %16, i32* %sv_0.03.reg2mem\n store i32 %16, i32* %sv_0.0.lcssa.reg2mem\n br i1 %17, label LBL_2, label LBL_4\n LBL_4:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %18 = icmp ugt i32 %sv_0.0.lcssa.reload, %8\n store i32 %4, i32* %.reg2mem\n br i1 %18, label LBL_5, label LBL_7\n LBL_5:\n %19 = zext i32 %sv_0.0.lcssa.reload to i64\n %20 = call i64 @FUNC(i64 %0, i64 %19)\n store i64 %20, i64* %arg1, align 8\n %21 = icmp eq i64* %arg1, null\n %22 = icmp eq i1 %21, false\n store i64 4294966062, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_10\n LBL_6:\n store i32 %sv_0.0.lcssa.reload, i32* %7, align 4\n %.pre = load i32, i32* %3, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_7\n LBL_7:\n %sext = mul i64 %arg3, 4294967296\n %23 = ashr exact i64 %sext, 32\n %.reload = load i32, i32* %.reg2mem\n %24 = trunc i64 %23 to i32\n %25 = zext i32 %.reload to i64\n %26 = add i64 %25, %0\n %27 = inttoptr i64 %26 to i64*\n %28 = call i64* @memcpy(i64* %27, i64* %arg2, i32 %24)\n store i32 %5, i32* %3, align 4\n %29 = add i64 %0, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp ugt i32 %5, %31\n br i1 %32, label LBL_8, label LBL_9\n LBL_8:\n store i32 %5, i32* %30, align 4\n br label LBL_9\n LBL_9:\n %33 = and i64 %23, 4294967295\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 2, 0 }\n uselistorder i32 %sv_0.03.reload, { 1, 2, 0 }\n uselistorder i32 %8, { 1, 0, 2 }\n uselistorder i32 %5, { 3, 2, 4, 5, 0, 1, 6, 7 }\n uselistorder i32 %4, { 1, 0, 3, 2 }\n uselistorder i32* %3, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_10, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hpsa_scsi_find_entry_3862", "fun_name": "hpsa_scsi_find_entry", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i32\n %1 = icmp sgt i32 %0, 0\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = mul i64 %indvars.iv.reload, 8\n %6 = add i64 %5, %2\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_5, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC()\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = trunc i64 %indvars.iv.reload to i32\n %14 = bitcast i64* %arg4 to i32*\n store i32 %13, i32* %14, align 4\n %15 = load i64, i64* %7, align 8\n %16 = call i64 @FUNC(i64 %3, i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %. = zext i1 %18 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %19 = icmp slt i64 %indvars.iv.next, %4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %19, label LBL_2, label LBL_6\n LBL_6:\n %20 = bitcast i64* %arg4 to i32*\n store i32 -1, i32* %20, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64* %arg4, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ffurl_register_protocol_2533", "fun_name": "ffurl_register_protocol", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %0 = inttoptr i64 %storemerge.reload to i64*\n %1 = load i64, i64* %0, align 8\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_2:\n store i64 %arg1, i64* %0, align 8\n %4 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %4, align 8\n ret i64 0\n\n uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setHeadersFromCache_11124", "fun_name": "setHeadersFromCache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i8* @strstr(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %2 = icmp eq i8* %1, null\n %3 = icmp eq i1 %2, false\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = ptrtoint i8* %1 to i64\n %6 = sub i64 %5, %arg2\n %7 = call i64 @FUNC(i64 %arg2, i64 %6)\n %8 = add i64 %5, 2\n %9 = call i64 @FUNC(i64 %7, i64* nonnull @gv_1, i64* nonnull %sv_2)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %storemerge1.reg2mem\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_2, label LBL_6\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %12 = call i64 @FUNC(i64 %storemerge1.reload, i64* bitcast ([3 x i8]* @gv_2 to i64*), i64* nonnull %sv_1)\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0))\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = load i64, i64* %sv_1, align 8\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = inttoptr i64 %12 to i32*\n store i32 %18, i32* %19, align 4\n br label LBL_5\n LBL_4:\n %20 = call i64 @FUNC(i64 %4, i64 %12, i64 %16)\n br label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 0, i64* nonnull @gv_1, i64* nonnull %sv_2)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %21, i64* %storemerge1.reg2mem\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_2, label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %12, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i8* %1, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64*, i64*)* @stok, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4 }\n uselistorder i64 %arg2, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tls1_set_shared_sigalgs_6292", "fun_name": "tls1_set_shared_sigalgs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 48\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %3, align 8\n %7 = add i64 %0, 56\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n store i64 %4, i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %9 = trunc i64 %1 to i32\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %10 = add i64 %0, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i64 %rdi.0.reload, 0\n %14 = or i32 %12, %9\n %15 = icmp eq i32 %14, 0\n %16 = icmp ne i1 %15, true\n %17 = or i1 %13, %16\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n store i64 %rdi.0.reload, i64* %sv_3, align 8\n %18 = add i64 %0, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %rdi.0.reload, i64* %.reg2mem\n store i64 %20, i64* %sv_2.0.reg2mem\n br label LBL_7\n LBL_4:\n %21 = icmp eq i32 %9, 0\n %22 = icmp eq i1 %21, false\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp eq i64 %25, 0\n %or.cond7 = or i1 %22, %26\n br i1 %or.cond7, label LBL_6, label LBL_5\n LBL_5:\n store i64 %25, i64* %sv_3, align 8\n %27 = add i64 %0, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n store i64 %25, i64* %.reg2mem\n store i64 %29, i64* %sv_2.0.reg2mem\n br label LBL_7\n LBL_6:\n %30 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3)\n %.pre = load i64, i64* %sv_3, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %30, i64* %sv_2.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %31 = add i64 %0, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = urem i32 %33, 2\n %35 = or i32 %34, %9\n %36 = icmp eq i32 %35, 0\n %37 = add i64 %0, 32\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = add i64 %0, 40\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %. = select i1 %36, i64 %39, i64 %.reload\n %.stack_var_-48.0 = select i1 %36, i64 %42, i64 %sv_2.0.reload\n %.8 = select i1 %36, i64 %.reload, i64 %39\n %sv_2.0. = select i1 %36, i64 %sv_2.0.reload, i64 %42\n %43 = call i64 @FUNC(i64 0, i64 %., i64 %.stack_var_-48.0, i64 %.8, i64 %sv_2.0.)\n %44 = icmp eq i64 %43, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %44, label LBL_10, label LBL_8\n LBL_8:\n %45 = call i64 @FUNC(i64 0)\n %46 = icmp eq i64 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %47, label LBL_9, label LBL_11\n LBL_9:\n %48 = call i64 @FUNC(i64 %45, i64 %., i64 %.stack_var_-48.0, i64 %.8, i64 %sv_2.0.)\n store i64 %45, i64* %sv_1.0.reg2mem\n store i64 %48, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n store i64 %sv_1.0.reload, i64* %3, align 8\n %49 = add i64 %0, 56\n %50 = inttoptr i64 %49 to i64*\n store i64 %sv_0.0.reload, i64* %50, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_2.0., { 1, 0 }\n uselistorder i64 %.8, { 1, 0 }\n uselistorder i64 %.stack_var_-48.0, { 1, 0 }\n uselistorder i64 %., { 1, 0 }\n uselistorder i64 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %9, { 0, 2, 1 }\n uselistorder i64* %3, { 1, 0, 2 }\n uselistorder i64 %0, { 3, 5, 4, 6, 7, 9, 8, 2, 10, 1, 0, 11, 12 }\n uselistorder i64* %.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @tls12_do_shared_sigalgs, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "synic_get_5743", "fun_name": "synic_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %2)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %2)\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n %. = select i1 %10, i64 0, i64 %7\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder label LBL_3, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dlm_purge_lockres_4702", "fun_name": "dlm_purge_lockres", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %4, 24\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %4)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %5)\n %12 = add i64 %4, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = ptrtoint i32* %arg1 to i64\n %16 = add i64 %15, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = and i64 %3, 4294967295\n %20 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 %19, i64 %14, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_2:\n %21 = trunc i64 %2 to i32\n %22 = add i64 %4, 20\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, %21\n %26 = icmp eq i1 %25, false\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %28 = trunc i64 %3 to i32\n %.pre2 = bitcast i64* %rsi to i32*\n store i32* %.pre2, i32** %.pre-phi.reg2mem\n store i32 %28, i32* %.reg2mem\n br label LBL_5\n LBL_4:\n %29 = add i64 %4, 16\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = or i32 %31, 1\n store i32 %32, i32* %30, align 4\n %.phi.trans.insert = bitcast i64* %rsi to i32*\n %.pre = load i32, i32* %.phi.trans.insert, align 8\n store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %33 = call i64 @FUNC(i64 %5)\n %34 = add i64 %4, 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = zext i1 %25 to i64\n %38 = zext i32 %.reload to i64\n %39 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %38, i64 %36, i64 %37, i64 %1)\n br i1 %27, label LBL_10, label LBL_6\n LBL_6:\n %40 = ptrtoint i32* %arg1 to i64\n %41 = add i64 %40, 16\n %42 = call i64 @FUNC(i64 %41)\n %43 = call i64 @FUNC(i64 %5)\n %44 = call i64 @FUNC(i64 %4, i64 2)\n %45 = call i64 @FUNC(i64 %5)\n %46 = call i64 @FUNC(i64 %40, i64 %4)\n %47 = trunc i64 %46 to i32\n %48 = icmp slt i32 %47, 0\n %49 = icmp eq i1 %48, false\n %.pre3 = and i64 %46, 4294967295\n br i1 %49, label LBL_9, label LBL_7\n LBL_7:\n %50 = call i64 @FUNC(i64 %.pre3)\n %51 = call i64 @FUNC(i64 %.pre3)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_9, label LBL_8\n LBL_8:\n call void @exit(i32 1)\n unreachable\n LBL_9:\n %55 = load i64, i64* %35, align 8\n %56 = load i32, i32* %.pre-phi.reload, align 8\n %57 = add i64 %40, 8\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = zext i32 %56 to i64\n %61 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %59, i64 %60, i64 %55, i64 %.pre3)\n %62 = call i64 @FUNC(i64 %41)\n br label LBL_10\n LBL_10:\n %63 = add i64 %4, 28\n %64 = call i64 @FUNC(i64 %63)\n %65 = trunc i64 %64 to i32\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_12, label LBL_11\n LBL_11:\n %68 = load i64, i64* %35, align 8\n %69 = load i32, i32* %.pre-phi.reload, align 8\n %70 = zext i32 %69 to i64\n %71 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i64 %70, i64 %68, i64 %4, i64 %37)\n %72 = call i64 @FUNC(i64 %63)\n %73 = call i64 @FUNC(i64 %4)\n %74 = ptrtoint i32* %arg1 to i64\n %75 = add i64 %74, 20\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = add i32 %77, -1\n store i32 %78, i32* %76, align 4\n br label LBL_12\n LBL_12:\n %79 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %storemerge.reg2mem\n br i1 %27, label LBL_14, label LBL_13\n LBL_13:\n %80 = call i64 @FUNC(i64 %5)\n %81 = add i64 %4, 16\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = and i32 %83, -2\n store i32 %84, i32* %82, align 4\n %85 = call i64 @FUNC(i64 %5)\n %86 = add i64 %4, 32\n %87 = call i64 @FUNC(i64 %86)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %35, { 1, 0, 2 }\n uselistorder i32* %.pre-phi.reload, { 1, 0 }\n uselistorder i64 %5, { 3, 4, 1, 2, 5, 0, 6 }\n uselistorder i64 %4, { 6, 7, 8, 4, 5, 9, 2, 3, 10, 1, 11, 0, 12, 13 }\n uselistorder i64* %rsi, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @mlog, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64 (i64)* @spin_lock, { 3, 2, 1, 0 }\n uselistorder i32* %arg1, { 2, 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_auth_vnc_9520", "fun_name": "protocol_client_auth_vnc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i32 @time(i32* null)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %0, i64 1)\n %4 = add i64 %0, 24\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp slt i32 %6, 8\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %0, i64 22)\n %9 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 22)\n br label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 %0, { 3, 2, 1, 0, 5, 4 }\n uselistorder i64 (i64, i64)* @vnc_write_u32, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_rsr_2635", "fun_name": "gen_rsr", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = zext i32 %arg3 to i64\n %1 = mul i64 %0, 8\n %2 = add i64 %1, ptrtoint (i64* @gv_0 to i64)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i32* %arg1 to i64\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = and i64 %arg2, 4294967295\n %8 = mul i64 %0, 4\n %9 = add i64 %8, ptrtoint (i32** @gv_1 to i64)\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %7, i64 %12)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_interrupt_13977", "fun_name": "cpu_interrupt", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = or i64 %1, %arg2\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* %arg1, align 4\n %6 = call i64 @FUNC(i64 %3)\n ret i64 %6\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__inet_del_ifa_7691", "fun_name": "__inet_del_ifa", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i64\n %rsi.4.lcssa.reg2mem = alloca i64\n %sv_0.043.reg2mem = alloca i64\n %sv_1.2.ptr44.reg2mem = alloca i64*\n %sv_2.145.reg2mem = alloca i64\n %.reg2mem74 = alloca i1\n %rsi.3.reg2mem = alloca i64\n %rsi.47.reg2mem = alloca i64\n %storemerge28.reg2mem = alloca i64\n %sv_1.1.ph26.reg2mem = alloca i64\n %sv_2.0.ph27.reg2mem = alloca i64\n %rsi.1.ph28.reg2mem = alloca i64\n %.reg2mem72 = alloca i64*\n %.reg2mem70 = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_1.042.reg2mem = alloca i64\n %rsi.113.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg5, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC()\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i1 true, i1* %.reg2mem74\n store i64 0, i64* %sv_2.145.reg2mem\n store i64* %arg1, i64** %sv_1.2.ptr44.reg2mem\n store i64 0, i64* %sv_0.043.reg2mem\n store i64 %1, i64* %rsi.4.lcssa.reg2mem\n br i1 %11, label LBL_18, label LBL_1\n LBL_1:\n %12 = load i64, i64* %arg2, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i1 true, i1* %.reg2mem74\n store i64 0, i64* %sv_2.145.reg2mem\n store i64* %arg1, i64** %sv_1.2.ptr44.reg2mem\n store i64 0, i64* %sv_0.043.reg2mem\n store i64 %1, i64* %rsi.4.lcssa.reg2mem\n br i1 %14, label LBL_2, label LBL_18\n LBL_2:\n %15 = trunc i64 %4 to i32\n %16 = icmp eq i32 %15, 0\n %17 = add i64 %1, 12\n %18 = inttoptr i64 %17 to i32*\n %19 = add i64 %1, 16\n %20 = inttoptr i64 %19 to i32*\n %21 = add i64 %1, 20\n %22 = inttoptr i64 %21 to i32*\n %23 = icmp eq i1 %16, false\n %24 = trunc i64 %3 to i32\n store i64 %12, i64* %.reg2mem70\n store i64* %arg2, i64** %.reg2mem72\n store i64 %1, i64* %rsi.1.ph28.reg2mem\n store i64 0, i64* %sv_2.0.ph27.reg2mem\n store i64 %2, i64* %sv_1.1.ph26.reg2mem\n br label LBL_3.lr.ph\n LBL_3:\n %rsi.113.reload = load i64, i64* %rsi.113.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %25 = add i64 %.reload, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = urem i32 %27, 2\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = load i32, i32* %18, align 4\n %32 = add i64 %.reload, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp ugt i32 %31, %34\n %spec.select = select i1 %35, i64 %sv_1.1.ph26.reload, i64 %.reload\n store i64 %spec.select, i64* %sv_1.042.reg2mem\n store i64 %rsi.113.reload, i64* %rsi.0.reg2mem\n br label LBL_7\n LBL_5:\n %36 = load i32, i32* %20, align 4\n %37 = add i64 %.reload, 16\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %36, %39\n %41 = icmp eq i1 %40, false\n store i64 %sv_1.1.ph26.reload, i64* %sv_1.042.reg2mem\n store i64 %rsi.113.reload, i64* %rsi.0.reg2mem\n br i1 %41, label LBL_7, label LBL_6\n LBL_6:\n %42 = load i32, i32* %22, align 4\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %43, i64 %.reload)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %sv_1.1.ph26.reload, i64* %sv_1.042.reg2mem\n store i64 %.reload, i64* %rsi.0.reg2mem\n br i1 %47, label LBL_9, label LBL_7\n LBL_7:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %sv_1.042.reload = load i64, i64* %sv_1.042.reg2mem\n %48 = inttoptr i64 %.reload to i64*\n %49 = load i64, i64* %48, align 8\n %50 = icmp eq i64 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 %49, i64* %.reg2mem70\n store i64* %48, i64** %.reg2mem72\n store i64 %rsi.0.reload, i64* %rsi.1.ph28.reg2mem\n store i64 %.reload, i64* %sv_2.0.ph27.reg2mem\n store i64 %sv_1.042.reload, i64* %sv_1.1.ph26.reg2mem\n br i1 %51, label LBL_3.lr.ph, label LBL_11\n LBL_8:\n %sv_1.1.ph26.reload = load i64, i64* %sv_1.1.ph26.reg2mem\n %sv_2.0.ph27.reload = load i64, i64* %sv_2.0.ph27.reg2mem\n %rsi.1.ph28.reload = load i64, i64* %rsi.1.ph28.reg2mem\n %.reload73 = load i64*, i64** %.reg2mem72\n %.reload71 = load i64, i64* %.reg2mem70\n store i64 %.reload71, i64* %.reg2mem\n store i64 %rsi.1.ph28.reload, i64* %rsi.113.reg2mem\n br label LBL_3\n LBL_9:\n br i1 %23, label LBL_13, label LBL_10\n LBL_10:\n %52 = call i64 @FUNC(i64 %.reload)\n %53 = inttoptr i64 %.reload to i64*\n %54 = load i64, i64* %53, align 8\n store i64 %54, i64* %.reload73, align 8\n %55 = call i64 @FUNC(i64 2, i64 %.reload, i64 %0, i32 %24)\n %56 = call i64 @FUNC(i64* nonnull @gv_0, i64 4, i64 %.reload)\n %57 = call i64 @FUNC(i64 %.reload)\n %58 = load i64, i64* %.reload73, align 8\n %59 = icmp eq i64 %58, 0\n %60 = icmp eq i1 %59, false\n store i64 %58, i64* %.reg2mem\n store i64 4, i64* %rsi.113.reg2mem\n br i1 %60, label LBL_3, label LBL_12\n LBL_11:\n %sv_1.1.ptr11.le = inttoptr i64 %sv_1.042.reload to i64*\n store i1 true, i1* %.reg2mem74\n store i64 %.reload, i64* %sv_2.145.reg2mem\n store i64* %sv_1.1.ptr11.le, i64** %sv_1.2.ptr44.reg2mem\n store i64 0, i64* %sv_0.043.reg2mem\n store i64 %rsi.0.reload, i64* %rsi.4.lcssa.reg2mem\n br label LBL_18\n LBL_12:\n %sv_1.1.ptr.le = inttoptr i64 %sv_1.1.ph26.reload to i64*\n store i1 true, i1* %.reg2mem74\n store i64 %sv_2.0.ph27.reload, i64* %sv_2.145.reg2mem\n store i64* %sv_1.1.ptr.le, i64** %sv_1.2.ptr44.reg2mem\n store i64 0, i64* %sv_0.043.reg2mem\n store i64 4, i64* %rsi.4.lcssa.reg2mem\n br label LBL_18\n LBL_13:\n %sv_1.0.ptr.le = inttoptr i64 %sv_1.1.ph26.reload to i64*\n %61 = icmp eq i64 %.reload, 0\n %62 = icmp eq i1 %61, false\n store i64 %.reload, i64* %storemerge28.reg2mem\n store i64 %.reload, i64* %rsi.47.reg2mem\n store i1 true, i1* %.reg2mem74\n store i64 %sv_2.0.ph27.reload, i64* %sv_2.145.reg2mem\n store i64* %sv_1.0.ptr.le, i64** %sv_1.2.ptr44.reg2mem\n store i64 %.reload, i64* %sv_0.043.reg2mem\n store i64 %.reload, i64* %rsi.4.lcssa.reg2mem\n br i1 %62, label LBL_14, label LBL_18\n LBL_14:\n %rsi.47.reload = load i64, i64* %rsi.47.reg2mem\n %storemerge28.reload = load i64, i64* %storemerge28.reg2mem\n %63 = load i32, i32* %20, align 4\n %64 = add i64 %storemerge28.reload, 16\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = icmp eq i32 %63, %66\n %68 = icmp eq i1 %67, false\n store i64 %rsi.47.reload, i64* %rsi.3.reg2mem\n br i1 %68, label LBL_17, label LBL_15\n LBL_15:\n %69 = load i32, i32* %22, align 4\n %70 = zext i32 %69 to i64\n %71 = call i64 @FUNC(i64 %70, i64 %storemerge28.reload)\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 0\n store i64 %storemerge28.reload, i64* %rsi.3.reg2mem\n br i1 %73, label LBL_17, label LBL_16\n LBL_16:\n %74 = call i64 @FUNC(i64 %storemerge28.reload, i64 %1)\n store i64 %1, i64* %rsi.3.reg2mem\n br label LBL_17\n LBL_17:\n %rsi.3.reload = load i64, i64* %rsi.3.reg2mem\n %75 = inttoptr i64 %storemerge28.reload to i64*\n %76 = load i64, i64* %75, align 8\n %77 = icmp eq i64 %76, 0\n %78 = icmp eq i1 %77, false\n store i64 %76, i64* %storemerge28.reg2mem\n store i64 %rsi.3.reload, i64* %rsi.47.reg2mem\n store i1 false, i1* %.reg2mem74\n store i64 %sv_2.0.ph27.reload, i64* %sv_2.145.reg2mem\n store i64* %sv_1.0.ptr.le, i64** %sv_1.2.ptr44.reg2mem\n store i64 %.reload, i64* %sv_0.043.reg2mem\n store i64 %rsi.3.reload, i64* %rsi.4.lcssa.reg2mem\n br i1 %78, label LBL_14, label LBL_18\n LBL_18:\n %rsi.4.lcssa.reload = load i64, i64* %rsi.4.lcssa.reg2mem\n %.reload75 = load i1, i1* %.reg2mem74\n store i64 %rsi.4.lcssa.reload, i64* %arg2, align 8\n %79 = call i64 @FUNC(i64 %1)\n %80 = trunc i64 %3 to i32\n %81 = call i64 @FUNC(i64 2, i64 %1, i64 %0, i32 %80)\n %82 = call i64 @FUNC(i64* nonnull @gv_0, i64 4, i64 %1)\n store i64 %82, i64* %rax.0.reg2mem\n br i1 %.reload75, label LBL_27, label LBL_19\n LBL_19:\n %sv_0.043.reload = load i64, i64* %sv_0.043.reg2mem\n %sv_2.145.reload = load i64, i64* %sv_2.145.reg2mem\n %83 = inttoptr i64 %sv_0.043.reload to i64*\n %84 = load i64, i64* %83, align 8\n %85 = icmp eq i64 %sv_2.145.reload, 0\n br i1 %85, label LBL_21, label LBL_20\n LBL_20:\n %sv_1.2.ptr44.reload = load i64*, i64** %sv_1.2.ptr44.reg2mem\n %86 = inttoptr i64 %sv_2.145.reload to i64*\n store i64 %84, i64* %86, align 8\n %87 = load i64, i64* %sv_1.2.ptr44.reload, align 8\n store i64 %87, i64* %83, align 8\n store i64 %sv_0.043.reload, i64* %sv_1.2.ptr44.reload, align 8\n br label LBL_21\n LBL_21:\n %88 = add i64 %sv_0.043.reload, 8\n %89 = inttoptr i64 %88 to i32*\n %90 = load i32, i32* %89, align 4\n %91 = and i32 %90, -2\n store i32 %91, i32* %89, align 4\n %92 = call i64 @FUNC(i64 3, i64 %sv_0.043.reload, i64 %0, i32 %80)\n %93 = call i64 @FUNC(i64* nonnull @gv_0, i64 5, i64 %sv_0.043.reload)\n %94 = icmp eq i64 %84, 0\n %95 = icmp eq i1 %94, false\n store i64 %84, i64* %rax.0.reg2mem\n br i1 %95, label LBL_22, label LBL_27\n LBL_22:\n %96 = add i64 %1, 16\n %97 = inttoptr i64 %96 to i32*\n %98 = add i64 %1, 20\n %99 = inttoptr i64 %98 to i32*\n store i64 %84, i64* %storemerge35.reg2mem\n br label LBL_23\n LBL_23:\n %storemerge35.reload = load i64, i64* %storemerge35.reg2mem\n %100 = load i32, i32* %97, align 4\n %101 = add i64 %storemerge35.reload, 16\n %102 = inttoptr i64 %101 to i32*\n %103 = load i32, i32* %102, align 4\n %104 = icmp eq i32 %100, %103\n %105 = icmp eq i1 %104, false\n br i1 %105, label LBL_26, label LBL_24\n LBL_24:\n %106 = load i32, i32* %99, align 4\n %107 = zext i32 %106 to i64\n %108 = call i64 @FUNC(i64 %107, i64 %storemerge35.reload)\n %109 = trunc i64 %108 to i32\n %110 = icmp eq i32 %109, 0\n br i1 %110, label LBL_26, label LBL_25\n LBL_25:\n %111 = call i64 @FUNC(i64 %storemerge35.reload)\n br label LBL_26\n LBL_26:\n %112 = inttoptr i64 %storemerge35.reload to i64*\n %113 = load i64, i64* %112, align 8\n %114 = icmp eq i64 %113, 0\n %115 = icmp eq i1 %114, false\n store i64 %113, i64* %storemerge35.reg2mem\n store i64 %113, i64* %rax.0.reg2mem\n br i1 %115, label LBL_23, label LBL_27\n LBL_27:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %116 = icmp eq i32 %arg3, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %116, label LBL_29, label LBL_28\n LBL_28:\n %117 = call i64 @FUNC(i64 %1)\n store i64 %117, i64* %rax.1.reg2mem\n br label LBL_29\n LBL_29:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %storemerge35.reload, { 3, 0, 1, 2 }\n uselistorder i64* %sv_1.2.ptr44.reload, { 1, 0 }\n uselistorder i64 %84, { 1, 0, 2, 3 }\n uselistorder i64 %sv_0.043.reload, { 2, 3, 1, 4, 0 }\n uselistorder i64 %storemerge28.reload, { 4, 1, 0, 2, 3 }\n uselistorder i64* %.reload73, { 1, 0 }\n uselistorder i64 %sv_2.0.ph27.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.1.ph26.reload, { 2, 1, 0, 3, 4 }\n uselistorder i64 %sv_1.042.reload, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0, 2, 4, 5, 18, 3, 8, 9, 10, 11, 12, 6, 19, 7, 14, 13, 16, 17, 15 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %1, { 9, 8, 7, 12, 11, 10, 2, 13, 3, 6, 5, 4, 0, 1, 14 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %.reg2mem, { 1, 2, 0 }\n uselistorder i64* %rsi.113.reg2mem, { 1, 2, 0 }\n uselistorder i64* %storemerge28.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rsi.47.reg2mem, { 2, 0, 1 }\n uselistorder i1* %.reg2mem74, { 0, 1, 6, 4, 3, 2, 5 }\n uselistorder i64* %sv_2.145.reg2mem, { 0, 1, 6, 4, 3, 2, 5 }\n uselistorder i64** %sv_1.2.ptr44.reg2mem, { 0, 1, 6, 4, 3, 2, 5 }\n uselistorder i64* %sv_0.043.reg2mem, { 0, 1, 6, 4, 3, 2, 5 }\n uselistorder i64* %rsi.4.lcssa.reg2mem, { 0, 1, 6, 4, 3, 2, 5 }\n uselistorder i64* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @inet_free_ifa, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @blocking_notifier_call_chain, { 2, 1, 0 }\n uselistorder i64 4, { 2, 0, 1, 3 }\n uselistorder i64* @gv_0, { 1, 2, 0 }\n uselistorder i64 (i64, i64, i64, i32)* @rtmsg_ifa, { 2, 1, 0 }\n uselistorder i64 (i64)* @inet_hash_remove, { 1, 0 }\n uselistorder i64 (i64, i64)* @inet_ifa_match, { 2, 1, 0 }\n uselistorder i1 true, { 4, 2, 1, 0, 3 }\n uselistorder i1 false, { 6, 5, 4, 0, 8, 7, 3, 13, 2, 10, 11, 12, 9, 1, 14 }\n uselistorder i64* %arg2, { 2, 0, 1, 3 }\n uselistorder label LBL_26, { 2, 1, 0 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_18, { 0, 5, 3, 2, 1, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_3.lr.ph, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tee_shm_get_fd_6966", "fun_name": "tee_shm_get_fd", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1, i64 %5, i64 2)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %5)\n br label LBL_3\n LBL_3:\n %13 = and i64 %8, 4294967295\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_video_props_2813", "fun_name": "copy_video_props", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 %3, i64* %arg1, align 8\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = icmp eq i64* %arg2, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = inttoptr i64 %5 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n store i64 %14, i64* %arg1, align 8\n %15 = icmp eq i32 %12, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %18 = inttoptr i64 %8 to i32*\n store i32 0, i32* %18, align 4\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %19 = inttoptr i64 %13 to i64*\n %20 = call i64* @memcpy(i64* %19, i64* nonnull %arg2, i32 %12)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_send_surface_command_9831", "fun_name": "update_send_surface_command", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %1, i64 %5)\n %7 = trunc i64 %6 to i8\n %8 = icmp eq i8 %7, 1\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = call i64 @FUNC(i64 %4)\n %10 = call i64 @FUNC(i64 %4)\n %11 = call i64 @FUNC(i64 %1, i64 %10, i64 %9)\n %12 = call i64 @FUNC(i64 %1, i64 1, i64 %1, i64 0)\n %phitmp = urem i64 %12, 256\n store i64 %phitmp, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %13 = call i64 @FUNC(i64 %1)\n store i64 %storemerge1.reload, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @Stream_GetPosition, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "srpp_Write_7917", "fun_name": "srpp_Write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 1, i64* %rax.0.shrunk.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 %6, i64* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_2, label LBL_7\n LBL_2:\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %4, i64 %9)\n %11 = add i64 %5, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %4, i64 %14)\n %16 = add i64 %5, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %4, i64 %19)\n %21 = add i64 %5, 12\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %4, i64 %24)\n %26 = add i64 %5, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_4, label LBL_3\n LBL_3:\n %30 = call i64 @FUNC(i64 %28, i64 %4)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 %30, i64* %rax.0.shrunk.reg2mem\n br i1 %32, label LBL_4, label LBL_7\n LBL_4:\n %33 = add i64 %5, 24\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %37 = call i64 @FUNC(i64 %35, i64 %4)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n store i64 %37, i64* %rax.0.shrunk.reg2mem\n br i1 %39, label LBL_6, label LBL_7\n LBL_6:\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %4, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64)* @gf_isom_box_write, { 1, 0 }\n uselistorder i64 0, { 0, 4, 5, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @gf_bs_write_u32, { 3, 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l3_unscale_5255", "fun_name": "l3_unscale", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %arg2 to i32\n %4 = mul i64 %arg1, 4\n %5 = urem i64 %arg2, 4\n %6 = or i64 %5, %4\n %sext = mul i64 %6, 4294967296\n %7 = ashr exact i64 %sext, 30\n %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64)\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %7, ptrtoint (i32** @gv_1 to i64)\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = ashr i32 %3, 2\n %15 = sub i32 %10, %14\n %16 = icmp eq i32 %15, 0\n %17 = icmp slt i32 %15, 0\n %18 = icmp eq i1 %17, false\n %19 = icmp eq i1 %16, false\n %20 = icmp eq i1 %18, %19\n br i1 %20, label LBL_2, label LBL_1\n LBL_1:\n %21 = zext i32 %15 to i64\n %22 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n %23 = icmp ult i32 %15, 32\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_3, label LBL_4\n LBL_3:\n %24 = urem i32 %15, 32\n %25 = icmp eq i32 %24, 0\n %26 = shl i32 1, %24\n %phitmp = udiv i32 %26, 2\n %rdx.0 = select i1 %25, i32 0, i32 %phitmp\n %27 = add i32 %rdx.0, %13\n %28 = lshr i32 %27, %24\n %rdx.1 = zext i32 %28 to i64\n store i64 %rdx.1, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %24, { 2, 1, 0 }\n uselistorder i32 %15, { 0, 1, 2, 4, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 5, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "construct_key_and_link_13737", "fun_name": "construct_key_and_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %r8.1.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 %arg5, i64* %sv_2, align 8\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 -1, i64* %rax.0.reg2mem\n br i1 icmp ne (i64 sub (i64 ptrtoint (i64* @gv_0 to i64), i64 ptrtoint (i64* @gv_1 to i64)), i64 0), label LBL_1, label LBL_8\n LBL_1:\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 -12, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_8\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64* nonnull %sv_2)\n %7 = load i64, i64* %sv_2, align 8\n %8 = call i64 @FUNC(i64 %5, i64 %7, i64 %arg6, i64 %2, i64* nonnull %sv_1)\n %9 = trunc i64 %8 to i32\n %10 = call i64 @FUNC(i64 %2)\n %11 = icmp eq i32 %9, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_3\n LBL_3:\n %13 = load i64, i64* %sv_2, align 8\n %14 = load i64, i64* %sv_1, align 8\n %15 = ptrtoint i8* %arg2 to i64\n %16 = call i64 @FUNC(i64 %14, i64 %15, i64 %arg3, i64 %arg4, i64 %13)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %arg4, i64* %rcx.0.reg2mem\n store i64 %arg3, i64* %rdx.0.reg2mem\n store i64 %13, i64* %r8.0.reg2mem\n br i1 %19, label LBL_6, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n %21 = load i64, i64* %sv_1, align 8\n %22 = call i64 @FUNC(i64 %21, i64 0, i64 0, i64 0)\n %23 = load i64, i64* %sv_1, align 8\n %24 = call i64 @FUNC(i64 %23)\n store i32 %17, i32* %sv_0.0.reg2mem\n store i64 0, i64* %rcx.1.reg2mem\n store i64 0, i64* %rdx.1.reg2mem\n store i64 %13, i64* %r8.1.reg2mem\n br label LBL_7\n LBL_5:\n %25 = ptrtoint i64* %sv_1 to i64\n %26 = icmp eq i32 %9, -115\n %27 = icmp eq i1 %26, false\n store i64 %2, i64* %rcx.0.reg2mem\n store i64 %arg6, i64* %rdx.0.reg2mem\n store i64 %25, i64* %r8.0.reg2mem\n store i32 %9, i32* %sv_0.0.reg2mem\n store i64 %2, i64* %rcx.1.reg2mem\n store i64 %arg6, i64* %rdx.1.reg2mem\n store i64 %25, i64* %r8.1.reg2mem\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %28 = load i64, i64* %sv_2, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = load i64, i64* %sv_1, align 8\n %31 = call i64 @FUNC(i64 %30)\n %32 = and i64 %31, 4294967295\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %32, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg6)\n %34 = load i64, i64* %sv_1, align 8\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %35 = load i64, i64* %sv_2, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = zext i32 %sv_0.0.reload to i64\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0), i64 %37, i64 %rdx.1.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %arg6)\n %39 = sext i32 %sv_0.0.reload to i64\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %sv_1, { 1, 2, 6, 3, 4, 5, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdx.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @kleave, { 1, 0 }\n uselistorder i64 (i64)* @key_put, { 2, 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i64 %arg6, { 3, 2, 0, 1, 4 }\n uselistorder label LBL_8, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Curl_builtin_scheme_10366", "fun_name": "Curl_builtin_scheme", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %.reg2mem\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %3 = inttoptr i64 %.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4, i64 %arg1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 %.reload, i64* %storemerge.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %8 = add i64 %storemerge12.reload, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %.reg2mem\n store i64 %8, i64* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %12, label LBL_1, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 0, { 4, 5, 0, 1, 2, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alloc_clusters_noref_1844", "fun_name": "alloc_clusters_noref", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi15.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = add i64 %0, 1\n br label LBL_2\n LBL_2:\n store i64 0, i64* %storemerge13.reg2mem\n br label LBL_3\n LBL_3:\n store i64 %3, i64* %arg1, align 8\n %4 = call i64 @FUNC(i64 %0, i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_5, label LBL_4\n LBL_4:\n %sext = mul i64 %4, 4294967296\n %8 = ashr exact i64 %sext, 32\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %9 = icmp eq i32 %5, 0\n br i1 %9, label LBL_6, label LBL_2\n LBL_6:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %10 = add nuw i64 %storemerge13.reload, 1\n %11 = icmp ult i64 %10, %1\n store i64 %10, i64* %storemerge13.reg2mem\n br i1 %11, label LBL_3, label LBL_9\n LBL_7:\n %12 = icmp eq i64* %arg1, null\n br i1 %12, label LBL_7.LBL_10_crit_edge, label LBL_9\n LBL_8:\n %.pre = add i64 %0, 8\n %.pre6 = inttoptr i64 %.pre to i32*\n %.pre12 = load i32, i32* %.pre6, align 4\n %.pre13 = urem i32 %.pre12, 64\n %.pre14 = zext i32 %.pre13 to i64\n store i64 %.pre14, i64* %.pre-phi15.reg2mem\n br label LBL_10\n LBL_9:\n %13 = add i64 %0, -1\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = urem i32 %16, 64\n %18 = icmp eq i32 %17, 0\n %19 = zext i32 %17 to i64\n %20 = lshr i64 9223372036854775807, %19\n %storemerge = select i1 %18, i64 9223372036854775807, i64 %20\n %21 = icmp ugt i64 %13, %storemerge\n store i64 %19, i64* %.pre-phi15.reg2mem\n store i64 -27, i64* %rax.0.reg2mem\n br i1 %21, label LBL_11, label LBL_10\n LBL_10:\n %.pre-phi15.reload = load i64, i64* %.pre-phi15.reg2mem\n %22 = sub i64 %0, %1\n %rdx.0 = shl i64 %22, %.pre-phi15.reload\n store i64 %rdx.0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64 %0, { 4, 5, 1, 0, 2, 6, 3, 7 }\n uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "apic_common_class_init_311", "fun_name": "apic_common_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198662, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i8*\n store i8 1, i8* %4, align 1\n %5 = load i64, i64* @gv_1, align 8\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n store i64 4198669, i64* %arg1, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_device_unrealize_common_2020", "fun_name": "v9fs_device_unrealize_common", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n ret i64 %8\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "atalk_compat_ioctl_9997", "fun_name": "atalk_compat_ioctl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1_inv_trans_4x8_dc_c_2852", "fun_name": "vc1_inv_trans_4x8_dc_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = trunc i64 %1 to i32\n %4 = mul i32 %3, 17\n %5 = add i32 %4, 4\n %6 = ashr i32 %5, 3\n %7 = mul i32 %6, 12\n %8 = add i32 %7, 64\n %9 = ashr i32 %8, 7\n %10 = ashr exact i64 %sext, 32\n store i32 0, i32* %storemerge5.reg2mem\n store i64 %2, i64* %sv_0.04.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %11 = inttoptr i64 %sv_0.04.reload to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %12 to i32\n %14 = add nsw i32 %9, %13\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i8\n store i8 %17, i8* %11, align 1\n %18 = add i64 %sv_0.04.reload, 1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = zext i8 %20 to i32\n %22 = add nsw i32 %9, %21\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i8\n store i8 %25, i8* %19, align 1\n %26 = add i64 %sv_0.04.reload, 2\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i32\n %30 = add nsw i32 %9, %29\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %31)\n %33 = trunc i64 %32 to i8\n store i8 %33, i8* %27, align 1\n %34 = add i64 %sv_0.04.reload, 3\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = zext i8 %36 to i32\n %38 = add nsw i32 %9, %37\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39)\n %41 = trunc i64 %40 to i8\n store i8 %41, i8* %35, align 1\n %42 = add i64 %sv_0.04.reload, %10\n %43 = add nuw nsw i32 %storemerge5.reload, 1\n %exitcond = icmp eq i32 %43, 8\n store i32 %43, i32* %storemerge5.reg2mem\n store i64 %42, i64* %sv_0.04.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %10\n\n uselistorder i64 %sv_0.04.reload, { 4, 0, 1, 2, 3 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_clip_uint8, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SFScript_Parse_12024", "fun_name": "SFScript_Parse", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.3.ph.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %storemerge411.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg4 to i64\n %sv_1 = alloca i32*, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_16\n LBL_1:\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i32* %arg1 to i64\n %6 = bitcast i32** %sv_1 to i64*\n store i64 %5, i64* %6, align 8\n %7 = call i64 @FUNC(i64 500)\n %8 = inttoptr i64 %7 to i8*\n store i8 0, i8* %8, align 1\n %9 = call i64 @FUNC()\n %10 = bitcast i64* %rdi to i32*\n %11 = load i32, i32* %10, align 8\n %12 = call i64 @FUNC(i64 %4, i64 1)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_5, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %4, i64 1)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i64 0, i64* %sv_0.2.reg2mem\n br i1 %17, label LBL_3, label LBL_8\n LBL_3:\n %18 = call i64 @FUNC(i64* nonnull %6)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %18, i64* %sv_0.3.ph.reg2mem\n br i1 %21, label LBL_11, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 %4, i64 1)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 %18, i64* %sv_0.2.reg2mem\n br i1 %24, label LBL_3, label LBL_8\n LBL_5:\n %25 = call i64 @FUNC(i64 %4, i64 4)\n %26 = and i64 %25, 4294967295\n %27 = call i64 @FUNC(i64 %4, i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i32 0, i32* %storemerge411.reg2mem\n store i64 0, i64* %sv_0.2.reg2mem\n br i1 %29, label LBL_8, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64* nonnull %6)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %30, i64* %sv_0.3.ph.reg2mem\n br i1 %33, label LBL_11, label LBL_7\n LBL_7:\n %storemerge411.reload = load i32, i32* %storemerge411.reg2mem\n %34 = add nuw i32 %storemerge411.reload, 1\n %35 = icmp ult i32 %34, %28\n store i32 %34, i32* %storemerge411.reg2mem\n store i64 %30, i64* %sv_0.2.reg2mem\n br i1 %35, label LBL_6, label LBL_8\n LBL_8:\n %36 = icmp eq i32 %11, 0\n %. = select i1 %36, i8* null, i8* bitcast (i8** @gv_0 to i8*)\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %37 = call i64 @FUNC(i64 %4, i64 1)\n %38 = call i64 @FUNC(i64* nonnull %6, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))\n %39 = call i64 @FUNC(i64* nonnull %6, i8* %.)\n %40 = call i64 @FUNC(i64 %4, i64 1)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_9, label LBL_10\n LBL_9:\n %44 = call i64 @FUNC(i64* nonnull %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n %45 = call i64 @FUNC(i64* nonnull %6)\n %46 = call i64 @FUNC(i64* nonnull %6, i64 0)\n %47 = call i64 @FUNC(i64* nonnull %6)\n %48 = call i64 @FUNC(i64* nonnull %6, i64 1)\n %49 = call i64 @FUNC(i64* nonnull %6)\n %50 = call i64 @FUNC(i64 %4, i64 1)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_9, label LBL_10\n LBL_10:\n %54 = call i64 @FUNC(i64* nonnull %6)\n %55 = call i64 @FUNC(i64 1)\n %56 = call i64 @FUNC(i64 %7)\n store i64 %56, i64* %arg2, align 8\n store i64 %sv_0.2.reload, i64* %sv_0.3.ph.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.3.ph.reload = load i64, i64* %sv_0.3.ph.reg2mem\n %57 = call i64 @FUNC(i64 %9)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_12, label LBL_13\n LBL_12:\n %61 = call i64 @FUNC(i64 %9, i64 0)\n %62 = call i64 @FUNC(i64 %61)\n %63 = call i64 @FUNC(i64 %9, i64 0)\n %64 = call i64 @FUNC(i64 %9)\n %65 = trunc i64 %64 to i32\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_12, label LBL_13\n LBL_13:\n %68 = call i64 @FUNC(i64 %9)\n %69 = icmp eq i64 %7, 0\n br i1 %69, label LBL_15, label LBL_14\n LBL_14:\n %70 = call i64 @FUNC(i64 %7)\n br label LBL_15\n LBL_15:\n %71 = and i64 %sv_0.3.ph.reload, 4294967295\n store i64 %71, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %30, { 1, 0, 2 }\n uselistorder i32 %28, { 1, 0 }\n uselistorder i64 %18, { 1, 0, 2 }\n uselistorder i64 %9, { 3, 4, 2, 1, 0 }\n uselistorder i64 %7, { 2, 1, 0, 3 }\n uselistorder i64* %6, { 7, 1, 2, 3, 4, 5, 6, 8, 9, 10, 0, 11 }\n uselistorder i64 %4, { 3, 1, 4, 6, 5, 2, 0, 7 }\n uselistorder i32* %storemerge411.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 4, 1, 3 }\n uselistorder i64* %sv_0.3.ph.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @gf_list_count, { 1, 0 }\n uselistorder i64 (i64*, i8*)* @SFS_AddString, { 2, 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64 (i64*)* @ParseScriptField, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 7, 1, 6, 5, 4, 3, 0, 2 }\n uselistorder i64 1, { 3, 4, 5, 2, 6, 7, 1, 8, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 3, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nic_format_buff_7352", "fun_name": "nic_format_buff", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %rdx.0.reg2mem = alloca i64\n %sv_1.24.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %.reg2mem8 = alloca i64\n %.reg2mem6 = alloca i8*\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %4 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 128)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %8 = ashr exact i64 %sext, 29\n %9 = add i64 %8, ptrtoint ([2 x i8*]* @gv_0 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = bitcast i64* %arg1 to i8*\n %13 = inttoptr i64 %11 to i8*\n %14 = call i8* @strstr(i8* %12, i8* %13)\n %15 = load i8, i8* %12, align 1\n %16 = icmp eq i8 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_3, label LBL_15\n LBL_3:\n %18 = ptrtoint i64* %arg1 to i64\n %19 = ptrtoint i64* %sv_3 to i64\n %20 = icmp ne i8* %14, null\n %spec.select = zext i1 %20 to i32\n %21 = bitcast i64* %sv_2 to i8*\n %22 = add i64 %19, -160\n store i8 %15, i8* %.reg2mem\n store i8* %12, i8** %.reg2mem6\n store i64 0, i64* %.reg2mem8\n store i32 0, i32* %sv_0.15.reg2mem\n store i32 %spec.select, i32* %sv_1.24.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.24.reload = load i32, i32* %sv_1.24.reg2mem\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %23 = icmp eq i8 %.reload, 10\n %24 = icmp eq i1 %23, false\n store i32 %sv_1.24.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %24, label LBL_12, label LBL_5\n LBL_5:\n %.reload9 = load i64, i64* %.reg2mem8\n %.reload7 = load i8*, i8** %.reg2mem6\n %25 = icmp eq i32 %sv_1.24.reload, 0\n store i64 %.reload9, i64* %rdx.0.reg2mem\n br i1 %25, label LBL_8, label LBL_6\n LBL_6:\n %26 = icmp eq i32 %sv_1.24.reload, 1\n %27 = icmp eq i1 %26, false\n store i32 %sv_1.24.reload, i32* %sv_1.0.reg2mem\n br i1 %27, label LBL_11, label LBL_7\n LBL_7:\n %28 = load i64, i64* %10, align 8\n %29 = inttoptr i64 %28 to i8*\n %30 = call i8* @strstr(i8* nonnull %21, i8* %29)\n %31 = icmp eq i8* %30, null\n store i64 %28, i64* %rdx.0.reg2mem\n store i32 %sv_1.24.reload, i32* %sv_1.0.reg2mem\n br i1 %31, label LBL_11, label LBL_8\n LBL_8:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_2, i64 %rdx.0.reload, i64 %3, i64 %2, i64 %1)\n %33 = load i8, i8* %.reload7, align 1\n %34 = icmp eq i8 %33, 10\n %35 = icmp eq i1 %34, false\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %35, label LBL_11, label LBL_9\n LBL_9:\n %36 = add i64 %.reload9, %18\n %37 = add i64 %36, 1\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = icmp eq i8 %39, 10\n %41 = icmp eq i1 %40, false\n store i32 0, i32* %sv_1.0.reg2mem\n br i1 %41, label LBL_11, label LBL_10\n LBL_10:\n %42 = add i64 %36, 2\n %43 = inttoptr i64 %42 to i8*\n %44 = load i8, i8* %43, align 1\n %45 = icmp eq i8 %44, 10\n %46 = icmp eq i1 %45, false\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %46, label LBL_11, label LBL_17\n LBL_11:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %47 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 128)\n store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8\n %48 = add i32 %sv_0.15.reload, 1\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %48, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %49 = sext i32 %sv_0.0.reload to i64\n %50 = add i64 %49, %18\n %51 = call i32 @strlen(i8* nonnull %21)\n %52 = sext i32 %51 to i64\n %53 = inttoptr i64 %50 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = add i64 %22, %52\n %56 = inttoptr i64 %55 to i8*\n store i8 %54, i8* %56, align 1\n %57 = call i32 @strlen(i8* nonnull %21)\n %58 = icmp ult i32 %57, 127\n br i1 %58, label LBL_13, label LBL_14\n LBL_13:\n %59 = add i32 %sv_0.0.reload, 1\n %60 = sext i32 %59 to i64\n %61 = add i64 %60, %18\n %62 = inttoptr i64 %61 to i8*\n %63 = load i8, i8* %62, align 1\n %64 = icmp eq i8 %63, 0\n %65 = icmp eq i1 %64, false\n store i8 %63, i8* %.reg2mem\n store i8* %62, i8** %.reg2mem6\n store i64 %60, i64* %.reg2mem8\n store i32 %59, i32* %sv_0.15.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.24.reg2mem\n br i1 %65, label LBL_4, label LBL_15\n LBL_14:\n %66 = zext i8 %54 to i64\n %67 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_2, i64 %66, i64 %3, i64 %2, i64 %1)\n %68 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 128)\n br label LBL_13\n LBL_15:\n %69 = load i64, i64* %sv_2, align 8\n %70 = trunc i64 %69 to i8\n %71 = icmp eq i8 %70, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %71, label LBL_17, label LBL_16\n LBL_16:\n store i32 1, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8 %54, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %.reload9, { 1, 0 }\n uselistorder i32 %sv_0.15.reload, { 1, 0 }\n uselistorder i32 %sv_1.24.reload, { 1, 2, 4, 3, 0 }\n uselistorder i8* %21, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 6, 0, 1, 2, 3, 4, 5 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem6, { 1, 0, 2 }\n uselistorder i64* %.reg2mem8, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.24.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @print_line, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0, 3 }\n uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0, 2 }\n uselistorder i1 false, { 6, 1, 2, 3, 4, 5, 0, 7 }\n uselistorder i32 0, { 4, 11, 5, 0, 1, 2, 12, 3, 6, 13, 7, 8, 9, 10 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_17, { 2, 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rend_service_intro_established_10990", "fun_name": "rend_service_intro_established", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i64, i64* %7, align 8\n %12 = call i64 @FUNC(i64 %11, i64 0)\n %13 = trunc i64 %3 to i32\n %14 = icmp eq i32 %13, 1\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %4, i64 %2, i64 %1)\n br label LBL_7\n LBL_2:\n %16 = call i64 @FUNC(i64 %12)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = add i64 %5, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i64 %22, i64 %4, i64 %2, i64 %1)\n br label LBL_7\n LBL_4:\n %24 = call i64 @FUNC(i64 %5)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = add i64 %5, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = call i64 @FUNC(i64* nonnull %sv_0)\n %31 = zext i32 %29 to i64\n %32 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([98 x i8], [98 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 %31, i64 %2, i64 %1)\n br label LBL_7\n LBL_6:\n %33 = inttoptr i64 %16 to i32*\n %34 = inttoptr i64 %24 to i32*\n store i32 1, i32* %34, align 4\n %35 = call i32 @time(i32* null)\n store i32 %35, i32* %33, align 4\n %36 = call i64 @FUNC(i64 %5)\n %37 = call i64 @FUNC(i64 %36, i64 2)\n %38 = call i64 @FUNC(i64* nonnull %sv_0, i64 33, i64 %12, i64 20)\n %39 = add i64 %5, 4\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_3, i64 0, i64 0), i64 %42, i64* nonnull %sv_0, i64 %2, i64 %1)\n %44 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %45 = call i64 @FUNC(i64 %5)\n %46 = call i64 @FUNC(i64 %45, i64 1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 0, 2, 4, 3, 1, 5, 6, 7 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 0, 3, 2, 1 }\n uselistorder i64 %1, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @TO_CIRCUIT, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @log_warn, { 2, 1, 0 }\n uselistorder i64 0, { 0, 4, 5, 6, 7, 14, 8, 9, 15, 10, 11, 12, 1, 2, 3, 13 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "git_smart_subtransport_http_10517", "fun_name": "git_smart_subtransport_http", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = call i64 @FUNC(i64 72, i64 1)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n %5 = add i64 %2, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 %arg2, i64* %6, align 8\n %7 = inttoptr i64 %2 to i64*\n store i64 4198710, i64* %7, align 8\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 4198717, i64* %9, align 8\n %10 = add i64 %2, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 4198724, i64* %11, align 8\n %12 = add i64 %2, 32\n %13 = inttoptr i64 %12 to i64*\n store i64 4198731, i64* %13, align 8\n %14 = add i64 %2, 40\n %15 = inttoptr i64 %14 to i64*\n store i64 4198738, i64* %15, align 8\n %16 = add i64 %2, 48\n %17 = inttoptr i64 %16 to i64*\n store i64 4198745, i64* %17, align 8\n %18 = add i64 %2, 56\n %19 = inttoptr i64 %18 to i64*\n store i64 4198752, i64* %19, align 8\n %20 = add i64 %2, 64\n %21 = inttoptr i64 %20 to i64*\n store i64 4198759, i64* %21, align 8\n store i64 %2, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sdp_copy_raw_data_10042", "fun_name": "sdp_copy_raw_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %.reg2mem8 = alloca i32\n %.pre-phi.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rdx.0.lcssa.reg2mem = alloca i64\n %rcx.0.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %5 = add i64 %4, 256\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %sv_3 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = add i64 %indvars.iv.reload, %4\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = trunc i64 %indvars.iv.reload to i32\n %14 = mul i32 %13, 2\n %15 = sub i32 256, %14\n %16 = zext i32 %14 to i64\n %17 = add i64 %16, %9\n %18 = inttoptr i64 %17 to i8*\n %19 = zext i8 %12 to i32\n %20 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %18, i32 %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %19)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %21 = load i32, i32* %6, align 4\n %22 = zext i32 %21 to i64\n %23 = icmp ult i64 %indvars.iv.next, %22\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %23, label LBL_2, label LBL_3\n LBL_3:\n %24 = zext i8 %12 to i64\n store i64 %24, i64* %rcx.0.lcssa.reg2mem\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rdx.0.lcssa.reg2mem\n br label LBL_4\n LBL_4:\n %rdx.0.lcssa.reload = load i64, i64* %rdx.0.lcssa.reg2mem\n %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_3, i64 %rdx.0.lcssa.reload, i64 %rcx.0.lcssa.reload, i64 %2, i64 %1)\n %26 = add i64 %4, 264\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %31, label LBL_12, label LBL_5\n LBL_5:\n %32 = add i64 %28, 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %28, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = zext i32 %37 to i64\n %39 = sub i32 %34, %37\n %40 = load i32, i32* %6, align 4\n store i32 %40, i32* %sv_2, align 4\n %41 = trunc i64 %arg2 to i8\n %42 = icmp eq i8 %41, 0\n store i32 %40, i32* %.reg2mem\n store i32 %39, i32* %sv_0.0.reg2mem\n store i64 %4, i64* %sv_1.0.reg2mem\n store i64 %38, i64* %rcx.1.reg2mem\n br i1 %42, label LBL_9, label LBL_6\n LBL_6:\n %43 = add i32 %39, -1\n %44 = add i64 %4, 1\n %45 = urem i64 %3, 256\n %46 = call i64 @FUNC(i64 %44, i64 %45, i32* nonnull %sv_2)\n %47 = sext i32 %43 to i64\n %48 = sub i64 %46, %44\n %49 = icmp sgt i64 %48, %47\n br i1 %49, label LBL_7, label LBL_8\n LBL_7:\n %50 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64* bitcast ([18 x i8]* @gv_3 to i64*), i64 %47, i64 %45, i64 %2, i64 %1)\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %51 = trunc i64 %48 to i32\n %52 = sub i32 %43, %51\n %.pre = load i32, i32* %sv_2, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %52, i32* %sv_0.0.reg2mem\n store i64 %46, i64* %sv_1.0.reg2mem\n store i64 %45, i64* %rcx.1.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %53 = icmp ugt i32 %sv_0.0.reload, %.reload\n %spec.select = select i1 %53, i32 %.reload, i32 %sv_0.0.reload\n %54 = sub i64 %sv_1.0.reload, %4\n %55 = trunc i64 %54 to i32\n %56 = sub i32 256, %55\n %57 = icmp ugt i32 %spec.select, %56\n %58 = zext i32 %spec.select to i64\n store i64 %58, i64* %.pre-phi.reg2mem\n store i32 %.reload, i32* %.reg2mem8\n store i32 %spec.select, i32* %sv_0.2.reg2mem\n br i1 %57, label LBL_10, label LBL_11\n LBL_10:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %59 = zext i32 %56 to i64\n %60 = inttoptr i64 %59 to i64*\n %61 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i64* %60, i64 %58, i64 %rcx.1.reload, i64 %2, i64 %1)\n %.pre6 = load i32, i32* %sv_2, align 4\n store i64 %59, i64* %.pre-phi.reg2mem\n store i32 %.pre6, i32* %.reg2mem8\n store i32 %56, i32* %sv_0.2.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %.reload9 = load i32, i32* %.reg2mem8\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %62 = zext i32 %.reload9 to i64\n %63 = call i64 @FUNC(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @gv_5, i64 0, i64 0), i64* bitcast ([18 x i8]* @gv_3 to i64*), i64 %62, i64 %.pre-phi.reload, i64 %sv_1.0.reload, i64 %4)\n %64 = load i64, i64* %27, align 8\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = add i64 %64, 12\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = zext i32 %69 to i64\n %71 = add i64 %66, %70\n %72 = inttoptr i64 %71 to i64*\n %73 = inttoptr i64 %sv_1.0.reload to i64*\n %74 = call i64* @memcpy(i64* %72, i64* %73, i32 %sv_0.2.reload)\n %75 = load i64, i64* %27, align 8\n %76 = add i64 %75, 12\n %77 = inttoptr i64 %76 to i32*\n %78 = load i32, i32* %77, align 4\n %79 = add i32 %78, %sv_0.2.reload\n store i32 %79, i32* %77, align 4\n store i64 %75, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.2.reload, { 1, 0 }\n uselistorder i64 %58, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 2, 1, 0 }\n uselistorder i64 %44, { 1, 0 }\n uselistorder i32 %39, { 1, 0 }\n uselistorder i64 %28, { 1, 0, 2 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32* %6, { 0, 2, 1 }\n uselistorder i64 %4, { 3, 4, 2, 0, 5, 1, 6 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem8, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64*, i64, i64, i64, i64)* @SDP_TRACE_WARNING, { 3, 2, 1, 0 }\n uselistorder [5 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avcodec_register_all_157", "fun_name": "avcodec_register_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8\n br label LBL_2\n LBL_2:\n %3 = zext i32 %0 to i64\n ret i64 %3\n\n uselistorder i32 %0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "l2cap_sock_getname_11484", "fun_name": "l2cap_sock_getname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %1, i64 %1)\n %6 = bitcast i64* %arg2 to i16*\n store i16 31, i16* %6, align 2\n %7 = bitcast i64* %arg3 to i32*\n store i32 10, i32* %7, align 4\n %8 = icmp eq i32 %arg4, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = inttoptr i64 %4 to i16*\n %10 = load i16, i16* %9, align 2\n store i16 %10, i16* %6, align 2\n %11 = call i64 @FUNC(i64 %1)\n %12 = add i64 %11, 6\n %13 = add i64 %0, 2\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = add i64 %4, 2\n %16 = inttoptr i64 %15 to i16*\n %17 = load i16, i16* %16, align 2\n %18 = zext i16 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i16\n %21 = add i64 %0, 8\n %22 = inttoptr i64 %21 to i16*\n store i16 %20, i16* %22, align 2\n br label LBL_3\n LBL_2:\n %23 = add i64 %4, 6\n %24 = inttoptr i64 %23 to i16*\n %25 = load i16, i16* %24, align 2\n store i16 %25, i16* %6, align 2\n %26 = call i64 @FUNC(i64 %1)\n %27 = add i64 %0, 2\n %28 = call i64 @FUNC(i64 %27, i64 %26)\n %29 = add i64 %4, 4\n %30 = inttoptr i64 %29 to i16*\n %31 = load i16, i16* %30, align 2\n %32 = zext i16 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i16\n %35 = add i64 %0, 8\n %36 = inttoptr i64 %35 to i16*\n store i16 %34, i16* %36, align 2\n br label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i16* %6, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0, 3, 2, 4 }\n uselistorder i64 %0, { 2, 3, 0, 1 }\n uselistorder i64 (i64)* @cpu_to_le16, { 1, 0 }\n uselistorder i64 (i64, i64)* @bacpy, { 1, 0 }\n uselistorder i64 (i64)* @bt_sk, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mmap_rnd_10246", "fun_name": "mmap_rnd", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = urem i64 %2, 2\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = call i64 @FUNC()\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %9 = urem i64 %8, 256\n store i64 %9, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %10 = urem i64 %8, 268435456\n store i64 %10, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %11 = mul i64 %sv_0.0.reload, 4096\n ret i64 %11\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "addFloat32Sigs_14523", "fun_name": "addFloat32Sigs", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %storemerge17.in.reg2mem = alloca i16\n %sv_2.1.reg2mem = alloca i32\n %sv_3.1.reg2mem = alloca i32\n %sv_4.1.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %0 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = trunc i64 %arg2 to i32\n %3 = udiv i64 %arg1, 8388608\n %4 = trunc i64 %3 to i16\n %5 = urem i16 %4, 256\n %6 = udiv i64 %arg2, 8388608\n %7 = trunc i64 %6 to i16\n %8 = urem i16 %7, 256\n %9 = sub nsw i16 %5, %8\n %10 = sext i16 %9 to i32\n %11 = mul i32 %0, 64\n %12 = and i32 %11, 536870848\n %13 = mul i32 %2, 64\n %14 = and i32 %13, 536870848\n %15 = icmp slt i16 %9, 1\n br i1 %15, label LBL_8, label LBL_1\n LBL_1:\n %16 = icmp eq i16 %5, 255\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = icmp eq i32 %12, 0\n %19 = and i64 %1, 4294967295\n %spec.select23 = select i1 %18, i64 %19, i64 2143289344\n ret i64 %spec.select23\n LBL_3:\n %20 = icmp eq i16 %8, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = mul i32 %10, 65536\n %sext4 = add nsw i32 %22, -65536\n %23 = ashr exact i32 %sext4, 16\n store i32 %14, i32* %sv_2.0.reg2mem\n store i32 %23, i32* %sv_4.0.reg2mem\n br label LBL_6\n LBL_5:\n %24 = or i32 %14, 536870912\n store i32 %24, i32* %sv_2.0.reg2mem\n store i32 %10, i32* %sv_4.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %25 = trunc i32 %sv_4.0.reload to i16\n %26 = icmp sgt i16 %25, 31\n store i32 %12, i32* %sv_3.1.reg2mem\n store i32 0, i32* %sv_2.1.reg2mem\n store i16 %5, i16* %storemerge17.in.reg2mem\n br i1 %26, label LBL_22, label LBL_7\n LBL_7:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %27 = urem i32 %sv_4.0.reload, 32\n %28 = icmp eq i32 %27, 0\n %29 = lshr i32 %sv_2.0.reload, %27\n %notmask25 = shl nsw i32 -1, %27\n %30 = sub i32 0, %notmask25\n %phitmp = sub i32 %30, 1\n %storemerge = select i1 %28, i32 0, i32 %phitmp\n %31 = and i32 %storemerge, %sv_2.0.reload\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n %34 = zext i1 %33 to i32\n %35 = or i32 %29, %34\n store i32 %12, i32* %sv_3.1.reg2mem\n store i32 %35, i32* %sv_2.1.reg2mem\n store i16 %5, i16* %storemerge17.in.reg2mem\n br label LBL_22\n LBL_8:\n %36 = icmp ne i16 %9, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_17, label LBL_9\n LBL_9:\n %38 = icmp eq i16 %8, 255\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_12, label LBL_10\n LBL_10:\n %40 = icmp eq i32 %14, 0\n store i64 2143289344, i64* %rax.0.reg2mem\n br i1 %40, label LBL_11, label LBL_24\n LBL_11:\n %41 = zext i8 %arg3 to i64\n %42 = mul i64 %41, 2147483648\n %43 = and i64 %42, 2147483648\n %44 = or i64 %43, 2139095040\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_12:\n %45 = icmp eq i16 %5, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_14, label LBL_13\n LBL_13:\n %47 = mul i32 %10, 65536\n %sext11 = add nsw i32 %47, 65536\n %48 = ashr exact i32 %sext11, 16\n store i32 %12, i32* %sv_3.0.reg2mem\n store i32 %48, i32* %sv_4.1.reg2mem\n br label LBL_15\n LBL_14:\n %49 = or i32 %12, 536870912\n store i32 %49, i32* %sv_3.0.reg2mem\n store i32 %10, i32* %sv_4.1.reg2mem\n br label LBL_15\n LBL_15:\n %sv_4.1.reload = load i32, i32* %sv_4.1.reg2mem\n %50 = trunc i32 %sv_4.1.reload to i16\n %51 = icmp slt i16 %50, -31\n store i32 0, i32* %sv_3.1.reg2mem\n store i32 %14, i32* %sv_2.1.reg2mem\n store i16 %8, i16* %storemerge17.in.reg2mem\n br i1 %51, label LBL_22, label LBL_16\n LBL_16:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %52 = sub nsw i32 0, %sv_4.1.reload\n %53 = urem i32 %52, 32\n %54 = icmp eq i32 %53, 0\n %55 = lshr i32 %sv_3.0.reload, %53\n %notmask = shl nsw i32 -1, %53\n %56 = sub i32 0, %notmask\n %phitmp15 = sub i32 %56, 1\n %storemerge14 = select i1 %54, i32 0, i32 %phitmp15\n %57 = and i32 %storemerge14, %sv_3.0.reload\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n %60 = zext i1 %59 to i32\n %61 = or i32 %55, %60\n store i32 %61, i32* %sv_3.1.reg2mem\n store i32 %14, i32* %sv_2.1.reg2mem\n store i16 %8, i16* %storemerge17.in.reg2mem\n br label LBL_22\n LBL_17:\n %62 = icmp eq i16 %5, 255\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_19, label LBL_18\n LBL_18:\n %64 = or i32 %14, %12\n %65 = icmp eq i32 %64, 0\n %66 = and i64 %1, 4294967295\n %spec.select24 = select i1 %65, i64 %66, i64 2143289344\n store i64 %spec.select24, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_19:\n %67 = icmp eq i16 %5, 0\n %68 = icmp eq i1 %67, false\n br i1 %68, label LBL_21, label LBL_20\n LBL_20:\n %69 = zext i8 %arg3 to i32\n %70 = shl i32 %69, 31\n %71 = add nuw nsw i32 %14, %12\n %72 = udiv i32 %71, 64\n %73 = or i32 %72, %70\n %74 = zext i32 %73 to i64\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_21:\n %75 = add nuw nsw i32 %14, %12\n %76 = or i32 %75, 1073741824\n %77 = zext i16 %5 to i32\n store i32 %77, i32* %sv_1.0.reg2mem\n store i32 %76, i32* %sv_0.0.reg2mem\n br label LBL_23\n LBL_22:\n %storemerge17.in.reload = load i16, i16* %storemerge17.in.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem\n %78 = zext i16 %storemerge17.in.reload to i32\n %79 = or i32 %sv_3.1.reload, 536870912\n %80 = add i32 %sv_2.1.reload, %79\n %81 = mul i32 %80, 2\n %82 = mul i32 %78, 65536\n %sext7 = add nsw i32 %82, -65536\n %83 = ashr exact i32 %sext7, 16\n %84 = icmp slt i32 %81, 0\n %85 = icmp eq i1 %84, false\n %spec.select21 = select i1 %85, i32 %83, i32 %78\n %spec.select22 = select i1 %85, i32 %81, i32 %80\n store i32 %spec.select21, i32* %sv_1.0.reg2mem\n store i32 %spec.select22, i32* %sv_0.0.reg2mem\n br label LBL_23\n LBL_23:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %86 = zext i8 %arg3 to i32\n %87 = shl i32 %86, 31\n %88 = mul i32 %sv_1.0.reload, 8388608\n %89 = or i32 %88, %87\n %90 = udiv i32 %sv_0.0.reload, 2\n %91 = or i32 %89, %90\n %92 = zext i32 %91 to i64\n store i64 %92, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %81, { 1, 0 }\n uselistorder i32 %80, { 1, 0 }\n uselistorder i32 %78, { 1, 0 }\n uselistorder i32 %53, { 0, 2, 1 }\n uselistorder i32 %sv_3.0.reload, { 1, 0 }\n uselistorder i32 %sv_4.1.reload, { 1, 0 }\n uselistorder i32 %27, { 0, 2, 1 }\n uselistorder i32 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %sv_4.0.reload, { 1, 0 }\n uselistorder i32 %14, { 3, 4, 5, 1, 0, 7, 6, 2 }\n uselistorder i32 %12, { 3, 4, 5, 7, 2, 0, 1, 6 }\n uselistorder i32 %10, { 0, 2, 1, 3 }\n uselistorder i16 %8, { 1, 0, 3, 4, 2 }\n uselistorder i16 %5, { 7, 3, 4, 5, 0, 1, 6, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_4.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_4.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.1.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i16* %storemerge17.in.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 2147483648, { 1, 0 }\n uselistorder i32 16, { 1, 0, 2 }\n uselistorder i32 65536, { 0, 3, 1, 2 }\n uselistorder i16 0, { 1, 2, 0, 3 }\n uselistorder i64 2143289344, { 1, 0, 2 }\n uselistorder i32 0, { 7, 8, 9, 4, 2, 10, 6, 1, 11, 12, 5, 3, 13, 0, 14 }\n uselistorder i32 64, { 2, 0, 1 }\n uselistorder i32 1, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 %arg3, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_24, { 2, 3, 0, 4, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cbq_under_limit_10823", "fun_name": "cbq_under_limit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 40\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = icmp eq i64 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_10\n LBL_1:\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = inttoptr i64 %4 to i32*\n %16 = load i32, i32* %8, align 4\n %17 = add i64 %4, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %16 to i64\n %21 = zext i32 %19 to i64\n %22 = call i64 @FUNC(i64 %21, i64 %20)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_4, label LBL_3\n LBL_3:\n %26 = add i64 %0, 20\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %28 = add i64 %sv_0.0.reload, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n %33 = add i64 %0, 36\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = add i32 %35, 1\n store i32 %36, i32* %34, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %37 = add i64 %30, 16\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = load i32, i32* %15, align 4\n %41 = icmp ugt i32 %39, %40\n store i64 0, i64* %rax.0.reg2mem\n br i1 %41, label LBL_10, label LBL_7\n LBL_7:\n %42 = add i64 %30, 32\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_9, label LBL_8\n LBL_8:\n %50 = load i32, i32* %43, align 4\n %51 = load i32, i32* %18, align 4\n %52 = zext i32 %50 to i64\n %53 = zext i32 %51 to i64\n %54 = call i64 @FUNC(i64 %53, i64 %52)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n store i64 %30, i64* %sv_0.0.reg2mem\n br i1 %57, label LBL_4, label LBL_9\n LBL_9:\n %58 = add i64 %30, 20\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %30, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %0, { 3, 1, 4, 2, 5, 0, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 5, 2 }\n uselistorder i64 (i64, i64)* @PSCHED_TLESS, { 1, 0 }\n uselistorder i64 (i64)* @PSCHED_IS_PASTPERFECT, { 1, 0 }\n uselistorder label LBL_10, { 2, 0, 3, 4, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_v4l2_m2m_codec_reinit_16780", "fun_name": "ff_v4l2_m2m_codec_reinit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %6 = add i64 %4, 20\n %7 = call i64 @FUNC(i64 %6, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %6, i64 0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %12 = add i64 %4, 16\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = add i64 %4, 24\n %17 = inttoptr i64 %16 to i64*\n br label LBL_4\n LBL_4:\n %18 = call i32 @sem_wait(i64* %17)\n %19 = icmp eq i32 %18, -1\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = call i32* @__errno_location()\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 4\n br i1 %23, label LBL_4, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %6)\n %25 = call i64 @FUNC(i64 %6)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %29 = and i64 %25, 4294967295\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %30 = call i64 @FUNC(i64 %6)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %34 = and i64 %30, 4294967295\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %35 = add i64 %4, 24\n %36 = inttoptr i64 %35 to i64*\n %37 = call i32 @sem_destroy(i64* %36)\n %38 = call i32 @sem_init(i64* %36, i32 0, i32 0)\n %39 = add i64 %4, 8\n %40 = inttoptr i64 %39 to i32*\n store i32 0, i32* %40, align 4\n %41 = add i64 %4, 12\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0, 4, 3, 2, 6, 5, 7 }\n uselistorder i64 %4, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i64 %3, { 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "RemoveICCProfileFromResourceBlock_8566", "fun_name": "RemoveICCProfileFromResourceBlock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rbx.05.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i16, align 2\n %sv_3 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp ult i64 %1, 16\n store i64 %1, i64* %rax.1.reg2mem\n br i1 %2, label LBL_11, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %3, %1\n %5 = add i64 %4, -16\n %6 = bitcast i16* %sv_2 to i64*\n %7 = bitcast i32* %sv_0 to i64*\n store i64 %3, i64* %rbx.05.reg2mem\n br label LBL_9\n LBL_2:\n %8 = call i64 @FUNC(i64 %rbx.05.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %rax.1.reg2mem\n br i1 %11, label LBL_11, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 0, i64 %rbx.05.reload, i64* nonnull %sv_3)\n %13 = call i64 @FUNC(i64 0, i64 %12, i64* nonnull %6)\n %14 = call i64 @FUNC(i64 0, i64 %13, i64* nonnull %sv_1)\n %15 = call i64 @FUNC(i64 0, i64 %14, i64* nonnull %7)\n %16 = load i16, i16* %sv_2, align 2\n %17 = icmp eq i16 %16, 1039\n %18 = icmp eq i1 %17, false\n %19 = load i32, i32* %sv_0, align 4\n %20 = zext i32 %19 to i64\n br i1 %18, label LBL_8, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %21, 12\n %23 = icmp sgt i64 %22, 11\n %24 = icmp ugt i64 %1, %22\n %or.cond = icmp eq i1 %23, %24\n store i64 %22, i64* %rax.1.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_11\n LBL_5:\n %25 = add i64 %22, %rbx.05.reload\n %26 = icmp ult i64 %25, %5\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = add i64 %4, -12\n %29 = sub i64 %28, %rbx.05.reload\n %30 = sub i64 %29, %21\n %31 = call i64 @FUNC(i64 %rbx.05.reload, i64 %25, i64 %30)\n br label LBL_7\n LBL_7:\n %32 = sub i64 %1, %22\n %33 = call i64 @FUNC(i64 %0, i64 %32)\n store i64 %33, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_8:\n %34 = add i64 %15, %20\n %35 = urem i32 %19, 2\n %36 = icmp ne i32 %35, 0\n %37 = zext i1 %36 to i64\n %spec.select = add i64 %34, %37\n %38 = icmp ugt i64 %3, %spec.select\n store i64 %spec.select, i64* %rbx.05.reg2mem\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %rbx.05.reload = load i64, i64* %rbx.05.reg2mem\n %39 = icmp ult i64 %rbx.05.reload, %5\n store i64 %5, i64* %rax.1.reg2mem\n br i1 %39, label LBL_2, label LBL_11\n LBL_10:\n %40 = zext i32 %35 to i64\n store i64 %40, i64* %rax.1.reg2mem\n br label LBL_11\n LBL_11:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %rbx.05.reload, { 1, 2, 0, 4, 5, 3 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %22, { 4, 1, 0, 3, 2 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64 %1, { 3, 2, 1, 0, 4 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 4, 5, 2, 6 }\n uselistorder i64 (i64, i64, i64*)* @PushShortPixel, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @PushLongPixel, { 1, 0 }\n uselistorder label LBL_11, { 2, 0, 4, 3, 1, 5 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fimd_swap_data_15828", "fun_name": "fimd_swap_data", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.3.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.14.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = urem i64 %arg1, 2\n %2 = icmp eq i64 %1, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %sv_1.14.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = sub nsw i64 0, %indvars.iv.reload\n %4 = urem i64 %3, 64\n %5 = shl i64 1, %4\n %6 = and i64 %5, %0\n %7 = icmp eq i64 %6, 0\n %8 = shl i64 1, %indvars.iv.reload\n %9 = select i1 %7, i64 0, i64 %8\n %sv_1.0 = or i64 %9, %sv_1.14.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %sv_1.0, i64* %sv_1.14.reg2mem\n store i64 %sv_1.0, i64* %sv_0.0.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %10 = and i64 %arg1, 2\n %11 = icmp eq i64 %10, 0\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %12, i64* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %13 = and i64 %arg1, 4\n %14 = icmp eq i64 %13, 0\n store i64 %sv_0.1.reload, i64* %sv_0.2.reg2mem\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = mul i64 %sv_0.1.reload, 281474976710656\n %16 = mul i64 %sv_0.1.reload, 65536\n %17 = urem i64 %16, 281470681743361\n %18 = udiv i64 %sv_0.1.reload, 65536\n %19 = and i64 %18, 4294901760\n %20 = udiv i64 %sv_0.1.reload, 281474976710656\n %21 = or i64 %20, %15\n %22 = or i64 %21, %17\n %23 = or i64 %22, %19\n store i64 %23, i64* %sv_0.2.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %24 = and i64 %arg1, 8\n %25 = icmp eq i64 %24, 0\n store i64 %sv_0.2.reload, i64* %sv_0.3.reg2mem\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = mul i64 %sv_0.2.reload, 4294967296\n %27 = udiv i64 %sv_0.2.reload, 4294967296\n %28 = or i64 %27, %26\n store i64 %28, i64* %sv_0.3.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n store i64 %sv_0.3.reload, i64* %arg2, align 8\n ret i64 %0\n\n uselistorder i64 %sv_0.2.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.1.reload, { 2, 1, 4, 3, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.14.reg2mem, { 2, 0, 1 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 65536, { 1, 0 }\n uselistorder i64 281474976710656, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 3, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qtrle_decode_8bpp_14713", "fun_name": "qtrle_decode_8bpp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rax.0.ph22.in.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %.reg2mem95 = alloca i32\n %.reg2mem93 = alloca i64\n %.reg2mem91 = alloca i32\n %sv_0.024.reg2mem = alloca i32\n %sv_1.025.reg2mem = alloca i32\n %sv_0.2.be.reg2mem = alloca i32\n %sv_2.1.be.reg2mem = alloca i64\n %sv_0.232.reg2mem = alloca i32\n %.reg2mem89 = alloca i64\n %.reg2mem87 = alloca i64\n %.reg2mem = alloca i64\n %.in.reg2mem = alloca i8\n %sv_2.236.reg2mem = alloca i64\n %sv_3.037.reg2mem = alloca i64\n %sext638.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext5 = mul i64 %arg4, 4294967296\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %sv_4.034 = ashr exact i64 %sext5, 32\n %6 = trunc i64 %sv_4.034 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %sv_4.034, i64* %rax.0.ph22.in.reg2mem\n br i1 %8, label LBL_1, label LBL_21\n LBL_1:\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = mul i32 %13, %5\n %sext4 = mul i64 %arg3, 4294967296\n %15 = ashr exact i64 %sext4, 32\n %sext = mul i64 %arg2, 4294967296\n %16 = ashr exact i64 %sext, 32\n %17 = add i64 %0, 32\n %18 = inttoptr i64 %17 to i64*\n %19 = sext i32 %14 to i64\n store i64 %sext5, i64* %sext638.in.reg2mem\n store i64 %15, i64* %sv_3.037.reg2mem\n store i64 %16, i64* %sv_2.236.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.236.reload = load i64, i64* %sv_2.236.reg2mem\n %20 = add nsw i64 %sv_2.236.reload, 2\n %21 = trunc i64 %20 to i32\n %22 = icmp ult i32 %21, 9\n store i64 %20, i64* %rax.0.ph22.in.reg2mem\n br i1 %22, label LBL_3, label LBL_21\n LBL_3:\n %sv_3.037.reload = load i64, i64* %sv_3.037.reg2mem\n %sext638.in.reload = load i64, i64* %sext638.in.reg2mem\n %23 = mul i64 %sv_2.236.reload, 4294967296\n %sext7 = add i64 %23, 4294967296\n %24 = ashr exact i64 %sext7, 32\n %25 = trunc i64 %sv_3.037.reload to i32\n %26 = load i64, i64* %18, align 8\n %sext931 = add i64 %23, 8589934592\n %27 = ashr exact i64 %sext931, 32\n %28 = add i64 %26, %24\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = icmp eq i8 %30, -1\n %32 = icmp eq i1 %31, false\n store i64 %27, i64* %.lcssa.reg2mem\n br i1 %32, label LBL_4, label LBL_17\n LBL_4:\n %33 = add i32 %25, -4\n %34 = add i64 %26, %sv_2.236.reload\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = zext i8 %36 to i32\n %38 = mul i32 %37, 4\n %39 = add i32 %33, %38\n store i8 %30, i8* %.in.reg2mem\n store i64 %27, i64* %.reg2mem\n store i64 %sext7, i64* %.reg2mem87\n store i64 %26, i64* %.reg2mem89\n store i32 %39, i32* %sv_0.232.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.232.reload = load i32, i32* %sv_0.232.reg2mem\n %.reload90 = load i64, i64* %.reg2mem89\n %.reload88 = load i64, i64* %.reg2mem87\n %.reload = load i64, i64* %.reg2mem\n %.in.reload = load i8, i8* %.in.reg2mem\n %40 = icmp eq i8 %.in.reload, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_9, label LBL_6\n LBL_6:\n %42 = add nsw i64 %.reload, 1\n %43 = trunc i64 %42 to i32\n %44 = icmp ult i32 %43, 9\n br i1 %44, label LBL_7, label LBL_18\n LBL_7:\n %sext11 = add i64 %.reload88, 8589934592\n %45 = ashr exact i64 %sext11, 32\n %46 = add i64 %.reload90, %.reload\n %47 = inttoptr i64 %46 to i8*\n %48 = load i8, i8* %47, align 1\n %49 = zext i8 %48 to i32\n %50 = mul i32 %49, 4\n %51 = add i32 %sv_0.232.reload, -4\n %52 = add i32 %51, %50\n store i64 %45, i64* %sv_2.1.be.reg2mem\n store i32 %52, i32* %sv_0.2.be.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.2.be.reload = load i32, i32* %sv_0.2.be.reg2mem\n %sv_2.1.be.reload = load i64, i64* %sv_2.1.be.reg2mem\n %53 = load i64, i64* %18, align 8\n %54 = mul i64 %sv_2.1.be.reload, 4294967296\n %sext9 = add i64 %54, 4294967296\n %55 = ashr exact i64 %sext9, 32\n %56 = add i64 %53, %sv_2.1.be.reload\n %57 = inttoptr i64 %56 to i8*\n %58 = load i8, i8* %57, align 1\n %59 = icmp eq i8 %58, -1\n %60 = icmp eq i1 %59, false\n store i8 %58, i8* %.in.reg2mem\n store i64 %55, i64* %.reg2mem\n store i64 %54, i64* %.reg2mem87\n store i64 %53, i64* %.reg2mem89\n store i32 %sv_0.2.be.reload, i32* %sv_0.232.reg2mem\n store i64 %55, i64* %.lcssa.reg2mem\n br i1 %60, label LBL_5, label LBL_17\n LBL_9:\n %61 = sext i8 %.in.reload to i32\n %62 = icmp slt i8 %.in.reload, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_13, label LBL_10\n LBL_10:\n %64 = add nsw i64 %.reload, 4\n %65 = trunc i64 %64 to i32\n %66 = icmp ult i32 %65, 9\n br i1 %66, label LBL_11, label LBL_19\n LBL_11:\n %67 = sub nsw i32 0, %61\n %68 = add i64 %.reload90, %.reload\n %69 = inttoptr i64 %68 to i8*\n %70 = load i8, i8* %69, align 1\n %sext14 = add i64 %.reload88, 8589934592\n %71 = ashr exact i64 %sext14, 32\n %72 = add i64 %71, %.reload90\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %sext15 = add i64 %.reload88, 12884901888\n %75 = ashr exact i64 %sext15, 32\n %76 = add i64 %75, %.reload90\n %77 = inttoptr i64 %76 to i8*\n %78 = load i8, i8* %77, align 1\n %79 = add i64 %.reload88, 17179869184\n %sext16 = add i64 %.reload88, 21474836480\n %80 = ashr exact i64 %sext16, 32\n %81 = ashr exact i64 %79, 32\n %82 = add i64 %81, %.reload90\n %83 = inttoptr i64 %82 to i8*\n %84 = load i8, i8* %83, align 1\n %85 = mul i32 %67, 4\n %86 = add i32 %sv_0.232.reload, %85\n %87 = zext i32 %86 to i64\n %88 = icmp slt i64 %19, %87\n store i32 %67, i32* %sv_1.025.reg2mem\n store i32 %sv_0.232.reload, i32* %sv_0.024.reg2mem\n store i64 %87, i64* %rax.0.reg2mem\n br i1 %88, label LBL_22, label LBL_12\n LBL_12:\n %sv_0.024.reload = load i32, i32* %sv_0.024.reg2mem\n %sv_1.025.reload = load i32, i32* %sv_1.025.reg2mem\n %89 = add i32 %sv_1.025.reload, -1\n %90 = add i32 %sv_0.024.reload, 1\n %91 = sext i32 %sv_0.024.reload to i64\n %92 = add i64 %91, %0\n %93 = inttoptr i64 %92 to i8*\n store i8 %70, i8* %93, align 1\n %94 = add i32 %sv_0.024.reload, 2\n %95 = sext i32 %90 to i64\n %96 = add i64 %95, %0\n %97 = inttoptr i64 %96 to i8*\n store i8 %74, i8* %97, align 1\n %98 = add i32 %sv_0.024.reload, 3\n %99 = sext i32 %94 to i64\n %100 = add i64 %99, %0\n %101 = inttoptr i64 %100 to i8*\n store i8 %78, i8* %101, align 1\n %102 = add i32 %sv_0.024.reload, 4\n %103 = sext i32 %98 to i64\n %104 = add i64 %103, %0\n %105 = inttoptr i64 %104 to i8*\n store i8 %84, i8* %105, align 1\n %106 = icmp eq i32 %89, 0\n %107 = icmp eq i1 %106, false\n store i64 %80, i64* %sv_2.1.be.reg2mem\n store i32 %102, i32* %sv_0.2.be.reg2mem\n store i32 %89, i32* %sv_1.025.reg2mem\n store i32 %102, i32* %sv_0.024.reg2mem\n br i1 %107, label LBL_12, label LBL_8\n LBL_13:\n %108 = mul i32 %61, 4\n %109 = trunc i64 %.reload to i32\n %110 = add i32 %108, %109\n %111 = icmp ult i32 %110, 9\n br i1 %111, label LBL_14, label LBL_20\n LBL_14:\n %112 = add i32 %sv_0.232.reload, %108\n %113 = zext i32 %112 to i64\n %114 = icmp slt i64 %19, %113\n store i64 %113, i64* %rax.0.reg2mem\n br i1 %114, label LBL_22, label LBL_15\n LBL_15:\n %115 = add nsw i32 %108, -1\n %116 = mul i64 %.reload, 4294967296\n %sext1879 = add i64 %116, 4294967296\n %117 = ashr exact i64 %sext1879, 32\n %118 = add i64 %.reload, %.reload90\n %119 = add i32 %sv_0.232.reload, 1\n %120 = sext i32 %sv_0.232.reload to i64\n %121 = add i64 %120, %0\n %122 = inttoptr i64 %118 to i8*\n %123 = load i8, i8* %122, align 1\n %124 = inttoptr i64 %121 to i8*\n store i8 %123, i8* %124, align 1\n store i32 %119, i32* %.reg2mem91\n store i64 %117, i64* %.reg2mem93\n store i32 %115, i32* %.reg2mem95\n br label LBL_16\n LBL_16:\n %.reload96 = load i32, i32* %.reg2mem95\n %.reload94 = load i64, i64* %.reg2mem93\n %.reload92 = load i32, i32* %.reg2mem91\n %.pre = load i64, i64* %18, align 8\n %125 = add i32 %.reload96, -1\n %126 = mul i64 %.reload94, 4294967296\n %sext18 = add i64 %126, 4294967296\n %127 = ashr exact i64 %sext18, 32\n %128 = add i64 %.reload94, %.pre\n %129 = add i32 %.reload92, 1\n %130 = sext i32 %.reload92 to i64\n %131 = add i64 %130, %0\n %132 = inttoptr i64 %128 to i8*\n %133 = load i8, i8* %132, align 1\n %134 = inttoptr i64 %131 to i8*\n store i8 %133, i8* %134, align 1\n %135 = icmp eq i32 %125, 0\n %136 = icmp eq i1 %135, false\n store i64 %127, i64* %sv_2.1.be.reg2mem\n store i32 %129, i32* %sv_0.2.be.reg2mem\n store i32 %129, i32* %.reg2mem91\n store i64 %127, i64* %.reg2mem93\n store i32 %125, i32* %.reg2mem95\n br i1 %136, label LBL_16, label LBL_8\n LBL_17:\n %sext638 = add i64 %sext638.in.reload, -4294967296\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %137 = add i32 %5, %25\n %138 = sext i32 %137 to i64\n %sv_4.0 = ashr exact i64 %sext638, 32\n %139 = trunc i64 %sv_4.0 to i32\n %140 = icmp eq i32 %139, 0\n %141 = icmp eq i1 %140, false\n store i64 %sext638, i64* %sext638.in.reg2mem\n store i64 %138, i64* %sv_3.037.reg2mem\n store i64 %.lcssa.reload, i64* %sv_2.236.reg2mem\n store i64 %sv_4.0, i64* %rax.0.ph22.in.reg2mem\n br i1 %141, label LBL_2, label LBL_21\n LBL_18:\n %142 = and i64 %42, 4294967295\n store i64 %142, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_19:\n %143 = and i64 %64, 4294967295\n store i64 %143, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_20:\n %144 = zext i32 %110 to i64\n store i64 %144, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_21:\n %rax.0.ph22.in.reload = load i64, i64* %rax.0.ph22.in.reg2mem\n %rax.0.ph22 = and i64 %rax.0.ph22.in.reload, 4294967295\n store i64 %rax.0.ph22, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %108, { 2, 1, 0 }\n uselistorder i32 %sv_0.024.reload, { 4, 3, 2, 1, 0 }\n uselistorder i8 %.in.reload, { 2, 0, 1 }\n uselistorder i64 %.reload, { 5, 6, 2, 4, 1, 3, 0 }\n uselistorder i64 %.reload90, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 %sv_0.232.reload, { 5, 4, 3, 0, 2, 1 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %sv_2.236.reload, { 1, 2, 0 }\n uselistorder i64* %18, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }\n uselistorder i64* %sext638.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_3.037.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.236.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem87, { 1, 0, 2 }\n uselistorder i64* %.reg2mem89, { 1, 0, 2 }\n uselistorder i32* %sv_0.232.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.1.be.reg2mem, { 2, 1, 0, 3 }\n uselistorder i32* %sv_0.2.be.reg2mem, { 2, 1, 0, 3 }\n uselistorder i32* %sv_1.025.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.024.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem91, { 1, 0, 2 }\n uselistorder i64* %.reg2mem93, { 1, 0, 2 }\n uselistorder i32* %.reg2mem95, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 4, 5, 2, 1 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i8 -1, { 1, 0 }\n uselistorder i64 8589934592, { 1, 2, 0 }\n uselistorder i1 false, { 7, 2, 3, 4, 6, 5, 1, 0 }\n uselistorder i64 32, { 3, 4, 0, 5, 6, 7, 8, 10, 9, 2, 11, 14, 13, 12, 1 }\n uselistorder i64 4294967296, { 8, 0, 7, 1, 9, 2, 10, 3, 4, 5, 6 }\n uselistorder label LBL_22, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_21, { 1, 0, 2 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "test_tco_second_timeout_pause_2093", "fun_name": "test_tco_second_timeout_pause", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i8*, align 8\n store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8\n %0 = bitcast i8** %sv_0 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0)\n %2 = call i64 @FUNC(i64* nonnull %0)\n %3 = call i64 @FUNC(i64* nonnull %0)\n %4 = call i64 @FUNC(i64 1)\n %5 = call i64 @FUNC(i64* nonnull %0, i64 16000)\n %6 = call i64 @FUNC(i64* nonnull %0)\n %7 = call i64 @FUNC(i64* nonnull %0)\n %8 = call i64 @FUNC(i64 64000000)\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %11 = inttoptr i64 %10 to i8*\n %12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %13 = icmp eq i32 %12, 0\n %14 = zext i1 %13 to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = call i64 @FUNC(i64 %9)\n %17 = call i64 @FUNC(i64* nonnull %0)\n %18 = call i64 @FUNC(i64* nonnull %0)\n ret i64 %18\n\n uselistorder i8** %sv_0, { 1, 0 }\n uselistorder i64 (i64*)* @stop_tco, { 1, 0 }\n uselistorder i32 1, { 11, 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mqtt_conn_add_6260", "fun_name": "mqtt_conn_add", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 88)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC()\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = inttoptr i64 %0 to i32*\n %6 = trunc i64 %arg1 to i32\n store i32 %6, i32* %5, align 4\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 1, i32* %8, align 4\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 4198931, i64* %12, align 8\n %13 = add i64 %0, 24\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %15 = add i64 %0, 32\n %16 = inttoptr i64 %15 to i32*\n store i32 %6, i32* %16, align 4\n %17 = add i64 %0, 40\n %18 = inttoptr i64 %17 to i64*\n store i64 %4, i64* %18, align 8\n %19 = add i64 %0, 48\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %20, align 8\n %21 = add i64 %0, 56\n %22 = inttoptr i64 %21 to i64*\n store i64 0, i64* %22, align 8\n %23 = add i64 %0, 64\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %0, 68\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = call i64 @FUNC(i64 %4, i32 %6, i64 1, i64 1, i64 %0)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, -1\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_4, label LBL_3\n LBL_3:\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0))\n %32 = call i32 @close(i32 %6)\n %33 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %34 = add i64 %4, 8\n %35 = add i64 %0, 72\n %36 = call i64 @FUNC(i64 %35, i64 %34)\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xps_begin_opacity_11466", "fun_name": "xps_begin_opacity", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64* %arg5, i64 %arg6, i64* %arg7) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n %2 = icmp eq i64 %arg6, 0\n %3 = icmp eq i64* %arg7, null\n %or.cond = icmp eq i1 %2, %3\n br i1 %or.cond, label LBL_13, label LBL_1\n LBL_1:\n %4 = call i128 @FUNC(i32 1065353216)\n %5 = call i64 @__asm_movss.1(i128 %4)\n %6 = trunc i64 %5 to i32\n store i32 %6, i32* %sv_0.0.reg2mem\n br i1 %2, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i128 @FUNC(i64 %arg6)\n %8 = call i32 @FUNC(i128 %7)\n store i32 %8, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %9 = ptrtoint i64* %arg7 to i64\n %10 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.3.reg2mem\n br i1 %3, label LBL_9, label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 %9)\n %12 = inttoptr i64 %11 to i8*\n %13 = call i32 @strcmp(i8* %12, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %9, i64* %sv_1.0.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.3.reg2mem\n br i1 %15, label LBL_9, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))\n %17 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %18 = icmp eq i64 %16, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i128 @FUNC(i64 %16)\n %20 = call i128 @FUNC(i32 %sv_0.0.reload)\n %21 = call i128 @FUNC(i128 %19, i128 %20)\n %22 = call i64 @__asm_movss.1(i128 %21)\n %23 = trunc i64 %22 to i32\n store i32 %23, i32* %sv_0.1.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %24 = icmp eq i64 %17, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem\n br i1 %24, label LBL_9, label LBL_8\n LBL_8:\n %25 = bitcast i32* %sv_3 to i64*\n %26 = call i64 @FUNC(i64 %10, i64 %arg4, i64 %17, i64* nonnull %sv_2, i64* nonnull %25)\n %27 = load i32, i32* %sv_3, align 4\n %28 = call i128 @FUNC(i32 %27)\n %29 = call i128 @FUNC(i32 %sv_0.1.reload)\n %30 = call i128 @FUNC(i128 %28, i128 %29)\n %31 = call i64 @__asm_movss.1(i128 %30)\n %32 = trunc i64 %31 to i32\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 %32, i32* %sv_0.3.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %33 = mul i64 %1, 4294967296\n %sext = add i64 %33, 4294967296\n %34 = ashr exact i64 %sext, 32\n %35 = add i64 %10, 4\n %36 = call i64 @FUNC(i64 %35)\n %37 = icmp ugt i64 %36, %34\n %38 = icmp eq i1 %37, false\n store i64 %36, i64* %rax.0.reg2mem\n br i1 %38, label LBL_11, label LBL_10\n LBL_10:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %39 = bitcast i64* %rdi to i32*\n %40 = ashr exact i64 %33, 30\n %41 = add i64 %40, %35\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = call i128 @FUNC(i32 %43)\n %45 = call i128 @__asm_mulss.2(i128 %44, i32 %sv_0.3.reload)\n %46 = call i64 @__asm_movss.1(i128 %45)\n %47 = ashr exact i64 %sext, 30\n %48 = add i64 %47, %35\n %49 = trunc i64 %46 to i32\n %50 = inttoptr i64 %48 to i32*\n store i32 %49, i32* %50, align 4\n %51 = load i32, i32* %39, align 8\n %52 = add i32 %51, 1\n %53 = bitcast i64* %arg1 to i32*\n store i32 %52, i32* %53, align 4\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %54 = icmp eq i64 %sv_1.0.reload, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n %55 = ptrtoint i64* %arg5 to i64\n %56 = ptrtoint i64* %arg3 to i64\n %57 = ptrtoint i64* %arg2 to i64\n %58 = add i64 %10, 48\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = call i64 @FUNC(i64 %60, i64 %56, i64 0, i64 0, i64 0)\n %62 = call i64 @FUNC(i64 %10, i64 %57, i64 %56, i64 %arg4, i64 %55, i64 %sv_1.0.reload)\n %63 = load i64, i64* %59, align 8\n %64 = call i64 @FUNC(i64 %63)\n store i64 %64, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_13:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %56, { 1, 0 }\n uselistorder i64 %33, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 3, 2, 0, 1 }\n uselistorder i64 %10, { 2, 3, 0, 4, 1 }\n uselistorder i64 %9, { 3, 2, 0, 4, 1 }\n uselistorder i1 %3, { 1, 0 }\n uselistorder i1 %2, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 (i64, i8*)* @fz_xml_att, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }\n uselistorder i128 (i64)* @fz_atof, { 1, 0 }\n uselistorder i64* %arg7, { 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_13, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvm_init_msr_list_10919", "fun_name": "kvm_init_msr_list", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %sv_0.11.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.11.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.11.reload = load i32, i32* %sv_0.11.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %0 = mul i64 %indvars.iv.reload, 4\n %1 = add i64 %0, ptrtoint (i32** @gv_0 to i64)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_2, i64* nonnull %sv_1)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n store i32 %sv_0.11.reload, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = zext i32 %sv_0.11.reload to i64\n %9 = icmp ugt i64 %indvars.iv.reload, %8\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = load i32, i32* %2, align 4\n %12 = mul i64 %8, 4\n %13 = add i64 %12, ptrtoint (i32** @gv_0 to i64)\n %14 = inttoptr i64 %13 to i32*\n store i32 %11, i32* %14, align 4\n br label LBL_4\n LBL_4:\n %15 = add i32 %sv_0.11.reload, 1\n store i32 %15, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 280\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.11.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_1\n LBL_6:\n %16 = zext i32 %sv_0.0.reload to i64\n store i32 %sv_0.0.reload, i32* inttoptr (i64 4211876 to i32*), align 4\n ret i64 %16\n\n uselistorder i32 %sv_0.11.reload, { 1, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.11.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "isparam_10821", "fun_name": "isparam", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %storemerge2.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = load i64, i64* bitcast ([2 x i8*]* @gv_1 to i64*), align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = zext i1 %5 to i64\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg1, i8* %18)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2.LBL_6_crit_edge, label LBL_4\n LBL_3:\n %.pre = load i64, i64* %16, align 8\n %.phi.trans.insert = inttoptr i64 %.pre to i8*\n %.pre4 = load i8, i8* %.phi.trans.insert, align 1\n store i8 %.pre4, i8* %.reg2mem\n br label LBL_6\n LBL_4:\n %11 = add nuw i32 %storemerge2.reload, 1\n %12 = icmp ugt i32 %storemerge2.reload, 8\n store i32 %11, i32* %storemerge2.reg2mem\n br i1 %12, label LBL_7, label LBL_5\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %13 = sext i32 %storemerge2.reload to i64\n %14 = mul i64 %13, 8\n %15 = add i64 %14, ptrtoint ([10 x i8*]* @gv_2 to i64)\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 0\n %21 = icmp eq i1 %20, false\n store i8 %19, i8* %.reg2mem\n br i1 %21, label LBL_2, label LBL_6\n LBL_6:\n %.reload = load i8, i8* %.reg2mem\n %22 = icmp eq i8 %.reload, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %22, label LBL_7, label LBL_8\n LBL_7:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %18, { 1, 0 }\n uselistorder i64* %16, { 1, 0 }\n uselistorder i32 %storemerge2.reload, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 (i64, i8*)* @strieq, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_fiemap_4916", "fun_name": "ext4_fiemap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge5.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = ptrtoint i32* %arg2 to i64\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %2, i64 %7, i64 %arg3, i64 %arg4, i64 4198825)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %9 = call i64 @FUNC(i64 %7, i64 0)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_7\n LBL_3:\n %12 = urem i64 %1, 2\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %2, i64 %7)\n store i64 %14, i64* %storemerge5.in.reg2mem\n br label LBL_6\n LBL_5:\n %15 = urem i64 %7, 64\n %storemerge = lshr i64 %arg3, %15\n %16 = add i64 %arg3, -1\n %17 = add i64 %16, %arg4\n %rdx.0 = lshr i64 %17, %15\n %18 = trunc i64 %rdx.0 to i32\n %19 = icmp ult i64 %rdx.0, 1024\n %spec.select = select i1 %19, i32 %18, i32 1023\n %20 = trunc i64 %storemerge to i32\n %21 = sub i32 1, %20\n %22 = add i32 %21, %spec.select\n %23 = call i64 @FUNC(i64 %2, i32 %20, i32 %22, i64 4198814, i64 %7)\n store i64 %23, i64* %storemerge5.in.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge5.in.reload = load i64, i64* %storemerge5.in.reg2mem\n %24 = and i64 %storemerge5.in.reload, 4294967295\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %20, { 1, 0 }\n uselistorder i64 %rdx.0, { 1, 0 }\n uselistorder i64 %7, { 2, 0, 1, 4, 3 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge5.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "swf_get_16_12124", "fun_name": "swf_get_16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 16)\n %2 = mul i64 %1, 256\n %3 = udiv i64 %1, 256\n %4 = urem i64 %3, 256\n %.masked = and i64 %2, 65280\n %5 = or i64 %4, %.masked\n ret i64 %5\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 256, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "my_free_11138", "fun_name": "my_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i64* @gv_1 to i32*), align 8\n %0 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %0)\n ret i64 ptrtoint (i32* @0 to i64)\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "free_pipe_info_12513", "fun_name": "free_pipe_info", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.2.reg2mem = alloca i64\n %rdi.1.lcssa.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %.reg2mem5 = alloca i32\n %rdi.11.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem3 = alloca i64\n %.reg2mem = alloca i32\n %0 = add i64 %arg1, 32\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = add i64 %arg1, 24\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = zext i32 %2 to i64\n %7 = call i64 @FUNC(i64 %5, i64 %6, i64 0)\n %8 = load i64, i64* %4, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %arg1, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n store i32 %12, i32* %.reg2mem\n store i64 0, i64* %.reg2mem3\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %8, i64* %rdi.11.reg2mem\n store i64 %8, i64* %rdi.1.lcssa.reg2mem\n br i1 %13, label LBL_4, label LBL_1\n LBL_1:\n %rdi.11.reload = load i64, i64* %rdi.11.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload4 = load i64, i64* %.reg2mem3\n %.reload = load i32, i32* %.reg2mem\n %14 = mul i64 %.reload4, 8\n %15 = add i64 %rdi.11.reload, %14\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n store i32 %.reload, i32* %.reg2mem5\n store i64 %rdi.11.reload, i64* %rdi.0.reg2mem\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %arg1, i64 %15)\n %.pre = load i32, i32* %11, align 4\n store i32 %.pre, i32* %.reg2mem5\n store i64 %arg1, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %.reload6 = load i32, i32* %.reg2mem5\n %20 = add i32 %storemerge2.reload, 1\n %21 = zext i32 %.reload6 to i64\n %22 = sext i32 %20 to i64\n %23 = icmp slt i64 %22, %21\n store i32 %.reload6, i32* %.reg2mem\n store i64 %22, i64* %.reg2mem3\n store i32 %20, i32* %storemerge2.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.11.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %23, label LBL_1, label LBL_4\n LBL_4:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %24 = add i64 %arg1, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n store i64 %rdi.1.lcssa.reload, i64* %rdi.2.reg2mem\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %26)\n store i64 %26, i64* %rdi.2.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %29 = call i64 @FUNC(i64 %rdi.2.reload)\n %30 = call i64 @FUNC(i64 %arg1)\n ret i64 %30\n\n uselistorder i32 %.reload6, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem3, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.11.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i32 1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 4, 0, 2, 3, 5, 6 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xps_sample_gradient_stops_8040", "fun_name": "xps_sample_gradient_stops", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %.pre-phi11.pre-phi.reg2mem = alloca i32*\n %sv_0.0.reg2mem = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %xmm0.04.reg2mem = alloca i128\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.13.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %xmm0.04.reload = load i128, i128* %xmm0.04.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = call i128 @FUNC(i128 %xmm0.04.reload, i128 %xmm0.04.reload)\n %4 = trunc i64 %indvars.iv.reload to i32\n %5 = call i128 @FUNC(i32 %4)\n %6 = call i128 @__asm_movss.1(i32 1132396544)\n %7 = call i128 @FUNC(i128 %5, i128 %6)\n %8 = call i64 @FUNC(i128 %7)\n %9 = trunc i64 %8 to i32\n store i32 %sv_0.13.reload, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %10 = add i32 %sv_0.0.reload, 1\n %11 = zext i32 %10 to i64\n %12 = icmp sgt i64 %2, %11\n %13 = sext i32 %sv_0.0.reload to i64\n %14 = mul nsw i64 %13, 20\n %15 = add i64 %14, %0\n %16 = add i64 %15, 20\n br i1 %12, label LBL_4, label LBL_2.LBL_5_crit_edge\n LBL_3:\n %.pre = inttoptr i64 %16 to i32*\n store i32* %.pre, i32** %.pre-phi11.pre-phi.reg2mem\n br label LBL_5\n LBL_4:\n %17 = icmp ult i64 %16, %0\n %18 = icmp eq i64 %16, 0\n %19 = inttoptr i64 %16 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = call i128 @__asm_movss.1(i32 %20)\n %22 = call i128 @__asm_movss.1(i32 %9)\n call void @FUNC(i128 %22, i128 %21)\n %23 = or i1 %17, %18\n store i32 %10, i32* %sv_0.0.reg2mem\n store i32* %19, i32** %.pre-phi11.pre-phi.reg2mem\n br i1 %23, label LBL_5, label LBL_2\n LBL_5:\n %.pre-phi11.pre-phi.reload = load i32*, i32** %.pre-phi11.pre-phi.reg2mem\n %24 = inttoptr i64 %15 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = call i128 @__asm_movss.1(i32 %25)\n %27 = call i128 @__asm_movss.1(i32 %9)\n %28 = call i128 @__asm_subss.2(i128 %27, i128 %26)\n %29 = load i32, i32* %.pre-phi11.pre-phi.reload, align 4\n %30 = call i128 @__asm_movss.1(i32 %29)\n %31 = load i32, i32* %24, align 4\n %32 = call i128 @__asm_movss.1(i32 %31)\n %33 = call i128 @__asm_subss.2(i128 %30, i128 %32)\n %34 = call i128 @FUNC(i128 %28, i128 %33)\n %35 = call i64 @FUNC(i128 %34)\n %36 = trunc i64 %35 to i32\n %37 = add i64 %15, 24\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = call i128 @__asm_movss.1(i32 %39)\n %41 = add i64 %15, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = call i128 @__asm_movss.1(i32 %36)\n %45 = call i128 @FUNC(i128 %44)\n %46 = call i128 @FUNC(i128 %40)\n %47 = call i128 @FUNC(i32 %43)\n %48 = call i128 @FUNC()\n %49 = call i32 @__asm_movd.3(i128 %48)\n %50 = mul i64 %indvars.iv.reload, 16\n %51 = add i64 %50, %1\n %52 = inttoptr i64 %51 to i32*\n store i32 %49, i32* %52, align 4\n %53 = add i64 %15, 28\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = call i128 @__asm_movss.1(i32 %55)\n %57 = add i64 %15, 8\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = call i128 @__asm_movss.1(i32 %36)\n %61 = call i128 @FUNC(i128 %60)\n %62 = call i128 @FUNC(i128 %56)\n %63 = call i128 @FUNC(i32 %59)\n %64 = call i128 @FUNC()\n %65 = call i32 @__asm_movd.3(i128 %64)\n %66 = add i64 %51, 4\n %67 = inttoptr i64 %66 to i32*\n store i32 %65, i32* %67, align 4\n %68 = add i64 %15, 32\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = call i128 @__asm_movss.1(i32 %70)\n %72 = add i64 %15, 12\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = call i128 @__asm_movss.1(i32 %36)\n %76 = call i128 @FUNC(i128 %75)\n %77 = call i128 @FUNC(i128 %71)\n %78 = call i128 @FUNC(i32 %74)\n %79 = call i128 @FUNC()\n %80 = call i32 @__asm_movd.3(i128 %79)\n %81 = add i64 %51, 8\n %82 = inttoptr i64 %81 to i32*\n store i32 %80, i32* %82, align 4\n %83 = add i64 %15, 36\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = call i128 @__asm_movss.1(i32 %85)\n %87 = add i64 %15, 16\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = call i128 @__asm_movss.1(i32 %36)\n %91 = call i128 @FUNC(i128 %90)\n %92 = call i128 @FUNC(i128 %86)\n %93 = call i128 @FUNC(i32 %89)\n %94 = call i128 @FUNC()\n %95 = call i32 @__asm_movd.3(i128 %94)\n %96 = add i64 %51, 12\n %97 = inttoptr i64 %96 to i32*\n store i32 %95, i32* %97, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i128 %94, i128* %xmm0.04.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.13.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_1\n LBL_6:\n %98 = sext i32 %95 to i64\n ret i64 %98\n\n uselistorder i32 %36, { 3, 2, 1, 0 }\n uselistorder i64 %16, { 1, 2, 3, 0 }\n uselistorder i64 %15, { 4, 5, 3, 6, 2, 7, 1, 8, 0, 9 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i128 %xmm0.04.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.04.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i128 ()* @lerp, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unset_regulator_supplies_8419", "fun_name": "unset_regulator_supplies", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.in.lcssa.reg2mem = alloca i64\n %storemerge.in6.in.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* inttoptr (i64 4210736 to i64*), align 16\n %2 = icmp eq i64 %1, ptrtoint (i64* @gv_0 to i64)\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %storemerge.in6.in.in.reg2mem\n store i64 %1, i64* %sv_0.0.in.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %storemerge.in6.in.in.reload = load i64, i64* %storemerge.in6.in.in.reg2mem\n %storemerge.in6.in = inttoptr i64 %storemerge.in6.in.in.reload to i64*\n %sv_0.05 = add i64 %storemerge.in6.in.in.reload, -16\n %storemerge.in6 = load i64, i64* %storemerge.in6.in, align 8\n %4 = inttoptr i64 %sv_0.05 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, %0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %storemerge.in6.in.in.reload)\n %9 = add i64 %storemerge.in6.in.in.reload, -8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %sv_0.05)\n br label LBL_3\n LBL_3:\n %14 = icmp eq i64 %storemerge.in6, ptrtoint (i64* @gv_0 to i64)\n %15 = icmp eq i1 %14, false\n store i64 %storemerge.in6, i64* %storemerge.in6.in.in.reg2mem\n store i64 %storemerge.in6, i64* %sv_0.0.in.lcssa.reg2mem\n br i1 %15, label LBL_1, label LBL_4\n LBL_4:\n %sv_0.0.in.lcssa.reload = load i64, i64* %sv_0.0.in.lcssa.reg2mem\n ret i64 %sv_0.0.in.lcssa.reload\n\n uselistorder i64 %sv_0.05, { 1, 0 }\n uselistorder i64 %storemerge.in6.in.in.reload, { 3, 2, 1, 0 }\n uselistorder i64* %storemerge.in6.in.in.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rgb8tobgr8_2445", "fun_name": "rgb8tobgr8", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg3, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i16* %arg1 to i64\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %2 = add i64 %storemerge2.reload, %1\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = udiv i8 %4, 64\n %narrow = mul i8 %5, 2\n %6 = and i8 %4, 56\n %7 = mul i8 %4, 64\n %8 = add i64 %storemerge2.reload, %arg2\n %9 = or i8 %7, %6\n %10 = or i8 %9, %narrow\n %11 = inttoptr i64 %8 to i8*\n store i8 %10, i8* %11, align 1\n %12 = add nuw nsw i64 %storemerge2.reload, 1\n %exitcond = icmp eq i64 %12, %arg3\n store i64 %12, i64* %storemerge2.reg2mem\n store i64 %arg3, i64* %storemerge.lcssa.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i8 %4, { 0, 2, 1 }\n uselistorder i64 %storemerge2.reload, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "http_read_stream_3658", "fun_name": "http_read_stream", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_1 = alloca i8, align 1\n %sv_2 = alloca i64, align 8\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_17\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_5, label LBL_2\n LBL_2:\n %12 = add i64 %7, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %7, i64* nonnull %sv_2)\n %18 = trunc i64 %17 to i32\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = and i64 %17, 4294967295\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_5:\n %sext = mul i64 %arg3, 4294967296\n %22 = ashr exact i64 %sext, 32\n %23 = add i64 %7, 12\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp slt i32 %25, 0\n store i64 %22, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_14, label LBL_6\n LBL_6:\n %27 = icmp eq i32 %25, 0\n %28 = icmp eq i1 %27, false\n store i32 %25, i32* %.reg2mem\n br i1 %28, label LBL_13, label LBL_7\n LBL_7:\n %29 = bitcast i8* %sv_1 to i64*\n br label LBL_8\n LBL_8:\n %30 = call i64 @FUNC(i64 %7, i64* nonnull %29, i64 32)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_10, label LBL_9\n LBL_9:\n %34 = and i64 %30, 4294967295\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_10:\n %35 = load i8, i8* %sv_1, align 1\n %36 = icmp eq i8 %35, 0\n br i1 %36, label LBL_8, label LBL_11\n LBL_11:\n %37 = call i64 @strtoll(i8* nonnull %sv_1, i8** null, i32 16)\n %38 = trunc i64 %37 to i32\n store i32 %38, i32* %24, align 4\n %39 = and i64 %37, 4294967295\n %40 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %39, i64 %2, i64 %1)\n %41 = load i32, i32* %24, align 4\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %43, label LBL_12, label LBL_17\n LBL_12:\n %44 = icmp eq i32 %41, 0\n %45 = icmp eq i1 %44, false\n store i32 %41, i32* %.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %45, label LBL_13, label LBL_17\n LBL_13:\n %.reload = load i32, i32* %.reg2mem\n %46 = trunc i64 %22 to i32\n %47 = sub i32 %46, %.reload\n %48 = xor i32 %.reload, %46\n %49 = xor i32 %47, %46\n %50 = and i32 %49, %48\n %51 = icmp slt i32 %50, 0\n %52 = icmp eq i32 %47, 0\n %53 = icmp slt i32 %47, 0\n %54 = icmp ne i1 %53, %51\n %55 = or i1 %52, %54\n %56 = select i1 %55, i32 %46, i32 %.reload\n %57 = sext i32 %56 to i64\n store i64 %57, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %58 = ptrtoint i64* %arg2 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %59 = add i64 %7, 16\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = icmp eq i32 %61, 0\n %63 = trunc i64 %sv_0.0.reload to i32\n br i1 %62, label LBL_16, label LBL_15\n LBL_15:\n %64 = call i64 @FUNC(i64 %7, i64 %58, i32 %63)\n store i64 %64, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %65 = call i64 @FUNC(i64 %7, i64 %58, i32 %63)\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %63, { 1, 0 }\n uselistorder i32 %47, { 1, 2, 0 }\n uselistorder i32 %46, { 2, 0, 1, 3 }\n uselistorder i32 %.reload, { 0, 2, 1 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %7, { 2, 3, 4, 1, 5, 0, 6, 7 }\n uselistorder i8* %sv_1, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 2, 5, 4, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_17, { 3, 4, 0, 1, 5, 6, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megasas_copy_sense_10746", "fun_name": "megasas_copy_sense", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 32)\n %2 = trunc i64 %1 to i8\n %3 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i8 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_usb_caiaq_midi_init_6612", "fun_name": "snd_usb_caiaq_midi_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = add i64 %2, 264\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %2, 260\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %2, 4\n %10 = zext i32 %5 to i64\n %11 = zext i32 %8 to i64\n %12 = and i64 %1, 4294967295\n %13 = call i64 @FUNC(i64 %12, i64 %9, i64 0, i64 %11, i64 %10, i64* nonnull %sv_0)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = and i64 %13, 4294967295\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %18 = load i64, i64* %sv_0, align 8\n %19 = call i64 @FUNC(i64 %18, i64 %9, i64 256)\n %20 = load i64, i64* %sv_0, align 8\n %21 = add i64 %20, 256\n %22 = inttoptr i64 %21 to i32*\n store i32 1, i32* %22, align 4\n %23 = load i64, i64* %sv_0, align 8\n %24 = add i64 %23, 264\n %25 = inttoptr i64 %24 to i64*\n store i64 %2, i64* %25, align 8\n %26 = load i32, i32* %7, align 4\n %27 = icmp slt i32 %26, 1\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = load i64, i64* %sv_0, align 8\n %29 = add i64 %28, 256\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = or i32 %31, 2\n store i32 %32, i32* %30, align 4\n %33 = load i64, i64* %sv_0, align 8\n %34 = call i64 @FUNC(i64 %33, i64 1, i64* nonnull @gv_0)\n br label LBL_4\n LBL_4:\n %35 = load i32, i32* %4, align 4\n %36 = icmp slt i32 %35, 1\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %37 = load i64, i64* %sv_0, align 8\n %38 = add i64 %37, 256\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = or i32 %40, 4\n store i32 %41, i32* %39, align 4\n %42 = load i64, i64* %sv_0, align 8\n %43 = call i64 @FUNC(i64 %42, i64 2, i64* nonnull @gv_1)\n br label LBL_6\n LBL_6:\n %44 = load i64, i64* %sv_0, align 8\n %45 = add i64 %2, 272\n %46 = inttoptr i64 %45 to i64*\n store i64 %44, i64* %46, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 1, 2, 3, 4, 5, 6, 7, 8, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64*)* @snd_rawmidi_set_ops, { 1, 0 }\n uselistorder i64 256, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hns_nic_dump_8281", "fun_name": "hns_nic_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %.pre = add i64 %0, 8\n br i1 %1, label LBL_6, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %.pre to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_6, label LBL_2\n LBL_2:\n %5 = trunc i64 %0 to i32\n %6 = add i32 %5, 3\n %7 = and i32 %6, -4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8, i64 4, i64 0)\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_6, label LBL_3\n LBL_3:\n %11 = icmp eq i32 %7, 0\n store i64 0, i64* %indvars.iv5.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %12 = mul i64 %indvars.iv5.reload, 4\n %13 = or i64 %12, 12\n %14 = add i64 %13, %9\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = or i64 %12, 8\n %18 = add i64 %17, %9\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = or i64 %12, 4\n %22 = add i64 %21, %9\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %12, %9\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = trunc i64 %indvars.iv5.reload to i32\n %29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i32 %28, i32 %27, i32 %24, i32 %20, i32 %16)\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 4\n %30 = icmp ult i64 %indvars.iv.next6, %8\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br i1 %30, label LBL_4, label LBL_5\n LBL_5:\n %31 = call i64 @FUNC(i64 %9)\n br label LBL_6\n LBL_6:\n %32 = inttoptr i64 %.pre to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %34, label LBL_9, label LBL_7\n LBL_7:\n %35 = add i64 %0, 16\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %37 = load i64, i64* %36, align 8\n %38 = mul i64 %indvars.iv.reload, 8\n %39 = add i64 %37, %38\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = zext i32 %43 to i64\n %45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i64 %indvars.iv.reload, i64 %44)\n %46 = load i64, i64* %36, align 8\n %47 = add i64 %46, %38\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = add i64 %49, 4\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = zext i32 %52 to i64\n %54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0), i64 %indvars.iv.reload, i64 %53)\n %55 = load i64, i64* %36, align 8\n %56 = add i64 %55, %38\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = add i64 %58, 8\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = zext i32 %61 to i64\n %63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %indvars.iv.reload, i64 %62)\n %64 = load i64, i64* %36, align 8\n %65 = add i64 %64, %38\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = add i64 %67, 12\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = zext i32 %70 to i64\n %72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %indvars.iv.reload, i64 %71)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %73 = load i32, i32* %32, align 4\n %74 = zext i32 %73 to i64\n %75 = icmp ult i64 %indvars.iv.next, %74\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %74, i64* %.lcssa.reg2mem\n br i1 %75, label LBL_8, label LBL_9\n LBL_9:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %38, { 3, 2, 1, 0 }\n uselistorder i32* %32, { 1, 0 }\n uselistorder i64 %12, { 3, 2, 1, 0 }\n uselistorder i64 %9, { 4, 0, 1, 2, 3, 5 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %indvars.iv5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*, ...)* @printf, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_max_cost_4685", "fun_name": "get_max_cost", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n %6 = trunc i64 %1 to i32\n store i32 %6, i32* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %7 = ptrtoint i32* %arg2 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 2\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %7, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = mul i32 %6, 2\n %17 = mul i32 %16, %15\n store i32 %17, i32* %rax.0.shrunk.reg2mem\n br label LBL_4\n LBL_3:\n %18 = icmp eq i32 %10, 3\n %. = sext i1 %18 to i32\n store i32 %., i32* %rax.0.shrunk.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_system_io_map_15632", "fun_name": "set_system_io_map", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n store i64 %0, i64* @gv_0, align 8\n %2 = call i64 @FUNC()\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "net_slirp_init_3193", "fun_name": "net_slirp_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i32 1, i32* @gv_0, align 4\n %3 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 4198761, i64 0, i64 0)\n %6 = inttoptr i64 %5 to i8*\n store i8* %6, i8** @gv_1, align 8\n %7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %6, i32 256, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n ret i64 0\n\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mdbDeleteCmd_9868", "fun_name": "mdbDeleteCmd", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = urem i32 %2, 2\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = add i64 %arg1, 40\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %.reg2mem\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %11 = inttoptr i64 %.reload to i64*\n %12 = load i64, i64* %11, align 8\n store i64 %12, i64* %7, align 8\n %13 = add i64 %.reload, 16\n %14 = inttoptr i64 %13 to i64*\n call void @free(i64* %14)\n call void @free(i64* %11)\n %15 = load i64, i64* %7, align 8\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_4:\n %18 = add i64 %arg1, 48\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = inttoptr i64 %20 to i64*\n call void @free(i64* %22)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64* %7, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "target_to_host_errno_1548", "fun_name": "target_to_host_errno", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = icmp slt i32 %0, 0\n %3 = trunc i64 %1 to i32\n %4 = icmp sgt i32 %3, 255\n %or.cond = or i1 %2, %4\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %5 = ashr exact i64 %sext, 30\n %6 = add i64 %5, ptrtoint (i32** @gv_0 to i64)\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = zext i32 %8 to i64\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %11 = and i64 %1, 4294967295\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clk_pllv3_av_recalc_rate_4137", "fun_name": "clk_pllv3_av_recalc_rate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = load i64, i64* %2, align 8\n %6 = add i64 %5, 4\n %7 = call i64 @FUNC(i64 %6)\n %8 = load i64, i64* %2, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i32 %13, %10\n %15 = and i64 %4, 4294967295\n %16 = mul i64 %15, %arg2\n %17 = and i64 %7, 4294967295\n %18 = call i64 @FUNC(i64 %16, i64 %17)\n %19 = zext i32 %14 to i64\n %20 = mul i64 %19, %arg2\n %21 = add i64 %20, %16\n ret i64 %21\n\n uselistorder i64 (i64)* @readl_relaxed, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mmap_find_vma_reserved_15690", "fun_name": "mmap_find_vma_reserved", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.3.reg2mem = alloca i64\n %sv_2.1.reg2mem = alloca i32\n %.reg2mem6 = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp ult i64 %0, %arg2\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %1, label LBL_10, label LBL_1\n LBL_1:\n %2 = load i32, i32* inttoptr (i64 4210736 to i32*), align 16\n %3 = add i32 %2, -1\n %4 = sext i32 %3 to i64\n %5 = add i64 %4, %arg2\n %6 = load i32, i32* @gv_1, align 4\n %7 = sub i32 0, %6\n %8 = sext i32 %7 to i64\n %9 = and i64 %5, %8\n %10 = add i64 %9, %arg1\n %11 = icmp ugt i64 %10, %0\n %spec.select = select i1 %11, i64 %0, i64 %10\n %12 = sext i32 %6 to i64\n %13 = sub i64 %spec.select, %12\n store i32 %6, i32* %.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n store i64 %spec.select, i64* %sv_1.1.reg2mem\n store i64 %13, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %14 = icmp ugt i64 %sv_0.0.reload, %sv_1.1.reload\n br i1 %14, label LBL_3, label LBL_5\n LBL_3:\n %15 = icmp eq i32 %sv_2.0.reload, 0\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_10\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %16 = load i64, i64* @gv_0, align 8\n %17 = sext i32 %.reload to i64\n %18 = sub i64 %16, %17\n store i32 %.reload, i32* %.reg2mem6\n store i32 1, i32* %sv_2.1.reg2mem\n store i64 %16, i64* %sv_1.3.reg2mem\n store i64 %18, i64* %sv_0.1.reg2mem\n br label LBL_7\n LBL_5:\n %19 = call i64 @FUNC(i64 %sv_0.0.reload)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %spec.select1 = select i1 %21, i64 %sv_1.1.reload, i64 %sv_0.0.reload\n %22 = add i64 %sv_0.0.reload, %9\n %23 = icmp eq i64 %spec.select1, %22\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %24 = load i32, i32* @gv_1, align 4\n %25 = sext i32 %24 to i64\n %26 = sub i64 %sv_0.0.reload, %25\n store i32 %24, i32* %.reg2mem6\n store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem\n store i64 %spec.select1, i64* %sv_1.3.reg2mem\n store i64 %26, i64* %sv_0.1.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %.reload7 = load i32, i32* %.reg2mem6\n store i32 %.reload7, i32* %.reg2mem\n store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem\n store i64 %sv_1.3.reload, i64* %sv_1.1.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_8:\n %27 = load i64, i64* @gv_2, align 8\n %28 = icmp eq i64 %27, %arg1\n %29 = icmp eq i1 %28, false\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n store i64 %sv_0.0.reload, i64* @gv_2, align 8\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.1.reload, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 7, 0, 4, 6, 5, 2, 3 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i32* @gv_1, { 1, 0 }\n uselistorder i32 1, { 3, 9, 8, 7, 6, 5, 4, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ide_cd_change_cb_9361", "fun_name": "ide_cd_change_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = urem i64 %arg2, 256\n %2 = icmp eq i64 %1, 0\n %3 = zext i1 %2 to i8\n %4 = bitcast i64* %arg1 to i8*\n store i8 %3, i8* %4, align 1\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0)\n %9 = load i64, i64* %sv_0, align 8\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = add i64 %0, 40\n %13 = inttoptr i64 %12 to i8*\n store i8 1, i8* %13, align 1\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i8*\n store i8 1, i8* %15, align 1\n %16 = add i64 %0, 17\n %17 = inttoptr i64 %16 to i8*\n store i8 0, i8* %17, align 1\n %18 = add i64 %0, 32\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n ret i64 %21\n\n uselistorder i64* %sv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avrc_prep_end_frag_10504", "fun_name": "avrc_prep_end_frag", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n %6 = mul i64 %arg1, 16\n %7 = and i64 %6, 4080\n %8 = add i64 %7, ptrtoint (i64* @gv_2 to i64)\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %10, 2\n %12 = inttoptr i64 %11 to i16*\n %13 = load i16, i16* %12, align 2\n %14 = zext i16 %13 to i64\n %15 = add i64 %10, 4\n %16 = add i64 %15, %14\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = urem i8 %18, 16\n %20 = inttoptr i64 %10 to i16*\n %21 = load i16, i16* %20, align 2\n %22 = add i16 %21, -1013\n store i16 %22, i16* %20, align 2\n %23 = load i16, i16* %12, align 2\n %24 = add i16 %23, 1013\n store i16 %24, i16* %12, align 2\n %25 = zext i16 %24 to i64\n %26 = add i64 %15, %25\n %27 = add i64 %26, 1\n %28 = inttoptr i64 %26 to i8*\n store i8 %19, i8* %28, align 1\n %29 = add i64 %26, 2\n %30 = inttoptr i64 %27 to i8*\n store i8 16, i8* %30, align 1\n %31 = add i64 %26, 3\n %32 = inttoptr i64 %29 to i8*\n store i8 0, i8* %32, align 1\n %33 = call i64 @FUNC(i64 %31, i64 0)\n %34 = add i64 %26, 4\n %35 = add i64 %7, add (i64 ptrtoint (i64* @gv_2 to i64), i64 8)\n %36 = inttoptr i64 %35 to i8*\n %37 = load i8, i8* %36, align 8\n %38 = inttoptr i64 %31 to i8*\n store i8 %37, i8* %38, align 1\n %39 = add i64 %26, 5\n %40 = inttoptr i64 %34 to i8*\n store i8 1, i8* %40, align 1\n %41 = load i16, i16* %20, align 2\n %42 = add i16 %41, -11\n %43 = zext i16 %42 to i64\n %44 = call i64 @FUNC(i64 %39, i64 %43)\n ret i64 %44\n\n uselistorder i64 %26, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i8 16, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "h2_recv_allowed_8737", "fun_name": "h2_recv_allowed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp slt i32 %8, 0\n %11 = icmp eq i1 %10, false\n %12 = icmp eq i1 %9, false\n %13 = icmp eq i1 %11, %12\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_7, label LBL_2\n LBL_2:\n %14 = add i64 %2, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i32 %18, 2\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_7, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 %16)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_4, label LBL_7\n LBL_4:\n %25 = add i64 %2, 24\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = and i32 %27, 4\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = and i32 %27, 8\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %33, label LBL_6, label LBL_7\n LBL_6:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5 }\n uselistorder label LBL_7, { 4, 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_get_buffer_12608", "fun_name": "ff_get_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 %3, i32 %arg3)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n %10 = and i64 %5, 4294967295\n ret i64 %10\n\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 0, { 3, 1, 2, 0, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "build_l4proto_sctp_4671", "fun_name": "build_l4proto_sctp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = call i64 @FUNC(i64 %0, i64 2, i64 %4, i64 3, i64 0)\n %6 = call i64 @FUNC(i64 %0, i64 1, i64 %4, i64 4)\n %7 = call i64 @FUNC(i64 %0, i64 5, i64 %4, i64 7)\n %8 = call i64 @FUNC(i64 %0, i64 6, i64 %4, i64 8)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 3, 2, 1, 0 }\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n uselistorder i64 (i64, i64, i64, i64)* @ct_build_u32, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stream_int_shutw_9319", "fun_name": "stream_int_shutw", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = and i32 %1, -3\n %3 = bitcast i64* %arg1 to i32*\n store i32 %2, i32* %3, align 4\n %4 = urem i32 %1, 2\n %5 = zext i32 %4 to i64\n %6 = icmp eq i32 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_9, label LBL_1\n LBL_1:\n %8 = or i32 %1, 1\n store i32 %8, i32* %3, align 4\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 -1, i32* %10, align 4\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i32 %13, -33\n store i32 %14, i32* %12, align 4\n %15 = add i64 %0, 20\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = icmp sgt i32 %17, -1\n %20 = add i32 %17, -1\n %21 = icmp ult i32 %20, 4\n %or.cond = icmp eq i1 %19, %21\n store i32 %14, i32* %.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_6\n LBL_3:\n %22 = and i32 %13, 192\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = inttoptr i64 %9 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = and i32 %28, 20\n %30 = icmp eq i32 %29, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_9, label LBL_5\n LBL_5:\n store i32 5, i32* %16, align 4\n %31 = call i64 @FUNC(i64 %0)\n %.pre = load i32, i32* %12, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %32 = and i32 %.reload, -385\n store i32 %32, i32* %12, align 4\n %33 = inttoptr i64 %9 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = and i32 %36, -9\n store i32 %37, i32* %35, align 4\n %38 = load i64, i64* %33, align 8\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = or i32 %40, 4\n store i32 %41, i32* %39, align 4\n %42 = load i64, i64* %33, align 8\n %43 = add i64 %42, 4\n %44 = inttoptr i64 %43 to i32*\n store i32 -1, i32* %44, align 4\n %45 = add i64 %0, 32\n %46 = inttoptr i64 %45 to i32*\n store i32 -1, i32* %46, align 4\n %47 = load i32, i32* %12, align 4\n %48 = and i32 %47, 512\n %49 = zext i32 %48 to i64\n %50 = icmp eq i32 %48, 0\n %51 = icmp eq i1 %50, false\n store i64 %49, i64* %rax.0.reg2mem\n br i1 %51, label LBL_9, label LBL_7\n LBL_7:\n %52 = add i64 %0, 24\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = icmp eq i64 %54, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %55, label LBL_9, label LBL_8\n LBL_8:\n %56 = call i64 @FUNC(i64 %54, i64 1)\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %17, { 1, 0, 2 }\n uselistorder i32* %12, { 1, 2, 0, 3, 4 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 3, 4, 5, 6, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 1, 5 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 -1, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_9, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ProcGetImage_9671", "fun_name": "ProcGetImage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64* @malloc(i32 32)\n %1 = icmp eq i64* %0, null\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = bitcast i64* %0 to i32*\n %4 = ptrtoint i64* %0 to i64\n %5 = add i64 %4, 20\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = add i64 %4, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n %13 = add i64 %4, 12\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %4, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %4, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = load i32, i32* %3, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %23, i32 %21, i32 %18, i32 %15, i64 %12, i64 %8)\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 4, 3, 2, 1, 0 }\n uselistorder i64* %0, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "raptor_rss_parse_start_4519", "fun_name": "raptor_rss_parse_start", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64* %arg1, null\n %5 = icmp eq i1 %4, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = add i64 %3, 8\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %7 = add i64 %6, %indvars.iv.reload\n %8 = inttoptr i64 %7 to i8*\n store i8 78, i8* %8, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %9 = call i64 @FUNC(i64 %0, i64 1)\n %10 = inttoptr i64 %3 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = and i64 %9, 4294967295\n %13 = call i64 @FUNC(i64 %11, i64 1, i64 0, i64 %12)\n %14 = call i64 @FUNC(i64 %0, i64 2)\n %15 = load i64, i64* %10, align 8\n %16 = and i64 %14, 4294967295\n %17 = call i64 @FUNC(i64 %15, i64 2, i64 0, i64 %16)\n %18 = call i64 @FUNC(i64 %0, i64 3)\n %19 = load i64, i64* %10, align 8\n %20 = and i64 %18, 4294967295\n %21 = call i64 @FUNC(i64 %19, i64 3, i64 0, i64 %20)\n %22 = add i64 %0, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = add i64 %0, 24\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = load i64, i64* %10, align 8\n %30 = call i64 @FUNC(i64 %29, i64 %24, i64 %28)\n br label LBL_5\n LBL_5:\n %31 = load i64, i64* %10, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %10, { 1, 0, 2, 3, 4 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64)* @raptor_sax2_set_option, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @RAPTOR_OPTIONS_GET_NUMERIC, { 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rm_read_header_old_1298", "fun_name": "rm_read_header_old", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = call i64 @FUNC(i64 %0, i64 0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i64 %2, i64 1)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "card_id_ok_10345", "fun_name": "card_id_ok", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem5 = alloca i32\n %storemerge1.reg2mem = alloca i32\n %.reg2mem3 = alloca i64\n %.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_7\n LBL_1:\n %3 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %4 = icmp eq i32 %3, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_7, label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = inttoptr i64 %arg2 to i8*\n store i32 %3, i32* %.reg2mem\n store i64 0, i64* %.reg2mem3\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload4 = load i64, i64* %.reg2mem3\n %.reload = load i32, i32* %.reg2mem\n %7 = mul i64 %.reload4, 8\n %8 = add i64 %7, ptrtoint (i64* @gv_0 to i64)\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i64 %10, %5\n %or.cond = or i1 %11, %12\n store i32 %.reload, i32* %.reg2mem5\n br i1 %or.cond, label LBL_6, label LBL_4\n LBL_4:\n %13 = inttoptr i64 %10 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i8*\n %16 = call i32 @strcmp(i8* %15, i8* %6)\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4.LBL_6_crit_edge, label LBL_7\n LBL_5:\n %.pre = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n store i32 %.pre, i32* %.reg2mem5\n br label LBL_6\n LBL_6:\n %.reload6 = load i32, i32* %.reg2mem5\n %19 = add i32 %storemerge1.reload, 1\n %20 = zext i32 %.reload6 to i64\n %21 = sext i32 %19 to i64\n %22 = icmp slt i64 %21, %20\n store i32 %.reload6, i32* %.reg2mem\n store i64 %21, i64* %.reg2mem3\n store i32 %19, i32* %storemerge1.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %22, label LBL_3, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.reload6, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem3, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem5, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_create_server_13856", "fun_name": "nfs4_create_server", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i8* %arg2, i64* %arg3, i8* %arg4, i8* %arg5, i64 %arg6, i32* %arg7) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem8 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %2 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC()\n store i64 %3, i64* %sv_1, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 -12, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_21\n LBL_1:\n %sext = mul i64 %arg6, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = trunc i64 %1 to i32\n %8 = ptrtoint i64* %arg3 to i64\n %9 = ptrtoint i8* %arg5 to i64\n %10 = ptrtoint i8* %arg2 to i64\n %11 = and i64 %6, 4294967295\n %12 = call i64 @FUNC(i64 %3, i64 %10, i64 %8, i64 %9, i64 %11, i32 %7)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n store i64 %3, i64* %.reg2mem8\n store i32 %13, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_20, label LBL_2\n LBL_2:\n %15 = trunc i64 %6 to i32\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %3, i64 %16, i32 %15)\n %18 = trunc i64 %17 to i32\n %19 = icmp slt i32 %18, 0\n store i64 %3, i64* %.reg2mem8\n store i32 %18, i32* %sv_0.0.reg2mem\n br i1 %19, label LBL_20, label LBL_3\n LBL_3:\n %20 = inttoptr i64 %3 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %25 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %24)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %26 = inttoptr i64 %21 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %31 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %30)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %32 = inttoptr i64 %27 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_9, label LBL_8\n LBL_8:\n %36 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %37 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %36)\n call void @exit(i32 1)\n unreachable\n LBL_9:\n %38 = ptrtoint i8* %arg4 to i64\n %39 = ptrtoint i32* %arg7 to i64\n %40 = call i64 @FUNC(i64 %3, i64 %39, i64 %38)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n store i64 %3, i64* %.reg2mem8\n store i32 %41, i32* %sv_0.0.reg2mem\n br i1 %42, label LBL_20, label LBL_10\n LBL_10:\n %43 = add i64 %3, 16\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = add i64 %3, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 %48, i64 %45)\n %50 = load i32, i32* %arg7, align 4\n %51 = zext i32 %50 to i64\n %52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 %51)\n %53 = call i64 @FUNC(i64 %3, i64 %39, i64* nonnull %sv_1)\n %54 = trunc i64 %53 to i32\n %55 = icmp slt i32 %54, 0\n %.pre7 = load i64, i64* %sv_1, align 8\n store i64 %.pre7, i64* %.reg2mem8\n store i32 %54, i32* %sv_0.0.reg2mem\n br i1 %55, label LBL_20, label LBL_11\n LBL_11:\n %56 = add i64 %.pre7, 24\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = icmp ne i32 %58, 0\n %60 = icmp slt i32 %58, 256\n %or.cond = icmp eq i1 %59, %60\n store i64 %.pre7, i64* %.reg2mem\n br i1 %or.cond, label LBL_13, label LBL_12\n LBL_12:\n store i32 255, i32* %57, align 4\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_13\n LBL_13:\n %.reload = load i64, i64* %.reg2mem\n %61 = inttoptr i64 %.reload to i64*\n %62 = load i64, i64* %61, align 8\n %63 = icmp eq i64 %62, 0\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_15, label LBL_14\n LBL_14:\n %65 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %66 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %65)\n call void @exit(i32 1)\n unreachable\n LBL_15:\n %67 = inttoptr i64 %62 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = icmp eq i64 %68, 0\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_17, label LBL_16\n LBL_16:\n %71 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %72 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %71)\n call void @exit(i32 1)\n unreachable\n LBL_17:\n %73 = inttoptr i64 %68 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = icmp eq i64 %74, 0\n %76 = icmp eq i1 %75, false\n br i1 %76, label LBL_19, label LBL_18\n LBL_18:\n %77 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %78 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %77)\n call void @exit(i32 1)\n unreachable\n LBL_19:\n %79 = add i64 %.reload, 28\n %80 = inttoptr i64 %79 to i32*\n store i32 0, i32* %80, align 4\n %81 = load i64, i64* %sv_1, align 8\n %82 = inttoptr i64 %81 to i64*\n %83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_5, i64 0, i64 0), i64* %82)\n %84 = load i64, i64* %sv_1, align 8\n store i64 %84, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload9 = load i64, i64* %.reg2mem8\n %85 = call i64 @FUNC(i64 %.reload9)\n %86 = zext i32 %sv_0.0.reload to i64\n %87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_6, i64 0, i64 0), i64 %86)\n %88 = sext i32 %sv_0.0.reload to i64\n store i64 %88, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.pre7, { 1, 2, 0 }\n uselistorder i64 %3, { 3, 5, 4, 0, 7, 6, 1, 8, 2, 9, 10, 11 }\n uselistorder i64* %sv_1, { 3, 4, 1, 0, 2, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i8*, ...)* @printf, { 3, 1, 2, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder void (i32)* @exit, { 5, 3, 4, 1, 2, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 0, 5, 4, 3, 2, 1 }\n uselistorder %_IO_FILE** @gv_1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_21, { 1, 2, 0 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ip6mr_forward2_finish_17", "fun_name": "ip6mr_forward2_finish", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = ptrtoint i32* %arg3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %3, i64 %6, i64 0)\n %8 = call i64 @FUNC(i64 %4)\n %9 = call i64 @FUNC(i64 %8)\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %3, i64 %9, i64 1, i64 %10)\n %12 = call i64 @FUNC(i64 %3, i64 %2, i64 %4)\n ret i64 %12\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 (i64)* @ip6_dst_idev, { 1, 0 }\n uselistorder i64 (i64)* @skb_dst, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "render_line_15480", "fun_name": "render_line", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.in.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_1.115.reg2mem = alloca i64\n %sv_0.116.reg2mem = alloca i32\n %.in.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg5 to i64\n %1 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %2 = trunc i64 %arg2 to i32\n %sext6 = mul i64 %arg2, 4294967296\n %3 = trunc i64 %arg3 to i32\n %sext7 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext7, 32\n %5 = trunc i64 %arg4 to i32\n %6 = sub i32 %5, %2\n %7 = sub i32 %3, %1\n %8 = sub i32 0, %6\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = select i1 %10, i32 %8, i32 %6\n %12 = icmp slt i32 %6, 0\n %13 = icmp eq i1 %12, false\n %14 = select i1 %13, i32 1, i32 -1\n %15 = ashr exact i64 %sext, 30\n %16 = add i64 %15, %0\n %17 = ashr exact i64 %sext6, 30\n %18 = add i64 %17, ptrtoint (i32** @gv_0 to i64)\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = call i128 @FUNC(i32 %20)\n %22 = call i64 @__asm_movss.1(i128 %21)\n %23 = trunc i64 %22 to i32\n %24 = inttoptr i64 %16 to i32*\n store i32 %23, i32* %24, align 4\n %25 = mul i32 %11, 2\n %26 = zext i32 %25 to i64\n %27 = sext i32 %7 to i64\n %28 = icmp slt i64 %27, %26\n br i1 %28, label LBL_2, label LBL_1\n LBL_1:\n %29 = and i64 %arg1, 4294967295\n %30 = trunc i64 %4 to i32\n %31 = zext i32 %7 to i64\n %32 = zext i32 %11 to i64\n %33 = call i64 @FUNC(i64 %29, i32 %2, i32 %30, i32 %14, i64 %32, i64 %31)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %34 = add i32 %1, 1\n %35 = trunc i64 %4 to i32\n %36 = icmp slt i32 %34, %35\n store i32 %34, i32* %.lcssa.in.reg2mem\n br i1 %36, label LBL_3, label LBL_7\n LBL_3:\n %37 = ashr i32 %6, 31\n %38 = zext i32 %6 to i64\n %39 = zext i32 %37 to i64\n %40 = mul i64 %39, 4294967296\n %41 = or i64 %40, %38\n %42 = zext i32 %7 to i64\n %43 = sdiv i64 %41, %42\n %44 = trunc i64 %43 to i32\n %45 = sub i32 0, %44\n %46 = icmp slt i32 %45, 0\n %47 = icmp eq i1 %46, false\n %48 = select i1 %47, i32 %45, i32 %44\n %49 = mul i32 %48, %7\n %50 = sub i32 %11, %49\n %51 = sub i32 0, %7\n %52 = ashr exact i64 %sext6, 32\n %53 = sext i32 %34 to i64\n store i64 %53, i64* %indvars.iv.reg2mem\n store i32 %34, i32* %.in.reg2mem\n store i32 %51, i32* %sv_0.116.reg2mem\n store i64 %52, i64* %sv_1.115.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.115.reload = load i64, i64* %sv_1.115.reg2mem\n %sv_0.116.reload = load i32, i32* %sv_0.116.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %54 = add i64 %sv_1.115.reload, %43\n %sext14 = mul i64 %54, 4294967296\n %55 = ashr exact i64 %sext14, 32\n %56 = add i32 %sv_0.116.reload, %50\n %57 = icmp slt i32 %56, 0\n store i64 %55, i64* %sv_1.0.reg2mem\n store i32 %56, i32* %sv_0.0.reg2mem\n br i1 %57, label LBL_6, label LBL_5\n LBL_5:\n %58 = sub i32 %56, %7\n %59 = trunc i64 %55 to i32\n %60 = add i32 %14, %59\n %61 = sext i32 %60 to i64\n store i64 %61, i64* %sv_1.0.reg2mem\n store i32 %58, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %62 = mul i64 %indvars.iv.reload, 4\n %63 = add i64 %62, %0\n %64 = mul i64 %sv_1.0.reload, 4\n %65 = add nsw i64 %64, 4210752\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = call i128 @FUNC(i32 %67)\n %69 = call i64 @__asm_movss.1(i128 %68)\n %70 = trunc i64 %69 to i32\n %71 = inttoptr i64 %63 to i32*\n store i32 %70, i32* %71, align 4\n %72 = add i32 %.in.reload, 1\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i32 %72, %35\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %72, i32* %.in.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.116.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.115.reg2mem\n store i32 %35, i32* %.lcssa.in.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n %.lcssa.in.reload = load i32, i32* %.lcssa.in.reg2mem\n %.lcssa = zext i32 %.lcssa.in.reload to i64\n store i64 %.lcssa, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %56, { 1, 0, 2 }\n uselistorder i64 %55, { 1, 0 }\n uselistorder i32 %34, { 1, 2, 0, 3 }\n uselistorder i32 %11, { 1, 2, 0 }\n uselistorder i32 %7, { 1, 2, 0, 4, 5, 3 }\n uselistorder i32 %6, { 1, 0, 4, 2, 3 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %sext6, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.116.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.115.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 0, 3, 1, 2, 4, 5, 6 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cryptd_create_blkcipher_3720", "fun_name": "cryptd_create_blkcipher", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1, i64 2)\n %2 = icmp ult i64 %1, -1000\n store i64 %1, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_7\n LBL_1:\n %3 = call i64 @FUNC(i64 %1, i64 0, i64 16)\n %4 = icmp ult i64 %3, -1000\n store i64 %3, i64* %sv_0.1.reg2mem\n br i1 %4, label LBL_2, label LBL_6\n LBL_2:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = call i64 @FUNC(i64 %3)\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = add i64 %6, 8\n %9 = call i64 @FUNC(i64 %8, i64 %1, i64 %3, i64 6)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_5, label LBL_3\n LBL_3:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = inttoptr i64 %1 to i32*\n %15 = inttoptr i64 %3 to i32*\n store i32 12, i32* %15, align 4\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %17, align 8\n %18 = load i32, i32* %14, align 4\n %19 = add i64 %3, 16\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %1, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %3, 20\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i64 %1, 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %3, 24\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = add i64 %1, 16\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = add i64 %3, 32\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = add i64 %3, 64\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %38 = add i64 %3, 72\n %39 = inttoptr i64 %38 to i64*\n store i64 4198862, i64* %39, align 8\n %40 = add i64 %3, 80\n %41 = inttoptr i64 %40 to i64*\n store i64 4198869, i64* %41, align 8\n %42 = add i64 %3, 40\n %43 = inttoptr i64 %42 to i64*\n store i64 4198876, i64* %43, align 8\n %44 = add i64 %3, 48\n %45 = inttoptr i64 %44 to i64*\n store i64 4198883, i64* %45, align 8\n %46 = add i64 %3, 56\n %47 = inttoptr i64 %46 to i64*\n store i64 4198890, i64* %47, align 8\n %48 = call i64 @FUNC(i64 %13, i64 %3)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n store i64 %48, i64* %sv_0.1.reg2mem\n br i1 %50, label LBL_6, label LBL_4\n LBL_4:\n %51 = call i64 @FUNC(i64 %8)\n store i64 %48, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %52 = call i64 @FUNC(i64 %3)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %53 = call i64 @FUNC(i64 %1)\n %54 = and i64 %sv_0.1.reload, 4294967295\n store i64 %54, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %48, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 17, 14, 15, 0, 16 }\n uselistorder i64 %1, { 5, 1, 2, 3, 8, 4, 6, 0, 7 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gnrc_rpl_validation_DAO_13284", "fun_name": "gnrc_rpl_validation_DAO", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %arg2, 281474976710656\n %2 = ashr exact i64 %sext, 48\n %3 = urem i64 %1, 2\n %4 = icmp eq i64 %3, 0\n %spec.select = select i1 %4, i16 1, i16 17\n %5 = trunc i64 %2 to i16\n %6 = icmp ugt i16 %spec.select, %5\n store i64 1, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = zext i16 %spec.select to i64\n %8 = urem i64 %2, 65536\n %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %8, i64 %7)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gnrm_box_dump_6003", "fun_name": "gnrm_box_dump", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = icmp ne i32 %4, 1\n %7 = icmp eq i32 %4, 2\n %8 = icmp eq i1 %7, false\n %or.cond = icmp eq i1 %6, %8\n %spec.store.select = select i1 %or.cond, i32 %4, i32 1969974903\n store i32 %spec.store.select, i32* %arg1, align 4\n br label LBL_2\n LBL_2:\n %9 = ptrtoint i32* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %11 = add i64 %9, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %9, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 %16, i32 %13, i64 %2, i64 %1)\n store i32 3, i32* %arg1, align 4\n %18 = load i32, i32* %12, align 4\n %19 = add i64 %9, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = zext i32 %18 to i64\n %23 = call i64 @FUNC(i64 %21, i64 %22, i64 %arg2)\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %arg2)\n ret i64 0\n\n uselistorder i64 %9, { 0, 1, 3, 2, 4 }\n uselistorder i32 %4, { 0, 1, 3, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2, 3 }\n uselistorder i32* %arg1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__unwind_start_4837", "fun_name": "__unwind_start", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg4 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64* @memset(i64* %arg1, i32 0, i32 24)\n store i64 %1, i64* %arg1, align 8\n %4 = call i64 @FUNC(i64 %0, i64 8)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = add i64 %2, 16\n %8 = call i64 @FUNC(i64 %0, i64 %0, i64 %7, i64 %7)\n %9 = call i64 @FUNC(i64 %2)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %7, i64 %0, i64 8)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i64 %7)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %2)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0, 3, 2 }\n uselistorder i64 %0, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stbl_del_5891", "fun_name": "stbl_del", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_38, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %4)\n br label LBL_3\n LBL_3:\n %7 = add i64 %arg1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 %9)\n br label LBL_5\n LBL_5:\n %12 = add i64 %arg1, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_7, label LBL_6\n LBL_6:\n %16 = call i64 @FUNC(i64 %14)\n br label LBL_7\n LBL_7:\n %17 = add i64 %arg1, 32\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_9, label LBL_8\n LBL_8:\n %21 = call i64 @FUNC(i64 %19)\n br label LBL_9\n LBL_9:\n %22 = add i64 %arg1, 40\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_11, label LBL_10\n LBL_10:\n %26 = call i64 @FUNC(i64 %24)\n br label LBL_11\n LBL_11:\n %27 = add i64 %arg1, 48\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_13, label LBL_12\n LBL_12:\n %31 = call i64 @FUNC(i64 %29)\n br label LBL_13\n LBL_13:\n %32 = add i64 %arg1, 56\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n br i1 %35, label LBL_15, label LBL_14\n LBL_14:\n %36 = call i64 @FUNC(i64 %34)\n br label LBL_15\n LBL_15:\n %37 = add i64 %arg1, 64\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n br i1 %40, label LBL_17, label LBL_16\n LBL_16:\n %41 = call i64 @FUNC(i64 %39)\n br label LBL_17\n LBL_17:\n %42 = add i64 %arg1, 72\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n br i1 %45, label LBL_19, label LBL_18\n LBL_18:\n %46 = call i64 @FUNC(i64 %44)\n br label LBL_19\n LBL_19:\n %47 = add i64 %arg1, 80\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = icmp eq i64 %49, 0\n br i1 %50, label LBL_21, label LBL_20\n LBL_20:\n %51 = call i64 @FUNC(i64 %49)\n br label LBL_21\n LBL_21:\n %52 = add i64 %arg1, 88\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = icmp eq i64 %54, 0\n br i1 %55, label LBL_23, label LBL_22\n LBL_22:\n %56 = call i64 @FUNC(i64 %54)\n br label LBL_23\n LBL_23:\n %57 = add i64 %arg1, 96\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = icmp eq i64 %59, 0\n br i1 %60, label LBL_25, label LBL_24\n LBL_24:\n %61 = call i64 @FUNC(i64 %59)\n br label LBL_25\n LBL_25:\n %62 = add i64 %arg1, 104\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = icmp eq i64 %64, 0\n br i1 %65, label LBL_27, label LBL_26\n LBL_26:\n %66 = call i64 @FUNC(i64 %64)\n br label LBL_27\n LBL_27:\n %67 = add i64 %arg1, 112\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = icmp eq i64 %69, 0\n br i1 %70, label LBL_29, label LBL_28\n LBL_28:\n %71 = call i64 @FUNC(i64 %69)\n br label LBL_29\n LBL_29:\n %72 = add i64 %arg1, 120\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = icmp eq i64 %74, 0\n br i1 %75, label LBL_31, label LBL_30\n LBL_30:\n %76 = call i64 @FUNC(i64 %74)\n br label LBL_31\n LBL_31:\n %77 = add i64 %arg1, 128\n %78 = inttoptr i64 %77 to i64*\n %79 = load i64, i64* %78, align 8\n %80 = icmp eq i64 %79, 0\n br i1 %80, label LBL_33, label LBL_32\n LBL_32:\n %81 = call i64 @FUNC(i64 %79)\n br label LBL_33\n LBL_33:\n %82 = add i64 %arg1, 136\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = icmp eq i64 %84, 0\n br i1 %85, label LBL_37, label LBL_34\n LBL_34:\n %86 = inttoptr i64 %84 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = icmp eq i64 %87, 0\n store i64 %84, i64* %.reg2mem\n br i1 %88, label LBL_36, label LBL_35\n LBL_35:\n %89 = call i64 @FUNC(i64 %87)\n %.pre = load i64, i64* %83, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_36\n LBL_36:\n %.reload = load i64, i64* %.reg2mem\n %90 = call i64 @FUNC(i64 %.reload)\n br label LBL_37\n LBL_37:\n %91 = call i64 @FUNC(i64 %arg1)\n store i64 %91, i64* %rax.0.reg2mem\n br label LBL_38\n LBL_38:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @gf_free, { 2, 1, 0 }\n uselistorder i64 (i64)* @gf_isom_box_array_del, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @gf_isom_box_del, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_38, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bta_av_accept_signalling_timer_cback_10790", "fun_name": "bta_av_accept_signalling_timer_cback", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = trunc i64 %4 to i32\n %6 = icmp ult i32 %5, 10\n store i64 %4, i64* %rax.1.reg2mem\n br i1 %6, label LBL_1, label LBL_10\n LBL_1:\n %7 = mul i64 %4, 8\n %8 = and i64 %7, 34359738360\n %9 = add i64 %8, ptrtoint (i64* @gv_0 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %12, label LBL_10, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %11 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %15, i64 %3, i64 %2, i64 %1)\n %17 = load i32, i32* %13, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %19, label LBL_10, label LBL_3\n LBL_3:\n %20 = and i32 %17, -2\n store i32 %20, i32* %13, align 4\n %21 = call i64 @FUNC(i64 %11)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_7, label LBL_4\n LBL_4:\n %24 = add i64 %11, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %27, i64 %3, i64 %2, i64 %1)\n %29 = load i32, i32* %25, align 4\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = load i32, i32* %13, align 4\n %32 = or i32 %31, 1\n store i32 %32, i32* %13, align 4\n %33 = and i64 %4, 4294967295\n %34 = call i64 @FUNC(i64 %33)\n %35 = load i64, i64* @gv_4, align 8\n %36 = call i64 @FUNC(i64 %35, i64 1000, i64 4199002, i64 %34)\n store i64 %36, i64* %rax.1.reg2mem\n br label LBL_10\n LBL_6:\n %37 = call i64 @FUNC(i64 %11, i64 0)\n store i64 %37, i64* %rax.1.reg2mem\n br label LBL_10\n LBL_7:\n %38 = call i64 @FUNC(i64 %11)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n store i64 %38, i64* %rax.1.reg2mem\n br i1 %40, label LBL_10, label LBL_8\n LBL_8:\n %41 = zext i32 %20 to i64\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %41, i64 %3, i64 %2, i64 %1)\n %43 = load i32, i32* %13, align 4\n %44 = and i32 %43, 2\n %45 = icmp eq i32 %44, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %45, label LBL_10, label LBL_9\n LBL_9:\n %46 = and i32 %43, -3\n store i32 %46, i32* %13, align 4\n %47 = call i64 @FUNC(i64 0)\n %48 = call i64 @FUNC(i64 %47)\n store i64 %48, i64* %rax.1.reg2mem\n br label LBL_10\n LBL_10:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %20, { 1, 0 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32* %13, { 4, 3, 5, 6, 2, 1, 0 }\n uselistorder i64 %11, { 1, 0, 2, 3, 5, 4 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 4, 5, 6, 3, 2, 7, 8, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @APPL_TRACE_DEBUG, { 2, 1, 0 }\n uselistorder i32 1, { 8, 6, 5, 7, 4, 0, 3, 2, 1 }\n uselistorder label LBL_10, { 1, 2, 3, 4, 5, 6, 7, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "file_rlookup_5762", "fun_name": "file_rlookup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i8**\n %0 = load i32, i32* inttoptr (i64 4210832 to i32*), align 16\n %1 = icmp eq i32 %0, 0\n %2 = icmp slt i32 %0, 0\n %3 = icmp eq i1 %2, false\n %4 = icmp eq i1 %1, false\n %5 = icmp eq i1 %3, %4\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = inttoptr i64 %arg1 to i8*\n store i8** getelementptr inbounds ([6 x i8*], [6 x i8*]* @gv_0, i64 0, i64 0), i8*** %storemerge4.reg2mem\n store i32 %0, i32* %sv_0.03.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i8**, i8*** %storemerge4.reg2mem\n %7 = load i8*, i8** %storemerge4.reload, align 8\n %8 = call i32 @strcmp(i8* %7, i8* %6)\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = ptrtoint i8** %storemerge4.reload to i64\n %12 = add i64 %11, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i8*\n %16 = call i32 @strncmp(i8* %15, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5)\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 ptrtoint ([9 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_6\n LBL_4:\n %19 = load i64, i64* %13, align 8\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %20 = add i32 %sv_0.03.reload, -1\n %21 = ptrtoint i8** %storemerge4.reload to i64\n %22 = add i64 %21, 16\n %23 = inttoptr i64 %22 to i8**\n %24 = icmp eq i32 %20, 0\n %25 = icmp slt i32 %20, 0\n %26 = icmp eq i1 %25, false\n %27 = icmp eq i1 %24, false\n %28 = icmp eq i1 %26, %27\n store i8** %23, i8*** %storemerge4.reg2mem\n store i32 %20, i32* %sv_0.03.reg2mem\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %28, label LBL_2, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8** %storemerge4.reload, { 0, 2, 1 }\n uselistorder i8*** %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i1 false, { 5, 2, 3, 4, 0, 1 }\n uselistorder i32 0, { 16, 17, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1 }\n uselistorder label LBL_6, { 0, 3, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "shell_spaces_trim_7329", "fun_name": "shell_spaces_trim", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_0.017.reg2mem = alloca i32\n %storemerge918.reg2mem = alloca i32\n %sv_1.119.reg2mem = alloca i32\n %sv_0.220.reg2mem = alloca i32\n %storemerge21.reg2mem = alloca i32\n %.reg2mem47 = alloca i32\n %.reg2mem45 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64* %arg1, null\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_9, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %sext = mul i32 %3, 65536\n %4 = ashr exact i32 %sext, 16\n %5 = urem i32 %4, 65536\n %6 = icmp eq i32 %5, 1\n store i32 %5, i32* %.reg2mem\n store i64 0, i64* %.reg2mem45\n store i32 0, i32* %.reg2mem47\n store i32 0, i32* %storemerge21.reg2mem\n store i32 0, i32* %sv_0.220.reg2mem\n store i32 %4, i32* %sv_1.119.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_2\n LBL_2:\n %sv_1.119.reload = load i32, i32* %sv_1.119.reg2mem\n %sv_0.220.reload = load i32, i32* %sv_0.220.reg2mem\n %storemerge21.reload = load i32, i32* %storemerge21.reg2mem\n %.reload46 = load i64, i64* %.reg2mem45\n %7 = call i16** @__ctype_b_loc()\n %8 = load i16*, i16** %7, align 8\n %9 = ptrtoint i16* %8 to i64\n %10 = add i64 %.reload46, %0\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = sext i8 %12 to i64\n %14 = mul i64 %13, 2\n %15 = add i64 %14, %9\n %16 = inttoptr i64 %15 to i16*\n %17 = load i16, i16* %16, align 2\n %18 = and i16 %17, 8192\n %19 = icmp eq i16 %18, 0\n %.pre = mul i32 %storemerge21.reload, 65536\n %.pre30 = add i32 %.pre, 65536\n %.pre31 = ashr exact i32 %.pre30, 16\n store i32 %sv_1.119.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.220.reload, i32* %sv_0.1.reg2mem\n br i1 %19, label LBL_8, label LBL_3\n LBL_3:\n %.reload48 = load i32, i32* %.reg2mem47\n %.reload = load i32, i32* %.reg2mem\n %20 = trunc i32 %.pre31 to i16\n %21 = trunc i32 %sv_1.119.reload to i16\n %22 = icmp ult i16 %20, %21\n store i32 %.pre31, i32* %storemerge918.reg2mem\n store i32 %sv_0.220.reload, i32* %sv_0.017.reg2mem\n store i32 %sv_1.119.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.220.reload, i32* %sv_0.1.reg2mem\n br i1 %22, label LBL_4, label LBL_8\n LBL_4:\n %sv_0.017.reload = load i32, i32* %sv_0.017.reg2mem\n %storemerge918.reload = load i32, i32* %storemerge918.reg2mem\n %23 = call i16** @__ctype_b_loc()\n %24 = load i16*, i16** %23, align 8\n %25 = ptrtoint i16* %24 to i64\n %26 = urem i32 %storemerge918.reload, 65536\n %27 = zext i32 %26 to i64\n %28 = add i64 %27, %0\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = sext i8 %30 to i64\n %32 = mul i64 %31, 2\n %33 = add i64 %32, %25\n %34 = inttoptr i64 %33 to i16*\n %35 = load i16, i16* %34, align 2\n %36 = and i16 %35, 8192\n %37 = icmp eq i16 %36, 0\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = mul i32 %sv_0.017.reload, 65536\n %sext7 = add i32 %38, 65536\n %39 = ashr exact i32 %sext7, 16\n %storemerge9.in.in = mul i32 %storemerge918.reload, 65536\n %storemerge9.in = add i32 %storemerge9.in.in, 65536\n %storemerge9 = ashr exact i32 %storemerge9.in, 16\n %40 = trunc i32 %storemerge9 to i16\n %41 = icmp ult i16 %40, %21\n store i32 %storemerge9, i32* %storemerge918.reg2mem\n store i32 %39, i32* %sv_0.017.reg2mem\n store i32 %sv_1.119.reload, i32* %sv_1.0.reg2mem\n store i32 %39, i32* %sv_0.1.reg2mem\n br i1 %41, label LBL_4, label LBL_8\n LBL_6:\n %42 = trunc i32 %sv_0.017.reload to i16\n %43 = icmp eq i16 %42, 0\n store i32 %sv_1.119.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.017.reload, i32* %sv_0.1.reg2mem\n br i1 %43, label LBL_8, label LBL_7\n LBL_7:\n %44 = add nuw nsw i32 %.reload, 1\n %45 = sub nsw i32 %44, %26\n %narrow = add nuw nsw i32 %.reload48, 1\n %46 = zext i32 %narrow to i64\n %47 = add i64 %46, %0\n %48 = inttoptr i64 %47 to i64*\n %49 = inttoptr i64 %28 to i64*\n %50 = call i64* @memmove(i64* %48, i64* %49, i32 %45)\n %51 = sub i32 %sv_1.119.reload, %sv_0.017.reload\n %sext10 = mul i32 %51, 65536\n %52 = ashr exact i32 %sext10, 16\n store i32 %52, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %53 = urem i32 %.pre31, 65536\n %54 = zext i32 %53 to i64\n %55 = urem i32 %sv_1.0.reload, 65536\n %56 = add nsw i32 %55, -1\n %57 = icmp ult i32 %53, %56\n store i32 %55, i32* %.reg2mem\n store i64 %54, i64* %.reg2mem45\n store i32 %53, i32* %.reg2mem47\n store i32 %.pre31, i32* %storemerge21.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.220.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.119.reg2mem\n store i64 %54, i64* %rax.0.reg2mem\n br i1 %57, label LBL_2, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %53, { 0, 2, 1 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %26, { 1, 0 }\n uselistorder i32 %storemerge918.reload, { 1, 0 }\n uselistorder i32 %sv_0.017.reload, { 2, 0, 1, 3 }\n uselistorder i16 %21, { 1, 0 }\n uselistorder i32 %.pre31, { 1, 2, 0, 3 }\n uselistorder i32 %sv_0.220.reload, { 1, 2, 0 }\n uselistorder i32 %sv_1.119.reload, { 4, 3, 0, 2, 5, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem45, { 2, 0, 1 }\n uselistorder i32* %.reg2mem47, { 2, 0, 1 }\n uselistorder i32* %storemerge21.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.220.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.119.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge918.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.017.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 4, 5, 1, 3, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 4, 5, 1, 3, 2 }\n uselistorder i16 0, { 2, 0, 1 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i32 16, { 1, 2, 3, 0, 4 }\n uselistorder i32 65536, { 5, 6, 0, 10, 1, 11, 2, 7, 9, 3, 8, 4 }\n uselistorder label LBL_8, { 4, 3, 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "chase_port_13718", "fun_name": "chase_port", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.15.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = add i64 %2, 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_15, label LBL_1\n LBL_1:\n %7 = icmp eq i64 %arg2, 0\n %8 = icmp eq i1 %7, false\n %spec.select = select i1 %8, i64 %arg2, i64 500\n %9 = add i64 %2, 16\n %10 = call i64 @FUNC(i64 %9, i64 %3)\n %11 = load i64, i64* @gv_0, align 8\n %12 = call i64 @FUNC(i64* nonnull %sv_1, i64 %11)\n %13 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1)\n %14 = call i64 @FUNC(i64 0)\n %15 = add i64 %2, 56\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i64 %spec.select, 0\n %or.cond4 = or i1 %19, %18\n store i64 %spec.select, i64* %sv_0.15.reg2mem\n store i64 %spec.select, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond4, label LBL_4, label LBL_2\n LBL_2:\n %sv_0.15.reload = load i64, i64* %sv_0.15.reg2mem\n %20 = load i64, i64* @gv_0, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = or i64 %21, %1\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 %sv_0.15.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %24, label LBL_3, label LBL_4\n LBL_3:\n %25 = call i64 @FUNC(i64 %9, i64 %3)\n %26 = call i64 @FUNC(i64 %sv_0.15.reload)\n %27 = call i64 @FUNC(i64 %9, i64 %3)\n %28 = call i64 @FUNC(i64 0)\n %29 = call i64 @FUNC(i64 %15)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i64 %26, 0\n %or.cond = or i1 %32, %31\n store i64 %26, i64* %sv_0.15.reg2mem\n store i64 %26, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_2\n LBL_4:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %33 = call i64 @FUNC(i64 1)\n %34 = call i64 @FUNC(i64 %5, i64* nonnull %sv_1)\n %35 = trunc i64 %arg3 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %37 = call i64 @FUNC(i64 %15)\n br label LBL_6\n LBL_6:\n %38 = trunc i64 %1 to i32\n %39 = sub i64 0, %sv_0.1.lcssa.reload\n %40 = call i64 @FUNC(i64 %9, i64 %3)\n %41 = call i64 @FUNC(i64 %5)\n %42 = icmp slt i64 %39, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_13, label LBL_7\n LBL_7:\n %44 = load i64, i64* @gv_1, align 8\n %45 = icmp eq i32 %38, 0\n %46 = add i64 %44, %sv_0.1.lcssa.reload\n br label LBL_10\n LBL_8:\n %47 = call i64 @FUNC(i64 %2)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n br i1 %49, label LBL_14, label LBL_9\n LBL_9:\n %50 = call i64 @FUNC(i64 10)\n %51 = load i64, i64* @gv_1, align 8\n %52 = sub i64 %51, %46\n %53 = icmp slt i64 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_14, label LBL_10\n LBL_10:\n %55 = load i64, i64* @gv_0, align 8\n %56 = call i64 @FUNC(i64 %55)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_13, label LBL_11\n LBL_11:\n br i1 %45, label LBL_8, label LBL_12\n LBL_12:\n %60 = and i64 %1, 4294967295\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %61 = and i64 %1, 4294967295\n %62 = icmp eq i32 %38, 0\n %63 = icmp eq i1 %62, false\n store i64 %61, i64* %rax.0.reg2mem\n br i1 %63, label LBL_15, label LBL_14\n LBL_14:\n %64 = inttoptr i64 %4 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i1 %66, false\n %68 = zext i32 %65 to i64\n %69 = select i1 %67, i64 %68, i64 50\n %70 = call i64 @FUNC(i64 10000, i64 %69)\n %71 = and i64 %70, 4294967295\n %72 = call i64 @FUNC(i64 1, i64 %71)\n %73 = and i64 %72, 4294967295\n %74 = call i64 @FUNC(i64 %73)\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.1.lcssa.reload, { 1, 0 }\n uselistorder i64 %sv_0.15.reload, { 1, 0 }\n uselistorder i64 %15, { 0, 2, 1 }\n uselistorder i64 %9, { 2, 0, 1, 3 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 2, 0, 3 }\n uselistorder i64* %sv_0.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967295, { 3, 4, 1, 0, 5, 6, 7, 2, 8 }\n uselistorder i64 (i64)* @msleep, { 1, 0 }\n uselistorder i64 (i64, i64)* @spin_unlock_irqrestore, { 1, 0 }\n uselistorder i64 (i64)* @signal_pending, { 1, 0 }\n uselistorder i64 (i64)* @kfifo_len, { 1, 0 }\n uselistorder i64 (i64)* @set_current_state, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @spin_lock_irqsave, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5 }\n uselistorder label LBL_15, { 3, 1, 0, 2 }\n uselistorder label LBL_14, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_dump_state_18640", "fun_name": "cpu_dump_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 272\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = mul i64 %indvars.iv.reload, 8\n %3 = add i64 %1, %2\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i128 @FUNC(i64 %5)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 0\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "i915_gpu_is_active_17772", "fun_name": "i915_gpu_is_active", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %0, 4\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_3, label LBL_4\n LBL_3:\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @list_empty, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qmp_query_block_15350", "fun_name": "qmp_query_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n store i64 0, i64* %sv_1, align 8\n %0 = call i64 @FUNC(i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = ptrtoint i64* %sv_2 to i64\n store i64 %0, i64* %storemerge13.reg2mem\n store i64 %4, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %5 = call i64 @FUNC(i64 8)\n %6 = call i64 @FUNC(i64 %storemerge13.reload, i64 %5, i64* nonnull %sv_1)\n %7 = load i64, i64* %sv_1, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %3, i64 %7)\n %10 = load i64, i64* %sv_2, align 8\n %11 = call i64 @FUNC(i64 %10)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_4:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %12 = inttoptr i64 %sv_0.02.reload to i64*\n store i64 %5, i64* %12, align 8\n %13 = call i64 @FUNC(i64 %storemerge13.reload)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %storemerge13.reg2mem\n store i64 %5, i64* %sv_0.02.reg2mem\n br i1 %15, label LBL_2, label LBL_5\n LBL_5:\n %.pre = load i64, i64* %sv_2, align 8\n store i64 %.pre, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i1 false, { 2, 0, 3, 1 }\n uselistorder i64 (i64)* @blk_next, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qmp_query_vnc_client_3602", "fun_name": "qmp_query_vnc_client", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n store i32 128, i32* %sv_3, align 4\n %2 = trunc i64 %1 to i32\n %3 = bitcast i32* %sv_2 to %sockaddr*\n %4 = call i32 @getpeername(i32 %2, %sockaddr* nonnull %3, i32* nonnull %sv_3)\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_4\n LBL_1:\n %7 = load i32, i32* %sv_3, align 4\n %8 = bitcast i64* %sv_0 to i8*\n %9 = bitcast i64* %sv_1 to i8*\n %10 = call i32 @getnameinfo(%sockaddr* nonnull %3, i32 %7, i8* nonnull %8, i32 1025, i8* nonnull %9, i32 32, i32 3)\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_4\n LBL_2:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = call i64 @FUNC(i64 24)\n %15 = call i64 @FUNC(i64 40)\n %16 = inttoptr i64 %14 to i64*\n store i64 %15, i64* %16, align 8\n %17 = call i64 @FUNC(i64* nonnull %sv_0)\n %18 = inttoptr i64 %15 to i64*\n store i64 %17, i64* %18, align 8\n %19 = load i64, i64* %16, align 8\n %20 = call i64 @FUNC(i64* nonnull %sv_1)\n %21 = add i64 %19, 8\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n %23 = load i32, i32* %sv_2, align 4\n %24 = load i64, i64* %16, align 8\n %25 = urem i32 %23, 65536\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = add i64 %24, 16\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = load i64, i64* %16, align 8\n %32 = add i64 %13, 4\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = add i64 %31, 20\n %36 = inttoptr i64 %35 to i8*\n store i8 %34, i8* %36, align 1\n %37 = add i64 %13, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %40, label LBL_4, label LBL_3\n LBL_3:\n %41 = call i64 @FUNC(i64 %39)\n %42 = add i64 %14, 8\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n %44 = icmp eq i64 %41, 0\n %45 = icmp eq i1 %44, false\n %46 = zext i1 %45 to i8\n %47 = add i64 %14, 16\n %48 = inttoptr i64 %47 to i8*\n store i8 %46, i8* %48, align 1\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 2, 3, 0, 4 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 (i64*)* @g_strdup, { 1, 0 }\n uselistorder i64 (i64)* @g_malloc0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lsm_set_label_at_271", "fun_name": "lsm_set_label_at", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.06.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8*\n %sv_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %0 = call i64 @FUNC()\n %1 = inttoptr i64 %0 to i8*\n %2 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_18, label LBL_1\n LBL_1:\n %4 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_18, label LBL_2\n LBL_2:\n %6 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n %7 = icmp eq i32 %6, 0\n %8 = trunc i64 %arg2 to i32\n %9 = icmp eq i32 %8, 0\n %10 = or i1 %9, %7\n %11 = trunc i64 %arg1 to i32\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i32 (i32, i8*, i32, ...) @openat(i32 %11, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i32 2)\n store i32 %12, i32* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %13 = call i32 (i32, i8*, i32, ...) @openat(i32 %11, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0), i32 2)\n store i32 %13, i32* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %14 = icmp slt i32 %storemerge.reload, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_7, label LBL_6\n LBL_6:\n call void @perror(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_5, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n store i8* null, i8** %sv_1.0.reg2mem\n br label LBL_19\n LBL_7:\n %16 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_14, label LBL_8\n LBL_8:\n %19 = inttoptr i64 %arg3 to i8*\n %20 = call i32 @strlen(i8* %19)\n %21 = add i32 %20, 15\n %22 = call i64* @malloc(i32 %21)\n %23 = bitcast i64* %22 to i8*\n %24 = icmp eq i64* %22, null\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_10, label LBL_9\n LBL_9:\n call void @perror(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_6, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n store i8* %23, i8** %sv_1.0.reg2mem\n br label LBL_19\n LBL_10:\n %26 = call i32 (i8*, i8*, ...) @sprintf(i8* %23, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_7, i64 0, i64 0), i8* %19)\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_12, label LBL_11\n LBL_11:\n call void @perror(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_6, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n store i8* %23, i8** %sv_1.0.reg2mem\n br label LBL_19\n LBL_12:\n %29 = add i32 %26, 1\n %30 = call i32 @write(i32 %storemerge.reload, i64* %22, i32 %29)\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %sv_0.0.reg2mem\n store i8* %23, i8** %sv_1.0.reg2mem\n br i1 %32, label LBL_19, label LBL_13\n LBL_13:\n call void @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_8, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n store i8* %23, i8** %sv_1.0.reg2mem\n br label LBL_19\n LBL_14:\n %33 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_9, i64 0, i64 0))\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_17, label LBL_15\n LBL_15:\n %36 = inttoptr i64 %arg3 to i8*\n %37 = call i32 @strlen(i8* %36)\n %38 = add i32 %37, 1\n %39 = inttoptr i64 %arg3 to i64*\n %40 = call i32 @write(i32 %storemerge.reload, i64* %39, i32 %38)\n %41 = icmp slt i32 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 0, i64* %sv_0.0.reg2mem\n store i8* null, i8** %sv_1.0.reg2mem\n br i1 %42, label LBL_19, label LBL_16\n LBL_16:\n call void @perror(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_8, i64 0, i64 0))\n store i64 4294967295, i64* %sv_0.0.reg2mem\n store i8* null, i8** %sv_1.0.reg2mem\n br label LBL_19\n LBL_17:\n %43 = load %_IO_FILE*, %_IO_FILE** @gv_10, align 8\n %44 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %43, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_11, i64 0, i64 0), i8* %1)\n store i64 4294967295, i64* %sv_0.0.reg2mem\n store i8* null, i8** %sv_1.0.reg2mem\n br label LBL_19\n LBL_18:\n call void @free(i64* null)\n store i64 0, i64* %sv_0.06.reg2mem\n br label LBL_21\n LBL_19:\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %45 = bitcast i8* %sv_1.0.reload to i64*\n call void @free(i64* %45)\n %46 = icmp eq i32 %storemerge.reload, -1\n store i64 %sv_0.0.reload, i64* %sv_0.06.reg2mem\n br i1 %46, label LBL_21, label LBL_20\n LBL_20:\n %47 = call i32 @close(i32 %storemerge.reload)\n store i64 %sv_0.0.reload, i64* %sv_0.06.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n ret i64 %sv_0.06.reload\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i8* %23, { 2, 3, 1, 4, 0 }\n uselistorder i32 %storemerge.reload, { 3, 4, 1, 2, 0 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 8, 6, 7, 4, 5, 3, 2, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 8, 6, 7, 4, 5, 3, 2, 1 }\n uselistorder i64* %sv_0.06.reg2mem, { 0, 2, 1, 3 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 (i32, i64*, i32)* @write, { 1, 0 }\n uselistorder i8* null, { 3, 1, 2, 0 }\n uselistorder i64 4294967295, { 5, 4, 3, 2, 1, 0 }\n uselistorder void (i8*)* @perror, { 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 2, 4, 3, 0 }\n uselistorder i64 %arg3, { 2, 1, 0 }\n uselistorder label LBL_21, { 1, 2, 0 }\n uselistorder label LBL_18, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lzxd_reset_state_9759", "fun_name": "lzxd_reset_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv4.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 1, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 1, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 20\n %11 = inttoptr i64 %10 to i32*\n store i32 -1, i32* %11, align 4\n %12 = add i64 %0, 24\n store i64 0, i64* %indvars.iv4.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem\n %13 = mul i64 %indvars.iv4.reload, 4\n %14 = add i64 %12, %13\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1\n %exitcond6 = icmp eq i64 %indvars.iv.next5, 256\n store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem\n br i1 %exitcond6, label LBL_2, label LBL_1\n LBL_2:\n %16 = add i64 %0, 1048\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %17 = mul i64 %indvars.iv.reload, 4\n %18 = add i64 %16, %17\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n ret i64 %0\n\n uselistorder i64 %0, { 2, 1, 0, 3, 4, 5, 6, 7 }\n uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 256, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "make_ioa_addr_from_full_string_222", "fun_name": "make_ioa_addr_from_full_string", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = icmp eq i64* %arg3, null\n %1 = icmp eq i1 %0, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n store i64 0, i64* %sv_1, align 8\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i8* @strdup(i8* %2)\n %4 = ptrtoint i8* %3 to i64\n %5 = bitcast i64* %sv_1 to i32*\n %6 = call i64 @FUNC(i64 %4, i32* nonnull %5)\n %7 = icmp eq i64 %6, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = load i64, i64* %sv_1, align 8\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp slt i32 %9, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %10, false\n %14 = icmp eq i1 %12, %13\n store i64 %8, i64* %.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %sext = mul i64 %arg2, 4294967296\n %15 = ashr exact i64 %sext, 32\n store i64 %15, i64* %sv_1, align 8\n store i64 %15, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %16 = ptrtoint i64* %arg3 to i64\n %.reload = load i64, i64* %.reg2mem\n %17 = and i64 %.reload, 4294967295\n %18 = call i64 @FUNC(i64 %6, i64 %17, i64 %16)\n %phitmp = and i64 %18, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %19 = bitcast i8* %3 to i64*\n call void @free(i64* %19)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64* %sv_1, { 2, 1, 3, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 3, 4, 1, 0, 2 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "anetGetError_155", "fun_name": "anetGetError", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i32\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %0 = trunc i64 %arg1 to i32\n store i32 0, i32* %sv_1, align 4\n store i32 4, i32* %sv_0, align 4\n %1 = bitcast i32* %sv_1 to i64*\n %2 = call i32 @getsockopt(i32 %0, i32 1, i32 4, i64* nonnull %1, i32* nonnull %sv_0)\n %3 = icmp eq i32 %2, -1\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = load i32, i32* %sv_1, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_2:\n %5 = call i32* @__errno_location()\n %6 = load i32, i32* %5, align 4\n store i32 %6, i32* %sv_1, align 4\n store i32 %6, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %7 = zext i32 %.reload to i64\n ret i64 %7\n\n uselistorder i32* %sv_1, { 2, 0, 1, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cinepak_decode_frame_5166", "fun_name": "cinepak_decode_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg4 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n store i64 %3, i64* %arg1, align 8\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %4, 16\n %11 = call i64 @FUNC(i64 %4, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %4, i64 0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %15 = and i64 %11, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %16 = add i64 %4, 1064\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_5, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %3, i64 0, i64 0)\n %21 = icmp eq i64 %20, 0\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = inttoptr i64 %10 to i32*\n store i32 1, i32* %22, align 4\n %23 = add i64 %4, 40\n %24 = inttoptr i64 %23 to i64*\n %25 = inttoptr i64 %20 to i64*\n %26 = call i64* @memcpy(i64* %24, i64* %25, i32 1024)\n br label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %4)\n %28 = load i32, i32* %17, align 4\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = add i64 %4, 40\n %31 = add i64 %4, 32\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = inttoptr i64 %33 to i64*\n %35 = inttoptr i64 %30 to i64*\n %36 = call i64* @memcpy(i64* %34, i64* %35, i32 1024)\n br label LBL_7\n LBL_7:\n %37 = ptrtoint i64* %arg2 to i64\n %38 = call i64 @FUNC(i64 %37, i64 %10)\n %39 = trunc i64 %38 to i32\n %40 = icmp slt i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_9, label LBL_8\n LBL_8:\n %42 = and i64 %38, 4294967295\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n store i32 1, i32* %arg3, align 4\n %43 = zext i32 %7 to i64\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %4, { 3, 2, 4, 1, 5, 0, 6, 7, 8 }\n uselistorder i64 %3, { 1, 0, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftrace_pid_add_10440", "fun_name": "ftrace_pid_add", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge25.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = icmp eq i32 %0, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load i64, i64* @gv_1, align 8\n store i64 %4, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_2:\n %5 = and i64 %arg1, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %7 = icmp eq i64 %storemerge3.reload, 0\n store i32 -22, i32* %sv_0.1.reg2mem\n br i1 %7, label LBL_11, label LBL_4\n LBL_4:\n %storemerge24 = load i64, i64* @gv_2, align 8\n %8 = icmp eq i64 %storemerge24, 0\n %9 = icmp eq i1 %8, false\n store i64 %storemerge24, i64* %storemerge25.reg2mem\n br i1 %9, label LBL_5, label LBL_7\n LBL_5:\n %storemerge25.reload = load i64, i64* %storemerge25.reg2mem\n %10 = inttoptr i64 %storemerge25.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %storemerge3.reload, %11\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_9, label LBL_6\n LBL_6:\n %13 = add i64 %storemerge25.reload, 8\n %14 = inttoptr i64 %13 to i64*\n %storemerge2 = load i64, i64* %14, align 8\n %15 = icmp eq i64 %storemerge2, 0\n %16 = icmp eq i1 %15, false\n store i64 %storemerge2, i64* %storemerge25.reg2mem\n br i1 %16, label LBL_5, label LBL_7\n LBL_7:\n %17 = call i64 @FUNC(i64 16, i64 0)\n %18 = icmp eq i64 %17, 0\n store i32 -12, i32* %sv_0.0.reg2mem\n br i1 %18, label LBL_9, label LBL_8\n LBL_8:\n %19 = add i64 %17, 8\n %20 = call i64 @FUNC(i64 %19, i64* nonnull @gv_3)\n %21 = inttoptr i64 %17 to i64*\n store i64 %storemerge3.reload, i64* %21, align 8\n %22 = call i64 @FUNC(i64 %storemerge3.reload)\n %23 = call i64 @FUNC()\n %24 = call i64 @FUNC(i64 0)\n %25 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %26 = load i64, i64* @gv_1, align 8\n %27 = icmp eq i64 %storemerge3.reload, %26\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %27, label LBL_11, label LBL_10\n LBL_10:\n %28 = call i64 @FUNC(i64 %storemerge3.reload)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %29 = call i64 @FUNC(i64* nonnull @gv_0)\n %30 = zext i32 %sv_0.1.reload to i64\n store i64 %30, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i64 %storemerge3.reload, { 2, 3, 5, 4, 1, 0 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*)* @mutex_unlock, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2, 3 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_11, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Init_6482", "fun_name": "Init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\n %0 = ptrtoint i32* %sv_0 to i64\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_llcp_send_connect_5866", "fun_name": "nfc_llcp_send_connect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i64\n %sv_2.012.reg2mem = alloca i64\n %sv_3.114.reg2mem = alloca i64\n %sv_3.1.ph.reg2mem = alloca i64\n %sv_2.0.ph.reg2mem = alloca i64\n %rdx.0.ph.reg2mem = alloca i64\n %rcx.0.ph.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_4.0.reg2mem = alloca i16\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %sv_5 = alloca i16, align 2\n %sv_6 = alloca i16, align 2\n %sv_7 = alloca i8, align 1\n %sv_8 = alloca i32, align 4\n %sv_9 = alloca i16, align 2\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n %8 = add i64 %6, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n store i16 0, i16* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n br i1 %11, label LBL_4, label LBL_1\n LBL_1:\n %12 = add i64 %6, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = bitcast i16* %sv_9 to i64*\n %16 = call i64 @FUNC(i64 1, i64 %10, i64 %14, i64* nonnull %15)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = ptrtoint i16* %sv_9 to i64\n store i64 0, i64* %sv_0.0.ph.reg2mem\n store i64 %19, i64* %rcx.0.ph.reg2mem\n store i64 %14, i64* %rdx.0.ph.reg2mem\n store i64 0, i64* %sv_2.0.ph.reg2mem\n store i64 %16, i64* %sv_3.1.ph.reg2mem\n br label LBL_9\n LBL_3:\n %20 = load i16, i16* %sv_9, align 2\n %21 = urem i16 %20, 256\n store i16 %21, i16* %sv_4.0.reg2mem\n store i64 %16, i64* %sv_3.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %22 = add i64 %6, 24\n %23 = inttoptr i64 %22 to i16*\n %24 = load i16, i16* %23, align 2\n %25 = zext i16 %24 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp ult i32 %27, 65536\n %29 = bitcast i64* %rdi to i16*\n %storemerge.in.in = select i1 %28, i16* %23, i16* %29\n %storemerge.in = load i16, i16* %storemerge.in.in, align 2\n %30 = zext i16 %storemerge.in to i32\n store i32 %30, i32* %sv_8, align 4\n %31 = add i64 %6, 26\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n store i8 %33, i8* %sv_7, align 1\n %34 = ptrtoint i32* %sv_8 to i64\n %35 = bitcast i16* %sv_6 to i64*\n %36 = call i64 @FUNC(i64 2, i64 %34, i64 0, i64* nonnull %35)\n %37 = icmp eq i64 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_6, label LBL_5\n LBL_5:\n %39 = ptrtoint i16* %sv_6 to i64\n store i64 0, i64* %sv_0.0.ph.reg2mem\n store i64 %39, i64* %rcx.0.ph.reg2mem\n store i64 0, i64* %rdx.0.ph.reg2mem\n store i64 %36, i64* %sv_2.0.ph.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.1.ph.reg2mem\n br label LBL_9\n LBL_6:\n %40 = load i16, i16* %sv_6, align 2\n %41 = ptrtoint i16* %sv_5 to i64\n %42 = ptrtoint i8* %sv_7 to i64\n %43 = bitcast i16* %sv_5 to i64*\n %44 = call i64 @FUNC(i64 3, i64 %42, i64 0, i64* nonnull %43)\n %45 = icmp eq i64 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 %44, i64* %sv_0.0.ph.reg2mem\n store i64 %41, i64* %rcx.0.ph.reg2mem\n store i64 0, i64* %rdx.0.ph.reg2mem\n store i64 %36, i64* %sv_2.0.ph.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.1.ph.reg2mem\n br i1 %46, label LBL_7, label LBL_9\n LBL_7:\n %sv_4.0.reload = load i16, i16* %sv_4.0.reg2mem\n %47 = urem i16 %40, 256\n %48 = add nuw nsw i16 %47, %sv_4.0.reload\n %49 = load i16, i16* %sv_5, align 2\n %50 = urem i16 %49, 256\n %51 = add nuw nsw i16 %48, %50\n %52 = add i64 %6, 16\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = zext i16 %51 to i64\n %56 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %55, i64 %54, i64 %41, i64 %2, i64 %1)\n %57 = call i64 @FUNC(i64 %6, i64 4, i16 %51)\n %58 = icmp eq i64 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 %44, i64* %sv_0.0.ph.reg2mem\n store i64 %41, i64* %rcx.0.ph.reg2mem\n store i64 %55, i64* %rdx.0.ph.reg2mem\n store i64 %36, i64* %sv_2.0.ph.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.1.ph.reg2mem\n br i1 %59, label LBL_8, label LBL_9\n LBL_8:\n %60 = load i16, i16* %sv_9, align 2\n %61 = urem i16 %60, 256\n %62 = zext i16 %61 to i64\n %63 = call i64 @FUNC(i64 %57, i64 %sv_3.0.reload, i64 %62)\n %64 = load i16, i16* %sv_6, align 2\n %65 = urem i16 %64, 256\n %66 = zext i16 %65 to i64\n %67 = call i64 @FUNC(i64 %57, i64 %36, i64 %66)\n %68 = load i16, i16* %sv_5, align 2\n %69 = urem i16 %68, 256\n %70 = zext i16 %69 to i64\n %71 = call i64 @FUNC(i64 %57, i64 %44, i64 %70)\n %72 = call i64 @FUNC(i64 add (i64 ptrtoint ([17 x i8]* @gv_0 to i64), i64 8), i64 %57)\n store i64 %sv_3.0.reload, i64* %sv_3.114.reg2mem\n store i64 %36, i64* %sv_2.012.reg2mem\n store i64 0, i64* %sv_1.08.reg2mem\n store i64 %44, i64* %sv_0.06.reg2mem\n br label LBL_10\n LBL_9:\n %sv_3.1.ph.reload = load i64, i64* %sv_3.1.ph.reg2mem\n %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem\n %rdx.0.ph.reload = load i64, i64* %rdx.0.ph.reg2mem\n %rcx.0.ph.reload = load i64, i64* %rcx.0.ph.reg2mem\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %73 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 4294967284, i64 %rdx.0.ph.reload, i64 %rcx.0.ph.reload, i64 %2, i64 %1)\n store i64 %sv_3.1.ph.reload, i64* %sv_3.114.reg2mem\n store i64 %sv_2.0.ph.reload, i64* %sv_2.012.reg2mem\n store i64 4294967284, i64* %sv_1.08.reg2mem\n store i64 %sv_0.0.ph.reload, i64* %sv_0.06.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem\n %sv_2.012.reload = load i64, i64* %sv_2.012.reg2mem\n %sv_3.114.reload = load i64, i64* %sv_3.114.reg2mem\n %74 = call i64 @FUNC(i64 %sv_3.114.reload)\n %75 = call i64 @FUNC(i64 %sv_2.012.reload)\n %76 = call i64 @FUNC(i64 %sv_0.06.reload)\n ret i64 %sv_1.08.reload\n\n uselistorder i64 %57, { 1, 0, 3, 2, 4 }\n uselistorder i64 %44, { 0, 3, 2, 1, 4 }\n uselistorder i64 %41, { 1, 2, 0 }\n uselistorder i64 %36, { 0, 4, 3, 2, 1, 5 }\n uselistorder i64 %sv_3.0.reload, { 0, 4, 3, 2, 1 }\n uselistorder i64 %16, { 1, 0, 2 }\n uselistorder i16* %sv_9, { 2, 1, 0, 3 }\n uselistorder i16* %sv_6, { 2, 1, 0, 3 }\n uselistorder i16* %sv_5, { 2, 1, 3, 0 }\n uselistorder i64 %6, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %rcx.0.ph.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %rdx.0.ph.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %sv_2.0.ph.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %sv_3.1.ph.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %sv_3.114.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.012.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.08.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.06.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @llcp_add_tlv, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64*)* @nfc_llcp_build_tlv, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_debug, { 1, 0 }\n uselistorder i64 0, { 11, 12, 0, 18, 9, 10, 3, 19, 15, 2, 4, 20, 16, 1, 5, 21, 6, 22, 13, 14, 7, 8, 17 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ata_eh_categorize_error_4249", "fun_name": "ata_eh_categorize_error", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = urem i64 %arg1, 2\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %3, align 4\n br label LBL_2\n LBL_2:\n %4 = and i64 %arg2, 4\n %5 = icmp eq i64 %4, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_8\n LBL_3:\n %6 = and i64 %arg2, 8\n %7 = icmp eq i64 %6, 0\n store i64 2, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_8\n LBL_4:\n %8 = and i64 %arg1, 2\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_7, label LBL_5\n LBL_5:\n %10 = and i64 %arg2, 16\n %11 = icmp eq i64 %10, 0\n store i64 2, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_8\n LBL_6:\n %12 = and i64 %arg2, 224\n %13 = icmp eq i64 %12, 32\n %14 = icmp eq i1 %13, false\n store i64 3, i64* %rax.0.reg2mem\n br i1 %14, label LBL_7, label LBL_8\n LBL_7:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 2, { 0, 3, 1, 2 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_8, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lock_rename_8081", "fun_name": "lock_rename", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, %arg2\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg1, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %arg2, i64 %arg1)\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %arg1, i64 0)\n %10 = call i64 @FUNC(i64 %arg1, i64 1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %11 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %12 = icmp eq i64 %11, 0\n %13 = call i64 @FUNC(i64 %arg1, i64 0)\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n %14 = call i64 @FUNC(i64 0, i64 1)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %15 = call i64 @FUNC(i64 0, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @d_ancestor, { 1, 0 }\n uselistorder i64 (i64, i64)* @mutex_lock_nested, { 5, 3, 4, 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 3, 1, 0, 4, 5, 6, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reset_packet_state_3433", "fun_name": "reset_packet_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 72\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %0, 20\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %0, 24\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %0, 28\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %0, 32\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %0, 36\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %0, 40\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %0, 44\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %0, 48\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %0, 52\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %0, 56\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %34, label LBL_3, label LBL_1\n LBL_1:\n %35 = add i64 %0, 64\n %36 = inttoptr i64 %35 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %37 = load i64, i64* %36, align 8\n %38 = mul i64 %.reload, 8\n %39 = add i64 %37, %38\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n %43 = add i64 %41, 4\n %44 = inttoptr i64 %43 to i32*\n store i32 0, i32* %44, align 4\n %45 = add i64 %41, 8\n %46 = inttoptr i64 %45 to i32*\n %47 = add i64 %41, 12\n %48 = inttoptr i64 %47 to i32*\n store i32 0, i32* %48, align 4\n %49 = add i64 %41, 16\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n store i32 0, i32* %46, align 4\n %51 = add i64 %41, 24\n %52 = call i64 @FUNC(i64 %51)\n %53 = call i64 @FUNC(i64 %51)\n %54 = add i32 %storemerge1.reload, 1\n %55 = load i32, i32* %32, align 4\n %56 = zext i32 %55 to i64\n %57 = sext i32 %54 to i64\n %58 = icmp slt i64 %57, %56\n store i64 %57, i64* %.reg2mem\n store i32 %54, i32* %storemerge1.reg2mem\n store i64 %56, i64* %.lcssa.reg2mem\n br i1 %58, label LBL_2, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32* %32, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 0, 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RemoveICCProfileFromResourceBlock_6647", "fun_name": "RemoveICCProfileFromResourceBlock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rbx.06.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i16, align 2\n %sv_3 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp ult i64 %1, 16\n store i64 %1, i64* %rax.1.reg2mem\n br i1 %2, label LBL_9, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %1, -16\n %5 = add i64 %4, %3\n %6 = bitcast i16* %sv_2 to i64*\n %7 = bitcast i32* %sv_0 to i64*\n store i64 %3, i64* %rbx.06.reg2mem\n br label LBL_7\n LBL_2:\n %8 = call i64 @FUNC(i64 %rbx.06.reload, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 4)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %rax.1.reg2mem\n br i1 %11, label LBL_9, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 0, i64 %rbx.06.reload, i64* nonnull %sv_3)\n %13 = call i64 @FUNC(i64 0, i64 %12, i64* nonnull %6)\n %14 = call i64 @FUNC(i64 0, i64 %13, i64* nonnull %sv_1)\n %15 = call i64 @FUNC(i64 0, i64 %14, i64* nonnull %7)\n %16 = load i16, i16* %sv_2, align 2\n %17 = icmp eq i16 %16, 1039\n %18 = icmp eq i1 %17, false\n %19 = load i32, i32* %sv_0, align 4\n %20 = zext i32 %19 to i64\n br i1 %18, label LBL_6, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %rbx.06.reload, 12\n %23 = add i64 %21, %22\n %24 = icmp ult i64 %23, %5\n %25 = icmp eq i1 %24, false\n store i64 %5, i64* %rax.1.reg2mem\n br i1 %25, label LBL_9, label LBL_5\n LBL_5:\n %26 = load i32, i32* %sv_0, align 4\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %1, -12\n %30 = add i64 %3, %29\n %31 = sub i64 %30, %rbx.06.reload\n %32 = sub i64 %31, %28\n %33 = load i32, i32* %sv_0, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %35, %22\n %37 = call i64 @FUNC(i64 %rbx.06.reload, i64 %36, i64 %32)\n %38 = load i32, i32* %sv_0, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39)\n %41 = sub i64 %29, %40\n %42 = call i64 @FUNC(i64 %0, i64 %41)\n store i64 %42, i64* %rax.1.reg2mem\n br label LBL_9\n LBL_6:\n %43 = add i64 %15, %20\n %44 = urem i32 %19, 2\n %45 = icmp ne i32 %44, 0\n %46 = zext i1 %45 to i64\n %spec.select = add i64 %43, %46\n %47 = icmp ugt i64 %3, %spec.select\n store i64 %spec.select, i64* %rbx.06.reg2mem\n br i1 %47, label LBL_8, label LBL_7\n LBL_7:\n %rbx.06.reload = load i64, i64* %rbx.06.reg2mem\n %48 = icmp ult i64 %rbx.06.reload, %5\n store i64 %5, i64* %rax.1.reg2mem\n br i1 %48, label LBL_2, label LBL_9\n LBL_8:\n %49 = zext i32 %44 to i64\n store i64 %49, i64* %rax.1.reg2mem\n br label LBL_9\n LBL_9:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %rbx.06.reload, { 1, 2, 0, 4, 5, 3 }\n uselistorder i32 %44, { 1, 0 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %5, { 0, 3, 1, 2 }\n uselistorder i64 %3, { 3, 1, 0, 2 }\n uselistorder i64 %1, { 1, 2, 0, 3 }\n uselistorder i32* %sv_0, { 2, 1, 0, 3, 4 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 4, 5, 2, 6 }\n uselistorder i64 (i64)* @PSDQuantum, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @PushShortPixel, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @PushLongPixel, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 4, 3, 1, 5 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "colo_packet_compare_udp_2606", "fun_name": "colo_packet_compare_udp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = mul i64 %1, 4\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n %6 = add i64 %4, 14\n %7 = and i64 %6, 4294967294\n %8 = call i64 @FUNC(i64 %2, i64 %3, i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_3, label LBL_1\n LBL_1:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %14)\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0), i64 %19)\n %21 = call i64 @FUNC(i64 1)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = load i32, i32* %12, align 4\n %25 = load i64, i64* @gv_3, align 8\n %26 = add i64 %2, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = zext i32 %24 to i64\n %30 = call i64 @FUNC(i64 %28, i64 %25, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %29)\n %31 = load i32, i32* %17, align 4\n %32 = load i64, i64* @gv_3, align 8\n %33 = add i64 %3, 16\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = zext i32 %31 to i64\n %37 = call i64 @FUNC(i64 %35, i64 %32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i64 %36)\n br label LBL_3\n LBL_3:\n %38 = and i64 %8, 4294967295\n ret i64 %38\n\n uselistorder i64 (i64, i64, i8*, i64)* @qemu_hexdump, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 (i8*, i64)* @trace_colo_compare_udp_miscompare, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_inactivate_all_817", "fun_name": "bdrv_inactivate_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge9.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %storemerge310.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0.112.reg2mem = alloca i32\n %storemerge413.reg2mem = alloca i64\n %sv_1 = alloca i32, align 4\n %0 = bitcast i32* %sv_1 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %storemerge413.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %storemerge413.reload = load i64, i64* %storemerge413.reg2mem\n %4 = call i64 @FUNC(i64 %storemerge413.reload)\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64* nonnull %0)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %storemerge413.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_2:\n store i32 0, i32* %sv_1, align 4\n store i32 0, i32* %sv_0.112.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem\n %9 = call i64 @FUNC(i64* nonnull %0)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = load i32, i32* %sv_1, align 4\n store i32 %12, i32* %.reg2mem\n store i64 %9, i64* %storemerge310.reg2mem\n store i32 %sv_0.112.reload, i32* %sv_0.0.lcssa.reg2mem\n store i32 %12, i32* %.lcssa.reg2mem\n br i1 %11, label LBL_4, label LBL_7\n LBL_4:\n %storemerge310.reload = load i64, i64* %storemerge310.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %13 = zext i32 %.reload to i64\n %14 = call i64 @FUNC(i64 %storemerge310.reload, i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64* nonnull %0)\n store i32 %15, i32* %sv_0.2.reg2mem\n br label LBL_8\n LBL_6:\n %19 = call i64 @FUNC(i64* nonnull %0)\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = load i32, i32* %sv_1, align 4\n store i32 %22, i32* %.reg2mem\n store i64 %19, i64* %storemerge310.reg2mem\n store i32 %15, i32* %sv_0.0.lcssa.reg2mem\n store i32 %22, i32* %.lcssa.reg2mem\n br i1 %21, label LBL_4, label LBL_7\n LBL_7:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %23 = add i32 %.lcssa.reload, 1\n store i32 %23, i32* %sv_1, align 4\n %24 = icmp slt i32 %23, 2\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.112.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.2.reg2mem\n br i1 %24, label LBL_3, label LBL_8\n LBL_8:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %25 = call i64 @FUNC(i64* nonnull %0)\n %26 = icmp eq i64 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 %25, i64* %storemerge9.reg2mem\n br i1 %27, label LBL_9, label LBL_10\n LBL_9:\n %storemerge9.reload = load i64, i64* %storemerge9.reg2mem\n %28 = call i64 @FUNC(i64 %storemerge9.reload)\n %29 = call i64 @FUNC(i64 %28)\n %30 = call i64 @FUNC(i64* nonnull %0)\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 %30, i64* %storemerge9.reg2mem\n br i1 %32, label LBL_9, label LBL_10\n LBL_10:\n %33 = zext i32 %sv_0.2.reload to i64\n ret i64 %33\n\n uselistorder i32 %23, { 1, 0 }\n uselistorder i32 %15, { 1, 0, 2 }\n uselistorder i32* %sv_1, { 2, 3, 1, 0, 4 }\n uselistorder i64* %storemerge413.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.112.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge310.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge9.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 (i64*)* @bdrv_next, { 2, 1, 0 }\n uselistorder i64 (i64)* @bdrv_get_aio_context, { 1, 0 }\n uselistorder i1 false, { 3, 2, 5, 4, 1, 6, 0 }\n uselistorder i64 (i64*)* @bdrv_first, { 1, 2, 0 }\n uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "eaptls_authenticate_17990", "fun_name": "eaptls_authenticate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_5\n LBL_1:\n %8 = icmp eq i32 %5, 1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = icmp ne i32 %11, 2\n %. = zext i1 %12 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %13 = and i64 %4, 4294967295\n %14 = call i64 @FUNC(i64 %3, i64 %13)\n store i64 %14, i64* %sv_0, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_5\n LBL_4:\n %17 = call i64 @FUNC(i64 %14, i64 %13, i64 %0)\n %18 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "update_read_bitmap_data_7323", "fun_name": "update_read_bitmap_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp ult i64 %3, 18\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_11, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = urem i64 %1, 65536\n %7 = call i64 @FUNC(i64 %2, i64 %6)\n %8 = add i64 %5, 2\n %9 = inttoptr i64 %8 to i16*\n %10 = load i16, i16* %9, align 2\n %11 = zext i16 %10 to i64\n %12 = call i64 @FUNC(i64 %2, i64 %11)\n %13 = add i64 %5, 4\n %14 = inttoptr i64 %13 to i16*\n %15 = load i16, i16* %14, align 2\n %16 = zext i16 %15 to i64\n %17 = call i64 @FUNC(i64 %2, i64 %16)\n %18 = add i64 %5, 6\n %19 = inttoptr i64 %18 to i16*\n %20 = load i16, i16* %19, align 2\n %21 = zext i16 %20 to i64\n %22 = call i64 @FUNC(i64 %2, i64 %21)\n %23 = add i64 %5, 8\n %24 = inttoptr i64 %23 to i16*\n %25 = load i16, i16* %24, align 2\n %26 = zext i16 %25 to i64\n %27 = call i64 @FUNC(i64 %2, i64 %26)\n %28 = add i64 %5, 10\n %29 = inttoptr i64 %28 to i16*\n %30 = load i16, i16* %29, align 2\n %31 = zext i16 %30 to i64\n %32 = call i64 @FUNC(i64 %2, i64 %31)\n %33 = add i64 %5, 12\n %34 = inttoptr i64 %33 to i16*\n %35 = load i16, i16* %34, align 2\n %36 = zext i16 %35 to i64\n %37 = call i64 @FUNC(i64 %2, i64 %36)\n %38 = add i64 %5, 14\n %39 = inttoptr i64 %38 to i16*\n %40 = load i16, i16* %39, align 2\n %41 = zext i16 %40 to i64\n %42 = call i64 @FUNC(i64 %2, i64 %41)\n %43 = add i64 %5, 16\n %44 = inttoptr i64 %43 to i16*\n %45 = load i16, i16* %44, align 2\n %46 = zext i16 %45 to i64\n %47 = call i64 @FUNC(i64 %2, i64 %46)\n %48 = load i16, i16* %39, align 2\n %49 = urem i16 %48, 2\n %50 = icmp eq i16 %49, 0\n br i1 %50, label LBL_6, label LBL_2\n LBL_2:\n %51 = and i16 %48, 2\n %52 = icmp eq i16 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_5, label LBL_3\n LBL_3:\n %54 = call i64 @FUNC(i64 %2)\n %55 = icmp ult i64 %54, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %55, label LBL_11, label LBL_4\n LBL_4:\n %56 = add i64 %5, 18\n %57 = inttoptr i64 %56 to i16*\n %58 = load i16, i16* %57, align 2\n %59 = zext i16 %58 to i64\n %60 = call i64 @FUNC(i64 %2, i64 %59)\n %61 = add i64 %5, 20\n %62 = inttoptr i64 %61 to i16*\n %63 = load i16, i16* %62, align 2\n %64 = zext i16 %63 to i64\n %65 = call i64 @FUNC(i64 %2, i64 %64)\n %66 = add i64 %5, 22\n %67 = inttoptr i64 %66 to i16*\n %68 = load i16, i16* %67, align 2\n %69 = zext i16 %68 to i64\n %70 = call i64 @FUNC(i64 %2, i64 %69)\n %71 = add i64 %5, 24\n %72 = inttoptr i64 %71 to i16*\n %73 = load i16, i16* %72, align 2\n %74 = zext i16 %73 to i64\n %75 = call i64 @FUNC(i64 %2, i64 %74)\n %76 = load i16, i16* %62, align 2\n store i16 %76, i16* %44, align 2\n br label LBL_5\n LBL_5:\n %77 = add i64 %5, 28\n %78 = inttoptr i64 %77 to i32*\n store i32 1, i32* %78, align 4\n br label LBL_7\n LBL_6:\n %79 = add i64 %5, 28\n %80 = inttoptr i64 %79 to i32*\n store i32 0, i32* %80, align 4\n br label LBL_7\n LBL_7:\n %81 = call i64 @FUNC(i64 %2)\n %82 = load i16, i16* %44, align 2\n %83 = zext i16 %82 to i64\n %84 = icmp ult i64 %81, %83\n %85 = icmp eq i1 %84, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %85, label LBL_8, label LBL_11\n LBL_8:\n %86 = icmp eq i16 %82, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %86, label LBL_11, label LBL_9\n LBL_9:\n %87 = zext i16 %82 to i32\n %88 = call i64* @malloc(i32 %87)\n %89 = ptrtoint i64* %88 to i64\n %90 = add i64 %5, 32\n %91 = inttoptr i64 %90 to i64*\n store i64 %89, i64* %91, align 8\n %92 = icmp eq i64* %88, null\n %93 = icmp eq i1 %92, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %93, label LBL_10, label LBL_11\n LBL_10:\n %94 = load i16, i16* %44, align 2\n %95 = call i64 @FUNC(i64 %2)\n %96 = load i64, i64* %91, align 8\n %97 = inttoptr i64 %96 to i64*\n %98 = inttoptr i64 %95 to i64*\n %99 = zext i16 %94 to i32\n %100 = call i64* @memcpy(i64* %97, i64* %98, i32 %99)\n %101 = load i16, i16* %44, align 2\n %102 = zext i16 %101 to i64\n %103 = call i64 @FUNC(i64 %2, i64 %102)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i16 %48, { 1, 0 }\n uselistorder i16* %44, { 1, 2, 3, 0, 4 }\n uselistorder i64 %5, { 5, 6, 4, 0, 1, 2, 3, 7, 8, 9, 10, 11, 12, 13, 14 }\n uselistorder i64 %2, { 5, 6, 7, 0, 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i16 0, { 2, 0, 1 }\n uselistorder i16 2, { 1, 0 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT16, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 18, { 1, 0 }\n uselistorder i64 (i64)* @Stream_GetRemainingLength, { 2, 1, 0 }\n uselistorder label LBL_11, { 1, 2, 0, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_unsafe_exec_9300", "fun_name": "check_unsafe_exec", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_1.12.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* @gv_0, align 8\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %7 = trunc i64 %1 to i32\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %8 = urem i32 %5, 2\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = or i32 %7, 2\n store i32 %10, i32* %arg1, align 4\n br label LBL_4\n LBL_3:\n %11 = or i32 %7, 4\n store i32 %11, i32* %arg1, align 4\n br label LBL_4\n LBL_4:\n %12 = load i64, i64* @gv_0, align 8\n %13 = add i64 %12, 12\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = or i32 %7, 8\n store i32 %17, i32* %arg1, align 4\n br label LBL_6\n LBL_6:\n %18 = inttoptr i64 %2 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %19, 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = call i64 @FUNC()\n %23 = call i64 @FUNC(i64 %2)\n %24 = icmp eq i64 %23, %2\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %storemerge3.reg2mem\n store i32 1, i32* %sv_1.12.reg2mem\n store i32 1, i32* %sv_1.1.lcssa.reg2mem\n br i1 %25, label LBL_7, label LBL_8\n LBL_7:\n %sv_1.12.reload = load i32, i32* %sv_1.12.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %26 = inttoptr i64 %storemerge3.reload to i64*\n %27 = load i64, i64* %26, align 8\n %28 = load i64, i64* %18, align 8\n %29 = icmp eq i64 %27, %28\n %30 = zext i1 %29 to i32\n %spec.select = add i32 %sv_1.12.reload, %30\n %31 = call i64 @FUNC(i64 %storemerge3.reload)\n %32 = icmp eq i64 %31, %2\n %33 = icmp eq i1 %32, false\n store i64 %31, i64* %storemerge3.reg2mem\n store i32 %spec.select, i32* %sv_1.12.reg2mem\n store i32 %spec.select, i32* %sv_1.1.lcssa.reg2mem\n br i1 %33, label LBL_7, label LBL_8\n LBL_8:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %34 = call i64 @FUNC()\n %35 = load i64, i64* %18, align 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp ult i32 %sv_1.1.lcssa.reload, %37\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n %40 = or i32 %7, 16\n store i32 %40, i32* %arg1, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_10:\n %41 = add i64 %35, 4\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n store i64 4294967285, i64* %sv_0.0.reg2mem\n br i1 %45, label LBL_12, label LBL_11\n LBL_11:\n store i32 1, i32* %42, align 4\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %46 = load i64, i64* %18, align 8\n %47 = add i64 %46, 8\n %48 = call i64 @FUNC(i64 %47)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %2, { 1, 0, 3, 2, 4 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @next_thread, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32* %arg1, { 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "razer_get_usb_response_7157", "fun_name": "razer_get_usb_response", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32 %arg4, i64* %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 44, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = ptrtoint i64* %arg3 to i64\n %5 = call i64 @FUNC(i64 %3, i64 %4, i32 %arg2, i64 %arg6, i64 %arg7)\n %6 = call i64 @FUNC(i64 %3, i64 0)\n %7 = zext i32 %arg4 to i64\n %8 = and i64 %6, 4294967295\n %9 = call i64 @FUNC(i64 %3, i64 %8, i32 1, i32 161, i32 768, i32 %arg4)\n %10 = trunc i64 %9 to i32\n %11 = inttoptr i64 %0 to i64*\n %12 = call i64* @memcpy(i64* %arg5, i64* %11, i32 44)\n %13 = call i64 @FUNC(i64 %0)\n %14 = icmp eq i32 %10, 90\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %sext = mul i64 %9, 4294967296\n %15 = ashr exact i64 %sext, 32\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 44, i64 %0, i64 768, i64 %7)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_1, i64 0, i64 0), i32 768, i64 %0, i64 768, i64 %7)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = bitcast i64* %arg5 to i32*\n store i32 10, i32* %20, align 4\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i32 %arg4, { 1, 0 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_packet_data_3666", "fun_name": "copy_packet_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %merge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 0, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 4294967284, i64* %merge.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n %9 = add i64 %0, 28\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = trunc i64 %arg3 to i32\n %14 = icmp eq i32 %13, 0\n %or.cond = or i1 %14, %12\n store i64 0, i64* %merge.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = add i64 %15, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n store i64 %18, i64* %2, align 8\n store i64 0, i64* %merge.reg2mem\n br label LBL_3\n LBL_3:\n %merge.reload = load i64, i64* %merge.reg2mem\n ret i64 %merge.reload\n\n uselistorder i64* %merge.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hpet_start_timer_14308", "fun_name": "hpet_start_timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = call i32 (i8*, i32, ...) @open(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i32 0)\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %5 = call i32 (i32, i32, ...) @ioctl(i32 %2, i32 0)\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %9 = call i32 @fwrite(i64* bitcast ([180 x i8]* @gv_2 to i64*), i32 1, i32 179, %_IO_FILE* %8)\n br label LBL_7\n LBL_3:\n %10 = call i32 (i32, i32, ...) @ioctl(i32 %2, i32 1)\n %11 = icmp slt i32 %10, 0\n br i1 %11, label LBL_7, label LBL_4\n LBL_4:\n %12 = call i32 (i32, i32, ...) @ioctl(i32 %2, i32 2)\n %13 = icmp ne i32 %1, 0\n %14 = icmp slt i32 %12, 0\n %or.cond = icmp eq i1 %13, %14\n br i1 %or.cond, label LBL_7, label LBL_5\n LBL_5:\n %15 = call i32 (i32, i32, ...) @ioctl(i32 %2, i32 3)\n %16 = icmp slt i32 %15, 0\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = zext i32 %2 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = sext i32 %2 to i64\n store i64 %19, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %20 = call i32 @close(i32 %2)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 4, 1, 0, 2, 3, 5, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i32, i32, ...)* @ioctl, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nft_reg_store64_7081", "fun_name": "nft_reg_store64", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %arg2, i64 %0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reset_cmd_handler_10170", "fun_name": "reset_cmd_handler", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i32*\n store i32 -1, i32* %0, align 4\n %1 = add i64 %arg1, 4\n %2 = inttoptr i64 %1 to i32*\n store i32 0, i32* %2, align 4\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %4, align 8\n br label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = add i64 %arg1, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %arg1, i64 1)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %14 = call i64 @FUNC(i64 %arg1, i64 2)\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @conn_set_state, { 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 2, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ahci_irq_raise_10663", "fun_name": "ahci_irq_raise", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 1)\n %4 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i64 %3, 0\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %3, i64 0)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow_check_402", "fun_name": "qcow_check", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_tty_option_9666", "fun_name": "get_tty_option", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = icmp eq i64* %arg2, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_12, label LBL_2\n LBL_2:\n %4 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4\n %5 = icmp sgt i32 %4, 1\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %6, i64* %arg2, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %7 = call i64 @FUNC(i64 32)\n store i64 %7, i64* %arg2, align 8\n %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %9 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_7, label LBL_6\n LBL_6:\n %11 = call i32 @strcmp(i8* %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0))\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_9, label LBL_7\n LBL_7:\n %14 = icmp eq i64* %arg2, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_12, label LBL_8\n LBL_8:\n %15 = call i64 @FUNC(i64* bitcast ([5 x i8]* @gv_5 to i64*))\n store i64 %15, i64* %arg2, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %16 = ptrtoint i8* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i8\n %19 = icmp eq i8 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_12, label LBL_10\n LBL_10:\n %20 = icmp eq i64* %arg2, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %20, label LBL_12, label LBL_11\n LBL_11:\n %21 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %21, i64* %arg2, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 5, 4, 8, 7, 6 }\n uselistorder i64 (i64*)* @xstrdup, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0, 3, 2, 6, 5, 4, 7 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }\n uselistorder label LBL_12, { 2, 1, 0, 4, 3, 7, 6, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdisc_lookup_10151", "fun_name": "qdisc_lookup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %arg2, 4294967295\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = and i64 %1, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %7 = call i64 @FUNC(i64 %2, i64 %indvars.iv.reload)\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 %3)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_5, label LBL_3\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %13 = icmp ult i64 %indvars.iv.next, %6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %13, label LBL_2, label LBL_4\n LBL_4:\n %14 = add i64 %2, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16, i64 %3)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcg_temp_free_internal_2677", "fun_name": "tcg_temp_free_internal", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n store i32 ptrtoint (i32* @gv_0 to i32), i32* bitcast (i32** @gv_1 to i32*), align 8\n br i1 icmp sge (i32 and (i32 ptrtoint (i32* @gv_0 to i32), i32 ptrtoint (i32* @gv_0 to i32)), i32 0), label LBL_2, label LBL_1\n LBL_1:\n %0 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %1 = call i32 @fwrite(i64* bitcast ([40 x i8]* @gv_3 to i64*), i32 1, i32 39, %_IO_FILE* %0)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = load i32, i32* @gv_4, align 4\n %4 = zext i32 %3 to i64\n %5 = icmp slt i64 %2, %4\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = load i32, i32* @gv_5, align 4\n %7 = zext i32 %6 to i64\n %8 = icmp slt i64 %2, %7\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_7, i64 0, i64 0), i32 33, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_8, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %9 = load i64, i64* @gv_9, align 8\n %10 = ashr exact i64 %sext, 28\n %11 = add i64 %9, %10\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_7, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_8, i64 0, i64 0))\n br label LBL_7\n LBL_7:\n store i32 0, i32* %12, align 4\n %16 = add i64 %11, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %11, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n %23 = add i32 %18, 10\n %spec.select = select i1 %22, i32 %18, i32 %23\n %24 = load i64, i64* @gv_11, align 8\n %25 = sext i32 %spec.select to i64\n %26 = mul i64 %25, 4\n %27 = add i64 %26, %24\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %11, 12\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = load i64, i64* @gv_11, align 8\n %33 = add i64 %32, %26\n %34 = and i64 %2, 4294967295\n %35 = trunc i64 %2 to i32\n %36 = inttoptr i64 %33 to i32*\n store i32 %35, i32* %36, align 4\n ret i64 %34\n\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_opt_next_3207", "fun_name": "av_opt_next", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n %2 = icmp eq i64 %arg1, 0\n %or.cond = or i1 %2, %1\n store i64 %arg1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_4\n LBL_1:\n br i1 %0, label LBL_3, label LBL_2\n LBL_2:\n %3 = add i64 %arg2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_4\n LBL_3:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wmem_simple_realloc_4382", "fun_name": "wmem_simple_realloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %1 = icmp eq i64 %0, %arg2\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg2, i64 %arg2)\n %3 = icmp eq i64 %0, 0\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 %arg2, i64 %0, i64 %0)\n br label LBL_3\n LBL_3:\n ret i64 %0\n\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mwifiex_pcie_init_evt_ring_5681", "fun_name": "mwifiex_pcie_init_evt_ring", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv28.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rcx.08.lcssa.reg2mem = alloca i64\n %r8.09.lcssa.reg2mem = alloca i64\n %r9.010.lcssa.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_0 to i64\n %2 = add i64 %1, -8\n %3 = inttoptr i64 %2 to i64*\n %4 = add i64 %1, -16\n %5 = inttoptr i64 %4 to i64*\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = call i64 @FUNC(i64 256)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %.reg2mem\n store i64 0, i64* %indvars.iv28.reg2mem\n br i1 %12, label LBL_3, label LBL_2\n LBL_1:\n %13 = call i64 @FUNC(i64 256)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %28, i64* %r9.010.lcssa.reg2mem\n store i64 %32, i64* %r8.09.lcssa.reg2mem\n store i64 %39, i64* %rcx.08.lcssa.reg2mem\n store i64 %13, i64* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv28.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %rcx.08.lcssa.reload = load i64, i64* %rcx.08.lcssa.reg2mem\n %r8.09.lcssa.reload = load i64, i64* %r8.09.lcssa.reg2mem\n %r9.010.lcssa.reload = load i64, i64* %r9.010.lcssa.reg2mem\n %16 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.08.lcssa.reload, i64 %r8.09.lcssa.reload, i64 %r9.010.lcssa.reload)\n %17 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %18 = call i64 @FUNC(i64 %.reload, i64 256)\n %19 = call i64 @FUNC(i64 %0, i64 %.reload, i64 256, i64 0)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 %.reload)\n %23 = call i64 @FUNC(i64 %.reload)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem\n %24 = call i64 @FUNC(i64 %.reload)\n %25 = udiv i64 %24, 4294967296\n %26 = and i64 %24, 4294967295\n %27 = inttoptr i64 %.reload to i64*\n %28 = load i64, i64* %27, align 8\n %29 = add i64 %.reload, 8\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n store i64 %25, i64* %3, align 8\n store i64 %26, i64* %5, align 8\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %0, i64 1, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i64 %.reload, i64 %32, i64 %28)\n %34 = load i64, i64* %7, align 8\n %35 = mul i64 %indvars.iv28.reload, 8\n %36 = add i64 %34, %35\n %37 = inttoptr i64 %36 to i64*\n store i64 %.reload, i64* %37, align 8\n %38 = mul i64 %indvars.iv28.reload, 16\n %39 = load i64, i64* %9, align 8\n %40 = add i64 %39, %35\n %41 = add i64 %38, %0\n %42 = inttoptr i64 %40 to i64*\n store i64 %41, i64* %42, align 8\n %43 = load i64, i64* %9, align 8\n %44 = add i64 %43, %35\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %46 to i64*\n store i64 %24, i64* %47, align 8\n %48 = load i32, i32* %30, align 4\n %49 = trunc i32 %48 to i16\n %50 = add i64 %46, 8\n %51 = inttoptr i64 %50 to i16*\n store i16 %49, i16* %51, align 2\n %52 = add i64 %46, 10\n %53 = inttoptr i64 %52 to i16*\n store i16 0, i16* %53, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv28.reload, 1\n %54 = icmp ult i64 %indvars.iv.next, 10\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_1, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.next, { 1, 0 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i64 %35, { 2, 1, 0 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %28, { 1, 0 }\n uselistorder i64 %24, { 2, 1, 0 }\n uselistorder i64 %indvars.iv28.reload, { 0, 2, 1 }\n uselistorder i64 %.reload, { 0, 1, 4, 3, 2, 8, 7, 6, 5 }\n uselistorder i64 %0, { 0, 5, 6, 2, 1, 3, 4 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv28.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @mwifiex_dbg, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 (i64)* @dev_alloc_skb, { 1, 0 }\n uselistorder i64 256, { 1, 2, 3, 0 }\n uselistorder i64 8, { 1, 0, 3, 2, 4, 5 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cib_ha_peer_callback_4351", "fun_name": "cib_ha_peer_callback", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 0, i64 %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %1, i64 %arg2)\n %3 = call i64 @FUNC(i64 %1)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_direct_ref_list_init_14241", "fun_name": "ff_h264_direct_ref_list_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.3.reg2mem = alloca i64\n %rax.1.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %.reg2mem29 = alloca i32*\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %.reg2mem27 = alloca i32*\n %.pre-phi.reg2mem = alloca i64\n %.reg2mem25 = alloca i32\n %.reg2mem23 = alloca i32*\n %storemerge59.reg2mem = alloca i32\n %.reg2mem21 = alloca i64\n %.reg2mem19 = alloca i64\n %storemerge410.reg2mem = alloca i32\n %.reg2mem17 = alloca i64\n %.reg2mem = alloca i32*\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg1 to i64\n %sv_2 = alloca i32*, align 8\n store i32* %arg2, i32** %sv_2, align 8\n %4 = ptrtoint i32* %arg2 to i64\n %5 = add i64 %4, 48\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = bitcast i64* %rdi to i32*\n %10 = trunc i64 %1 to i32\n %11 = urem i32 %10, 2\n %12 = icmp eq i32 %11, 0\n %13 = inttoptr i64 %5 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = bitcast i64* %rsi to i32*\n %16 = trunc i64 %2 to i32\n %17 = icmp eq i32 %16, 0\n store i32 %10, i32* %.reg2mem25\n br i1 %17, label LBL_7, label LBL_1\n LBL_1:\n %18 = zext i1 %12 to i64\n %19 = mul i64 %18, 2\n %20 = add i64 %8, 20\n %21 = add i64 %8, 36\n store i32* %arg2, i32** %.reg2mem\n store i64 0, i64* %.reg2mem17\n store i32 0, i32* %storemerge410.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge410.reload = load i32, i32* %storemerge410.reg2mem\n %.reload18 = load i64, i64* %.reg2mem17\n %.reload = load i32*, i32** %.reg2mem\n %22 = ptrtoint i32* %.reload to i64\n %23 = mul i64 %.reload18, 4\n %24 = add nsw i64 %23, 4\n %25 = add i64 %24, %22\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add nsw i64 %.reload18, %19\n %29 = mul i64 %28, 4\n %30 = add i64 %20, %29\n %31 = inttoptr i64 %30 to i32*\n store i32 %27, i32* %31, align 4\n %32 = load i32*, i32** %sv_2, align 8\n %33 = ptrtoint i32* %32 to i64\n %34 = add i64 %24, %33\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 0\n store i32* %32, i32** %.reg2mem23\n br i1 %37, label LBL_5, label LBL_3\n LBL_3:\n %38 = mul i64 %.reload18, 2\n %39 = mul i64 %28, 2\n store i64 0, i64* %.reg2mem19\n store i64 %33, i64* %.reg2mem21\n store i32 0, i32* %storemerge59.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge59.reload = load i32, i32* %storemerge59.reg2mem\n %.reload22 = load i64, i64* %.reg2mem21\n %.reload20 = load i64, i64* %.reg2mem19\n %40 = add nsw i64 %.reload20, %38\n %41 = mul i64 %40, 16\n %42 = add i64 %.reload22, 16\n %43 = add i64 %42, %41\n %44 = add i64 %43, 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = add i64 %46, 8\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = mul i32 %49, 4\n %51 = inttoptr i64 %43 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = urem i32 %52, 4\n %54 = or i32 %53, %50\n %55 = add nsw i64 %.reload20, %39\n %56 = mul i64 %55, 4\n %57 = add i64 %21, %56\n %58 = inttoptr i64 %57 to i32*\n store i32 %54, i32* %58, align 4\n %59 = add i32 %storemerge59.reload, 1\n %60 = load i32*, i32** %sv_2, align 8\n %61 = ptrtoint i32* %60 to i64\n %62 = add i64 %24, %61\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = zext i32 %64 to i64\n %66 = sext i32 %59 to i64\n %67 = icmp slt i64 %66, %65\n store i64 %66, i64* %.reg2mem19\n store i64 %61, i64* %.reg2mem21\n store i32 %59, i32* %storemerge59.reg2mem\n store i32* %60, i32** %.reg2mem23\n br i1 %67, label LBL_4, label LBL_5\n LBL_5:\n %.reload24 = load i32*, i32** %.reg2mem23\n %68 = add i32 %storemerge410.reload, 1\n %69 = load i32, i32* %15, align 8\n %70 = zext i32 %69 to i64\n %71 = sext i32 %68 to i64\n %72 = icmp slt i64 %71, %70\n store i32* %.reload24, i32** %.reg2mem\n store i64 %71, i64* %.reg2mem17\n store i32 %68, i32* %storemerge410.reg2mem\n br i1 %72, label LBL_2, label LBL_6\n LBL_6:\n %.pre = load i32, i32* %9, align 8\n store i32 %.pre, i32* %.reg2mem25\n br label LBL_7\n LBL_7:\n %.reload26 = load i32, i32* %.reg2mem25\n %73 = icmp eq i32 %.reload26, 0\n %74 = icmp eq i1 %73, false\n br i1 %74, label LBL_9, label LBL_8\n LBL_8:\n %75 = add i64 %8, 20\n %76 = add i64 %8, 28\n %77 = inttoptr i64 %75 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = inttoptr i64 %76 to i64*\n store i64 %78, i64* %79, align 8\n %80 = add i64 %8, 36\n %81 = add i64 %8, 52\n %82 = add i64 %8, 44\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = inttoptr i64 %80 to i64*\n %86 = load i64, i64* %85, align 8\n %87 = inttoptr i64 %81 to i64*\n store i64 %86, i64* %87, align 8\n %88 = add i64 %8, 60\n %89 = inttoptr i64 %88 to i64*\n store i64 %84, i64* %89, align 8\n br label LBL_9\n LBL_9:\n %90 = add i64 %3, 16\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = add i64 %8, 4\n %94 = inttoptr i64 %93 to i32*\n store i32 %92, i32* %94, align 4\n %95 = load i32*, i32** %sv_2, align 8\n %96 = ptrtoint i32* %95 to i64\n %97 = add i64 %96, 80\n %98 = inttoptr i64 %97 to i32*\n store i32 0, i32* %98, align 4\n %99 = load i32, i32* %15, align 8\n %100 = zext i32 %99 to i64\n %101 = icmp eq i32 %99, 2\n %102 = icmp eq i1 %101, false\n store i64 %100, i64* %rax.3.reg2mem\n br i1 %102, label LBL_23, label LBL_10\n LBL_10:\n %103 = load i32*, i32** %sv_2, align 8\n %104 = ptrtoint i32* %103 to i64\n %105 = add i64 %104, 8\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = icmp eq i32 %107, 0\n store i64 0, i64* %rax.3.reg2mem\n br i1 %108, label LBL_23, label LBL_11\n LBL_11:\n %109 = load i32, i32* %9, align 8\n %110 = icmp eq i32 %109, 0\n %111 = icmp eq i1 %110, false\n br i1 %111, label LBL_13, label LBL_12\n LBL_12:\n %112 = load i64, i64* %7, align 8\n %113 = inttoptr i64 %112 to i32*\n %114 = load i32, i32* %113, align 4\n %115 = add i64 %104, 56\n %116 = inttoptr i64 %115 to i64*\n %117 = load i64, i64* %116, align 8\n %118 = add i64 %117, 12\n %119 = inttoptr i64 %118 to i32*\n %120 = load i32, i32* %119, align 4\n %121 = sub i32 %120, %114\n %122 = sub i32 0, %121\n %123 = icmp slt i32 %121, 0\n %124 = select i1 %123, i32 %122, i32 %121\n %125 = add i64 %117, 16\n %126 = inttoptr i64 %125 to i32*\n %127 = load i32, i32* %126, align 4\n %128 = sub i32 %127, %114\n %129 = sub i32 0, %128\n %130 = icmp slt i32 %129, 0\n %131 = icmp eq i1 %130, false\n %132 = select i1 %131, i32 %129, i32 %128\n %133 = sub i32 %124, %132\n %134 = xor i32 %132, %124\n %135 = xor i32 %133, %124\n %136 = and i32 %135, %134\n %137 = icmp slt i32 %136, 0\n %138 = icmp slt i32 %133, 0\n %139 = icmp eq i1 %138, %137\n %140 = zext i1 %139 to i32\n %141 = add i64 %104, 84\n %142 = inttoptr i64 %141 to i32*\n store i32 %140, i32* %142, align 4\n %143 = load i32*, i32** %sv_2, align 8\n %144 = ptrtoint i32* %143 to i64\n %145 = add i64 %144, 84\n %146 = inttoptr i64 %145 to i32*\n %147 = load i32, i32* %146, align 4\n store i64 %144, i64* %.pre-phi.reg2mem\n store i32* %143, i32** %.reg2mem27\n store i32 %147, i32* %sv_1.0.reg2mem\n store i32 %147, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_13:\n %148 = zext i1 %12 to i32\n %149 = urem i32 %14, 2\n %150 = icmp eq i32 %149, 0\n %151 = zext i1 %150 to i32\n %152 = add i64 %104, 48\n %153 = inttoptr i64 %152 to i32*\n %154 = load i32, i32* %153, align 4\n %155 = and i32 %154, %109\n %156 = icmp eq i32 %155, 0\n %157 = icmp eq i1 %156, false\n store i64 %104, i64* %.pre-phi.reg2mem\n store i32* %103, i32** %.reg2mem27\n store i32 %148, i32* %sv_1.0.reg2mem\n store i32 %151, i32* %sv_0.0.reg2mem\n br i1 %157, label LBL_16, label LBL_14\n LBL_14:\n %158 = add i64 %104, 56\n %159 = inttoptr i64 %158 to i64*\n %160 = load i64, i64* %159, align 8\n %161 = add i64 %160, 4\n %162 = inttoptr i64 %161 to i32*\n %163 = load i32, i32* %162, align 4\n %164 = icmp eq i32 %163, 0\n %165 = icmp eq i1 %164, false\n store i64 %104, i64* %.pre-phi.reg2mem\n store i32* %103, i32** %.reg2mem27\n store i32 %148, i32* %sv_1.0.reg2mem\n store i32 %151, i32* %sv_0.0.reg2mem\n br i1 %165, label LBL_16, label LBL_15\n LBL_15:\n %166 = mul i32 %154, 2\n %167 = add i32 %166, -3\n %168 = add i64 %104, 80\n %169 = inttoptr i64 %168 to i32*\n store i32 %167, i32* %169, align 4\n %.pre12 = load i32*, i32** %sv_2, align 8\n %.pre14 = ptrtoint i32* %.pre12 to i64\n store i64 %.pre14, i64* %.pre-phi.reg2mem\n store i32* %.pre12, i32** %.reg2mem27\n store i32 %148, i32* %sv_1.0.reg2mem\n store i32 %151, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_16:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %170 = add i64 %.pre-phi.reload, 88\n %171 = inttoptr i64 %170 to i32*\n %172 = load i32, i32* %171, align 4\n %173 = zext i32 %172 to i64\n %174 = icmp eq i32 %172, 1\n %175 = icmp eq i1 %174, false\n store i64 %173, i64* %rax.3.reg2mem\n br i1 %175, label LBL_23, label LBL_17\n LBL_17:\n %176 = add i64 %.pre-phi.reload, 92\n %177 = inttoptr i64 %176 to i32*\n %178 = load i32, i32* %177, align 4\n %179 = zext i32 %178 to i64\n %180 = icmp eq i32 %178, 0\n %181 = icmp eq i1 %180, false\n store i64 %179, i64* %rax.3.reg2mem\n br i1 %181, label LBL_23, label LBL_18\n LBL_18:\n %182 = ptrtoint i32** %sv_2 to i64\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %.reload28 = load i32*, i32** %.reg2mem27\n %183 = add i64 %182, -8\n %184 = inttoptr i64 %183 to i64*\n %185 = zext i32 %sv_0.0.reload to i64\n %186 = zext i32 %sv_1.0.reload to i64\n store i32* %.reload28, i32** %.reg2mem29\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload30 = load i32*, i32** %.reg2mem29\n %187 = ptrtoint i32* %.reload30 to i64\n %188 = add i64 %187, 96\n %189 = inttoptr i64 %188 to i32*\n %190 = load i32, i32* %189, align 4\n store i64 0, i64* %184, align 8\n %191 = call i64 @FUNC(i64 %3, i64 %187, i32 %190, i32 %storemerge7.reload, i64 %186, i64 %185)\n %192 = load i32, i32* %91, align 4\n %193 = icmp eq i32 %192, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %193, label LBL_21, label LBL_20\n LBL_20:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %194 = load i32*, i32** %sv_2, align 8\n %195 = ptrtoint i32* %194 to i64\n %196 = mul i64 %indvars.iv.reload, 4\n %197 = add nuw nsw i64 %196, 100\n %198 = add i64 %197, %195\n %199 = inttoptr i64 %198 to i32*\n %200 = load i32, i32* %199, align 4\n store i64 1, i64* %184, align 8\n %201 = call i64 @FUNC(i64 %3, i64 %195, i32 %200, i32 %storemerge7.reload, i64 %indvars.iv.reload, i64 %indvars.iv.reload)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %201, i64* %rax.1.reg2mem\n br i1 %exitcond, label LBL_21, label LBL_20\n LBL_21:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n %202 = add nuw nsw i32 %storemerge7.reload, 1\n %exitcond11 = icmp eq i32 %202, 2\n store i64 %rax.1.reload, i64* %rax.3.reg2mem\n br i1 %exitcond11, label LBL_23, label LBL_21.LBL_19_crit_edge\n LBL_22:\n %.pre13 = load i32*, i32** %sv_2, align 8\n store i32* %.pre13, i32** %.reg2mem29\n store i32 %202, i32* %storemerge7.reg2mem\n br label LBL_19\n LBL_23:\n %rax.3.reload = load i64, i64* %rax.3.reg2mem\n ret i64 %rax.3.reload\n\n uselistorder i64 %195, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1, 3 }\n uselistorder i32 %storemerge7.reload, { 2, 0, 1 }\n uselistorder i32 %151, { 2, 1, 0 }\n uselistorder i32 %148, { 2, 1, 0 }\n uselistorder i32 %133, { 1, 0 }\n uselistorder i32 %114, { 1, 0 }\n uselistorder i64 %104, { 6, 1, 5, 0, 4, 3, 2, 7 }\n uselistorder i32* %103, { 1, 0, 2 }\n uselistorder i64 %.reload20, { 1, 0 }\n uselistorder i64 %.reload18, { 2, 0, 1 }\n uselistorder i1 %12, { 1, 0 }\n uselistorder i32* %9, { 1, 0 }\n uselistorder i64 %8, { 6, 2, 1, 3, 0, 5, 4, 7, 8 }\n uselistorder i32** %sv_2, { 0, 9, 3, 1, 8, 7, 6, 5, 2, 4 }\n uselistorder i32** %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem17, { 1, 0, 2 }\n uselistorder i32* %storemerge410.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem19, { 1, 0, 2 }\n uselistorder i64* %.reg2mem21, { 1, 0, 2 }\n uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32** %.reg2mem27, { 0, 4, 3, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32** %.reg2mem29, { 1, 0, 2 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i32, i32, i64, i64)* @fill_colmap, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 16, { 2, 3, 1, 0 }\n uselistorder i64 4, { 0, 4, 5, 1, 2, 6, 3 }\n uselistorder i64 36, { 1, 0 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i64 2, { 3, 0, 1, 2 }\n uselistorder label LBL_23, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cb_mq_metrics_7215", "fun_name": "cb_mq_metrics", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8\n %1 = call i64* @pthread_getspecific(i32 %0)\n %2 = ptrtoint i64* %1 to i64\n %3 = icmp eq i64* %1, null\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 16)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC()\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %9 = call i64 @FUNC(i64 %5)\n %10 = load i32, i32* bitcast (i32** @gv_0 to i32*), align 8\n %11 = inttoptr i64 %5 to i64*\n %12 = call i32 @pthread_setspecific(i32 %10, i64* %11)\n store i64 %5, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %arg3)\n %15 = icmp eq i64 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_10, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 48)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC()\n %20 = call i64 @FUNC(i64 %14)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %21 = add i64 %16, 16\n %22 = inttoptr i64 %21 to i64*\n store i64 0, i64* %22, align 8\n %23 = add i64 %16, 24\n %24 = inttoptr i64 %23 to i64*\n store i64 %14, i64* %24, align 8\n %25 = call i64 @FUNC(i64 %arg3)\n %26 = add i64 %16, 32\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = icmp eq i64 %25, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = call i64 @FUNC()\n %31 = call i64 @FUNC(i64 %14)\n %32 = call i64 @FUNC(i64 %16)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %33 = inttoptr i64 %25 to i64*\n %34 = trunc i64 %arg3 to i32\n %35 = call i64* @memcpy(i64* %33, i64* %arg2, i32 %34)\n %36 = add i64 %16, 40\n %37 = inttoptr i64 %36 to i64*\n store i64 %arg3, i64* %37, align 8\n %38 = call i64 @FUNC(i64 %16, i64 %sv_0.0.reload)\n %39 = call i64 @FUNC()\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %25, { 1, 0, 2 }\n uselistorder i64 %16, { 1, 2, 0, 3, 4, 5, 6 }\n uselistorder i64 %14, { 1, 2, 0, 3 }\n uselistorder i64 %5, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 5, 1 }\n uselistorder i64 (i64)* @flb_sds_destroy, { 1, 0 }\n uselistorder i64 ()* @flb_errno, { 2, 1, 0 }\n uselistorder i64 (i64)* @flb_malloc, { 2, 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_10, { 1, 2, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_encoded_header_info_9789", "fun_name": "decode_encoded_header_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i32* @__errno_location()\n store i32 0, i32* %3, align 4\n %4 = ptrtoint i32* %arg2 to i64\n %5 = call i64 @FUNC(i64 %2, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = call i32* @__errno_location()\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 12\n %12 = icmp eq i1 %11, false\n %13 = add i64 %2, 8\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %13, i64 4294967295, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %15 = call i64 @FUNC(i64 %13, i64 4294967295, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %16 = trunc i64 %1 to i32\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = add i64 %4, 24\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = add i64 %2, 8\n %24 = call i64 @FUNC(i64 %23, i64 4294967295, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %25 = add i64 %4, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %4, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = add i64 %32, %27\n %34 = icmp sgt i64 %33, %2\n %35 = icmp slt i64 %33, 0\n %or.cond = or i1 %34, %35\n %36 = icmp eq i64 %32, 0\n %or.cond2 = or i1 %36, %or.cond\n %or.cond2.not = icmp ne i1 %or.cond2, true\n %37 = icmp slt i64 %27, 0\n %38 = icmp eq i1 %37, false\n %or.cond4 = icmp eq i1 %38, %or.cond2.not\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond4, label LBL_9, label LBL_8\n LBL_8:\n %39 = add i64 %2, 8\n %40 = call i64 @FUNC(i64 %39, i64 4294967295, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 2, 0, 3, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 5, 3, 2 }\n uselistorder i64 (i64, i64, i8*)* @archive_set_error, { 3, 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder label LBL_9, { 3, 0, 4, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "raise_irq_cpu_hotplug_16272", "fun_name": "raise_irq_cpu_hotplug", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = zext i32 %0 to i64\n %2 = call i64 @FUNC(i64 %1)\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vring_notify_15912", "fun_name": "vring_notify", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i1\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = trunc i64 %1 to i32\n %5 = urem i32 %4, 2\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = trunc i64 %2 to i16\n %8 = icmp eq i16 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %3)\n %11 = add i64 %3, 2\n %12 = inttoptr i64 %11 to i16*\n %13 = load i16, i16* %12, align 2\n %14 = trunc i64 %10 to i16\n %15 = icmp eq i16 %13, %14\n %16 = icmp eq i1 %15, false\n store i1 true, i1* %rax.0.shrunk.reg2mem\n br i1 %16, label LBL_3, label LBL_7\n LBL_3:\n %17 = and i32 %4, 2\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %3)\n %21 = urem i64 %20, 2\n %22 = icmp eq i64 %21, 0\n store i1 %22, i1* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_5:\n %23 = add i64 %3, 4\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n store i8 1, i8* %24, align 1\n %26 = add i64 %3, 6\n %27 = inttoptr i64 %26 to i16*\n %28 = load i16, i16* %27, align 2\n %29 = call i64 @FUNC(i64 %3)\n %30 = trunc i64 %29 to i16\n store i16 %30, i16* %27, align 2\n %31 = icmp eq i8 %25, 1\n %32 = icmp eq i1 %31, false\n store i1 true, i1* %rax.0.shrunk.reg2mem\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = call i64 @FUNC(i64 %3)\n %34 = zext i16 %28 to i64\n %35 = urem i64 %29, 65536\n %36 = urem i64 %33, 65536\n %37 = call i64 @FUNC(i64 %36, i64 %35, i64 %34)\n %38 = trunc i64 %37 to i8\n %39 = icmp ne i8 %38, 0\n store i1 %39, i1* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.shrunk.reload = load i1, i1* %rax.0.shrunk.reg2mem\n %rax.0 = zext i1 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3, 4, 6, 5 }\n uselistorder i1* %rax.0.shrunk.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nvmet_fc_find_target_queue_11341", "fun_name": "nvmet_fc_find_target_queue", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = call i64 @FUNC(i64 %arg2)\n %5 = add i64 %1, 16\n %6 = call i64 @FUNC(i64 %5, i64 %2)\n store i64 %5, i64* %storemerge13.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %7 = inttoptr i64 %storemerge13.reload to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %3, %8\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_7, label LBL_2\n LBL_2:\n %11 = add i64 %storemerge13.reload, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = mul i64 %4, 8\n %15 = and i64 %14, 524280\n %16 = add i64 %13, %15\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %19, label LBL_6, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %18)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %18)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %18, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %27 = call i64 @FUNC(i64 %5, i64 %2)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_7:\n %28 = add i64 %storemerge13.reload, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, %1\n %32 = icmp eq i1 %31, false\n store i64 %30, i64* %storemerge13.reg2mem\n br i1 %32, label LBL_1, label LBL_8\n LBL_8:\n %33 = call i64 @FUNC(i64 %5, i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge13.reload, { 0, 2, 1 }\n uselistorder i64 %5, { 1, 2, 0, 3 }\n uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "palette8tobgr32_1498", "fun_name": "palette8tobgr32", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg3, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i64* %arg4 to i64\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n store i64 0, i64* %storemerge3.reg2mem\n store i64 %2, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %4 = add i64 %storemerge3.reload, %3\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = zext i8 %6 to i64\n %8 = mul i64 %7, 4\n %9 = add i64 %8, %1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = inttoptr i64 %sv_0.02.reload to i8*\n store i8 %11, i8* %12, align 1\n %13 = load i8, i8* %5, align 1\n %14 = zext i8 %13 to i64\n %15 = mul i64 %14, 4\n %16 = or i64 %15, 1\n %17 = add i64 %16, %1\n %18 = add i64 %sv_0.02.reload, 1\n %19 = inttoptr i64 %17 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = inttoptr i64 %18 to i8*\n store i8 %20, i8* %21, align 1\n %22 = load i8, i8* %5, align 1\n %23 = zext i8 %22 to i64\n %24 = mul i64 %23, 4\n %25 = or i64 %24, 2\n %26 = add i64 %25, %1\n %27 = add i64 %sv_0.02.reload, 2\n %28 = inttoptr i64 %26 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = inttoptr i64 %27 to i8*\n store i8 %29, i8* %30, align 1\n %31 = add i64 %sv_0.02.reload, 4\n %32 = add nuw nsw i64 %storemerge3.reload, 1\n %exitcond = icmp eq i64 %32, %arg3\n store i64 %32, i64* %storemerge3.reg2mem\n store i64 %31, i64* %sv_0.02.reg2mem\n store i64 %arg3, i64* %storemerge.lcssa.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iax2_poke_peer_7003", "fun_name": "iax2_poke_peer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %3 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = add i64 %6, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_2\n LBL_2:\n %14 = add i64 %6, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = add i64 %6, 32\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %6, 36\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %6, 40\n %24 = inttoptr i64 %23 to i32*\n store i32 -1, i32* %24, align 4\n %25 = add i64 %6, 44\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_4:\n %27 = add i64 %6, 44\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp slt i32 %29, 1\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n %32 = load i32, i32* %28, align 4\n %33 = sext i32 %32 to i64\n %34 = mul i64 %33, 8\n %35 = add i64 %34, ptrtoint (i64* @gv_1 to i64)\n %36 = call i64 @FUNC(i64 %35)\n %37 = load i32, i32* %28, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38)\n %40 = load i32, i32* %28, align 4\n %41 = sext i32 %40 to i64\n %42 = mul i64 %41, 8\n %43 = add i64 %42, ptrtoint (i64* @gv_1 to i64)\n %44 = call i64 @FUNC(i64 %43)\n br label LBL_6\n LBL_6:\n %sext = mul i64 %arg2, 4294967296\n %45 = trunc i64 %arg2 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_8, label LBL_7\n LBL_7:\n %47 = ashr exact i64 %sext, 29\n %48 = add i64 %47, ptrtoint (i64* @gv_1 to i64)\n %49 = call i64 @FUNC(i64 %48)\n br label LBL_8\n LBL_8:\n %50 = add i64 %6, 48\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %6, 4\n %54 = zext i32 %52 to i64\n %55 = call i64 @FUNC(i64 0, i64 0, i64 %53, i64 1, i64 %54, i64 0)\n %56 = trunc i64 %55 to i32\n store i32 %56, i32* %28, align 4\n store i32 %56, i32* %.reg2mem\n br i1 %46, label LBL_10, label LBL_9\n LBL_9:\n %57 = ashr exact i64 %sext, 29\n %58 = add i64 %57, ptrtoint (i64* @gv_1 to i64)\n %59 = call i64 @FUNC(i64 %58)\n %.pre = load i32, i32* %28, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_10\n LBL_10:\n %.reload = load i32, i32* %.reg2mem\n %60 = icmp eq i32 %.reload, 0\n %61 = icmp slt i32 %.reload, 0\n %62 = icmp eq i1 %61, false\n %63 = icmp eq i1 %60, false\n %64 = icmp eq i1 %62, %63\n br i1 %64, label LBL_12, label LBL_11\n LBL_11:\n %65 = add i64 %6, 52\n %66 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %65, i64 1, i64 %54, i64 0)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_12:\n %67 = bitcast i64* %rdi to i32*\n %68 = load i32, i32* %67, align 8\n %69 = sdiv i32 %68, 8\n %70 = sext i32 %.reload to i64\n %71 = mul i64 %70, 8\n %72 = add i64 %71, ptrtoint (i64* @gv_3 to i64)\n %73 = inttoptr i64 %72 to i64*\n %74 = load i64, i64* %73, align 8\n %75 = add nsw i32 %69, 1\n %76 = inttoptr i64 %74 to i32*\n store i32 %75, i32* %76, align 4\n %77 = load i32, i32* %28, align 4\n %78 = sext i32 %77 to i64\n %79 = mul i64 %78, 8\n %80 = add i64 %79, ptrtoint (i64* @gv_3 to i64)\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = add i64 %82, 8\n %84 = inttoptr i64 %83 to i64*\n store i64 %6, i64* %84, align 8\n %85 = add i64 %6, 40\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = icmp slt i32 %87, 0\n br i1 %88, label LBL_15, label LBL_13\n LBL_13:\n %89 = load i64, i64* @gv_4, align 8\n %90 = zext i32 %87 to i64\n %91 = call i64 @FUNC(i64 %89, i64 %90)\n %92 = trunc i64 %91 to i32\n %93 = icmp eq i32 %92, 0\n %94 = icmp eq i1 %93, false\n br i1 %94, label LBL_15, label LBL_14\n LBL_14:\n store i32 -1, i32* %86, align 4\n %95 = call i64 @FUNC(i64 %6)\n br label LBL_15\n LBL_15:\n %96 = add i64 %6, 32\n %97 = inttoptr i64 %96 to i32*\n %98 = load i32, i32* %97, align 4\n %99 = icmp slt i32 %98, 0\n %100 = icmp eq i1 %99, false\n %101 = call i64 @FUNC(i64 %6)\n br i1 %100, label LBL_17, label LBL_16\n LBL_16:\n %102 = add i64 %6, 104\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = load i64, i64* @gv_4, align 8\n %106 = call i64 @FUNC(i64 %105, i32 %104, i64 4199050, i64 %101)\n store i64 %106, i64* %storemerge.in.reg2mem\n br label LBL_18\n LBL_17:\n %107 = load i64, i64* @gv_4, align 8\n %108 = call i64 @FUNC(i64 %107, i32 2000, i64 4199050, i64 %101)\n store i64 %108, i64* %storemerge.in.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n store i32 %storemerge, i32* %86, align 4\n %109 = icmp eq i32 %storemerge, -1\n %110 = icmp eq i1 %109, false\n br i1 %110, label LBL_20, label LBL_19\n LBL_19:\n %111 = call i64 @FUNC(i64 %6)\n br label LBL_20\n LBL_20:\n %112 = load i32, i32* %28, align 4\n %113 = sext i32 %112 to i64\n %114 = mul i64 %113, 8\n %115 = add i64 %114, ptrtoint (i64* @gv_3 to i64)\n %116 = inttoptr i64 %115 to i64*\n %117 = load i64, i64* %116, align 8\n %118 = call i64 @FUNC(i64 %117, i64 1, i64 2, i64 0, i64 0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %101, { 1, 0 }\n uselistorder i32 %.reload, { 0, 2, 1 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i32* %28, { 4, 5, 0, 6, 1, 2, 3, 7 }\n uselistorder i64 %6, { 2, 1, 4, 3, 0, 5, 6, 7, 9, 8, 10, 13, 14, 15, 16, 12, 11 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i32, i64, i64)* @iax2_sched_add, { 1, 0 }\n uselistorder i64 (i64)* @peer_unref, { 1, 0 }\n uselistorder i64 (i64)* @ast_mutex_unlock, { 1, 0 }\n uselistorder i64 (i64)* @ast_mutex_lock, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ast_log, { 1, 0 }\n uselistorder i64 1, { 4, 3, 5, 6, 0, 1, 2 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i64 8, { 0, 5, 1, 2, 3, 4, 6 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zgfx_history_buffer_ring_read_92", "fun_name": "zgfx_history_buffer_ring_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.in.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = trunc i64 %arg4 to i32\n %2 = icmp eq i32 %1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %sext6 = mul i64 %arg4, 4294967296\n %5 = ashr exact i64 %sext6, 32\n %6 = add i64 %3, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = trunc i64 %4 to i32\n %13 = sub i32 %8, %12\n %14 = add i32 %13, %11\n %15 = urem i32 %14, %11\n %16 = trunc i64 %5 to i32\n %17 = icmp ugt i32 %16, %12\n %.v = select i1 %17, i64 %4, i64 %5\n %18 = trunc i64 %.v to i32\n %19 = add i32 %15, %18\n %20 = icmp ugt i32 %19, %11\n br i1 %20, label LBL_3, label LBL_2\n LBL_2:\n %21 = zext i32 %15 to i64\n %22 = add i64 %21, %3\n %23 = call i64 @FUNC(i64 %0, i64 %22, i32 %18)\n br label LBL_4\n LBL_3:\n %24 = sub i32 %11, %15\n %25 = zext i32 %15 to i64\n %26 = add i64 %25, %3\n %27 = call i64 @FUNC(i64 %0, i64 %26, i32 %24)\n %28 = sub i32 %18, %24\n %29 = zext i32 %24 to i64\n %30 = add i64 %29, %0\n %31 = call i64 @FUNC(i64 %30, i64 %0, i32 %28)\n br label LBL_4\n LBL_4:\n %32 = and i64 %.v, 4294967295\n %33 = sub i32 %1, %18\n %34 = icmp eq i32 %33, 0\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %34, label LBL_7, label LBL_5\n LBL_5:\n %35 = add i64 %32, %0\n store i64 %35, i64* %sv_2.0.reg2mem\n store i32 %33, i32* %sv_1.0.in.reg2mem\n store i64 %.v, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.in.reload = load i32, i32* %sv_1.0.in.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %36 = trunc i64 %sv_0.0.reload to i32\n %37 = icmp ult i32 %sv_1.0.in.reload, %36\n %38 = sext i32 %sv_1.0.in.reload to i64\n %spec.select = select i1 %37, i64 %38, i64 %sv_0.0.reload\n %39 = trunc i64 %spec.select to i32\n %40 = call i64 @FUNC(i64 %sv_2.0.reload, i64 %0, i32 %39)\n %41 = and i64 %spec.select, 4294967295\n %42 = add i64 %41, %sv_2.0.reload\n %43 = mul i32 %36, 2\n %44 = sext i32 %43 to i64\n %45 = sub i32 %sv_1.0.in.reload, %39\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %42, i64* %sv_2.0.reg2mem\n store i32 %45, i32* %sv_1.0.in.reg2mem\n store i64 %44, i64* %sv_0.0.reg2mem\n store i64 %41, i64* %rax.0.reg2mem\n br i1 %47, label LBL_6, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %sv_1.0.in.reload, { 1, 2, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i32 %24, { 1, 2, 0 }\n uselistorder i32 %18, { 2, 3, 1, 0 }\n uselistorder i32 %15, { 3, 2, 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32 %11, { 2, 1, 3, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %3, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 4, 1, 6, 2, 5, 3, 0 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i32)* @CopyMemory, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "key_replace_session_keyring_18534", "fun_name": "key_replace_session_keyring", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64* nonnull @gv_1)\n %5 = load i64, i64* @gv_0, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 0, i64* %6, align 8\n %8 = call i64 @FUNC(i64* nonnull @gv_1)\n %9 = icmp eq i64 %7, 0\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = inttoptr i64 %7 to i32*\n %11 = call i64 @FUNC()\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n store i32 %13, i32* %10, align 4\n %14 = add i64 %11, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %7, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %11, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %7, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = add i64 %11, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %7, 12\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %11, 16\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %7, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = add i64 %11, 20\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %7, 20\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = add i64 %11, 24\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = add i64 %7, 24\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n %44 = add i64 %11, 28\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i64 %7, 28\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n %49 = add i64 %11, 80\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = call i64 @FUNC(i64 %51)\n %53 = add i64 %7, 80\n %54 = inttoptr i64 %53 to i64*\n store i64 %52, i64* %54, align 8\n %55 = add i64 %11, 88\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = call i64 @FUNC(i64 %57)\n %59 = add i64 %7, 88\n %60 = inttoptr i64 %59 to i64*\n store i64 %58, i64* %60, align 8\n %61 = add i64 %11, 32\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = add i64 %7, 32\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n %66 = add i64 %11, 36\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = add i64 %7, 36\n %70 = inttoptr i64 %69 to i32*\n store i32 %68, i32* %70, align 4\n %71 = add i64 %11, 40\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = add i64 %7, 40\n %75 = inttoptr i64 %74 to i32*\n store i32 %73, i32* %75, align 4\n %76 = add i64 %11, 44\n %77 = inttoptr i64 %76 to i32*\n %78 = load i32, i32* %77, align 4\n %79 = add i64 %7, 44\n %80 = inttoptr i64 %79 to i32*\n store i32 %78, i32* %80, align 4\n %81 = add i64 %11, 48\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = add i64 %7, 48\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n %86 = add i64 %11, 56\n %87 = inttoptr i64 %86 to i64*\n %88 = load i64, i64* %87, align 8\n %89 = add i64 %7, 56\n %90 = inttoptr i64 %89 to i64*\n store i64 %88, i64* %90, align 8\n %91 = add i64 %11, 64\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = call i64 @FUNC(i64 %93)\n %95 = add i64 %7, 64\n %96 = inttoptr i64 %95 to i64*\n store i64 %94, i64* %96, align 8\n %97 = add i64 %11, 72\n %98 = inttoptr i64 %97 to i64*\n %99 = load i64, i64* %98, align 8\n %100 = add i64 %7, 72\n %101 = inttoptr i64 %100 to i64*\n %102 = load i64, i64* %101, align 8\n %103 = inttoptr i64 %99 to i64*\n %104 = load i64, i64* %103, align 8\n %105 = inttoptr i64 %102 to i64*\n store i64 %104, i64* %105, align 8\n %106 = load i64, i64* %98, align 8\n %107 = add i64 %106, 8\n %108 = inttoptr i64 %107 to i64*\n %109 = load i64, i64* %108, align 8\n %110 = load i64, i64* %101, align 8\n %111 = call i64 @FUNC(i64 %109)\n %112 = add i64 %110, 8\n %113 = inttoptr i64 %112 to i64*\n store i64 %111, i64* %113, align 8\n %114 = call i64 @FUNC(i64 %7, i64 %11)\n %115 = call i64 @FUNC(i64 %7)\n store i64 %115, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @key_get, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "i915_gem_init_4839", "fun_name": "i915_gem_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %1)\n %9 = and i64 %5, 4294967295\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = call i64 @FUNC(i64 %1)\n %13 = icmp eq i32 %11, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0)\n %15 = and i64 %10, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %16 = add i64 %0, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 1, i32* %17, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipc_findkey_9582", "fun_name": "ipc_findkey", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge3.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = trunc i64 %arg2 to i32\n %7 = and i64 %1, 4294967295\n store i32 0, i32* %storemerge5.reg2mem\n store i32 0, i32* %sv_0.14.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %8 = zext i32 %storemerge5.reload to i64\n %9 = call i64 @FUNC(i64 %5, i64 %8)\n %10 = icmp eq i64 %9, 0\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br i1 %10, label LBL_6, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %9 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, %6\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i32 %sv_0.14.reload, 1\n store i32 %14, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %15 = call i64 @FUNC()\n %16 = call i64 @FUNC(i64 %9)\n store i64 %9, i64* %storemerge3.reg2mem\n br label LBL_7\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %17 = add i32 %storemerge5.reload, 1\n %18 = sext i32 %sv_0.0.reload to i64\n %19 = icmp sgt i64 %7, %18\n store i32 %17, i32* %storemerge5.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem\n store i64 0, i64* %storemerge3.reg2mem\n br i1 %19, label LBL_2, label LBL_7\n LBL_7:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n ret i64 %storemerge3.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %sv_0.14.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 1, 3, 2 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hls_write_trailer_14190", "fun_name": "hls_write_trailer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = sub i64 %5, %8\n store i64 %9, i64* %3, align 8\n %10 = call i64 @FUNC(i64 %2)\n %11 = call i64 @FUNC(i64 %0)\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = load i64, i64* %3, align 8\n %17 = load i64, i64* %7, align 8\n %18 = add i64 %0, 32\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %0, i64 %20, i64 %17, i64 %16)\n %22 = call i64 @FUNC(i64 %0, i64 1)\n %23 = call i64 @FUNC(i64 %0)\n %24 = add i64 %0, 40\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26)\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "drive_add_1292", "fun_name": "drive_add", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %storemerge.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = call i64 @FUNC()\n %22 = load i32, i32* @gv_0, align 4\n %23 = icmp sgt i32 %22, 9\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %24 = trunc i64 %21 to i32\n %25 = icmp eq i32 %24, -1\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_5, label LBL_4\n LBL_4:\n %27 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %28 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_2 to i64*), i32 1, i32 22, %_IO_FILE* %27)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %sext = mul i64 %21, 4294967296\n %29 = ashr exact i64 %sext, 32\n %30 = mul nsw i64 %29, 264\n %31 = add i64 %30, ptrtoint (i64* @gv_3 to i64)\n %32 = ptrtoint i8* %arg1 to i64\n %33 = inttoptr i64 %31 to i64*\n store i64 %32, i64* %33, align 8\n store i32 16, i32* %sv_0, align 4\n %34 = add i64 %30, add (i64 ptrtoint (i64* @gv_3 to i64), i64 8)\n %35 = ptrtoint i32* %sv_0 to i64\n %36 = inttoptr i64 %34 to i8*\n %37 = call i32 @vsnprintf(i8* %36, i32 256, i8* %arg2, i64 %35)\n store i32 ptrtoint (i32* @gv_4 to i32), i32* @gv_0, align 4\n %38 = and i64 %21, 4294967295\n store i64 %38, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "MSLHasInternalSubset_7995", "fun_name": "MSLHasInternalSubset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %sext = mul i64 %0, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC(i64 0, i64 %1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0))\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hfsplus_get_block_3867", "fun_name": "hfsplus_get_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64*\n %sv_1.0.reg2mem = alloca i64\n %.pre-phi7.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = urem i32 %6, 64\n %8 = zext i32 %7 to i64\n %storemerge = lshr i64 %arg2, %8\n %sext3 = mul i64 %storemerge, 4294967296\n %9 = ashr exact i64 %sext3, 32\n %sext8 = mul i64 %2, 4294967296\n %10 = ashr exact i64 %sext8, 32\n %11 = icmp ugt i64 %10, %arg2\n br i1 %11, label LBL_0.LBL_7_crit_edge, label LBL_2\n LBL_1:\n %.pre6 = trunc i64 %9 to i32\n store i32 %.pre6, i32* %.pre-phi7.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_2:\n %12 = icmp ult i64 %10, %arg2\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %12, label LBL_15, label LBL_3\n LBL_3:\n %sext = mul i64 %arg4, 4294967296\n %13 = ashr exact i64 %sext, 32\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_15\n LBL_4:\n %17 = trunc i64 %9 to i32\n %18 = icmp ugt i32 %6, %17\n store i32 %17, i32* %.pre-phi7.reg2mem\n store i64 %13, i64* %sv_1.0.reg2mem\n br i1 %18, label LBL_7, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %3)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i32 %17, i32* %.pre-phi7.reg2mem\n store i64 %13, i64* %sv_1.0.reg2mem\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = and i64 %19, 4294967295\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.pre-phi7.reload = load i32, i32* %.pre-phi7.reg2mem\n %23 = add i64 %3, 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp ugt i32 %25, %.pre-phi7.reload\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = add i64 %3, 24\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = and i64 %9, 4294967295\n %32 = call i64 @FUNC(i64 %30, i64 %31)\n %.pre = inttoptr i64 %23 to i64*\n store i64* %.pre, i64** %.pre-phi.reg2mem\n store i64 %32, i64* %sv_0.0.in.reg2mem\n br label LBL_13\n LBL_9:\n %33 = inttoptr i64 %23 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 1\n %36 = icmp eq i1 %35, false\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %36, label LBL_10, label LBL_15\n LBL_10:\n %37 = add i64 %3, 40\n %38 = call i64 @FUNC(i64 %37)\n %39 = and i64 %9, 4294967295\n %40 = call i64 @FUNC(i64 %3, i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_12, label LBL_11\n LBL_11:\n %44 = add i64 %3, 12\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = sub i32 %.pre-phi7.reload, %46\n %48 = add i64 %3, 32\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = zext i32 %47 to i64\n %52 = call i64 @FUNC(i64 %50, i64 %51)\n %53 = call i64 @FUNC(i64 %37)\n store i64* %33, i64** %.pre-phi.reg2mem\n store i64 %52, i64* %sv_0.0.in.reg2mem\n br label LBL_13\n LBL_12:\n %54 = call i64 @FUNC(i64 %37)\n store i64 4294967291, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %55 = ptrtoint i64* %arg3 to i64\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %56 = load i64, i64* %.pre-phi.reload, align 8\n %57 = and i64 %sv_0.0.in.reload, 4294967295\n %58 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %56, i64 %arg2, i64 %57, i64 %1)\n %59 = load i32, i32* %5, align 4\n %60 = urem i32 %59, 32\n %61 = icmp eq i32 %60, 0\n %notmask = shl nsw i32 -1, %60\n %62 = sub i32 0, %notmask\n %phitmp = sub i32 %62, 1\n %storemerge4 = select i1 %61, i32 0, i32 %phitmp\n %63 = shl i32 %sv_0.0, %60\n %64 = load i32, i32* %24, align 4\n %65 = add i32 %63, %64\n %66 = zext i32 %65 to i64\n %67 = zext i32 %storemerge4 to i64\n %68 = and i64 %67, %arg2\n %69 = add nuw nsw i64 %68, %66\n %70 = call i64 @FUNC(i64 %55, i64 %3, i64 %69)\n %71 = trunc i64 %sv_1.0.reload to i32\n %72 = icmp eq i32 %71, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %72, label LBL_15, label LBL_14\n LBL_14:\n %73 = bitcast i64* %rdi to i32*\n %74 = call i64 @FUNC(i64 %55)\n %75 = add i64 %3, 16\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = load i32, i32* %5, align 4\n %79 = add i32 %78, %77\n store i32 %79, i32* %76, align 4\n %80 = load i32, i32* %73, align 8\n %81 = add i32 %80, 1\n %82 = bitcast i64* %arg1 to i32*\n store i32 %81, i32* %82, align 4\n %83 = load i32, i32* %5, align 4\n %84 = zext i32 %83 to i64\n %85 = call i64 @FUNC(i64 %3, i64 %84)\n %86 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %60, { 2, 0, 1 }\n uselistorder i64 %sv_0.0.in.reload, { 1, 0 }\n uselistorder i64 %37, { 1, 0, 2 }\n uselistorder i64 %23, { 1, 0, 2 }\n uselistorder i32 %17, { 1, 0, 2 }\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %9, { 1, 2, 3, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 3, 4, 6, 5, 9, 10, 8, 7, 0, 11 }\n uselistorder i32* %.pre-phi7.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 7, 3, 6, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64, i64)* @hfsplus_ext_find_block, { 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 3, 1 }\n uselistorder i32 0, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder i64 4294967291, { 3, 0, 1, 2 }\n uselistorder i64 32, { 3, 2, 0, 1 }\n uselistorder i64 4294967296, { 2, 0, 1 }\n uselistorder i64 %arg2, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_15, { 1, 0, 5, 2, 6, 3, 4 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_reclaim_complete_prepare_9069", "fun_name": "nfs4_reclaim_complete_prepare", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 1)\n %3 = add i64 %0, 12\n %4 = add i64 %0, 8\n %5 = call i64 @FUNC(i64 %4, i64 %4, i64 %3, i64 %1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ohci_bus_start_16928", "fun_name": "ohci_bus_start", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 0, i64 4198898, i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 %1, i64* %3, align 8\n %4 = icmp eq i64 %1, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 0)\n %7 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i64 0)\n %9 = call i64 @FUNC(i64 %0)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "migration_has_failed_722", "fun_name": "migration_has_failed", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = icmp eq i32 %2, 1\n %spec.select = zext i1 %4 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n\n uselistorder i32 %2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ppp_unregister_channel_5489", "fun_name": "ppp_unregister_channel", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %1, align 8\n %2 = add i64 %arg1, 36\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %arg1, 32\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %arg1, 28\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %4)\n %9 = call i64 @FUNC(i64 %2)\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = and i64 %arg1, 4294967295\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %arg1, 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = call i64 @FUNC(i64 %12)\n %17 = and i64 %12, 4294967295\n %18 = call i64 @FUNC(i64 %17)\n store i64 0, i64* %1, align 8\n %19 = add i64 %arg1, 16\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n %21 = add i64 %arg1, 20\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %arg1, 24\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n store i64 %24, i64* %rax.0.reg2mem\n br i1 %26, label LBL_3, label LBL_2\n LBL_2:\n %27 = call i64 @FUNC(i64 %arg1)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @spin_unlock_bh, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock_bh, { 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 3, 4, 6, 5, 9, 8, 7, 10, 11 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ne2000_receive_7608", "fun_name": "ne2000_receive", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.112.reg2mem = alloca i64\n %sv_2.113.reg2mem = alloca i64\n %sv_0.114.reg2mem = alloca i32\n %.reg2mem15 = alloca i32\n %.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %arg3, 4294967295\n %5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n %6 = inttoptr i64 %3 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = urem i32 %7, 2\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %10, label LBL_24, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %3)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_24\n LBL_2:\n %14 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %15 = ashr exact i64 %sext, 32\n %16 = add i64 %3, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = and i32 %18, 16\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_14, label LBL_3\n LBL_3:\n %22 = call i32 @memcmp(i64* %arg2, i64* inttoptr (i64 4202550 to i64*), i32 6)\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = load i32, i32* %17, align 4\n %26 = and i32 %25, 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %28, label LBL_14, label LBL_24\n LBL_5:\n %29 = trunc i64 %1 to i8\n %30 = urem i8 %29, 2\n %31 = icmp eq i8 %30, 0\n br i1 %31, label LBL_8, label LBL_6\n LBL_6:\n %32 = load i32, i32* %17, align 4\n %33 = and i32 %32, 8\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %35, label LBL_7, label LBL_24\n LBL_7:\n %36 = call i64 @FUNC(i64 %14)\n %37 = trunc i64 %36 to i32\n %38 = udiv i64 %36, 8\n %39 = urem i64 %38, 536870912\n %40 = add i64 %3, 2072\n %41 = add i64 %40, %39\n %42 = inttoptr i64 %41 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = zext i8 %43 to i32\n %45 = urem i32 %37, 8\n %46 = shl i32 1, %45\n %47 = and i32 %46, %44\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %49, label LBL_14, label LBL_24\n LBL_8:\n %50 = add i64 %3, 8\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = icmp eq i8 %52, %29\n %54 = icmp eq i1 %53, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %54, label LBL_24, label LBL_9\n LBL_9:\n %55 = add i64 %3, 10\n %56 = inttoptr i64 %55 to i8*\n %57 = load i8, i8* %56, align 1\n %58 = add i64 %14, 1\n %59 = inttoptr i64 %58 to i8*\n %60 = load i8, i8* %59, align 1\n %61 = icmp eq i8 %57, %60\n %62 = icmp eq i1 %61, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %62, label LBL_24, label LBL_10\n LBL_10:\n %63 = add i64 %3, 12\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = add i64 %14, 2\n %67 = inttoptr i64 %66 to i8*\n %68 = load i8, i8* %67, align 1\n %69 = icmp eq i8 %65, %68\n %70 = icmp eq i1 %69, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %70, label LBL_24, label LBL_11\n LBL_11:\n %71 = add i64 %3, 14\n %72 = inttoptr i64 %71 to i8*\n %73 = load i8, i8* %72, align 1\n %74 = add i64 %14, 3\n %75 = inttoptr i64 %74 to i8*\n %76 = load i8, i8* %75, align 1\n %77 = icmp eq i8 %73, %76\n %78 = icmp eq i1 %77, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %78, label LBL_24, label LBL_12\n LBL_12:\n %79 = add i64 %3, 16\n %80 = inttoptr i64 %79 to i8*\n %81 = load i8, i8* %80, align 1\n %82 = add i64 %14, 4\n %83 = inttoptr i64 %82 to i8*\n %84 = load i8, i8* %83, align 1\n %85 = icmp eq i8 %81, %84\n %86 = icmp eq i1 %85, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %86, label LBL_24, label LBL_13\n LBL_13:\n %87 = add i64 %3, 18\n %88 = inttoptr i64 %87 to i8*\n %89 = load i8, i8* %88, align 1\n %90 = add i64 %14, 5\n %91 = inttoptr i64 %90 to i8*\n %92 = load i8, i8* %91, align 1\n %93 = icmp eq i8 %89, %92\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %93, label LBL_14, label LBL_24\n LBL_14:\n %94 = trunc i64 %15 to i32\n %95 = icmp sgt i32 %94, 59\n store i64 %14, i64* %sv_1.0.reg2mem\n store i64 %15, i64* %sv_2.0.reg2mem\n br i1 %95, label LBL_16, label LBL_15\n LBL_15:\n %96 = call i64* @memcpy(i64* nonnull %sv_4, i64* %arg2, i32 %94)\n %97 = sub i32 60, %94\n %98 = ptrtoint i64* %sv_4 to i64\n %99 = add i64 %15, %98\n %100 = inttoptr i64 %99 to i64*\n %101 = call i64* @memset(i64* %100, i32 0, i32 %97)\n store i64 %98, i64* %sv_1.0.reg2mem\n store i64 60, i64* %sv_2.0.reg2mem\n br label LBL_16\n LBL_16:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %102 = add i64 %3, 2056\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = mul i32 %104, 256\n %106 = trunc i64 %sv_2.0.reload to i32\n %107 = add i32 %106, 263\n %108 = and i32 %107, -256\n %109 = add i32 %108, %105\n %110 = add i64 %3, 2064\n %111 = inttoptr i64 %110 to i32*\n %112 = load i32, i32* %111, align 4\n %113 = icmp ult i32 %109, %112\n store i32 %109, i32* %sv_3.0.reg2mem\n br i1 %113, label LBL_18, label LBL_17\n LBL_17:\n %114 = add i64 %3, 2060\n %115 = inttoptr i64 %114 to i32*\n %116 = load i32, i32* %115, align 4\n %117 = sub i32 %109, %112\n %118 = add i32 %117, %116\n store i32 %118, i32* %sv_3.0.reg2mem\n br label LBL_18\n LBL_18:\n %119 = add i32 %106, 4\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %120 = add i64 %3, 8\n %121 = zext i32 %105 to i64\n %122 = add i64 %120, %121\n %123 = inttoptr i64 %122 to i8*\n %124 = add i64 %3, 2080\n %125 = inttoptr i64 %124 to i8*\n store i8 2, i8* %125, align 1\n %126 = inttoptr i64 %sv_1.0.reload to i8*\n %127 = load i8, i8* %126, align 1\n %128 = urem i8 %127, 2\n %129 = icmp eq i8 %128, 0\n %spec.store.select = select i1 %129, i8 2, i8 6\n store i8 %spec.store.select, i8* %125, align 1\n store i8 %spec.store.select, i8* %123, align 1\n %130 = udiv i32 %sv_3.0.reload, 256\n %131 = add i64 %122, 1\n %132 = trunc i32 %130 to i8\n %133 = inttoptr i64 %131 to i8*\n store i8 %132, i8* %133, align 1\n %134 = add i64 %122, 2\n %135 = trunc i32 %119 to i8\n %136 = inttoptr i64 %134 to i8*\n store i8 %135, i8* %136, align 1\n %137 = udiv i32 %119, 256\n %138 = add i64 %122, 3\n %139 = trunc i32 %137 to i8\n %140 = inttoptr i64 %138 to i8*\n store i8 %139, i8* %140, align 1\n %141 = icmp eq i32 %106, 0\n %142 = icmp slt i32 %106, 0\n %143 = icmp eq i1 %142, false\n %144 = icmp eq i1 %141, false\n %145 = icmp eq i1 %143, %144\n br i1 %145, label LBL_19, label LBL_23\n LBL_19:\n %146 = or i32 %105, 4\n %147 = add i64 %3, 2060\n %148 = inttoptr i64 %147 to i32*\n %.pre = load i32, i32* %111, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %106, i32* %.reg2mem15\n store i32 %146, i32* %sv_0.114.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.113.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.112.reg2mem\n br label LBL_20\n LBL_20:\n %sv_1.112.reload = load i64, i64* %sv_1.112.reg2mem\n %sv_2.113.reload = load i64, i64* %sv_2.113.reg2mem\n %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem\n %.reload16 = load i32, i32* %.reg2mem15\n %.reload = load i32, i32* %.reg2mem\n %149 = icmp ult i32 %.reload, %sv_0.114.reload\n %150 = select i1 %149, i32 %sv_0.114.reload, i32 %.reload\n %151 = sub i32 %150, %sv_0.114.reload\n %152 = icmp ult i32 %151, %.reload16\n %153 = sext i32 %151 to i64\n %sv_5.0 = select i1 %152, i64 %153, i64 %sv_2.113.reload\n %154 = trunc i64 %sv_5.0 to i32\n %155 = zext i32 %sv_0.114.reload to i64\n %156 = add i64 %120, %155\n %157 = inttoptr i64 %156 to i64*\n %158 = inttoptr i64 %sv_1.112.reload to i64*\n %159 = call i64* @memcpy(i64* %157, i64* %158, i32 %154)\n %160 = add i32 %sv_0.114.reload, %154\n %161 = load i32, i32* %111, align 4\n %162 = icmp eq i32 %160, %161\n %163 = icmp eq i1 %162, false\n store i32 %160, i32* %sv_0.0.reg2mem\n br i1 %163, label LBL_22, label LBL_21\n LBL_21:\n %164 = load i32, i32* %148, align 4\n store i32 %164, i32* %sv_0.0.reg2mem\n br label LBL_22\n LBL_22:\n %165 = and i64 %sv_5.0, 4294967295\n %166 = add i64 %165, %sv_1.112.reload\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %167 = sub nsw i64 %sv_2.113.reload, %sv_5.0\n %sext7 = mul i64 %167, 4294967296\n %168 = ashr exact i64 %sext7, 32\n %169 = trunc i64 %168 to i32\n %170 = icmp eq i32 %169, 0\n %171 = icmp slt i32 %169, 0\n %172 = icmp eq i1 %171, false\n %173 = icmp eq i1 %170, false\n %174 = icmp eq i1 %172, %173\n store i32 %161, i32* %.reg2mem\n store i32 %169, i32* %.reg2mem15\n store i32 %sv_0.0.reload, i32* %sv_0.114.reg2mem\n store i64 %168, i64* %sv_2.113.reg2mem\n store i64 %166, i64* %sv_1.112.reg2mem\n br i1 %174, label LBL_20, label LBL_23\n LBL_23:\n store i32 %130, i32* %103, align 4\n %175 = add i64 %3, 2068\n %176 = inttoptr i64 %175 to i32*\n %177 = load i32, i32* %176, align 4\n %178 = or i32 %177, 8\n store i32 %178, i32* %176, align 4\n %179 = call i64 @FUNC(i64 %3)\n store i64 %arg3, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %169, { 0, 2, 1 }\n uselistorder i64 %sv_5.0, { 2, 1, 0 }\n uselistorder i32 %sv_0.114.reload, { 4, 3, 1, 0, 2 }\n uselistorder i64 %sv_2.113.reload, { 1, 0 }\n uselistorder i64 %sv_1.112.reload, { 1, 0 }\n uselistorder i32 %130, { 1, 0 }\n uselistorder i32* %111, { 1, 0, 2 }\n uselistorder i32 %109, { 1, 0, 2 }\n uselistorder i32 %106, { 0, 2, 1, 4, 3 }\n uselistorder i32 %105, { 1, 0, 2 }\n uselistorder i8 %29, { 1, 0 }\n uselistorder i32* %17, { 1, 0, 2 }\n uselistorder i64 %15, { 10, 9, 11, 5, 4, 3, 2, 1, 0, 6, 7, 8 }\n uselistorder i64 %14, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 %3, { 7, 8, 9, 10, 11, 13, 12, 14, 6, 5, 4, 3, 2, 1, 0, 15, 16, 17 }\n uselistorder i64* %sv_4, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem15, { 1, 0, 2 }\n uselistorder i32* %sv_0.114.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.113.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.112.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 12, 6, 5, 4, 3, 2, 1, 7, 8, 9, 11, 10 }\n uselistorder i32 256, { 1, 2, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i32 8, { 1, 0, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i8 2, { 2, 0, 3, 1 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder i1 false, { 4, 2, 3, 0, 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }\n uselistorder label LBL_24, { 11, 5, 4, 3, 2, 1, 0, 6, 7, 8, 10, 9 }\n uselistorder label LBL_20, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "btsdio_remove_12927", "fun_name": "btsdio_remove", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %3 = icmp eq i64 %1, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i64 %1, 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = inttoptr i64 %1 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %0, i64 0)\n %9 = call i64 @FUNC(i64 %7)\n %10 = call i64 @FUNC(i64 %7)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__imlib_DupUpdates_8443", "fun_name": "__imlib_DupUpdates", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %sv_1.02.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = call i64* @malloc(i32 8)\n store i64 8, i64* %2, align 8\n store i64 %arg1, i64* %sv_1.02.reg2mem\n store i64 8, i64* %sv_0.01.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem\n %3 = call i64* @malloc(i32 8)\n %4 = ptrtoint i64* %3 to i64\n store i64 8, i64* %3, align 8\n %5 = inttoptr i64 %sv_1.02.reload to i64*\n store i64 %4, i64* %5, align 8\n %6 = inttoptr i64 %sv_0.01.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %sv_0.01.reload, i64* %sv_1.02.reg2mem\n store i64 %7, i64* %sv_0.01.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_3:\n %10 = ptrtoint i64* %2 to i64\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.01.reload, { 1, 0 }\n uselistorder i64* %2, { 1, 0 }\n uselistorder i64* %sv_1.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__set_spte_9726", "fun_name": "__set_spte", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 0, i64* %2, align 8\n %3 = call i64 @FUNC()\n store i64 %arg2, i64* %arg1, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmacache_invalidate_12800", "fun_name": "vmacache_invalidate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 1\n store i64 %1, i64* %arg1, align 8\n %2 = icmp eq i64* %arg1, null\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xenstore_scan_14291", "fun_name": "xenstore_scan", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = and i64 %arg2, 4294967295\n %3 = bitcast i64* %sv_2 to i8*\n %4 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 256, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i8* %arg1, i64 %2, i64* %arg3)\n %5 = bitcast i64* %sv_1 to i8*\n %6 = inttoptr i64 %1 to i8*\n %7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %5, i32 256, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i8* %6, i8* %arg1, i64 %2)\n %8 = inttoptr i64 %1 to i64*\n call void @free(i64* %8)\n %9 = load i64, i64* @gv_0, align 8\n %10 = call i64 @FUNC(i64 %9, i64* nonnull %sv_1, i64* nonnull %sv_2)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %15 = load i64, i64* @gv_0, align 8\n %16 = bitcast i32* %sv_0 to i64*\n %17 = call i64 @FUNC(i64 %15, i64 0, i64* nonnull %sv_1, i64* nonnull %16)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_3, label LBL_9\n LBL_3:\n %20 = load i32, i32* %sv_0, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_8, label LBL_4\n LBL_4:\n %22 = ptrtoint i64* %arg3 to i64\n %23 = trunc i64 %arg2 to i32\n %24 = ptrtoint i8* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %25 = mul i64 %indvars.iv.reload, 8\n %26 = add i64 %25, %17\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = inttoptr i64 %28 to i8*\n %30 = call i32 @atoi(i8* %29)\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %24, i32 %23, i64 %31, i64 %22)\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_7, label LBL_6\n LBL_6:\n %34 = call i64 @FUNC(i64 %32)\n br label LBL_7\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %35 = load i32, i32* %sv_0, align 4\n %36 = zext i32 %35 to i64\n %37 = icmp ult i64 %indvars.iv.next, %36\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %37, label LBL_5, label LBL_8\n LBL_8:\n %38 = inttoptr i64 %17 to i64*\n call void @free(i64* %38)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 0, 2, 1 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0, 2 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i8* %arg1, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "setup_partitions_10275", "fun_name": "setup_partitions", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.0.in.lcssa.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.010.reg2mem = alloca i64\n %sv_0.0.in11.reg2mem = alloca i32\n %storemerge212.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 136\n %4 = call i64 @FUNC(i64 %3, i64 2)\n %5 = trunc i64 %4 to i32\n %6 = urem i32 %5, 32\n %7 = shl i32 1, %6\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, align 4\n %9 = trunc i64 %1 to i32\n %10 = mul i32 %9, -3\n %11 = trunc i64 %arg3 to i32\n %12 = add i32 %11, 3\n %13 = add i32 %12, %10\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %15, label LBL_1, label LBL_9\n LBL_1:\n %16 = ptrtoint i64* %arg2 to i64\n %17 = mul i64 %1, 12884901888\n %sext = add i64 %17, -12884901888\n %18 = ashr exact i64 %sext, 32\n %19 = add i64 %18, %16\n %20 = icmp eq i32 %9, 1\n %.pre = add i64 %2, 8\n store i64 %19, i64* %sv_1.0.lcssa.reg2mem\n store i32 %13, i32* %sv_0.0.in.lcssa.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %20, label LBL_8, label LBL_2\n LBL_2:\n %21 = add i64 %1, 4294967295\n %22 = and i64 %21, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge212.reg2mem\n store i32 %13, i32* %sv_0.0.in11.reg2mem\n store i64 %19, i64* %sv_1.010.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.in11.reload = load i32, i32* %sv_0.0.in11.reg2mem\n %storemerge212.reload = load i32, i32* %storemerge212.reg2mem\n %23 = mul i32 %storemerge212.reload, 3\n %24 = sext i32 %23 to i64\n %25 = add i64 %24, %16\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = zext i8 %27 to i32\n %29 = mul i32 %28, 65536\n %30 = add i64 %25, 1\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = zext i8 %32 to i32\n %34 = mul i32 %33, 256\n %35 = or i32 %34, %29\n %36 = add i64 %25, 2\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = zext i8 %38 to i32\n %40 = or i32 %35, %39\n %41 = sub i32 %sv_0.0.in11.reload, %40\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %43, label LBL_4, label LBL_9\n LBL_4:\n %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %44 = mul i64 %.reload, 8\n %45 = add i64 %44, %.pre\n %46 = call i64 @FUNC(i64 %45, i64 %sv_1.010.reload, i32 %40)\n %47 = trunc i64 %46 to i32\n %48 = icmp slt i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_6, label LBL_5\n LBL_5:\n %50 = and i64 %46, 4294967295\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %51 = zext i32 %40 to i64\n %52 = add i64 %sv_1.010.reload, %51\n %53 = add i32 %storemerge212.reload, 1\n %54 = sext i32 %53 to i64\n %55 = icmp sgt i64 %22, %54\n store i64 %54, i64* %.reg2mem\n store i32 %53, i32* %storemerge212.reg2mem\n store i32 %41, i32* %sv_0.0.in11.reg2mem\n store i64 %52, i64* %sv_1.010.reg2mem\n br i1 %55, label LBL_3, label LBL_7\n LBL_7:\n %phitmp = mul i64 %54, 8\n store i64 %52, i64* %sv_1.0.lcssa.reg2mem\n store i32 %41, i32* %sv_0.0.in.lcssa.reg2mem\n store i64 %phitmp, i64* %.lcssa.reg2mem\n br label LBL_8\n LBL_8:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_0.0.in.lcssa.reload = load i32, i32* %sv_0.0.in.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %56 = add i64 %.lcssa.reload, %.pre\n %57 = call i64 @FUNC(i64 %56, i64 %sv_1.0.lcssa.reload, i32 %sv_0.0.in.lcssa.reload)\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %54, { 1, 0, 2 }\n uselistorder i64 %sv_1.010.reload, { 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i32 %13, { 1, 0, 2 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge212.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.in11.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.010.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.in.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder label LBL_9, { 3, 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "md_free_17875", "fun_name": "md_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n br label LBL_2\n LBL_2:\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC(i64 %4)\n %7 = load i64, i64* %3, align 8\n %8 = call i64 @FUNC(i64 %7)\n br label LBL_4\n LBL_4:\n %9 = add i64 %arg1, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n %13 = call i64 @FUNC(i64 %11)\n br label LBL_6\n LBL_6:\n %14 = call i64 @FUNC(i64 %arg1)\n ret i64 %14\n\n uselistorder i64 %arg1, { 1, 2, 3, 0, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "logger_get_filename_7540", "fun_name": "logger_get_filename", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i8*\n %sv_3.0.reg2mem = alloca i8*\n %storemerge5.reg2mem = alloca i8*\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64* nonnull @gv_1)\n %2 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %3 = ptrtoint i8* %2 to i64\n %4 = load i64, i64* bitcast ([2 x i8*]* @gv_4 to i64*), align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %5, i64* nonnull @gv_5, i64 %3)\n %7 = call i64 @FUNC(i64 %6, i64* bitcast ([3 x i8]* @gv_6 to i64*), i64 %1)\n %8 = icmp eq i64 %0, 0\n %9 = icmp eq i64 %1, 0\n %or.cond = or i1 %8, %9\n %10 = icmp eq i64 %6, 0\n %or.cond9 = or i1 %or.cond, %10\n %11 = icmp eq i64 %7, 0\n %or.cond11 = or i1 %or.cond9, %11\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %or.cond11, label LBL_25, label LBL_1\n LBL_1:\n %12 = ptrtoint i64* %arg1 to i64\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_7, i64 0, i64 0), i64 %12, i64 0)\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_25, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %13)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i8* null, i8** %sv_3.0.reg2mem\n br i1 %17, label LBL_7, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_8, i64 0, i64 0))\n %19 = icmp eq i64 %18, 0\n store i8* null, i8** %storemerge5.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = inttoptr i64 %0 to i64*\n %21 = call i64 @FUNC(i64 %18, i64* %20, i64 ptrtoint (i8** @gv_9 to i64))\n %phitmp6 = inttoptr i64 %21 to i8*\n store i8* %phitmp6, i8** %storemerge5.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge5.reload = load i8*, i8** %storemerge5.reg2mem\n %22 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0))\n %23 = icmp eq i64 %22, 0\n store i8* null, i8** %sv_3.0.reg2mem\n store i8* %storemerge5.reload, i8** %sv_2.0.reg2mem\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = inttoptr i64 %0 to i64*\n %25 = call i64 @FUNC(i64 %22, i64* %24, i64 ptrtoint (i8** @gv_9 to i64))\n %phitmp = inttoptr i64 %25 to i8*\n store i8* %phitmp, i8** %sv_3.0.reg2mem\n store i8* %storemerge5.reload, i8** %sv_2.0.reg2mem\n br label LBL_7\n LBL_7:\n %26 = inttoptr i64 %7 to i8*\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %sv_3.0.reload = load i8*, i8** %sv_3.0.reg2mem\n %27 = call i32 @strlen(i8* %26)\n %28 = icmp eq i8* %sv_2.0.reload, null\n store i32 %27, i32* %sv_1.0.reg2mem\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = call i32 @strlen(i8* nonnull %sv_2.0.reload)\n %30 = add i32 %27, 1\n %31 = add i32 %30, %29\n store i32 %31, i32* %sv_1.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %32 = icmp eq i8* %sv_3.0.reload, null\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %33 = call i32 @strlen(i8* nonnull %sv_3.0.reload)\n %34 = add i32 %sv_1.0.reload, 1\n %35 = add i32 %34, %33\n store i32 %35, i32* %sv_1.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %36 = add i32 %sv_1.1.reload, 16\n %37 = call i64* @malloc(i32 %36)\n %38 = icmp eq i64* %37, null\n br i1 %38, label LBL_22, label LBL_12\n LBL_12:\n %39 = bitcast i64* %37 to i8*\n %40 = call i8* @strcpy(i8* %39, i8* %26)\n br i1 %28, label LBL_16, label LBL_13\n LBL_13:\n %41 = load [35 x i8]*, [35 x i8]** @gv_11, align 8\n %42 = ptrtoint [35 x i8]* %41 to i64\n %43 = call i64 @FUNC(i64 %42)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_15, label LBL_14\n LBL_14:\n %46 = ptrtoint i8* %sv_2.0.reload to i64\n %47 = call i64 @FUNC(i64 %46)\n br label LBL_15\n LBL_15:\n %48 = call i8* @strcat(i8* %39, i8* nonnull %sv_2.0.reload)\n %49 = call i32 @strlen(i8* %39)\n %50 = sext i32 %49 to i64\n %51 = ptrtoint i64* %37 to i64\n %52 = add i64 %50, %51\n %53 = inttoptr i64 %52 to i16*\n store i16 46, i16* %53, align 2\n br label LBL_16\n LBL_16:\n br i1 %32, label LBL_16.LBL_21_crit_edge, label LBL_18\n LBL_17:\n %.pre = ptrtoint i64* %37 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_21\n LBL_18:\n %54 = load [35 x i8]*, [35 x i8]** @gv_11, align 8\n %55 = ptrtoint [35 x i8]* %54 to i64\n %56 = call i64 @FUNC(i64 %55)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_20, label LBL_19\n LBL_19:\n %59 = ptrtoint i8* %sv_3.0.reload to i64\n %60 = call i64 @FUNC(i64 %59)\n br label LBL_20\n LBL_20:\n %61 = call i8* @strcat(i8* %39, i8* nonnull %sv_3.0.reload)\n %62 = call i32 @strlen(i8* %39)\n %63 = sext i32 %62 to i64\n %64 = ptrtoint i64* %37 to i64\n %65 = add i64 %63, %64\n %66 = inttoptr i64 %65 to i16*\n store i16 46, i16* %66, align 2\n store i64 %64, i64* %.pre-phi.reg2mem\n br label LBL_21\n LBL_21:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %67 = call i32 @strlen(i8* %39)\n %68 = sext i32 %67 to i64\n %69 = add i64 %.pre-phi.reload, %68\n %70 = inttoptr i64 %69 to i64*\n store i64 7814978354366735735, i64* %70, align 8\n %71 = add i64 %69, 8\n %72 = inttoptr i64 %71 to i16*\n store i16 26479, i16* %72, align 2\n %73 = add i64 %69, 10\n %74 = inttoptr i64 %73 to i8*\n store i8 0, i8* %74, align 1\n br label LBL_22\n LBL_22:\n br i1 %32, label LBL_24, label LBL_23\n LBL_23:\n %75 = bitcast i8* %sv_3.0.reload to i64*\n call void @free(i64* %75)\n br label LBL_24\n LBL_24:\n %76 = call i64 @FUNC(i64 %13)\n %phitmp12 = ptrtoint i64* %37 to i64\n store i64 %phitmp12, i64* %sv_0.0.reg2mem\n br label LBL_25\n LBL_25:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_27, label LBL_26\n LBL_26:\n %77 = inttoptr i64 %6 to i64*\n call void @free(i64* %77)\n br label LBL_27\n LBL_27:\n br i1 %11, label LBL_29, label LBL_28\n LBL_28:\n %78 = inttoptr i64 %7 to i64*\n call void @free(i64* %78)\n br label LBL_29\n LBL_29:\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %69, { 2, 1, 0 }\n uselistorder i8* %39, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64* %37, { 1, 2, 0, 3, 5, 4 }\n uselistorder i1 %32, { 1, 0, 2 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %27, { 1, 0 }\n uselistorder i8* %sv_3.0.reload, { 2, 3, 4, 0, 1 }\n uselistorder i8* %sv_2.0.reload, { 2, 3, 0, 1 }\n uselistorder i8* %storemerge5.reload, { 1, 0 }\n uselistorder i64 %13, { 2, 0, 1, 3, 4 }\n uselistorder i64 %7, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i8** %storemerge5.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_3.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i64)* @weechat_string_tolower, { 1, 0 }\n uselistorder i64 (i64)* @weechat_config_boolean, { 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 ptrtoint (i8** @gv_9 to i64), { 1, 0 }\n uselistorder i64 (i64, i8*)* @weechat_infolist_string, { 1, 0 }\n uselistorder i8* null, { 3, 4, 0, 2, 1 }\n uselistorder i64 (i64, i64*, i64)* @weechat_string_replace, { 3, 2, 1, 0 }\n uselistorder i32 0, { 5, 6, 7, 0, 1, 2, 3, 4 }\n uselistorder i64 (i8*, i64*)* @weechat_info_get, { 1, 0 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "perf_event__header_size_13116", "fun_name": "perf_event__header_size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 12\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %0, i64 %4)\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %0, i64 %9)\n ret i64 %10\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nntp_mbox_check_9470", "fun_name": "nntp_mbox_check", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %6 = and i64 %1, 4294967295\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "register_asymmetric_key_parser_9744", "fun_name": "register_asymmetric_key_parser", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi.03.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4210796)\n %storemerge12 = load i64, i64* inttoptr (i64 4210752 to i64*), align 64\n %1 = icmp eq i64 %storemerge12, 4210752\n %2 = icmp eq i1 %1, false\n store i64 %storemerge12, i64* %storemerge14.reg2mem\n store i64 4210796, i64* %rdi.03.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %rdi.03.reload = load i64, i64* %rdi.03.reg2mem\n %storemerge14.reload = load i64, i64* %storemerge14.reg2mem\n %3 = inttoptr i64 %storemerge14.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i8*\n %6 = inttoptr i64 %rdi.03.reload to i8*\n %7 = call i32 @strcmp(i8* %5, i8* %6)\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_3:\n %11 = add i64 %storemerge14.reload, 8\n %12 = inttoptr i64 %11 to i64*\n %storemerge1 = load i64, i64* %12, align 8\n %13 = icmp eq i64 %storemerge1, 4210752\n %14 = icmp eq i1 %13, false\n store i64 %storemerge1, i64* %storemerge14.reg2mem\n store i64 %4, i64* %rdi.03.reg2mem\n br i1 %14, label LBL_1, label LBL_4\n LBL_4:\n %15 = ptrtoint i64* %arg1 to i64\n %16 = add i64 %15, 8\n %17 = call i64 @FUNC(i64 %16, i64* nonnull @gv_1)\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0), i64 %16)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %19 = call i64 @FUNC(i64* nonnull @gv_3)\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.03.reg2mem, { 2, 0, 1 }\n uselistorder i64 8, { 1, 0, 2, 3 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i64 4210752, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "saCkptSectionOverwrite_7532", "fun_name": "saCkptSectionOverwrite", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32*, align 8\n %0 = bitcast i32** %sv_3 to i64*\n %1 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg1, i64* nonnull %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %5 = load i32*, i32** %sv_3, align 8\n %6 = load i32, i32* %5, align 4\n %7 = urem i32 %6, 2\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_10\n LBL_3:\n %10 = add i64 %arg1, 288\n %11 = add i64 %10, %arg4\n store i64 %11, i64* %sv_2, align 8\n %12 = ptrtoint i32* %5 to i64\n %13 = add i64 %12, 264\n %14 = inttoptr i64 %13 to i64*\n %15 = call i32 @pthread_mutex_lock(i64* %14)\n %16 = load i32*, i32** %sv_3, align 8\n %17 = ptrtoint i32* %16 to i64\n %18 = add i64 %17, 260\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21, i64* nonnull %sv_2, i64 288, i64 16384)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i32 %23, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_7, label LBL_4\n LBL_4:\n %26 = ptrtoint i64* %arg2 to i64\n %27 = ptrtoint i64* %sv_2 to i64\n %28 = add i64 %26, 8\n %29 = load i32*, i32** %sv_3, align 8\n %30 = ptrtoint i32* %29 to i64\n %31 = add i64 %30, 260\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = zext i32 %33 to i64\n %35 = inttoptr i64 %28 to i64*\n %36 = call i64 @FUNC(i64 %34, i64* %35, i64 %27, i64 16384)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i32 %37, i32* %sv_0.0.reg2mem\n br i1 %39, label LBL_7, label LBL_5\n LBL_5:\n %40 = load i32*, i32** %sv_3, align 8\n %41 = ptrtoint i32* %40 to i64\n %42 = add i64 %41, 260\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64 %45, i64* %arg3, i64 %arg4, i64 16384)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i32 %47, i32* %sv_0.0.reg2mem\n br i1 %49, label LBL_7, label LBL_6\n LBL_6:\n %50 = load i32*, i32** %sv_3, align 8\n %51 = ptrtoint i32* %50 to i64\n %52 = add i64 %51, 260\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = zext i32 %54 to i64\n %56 = bitcast i32* %sv_1 to i64*\n %57 = call i64 @FUNC(i64 %55, i64* nonnull %56, i64 4, i64 16392)\n %58 = trunc i64 %57 to i32\n store i32 %58, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %59 = load i32*, i32** %sv_3, align 8\n %60 = ptrtoint i32* %59 to i64\n %61 = add i64 %60, 264\n %62 = inttoptr i64 %61 to i64*\n %63 = call i32 @pthread_mutex_unlock(i64* %62)\n %64 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg1)\n %65 = icmp eq i32 %sv_0.0.reload, 0\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_9, label LBL_8\n LBL_8:\n %67 = load i32, i32* %sv_1, align 4\n %68 = zext i32 %67 to i64\n store i64 %68, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %69 = zext i32 %sv_0.0.reload to i64\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32** %sv_3, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64*, i64, i64)* @saSendRetry, { 2, 1, 0 }\n uselistorder i64 288, { 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 2, 0, 3 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "setup_one_line_4705", "fun_name": "setup_one_line", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi5.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 27\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %2, 24\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n store i64 ptrtoint ([23 x i8]* @gv_0 to i64), i64* %arg5, align 8\n store i32 -22, i32* %sv_0.1.reg2mem\n br label LBL_15\n LBL_2:\n %13 = ptrtoint i64* %arg5 to i64\n %14 = ptrtoint i64* %arg4 to i64\n %15 = ashr exact i64 %sext, 32\n %16 = call i32 @strcmp(i8* %arg3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_3\n LBL_3:\n %19 = add i64 %2, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n store i32 -22, i32* %sv_0.1.reg2mem\n br i1 %22, label LBL_15, label LBL_4\n LBL_4:\n store i32 0, i32* %20, align 4\n %23 = add i64 %2, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = and i64 %15, 4294967295\n %28 = call i64 @FUNC(i64 %6, i64 %27)\n %29 = trunc i64 %15 to i32\n %30 = call i64 @FUNC(i64 0, i64 %2, i32 %29, i64 %14, i64 %13)\n store i32 0, i32* %sv_0.1.reg2mem\n br label LBL_15\n LBL_5:\n %31 = ptrtoint i8* %arg3 to i64\n %32 = call i64 @FUNC(i64 %31, i64 0)\n %33 = icmp eq i64 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n store i64 ptrtoint ([26 x i8]* @gv_2 to i64), i64* %arg5, align 8\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_7:\n %35 = add i64 %2, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_7.LBL_10_crit_edge, label LBL_9\n LBL_8:\n %.pre = add i64 %2, 16\n %.pre4 = inttoptr i64 %.pre to i64*\n store i64* %.pre4, i64** %.pre-phi5.reg2mem\n br label LBL_10\n LBL_9:\n %39 = and i64 %15, 4294967295\n %40 = call i64 @FUNC(i64 %6, i64 %39)\n %41 = add i64 %2, 16\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %43)\n store i64* %42, i64** %.pre-phi5.reg2mem\n br label LBL_10\n LBL_10:\n %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem\n store i64 %32, i64* %.pre-phi5.reload, align 8\n store i32 1, i32* %36, align 4\n %45 = trunc i64 %15 to i32\n %46 = call i64 @FUNC(i64 %32, i64 %2, i32 %45, i64 %14, i64 %13)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i32 %47, i32* %sv_0.0.reg2mem\n br i1 %49, label LBL_13, label LBL_11\n LBL_11:\n %50 = and i64 %15, 4294967295\n %51 = call i64 @FUNC(i64 %6, i64 %50, i64 0)\n %52 = call i64 @FUNC(i64 %51)\n %53 = trunc i64 %52 to i32\n %54 = icmp eq i32 %53, 0\n store i32 %47, i32* %sv_0.0.reg2mem\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n store i64 ptrtoint ([26 x i8]* @gv_3 to i64), i64* %arg5, align 8\n %55 = call i64 @FUNC(i64 %51)\n %56 = trunc i64 %55 to i32\n %57 = call i64 @FUNC(i64 0, i64 %2, i32 %45, i64 %14, i64 %13)\n store i32 %56, i32* %sv_0.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %58 = icmp eq i32 %sv_0.0.reload, 0\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %58, label LBL_15, label LBL_14\n LBL_14:\n store i64 0, i64* %.pre-phi5.reload, align 8\n store i32 0, i32* %36, align 4\n %59 = call i64 @FUNC(i64 %32)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %60 = call i64 @FUNC(i64 %7)\n %61 = zext i32 %sv_0.1.reload to i64\n store i64 %61, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %15, { 3, 4, 2, 1, 0 }\n uselistorder i64 %14, { 1, 2, 0 }\n uselistorder i64 %13, { 1, 2, 0 }\n uselistorder i64 %6, { 2, 1, 0 }\n uselistorder i64 %2, { 5, 6, 4, 0, 7, 1, 2, 3, 8, 9, 10 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 4, 5, 2, 3, 1 }\n uselistorder i64 (i64, i64, i32, i64, i64)* @parse_chan_pair, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @tty_unregister_device, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder i32 -22, { 1, 0 }\n uselistorder i64* %arg5, { 0, 1, 3, 2 }\n uselistorder label LBL_15, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_cmd_3611", "fun_name": "check_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.2.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge3410.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 29\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = urem i32 %4, 2\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %rax.2.reg2mem\n br i1 %6, label LBL_8, label LBL_1\n LBL_1:\n %7 = and i64 %arg2, 4294967295\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n store i32 0, i32* %storemerge3410.reg2mem\n store i32 %10, i32* %.reg2mem\n store i64 0, i64* %rax.2.reg2mem\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %storemerge3410.reload = load i32, i32* %storemerge3410.reg2mem\n %12 = shl i32 1, %storemerge3410.reload\n %13 = and i32 %12, %.reload\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0, i64 %7, i32 %storemerge3410.reload)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = load i32, i32* %9, align 4\n %20 = sub i32 0, %12\n %21 = sub i32 %20, 1\n %22 = and i32 %19, %21\n store i32 %22, i32* %9, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %23 = icmp ugt i32 %storemerge3410.reload, 30\n store i64 %rax.0.reload, i64* %rax.2.reg2mem\n br i1 %23, label LBL_8, label LBL_5.dec_label_pc_4011c2_crit_edge\n LBL_6:\n %24 = add nuw nsw i32 %storemerge3410.reload, 1\n %.pre = load i32, i32* %9, align 4\n %25 = icmp eq i32 %.pre, 0\n %26 = icmp eq i1 %25, false\n store i32 %24, i32* %storemerge3410.reg2mem\n store i32 %.pre, i32* %.reg2mem\n br i1 %26, label LBL_2, label LBL_7\n LBL_7:\n %phitmp = zext i32 %.pre to i64\n store i64 %phitmp, i64* %rax.2.reg2mem\n br label LBL_8\n LBL_8:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i32 %.pre, { 1, 0, 2 }\n uselistorder i32 %storemerge3410.reload, { 2, 0, 3, 1 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32* %storemerge3410.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.2.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 4, 1, 3, 2, 0, 5, 6 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avpriv_lock_avformat_3182", "fun_name": "avpriv_lock_avformat", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %. = select i1 %2, i64 0, i64 4294967295\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "simple_set_acl_5500", "fun_name": "simple_set_acl", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i32*, align 8\n store i32* %arg2, i32** %sv_0, align 8\n %0 = trunc i64 %arg3 to i32\n %1 = icmp eq i32 %0, 1\n %2 = icmp eq i1 %1, false\n %.pre = ptrtoint i32* %arg1 to i64\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = bitcast i32** %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %.pre, i64 %.pre, i64* nonnull %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %8 = and i64 %arg3, 4294967295\n %9 = call i64 @FUNC(i64 %.pre)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %.pre, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = load i32*, i32** %sv_0, align 8\n %14 = ptrtoint i32* %13 to i64\n %15 = call i64 @FUNC(i64 %.pre, i64 %8, i64 %14)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32** %sv_0, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mov_read_chan_15272", "fun_name": "ff_mov_read_chan", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.12.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i32\n %0 = icmp sgt i64 %arg3, 11\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_12\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = call i64 @FUNC(i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = call i64 @FUNC(i64 %1)\n %7 = and i64 %6, 4294967295\n %8 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i32 %3, i32 %5, i64 %7)\n %9 = mul nuw nsw i64 %7, 20\n %10 = add nuw nsw i64 %9, 12\n %11 = icmp ugt i64 %10, %arg3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_12, label LBL_2\n LBL_2:\n %12 = trunc i64 %6 to i32\n %13 = icmp eq i32 %12, 0\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %13, label LBL_8, label LBL_3\n LBL_3:\n %14 = icmp eq i32 %3, 0\n %15 = icmp eq i1 %14, false\n store i32 0, i32* %storemerge3.reg2mem\n store i32 0, i32* %sv_0.12.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %16 = call i64 @FUNC(i64 %1)\n %17 = call i64 @FUNC(i64 %1)\n %18 = call i64 @FUNC(i64 %1)\n %19 = call i64 @FUNC(i64 %1)\n %20 = call i64 @FUNC(i64 %1)\n store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_7, label LBL_5\n LBL_5:\n %21 = and i64 %16, 4294967295\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %25, label LBL_6, label LBL_8\n LBL_6:\n %26 = or i32 %sv_0.12.reload, %23\n store i32 %26, i32* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %27 = add nuw i32 %storemerge3.reload, 1\n %28 = icmp ult i32 %27, %12\n store i32 %27, i32* %storemerge3.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %28, label LBL_4, label LBL_8\n LBL_8:\n %29 = icmp eq i32 %3, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %31 = zext i32 %sv_0.2.reload to i64\n store i64 %31, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_10:\n %32 = and i64 %4, 4294967295\n %33 = and i64 %2, 4294967295\n %34 = call i64 @FUNC(i64 %33, i64 %32)\n store i64 %34, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n store i64 %storemerge1.reload, i64* bitcast ([40 x i8]* @gv_0 to i64*), align 16\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.12.reload, { 1, 0 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %1, { 0, 4, 3, 2, 1, 5, 6, 8, 7 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @avio_rl32, { 2, 1, 0 }\n uselistorder i1 false, { 2, 0, 1 }\n uselistorder i64 0, { 1, 0, 5, 6, 2, 3, 4, 7 }\n uselistorder i64 (i64)* @avio_rb32, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ppc_tlb_invalidate_all_5017", "fun_name": "ppc_tlb_invalidate_all", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n store i64 %3, i64* @0, align 8\n switch i32 %2, label LBL_8 [\n i32 1, label LBL_1\n i32 2, label LBL_1\n i32 3, label LBL_2\n i32 4, label LBL_2\n i32 5, label LBL_3\n i32 6, label LBL_4\n i32 7, label LBL_5\n i32 8, label LBL_6\n i32 9, label LBL_7\n i32 10, label LBL_7\n ]\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_4:\n %10 = ptrtoint i32* %arg1 to i64\n %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_5:\n %12 = ptrtoint i32* %arg1 to i64\n %13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_6:\n %14 = ptrtoint i32* %arg1 to i64\n %15 = call i64 @FUNC(i64 %14, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_7:\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i64 1)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %18 = ptrtoint i32* %arg1 to i64\n %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n unreachable\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @cpu_abort, { 0, 4, 3, 2, 1 }\n uselistorder i32* %arg1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sysbus_ahci_realize_2427", "fun_name": "sysbus_ahci_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull @gv_0, i64 %4)\n %6 = call i64 @FUNC(i64 %0, i64 %0)\n %7 = add i64 %0, 8\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n ret i64 %8\n\n uselistorder i64 %0, { 0, 1, 3, 2, 5, 4, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "radius_get_attribute_6592", "fun_name": "radius_get_attribute", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i32*\n %0 = icmp eq i32* %arg3, null\n %1 = icmp eq i64* %arg4, null\n %or.cond.not = or i1 %0, %1\n %2 = bitcast i32* %arg3 to i64*\n %3 = icmp ugt i64* %2, %arg4\n %or.cond5 = or i1 %3, %or.cond.not\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond5, label LBL_7, label LBL_1\n LBL_1:\n %sext = mul i64 %arg1, 72057594037927936\n %4 = ashr exact i64 %sext, 56\n %5 = urem i64 %4, 256\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %5)\n %7 = icmp ult i64* %2, %arg4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_7\n LBL_2:\n %8 = bitcast i64* %arg2 to i16*\n %9 = trunc i64 %4 to i8\n store i32* %arg3, i32** %sv_0.06.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.06.reload = load i32*, i32** %sv_0.06.reg2mem\n %10 = ptrtoint i32* %sv_0.06.reload to i64\n %11 = add i64 %10, 1\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = zext i8 %13 to i16\n %15 = add nsw i16 %14, -2\n store i16 %15, i16* %8, align 2\n %16 = bitcast i32* %sv_0.06.reload to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, %9\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = add i64 %10, 2\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %21 = load i8, i8* %12, align 1\n %22 = icmp eq i8 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = zext i8 %21 to i64\n %24 = add i64 %23, %10\n %25 = inttoptr i64 %24 to i32*\n %26 = inttoptr i64 %24 to i64*\n %27 = icmp ult i64* %26, %arg4\n store i32* %25, i32** %sv_0.06.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_3, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i32** %sv_0.06.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 3, 4 }\n uselistorder i64* %arg4, { 3, 0, 1, 2 }\n uselistorder label LBL_7, { 1, 0, 4, 2, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "armass_assemble_5559", "fun_name": "armass_assemble", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.03.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_4 to i64\n store i64 %arg2, i64* %sv_3, align 8\n %1 = add i64 %0, -144\n store i32 0, i32* %sv_0.14.reg2mem\n store i32 0, i32* %sv_1.03.reg2mem\n br label LBL_5\n LBL_1:\n %2 = icmp eq i8 %17, 35\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = add i32 %sv_0.14.reload, -1\n store i32 %4, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %5 = zext i8 %17 to i32\n %6 = call i32 @tolower(i32 %5)\n %7 = sext i32 %sv_0.14.reload to i64\n %8 = trunc i32 %6 to i8\n %9 = add i64 %1, %7\n %10 = inttoptr i64 %9 to i8*\n store i8 %8, i8* %10, align 1\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %11 = add i32 %sv_0.0.reload, 1\n %12 = add i32 %sv_1.03.reload, 1\n %13 = icmp ult i32 %11, 127\n store i32 %11, i32* %sv_0.14.reg2mem\n store i32 %12, i32* %sv_1.03.reg2mem\n store i32 127, i32* %sv_0.1.lcssa.reg2mem\n br i1 %13, label LBL_5, label LBL_6\n LBL_5:\n %sv_1.03.reload = load i32, i32* %sv_1.03.reg2mem\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %14 = sext i32 %sv_1.03.reload to i64\n %15 = add i64 %14, %arg1\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 %sv_0.14.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %19, label LBL_1, label LBL_6\n LBL_6:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %20 = sext i32 %sv_0.1.lcssa.reload to i64\n %21 = add i64 %1, %20\n %22 = inttoptr i64 %21 to i8*\n store i8 0, i8* %22, align 1\n %23 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_2)\n store i64 %arg2, i64* %sv_3, align 8\n %24 = icmp ult i32 %arg3, 2\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %24, label LBL_7, label LBL_8\n LBL_7:\n %25 = ptrtoint i64* %sv_3 to i64\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n %. = select i1 %28, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %17, { 2, 1, 0 }\n uselistorder i32 %sv_0.14.reload, { 0, 2, 1, 3 }\n uselistorder i32 %sv_1.03.reload, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i1 false, { 0, 2, 1 }\n uselistorder i32 1, { 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "diff_flush_3851", "fun_name": "diff_flush", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i64\n %storemerge58.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %3 = load i32, i32* @gv_0, align 4\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_4\n LBL_3:\n %5 = load i64, i64* @gv_1, align 8\n store i64 %5, i64* %.lcssa.reg2mem\n br label LBL_18\n LBL_4:\n %6 = trunc i64 %arg1 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %spec.select = select i1 %8, i64 10, i64 0\n %spec.select6 = select i1 %8, i32 9, i32 0\n %9 = icmp eq i32 %6, 1\n %10 = icmp eq i32 %6, 3\n %11 = icmp sgt i32 %6, 3\n %12 = icmp eq i32 %6, 2\n %13 = icmp eq i1 %12, false\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge58.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge58.reload = load i32, i32* %storemerge58.reg2mem\n br i1 %9, label LBL_15, label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %14 = load i64, i64* @gv_1, align 8\n %15 = mul i64 %.reload, 8\n %16 = add i64 %14, %15\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 88\n br i1 %21, label LBL_15, label LBL_7\n LBL_7:\n %22 = icmp eq i32 %20, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_9, label LBL_8\n LBL_8:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_2, i64 0, i64 0))\n unreachable\n LBL_9:\n br i1 %10, label LBL_14, label LBL_10\n LBL_10:\n br i1 %11, label LBL_15, label LBL_11\n LBL_11:\n br i1 %7, label LBL_14, label LBL_12\n LBL_12:\n br i1 %13, label LBL_15, label LBL_13\n LBL_13:\n %25 = call i64 @FUNC(i64 %18)\n br label LBL_15\n LBL_14:\n %26 = call i64 @FUNC(i64 %18, i64 %spec.select, i32 %spec.select6)\n br label LBL_15\n LBL_15:\n %27 = add i32 %storemerge58.reload, 1\n %28 = load i32, i32* @gv_0, align 4\n %29 = zext i32 %28 to i64\n %30 = sext i32 %27 to i64\n %31 = icmp slt i64 %30, %29\n store i64 %30, i64* %.reg2mem\n store i32 %27, i32* %storemerge58.reg2mem\n br i1 %31, label LBL_5, label LBL_16\n LBL_16:\n %phitmp = icmp eq i32 %28, 0\n %32 = load i64, i64* @gv_1, align 8\n store i64 %32, i64* %.reg2mem14\n store i64 0, i64* %.reg2mem16\n store i32 0, i32* %storemerge7.reg2mem\n store i64 %32, i64* %.lcssa.reg2mem\n br i1 %phitmp, label LBL_18, label LBL_17\n LBL_17:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload15 = load i64, i64* %.reg2mem14\n %33 = mul i64 %.reload17, 8\n %34 = add i64 %33, %.reload15\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i32 %storemerge7.reload, 1\n %39 = load i32, i32* @gv_0, align 4\n %40 = zext i32 %39 to i64\n %41 = sext i32 %38 to i64\n %42 = icmp slt i64 %41, %40\n %43 = load i64, i64* @gv_1, align 8\n store i64 %43, i64* %.reg2mem14\n store i64 %41, i64* %.reg2mem16\n store i32 %38, i32* %storemerge7.reg2mem\n store i64 %43, i64* %.lcssa.reg2mem\n br i1 %42, label LBL_17, label LBL_18\n LBL_18:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %44 = inttoptr i64 %.lcssa.reload to i64*\n call void @free(i64* %44)\n store i64 0, i64* @gv_1, align 8\n store i32 0, i32* inttoptr (i64 add (i64 ptrtoint (i64* @gv_1 to i64), i64 12) to i32*), align 4\n %45 = load i32, i32* @gv_3, align 4\n store i32 %45, i32* @gv_0, align 4\n ret i64 ptrtoint (i64* @gv_1 to i64)\n\n uselistorder i32 %6, { 3, 2, 1, 0, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge58.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem14, { 2, 0, 1 }\n uselistorder i64* %.reg2mem16, { 2, 0, 1 }\n uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 ptrtoint (i64* @gv_1 to i64), { 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 1, { 11, 12, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 10 }\n uselistorder label LBL_18, { 0, 2, 1 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 2, 3, 4, 5, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reds_mig_switch_8666", "fun_name": "reds_mig_switch", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0))\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8, i64 %2)\n %10 = call i64 @FUNC()\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_huffman_tables_12144", "fun_name": "read_huffman_tables", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_1 to i64\n %3 = mul i64 %arg3, 8\n %4 = and i64 %3, 4294967288\n %5 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 %4)\n %6 = add i64 %1, 24\n %7 = add i64 %2, -8\n %8 = inttoptr i64 %7 to i64*\n %9 = add i64 %2, -16\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %2, -24\n %12 = inttoptr i64 %11 to i64*\n %13 = add i64 %2, -32\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul i64 %indvars.iv.reload, 4\n %16 = add i64 %15, %1\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = sext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %19, i64* nonnull %sv_0)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_2, label LBL_5\n LBL_2:\n %24 = load i32, i32* %17, align 4\n %25 = add i64 %16, 12\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %24 to i64\n %29 = zext i32 %27 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %28)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %33, label LBL_3, label LBL_5\n LBL_3:\n %34 = mul i64 %indvars.iv.reload, 8\n %35 = add i64 %6, %34\n %36 = call i64 @FUNC(i64 %35)\n %37 = load i32, i32* %26, align 4\n %38 = sext i32 %37 to i64\n %39 = load i32, i32* %17, align 4\n %40 = sext i32 %39 to i64\n store i64 0, i64* %8, align 8\n store i64 4, i64* %10, align 8\n store i64 4, i64* %12, align 8\n store i64 %38, i64* %14, align 8\n %41 = call i64 @FUNC(i64 %35, i64 8, i64 256, i64 %40, i64 1, i64 1)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %42 = icmp ult i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %42, label LBL_1, label LBL_4\n LBL_4:\n %43 = call i64 @FUNC(i64 %1)\n %44 = call i64 @FUNC(i64* nonnull %sv_0)\n %45 = trunc i64 %44 to i32\n %46 = sdiv i32 %45, 16384\n %47 = zext i32 %46 to i64\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i64 8, { 2, 0, 1, 3 }\n uselistorder label LBL_5, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ossl_policy_cache_set_mapping_7268", "fun_name": "ossl_policy_cache_set_mapping", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_14\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = icmp sgt i64 %5, 0\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_2, label LBL_14\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %10 = zext i32 %storemerge1.reload to i64\n %11 = call i64 @FUNC(i64 %0, i64 %10)\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_14, label LBL_4\n LBL_4:\n %17 = add i64 %11, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_5, label LBL_14\n LBL_5:\n %24 = load i64, i64* %18, align 8\n %25 = call i64 @FUNC(i64 %7, i64 %24)\n %26 = icmp eq i64 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_10, label LBL_6\n LBL_6:\n %28 = load i64, i64* %9, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_13, label LBL_7\n LBL_7:\n %30 = add i64 %28, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = urem i32 %32, 2\n %34 = zext i32 %33 to i64\n %35 = load i64, i64* %18, align 8\n %36 = call i64 @FUNC(i64 0, i64 %35, i64 %34)\n %37 = icmp eq i64 %36, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %37, label LBL_14, label LBL_8\n LBL_8:\n %38 = load i64, i64* %9, align 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = inttoptr i64 %36 to i64*\n store i64 %40, i64* %41, align 8\n %42 = add i64 %36, 8\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = or i32 %44, 12\n store i32 %45, i32* %43, align 4\n %46 = call i64 @FUNC(i64 0, i64 %36)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 %36, i64* %sv_1.0.reg2mem\n br i1 %49, label LBL_11, label LBL_9\n LBL_9:\n %50 = call i64 @FUNC(i64 %36)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_10:\n %51 = add i64 %25, 8\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = or i32 %53, 2\n store i32 %54, i32* %52, align 4\n store i64 %25, i64* %sv_1.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %55 = load i64, i64* %12, align 8\n %56 = add i64 %sv_1.0.reload, 16\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = call i64 @FUNC(i64 %58, i64 %55)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %61, label LBL_14, label LBL_12\n LBL_12:\n store i64 0, i64* %12, align 8\n br label LBL_13\n LBL_13:\n %62 = add i32 %storemerge1.reload, 1\n %63 = call i64 @FUNC(i64 %0)\n %64 = sext i32 %62 to i64\n %65 = icmp sgt i64 %63, %64\n store i32 %62, i32* %storemerge1.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %65, label LBL_3, label LBL_14\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %66 = call i64 @FUNC(i64 %0, i64 4198905)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %36, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %0, { 1, 3, 2, 0, 4 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 2, 8, 1, 3, 4, 6, 7 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64)* @OBJ_obj2nid, { 1, 0 }\n uselistorder i64 8, { 0, 1, 2, 4, 3 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64 (i64)* @sk_POLICY_MAPPING_num, { 2, 0, 1 }\n uselistorder label LBL_14, { 4, 1, 7, 0, 2, 3, 5, 6 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_expected_hash_6778", "fun_name": "set_expected_hash", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i8* %arg1 to i64\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %1)\n %3 = call i64 @FUNC(i64 %1, i64 %0)\n %4 = call i64 @FUNC()\n %5 = load [11 x i8]*, [11 x i8]** @gv_1, align 8\n %6 = ptrtoint [11 x i8]* %5 to i64\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %6)\n %8 = and i64 %3, 4294967295\n ret i64 %8\n\n uselistorder i64 (i8*, i64)* @pr_info, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_open_1455", "fun_name": "tcp_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i16, align 2\n %sv_6 = alloca i16, align 2\n %sv_7 = alloca i64, align 8\n %sv_8 = alloca i64, align 8\n %sv_9 = alloca i64, align 8\n %sv_10 = alloca i64, align 8\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_20\n LBL_1:\n %4 = bitcast i16* %sv_6 to i64*\n %5 = call i64 @FUNC(i64* nonnull %sv_8, i64 1024, i64 0, i64 0, i64* nonnull %sv_9, i64 1024, i64* nonnull %4, i64* nonnull %sv_7, i64 1024)\n %6 = bitcast i64* %sv_8 to i8*\n %7 = call i32 @strcmp(i8* nonnull %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = load i16, i16* %sv_6, align 2\n %11 = icmp slt i16 %10, 1\n %or.cond = or i1 %9, %11\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_20, label LBL_2\n LBL_2:\n store i16 2, i16* %sv_5, align 2\n %12 = call i16 @htons(i16 %10)\n %13 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_9)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_20\n LBL_3:\n %17 = call i32 @socket(i32 2, i32 1, i32 0)\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_20\n LBL_4:\n %20 = ptrtoint i64* %arg1 to i64\n %21 = ptrtoint i64* %sv_10 to i64\n %22 = zext i32 %17 to i64\n %23 = call i64 @FUNC(i64 %22, i64 1)\n %24 = bitcast i16* %sv_5 to %sockaddr*\n br label LBL_5\n LBL_5:\n %25 = call i32 @connect(i32 %17, %sockaddr* nonnull %24, i32 16)\n store i32 %25, i32* %sv_3, align 4\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_17, label LBL_6\n LBL_6:\n %28 = call i64 @FUNC()\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 4\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_5\n LBL_7:\n %32 = call i64 @FUNC()\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 115\n br i1 %34, label LBL_9, label LBL_8\n LBL_8:\n %35 = call i64 @FUNC()\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 11\n %38 = icmp eq i1 %37, false\n store i32 -5, i32* %storemerge4.reg2mem\n br i1 %38, label LBL_19, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC()\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, 0\n store i32 -4, i32* %storemerge4.reg2mem\n br i1 %41, label LBL_10, label LBL_19\n LBL_10:\n %42 = ptrtoint i64* %sv_2 to i64\n %43 = ashr i32 %17, 6\n %44 = zext i32 %43 to i64\n %45 = sext i32 %43 to i64\n %46 = mul i64 %45, 8\n %47 = add i64 %21, -192\n %48 = add i64 %46, %47\n %49 = inttoptr i64 %48 to i64*\n %50 = urem i32 %17, 64\n %51 = icmp eq i32 %50, 0\n %52 = zext i32 %50 to i64\n %53 = shl i64 1, %52\n %storemerge = select i1 %51, i64 1, i64 %53\n %sext = mul i64 %44, 4294967296\n %54 = ashr exact i64 %sext, 29\n %55 = add i64 %54, %47\n %56 = inttoptr i64 %55 to i64*\n %57 = add i32 %17, 1\n %58 = bitcast i64* %sv_2 to %_TYPEDEF_fd_set*\n %59 = bitcast i64* %sv_1 to %timeval*\n br label LBL_11\n LBL_11:\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_12\n LBL_12:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %60 = mul i64 %indvars.iv.reload, 8\n %61 = add i64 %60, %42\n %62 = inttoptr i64 %61 to i64*\n store i64 0, i64* %62, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_13, label LBL_12\n LBL_13:\n %63 = load i64, i64* %49, align 8\n %64 = or i64 %63, %storemerge\n store i64 %64, i64* %56, align 8\n store i64 0, i64* %sv_1, align 8\n %65 = call i32 @select(i32 %57, %_TYPEDEF_fd_set* null, %_TYPEDEF_fd_set* nonnull %58, %_TYPEDEF_fd_set* null, %timeval* nonnull %59)\n store i32 %65, i32* %sv_3, align 4\n %66 = icmp slt i32 %65, 1\n br i1 %66, label LBL_14, label LBL_15\n LBL_14:\n %67 = call i64 @FUNC()\n %68 = trunc i64 %67 to i32\n %69 = icmp eq i32 %68, 0\n store i32 -4, i32* %storemerge4.reg2mem\n br i1 %69, label LBL_11, label LBL_19\n LBL_15:\n %70 = load i64, i64* %49, align 8\n %71 = and i64 %70, %storemerge\n %72 = icmp eq i64 %71, 0\n %73 = icmp eq i1 %72, false\n br i1 %73, label LBL_16, label LBL_14\n LBL_16:\n store i32 4, i32* %sv_0, align 4\n %74 = bitcast i32* %sv_3 to i64*\n %75 = call i32 @getsockopt(i32 %17, i32 1, i32 4, i64* nonnull %74, i32* nonnull %sv_0)\n %76 = load i32, i32* %sv_3, align 4\n %77 = icmp eq i32 %76, 0\n %78 = icmp eq i1 %77, false\n store i32 -5, i32* %storemerge4.reg2mem\n br i1 %78, label LBL_19, label LBL_17\n LBL_17:\n %79 = call i64 @FUNC(i64 4)\n %80 = icmp eq i64 %79, 0\n %81 = icmp eq i1 %80, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %81, label LBL_18, label LBL_20\n LBL_18:\n %82 = inttoptr i64 %79 to i32*\n store i64 %79, i64* %arg1, align 8\n %83 = add i64 %20, 8\n %84 = inttoptr i64 %83 to i32*\n store i32 1, i32* %84, align 4\n store i32 %17, i32* %82, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_19:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n store i32 %storemerge4.reload, i32* %sv_3, align 4\n %85 = call i64 @FUNC(i64 %22)\n %.pre = load i32, i32* %sv_3, align 4\n %86 = zext i32 %.pre to i64\n store i64 %86, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %17, { 4, 2, 3, 0, 1, 5, 6, 7 }\n uselistorder i32* %sv_3, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 1, 2, 3, 4, 5 }\n uselistorder i64 8, { 2, 0, 1 }\n uselistorder i64 ()* @url_interrupt_cb, { 1, 0 }\n uselistorder i32 -5, { 1, 0 }\n uselistorder i32 4, { 1, 2, 0 }\n uselistorder i64 ()* @ff_neterrno, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i64 1024, { 0, 2, 1 }\n uselistorder label LBL_20, { 5, 6, 0, 1, 2, 3, 4 }\n uselistorder label LBL_19, { 3, 0, 1, 2 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_log_default_callback_2879", "fun_name": "av_log_default_callback", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i64, align 8\n %0 = trunc i64 %arg2 to i32\n %1 = urem i32 %0, 256\n %2 = load i32, i32* @gv_0, align 4\n %3 = zext i32 %2 to i64\n %4 = icmp ugt i32 %1, %2\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_18, label LBL_1\n LBL_1:\n store i8 0, i8* %sv_0, align 1\n %5 = load i32, i32* inttoptr (i64 4210776 to i32*), align 8\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i64* %arg1, null\n %or.cond = or i1 %7, %6\n br i1 %or.cond, label LBL_1.LBL_8_crit_edge, label LBL_3\n LBL_2:\n %.pre = ptrtoint i8* %sv_0 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_8\n LBL_3:\n %8 = bitcast i64* %arg1 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_7, label LBL_4\n LBL_4:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = sext i32 %9 to i64\n %13 = add i64 %12, %11\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_7, label LBL_5\n LBL_5:\n %17 = inttoptr i64 %15 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = inttoptr i64 %15 to i8*\n %21 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %sv_0, i32 1024, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i8* %20, i8* %20)\n br label LBL_7\n LBL_7:\n %22 = call i32 @strlen(i8* nonnull %sv_0)\n %23 = sub i32 1024, %22\n %24 = call i32 @strlen(i8* nonnull %sv_0)\n %25 = sext i32 %24 to i64\n %26 = ptrtoint i8* %sv_0 to i64\n %27 = add i64 %25, %26\n %28 = inttoptr i64 %27 to i8*\n %29 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %28, i32 %23, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %arg1, i64* nonnull %arg1)\n store i64 %26, i64* %.pre-phi.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %30 = call i32 @strlen(i8* nonnull %sv_0)\n %31 = sub i32 1024, %30\n %32 = call i32 @strlen(i8* nonnull %sv_0)\n %33 = sext i32 %32 to i64\n %34 = add i64 %.pre-phi.reload, %33\n %35 = inttoptr i64 %34 to i8*\n %36 = call i32 @vsnprintf(i8* %35, i32 %31, i8* %arg3, i64 %arg4)\n %37 = load i8, i8* %sv_0, align 1\n %38 = icmp eq i8 %37, 0\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = ptrtoint i64* %sv_1 to i64\n %40 = call i32 @strlen(i8* nonnull %sv_0)\n %41 = sext i32 %40 to i64\n %42 = add i64 %39, -1073\n %43 = add i64 %42, %41\n %44 = inttoptr i64 %43 to i8*\n %45 = load i8, i8* %44, align 1\n %46 = icmp eq i8 %45, 10\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_10, label LBL_11\n LBL_10:\n store i32 0, i32* @gv_2, align 4\n br label LBL_15\n LBL_11:\n store i32 1, i32* @gv_2, align 4\n %48 = load i32, i32* @gv_3, align 4\n %49 = urem i32 %48, 2\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_15, label LBL_12\n LBL_12:\n %51 = call i32 @strncmp(i8* nonnull %sv_0, i8* bitcast (i8** @gv_4 to i8*), i32 1024)\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_15, label LBL_13\n LBL_13:\n store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_6, align 4\n %54 = load i32, i32* inttoptr (i64 4211876 to i32*), align 4\n %55 = zext i32 %54 to i64\n %56 = icmp eq i32 %54, 1\n %57 = icmp eq i1 %56, false\n store i64 %55, i64* %rax.0.reg2mem\n br i1 %57, label LBL_18, label LBL_14\n LBL_14:\n %58 = load %_IO_FILE*, %_IO_FILE** @gv_7, align 8\n %59 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %58, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_8, i64 0, i64 0), i64 zext (i32 ptrtoint (i32* @gv_5 to i32) to i64))\n %60 = sext i32 %59 to i64\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_15:\n %61 = load i32, i32* @gv_6, align 4\n %62 = icmp slt i32 %61, 1\n br i1 %62, label LBL_17, label LBL_16\n LBL_16:\n %63 = zext i32 %61 to i64\n %64 = load %_IO_FILE*, %_IO_FILE** @gv_7, align 8\n %65 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %64, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_9, i64 0, i64 0), i64 %63)\n store i32 0, i32* @gv_6, align 4\n br label LBL_17\n LBL_17:\n %66 = udiv i64 %arg2, 256\n %67 = urem i64 %66, 256\n %68 = udiv i32 %1, 8\n %69 = zext i32 %68 to i64\n %70 = call i64 @FUNC(i64 %69, i64 0, i64 6)\n %71 = and i64 %70, 4294967295\n %72 = call i64 @FUNC(i64 %71, i64 %67, i8* nonnull %sv_0)\n %73 = call i64 @FUNC(i64* bitcast (i8** @gv_4 to i64*), i8* nonnull %sv_0, i64 1024)\n store i64 %73, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %20, { 1, 0 }\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i8* %sv_0, { 1, 2, 3, 4, 10, 5, 6, 11, 7, 8, 9, 0, 12 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 256, { 1, 0 }\n uselistorder %_IO_FILE** @gv_7, { 2, 1, 0 }\n uselistorder i32* @gv_6, { 2, 1, 0 }\n uselistorder i32* @gv_2, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 4, 3, 2, 1, 0 }\n uselistorder i32 1024, { 2, 0, 1, 3 }\n uselistorder i32 0, { 4, 5, 6, 0, 7, 8, 1, 2, 3 }\n uselistorder i8 0, { 2, 1, 3, 0 }\n uselistorder i64* %arg1, { 1, 0, 4, 2, 3 }\n uselistorder label LBL_18, { 3, 1, 0, 2 }\n uselistorder label LBL_15, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ppc_set_compat_788", "fun_name": "ppc_set_compat", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = and i64 %arg2, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %5, 2048\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %6, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_0.LBL_7_crit_edge\n LBL_1:\n %.pre = trunc i64 %7 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %15 = icmp eq i64 %9, 0\n %16 = icmp eq i1 %15, false\n %17 = trunc i64 %7 to i32\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i32 %17, i64 %3, i64 %2, i64 %1)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %19 = call i64 @FUNC(i64 %5, i32 %17, i64 0, i64 0)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 %17, i64 0, i64 %2, i64 %1)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %24 = inttoptr i64 %9 to i64*\n %25 = load i64, i64* %24, align 8\n store i32 %17, i32* %.pre-phi.reg2mem\n store i64 %25, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %26 = zext i32 %12 to i64\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n store i32 %.pre-phi.reload, i32* %11, align 4\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = and i64 %28, %storemerge.reload\n store i64 %29, i64* %arg1, align 8\n %30 = call i64 @FUNC()\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n store i64 %30, i64* %rax.0.reg2mem\n br i1 %32, label LBL_10, label LBL_8\n LBL_8:\n %33 = load i32, i32* %11, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %5, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 %35, i64* %rax.0.reg2mem\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = sub i64 0, %35\n %40 = and i64 %39, 4294967295\n %41 = call i64 @FUNC(i64 %4, i64 %40, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i64 %40, i64 %2, i64 %1)\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %35, { 1, 0, 2 }\n uselistorder i32 %17, { 0, 1, 3, 2 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 5, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @error_setg, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "HB_MyanmarAttributes_9747", "fun_name": "HB_MyanmarAttributes", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i16* %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i32\n %storemerge.lcssa18.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_0.014.reg2mem = alloca i32\n %sv_1 = alloca i64, align 8\n %sext5 = mul i64 %arg4, 4294967296\n %0 = ashr exact i64 %sext5, 32\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %2, label LBL_10, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg5 to i64\n %4 = ptrtoint i16* %arg2 to i64\n %5 = trunc i64 %arg3 to i32\n %sext = mul i64 %arg3, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = trunc i64 %arg4 to i32\n %8 = add i32 %7, %5\n %9 = mul i64 %arg3, 8\n %10 = and i64 %9, 34359738360\n %11 = add i64 %10, %3\n %12 = trunc i64 %6 to i32\n %13 = add i64 %11, 4\n %14 = add i32 %1, -1\n store i32 0, i32* %sv_0.014.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem\n %15 = add i32 %sv_0.014.reload, %12\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %4, i64 %16, i32 %8, i64* nonnull %sv_1)\n %18 = zext i32 %sv_0.014.reload to i64\n %19 = mul i64 %18, 8\n %20 = add i64 %19, %11\n %21 = inttoptr i64 %20 to i32*\n store i32 1, i32* %21, align 4\n %22 = icmp eq i32 %sv_0.014.reload, 0\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = add i32 %sv_0.014.reload, -1\n %24 = zext i32 %23 to i64\n %25 = mul i64 %24, 8\n %26 = add i64 %13, %25\n %27 = inttoptr i64 %26 to i32*\n store i32 1, i32* %27, align 4\n br label LBL_4\n LBL_4:\n %28 = sub i64 %17, %6\n %sext6 = mul i64 %28, 4294967296\n %29 = ashr exact i64 %sext6, 32\n %30 = trunc i64 %29 to i32\n %31 = icmp ult i32 %14, %30\n %spec.select = select i1 %31, i64 %0, i64 %29\n %storemerge8 = add i32 %sv_0.014.reload, 1\n %32 = trunc i64 %spec.select to i32\n %33 = icmp ult i32 %storemerge8, %32\n br i1 %33, label LBL_5, label LBL_7\n LBL_5:\n %34 = zext i32 %storemerge8 to i64\n store i64 %34, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %35 = mul i64 %indvars.iv.reload, 8\n %36 = add i64 %35, %11\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %38 = trunc i64 %indvars.iv.reload to i32\n %storemerge = add i32 %38, 1\n %39 = icmp ult i32 %storemerge, %32\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %32, i32* %storemerge.lcssa18.reg2mem\n br i1 %39, label LBL_6, label LBL_8\n LBL_7:\n %40 = icmp eq i32 %storemerge8, %32\n store i32 %storemerge8, i32* %storemerge.lcssa18.reg2mem\n br i1 %40, label LBL_8, label LBL_9\n LBL_8:\n %storemerge.lcssa18.reload = load i32, i32* %storemerge.lcssa18.reg2mem\n %41 = icmp ult i32 %storemerge.lcssa18.reload, %1\n store i32 %storemerge.lcssa18.reload, i32* %sv_0.014.reg2mem\n store i32 %storemerge.lcssa18.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %41, label LBL_2, label LBL_10\n LBL_9:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 52, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n store i32 %storemerge8, i32* %storemerge.lcssa18.reg2mem\n br label LBL_8\n LBL_10:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %42 = zext i32 %sv_0.0.lcssa.reload to i64\n ret i64 %42\n\n uselistorder i32 %storemerge.lcssa18.reload, { 0, 2, 1 }\n uselistorder i32 %32, { 1, 0, 3, 2 }\n uselistorder i32 %sv_0.014.reload, { 0, 2, 1, 3, 4 }\n uselistorder i32 %1, { 2, 1, 0 }\n uselistorder i32* %sv_0.014.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.lcssa18.reg2mem, { 2, 0, 3, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 0, { 3, 4, 1, 0, 2, 5 }\n uselistorder i64 32, { 0, 2, 1, 3 }\n uselistorder i64 4294967296, { 0, 2, 1, 3 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_8, { 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RegisterCUTImage_10661", "fun_name": "RegisterCUTImage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %1 = inttoptr i64 %0 to i64*\n store i64 4198848, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n store i32 1, i32* %3, align 4\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 (i8*)* @ConstantString, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clean_path_5849", "fun_name": "clean_path", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem11 = alloca i8*\n %.reg2mem9 = alloca i64\n %sv_0.1.in.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_0.04.reg2mem = alloca i64\n %.in.in.reg2mem = alloca i64\n %.pre.reg2mem = alloca i8\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = sext i32 %1 to i64\n %3 = add nsw i64 %2, 1\n %4 = call i64 @FUNC(i64 %3)\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %0, align 1\n store i8 %6, i8* %5, align 1\n %7 = load i8, i8* %0, align 1\n %8 = icmp eq i8 %7, 0\n store i8 %7, i8* %.pre.reg2mem\n store i64 %4, i64* %.in.in.reg2mem\n store i64 %arg1, i64* %sv_0.04.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_1:\n %9 = load i8, i8* %.pre8, align 1\n store i8 %9, i8* %12, align 1\n %10 = load i8, i8* %.pre8, align 1\n %11 = icmp eq i8 %10, 0\n store i8 %10, i8* %.pre.reg2mem\n store i64 %.in, i64* %.in.in.reg2mem\n store i64 %sv_0.1, i64* %sv_0.04.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %.in.in.reload = load i64, i64* %.in.in.reg2mem\n %.pre.reload = load i8, i8* %.pre.reg2mem\n %.in = add i64 %.in.in.reload, 1\n %12 = inttoptr i64 %.in to i8*\n store i8 %.pre.reload, i8* %.reg2mem\n store i64 %sv_0.04.reload, i64* %sv_0.1.in.reg2mem\n br label LBL_4\n LBL_3:\n %13 = call i8* @strrchr(i8* %5, i32 47)\n %14 = ptrtoint i8* %13 to i64\n %15 = icmp eq i8* %13, null\n %16 = icmp eq i64 %4, %14\n %or.cond3 = or i1 %15, %16\n store i64 %14, i64* %.reg2mem9\n store i8* %13, i8** %.reg2mem11\n br i1 %or.cond3, label LBL_8, label LBL_6\n LBL_4:\n %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %sv_0.1 = add i64 %sv_0.1.in.reload, 1\n %17 = icmp eq i8 %.reload, 47\n %18 = icmp eq i1 %17, false\n %.pre8 = inttoptr i64 %sv_0.1 to i8*\n br i1 %18, label LBL_1, label LBL_5\n LBL_5:\n %19 = load i8, i8* %.pre8, align 1\n %20 = icmp eq i8 %19, 47\n store i8 47, i8* %.reg2mem\n store i64 %sv_0.1, i64* %sv_0.1.in.reg2mem\n br i1 %20, label LBL_4, label LBL_1\n LBL_6:\n %.reload10 = load i64, i64* %.reg2mem9\n %21 = add i64 %.reload10, 1\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = icmp eq i8 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %.reload12 = load i8*, i8** %.reg2mem11\n store i8 0, i8* %.reload12, align 1\n %26 = call i8* @strrchr(i8* %5, i32 47)\n %27 = ptrtoint i8* %26 to i64\n %28 = icmp eq i8* %26, null\n %29 = icmp eq i64 %4, %27\n %or.cond = or i1 %28, %29\n store i64 %27, i64* %.reg2mem9\n store i8* %26, i8** %.reg2mem11\n br i1 %or.cond, label LBL_8, label LBL_6\n LBL_8:\n ret i64 %4\n\n uselistorder i8* %.pre8, { 2, 1, 0 }\n uselistorder i64 %sv_0.1, { 0, 2, 1 }\n uselistorder i64 %.in, { 1, 0 }\n uselistorder i8* %5, { 2, 1, 0 }\n uselistorder i64 %4, { 3, 2, 1, 0, 4 }\n uselistorder i8* %0, { 1, 0, 2 }\n uselistorder i8* %.pre.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.04.reg2mem, { 0, 2, 1 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem9, { 2, 0, 1 }\n uselistorder i8** %.reg2mem11, { 2, 0, 1 }\n uselistorder i8* null, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strrchr, { 1, 0 }\n uselistorder i32 47, { 1, 0 }\n uselistorder i8 0, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_8, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "samldb_next_step_9778", "fun_name": "samldb_next_step", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i64 %3, i64* %arg1, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i64 0, i64 0, i64 0)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_entropy_decoder_1448", "fun_name": "init_entropy_decoder", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = sub i64 %3, %0\n %5 = icmp sgt i64 %4, 5\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = call i64 @FUNC(i64 %0)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %0, 20\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp slt i32 %14, 3821\n br i1 %15, label LBL_5, label LBL_2\n LBL_2:\n %16 = load i32, i32* %9, align 4\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_3\n LBL_3:\n %19 = urem i32 %16, -2147483648\n store i32 %19, i32* %9, align 4\n %20 = load i64, i64* %2, align 8\n %21 = sub i64 %20, %0\n %22 = icmp sgt i64 %21, 5\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_6\n LBL_4:\n %23 = call i64 @FUNC(i64 %0)\n %24 = trunc i64 %23 to i32\n store i32 %24, i32* %11, align 4\n br label LBL_5\n LBL_5:\n %25 = add i64 %0, 44\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %0, 28\n %28 = inttoptr i64 %27 to i32*\n store i32 10, i32* %28, align 4\n %29 = add i64 %0, 32\n %30 = inttoptr i64 %29 to i32*\n store i32 16384, i32* %30, align 4\n %31 = add i64 %0, 36\n %32 = inttoptr i64 %31 to i32*\n store i32 10, i32* %32, align 4\n %33 = add i64 %0, 40\n %34 = inttoptr i64 %33 to i32*\n store i32 16384, i32* %34, align 4\n %35 = add i64 %0, 1\n store i64 %35, i64* %arg1, align 8\n %36 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 3, 0, 4, 5, 6, 7, 8, 1, 2, 9, 10, 12, 11, 14, 13 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64)* @bytestream_get_be32, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spk_ttyio_ldisc_open_7183", "fun_name": "spk_ttyio_ldisc_open", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = call i64 @FUNC(i64* nonnull @gv_0)\n %3 = load i64, i64* @gv_1, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %6 = ptrtoint i64* %arg1 to i64\n store i64 %6, i64* @gv_1, align 8\n %7 = call i64 @FUNC(i64 8, i64 0)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n store i64 0, i64* @gv_1, align 8\n %10 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %11 = call i64 @FUNC(i64 %7)\n %12 = add i64 %7, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 1, i32* %13, align 4\n %14 = load i64, i64* @gv_1, align 8\n %15 = add i64 %14, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %7, i64* %16, align 8\n %17 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64*)* @mutex_unlock, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "glob_url_18310", "fun_name": "glob_url", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = add i32 %1, 1\n %3 = call i64* @malloc(i32 %2)\n store i64 0, i64* %arg1, align 8\n %4 = icmp eq i64* %3, null\n %5 = icmp eq i1 %4, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_9\n LBL_1:\n %6 = call i64* @malloc(i32 280)\n %7 = icmp eq i64* %6, null\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n call void @free(i64* %3)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %9 = ptrtoint i64* %3 to i64\n %10 = ptrtoint i64* %6 to i64\n %11 = bitcast i64* %6 to i32*\n store i32 0, i32* %11, align 4\n %12 = call i32 @strlen(i8* %0)\n %13 = add i64 %10, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %10, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %9, i64* %16, align 8\n %17 = add i64 %10, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = bitcast i32* %sv_0 to i64*\n %20 = call i64 @FUNC(i64 %10, i64 %arg2, i64 1, i64* nonnull %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = load i32, i32* %sv_0, align 4\n %25 = bitcast i64* %arg3 to i32*\n store i32 %24, i32* %25, align 4\n store i64 %10, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %26 = icmp eq i64 %arg4, 0\n br i1 %26, label LBL_8, label LBL_6\n LBL_6:\n %27 = add i64 %10, 20\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = icmp eq i8 %29, 0\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %31 = inttoptr i64 %arg4 to %_IO_FILE*\n %32 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %31, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 2, i8* %28)\n br label LBL_8\n LBL_8:\n call void @free(i64* %3)\n call void @free(i64* nonnull %6)\n %33 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %33, align 4\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %6, { 0, 1, 3, 2 }\n uselistorder i64* %3, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "PrintFormatNumber_7965", "fun_name": "PrintFormatNumber", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.2.reg2mem = alloca i64\n %xmm1.0.reg2mem = alloca i128\n %sv_0.0.reg2mem = alloca i32\n %sv_1.07.reg2mem = alloca i64\n %sv_2.08.reg2mem = alloca i32*\n %xmm1.110.reg2mem = alloca i128\n %storemerge11.reg2mem = alloca i32\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg3, 4294967296\n %1 = ashr exact i64 %sext3, 32\n %2 = and i64 %0, 4294967295\n %trunc = trunc i64 %0 to i32\n store i32 0, i32* %storemerge11.reg2mem\n store i32* %arg1, i32** %sv_2.08.reg2mem\n store i64 %1, i64* %sv_1.07.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.07.reload = load i64, i64* %sv_1.07.reg2mem\n %sv_2.08.reload = load i32*, i32** %sv_2.08.reg2mem\n %xmm1.110.reload = load i128, i128* %xmm1.110.reg2mem\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n store i64 %2, i64* @0, align 8\n switch i32 %trunc, label LBL_9 [\n i32 1, label LBL_2\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n i32 5, label LBL_4\n i32 6, label LBL_5\n i32 7, label LBL_6\n i32 8, label LBL_6\n i32 9, label LBL_7\n i32 10, label LBL_8\n ]\n LBL_2:\n %3 = bitcast i32* %sv_2.08.reload to i8*\n %4 = load i8, i8* %3, align 1\n %5 = zext i8 %4 to i32\n %6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 %5)\n store i32 1, i32* %sv_0.0.reg2mem\n store i128 %xmm1.110.reload, i128* %xmm1.0.reg2mem\n br label LBL_10\n LBL_3:\n %7 = ptrtoint i32* %sv_2.08.reload to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = urem i64 %8, 65536\n %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %9)\n store i32 2, i32* %sv_0.0.reg2mem\n store i128 %xmm1.110.reload, i128* %xmm1.0.reg2mem\n br label LBL_10\n LBL_4:\n %11 = ptrtoint i32* %sv_2.08.reload to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = and i64 %12, 4294967295\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %13)\n store i32 4, i32* %sv_0.0.reg2mem\n store i128 %xmm1.110.reload, i128* %xmm1.0.reg2mem\n br label LBL_10\n LBL_5:\n %15 = ptrtoint i32* %sv_2.08.reload to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i16\n %18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i16 %17)\n store i32 2, i32* %sv_0.0.reg2mem\n store i128 %xmm1.110.reload, i128* %xmm1.0.reg2mem\n br label LBL_10\n LBL_6:\n %19 = ptrtoint i32* %sv_2.08.reload to i64\n %20 = add i64 %19, 4\n %21 = call i64 @FUNC(i64 %20)\n %22 = call i64 @FUNC(i64 %19)\n %23 = and i64 %21, 4294967295\n %24 = and i64 %22, 4294967295\n %25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %24, i64 %23)\n store i32 8, i32* %sv_0.0.reg2mem\n store i128 %xmm1.110.reload, i128* %xmm1.0.reg2mem\n br label LBL_10\n LBL_7:\n %26 = load i32, i32* %sv_2.08.reload, align 4\n %27 = call i128 @FUNC(i32 %26)\n %28 = call i128 @FUNC(i128 %xmm1.110.reload, i128 %xmm1.110.reload)\n %29 = call i128 @FUNC(i128 %27)\n %30 = call i64 @FUNC(i128 %29)\n %31 = call i128 @__asm_movq.1(i64 %30)\n %32 = trunc i128 %31 to i64\n %33 = bitcast i64 %32 to double\n %34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), double %33)\n store i32 8, i32* %sv_0.0.reg2mem\n store i128 %29, i128* %xmm1.0.reg2mem\n br label LBL_10\n LBL_8:\n %35 = bitcast i32* %sv_2.08.reload to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i128 @__asm_movq.1(i64 %36)\n %38 = trunc i128 %37 to i64\n %39 = bitcast i64 %38 to double\n %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), double %39)\n store i32 8, i32* %sv_0.0.reg2mem\n store i128 %xmm1.110.reload, i128* %xmm1.0.reg2mem\n br label LBL_10\n LBL_9:\n %41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_5, i64 0, i64 0), i64 %2)\n %42 = sext i32 %41 to i64\n store i64 %42, i64* %rax.2.reg2mem\n br label LBL_13\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %43 = zext i32 %sv_0.0.reload to i64\n %44 = trunc i64 %sv_1.07.reload to i32\n %45 = sub i32 %44, %sv_0.0.reload\n %46 = icmp slt i32 %45, 1\n store i64 %43, i64* %rax.2.reg2mem\n br i1 %46, label LBL_13, label LBL_11\n LBL_11:\n %xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem\n %47 = sext i32 %45 to i64\n %48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0))\n %49 = ptrtoint i32* %sv_2.08.reload to i64\n %50 = add i64 %43, %49\n %51 = inttoptr i64 %50 to i32*\n %52 = add nuw nsw i32 %storemerge11.reload, 1\n %53 = icmp ult i32 %52, 16\n store i32 %52, i32* %storemerge11.reg2mem\n store i128 %xmm1.0.reload, i128* %xmm1.110.reg2mem\n store i32* %51, i32** %sv_2.08.reg2mem\n store i64 %47, i64* %sv_1.07.reg2mem\n br i1 %53, label LBL_1, label LBL_12\n LBL_12:\n %54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0))\n %55 = sext i32 %54 to i64\n store i64 %55, i64* %rax.2.reg2mem\n br label LBL_13\n LBL_13:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i32 %45, { 1, 0 }\n uselistorder i64 %43, { 1, 0 }\n uselistorder i128 %xmm1.110.reload, { 5, 7, 6, 4, 3, 2, 1, 0 }\n uselistorder i32* %sv_2.08.reload, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm1.110.reg2mem, { 1, 0 }\n uselistorder i32** %sv_2.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i128* %xmm1.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64)* @Get32s, { 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i64 (i64)* @Get16u, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 2, 4, 1, 6, 7, 0, 9, 8, 5, 3 }\n uselistorder i32 8, { 2, 1, 0, 3 }\n uselistorder i32 2, { 1, 0, 2 }\n uselistorder i64 4294967295, { 2, 3, 1, 4, 0 }\n uselistorder label LBL_13, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "trace_thread_create_5099", "fun_name": "trace_thread_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = bitcast i64* %sv_1 to %_TYPEDEF_sigset_t*\n %1 = call i32 @sigfillset(%_TYPEDEF_sigset_t* nonnull %0)\n %2 = bitcast i64* %sv_1 to %_TYPEDEF___sigset_t*\n %3 = bitcast i64* %sv_0 to %_TYPEDEF___sigset_t*\n %4 = call i32 @pthread_sigmask(i32 2, %_TYPEDEF___sigset_t* nonnull %2, %_TYPEDEF___sigset_t* nonnull %3)\n %5 = call i64 @FUNC(i64 %arg1, i64 0, i64 0, i64 0)\n %6 = call i32 @pthread_sigmask(i32 2, %_TYPEDEF___sigset_t* nonnull %3, %_TYPEDEF___sigset_t* null)\n ret i64 %5\n\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sctp_bindx_rem_8825", "fun_name": "sctp_bindx_rem", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i32\n %sv_1.17.reg2mem = alloca i64\n %storemerge38.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = and i64 %arg3, 4294967295\n %5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64* %arg2, i64 %4)\n %6 = trunc i64 %arg3 to i32\n %7 = icmp sgt i32 %6, 0\n store i32 0, i32* %storemerge.in.reg2mem\n br i1 %7, label LBL_1, label LBL_14\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = inttoptr i64 %3 to i32*\n %10 = add i64 %3, 8\n store i32 0, i32* %storemerge38.reg2mem\n store i64 %8, i64* %sv_1.17.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i32 -1, i32* %sv_0.04.reg2mem\n br i1 %14, label LBL_11, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %10)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n store i32 -1, i32* %sv_0.04.reg2mem\n br i1 %17, label LBL_4, label LBL_11\n LBL_4:\n %sv_1.17.reload = load i64, i64* %sv_1.17.reg2mem\n %18 = inttoptr i64 %sv_1.17.reload to i16*\n %19 = load i16, i16* %18, align 2\n %20 = zext i16 %19 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 -2, i32* %sv_0.04.reg2mem\n br i1 %23, label LBL_5, label LBL_11\n LBL_5:\n %24 = trunc i64 %sv_1.17.reload to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i32 -3, i32* %sv_0.04.reg2mem\n br i1 %26, label LBL_6, label LBL_11\n LBL_6:\n %27 = add i64 %sv_1.17.reload, 2\n %28 = inttoptr i64 %27 to i16*\n %29 = load i16, i16* %28, align 2\n %30 = icmp eq i16 %29, 0\n br i1 %30, label LBL_9, label LBL_7\n LBL_7:\n %31 = load i32, i32* %9, align 4\n %32 = trunc i32 %31 to i16\n %33 = call i16 @htons(i16 %32)\n %34 = icmp eq i16 %29, %33\n store i32 -2, i32* %sv_0.04.reg2mem\n br i1 %34, label LBL_8, label LBL_11\n LBL_8:\n %.pre = load i16, i16* %28, align 2\n %35 = icmp eq i16 %.pre, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_10, label LBL_9\n LBL_9:\n %37 = load i32, i32* %9, align 4\n %38 = trunc i32 %37 to i16\n %39 = call i16 @htons(i16 %38)\n store i16 %39, i16* %28, align 2\n br label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i64 %3, i64 %sv_1.17.reload)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i32 %41, i32* %sv_0.04.reg2mem\n br i1 %43, label LBL_13, label LBL_11\n LBL_11:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %44 = icmp eq i32 %storemerge38.reload, 0\n store i32 %sv_0.04.reload, i32* %storemerge.in.reg2mem\n br i1 %44, label LBL_14, label LBL_12\n LBL_12:\n %45 = call i64 @FUNC(i64 %0, i64 %8, i32 %storemerge38.reload)\n store i32 %sv_0.04.reload, i32* %storemerge.in.reg2mem\n br label LBL_14\n LBL_13:\n %46 = add i64 %21, 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = sext i32 %48 to i64\n %50 = add i64 %sv_1.17.reload, %49\n %51 = add nuw nsw i32 %storemerge38.reload, 1\n %52 = icmp slt i32 %51, %6\n store i32 %51, i32* %storemerge38.reg2mem\n store i64 %50, i64* %sv_1.17.reg2mem\n store i32 %41, i32* %storemerge.in.reg2mem\n br i1 %52, label LBL_2, label LBL_14\n LBL_14:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %sv_0.04.reload, { 1, 0 }\n uselistorder i16* %28, { 1, 0, 2 }\n uselistorder i64 %sv_1.17.reload, { 4, 0, 2, 1, 3 }\n uselistorder i32* %9, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.04.reg2mem, { 0, 6, 1, 2, 3, 5, 4 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 0, { 2, 4, 5, 6, 7, 1, 0, 3 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_14, { 0, 3, 2, 1 }\n uselistorder label LBL_11, { 5, 0, 1, 2, 4, 3 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dex_method_fullname_10891", "fun_name": "dex_method_fullname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = icmp eq i64* %arg1, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = add i64 %5, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n %11 = trunc i64 %6 to i32\n %12 = icmp slt i32 %11, 0\n %or.cond = or i1 %12, %10\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_2\n LBL_2:\n %13 = add i64 %5, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = icmp slt i64 %6, %16\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_6\n LBL_3:\n %18 = add i64 %5, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = ashr exact i64 %sext, 30\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp slt i32 %24, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_6, label LBL_4\n LBL_4:\n %26 = and i64 %3, 4294967295\n %27 = sext i32 %24 to i64\n %28 = icmp sgt i64 %26, %27\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_5, label LBL_6\n LBL_5:\n %29 = and i64 %6, 4294967295\n %30 = call i64 @FUNC(i64 %5, i64 %29)\n %31 = zext i32 %24 to i64\n %32 = call i64 @FUNC(i64 %5, i64 %31)\n %33 = call i64 @FUNC(i64 %32, i64* nonnull @gv_0, i64* nonnull @gv_1, i64 0)\n %34 = call i64 @FUNC(i64 %5, i64 %29)\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i64 %33, i64 %30, i64 %34, i64 %2, i64 %1)\n %36 = inttoptr i64 %30 to i64*\n call void @free(i64* %36)\n %37 = inttoptr i64 %33 to i64*\n call void @free(i64* %37)\n %38 = inttoptr i64 %34 to i64*\n call void @free(i64* %38)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 2, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %5, { 0, 2, 1, 5, 4, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 3, 5, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0, 2, 3, 4 }\n uselistorder i64* null, { 2, 3, 4, 0, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 5, 2, 1, 3, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "S_AL_Shutdown_8259", "fun_name": "S_AL_Shutdown", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv4.reg2mem = alloca i64\n store i64 0, i64* %indvars.iv4.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv4.reload = load i64, i64* %indvars.iv4.reg2mem\n %0 = call i64 @FUNC(i64 %indvars.iv4.reload)\n %indvars.iv.next5 = add nuw nsw i64 %indvars.iv4.reload, 1\n %exitcond6 = icmp eq i64 %indvars.iv.next5, 10\n store i64 %indvars.iv.next5, i64* %indvars.iv4.reg2mem\n br i1 %exitcond6, label LBL_2, label LBL_1\n LBL_2:\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = load i64, i64* @gv_1, align 8\n %7 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %8 = mul i64 %indvars.iv.reload, 4\n %9 = add i64 %8, ptrtoint (i32** @gv_2 to i64)\n %10 = inttoptr i64 %9 to i32*\n store i32 -1, i32* %10, align 4\n %11 = add i64 %8, ptrtoint (i32** @gv_3 to i64)\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n %13 = add i64 %8, ptrtoint (i32** @gv_4 to i64)\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %15 = call i64 @FUNC()\n ret i64 %15\n\n uselistorder i64 %8, { 2, 1, 0 }\n uselistorder i64* %indvars.iv4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 10, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ntlm_print_message_fields_6764", "fun_name": "ntlm_print_message_fields", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i16* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %2, 2\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = trunc i64 %1 to i16\n %10 = ptrtoint i8* %arg2 to i64\n %11 = zext i32 %5 to i64\n %12 = zext i16 %8 to i64\n %13 = urem i64 %1, 65536\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i64 %10, i64 %13, i64 %12, i64 %11)\n %15 = icmp eq i16 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = add i64 %2, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 0, i64 %18, i64 %13)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "BN_bn2dec_8800", "fun_name": "BN_bn2dec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.lcssa.reg2mem = alloca i8*\n %sv_0.28.reg2mem = alloca i8*\n %sv_0.39.reg2mem = alloca i8*\n %sv_1.110.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i8*\n %sv_0.111.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 8)\n %3 = call i64 @FUNC(i64 0)\n %4 = icmp ne i64 %3, 0\n %5 = icmp eq i64 %2, 0\n %6 = icmp eq i1 %5, false\n %or.cond = icmp eq i1 %4, %6\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 1, i64 2)\n %8 = call i64 @FUNC(i64 %2)\n %9 = call i64 @FUNC(i64 0)\n br label LBL_21\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_18, label LBL_3\n LBL_3:\n %12 = inttoptr i64 %3 to i8*\n %13 = call i64 @FUNC(i64 %10)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = add i64 %3, 1\n store i8 48, i8* %12, align 1\n %17 = inttoptr i64 %16 to i8*\n store i8 0, i8* %17, align 1\n br label LBL_17\n LBL_5:\n %18 = call i64 @FUNC(i64 %10)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n store i8* %12, i8** %sv_0.0.reg2mem\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = add i64 %3, 1\n %22 = inttoptr i64 %21 to i8*\n store i8 45, i8* %12, align 1\n store i8* %22, i8** %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n store i64 %2, i64* %sv_1.0.reg2mem\n br label LBL_10\n LBL_8:\n %23 = call i64 @FUNC(i64 %10, i64 10)\n %24 = inttoptr i64 %sv_1.0.reload to i64*\n store i64 %23, i64* %24, align 8\n %25 = icmp eq i64 %23, -1\n br i1 %25, label LBL_19, label LBL_9\n LBL_9:\n %26 = add i64 %sv_1.0.reload, 8\n %27 = sub i64 %26, %2\n %28 = icmp slt i64 %27, 8\n store i64 %26, i64* %sv_1.0.reg2mem\n br i1 %28, label LBL_10, label LBL_20\n LBL_10:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %29 = call i64 @FUNC(i64 %10)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_8, label LBL_11\n LBL_11:\n %32 = add i64 %sv_1.0.reload, -8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = trunc i64 %34 to i32\n %36 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_0.0.reload, i32 undef, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %35)\n %37 = load i8, i8* %sv_0.0.reload, align 1\n %38 = icmp eq i8 %37, 0\n %39 = icmp eq i1 %38, false\n store i8* %sv_0.0.reload, i8** %sv_0.111.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.1.lcssa.reg2mem\n br i1 %39, label LBL_12, label LBL_13\n LBL_12:\n %sv_0.111.reload = load i8*, i8** %sv_0.111.reg2mem\n %40 = ptrtoint i8* %sv_0.111.reload to i64\n %41 = add i64 %40, 1\n %42 = inttoptr i64 %41 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = icmp eq i8 %43, 0\n %45 = icmp eq i1 %44, false\n store i8* %42, i8** %sv_0.111.reg2mem\n store i8* %42, i8** %sv_0.1.lcssa.reg2mem\n br i1 %45, label LBL_12, label LBL_13\n LBL_13:\n %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem\n %46 = icmp eq i64 %32, %2\n %47 = icmp eq i1 %46, false\n store i64 %32, i64* %sv_1.110.reg2mem\n store i8* %sv_0.1.lcssa.reload, i8** %sv_0.39.reg2mem\n br i1 %47, label LBL_14, label LBL_17\n LBL_14:\n %sv_0.39.reload = load i8*, i8** %sv_0.39.reg2mem\n %sv_1.110.reload = load i64, i64* %sv_1.110.reg2mem\n %48 = add i64 %sv_1.110.reload, -8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = trunc i64 %50 to i32\n %52 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_0.39.reload, i32 undef, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %51)\n %53 = load i8, i8* %sv_0.39.reload, align 1\n %54 = icmp eq i8 %53, 0\n %55 = icmp eq i1 %54, false\n store i8* %sv_0.39.reload, i8** %sv_0.28.reg2mem\n store i8* %sv_0.39.reload, i8** %sv_0.2.lcssa.reg2mem\n br i1 %55, label LBL_15, label LBL_16\n LBL_15:\n %sv_0.28.reload = load i8*, i8** %sv_0.28.reg2mem\n %56 = ptrtoint i8* %sv_0.28.reload to i64\n %57 = add i64 %56, 1\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = icmp eq i8 %59, 0\n %61 = icmp eq i1 %60, false\n store i8* %58, i8** %sv_0.28.reg2mem\n store i8* %58, i8** %sv_0.2.lcssa.reg2mem\n br i1 %61, label LBL_15, label LBL_16\n LBL_16:\n %sv_0.2.lcssa.reload = load i8*, i8** %sv_0.2.lcssa.reg2mem\n %62 = icmp eq i64 %48, %2\n %63 = icmp eq i1 %62, false\n store i64 %48, i64* %sv_1.110.reg2mem\n store i8* %sv_0.2.lcssa.reload, i8** %sv_0.39.reg2mem\n br i1 %63, label LBL_14, label LBL_17\n LBL_17:\n %64 = call i64 @FUNC(i64 %2)\n %65 = call i64 @FUNC(i64 %10)\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_22\n LBL_18:\n %66 = call i64 @FUNC(i64 %2)\n %67 = call i64 @FUNC(i64 0)\n br label LBL_21\n LBL_19:\n %68 = call i64 @FUNC(i64 %2)\n %69 = call i64 @FUNC(i64 %10)\n br label LBL_21\n LBL_20:\n %70 = call i64 @FUNC(i64 %2)\n %71 = call i64 @FUNC(i64 %10)\n br label LBL_21\n LBL_21:\n %72 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_22\n LBL_22:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i8* %sv_0.0.reload, { 0, 1, 3, 2 }\n uselistorder i8* %12, { 2, 0, 1 }\n uselistorder i64 %10, { 0, 1, 2, 4, 3, 5, 6, 7 }\n uselistorder i64 %3, { 4, 0, 1, 2, 3, 5 }\n uselistorder i64 %2, { 2, 3, 4, 9, 7, 1, 8, 0, 5, 6 }\n uselistorder i8** %sv_0.111.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.110.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.39.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.28.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }\n uselistorder i8 0, { 2, 1, 3, 0, 4 }\n uselistorder i64 (i64)* @BN_is_zero, { 1, 0 }\n uselistorder i64 (i64)* @BN_free, { 0, 1, 2, 4, 3 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i1 false, { 5, 4, 2, 1, 6, 0, 3 }\n uselistorder i64 (i64)* @OPENSSL_malloc, { 1, 0 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_command_complete_2128", "fun_name": "scsi_command_complete", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i32* %arg1 to i64\n %5 = trunc i64 %arg2 to i32\n %6 = and i64 %arg3, 4294967295\n %7 = and i64 %3, 4294967295\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 %7, i32 %5, i64 %6, i64 %2, i64 %1)\n %9 = and i64 %arg2, 4294967295\n %10 = call i64 @FUNC(i64 %4, i64 %9, i64 %6)\n %11 = call i64 @FUNC(i64 %4)\n ret i64 %11\n\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rpc_init_task_13705", "fun_name": "rpc_init_task", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64* @memset(i64* %arg1, i32 0, i32 88)\n %8 = call i64 @FUNC(i64 %6, i64 1)\n %9 = trunc i64 %3 to i32\n %10 = add i64 %6, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = add i64 %5, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %6, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = add i64 %5, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %6, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = add i64 %6, 24\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %6, 40\n %25 = inttoptr i64 %24 to i32*\n store i32 2, i32* %25, align 4\n %26 = add i64 %6, 44\n %27 = inttoptr i64 %26 to i32*\n store i32 2, i32* %27, align 4\n %28 = add i64 %6, 48\n %29 = inttoptr i64 %28 to i32*\n store i32 2, i32* %29, align 4\n %30 = add i64 %5, 24\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %6, 52\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = load i32*, i32** @gv_0, align 8\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %6, 56\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = add i64 %5, 32\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = add i64 %6, 64\n %43 = inttoptr i64 %42 to i64*\n store i64 %41, i64* %43, align 8\n %44 = load i64, i64* %16, align 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = icmp eq i64 %46, 0\n br i1 %47, label LBL_2, label LBL_1\n LBL_1:\n %48 = add i64 %6, 80\n %49 = inttoptr i64 %48 to i64*\n store i64 4198866, i64* %49, align 8\n br label LBL_2\n LBL_2:\n %50 = call i64 @FUNC()\n %51 = add i64 %6, 72\n %52 = inttoptr i64 %51 to i64*\n store i64 %50, i64* %52, align 8\n %53 = load i32*, i32** @gv_0, align 8\n %54 = ptrtoint i32* %53 to i64\n %55 = call i64 @FUNC(i64 %54)\n %56 = and i64 %55, 4294967295\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i64 %56, i64 %6, i64 %4, i64 %2, i64 %1)\n ret i64 %57\n\n uselistorder i64 %6, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder i64 %5, { 3, 2, 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32** @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_get_dnxhd_codec_tag_8014", "fun_name": "mov_get_dnxhd_codec_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = trunc i64 %0 to i32\n %switch = icmp ult i32 %1, 2\n %spec.select = select i1 %switch, i64 1852069441, i64 1751406145\n ret i64 %spec.select\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_len_table_2854", "fun_name": "read_len_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.11.reg2mem = alloca i32\n %sv_0.02.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* %sv_0.13.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %6 = call i64 @FUNC(i64 %4, i64 3)\n %7 = trunc i64 %6 to i32\n %8 = call i64 @FUNC(i64 %4, i64 5)\n %9 = icmp eq i32 %7, 0\n %10 = icmp eq i1 %9, false\n store i32 %7, i32* %sv_1.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %4, i64 8)\n %12 = trunc i64 %11 to i32\n store i32 %12, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %13 = add i32 %sv_1.0.reload, %sv_0.13.reload\n %14 = icmp slt i32 %13, 257\n br i1 %14, label LBL_4, label LBL_6\n LBL_4:\n %15 = icmp eq i32 %sv_1.0.reload, 0\n %16 = icmp eq i1 %15, false\n store i32 %sv_0.13.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %16, label LBL_5, label LBL_8\n LBL_5:\n %17 = trunc i64 %8 to i8\n store i32 %sv_0.13.reload, i32* %sv_0.02.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.11.reg2mem\n br label LBL_7\n LBL_6:\n %18 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_7:\n %sv_1.11.reload = load i32, i32* %sv_1.11.reg2mem\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %19 = add i32 %sv_1.11.reload, -1\n %20 = add i32 %sv_0.02.reload, 1\n %21 = sext i32 %sv_0.02.reload to i64\n %22 = add i64 %21, %5\n %23 = inttoptr i64 %22 to i8*\n store i8 %17, i8* %23, align 1\n %24 = icmp eq i32 %19, 0\n %25 = icmp eq i1 %24, false\n store i32 %20, i32* %sv_0.02.reg2mem\n store i32 %19, i32* %sv_1.11.reg2mem\n store i32 %20, i32* %sv_0.0.lcssa.reg2mem\n br i1 %25, label LBL_7, label LBL_8\n LBL_8:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %26 = icmp slt i32 %sv_0.0.lcssa.reload, 256\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.13.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %26, label LBL_1, label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %sv_0.02.reload, { 1, 0 }\n uselistorder i32 %sv_0.13.reload, { 1, 0, 2 }\n uselistorder i64 %4, { 0, 2, 1 }\n uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 0, { 0, 5, 4, 2, 3, 1, 6 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smack_task_kill_4217", "fun_name": "smack_task_kill", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge3.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = bitcast i32* %sv_0 to i64*\n %3 = call i64 @FUNC(i64* nonnull %2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %4 = call i64 @FUNC(i64* nonnull %2, i64 %0)\n %5 = icmp eq i32 %arg4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %1, i64 1, i64* nonnull %2)\n %8 = trunc i64 %7 to i32\n store i32 %8, i32* %sv_0, align 4\n %9 = and i64 %7, 4294967295\n %10 = call i64 @FUNC(i64 %0, i64 1, i64 %9)\n store i64 %10, i64* %storemerge3.in.reg2mem\n br label LBL_3\n LBL_2:\n %11 = zext i32 %arg4 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %12, i64 %1, i64 1, i64* nonnull %2)\n %14 = trunc i64 %13 to i32\n store i32 %14, i32* %sv_0, align 4\n %15 = and i64 %13, 4294967295\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 %1, i64 1, i64 %15)\n store i64 %16, i64* %storemerge3.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem\n %storemerge = and i64 %storemerge3.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i64* %2, { 1, 0, 2, 3 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i32 %arg4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_get_bus_devfn_934", "fun_name": "pci_get_bus_devfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %0 = icmp eq i64* %arg2, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %3 = call i32 @fwrite(i64* bitcast ([20 x i8]* @gv_1 to i64*), i32 1, i32 19, %_IO_FILE* %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %4 = ptrtoint i64* %arg2 to i64\n call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0))\n %5 = icmp eq i8* %arg3, null\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = bitcast i64* %arg1 to i32*\n store i32 -1, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %4, i64 0)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %9 = ptrtoint i8* %arg3 to i64\n %10 = bitcast i32* %sv_0 to i64*\n %11 = bitcast i32* %sv_1 to i64*\n %12 = bitcast i32* %sv_2 to i64*\n %13 = call i64 @FUNC(i64 %9, i64* nonnull %10, i64* nonnull %11, i64* nonnull %12, i64 0)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_8\n LBL_5:\n %17 = load i32, i32* %sv_0, align 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %20 = call i32 @fwrite(i64* bitcast ([37 x i8]* @gv_5 to i64*), i32 1, i32 36, %_IO_FILE* %19)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %21 = load i32, i32* %sv_2, align 4\n %22 = bitcast i64* %arg1 to i32*\n store i32 %21, i32* %22, align 4\n %23 = load i32, i32* %sv_1, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %4, i64 %24)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 }\n uselistorder i64 (i64, i64)* @pci_find_bus_nr, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i8* %arg3, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pagefault_out_of_memory_8960", "fun_name": "pagefault_out_of_memory", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = call i64 @FUNC(i64 1)\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64* nonnull @gv_0)\n %5 = and i64 %4, 4294967295\n %6 = xor i64 %5, 1\n %7 = trunc i64 %6 to i8\n %8 = icmp eq i8 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull %sv_0)\n %11 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ftp_readline_10594", "fun_name": "ftp_readline", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i8*\n %sv_0.2.reg2mem = alloca i64\n %sv_0.38.reg2mem = alloca i64\n %.reg2mem34 = alloca i8*\n %sv_0.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i8*, align 8\n %3 = add i64 %2, 1032\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %2, 4\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %7 = add i64 %2, 1040\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i64*\n %12 = inttoptr i64 %5 to i64*\n %13 = trunc i64 %9 to i32\n %14 = call i64* @memmove(i64* %11, i64* %12, i32 %13)\n %15 = load i64, i64* %8, align 8\n store i64 %10, i64* %.pre-phi.reg2mem\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %16 = trunc i64 %1 to i32\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %17 = bitcast i8** %sv_2 to i64*\n store i64 %.pre-phi.reload, i64* %.reg2mem\n store i64 1024, i64* %sv_1.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n store i64 %.reload, i64* %17, align 8\n %18 = icmp eq i64 %sv_0.1.reload, 0\n %19 = icmp eq i1 %18, false\n %.cast = inttoptr i64 %.reload to i8*\n store i8* %.cast, i8** %.reg2mem34\n store i64 %sv_0.1.reload, i64* %sv_0.38.reg2mem\n store i8* %.cast, i8** %.lcssa.reg2mem\n br i1 %19, label LBL_5, label LBL_16\n LBL_5:\n %sv_0.38.reload = load i64, i64* %sv_0.38.reg2mem\n %.reload35 = load i8*, i8** %.reg2mem34\n %20 = load i8, i8* %.reload35, align 1\n %21 = icmp eq i8 %20, 13\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_11, label LBL_6\n LBL_6:\n store i8* %.reload35, i8** %sv_2, align 8\n store i8 0, i8* %.reload35, align 1\n %23 = ptrtoint i8* %.reload35 to i64\n %24 = add i64 %23, 1\n store i64 %24, i64* %4, align 8\n %25 = icmp slt i64 %sv_0.38.reload, 2\n store i64 %sv_0.38.reload, i64* %sv_0.2.reg2mem\n br i1 %25, label LBL_9, label LBL_7\n LBL_7:\n %26 = load i8*, i8** %sv_2, align 8\n %27 = ptrtoint i8* %26 to i64\n %28 = add i64 %27, 1\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = icmp eq i8 %30, 10\n %32 = icmp eq i1 %31, false\n store i64 %sv_0.38.reload, i64* %sv_0.2.reg2mem\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %33 = add i64 %23, 2\n store i64 %33, i64* %4, align 8\n %34 = add i64 %sv_0.38.reload, -1\n store i64 %34, i64* %sv_0.2.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %35 = add i64 %sv_0.2.reload, -1\n %36 = add i64 %2, 1040\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = icmp eq i64 %35, 0\n %39 = icmp eq i1 %38, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %39, label LBL_17, label LBL_10\n LBL_10:\n store i64 0, i64* %4, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_11:\n %40 = icmp eq i8 %20, 10\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_14, label LBL_12\n LBL_12:\n store i8* %.reload35, i8** %sv_2, align 8\n store i8 0, i8* %.reload35, align 1\n %42 = ptrtoint i8* %.reload35 to i64\n %43 = add i64 %42, 1\n store i64 %43, i64* %4, align 8\n %44 = add i64 %sv_0.38.reload, -1\n %45 = add i64 %2, 1040\n %46 = inttoptr i64 %45 to i64*\n store i64 %44, i64* %46, align 8\n %47 = icmp eq i64 %44, 0\n %48 = icmp eq i1 %47, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %48, label LBL_17, label LBL_13\n LBL_13:\n store i64 0, i64* %4, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_14:\n %49 = add i64 %sv_0.38.reload, -1\n %50 = ptrtoint i8* %.reload35 to i64\n %51 = add i64 %50, 1\n %52 = inttoptr i64 %51 to i8*\n %53 = icmp eq i64 %49, 0\n %54 = icmp eq i1 %53, false\n store i8* %52, i8** %.reg2mem34\n store i64 %49, i64* %sv_0.38.reg2mem\n br i1 %54, label LBL_5, label LBL_15\n LBL_15:\n store i8* %52, i8** %sv_2, align 8\n store i8* %52, i8** %.lcssa.reg2mem\n br label LBL_16\n LBL_16:\n %55 = sub i64 %sv_1.0.reload, %sv_0.1.reload\n %.lcssa.reload = load i8*, i8** %.lcssa.reg2mem\n %56 = ptrtoint i8* %.lcssa.reload to i64\n %57 = call i64 @FUNC(i64 %2, i32 %16, i64 %56, i64 %55)\n %58 = icmp eq i64 %57, 0\n %59 = icmp slt i64 %57, 0\n %60 = icmp eq i1 %59, false\n %61 = icmp eq i1 %58, false\n %62 = icmp eq i1 %60, %61\n %63 = icmp eq i64 %55, 0\n %64 = icmp eq i1 %63, false\n %or.cond = icmp eq i1 %64, %62\n store i64 %56, i64* %.reg2mem\n store i64 %55, i64* %sv_1.0.reg2mem\n store i64 %57, i64* %sv_0.1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %57, { 0, 2, 1 }\n uselistorder i8* %52, { 0, 2, 1 }\n uselistorder i8* %.reload35, { 1, 7, 6, 5, 3, 4, 2, 0 }\n uselistorder i64 %sv_0.38.reload, { 2, 5, 4, 0, 1, 3 }\n uselistorder i64 %sv_0.1.reload, { 1, 0, 2 }\n uselistorder i64* %4, { 3, 4, 1, 0, 2, 5 }\n uselistorder i8** %sv_2, { 0, 1, 4, 2, 3 }\n uselistorder i64 %2, { 3, 5, 4, 2, 1, 0, 6 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem34, { 2, 0, 1 }\n uselistorder i64* %sv_0.38.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 5, 4 }\n uselistorder i64 1, { 4, 1, 0, 5, 3, 2, 6, 7 }\n uselistorder i1 false, { 1, 8, 2, 9, 3, 4, 5, 6, 7, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder label LBL_17, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtp_write_761", "fun_name": "rtp_write", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i32\n %1 = icmp sgt i32 %0, 1\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = add i64 %2, 1\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp eq i8 %5, -56\n %7 = icmp eq i1 %6, false\n %storemerge2.in.in.v = select i1 %7, i64 16, i64 8\n %storemerge2.in.in = add i64 %storemerge2.in.in.v, %arg1\n %storemerge2.in = inttoptr i64 %storemerge2.in.in to i64*\n %storemerge2 = load i64, i64* %storemerge2.in, align 8\n %8 = call i64 @FUNC(i64 %storemerge2, i64 %2, i32 %0)\n %9 = and i64 %8, 4294967295\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nci_extract_rf_params_nfcf_passive_poll_13506", "fun_name": "nci_extract_rf_params_nfcf_passive_poll", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i8\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i32* %arg3 to i64\n %6 = add i64 %5, 1\n %7 = trunc i64 %3 to i8\n %8 = bitcast i64* %arg2 to i8*\n store i8 %7, i8* %8, align 1\n %9 = add i64 %5, 2\n %10 = inttoptr i64 %6 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp ult i8 %11, 10\n store i64 %9, i64* %sv_0.0.reg2mem\n store i8 10, i8* %storemerge.reg2mem\n br i1 %12, label LBL_1, label LBL_2\n LBL_1:\n %13 = add i64 %5, 3\n %14 = inttoptr i64 %9 to i8*\n %15 = load i8, i8* %14, align 1\n store i64 %13, i64* %sv_0.0.reg2mem\n store i8 %15, i8* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %16 = ptrtoint i64* %arg2 to i64\n %storemerge.reload = load i8, i8* %storemerge.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %17 = add i64 %16, 1\n %18 = inttoptr i64 %17 to i8*\n store i8 %storemerge.reload, i8* %18, align 1\n %19 = zext i8 %storemerge.reload to i64\n %20 = bitcast i64* %rsi to i8*\n %21 = load i8, i8* %20, align 8\n %22 = zext i8 %21 to i64\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %22, i64 %19, i64 %4, i64 %2, i64 %1)\n %24 = load i8, i8* %18, align 1\n %25 = add i64 %16, 2\n %26 = inttoptr i64 %25 to i64*\n %27 = inttoptr i64 %sv_0.0.reload to i64*\n %28 = zext i8 %24 to i32\n %29 = call i64* @memcpy(i64* %26, i64* %27, i32 %28)\n %30 = load i8, i8* %18, align 1\n %31 = zext i8 %30 to i64\n %32 = add i64 %sv_0.0.reload, %31\n ret i64 %32\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i8 %storemerge.reload, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i8* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ptrace_attach_7024", "fun_name": "ptrace_attach", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1)\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %1, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 4294967295, i64* %sv_0.1.reg2mem\n br i1 %8, label LBL_12, label LBL_1\n LBL_1:\n %9 = add i64 %1, 16\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp slt i32 %11, 0\n store i64 %10, i64* %sv_0.1.reg2mem\n br i1 %12, label LBL_12, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %1)\n %14 = call i64 @FUNC(i64* nonnull @gv_1, i64 %2)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_4\n LBL_3:\n %18 = call i64 @FUNC(i64 %1)\n %19 = call i64 @FUNC(i64* nonnull @gv_1, i64 %2)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_6, label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %1)\n br label LBL_5\n LBL_5:\n %24 = call i64 @FUNC()\n %25 = call i64 @FUNC(i64* nonnull @gv_1)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_5, label LBL_3\n LBL_6:\n %28 = add i64 %1, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %31, label LBL_11, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i64 %1, i64 3)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %32, i64* %sv_0.0.reg2mem\n br i1 %35, label LBL_11, label LBL_8\n LBL_8:\n %36 = or i64 %1, 1\n store i64 %36, i64* %arg1, align 8\n %37 = call i64 @FUNC(i64 4)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n store i64 6, i64* %arg1, align 8\n br label LBL_10\n LBL_10:\n %40 = load i64, i64* @gv_0, align 8\n %41 = call i64 @FUNC(i64 %1, i64 %40)\n %42 = call i64 @FUNC(i64 5, i64 6, i64 %1)\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %43 = call i64 @FUNC(i64* nonnull @gv_1, i64 %2)\n %44 = call i64 @FUNC(i64 %1)\n %45 = call i64 @FUNC(i64 %9)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %46 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %46\n\n uselistorder i64 %1, { 4, 2, 1, 3, 7, 5, 6, 8, 0, 9, 10, 11 }\n uselistorder i64 6, { 1, 0 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i64 (i64)* @task_unlock, { 1, 0 }\n uselistorder i64 (i64*, i64)* @write_trylock_irqsave, { 1, 0 }\n uselistorder i64* @gv_1, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @task_lock, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_11, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "validate_and_copy_set_tun_3785", "fun_name": "validate_and_copy_set_tun", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32*, align 8\n %sv_2 = alloca i32, align 4\n %1 = bitcast i32** %sv_1 to i64*\n %2 = bitcast i32* %sv_2 to i64*\n %3 = call i64 @FUNC(i64* nonnull %1, i64* nonnull %2, i64 0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = zext i8 %arg3 to i64\n %6 = call i64 @FUNC(i64 %4, i64* nonnull %1, i64 0, i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = and i64 %6, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %11 = load i32, i32* %sv_2, align 4\n %12 = icmp ne i32 %11, 0\n %13 = icmp eq i32 %7, 3\n %or.cond = icmp eq i1 %13, %12\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_5\n LBL_3:\n %14 = call i64 @FUNC(i64* nonnull %2)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = and i64 %14, 4294967295\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %19 = ptrtoint i64* %arg2 to i64\n %20 = call i64 @FUNC(i64 %19, i64 1, i8 %arg3)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = and i64 %20, 4294967295\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %25 = load i32, i32* %sv_2, align 4\n %26 = sext i32 %25 to i64\n %27 = add nsw i64 %26, 16\n %28 = call i64 @FUNC(i64 %19, i64 2, i64 0, i64 %27, i64 %5)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %30, label LBL_8, label LBL_12\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %31 = call i64 @FUNC(i64 %28)\n %32 = inttoptr i64 %31 to i32*\n store i32* %32, i32** %sv_1, align 8\n %33 = load i32, i32* %sv_2, align 4\n %34 = load i32*, i32** %sv_1, align 8\n %35 = ptrtoint i32* %34 to i64\n %36 = add i64 %35, 4\n %37 = inttoptr i64 %36 to i32*\n store i32 %33, i32* %37, align 4\n %38 = load i32*, i32** %sv_1, align 8\n %39 = ptrtoint i32* %38 to i64\n %40 = add i64 %39, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_10, label LBL_9\n LBL_9:\n %44 = load i32, i32* %sv_2, align 4\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i64* nonnull %2, i64 %45)\n %47 = load i32*, i32** %sv_1, align 8\n %48 = ptrtoint i32* %47 to i64\n %49 = add i64 %48, 16\n %50 = inttoptr i64 %49 to i64*\n %51 = inttoptr i64 %46 to i64*\n %52 = call i64* @memcpy(i64* %50, i64* %51, i32 %44)\n %53 = load i32*, i32** %sv_1, align 8\n %54 = ptrtoint i32* %53 to i64\n %55 = add i64 %54, 16\n %56 = add i64 %54, 8\n %57 = inttoptr i64 %56 to i64*\n store i64 %55, i64* %57, align 8\n store i64 %46, i64* %rsi.0.reg2mem\n br label LBL_11\n LBL_10:\n %58 = add i64 %39, 8\n %59 = inttoptr i64 %58 to i64*\n store i64 0, i64* %59, align 8\n store i64 2, i64* %rsi.0.reg2mem\n br label LBL_11\n LBL_11:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %60 = and i64 %20, 4294967295\n %61 = call i64 @FUNC(i64 %rsi.0.reload, i64 %60)\n %62 = and i64 %sv_0.0.reload, 4294967295\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i32* %sv_2, { 3, 2, 1, 0, 4 }\n uselistorder i32** %sv_1, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i64 (i64)* @nla_data, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_refuse_options_8556", "fun_name": "set_refuse_options", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.3.reg2mem = alloca i64\n %rax.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i8*\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_1.0.be.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %1 = ptrtoint i32* %sv_2 to i64\n store i64 %0, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_1:\n %sv_1.0.be.in.reload = load i64, i64* %sv_1.0.be.in.reg2mem\n %sv_1.0.be = add i64 %sv_1.0.be.in.reload, 1\n store i64 %sv_1.0.be, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %2 = inttoptr i64 %sv_1.0.reload to i8*\n %3 = load i8, i8* %2, align 1\n store i64 %sv_1.0.reload, i64* %sv_1.0.be.in.reg2mem\n store i64 0, i64* %rax.3.reg2mem\n switch i8 %3, label LBL_3 [\n i8 32, label LBL_1\n i8 0, label LBL_40\n ]\n LBL_3:\n %4 = call i8* @strchr(i8* %2, i32 32)\n %5 = icmp eq i8* %4, null\n br i1 %5, label LBL_5, label LBL_4\n LBL_4:\n store i8 0, i8* %4, align 1\n br label LBL_5\n LBL_5:\n %6 = call i8* @strpbrk(i8* %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %7 = icmp eq i8* %6, null\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %8, false\n store i32 0, i32* %sv_0.0.reg2mem\n store i8* bitcast (i8** @gv_1 to i8*), i8** %storemerge4.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge4.reload = load i8*, i8** %storemerge4.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %10 = load i8, i8* %storemerge4.reload, align 1\n %11 = sext i8 %10 to i32\n store i32 %11, i32* %sv_2, align 4\n %12 = ptrtoint i8* %storemerge4.reload to i64\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_8, label LBL_7\n LBL_7:\n %18 = icmp eq i8 %10, 0\n store i32 %11, i32* %.reg2mem\n br i1 %18, label LBL_36, label LBL_10\n LBL_8:\n %19 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %15)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_12, label LBL_8.LBL_10_crit_edge\n LBL_9:\n %.pre = load i32, i32* %sv_2, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_10\n LBL_10:\n %.reload = load i32, i32* %.reg2mem\n %23 = trunc i32 %.reload to i8\n %24 = icmp eq i8 %23, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %24, label LBL_35, label LBL_11\n LBL_11:\n %25 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %1)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %27, label LBL_35, label LBL_12\n LBL_12:\n %28 = add i64 %12, 16\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 1\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_14, label LBL_13\n LBL_13:\n store i32 0, i32* %29, align 4\n br label LBL_14\n LBL_14:\n %33 = sub i64 %12, ptrtoint (i8** @gv_1 to i64)\n %34 = udiv i64 %33, 8\n %35 = trunc i64 %34 to i32\n %36 = mul i32 %35, -1431655765\n %37 = add i32 %36, 1000\n %38 = add i64 %12, 20\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = load i32, i32* %sv_2, align 4\n %41 = zext i32 %40 to i64\n %sext = mul i64 %41, 72057594037927936\n %42 = ashr exact i64 %sext, 56\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_20, label LBL_15\n LBL_15:\n %45 = icmp ugt i32 %43, 122\n %46 = icmp slt i32 %43, 68\n %or.cond5 = or i1 %45, %46\n store i64 %42, i64* %rax.0.reg2mem\n br i1 %or.cond5, label LBL_34, label LBL_16\n LBL_16:\n %47 = add nsw i64 %42, 60\n %48 = urem i64 %47, 64\n %49 = shl i64 1, %48\n %50 = urem i64 %49, 379370166288386\n %51 = icmp eq i64 %50, 0\n %52 = icmp eq i1 %51, false\n %53 = icmp eq i1 %52, false\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_18, label LBL_17\n LBL_17:\n %55 = urem i64 %49, 18014398509481985\n %56 = icmp ne i64 %48, 54\n %57 = icmp eq i1 %56, false\n %58 = zext i1 %57 to i64\n %59 = or i64 %55, %58\n %60 = icmp eq i1 %57, false\n %61 = icmp eq i1 %60, false\n store i64 %59, i64* %rax.0.reg2mem\n br i1 %61, label LBL_19, label LBL_34\n LBL_18:\n %62 = zext i32 %37 to i64\n store i32 %37, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_19:\n %63 = zext i32 %37 to i64\n store i32 %37, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_20:\n %64 = load i64, i64* %14, align 8\n %65 = call i64 @FUNC(i64 ptrtoint ([7 x i8]* @gv_4 to i64), i64 %64)\n %66 = trunc i64 %65 to i32\n %67 = icmp eq i32 %66, 0\n br i1 %67, label LBL_22, label LBL_21\n LBL_21:\n %68 = load i32, i32* %39, align 4\n %69 = zext i32 %68 to i64\n store i32 %68, i32* bitcast (i64* @gv_5 to i32*), align 8\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_22:\n %70 = load i64, i64* %14, align 8\n %71 = call i64 @FUNC(i64 ptrtoint ([14 x i8]* @gv_6 to i64), i64 %70)\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 0\n br i1 %73, label LBL_24, label LBL_23\n LBL_23:\n %74 = load i32, i32* %39, align 4\n %75 = zext i32 %74 to i64\n store i32 %74, i32* bitcast (i64* @gv_7 to i32*), align 8\n store i64 %75, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_24:\n %76 = load i64, i64* %14, align 8\n %77 = call i64 @FUNC(i64 ptrtoint ([14 x i8]* @gv_8 to i64), i64 %76)\n %78 = trunc i64 %77 to i32\n %79 = icmp eq i32 %78, 0\n br i1 %79, label LBL_26, label LBL_25\n LBL_25:\n %80 = load i32, i32* %39, align 4\n %81 = zext i32 %80 to i64\n store i32 %80, i32* bitcast (i64* @gv_9 to i32*), align 8\n store i64 %81, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_26:\n %82 = load i64, i64* %14, align 8\n %83 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_10 to i64), i64 %82)\n %84 = trunc i64 %83 to i32\n %85 = icmp eq i32 %84, 0\n br i1 %85, label LBL_28, label LBL_27\n LBL_27:\n %86 = load i32, i32* %39, align 4\n %87 = zext i32 %86 to i64\n store i32 %86, i32* bitcast (i64* @gv_11 to i32*), align 8\n store i64 %87, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_28:\n %88 = load i64, i64* %14, align 8\n %89 = call i64 @FUNC(i64 ptrtoint ([9 x i8]* @gv_12 to i64), i64 %88)\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n br i1 %91, label LBL_30, label LBL_29\n LBL_29:\n %92 = load i32, i32* %39, align 4\n %93 = zext i32 %92 to i64\n store i32 %92, i32* bitcast (i64* @gv_13 to i32*), align 8\n store i64 %93, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_30:\n %94 = load i64, i64* %14, align 8\n %95 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_14 to i64), i64 %94)\n %96 = trunc i64 %95 to i32\n %97 = icmp eq i32 %96, 0\n br i1 %97, label LBL_32, label LBL_31\n LBL_31:\n %98 = load i32, i32* %39, align 4\n %99 = zext i32 %98 to i64\n store i32 %98, i32* bitcast (i64* @gv_15 to i32*), align 8\n store i64 %99, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_32:\n %100 = load i64, i64* %14, align 8\n %101 = call i64 @FUNC(i64 ptrtoint ([9 x i8]* @gv_16 to i64), i64 %100)\n %102 = trunc i64 %101 to i32\n %103 = icmp eq i32 %102, 0\n store i64 %101, i64* %rax.0.reg2mem\n br i1 %103, label LBL_34, label LBL_33\n LBL_33:\n %104 = load i32, i32* %39, align 4\n %105 = zext i32 %104 to i64\n store i32 %104, i32* inttoptr (i64 4211060 to i32*), align 4\n store i64 %105, i64* %rax.0.reg2mem\n br label LBL_34\n LBL_34:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n store i32 1, i32* %sv_0.1.reg2mem\n store i64 %rax.0.reload, i64* %rax.2.reg2mem\n br i1 %9, label LBL_38, label LBL_35\n LBL_35:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %106 = add i64 %12, 24\n %107 = inttoptr i64 %106 to i8*\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n store i8* %107, i8** %storemerge4.reg2mem\n br label LBL_6\n LBL_36:\n %108 = icmp eq i32 %sv_0.0.reload, 0\n %109 = icmp eq i1 %108, false\n store i64 0, i64* %rax.2.reg2mem\n br i1 %109, label LBL_38, label LBL_37\n LBL_37:\n %110 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_17, i64 0, i64 0), i64 %sv_1.0.reload)\n store i64 %110, i64* %rax.2.reg2mem\n br label LBL_38\n LBL_38:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n store i64 %rax.2.reload, i64* %rax.3.reg2mem\n br i1 %5, label LBL_40, label LBL_39\n LBL_39:\n store i8 32, i8* %4, align 1\n %111 = ptrtoint i8* %4 to i64\n store i64 %111, i64* %sv_1.0.be.in.reg2mem\n br label LBL_1\n LBL_40:\n %rax.3.reload = load i64, i64* %rax.3.reg2mem\n ret i64 %rax.3.reload\n\n uselistorder i64 %48, { 1, 0 }\n uselistorder i32 %43, { 1, 0, 2 }\n uselistorder i64 %42, { 1, 0, 2 }\n uselistorder i32* %39, { 6, 5, 4, 3, 2, 1, 0, 7 }\n uselistorder i32 %37, { 1, 0, 3, 2, 4 }\n uselistorder i64 %12, { 3, 1, 0, 2, 4 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64 %sv_1.0.reload, { 2, 1, 3, 4, 0 }\n uselistorder i32* %sv_2, { 3, 0, 1, 2 }\n uselistorder i64* %sv_1.0.be.in.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i8** %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 11, 12, 10, 9, 8, 7, 6, 5, 2, 3, 1, 4 }\n uselistorder i64* %rax.2.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.3.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @wildmatch, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8** @gv_1, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0 }\n uselistorder i1 false, { 3, 4, 1, 5, 6, 2, 7, 8, 9, 10, 0, 11, 12, 13 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i8 32, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_40, { 1, 0 }\n uselistorder label LBL_38, { 1, 2, 0 }\n uselistorder label LBL_34, { 7, 6, 5, 4, 3, 2, 1, 0, 9, 10, 8, 11 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mark_guard_maybe_reachable_8226", "fun_name": "mark_guard_maybe_reachable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %7, align 4\n %8 = add i64 %6, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 1, i32* %13, align 4\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mct_decode_799", "fun_name": "mct_decode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.117.reg2mem = alloca i32*\n %sv_1.118.reg2mem = alloca i32*\n %sv_2.119.reg2mem = alloca i32*\n %storemerge820.reg2mem = alloca i32\n %sv_0.026.reg2mem = alloca i32*\n %sv_1.027.reg2mem = alloca i32*\n %sv_2.028.reg2mem = alloca i32*\n %storemerge29.reg2mem = alloca i32\n %sv_3.021.reg2mem = alloca i32*\n %sv_4.022.reg2mem = alloca i32*\n %sv_5.023.reg2mem = alloca i32*\n %storemerge724.reg2mem = alloca i32\n %sv_6.031.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv45.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge1134.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %sv_7 = alloca i64, align 8\n %4 = ptrtoint i64* %sv_7 to i64\n %5 = bitcast i64* %rsi to i32*\n %6 = trunc i64 %1 to i32\n store i32 1, i32* %storemerge1134.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge1134.reload = load i32, i32* %storemerge1134.reg2mem\n %7 = sext i32 %storemerge1134.reload to i64\n %8 = mul i64 %7, 4\n %9 = add i64 %8, %2\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, %6\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0))\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_3:\n %14 = add nuw i32 %storemerge1134.reload, 1\n %15 = icmp ult i32 %14, 3\n store i32 %14, i32* %storemerge1134.reg2mem\n br i1 %15, label LBL_1, label LBL_4\n LBL_4:\n %16 = add i64 %4, -96\n %17 = add i64 %4, -64\n store i32 %6, i32* %.reg2mem\n store i64 0, i64* %indvars.iv45.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv45.reload = load i64, i64* %indvars.iv45.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %18 = icmp eq i32 %.reload, 0\n %19 = icmp eq i1 %18, false\n %20 = mul i64 %indvars.iv45.reload, 32\n %21 = add i64 %20, %2\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %22 = add i64 %21, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = mul i64 %indvars.iv45.reload, 8\n %26 = add i64 %16, %25\n %27 = inttoptr i64 %26 to i64*\n store i64 %24, i64* %27, align 8\n br label LBL_8\n LBL_7:\n %28 = add i64 %21, 24\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = mul i64 %indvars.iv45.reload, 8\n %32 = add i64 %17, %31\n %33 = inttoptr i64 %32 to i64*\n store i64 %30, i64* %33, align 8\n br label LBL_8\n LBL_8:\n %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45.reload, 1\n %exitcond47 = icmp eq i64 %indvars.iv.next46, 3\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 1, i32* %sv_6.031.reg2mem\n br i1 %exitcond47, label LBL_10, label LBL_8.LBL_5_crit_edge\n LBL_9:\n %.pre = load i32, i32* %5, align 8\n store i32 %.pre, i32* %.reg2mem\n store i64 %indvars.iv.next46, i64* %indvars.iv45.reg2mem\n br label LBL_5\n LBL_10:\n %sv_6.031.reload = load i32, i32* %sv_6.031.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %34 = mul i64 %indvars.iv.reload, 8\n %35 = add i64 %34, %2\n %36 = add i64 %35, 36\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %35, 32\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = sub i32 %38, %41\n %43 = mul i32 %42, %sv_6.031.reload\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond44 = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %43, i32* %sv_6.031.reg2mem\n br i1 %exitcond44, label LBL_11, label LBL_10\n LBL_11:\n %44 = load i32, i32* %5, align 8\n %45 = icmp eq i32 %44, 2\n br i1 %45, label LBL_12, label LBL_13\n LBL_12:\n %46 = icmp sgt i32 %43, 0\n store i32 0, i32* %storemerge820.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %46, label LBL_19, label LBL_23\n LBL_13:\n %47 = zext i32 %44 to i64\n %48 = icmp sgt i32 %44, 2\n store i64 %47, i64* %rax.0.reg2mem\n br i1 %48, label LBL_23, label LBL_14\n LBL_14:\n store i64 %47, i64* %rax.0.reg2mem\n switch i32 %44, label LBL_23 [\n i32 0, label LBL_16\n i32 1, label LBL_15\n ]\n LBL_15:\n %49 = icmp sgt i32 %43, 0\n store i32 0, i32* %storemerge29.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %49, label LBL_18, label LBL_23\n LBL_16:\n %50 = icmp sgt i32 %43, 0\n store i32 0, i32* %storemerge724.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %50, label LBL_17, label LBL_23\n LBL_17:\n %sv_3.021.reload = load i32*, i32** %sv_3.021.reg2mem\n %sv_4.022.reload = load i32*, i32** %sv_4.022.reg2mem\n %sv_5.023.reload = load i32*, i32** %sv_5.023.reg2mem\n %storemerge724.reload = load i32, i32* %storemerge724.reg2mem\n %51 = load i32, i32* %sv_3.021.reload, align 4\n %52 = call i128 @FUNC(i32 %51)\n %53 = load i32, i32* @gv_1, align 4\n %54 = call i128 @FUNC(i32 %53)\n %55 = load i32, i32* %sv_4.022.reload, align 4\n %56 = call i128 @FUNC(i32 %55)\n %57 = call i128 @FUNC(i128 %56, i128 %54)\n %58 = call i128 @FUNC(i128 %57, i128 %52)\n %59 = call i64 @__asm_movss.1(i128 %58)\n %60 = trunc i64 %59 to i32\n %61 = load i32, i32* %sv_3.021.reload, align 4\n %62 = call i128 @FUNC(i32 %61)\n %63 = load i32, i32* @gv_2, align 4\n %64 = call i128 @FUNC(i32 %63)\n %65 = load i32, i32* %sv_5.023.reload, align 4\n %66 = call i128 @FUNC(i32 %65)\n %67 = call i128 @FUNC(i128 %66, i128 %64)\n %68 = call i128 @FUNC(i128 %62, i128 %67)\n %69 = load i32, i32* @gv_3, align 4\n %70 = call i128 @FUNC(i32 %69)\n %71 = load i32, i32* %sv_4.022.reload, align 4\n %72 = call i128 @FUNC(i32 %71)\n %73 = call i128 @FUNC(i128 %72, i128 %70)\n %74 = call i128 @FUNC(i128 %68, i128 %73)\n %75 = call i64 @__asm_movss.1(i128 %74)\n %76 = trunc i64 %75 to i32\n %77 = load i32, i32* %sv_3.021.reload, align 4\n %78 = call i128 @FUNC(i32 %77)\n %79 = load i32, i32* @gv_4, align 4\n %80 = call i128 @FUNC(i32 %79)\n %81 = load i32, i32* %sv_5.023.reload, align 4\n %82 = call i128 @FUNC(i32 %81)\n %83 = call i128 @FUNC(i128 %82, i128 %80)\n %84 = call i128 @FUNC(i128 %83, i128 %78)\n %85 = call i64 @__asm_movss.1(i128 %84)\n %86 = trunc i64 %85 to i32\n %87 = ptrtoint i32* %sv_3.021.reload to i64\n %88 = add i64 %87, 4\n %89 = inttoptr i64 %88 to i32*\n %90 = call i128 @FUNC(i32 %60)\n %91 = call i64 @__asm_movss.1(i128 %90)\n %92 = trunc i64 %91 to i32\n store i32 %92, i32* %sv_3.021.reload, align 4\n %93 = ptrtoint i32* %sv_5.023.reload to i64\n %94 = add i64 %93, 4\n %95 = inttoptr i64 %94 to i32*\n %96 = call i128 @FUNC(i32 %76)\n %97 = call i64 @__asm_movss.1(i128 %96)\n %98 = trunc i64 %97 to i32\n store i32 %98, i32* %sv_5.023.reload, align 4\n %99 = ptrtoint i32* %sv_4.022.reload to i64\n %100 = add i64 %99, 4\n %101 = inttoptr i64 %100 to i32*\n %102 = call i128 @FUNC(i32 %86)\n %103 = call i64 @__asm_movss.1(i128 %102)\n %104 = trunc i64 %103 to i32\n store i32 %104, i32* %sv_4.022.reload, align 4\n %105 = add nuw nsw i32 %storemerge724.reload, 1\n %exitcond42 = icmp eq i32 %105, %43\n store i32 %105, i32* %storemerge724.reg2mem\n store i32* %95, i32** %sv_5.023.reg2mem\n store i32* %101, i32** %sv_4.022.reg2mem\n store i32* %89, i32** %sv_3.021.reg2mem\n br i1 %exitcond42, label LBL_21, label LBL_17\n LBL_18:\n %sv_0.026.reload = load i32*, i32** %sv_0.026.reg2mem\n %sv_1.027.reload = load i32*, i32** %sv_1.027.reg2mem\n %sv_2.028.reload = load i32*, i32** %sv_2.028.reg2mem\n %storemerge29.reload = load i32, i32* %storemerge29.reg2mem\n %106 = load i32, i32* %sv_0.026.reload, align 4\n %107 = load i32, i32* @gv_5, align 4\n %108 = load i32, i32* %sv_1.027.reload, align 4\n %109 = mul i32 %108, %107\n %110 = add i32 %109, 32768\n %111 = ashr i32 %110, 16\n %112 = add i32 %111, %106\n %113 = load i32, i32* @gv_6, align 4\n %114 = load i32, i32* %sv_2.028.reload, align 4\n %115 = mul i32 %114, %113\n %116 = add i32 %115, 32768\n %117 = ashr i32 %116, 16\n %118 = sub i32 %106, %117\n %119 = load i32, i32* @gv_7, align 4\n %120 = mul i32 %119, %108\n %121 = add i32 %120, 32768\n %122 = ashr i32 %121, 16\n %123 = sub i32 %118, %122\n %124 = load i32, i32* inttoptr (i64 4210828 to i32*), align 4\n %125 = mul i32 %124, %114\n %126 = add i32 %125, 32768\n %127 = ashr i32 %126, 16\n %128 = add i32 %127, %106\n %129 = ptrtoint i32* %sv_0.026.reload to i64\n %130 = add i64 %129, 4\n %131 = inttoptr i64 %130 to i32*\n store i32 %112, i32* %sv_0.026.reload, align 4\n %132 = ptrtoint i32* %sv_2.028.reload to i64\n %133 = add i64 %132, 4\n %134 = inttoptr i64 %133 to i32*\n store i32 %123, i32* %sv_2.028.reload, align 4\n %135 = ptrtoint i32* %sv_1.027.reload to i64\n %136 = add i64 %135, 4\n %137 = inttoptr i64 %136 to i32*\n store i32 %128, i32* %sv_1.027.reload, align 4\n %138 = add nuw nsw i32 %storemerge29.reload, 1\n %exitcond43 = icmp eq i32 %138, %43\n store i32 %138, i32* %storemerge29.reg2mem\n store i32* %134, i32** %sv_2.028.reg2mem\n store i32* %137, i32** %sv_1.027.reg2mem\n store i32* %131, i32** %sv_0.026.reg2mem\n br i1 %exitcond43, label LBL_22, label LBL_18\n LBL_19:\n %sv_0.117.reload = load i32*, i32** %sv_0.117.reg2mem\n %sv_1.118.reload = load i32*, i32** %sv_1.118.reg2mem\n %sv_2.119.reload = load i32*, i32** %sv_2.119.reg2mem\n %storemerge820.reload = load i32, i32* %storemerge820.reg2mem\n %139 = load i32, i32* %sv_0.117.reload, align 4\n %140 = load i32, i32* %sv_1.118.reload, align 4\n %141 = load i32, i32* %sv_2.119.reload, align 4\n %142 = add i32 %141, %140\n %143 = ashr i32 %142, 2\n %144 = sub i32 %139, %143\n %145 = add i32 %144, %140\n %146 = add i32 %144, %141\n %147 = ptrtoint i32* %sv_0.117.reload to i64\n %148 = add i64 %147, 4\n %149 = inttoptr i64 %148 to i32*\n store i32 %145, i32* %sv_0.117.reload, align 4\n %150 = ptrtoint i32* %sv_2.119.reload to i64\n %151 = add i64 %150, 4\n %152 = inttoptr i64 %151 to i32*\n store i32 %144, i32* %sv_2.119.reload, align 4\n %153 = ptrtoint i32* %sv_1.118.reload to i64\n %154 = add i64 %153, 4\n %155 = inttoptr i64 %154 to i32*\n store i32 %146, i32* %sv_1.118.reload, align 4\n %156 = add nuw nsw i32 %storemerge820.reload, 1\n %exitcond = icmp eq i32 %156, %43\n store i32 %156, i32* %storemerge820.reg2mem\n store i32* %152, i32** %sv_2.119.reg2mem\n store i32* %155, i32** %sv_1.118.reg2mem\n store i32* %149, i32** %sv_0.117.reg2mem\n br i1 %exitcond, label LBL_20, label LBL_19\n LBL_20:\n %157 = zext i32 %43 to i64\n store i64 %157, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_21:\n %158 = zext i32 %43 to i64\n store i64 %158, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_22:\n %159 = zext i32 %43 to i64\n store i64 %159, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %144, { 2, 0, 1 }\n uselistorder i32* %sv_2.119.reload, { 1, 0, 2 }\n uselistorder i32* %sv_1.118.reload, { 1, 0, 2 }\n uselistorder i32* %sv_0.117.reload, { 1, 2, 0 }\n uselistorder i32 %106, { 1, 0, 2 }\n uselistorder i32* %sv_2.028.reload, { 1, 0, 2 }\n uselistorder i32* %sv_1.027.reload, { 1, 0, 2 }\n uselistorder i32* %sv_0.026.reload, { 1, 2, 0 }\n uselistorder i32* %sv_5.023.reload, { 1, 0, 2, 3 }\n uselistorder i32* %sv_4.022.reload, { 1, 0, 2, 3 }\n uselistorder i32* %sv_3.021.reload, { 1, 0, 2, 3, 4 }\n uselistorder i32 %44, { 0, 1, 3, 2 }\n uselistorder i32 %43, { 8, 6, 4, 5, 9, 7, 2, 3, 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %indvars.iv45.reload, { 0, 3, 2, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i32* %storemerge1134.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv45.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_6.031.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge724.reg2mem, { 2, 0, 1 }\n uselistorder i32** %sv_5.023.reg2mem, { 1, 0 }\n uselistorder i32** %sv_4.022.reg2mem, { 1, 0 }\n uselistorder i32** %sv_3.021.reg2mem, { 1, 0 }\n uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }\n uselistorder i32** %sv_2.028.reg2mem, { 1, 0 }\n uselistorder i32** %sv_1.027.reg2mem, { 1, 0 }\n uselistorder i32** %sv_0.026.reg2mem, { 1, 0 }\n uselistorder i32* %storemerge820.reg2mem, { 2, 0, 1 }\n uselistorder i32** %sv_2.119.reg2mem, { 1, 0 }\n uselistorder i32** %sv_1.118.reg2mem, { 1, 0 }\n uselistorder i32** %sv_0.117.reg2mem, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 6, 3, 1, 7, 8, 5, 9 }\n uselistorder i32 2, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 0, { 2, 4, 1, 5, 6, 0, 3, 14, 15, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder i64 4, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }\n uselistorder label LBL_23, { 1, 3, 5, 2, 0, 6, 7, 4, 8 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wc3_read_close_1614", "fun_name": "wc3_read_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 1\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n br label LBL_2\n LBL_2:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "packet_length_decode_7345", "fun_name": "packet_length_decode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = trunc i64 %3 to i32\n %9 = trunc i64 %4 to i8\n %10 = urem i8 %9, -128\n %11 = zext i8 %10 to i64\n %12 = zext i8 %10 to i32\n %13 = add i64 %4, 1\n %14 = icmp slt i8 %9, 0\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %15 = trunc i32 %sv_0.0.reload to i8\n %16 = icmp ult i8 %15, 4\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_6\n LBL_2:\n %17 = load i64, i64* %7, align 8\n %18 = icmp ugt i64 %17, %4\n store i64 4294967285, i64* %rax.0.reg2mem\n br i1 %18, label LBL_3, label LBL_6\n LBL_3:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %19 = urem i32 %sv_1.0.reload, 32\n %20 = icmp eq i32 %19, 0\n %21 = shl i32 %12, %19\n %22 = zext i32 %21 to i64\n %rdx.0 = select i1 %20, i64 %11, i64 %22\n %23 = add i64 %rdx.0, %3\n %24 = trunc i64 %23 to i32\n store i32 %24, i32* %5, align 4\n %25 = mul i32 %sv_1.0.reload, 16777216\n %sext = add i32 %25, 117440512\n %26 = ashr exact i32 %sext, 24\n %27 = mul i32 %sv_0.0.reload, 16777216\n %sext3 = add i32 %27, 16777216\n %28 = ashr exact i32 %sext3, 24\n store i64 %13, i64* %arg1, align 8\n store i32 %26, i32* %sv_1.0.reg2mem\n store i32 %28, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_1, label LBL_4\n LBL_4:\n %29 = icmp ult i32 %8, 268435456\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %29, label LBL_5, label LBL_6\n LBL_5:\n %30 = and i64 %3, 4294967295\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i64 %30, i64 %4, i64 %13, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %19, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i8 %9, { 1, 0 }\n uselistorder i64 %4, { 3, 0, 2, 1, 4 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 16777216, { 2, 0, 1 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder label LBL_6, { 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "call_console_drivers_11769", "fun_name": "call_console_drivers", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.1.be.reg2mem = alloca i64\n %sv_1.1.be.reg2mem = alloca i64\n %.pre-phi.pre-phi.reg2mem = alloca i32\n %.reg2mem21 = alloca i32\n %sv_0.0.ph.reg2mem = alloca i64\n %sv_1.0.ph.reg2mem = alloca i64\n %sv_1.113.reg2mem = alloca i64\n %sv_0.114.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = sub i64 %arg1, %arg2\n %1 = trunc i64 %0 to i32\n %2 = icmp slt i32 %1, 1\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %4 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %3)\n %5 = sext i32 %4 to i64\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_2:\n %sext5 = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext5, 32\n %sext = mul i64 %arg1, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = trunc i64 %7 to i32\n %9 = trunc i64 %6 to i32\n %10 = icmp eq i32 %9, %8\n %11 = icmp eq i1 %10, false\n store i32 %8, i32* %.reg2mem\n store i64 %7, i64* %sv_0.114.reg2mem\n store i64 %7, i64* %sv_1.113.reg2mem\n store i64 %7, i64* %sv_0.1.lcssa.reg2mem\n br i1 %11, label LBL_3, label LBL_12\n LBL_3:\n %sv_1.113.reload = load i64, i64* %sv_1.113.reg2mem\n %sv_0.114.reload = load i64, i64* %sv_0.114.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %12 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = sub i32 %9, %.reload\n %16 = icmp ult i32 %15, 3\n %or.cond = or i1 %16, %14\n store i64 %sv_1.113.reload, i64* %sv_1.0.ph.reg2mem\n store i64 %sv_0.114.reload, i64* %sv_0.0.ph.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %17 = and i64 %sv_1.113.reload, 4294967295\n %18 = add i64 %17, ptrtoint (i8** @gv_2 to i64)\n %19 = call i64 @FUNC(i64 %18, i64* nonnull @gv_3, i64 0)\n %20 = add i64 %19, %sv_1.113.reload\n %sext10 = mul i64 %20, 4294967296\n %21 = ashr exact i64 %sext10, 32\n store i64 %21, i64* %sv_1.0.ph.reg2mem\n store i64 %21, i64* %sv_0.0.ph.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem\n br label LBL_11\n LBL_6:\n %22 = and i64 %sv_1.0.reload, 4294967295\n %23 = add i64 %22, ptrtoint (i8** @gv_2 to i64)\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = mul i64 %sv_1.0.reload, 4294967296\n %sext8 = add i64 %26, 4294967296\n %27 = ashr exact i64 %sext8, 32\n %28 = icmp eq i8 %25, 10\n %29 = icmp eq i1 %28, false\n store i64 %27, i64* %sv_1.0.reg2mem\n br i1 %29, label LBL_11, label LBL_7\n LBL_7:\n %30 = load i32, i32* bitcast (i64* @gv_3 to i32*), align 8\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i32 %30, i32* %.reg2mem21\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n store i32 0, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i32 0, i32* %.reg2mem21\n br label LBL_9\n LBL_9:\n %.reload22 = load i32, i32* %.reg2mem21\n %33 = and i64 %27, 4294967295\n %34 = and i64 %sv_0.0.ph.reload, 4294967295\n %35 = call i64 @FUNC(i64 %34, i64 %33, i32 %.reload22)\n store i32 -1, i32* bitcast (i64* @gv_3 to i32*), align 8\n %.pre = trunc i64 %27 to i32\n store i32 %.pre, i32* %.pre-phi.pre-phi.reg2mem\n store i64 %27, i64* %sv_1.1.be.reg2mem\n store i64 %27, i64* %sv_0.1.be.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.be.reload = load i64, i64* %sv_0.1.be.reg2mem\n %sv_1.1.be.reload = load i64, i64* %sv_1.1.be.reg2mem\n %.pre-phi.pre-phi.reload = load i32, i32* %.pre-phi.pre-phi.reg2mem\n %36 = icmp eq i32 %.pre-phi.pre-phi.reload, %9\n %37 = icmp eq i1 %36, false\n store i32 %.pre-phi.pre-phi.reload, i32* %.reg2mem\n store i64 %sv_0.1.be.reload, i64* %sv_0.114.reg2mem\n store i64 %sv_1.1.be.reload, i64* %sv_1.113.reg2mem\n store i64 %sv_0.1.be.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %37, label LBL_3, label LBL_12\n LBL_11:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %38 = trunc i64 %sv_1.0.reload to i32\n %39 = icmp eq i32 %38, %9\n %40 = icmp eq i1 %39, false\n store i32 %38, i32* %.pre-phi.pre-phi.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.be.reg2mem\n store i64 %sv_0.0.ph.reload, i64* %sv_0.1.be.reg2mem\n br i1 %40, label LBL_6, label LBL_10\n LBL_12:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %41 = load i32, i32* bitcast (i64* @gv_3 to i32*), align 8\n %42 = and i64 %6, 4294967295\n %43 = and i64 %sv_0.1.lcssa.reload, 4294967295\n %44 = call i64 @FUNC(i64 %43, i64 %42, i32 %41)\n store i64 %44, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.0.reload, { 3, 1, 0, 2 }\n uselistorder i32 %.pre-phi.pre-phi.reload, { 1, 0 }\n uselistorder i64 %27, { 1, 2, 3, 4, 0 }\n uselistorder i64 %sv_1.113.reload, { 2, 1, 0 }\n uselistorder i32 %9, { 2, 0, 3, 1 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.114.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.113.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem21, { 0, 2, 1 }\n uselistorder i32* %.pre-phi.pre-phi.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.1.be.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.be.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* @gv_3, { 1, 0 }\n uselistorder i64 ptrtoint (i8** @gv_2 to i64), { 2, 1, 0 }\n uselistorder i64 4294967295, { 5, 6, 1, 2, 3, 4, 7, 0 }\n uselistorder i1 false, { 3, 5, 1, 2, 4, 0 }\n uselistorder i64 32, { 2, 1, 3, 4, 5, 0 }\n uselistorder i64 4294967296, { 5, 0, 1, 2, 3, 6, 4 }\n uselistorder i32 1, { 16, 15, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 14, 13, 12 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "addrrange_intersects_1238", "fun_name": "addrrange_intersects", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp uge i64 %arg1, %arg3\n %1 = sub i64 %arg1, %arg3\n %2 = icmp ult i64 %1, %arg4\n %or.cond = icmp eq i1 %0, %2\n store i64 1, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_1\n LBL_1:\n %3 = icmp ult i64 %arg3, %arg1\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = sub i64 %arg3, %arg1\n %5 = icmp ult i64 %4, %arg2\n %6 = icmp eq i1 %5, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %6, label LBL_3, label LBL_4\n LBL_3:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 %arg3, { 2, 1, 0, 3 }\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "samba_private_attr_name_5565", "fun_name": "samba_private_attr_name", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n store i64 ptrtoint ([12 x i8]* @gv_0 to i64), i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_1\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %0 = call i64 @FUNC(i64 %.reload, i64 %arg1)\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_4\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %3 = add i32 %storemerge1.reload, 1\n %4 = sext i32 %3 to i64\n %5 = mul i64 %4, 8\n %6 = add i64 %5, ptrtoint ([5 x i8*]* @gv_1 to i64)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %.reg2mem\n store i32 %3, i32* %storemerge1.reg2mem\n br i1 %10, label LBL_1, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 9)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %. = zext i1 %13 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 11, 0, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "preallocate_pmds_17562", "fun_name": "preallocate_pmds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i8\n %sv_1.22.reg2mem = alloca i8\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i8 0, i8* %sv_1.22.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.22.reload = load i8, i8* %sv_1.22.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = call i64 @FUNC(i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n %spec.select = select i1 %3, i8 %sv_1.22.reload, i8 1\n store i8 %spec.select, i8* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_4, label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 %1)\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i8 %spec.select, i8* %sv_1.1.reg2mem\n store i64 %1, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = mul i64 %indvars.iv.reload, 8\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n store i8 1, i8* %sv_1.1.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.1.reload = load i8, i8* %sv_1.1.reg2mem\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = add i64 %14, %0\n %16 = inttoptr i64 %15 to i64*\n store i64 %sv_0.0.reload, i64* %16, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i8 %sv_1.1.reload, i8* %sv_1.22.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_1\n LBL_5:\n %17 = icmp eq i8 %sv_1.1.reload, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %17, label LBL_7, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_1.22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64)* @free_page, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tiff_end_18079", "fun_name": "tiff_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %0, 16\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n ret i64 0\n\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "smc_wr_free_link_13158", "fun_name": "smc_wr_free_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_7, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = call i64* @memset(i64* %10, i32 0, i32 1)\n br label LBL_3\n LBL_3:\n %12 = add i64 %0, 40\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = add i64 %0, 48\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i1 %15 to i64\n %20 = zext i32 %18 to i64\n %21 = call i64 @FUNC(i64 %20, i64 %19)\n %22 = add i64 %0, 44\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = add i64 %0, 52\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i1 %25 to i64\n %30 = zext i32 %28 to i64\n %31 = call i64 @FUNC(i64 %30, i64 %29)\n %32 = add i64 %0, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n br i1 %35, label LBL_5, label LBL_4\n LBL_4:\n %36 = add i64 %0, 32\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = mul i32 %38, 1024\n %40 = sext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %0, i64 %34, i64 %40, i64 0)\n store i64 0, i64* %33, align 8\n br label LBL_5\n LBL_5:\n %42 = add i64 %0, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = icmp eq i64 %44, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %45, label LBL_7, label LBL_6\n LBL_6:\n %46 = add i64 %0, 36\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = mul i32 %48, 1024\n %50 = sext i32 %49 to i64\n %51 = call i64 @FUNC(i64 %0, i64 %44, i64 %50, i64 1)\n store i64 0, i64* %43, align 8\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 4, 5, 6, 3, 8, 7, 10, 9, 12, 11, 2, 15, 14, 13, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @ib_dma_unmap_single, { 1, 0 }\n uselistorder i64 (i64, i64)* @wait_event, { 1, 0 }\n uselistorder i64 (i64)* @atomic_read, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs4_open_recover_10856", "fun_name": "nfs4_open_recover", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 0, i64 %0)\n %3 = call i64 @FUNC()\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 1, i64 %0)\n %9 = call i64 @FUNC(i64 %1, i64 3, i64* nonnull %sv_0)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = and i64 %9, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_3:\n %13 = load i64, i64* %sv_0, align 8\n %14 = icmp eq i64 %13, %0\n store i64 4294967180, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_17\n LBL_4:\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_8, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 2, i64 %0)\n %20 = call i64 @FUNC(i64 %1, i64 2, i64* nonnull %sv_0)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = and i64 %20, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_7:\n %24 = load i64, i64* %sv_0, align 8\n %25 = icmp eq i64 %24, %0\n store i64 4294967180, i64* %rax.0.reg2mem\n br i1 %25, label LBL_8, label LBL_17\n LBL_8:\n %26 = add i64 %0, 16\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_12, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 3, i64 %0)\n %31 = call i64 @FUNC(i64 %1, i64 1, i64* nonnull %sv_0)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_11, label LBL_10\n LBL_10:\n %34 = and i64 %31, 4294967295\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_11:\n %35 = load i64, i64* %sv_0, align 8\n %36 = icmp eq i64 %35, %0\n store i64 4294967180, i64* %rax.0.reg2mem\n br i1 %36, label LBL_12, label LBL_17\n LBL_12:\n %37 = call i64 @FUNC(i64 0, i64 %0)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %40, label LBL_17, label LBL_13\n LBL_13:\n %41 = add i64 %0, 32\n %42 = add i64 %0, 20\n %43 = call i64 @FUNC(i64 %42, i64 %41)\n %44 = trunc i64 %43 to i8\n %45 = icmp eq i8 %44, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %45, label LBL_17, label LBL_14\n LBL_14:\n %46 = add i64 %0, 44\n %47 = call i64 @FUNC(i64 %46)\n %48 = call i64 @FUNC(i64 0, i64 %0)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n br i1 %51, label LBL_16, label LBL_15\n LBL_15:\n %52 = call i64 @FUNC(i64 %42, i64 %41)\n br label LBL_16\n LBL_16:\n %53 = call i64 @FUNC(i64 %46)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 3, 0, 4, 1, 5, 2 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64 %0, { 5, 4, 7, 6, 8, 0, 10, 9, 1, 12, 11, 2, 3, 13, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 9, 5, 8, 6, 7 }\n uselistorder i64 (i64, i64)* @test_bit, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @nfs4_open_recover_helper, { 2, 1, 0 }\n uselistorder i64 1, { 2, 3, 0, 1 }\n uselistorder i64 (i64, i64)* @clear_bit, { 3, 2, 1, 0 }\n uselistorder label LBL_17, { 2, 1, 0, 3, 6, 4, 7, 5, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_rdma_get_fd_3260", "fun_name": "qemu_rdma_get_fd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %1, 4294967295\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "increment_qlen_6008", "fun_name": "increment_qlen", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg2 to i64\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 0, i64 %4)\n br label LBL_2\n LBL_2:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = zext i32 %10 to i64\n %13 = ptrtoint i32* %arg2 to i64\n %14 = call i64 @FUNC(i64 %12, i64 1, i64 %13)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %10, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @increment_one_qlen, { 1, 0 }\n uselistorder i32* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "become_daemon_4694", "fun_name": "become_daemon", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i32 @fork()\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %3 = icmp slt i32 %0, 1\n br i1 %3, label LBL_4, label LBL_3\n LBL_3:\n call void @exit(i32 0)\n unreachable\n LBL_4:\n %4 = icmp eq i64 %arg1, 0\n br i1 %4, label LBL_7, label LBL_5\n LBL_5:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_7, label LBL_6\n LBL_6:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %10 = call i32 @umask(i32 63)\n %11 = call i32 @setsid()\n %12 = icmp slt i32 %11, 0\n br i1 %12, label LBL_10, label LBL_8\n LBL_8:\n %13 = call i32 @chdir(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %14 = icmp slt i32 %13, 0\n br i1 %14, label LBL_10, label LBL_9\n LBL_9:\n %15 = call i64 @FUNC(i64 0)\n %16 = call i64 @FUNC(i64 1)\n %17 = call i64 @FUNC(i64 2)\n ret i64 %17\n LBL_10:\n br i1 %4, label LBL_12, label LBL_11\n LBL_11:\n %18 = inttoptr i64 %arg1 to i8*\n %19 = call i32 @unlink(i8* %18)\n br label LBL_12\n LBL_12:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n\n uselistorder i64 (i64)* @reopen_fd_to_null, { 2, 1, 0 }\n uselistorder i64 (i8*)* @g_critical, { 1, 0 }\n uselistorder void (i32)* @exit, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4 }\n uselistorder i64 %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ready_codebook_2554", "fun_name": "ready_codebook", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %sv_1.06.reg2mem = alloca i32\n %storemerge27.reg2mem = alloca i32\n %.reg2mem11 = alloca i32\n %xmm0.08.reg2mem = alloca i128\n %storemerge19.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %0, i64 %6, i32 %3)\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = add i64 %0, 40\n %14 = inttoptr i64 %13 to i64*\n store i64 0, i64* %14, align 8\n %15 = add i64 %0, 48\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %16, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_2:\n %17 = load i32, i32* %2, align 4\n %18 = add i64 %0, 32\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %10, i64 %21, i32 %17)\n %23 = load i32, i32* %2, align 4\n %24 = load i32, i32* %19, align 4\n %25 = sext i32 %24 to i64\n %26 = sext i32 %23 to i64\n %27 = mul i64 %26, 4\n %28 = mul i64 %27, %25\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %0, 40\n %31 = inttoptr i64 %30 to i64*\n store i64 %29, i64* %31, align 8\n %32 = load i32, i32* %2, align 4\n %33 = sext i32 %32 to i64\n %34 = mul i64 %33, 4\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %0, 48\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = load i64, i64* %31, align 8\n %39 = icmp ne i64 %38, 0\n %40 = icmp eq i64 %35, 0\n %41 = icmp eq i1 %40, false\n %or.cond = icmp eq i1 %41, %39\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_15\n LBL_3:\n %42 = load i32, i32* %2, align 4\n %43 = icmp eq i32 %42, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %43, label LBL_15, label LBL_4\n LBL_4:\n %44 = trunc i64 %22 to i32\n %45 = and i64 %22, 4294967295\n %46 = add i64 %0, 56\n %47 = inttoptr i64 %46 to i32*\n %48 = add i64 %0, 64\n %49 = inttoptr i64 %48 to i64*\n %50 = add i64 %0, 72\n %51 = inttoptr i64 %50 to i32*\n %52 = add i64 %0, 76\n %53 = inttoptr i64 %52 to i32*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge19.reg2mem\n br label LBL_5\n LBL_5:\n %xmm0.08.reload = load i128, i128* %xmm0.08.reg2mem\n %storemerge19.reload = load i32, i32* %storemerge19.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %54 = call i128 @FUNC(i128 %xmm0.08.reload, i128 %xmm0.08.reload)\n %55 = call i64 @FUNC(i128 %54)\n %56 = load i32, i32* %19, align 4\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_5.LBL_14_crit_edge, label LBL_7\n LBL_6:\n %.pre = mul i64 %.reload, 4\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_14\n LBL_7:\n %58 = trunc i64 %55 to i32\n %59 = ashr i32 %storemerge19.reload, 31\n %60 = zext i32 %storemerge19.reload to i64\n %61 = zext i32 %59 to i64\n %62 = mul i64 %61, 4294967296\n %63 = or i64 %62, %60\n %64 = mul i64 %.reload, 4\n store i32 %56, i32* %.reg2mem11\n store i32 0, i32* %storemerge27.reg2mem\n store i32 1, i32* %sv_1.06.reg2mem\n store i32 %58, i32* %sv_0.15.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem\n %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %65 = load i64, i64* %9, align 8\n %66 = icmp eq i64 %65, 1\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_10, label LBL_9\n LBL_9:\n %68 = zext i32 %sv_1.06.reload to i64\n %69 = sdiv i64 %63, %68\n %70 = trunc i64 %69 to i32\n %71 = ashr i32 %70, 31\n %72 = and i64 %69, 4294967295\n %73 = zext i32 %71 to i64\n %74 = mul i64 %73, 4294967296\n %75 = or i64 %74, %72\n %76 = srem i64 %75, %45\n %77 = trunc i64 %76 to i32\n store i32 %77, i32* %storemerge3.reg2mem\n br label LBL_11\n LBL_10:\n %.reload12 = load i32, i32* %.reg2mem11\n %78 = mul i32 %.reload12, %storemerge19.reload\n %79 = add i32 %78, %storemerge27.reload\n store i32 %79, i32* %storemerge3.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %80 = load i32, i32* %47, align 4\n %81 = call i128 @__asm_movss.1(i32 %80)\n %82 = call i128 @FUNC(i128 %81)\n %83 = call i128 @FUNC(i128 %82, i32 %sv_0.15.reload)\n %84 = load i64, i64* %49, align 8\n %85 = sext i32 %storemerge3.reload to i64\n %86 = mul i64 %85, 4\n %87 = add i64 %84, %86\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = call i128 @__asm_movss.1(i32 %89)\n %91 = load i32, i32* %51, align 4\n %92 = call i128 @__asm_movss.1(i32 %91)\n %93 = call i128 @FUNC(i128 %92, i128 %90)\n %94 = load i64, i64* %31, align 8\n %95 = load i32, i32* %19, align 4\n %96 = mul i32 %95, %storemerge19.reload\n %97 = add i32 %96, %storemerge27.reload\n %98 = sext i32 %97 to i64\n %99 = mul i64 %98, 4\n %100 = add i64 %99, %94\n %101 = call i128 @__asm_addss.2(i128 %93, i128 %83)\n %102 = call i64 @FUNC(i128 %101)\n %103 = trunc i64 %102 to i32\n %104 = inttoptr i64 %100 to i32*\n store i32 %103, i32* %104, align 4\n %105 = load i32, i32* %53, align 4\n %106 = icmp eq i32 %105, 0\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %106, label LBL_13, label LBL_12\n LBL_12:\n %107 = load i64, i64* %31, align 8\n %108 = load i32, i32* %19, align 4\n %109 = mul i32 %108, %storemerge19.reload\n %110 = add i32 %109, %storemerge27.reload\n %111 = sext i32 %110 to i64\n %112 = mul i64 %111, 4\n %113 = add i64 %112, %107\n %114 = inttoptr i64 %113 to i32*\n %115 = load i32, i32* %114, align 4\n %116 = call i128 @__asm_movss.1(i32 %115)\n %117 = call i64 @FUNC(i128 %116)\n %118 = trunc i64 %117 to i32\n store i32 %118, i32* %sv_0.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %119 = load i64, i64* %37, align 8\n %120 = add i64 %119, %64\n %121 = inttoptr i64 %120 to i32*\n %122 = load i32, i32* %121, align 4\n %123 = call i128 @__asm_movss.1(i32 %122)\n %124 = load i64, i64* %31, align 8\n %125 = load i32, i32* %19, align 4\n %126 = mul i32 %125, %storemerge19.reload\n %127 = add i32 %126, %storemerge27.reload\n %128 = sext i32 %127 to i64\n %129 = mul i64 %128, 4\n %130 = add i64 %129, %124\n %131 = inttoptr i64 %130 to i32*\n %132 = load i32, i32* %131, align 4\n %133 = call i128 @__asm_movss.1(i32 %132)\n %134 = load i64, i64* %31, align 8\n %135 = load i32, i32* %19, align 4\n %136 = mul i32 %135, %storemerge19.reload\n %137 = add i32 %136, %storemerge27.reload\n %138 = sext i32 %137 to i64\n %139 = mul i64 %138, 4\n %140 = add i64 %139, %134\n %141 = inttoptr i64 %140 to i32*\n %142 = load i32, i32* %141, align 4\n %143 = call i128 @__asm_movss.1(i32 %142)\n %144 = call i128 @FUNC(i128 %143, i128 %133)\n %145 = load i64, i64* %37, align 8\n %146 = add i64 %145, %64\n %147 = call i128 @__asm_addss.2(i128 %144, i128 %123)\n %148 = call i64 @FUNC(i128 %147)\n %149 = trunc i64 %148 to i32\n %150 = inttoptr i64 %146 to i32*\n store i32 %149, i32* %150, align 4\n %151 = mul i32 %sv_1.06.reload, %44\n %152 = add i32 %storemerge27.reload, 1\n %153 = load i32, i32* %19, align 4\n %154 = zext i32 %153 to i64\n %155 = sext i32 %152 to i64\n %156 = icmp slt i64 %155, %154\n store i32 %153, i32* %.reg2mem11\n store i32 %152, i32* %storemerge27.reg2mem\n store i32 %151, i32* %sv_1.06.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n store i64 %64, i64* %.pre-phi.reg2mem\n br i1 %156, label LBL_8, label LBL_14\n LBL_14:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %157 = load i64, i64* %37, align 8\n %158 = add i64 %157, %.pre-phi.reload\n %159 = inttoptr i64 %158 to i32*\n %160 = load i32, i32* %159, align 4\n %161 = call i128 @__asm_movss.1(i32 %160)\n %162 = load i64, i64* %37, align 8\n %163 = add i64 %162, %.pre-phi.reload\n %164 = load i32, i32* inttoptr (i64 4202512 to i32*), align 16\n %165 = call i128 @__asm_movss.1(i32 %164)\n %166 = call i128 @FUNC(i128 %161, i128 %165)\n %167 = call i64 @FUNC(i128 %166)\n %168 = trunc i64 %167 to i32\n %169 = inttoptr i64 %163 to i32*\n store i32 %168, i32* %169, align 4\n %170 = add i32 %storemerge19.reload, 1\n %171 = load i32, i32* %2, align 4\n %172 = zext i32 %171 to i64\n %173 = sext i32 %170 to i64\n %174 = icmp slt i64 %173, %172\n store i64 %173, i64* %.reg2mem\n store i32 %170, i32* %storemerge19.reg2mem\n store i128 %166, i128* %xmm0.08.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %174, label LBL_5, label LBL_15\n LBL_15:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %.pre-phi.reload, { 1, 0 }\n uselistorder i32 %storemerge27.reload, { 1, 5, 4, 3, 2, 0 }\n uselistorder i32 %sv_1.06.reload, { 1, 0 }\n uselistorder i64 %64, { 0, 2, 1 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i32 %storemerge19.reload, { 2, 7, 6, 5, 4, 3, 1, 0 }\n uselistorder i128 %xmm0.08.reload, { 1, 0 }\n uselistorder i64* %31, { 1, 2, 0, 3, 4, 5 }\n uselistorder i32* %19, { 5, 2, 3, 1, 4, 0, 6, 7 }\n uselistorder i32* %2, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %0, { 1, 2, 3, 4, 5, 6, 7, 0, 8, 9, 10, 11, 12 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge19.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.08.reg2mem, { 1, 0 }\n uselistorder i32* %.reg2mem11, { 1, 0, 2 }\n uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i128 (i32)* @__asm_movss.1, { 7, 8, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 5, 0, 2, 1, 3, 4 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_device_realize_9428", "fun_name": "virtio_device_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %2 = load i64, i64* %sv_0, align 8\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = call i64 @FUNC(i64 %4, i64 %2)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "recover_16275", "fun_name": "recover", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %7, label LBL_7, label LBL_1\n LBL_1:\n %8 = zext i32 %6 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %9 = mul i64 %.reload, 16\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp ugt i64 %12, %arg2\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_6, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %3, i64 %12, i64 0)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = and i64 %15, 4294967295\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %20 = add i64 %3, 8\n %21 = add i64 %20, %9\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %0, 24\n %25 = inttoptr i64 %24 to i64*\n store i64 %23, i64* %25, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %26 = add i32 %storemerge2.reload, 1\n %27 = sext i32 %26 to i64\n %28 = icmp slt i64 %27, %8\n store i64 %27, i64* %.reg2mem\n store i32 %26, i32* %storemerge2.reg2mem\n store i64 4294967291, i64* %rax.0.reg2mem\n br i1 %28, label LBL_2, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_7, { 0, 2, 3, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rde_update_get_prefix_4224", "fun_name": "rde_update_get_prefix", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32*\n %sv_1.16.reg2mem = alloca i32*\n %sv_0.17.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_2 = alloca i32, align 4\n %2 = trunc i64 %arg2 to i16\n %3 = icmp eq i16 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = trunc i64 %1 to i8\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 1\n %9 = inttoptr i64 %8 to i32*\n store i64 0, i64* %arg3, align 8\n store i32 0, i32* %sv_2, align 4\n %10 = urem i64 %1, 256\n %11 = trunc i64 %arg2 to i32\n %12 = urem i32 %11, 65536\n %13 = ptrtoint i32* %sv_2 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 1, i32* %sv_0.17.reg2mem\n store i32* %9, i32** %sv_1.16.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.16.reload = load i32*, i32** %sv_1.16.reg2mem\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = icmp ugt i64 %10, %14\n store i32* %sv_1.16.reload, i32** %sv_1.0.reg2mem\n store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_3, label LBL_5\n LBL_3:\n %16 = urem i32 %sv_0.17.reload, 65536\n %17 = sub nsw i32 %12, %16\n %18 = icmp eq i32 %17, 0\n %19 = icmp slt i32 %17, 0\n %20 = icmp eq i1 %19, false\n %21 = icmp eq i1 %18, false\n %22 = icmp eq i1 %20, %21\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_7\n LBL_4:\n %23 = ptrtoint i32* %sv_1.16.reload to i64\n %24 = add i64 %23, 1\n %25 = inttoptr i64 %24 to i32*\n %26 = add nuw nsw i64 %indvars.iv.reload, %13\n %27 = bitcast i32* %sv_1.16.reload to i8*\n %28 = load i8, i8* %27, align 1\n %29 = inttoptr i64 %26 to i8*\n store i8 %28, i8* %29, align 1\n %30 = mul i32 %sv_0.17.reload, 65536\n %sext4 = add i32 %30, 65536\n %31 = ashr exact i32 %sext4, 16\n store i32* %25, i32** %sv_1.0.reg2mem\n store i32 %31, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %32 = icmp ult i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem\n store i32* %sv_1.0.reload, i32** %sv_1.16.reg2mem\n br i1 %32, label LBL_2, label LBL_6\n LBL_6:\n %33 = bitcast i64* %arg3 to i32*\n store i32 2, i32* %33, align 4\n %34 = load i32, i32* %sv_2, align 4\n %35 = add i64 %5, 4\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = bitcast i64* %arg4 to i8*\n store i8 %6, i8* %37, align 1\n %38 = urem i32 %sv_0.0.reload, 65536\n %39 = zext i32 %38 to i64\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32 %sv_0.17.reload, { 2, 1, 0 }\n uselistorder i32* %sv_1.16.reload, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_1.16.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 65536, { 1, 4, 0, 2, 3 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_380", "fun_name": "decode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 3)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %1, 4294967295\n %8 = call i64 @FUNC(i64 %7)\n br label LBL_2\n LBL_2:\n %9 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %10 = ashr exact i64 %sext, 32\n %11 = trunc i64 %10 to i32\n %12 = add i64 %9, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i32 %11)\n %15 = udiv i64 %10, 67108864\n %16 = trunc i64 %15 to i32\n %17 = urem i32 %16, 64\n %18 = add i64 %9, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = urem i32 %11, 32\n %21 = add i64 %9, 12\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = urem i32 %11, 65536\n %24 = add i64 %9, 16\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = urem i32 %11, 67108864\n %27 = add i64 %9, 20\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = udiv i64 %10, 2097152\n %30 = trunc i64 %29 to i32\n %31 = urem i32 %30, 32\n %32 = add i64 %9, 24\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = add i64 %9, 28\n %35 = inttoptr i64 %34 to i32*\n store i32 %31, i32* %35, align 4\n %36 = udiv i64 %10, 65536\n %37 = trunc i64 %36 to i32\n %38 = urem i32 %37, 32\n %39 = add i64 %9, 32\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = udiv i64 %10, 2048\n %42 = trunc i64 %41 to i32\n %43 = urem i32 %42, 32\n %44 = add i64 %9, 36\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = icmp slt i32 %11, 0\n %47 = icmp eq i1 %46, false\n %48 = add i64 %9, 40\n %49 = inttoptr i64 %48 to i32*\n %. = zext i1 %47 to i32\n store i32 %., i32* %49, align 4\n %50 = load i32, i32* %19, align 4\n %51 = icmp ult i32 %50, 64\n br i1 %51, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n ret i64 %9\n\n uselistorder i32 %31, { 1, 0 }\n uselistorder i32 %11, { 3, 0, 1, 2, 4, 5 }\n uselistorder i32 64, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "make_ascii_get_suffix_8781", "fun_name": "make_ascii_get_suffix", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i8, i8* inttoptr (i64 4210741 to i8*), align 1\n %3 = icmp eq i8 %2, 1\n store i64 %1, i64* %storemerge.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = bitcast i64* %arg1 to i8*\n store i8 32, i8* %4, align 1\n %5 = add i64 %1, 1\n %6 = call i64 @FUNC(i64 %0)\n %7 = and i64 %6, 4294967295\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %10, i64 %5)\n %12 = inttoptr i64 %11 to i8*\n store i8 32, i8* %12, align 1\n %13 = add i64 %11, 1\n %14 = bitcast i64* %rsi to i32*\n %15 = load i32, i32* %14, align 8\n %16 = add i32 %15, -2\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i64 %13)\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %19 = trunc i64 %arg3 to i8\n %20 = icmp eq i8 %19, 0\n store i64 %storemerge.reload, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = inttoptr i64 %storemerge.reload to i8*\n store i8 32, i8* %21, align 1\n %22 = add i64 %storemerge.reload, 1\n %23 = call i64 @FUNC(i64 %0)\n %24 = call i64 @FUNC(i64 %23, i64 %22)\n store i64 %24, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %25 = inttoptr i64 %sv_0.0.reload to i8*\n store i8 13, i8* %25, align 1\n %26 = add i64 %sv_0.0.reload, 1\n %27 = inttoptr i64 %26 to i8*\n store i8 10, i8* %27, align 1\n %28 = add i64 %sv_0.0.reload, 2\n %29 = inttoptr i64 %28 to i8*\n store i8 0, i8* %29, align 1\n %30 = sub i64 2, %1\n %31 = add i64 %30, %sv_0.0.reload\n %32 = and i64 %31, 4294967295\n ret i64 %32\n\n uselistorder i64 %sv_0.0.reload, { 3, 2, 1, 0 }\n uselistorder i64 %storemerge.reload, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 2, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @itoa_u32, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfnetlink_rcv_6112", "fun_name": "nfnetlink_rcv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = call i64 @FUNC(i64 %0)\n %4 = load i32, i32* %2, align 4\n %5 = zext i32 %4 to i64\n %6 = icmp slt i32 %4, 16\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_1\n LBL_1:\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp ult i32 %9, %4\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %10, label LBL_9, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0, i64 1)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0, i64 %1, i64 4294967295)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %16 = add i64 %1, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 1\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_8, label LBL_5\n LBL_5:\n %21 = load i32, i32* %2, align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = load i32, i32* %8, align 4\n %25 = load i32, i32* %2, align 4\n %26 = zext i32 %25 to i64\n %27 = icmp slt i32 %25, 16\n store i64 %26, i64* %rax.0.reg2mem\n br i1 %27, label LBL_9, label LBL_6\n LBL_6:\n %28 = zext i32 %24 to i64\n %29 = icmp ult i32 %24, 20\n store i64 %28, i64* %rax.0.reg2mem\n br i1 %29, label LBL_9, label LBL_7\n LBL_7:\n %30 = trunc i64 %23 to i32\n %sext = mul i64 %23, 4294967296\n %31 = ashr exact i64 %sext, 32\n %32 = icmp sgt i64 %31, %28\n %spec.select = select i1 %32, i32 %24, i32 %30\n %33 = call i64 @FUNC(i64 %1)\n %34 = zext i32 %spec.select to i64\n %35 = call i64 @FUNC(i64 %0, i64 %34)\n %36 = inttoptr i64 %33 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = call i64 @FUNC(i64 %0, i64 %1, i32 %37)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %39 = call i64 @FUNC(i64 %0, i64 4198889)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %28, { 1, 0 }\n uselistorder i32 %24, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 1, 3, 2, 4 }\n uselistorder i64 %0, { 3, 1, 2, 0, 4, 5, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 4, 1, 6, 7 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_9, { 4, 5, 1, 0, 6, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_rocker_neigh_add_4059", "fun_name": "_rocker_neigh_add", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %rdx = alloca i64, align 8\n %2 = ptrtoint i64* %arg3 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = icmp eq i32 %3, 1\n br i1 %4, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %2, 8\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n %5 = trunc i64 %1 to i32\n %6 = and i64 %1, 4294967295\n %7 = add i32 %5, 1\n store i32 %7, i32* %arg1, align 4\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %5, i32* %9, align 4\n %10 = icmp eq i32 %3, 0\n store i64 %8, i64* %.pre-phi.reg2mem\n store i64 %6, i64* %rax.1.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, 1\n store i32 %14, i32* %12, align 4\n %15 = bitcast i64* %rdx to i32*\n %16 = load i32, i32* %15, align 8\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = and i64 %18, 4294967295\n %20 = ptrtoint i32* %arg1 to i64\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %.pre-phi.reload, i64 %19)\n store i64 %24, i64* %rax.1.reg2mem\n br label LBL_4\n LBL_4:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_mulu_i64_i32_14986", "fun_name": "gen_mulu_i64_i32", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %0, i64 %arg1)\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %1, i64 %arg2)\n %5 = call i64 @FUNC(i64 %arg2)\n %6 = call i64 @FUNC(i64 %0, i64 %0, i64 %1)\n %7 = call i64 @FUNC(i64 %1)\n ret i64 %0\n\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @dead_tmp, { 1, 0 }\n uselistorder i64 (i64, i64)* @tcg_gen_extu_i32_i64, { 1, 0 }\n uselistorder i64 ()* @tcg_temp_new_i64, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "SetCharsets_8510", "fun_name": "SetCharsets", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32*\n %sv_0.0.lcssa.reg2mem = alloca i32*\n %.reg2mem = alloca i8\n %sv_0.02.reg2mem = alloca i32*\n %indvars.iv.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32* %arg2, i32** %sv_0.02.reg2mem\n br label LBL_5\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n store i32 0, i32* %storemerge.reg2mem\n switch i8 %10, label LBL_2 [\n i8 46, label LBL_4\n i8 66, label LBL_3\n ]\n LBL_2:\n %1 = sext i8 %10 to i32\n store i32 %1, i32* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %2 = mul i64 %indvars.iv.reload, 4\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i32*\n store i32 %storemerge.reload, i32* %4, align 4\n br label LBL_4\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %5 = ptrtoint i32* %sv_0.02.reload to i64\n %6 = add i64 %5, 1\n %7 = inttoptr i64 %6 to i32*\n %8 = icmp ugt i64 %indvars.iv.reload, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32* %7, i32** %sv_0.02.reg2mem\n br i1 %8, label LBL_6, label LBL_5\n LBL_5:\n %sv_0.02.reload = load i32*, i32** %sv_0.02.reg2mem\n %9 = bitcast i32* %sv_0.02.reload to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 0\n %12 = icmp eq i1 %11, false\n store i8 %10, i8* %.reg2mem\n store i32* %sv_0.02.reload, i32** %sv_0.0.lcssa.reg2mem\n br i1 %12, label LBL_1, label LBL_7\n LBL_6:\n %.phi.trans.insert = inttoptr i64 %6 to i8*\n %.pre = load i8, i8* %.phi.trans.insert, align 1\n store i8 %.pre, i8* %.reg2mem\n store i32* %7, i32** %sv_0.0.lcssa.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.lcssa.reload = load i32*, i32** %sv_0.0.lcssa.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %13 = icmp eq i8 %.reload, 0\n store i32* %sv_0.0.lcssa.reload, i32** %sv_0.1.reg2mem\n br i1 %13, label LBL_10, label LBL_8\n LBL_8:\n %14 = ptrtoint i32* %sv_0.0.lcssa.reload to i64\n %15 = add i64 %14, 1\n %16 = inttoptr i64 %15 to i32*\n %17 = icmp eq i8 %.reload, 46\n store i32* %16, i32** %sv_0.1.reg2mem\n br i1 %17, label LBL_10, label LBL_9\n LBL_9:\n %18 = sext i8 %.reload to i32\n %19 = add nsw i32 %18, -48\n %20 = add i64 %0, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n store i32* %16, i32** %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i32*, i32** %sv_0.1.reg2mem\n %22 = bitcast i32* %sv_0.1.reload to i8*\n %23 = load i8, i8* %22, align 1\n switch i8 %23, label LBL_11 [\n i8 0, label LBL_12\n i8 46, label LBL_12\n ]\n LBL_11:\n %24 = sext i8 %23 to i32\n %25 = add nsw i32 %24, -48\n %26 = add i64 %0, 20\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n br label LBL_12\n LBL_12:\n %28 = add i64 %0, 24\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %0, 16\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = sext i32 %32 to i64\n %34 = mul i64 %33, 4\n %35 = add i64 %34, %0\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = add i64 %0, 28\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = add i64 %0, 20\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = sext i32 %42 to i64\n %44 = mul i64 %43, 4\n %45 = add i64 %44, %0\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %0, 32\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n ret i64 %0\n\n uselistorder i8 %23, { 1, 0 }\n uselistorder i32* %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i8 %10, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.02.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.reload, { 1, 0, 2 }\n uselistorder i64 %0, { 7, 6, 0, 5, 9, 1, 8, 10, 4, 3, 2 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem, { 0, 2, 1 }\n uselistorder i32** %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i8 46, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "thread_execute_3601", "fun_name": "thread_execute", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i32* %arg1 to i64\n %sext = mul i64 %arg5, 4294967296\n %5 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %arg6, 4294967296\n %6 = ashr exact i64 %sext4, 32\n %7 = urem i64 %1, 2\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i64 %4, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp sgt i32 %11, 1\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = and i64 %6, 4294967295\n %14 = and i64 %5, 4294967295\n %15 = call i64 @FUNC(i64 %4, i64 %3, i64 %arg3, i64 %2, i64 %14, i64 %13)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %16 = add i64 %4, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = trunc i64 %5 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp slt i32 %21, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %22, false\n %26 = icmp eq i1 %24, %25\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_4, label LBL_5\n LBL_4:\n %27 = inttoptr i64 %20 to i32*\n %28 = trunc i64 %6 to i32\n store i32 %28, i32* %27, align 4\n %29 = add i64 %20, 8\n %30 = inttoptr i64 %29 to i64*\n store i64 %arg3, i64* %30, align 8\n %31 = add i64 %20, 16\n %32 = inttoptr i64 %31 to i64*\n store i64 %3, i64* %32, align 8\n %33 = add i64 %20, 24\n %34 = inttoptr i64 %33 to i64*\n store i64 %2, i64* %34, align 8\n %35 = add i64 %20, 32\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = and i64 %5, 4294967295\n %39 = call i64 @FUNC(i64 %37, i64 %38, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtnl_fdb_del_9143", "fun_name": "rtnl_fdb_del", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i32 4, i32* %rax.0.shrunk.reg2mem\n br i1 %7, label LBL_1, label LBL_19\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = call i64 @FUNC(i64 %8, i64 8, i64* nonnull %sv_1, i64 1, i64 0)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i32 %10, i32* %rax.0.shrunk.reg2mem\n br i1 %12, label LBL_2, label LBL_19\n LBL_2:\n %13 = call i64 @FUNC(i64 %8)\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = ptrtoint i64* %sv_1 to i64\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64 8, i64 %18, i64 1, i64 0, i64 %1)\n store i32 3, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_4:\n %20 = zext i32 %15 to i64\n %21 = call i64 @FUNC(i64 %3, i64 %20)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %20, i64 %20, i64 1, i64 0, i64 %1)\n store i32 2, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_6:\n %25 = load i64, i64* %sv_1, align 8\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = call i64 @FUNC(i64 %25)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 6\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_2, i64 0, i64 0), i64 %20, i64 %20, i64 1, i64 0, i64 %1)\n store i32 3, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_9:\n %31 = load i64, i64* %sv_1, align 8\n %32 = call i64 @FUNC(i64 %31)\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_11, label LBL_10\n LBL_10:\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_3, i64 0, i64 0), i64 %20, i64 %20, i64 1, i64 0, i64 %1)\n store i32 3, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_11:\n %38 = add i64 %13, 4\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp ne i32 %40, 0\n %42 = urem i32 %40, 2\n %43 = icmp eq i32 %42, 0\n %or.cond = icmp eq i1 %41, %43\n store i32 %40, i32* %.reg2mem\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_15, label LBL_12\n LBL_12:\n %44 = inttoptr i64 %21 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = and i32 %45, 4\n %47 = icmp eq i32 %46, 0\n store i32 %40, i32* %.reg2mem\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %47, label LBL_15, label LBL_13\n LBL_13:\n %48 = call i64 @FUNC(i64 %21)\n %49 = add i64 %48, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = icmp eq i64 %53, 0\n %55 = trunc i64 %13 to i32\n %spec.select = select i1 %54, i32 1, i32 %55\n %56 = icmp eq i32 %spec.select, 0\n %57 = icmp eq i1 %56, false\n store i32 %spec.select, i32* %rax.0.shrunk.reg2mem\n br i1 %57, label LBL_19, label LBL_14\n LBL_14:\n %58 = load i32, i32* %39, align 4\n %59 = and i32 %58, -2\n store i32 %59, i32* %39, align 4\n store i32 %59, i32* %.reg2mem\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %60 = and i32 %.reload, 2\n %61 = icmp eq i32 %60, 0\n store i32 %sv_0.1.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %61, label LBL_19, label LBL_16\n LBL_16:\n %62 = add i64 %21, 8\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = icmp eq i64 %66, 0\n store i32 %sv_0.1.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %67, label LBL_19, label LBL_17\n LBL_17:\n %68 = trunc i64 %13 to i32\n %69 = icmp eq i32 %68, 0\n %70 = icmp eq i1 %69, false\n store i32 %68, i32* %rax.0.shrunk.reg2mem\n br i1 %70, label LBL_19, label LBL_18\n LBL_18:\n %71 = call i64 @FUNC(i64 %21, i64 %32, i64 3)\n %72 = load i32, i32* %39, align 4\n %73 = and i32 %72, -3\n store i32 %73, i32* %39, align 4\n store i32 %68, i32* %rax.0.shrunk.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %spec.select, { 1, 0, 2 }\n uselistorder i32 %40, { 1, 0, 2, 3 }\n uselistorder i32* %39, { 3, 2, 1, 0, 4 }\n uselistorder i64 %20, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder i64* %sv_1, { 1, 2, 3, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 2, 3, 4, 5, 1, 10, 11, 9, 8, 6, 7 }\n uselistorder i32 2, { 2, 1, 0 }\n uselistorder i32 3, { 1, 2, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @pr_info, { 3, 2, 1, 0 }\n uselistorder i64 8, { 2, 3, 0, 1 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6, 7, 8, 9 }\n uselistorder i64 1, { 4, 5, 3, 2, 6, 7, 0, 1 }\n uselistorder label LBL_19, { 0, 2, 3, 4, 1, 7, 8, 9, 10, 5, 6 }\n uselistorder label LBL_15, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_real_id_17086", "fun_name": "get_real_id", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %2 = bitcast i64* %sv_1 to i8*\n %3 = inttoptr i64 %arg1 to i8*\n %4 = inttoptr i64 %arg2 to i8*\n %5 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %2, i32 128, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* %3, i8* %4)\n %6 = call %_IO_FILE* @fopen(i8* nonnull %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %7 = icmp eq %_IO_FILE* %6, null\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_1, i64 %arg1, i64 %arg2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %10 = call i32 (%_IO_FILE*, i8*, ...) @fscanf(%_IO_FILE* %6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i32* nonnull %sv_0)\n %11 = icmp eq i32 %10, 1\n %12 = icmp eq i1 %11, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = load i32, i32* %sv_0, align 4\n %14 = trunc i32 %13 to i16\n %15 = bitcast i64* %arg3 to i16*\n store i16 %14, i16* %15, align 2\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sig_message_public_18710", "fun_name": "sig_message_public", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i8* %arg4, i8* %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg5 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i8* %arg2 to i64\n %5 = call i64 @FUNC(i64 %2, i64 %4, i64 %1)\n %6 = trunc i64 %5 to i32\n %7 = ptrtoint i8* %arg3 to i64\n %8 = call i64 @FUNC(i64 %2, i64 %7, i32 %6)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "spapr_rng_class_init_15077", "fun_name": "spapr_rng_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = sext i32 %3 to i64\n %5 = call i64 @FUNC(i64 1, i64 %4)\n %6 = load i64, i64* @gv_0, align 8\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "write_unicode_3702", "fun_name": "write_unicode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %arg3.tr = trunc i64 %arg3 to i32\n %0 = mul i32 %arg3.tr, 2\n %1 = call i64* @malloc(i32 %0)\n %2 = ptrtoint i64* %1 to i64\n %3 = bitcast i16* %arg2 to i64*\n %4 = call i64* @memcpy(i64* %1, i64* %3, i32 %0)\n %5 = icmp eq i64 %arg3, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %6 = mul i64 %storemerge1.reload, 2\n %7 = add i64 %6, %2\n %8 = call i64 @FUNC(i64 %7, i64 2)\n %9 = add nuw i64 %storemerge1.reload, 1\n %exitcond = icmp eq i64 %9, %arg3\n store i64 %9, i64* %storemerge1.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = call i64 @FUNC(i64 %10, i64 1, i64 %2, i64 %arg3)\n call void @free(i64* %1)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg3, { 3, 0, 1, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_bs_snapshots_392", "fun_name": "get_bs_snapshots", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %storemerge1.reg2mem\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %2 = inttoptr i64 %storemerge1.reload to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %storemerge1.reload, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %storemerge1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_1, label LBL_4\n LBL_3:\n store i64 %3, i64* @gv_0, align 8\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cgit_get_cmd_5780", "fun_name": "cgit_get_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n store i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64* %arg1, align 8\n br label LBL_4\n LBL_3:\n store i64 ptrtoint ([9 x i8]* @gv_1 to i64), i64* %arg1, align 8\n br label LBL_4\n LBL_4:\n %7 = bitcast i64* %arg1 to i8*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %8 = mul i64 %indvars.iv.reload, 16\n %9 = add i64 %8, ptrtoint ([5 x i8]** @gv_2 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i8*\n %13 = call i32 @strcmp(i8* %7, i8* %12)\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %9, i64* %storemerge.reg2mem\n br i1 %15, label LBL_6, label LBL_7\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %16 = icmp ult i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %16, label LBL_5, label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64* %arg1, { 0, 1, 2, 4, 3 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "khugepaged_enter_vma_merge_11122", "fun_name": "khugepaged_enter_vma_merge", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_8\n LBL_1:\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_8, label LBL_2\n LBL_2:\n %11 = add i64 %0, 32\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_8\n LBL_3:\n %15 = call i64 @FUNC(i64 %0)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %0)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %23 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %22)\n %24 = sext i32 %23 to i64\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %25 = add i64 %0, 255\n %26 = and i64 %25, 4611686018427387648\n %27 = add i64 %0, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = and i64 %29, 4611686018427387648\n %31 = icmp ult i64 %26, %30\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %33 = call i64 @FUNC(i64 %0)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 6, 3, 2, 4 }\n uselistorder i64 4611686018427387648, { 1, 0 }\n uselistorder label LBL_8, { 4, 0, 5, 2, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_next_page_offset_8378", "fun_name": "get_next_page_offset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i128\n %sv_1.02.off0.reg2mem = alloca i32\n %sv_2.03.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 12\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %3 to i64\n %10 = sext i32 %8 to i64\n %11 = icmp slt i64 %10, %9\n store i32 %3, i32* %sv_2.03.reg2mem\n store i32 4, i32* %sv_1.02.off0.reg2mem\n store i128 4, i128* %sv_1.0.lcssa.reg2mem\n br i1 %11, label LBL_3, label LBL_5\n LBL_2:\n %12 = add i64 %arg2, 1\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_3:\n %sv_1.02.off0.reload = load i32, i32* %sv_1.02.off0.reg2mem\n %sv_2.03.reload = load i32, i32* %sv_2.03.reg2mem\n %13 = add i32 %sv_2.03.reload, -1\n %14 = mul i32 %sv_1.02.off0.reload, 4\n %15 = zext i32 %13 to i64\n %16 = icmp slt i64 %10, %15\n store i32 %13, i32* %sv_2.03.reg2mem\n store i32 %14, i32* %sv_1.02.off0.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_4:\n %17 = sext i32 %14 to i128\n store i128 %17, i128* %sv_1.0.lcssa.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.lcssa.reload = load i128, i128* %sv_1.0.lcssa.reg2mem\n %18 = icmp eq i32 %3, 3\n store i64 40, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_8, label LBL_6\n LBL_6:\n %19 = icmp sgt i32 %3, 3\n br i1 %19, label LBL_10, label LBL_7\n LBL_7:\n store i64 8, i64* %sv_0.0.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n switch i32 %3, label LBL_10 [\n i32 1, label LBL_9\n i32 2, label LBL_8\n ]\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %20 = add nsw i64 %sv_0.1.reload, 12\n store i64 %20, i64* %sv_0.2.reg2mem\n br label LBL_11\n LBL_10:\n %21 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %sv_0.2.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %22 = sub i64 %arg2, %sv_0.2.reload\n %23 = zext i64 %22 to i128\n %24 = and i128 %sv_1.0.lcssa.reload, 4294967295\n %25 = udiv i128 %23, %24\n %26 = trunc i128 %25 to i64\n %27 = add i64 %26, 1\n %28 = trunc i128 %sv_1.0.lcssa.reload to i64\n %29 = and i64 %28, 4294967295\n %30 = mul i64 %27, %29\n %31 = add i64 %30, %sv_0.2.reload\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.2.reload, { 1, 0 }\n uselistorder i128 %sv_1.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32 %3, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32* %sv_2.03.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.02.off0.reg2mem, { 2, 0, 1 }\n uselistorder i128* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_AR_EXP_FromIdentifier_13259", "fun_name": "_AR_EXP_FromIdentifier", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0))\n %4 = call i64 @FUNC()\n %5 = call i64 @FUNC(i64 %4)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %6 = inttoptr i64 %0 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %8, i64 %arg1)\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %9)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %12 = call i64 @FUNC(i64 %arg1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "test_properties_16829", "fun_name": "test_properties", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge26.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1)\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = urem i64 %arg2, 256\n %12 = xor i64 %11, 1\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %16 = urem i64 %15, 256\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %19 = call i64 @FUNC(i64 %18)\n %storemerge2.in4 = inttoptr i64 %19 to i64*\n %storemerge25 = load i64, i64* %storemerge2.in4, align 8\n %20 = icmp eq i64 %storemerge25, 0\n %21 = icmp eq i1 %20, false\n store i64 %storemerge25, i64* %storemerge26.reg2mem\n store i64 %storemerge25, i64* %rax.0.reg2mem\n br i1 %21, label LBL_2, label LBL_6\n LBL_2:\n %storemerge26.reload = load i64, i64* %storemerge26.reg2mem\n %22 = call i64 @FUNC(i64 %storemerge26.reload)\n %23 = call i64 @FUNC(i64 %22)\n %24 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %25 = call i64 @FUNC(i64 %24, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i64 0)\n %26 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0))\n %27 = call i64 @FUNC(i64 %26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i64 0)\n %28 = or i64 %27, %25\n %29 = trunc i64 %28 to i8\n %30 = icmp eq i8 %29, 0\n %31 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0))\n br i1 %30, label LBL_4, label LBL_3\n LBL_3:\n %32 = urem i64 %25, 256\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i64 %arg1, i64 %31, i64 %4, i64 %2, i64 %1)\n %34 = call i64 @FUNC(i64 %33, i64 %32)\n %35 = call i64 @FUNC(i64 %33)\n br label LBL_5\n LBL_4:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_8, i64 0, i64 0), i64 %arg1, i64 %31, i64 %4, i64 %2, i64 %1)\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @gv_9, i64 0, i64 0), i64 %arg1, i64 %31, i64 %4, i64 %2, i64 %1)\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n %40 = zext i1 %39 to i64\n %41 = call i64 @FUNC(i64 %40)\n br label LBL_5\n LBL_5:\n %storemerge2.in = inttoptr i64 %storemerge26.reload to i64*\n %storemerge2 = load i64, i64* %storemerge2.in, align 8\n %42 = icmp eq i64 %storemerge2, 0\n %43 = icmp eq i1 %42, false\n store i64 %storemerge2, i64* %storemerge26.reg2mem\n store i64 %storemerge2, i64* %rax.0.reg2mem\n br i1 %43, label LBL_2, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %31, { 1, 2, 0 }\n uselistorder i64 %storemerge26.reload, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %4, { 3, 4, 2, 0, 1 }\n uselistorder i64 %2, { 3, 4, 2, 0, 1 }\n uselistorder i64 %1, { 3, 4, 2, 0, 1 }\n uselistorder i64* %storemerge26.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @strstart, { 1, 0 }\n uselistorder i64 (i64, i8*)* @qdict_get_str, { 2, 1, 0 }\n uselistorder i64 (i64)* @g_assert, { 2, 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3, 4 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @qmp, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @g_test_message, { 1, 0 }\n uselistorder i32 1, { 8, 7, 6, 5, 2, 9, 4, 1, 3, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_login_10002", "fun_name": "set_login", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %sv_0.04.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n store i8* bitcast (i8** @gv_2 to i8*), i8** %sv_2.0.reg2mem\n store i8* bitcast (i8** @gv_2 to i8*), i8** %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %12 = icmp eq i64* %arg1, null\n %13 = icmp eq i1 %12, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %14 = ptrtoint i8* %sv_2.0.reload to i64\n %15 = call i8* @strdup(i8* %sv_2.0.reload)\n %16 = ptrtoint i8* %15 to i64\n store i64 %16, i64* %arg1, align 8\n store i64 %14, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_5:\n %17 = add i64 %0, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i8* @strdup(i8* %sv_1.0.reload)\n %23 = ptrtoint i8* %22 to i64\n store i64 %23, i64* %18, align 8\n %24 = icmp eq i8* %22, null\n %spec.select = zext i1 %24 to i32\n store i64 %23, i64* %.reg2mem\n store i32 %spec.select, i32* %sv_0.04.reg2mem\n br label LBL_8\n LBL_7:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %25 = icmp eq i64 %rdi.0.reload, 0\n store i64 %19, i64* %.reg2mem\n store i32 0, i32* %sv_0.04.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %25, label LBL_10, label LBL_8\n LBL_8:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %26 = icmp eq i64 %.reload, 0\n %27 = icmp eq i1 %26, false\n store i32 %sv_0.04.reload, i32* %sv_0.1.reg2mem\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n %28 = call i8* @strdup(i8* bitcast (i8** @gv_2 to i8*))\n %29 = ptrtoint i8* %28 to i64\n store i64 %29, i64* %18, align 8\n %30 = icmp eq i8* %28, null\n %31 = icmp eq i1 %30, false\n %spec.select3 = select i1 %31, i32 %sv_0.04.reload, i32 1\n store i32 %spec.select3, i32* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %32 = zext i32 %sv_0.1.reload to i64\n ret i64 %32\n\n uselistorder i32 %sv_0.04.reload, { 1, 0 }\n uselistorder i64* %18, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i8* (i8*)* @strdup, { 2, 1, 0 }\n uselistorder i8* bitcast (i8** @gv_2 to i8*), { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tb_gen_code_5092", "fun_name": "tb_gen_code", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = call i64 @FUNC(i64 %arg2)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %sv_1.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %arg2)\n store i64 %6, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %7 = load i64, i64* @gv_0, align 8\n %8 = inttoptr i64 %sv_1.0.reload to i64*\n store i64 %7, i64* %8, align 8\n %9 = add i64 %sv_1.0.reload, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %arg3, i64* %10, align 8\n %11 = add i64 %sv_1.0.reload, 16\n %12 = inttoptr i64 %11 to i32*\n store i32 %arg4, i32* %12, align 4\n %13 = trunc i64 %arg5 to i32\n %14 = add i64 %sv_1.0.reload, 20\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = bitcast i32* %sv_2 to i64*\n %17 = call i64 @FUNC(i64 %0, i64 %sv_1.0.reload, i64* nonnull %16)\n %18 = load i32, i32* %sv_2, align 4\n %19 = sext i32 %18 to i64\n %20 = load i64, i64* @gv_0, align 8\n %21 = add nsw i64 %19, 15\n %22 = add i64 %21, %20\n %23 = and i64 %22, -16\n store i64 %23, i64* @gv_0, align 8\n %24 = add i64 %sv_1.0.reload, 24\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = trunc i64 %arg2 to i32\n %28 = add i32 %27, -1\n %29 = add i32 %28, %26\n %30 = and i32 %29, -4096\n %31 = zext i32 %30 to i64\n %32 = and i64 %arg2, 4294963200\n %33 = icmp eq i64 %32, %31\n store i64 -1, i64* %sv_0.0.reg2mem\n br i1 %33, label LBL_4, label LBL_3\n LBL_3:\n %34 = call i64 @FUNC(i64 %0, i64 %31)\n store i64 %34, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %35 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %1, i64 %sv_0.0.reload)\n ret i64 %35\n\n uselistorder i64 %sv_1.0.reload, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @tb_alloc, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_phys_addr_code, { 1, 0 }\n uselistorder i64 %arg2, { 1, 2, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Jsi_ValueInsertArray_6320", "fun_name": "Jsi_ValueInsertArray", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i32 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 1\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_8, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %8 = ptrtoint i64* %arg4 to i64\n %9 = ptrtoint i32* %arg2 to i64\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_7, label LBL_4\n LBL_4:\n %16 = icmp slt i32 %arg3, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_8, label LBL_5\n LBL_5:\n %17 = ptrtoint i32* %arg1 to i64\n %18 = add i64 %17, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp ugt i32 %20, %arg3\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_8\n LBL_6:\n %22 = call i64 @FUNC(i64 %17, i64 %12, i64 %8, i32 %arg3)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %23 = and i64 %arg5, 4294967295\n %24 = zext i32 %arg3 to i64\n %25 = call i64 @FUNC(i64 %24, i64* nonnull %sv_0, i64 32)\n %26 = ptrtoint i32* %arg1 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %12, i64* nonnull %sv_0, i64 %8, i64 %23)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 1, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967295, { 4, 1, 0, 3, 2, 5 }\n uselistorder i32 %arg3, { 0, 3, 2, 1 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 4, 5, 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmw_legacy_srf_destroy_8345", "fun_name": "vmw_legacy_srf_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, -1\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC()\n %10 = and i64 %9, 4294967295\n %11 = call i64 @FUNC(i64 %8, i64 %10)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %15 = call i32 @fwrite(i64* bitcast ([51 x i8]* @gv_1 to i64*), i32 1, i32 50, %_IO_FILE* %14)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 %11)\n %18 = call i64 @FUNC(i64 %8, i64 %10)\n %19 = inttoptr i64 %8 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = add i64 %5, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = sub i64 %20, %23\n store i64 %24, i64* %19, align 8\n %25 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "serial_load_16357", "fun_name": "serial_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i32\n %1 = icmp slt i32 %0, 3\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = icmp eq i32 %0, 2\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n %5 = call i64 @FUNC(i64 %3, i64 %2)\n br label LBL_4\n LBL_3:\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i16\n %8 = urem i16 %7, 256\n %9 = bitcast i64* %arg2 to i16*\n store i16 %8, i16* %9, align 2\n br label LBL_4\n LBL_4:\n %10 = add i64 %2, 2\n %11 = call i64 @FUNC(i64 %3, i64 %10)\n %12 = add i64 %2, 3\n %13 = call i64 @FUNC(i64 %3, i64 %12)\n %14 = add i64 %2, 4\n %15 = call i64 @FUNC(i64 %3, i64 %14)\n %16 = add i64 %2, 5\n %17 = call i64 @FUNC(i64 %3, i64 %16)\n %18 = add i64 %2, 6\n %19 = call i64 @FUNC(i64 %3, i64 %18)\n %20 = add i64 %2, 7\n %21 = call i64 @FUNC(i64 %3, i64 %20)\n %22 = add i64 %2, 8\n %23 = call i64 @FUNC(i64 %3, i64 %22)\n %24 = add i64 %2, 9\n %25 = call i64 @FUNC(i64 %3, i64 %24)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 2, 1, 5, 4, 3, 8, 7, 6, 9, 0 }\n uselistorder i64 %2, { 1, 0, 4, 3, 2, 7, 6, 5, 8 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @qemu_get_8s, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rds_ib_laddr_check_11774", "fun_name": "rds_ib_laddr_check", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n store i64 %3, i64* %sv_2, align 8\n %4 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0)\n %5 = icmp ult i64 %4, -1000\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_7\n LBL_1:\n %6 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 16)\n store i64 2, i64* %sv_1, align 8\n %7 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n %.pre3 = inttoptr i64 %4 to i64*\n %.pr.pre = load i64, i64* %.pre3, align 8\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = inttoptr i64 %.pr.pre to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 1\n store i32 %8, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n store i32 -99, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %14 = icmp eq i64 %.pr.pre, 0\n store i64 4294967295, i64* %storemerge2.reg2mem\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = inttoptr i64 %.pr.pre to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n store i64 %17, i64* %storemerge2.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %18 = bitcast i64* %sv_2 to i32*\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32* nonnull %18, i32 %sv_0.0.reload, i64 %storemerge2.reload, i64 %2, i64 %1)\n %20 = call i64 @FUNC(i64 %4)\n %21 = zext i32 %sv_0.0.reload to i64\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 3, 0, 4 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_end_15879", "fun_name": "decode_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 176\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %0, 168\n %4 = add i64 %0, 160\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 16\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 24\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %0, 32\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 40\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %0, 48\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 56\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %0, 64\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %0, 72\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %0, 80\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %0, 88\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %0, 96\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %0, 104\n %31 = call i64 @FUNC(i64 %30)\n %32 = add i64 %0, 112\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %0, 120\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %0, 128\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i64 %0, 136\n %39 = call i64 @FUNC(i64 %38)\n %40 = add i64 %0, 144\n %41 = call i64 @FUNC(i64 %40)\n %42 = add i64 %0, 152\n %43 = call i64 @FUNC(i64 %42)\n ret i64 0\n\n uselistorder i64 %0, { 1, 2, 3, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 }\n uselistorder i64 (i64)* @av_freep, { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ext4_destroy_inode_9122", "fun_name": "ext4_destroy_inode", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %arg1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 %arg1, i64 %1)\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 4202560, i64 0, i64 16, i64 4, i64 %arg1)\n %11 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %12 = add i64 %arg1, 16\n %13 = call i64 @FUNC(i64 %12, i64 4198850)\n ret i64 %13\n\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 4, 2, 1, 3, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "externalParEntProcessor_11193", "fun_name": "externalParEntProcessor", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n store i64 %arg2, i64* %sv_2, align 8\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %arg3, i64* nonnull %sv_2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp slt i32 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n br i1 %9, label LBL_7, label LBL_1\n LBL_1:\n %10 = ptrtoint i32* %arg1 to i64\n %11 = add i64 %10, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n %16 = icmp eq i32 %4, -1\n %or.cond = or i1 %16, %15\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n store i64 %arg2, i64* %arg4, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n store i64 1, i64* %rax.0.reg2mem\n br i1 %16, label LBL_10, label LBL_4\n LBL_4:\n store i64 %arg2, i64* %sv_1.0.reg2mem\n store i32 %4, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_9, label LBL_5\n LBL_5:\n store i64 %arg2, i64* %sv_1.0.reg2mem\n store i32 %4, i32* %sv_0.0.reg2mem\n store i64 2, i64* %rax.0.reg2mem\n switch i32 %4, label LBL_9 [\n i32 -3, label LBL_6\n i32 -2, label LBL_10\n ]\n LBL_6:\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %17 = icmp eq i32 %4, 1\n %18 = icmp eq i1 %17, false\n store i64 %arg2, i64* %sv_1.0.reg2mem\n store i32 %4, i32* %sv_0.0.reg2mem\n br i1 %18, label LBL_9, label LBL_8\n LBL_8:\n %19 = load i64, i64* %sv_2, align 8\n %20 = call i64 @FUNC(i64 %2, i64 %19, i64 %arg3, i64* nonnull %sv_2)\n %21 = trunc i64 %20 to i32\n store i64 %19, i64* %sv_1.0.reg2mem\n store i32 %21, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %22 = bitcast i64* %rdi to i32*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %23 = ptrtoint i32* %arg1 to i64\n %24 = add i64 %23, 8\n %25 = inttoptr i64 %24 to i64*\n store i64 4198736, i64* %25, align 8\n %26 = load i64, i64* %sv_2, align 8\n %27 = load i32, i32* %22, align 8\n %28 = call i64 @FUNC(i64 %23, i32 %27, i64 %sv_1.0.reload, i64 %arg3, i32 %sv_0.0.reload, i64 %26)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %16, { 1, 0 }\n uselistorder i32 %4, { 2, 5, 3, 0, 1, 4, 7, 6 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %sv_2, { 2, 0, 3, 1, 4 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64, i64, i64*)* @XmlPrologTok, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder i64 %arg2, { 2, 0, 1, 3, 4, 5 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_10, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_9, { 2, 3, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_private_subtags_6510", "fun_name": "get_private_subtags", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem30 = alloca i64\n %sv_1.0724.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_1.07.lcssa.reg2mem = alloca i32\n %.lcssa20.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %2, label LBL_9, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_9, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %arg1 to i8*\n %8 = call i32 @strlen(i8* %7)\n %9 = call i64 @FUNC(i64 %arg1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, -1\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_3, label LBL_9\n LBL_3:\n %sext22 = mul i64 %9, 4294967296\n %13 = ashr exact i64 %sext22, 32\n %14 = add i64 %13, %arg1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = icmp ne i8 %16, 120\n %18 = icmp eq i8 %16, 88\n %19 = icmp eq i1 %18, false\n %or.cond23 = icmp eq i1 %17, %19\n store i32 %10, i32* %.lcssa20.reg2mem\n store i32 %8, i32* %sv_1.07.lcssa.reg2mem\n store i64 %14, i64* %.lcssa.reg2mem\n store i64 %14, i64* %.reg2mem\n store i32 %8, i32* %sv_1.0724.reg2mem\n store i64 %9, i64* %.reg2mem30\n br i1 %or.cond23, label LBL_7, label LBL_5\n LBL_4:\n %sext = mul i64 %40, 4294967296\n %20 = ashr exact i64 %sext, 32\n %21 = add i64 %20, %37\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = icmp ne i8 %23, 120\n %25 = icmp eq i8 %23, 88\n %26 = icmp eq i1 %25, false\n %or.cond = icmp eq i1 %24, %26\n store i32 %41, i32* %.lcssa20.reg2mem\n store i32 %39, i32* %sv_1.07.lcssa.reg2mem\n store i64 %21, i64* %.lcssa.reg2mem\n store i64 %21, i64* %.reg2mem\n store i32 %39, i32* %sv_1.0724.reg2mem\n store i64 %40, i64* %.reg2mem30\n br i1 %or.cond, label LBL_7, label LBL_5\n LBL_5:\n %sv_1.07.lcssa.reload = load i32, i32* %sv_1.07.lcssa.reg2mem\n %.lcssa20.reload = load i32, i32* %.lcssa20.reg2mem\n %27 = add i32 %.lcssa20.reload, 2\n %28 = icmp eq i32 %sv_1.07.lcssa.reload, %27\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %28, label LBL_9, label LBL_6\n LBL_6:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %29 = sub i32 %sv_1.07.lcssa.reload, %27\n %30 = sext i32 %29 to i64\n %31 = add i64 %.lcssa.reload, 2\n %32 = call i64 @FUNC(i64 %31, i64 %30)\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %.reload31 = load i64, i64* %.reg2mem30\n %sv_1.0724.reload = load i32, i32* %sv_1.0724.reg2mem\n %33 = add i64 %.reload31, 1\n %34 = and i64 %33, 4294967295\n %35 = sext i32 %sv_1.0724.reload to i64\n %36 = icmp slt i64 %34, %35\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %36, label LBL_8, label LBL_9\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %37 = add i64 %.reload, 1\n %38 = inttoptr i64 %37 to i8*\n %39 = call i32 @strlen(i8* %38)\n %40 = call i64 @FUNC(i64 %37)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, -1\n %43 = icmp eq i1 %42, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %43, label LBL_4, label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %41, { 1, 0 }\n uselistorder i64 %40, { 2, 1, 0 }\n uselistorder i32 %39, { 1, 0 }\n uselistorder i64 %37, { 1, 2, 0 }\n uselistorder i32 %sv_1.07.lcssa.reload, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0724.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem30, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 2, 4, 5, 3, 6, 7 }\n uselistorder i8 88, { 1, 0 }\n uselistorder i8 120, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64)* @getSingletonPos, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i1 false, { 4, 2, 0, 1, 3, 5 }\n uselistorder label LBL_9, { 0, 1, 4, 3, 2, 5, 6 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow2_alloc_cluster_link_l2_1340", "fun_name": "qcow2_alloc_cluster_link_l2", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %.pre-phi11.reg2mem = alloca i64*\n %sv_1.15.reg2mem = alloca i32\n %storemerge36.reg2mem = alloca i32\n %.reg2mem12 = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = call i64 @FUNC()\n %7 = zext i32 %5 to i64\n %8 = call i64 @FUNC(i64 %6, i64 %7)\n %9 = load i32, i32* %4, align 4\n %10 = icmp eq i32 %9, 0\n %11 = icmp slt i32 %9, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %10, false\n %14 = icmp eq i1 %12, %13\n store i32 %9, i32* %.reg2mem\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 93, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %4, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %15 = ptrtoint i64* %arg1 to i64\n %.reload = load i32, i32* %.reg2mem\n %16 = sext i32 %.reload to i64\n %17 = mul i64 %16, 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %2, 16\n %20 = call i64 @FUNC(i64 %15, i64 %2, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n store i64 %20, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_20, label LBL_3\n LBL_3:\n %23 = add i64 %2, 24\n %24 = call i64 @FUNC(i64 %15, i64 %2, i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp slt i32 %25, 0\n store i64 %24, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_20, label LBL_4\n LBL_4:\n %27 = trunc i64 %1 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = call i64 @FUNC(i64 %15)\n br label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %15)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_8, label LBL_7\n LBL_7:\n %33 = add i64 %15, 16\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = add i64 %15, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %15, i64 %38, i64 %35)\n br label LBL_8\n LBL_8:\n %40 = add i64 %2, 32\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = bitcast i32* %sv_3 to i64*\n %44 = call i64 @FUNC(i64 %15, i64 %42, i64* nonnull %sv_2, i64* nonnull %43)\n %45 = trunc i64 %44 to i32\n %46 = icmp slt i32 %45, 0\n store i64 %44, i64* %sv_0.0.reg2mem\n br i1 %46, label LBL_20, label LBL_9\n LBL_9:\n %47 = load i64, i64* %sv_2, align 8\n %48 = add i64 %15, 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = call i64 @FUNC(i64 %50, i64 %47)\n %52 = load i32, i32* %4, align 4\n %53 = load i32, i32* %sv_3, align 4\n %54 = add i32 %53, %52\n %55 = add i64 %15, 4\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = icmp ugt i32 %54, %57\n store i32 %52, i32* %.reg2mem12\n br i1 %58, label LBL_10, label LBL_11\n LBL_10:\n call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 110, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n %.pre7 = load i32, i32* %4, align 4\n store i32 %.pre7, i32* %.reg2mem12\n br label LBL_11\n LBL_11:\n %.reload13 = load i32, i32* %.reg2mem12\n %59 = icmp eq i32 %.reload13, 0\n store i32 0, i32* %sv_1.1.lcssa.reg2mem\n br i1 %59, label LBL_16, label LBL_12\n LBL_12:\n %60 = add i64 %15, 24\n %61 = inttoptr i64 %60 to i32*\n store i32 0, i32* %storemerge36.reg2mem\n store i32 0, i32* %sv_1.15.reg2mem\n br label LBL_13\n LBL_13:\n %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %62 = load i64, i64* %sv_2, align 8\n %63 = load i32, i32* %sv_3, align 4\n %64 = add i32 %63, %storemerge36.reload\n %65 = sext i32 %64 to i64\n %66 = mul i64 %65, 8\n %67 = add i64 %66, %62\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = icmp eq i64 %69, 0\n store i64* %68, i64** %.pre-phi11.reg2mem\n store i32 %sv_1.15.reload, i32* %sv_1.0.reg2mem\n br i1 %70, label LBL_15, label LBL_14\n LBL_14:\n %71 = add i32 %sv_1.15.reload, 1\n %72 = sext i32 %sv_1.15.reload to i64\n %73 = mul i64 %72, 8\n %74 = add i64 %73, %18\n %75 = inttoptr i64 %74 to i64*\n store i64 %69, i64* %75, align 8\n %.pre8 = load i64, i64* %sv_2, align 8\n %.pre9 = add i64 %.pre8, %66\n %.pre10 = inttoptr i64 %.pre9 to i64*\n store i64* %.pre10, i64** %.pre-phi11.reg2mem\n store i32 %71, i32* %sv_1.0.reg2mem\n br label LBL_15\n LBL_15:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %.pre-phi11.reload = load i64*, i64** %.pre-phi11.reg2mem\n %76 = load i32, i32* %61, align 4\n %77 = urem i32 %76, 32\n %78 = shl i32 %storemerge36.reload, %77\n %79 = sext i32 %78 to i64\n %80 = add i64 %79, %2\n %81 = or i64 %80, 1\n %82 = call i64 @FUNC(i64 %81)\n store i64 %82, i64* %.pre-phi11.reload, align 8\n %83 = add i32 %storemerge36.reload, 1\n %84 = load i32, i32* %4, align 4\n %85 = zext i32 %84 to i64\n %86 = sext i32 %83 to i64\n %87 = icmp slt i64 %86, %85\n store i32 %83, i32* %storemerge36.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.15.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %87, label LBL_13, label LBL_16\n LBL_16:\n %88 = load i64, i64* %49, align 8\n %89 = call i64 @FUNC(i64 %15, i64 %88, i64* nonnull %sv_2)\n %90 = trunc i64 %89 to i32\n %91 = icmp slt i32 %90, 0\n store i64 %89, i64* %sv_0.0.reg2mem\n br i1 %91, label LBL_20, label LBL_17\n LBL_17:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %92 = icmp sgt i32 %sv_1.1.lcssa.reload, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %92, label LBL_18, label LBL_20\n LBL_18:\n %wide.trip.count = zext i32 %sv_1.1.lcssa.reload to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_19\n LBL_19:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %93 = mul i64 %indvars.iv.reload, 8\n %94 = add i64 %93, %18\n %95 = inttoptr i64 %94 to i64*\n %96 = load i64, i64* %95, align 8\n %97 = call i64 @FUNC(i64 %96)\n %98 = call i64 @FUNC(i64 %15, i64 %97, i64 1, i64 0)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %exitcond, label LBL_20, label LBL_19\n LBL_20:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %99 = call i64 @FUNC(i64 %18)\n %100 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %100\n\n uselistorder i64 %66, { 1, 0 }\n uselistorder i32 %sv_1.15.reload, { 2, 1, 0 }\n uselistorder i64 %18, { 2, 0, 1 }\n uselistorder i64 %15, { 4, 5, 6, 7, 8, 9, 1, 3, 2, 10, 0, 11, 12 }\n uselistorder i32 %9, { 0, 2, 1 }\n uselistorder i32* %4, { 2, 0, 3, 1, 4, 5 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0, 3, 4, 2 }\n uselistorder i64 %2, { 0, 1, 3, 2, 5, 4, 6 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.15.reg2mem, { 1, 0, 2 }\n uselistorder i64** %.pre-phi11.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64, i64)* @perform_cow, { 1, 0 }\n uselistorder i64 (i64)* @g_malloc, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 3, 5, 1, 2, 0, 4, 6, 7, 8, 9, 10, 11, 12, 13 }\n uselistorder i64 8, { 0, 1, 2, 4, 5, 3, 6 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cmd_write_pio_8970", "fun_name": "cmd_write_pio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = trunc i64 %arg2 to i8\n %8 = icmp eq i8 %7, 66\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %2, i64 %9)\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 3, i32* %14, align 4\n %15 = add i64 %2, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %2, i64 %17, i64 512, i64 4198743)\n %19 = add i64 %2, 12\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 3, 2, 1, 4, 6, 5, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "linenoiseHistorySave_12574", "fun_name": "linenoiseHistorySave", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = call %_IO_FILE* @fopen(i8* %arg1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %1 = icmp eq %_IO_FILE* %0, null\n %2 = icmp eq i1 %1, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = load i32, i32* @gv_1, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge23.reg2mem\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = mul i64 %.reload, 8\n %6 = add i64 %5, ptrtoint (i64* @gv_2 to i64)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i8*\n %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0), i8* %9)\n %11 = add i32 %storemerge23.reload, 1\n %12 = load i32, i32* @gv_1, align 4\n %13 = zext i32 %12 to i64\n %14 = sext i32 %11 to i64\n %15 = icmp slt i64 %14, %13\n store i64 %14, i64* %.reg2mem\n store i32 %11, i32* %storemerge23.reg2mem\n br i1 %15, label LBL_2, label LBL_3\n LBL_3:\n %16 = call i32 @fclose(%_IO_FILE* %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge23.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "efivar_ssdt_setup_5841", "fun_name": "efivar_ssdt_setup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = and i64 %0, 4294967295\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %4 = bitcast i64* %arg1 to i8*\n %5 = call i32 @strlen(i8* %4)\n %6 = icmp ult i32 %5, 256\n br i1 %6, label LBL_3, label LBL_4\n LBL_3:\n %7 = call i32 @strlen(i8* %4)\n %8 = call i64* @memcpy(i64* nonnull @gv_0, i64* %arg1, i32 %7)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %9 = ptrtoint i64* %arg1 to i64\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %9)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64* %arg1, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "svm_need_emulation_on_page_fault_5672", "fun_name": "svm_need_emulation_on_page_fault", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = udiv i64 %3, 4096\n %5 = call i64 @FUNC(i64 %0, i64 %4)\n %6 = trunc i64 %5 to i8\n %7 = icmp eq i8 %6, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = trunc i64 %2 to i32\n %9 = icmp eq i32 %8, 3\n %10 = and i64 %1, 4096\n %11 = icmp eq i64 %10, 0\n %12 = and i64 %1, 8192\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n %15 = or i1 %11, %9\n %16 = icmp eq i1 %14, %15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_4\n LBL_2:\n %17 = call i64 @FUNC(i64 %0)\n %18 = trunc i64 %17 to i8\n %19 = icmp eq i8 %18, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0))\n %21 = call i64 @FUNC(i64 1, i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 1, { 3, 0, 1, 2 }\n uselistorder i64 4096, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fib6_alloc_table_13138", "fun_name": "fib6_alloc_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 40, i64 0)\n %1 = icmp eq i64 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %0 to i32*\n %3 = trunc i64 %arg2 to i32\n store i32 %3, i32* %2, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6, i64 40)\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 7, i32* %9, align 4\n %10 = add i64 %0, 24\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %0, 32\n %13 = call i64 @FUNC(i64 %12)\n br label LBL_2\n LBL_2:\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_fast_malloc_1112", "fun_name": "ff_fast_malloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %1, 4294967295\n %3 = icmp ugt i64 %2, %arg3\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = udiv i64 %arg3, 16\n %7 = add i64 %arg3, 32\n %8 = add i64 %7, %6\n %9 = icmp ugt i64 %8, %arg3\n %10 = select i1 %9, i64 %8, i64 %arg3\n %11 = call i64 @FUNC(i64 %5)\n %12 = icmp eq i32 %arg4, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %10)\n store i64 %13, i64* %storemerge2.reg2mem\n br label LBL_4\n LBL_3:\n %14 = call i64 @FUNC(i64 %10)\n store i64 %14, i64* %storemerge2.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n store i64 %storemerge2.reload, i64* %arg1, align 8\n %15 = icmp eq i64 %storemerge2.reload, 0\n %16 = icmp eq i1 %15, false\n %17 = trunc i64 %10 to i32\n %18 = select i1 %16, i32 %17, i32 0\n store i32 %18, i32* %arg2, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg3, { 3, 2, 1, 0, 4 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_system_killed_2503", "fun_name": "qemu_system_killed", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = trunc i64 %arg2 to i32\n store i32 %0, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i32 %1, i32* @gv_1, align 4\n store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i32 1, i32* inttoptr (i64 4210748 to i32*), align 4\n %2 = call i64 @FUNC()\n ret i64 %2\n\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "malloc_wrapper_12521", "fun_name": "malloc_wrapper", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "Fp_toString_6545", "fun_name": "Fp_toString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.07.reg2mem = alloca i32\n %storemerge38.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 0)\n %1 = call i64 @FUNC(i64 %arg1, i64 0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = inttoptr i64 %0 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp ne i32 %7, 1\n %9 = icmp eq i32 %7, 2\n %10 = icmp eq i1 %9, false\n %or.cond = icmp eq i1 %8, %10\n br i1 %or.cond, label LBL_14, label LBL_3\n LBL_3:\n %11 = add i64 %0, 32\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i8*\n %17 = call i32 @strlen(i8* %16)\n %18 = add i32 %17, 19\n %19 = add i64 %13, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n store i32 %18, i32* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_6, label LBL_4\n LBL_4:\n %23 = add i64 %13, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge38.reg2mem\n store i32 %18, i32* %sv_0.07.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %25 = load i64, i64* %24, align 8\n %26 = mul i64 %.reload, 8\n %27 = add i64 %25, %26\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %29 to i8*\n %31 = call i32 @strlen(i8* %30)\n %32 = add i32 %sv_0.07.reload, 1\n %33 = add i32 %32, %31\n %34 = add i32 %storemerge38.reload, 1\n %35 = load i32, i32* %20, align 4\n %36 = zext i32 %35 to i64\n %37 = sext i32 %34 to i64\n %38 = icmp slt i64 %37, %36\n store i64 %37, i64* %.reg2mem\n store i32 %34, i32* %storemerge38.reg2mem\n store i32 %33, i32* %sv_0.07.reg2mem\n store i32 %33, i32* %sv_0.0.lcssa.reg2mem\n br i1 %38, label LBL_5, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %39 = add i32 %sv_0.0.lcssa.reload, 1\n %40 = sext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %arg1, i64 %40)\n %42 = inttoptr i64 %41 to i8*\n %43 = inttoptr i64 %41 to i64*\n store i64 7957695015192261990, i64* %43, align 8\n %44 = add i64 %41, 8\n %45 = inttoptr i64 %44 to i16*\n store i16 32, i16* %45, align 2\n %46 = load i64, i64* %14, align 8\n %47 = inttoptr i64 %46 to i8*\n %48 = call i8* @strcat(i8* %42, i8* %47)\n %49 = call i32 @strlen(i8* %42)\n %50 = sext i32 %49 to i64\n %51 = add i64 %41, %50\n %52 = inttoptr i64 %51 to i16*\n store i16 40, i16* %52, align 2\n %53 = load i32, i32* %20, align 4\n %54 = icmp eq i32 %53, 0\n br i1 %54, label LBL_11, label LBL_7\n LBL_7:\n %55 = add i64 %13, 16\n %56 = inttoptr i64 %55 to i64*\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %57 = icmp slt i32 %storemerge6.reload, 1\n br i1 %57, label LBL_10, label LBL_9\n LBL_9:\n %58 = call i32 @strlen(i8* %42)\n %59 = sext i32 %58 to i64\n %60 = add i64 %41, %59\n %61 = inttoptr i64 %60 to i16*\n store i16 44, i16* %61, align 2\n br label LBL_10\n LBL_10:\n %62 = load i64, i64* %56, align 8\n %63 = mul i64 %.reload11, 8\n %64 = add i64 %62, %63\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = inttoptr i64 %66 to i8*\n %68 = call i8* @strcat(i8* %42, i8* %67)\n %69 = add i32 %storemerge6.reload, 1\n %70 = load i32, i32* %20, align 4\n %71 = zext i32 %70 to i64\n %72 = sext i32 %69 to i64\n %73 = icmp slt i64 %72, %71\n store i64 %72, i64* %.reg2mem10\n store i32 %69, i32* %storemerge6.reg2mem\n br i1 %73, label LBL_8, label LBL_11\n LBL_11:\n %74 = call i32 @strlen(i8* %42)\n %75 = sext i32 %74 to i64\n %76 = add i64 %41, %75\n %77 = inttoptr i64 %76 to i64*\n store i64 2318841633790697513, i64* %77, align 8\n %78 = add i64 %76, 8\n %79 = inttoptr i64 %78 to i16*\n store i16 125, i16* %79, align 2\n %80 = call i64 @FUNC(i64 %arg1)\n %81 = trunc i64 %80 to i32\n %82 = icmp eq i32 %81, 0\n br i1 %82, label LBL_13, label LBL_12\n LBL_12:\n %83 = call i64 @FUNC(i64 %arg1, i64 %41)\n %84 = call i64 @FUNC(i64 %arg1)\n br label LBL_13\n LBL_13:\n %85 = call i64 @FUNC(i64 %arg1, i64 %41)\n %86 = call i64 @FUNC(i64 %arg1, i64 %41)\n %87 = call i64 @FUNC(i64 %arg1)\n store i64 %87, i64* %storemerge4.reg2mem\n br label LBL_15\n LBL_14:\n %88 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0))\n store i64 %88, i64* %storemerge4.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i64 %76, { 1, 0 }\n uselistorder i8* %42, { 0, 2, 1, 3, 4 }\n uselistorder i64 %41, { 3, 4, 5, 0, 1, 2, 8, 7, 6 }\n uselistorder i32* %20, { 0, 1, 3, 2 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64 %13, { 0, 2, 1, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem10, { 1, 0, 2 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @js_free, { 1, 0 }\n uselistorder i8* (i8*, i8*)* @strcat, { 1, 0 }\n uselistorder i64 8, { 2, 0, 3, 1, 4, 5, 6 }\n uselistorder i32 (i8*)* @strlen, { 3, 4, 1, 2, 0 }\n uselistorder i32 1, { 12, 9, 14, 13, 8, 10, 7, 6, 5, 4, 3, 2, 1, 0, 11, 15 }\n uselistorder i64 %arg1, { 1, 6, 5, 4, 3, 2, 7, 8, 0, 9, 10 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pass_add_hook_4231", "fun_name": "pass_add_hook", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %arg2, i64* %sv_0, align 8\n %3 = trunc i64 %1 to i32\n %4 = icmp sgt i32 %3, 9\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i32 %3, 1\n %6 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %6, align 4\n %sext = mul i64 %1, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = ashr exact i64 %sext, 29\n %9 = add i64 %2, 8\n %10 = add i64 %9, %8\n %11 = inttoptr i64 %10 to i64*\n store i64 %arg2, i64* %11, align 8\n ret i64 %7\n LBL_2:\n %12 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 10)\n %13 = icmp eq i64 %arg2, 0\n %14 = ptrtoint i64* %sv_0 to i64\n %spec.select = select i1 %13, i64 0, i64 %14\n ret i64 %spec.select\n\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mips_cpu_initfn_317", "fun_name": "mips_cpu_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC()\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vidioc_streamon_17815", "fun_name": "vidioc_streamon", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %1, i64* %rax.0.in.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0)\n %7 = icmp slt i64 %6, 0\n %8 = zext i1 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %6, i64* %rax.0.in.reg2mem\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n %12 = add i64 %0, 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64 @FUNC(i64 %0)\n store i64 %13, i64* %rax.0.in.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem\n %rax.0 = and i64 %rax.0.in.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "arcmsr_hbaD_request_device_map_10564", "fun_name": "arcmsr_hbaD_request_device_map", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = urem i32 %9, 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i32 @clock()\n %13 = add i64 %0, 24\n %14 = call i64 @FUNC(i64 %13, i64 0)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_3:\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %0, 20\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = call i64 @FUNC(i64 %1)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %19, %21\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = call i64 @FUNC(i64 %1, i64 16)\n br label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %1)\n %26 = and i64 %25, 4294967295\n %27 = call i64 @FUNC(i64 %17, i64 %26)\n %28 = call i64 @FUNC(i64 %1)\n %29 = trunc i64 %28 to i8\n %30 = icmp eq i8 %29, 0\n br i1 %30, label LBL_7, label LBL_6\n LBL_6:\n %31 = call i32 @clock()\n %32 = add i64 %0, 24\n %33 = call i64 @FUNC(i64 %32, i64 0)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %34 = bitcast i64* %rdi to i32*\n %35 = load i32, i32* %34, align 8\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 305419896, i64 %36)\n %38 = call i32 @clock()\n %39 = add i64 %0, 24\n %40 = call i64 @FUNC(i64 %39, i64 0)\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 3, 2, 4 }\n uselistorder i64 %0, { 1, 0, 2, 4, 5, 3, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 }\n uselistorder i64 (i64, i64)* @mod_timer, { 2, 1, 0 }\n uselistorder i32 ()* @clock, { 2, 0, 1 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 (i64)* @atomic_read, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "archive_read_support_format_all_5195", "fun_name": "archive_read_support_format_all", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1, i64 2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0)\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC(i64 %0)\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %0)\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %0)\n %14 = call i64 @FUNC(i64 %0)\n %15 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 %0, { 8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 10, 11, 12, 13, 14 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_bit_14623", "fun_name": "parse_bit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = inttoptr i64 %arg3 to i8*\n %3 = call i32 @strcasecmp(i8* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %1, i64 %0, i64 1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %7 = call i32 @strcasecmp(i8* %2, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %1, i64 %0, i64 0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64, i64)* @bit_prop_set, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcasecmp, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs_wb_all_8642", "fun_name": "nfs_wb_all", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n store i32 1, i32* %sv_0, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0)\n %3 = and i64 %2, 4294967295\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sock_release_8537", "fun_name": "sock_release", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %1, align 8\n %2 = call i64 @FUNC(i64 %arg1)\n br label LBL_2\n LBL_2:\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5, i64 1)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %11 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %12 = sext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12, i64 1)\n %14 = add i64 %arg1, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %arg1)\n %20 = call i64 @FUNC(i64 %19)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n store i64 0, i64* %15, align 8\n store i64 %arg1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 3, 2, 4, 1, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Fopen_8920", "fun_name": "Fopen", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca %_IO_FILE*\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_1 = alloca i32, align 4\n %4 = icmp ne i8* %arg1, null\n %5 = icmp eq i64* %arg2, null\n %6 = icmp eq i1 %5, false\n %or.cond = icmp eq i1 %4, %6\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_24\n LBL_1:\n %7 = trunc i64 %2 to i8\n %8 = icmp ne i8 %7, 114\n %9 = icmp eq i8 %7, 119\n %10 = icmp eq i1 %9, false\n %or.cond5 = icmp eq i1 %8, %10\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond5, label LBL_24, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = add i64 %11, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_24\n LBL_3:\n %16 = call i64* @malloc(i32 24)\n %17 = icmp eq i64* %16, null\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_24\n LBL_4:\n %19 = ptrtoint i32* %sv_1 to i64\n %20 = trunc i64 %19 to i32\n %21 = insertvalue [2 x i32] undef, i32 %20, 0\n %22 = call i32 @pipe([2 x i32] %21)\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n call void @free(i64* %16)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_6:\n %25 = call i32 @fork()\n switch i32 %25, label LBL_20 [\n i32 -1, label LBL_7\n i32 0, label LBL_8\n ]\n LBL_7:\n %26 = load i32, i32* %sv_1, align 4\n %27 = call i32 @close(i32 %26)\n %28 = call i32 @close(i32 %3)\n call void @free(i64* %16)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_8:\n %29 = call i32 @getgid()\n %30 = call i32 @setgid(i32 %29)\n %31 = icmp eq i32 %30, -1\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n call void @_exit(i32 127)\n unreachable\n LBL_10:\n %33 = call i32 @getuid()\n %34 = call i32 @setuid(i32 %33)\n %35 = icmp eq i32 %34, -1\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_12, label LBL_11\n LBL_11:\n call void @_exit(i32 127)\n unreachable\n LBL_12:\n %37 = icmp eq i8 %7, 114\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_16, label LBL_13\n LBL_13:\n %39 = icmp eq i32 %3, 1\n br i1 %39, label LBL_15, label LBL_14\n LBL_14:\n %40 = call i32 @dup2(i32 %3, i32 1)\n %41 = call i32 @close(i32 %3)\n br label LBL_15\n LBL_15:\n %42 = load i32, i32* %sv_1, align 4\n %43 = call i32 @close(i32 %42)\n br label LBL_19\n LBL_16:\n %44 = load i32, i32* %sv_1, align 4\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_18, label LBL_17\n LBL_17:\n %46 = call i32 @dup2(i32 %44, i32 0)\n %47 = load i32, i32* %sv_1, align 4\n %48 = call i32 @close(i32 %47)\n br label LBL_18\n LBL_18:\n %49 = call i32 @close(i32 %3)\n br label LBL_19\n LBL_19:\n %50 = call i32 (i8*, i8*, ...) @execl(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n call void @_exit(i32 127)\n unreachable\n LBL_20:\n %51 = call i64 @FUNC()\n %52 = icmp eq i8 %7, 114\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_22, label LBL_21\n LBL_21:\n %54 = load i32, i32* %sv_1, align 4\n %55 = bitcast i64* %arg2 to i8*\n %56 = call %_IO_FILE* @fdopen(i32 %54, i8* %55)\n %57 = call i32 @close(i32 %3)\n store %_IO_FILE* %56, %_IO_FILE** %sv_0.0.in.reg2mem\n br label LBL_23\n LBL_22:\n %58 = bitcast i64* %arg2 to i8*\n %59 = call %_IO_FILE* @fdopen(i32 %3, i8* %58)\n %60 = load i32, i32* %sv_1, align 4\n %61 = call i32 @close(i32 %60)\n store %_IO_FILE* %59, %_IO_FILE** %sv_0.0.in.reg2mem\n br label LBL_23\n LBL_23:\n %62 = ptrtoint i64* %16 to i64\n %sv_0.0.in.reload = load %_IO_FILE*, %_IO_FILE** %sv_0.0.in.reg2mem\n %sv_0.0 = ptrtoint %_IO_FILE* %sv_0.0.in.reload to i64\n store i64 %sv_0.0, i64* %16, align 8\n %63 = add i64 %62, 8\n %64 = inttoptr i64 %63 to i32*\n store i32 %25, i32* %64, align 4\n %65 = load i64, i64* @gv_2, align 8\n %66 = add i64 %62, 16\n %67 = inttoptr i64 %66 to i64*\n store i64 %65, i64* %67, align 8\n store i64 %62, i64* @gv_2, align 8\n %68 = ptrtoint i8* %arg1 to i64\n %69 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_3, i64 0, i64 0), i64 %68, i64 %sv_0.0)\n store i64 %sv_0.0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0, { 0, 2, 1 }\n uselistorder i32 %25, { 1, 0 }\n uselistorder i64* %16, { 1, 4, 0, 2, 3 }\n uselistorder i8 %7, { 0, 1, 3, 2 }\n uselistorder i32* %sv_1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 %3, { 0, 1, 2, 4, 3, 5, 6 }\n uselistorder %_IO_FILE** %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 7, 5, 1, 2, 3, 4 }\n uselistorder %_IO_FILE* (i32, i8*)* @fdopen, { 1, 0 }\n uselistorder i32 (i32, i32)* @dup2, { 1, 0 }\n uselistorder void (i32)* @_exit, { 2, 1, 0 }\n uselistorder i32 (i32)* @close, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 -1, { 1, 2, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i8 114, { 1, 0, 2 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 0, 1 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i32 1, { 7, 6, 8, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 2, 3, 0 }\n uselistorder label LBL_24, { 4, 5, 6, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vector64_dst_append_11984", "fun_name": "vector64_dst_append", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i8\n %rax.0.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i8, i8* %1\n %sv_0 = alloca i32, align 4\n %5 = and i64 %arg4, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %sv_0, align 4\n %8 = icmp eq i32 %7, -1\n %spec.select = select i1 %8, i64 %arg5, i64 %6\n %9 = icmp eq i8 %4, 0\n %10 = trunc i64 %spec.select to i32\n %11 = icmp eq i32 %10, -1\n %or.cond = or i1 %9, %11\n br i1 %or.cond, label LBL_6, label LBL_1\n LBL_1:\n %12 = bitcast i32* %sv_0 to i64*\n %13 = call i64 @FUNC(i64* nonnull %12)\n %14 = trunc i64 %13 to i32\n %sext10 = mul i64 %13, 4294967296\n %15 = icmp slt i32 %14, 1\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge11.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %sext = add i64 %sext10, -4294967296\n %16 = ashr exact i64 %sext, 32\n %17 = urem i64 %16, 4\n %phitmp = mul i64 %17, 8\n %phitmp14 = add i64 %phitmp, ptrtoint (i64* @gv_0 to i64)\n store i64 %phitmp14, i64* %storemerge11.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.0.in = mul i64 %spec.select, 4294967296\n %18 = ashr exact i64 %sv_1.0.in, 32\n %19 = ashr exact i64 %sext10, 32\n %20 = mul nsw i64 %19, %18\n %21 = trunc i64 %20 to i32\n %storemerge11.reload = load i64, i64* %storemerge11.reg2mem\n %22 = inttoptr i64 %storemerge11.reload to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp slt i32 %21, 64\n %25 = add i32 %21, -64\n %sv_2.0 = select i1 %24, i32 %21, i32 %25\n %sv_3.0 = select i1 %24, i8* bitcast (i8** @gv_1 to i8*), i8* bitcast (i64* @gv_2 to i8*)\n %sv_2.0.off = add i32 %sv_2.0, -1\n %26 = icmp ugt i32 %sv_2.0.off, 62\n br i1 %26, label LBL_5, label LBL_4\n LBL_4:\n %27 = ptrtoint i8* %sv_3.0 to i64\n %sext15 = mul i64 %23, 4294967296\n %28 = ashr exact i64 %sext15, 32\n %29 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i32 %sv_2.0, i64 %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %27)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %30 = trunc i64 %23 to i32\n %31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i32 %30, i64 ptrtoint ([3 x i8]* @gv_4 to i64), i8* %sv_3.0, i64 ptrtoint ([9 x i8]* @gv_6 to i64))\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %32 = inttoptr i64 %arg5 to i8*\n %33 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0), i32 ptrtoint ([3 x i8]* @gv_4 to i32), i64 %arg4, i8* %32, i64 %2)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %sv_3.0, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i32 %21, { 0, 2, 1 }\n uselistorder i32* %sv_0, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64* %storemerge11.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i8*, i32, i64, i8*, i64)* @r_strbuf_appendf, { 2, 1, 0 }\n uselistorder [3 x i8]* @gv_4, { 0, 2, 1 }\n uselistorder i64 32, { 0, 2, 3, 1 }\n uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 }\n uselistorder i64 4294967296, { 0, 2, 1 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ipu_plane_dpms_3974", "fun_name": "ipu_plane_dpms", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %3)\n %5 = icmp eq i32 %2, 1\n %6 = zext i1 %5 to i8\n %7 = trunc i64 %1 to i8\n %8 = urem i64 %1, 256\n %9 = icmp eq i8 %7, %6\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %9, label LBL_5, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = icmp eq i1 %5, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %10)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %13 = call i64 @FUNC(i64 %10)\n %14 = add i64 %10, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i64 %10, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %10, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = zext i32 %26 to i64\n %29 = call i64 @FUNC(i64 %28)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %26, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 3, 2, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_5, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_socket_send_913", "fun_name": "net_socket_send", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.2.reg2mem = alloca i64\n %sv_0.0.ph6.reg2mem = alloca i32\n %sv_1.0.ph7.reg2mem = alloca i64\n %rax.1.ph.be.reg2mem = alloca i64\n %sv_1.0.ph.be.reg2mem = alloca i64\n %sv_0.0.ph.be.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = call i32 @recv(i32 %2, i64* nonnull %sv_2, i32 4096, i32 0)\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 11\n store i32 %2, i32* %.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_2:\n %9 = icmp eq i32 %3, 0\n %10 = icmp eq i1 %9, false\n store i32 %2, i32* %.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %11 = zext i32 %.reload to i64\n %12 = call i64 @FUNC(i64 %11, i64 0, i64 0, i64 0)\n %13 = call i64 @FUNC(i64 %11)\n store i64 %13, i64* %rax.2.reg2mem\n br label LBL_15\n LBL_4:\n %14 = ptrtoint i64* %sv_2 to i64\n %15 = icmp eq i32 %3, 0\n %16 = icmp eq i1 %15, false\n %17 = icmp eq i1 %5, %16\n store i64 %14, i64* %rax.2.reg2mem\n br i1 %17, label LBL_5, label LBL_15\n LBL_5:\n %18 = ptrtoint i64* %arg1 to i64\n %19 = bitcast i64* %rdi to i32*\n %20 = add i64 %18, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = add i64 %18, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = add i64 %18, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = add i64 %18, 16\n %27 = add i64 %18, 4112\n %28 = inttoptr i64 %27 to i64*\n %29 = inttoptr i64 %26 to i32*\n store i64 %14, i64* %sv_1.0.ph7.reg2mem\n store i32 %3, i32* %sv_0.0.ph6.reg2mem\n br label LBL_6.lr.ph\n LBL_6:\n switch i32 %76, label LBL_6 [\n i32 0, label LBL_7\n i32 1, label LBL_10\n ]\n LBL_7:\n %30 = load i32, i32* %25, align 4\n %31 = sub i32 4, %30\n %32 = icmp ugt i32 %31, %sv_0.0.ph6.reload\n %spec.select = select i1 %32, i32 %sv_0.0.ph6.reload, i32 %31\n %33 = sext i32 %30 to i64\n %34 = add i64 %26, %33\n %35 = inttoptr i64 %34 to i64*\n %36 = inttoptr i64 %sv_1.0.ph7.reload to i64*\n %37 = call i64* @memcpy(i64* %35, i64* %36, i32 %spec.select)\n %38 = zext i32 %spec.select to i64\n %39 = add i64 %sv_1.0.ph7.reload, %38\n %40 = sub i32 %sv_0.0.ph6.reload, %spec.select\n %41 = load i32, i32* %25, align 4\n %42 = add i32 %spec.select, %41\n store i32 %42, i32* %25, align 4\n %43 = zext i32 %42 to i64\n %44 = icmp eq i32 %42, 4\n %45 = icmp eq i1 %44, false\n store i32 %40, i32* %sv_0.0.ph.be.reg2mem\n store i64 %39, i64* %sv_1.0.ph.be.reg2mem\n store i64 %43, i64* %rax.1.ph.be.reg2mem\n br i1 %45, label LBL_8, label LBL_9\n LBL_8:\n %rax.1.ph.be.reload = load i64, i64* %rax.1.ph.be.reg2mem\n %sv_1.0.ph.be.reload = load i64, i64* %sv_1.0.ph.be.reg2mem\n %sv_0.0.ph.be.reload = load i32, i32* %sv_0.0.ph.be.reg2mem\n %46 = icmp eq i32 %sv_0.0.ph.be.reload, 0\n %47 = icmp slt i32 %sv_0.0.ph.be.reload, 0\n %48 = icmp eq i1 %47, false\n %49 = icmp eq i1 %46, false\n %50 = icmp eq i1 %48, %49\n store i64 %sv_1.0.ph.be.reload, i64* %sv_1.0.ph7.reg2mem\n store i32 %sv_0.0.ph.be.reload, i32* %sv_0.0.ph6.reg2mem\n store i64 %rax.1.ph.be.reload, i64* %rax.2.reg2mem\n br i1 %50, label LBL_6.lr.ph, label LBL_15\n LBL_9:\n %51 = load i32, i32* %29, align 4\n %52 = call i32 @ntohl(i32 %51)\n store i32 %52, i32* %23, align 4\n store i32 0, i32* %25, align 4\n store i32 1, i32* %21, align 4\n store i32 %40, i32* %sv_0.0.ph.be.reg2mem\n store i64 %39, i64* %sv_1.0.ph.be.reg2mem\n store i64 %18, i64* %rax.1.ph.be.reg2mem\n br label LBL_8\n LBL_10:\n %53 = load i32, i32* %23, align 4\n %54 = load i32, i32* %25, align 4\n %55 = sub i32 %53, %54\n %56 = icmp ugt i32 %55, %sv_0.0.ph6.reload\n %spec.select1 = select i1 %56, i32 %sv_0.0.ph6.reload, i32 %55\n %57 = add i32 %spec.select1, %54\n %58 = icmp ult i32 %57, 4097\n br i1 %58, label LBL_11, label LBL_12\n LBL_11:\n %59 = sext i32 %54 to i64\n %60 = add i64 %26, %59\n %61 = inttoptr i64 %60 to i64*\n %62 = inttoptr i64 %sv_1.0.ph7.reload to i64*\n %63 = call i64* @memcpy(i64* %61, i64* %62, i32 %spec.select1)\n %64 = load i32, i32* %25, align 4\n %65 = add i32 %64, %spec.select1\n store i32 %65, i32* %25, align 4\n %66 = zext i32 %spec.select1 to i64\n %67 = add i64 %sv_1.0.ph7.reload, %66\n %68 = sub i32 %sv_0.0.ph6.reload, %spec.select1\n %69 = load i32, i32* %23, align 4\n %70 = zext i32 %69 to i64\n %71 = icmp ult i32 %65, %69\n store i32 %68, i32* %sv_0.0.ph.be.reg2mem\n store i64 %67, i64* %sv_1.0.ph.be.reg2mem\n store i64 %70, i64* %rax.1.ph.be.reg2mem\n br i1 %71, label LBL_8, label LBL_13\n LBL_12:\n %72 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %73 = call i32 @fwrite(i64* bitcast ([65 x i8]* @gv_1 to i64*), i32 1, i32 64, %_IO_FILE* %72)\n store i32 0, i32* %21, align 4\n %.pre = load i32, i32* %19, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_13:\n %74 = load i64, i64* %28, align 8\n %75 = call i64 @FUNC(i64 %74, i64 %26, i64 %70)\n store i32 0, i32* %25, align 4\n store i32 0, i32* %21, align 4\n store i32 %68, i32* %sv_0.0.ph.be.reg2mem\n store i64 %67, i64* %sv_1.0.ph.be.reg2mem\n store i64 %18, i64* %rax.1.ph.be.reg2mem\n br label LBL_8\n LBL_14:\n %sv_0.0.ph6.reload = load i32, i32* %sv_0.0.ph6.reg2mem\n %sv_1.0.ph7.reload = load i64, i64* %sv_1.0.ph7.reg2mem\n %76 = load i32, i32* %21, align 4\n br label LBL_6\n LBL_15:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64 %sv_1.0.ph7.reload, { 0, 3, 1, 2 }\n uselistorder i32 %sv_0.0.ph6.reload, { 0, 4, 1, 2, 5, 3 }\n uselistorder i64 %70, { 1, 0 }\n uselistorder i32 %68, { 1, 0 }\n uselistorder i64 %67, { 1, 0 }\n uselistorder i32 %spec.select1, { 3, 4, 0, 2, 1 }\n uselistorder i32 %54, { 1, 0, 2 }\n uselistorder i32 %42, { 1, 0, 2 }\n uselistorder i32 %40, { 1, 0 }\n uselistorder i64 %39, { 1, 0 }\n uselistorder i32 %spec.select, { 0, 2, 3, 1 }\n uselistorder i64 %26, { 3, 1, 0, 2 }\n uselistorder i32* %25, { 4, 6, 5, 7, 3, 1, 2, 0 }\n uselistorder i32* %23, { 1, 2, 0 }\n uselistorder i32* %21, { 3, 2, 1, 0 }\n uselistorder i64 %18, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 3, 2 }\n uselistorder i32* %sv_0.0.ph.be.reg2mem, { 2, 1, 4, 0, 3 }\n uselistorder i64* %sv_1.0.ph.be.reg2mem, { 2, 1, 4, 0, 3 }\n uselistorder i64* %rax.1.ph.be.reg2mem, { 2, 1, 4, 0, 3 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i1 false, { 3, 1, 2, 0, 4, 5 }\n uselistorder i32 0, { 3, 4, 5, 6, 7, 8, 0, 1, 9, 10, 2 }\n uselistorder label LBL_6.lr.ph, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flv_write_trailer_3200", "fun_name": "flv_write_trailer", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %4, 24\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = trunc i64 %2 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_6, label LBL_1\n LBL_1:\n %13 = add i64 %4, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = and i64 %2, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %16 = load i64, i64* %14, align 8\n %17 = mul i64 %.reload, 8\n %18 = add i64 %16, %17\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_5, label LBL_3\n LBL_3:\n %27 = add i64 %22, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 1\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_5, label LBL_4\n LBL_4:\n %32 = add i64 %20, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %7, i64 %36)\n br label LBL_5\n LBL_5:\n %38 = add i32 %storemerge2.reload, 1\n %39 = sext i32 %38 to i64\n %40 = icmp sgt i64 %15, %39\n store i64 %39, i64* %.reg2mem\n store i32 %38, i32* %storemerge2.reg2mem\n br i1 %40, label LBL_2, label LBL_6\n LBL_6:\n %41 = call i64 @FUNC(i64 %7)\n %42 = inttoptr i64 %10 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = call i64 @FUNC(i64 %7, i64 %43, i64 0)\n %45 = trunc i64 %44 to i32\n %46 = icmp slt i32 %45, 0\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_8, label LBL_7\n LBL_7:\n %48 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_9\n LBL_8:\n %49 = add i64 %10, 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = call i128 @__asm_movsd.1(i64 %51)\n %53 = call i128 @__asm_movsd.1(i64 4652007308841189376)\n %54 = call i128 @FUNC(i128 %52, i128 %53)\n %55 = call i64 @FUNC(i128 %54)\n %56 = call i128 @__asm_movq.2(i64 %55)\n %57 = call i64 @FUNC(i64 %7)\n br label LBL_9\n LBL_9:\n %sext = mul i64 %41, 4294967296\n %58 = ashr exact i64 %sext, 32\n %59 = add i64 %10, 16\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = call i64 @FUNC(i64 %7, i64 %61, i64 0)\n %63 = trunc i64 %62 to i32\n %64 = icmp slt i32 %63, 0\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_11, label LBL_10\n LBL_10:\n %66 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_12\n LBL_11:\n %67 = call i128 @FUNC(i128 %3, i128 %3)\n %68 = call i128 @FUNC(i64 %58)\n %69 = call i64 @FUNC(i128 %68)\n %70 = call i128 @__asm_movq.2(i64 %69)\n %71 = call i64 @FUNC(i64 %7)\n br label LBL_12\n LBL_12:\n %72 = call i64 @FUNC(i64 %7, i64 %58, i64 0)\n ret i64 0\n\n uselistorder i64 %4, { 1, 0, 2, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @put_amf_double, { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @av_log, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @avio_seek, { 2, 1, 0 }\n uselistorder i1 false, { 0, 3, 1, 2 }\n uselistorder i64 8, { 1, 2, 0, 3 }\n uselistorder i32 0, { 2, 4, 3, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_get_page_9508", "fun_name": "find_get_page", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %0, i64 %arg2)\n %3 = icmp eq i64 %2, 0\n store i64 %2, i64* %.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %4 = call i64 @FUNC(i64 %.reload)\n %5 = icmp ne i64 %4, 0\n %6 = icmp eq i64 %4, 1\n %7 = icmp eq i1 %6, false\n %or.cond = icmp eq i1 %5, %7\n br i1 %or.cond, label LBL_2, label LBL_5\n LBL_2:\n %8 = call i64 @FUNC(i64 %4)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_5\n LBL_3:\n %12 = inttoptr i64 %.reload to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %4, %13\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_6, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %4)\n br label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 %0, i64 %arg2)\n %17 = icmp eq i64 %16, 0\n store i64 %16, i64* %.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_6, label LBL_1\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = call i64 @FUNC()\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %4, { 3, 0, 2, 4, 1, 5 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @radix_tree_lookup_slot, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_iommu_map_pages_6246", "fun_name": "kvm_iommu_map_pages", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_1.0.be.reg2mem = alloca i64\n %sv_1.010.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_16\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = sext i32 %7 to i64\n %9 = add i64 %8, %4\n %10 = add i64 %4, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp ugt i64 %9, %4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_16\n LBL_2:\n %14 = ptrtoint i64* %arg1 to i64\n %15 = urem i32 %12, 2\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %spec.select = select i1 %17, i32 1, i32 3\n %18 = add i64 %14, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n %23 = or i32 %spec.select, 4\n %spec.select4 = select i1 %22, i32 %spec.select, i32 %23\n %24 = zext i32 %spec.select4 to i64\n store i64 %4, i64* %sv_1.010.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem\n %25 = call i64 @FUNC(i64 %sv_1.010.reload)\n %26 = call i64 @FUNC(i64 %14, i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_6, label LBL_4\n LBL_4:\n %29 = add i64 %sv_1.010.reload, 1\n store i64 %29, i64* %sv_1.0.be.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.be.reload = load i64, i64* %sv_1.0.be.reg2mem\n %30 = icmp ult i64 %sv_1.0.be.reload, %9\n store i64 %sv_1.0.be.reload, i64* %sv_1.010.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_3, label LBL_16\n LBL_6:\n %31 = call i64 @FUNC(i64 %14, i64 %sv_1.010.reload)\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %32 = udiv i64 %storemerge.reload, 4096\n %33 = add i64 %32, %sv_1.010.reload\n %34 = icmp ult i64 %9, %33\n %35 = udiv i64 %storemerge.reload, 2\n store i64 %35, i64* %storemerge.reg2mem\n br i1 %34, label LBL_7, label LBL_8\n LBL_8:\n %36 = mul i64 %sv_1.010.reload, 4096\n store i64 %storemerge.reload, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %37 = add i64 %sv_0.0.reload, -1\n %38 = and i64 %37, %36\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n %41 = udiv i64 %sv_0.0.reload, 2\n store i64 %41, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %40, label LBL_9, label LBL_10\n LBL_10:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %42 = call i64 @FUNC(i64 %4, i64 %sv_1.010.reload)\n %43 = add i64 %sv_0.1.reload, -1\n %44 = and i64 %43, %42\n %45 = icmp eq i64 %44, 0\n %46 = icmp eq i1 %45, false\n %47 = udiv i64 %sv_0.1.reload, 2\n store i64 %47, i64* %sv_0.1.reg2mem\n br i1 %46, label LBL_10, label LBL_11\n LBL_11:\n %48 = call i64 @FUNC(i64 %4, i64 %sv_1.010.reload, i64 %sv_0.1.reload)\n %49 = call i64 @FUNC(i64 %48)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n br i1 %51, label LBL_13, label LBL_12\n LBL_12:\n %52 = add i64 %sv_1.010.reload, 1\n store i64 %52, i64* %sv_1.0.be.reg2mem\n br label LBL_5\n LBL_13:\n %sext = mul i64 %48, 4294967296\n %53 = ashr exact i64 %sext, 32\n %54 = call i64 @FUNC(i64 %53)\n %55 = call i64 @FUNC(i64 %sv_1.010.reload)\n %56 = call i64 @FUNC(i64 %14, i64 %55, i64 %54, i64 %sv_0.1.reload, i64 %24)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_15, label LBL_14\n LBL_14:\n %59 = call i64 @FUNC(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_0, i64 0, i64 0), i64 %53, i64 %54, i64 %sv_0.1.reload, i64 %24, i64 %1)\n %60 = call i64 @FUNC(i64 %14, i64 %53, i64 %sv_0.1.reload)\n %61 = sub i64 %sv_1.010.reload, %48\n %62 = and i64 %61, 4294967295\n %63 = call i64 @FUNC(i64 %14, i64 %53, i64 %62)\n %64 = and i64 %56, 4294967295\n store i64 %64, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %65 = udiv i64 %sv_0.1.reload, 4096\n %66 = add i64 %65, %sv_1.010.reload\n store i64 %66, i64* %sv_1.0.be.reg2mem\n br label LBL_5\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %53, { 1, 0, 2, 3 }\n uselistorder i64 %48, { 1, 0, 2 }\n uselistorder i64 %sv_0.1.reload, { 6, 4, 3, 2, 1, 5, 0 }\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i64 %storemerge.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.0.be.reload, { 1, 0 }\n uselistorder i64 %sv_1.010.reload, { 8, 9, 1, 0, 2, 3, 10, 7, 4, 5, 6 }\n uselistorder i64 %14, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %9, { 1, 2, 0 }\n uselistorder i64 %4, { 3, 4, 0, 2, 5, 1, 6 }\n uselistorder i64* %sv_1.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.be.reg2mem, { 3, 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 4096, { 4, 0, 5, 3, 1, 2 }\n uselistorder i64 (i64)* @gfn_to_gpa, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_16, { 3, 0, 1, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "inotify_free_group_priv_4755", "fun_name": "inotify_free_group_priv", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 4198804, i64 %arg1)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %arg1)\n ret i64 %4\n\n uselistorder i64 %arg1, { 0, 1, 2, 3, 5, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pmsav5_data_ap_read_1381", "fun_name": "pmsav5_data_ap_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "use_goto_tb_218", "fun_name": "use_goto_tb", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = urem i64 %3, 2\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n %spec.select = zext i1 %11 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prepare_cmd_6757", "fun_name": "prepare_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg2, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 ptrtoint ([8 x i8]* @gv_1 to i64))\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %4, i64 ptrtoint ([4 x i8]* @gv_2 to i64))\n %11 = call i64 @FUNC(i64 %4, i64 ptrtoint ([4 x i8]* @gv_2 to i64))\n br label LBL_7\n LBL_4:\n %12 = add i64 %3, 12\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i64 %4, i64 ptrtoint ([8 x i8]* @gv_1 to i64))\n br label LBL_7\n LBL_6:\n %17 = call i64 @FUNC(i64 %4, i64 ptrtoint ([8 x i8]* @gv_1 to i64))\n br label LBL_7\n LBL_7:\n %18 = add i64 %4, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i8*\n %22 = call i8* @strchr(i8* %21, i32 47)\n %23 = icmp eq i8* %22, null\n %24 = icmp eq i1 %23, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %24, label LBL_11, label LBL_8\n LBL_8:\n %25 = add i64 %20, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %27)\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = add i64 %27, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i64*\n call void @free(i64* %33)\n %34 = add i64 %32, 8\n %35 = inttoptr i64 %34 to i64*\n store i64 %28, i64* %35, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_10:\n %36 = call i64 @FUNC(i64 %4)\n %37 = call i32* @__errno_location()\n store i32 2, i32* %37, align 4\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 3, 0, 4, 5, 2, 1, 6 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder void (i64*)* @free, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @argv_array_pushv, { 2, 1, 0 }\n uselistorder i64 8, { 3, 4, 5, 6, 7, 0, 8, 1, 2, 9 }\n uselistorder i64 (i64, i64)* @argv_array_push, { 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_11, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__nfs4_close_11229", "fun_name": "__nfs4_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = urem i64 %arg3, 4\n %5 = icmp eq i64 %4, 3\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = trunc i64 %4 to i32\n switch i32 %6, label LBL_5 [\n i32 1, label LBL_2\n i32 2, label LBL_3\n ]\n LBL_2:\n %7 = inttoptr i64 %2 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, -1\n store i32 %9, i32* %7, align 4\n br label LBL_5\n LBL_3:\n %10 = add i64 %0, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i32 %12, -1\n store i32 %13, i32* %11, align 4\n br label LBL_5\n LBL_4:\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i32 %16, -1\n store i32 %17, i32* %15, align 4\n br label LBL_5\n LBL_5:\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i32 0, i32* %sv_1.2.reg2mem\n store i32 3, i32* %sv_0.2.reg2mem\n br i1 %22, label LBL_11, label LBL_6\n LBL_6:\n %23 = inttoptr i64 %2 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 3, i32* %sv_0.0.reg2mem\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = add i64 %0, 20\n %28 = call i64 @FUNC(i64 1, i64 %27)\n %29 = call i64 @FUNC(i64 4, i64 %27)\n %30 = or i64 %29, %28\n %31 = trunc i64 %30 to i32\n store i32 %31, i32* %sv_1.0.reg2mem\n store i32 2, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %32 = add i64 %0, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n store i32 %sv_1.0.reload, i32* %sv_1.2.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %36, label LBL_11, label LBL_9\n LBL_9:\n %37 = urem i32 %sv_0.0.reload, 2\n %38 = add i64 %0, 20\n %39 = call i64 @FUNC(i64 2, i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = or i32 %sv_1.0.reload, %40\n %42 = call i64 @FUNC(i64 4, i64 %38)\n %43 = trunc i64 %42 to i32\n %44 = or i32 %41, %43\n %45 = icmp eq i32 %37, 0\n %46 = icmp eq i1 %45, false\n store i32 %44, i32* %sv_1.2.reg2mem\n store i32 %37, i32* %sv_0.2.reg2mem\n br i1 %46, label LBL_11, label LBL_10\n LBL_10:\n %47 = call i64 @FUNC(i64 8, i64 %38)\n store i32 %44, i32* %sv_1.2.reg2mem\n store i32 %37, i32* %sv_0.2.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %48 = zext i32 %sv_0.2.reload to i64\n %49 = call i64 @FUNC(i64 %0, i64 %48)\n %50 = call i64 @FUNC(i64 %2)\n %51 = icmp eq i32 %sv_1.2.reload, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_13, label LBL_12\n LBL_12:\n %53 = call i64 @FUNC(i64 %0)\n %54 = call i64 @FUNC(i64 %0)\n store i64 %54, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_13:\n %55 = ptrtoint i64* %arg1 to i64\n %56 = trunc i64 %arg4 to i32\n %57 = call i64 @FUNC(i64 %55, i64 %0, i32 %56)\n store i64 %57, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 6, 4, 5, 7, 2, 3, 1, 8, 9, 0, 10, 11 }\n uselistorder i32* %sv_1.2.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @test_bit, { 3, 2, 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 0, { 3, 4, 5, 1, 6, 0, 7, 2, 8 }\n uselistorder i32 -1, { 0, 2, 1 }\n uselistorder i32 2, { 1, 0, 2 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder label LBL_11, { 1, 2, 0, 3 }\n uselistorder label LBL_5, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_token_setup_1006", "fun_name": "do_token_setup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_11\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = ptrtoint i32* %arg2 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n store i64 %8, i64* %arg1, align 8\n %9 = add i64 %4, 7\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i32\n %13 = mul i32 %12, 256\n %14 = add i64 %4, 6\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = zext i8 %16 to i32\n %18 = or i32 %13, %17\n %19 = add i64 %4, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = add i64 %4, 12\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = bitcast i64* %rdi to i8*\n %24 = load i8, i8* %23, align 8\n %25 = icmp slt i8 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_2\n LBL_2:\n %27 = trunc i64 %4 to i32\n %28 = and i64 %4, 4294967295\n %29 = icmp slt i32 %27, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %rax.0.reg2mem\n br i1 %30, label LBL_3, label LBL_11\n LBL_3:\n %31 = load i32, i32* %20, align 4\n %32 = zext i32 %31 to i64\n %sext = mul i64 %4, 4294967296\n %33 = ashr exact i64 %sext, 32\n %34 = icmp slt i64 %33, %32\n br i1 %34, label LBL_4, label LBL_5\n LBL_4:\n store i32 %27, i32* %20, align 4\n br label LBL_5\n LBL_5:\n %35 = add i64 %4, 16\n %36 = inttoptr i64 %35 to i32*\n store i32 1, i32* %36, align 4\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %37 = load i32, i32* %20, align 4\n %38 = icmp ult i32 %37, 65\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n %39 = zext i32 %37 to i64\n %40 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i64 %39, i64 64)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %42 = icmp eq i32 %37, 0\n %43 = icmp eq i1 %42, false\n %44 = add i64 %4, 16\n %45 = inttoptr i64 %44 to i32*\n br i1 %43, label LBL_10, label LBL_9\n LBL_9:\n store i32 2, i32* %45, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n store i32 1, i32* %45, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %45, { 1, 0 }\n uselistorder i32* %20, { 2, 1, 0, 3 }\n uselistorder i64 %4, { 4, 1, 0, 2, 3, 5, 8, 7, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 6, 1, 4, 5 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_11, { 2, 1, 5, 0, 3, 4 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cbq_dump_attr_10888", "fun_name": "cbq_dump_attr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %1, i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %1, i64 %0)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %1, i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %1, i64 %0)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n %spec.select = select i1 %17, i64 0, i64 4294967295\n ret i64 %spec.select\n LBL_5:\n ret i64 4294967295\n\n uselistorder label LBL_5, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "guess_disk_lchs_5085", "fun_name": "guess_disk_lchs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3, i64 0, i64 %0, i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_10\n LBL_1:\n %8 = add i64 %0, 510\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 85\n %12 = icmp eq i1 %11, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_10, label LBL_2\n LBL_2:\n %13 = add i64 %0, 511\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, -86\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_10\n LBL_3:\n %17 = add i64 %0, 446\n %18 = add i64 %0, 8\n %19 = inttoptr i64 %18 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %20 = mul i64 %indvars.iv.reload, 8\n %21 = add i64 %17, %20\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_9, label LBL_5\n LBL_5:\n %28 = add i64 %21, 4\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = icmp eq i8 %30, 0\n br i1 %31, label LBL_9, label LBL_6\n LBL_6:\n %32 = add i64 %21, 5\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = urem i8 %34, 64\n %36 = icmp eq i8 %35, 0\n br i1 %36, label LBL_9, label LBL_7\n LBL_7:\n %37 = zext i8 %30 to i32\n %38 = add nuw nsw i32 %37, 1\n %39 = zext i8 %35 to i32\n %40 = load i32, i32* %19, align 4\n %41 = mul nuw nsw i32 %38, %39\n %42 = ashr i32 %40, 31\n %43 = zext i32 %40 to i64\n %44 = zext i32 %42 to i64\n %45 = mul i64 %44, 4294967296\n %46 = or i64 %45, %43\n %47 = zext i32 %41 to i64\n %48 = sdiv i64 %46, %47\n %49 = trunc i64 %48 to i32\n %.off = add i32 %49, -1\n %50 = icmp ugt i32 %.off, 16382\n br i1 %50, label LBL_9, label LBL_8\n LBL_8:\n %51 = bitcast i64* %arg3 to i32*\n store i32 %38, i32* %51, align 4\n %52 = bitcast i64* %arg4 to i32*\n store i32 %39, i32* %52, align 4\n %53 = bitcast i64* %arg2 to i32*\n store i32 %49, i32* %53, align 4\n %54 = zext i8 %35 to i64\n %55 = zext i32 %38 to i64\n %56 = and i64 %48, 4294967295\n %57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %56, i64 %55, i64 %54)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %58 = icmp ult i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %58, label LBL_4, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %35, { 2, 0, 1 }\n uselistorder i64 %0, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 3, 2, 4 }\n uselistorder i64 4294967295, { 0, 4, 2, 1, 3, 5 }\n uselistorder label LBL_10, { 0, 4, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_info_vnc_14570", "fun_name": "do_info_vnc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i64, i64* @gv_0, align 8\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n %11 = load i64, i64* @gv_0, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n %16 = load i64, i64* @gv_0, align 8\n %17 = add i64 %16, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, -1\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_5, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 4, 3, 2, 1, 0 }\n uselistorder i64 %4, { 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @term_printf, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 4, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uninit_6842", "fun_name": "uninit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n ret i64 %3\n\n uselistorder i64 (i64)* @av_frame_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_proc_layoutreturn_8245", "fun_name": "nfs4_proc_layoutreturn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %5, i64* %sv_0, align 8\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n %7 = add i64 %5, 16\n %8 = add i64 %5, 8\n %9 = call i64 @FUNC(i64 %8, i64 %7, i64 1)\n %10 = call i64 @FUNC(i64* nonnull %sv_0)\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %10)\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %15 = inttoptr i64 %10 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i64 %17, i64 %7, i64 %2, i64 %1)\n %19 = call i64 @FUNC(i64 %10)\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %10, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @dprintk, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openpic_update_irq_16647", "fun_name": "openpic_update_irq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.in.reg2mem = alloca i32\n %.reg2mem16 = alloca i32\n %storemerge39.reg2mem = alloca i32\n %.reg2mem14 = alloca i32\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = ashr exact i64 %sext, 28\n %3 = add i64 %2, %0\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %1, 4294967295\n %9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %8)\n %10 = sext i32 %9 to i64\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_2:\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = urem i32 %13, 2\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = and i64 %1, 4294967295\n %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %16)\n %18 = sext i32 %17 to i64\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_4:\n %19 = zext i32 %13 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = and i64 %1, 4294967295\n %25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %24)\n %26 = sext i32 %25 to i64\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_6:\n %27 = load i32, i32* %12, align 4\n %28 = and i32 %27, 2\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_8, label LBL_7\n LBL_7:\n %30 = and i64 %1, 4294967295\n %31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %30)\n %32 = sext i32 %31 to i64\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_8:\n %33 = add i64 %3, 8\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %38 = and i64 %1, 4294967295\n %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %38)\n %40 = sext i32 %39 to i64\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_10:\n %41 = add i64 %3, 12\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = urem i32 %43, 32\n %45 = shl i32 1, %44\n %46 = icmp eq i32 %45, %35\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_12, label LBL_11\n LBL_11:\n %48 = trunc i64 %1 to i32\n %49 = zext i32 %43 to i64\n %50 = call i64 @FUNC(i64 %0, i64 %49, i32 %48)\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_12:\n %51 = and i32 %27, 4\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n %54 = add i64 %0, 8\n %55 = inttoptr i64 %54 to i32*\n store i32 %43, i32* %storemerge4.in.reg2mem\n br i1 %53, label LBL_21, label LBL_13\n LBL_13:\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %57, label LBL_23, label LBL_14\n LBL_14:\n %58 = trunc i64 %1 to i32\n store i32 %56, i32* %.reg2mem\n store i32 %35, i32* %.reg2mem14\n store i32 0, i32* %storemerge39.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge39.reload = load i32, i32* %storemerge39.reg2mem\n %.reload15 = load i32, i32* %.reg2mem14\n %.reload = load i32, i32* %.reg2mem\n %59 = urem i32 %storemerge39.reload, 32\n %60 = shl i32 1, %59\n %61 = and i32 %60, %.reload15\n %62 = icmp eq i32 %61, 0\n store i32 %.reload, i32* %.reg2mem16\n br i1 %62, label LBL_17, label LBL_16\n LBL_16:\n %63 = zext i32 %storemerge39.reload to i64\n %64 = call i64 @FUNC(i64 %0, i64 %63, i32 %58)\n %.pre12 = load i32, i32* %55, align 4\n store i32 %.pre12, i32* %.reg2mem16\n br label LBL_17\n LBL_17:\n %.reload17 = load i32, i32* %.reg2mem16\n %65 = add i32 %storemerge39.reload, 1\n %66 = zext i32 %.reload17 to i64\n %67 = sext i32 %65 to i64\n %68 = icmp slt i64 %67, %66\n store i64 %66, i64* %rax.0.reg2mem\n br i1 %68, label LBL_17.LBL_15_crit_edge, label LBL_23\n LBL_18:\n %.pre = load i32, i32* %34, align 4\n store i32 %.reload17, i32* %.reg2mem\n store i32 %.pre, i32* %.reg2mem14\n store i32 %65, i32* %storemerge39.reg2mem\n br label LBL_15\n LBL_19:\n %69 = load i32, i32* %55, align 4\n %70 = icmp eq i32 %storemerge4, %69\n %71 = icmp eq i1 %70, false\n %spec.select5 = select i1 %71, i32 %storemerge4, i32 0\n %72 = urem i32 %spec.select5, 32\n %73 = shl i32 1, %72\n %74 = and i32 %73, %35\n %75 = icmp eq i32 %74, 0\n store i32 %spec.select5, i32* %storemerge4.in.reg2mem\n br i1 %75, label LBL_21, label LBL_20\n LBL_20:\n %76 = trunc i64 %1 to i32\n %77 = zext i32 %spec.select5 to i64\n %78 = call i64 @FUNC(i64 %0, i64 %77, i32 %76)\n store i32 %spec.select5, i32* %42, align 4\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_21:\n %storemerge4.in.reload = load i32, i32* %storemerge4.in.reg2mem\n %storemerge4 = add i32 %storemerge4.in.reload, 1\n %79 = icmp eq i32 %storemerge4, %43\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_19, label LBL_22\n LBL_22:\n %81 = zext i32 %43 to i64\n store i64 %81, i64* %rax.0.reg2mem\n br label LBL_23\n LBL_23:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge4, { 1, 2, 0 }\n uselistorder i32 %spec.select5, { 2, 3, 0, 1 }\n uselistorder i32 %.reload17, { 1, 0 }\n uselistorder i32 %storemerge39.reload, { 1, 0, 2 }\n uselistorder i32* %55, { 2, 1, 0 }\n uselistorder i32 %43, { 3, 2, 0, 4, 1 }\n uselistorder i32 %35, { 1, 0, 2, 3 }\n uselistorder i32 %13, { 1, 0 }\n uselistorder i64 %3, { 0, 2, 1, 3, 4 }\n uselistorder i64 %1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 3, 2, 4, 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem14, { 1, 0, 2 }\n uselistorder i32* %storemerge39.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem16, { 0, 2, 1 }\n uselistorder i32* %storemerge4.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 10, 1, 2, 9, 8, 7, 6, 5, 4 }\n uselistorder i64 (i64, i64, i32)* @IRQ_local_pipe, { 2, 1, 0 }\n uselistorder i64 8, { 2, 3, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 5, 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i32 0, { 3, 2, 4, 0, 1, 5, 6, 7, 8, 9, 10 }\n uselistorder label LBL_23, { 2, 3, 0, 1, 4, 5, 6, 7, 8, 9 }\n uselistorder label LBL_21, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "setproctitle_3713", "fun_name": "setproctitle", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %rax.1.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = load i32, i32* @gv_0, align 4\n %22 = icmp eq i32 %21, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %22, label LBL_9, label LBL_3\n LBL_3:\n %23 = load i64, i64* @gv_1, align 8\n %24 = call i64 @FUNC(i64* nonnull %sv_3, i64 %23, i64 1024)\n store i32 8, i32* %sv_2, align 4\n %25 = ptrtoint i64* %sv_1 to i64\n %26 = icmp eq i8* %arg1, null\n store i64 %25, i64* %rax.1.reg2mem\n br i1 %26, label LBL_9, label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64* nonnull %sv_3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 1024)\n %28 = icmp ult i64 %27, 1024\n store i64 %27, i64* %rax.1.reg2mem\n br i1 %28, label LBL_5, label LBL_9\n LBL_5:\n %29 = ptrtoint i64* %sv_3 to i64\n %30 = add i64 %27, %29\n %31 = ptrtoint i32* %sv_2 to i64\n %32 = inttoptr i64 %30 to i8*\n %33 = trunc i64 %27 to i32\n %34 = sub i32 1024, %33\n %35 = call i32 @vsnprintf(i8* %32, i32 %34, i8* nonnull %arg1, i64 %31)\n %36 = icmp eq i32 %35, -1\n store i64 -1, i64* %rax.1.reg2mem\n br i1 %36, label LBL_9, label LBL_6\n LBL_6:\n %37 = sext i32 %35 to i64\n %38 = sub i64 1024, %27\n %39 = icmp ugt i64 %38, %37\n %40 = icmp eq i1 %39, false\n store i64 %38, i64* %rax.1.reg2mem\n br i1 %40, label LBL_9, label LBL_7\n LBL_7:\n %41 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_3, i64 1024, i64 0)\n %42 = ptrtoint i64* %sv_0 to i64\n %43 = bitcast i64* %sv_0 to i8*\n %44 = call i32 @strlen(i8* nonnull %43)\n %45 = sext i32 %44 to i64\n %46 = call i64 @FUNC(i64 0, i64 %42, i64 %45, i64 0, i64 0)\n %47 = load i32, i32* @gv_0, align 4\n %48 = sext i32 %47 to i64\n %49 = load i64, i64* @gv_3, align 8\n %50 = inttoptr i64 %49 to i64*\n %51 = call i64 @FUNC(i64* %50, i64 %42, i64 %48)\n %52 = load i32, i32* @gv_0, align 4\n %53 = sext i32 %52 to i64\n %54 = icmp ult i64 %51, %53\n store i64 %51, i64* %storemerge2.reg2mem\n store i64 %53, i64* %rax.1.reg2mem\n br i1 %54, label LBL_8, label LBL_9\n LBL_8:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %55 = load i64, i64* @gv_3, align 8\n %56 = add i64 %55, %storemerge2.reload\n %57 = inttoptr i64 %56 to i8*\n store i8 32, i8* %57, align 1\n %58 = add nuw i64 %storemerge2.reload, 1\n %59 = load i32, i32* @gv_0, align 4\n %60 = sext i32 %59 to i64\n %61 = icmp ult i64 %58, %60\n store i64 %58, i64* %storemerge2.reg2mem\n store i64 %60, i64* %rax.1.reg2mem\n br i1 %61, label LBL_8, label LBL_9\n LBL_9:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %27, { 2, 3, 1, 0, 4 }\n uselistorder i64* %sv_3, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 1, 2, 5, 6, 4, 3, 7 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 3, 2, 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @strlcpy, { 1, 0 }\n uselistorder i64 1024, { 1, 2, 0, 3, 4 }\n uselistorder i8 0, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_9, { 0, 1, 5, 4, 2, 3, 6 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unregister_shrinker_4556", "fun_name": "unregister_shrinker", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64* nonnull @gv_0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n ret i64 %7\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ip_vs_edit_dest_10616", "fun_name": "ip_vs_edit_dest", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %7 = trunc i64 %4 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %6, i64 %2, i64 %1)\n store i64 4294967262, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = add i64 %11, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %11, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp ugt i32 %14, %17\n br i1 %18, label LBL_3, label LBL_4\n LBL_3:\n %19 = zext i32 %14 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %6, i64 %2, i64 %1)\n store i64 4294967262, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %21 = ptrtoint i64* %arg1 to i64\n %22 = add i64 %11, 16\n %23 = inttoptr i64 %22 to i16*\n %24 = load i16, i16* %23, align 2\n %25 = add i64 %11, 12\n %26 = and i64 %3, 4294967295\n %27 = call i64 @FUNC(i64 %26, i64* nonnull %sv_0, i64 %25)\n %28 = call i64 @FUNC(i64 %21, i64* nonnull %sv_0, i16 %24)\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n %31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %32 = call i64 @FUNC(i64 %21, i64 %28, i64 %11)\n %33 = add i64 %21, 16\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp sgt i32 %35, 1\n br label LBL_7\n LBL_7:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %36, label LBL_7, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %14, { 1, 0 }\n uselistorder i64 %11, { 0, 1, 4, 3, 2 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2 }\n uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967262, { 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @pr_err, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tls_finish_handshake_6528", "fun_name": "tls_finish_handshake", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = and i64 %7, 4294967295\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_4:\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = call i64 @FUNC(i64 %arg1)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = add i64 %arg1, 40\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 0, i64* %17, align 8\n br label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i64 %arg1)\n %21 = add i64 %arg1, 48\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = bitcast i64* %rdi to i32*\n %24 = load i32, i32* %23, align 8\n %25 = icmp eq i32 %24, 0\n %.pre = add i64 %arg1, 4\n %.pre1 = inttoptr i64 %.pre to i32*\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = load i32, i32* %.pre1, align 4\n %27 = icmp eq i32 %26, 2\n %28 = icmp eq i1 %27, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %28, label LBL_15, label LBL_8\n LBL_8:\n store i32 0, i32* %.pre1, align 4\n %29 = add i64 %arg1, 64\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = load i32, i32* %23, align 8\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = call i64 @FUNC(i64 %arg1, i64 1)\n %34 = add i64 %arg1, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i32 %38, 1\n store i32 %39, i32* %37, align 4\n %40 = add i64 %arg1, 56\n %41 = inttoptr i64 %40 to i64*\n store i64 4198815, i64* %41, align 8\n br label LBL_13\n LBL_10:\n %42 = call i64 @FUNC(i64 %arg1, i64 2)\n %43 = add i64 %arg1, 8\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = icmp eq i32 %45, 0\n %.pre3 = add i64 %arg1, 24\n %.pre5 = inttoptr i64 %.pre3 to i64*\n br i1 %46, label LBL_12, label LBL_11\n LBL_11:\n %47 = load i64, i64* %.pre5, align 8\n %48 = add i64 %47, 4\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i32 %50, 1\n store i32 %51, i32* %49, align 4\n br label LBL_12\n LBL_12:\n %52 = add i64 %arg1, 56\n %53 = inttoptr i64 %52 to i64*\n store i64 4198822, i64* %53, align 8\n %54 = load i64, i64* %.pre5, align 8\n %55 = add i64 %54, 8\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i32 %57, 1\n store i32 %58, i32* %56, align 4\n br label LBL_13\n LBL_13:\n %59 = call i64 @FUNC(i64 %arg1)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %61, label LBL_15, label LBL_14\n LBL_14:\n %62 = add i64 %arg1, 32\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = inttoptr i64 %64 to i32*\n store i32 0, i32* %65, align 4\n %66 = load i64, i64* %63, align 8\n %67 = add i64 %66, 4\n %68 = inttoptr i64 %67 to i32*\n store i32 0, i32* %68, align 4\n %69 = load i64, i64* %63, align 8\n %70 = add i64 %69, 8\n %71 = inttoptr i64 %70 to i32*\n store i32 0, i32* %71, align 4\n %72 = call i64 @FUNC(i64 %arg1)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64 (i64, i64)* @ssl_update_cache, { 1, 0 }\n uselistorder i64 1, { 2, 1, 3, 0 }\n uselistorder i64 (i64)* @SSL_IS_DTLS, { 2, 1, 0 }\n uselistorder i64 %arg1, { 7, 8, 9, 10, 0, 11, 12, 5, 6, 13, 14, 1, 15, 16, 4, 17, 18, 2, 3, 19 }\n uselistorder label LBL_15, { 2, 1, 0, 3 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xan_decode_frame_type0_165", "fun_name": "xan_decode_frame_type0", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.316.reg2mem = alloca i64\n %storemerge318.reg2mem = alloca i32\n %.reg2mem72 = alloca i8*\n %.lcssa.reg2mem = alloca i32\n %.reg2mem70 = alloca i8*\n %storemerge415.reg2mem = alloca i32\n %.reg2mem68 = alloca i64\n %.reg2mem66 = alloca i8*\n %indvars.iv.reg2mem = alloca i64\n %.lcssa11.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8\n %sv_1.1.in21.reg2mem = alloca i8\n %storemerge822.reg2mem = alloca i32\n %sv_0.123.reg2mem = alloca i64\n %.reg2mem64 = alloca i64\n %sv_0.227.reg2mem = alloca i64\n %storemerge728.reg2mem = alloca i32\n %.in.ptr.reg2mem = alloca i8*\n %.reg2mem62 = alloca i8*\n %.lcssa13.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %.pre-phi49.reg2mem = alloca i8\n %sv_1.031.reg2mem = alloca i32\n %storemerge1032.reg2mem = alloca i32\n %sv_0.033.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i8*, align 8\n %sv_4 = alloca i8*, align 8\n %5 = add i64 %4, 40\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %5)\n %8 = and i64 %6, 4294967295\n %9 = call i64 @FUNC(i64 %4, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = and i64 %9, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_2:\n %13 = trunc i64 %7 to i32\n %14 = and i64 %7, 4294967295\n %15 = add i64 %4, 48\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %5 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = sub i64 %17, %19\n %21 = icmp sgt i64 %20, %14\n store i32 %13, i32* %sv_2.0.reg2mem\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %2, i64 %1)\n store i32 0, i32* %sv_2.0.reg2mem\n br label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %5, i64 12, i64 0)\n %24 = add i64 %4, 32\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = ashr i32 %26, 1\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %4, i64 %4, i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = call i64 @FUNC(i64 %4, i64 2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %33 = and i64 %29, 4294967295\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_6:\n %34 = trunc i64 %3 to i8\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %35 = add i64 %4, 8\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = inttoptr i64 %37 to i8*\n store i8* %38, i8** %sv_4, align 8\n %39 = mul i8 %34, 2\n store i8 %39, i8* %38, align 1\n %sv_0.030 = add i64 %4, 1\n %40 = inttoptr i64 %35 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = add i32 %41, -1\n %43 = icmp ugt i32 %42, 1\n store i8 %39, i8* %.pre-phi49.reg2mem\n store i64 %sv_0.030, i64* %sv_0.0.lcssa.reg2mem\n store i64 1, i64* %.lcssa13.reg2mem\n br i1 %43, label LBL_7, label LBL_9\n LBL_7:\n %44 = trunc i64 %3 to i32\n %45 = urem i32 %44, 256\n store i64 1, i64* %.reg2mem\n store i64 %sv_0.030, i64* %sv_0.033.reg2mem\n store i32 1, i32* %storemerge1032.reg2mem\n store i32 %45, i32* %sv_1.031.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.031.reload = load i32, i32* %sv_1.031.reg2mem\n %storemerge1032.reload = load i32, i32* %storemerge1032.reg2mem\n %sv_0.033.reload = load i64, i64* %sv_0.033.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %46 = inttoptr i64 %sv_0.033.reload to i8*\n %47 = load i8, i8* %46, align 1\n %48 = zext i8 %47 to i32\n %49 = add nuw nsw i32 %sv_1.031.reload, %48\n %50 = urem i32 %49, 32\n %51 = load i8*, i8** %sv_4, align 8\n %52 = ptrtoint i8* %51 to i64\n %53 = add i64 %.reload, %52\n %54 = add nuw nsw i32 %50, %sv_1.031.reload\n %55 = trunc i32 %54 to i8\n %56 = inttoptr i64 %53 to i8*\n store i8 %55, i8* %56, align 1\n %57 = add nsw i64 %.reload, 1\n %58 = load i8*, i8** %sv_4, align 8\n %59 = ptrtoint i8* %58 to i64\n %60 = add i64 %57, %59\n %.tr9 = trunc i32 %50 to i8\n %61 = mul i8 %.tr9, 2\n %62 = inttoptr i64 %60 to i8*\n store i8 %61, i8* %62, align 1\n %63 = add i32 %storemerge1032.reload, 2\n %sv_0.0 = add i64 %sv_0.033.reload, 1\n %64 = load i32, i32* %40, align 4\n %65 = add i32 %64, -1\n %66 = zext i32 %65 to i64\n %67 = sext i32 %63 to i64\n %68 = icmp slt i64 %67, %66\n store i64 %67, i64* %.reg2mem\n store i64 %sv_0.0, i64* %sv_0.033.reg2mem\n store i32 %63, i32* %storemerge1032.reg2mem\n store i32 %50, i32* %sv_1.031.reg2mem\n store i8 %61, i8* %.pre-phi49.reg2mem\n store i64 %sv_0.0, i64* %sv_0.0.lcssa.reg2mem\n store i64 %67, i64* %.lcssa13.reg2mem\n br i1 %68, label LBL_8, label LBL_9\n LBL_9:\n %.lcssa13.reload = load i64, i64* %.lcssa13.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %.pre-phi49.reload = load i8, i8* %.pre-phi49.reg2mem\n %69 = load i8*, i8** %sv_4, align 8\n %70 = ptrtoint i8* %69 to i64\n %71 = add i64 %.lcssa13.reload, %70\n %72 = inttoptr i64 %71 to i8*\n store i8 %.pre-phi49.reload, i8* %72, align 1\n %73 = load i8*, i8** %sv_4, align 8\n %74 = ptrtoint i8* %73 to i64\n %75 = bitcast i8** %sv_3 to i64*\n store i64 %74, i64* %75, align 8\n %76 = load i32, i32* %40, align 4\n %77 = sext i32 %76 to i64\n %78 = add i64 %74, %77\n %79 = inttoptr i64 %78 to i8*\n store i8* %79, i8** %sv_4, align 8\n %80 = add i64 %4, 12\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = icmp ugt i32 %82, 1\n store i8* %79, i8** %.reg2mem62\n store i8* %73, i8** %.in.ptr.reg2mem\n store i32 1, i32* %storemerge728.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.227.reg2mem\n br i1 %83, label LBL_10, label LBL_13\n LBL_10:\n %sv_0.227.reload = load i64, i64* %sv_0.227.reg2mem\n %storemerge728.reload = load i32, i32* %storemerge728.reg2mem\n %.in.ptr.reload = load i8*, i8** %.in.ptr.reg2mem\n %.reload63 = load i8*, i8** %.reg2mem62\n %84 = load i8, i8* %.in.ptr.reload, align 1\n %85 = udiv i8 %84, 2\n %86 = inttoptr i64 %sv_0.227.reload to i8*\n %87 = load i8, i8* %86, align 1\n %88 = add i8 %87, %85\n %89 = urem i8 %88, 32\n %90 = mul i8 %89, 2\n store i8 %90, i8* %.reload63, align 1\n %sv_0.120 = add i64 %sv_0.227.reload, 1\n %91 = load i32, i32* %40, align 4\n %92 = add i32 %91, -1\n %93 = icmp ugt i32 %92, 1\n store i64 1, i64* %.reg2mem64\n store i64 %sv_0.120, i64* %sv_0.123.reg2mem\n store i32 1, i32* %storemerge822.reg2mem\n store i8 %89, i8* %sv_1.1.in21.reg2mem\n store i8 %90, i8* %.pre-phi.reg2mem\n store i64 %sv_0.120, i64* %sv_0.1.lcssa.reg2mem\n store i64 1, i64* %.lcssa11.reg2mem\n br i1 %93, label LBL_11, label LBL_12\n LBL_11:\n %sv_1.1.in21.reload = load i8, i8* %sv_1.1.in21.reg2mem\n %storemerge822.reload = load i32, i32* %storemerge822.reg2mem\n %sv_0.123.reload = load i64, i64* %sv_0.123.reg2mem\n %.reload65 = load i64, i64* %.reg2mem64\n %94 = add nsw i64 %.reload65, 1\n %95 = load i8*, i8** %sv_3, align 8\n %96 = ptrtoint i8* %95 to i64\n %97 = add i64 %94, %96\n %98 = inttoptr i64 %97 to i8*\n %99 = load i8, i8* %98, align 1\n %100 = udiv i8 %99, 2\n %101 = inttoptr i64 %sv_0.123.reload to i8*\n %102 = load i8, i8* %101, align 1\n %103 = add i8 %102, %100\n %104 = urem i8 %103, 32\n %105 = load i8*, i8** %sv_4, align 8\n %106 = ptrtoint i8* %105 to i64\n %107 = add i64 %.reload65, %106\n %108 = add nuw nsw i8 %104, %sv_1.1.in21.reload\n %109 = inttoptr i64 %107 to i8*\n store i8 %108, i8* %109, align 1\n %110 = load i8*, i8** %sv_4, align 8\n %111 = ptrtoint i8* %110 to i64\n %112 = add i64 %94, %111\n %narrow = mul i8 %104, 2\n %113 = inttoptr i64 %112 to i8*\n store i8 %narrow, i8* %113, align 1\n %114 = add i32 %storemerge822.reload, 2\n %sv_0.1 = add i64 %sv_0.123.reload, 1\n %115 = load i32, i32* %40, align 4\n %116 = add i32 %115, -1\n %117 = zext i32 %116 to i64\n %118 = sext i32 %114 to i64\n %119 = icmp slt i64 %118, %117\n store i64 %118, i64* %.reg2mem64\n store i64 %sv_0.1, i64* %sv_0.123.reg2mem\n store i32 %114, i32* %storemerge822.reg2mem\n store i8 %104, i8* %sv_1.1.in21.reg2mem\n store i8 %narrow, i8* %.pre-phi.reg2mem\n store i64 %sv_0.1, i64* %sv_0.1.lcssa.reg2mem\n store i64 %118, i64* %.lcssa11.reg2mem\n br i1 %119, label LBL_11, label LBL_12\n LBL_12:\n %.lcssa11.reload = load i64, i64* %.lcssa11.reg2mem\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem\n %120 = load i8*, i8** %sv_4, align 8\n %121 = ptrtoint i8* %120 to i64\n %122 = add i64 %.lcssa11.reload, %121\n %123 = inttoptr i64 %122 to i8*\n store i8 %.pre-phi.reload, i8* %123, align 1\n %124 = load i8*, i8** %sv_4, align 8\n %125 = ptrtoint i8* %124 to i64\n store i64 %125, i64* %75, align 8\n %126 = load i32, i32* %40, align 4\n %127 = sext i32 %126 to i64\n %128 = add i64 %125, %127\n %129 = inttoptr i64 %128 to i8*\n store i8* %129, i8** %sv_4, align 8\n %130 = add i32 %storemerge728.reload, 1\n %131 = load i32, i32* %81, align 4\n %132 = zext i32 %131 to i64\n %133 = sext i32 %130 to i64\n %134 = icmp slt i64 %133, %132\n store i8* %129, i8** %.reg2mem62\n store i8* %124, i8** %.in.ptr.reg2mem\n store i32 %130, i32* %storemerge728.reg2mem\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.227.reg2mem\n br i1 %134, label LBL_10, label LBL_13\n LBL_13:\n %135 = icmp eq i32 %sv_2.0.reload, 0\n br i1 %135, label LBL_17, label LBL_14\n LBL_14:\n %136 = add i32 %sv_2.0.reload, 8\n %137 = zext i32 %136 to i64\n %138 = call i64 @FUNC(i64 %5, i64 %137, i64 0)\n %139 = load i32, i32* %25, align 4\n %140 = call i64 @FUNC(i64 %4, i64 %5, i32 %139)\n %141 = trunc i64 %140 to i32\n %142 = icmp slt i32 %141, 0\n %143 = icmp eq i1 %142, false\n %spec.select = select i1 %143, i32 %141, i32 0\n %144 = icmp sgt i32 %spec.select, 0\n br i1 %144, label LBL_15, label LBL_17\n LBL_15:\n %wide.trip.count = zext i32 %spec.select to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_16\n LBL_16:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %145 = load i64, i64* %36, align 8\n %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32\n %146 = mul i32 %indvars.iv.tr, 2\n %147 = or i32 %146, 1\n %148 = sext i32 %147 to i64\n %149 = add i64 %145, %148\n %150 = inttoptr i64 %149 to i8*\n %151 = load i8, i8* %150, align 1\n %152 = add i64 %indvars.iv.reload, %4\n %153 = inttoptr i64 %152 to i8*\n %154 = load i8, i8* %153, align 1\n %155 = mul i8 %154, 2\n %156 = add i8 %155, %151\n %157 = urem i8 %156, 64\n store i8 %157, i8* %150, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_17, label LBL_16\n LBL_17:\n %158 = load i64, i64* %36, align 8\n %159 = add i64 %4, 16\n %160 = inttoptr i64 %159 to i64*\n %161 = load i64, i64* %160, align 8\n %162 = inttoptr i64 %161 to i8*\n store i8* %162, i8** %sv_4, align 8\n %163 = load i32, i32* %81, align 4\n %164 = icmp eq i32 %163, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %164, label LBL_22, label LBL_18\n LBL_18:\n %165 = add i64 %4, 24\n %166 = inttoptr i64 %165 to i32*\n store i8* %162, i8** %.reg2mem72\n store i32 0, i32* %storemerge318.reg2mem\n store i64 %158, i64* %sv_0.316.reg2mem\n br label LBL_21\n LBL_19:\n %storemerge415.reload = load i32, i32* %storemerge415.reg2mem\n %.reload69 = load i64, i64* %.reg2mem68\n %.reload67 = load i8*, i8** %.reg2mem66\n %167 = add i64 %.reload69, %sv_0.316.reload\n %168 = inttoptr i64 %167 to i8*\n %169 = load i8, i8* %168, align 1\n %170 = mul i8 %169, 4\n %171 = udiv i8 %169, 8\n %172 = or i8 %170, %171\n %173 = ptrtoint i8* %.reload67 to i64\n %174 = add i64 %.reload69, %173\n %175 = inttoptr i64 %174 to i8*\n store i8 %172, i8* %175, align 1\n %176 = add i32 %storemerge415.reload, 1\n %177 = load i32, i32* %40, align 4\n %178 = zext i32 %177 to i64\n %179 = sext i32 %176 to i64\n %180 = icmp slt i64 %179, %178\n %.pre45 = load i8*, i8** %sv_4, align 8\n store i8* %.pre45, i8** %.reg2mem66\n store i64 %179, i64* %.reg2mem68\n store i32 %176, i32* %storemerge415.reg2mem\n store i8* %.pre45, i8** %.reg2mem70\n store i32 %177, i32* %.lcssa.reg2mem\n br i1 %180, label LBL_19, label LBL_20\n LBL_20:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.reload71 = load i8*, i8** %.reg2mem70\n %181 = sext i32 %.lcssa.reload to i64\n %182 = add i64 %sv_0.316.reload, %181\n %183 = load i32, i32* %166, align 4\n %184 = sext i32 %183 to i64\n %185 = ptrtoint i8* %.reload71 to i64\n %186 = add i64 %184, %185\n %187 = inttoptr i64 %186 to i8*\n store i8* %187, i8** %sv_4, align 8\n %188 = add i32 %storemerge318.reload, 1\n %189 = load i32, i32* %81, align 4\n %190 = zext i32 %189 to i64\n %191 = sext i32 %188 to i64\n %192 = icmp slt i64 %191, %190\n store i8* %187, i8** %.reg2mem72\n store i32 %188, i32* %storemerge318.reg2mem\n store i64 %182, i64* %sv_0.316.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %192, label LBL_21, label LBL_22\n LBL_21:\n %sv_0.316.reload = load i64, i64* %sv_0.316.reg2mem\n %storemerge318.reload = load i32, i32* %storemerge318.reg2mem\n %.reload73 = load i8*, i8** %.reg2mem72\n %193 = load i32, i32* %40, align 4\n %194 = icmp eq i32 %193, 0\n store i8* %.reload73, i8** %.reg2mem66\n store i64 0, i64* %.reg2mem68\n store i32 0, i32* %storemerge415.reg2mem\n store i8* %.reload73, i8** %.reg2mem70\n store i32 0, i32* %.lcssa.reg2mem\n br i1 %194, label LBL_20, label LBL_19\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %.reload73, { 1, 0 }\n uselistorder i8 %169, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %125, { 1, 0 }\n uselistorder i64 %.reload65, { 1, 0 }\n uselistorder i64 %sv_0.123.reload, { 1, 0 }\n uselistorder i32* %81, { 0, 1, 3, 2 }\n uselistorder i64 %74, { 1, 0 }\n uselistorder i64 %sv_0.033.reload, { 1, 0 }\n uselistorder i32* %40, { 4, 0, 1, 2, 5, 3, 7, 6 }\n uselistorder i64 %sv_0.030, { 1, 0 }\n uselistorder i64* %36, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0, 2, 3, 4, 5 }\n uselistorder i8** %sv_4, { 13, 2, 12, 11, 0, 10, 9, 8, 7, 1, 6, 5, 4, 3 }\n uselistorder i8** %sv_3, { 1, 0 }\n uselistorder i64 %4, { 6, 7, 0, 5, 8, 1, 9, 3, 4, 11, 10, 12, 2, 13, 14, 15 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.033.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1032.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.031.reg2mem, { 1, 0, 2 }\n uselistorder i8** %.reg2mem62, { 2, 0, 1 }\n uselistorder i8** %.in.ptr.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge728.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.227.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem64, { 2, 0, 1 }\n uselistorder i64* %sv_0.123.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge822.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_1.1.in21.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem66, { 1, 2, 0 }\n uselistorder i64* %.reg2mem68, { 1, 2, 0 }\n uselistorder i32* %storemerge415.reg2mem, { 1, 2, 0 }\n uselistorder i8** %.reg2mem70, { 2, 0, 1 }\n uselistorder i32* %.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 -1, { 2, 1, 3, 0 }\n uselistorder i8 2, { 0, 1, 5, 2, 6, 3, 4 }\n uselistorder i64 (i64, i64, i64)* @bytestream2_seek, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 0, { 2, 0, 1, 3, 11, 7, 8, 12, 9, 10, 4, 5, 6, 13 }\n uselistorder i64 1, { 4, 7, 10, 0, 1, 6, 8, 11, 3, 2, 5, 9 }\n uselistorder i32 0, { 1, 2, 4, 0, 5, 6, 7, 8, 9, 10, 3, 11 }\n uselistorder i64 (i64)* @bytestream2_get_le32, { 1, 0 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "register_core_rtas_2954", "fun_name": "register_core_rtas", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 4198662)\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 4198669)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 4198676)\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i64 4198683)\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 4198690)\n ret i64 %4\n\n uselistorder i64 (i8*, i64)* @spapr_rtas_register, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_version_15109", "fun_name": "v9fs_version", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i8*, align 8\n %3 = bitcast i8** %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64* nonnull %3)\n %5 = load i8*, i8** %sv_0, align 8\n %6 = ptrtoint i8* %5 to i64\n %7 = trunc i64 %1 to i32\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i32 %10, i32 %7, i64 %6)\n %15 = load i8*, i8** %sv_0, align 8\n %16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %19 = add i64 %2, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n br label LBL_5\n LBL_2:\n %21 = load i8*, i8** %sv_0, align 8\n %22 = call i32 @strcmp(i8* %21, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0))\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = add i64 %2, 4\n %26 = inttoptr i64 %25 to i32*\n store i32 2, i32* %26, align 4\n br label LBL_5\n LBL_4:\n %27 = call i64 @FUNC(i64* nonnull %3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %28 = bitcast i64* %rdi to i32*\n %29 = load i32, i32* %28, align 8\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %30, i64* nonnull %3)\n %32 = add i64 %31, 7\n %33 = call i64 @FUNC(i64 %2, i64 %2, i64 %32)\n %34 = call i64 @FUNC(i64* nonnull %3)\n ret i64 %34\n\n uselistorder i8** %sv_0, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 4, 2, 3, 1, 0, 5, 6, 8, 7 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ldapsrv_load_limits_7803", "fun_name": "ldapsrv_load_limits", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32*, align 8\n %sv_3 = alloca i8*, align 8\n %sv_4 = alloca i8*, align 8\n store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i8** %sv_4, align 8\n store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i8** %sv_3, align 8\n store i32* null, i32** %sv_2, align 8\n %1 = bitcast i64* %arg1 to i32*\n store i32 120, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 900, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 1000, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 5, i32* %7, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 120, i32* %9, align 4\n %10 = call i64 @FUNC()\n %sext = mul i64 %10, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = add i64 %0, 32\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n store i64 %11, i64* %13, align 8\n %16 = call i64 @FUNC(i64 %0)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_1, label LBL_25\n LBL_1:\n %19 = add i64 %0, 40\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %16, i64 %21, i64 0)\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_24, label LBL_2\n LBL_2:\n %24 = load i64, i64* %20, align 8\n %25 = bitcast i8** %sv_4 to i64*\n %26 = bitcast i32** %sv_2 to i64*\n %27 = call i64 @FUNC(i64 %24, i64 %16, i64* nonnull %26, i64 %22, i64 0, i64* nonnull %25)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_24, label LBL_3\n LBL_3:\n %31 = load i32*, i32** %sv_2, align 8\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 1\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_24, label LBL_4\n LBL_4:\n %35 = ptrtoint i32* %31 to i64\n %36 = add i64 %35, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = load i64, i64* %20, align 8\n %42 = call i64 @FUNC(i64 %41, i64 %16, i64 %40, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_24, label LBL_5\n LBL_5:\n %44 = call i64 @FUNC(i64 %16, i64 %42)\n %45 = call i64 @FUNC(i64 %44, i8* getelementptr inbounds ([89 x i8], [89 x i8]* @gv_2, i64 0, i64 0))\n %46 = icmp eq i64 %44, 0\n br i1 %46, label LBL_24, label LBL_6\n LBL_6:\n %47 = load i64, i64* %20, align 8\n %48 = bitcast i8** %sv_3 to i64*\n %49 = call i64 @FUNC(i64 %47, i64 %16, i64* nonnull %26, i64 %44, i64 0, i64* nonnull %48)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_24, label LBL_7\n LBL_7:\n %53 = load i32*, i32** %sv_2, align 8\n %54 = load i32, i32* %53, align 4\n %55 = icmp eq i32 %54, 1\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_24, label LBL_8\n LBL_8:\n %57 = ptrtoint i32* %53 to i64\n %58 = add i64 %57, 8\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = call i64 @FUNC(i64 %62, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0))\n %64 = icmp eq i64 %63, 0\n br i1 %64, label LBL_24, label LBL_9\n LBL_9:\n %65 = inttoptr i64 %63 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = icmp eq i32 %66, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %67, label LBL_25, label LBL_10\n LBL_10:\n %68 = add i64 %63, 8\n %69 = inttoptr i64 %68 to i64*\n %70 = bitcast i64* %sv_0 to i8*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_11\n LBL_11:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %71 = load i64, i64* %69, align 8\n %72 = mul i64 %indvars.iv.reload, 8\n %73 = add i64 %71, %72\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = inttoptr i64 %75 to i8*\n %77 = call i32 (i8*, i8*, ...) @sscanf(i8* %76, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0, i64* nonnull %sv_1)\n %78 = icmp eq i32 %77, 2\n %79 = icmp eq i1 %78, false\n br i1 %79, label LBL_23, label LBL_12\n LBL_12:\n %80 = load i64, i64* %sv_1, align 8\n %81 = trunc i64 %80 to i32\n %82 = icmp eq i32 %81, 0\n br i1 %82, label LBL_23, label LBL_13\n LBL_13:\n %83 = call i32 @strcasecmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i8* nonnull %70)\n %84 = icmp eq i32 %83, 0\n %85 = icmp eq i1 %84, false\n br i1 %85, label LBL_15, label LBL_14\n LBL_14:\n %86 = load i64, i64* %sv_1, align 8\n %87 = trunc i64 %86 to i32\n store i32 %87, i32* %1, align 4\n br label LBL_23\n LBL_15:\n %88 = call i32 @strcasecmp(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i8* nonnull %70)\n %89 = icmp eq i32 %88, 0\n %90 = icmp eq i1 %89, false\n br i1 %90, label LBL_17, label LBL_16\n LBL_16:\n %91 = load i64, i64* %sv_1, align 8\n %92 = trunc i64 %91 to i32\n store i32 %92, i32* %3, align 4\n br label LBL_23\n LBL_17:\n %93 = call i32 @strcasecmp(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0), i8* nonnull %70)\n %94 = icmp eq i32 %93, 0\n %95 = icmp eq i1 %94, false\n br i1 %95, label LBL_19, label LBL_18\n LBL_18:\n %96 = load i64, i64* %sv_1, align 8\n %97 = trunc i64 %96 to i32\n store i32 %97, i32* %5, align 4\n br label LBL_23\n LBL_19:\n %98 = call i32 @strcasecmp(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0), i8* nonnull %70)\n %99 = icmp eq i32 %98, 0\n %100 = icmp eq i1 %99, false\n br i1 %100, label LBL_21, label LBL_20\n LBL_20:\n %101 = load i64, i64* %sv_1, align 8\n %102 = trunc i64 %101 to i32\n store i32 %102, i32* %7, align 4\n br label LBL_23\n LBL_21:\n %103 = call i32 @strcasecmp(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_8, i64 0, i64 0), i8* nonnull %70)\n %104 = icmp eq i32 %103, 0\n %105 = icmp eq i1 %104, false\n br i1 %105, label LBL_23, label LBL_22\n LBL_22:\n %106 = load i64, i64* %sv_1, align 8\n %107 = trunc i64 %106 to i32\n store i32 %107, i32* %9, align 4\n br label LBL_23\n LBL_23:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %108 = load i32, i32* %65, align 4\n %109 = zext i32 %108 to i64\n %110 = icmp ult i64 %indvars.iv.next, %109\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %110, label LBL_11, label LBL_25\n LBL_24:\n %111 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_9, i64 0, i64 0))\n %112 = call i64 @FUNC(i64 %16)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_25\n LBL_25:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %65, { 1, 0 }\n uselistorder i64 %44, { 0, 2, 1 }\n uselistorder i64 %16, { 4, 0, 1, 2, 3, 5, 6 }\n uselistorder i8** %sv_4, { 1, 0 }\n uselistorder i8** %sv_3, { 1, 0 }\n uselistorder i32** %sv_2, { 2, 1, 3, 0 }\n uselistorder i64* %sv_1, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4, 5, 6, 7 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32 (i8*, i8*)* @strcasecmp, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64*, i64, i64, i64*)* @ldb_search, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_25, { 3, 0, 1, 2 }\n uselistorder label LBL_23, { 2, 3, 4, 5, 6, 7, 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "perf_event_init_context_5000", "fun_name": "perf_event_init_context", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %storemerge48.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %sext = mul i64 %arg2, 4294967296\n %2 = load i64, i64* @gv_0, align 8\n store i32 1, i32* %sv_1, align 4\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = ashr exact i64 %sext, 29\n %6 = add i64 %4, %5\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_14\n LBL_1:\n %11 = and i64 %arg2, 4294967295\n %12 = call i64 @FUNC(i64 %2, i64 %11)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_14\n LBL_2:\n %15 = ptrtoint i64* %arg1 to i64\n %16 = add i64 %12, 24\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %12, 40\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %storemerge48.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %20, label LBL_3, label LBL_5\n LBL_3:\n %storemerge48.reload = load i64, i64* %storemerge48.reg2mem\n %21 = call i64 @FUNC(i64 %storemerge48.reload, i64 %2, i64 %12, i64 %15, i64 %11, i32* nonnull %sv_1)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %21, i64* %sv_0.1.reg2mem\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = inttoptr i64 %storemerge48.reload to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %26, i64* %storemerge48.reg2mem\n store i64 %21, i64* %sv_0.1.reg2mem\n br i1 %28, label LBL_3, label LBL_5\n LBL_5:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %29 = add i64 %12, 32\n %30 = call i64 @FUNC(i64 %29, i64 %1)\n %31 = add i64 %12, 16\n %32 = inttoptr i64 %31 to i32*\n store i32 1, i32* %32, align 4\n %33 = call i64 @FUNC(i64 %29, i64 %1)\n %34 = add i64 %12, 48\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 %34, i64* %storemerge6.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.3.reg2mem\n br i1 %36, label LBL_6, label LBL_8\n LBL_6:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %37 = call i64 @FUNC(i64 %storemerge6.reload, i64 %2, i64 %12, i64 %15, i64 %11, i32* nonnull %sv_1)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i64 %37, i64* %sv_0.3.reg2mem\n br i1 %40, label LBL_8, label LBL_7\n LBL_7:\n %41 = inttoptr i64 %storemerge6.reload to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %storemerge6.reg2mem\n store i64 %37, i64* %sv_0.3.reg2mem\n br i1 %44, label LBL_6, label LBL_8\n LBL_8:\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %45 = call i64 @FUNC(i64 %29, i64 %1)\n store i32 0, i32* %32, align 4\n %46 = add i64 %29, %5\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = icmp eq i64 %48, 0\n %50 = load i32, i32* %sv_1, align 4\n %51 = icmp eq i32 %50, 0\n %or.cond = or i1 %49, %51\n br i1 %or.cond, label LBL_13, label LBL_9\n LBL_9:\n %52 = inttoptr i64 %12 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = icmp eq i64 %53, 0\n %55 = inttoptr i64 %48 to i64*\n br i1 %54, label LBL_11, label LBL_10\n LBL_10:\n store i64 %53, i64* %55, align 8\n %56 = add i64 %12, 8\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = add i64 %48, 8\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n br label LBL_12\n LBL_11:\n store i64 %12, i64* %55, align 8\n %61 = add i64 %12, 12\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = add i64 %48, 8\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n br label LBL_12\n LBL_12:\n %66 = load i64, i64* %55, align 8\n %67 = call i64 @FUNC(i64 %66)\n br label LBL_13\n LBL_13:\n %68 = call i64 @FUNC(i64 %29, i64 %1)\n %69 = call i64 @FUNC(i64 %16)\n %70 = call i64 @FUNC(i64 %12)\n %71 = call i64 @FUNC(i64 %12)\n %72 = and i64 %sv_0.3.reload, 4294967295\n store i64 %72, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %55, { 0, 2, 1 }\n uselistorder i64 %48, { 1, 0, 2, 3 }\n uselistorder i64 %29, { 1, 0, 2, 3, 4 }\n uselistorder i64 %12, { 4, 5, 1, 2, 0, 3, 6, 7, 9, 8, 10, 12, 11, 13 }\n uselistorder i64* %storemerge48.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @raw_spin_unlock_irqrestore, { 1, 0 }\n uselistorder i64 (i64, i64)* @raw_spin_lock_irqsave, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i32*)* @inherit_task_group, { 1, 0 }\n uselistorder i1 false, { 4, 3, 1, 6, 5, 0, 7, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_14, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_show_nic_models_2114", "fun_name": "qemu_show_nic_models", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i32\n %.reg2mem4 = alloca i64\n %.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_5, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_2, label LBL_5\n LBL_2:\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 @fwrite(i64* bitcast ([29 x i8]* @gv_1 to i64*), i32 1, i32 28, %_IO_FILE* %5)\n %7 = load i64, i64* %arg2, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %9, label LBL_3, label LBL_5\n LBL_3:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = add i64 %10, 8\n store i64 %7, i64* %.reg2mem\n store i64 0, i64* %.reg2mem4\n store i32 0, i32* %storemerge13.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %.reload5 = load i64, i64* %.reg2mem4\n %.reload = load i64, i64* %.reg2mem\n %12 = add i64 %11, %.reload5\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %. = select i1 %15, i8 10, i8 44\n %16 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %17 = inttoptr i64 %.reload to i8*\n %18 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8* %17, i8 %.)\n %19 = add i32 %storemerge13.reload, 1\n %20 = sext i32 %19 to i64\n %21 = mul i64 %20, 8\n %22 = add i64 %21, %10\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %24, i64* %.reg2mem\n store i64 %21, i64* %.reg2mem4\n store i32 %19, i32* %storemerge13.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %26, label LBL_4, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem4, { 2, 0, 1 }\n uselistorder i32* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64 1, { 0, 1, 3, 2 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 0, 1, 3, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_subframe_length_4712", "fun_name": "decode_subframe_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %arg2 to i32\n %6 = trunc i64 %3 to i32\n %7 = add i64 %4, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = sub i32 %9, %6\n %11 = sub i32 0, %5\n %12 = icmp eq i32 %10, %11\n %13 = icmp eq i1 %12, false\n store i32 %9, i32* %rax.0.shrunk.reg2mem\n br i1 %13, label LBL_1, label LBL_8\n LBL_1:\n %14 = add i64 %4, 16\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp slt i32 %16, 0\n %19 = icmp eq i1 %18, false\n %20 = icmp eq i1 %17, false\n %21 = icmp eq i1 %19, %20\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br i1 %21, label LBL_2, label LBL_8\n LBL_2:\n %22 = add i64 %4, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_5, label LBL_3\n LBL_3:\n %26 = call i64 @FUNC(i64 %14)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %28, label LBL_6, label LBL_4\n LBL_4:\n %29 = add i64 %4, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i32 %31, -1\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %14, i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = add i32 %35, 1\n store i32 %36, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %37 = add i64 %4, 12\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %14, i64 %40)\n %42 = trunc i64 %41 to i32\n store i32 %42, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %43 = urem i32 %sv_0.0.reload, 32\n %44 = ashr i32 %6, %43\n %45 = load i32, i32* %8, align 4\n %46 = zext i32 %45 to i64\n %47 = sext i32 %44 to i64\n %48 = icmp slt i64 %47, %46\n %49 = and i64 %3, 4294967295\n %50 = icmp slt i64 %49, %47\n %or.cond = or i1 %48, %50\n store i32 %44, i32* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_7, label LBL_8\n LBL_7:\n %51 = add i64 %4, 24\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = zext i32 %44 to i64\n %55 = call i64 @FUNC(i64 %53, i64 0, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %54, i64 %2, i64 %1)\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %44, { 2, 0, 1 }\n uselistorder i32 %16, { 1, 0 }\n uselistorder i64 %14, { 2, 0, 1, 3 }\n uselistorder i64 %4, { 1, 3, 0, 2, 4, 5 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }\n uselistorder i32 -1, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 0, 2, 3, 4, 5, 1 }\n uselistorder label LBL_8, { 3, 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_stop_poll_12009", "fun_name": "nfc_stop_poll", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 1\n store i64 4294967277, i64* %sv_0.0.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 1\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_2:\n store i8 0, i8* %8, align 1\n %11 = add i64 %0, 36\n %12 = inttoptr i64 %11 to i32*\n store i32 0, i32* %12, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %13 = call i64 @FUNC(i64 %0)\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sev_es_string_io_5825", "fun_name": "sev_es_string_io", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %0 = icmp ult i64* %arg1, inttoptr (i64 2147483648 to i64*)\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_4\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = and i64 %arg2, 4294967295\n %3 = and i64 %1, 4294967295\n %4 = bitcast i32* %sv_0 to i64*\n %5 = call i64 @FUNC(i64 %3, i64 %2, i64* nonnull %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %8, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_4\n LBL_2:\n %10 = and i64 %arg4, 4294967295\n %11 = load i32, i32* %sv_0, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %1, i64 %10, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_3:\n %17 = add i64 %1, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %1, 16\n %21 = trunc i64 %arg3 to i32\n %22 = call i64 @FUNC(i64 %20, i64 %2, i32 %21, i64 %19, i64 %3, i64 %10)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "allwinner_ahci_class_init_704", "fun_name": "allwinner_ahci_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 1, i32* %2, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_nic_uninit_14817", "fun_name": "pci_nic_uninit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, -24\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0, i64 %3, i64 %1)\n %5 = add i64 %0, -16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = add i64 %0, -8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n ret i64 %12\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "local_chmod_16245", "fun_name": "local_chmod", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6, i64 %arg2)\n %8 = ptrtoint i32* %arg3 to i64\n %9 = call i64 @FUNC(i64 %7, i64 %8)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %10 = icmp eq i32 %3, 2\n %11 = icmp eq i1 %10, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = trunc i64 %2 to i32\n %13 = ptrtoint i32* %arg1 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %arg2)\n %15 = inttoptr i64 %14 to i8*\n %16 = call i32 @chmod(i8* %15, i32 %12)\n %17 = sext i32 %16 to i64\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @rpath, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_ccw_blk_init_16082", "fun_name": "virtio_ccw_blk_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n %. = select i1 %4, i64 0, i64 4294967295\n ret i64 %.\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pcie_aer_init_7425", "fun_name": "pcie_aer_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i16\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i16\n %2 = urem i64 %arg2, 65536\n %3 = urem i64 %arg3, 65536\n %4 = call i64 @FUNC(i64 %0, i64 1, i64 1, i64 %2, i64 %3)\n %5 = bitcast i64* %arg1 to i16*\n store i16 %1, i16* %5, align 2\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = icmp eq i16 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n store i16 16, i16* %7, align 2\n store i16 16, i16* %.reg2mem\n br label LBL_3\n LBL_2:\n %11 = icmp ult i16 %8, 257\n store i16 %8, i16* %.reg2mem\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %11, label LBL_3, label LBL_8\n LBL_3:\n %.reload = load i16, i16* %.reg2mem\n %12 = zext i16 %.reload to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n %16 = add i64 %0, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add nuw nsw i64 %2, 2\n %20 = add i64 %19, %18\n %21 = call i64 @FUNC(i64 %20, i64 1)\n %22 = add i64 %0, 32\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add nuw nsw i64 %2, 3\n %26 = add i64 %24, %25\n %27 = call i64 @FUNC(i64 %26, i64 0)\n %28 = add i64 %0, 40\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = add i64 %30, %25\n %32 = call i64 @FUNC(i64 %31, i64 1)\n %33 = load i64, i64* %17, align 8\n %34 = add nuw nsw i64 %2, 4\n %35 = add i64 %34, %33\n %36 = call i64 @FUNC(i64 %35, i64 1)\n %37 = load i64, i64* %23, align 8\n %38 = add nuw nsw i64 %2, 5\n %39 = add i64 %37, %38\n %40 = call i64 @FUNC(i64 %39, i64 1)\n %41 = load i64, i64* %29, align 8\n %42 = add i64 %41, %38\n %43 = call i64 @FUNC(i64 %42, i64 1)\n %44 = load i16, i16* %7, align 2\n %45 = icmp eq i16 %44, 0\n %46 = load i64, i64* %23, align 8\n %47 = add nuw nsw i64 %2, 6\n %48 = add i64 %46, %47\n br i1 %45, label LBL_5, label LBL_4\n LBL_4:\n %49 = call i64 @FUNC(i64 %48, i64 7)\n %50 = load i64, i64* %29, align 8\n %51 = add i64 %50, %47\n %52 = call i64 @FUNC(i64 %51, i64 56)\n br label LBL_6\n LBL_5:\n %53 = call i64 @FUNC(i64 %48, i64 3)\n %54 = load i64, i64* %29, align 8\n %55 = add i64 %54, %47\n %56 = call i64 @FUNC(i64 %55, i64 24)\n br label LBL_6\n LBL_6:\n %57 = call i64 @FUNC(i64 %0)\n %58 = trunc i64 %57 to i32\n %59 = urem i32 %58, 65536\n %60 = add nsw i32 %59, -1\n %61 = icmp ult i32 %60, 3\n store i64 0, i64* %storemerge.reg2mem\n br i1 %61, label LBL_7, label LBL_8\n LBL_7:\n %62 = load i64, i64* %29, align 8\n %63 = add i64 %62, 7\n %64 = call i64 @FUNC(i64 %63, i64 1)\n %65 = load i64, i64* %17, align 8\n %66 = add i64 %65, 8\n %67 = call i64 @FUNC(i64 %66, i64 1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %48, { 1, 0 }\n uselistorder i64* %29, { 1, 2, 0, 3, 4 }\n uselistorder i16* %7, { 1, 0, 2 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 7, { 1, 0 }\n uselistorder i64 (i64, i64)* @pci_long_test_and_set_mask, { 1, 0 }\n uselistorder i64 (i64, i64)* @pci_set_long, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 1, 2, 3, 4, 5, 6, 8, 7 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ide_sector_read_cb_9970", "fun_name": "ide_sector_read_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n store i64 0, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = and i32 %4, -2\n store i32 %5, i32* %3, align 4\n %6 = icmp eq i32 %1, -1\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = add i64 %0, 48\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %12, i64 %8)\n %14 = trunc i64 %7 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = sub nsw i64 0, %7\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %0, i64 %17, i64 3)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = add i64 %0, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %0, 16\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %27 to i64\n %29 = sext i32 %24 to i64\n %30 = icmp sgt i64 %29, %28\n %spec.select = select i1 %30, i32 %27, i32 %24\n %31 = mul i32 %spec.select, 512\n %32 = zext i32 %31 to i64\n %33 = add i64 %0, 24\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %0, i64 %35, i64 %32, i64 4198808)\n %37 = add i64 %0, 56\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39)\n %41 = call i64 @FUNC(i64 %0)\n %42 = trunc i64 %41 to i32\n %43 = add i32 %spec.select, %42\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %0, i64 %44)\n %46 = load i32, i32* %23, align 4\n %47 = sub i32 %46, %spec.select\n store i32 %47, i32* %23, align 4\n %48 = add i64 %0, 32\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i32 %50, %31\n store i32 %51, i32* %49, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %31, { 1, 0 }\n uselistorder i32 %spec.select, { 2, 1, 0 }\n uselistorder i32* %23, { 1, 0, 2 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %0, { 0, 3, 5, 4, 8, 7, 6, 10, 9, 2, 12, 11, 1, 13 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "esp_do_dma_4425", "fun_name": "esp_do_dma", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_5, label LBL_1\n LBL_1:\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i64 %1, 4294967295\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %10)\n %13 = load i32, i32* %8, align 4\n %14 = icmp ult i32 %13, 257\n br i1 %14, label LBL_2, label LBL_3\n LBL_2:\n %15 = zext i32 %13 to i64\n %16 = sub nsw i64 256, %15\n %17 = icmp ult i64 %16, %10\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 37, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %18 = add i64 %2, 288\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %21 = add i64 %2, 296\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_11, label LBL_6\n LBL_6:\n %25 = trunc i64 %1 to i32\n %26 = icmp ult i32 %23, %25\n %spec.select = select i1 %26, i32 %23, i32 %25\n %27 = add i64 %2, 312\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = sub i32 %25, %spec.select\n %31 = bitcast i64* %arg1 to i32*\n store i32 %30, i32* %31, align 4\n %32 = add i64 %2, 304\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = zext i32 %spec.select to i64\n %36 = add i64 %34, %35\n store i64 %36, i64* %33, align 8\n %37 = load i32, i32* %22, align 4\n %38 = sub i32 %37, %spec.select\n store i32 %38, i32* %22, align 4\n %39 = icmp sgt i32 %29, -1\n %40 = load i32, i32* %28, align 4\n %41 = sub i32 0, %spec.select\n %storemerge.p = select i1 %39, i32 %41, i32 %spec.select\n %storemerge = add i32 %40, %storemerge.p\n store i32 %storemerge, i32* %28, align 4\n %42 = load i32, i32* %22, align 4\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_10, label LBL_7\n LBL_7:\n %45 = add i64 %2, 320\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = call i64 @FUNC(i64 %47)\n %49 = icmp eq i1 %39, false\n store i64 %48, i64* %rax.0.reg2mem\n br i1 %49, label LBL_11, label LBL_8\n LBL_8:\n %50 = bitcast i64* %rdi to i32*\n %51 = load i32, i32* %50, align 8\n %52 = zext i32 %51 to i64\n %53 = icmp eq i32 %51, 0\n %54 = icmp eq i1 %53, false\n store i64 %52, i64* %rax.0.reg2mem\n br i1 %54, label LBL_11, label LBL_9\n LBL_9:\n %55 = load i32, i32* %28, align 4\n %56 = icmp eq i32 %55, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %56, label LBL_11, label LBL_10\n LBL_10:\n %57 = call i64 @FUNC(i64 %2)\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %39, { 1, 0 }\n uselistorder i32* %28, { 0, 2, 1, 3 }\n uselistorder i32 %spec.select, { 0, 1, 4, 3, 2 }\n uselistorder i32 %25, { 2, 1, 0 }\n uselistorder i32 %23, { 1, 0, 2 }\n uselistorder i32* %22, { 0, 2, 1, 3 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 0, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 4, 6, 1 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5 }\n uselistorder label LBL_11, { 4, 2, 1, 0, 3, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ber_wrap_hdr_data_8467", "fun_name": "ber_wrap_hdr_data", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = trunc i64 %0 to i32\n %2 = add i32 %1, 16\n %3 = call i64 @FUNC(i64 24)\n %4 = inttoptr i64 %3 to i64*\n %5 = call i64* @memset(i64* %4, i32 0, i32 24)\n %6 = sext i32 %2 to i64\n %7 = call i64 @FUNC(i64 %6)\n store i64 %7, i64* %4, align 8\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %2, i32* %9, align 4\n %10 = load i64, i64* %4, align 8\n %11 = add i64 %3, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = call i64 @FUNC(i64 %arg2)\n %14 = and i64 %13, 4294967295\n %15 = and i64 %arg1, 4294967295\n %16 = call i64 @FUNC(i64 %3, i64 %15, i64 %14)\n %17 = call i64 @FUNC(i64 %arg2)\n %18 = and i64 %17, 4294967295\n %19 = call i64 @FUNC(i64 %3, i64 %15, i64 %18)\n %20 = call i64 @FUNC(i64 %3)\n ret i64 %3\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 (i64)* @s_length, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "visit_type_int32_839", "fun_name": "visit_type_int32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i8* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %4 = trunc i64 %1 to i32\n %5 = ptrtoint i32* %arg2 to i64\n store i32 %4, i32* %arg2, align 4\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mg_coap_compose_4742", "fun_name": "mg_coap_compose", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.2.lcssa.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.29.reg2mem = alloca i64\n %sv_1.010.reg2mem = alloca i32\n %sv_2.013.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i32, align 4\n %sv_6 = alloca i32, align 4\n %sv_7 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2, i64* nonnull %sv_7)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %3, 4294967295\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = load i64, i64* %sv_7, align 8\n %9 = call i64 @FUNC(i64 %7, i64 0, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_12\n LBL_3:\n %13 = ptrtoint i64* %sv_7 to i64\n %14 = trunc i64 %1 to i8\n %15 = add i64 %7, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %17, %13\n %19 = mul i8 %14, 16\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = trunc i64 %22 to i8\n %24 = or i8 %19, %23\n %25 = or i8 %24, 64\n %26 = inttoptr i64 %18 to i8*\n store i8 %25, i8* %26, align 1\n %27 = add i64 %18, 1\n %28 = add i64 %2, 1\n %29 = inttoptr i64 %28 to i8*\n %30 = load i8, i8* %29, align 1\n %31 = mul i8 %30, 32\n %32 = add i64 %2, 2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = or i8 %31, %34\n %36 = inttoptr i64 %27 to i8*\n store i8 %35, i8* %36, align 1\n %37 = add i64 %18, 2\n %38 = add i64 %2, 24\n %39 = inttoptr i64 %38 to i16*\n %40 = load i16, i16* %39, align 2\n %41 = zext i16 %40 to i64\n %42 = call i64 @FUNC(i64 %37, i64 %41)\n %43 = load i64, i64* %21, align 8\n %44 = icmp eq i64 %43, 0\n store i64 %42, i64* %sv_0.0.reg2mem\n br i1 %44, label LBL_5, label LBL_4\n LBL_4:\n %45 = add i64 %2, 16\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = inttoptr i64 %42 to i64*\n %49 = inttoptr i64 %47 to i64*\n %50 = trunc i64 %43 to i32\n %51 = call i64* @memcpy(i64* %48, i64* %49, i32 %50)\n %52 = load i64, i64* %21, align 8\n %53 = add i64 %52, %42\n store i64 %53, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %54 = add i64 %2, 32\n %sv_2.0.in.in6 = inttoptr i64 %54 to i64*\n %sv_2.0.in7 = load i64, i64* %sv_2.0.in.in6, align 8\n %55 = icmp eq i64 %sv_2.0.in7, 0\n %56 = icmp eq i1 %55, false\n store i64 %sv_0.0.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %56, label LBL_6, label LBL_10\n LBL_6:\n %57 = bitcast i32* %sv_4 to i16*\n %58 = bitcast i32* %sv_6 to i8*\n %59 = bitcast i32* %sv_3 to i16*\n %60 = bitcast i32* %sv_5 to i8*\n store i64 %sv_2.0.in7, i64* %sv_2.013.in.reg2mem\n store i32 0, i32* %sv_1.010.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.29.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.29.reload = load i64, i64* %sv_0.29.reg2mem\n %sv_1.010.reload = load i32, i32* %sv_1.010.reg2mem\n %sv_2.013.in.reload = load i64, i64* %sv_2.013.in.reg2mem\n %sv_2.013 = inttoptr i64 %sv_2.013.in.reload to i32*\n store i32 0, i32* %sv_6, align 4\n store i32 0, i32* %sv_5, align 4\n store i32 0, i32* %sv_4, align 4\n store i32 0, i32* %sv_3, align 4\n %61 = load i32, i32* %sv_2.013, align 4\n %62 = sub i32 %61, %sv_1.010.reload\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %63, i8* nonnull %58, i16* nonnull %57)\n %65 = add i64 %sv_2.013.in.reload, 8\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = and i64 %67, 4294967295\n %69 = call i64 @FUNC(i64 %68, i8* nonnull %60, i16* nonnull %59)\n %70 = load i32, i32* %sv_6, align 4\n %71 = mul i32 %70, 16\n %72 = load i32, i32* %sv_5, align 4\n %73 = or i32 %71, %72\n %74 = trunc i32 %73 to i8\n %75 = inttoptr i64 %sv_0.29.reload to i8*\n store i8 %74, i8* %75, align 1\n %76 = add i64 %sv_0.29.reload, 1\n %77 = load i32, i32* %sv_4, align 4\n %78 = urem i32 %77, 65536\n %79 = zext i32 %78 to i64\n %80 = call i64 @FUNC(i64 %76, i64 %79, i64 %64)\n %81 = load i32, i32* %sv_3, align 4\n %82 = urem i32 %81, 65536\n %83 = zext i32 %82 to i64\n %84 = call i64 @FUNC(i64 %80, i64 %83, i64 %69)\n %85 = load i64, i64* %66, align 8\n %86 = icmp eq i64 %85, 0\n store i64 %84, i64* %sv_0.1.reg2mem\n br i1 %86, label LBL_9, label LBL_8\n LBL_8:\n %87 = add i64 %sv_2.013.in.reload, 16\n %88 = inttoptr i64 %87 to i64*\n %89 = load i64, i64* %88, align 8\n %90 = inttoptr i64 %84 to i64*\n %91 = inttoptr i64 %89 to i64*\n %92 = trunc i64 %85 to i32\n %93 = call i64* @memcpy(i64* %90, i64* %91, i32 %92)\n %94 = load i64, i64* %66, align 8\n %95 = add i64 %94, %84\n store i64 %95, i64* %sv_0.1.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %96 = load i32, i32* %sv_2.013, align 4\n %97 = add i64 %sv_2.013.in.reload, 24\n %sv_2.0.in.in = inttoptr i64 %97 to i64*\n %sv_2.0.in = load i64, i64* %sv_2.0.in.in, align 8\n %98 = icmp eq i64 %sv_2.0.in, 0\n %99 = icmp eq i1 %98, false\n store i64 %sv_2.0.in, i64* %sv_2.013.in.reg2mem\n store i32 %96, i32* %sv_1.010.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.29.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %99, label LBL_7, label LBL_10\n LBL_10:\n %100 = add i64 %2, 40\n %101 = inttoptr i64 %100 to i64*\n %102 = load i64, i64* %101, align 8\n %103 = icmp eq i64 %102, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %103, label LBL_12, label LBL_11\n LBL_11:\n %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem\n %104 = inttoptr i64 %sv_0.2.lcssa.reload to i8*\n store i8 -1, i8* %104, align 1\n %105 = add i64 %sv_0.2.lcssa.reload, 1\n %106 = load i64, i64* %101, align 8\n %107 = add i64 %2, 48\n %108 = inttoptr i64 %107 to i64*\n %109 = load i64, i64* %108, align 8\n %110 = inttoptr i64 %105 to i64*\n %111 = inttoptr i64 %109 to i64*\n %112 = trunc i64 %106 to i32\n %113 = call i64* @memcpy(i64* %110, i64* %111, i32 %112)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %84, { 1, 2, 0 }\n uselistorder i32* %sv_2.013, { 1, 0 }\n uselistorder i64 %sv_2.013.in.reload, { 1, 2, 3, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %42, { 1, 2, 0 }\n uselistorder i64 %18, { 0, 2, 1 }\n uselistorder i64* %sv_7, { 2, 1, 0 }\n uselistorder i32* %sv_6, { 1, 0, 2 }\n uselistorder i32* %sv_5, { 1, 0, 2 }\n uselistorder i32* %sv_4, { 1, 0, 2 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 1, 2, 3, 4, 6, 5, 7, 8 }\n uselistorder i64* %sv_2.013.in.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.29.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 (i64, i64, i64)* @coap_add_opt_info, { 1, 0 }\n uselistorder i64 (i64, i8*, i16*)* @coap_split_opt, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 2, 3, 0 }\n uselistorder i64 2, { 0, 3, 1, 2 }\n uselistorder i64 1, { 4, 3, 5, 6, 0, 7, 2, 8, 1 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder label LBL_12, { 1, 0, 2, 3 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_mmio_class_init_1992", "fun_name": "virtio_mmio_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198694, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198701, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = or i32 %5, 1\n store i32 %6, i32* %4, align 4\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 4198708, i64* %8, align 8\n %9 = add i64 %0, 32\n %10 = inttoptr i64 %9 to i8*\n store i8 1, i8* %10, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pdf_create_object_11454", "fun_name": "pdf_create_object", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = call i64 @FUNC(i64 %1, i64 %0, i32 %3)\n %5 = inttoptr i64 %4 to i8*\n store i8 102, i8* %5, align 1\n %6 = add i64 %4, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 -1, i32* %7, align 4\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %4, 12\n %11 = inttoptr i64 %10 to i32*\n store i32 %3, i32* %11, align 4\n %12 = add i64 %4, 16\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %4, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = add i64 %4, 32\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = and i64 %2, 4294967295\n ret i64 %18\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gicv3_cpuif_update_731", "fun_name": "gicv3_cpuif_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC()\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = call i64 @FUNC(i64 %2)\n %17 = zext i32 %12 to i64\n %18 = zext i32 %15 to i64\n %19 = and i64 %1, 4294967295\n %20 = and i64 %16, 4294967295\n %21 = call i64 @FUNC(i64 %20, i64 %19, i64 %18, i64 %17)\n %22 = load i32, i32* %14, align 4\n %23 = icmp eq i32 %22, 1\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_3, label LBL_1\n LBL_1:\n %25 = call i64 @FUNC(i64 %6, i64 1)\n %26 = trunc i64 %25 to i8\n %27 = icmp eq i8 %26, 1\n br i1 %27, label LBL_3, label LBL_2\n LBL_2:\n store i32 0, i32* %14, align 4\n br label LBL_3\n LBL_3:\n %28 = call i64 @FUNC(i64 %2)\n %29 = trunc i64 %28 to i8\n %30 = icmp eq i8 %29, 0\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_14, label LBL_4\n LBL_4:\n %31 = load i32, i32* %14, align 4\n %32 = icmp eq i32 %31, 2\n br i1 %32, label LBL_11, label LBL_5\n LBL_5:\n %33 = icmp sgt i32 %31, 2\n br i1 %33, label LBL_12, label LBL_6\n LBL_6:\n store i8 1, i8* %sv_2.0.reg2mem\n switch i32 %31, label LBL_12 [\n i32 0, label LBL_13\n i32 1, label LBL_7\n ]\n LBL_7:\n %34 = call i64 @FUNC(i64 %6)\n %35 = trunc i64 %34 to i8\n %36 = icmp eq i8 %35, 1\n %37 = icmp eq i1 %36, false\n store i8 1, i8* %sv_2.0.reg2mem\n br i1 %37, label LBL_13, label LBL_8\n LBL_8:\n %38 = call i64 @FUNC(i64 %6)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 3\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_10, label LBL_9\n LBL_9:\n %42 = call i64 @FUNC(i64 %6, i64 3)\n %43 = trunc i64 %42 to i8\n %44 = icmp eq i8 %43, 0\n store i8 1, i8* %sv_2.0.reg2mem\n br i1 %44, label LBL_10, label LBL_13\n LBL_10:\n store i8 0, i8* %sv_2.0.reg2mem\n br label LBL_13\n LBL_11:\n %45 = call i64 @FUNC(i64 %6)\n %46 = trunc i64 %45 to i8\n store i8 %46, i8* %sv_2.0.reg2mem\n br label LBL_13\n LBL_12:\n %47 = call i64 @FUNC()\n br label LBL_13\n LBL_13:\n %sv_2.0.reload = load i8, i8* %sv_2.0.reg2mem\n %48 = icmp eq i8 %sv_2.0.reload, 0\n %. = zext i1 %48 to i32\n %not. = icmp ne i1 %48, true\n %.1 = zext i1 %not. to i64\n store i32 %., i32* %sv_1.0.reg2mem\n store i64 %.1, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %49 = call i64 @FUNC(i64 %2)\n %50 = and i64 %49, 4294967295\n %51 = call i64 @FUNC(i64 %50, i64 %sv_0.0.reload, i32 %sv_1.0.reload)\n %52 = add i64 %2, 24\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = call i64 @FUNC(i64 %54, i64 %sv_0.0.reload)\n %56 = add i64 %2, 32\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = zext i32 %sv_1.0.reload to i64\n %60 = call i64 @FUNC(i64 %58, i64 %59)\n ret i64 %60\n\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32* %14, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 4, 1, 2, 3, 0 }\n uselistorder i8* %sv_2.0.reg2mem, { 0, 5, 3, 2, 1, 4 }\n uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 }\n uselistorder i64 (i64)* @arm_is_secure, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i8 0, { 1, 0, 2, 3 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i8 1, { 1, 0, 3, 2, 4 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i64 (i64)* @gicv3_redist_affid, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0, 3 }\n uselistorder label LBL_13, { 4, 5, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "renameColumnSelectCb_6918", "fun_name": "renameColumnSelectCb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = ptrtoint i32* %arg2 to i64\n %6 = call i64 @FUNC(i64 %4, i64 %5)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "item_free_4800", "fun_name": "item_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %1)\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n call void @free(i64* %5)\n %6 = add i64 %arg1, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n call void @free(i64* %9)\n %10 = add i64 %arg1, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i64*\n call void @free(i64* %13)\n %14 = add i64 %arg1, 32\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i64*\n call void @free(i64* %17)\n call void @free(i64* %1)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder void (i64*)* @free, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 4, 5 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clone_lease_4303", "fun_name": "clone_lease", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64* @calloc(i32 1, i32 4160)\n %cond = icmp eq i64* %0, null\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %cond, label LBL_13, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = ptrtoint i64* %0 to i64\n store i64 1, i64* %0, align 8\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %2, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = add i64 %1, 24\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %2, 24\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n %18 = add i64 %1, 28\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %2, 28\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = add i64 %1, 32\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %2, 32\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = add i64 %1, 36\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i64 %2, 36\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = add i64 %1, 40\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n br i1 %36, label LBL_3, label LBL_2\n LBL_2:\n %37 = inttoptr i64 %35 to i8*\n %38 = call i8* @strdup(i8* %37)\n %39 = ptrtoint i8* %38 to i64\n %40 = add i64 %2, 40\n %41 = inttoptr i64 %40 to i64*\n store i64 %39, i64* %41, align 8\n %42 = icmp eq i8* %38, null\n br i1 %42, label LBL_12, label LBL_3\n LBL_3:\n %43 = add i64 %1, 48\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = icmp eq i64 %45, 0\n br i1 %46, label LBL_5, label LBL_4\n LBL_4:\n %47 = inttoptr i64 %45 to i8*\n %48 = call i8* @strdup(i8* %47)\n %49 = ptrtoint i8* %48 to i64\n %50 = add i64 %2, 48\n %51 = inttoptr i64 %50 to i64*\n store i64 %49, i64* %51, align 8\n %52 = icmp eq i8* %48, null\n br i1 %52, label LBL_12, label LBL_5\n LBL_5:\n %53 = add i64 %1, 56\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = icmp eq i64 %55, 0\n br i1 %56, label LBL_7, label LBL_6\n LBL_6:\n %57 = inttoptr i64 %55 to i8*\n %58 = call i8* @strdup(i8* %57)\n %59 = ptrtoint i8* %58 to i64\n %60 = add i64 %2, 56\n %61 = inttoptr i64 %60 to i64*\n store i64 %59, i64* %61, align 8\n %62 = icmp eq i8* %58, null\n br i1 %62, label LBL_12, label LBL_7\n LBL_7:\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %63 = mul i64 %indvars.iv.reload, 16\n %64 = add nuw nsw i64 %63, 64\n %65 = add i64 %64, %1\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = icmp eq i64 %67, 0\n br i1 %68, label LBL_11, label LBL_9\n LBL_9:\n %69 = add i64 %64, %2\n %70 = inttoptr i64 %69 to i64*\n store i64 %67, i64* %70, align 8\n %71 = trunc i64 %67 to i32\n %72 = call i64* @calloc(i32 1, i32 %71)\n %73 = ptrtoint i64* %72 to i64\n %74 = add i64 %69, 8\n %75 = inttoptr i64 %74 to i64*\n store i64 %73, i64* %75, align 8\n %76 = icmp eq i64* %72, null\n br i1 %76, label LBL_12, label LBL_10\n LBL_10:\n %77 = load i64, i64* %70, align 8\n %78 = add i64 %65, 8\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = inttoptr i64 %80 to i64*\n %82 = trunc i64 %77 to i32\n %83 = call i64* @memcpy(i64* nonnull %72, i64* %81, i32 %82)\n br label LBL_11\n LBL_11:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %84 = icmp ult i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %2, i64* %storemerge1.reg2mem\n br i1 %84, label LBL_8, label LBL_13\n LBL_12:\n store i32 0, i32* %17, align 4\n %85 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64* %72, { 1, 0, 2 }\n uselistorder i64 %2, { 11, 0, 1, 4, 3, 2, 5, 6, 7, 8, 9, 10 }\n uselistorder i64* %0, { 1, 2, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8* (i8*)* @strdup, { 2, 1, 0 }\n uselistorder i64* (i32, i32)* @calloc, { 1, 0 }\n uselistorder label LBL_13, { 2, 0, 1 }\n uselistorder label LBL_12, { 0, 3, 2, 1 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_revalidate_inode_9230", "fun_name": "nfs_revalidate_inode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_2, label LBL_3\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %0)\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "impeg2d_dec_pic_hdr_12219", "fun_name": "impeg2d_dec_pic_hdr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 32)\n %4 = call i64 @FUNC(i64 %2, i64 10)\n %5 = call i64 @FUNC(i64 %2, i64 3)\n %6 = trunc i64 %5 to i32\n %7 = bitcast i64* %arg1 to i32*\n store i32 %6, i32* %7, align 4\n %8 = trunc i64 %1 to i32\n %9 = icmp ult i32 %8, 4\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %2, i64 256)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_2:\n %11 = call i64 @FUNC(i64 %2, i64 16)\n %12 = icmp ne i32 %8, 1\n %13 = icmp eq i32 %8, 2\n %14 = icmp eq i1 %13, false\n %or.cond2 = icmp eq i1 %12, %14\n store i32 %8, i32* %.reg2mem\n br i1 %or.cond2, label LBL_4, label LBL_3\n LBL_3:\n %15 = bitcast i64* %rdi to i32*\n %16 = call i64 @FUNC(i64 %2)\n %17 = trunc i64 %16 to i16\n %18 = urem i16 %17, 256\n %19 = add i64 %2, 4\n %20 = inttoptr i64 %19 to i16*\n store i16 %18, i16* %20, align 2\n %21 = call i64 @FUNC(i64 %2, i64 3)\n %22 = trunc i64 %21 to i16\n %23 = add i64 %2, 6\n %24 = inttoptr i64 %23 to i16*\n store i16 %22, i16* %24, align 2\n %.pre = load i32, i32* %15, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %25 = icmp eq i32 %.reload, 2\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %2)\n %28 = trunc i64 %27 to i16\n %29 = urem i16 %28, 256\n %30 = add i64 %2, 8\n %31 = inttoptr i64 %30 to i16*\n store i16 %29, i16* %31, align 2\n %32 = call i64 @FUNC(i64 %2, i64 3)\n %33 = trunc i64 %32 to i16\n %34 = add i64 %2, 10\n %35 = inttoptr i64 %34 to i16*\n store i16 %33, i16* %35, align 2\n br label LBL_6\n LBL_6:\n %36 = add i64 %2, 12\n %37 = inttoptr i64 %36 to i16*\n %38 = load i16, i16* %37, align 2\n %39 = icmp eq i16 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_8, label LBL_7\n LBL_7:\n %41 = add i64 %2, 6\n %42 = inttoptr i64 %41 to i16*\n %43 = load i16, i16* %42, align 2\n %44 = add i64 %2, 16\n %45 = inttoptr i64 %44 to i16*\n store i16 %43, i16* %45, align 2\n %46 = add i64 %2, 14\n %47 = inttoptr i64 %46 to i16*\n store i16 %43, i16* %47, align 2\n %48 = add i64 %2, 10\n %49 = inttoptr i64 %48 to i16*\n %50 = load i16, i16* %49, align 2\n %51 = add i64 %2, 20\n %52 = inttoptr i64 %51 to i16*\n store i16 %50, i16* %52, align 2\n %53 = add i64 %2, 18\n %54 = inttoptr i64 %53 to i16*\n store i16 %50, i16* %54, align 2\n br label LBL_8\n LBL_8:\n %55 = call i64 @FUNC(i64 %2, i64 1)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 1\n br i1 %57, label LBL_9, label LBL_10\n LBL_9:\n %58 = call i64 @FUNC(i64 %2, i64 9)\n %59 = call i64 @FUNC(i64 %2, i64 1)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 1\n br i1 %61, label LBL_9, label LBL_10\n LBL_10:\n %62 = call i64 @FUNC(i64 %2)\n %63 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 9, 11, 12, 10, 0, 5, 7, 6, 8, 14, 15, 13, 1, 2, 3, 4, 16, 17, 18, 19, 20, 21, 24, 23, 22 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @impeg2d_bit_stream_get_bit, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_get, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 10, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_sub_picture_1451", "fun_name": "get_sub_picture", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg5 to i64\n %1 = ptrtoint i64* %arg4 to i64\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = add i64 %1, 24\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = trunc i64 %arg3 to i32\n %7 = mul i32 %5, %6\n %8 = sext i32 %7 to i64\n %9 = add i64 %2, %1\n %10 = add i64 %9, %8\n store i64 %10, i64* %arg5, align 8\n %11 = load i32, i32* %4, align 4\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = bitcast i64* %rdi to i32*\n %15 = load i32, i32* %14, align 8\n %16 = zext i32 %15 to i64\n %17 = icmp eq i32 %15, 1\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %19 = add i64 %1, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = trunc i64 %2 to i32\n %23 = ashr i32 %22, 1\n %24 = sext i32 %23 to i64\n %25 = ashr i32 %6, 1\n %26 = add i64 %1, 28\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = mul i32 %28, %25\n %30 = sext i32 %29 to i64\n %31 = add i64 %21, %24\n %32 = add i64 %31, %30\n %33 = add i64 %0, 8\n %34 = inttoptr i64 %33 to i64*\n store i64 %32, i64* %34, align 8\n %35 = load i32, i32* %27, align 4\n %36 = add i64 %0, 28\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = add i64 %1, 16\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = add i64 %1, 32\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = mul i32 %43, %25\n %45 = sext i32 %44 to i64\n %46 = add i64 %40, %24\n %47 = add i64 %46, %45\n %48 = add i64 %0, 16\n %49 = inttoptr i64 %48 to i64*\n store i64 %47, i64* %49, align 8\n %50 = load i32, i32* %42, align 4\n %51 = add i64 %0, 32\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 4, 3, 0, 5 }\n uselistorder i64 32, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cbq_dump_wrr_10082", "fun_name": "cbq_dump_wrr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %1 = call i64 @FUNC(i64 %0, i64 1, i64 20, i32* nonnull %sv_0)\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reftype_dump_9696", "fun_name": "reftype_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rdi.01.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 12\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i32*\n store i32 %3, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %9 = inttoptr i64 %arg2 to %_IO_FILE*\n %10 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_1 to i64*), i32 1, i32 2, %_IO_FILE* %9)\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rdi.01.reg2mem\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %rdi.01.reload = load i64, i64* %rdi.01.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul i64 %indvars.iv.reload, 4\n %16 = add i64 %15, %rdi.01.reload\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %9, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %19)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %21 = load i32, i32* %12, align 4\n %22 = zext i32 %21 to i64\n %23 = icmp ult i64 %indvars.iv.next, %22\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %arg2, i64* %rdi.01.reg2mem\n br i1 %23, label LBL_2, label LBL_3\n LBL_3:\n %24 = add i64 %0, 20\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_3 to i64*), i32 1, i32 34, %_IO_FILE* %9)\n br label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %arg2)\n store i32 1919247988, i32* %7, align 4\n br label LBL_6\n LBL_6:\n ret i64 0\n\n uselistorder i32* %12, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 %arg2, { 1, 0, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avformat_free_context_2243", "fun_name": "avformat_free_context", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i32\n %storemerge17.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n br i1 %2, label LBL_19, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = add i64 %arg1, 80\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %6 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = add i64 %arg1, 40\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %13)\n br label LBL_5\n LBL_5:\n %16 = add i64 %arg1, 88\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_9, label LBL_6\n LBL_6:\n %20 = inttoptr i64 %18 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n br i1 %22, label LBL_9, label LBL_7\n LBL_7:\n %23 = add i64 %arg1, 40\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_9, label LBL_8\n LBL_8:\n %27 = call i64 @FUNC(i64 %25)\n br label LBL_9\n LBL_9:\n %28 = trunc i64 %1 to i32\n %storemerge16 = add i32 %28, -1\n %29 = icmp slt i32 %storemerge16, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_10, label LBL_12\n LBL_10:\n %31 = add i64 %arg1, 16\n %32 = inttoptr i64 %31 to i64*\n store i32 %storemerge16, i32* %storemerge17.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %33 = load i64, i64* %32, align 8\n %34 = sext i32 %storemerge17.reload to i64\n %35 = mul i64 %34, 8\n %36 = add i64 %35, %33\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %arg1, i64 %38)\n %storemerge1 = add i32 %storemerge17.reload, -1\n %40 = icmp slt i32 %storemerge1, 0\n %41 = icmp eq i1 %40, false\n store i32 %storemerge1, i32* %storemerge17.reg2mem\n br i1 %41, label LBL_11, label LBL_12\n LBL_12:\n %42 = add i64 %arg1, 4\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %storemerge3 = add i32 %44, -1\n %45 = icmp slt i32 %storemerge3, 0\n %46 = icmp eq i1 %45, false\n %47 = add i64 %arg1, 24\n br i1 %46, label LBL_13, label LBL_15\n LBL_13:\n %48 = inttoptr i64 %47 to i64*\n store i32 %storemerge3, i32* %storemerge4.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %49 = load i64, i64* %48, align 8\n %50 = sext i32 %storemerge4.reload to i64\n %51 = mul i64 %50, 8\n %52 = add i64 %51, %49\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = call i64 @FUNC(i64 %54)\n %56 = load i64, i64* %48, align 8\n %57 = add i64 %56, %51\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = add i64 %59, 8\n %61 = call i64 @FUNC(i64 %60)\n %62 = load i64, i64* %48, align 8\n %63 = add i64 %62, %51\n %64 = call i64 @FUNC(i64 %63)\n %storemerge = add i32 %storemerge4.reload, -1\n %65 = icmp slt i32 %storemerge, 0\n %66 = icmp eq i1 %65, false\n store i32 %storemerge, i32* %storemerge4.reg2mem\n br i1 %66, label LBL_14, label LBL_15\n LBL_15:\n %67 = call i64 @FUNC(i64 %47)\n %68 = add i64 %arg1, 40\n %69 = call i64 @FUNC(i64 %68)\n %70 = add i64 %arg1, 8\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = add i32 %72, -1\n store i32 %73, i32* %71, align 4\n %74 = icmp eq i32 %72, 0\n %75 = icmp eq i1 %74, false\n %76 = add i64 %arg1, 32\n br i1 %75, label LBL_16, label LBL_18\n LBL_16:\n %77 = inttoptr i64 %76 to i64*\n store i32 %73, i32* %.reg2mem\n br label LBL_17\n LBL_17:\n %.reload = load i32, i32* %.reg2mem\n %78 = load i64, i64* %77, align 8\n %79 = sext i32 %.reload to i64\n %80 = mul i64 %79, 8\n %81 = add i64 %80, %78\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n %84 = call i64 @FUNC(i64 %83)\n %85 = load i64, i64* %77, align 8\n %86 = load i32, i32* %71, align 4\n %87 = sext i32 %86 to i64\n %88 = mul i64 %87, 8\n %89 = add i64 %88, %85\n %90 = call i64 @FUNC(i64 %89)\n %91 = load i32, i32* %71, align 4\n %92 = add i32 %91, -1\n store i32 %92, i32* %71, align 4\n %93 = icmp eq i32 %91, 0\n %94 = icmp eq i1 %93, false\n store i32 %92, i32* %.reg2mem\n br i1 %94, label LBL_17, label LBL_18\n LBL_18:\n %95 = call i64 @FUNC(i64 %76)\n %96 = add i64 %arg1, 48\n %97 = call i64 @FUNC(i64 %96)\n %98 = add i64 %arg1, 16\n %99 = call i64 @FUNC(i64 %98)\n %100 = add i64 %arg1, 56\n %101 = call i64 @FUNC(i64 %100)\n %102 = add i64 %arg1, 72\n %103 = add i64 %arg1, 64\n %104 = call i64 @FUNC(i64 %103, i64 %102)\n %105 = call i64 @FUNC(i64 %arg1)\n store i64 %105, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %71, { 3, 4, 2, 0, 1 }\n uselistorder i64 %51, { 2, 1, 0 }\n uselistorder i32 %storemerge4.reload, { 1, 0 }\n uselistorder i32 %storemerge17.reload, { 1, 0 }\n uselistorder i32* %storemerge17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_freep, { 6, 5, 4, 7, 1, 0, 3, 2 }\n uselistorder i64 (i64)* @av_dict_free, { 1, 2, 0 }\n uselistorder i64 8, { 0, 1, 4, 5, 2, 3 }\n uselistorder i1 false, { 3, 2, 4, 1, 5, 0 }\n uselistorder i32 0, { 3, 2, 4, 1, 5, 0 }\n uselistorder i32 -1, { 5, 2, 4, 1, 3, 0 }\n uselistorder i64 (i64)* @av_opt_free, { 2, 1, 0 }\n uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1, 3, 4, 5, 6, 7, 8, 9, 11, 12, 10, 14, 13, 16, 15, 17, 18 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pmc_core_mtpmc_link_status_4070", "fun_name": "pmc_core_mtpmc_link_status", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 ptrtoint (i32* @gv_0 to i64), i64 0)\n %1 = urem i64 %0, 2\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_net_handle_ctrl_10488", "fun_name": "virtio_net_handle_ctrl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %2 = alloca i8\n %.lcssa.reg2mem = alloca i64\n %3 = ptrtoint i64* %arg2 to i64\n %4 = load i8, i8* %2\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %5 = load i64, i64* %0\n %6 = load i32, i32* %1\n %sv_3 = alloca i64, align 8\n %7 = load i32, i32* %1\n %sv_4 = alloca i32, align 4\n store i32 0, i32* %sv_4, align 4\n %8 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %.lcssa.reg2mem\n br i1 %11, label LBL_1, label LBL_20\n LBL_1:\n %12 = ptrtoint i64* %arg1 to i64\n %13 = zext i32 %7 to i64\n %14 = zext i32 %6 to i64\n %15 = bitcast i8* %sv_0 to i64*\n %16 = zext i8 %4 to i64\n br label LBL_2\n LBL_2:\n %17 = load i64, i64* %sv_3, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %13)\n %19 = icmp ult i64 %18, 4\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %5, i64 %14)\n %21 = icmp ult i64 %20, 2\n br i1 %21, label LBL_4, label LBL_5\n LBL_4:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %23 = call i64 @FUNC(i64 %5, i32 %6, i64 0, i64* nonnull %15, i64 2)\n %24 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_1, i64 2)\n %25 = icmp eq i64 %23, 2\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n store i32 0, i32* %sv_4, align 4\n br label LBL_17\n LBL_7:\n %26 = load i8, i8* %sv_0, align 1\n %27 = icmp eq i8 %26, 2\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = load i32, i32* %sv_1, align 4\n %30 = load i64, i64* %sv_2, align 8\n %31 = call i64 @FUNC(i64 %12, i64 %16, i64 %30, i32 %29)\n %32 = trunc i64 %31 to i32\n store i32 %32, i32* %sv_4, align 4\n br label LBL_17\n LBL_9:\n %33 = icmp eq i8 %26, 3\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n %35 = load i32, i32* %sv_1, align 4\n %36 = load i64, i64* %sv_2, align 8\n %37 = call i64 @FUNC(i64 %12, i64 %16, i64 %36, i32 %35)\n %38 = trunc i64 %37 to i32\n store i32 %38, i32* %sv_4, align 4\n br label LBL_17\n LBL_11:\n %39 = icmp eq i8 %26, 4\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_13, label LBL_12\n LBL_12:\n %41 = load i32, i32* %sv_1, align 4\n %42 = load i64, i64* %sv_2, align 8\n %43 = call i64 @FUNC(i64 %12, i64 %16, i64 %42, i32 %41)\n %44 = trunc i64 %43 to i32\n store i32 %44, i32* %sv_4, align 4\n br label LBL_17\n LBL_13:\n %45 = icmp eq i8 %26, 5\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_15, label LBL_14\n LBL_14:\n %47 = load i32, i32* %sv_1, align 4\n %48 = load i64, i64* %sv_2, align 8\n %49 = call i64 @FUNC(i64 %12, i64 %16, i64 %48, i32 %47)\n %50 = trunc i64 %49 to i32\n store i32 %50, i32* %sv_4, align 4\n br label LBL_17\n LBL_15:\n %51 = icmp eq i8 %26, 6\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_17, label LBL_16\n LBL_16:\n %53 = load i32, i32* %sv_1, align 4\n %54 = load i64, i64* %sv_2, align 8\n %55 = call i64 @FUNC(i64 %12, i64 %16, i64 %54, i32 %53)\n %56 = trunc i64 %55 to i32\n store i32 %56, i32* %sv_4, align 4\n br label LBL_17\n LBL_17:\n %57 = load i64, i64* %sv_3, align 8\n %58 = call i64 @FUNC(i64 %57, i32 %7, i64 0, i32* nonnull %sv_4, i64 4)\n %59 = icmp eq i64 %58, 4\n br i1 %59, label LBL_19, label LBL_18\n LBL_18:\n call void @__assert_fail(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_2, i64 0, i64 0), i32 138, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_19\n LBL_19:\n %60 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 4)\n %61 = call i64 @FUNC(i64 %12, i64 %3)\n %62 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3)\n %63 = trunc i64 %62 to i32\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n store i64 %62, i64* %.lcssa.reg2mem\n br i1 %65, label LBL_2, label LBL_20\n LBL_20:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %12, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 3, 4, 0 }\n uselistorder i64* %sv_2, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32* %sv_1, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 %3, { 3, 2, 1, 0 }\n uselistorder i32* %1, { 1, 0 }\n uselistorder i64 2, { 1, 3, 4, 2, 0 }\n uselistorder i64 4, { 2, 0, 3, 1 }\n uselistorder i64 (i64, i64)* @iov_size, { 1, 0 }\n uselistorder i1 false, { 6, 1, 2, 3, 4, 5, 0 }\n uselistorder i64 (i64, i64*)* @virtqueue_pop, { 1, 0 }\n uselistorder i32 0, { 3, 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "MP4_EIA608_Convert_4578", "fun_name": "MP4_EIA608_Convert", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_1.1.in.reg2mem = alloca i64\n %sv_2.1.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i64\n %sv_1.0.in.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp ult i64 %2, 3074457345618258602\n %4 = select i1 %3, i64 %2, i64 3074457345618258602\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = trunc i64 %5 to i32\n %7 = icmp ugt i32 %6, 10\n %8 = and i64 %5, 4294967295\n %9 = icmp ugt i64 %4, %8\n %or.cond = or i1 %7, %9\n br i1 %or.cond, label LBL_3, label LBL_1\n LBL_1:\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i64*\n %12 = call i32 @memcmp(i64* bitcast ([5 x i8]* @gv_0 to i64*), i64* %11, i32 4)\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = mul nuw i64 %4, 3\n %16 = add i64 %15, -8\n %17 = call i64 @FUNC(i64 %16)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %1, align 8\n store i64 %arg1, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_4:\n %20 = inttoptr i64 %17 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i32 %6, -8\n %23 = add nsw i64 %4, -8\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 %23, i64* %sv_3.0.reg2mem\n store i32 %22, i32* %sv_2.0.reg2mem\n store i64 %15, i64* %sv_1.0.in.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0 = inttoptr i64 %sv_1.0.in.reload to i8*\n %24 = add i64 %sv_0.0.reload, %21\n %25 = inttoptr i64 %24 to i8*\n store i8 0, i8* %25, align 1\n %26 = add i64 %24, 1\n %27 = load i8, i8* %sv_1.0, align 1\n %28 = inttoptr i64 %26 to i8*\n store i8 %27, i8* %28, align 1\n %29 = add i64 %sv_0.0.reload, 3\n %30 = add i64 %24, 2\n %31 = add i64 %sv_1.0.in.reload, 1\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = inttoptr i64 %30 to i8*\n store i8 %33, i8* %34, align 1\n %35 = add i64 %sv_1.0.in.reload, 2\n %36 = add i32 %sv_2.0.reload, -2\n %37 = add i64 %sv_3.0.reload, -2\n %38 = icmp eq i32 %36, 0\n %39 = icmp eq i32 %sv_2.0.reload, 3\n %40 = or i1 %39, %38\n store i64 %29, i64* %sv_0.0.reg2mem\n store i64 %37, i64* %sv_3.0.reg2mem\n store i32 %36, i32* %sv_2.0.reg2mem\n store i64 %35, i64* %sv_1.0.in.reg2mem\n br i1 %40, label LBL_6, label LBL_5\n LBL_6:\n %41 = icmp ult i64 %37, 10\n store i64 %29, i64* %sv_0.2.reg2mem\n br i1 %41, label LBL_11, label LBL_7\n LBL_7:\n %42 = call i64 @FUNC(i64 %35)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n %45 = and i64 %42, 4294967295\n %46 = icmp ult i64 %37, %45\n %or.cond4 = or i1 %44, %46\n store i64 %29, i64* %sv_0.2.reg2mem\n br i1 %or.cond4, label LBL_11, label LBL_8\n LBL_8:\n %47 = add i64 %sv_1.0.in.reload, 6\n %48 = inttoptr i64 %47 to i64*\n %49 = call i32 @memcmp(i64* bitcast ([5 x i8]* @gv_1 to i64*), i64* %48, i32 4)\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 %29, i64* %sv_0.2.reg2mem\n br i1 %51, label LBL_11, label LBL_9\n LBL_9:\n %52 = add i64 %sv_1.0.in.reload, 10\n %53 = add i32 %43, -8\n store i64 %29, i64* %sv_0.1.reg2mem\n store i32 %53, i32* %sv_2.1.reg2mem\n store i64 %52, i64* %sv_1.1.in.reg2mem\n br label LBL_10\n LBL_10:\n %sv_1.1.in.reload = load i64, i64* %sv_1.1.in.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.1 = inttoptr i64 %sv_1.1.in.reload to i8*\n %54 = add i64 %sv_0.1.reload, %21\n %55 = inttoptr i64 %54 to i8*\n store i8 0, i8* %55, align 1\n %56 = add i64 %54, 1\n %57 = load i8, i8* %sv_1.1, align 1\n %58 = inttoptr i64 %56 to i8*\n store i8 %57, i8* %58, align 1\n %59 = add i64 %sv_0.1.reload, 3\n %60 = add i64 %54, 2\n %61 = add i64 %sv_1.1.in.reload, 1\n %62 = inttoptr i64 %61 to i8*\n %63 = load i8, i8* %62, align 1\n %64 = inttoptr i64 %60 to i8*\n store i8 %63, i8* %64, align 1\n %65 = add i64 %sv_1.1.in.reload, 2\n %66 = add i32 %sv_2.1.reload, -2\n %67 = icmp eq i32 %66, 0\n %68 = icmp eq i32 %sv_2.1.reload, 3\n %69 = or i1 %68, %67\n store i64 %59, i64* %sv_0.1.reg2mem\n store i32 %66, i32* %sv_2.1.reg2mem\n store i64 %65, i64* %sv_1.1.in.reg2mem\n store i64 %59, i64* %sv_0.2.reg2mem\n br i1 %69, label LBL_11, label LBL_10\n LBL_11:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %70 = add i64 %arg1, 16\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = add i64 %17, 24\n %74 = inttoptr i64 %73 to i64*\n store i64 %72, i64* %74, align 8\n %75 = add i64 %17, 8\n %76 = inttoptr i64 %75 to i64*\n store i64 %sv_0.2.reload, i64* %76, align 8\n %77 = add i64 %17, 32\n %78 = inttoptr i64 %77 to i32*\n store i32 1, i32* %78, align 4\n %79 = call i64 @FUNC(i64 %arg1)\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.1.in.reload, { 2, 1, 0 }\n uselistorder i64 %37, { 1, 2, 0 }\n uselistorder i64 %35, { 1, 0 }\n uselistorder i64 %29, { 3, 0, 1, 2, 4 }\n uselistorder i64 %sv_1.0.in.reload, { 4, 3, 2, 1, 0 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.1.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 0, 2, 3, 1, 4 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder i64 (i64)* @GetDWBE, { 1, 0 }\n uselistorder i32 1, { 12, 9, 8, 7, 6, 5, 4, 3, 2, 1, 10, 11, 0 }\n uselistorder i64 %arg1, { 1, 2, 0, 3, 4, 5 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ohci_pci_class_init_1133", "fun_name": "ohci_pci_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 1452, i32* %2, align 4\n %3 = add i64 %0, 12\n %4 = inttoptr i64 %3 to i32*\n store i32 4096, i32* %4, align 4\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i32*\n store i32 787200, i32* %6, align 4\n %7 = add i64 %0, 20\n %8 = inttoptr i64 %7 to i32*\n store i32 1, i32* %8, align 4\n store i64 ptrtoint ([21 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %9 = load i64, i64* @gv_1, align 8\n %10 = inttoptr i64 %1 to i64*\n store i64 %9, i64* %10, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_fork_4788", "fun_name": "cpu_fork", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg2, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 0, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %6 = bitcast i64* %rdi to i32*\n %7 = load i32, i32* %6, align 8\n %8 = bitcast i64* %arg2 to i32*\n store i32 %7, i32* %8, align 4\n store i64 0, i64* %5, align 8\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %11, 4096\n %13 = call i64 @FUNC(i64 %12)\n %14 = call i64* @memset(i64* null, i32 90, i32 4096)\n %15 = call i64* @memset(i64* null, i32 180, i32 28)\n store i64 4092, i64* %3, align 8\n %16 = add i64 %1, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i64 %arg3, 0\n %22 = trunc i64 %arg3 to i32\n %23 = trunc i64 %arg4 to i32\n %24 = add i32 %23, %22\n %storemerge = select i1 %21, i32 %20, i32 %24\n store i32 %storemerge, i32* inttoptr (i64 4092 to i32*), align 4\n call void @llvm.trap()\n unreachable\n\n uselistorder i64 %0, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_qt_report_6264", "fun_name": "gf_qt_report", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = icmp eq i32 %arg2, 0\n %22 = zext i1 %21 to i64\n %23 = call i64 @FUNC(i64 2, i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_4, label LBL_3\n LBL_3:\n store i32 24, i32* %sv_1, align 4\n %26 = ptrtoint i32* %sv_1 to i64\n %27 = bitcast i64* %sv_0 to i8*\n %28 = call i32 @vsnprintf(i8* nonnull %27, i32 1024, i8* %arg3, i64 %26)\n %29 = call i64 @FUNC(i64 %22, i64 2, i64* nonnull %sv_0, i64 %22, i64 %arg5, i64 %arg6)\n br label LBL_4\n LBL_4:\n %30 = zext i32 %arg2 to i64\n ret i64 %30\n\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "paravirt_patch_call_13488", "fun_name": "paravirt_patch_call", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i16 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg6 to i32\n %1 = icmp ult i32 %0, 5\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = and i64 %arg6, 4294967295\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64 %arg4)\n ret i64 %2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %arg2, -5\n %6 = sub i64 %5, %arg4\n %7 = bitcast i64* %arg1 to i8*\n store i8 -24, i8* %7, align 1\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %6, i64* %9, align 8\n call void @llvm.trap()\n unreachable\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_module_2439", "fun_name": "load_module", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i64* @dlopen(i8* %0, i32 2)\n %2 = icmp eq i64* %1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i8* @dlerror()\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i8* %0, i8* %4)\n %7 = sext i32 %6 to i64\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %8 = call i64* @dlsym(i64* %1, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n %9 = icmp eq i64* %8, null\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i8* %0)\n %13 = call i32 @dlclose(i64* %1)\n %14 = sext i32 %13 to i64\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %15 = ptrtoint i64* %8 to i64\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %8, { 1, 0 }\n uselistorder i8* %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_xref_from_plaintext_10994", "fun_name": "load_xref_from_plaintext", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.in.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge2.in.reg2mem = alloca i32\n %sv_2.19.reg2mem = alloca i32\n %sv_0.110.reg2mem = alloca i32\n %storemerge11.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_4.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %sv_7 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_7 to i64\n store i64 0, i64* %sv_6, align 8\n %2 = inttoptr i64 %arg1 to %_IO_FILE*\n %3 = call i32 @ftell(%_IO_FILE* %2)\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = trunc i64 %6 to i32\n %8 = call i32 @fseek(%_IO_FILE* %2, i32 %7, i32 0)\n store i64 %6, i64* %sv_4.0.reg2mem\n br label LBL_5\n LBL_1:\n %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem\n %9 = call i32 @fgetc(%_IO_FILE* %2)\n %10 = icmp eq i32 %9, 47\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i32 @fgetc(%_IO_FILE* %2)\n %13 = icmp eq i32 %12, 83\n br i1 %13, label LBL_6, label LBL_3\n LBL_3:\n %14 = add i64 %sv_4.0.reload, -1\n %15 = trunc i64 %14 to i32\n %16 = call i32 @fseek(%_IO_FILE* %2, i32 %15, i32 0)\n %17 = icmp eq i32 %16, 0\n store i64 %14, i64* %sv_4.0.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %19 = call i32 @fwrite(i64* bitcast ([28 x i8]* @gv_1 to i64*), i32 1, i32 27, %_IO_FILE* %18)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %20 = call i32 @ftell(%_IO_FILE* %2)\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_1, label LBL_6\n LBL_6:\n %23 = call i32 @fread(i64* nonnull %sv_6, i32 1, i32 21, %_IO_FILE* %2)\n %24 = icmp eq i32 %23, 21\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %26 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_2 to i64*), i32 1, i32 34, %_IO_FILE* %25)\n call void @exit(i32 1)\n unreachable\n LBL_8:\n %27 = bitcast i64* %sv_5 to i8*\n %28 = call i32 @atoi(i8* nonnull %27)\n %29 = add i64 %0, 16\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = mul i32 %28, 24\n %32 = call i64* @calloc(i32 1, i32 %31)\n %33 = ptrtoint i64* %32 to i64\n %34 = add i64 %0, 24\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = or i32 %31, 4\n %37 = call i32 @fseek(%_IO_FILE* %2, i32 %36, i32 0)\n %38 = load i32, i32* %30, align 4\n %39 = icmp eq i32 %38, 0\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %39, label LBL_24, label LBL_9\n LBL_9:\n %40 = add i64 %1, -96\n %41 = bitcast i64* %sv_6 to i8*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge11.reg2mem\n store i32 0, i32* %sv_0.110.reg2mem\n store i32 0, i32* %sv_2.19.reg2mem\n br label LBL_10\n LBL_10:\n %sv_2.19.reload = load i32, i32* %sv_2.19.reg2mem\n %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %42 = call i32 @fgetc(%_IO_FILE* %2)\n store i32 %42, i32* %storemerge2.in.reg2mem\n br label LBL_12\n LBL_11:\n %43 = call i32 @fgetc(%_IO_FILE* %2)\n store i32 %43, i32* %storemerge2.in.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge2.in.reload = load i32, i32* %storemerge2.in.reg2mem\n %storemerge2 = trunc i32 %storemerge2.in.reload to i8\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %storemerge2.in.reload, i32* %sv_3.0.in.reg2mem\n switch i8 %storemerge2, label LBL_14 [\n i8 13, label LBL_11\n i8 10, label LBL_11\n ]\n LBL_13:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %44 = add i64 %indvars.iv.reload, %40\n %45 = inttoptr i64 %44 to i8*\n store i8 %sv_3.0, i8* %45, align 1\n %46 = call i32 @fgetc(%_IO_FILE* %2)\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %46, i32* %sv_3.0.in.reg2mem\n br label LBL_14\n LBL_14:\n %sv_3.0.in.reload = load i32, i32* %sv_3.0.in.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %sv_3.0 = trunc i32 %sv_3.0.in.reload to i8\n switch i8 %sv_3.0, label LBL_15 [\n i8 13, label LBL_17\n i8 10, label LBL_17\n ]\n LBL_15:\n %47 = call i32 @feof(%_IO_FILE* %2)\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_17, label LBL_16\n LBL_16:\n %50 = call i32 @ferror(%_IO_FILE* %2)\n %51 = icmp eq i32 %50, 0\n %52 = icmp ult i64 %indvars.iv.reload, 32\n %or.cond7 = icmp eq i1 %52, %51\n br i1 %or.cond7, label LBL_13, label LBL_17\n LBL_17:\n %53 = trunc i64 %indvars.iv.reload to i32\n %54 = icmp ult i32 %53, 32\n br i1 %54, label LBL_19, label LBL_18\n LBL_18:\n %55 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %56 = call i32 @fwrite(i64* bitcast ([66 x i8]* @gv_3 to i64*), i32 1, i32 65, %_IO_FILE* %55)\n call void @exit(i32 1)\n unreachable\n LBL_19:\n %sext = mul i64 %indvars.iv.reload, 4294967296\n %57 = ashr exact i64 %sext, 32\n %58 = add i64 %57, %40\n %59 = inttoptr i64 %58 to i8*\n store i8 0, i8* %59, align 1\n %60 = call i8* @strchr(i8* nonnull %41, i32 116)\n %61 = icmp eq i8* %60, null\n %62 = icmp eq i1 %61, false\n store i32 %sv_0.110.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %62, label LBL_24, label LBL_20\n LBL_20:\n %63 = call i32 @strlen(i8* nonnull %41)\n %64 = icmp ult i32 %63, 18\n br i1 %64, label LBL_22, label LBL_21\n LBL_21:\n %65 = add i32 %sv_2.19.reload, 1\n %66 = load i64, i64* %35, align 8\n %67 = mul nsw i64 %.reload, 24\n %68 = add nsw i64 %67, 16\n %69 = add i64 %68, %66\n %70 = inttoptr i64 %69 to i32*\n store i32 %sv_2.19.reload, i32* %70, align 4\n %71 = call i8* @strtok(i8* nonnull %41, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0))\n %72 = load i64, i64* %35, align 8\n %73 = add i64 %72, %67\n %74 = call i32 @atol(i8* %71)\n %75 = sext i32 %74 to i64\n %76 = inttoptr i64 %73 to i64*\n store i64 %75, i64* %76, align 8\n %77 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0))\n %78 = load i64, i64* %35, align 8\n %79 = call i32 @atoi(i8* %77)\n %80 = add nsw i64 %67, 8\n %81 = add i64 %80, %78\n %82 = inttoptr i64 %81 to i32*\n store i32 %79, i32* %82, align 4\n %83 = load i64, i64* %35, align 8\n %84 = add nsw i64 %67, 12\n %85 = add i64 %84, %83\n %86 = inttoptr i64 %85 to i8*\n %87 = add i32 %sv_0.110.reload, 1\n store i32 %65, i32* %sv_2.0.reg2mem\n store i32 %87, i32* %sv_0.0.reg2mem\n store i32 %storemerge11.reload, i32* %sv_1.0.reg2mem\n br label LBL_23\n LBL_22:\n %88 = call i32 @atoi(i8* nonnull %41)\n %89 = add i32 %storemerge11.reload, -1\n store i32 %88, i32* %sv_2.0.reg2mem\n store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem\n store i32 %89, i32* %sv_1.0.reg2mem\n br label LBL_23\n LBL_23:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %90 = add i32 %sv_1.0.reload, 1\n %91 = load i32, i32* %30, align 4\n %92 = zext i32 %91 to i64\n %93 = sext i32 %90 to i64\n %94 = icmp slt i64 %93, %92\n store i64 %93, i64* %.reg2mem\n store i32 %90, i32* %storemerge11.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.19.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %94, label LBL_10, label LBL_24\n LBL_24:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %30, align 4\n %95 = call i32 @fseek(%_IO_FILE* %2, i32 %3, i32 0)\n %96 = sext i32 %95 to i64\n ret i64 %96\n\n uselistorder i64 %67, { 1, 2, 0, 3 }\n uselistorder i8 %sv_3.0, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 4, 3, 1, 0, 2 }\n uselistorder i32 %storemerge11.reload, { 1, 0 }\n uselistorder i32 %sv_0.110.reload, { 1, 2, 0 }\n uselistorder i32 %sv_2.19.reload, { 1, 0 }\n uselistorder i8* %41, { 1, 0, 2, 3 }\n uselistorder i32 %31, { 1, 0 }\n uselistorder i32* %30, { 1, 2, 0, 3 }\n uselistorder %_IO_FILE* %2, { 0, 3, 4, 2, 1, 5, 6, 7, 11, 9, 8, 10, 12, 13 }\n uselistorder i64* %sv_4.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.110.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.19.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8* (i8*, i8*)* @strtok, { 1, 0 }\n uselistorder i8* null, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 (i8*)* @atoi, { 2, 1, 0 }\n uselistorder void (i32)* @exit, { 2, 0, 1 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 2, 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*)* @fgetc, { 4, 3, 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 2, 3, 1, 0 }\n uselistorder i32 0, { 7, 10, 11, 1, 2, 3, 0, 4, 8, 5, 12, 6, 9 }\n uselistorder i32 (%_IO_FILE*)* @ftell, { 1, 0 }\n uselistorder label LBL_17, { 2, 3, 0, 1 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "crm_client_new_13780", "fun_name": "crm_client_new", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_5, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 0, i64* nonnull @gv_0)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = load i8, i8* inttoptr (i64 4210764 to i8*), align 4\n %12 = icmp eq i8 %11, 1\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n store i8 1, i8* bitcast (i64* @gv_3 to i8*), align 8\n br label LBL_5\n LBL_5:\n %sext = mul i64 %arg2, 4294967296\n %14 = ashr exact i64 %sext, 32\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i64 %18)\n %20 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %21 = call i64 @FUNC(i64 %0, i64 4294967295, i32 %20, i64 432)\n br label LBL_7\n LBL_7:\n %22 = call i64 @FUNC()\n %23 = call i64* @calloc(i32 1, i32 32)\n %24 = ptrtoint i64* %23 to i64\n store i64 %0, i64* %23, align 8\n %25 = add i64 %24, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 1, i32* %26, align 4\n %27 = call i64 @FUNC(i64 %0)\n %28 = trunc i64 %27 to i32\n %29 = add i64 %24, 12\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = call i64 @FUNC()\n %32 = add i64 %24, 16\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n %34 = load i32, i32* %30, align 4\n %35 = zext i32 %arg3 to i64\n %36 = zext i32 %34 to i64\n %37 = call i64 @FUNC(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_5, i64 0, i64 0), i64 %0, i32 %15, i64 %35, i64 %36, i64 %31)\n %38 = and i64 %14, 4294967295\n %39 = call i64 @FUNC(i64 %38)\n %40 = add i64 %24, 24\n %41 = inttoptr i64 %40 to i64*\n store i64 %39, i64* %41, align 8\n %42 = load i64, i64* @gv_6, align 8\n %43 = call i64 @FUNC(i64 %42, i64 %0, i64 %24)\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 1, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qeth_get_problem_9256", "fun_name": "qeth_get_problem", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = call i64* @malloc(i32 0)\n %10 = ptrtoint i64* %9 to i64\n %11 = urem i64 %3, 64\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = call i64 @FUNC(i64 %10, i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n %15 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64 %4, i64 %2, i64 %1)\n %16 = call i64 @FUNC(i64 %13)\n %17 = and i64 %3, 4294967295\n %18 = zext i32 %8 to i64\n %19 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_2, i64 0, i64 0), i64 %16, i64 %18, i64 %17, i64 %1)\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 0, i64 16, i64 1, i64 %5)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %21 = and i32 %8, 64\n %22 = icmp eq i32 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_12, label LBL_3\n LBL_3:\n %23 = add i64 %5, 8\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = urem i8 %25, 2\n %27 = icmp eq i8 %26, 0\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %28 = call i64 @FUNC(i64 %10, i64 2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %29 = add i64 %5, 9\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = and i8 %31, 2\n %33 = icmp eq i8 %32, 0\n br i1 %33, label LBL_7, label LBL_6\n LBL_6:\n %34 = call i64 @FUNC(i64 %10, i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_6, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %35 = or i8 %31, %25\n %36 = icmp eq i8 %35, 0\n br i1 %36, label LBL_8, label LBL_11\n LBL_8:\n %37 = add i64 %5, 10\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = icmp eq i8 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_11, label LBL_9\n LBL_9:\n %42 = add i64 %5, 11\n %43 = inttoptr i64 %42 to i8*\n %44 = load i8, i8* %43, align 1\n %45 = icmp eq i8 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_11, label LBL_10\n LBL_10:\n %47 = call i64 @FUNC(i64 %10, i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %48 = call i64 @FUNC(i64 %10, i64 2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %25, { 1, 0 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %10, { 0, 4, 3, 2, 1 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %5, { 0, 1, 2, 5, 3, 4 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i8 0, { 3, 4, 0, 1, 2, 5, 6 }\n uselistorder i8 2, { 1, 0 }\n uselistorder i64 1, { 3, 2, 1, 0, 4 }\n uselistorder i64 (i64, i64, i8*)* @QETH_CARD_TEXT, { 4, 3, 2, 1, 0 }\n uselistorder [8 x i8]* @gv_0, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_12, { 1, 2, 3, 4, 0, 5 }\n uselistorder label LBL_11, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ecryptfs_read_and_validate_header_region_10420", "fun_name": "ecryptfs_read_and_validate_header_region", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i64 64, i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 63\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = icmp slt i32 %2, 0\n %5 = icmp eq i1 %4, false\n %6 = and i64 %1, 4294967295\n %spec.select = select i1 %5, i64 4294967274, i64 %6\n ret i64 %spec.select\n LBL_2:\n %7 = ptrtoint i64* %sv_0 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0)\n br label LBL_4\n LBL_4:\n %13 = and i64 %8, 4294967295\n ret i64 %13\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_wdlt_4766", "fun_name": "decode_wdlt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge21.reg2mem = alloca i32\n %.in34.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge10.lcssa.reg2mem = alloca i32\n %storemerge10.in.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.017.reg2mem = alloca i64\n %storemerge1018.reg2mem = alloca i32\n %sv_1.122.reg2mem = alloca i64\n %.in.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sext2 = mul i64 %arg4, 4294967296\n %1 = ashr exact i64 %sext2, 32\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = trunc i64 %1 to i32\n %5 = icmp sgt i32 %3, %4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_22, label LBL_1\n LBL_1:\n %6 = icmp eq i32 %3, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_22\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %9 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %1, %sext\n %10 = ashr exact i64 %sext4, 32\n %11 = add i64 %10, %8\n %12 = trunc i64 %9 to i32\n %13 = mul i32 %12, -1\n store i32 %3, i32* %.in.reg2mem\n store i64 %8, i64* %sv_1.122.reg2mem\n br label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0)\n %15 = trunc i64 %14 to i32\n %16 = icmp sgt i32 %15, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_22\n LBL_4:\n %sv_1.122.reload = load i64, i64* %sv_1.122.reg2mem\n %.in.reload = load i32, i32* %.in.reg2mem\n %17 = call i64 @FUNC(i64 %0)\n %storemerge1016 = trunc i64 %17 to i32\n %18 = and i32 %storemerge1016, 49152\n %19 = icmp eq i32 %18, 49152\n store i32 %storemerge1016, i32* %storemerge1018.reg2mem\n store i64 %sv_1.122.reload, i64* %sv_1.017.reg2mem\n store i64 %sv_1.122.reload, i64* %sv_1.0.lcssa.reg2mem\n store i64 %17, i64* %storemerge10.in.lcssa.reg2mem\n store i32 %storemerge1016, i32* %storemerge10.lcssa.reg2mem\n br i1 %19, label LBL_5, label LBL_7\n LBL_5:\n %sv_1.017.reload = load i64, i64* %sv_1.017.reg2mem\n %storemerge1018.reload = load i32, i32* %storemerge1018.reg2mem\n %sext8 = mul i32 %storemerge1018.reload, 65536\n %20 = ashr exact i32 %sext8, 16\n %21 = mul i32 %13, %20\n %22 = sub i64 %11, %sv_1.017.reload\n %23 = zext i32 %21 to i64\n %24 = icmp sgt i64 %22, %23\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %24, label LBL_6, label LBL_22\n LBL_6:\n %25 = add i64 %sv_1.017.reload, %23\n %26 = call i64 @FUNC(i64 %0)\n %storemerge10 = trunc i64 %26 to i32\n %27 = and i32 %storemerge10, 49152\n %28 = icmp eq i32 %27, 49152\n store i32 %storemerge10, i32* %storemerge1018.reg2mem\n store i64 %25, i64* %sv_1.017.reg2mem\n store i64 %25, i64* %sv_1.0.lcssa.reg2mem\n store i64 %26, i64* %storemerge10.in.lcssa.reg2mem\n store i32 %storemerge10, i32* %storemerge10.lcssa.reg2mem\n br i1 %28, label LBL_5, label LBL_7\n LBL_7:\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %29 = icmp ugt i64 %11, %sv_1.0.lcssa.reload\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %29, label LBL_8, label LBL_22\n LBL_8:\n %storemerge10.lcssa.reload = load i32, i32* %storemerge10.lcssa.reg2mem\n %storemerge10.in.lcssa.reload = load i64, i64* %storemerge10.in.lcssa.reg2mem\n %30 = trunc i64 %storemerge10.in.lcssa.reload to i16\n %31 = icmp sgt i16 %30, -1\n %.pre28 = add i64 %sv_1.0.lcssa.reload, %9\n store i32 %storemerge10.lcssa.reload, i32* %sv_0.0.reg2mem\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = add i64 %.pre28, -1\n %33 = trunc i64 %storemerge10.in.lcssa.reload to i8\n %34 = inttoptr i64 %32 to i8*\n store i8 %33, i8* %34, align 1\n %35 = call i64 @FUNC(i64 %0)\n %36 = trunc i64 %35 to i32\n store i32 %36, i32* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n store i64 %sv_1.0.lcssa.reload, i64* %sv_2, align 8\n %37 = icmp eq i32 %sv_0.0.reload, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_11, label LBL_21\n LBL_11:\n %39 = call i64 @FUNC(i64 %0)\n %40 = urem i64 %39, 256\n %41 = icmp sgt i64 %9, %40\n store i32 %sv_0.0.reload, i32* %.in34.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %41, label LBL_12, label LBL_22\n LBL_12:\n %.in34.reload = load i32, i32* %.in34.reg2mem\n %42 = call i64 @FUNC(i64 %0)\n %43 = load i64, i64* %sv_2, align 8\n %44 = urem i64 %42, 256\n %45 = add i64 %44, %43\n store i64 %45, i64* %sv_2, align 8\n %46 = call i64 @FUNC(i64 %0)\n %47 = trunc i64 %46 to i32\n %sext7 = mul i32 %47, 16777216\n %48 = icmp slt i32 %sext7, 0\n br i1 %48, label LBL_18, label LBL_13\n LBL_13:\n %49 = load i64, i64* %sv_2, align 8\n %50 = sub i64 %.pre28, %49\n %51 = mul i32 %47, 2\n %52 = and i32 %51, 510\n %53 = zext i32 %52 to i64\n %54 = icmp slt i64 %50, %53\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %54, label LBL_22, label LBL_14\n LBL_14:\n %55 = call i64 @FUNC(i64 %0, i64 %49, i64 %53)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %52, %56\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %57, label LBL_15, label LBL_22\n LBL_15:\n %58 = load i64, i64* %sv_2, align 8\n %59 = add i64 %58, %53\n store i64 %59, i64* %sv_2, align 8\n br label LBL_16\n LBL_16:\n %60 = add i32 %.in34.reload, -1\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_16.dec_label_pc_401413_crit_edge, label LBL_21\n LBL_17:\n %.pre = load i64, i64* %sv_2, align 8\n %63 = sub i64 %.pre28, %.pre\n %64 = call i64 @FUNC(i64 %0)\n %65 = urem i64 %64, 256\n %66 = icmp sgt i64 %63, %65\n store i32 %60, i32* %.in34.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %66, label LBL_12, label LBL_22\n LBL_18:\n %67 = ashr exact i32 %sext7, 24\n %68 = sub nsw i32 0, %67\n %69 = load i64, i64* %sv_2, align 8\n %70 = sub i64 %.pre28, %69\n %71 = mul i32 %68, 2\n %72 = sext i32 %71 to i64\n %73 = icmp slt i64 %70, %72\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %73, label LBL_22, label LBL_19\n LBL_19:\n %74 = call i64 @FUNC(i64 %0)\n %75 = and i64 %74, 4294967295\n store i32 0, i32* %storemerge21.reg2mem\n br label LBL_20\n LBL_20:\n %storemerge21.reload = load i32, i32* %storemerge21.reg2mem\n %76 = call i64 @FUNC(i64* nonnull %sv_2, i64 %75)\n %77 = add nuw nsw i32 %storemerge21.reload, 1\n %78 = icmp slt i32 %77, %68\n store i32 %77, i32* %storemerge21.reg2mem\n br i1 %78, label LBL_20, label LBL_16\n LBL_21:\n %79 = add i32 %.in.reload, -1\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n store i32 %79, i32* %.in.reg2mem\n store i64 %.pre28, i64* %sv_1.122.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %81, label LBL_3, label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %68, { 1, 0 }\n uselistorder i32 %52, { 1, 0 }\n uselistorder i64 %.pre28, { 0, 2, 3, 1, 4 }\n uselistorder i64 %sv_1.0.lcssa.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.017.reload, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 0, 3, 4, 5, 6, 7, 8 }\n uselistorder i64 %0, { 3, 6, 2, 5, 4, 0, 1, 7, 8, 9, 10 }\n uselistorder i32* %.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.122.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1018.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.017.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.in34.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge21.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 9, 6, 8, 7, 5, 2, 4, 1, 10, 11 }\n uselistorder i64 (i64)* @bytestream2_get_byte, { 1, 0 }\n uselistorder i64 256, { 2, 3, 4, 0, 1 }\n uselistorder i64 (i64)* @bytestream2_peek_byte, { 1, 0 }\n uselistorder i32 49152, { 2, 3, 0, 1 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i1 false, { 3, 2, 1, 0 }\n uselistorder i32 0, { 7, 0, 5, 6, 4, 3, 2, 1 }\n uselistorder i64 (i64)* @bytestream2_get_le16, { 3, 2, 1, 0 }\n uselistorder i64 32, { 0, 2, 1, 3 }\n uselistorder i64 4294967296, { 1, 0, 2 }\n uselistorder label LBL_22, { 2, 8, 5, 7, 6, 4, 1, 3, 0, 9, 10 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ircam_read_header_14096", "fun_name": "ircam_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64*\n %storemerge2.in.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %sv_1.0.in.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n store i32 0, i32* %storemerge15.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge15.reload = load i32, i32* %storemerge15.reg2mem\n %6 = sext i32 %storemerge15.reload to i64\n %7 = mul i64 %6, 8\n %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64)\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 8\n %11 = icmp eq i32 %10, %5\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_2, label LBL_3\n LBL_2:\n %13 = add nuw i32 %storemerge15.reload, 1\n %14 = icmp ult i32 %13, 7\n store i32 %13, i32* %storemerge15.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_1, label LBL_12\n LBL_3:\n %15 = add i64 %7, ptrtoint (i32** @gv_1 to i64)\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 8\n %18 = icmp eq i32 %17, 1\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %3)\n %21 = and i64 %20, 4294967295\n %22 = call i128 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i128 %22)\n %24 = call i64 @FUNC(i64 %21)\n %25 = call i64 @FUNC(i64 %21)\n store i64 %23, i64* %sv_1.0.in.reg2mem\n store i64 %24, i64* %sv_0.0.in.reg2mem\n store i64 %25, i64* %storemerge2.in.reg2mem\n store i64* @gv_2, i64** %storemerge.in.reg2mem\n br label LBL_7\n LBL_5:\n %26 = icmp eq i32 %17, 0\n %27 = icmp eq i1 %26, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %27, label LBL_12, label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 %3)\n %29 = and i64 %28, 4294967295\n %30 = call i128 @FUNC(i64 %29)\n %31 = call i64 @FUNC(i128 %30)\n %32 = call i64 @FUNC(i64 %29)\n %33 = call i64 @FUNC(i64 %29)\n store i64 %31, i64* %sv_1.0.in.reg2mem\n store i64 %32, i64* %sv_0.0.in.reg2mem\n store i64 %33, i64* %storemerge2.in.reg2mem\n store i64* @gv_3, i64** %storemerge.in.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_1.0.in.reload = load i64, i64* %sv_1.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %sv_1.0 = trunc i64 %sv_1.0.in.reload to i32\n %34 = icmp ne i32 %sv_0.0, 0\n %35 = icmp eq i32 %sv_1.0, 0\n %36 = icmp eq i1 %35, false\n %or.cond = icmp eq i1 %34, %36\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_12\n LBL_8:\n %storemerge.in.reload = load i64*, i64** %storemerge.in.reg2mem\n %storemerge = load i64, i64* %storemerge.in.reload, align 8\n %37 = call i64 @FUNC(i64 %3, i64 0)\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %39, label LBL_9, label LBL_12\n LBL_9:\n %storemerge2.in.reload = load i64, i64* %storemerge2.in.reg2mem\n %40 = inttoptr i64 %37 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %41 to i32*\n store i32 1, i32* %42, align 4\n %43 = load i64, i64* %40, align 8\n %44 = add i64 %43, 4\n %45 = inttoptr i64 %44 to i32*\n store i32 %sv_0.0, i32* %45, align 4\n %46 = load i64, i64* %40, align 8\n %47 = add i64 %46, 8\n %48 = inttoptr i64 %47 to i32*\n store i32 %sv_1.0, i32* %48, align 4\n %49 = load i64, i64* %40, align 8\n %50 = and i64 %storemerge2.in.reload, 4294967295\n %51 = call i64 @FUNC(i64 %storemerge, i64 %50)\n %52 = trunc i64 %51 to i32\n %53 = add i64 %49, 12\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = load i64, i64* %40, align 8\n %56 = add i64 %55, 12\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_11, label LBL_10\n LBL_10:\n %61 = call i64 @FUNC(i64 %3, i64 16, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), i64 %50, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %62 = zext i32 %58 to i64\n %63 = call i64 @FUNC(i64 %62)\n %64 = trunc i64 %63 to i32\n %65 = add i64 %55, 16\n %66 = inttoptr i64 %65 to i32*\n store i32 %64, i32* %66, align 4\n %67 = load i64, i64* %40, align 8\n %68 = add i64 %67, 16\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = add i64 %67, 4\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = mul i32 %73, %70\n %75 = sdiv i32 %74, 128\n %76 = add i64 %67, 20\n %77 = inttoptr i64 %76 to i32*\n store i32 %75, i32* %77, align 4\n %78 = load i64, i64* %40, align 8\n %79 = add i64 %78, 8\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 4\n %82 = zext i32 %81 to i64\n %83 = call i64 @FUNC(i64 %37, i64 64, i64 1, i64 %82)\n %84 = call i64 @FUNC(i64 %37, i64 1008)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_1.0, { 1, 0 }\n uselistorder i32 %sv_0.0, { 1, 0 }\n uselistorder i64 %29, { 2, 1, 0 }\n uselistorder i64 %21, { 2, 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %3, { 1, 2, 3, 0, 4 }\n uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.in.reg2mem, { 0, 2, 1 }\n uselistorder i64** %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 3, 4, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 16, { 2, 3, 1, 0 }\n uselistorder i64 (i64)* @avio_rb32, { 2, 1, 0 }\n uselistorder i128 (i64)* @av_int2float, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 5, 4 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder i32 0, { 2, 1, 3, 4, 0 }\n uselistorder i64 (i64)* @avio_rl32, { 3, 2, 1, 0 }\n uselistorder label LBL_12, { 4, 5, 1, 2, 3, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ftoa_bounded_extra_13342", "fun_name": "ftoa_bounded_extra", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %sv_0.4.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %xmm2.0.reg2mem = alloca i128\n %sv_2.1.reg2mem = alloca i32\n %sv_3.3.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i64\n %sv_4.3.in.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %sv_3.2.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i128\n %xmm0.2.reg2mem = alloca i128\n %storemerge735.reg2mem = alloca i64\n %.reg2mem = alloca i128\n %cf.0.reg2mem = alloca i1\n %sv_4.1.off0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_4.0.off0.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %sv_5 = alloca i64, align 8\n %2 = ptrtoint i64* %sv_5 to i64\n %3 = add i64 %2, -72\n %4 = trunc i64 %3 to i8\n %5 = call i8 @llvm.ctpop.i8(i8 %4), !range !5\n %6 = urem i8 %5, 2\n %7 = icmp eq i8 %6, 0\n %8 = call i64 @FUNC(i128 %1)\n %9 = call i128 @__asm_movsd.1(i64 4502148214488346440)\n %10 = call i64 @FUNC(i128 %9)\n %11 = call i128 @__asm_movsd.1(i64 %8)\n call void @FUNC(i128 %11, i64 %8)\n %12 = icmp eq i1 %7, false\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = inttoptr i64 %arg1 to i8*\n %14 = trunc i64 %arg2 to i32\n %15 = call i8* @strncpy(i8* %13, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 %14)\n %16 = ptrtoint i8* %15 to i64\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_2:\n %17 = icmp ult i64* %sv_5, inttoptr (i64 72 to i64*)\n %18 = sext i64 %8 to i128\n %19 = call i128 @__asm_movsd.1(i64 %8)\n %20 = call i128 @FUNC(i64 9223372036854775807)\n %21 = call i128 @FUNC(i128 %20, i128 %19)\n %22 = call i128 @__asm_movsd.1(i64 9218868437227405311)\n call void @__asm_ucomisd.2(i128 %22, i128 %21)\n %23 = icmp eq i1 %17, false\n %24 = call i128 @FUNC(i128 %22, i128 %22)\n call void @FUNC(i128 %24, i128 %18)\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n %25 = inttoptr i64 %arg1 to i8*\n %26 = trunc i64 %arg2 to i32\n %27 = call i8* @strncpy(i8* %25, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 %26)\n %28 = ptrtoint i8* %27 to i64\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_4:\n %29 = icmp eq i64 %3, 0\n store i64 %8, i64* %sv_4.0.off0.reg2mem\n store i64 %arg1, i64* %sv_0.0.reg2mem\n store i64 %arg2, i64* %sv_3.0.reg2mem\n br i1 %29, label LBL_8, label LBL_5\n LBL_5:\n %30 = add i64 %arg2, -1\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = inttoptr i64 %arg1 to i8*\n store i8 0, i8* %33, align 1\n store i64 %arg1, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_7:\n %34 = add i64 %arg1, 1\n %35 = inttoptr i64 %arg1 to i8*\n store i8 45, i8* %35, align 1\n %36 = call i128 @__asm_movsd.1(i64 %8)\n %37 = call i128 @FUNC(i64 -9223372036854775808)\n %38 = call i128 @FUNC(i128 %36, i128 %37)\n %39 = call i64 @FUNC(i128 %38)\n store i64 %39, i64* %sv_4.0.off0.reg2mem\n store i64 %34, i64* %sv_0.0.reg2mem\n store i64 %30, i64* %sv_3.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_4.0.off0.reload = load i64, i64* %sv_4.0.off0.reg2mem\n %40 = call i128 @__asm_movsd.1(i64 %sv_4.0.off0.reload)\n %41 = call i128 @FUNC(i128 %40, i64 %10)\n %42 = call i32 @FUNC(i128 %41)\n %43 = call i128 @__asm_movsd.1(i64 %sv_4.0.off0.reload)\n %44 = call i32 @FUNC(i128 %43)\n %45 = add i32 %44, 1\n %46 = icmp ult i32 %42, %45\n %47 = icmp eq i32 %42, %45\n %48 = icmp eq i1 %47, false\n store i64 %sv_4.0.off0.reload, i64* %sv_4.1.off0.reg2mem\n store i1 %46, i1* %cf.0.reg2mem\n br i1 %48, label LBL_10, label LBL_9\n LBL_9:\n %49 = call i128 @__asm_movsd.1(i64 %sv_4.0.off0.reload)\n %50 = call i32 @FUNC(i128 %49)\n %51 = add i32 %50, 1\n %52 = icmp eq i32 %50, -1\n %53 = call i128 @FUNC(i128 %49, i128 %49)\n %54 = call i128 @FUNC(i32 %51)\n %55 = call i64 @FUNC(i128 %54)\n store i64 %55, i64* %sv_4.1.off0.reg2mem\n store i1 %52, i1* %cf.0.reg2mem\n br label LBL_10\n LBL_10:\n %cf.0.reload = load i1, i1* %cf.0.reg2mem\n %sv_4.1.off0.reload = load i64, i64* %sv_4.1.off0.reg2mem\n %56 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %57 = call i64 @FUNC(i128 %56)\n %58 = trunc i64 %arg3 to i32\n %59 = icmp eq i1 %cf.0.reload, false\n %60 = call i128 @FUNC(i128 %56, i128 %56)\n %61 = call i128 @FUNC(i32 %58)\n %62 = call i128 @FUNC(i128 %61)\n %63 = call i128 @FUNC(i128 %62, i64 %57)\n %64 = call i128 @__asm_movsd.1(i64 %sv_4.1.off0.reload)\n call void @FUNC(i128 %64, i128 %63)\n store i128 %64, i128* %.reg2mem\n store i64 %57, i64* %storemerge735.reg2mem\n br i1 %59, label LBL_11, label LBL_12\n LBL_11:\n %storemerge735.reload = load i64, i64* %storemerge735.reg2mem\n %.reload = load i128, i128* %.reg2mem\n %65 = call i128 @FUNC(i128 %.reload, i128 %.reload)\n %66 = call i128 @FUNC(i32 %58)\n %67 = call i128 @__asm_movsd.1(i64 %storemerge735.reload)\n %68 = call i128 @__asm_mulsd.3(i128 %66, i128 %67)\n %69 = call i64 @FUNC(i128 %68)\n %70 = call i128 @FUNC(i128 %68, i128 %68)\n %71 = call i128 @FUNC(i32 %58)\n %72 = call i128 @FUNC(i128 %71)\n %73 = call i128 @FUNC(i128 %72, i64 %69)\n %74 = call i128 @__asm_movsd.1(i64 %sv_4.1.off0.reload)\n call void @FUNC(i128 %74, i128 %73)\n store i128 %74, i128* %.reg2mem\n store i64 %69, i64* %storemerge735.reg2mem\n br label LBL_11\n LBL_12:\n %sext5 = mul i64 %arg4, 4294967296\n %75 = ashr exact i64 %sext5, 32\n %76 = call i128 @__asm_movsd.1(i64 %57)\n %77 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n call void @FUNC(i128 %76, i128 %77)\n %78 = trunc i64 %75 to i32\n %79 = icmp slt i32 %78, 0\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_14, label LBL_13\n LBL_13:\n %81 = icmp eq i32 %78, 0\n %82 = call i128 @__asm_movsd.1(i64 %sv_4.1.off0.reload)\n %83 = call i128 @FUNC(i128 %77, i128 %77)\n call void @FUNC(i128 %82, i128 %83)\n store i128 %82, i128* %xmm0.2.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.4.reg2mem\n br i1 %81, label LBL_29, label LBL_15\n LBL_14:\n %84 = icmp slt i32 %78, 1\n store i128 %76, i128* %xmm0.2.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.4.reg2mem\n br i1 %84, label LBL_29, label LBL_15\n LBL_15:\n %xmm0.2.reload = load i128, i128* %xmm0.2.reg2mem\n %85 = call i128 @FUNC(i128 %xmm0.2.reload, i128 %xmm0.2.reload)\n %86 = call i128 @FUNC(i32 %58)\n %87 = call i128 @__asm_movsd.1(i64 %sv_4.1.off0.reload)\n %88 = call i128 @__asm_mulsd.3(i128 %86, i128 %87)\n %89 = call i64 @FUNC(i128 %88)\n %90 = sext i64 %10 to i128\n %91 = add i32 %58, -1\n store i64 %89, i64* %sv_4.3.in.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.3.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.3.reg2mem\n store i32 0, i32* %sv_2.1.reg2mem\n store i64 %75, i64* %sv_1.0.reg2mem\n br label LBL_26\n LBL_16:\n %92 = icmp eq i32 %128, 1\n %93 = icmp eq i1 %92, false\n br i1 %93, label LBL_18, label LBL_17\n LBL_17:\n %94 = call i128 @__asm_movsd.1(i64 4600877379321698714)\n store i128 %94, i128* %storemerge.reg2mem\n br label LBL_19\n LBL_18:\n %95 = call i128 @__asm_movsd.1(i64 4487126258331716666)\n store i128 %95, i128* %storemerge.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge.reload = load i128, i128* %storemerge.reg2mem\n %96 = call i128 @FUNC(i128 %storemerge.reload, i64 %sv_4.3.in.reload)\n %97 = call i32 @FUNC(i128 %96)\n %98 = call i128 @FUNC(i128 %xmm2.0.reload, i128 %xmm2.0.reload)\n %99 = call i128 @FUNC(i32 %97)\n %100 = call i128 @__asm_movsd.1(i64 %sv_4.3.in.reload)\n %101 = call i128 @FUNC(i128 %100)\n %102 = call i128 @FUNC(i128 %101, i128 %99)\n %103 = call i128 @FUNC(i128 %100, i128 %100)\n %104 = call i128 @FUNC(i32 %58)\n %105 = call i128 @__asm_mulsd.3(i128 %104, i128 %102)\n %106 = call i64 @FUNC(i128 %105)\n %107 = trunc i32 %sv_2.1.reload to i8\n %108 = icmp eq i8 %107, 1\n store i64 %sv_0.3.reload, i64* %sv_0.2.reg2mem\n store i64 %sv_3.3.reload, i64* %sv_3.2.reg2mem\n store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem\n br i1 %108, label LBL_23, label LBL_20\n LBL_20:\n %109 = add i64 %sv_3.3.reload, -1\n %110 = icmp eq i64 %109, 0\n %111 = icmp eq i1 %110, false\n br i1 %111, label LBL_22, label LBL_21\n LBL_21:\n %112 = inttoptr i64 %sv_0.3.reload to i8*\n store i8 0, i8* %112, align 1\n store i64 %sv_0.3.reload, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_22:\n %113 = add i64 %sv_0.3.reload, 1\n %114 = inttoptr i64 %sv_0.3.reload to i8*\n store i8 46, i8* %114, align 1\n store i64 %113, i64* %sv_0.2.reg2mem\n store i64 %109, i64* %sv_3.2.reg2mem\n store i32 1, i32* %sv_2.0.reg2mem\n br label LBL_23\n LBL_23:\n %sv_3.2.reload = load i64, i64* %sv_3.2.reg2mem\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %115 = add i64 %sv_3.2.reload, -1\n %116 = icmp eq i64 %115, 0\n %117 = icmp eq i1 %116, false\n br i1 %117, label LBL_25, label LBL_24\n LBL_24:\n %118 = inttoptr i64 %sv_0.2.reload to i8*\n store i8 0, i8* %118, align 1\n store i64 %sv_0.2.reload, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_25:\n %119 = icmp eq i32 %97, %58\n %120 = icmp eq i1 %119, false\n %spec.select = select i1 %120, i32 %97, i32 %91\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %121 = add i64 %sv_0.2.reload, 1\n %122 = zext i32 %spec.select to i64\n %123 = call i64 @FUNC(i64 %122)\n %124 = trunc i64 %123 to i8\n %125 = inttoptr i64 %sv_0.2.reload to i8*\n store i8 %124, i8* %125, align 1\n %126 = mul i64 %sv_1.0.reload, 4294967296\n %sext6 = add i64 %126, -4294967296\n %127 = ashr exact i64 %sext6, 32\n store i64 %106, i64* %sv_4.3.in.reg2mem\n store i64 %121, i64* %sv_0.3.reg2mem\n store i64 %115, i64* %sv_3.3.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem\n store i128 %99, i128* %xmm2.0.reg2mem\n store i64 %127, i64* %sv_1.0.reg2mem\n br label LBL_26\n LBL_26:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %xmm2.0.reload = load i128, i128* %xmm2.0.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %sv_3.3.reload = load i64, i64* %sv_3.3.reg2mem\n %sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem\n %sv_4.3.in.reload = load i64, i64* %sv_4.3.in.reg2mem\n %128 = trunc i64 %sv_1.0.reload to i32\n %129 = icmp slt i32 %128, 0\n %130 = icmp eq i1 %129, false\n %131 = icmp slt i32 %128, -11\n %or.cond = or i1 %131, %130\n br i1 %or.cond, label LBL_28, label LBL_27\n LBL_27:\n %132 = call i128 @__asm_movsd.1(i64 %sv_4.3.in.reload)\n call void @FUNC(i128 %132, i128 %90)\n %133 = icmp ult i32 %128, -10\n br i1 %133, label LBL_28, label LBL_18\n LBL_28:\n %134 = icmp eq i32 %128, 0\n %135 = icmp eq i1 %134, false\n %136 = icmp eq i1 %130, %135\n store i64 %sv_0.3.reload, i64* %sv_0.4.reg2mem\n br i1 %136, label LBL_16, label LBL_29\n LBL_29:\n %sv_0.4.reload = load i64, i64* %sv_0.4.reg2mem\n %137 = inttoptr i64 %sv_0.4.reload to i8*\n store i8 0, i8* %137, align 1\n store i64 %sv_0.4.reload, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_30:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %130, { 1, 0 }\n uselistorder i32 %128, { 1, 3, 2, 4, 0 }\n uselistorder i64 %sv_0.3.reload, { 1, 5, 4, 0, 2, 3 }\n uselistorder i64 %sv_3.3.reload, { 1, 0 }\n uselistorder i128 %xmm2.0.reload, { 1, 0 }\n uselistorder i64 %sv_0.2.reload, { 2, 1, 0, 3 }\n uselistorder i128 %100, { 2, 1, 0 }\n uselistorder i32 %78, { 0, 2, 1 }\n uselistorder i128 %77, { 1, 0, 2 }\n uselistorder i128 %.reload, { 1, 0 }\n uselistorder i32 %58, { 4, 2, 3, 1, 6, 5, 0 }\n uselistorder i64 %57, { 2, 0, 1 }\n uselistorder i64 %sv_4.1.off0.reload, { 2, 1, 0, 3 }\n uselistorder i128 %49, { 2, 1, 0 }\n uselistorder i64 %sv_4.0.off0.reload, { 1, 0, 2, 3 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i128 %22, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0, 2, 3, 5, 4 }\n uselistorder i128* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge735.reg2mem, { 2, 0, 1 }\n uselistorder i128* %xmm0.2.reg2mem, { 0, 2, 1 }\n uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.4.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 0, { 1, 2, 0, 4, 3 }\n uselistorder i128 (i128, i64)* @__asm_mulsd, { 1, 0 }\n uselistorder i128 (i128)* @__asm_movapd, { 1, 2, 0 }\n uselistorder i128 (i32)* @__asm_cvtsi2sd, { 1, 2, 3, 5, 4, 0, 6 }\n uselistorder void (i128, i128)* @__asm_comisd, { 2, 3, 1, 4, 0, 5 }\n uselistorder i128 (i128, i128)* @__asm_pxor, { 1, 2, 3, 4, 6, 5, 0, 7, 8 }\n uselistorder i1 false, { 4, 5, 2, 0, 1, 3, 6, 7, 8, 9, 10, 11 }\n uselistorder i128 (i64)* @__asm_movsd.1, { 6, 3, 4, 5, 7, 8, 1, 2, 10, 9, 0, 11, 12, 13, 14, 15, 16, 17, 18, 19 }\n uselistorder i8 0, { 2, 0, 1, 3, 4 }\n uselistorder i64 %arg2, { 3, 0, 2, 1 }\n uselistorder i64 %arg1, { 4, 5, 0, 6, 1, 3, 2 }\n uselistorder label LBL_30, { 2, 0, 1, 3, 4, 5 }\n uselistorder label LBL_29, { 0, 2, 1 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "init_excp_602_5125", "fun_name": "init_excp_602", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 256, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 512, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 768, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 1024, i32* %7, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 1280, i32* %9, align 4\n %10 = add i64 %0, 20\n %11 = inttoptr i64 %10 to i32*\n store i32 1536, i32* %11, align 4\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i32*\n store i32 1792, i32* %13, align 4\n %14 = add i64 %0, 28\n %15 = inttoptr i64 %14 to i32*\n store i32 2048, i32* %15, align 4\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i32*\n store i32 2304, i32* %17, align 4\n %18 = add i64 %0, 36\n %19 = inttoptr i64 %18 to i32*\n store i32 3072, i32* %19, align 4\n %20 = add i64 %0, 40\n %21 = inttoptr i64 %20 to i32*\n store i32 3328, i32* %21, align 4\n %22 = add i64 %0, 44\n %23 = inttoptr i64 %22 to i32*\n store i32 3584, i32* %23, align 4\n %24 = add i64 %0, 48\n %25 = inttoptr i64 %24 to i32*\n store i32 4096, i32* %25, align 4\n %26 = add i64 %0, 52\n %27 = inttoptr i64 %26 to i32*\n store i32 4352, i32* %27, align 4\n %28 = add i64 %0, 56\n %29 = inttoptr i64 %28 to i32*\n store i32 4608, i32* %29, align 4\n %30 = add i64 %0, 60\n %31 = inttoptr i64 %30 to i32*\n store i32 4864, i32* %31, align 4\n %32 = add i64 %0, 64\n %33 = inttoptr i64 %32 to i32*\n store i32 5120, i32* %33, align 4\n %34 = add i64 %0, 68\n %35 = inttoptr i64 %34 to i32*\n store i32 5376, i32* %35, align 4\n %36 = add i64 %0, 72\n %37 = inttoptr i64 %36 to i32*\n store i32 5632, i32* %37, align 4\n %38 = add i64 %0, 76\n %39 = inttoptr i64 %38 to i32*\n store i32 -1048576, i32* %39, align 4\n %40 = add i64 %0, 80\n %41 = inttoptr i64 %40 to i32*\n store i32 -4, i32* %41, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ahd_print_register_17711", "fun_name": "ahd_print_register", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i32* %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %.pn.reg2mem = alloca i32\n %sv_0.11835.reg2mem = alloca i32\n %sv_0.11836.reg2mem = alloca i32\n %sv_1.116.reg2mem = alloca i32\n %sv_0.118.reg2mem = alloca i32\n %sv_0.123.reg2mem = alloca i32\n %sv_1.124.reg2mem = alloca i32\n %storemerge1119.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp eq i32* %arg6, null\n %3 = trunc i64 %1 to i32\n %4 = trunc i64 %arg7 to i32\n %5 = icmp ult i32 %3, %4\n %or.cond38 = or i1 %2, %5\n br i1 %or.cond38, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i32 @putchar(i32 10)\n store i32 0, i32* %arg6, align 4\n br label LBL_2\n LBL_2:\n %7 = trunc i64 %arg5 to i32\n %8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* %arg3, i32 %7)\n %9 = icmp eq i32* %arg1, null\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %11 = trunc i64 %arg2 to i32\n %12 = icmp eq i32 %11, 0\n %13 = ptrtoint i32* %arg1 to i64\n store i32 0, i32* %sv_1.124.reg2mem\n store i32 %8, i32* %sv_0.123.reg2mem\n br label LBL_6.preheader\n LBL_4:\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %15 = add i32 %14, %8\n %16 = add i32 %15, %3\n store i32 %16, i32* %arg6, align 4\n store i32 %15, i32* %storemerge.in.reg2mem\n br label LBL_14\n LBL_5:\n %storemerge1119.reload = load i32, i32* %storemerge1119.reg2mem\n %17 = sext i32 %storemerge1119.reload to i64\n %18 = mul i64 %17, 16\n %19 = add i64 %18, %13\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = and i32 %21, %7\n %23 = add i64 %19, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %22, %25\n %27 = icmp eq i1 %26, false\n %28 = and i32 %21, %sv_1.124.reload\n %29 = icmp eq i32 %28, %21\n %or.cond = or i1 %29, %27\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_6:\n %30 = add nuw i32 %storemerge1119.reload, 1\n %31 = icmp ult i32 %30, %11\n store i32 %30, i32* %storemerge1119.reg2mem\n store i32 %sv_0.123.reload, i32* %sv_0.118.reg2mem\n store i32 %sv_1.124.reload, i32* %sv_1.116.reg2mem\n br i1 %31, label LBL_5, label LBL_9\n LBL_7:\n %32 = add i64 %19, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i32 %sv_1.124.reload, 0\n %36 = icmp eq i1 %35, false\n %37 = select i1 %36, i8* bitcast (i64* @gv_2 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0)\n %38 = inttoptr i64 %34 to i8*\n %39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i8* %37, i8* %38)\n %40 = add i32 %39, %sv_0.123.reload\n %41 = load i32, i32* %20, align 4\n %42 = or i32 %41, %sv_1.124.reload\n %43 = icmp eq i32 %42, 255\n %44 = icmp eq i1 %43, false\n store i32 %42, i32* %sv_1.124.reg2mem\n store i32 %40, i32* %sv_0.123.reg2mem\n store i32 %40, i32* %sv_0.118.reg2mem\n store i32 %42, i32* %sv_1.116.reg2mem\n br i1 %44, label LBL_6.preheader, label LBL_9\n LBL_8:\n %sv_0.123.reload = load i32, i32* %sv_0.123.reg2mem\n %sv_1.124.reload = load i32, i32* %sv_1.124.reg2mem\n store i32 0, i32* %storemerge1119.reg2mem\n store i32 %8, i32* %sv_0.11836.reg2mem\n br i1 %12, label LBL_11, label LBL_5\n LBL_9:\n %sv_1.116.reload = load i32, i32* %sv_1.116.reg2mem\n %sv_0.118.reload = load i32, i32* %sv_0.118.reg2mem\n %45 = icmp eq i32 %sv_1.116.reload, 0\n store i32 %sv_0.118.reload, i32* %sv_0.11836.reg2mem\n br i1 %45, label LBL_11, label LBL_10\n LBL_10:\n %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0))\n store i32 %sv_0.118.reload, i32* %sv_0.11835.reg2mem\n store i32 %46, i32* %.pn.reg2mem\n br label LBL_12\n LBL_11:\n %sv_0.11836.reload = load i32, i32* %sv_0.11836.reg2mem\n %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n store i32 %sv_0.11836.reload, i32* %sv_0.11835.reg2mem\n store i32 %47, i32* %.pn.reg2mem\n br label LBL_12\n LBL_12:\n %.pn.reload = load i32, i32* %.pn.reg2mem\n %sv_0.11835.reload = load i32, i32* %sv_0.11835.reg2mem\n %storemerge9 = add i32 %.pn.reload, %sv_0.11835.reload\n store i32 %storemerge9, i32* %storemerge.in.reg2mem\n br i1 %2, label LBL_14, label LBL_13\n LBL_13:\n %48 = add i32 %storemerge9, %3\n store i32 %48, i32* %arg6, align 4\n store i32 %storemerge9, i32* %storemerge.in.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i32 %storemerge9, { 1, 2, 0 }\n uselistorder i32 %sv_1.124.reload, { 2, 0, 1, 3 }\n uselistorder i32 %21, { 2, 0, 1 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32 %8, { 0, 2, 1 }\n uselistorder i1 %2, { 1, 0 }\n uselistorder i32* %storemerge1119.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_0.11836.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.11835.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.pn.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 0, 1, 3 }\n uselistorder i32 (i8*, ...)* @printf, { 3, 4, 0, 2, 1 }\n uselistorder i32* %arg6, { 2, 1, 0, 3 }\n uselistorder label LBL_14, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_6.preheader, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nand_scan_bbt_17475", "fun_name": "nand_scan_bbt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i32 %9, 2\n %11 = urem i32 %10, 64\n %12 = zext i32 %11 to i64\n %rdx.0 = lshr i64 %6, %12\n %sext = mul i64 %rdx.0, 4294967296\n %13 = ashr exact i64 %sext, 32\n %14 = call i64 @FUNC(i64 %13, i64 0)\n %15 = add i64 %3, 24\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = icmp eq i64 %14, 0\n %18 = icmp eq i1 %17, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %18, label LBL_1, label LBL_13\n LBL_1:\n %19 = ptrtoint i64* %arg2 to i64\n %20 = icmp eq i64* %arg1, null\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_4, label LBL_2\n LBL_2:\n %22 = call i64 @FUNC(i64 %3, i64 %19)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_13, label LBL_3\n LBL_3:\n %25 = zext i32 %10 to i64\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %19, i64 %25, i64 %2, i64 %1)\n store i64 %22, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_4:\n %27 = call i64 @FUNC(i64 %3, i64 %3)\n %28 = call i64 @FUNC(i64 %3, i64 %6)\n %29 = load i32, i32* %8, align 4\n %30 = urem i32 %29, 32\n %31 = shl i32 1, %30\n %rdx.1 = zext i32 %31 to i64\n %32 = add i64 %3, 20\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = urem i32 %34, 32\n %36 = icmp eq i32 %35, 0\n %37 = ashr i32 %31, %35\n %38 = zext i32 %37 to i64\n %storemerge = select i1 %36, i64 %rdx.1, i64 %38\n %39 = inttoptr i64 %7 to i64*\n %40 = load i64, i64* %39, align 8\n %sext1 = mul i64 %storemerge, 4294967296\n %41 = ashr exact i64 %sext1, 32\n %sext2 = mul i64 %40, 4294967296\n %42 = ashr exact i64 %sext2, 32\n %43 = mul nsw i64 %41, %42\n %44 = add i64 %43, %rdx.1\n %sext3 = mul i64 %44, 4294967296\n %45 = ashr exact i64 %sext3, 32\n %46 = call i64 @FUNC(i64 %45)\n %47 = icmp eq i64 %46, 0\n %48 = icmp eq i1 %47, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %48, label LBL_5, label LBL_12\n LBL_5:\n %49 = bitcast i64* %rdi to i32*\n %50 = load i32, i32* %49, align 8\n %51 = urem i32 %50, 2\n %52 = icmp eq i32 %51, 0\n br i1 %52, label LBL_7, label LBL_6\n LBL_6:\n %53 = call i64 @FUNC(i64 %3, i64 %46, i64 %3, i64 %6)\n br label LBL_8\n LBL_7:\n %54 = call i64 @FUNC(i64 %3, i64 %46, i64 %3, i64 %6)\n br label LBL_8\n LBL_8:\n %55 = call i64 @FUNC(i64 %3, i64 %46, i64 %19)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n %58 = icmp eq i1 %57, false\n store i64 %55, i64* %sv_0.0.reg2mem\n br i1 %58, label LBL_12, label LBL_9\n LBL_9:\n %59 = call i64 @FUNC(i64 %3, i64 %3)\n %60 = icmp eq i64 %6, 0\n br i1 %60, label LBL_11, label LBL_10\n LBL_10:\n %61 = call i64 @FUNC(i64 %3, i64 %6)\n br label LBL_11\n LBL_11:\n %62 = call i64 @FUNC(i64 %46)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %63 = load i64, i64* %16, align 8\n %64 = call i64 @FUNC(i64 %63)\n store i64 0, i64* %16, align 8\n %65 = and i64 %sv_0.0.reload, 4294967295\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %19, { 3, 0, 1, 2 }\n uselistorder i64* %16, { 1, 0, 2 }\n uselistorder i32 %10, { 1, 0 }\n uselistorder i64 %6, { 2, 1, 3, 4, 5, 0 }\n uselistorder i64 %3, { 1, 3, 2, 4, 7, 5, 8, 6, 9, 11, 12, 10, 0, 13, 14, 15 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64)* @mark_bbt_region, { 1, 0 }\n uselistorder i64 (i64, i64)* @verify_bbt_descr, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder label LBL_13, { 2, 3, 0, 1 }\n uselistorder label LBL_12, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "drwav_bytes_to_s16_6849", "fun_name": "drwav_bytes_to_s16", "llvm_ir_function": "define i64 @FUNC(i16* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i16* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_iccattrtab_resize_8880", "fun_name": "jas_iccattrtab_resize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = and i64 %1, 4294967295\n %4 = icmp slt i64 %2, %3\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = and i64 %2, 4294967295\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %8, i64 %10, i64 0)\n store i64 %11, i64* %storemerge3.reg2mem\n br label LBL_5\n LBL_4:\n %12 = call i64 @FUNC(i64 %10, i64 0)\n store i64 %12, i64* %storemerge3.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %13 = icmp eq i64 %storemerge3.reload, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %14, label LBL_6, label LBL_7\n LBL_6:\n store i64 %storemerge3.reload, i64* %7, align 8\n %15 = trunc i64 %2 to i32\n %16 = add i64 %5, 4\n %17 = inttoptr i64 %16 to i32*\n store i32 %15, i32* %17, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge3.reload, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow2_snapshot_delete_18653", "fun_name": "qcow2_snapshot_delete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = ptrtoint i8* %arg2 to i64\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %sext = mul i64 %2, 4294967296\n %6 = ashr exact i64 %sext, 27\n %7 = add i64 %6, %0\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %7, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %7, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %7, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = xor i32 %3, 134217727\n %23 = add i32 %21, %22\n %24 = mul i32 %23, 32\n %25 = add i64 %7, 32\n %26 = inttoptr i64 %25 to i64*\n %27 = call i64* @memmove(i64* %8, i64* %26, i32 %24)\n %28 = load i32, i32* %20, align 4\n %29 = add i32 %28, -1\n store i32 %29, i32* %20, align 4\n %30 = call i64 @FUNC(i64 %0)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %30, i64* %rax.0.shrunk.reg2mem\n br i1 %33, label LBL_2, label LBL_5\n LBL_2:\n %34 = call i64 @FUNC(i64 %9)\n %35 = call i64 @FUNC(i64 %12)\n %36 = call i64 @FUNC(i64 %0, i64 %15, i64 %18, i64 4294967295)\n %37 = trunc i64 %36 to i32\n %38 = icmp slt i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 %36, i64* %rax.0.shrunk.reg2mem\n br i1 %39, label LBL_3, label LBL_5\n LBL_3:\n %40 = mul i64 %18, 8\n %41 = call i64 @FUNC(i64 %0, i64 %15, i64 %40)\n %42 = add i64 %0, 24\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %0, 16\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = call i64 @FUNC(i64 %0, i64 %47, i64 %44, i64 0)\n %49 = trunc i64 %48 to i32\n %50 = icmp slt i32 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 %48, i64* %rax.0.shrunk.reg2mem\n br i1 %51, label LBL_4, label LBL_5\n LBL_4:\n store i32 0, i32* %sv_0, align 4\n %52 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32* %20, { 1, 0, 2 }\n uselistorder i64 %7, { 0, 4, 3, 2, 1 }\n uselistorder i64 %0, { 1, 2, 4, 3, 5, 6, 7, 8, 0, 9 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64, i64, i64)* @qcow2_update_snapshot_refcount, { 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder label LBL_5, { 4, 0, 1, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qpci_pc_config_writew_3101", "fun_name": "qpci_pc_config_writew", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = mul i64 %arg2, 256\n %1 = urem i64 %arg3, 256\n %.masked = and i64 %0, 2147483392\n %2 = or i64 %1, %.masked\n %3 = or i64 %2, 2147483648\n %4 = call i64 @FUNC(i64 3320, i64 %3)\n %5 = urem i64 %arg4, 65536\n %6 = call i64 @FUNC(i64 3324, i64 %5)\n ret i64 %6\n\n uselistorder i64 256, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mpjpeg_read_probe_14529", "fun_name": "mpjpeg_read_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = call i64 @FUNC(i64 %0, i32 %3, i64 0, i64 0, i64 0, i64 0)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_8\n LBL_1:\n %7 = trunc i64 %0 to i8\n %8 = load i32, i32* %2, align 4\n %9 = icmp slt i32 %8, 2\n %10 = icmp eq i8 %7, 45\n %11 = icmp eq i1 %10, false\n %or.cond = or i1 %11, %9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_2\n LBL_2:\n %12 = add i64 %0, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 45\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_3, label LBL_8\n LBL_3:\n %16 = inttoptr i64 %4 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %18, label LBL_4, label LBL_7\n LBL_4:\n %19 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1, i64 128)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n store i64 %19, i64* %sv_0.1.reg2mem\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64* nonnull %sv_1)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 100, i64* %sv_0.1.reg2mem\n br i1 %25, label LBL_6, label LBL_7\n LBL_6:\n %26 = load i32, i32* %16, align 4\n %27 = icmp eq i32 %26, 0\n store i64 %22, i64* %sv_0.1.reg2mem\n br i1 %27, label LBL_4, label LBL_7\n LBL_7:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %28 = call i64 @FUNC(i64 %4)\n %29 = and i64 %sv_0.1.reload, 4294967295\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %16, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2, 3 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i32 0, { 3, 1, 2, 0, 4 }\n uselistorder i8 45, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_8, { 3, 1, 0, 2 }\n uselistorder label LBL_7, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "addenv_4826", "fun_name": "addenv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %rax.0.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %21 = icmp eq i64* %arg1, null\n %22 = icmp eq i1 %21, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_3, label LBL_9\n LBL_3:\n %23 = ptrtoint i64* %arg1 to i64\n %24 = add i64 %23, 1024\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = sub i32 1022, %26\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_4, label LBL_9\n LBL_4:\n %30 = zext i32 %26 to i64\n %31 = add i64 %30, %23\n store i32 16, i32* %sv_0, align 4\n %32 = sext i32 %27 to i64\n %33 = add i64 %23, 1840\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = ptrtoint i8* %arg2 to i64\n %37 = call i64 @FUNC(i64 %35, i64 %31, i64 %32, i64 %36, i32* nonnull %sv_0)\n %38 = trunc i64 %37 to i32\n %39 = icmp slt i32 %38, 1\n br i1 %39, label LBL_8, label LBL_5\n LBL_5:\n %40 = add i64 %37, 1\n %41 = and i64 %40, 4294967295\n %42 = icmp slt i64 %41, %32\n br i1 %42, label LBL_6, label LBL_8\n LBL_6:\n %43 = add i64 %23, 1832\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i32 %45, 2\n %47 = icmp ult i32 %46, 100\n br i1 %47, label LBL_7, label LBL_8\n LBL_7:\n %48 = add i32 %45, 1\n store i32 %48, i32* %44, align 4\n %49 = zext i32 %45 to i64\n %50 = mul i64 %49, 8\n %51 = add i64 %23, 1032\n %52 = add i64 %51, %50\n %53 = inttoptr i64 %52 to i64*\n store i64 %31, i64* %53, align 8\n %54 = load i32, i32* %25, align 4\n %55 = add i32 %38, 1\n %56 = add i32 %55, %54\n store i32 %56, i32* %25, align 4\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %57 = ptrtoint i32* %sv_0 to i64\n %58 = load i64, i64* %34, align 8\n %59 = call i64 @FUNC(i64 %58, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 %36, i64 %57, i64 %arg6)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %45, { 1, 0, 2 }\n uselistorder i64 %31, { 1, 0, 2, 3 }\n uselistorder i32* %25, { 1, 0, 2 }\n uselistorder i64 %23, { 1, 2, 3, 0, 4 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_9, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "on_response_11587", "fun_name": "on_response", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %3)\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_tcg_wait_io_event_15379", "fun_name": "qemu_tcg_wait_io_event", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge1.lcssa.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = load i32, i32* @gv_0, align 4\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = load i32, i32* @gv_1, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8, i64* nonnull @gv_2)\n %10 = call i64 @FUNC()\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_1, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64* nonnull @gv_2)\n %15 = call i64 @FUNC(i64* nonnull @gv_3)\n %16 = call i64 @FUNC(i64* nonnull @gv_3)\n %17 = call i64 @FUNC(i64* nonnull @gv_2)\n %storemerge12 = load i64, i64* @gv_4, align 8\n %18 = icmp eq i64 %storemerge12, 0\n %19 = icmp eq i1 %18, false\n store i64 %storemerge12, i64* %storemerge13.reg2mem\n store i64 %storemerge12, i64* %storemerge1.lcssa.reg2mem\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %20 = call i64 @FUNC(i64 %storemerge13.reload)\n %21 = inttoptr i64 %storemerge13.reload to i64*\n %storemerge1 = load i64, i64* %21, align 8\n %22 = icmp eq i64 %storemerge1, 0\n %23 = icmp eq i1 %22, false\n store i64 %storemerge1, i64* %storemerge13.reg2mem\n store i64 %storemerge1, i64* %storemerge1.lcssa.reg2mem\n br i1 %23, label LBL_3, label LBL_4\n LBL_4:\n %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem\n ret i64 %storemerge1.lcssa.reload\n\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64*)* @qemu_mutex_lock, { 1, 0 }\n uselistorder i64 (i64*)* @qemu_mutex_unlock, { 1, 0 }\n uselistorder i64* @gv_2, { 1, 2, 0 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i64 ()* @all_cpu_threads_idle, { 1, 0 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "new_socket_unix_8509", "fun_name": "new_socket_unix", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i32 @socket(i32 1, i32 1, i32 0)\n %1 = icmp eq i32 %0, -1\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %3 = call i32 (i32, i32, ...) @fcntl(i32 %0, i32 3)\n %4 = icmp slt i32 %3, 0\n br i1 %4, label LBL_4, label LBL_3\n LBL_3:\n %5 = call i32 (i32, i32, ...) @fcntl(i32 %0, i32 4)\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_5, label LBL_4\n LBL_4:\n call void @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n %8 = call i32 @close(i32 %0)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %9 = zext i32 %0 to i64\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %0, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder void (i8*)* @perror, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "refcount_array_byte_size_2599", "fun_name": "refcount_array_byte_size", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp ult i64 %arg2, 36028797018963968\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @gv_1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %3 = urem i64 %1, 64\n %storemerge = shl i64 %arg2, %3\n %4 = add i64 %storemerge, 7\n %5 = udiv i64 %4, 8\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_rtc_time_18854", "fun_name": "get_rtc_time", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %sv_0.0.in.reg2mem = alloca i64\n %sv_1 = alloca i128, align 8\n %0 = bitcast i128* %sv_1 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 3, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = load i128, i128* %sv_1, align 8\n %7 = trunc i128 %6 to i64\n %8 = lshr i64 %7, 63\n %9 = ashr i64 %7, 63\n %10 = and i64 %9, -86400\n %11 = add i64 %10, %7\n %12 = ashr i64 %11, 63\n %13 = and i64 %12, -3600\n %14 = add i64 %13, %11\n %15 = lshr i64 %14, 63\n %16 = trunc i64 %15 to i32\n %17 = add i64 %5, 16\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = ashr i64 %14, 63\n %20 = and i64 %19, 4294967236\n %21 = add i64 %20, %14\n %22 = trunc i64 %21 to i32\n %23 = add i64 %5, 20\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n store i64 %8, i64* %sv_0.0.in.reg2mem\n store i32 1970, i32* %storemerge7.reg2mem\n br label LBL_3\n LBL_2:\n %25 = lshr i64 %sv_0.0.in.reload, 63\n %26 = sext i32 %storemerge7.reload to i64\n %27 = add nsw i64 %25, %26\n %28 = ashr i64 %sv_0.0.in.reload, 63\n %29 = and i64 %28, -365\n %30 = add i64 %29, %sv_0.0.in.reload\n %.neg9 = ashr i64 %30, 63\n %31 = add nsw i64 %27, %.neg9\n %32 = sub nsw i64 %31, %26\n %33 = add nsw i64 %31, 4294967295\n %34 = and i64 %33, 4294967295\n %35 = call i64 @FUNC(i64 %34)\n %sext5 = mul i64 %35, 4294967296\n %36 = ashr exact i64 %sext5, 32\n %37 = add i32 %storemerge7.reload, -1\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %38)\n %sext6 = mul i64 %39, 4294967296\n %40 = ashr exact i64 %sext6, 32\n %.neg10 = mul nsw i64 %32, -365\n %.neg12 = add i64 %.neg10, %sv_0.0.in.reload\n %41 = sub i64 %.neg12, %36\n %42 = add i64 %41, %40\n %43 = trunc i64 %31 to i32\n store i64 %42, i64* %sv_0.0.in.reg2mem\n store i32 %43, i32* %storemerge7.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %44 = icmp slt i64 %sv_0.0.in.reload, 0\n br i1 %44, label LBL_2, label LBL_4\n LBL_4:\n %45 = zext i32 %storemerge7.reload to i64\n %46 = call i64 @FUNC(i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %. = select i1 %48, i64 365, i64 366\n %49 = icmp sgt i64 %., %sv_0.0.in.reload\n br i1 %49, label LBL_5, label LBL_2\n LBL_5:\n %50 = add i32 %storemerge7.reload, -1900\n %51 = bitcast i64* %arg1 to i32*\n store i32 %50, i32* %51, align 4\n %52 = call i64 @FUNC(i64 %45)\n %sext = mul i64 %52, 4294967296\n %53 = ashr exact i64 %sext, 32\n %54 = ashr exact i64 %sext, 31\n %55 = add nsw i64 %54, %53\n %56 = mul i64 %55, 8\n %57 = add i64 %56, ptrtoint (i64* @gv_0 to i64)\n store i32 11, i32* %storemerge4.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %58 = sext i32 %storemerge4.reload to i64\n %59 = mul i64 %58, 2\n %60 = add i64 %57, %59\n %61 = inttoptr i64 %60 to i16*\n %62 = load i16, i16* %61, align 2\n %63 = zext i16 %62 to i64\n %64 = icmp slt i64 %sv_0.0.in.reload, %63\n %65 = add i32 %storemerge4.reload, -1\n store i32 %65, i32* %storemerge4.reg2mem\n br i1 %64, label LBL_6, label LBL_7\n LBL_7:\n %66 = zext i16 %62 to i32\n %67 = trunc i64 %sv_0.0.in.reload to i32\n %68 = add i64 %5, 4\n %69 = inttoptr i64 %68 to i32*\n store i32 %storemerge4.reload, i32* %69, align 4\n %70 = add i32 %67, 1\n %71 = sub i32 %70, %66\n %72 = add i64 %5, 8\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge4.reload, { 2, 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %sv_0.0.in.reload, { 5, 4, 1, 0, 6, 7, 2, 3 }\n uselistorder i32 %storemerge7.reload, { 3, 0, 1, 2 }\n uselistorder i64 %31, { 1, 2, 0 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %14, { 2, 0, 1 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %7, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64)* @__isleap, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 32, { 2, 0, 1, 3, 4 }\n uselistorder i64 4294967296, { 0, 1, 2, 5, 3, 6, 4 }\n uselistorder i64 (i64)* @LEAPS_THRU_END_OF, { 1, 0 }\n uselistorder i64 -365, { 1, 0 }\n uselistorder i64 63, { 7, 0, 1, 2, 3, 4, 5, 6 }\n uselistorder i32 0, { 2, 3, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "register_to_network_2540", "fun_name": "register_to_network", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n store i64 %1, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = call i32 @htonl(i32 %4)\n store i32 %5, i32* %3, align 4\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n store i64 %9, i64* %7, align 8\n ret i64 %9\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i32 (i32)* @htonl, { 2, 1, 0 }\n uselistorder i64 (i64)* @htonll, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_should_update_3004", "fun_name": "vnc_should_update", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 2\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = icmp sgt i32 %2, 2\n %5 = icmp eq i32 %2, 0\n %or.cond = or i1 %4, %5\n %6 = icmp eq i32 %2, 1\n %7 = icmp eq i1 %6, false\n %or.cond3 = or i1 %or.cond, %7\n br i1 %or.cond3, label LBL_3, label LBL_2\n LBL_2:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = add i64 %8, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %8, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp ult i32 %11, %14\n store i64 1, i64* %rax.0.reg2mem\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_ctl_add_13732", "fun_name": "snd_ctl_add", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.02.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %1 = load i32, i32* %0\n %2 = load i32, i32* %0\n %sv_3 = alloca i64, align 8\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_12\n LBL_1:\n %5 = icmp eq i64* %arg1, null\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = add i64 %arg2, 104\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %spec.select = zext i1 %9 to i64\n store i64 %spec.select, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %10 = call i64 @FUNC(i64 %storemerge.reload)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_11, label LBL_4\n LBL_4:\n %14 = add i64 %arg2, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n store i64 %arg2, i64* %sv_3, align 8\n %17 = add i64 %arg2, 84\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = sub i32 0, %19\n %21 = sub i32 %20, 1\n %22 = icmp ugt i32 %2, %21\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_11, label LBL_5\n LBL_5:\n %23 = ptrtoint i64* %arg1 to i64\n %24 = add i64 %23, 32\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %23, i64* nonnull %sv_3)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i64 %24)\n %30 = and i64 %16, 4294967295\n %31 = load i64, i64* %sv_3, align 8\n %32 = and i64 %31, 4294967295\n %33 = add i64 %23, 24\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %35, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %32, i32 %1, i64 %30, i64* nonnull %sv_2)\n store i64 4294967280, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_7:\n %37 = load i32, i32* %18, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %23, i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = icmp slt i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_9, label LBL_8\n LBL_8:\n %43 = call i64 @FUNC(i64 %24)\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_9:\n %44 = add i64 %arg2, 88\n %45 = call i64 @FUNC(i64 %44, i64 %23)\n %46 = add i64 %23, 16\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = load i32, i32* %18, align 4\n %50 = add i32 %49, %48\n store i32 %50, i32* %47, align 4\n %51 = add i64 %23, 20\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i32 %53, 1\n %55 = add i64 %arg2, 80\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n %57 = load i32, i32* %52, align 4\n %58 = load i32, i32* %18, align 4\n %59 = add i32 %58, %57\n store i32 %59, i32* %52, align 4\n %60 = load i32, i32* %18, align 4\n %61 = call i64 @FUNC(i64 %24)\n %62 = icmp eq i32 %60, 0\n store i32 0, i32* %sv_1.02.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %62, label LBL_12, label LBL_10\n LBL_10:\n %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem\n %63 = call i64 @FUNC(i64 %23, i64 1, i64* nonnull %sv_3)\n %64 = add nuw i32 %sv_1.02.reload, 1\n %exitcond = icmp eq i32 %64, %60\n store i32 %64, i32* %sv_1.02.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_12, label LBL_10\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %65 = call i64 @FUNC(i64 %arg2)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %52, { 1, 0, 2 }\n uselistorder i64 %24, { 2, 1, 0, 3 }\n uselistorder i64 %23, { 1, 2, 4, 3, 5, 0, 7, 6 }\n uselistorder i64* %sv_3, { 0, 2, 1, 3 }\n uselistorder i32* %sv_1.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i32* %0, { 1, 0 }\n uselistorder i64 (i64)* @up_write, { 2, 1, 0 }\n uselistorder i32 0, { 0, 2, 3, 4, 1, 5 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4294967274, { 1, 2, 0 }\n uselistorder i64 0, { 0, 1, 4, 5, 7, 8, 2, 3, 6 }\n uselistorder i64 %arg2, { 6, 1, 2, 3, 4, 5, 0, 7 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_12, { 3, 0, 1, 2 }\n uselistorder label LBL_11, { 2, 3, 0, 1 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "osl_getHWAddr_3968", "fun_name": "osl_getHWAddr", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i32\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i32, i32* %1\n %sv_0 = alloca i64, align 8\n %7 = call i32 @socket(i32 2, i32 2, i32 0)\n %8 = inttoptr i64 %arg1 to i8*\n %9 = call i32 @strlen(i8* %8)\n %10 = icmp ult i32 %9, 16\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %10, label LBL_1, label LBL_9\n LBL_1:\n %11 = bitcast i64* %sv_0 to i8*\n %12 = call i8* @strcpy(i8* nonnull %11, i8* %8)\n %13 = ptrtoint i64* %sv_0 to i64\n %14 = call i32 (i32, i32, ...) @ioctl(i32 %7, i32 35091)\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i32* @__errno_location()\n %18 = load i32, i32* %17, align 4\n %19 = call i8* @strerror(i32 %18)\n %20 = ptrtoint i8* %19 to i64\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %13, i64 %4, i64 %3, i64 %2)\n %22 = call i32 @close(i32 %7)\n store i32 %14, i32* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_3:\n %23 = and i32 %6, 8\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = call i32* @__errno_location()\n %26 = load i32, i32* %25, align 4\n %27 = call i8* @strerror(i32 %26)\n %28 = ptrtoint i8* %27 to i64\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %28, i64 %13, i64 %4, i64 %3, i64 %2)\n %30 = call i32 @close(i32 %7)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_5:\n %31 = call i32 (i32, i32, ...) @ioctl(i32 %7, i32 35111)\n %32 = call i32 (i32, i32, ...) @ioctl(i32 %7, i32 35093)\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n %35 = call i32* @__errno_location()\n %36 = load i32, i32* %35, align 4\n %37 = call i8* @strerror(i32 %36)\n %38 = ptrtoint i8* %37 to i64\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i64 %38, i64 %13, i64 %4, i64 %3, i64 %2)\n %40 = call i64* @memset(i64* %arg2, i32 0, i32 32)\n %41 = call i32 @close(i32 %7)\n store i32 %32, i32* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_7:\n %42 = ptrtoint i64* %arg2 to i64\n %43 = call i32 @close(i32 %7)\n %44 = call i64 @FUNC(i64 %42)\n %45 = trunc i64 %44 to i32\n %46 = icmp slt i32 %45, 0\n %47 = icmp eq i1 %46, false\n store i32 1, i32* %rax.0.shrunk.reg2mem\n br i1 %47, label LBL_9, label LBL_8\n LBL_8:\n %48 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i64 35093, i64 %5, i64 %4, i64 %3, i64 %2)\n store i32 %45, i32* %rax.0.shrunk.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i64 %13, { 2, 1, 0 }\n uselistorder i32 %7, { 3, 2, 5, 4, 1, 0, 6 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %4, { 3, 2, 1, 0 }\n uselistorder i64 %3, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 6, 1, 5, 4, 3, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 (i32)* @close, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @OSL_TRACE, { 3, 2, 1, 0 }\n uselistorder i8* (i32)* @strerror, { 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i32 (i32, i32, ...)* @ioctl, { 2, 1, 0 }\n uselistorder i32 0, { 4, 2, 5, 1, 6, 7, 0, 3 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 3, 4, 5, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "LocateEmptyPatch_10761", "fun_name": "LocateEmptyPatch", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = add i64 %1, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %2, align 4\n %6 = icmp eq i32 %5, 0\n store i32 0, i32* %storemerge23.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %7 = load i32, i32* %4, align 4\n %8 = zext i32 %storemerge23.reload to i64\n %9 = call i64 @FUNC(i64 %0, i64 %8, i32 %7)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %storemerge.reg2mem\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n %12 = add i32 %storemerge23.reload, 1\n %13 = load i32, i32* %2, align 4\n %14 = zext i32 %13 to i64\n %15 = sext i32 %12 to i64\n %16 = icmp slt i64 %15, %14\n store i32 %12, i32* %storemerge23.reg2mem\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %16, label LBL_1, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %2, { 1, 0 }\n uselistorder i32* %storemerge23.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alloc_table_14054", "fun_name": "alloc_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = trunc i64 %1 to i32\n %5 = add i32 %4, %3\n %6 = bitcast i64* %arg1 to i32*\n store i32 %5, i32* %6, align 4\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp ult i32 %9, %4\n br i1 %10, label LBL_1, label LBL_2\n LBL_1:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = urem i32 %13, 32\n %15 = shl i32 1, %14\n %16 = add i32 %15, %9\n store i32 %16, i32* %8, align 4\n %17 = sext i32 %16 to i64\n %18 = mul i64 %17, 8\n %19 = add i64 %2, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %18)\n store i64 %22, i64* %20, align 8\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 4294967295, i64* %storemerge1.reg2mem\n br i1 %24, label LBL_2, label LBL_3\n LBL_2:\n %25 = and i64 %1, 4294967295\n store i64 %25, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "common_file_perm_9029", "fun_name": "common_file_perm", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = icmp eq i64 %7, 0\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp eq i64* %arg2, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_8, label LBL_1\n LBL_1:\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %18, label LBL_2, label LBL_8\n LBL_2:\n %19 = call i64 @FUNC()\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_8, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %7)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %27, label LBL_8, label LBL_4\n LBL_4:\n %sext4 = mul i64 %arg3, 4294967296\n %28 = ashr exact i64 %sext4, 32\n %29 = icmp eq i64 %7, %19\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre = trunc i64 %28 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n br label LBL_7\n LBL_6:\n %31 = inttoptr i64 %3 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = sub i32 0, %32\n %34 = sub i32 %33, 1\n %35 = trunc i64 %28 to i32\n %36 = and i32 %34, %35\n %37 = icmp eq i32 %36, 0\n store i32 %35, i32* %.pre-phi.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %37, label LBL_8, label LBL_7\n LBL_7:\n %38 = and i64 %arg1, 4294967295\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %39 = call i64 @FUNC(i64 %38, i64 %19, i64 %0, i32 %.pre-phi.reload)\n %phitmp = and i64 %39, 4294967295\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %28, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4, 6, 5 }\n uselistorder i64 (i64)* @unconfined, { 1, 0 }\n uselistorder i32 0, { 3, 0, 4, 5, 6, 1, 2, 7 }\n uselistorder label LBL_8, { 3, 2, 1, 0, 5, 4 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sum_init_8047", "fun_name": "sum_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.in.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i32\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 %arg1, i64* %sv_0.0.in.in.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 0, i64 0)\n store i64 %3, i64* %sv_0.0.in.in.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem\n %sv_0.0.in = mul i64 %sv_0.0.in.in.reload, 4294967296\n %sv_0.0 = ashr exact i64 %sv_0.0.in, 32\n %4 = and i64 %sv_0.0, 4294967295\n %5 = trunc i64 %sv_0.0 to i32\n store i32 %5, i32* bitcast (i64* @gv_0 to i32*), align 8\n %6 = icmp sgt i32 %5, 5\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_9, label LBL_3\n LBL_3:\n %7 = icmp sgt i32 %5, 2\n br i1 %7, label LBL_8, label LBL_4\n LBL_4:\n store i64 %4, i64* %rax.0.reg2mem\n switch i32 %5, label LBL_5 [\n i32 2, label LBL_7\n i32 0, label LBL_9\n ]\n LBL_5:\n %8 = icmp eq i32 %5, 1\n %9 = icmp eq i1 %8, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %9, label LBL_9, label LBL_6\n LBL_6:\n %10 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %11 = call i64 @FUNC(i64* nonnull @gv_1)\n store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %12 = and i64 %arg2, 4294967295\n %13 = call i64 @FUNC(i64* nonnull @gv_1)\n store i32 0, i32* bitcast (i64* @gv_2 to i32*), align 8\n %14 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i64 %12)\n %15 = call i64 @FUNC(i64* nonnull %sv_1, i64 4)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %5, { 1, 2, 0, 3, 4 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 3, 1, 6 }\n uselistorder i64 (i64*)* @mdfour_begin, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i32 1, { 5, 6, 4, 3, 2, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 4, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "single_quote_string_18927", "fun_name": "single_quote_string", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_0 to i64\n %1 = add i64 %0, -16\n %2 = add i64 %0, -96\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %.reg2mem\n store i64 %1, i64* %.reg2mem6\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %4, i64* %.lcssa.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload = load i64, i64* %.reg2mem\n %7 = call i64 @FUNC(i64 %.reload, i64 0)\n %8 = call i64 @FUNC(i64 %7)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %.reload7, -72\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %8)\n %15 = inttoptr i64 %14 to i8*\n %16 = inttoptr i64 %13 to i8*\n %17 = call i32 @strcmp(i8* %15, i8* %16)\n %18 = icmp eq i32 %17, 0\n %19 = zext i1 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC(i64 %8)\n %22 = add i32 %storemerge2.reload, 1\n %23 = sext i32 %22 to i64\n %24 = mul i64 %23, 16\n %25 = add i64 %24, %1\n %26 = add i64 %25, -80\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %.reg2mem\n store i64 %25, i64* %.reg2mem6\n store i32 %22, i32* %storemerge2.reg2mem\n store i64 %28, i64* %.lcssa.reg2mem\n br i1 %30, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem6, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @g_assert, { 1, 0 }\n uselistorder i32 0, { 2, 0, 3, 1 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 1, { 8, 7, 4, 3, 2, 1, 5, 6, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "seg6_validate_srh_3927", "fun_name": "seg6_validate_srh", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i32\n %sv_1.04.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %4 = ptrtoint i8* %arg1 to i64\n %5 = add i64 %4, 1\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i32\n %9 = mul i32 %8, 8\n %10 = add nuw nsw i32 %9, 8\n %11 = trunc i64 %arg2 to i32\n %12 = icmp eq i32 %10, %11\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_7\n LBL_2:\n %13 = add i64 %4, 2\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = add i64 %4, 3\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = icmp eq i8 %15, %18\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_3, label LBL_7\n LBL_3:\n %20 = zext i8 %15 to i32\n %21 = mul i32 %20, 16\n %22 = add nuw nsw i32 %21, 20\n %23 = sub nsw i32 %10, %22\n %24 = icmp slt i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i32 %23, i32* %sv_1.04.reg2mem\n store i32 %22, i32* %sv_0.03.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_4, label LBL_7\n LBL_4:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %26 = icmp ult i32 %sv_1.04.reload, 4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_7, label LBL_5\n LBL_5:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %27 = zext i32 %sv_0.03.reload to i64\n %28 = add i64 %27, %4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i32 %30, 4\n %32 = sub i32 %sv_1.04.reload, %31\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_6, label LBL_7\n LBL_6:\n %35 = add i32 %31, %sv_0.03.reload\n %36 = icmp eq i32 %32, 0\n %37 = icmp eq i1 %36, false\n store i32 %32, i32* %sv_1.04.reg2mem\n store i32 %35, i32* %sv_0.03.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %37, label LBL_4, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.03.reload, { 1, 0 }\n uselistorder i32* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5, 6, 7 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i32 8, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hugetlb_unreserve_pages_6026", "fun_name": "hugetlb_unreserve_pages", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 %arg2)\n %3 = call i64 @FUNC(i64 %0)\n %4 = add i64 %0, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %1)\n %7 = mul i64 %6, %arg3\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = sub i64 %10, %7\n store i64 %11, i64* %9, align 8\n %12 = call i64 @FUNC(i64 %4)\n %13 = sub i64 %2, %arg3\n %14 = call i64 @FUNC(i64 %3, i64 %13)\n %15 = sub i64 %arg3, %2\n %16 = call i64 @FUNC(i64 %1, i64 %15)\n ret i64 %16\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %arg3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "br_mdb_ip4_get_18862", "fun_name": "br_mdb_ip4_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n store i64 %1, i64* %sv_0, align 8\n %2 = call i16 @htons(i16 2048)\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = and i64 %4, 4294967295\n %6 = bitcast i64* %sv_0 to i32*\n %7 = call i64 @FUNC(i64 %0, i32* nonnull %6, i64 %5)\n ret i64 %7\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_chr_alloc_3125", "fun_name": "qemu_chr_alloc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 4)\n %1 = call i64 @FUNC(i64 %0)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "selinux_ptrace_traceme_5810", "fun_name": "selinux_ptrace_traceme", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = and i64 %2, 4294967295\n %5 = and i64 %3, 4294967295\n %6 = call i64 @FUNC(i64* nonnull @gv_1, i64 %5, i64 %4, i64 0, i64 0, i64 0)\n ret i64 %6\n\n uselistorder i64 (i64)* @task_sid_obj, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TIFFIgnoreTags_12113", "fun_name": "TIFFIgnoreTags", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rbx.011.reg2mem = alloca i64\n %.reg2mem64 = alloca i8*\n %.reg2mem62 = alloca i8*\n %.reg2mem60 = alloca i8\n %.reg2mem58 = alloca i8*\n %.lcssa.reg2mem = alloca i8*\n %.reg2mem56 = alloca i8*\n %sv_0.014.reg2mem = alloca i32\n %.reg2mem54 = alloca i8*\n %.reg2mem52 = alloca i8\n %.reg2mem50 = alloca i8*\n %.reg2mem48 = alloca i8*\n %.reg2mem46 = alloca i8*\n %.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i8*, align 8\n %1 = call i64 @FUNC(i64 %0)\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = icmp eq i64 %sext, 18033657142837248\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_20, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0))\n %7 = icmp eq i64 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_20, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %6 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 0\n %11 = icmp eq i1 %10, false\n store i8* %8, i8** %.reg2mem54\n store i32 0, i32* %sv_0.014.reg2mem\n br i1 %11, label LBL_9, label LBL_3\n LBL_3:\n %12 = zext i8 %9 to i64\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_4:\n %.reload = load i8*, i8** %.reg2mem\n %13 = ptrtoint i8* %.reload to i64\n %14 = add i64 %13, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = call i16** @__ctype_b_loc()\n %17 = load i16*, i16** %16, align 8\n %18 = ptrtoint i16* %17 to i64\n %19 = load i8, i8* %15, align 1\n %20 = zext i8 %19 to i64\n %21 = mul i64 %20, 2\n %22 = add i64 %21, %18\n %23 = inttoptr i64 %22 to i16*\n %24 = load i16, i16* %23, align 2\n %25 = and i16 %24, 8192\n %26 = icmp eq i16 %25, 0\n %27 = icmp eq i1 %26, false\n store i8* %15, i8** %.reg2mem\n store i8* %15, i8** %.reg2mem46\n br i1 %27, label LBL_4, label LBL_5\n LBL_5:\n %.reload47 = load i8*, i8** %.reg2mem46\n %28 = call i32 @strtol(i8* %.reload47, i8** nonnull %sv_1, i32 10)\n %29 = load i8*, i8** %sv_1, align 8\n %30 = icmp eq i8* %.reload47, %29\n br i1 %30, label LBL_19, label LBL_6\n LBL_6:\n %31 = call i16** @__ctype_b_loc()\n %32 = load i16*, i16** %31, align 8\n %33 = ptrtoint i16* %32 to i64\n %34 = load i8, i8* %29, align 1\n %35 = zext i8 %34 to i64\n %36 = mul i64 %35, 2\n %37 = add i64 %36, %33\n %38 = inttoptr i64 %37 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = and i16 %39, 8192\n %41 = icmp eq i16 %40, 0\n %42 = icmp eq i1 %41, false\n %43 = icmp eq i8 %34, 44\n %or.cond13 = or i1 %43, %42\n store i8* %29, i8** %.reg2mem48\n store i8* %29, i8** %.reg2mem50\n store i8 %34, i8* %.reg2mem52\n br i1 %or.cond13, label LBL_7, label LBL_8\n LBL_7:\n %.reload49 = load i8*, i8** %.reg2mem48\n %44 = ptrtoint i8* %.reload49 to i64\n %45 = add i64 %44, 1\n %46 = inttoptr i64 %45 to i8*\n %47 = call i16** @__ctype_b_loc()\n %48 = load i16*, i16** %47, align 8\n %49 = ptrtoint i16* %48 to i64\n %50 = load i8, i8* %46, align 1\n %51 = zext i8 %50 to i64\n %52 = mul i64 %51, 2\n %53 = add i64 %52, %49\n %54 = inttoptr i64 %53 to i16*\n %55 = load i16, i16* %54, align 2\n %56 = and i16 %55, 8192\n %57 = icmp eq i16 %56, 0\n %58 = icmp eq i1 %57, false\n %59 = icmp eq i8 %50, 44\n %or.cond = or i1 %59, %58\n store i8* %46, i8** %.reg2mem48\n store i8* %46, i8** %.reg2mem50\n store i8 %50, i8* %.reg2mem52\n br i1 %or.cond, label LBL_7, label LBL_8\n LBL_8:\n %60 = add i32 %sv_0.014.reload, 1\n %.reload53 = load i8, i8* %.reg2mem52\n %.reload51 = load i8*, i8** %.reg2mem50\n %61 = icmp eq i8 %.reload53, 0\n %62 = icmp eq i1 %61, false\n store i8* %.reload51, i8** %.reg2mem54\n store i32 %60, i32* %sv_0.014.reg2mem\n br i1 %62, label LBL_9, label LBL_10\n LBL_9:\n %sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem\n %.reload55 = load i8*, i8** %.reg2mem54\n %63 = call i16** @__ctype_b_loc()\n %64 = load i16*, i16** %63, align 8\n %65 = ptrtoint i16* %64 to i64\n %66 = load i8, i8* %.reload55, align 1\n %67 = zext i8 %66 to i64\n %68 = mul i64 %67, 2\n %69 = add i64 %68, %65\n %70 = inttoptr i64 %69 to i16*\n %71 = load i16, i16* %70, align 2\n %72 = and i16 %71, 8192\n %73 = icmp eq i16 %72, 0\n %74 = icmp eq i1 %73, false\n store i8* %.reload55, i8** %.reg2mem\n store i8* %.reload55, i8** %.reg2mem46\n br i1 %74, label LBL_4, label LBL_5\n LBL_10:\n %75 = zext i8 %.reload53 to i64\n %76 = icmp eq i32 %60, 0\n store i64 %75, i64* %rax.0.reg2mem\n br i1 %76, label LBL_20, label LBL_11\n LBL_11:\n %77 = sext i32 %60 to i64\n %78 = call i64 @FUNC(i64 %77, i64 4)\n %79 = mul i64 %77, 4\n %80 = call i64 @FUNC(i64 %78, i64 0, i64 %79)\n %81 = load i8, i8* %8, align 1\n %82 = icmp eq i8 %81, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_12, label LBL_18\n LBL_12:\n store i8* %8, i8** %.reg2mem64\n store i64 0, i64* %rbx.011.reg2mem\n br label LBL_17\n LBL_13:\n %.reload57 = load i8*, i8** %.reg2mem56\n %84 = ptrtoint i8* %.reload57 to i64\n %85 = add i64 %84, 1\n %86 = inttoptr i64 %85 to i8*\n %87 = call i16** @__ctype_b_loc()\n %88 = load i16*, i16** %87, align 8\n %89 = ptrtoint i16* %88 to i64\n %90 = load i8, i8* %86, align 1\n %91 = zext i8 %90 to i64\n %92 = mul i64 %91, 2\n %93 = add i64 %92, %89\n %94 = inttoptr i64 %93 to i16*\n %95 = load i16, i16* %94, align 2\n %96 = and i16 %95, 8192\n %97 = icmp eq i16 %96, 0\n %98 = icmp eq i1 %97, false\n store i8* %86, i8** %.reg2mem56\n store i8* %86, i8** %.lcssa.reg2mem\n br i1 %98, label LBL_13, label LBL_14\n LBL_14:\n %.lcssa.reload = load i8*, i8** %.lcssa.reg2mem\n %99 = call i32 @strtol(i8* %.lcssa.reload, i8** nonnull %sv_1, i32 10)\n %100 = mul i64 %rbx.011.reload, 4\n %101 = add i64 %100, %78\n %102 = inttoptr i64 %101 to i32*\n store i32 %99, i32* %102, align 4\n %103 = load i8*, i8** %sv_1, align 8\n %104 = call i16** @__ctype_b_loc()\n %105 = load i16*, i16** %104, align 8\n %106 = ptrtoint i16* %105 to i64\n %107 = load i8, i8* %103, align 1\n %108 = zext i8 %107 to i64\n %109 = mul i64 %108, 2\n %110 = add i64 %109, %106\n %111 = inttoptr i64 %110 to i16*\n %112 = load i16, i16* %111, align 2\n %113 = and i16 %112, 8192\n %114 = icmp eq i16 %113, 0\n %115 = icmp eq i1 %114, false\n %116 = icmp eq i8 %107, 44\n %or.cond410 = or i1 %116, %115\n store i8* %103, i8** %.reg2mem58\n store i8 %107, i8* %.reg2mem60\n store i8* %103, i8** %.reg2mem62\n br i1 %or.cond410, label LBL_15, label LBL_16\n LBL_15:\n %.reload59 = load i8*, i8** %.reg2mem58\n %117 = ptrtoint i8* %.reload59 to i64\n %118 = add i64 %117, 1\n %119 = inttoptr i64 %118 to i8*\n %120 = call i16** @__ctype_b_loc()\n %121 = load i16*, i16** %120, align 8\n %122 = ptrtoint i16* %121 to i64\n %123 = load i8, i8* %119, align 1\n %124 = zext i8 %123 to i64\n %125 = mul i64 %124, 2\n %126 = add i64 %125, %122\n %127 = inttoptr i64 %126 to i16*\n %128 = load i16, i16* %127, align 2\n %129 = and i16 %128, 8192\n %130 = icmp eq i16 %129, 0\n %131 = icmp eq i1 %130, false\n %132 = icmp eq i8 %123, 44\n %or.cond4 = or i1 %132, %131\n store i8* %119, i8** %.reg2mem58\n store i8 %123, i8* %.reg2mem60\n store i8* %119, i8** %.reg2mem62\n br i1 %or.cond4, label LBL_15, label LBL_16\n LBL_16:\n %133 = add i64 %rbx.011.reload, 1\n %.reload63 = load i8*, i8** %.reg2mem62\n %.reload61 = load i8, i8* %.reg2mem60\n %134 = icmp eq i8 %.reload61, 0\n %135 = icmp eq i1 %134, false\n store i8* %.reload63, i8** %.reg2mem64\n store i64 %133, i64* %rbx.011.reg2mem\n br i1 %135, label LBL_17, label LBL_18\n LBL_17:\n %rbx.011.reload = load i64, i64* %rbx.011.reg2mem\n %.reload65 = load i8*, i8** %.reg2mem64\n %136 = call i16** @__ctype_b_loc()\n %137 = load i16*, i16** %136, align 8\n %138 = ptrtoint i16* %137 to i64\n %139 = load i8, i8* %.reload65, align 1\n %140 = zext i8 %139 to i64\n %141 = mul i64 %140, 2\n %142 = add i64 %141, %138\n %143 = inttoptr i64 %142 to i16*\n %144 = load i16, i16* %143, align 2\n %145 = and i16 %144, 8192\n %146 = icmp eq i16 %145, 0\n %147 = icmp eq i1 %146, false\n store i8* %.reload65, i8** %.reg2mem56\n store i8* %.reload65, i8** %.lcssa.reg2mem\n br i1 %147, label LBL_13, label LBL_14\n LBL_18:\n %148 = zext i32 %60 to i64\n %149 = call i64 @FUNC(i64 %0, i64 %78, i64 %148)\n %150 = call i64 @FUNC(i64 %78)\n store i64 %150, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_19:\n %151 = ptrtoint i8* %.reload47 to i64\n store i64 %151, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %.reload65, { 2, 1, 0 }\n uselistorder i64 %rbx.011.reload, { 1, 0 }\n uselistorder i64 %78, { 2, 1, 0, 3 }\n uselistorder i8* %.reload55, { 2, 1, 0 }\n uselistorder i8 %.reload53, { 1, 0 }\n uselistorder i32 %60, { 2, 3, 1, 0 }\n uselistorder i8* %.reload47, { 1, 0, 2 }\n uselistorder i8* %8, { 0, 2, 1, 3 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i8** %sv_1, { 0, 3, 1, 2 }\n uselistorder i8** %.reg2mem, { 1, 2, 0 }\n uselistorder i8** %.reg2mem46, { 2, 0, 1 }\n uselistorder i8** %.reg2mem48, { 2, 0, 1 }\n uselistorder i8** %.reg2mem54, { 0, 2, 1 }\n uselistorder i32* %sv_0.014.reg2mem, { 0, 2, 1 }\n uselistorder i8** %.reg2mem56, { 1, 2, 0 }\n uselistorder i8** %.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem58, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2, 5, 6 }\n uselistorder i8 44, { 2, 1, 3, 0 }\n uselistorder i32 (i8*, i8**, i32)* @strtol, { 1, 0 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i16 0, { 3, 6, 2, 7, 1, 4, 0, 5 }\n uselistorder i16 8192, { 3, 6, 2, 7, 1, 4, 0, 5 }\n uselistorder i16** ()* @__ctype_b_loc, { 3, 7, 2, 4, 1, 5, 0, 6 }\n uselistorder i64 1, { 3, 1, 2, 4, 5, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i8 0, { 2, 1, 3, 0 }\n uselistorder i1 false, { 5, 8, 6, 4, 7, 3, 2, 11, 9, 1, 10, 0, 12 }\n uselistorder label LBL_20, { 0, 5, 2, 1, 3, 4 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "idr_remove_all_19054", "fun_name": "idr_remove_all", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.218.reg2mem = alloca i64\n %sv_1.219.reg2mem = alloca i32\n %sv_2.220.reg2mem = alloca i64\n %sv_3.021.reg2mem = alloca i32\n %sv_2.1.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.112.reg2mem = alloca i64\n %sv_1.113.reg2mem = alloca i32\n %sv_2.114.reg2mem = alloca i64\n %sv_2.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32\n %sv_0.07.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i32\n %sv_2.09.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_4 to i64\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = mul i32 %4, 8\n %6 = call i64 @FUNC(i64 %0, i64 0)\n %7 = and i32 %5, 24\n %8 = shl i32 1, %7\n store i32 0, i32* %sv_3.021.reg2mem\n store i64 %0, i64* %sv_2.220.reg2mem\n store i32 %5, i32* %sv_1.219.reg2mem\n store i64 %1, i64* %sv_0.218.reg2mem\n br label LBL_7\n LBL_1:\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem\n %sv_2.09.reload = load i64, i64* %sv_2.09.reg2mem\n %9 = add i32 %sv_1.08.reload, -8\n %10 = add i64 %sv_0.07.reload, 8\n %11 = inttoptr i64 %sv_0.07.reload to i64*\n store i64 %sv_2.09.reload, i64* %11, align 8\n %12 = urem i32 %9, 32\n %13 = ashr i32 %sv_3.021.reload, %12\n %14 = mul i32 %13, 8\n %15 = and i32 %14, 2040\n %16 = zext i32 %15 to i64\n %17 = add i64 %sv_2.09.reload, %16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp sgt i32 %9, 8\n %21 = icmp eq i64 %19, 0\n %22 = icmp eq i1 %21, false\n %or.cond = icmp eq i1 %20, %22\n store i64 %19, i64* %sv_2.09.reg2mem\n store i32 %9, i32* %sv_1.08.reg2mem\n store i64 %10, i64* %sv_0.07.reg2mem\n store i32 %12, i32* %.pre-phi.reg2mem\n store i64 %10, i64* %sv_0.0.lcssa.reg2mem\n store i32 %9, i32* %sv_1.0.lcssa.reg2mem\n store i64 %19, i64* %sv_2.0.lcssa.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %23 = shl i32 1, %.pre-phi.reload\n %24 = add i32 %23, %sv_3.021.reload\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = sext i32 %sv_1.0.lcssa.reload to i64\n %28 = icmp sgt i64 %26, %27\n store i64 %sv_2.0.lcssa.reload, i64* %sv_2.114.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.113.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.112.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.1.lcssa.reg2mem\n store i64 %sv_2.0.lcssa.reload, i64* %sv_2.1.lcssa.reg2mem\n br i1 %28, label LBL_3, label LBL_6\n LBL_3:\n %sv_0.112.reload = load i64, i64* %sv_0.112.reg2mem\n %sv_1.113.reload = load i32, i32* %sv_1.113.reg2mem\n %sv_2.114.reload = load i64, i64* %sv_2.114.reg2mem\n %29 = icmp eq i64 %sv_2.114.reload, 0\n br i1 %29, label LBL_5, label LBL_4\n LBL_4:\n %30 = call i64 @FUNC(i64 %sv_2.114.reload)\n br label LBL_5\n LBL_5:\n %31 = add i32 %sv_1.113.reload, 8\n %32 = add i64 %sv_0.112.reload, -8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64 %25)\n %36 = sext i32 %31 to i64\n %37 = icmp sgt i64 %35, %36\n store i64 %34, i64* %sv_2.114.reg2mem\n store i32 %31, i32* %sv_1.113.reg2mem\n store i64 %32, i64* %sv_0.112.reg2mem\n store i64 %32, i64* %sv_0.1.lcssa.reg2mem\n store i32 %31, i32* %sv_1.1.lcssa.reg2mem\n store i64 %34, i64* %sv_2.1.lcssa.reg2mem\n br i1 %37, label LBL_3, label LBL_6\n LBL_6:\n %sv_2.1.lcssa.reload = load i64, i64* %sv_2.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %38 = icmp slt i32 %24, %8\n store i32 %24, i32* %sv_3.021.reg2mem\n store i64 %sv_2.1.lcssa.reload, i64* %sv_2.220.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %sv_1.219.reg2mem\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.218.reg2mem\n br i1 %38, label LBL_7, label LBL_9\n LBL_7:\n %sv_0.218.reload = load i64, i64* %sv_0.218.reg2mem\n %sv_1.219.reload = load i32, i32* %sv_1.219.reg2mem\n %sv_2.220.reload = load i64, i64* %sv_2.220.reg2mem\n %sv_3.021.reload = load i32, i32* %sv_3.021.reg2mem\n %39 = icmp sgt i32 %sv_1.219.reload, 8\n %40 = icmp eq i64 %sv_2.220.reload, 0\n %41 = icmp eq i1 %40, false\n %or.cond6 = icmp eq i1 %39, %41\n store i64 %sv_2.220.reload, i64* %sv_2.09.reg2mem\n store i32 %sv_1.219.reload, i32* %sv_1.08.reg2mem\n store i64 %sv_0.218.reload, i64* %sv_0.07.reg2mem\n br i1 %or.cond6, label LBL_1, label LBL_7.LBL_2_crit_edge\n LBL_8:\n %.pre = urem i32 %sv_1.219.reload, 32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n store i64 %sv_0.218.reload, i64* %sv_0.0.lcssa.reg2mem\n store i32 %sv_1.219.reload, i32* %sv_1.0.lcssa.reg2mem\n store i64 %sv_2.220.reload, i64* %sv_2.0.lcssa.reg2mem\n br label LBL_2\n LBL_9:\n store i32 0, i32* %3, align 4\n ret i64 %0\n\n uselistorder i64 %sv_2.220.reload, { 2, 1, 0 }\n uselistorder i32 %sv_1.219.reload, { 3, 1, 2, 0 }\n uselistorder i64 %sv_0.218.reload, { 1, 0 }\n uselistorder i64 %sv_2.114.reload, { 1, 0 }\n uselistorder i64 %25, { 1, 0 }\n uselistorder i32 %9, { 0, 1, 3, 2 }\n uselistorder i64 %sv_2.09.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %sv_2.09.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_1.08.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.07.reg2mem, { 1, 2, 0 }\n uselistorder i32* %.pre-phi.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.114.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.113.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.112.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @fls, { 1, 0 }\n uselistorder i1 false, { 0, 2, 3, 1 }\n uselistorder i32 0, { 3, 0, 4, 1, 2 }\n uselistorder i32 8, { 2, 4, 3, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_watchpoint_remove_by_ref_25", "fun_name": "cpu_watchpoint_remove_by_ref", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_trace_event_by_name_15790", "fun_name": "find_trace_event_by_name", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = inttoptr i64 %arg1 to i8*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = mul i64 %indvars.iv.reload, 8\n %4 = add i64 %3, ptrtoint ([10 x i8*]* @gv_0 to i64)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i8*\n %8 = call i32 @strcmp(i8* %7, i8* %2)\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %11 = icmp ult i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 0, { 20, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "page_find_16548", "fun_name": "page_find", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = udiv i64 %arg1, 4096\n %1 = mul i64 %0, 8\n %2 = add i64 %1, ptrtoint (i64* @gv_0 to i64)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n %storemerge = select i1 %6, i64 %4, i64 0\n ret i64 %storemerge\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "connect_to_sdog_16031", "fun_name": "connect_to_sdog", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %r9.1.reg2mem = alloca i64\n %r8.1.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %storemerge5.in20.reg2mem = alloca i64\n %storemerge521.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca %addrinfo*, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i8*, align 8\n %3 = inttoptr i64 %arg1 to i8*\n %4 = inttoptr i64 %arg2 to i8*\n %5 = icmp eq i64 %arg1, 0\n %6 = icmp eq i1 %5, false\n %storemerge6 = select i1 %6, i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0)\n %sv_6.0 = select i1 %6, i8* %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0)\n store i8* %storemerge6, i8** %sv_5, align 8\n %7 = call i64* @memset(i64* nonnull %sv_4, i32 0, i32 48)\n %8 = ptrtoint %addrinfo** %sv_3 to i64\n %9 = load i8*, i8** %sv_5, align 8\n %10 = bitcast i64* %sv_4 to %addrinfo*\n %11 = call i32 @getaddrinfo(i8* %sv_6.0, i8* %9, %addrinfo* nonnull %10, %addrinfo** nonnull %sv_3)\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i32* @__errno_location()\n %14 = load i32, i32* %13, align 4\n %15 = call i8* @strerror(i32 %14)\n %16 = ptrtoint i8* %15 to i64\n %17 = ptrtoint i8* %sv_6.0 to i64\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %17, i64 %16, i64 %8, i64 %2, i64 %1)\n %19 = call i32* @__errno_location()\n %20 = load i32, i32* %19, align 4\n %21 = sub i32 0, %20\n store i32 %21, i32* %storemerge.in.reg2mem\n br label LBL_14\n LBL_2:\n %22 = load %addrinfo*, %addrinfo** %sv_3, align 8\n %23 = ptrtoint %addrinfo* %22 to i64\n %storemerge519 = trunc i64 %23 to i32\n %24 = icmp eq i32 %storemerge519, 0\n %25 = icmp eq i1 %24, false\n store i64 %8, i64* %rcx.2.reg2mem\n br i1 %25, label LBL_3, label LBL_12\n LBL_3:\n %26 = ptrtoint i8** %sv_5 to i64\n %27 = add i64 %26, -16\n %28 = inttoptr i64 %27 to i64*\n %29 = bitcast i64* %sv_1 to i8*\n %30 = bitcast i64* %sv_2 to i8*\n store i32 %storemerge519, i32* %storemerge521.reg2mem\n store i64 %23, i64* %storemerge5.in20.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge5.in20.reload = load i64, i64* %storemerge5.in20.reg2mem\n %storemerge521.reload = load i32, i32* %storemerge521.reg2mem\n %sext = mul i64 %storemerge5.in20.reload, 4294967296\n %31 = ashr exact i64 %sext, 32\n %32 = add nsw i64 %31, 16\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add nsw i64 %31, 24\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n store i64 3, i64* %28, align 8\n %38 = inttoptr i64 %37 to %sockaddr*\n %39 = call i32 @getnameinfo(%sockaddr* %38, i32 %34, i8* nonnull %29, i32 1025, i8* nonnull %30, i32 32, i32 %storemerge521.reload)\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 1025, i64* %rcx.0.reg2mem\n br i1 %41, label LBL_10, label LBL_5\n LBL_5:\n %42 = add nsw i64 %31, 12\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = add nsw i64 %31, 8\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = zext i32 %47 to i64\n %49 = add nsw i64 %31, 4\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = call i32 @socket(i32 %51, i32 %47, i32 %44)\n %53 = icmp slt i32 %52, 0\n store i64 %48, i64* %rcx.0.reg2mem\n br i1 %53, label LBL_10, label LBL_6\n LBL_6:\n %54 = ptrtoint i64* %sv_2 to i64\n br label LBL_7\n LBL_7:\n %55 = load i32, i32* %33, align 4\n %56 = load i64, i64* %36, align 8\n %57 = inttoptr i64 %56 to %sockaddr*\n %58 = call i32 @connect(i32 %52, %sockaddr* %57, i32 %55)\n %59 = icmp slt i32 %58, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_9, label LBL_8\n LBL_8:\n %61 = call i32* @__errno_location()\n %62 = load i32, i32* %61, align 4\n %63 = icmp eq i32 %62, 4\n %64 = icmp eq i1 %63, false\n store i64 %56, i64* %rcx.2.reg2mem\n store i64 %54, i64* %r8.1.reg2mem\n store i64 32, i64* %r9.1.reg2mem\n br i1 %64, label LBL_12, label LBL_7\n LBL_9:\n %65 = load i8*, i8** %sv_5, align 8\n %66 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint ([20 x i8]* @gv_3 to i32), i8* %sv_6.0, i8* %65, i8* inttoptr (i32 ptrtoint ([20 x i8]* @gv_3 to i32) to i8*))\n store i32 %52, i32* %sv_0.0.reg2mem\n br label LBL_13\n LBL_10:\n %67 = add nsw i64 %31, 40\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %storemerge5 = trunc i64 %69 to i32\n %70 = icmp eq i32 %storemerge5, 0\n %71 = icmp eq i1 %70, false\n store i32 %storemerge5, i32* %storemerge521.reg2mem\n store i64 %69, i64* %storemerge5.in20.reg2mem\n br i1 %71, label LBL_4, label LBL_11\n LBL_11:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %72 = ptrtoint i64* %sv_2 to i64\n store i64 %rcx.0.reload, i64* %rcx.2.reg2mem\n store i64 %72, i64* %r8.1.reg2mem\n store i64 32, i64* %r9.1.reg2mem\n br label LBL_12\n LBL_12:\n %r9.1.reload = load i64, i64* %r9.1.reg2mem\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %73 = call i32* @__errno_location()\n %74 = load i32, i32* %73, align 4\n %75 = sub i32 0, %74\n %76 = load i8*, i8** %sv_5, align 8\n %77 = ptrtoint i8* %76 to i64\n %78 = ptrtoint i8* %sv_6.0 to i64\n %79 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i64 %78, i64 %77, i64 %rcx.2.reload, i64 %r8.1.reload, i64 %r9.1.reload)\n store i32 %75, i32* %sv_0.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %80 = load %addrinfo*, %addrinfo** %sv_3, align 8\n call void @freeaddrinfo(%addrinfo* %80)\n store i32 %sv_0.0.reload, i32* %storemerge.in.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = zext i32 %storemerge.in.reload to i64\n ret i64 %storemerge\n\n uselistorder i64 %31, { 3, 0, 1, 2, 5, 4 }\n uselistorder i8* %sv_6.0, { 2, 1, 3, 0 }\n uselistorder i8** %sv_5, { 4, 3, 1, 2, 0 }\n uselistorder %addrinfo** %sv_3, { 2, 1, 3, 0 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i32* %storemerge521.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge5.in20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %r8.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r9.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 ptrtoint ([20 x i8]* @gv_3 to i32), { 1, 0 }\n uselistorder i64 32, { 1, 0, 2 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mg_http_multipart_wait_for_boundary_6642", "fun_name": "mg_http_multipart_wait_for_boundary", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %1, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i32 %11, 1\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp ult i32 %12, %15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_8\n LBL_3:\n %17 = sext i32 %15 to i64\n %18 = call i64 @FUNC(i64 %0, i64 %3, i64 %17)\n %19 = icmp eq i64 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_8, label LBL_4\n LBL_4:\n %20 = load i32, i32* %10, align 4\n %21 = sext i32 %20 to i64\n %22 = add i64 %18, %21\n %23 = load i32, i32* %14, align 4\n %24 = sext i32 %23 to i64\n %25 = sub i64 %0, %22\n %26 = add i64 %25, %24\n %27 = icmp sgt i64 %26, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_5, label LBL_8\n LBL_5:\n %28 = inttoptr i64 %22 to i8*\n %29 = call i32 @strncmp(i8* %28, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i32 4)\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n %32 = add i64 %1, 12\n %33 = inttoptr i64 %32 to i32*\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n store i32 0, i32* %33, align 4\n %34 = call i64 @FUNC(i64 %0, i64 4)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n store i32 1, i32* %33, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %33, { 1, 0 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3, 5, 6 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 3, 2, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readMovie_12978", "fun_name": "readMovie", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %r8.2.reg2mem = alloca i64\n %rsi.2.reg2mem = alloca i64\n %rcx.3.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rcx.2.reg2mem = alloca i64\n %r8.1.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rcx.01.reg2mem = alloca i64\n %rsi.03.reg2mem = alloca i64\n %r8.05.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 2)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_15, label LBL_1\n LBL_1:\n %6 = inttoptr i64 %arg1 to %_IO_FILE*\n br label LBL_2\n LBL_2:\n %rcx.01.reload = load i64, i64* %rcx.01.reg2mem\n %rsi.03.reload = load i64, i64* %rsi.03.reg2mem\n %r8.05.reload = load i64, i64* %r8.05.reg2mem\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = trunc i64 %7 to i32\n %9 = urem i32 %8, 64\n %10 = icmp eq i32 %9, 63\n %11 = icmp eq i1 %10, false\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 4)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %rcx.01.reload, i64* %rcx.3.reg2mem\n store i64 %rsi.03.reload, i64* %rsi.2.reg2mem\n store i64 %r8.05.reload, i64* %r8.2.reg2mem\n br i1 %15, label LBL_15, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %arg1)\n %17 = trunc i64 %16 to i32\n store i32 %17, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %18 = load i32, i32* @gv_0, align 4\n %19 = zext i32 %sv_0.0.reload to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %rcx.01.reload, i64* %rcx.3.reg2mem\n store i64 %rsi.03.reload, i64* %rsi.2.reg2mem\n store i64 %r8.05.reload, i64* %r8.2.reg2mem\n br i1 %23, label LBL_15, label LBL_6\n LBL_6:\n %24 = udiv i32 %8, 64\n %25 = urem i32 %24, 1024\n %26 = add i32 %18, %sv_0.0.reload\n %27 = call i64 @FUNC(i64 %arg1, i64 %19, i32 %25)\n %28 = call i32 @ftell(%_IO_FILE* %6)\n %29 = icmp eq i32 %28, %26\n br i1 %29, label LBL_6.LBL_9_crit_edge, label LBL_8\n LBL_7:\n %.pre = zext i32 %25 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %19, i64* %rcx.1.reg2mem\n store i64 %r8.05.reload, i64* %r8.1.reg2mem\n br label LBL_9\n LBL_8:\n %30 = call i32 @ftell(%_IO_FILE* %6)\n %31 = sext i32 %30 to i64\n %32 = zext i32 %25 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = zext i32 %26 to i64\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @gv_1, i64 0, i64 0), i64 %32, i64 %33, i64 %31, i64 %34, i64 %1)\n store i64 %32, i64* %.pre-phi.reg2mem\n store i64 %31, i64* %rcx.1.reg2mem\n store i64 %34, i64* %r8.1.reg2mem\n br label LBL_9\n LBL_9:\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %36 = icmp eq i64 %27, 0\n br i1 %36, label LBL_11, label LBL_10\n LBL_10:\n %37 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %27, i64 %arg1)\n %38 = inttoptr i64 %27 to i64*\n call void @free(i64* %38)\n store i64 %27, i64* %rcx.2.reg2mem\n store i64 %27, i64* %rsi.1.reg2mem\n br label LBL_12\n LBL_11:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_2, i64 0, i64 0), i64 %.pre-phi.reload, i64 %19, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %1)\n store i64 %rcx.1.reload, i64* %rcx.2.reg2mem\n store i64 %.pre-phi.reload, i64* %rsi.1.reg2mem\n br label LBL_12\n LBL_12:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %rcx.2.reload = load i64, i64* %rcx.2.reg2mem\n %40 = icmp eq i32 %25, 0\n store i64 %rcx.2.reload, i64* %rcx.3.reg2mem\n store i64 %rsi.1.reload, i64* %rsi.2.reg2mem\n store i64 %r8.1.reload, i64* %r8.2.reg2mem\n br i1 %40, label LBL_15, label LBL_13\n LBL_13:\n %41 = load i64, i64* @gv_3, align 8\n %42 = load i32, i32* @gv_0, align 4\n %43 = sext i32 %42 to i64\n %44 = icmp ugt i64 %41, %43\n store i64 %rcx.2.reload, i64* %rcx.3.reg2mem\n store i64 %rsi.1.reload, i64* %rsi.2.reg2mem\n store i64 %r8.1.reload, i64* %r8.2.reg2mem\n br i1 %44, label LBL_14, label LBL_15\n LBL_14:\n %45 = sext i32 %26 to i64\n %46 = call i32 @fseek(%_IO_FILE* %6, i32 %26, i32 0)\n %47 = call i32 @ftell(%_IO_FILE* %6)\n store i32 %47, i32* @gv_0, align 4\n %48 = call i64 @FUNC(i64 2)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 %r8.1.reload, i64* %r8.05.reg2mem\n store i64 %45, i64* %rsi.03.reg2mem\n store i64 %45, i64* %rcx.01.reg2mem\n store i64 %45, i64* %rcx.3.reg2mem\n store i64 %45, i64* %rsi.2.reg2mem\n store i64 %r8.1.reload, i64* %r8.2.reg2mem\n br i1 %51, label LBL_15, label LBL_2\n LBL_15:\n %52 = call i32 @putchar(i32 10)\n %53 = load i64, i64* @gv_3, align 8\n %54 = load i32, i32* @gv_0, align 4\n %55 = sext i32 %54 to i64\n %56 = icmp ugt i64 %53, %55\n br i1 %56, label LBL_16, label LBL_17\n LBL_16:\n %r8.2.reload = load i64, i64* %r8.2.reg2mem\n %rsi.2.reload = load i64, i64* %rsi.2.reg2mem\n %rcx.3.reload = load i64, i64* %rcx.3.reg2mem\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_4, i64 0, i64 0), i64 %rsi.2.reload, i64 %55, i64 %rcx.3.reload, i64 %r8.2.reload, i64 %1)\n %58 = load i64, i64* @gv_3, align 8\n %59 = load i32, i32* @gv_0, align 4\n %60 = sext i32 %59 to i64\n %61 = sub i64 %58, %60\n %62 = call i64 @FUNC(i64 %arg1, i64 %61)\n %63 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_17\n LBL_17:\n %64 = call i64 @FUNC(i64* nonnull @gv_3)\n ret i64 %64\n\n uselistorder i64 %.pre-phi.reload, { 0, 2, 1 }\n uselistorder i64 %r8.1.reload, { 0, 4, 1, 2, 3 }\n uselistorder i64 %27, { 0, 1, 3, 4, 2 }\n uselistorder i32 %26, { 2, 1, 0, 3 }\n uselistorder i32 %25, { 1, 2, 3, 0 }\n uselistorder i64 %19, { 1, 0, 2, 3 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %r8.05.reload, { 2, 0, 1 }\n uselistorder %_IO_FILE* %6, { 2, 1, 0, 3 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %r8.05.reg2mem, { 1, 0 }\n uselistorder i64* %rsi.03.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.01.reg2mem, { 1, 0 }\n uselistorder i64* %rcx.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.3.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64* %rsi.2.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64* %r8.2.reg2mem, { 0, 3, 4, 5, 1, 2 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @SWF_warn, { 2, 1, 0 }\n uselistorder i32 (%_IO_FILE*)* @ftell, { 2, 1, 0 }\n uselistorder i32* @gv_0, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 7, 1, 4, 5, 6, 0, 2, 3 }\n uselistorder i64 (i64)* @filelen_check_fails, { 1, 3, 2, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 %arg1, { 5, 1, 2, 0, 4, 3 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 2, 1, 0, 4, 3, 5 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvm_ppc_register_host_cpu_type_15273", "fun_name": "kvm_ppc_register_host_cpu_type", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i64\n %sv_0 = alloca i8*, align 8\n store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8\n %0 = call i64 @FUNC()\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_8\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n %4 = bitcast i8** %sv_0 to i64*\n %5 = call i64 @FUNC(i64* nonnull %4)\n %6 = call i64 @FUNC(i64 %0)\n %7 = load [7 x i8]*, [7 x i8]** @gv_1, align 8\n %8 = icmp eq [7 x i8]* %7, null\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %9, label LBL_2, label LBL_8\n LBL_2:\n %10 = inttoptr i64 %6 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = getelementptr inbounds [7 x i8], [7 x i8]* %7, i64 0, i64 0\n %13 = inttoptr i64 %11 to i8*\n %14 = call i32 @strcmp(i8* %12, i8* %13)\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %.lcssa.reg2mem\n store i32 1, i32* %.reg2mem\n br i1 %16, label LBL_7, label LBL_4\n LBL_3:\n %17 = load i64, i64* %10, align 8\n %18 = inttoptr i64 %37 to i8*\n %19 = inttoptr i64 %17 to i8*\n %20 = call i32 @strcmp(i8* %18, i8* %19)\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n %23 = add i32 %.reload, 1\n store i64 %34, i64* %.lcssa.reg2mem\n store i32 %23, i32* %.reg2mem\n br i1 %22, label LBL_7, label LBL_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %24 = call i64 @FUNC(i64 %0)\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %.lcssa.reload, ptrtoint (i64* @gv_2 to i64)\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = inttoptr i64 %25 to i8*\n %29 = call i8* @strstr(i8* %28, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_3, i64 0, i64 0))\n %30 = icmp eq i8* %29, null\n br i1 %30, label LBL_6, label LBL_5\n LBL_5:\n store i8 0, i8* %29, align 1\n br label LBL_6\n LBL_6:\n %31 = add i64 %.lcssa.reload, ptrtoint (i64* @gv_4 to i64)\n %32 = inttoptr i64 %31 to i64*\n store i64 %0, i64* %32, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %33 = sext i32 %.reload to i64\n %34 = mul nsw i64 %33, 24\n %35 = add i64 %34, ptrtoint ([7 x i8]** @gv_1 to i64)\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %39, label LBL_3, label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %37, { 1, 0 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64* %10, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2, 4 }\n uselistorder i8** %sv_0, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder [7 x i8]** @gv_1, { 1, 0 }\n uselistorder i64 (i64)* @object_class_get_name, { 1, 0 }\n uselistorder i1 false, { 3, 2, 0, 1, 4 }\n uselistorder i32 1, { 7, 2, 6, 4, 3, 1, 5, 0 }\n uselistorder label LBL_8, { 0, 2, 1, 3 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_start_block_1937", "fun_name": "get_start_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n %6 = add i64 %2, 32\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_10\n LBL_2:\n %9 = add i64 %2, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %2, 24\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sext i32 %14 to i64\n %16 = add i64 %11, %15\n store i64 %6, i64* %storemerge3.reg2mem\n br label LBL_4\n LBL_3:\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %6, i64* %18, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %19 = inttoptr i64 %storemerge3.reload to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp ult i64 %20, %16\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_9, label LBL_5\n LBL_5:\n %23 = add i64 %storemerge3.reload, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp ugt i64 %25, %11\n br i1 %26, label LBL_6, label LBL_9\n LBL_6:\n %27 = add i64 %2, 8\n %28 = inttoptr i64 %27 to i64*\n store i64 %storemerge3.reload, i64* %28, align 8\n %29 = load i64, i64* %10, align 8\n %30 = load i64, i64* %19, align 8\n %31 = icmp ugt i64 %29, %30\n br i1 %31, label LBL_7, label LBL_8\n LBL_7:\n %32 = sub i64 %29, %30\n %33 = trunc i64 %32 to i32\n %34 = add i64 %2, 28\n %35 = inttoptr i64 %34 to i32*\n store i32 %33, i32* %35, align 4\n %sext = mul i64 %32, 4294967296\n %phitmp = ashr exact i64 %sext, 32\n store i64 %phitmp, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %36 = add i64 %2, 28\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %38 = add i64 %storemerge3.reload, 16\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = icmp eq i64 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 %40, i64* %storemerge3.reg2mem\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %42, label LBL_4, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge3.reload, { 2, 3, 0, 1 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %6, { 2, 0, 1 }\n uselistorder i64 %2, { 0, 1, 4, 6, 3, 2, 5 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 5, 4 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder label LBL_10, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_delayed_pic_2117", "fun_name": "get_delayed_pic", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i32\n %.reg2mem12 = alloca i64\n %.reg2mem10 = alloca i64*\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_1.16.reg2mem = alloca i64\n %sv_0.17.reg2mem = alloca i32\n %storemerge38.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %.reg2mem\n store i32 1, i32* %storemerge38.reg2mem\n store i32 0, i32* %sv_0.17.reg2mem\n store i64 %0, i64* %sv_1.16.reg2mem\n store i64 %0, i64* %sv_1.1.lcssa.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %sv_1.16.reload = load i64, i64* %sv_1.16.reg2mem\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = inttoptr i64 %.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = inttoptr i64 %sv_1.16.reload to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp ult i32 %9, %13\n %spec.select = select i1 %14, i64 %.reload, i64 %sv_1.16.reload\n %spec.select4 = select i1 %14, i32 %storemerge38.reload, i32 %sv_0.17.reload\n %15 = add i32 %storemerge38.reload, 1\n %16 = sext i32 %15 to i64\n %17 = mul i64 %16, 8\n %18 = add i64 %17, %0\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %.reg2mem\n store i32 %15, i32* %storemerge38.reg2mem\n store i32 %spec.select4, i32* %sv_0.17.reg2mem\n store i64 %spec.select, i64* %sv_1.16.reg2mem\n store i64 %spec.select, i64* %sv_1.1.lcssa.reg2mem\n store i32 %spec.select4, i32* %sv_0.1.lcssa.reg2mem\n br i1 %22, label LBL_1, label LBL_2\n LBL_2:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n %23 = sext i32 %sv_0.1.lcssa.reload to i64\n %24 = mul i64 %23, 8\n %25 = add i64 %24, %0\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n store i64* %26, i64** %.reg2mem10\n store i64 %24, i64* %.reg2mem12\n store i32 %sv_0.1.lcssa.reload, i32* %storemerge25.reg2mem\n br i1 %29, label LBL_3, label LBL_4\n LBL_3:\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %.reload13 = load i64, i64* %.reg2mem12\n %.reload11 = load i64*, i64** %.reg2mem10\n %30 = add i64 %1, %.reload13\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n store i64 %32, i64* %.reload11, align 8\n %33 = add i32 %storemerge25.reload, 1\n %34 = sext i32 %33 to i64\n %35 = mul i64 %34, 8\n %36 = add i64 %35, %0\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n store i64* %37, i64** %.reg2mem10\n store i64 %35, i64* %.reg2mem12\n store i32 %33, i32* %storemerge25.reg2mem\n br i1 %40, label LBL_3, label LBL_4\n LBL_4:\n %41 = icmp eq i64 %sv_1.1.lcssa.reload, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %41, label LBL_8, label LBL_5\n LBL_5:\n %42 = ptrtoint i64* %arg2 to i64\n %43 = add i64 %sv_1.1.lcssa.reload, 8\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = xor i32 %45, 1\n store i32 %46, i32* %44, align 4\n %47 = inttoptr i64 %sv_1.1.lcssa.reload to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %42, i64 %48)\n %50 = trunc i64 %49 to i32\n %51 = icmp slt i32 %50, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_7, label LBL_6\n LBL_6:\n %53 = and i64 %49, 4294967295\n store i64 %53, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n store i32 1, i32* %arg3, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.1.lcssa.reload, { 0, 2, 1 }\n uselistorder i32 %storemerge38.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 0, 1, 5 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge38.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.17.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.16.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.reg2mem10, { 2, 0, 1 }\n uselistorder i64* %.reg2mem12, { 2, 0, 1 }\n uselistorder i32* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder i1 false, { 2, 3, 1, 4, 0 }\n uselistorder i64 8, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_8, { 1, 2, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_hypervisor_dmi_17746", "fun_name": "read_hypervisor_dmi", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.3.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.22.reg2mem = alloca i32\n %storemerge3.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_2 = alloca i64, align 8\n store i64 0, i64* %sv_2, align 8\n %0 = call i64 @FUNC(i64* nonnull %sv_2)\n %1 = trunc i64 %0 to i32\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.3.reg2mem\n switch i32 %1, label LBL_1 [\n i32 -2, label LBL_13\n i32 -1, label LBL_4\n ]\n LBL_1:\n %2 = load i64, i64* %sv_2, align 8\n %3 = call i64 @FUNC(i64 %2, i64 32, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.3.reg2mem\n br i1 %4, label LBL_13, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %3, i64* %sv_1.0.reg2mem\n store i32 %6, i32* %sv_0.3.reg2mem\n br i1 %8, label LBL_13, label LBL_3\n LBL_3:\n %9 = inttoptr i64 %3 to i64*\n call void @free(i64* %9)\n store i32 %6, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %10 = call i64 @FUNC(i64 983040, i64 65536, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %11 = icmp eq i64 %10, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.3.reg2mem\n br i1 %11, label LBL_13, label LBL_5\n LBL_5:\n store i64 0, i64* %sv_2, align 8\n store i64 0, i64* %storemerge3.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.22.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %12 = add i64 %storemerge3.reload, %10\n %13 = inttoptr i64 %12 to i64*\n %14 = call i32 @memcmp(i64* %13, i64* bitcast ([5 x i8]* @gv_1 to i64*), i32 4)\n %15 = icmp eq i32 %14, 0\n %16 = load i64, i64* %sv_2, align 8\n %17 = icmp ult i64 %16, 65505\n %or.cond = icmp eq i1 %15, %17\n %18 = add i64 %16, %10\n br i1 %or.cond, label LBL_7, label LBL_9\n LBL_7:\n %19 = call i64 @FUNC(i64 %18, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, -1\n %22 = icmp eq i1 %21, false\n store i32 %20, i32* %sv_0.1.reg2mem\n br i1 %22, label LBL_11, label LBL_8\n LBL_8:\n %23 = load i64, i64* %sv_2, align 8\n %24 = add i64 %23, 16\n store i64 %24, i64* %sv_2, align 8\n store i32 %20, i32* %sv_0.1.reg2mem\n br label LBL_11\n LBL_9:\n %sv_0.22.reload = load i32, i32* %sv_0.22.reg2mem\n %25 = inttoptr i64 %18 to i64*\n %26 = call i32 @memcmp(i64* %25, i64* bitcast ([6 x i8]* @gv_2 to i64*), i32 5)\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i32 %sv_0.22.reload, i32* %sv_0.1.reg2mem\n br i1 %28, label LBL_11, label LBL_10\n LBL_10:\n %29 = load i64, i64* %sv_2, align 8\n %30 = add i64 %29, %10\n %31 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %32 = trunc i64 %31 to i32\n store i32 %32, i32* %sv_0.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %33 = icmp slt i32 %sv_0.1.reload, 0\n %34 = icmp eq i1 %33, false\n store i64 %10, i64* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem\n br i1 %34, label LBL_13, label LBL_12\n LBL_12:\n %35 = load i64, i64* %sv_2, align 8\n %36 = add i64 %35, 16\n store i64 %36, i64* %sv_2, align 8\n %37 = icmp ult i64 %36, 65521\n store i64 %36, i64* %storemerge3.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.22.reg2mem\n store i64 %10, i64* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem\n br i1 %37, label LBL_6, label LBL_13\n LBL_13:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %38 = inttoptr i64 %sv_1.0.reload to i64*\n call void @free(i64* %38)\n %39 = zext i32 %sv_0.3.reload to i64\n ret i64 %39\n\n uselistorder i64 %36, { 0, 2, 1 }\n uselistorder i32 %sv_0.1.reload, { 1, 3, 0, 2 }\n uselistorder i64 %10, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %sv_2, { 2, 4, 5, 6, 7, 1, 0, 8, 3, 9 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.22.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1, 5, 3, 4, 6 }\n uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1, 5, 3, 4, 6 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 (i64, i8*)* @hypervisor_decode_smbios, { 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @get_mem_chunk, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 0, { 3, 4, 5, 6, 0, 1, 2 }\n uselistorder i32 1, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_13, { 1, 0, 3, 4, 5, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "io_sqpoll_cancel_sync_7111", "fun_name": "io_sqpoll_cancel_sync", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n store i64 %0, i64* %sv_0, align 8\n %3 = icmp eq i64* %arg1, null\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64* nonnull %sv_0)\n %5 = call i64 @FUNC(i64* nonnull %sv_0, i64 4198769)\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0)\n %8 = load i64, i64* %sv_0, align 8\n %9 = call i64 @FUNC(i64 %8)\n br label LBL_3\n LBL_2:\n %10 = add i64 %0, 8\n %11 = call i64 @FUNC(i64 %10)\n br label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %0)\n %13 = load i64, i64* %sv_0, align 8\n %14 = icmp eq i64 %13, 0\n store i64 %12, i64* %rax.0.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 0, 4, 5, 1, 2, 3, 6 }\n uselistorder i64 %0, { 1, 2, 0, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_ac_filter_5299", "fun_name": "decode_ac_filter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 72\n %2 = call i64 @FUNC(i64 %1, i64 4)\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, 1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %1, i64 4)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = bitcast i64* %rdi to i32*\n %11 = load i32, i32* %10, align 8\n %12 = icmp eq i32 %11, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %12, label LBL_6, label LBL_1\n LBL_1:\n %13 = add i64 %0, 8\n store i32 %7, i32* %.reg2mem\n store i64 0, i64* %.reg2mem6\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload = load i32, i32* %.reg2mem\n %14 = icmp eq i32 %.reload, 0\n store i64 1, i64* %storemerge1.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = zext i32 %.reload to i64\n %16 = call i64 @FUNC(i64 %1, i64 %15)\n %17 = add i64 %16, 1\n %18 = and i64 %17, 4294967295\n store i64 %18, i64* %storemerge1.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %19 = trunc i64 %storemerge1.reload to i32\n %20 = mul i64 %.reload7, 4\n %21 = add i64 %13, %20\n %22 = inttoptr i64 %21 to i32*\n store i32 %19, i32* %22, align 4\n %23 = add i32 %storemerge2.reload, 1\n %24 = load i32, i32* %10, align 8\n %25 = zext i32 %24 to i64\n %26 = sext i32 %23 to i64\n %27 = icmp slt i64 %26, %25\n store i64 %25, i64* %.lcssa.reg2mem\n br i1 %27, label LBL_4.LBL_2_crit_edge, label LBL_6\n LBL_5:\n %.pre = load i32, i32* %9, align 4\n store i32 %.pre, i32* %.reg2mem\n store i64 %26, i64* %.reg2mem6\n store i32 %23, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_6:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32* %10, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem6, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 2, 1, 0 }\n uselistorder i64 4, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qpci_io_writeq_15381", "fun_name": "qpci_io_writeq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp ult i64 %arg2, 65535\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %2 = call i64 @FUNC(i64 %arg3)\n store i64 %arg3, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpuid_maxphyaddr_9644", "fun_name": "cpuid_maxphyaddr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 2147483648, i64 0)\n %2 = icmp eq i64 %1, 0\n store i64 36, i64* %storemerge.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = inttoptr i64 %1 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp ult i32 %4, -2147483640\n store i64 36, i64* %storemerge.reg2mem\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %0, i64 2147483656, i64 0)\n %7 = icmp eq i64 %6, 0\n store i64 36, i64* %storemerge.reg2mem\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = inttoptr i64 %6 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = urem i32 %9, 256\n %11 = zext i32 %10 to i64\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 36, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @kvm_find_cpuid_entry, { 1, 0 }\n uselistorder label LBL_4, { 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xmessage_fork_7977", "fun_name": "xmessage_fork", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %0 = call i32 @sched_get_priority_min(i32 1)\n %1 = zext i32 %0 to i64\n %2 = call i64 @FUNC(i64 0, i64 1, i64 %1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0))\n %3 = call i32 @setenv(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_3, i64 0, i64 0), i32 1)\n %4 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = load i32, i32* @gv_4, align 4\n %8 = zext i32 %7 to i64\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %9 = bitcast i64* %sv_0 to i8*\n %10 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %9, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @gv_5, i64 0, i64 0), i64 %8)\n br label LBL_3\n LBL_2:\n %11 = load [9 x i8]*, [9 x i8]** @gv_6, align 8\n %12 = bitcast i64* %sv_0 to i8*\n %13 = getelementptr inbounds [9 x i8], [9 x i8]* %11, i64 0, i64 0\n %14 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %12, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @gv_7, i64 0, i64 0), i8* %13, i64 %8)\n br label LBL_3\n LBL_3:\n %15 = ptrtoint i64* %arg1 to i64\n %16 = call i64 @FUNC(i64 %15, i64* nonnull %sv_0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 0, i64 0, i64 0, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0))\n %21 = call i64 @FUNC(i64 %15, i64 0, i64* nonnull %sv_0)\n br label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %15)\n ret i64 %22\n\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i8*, i8*)* @set_pid_priority, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow2_write_l1_entry_2916", "fun_name": "qcow2_write_l1_entry", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_1 to i64\n %2 = trunc i64 %arg2 to i32\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = and i32 %2, -64\n %7 = add i64 %1, -544\n %8 = sext i32 %6 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %9 = add nuw nsw i64 %indvars.iv.reload, %8\n %10 = mul i64 %9, 8\n %11 = add i64 %10, %5\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = mul i64 %indvars.iv.reload, 8\n %16 = add i64 %7, %15\n %17 = inttoptr i64 %16 to i64*\n store i64 %14, i64* %17, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %18 = add i64 %5, 512\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = mul i32 %6, 8\n %22 = sext i32 %21 to i64\n %23 = add i64 %20, %22\n %24 = call i64 @FUNC(i64 %0, i64 1, i64 %23, i64 512)\n %25 = trunc i64 %24 to i32\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = and i64 %24, 4294967295\n ret i64 %28\n LBL_4:\n %29 = call i64 @FUNC(i64 %0, i64 1)\n %30 = load i64, i64* %19, align 8\n %31 = add i64 %30, %22\n %32 = call i64 @FUNC(i64 %0, i64 %31, i64* nonnull %sv_0, i64 512)\n %33 = trunc i64 %32 to i32\n %34 = icmp slt i32 %33, 0\n %35 = icmp eq i1 %34, false\n %36 = and i64 %32, 4294967295\n %spec.select = select i1 %35, i64 0, i64 %36\n ret i64 %spec.select\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "block_set_params_1513", "fun_name": "block_set_params", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = trunc i64 %1 to i32\n store i32 %3, i32* @gv_0, align 4\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n store i32 %6, i32* inttoptr (i64 4210740 to i32*), align 4\n %7 = load i32, i32* @gv_0, align 4\n %8 = load i32, i32* %5, align 4\n %9 = or i32 %8, %7\n %10 = zext i32 %9 to i64\n store i32 %9, i32* @gv_0, align 4\n ret i64 %10\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_muls_i64_i32_1328", "fun_name": "gen_muls_i64_i32", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = and i64 %arg1, 4294967295\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = call i64 @FUNC(i64 %4)\n %8 = and i64 %2, 4294967295\n %9 = call i64 @FUNC(i64 %8, i64 %0)\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %5, i64 %5, i32 %3)\n %12 = call i64 @FUNC(i64 %8)\n ret i64 %5\n\n uselistorder i64 %5, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 }\n uselistorder i64 (i64, i64)* @tcg_gen_ext_i32_i64, { 1, 0 }\n uselistorder i64 ()* @tcg_temp_new_i64, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmacache_invalidate_6747", "fun_name": "vmacache_invalidate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 1\n store i64 %1, i64* %arg1, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_tile_9853", "fun_name": "init_tile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem5 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = add i64 %2, 48\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = ashr exact i64 %sext, 31\n %8 = add nsw i64 %7, %6\n %9 = mul i64 %8, 8\n %10 = add i64 %5, %9\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %14, label LBL_1, label LBL_7\n LBL_1:\n %15 = add i64 %2, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_7, label LBL_2\n LBL_2:\n %19 = ptrtoint i64* %sv_0 to i64\n %20 = trunc i64 %arg2 to i32\n %21 = ashr i32 %20, 31\n %22 = and i64 %arg2, 4294967295\n %23 = zext i32 %21 to i64\n %24 = mul i64 %23, 4294967296\n %25 = or i64 %24, %22\n %26 = and i64 %1, 4294967295\n %27 = srem i64 %25, %26\n %28 = trunc i64 %27 to i32\n %29 = sdiv i64 %25, %26\n %30 = trunc i64 %29 to i32\n %31 = add i64 %10, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = add i64 %10, 16\n %34 = inttoptr i64 %33 to i64*\n %35 = add i64 %2, 24\n %36 = inttoptr i64 %35 to i32*\n %37 = add i64 %2, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = add i64 %2, 16\n %40 = inttoptr i64 %39 to i32*\n %41 = add i64 %2, 32\n %42 = inttoptr i64 %41 to i32*\n %43 = add i32 %28, 1\n %44 = add i64 %2, 28\n %45 = inttoptr i64 %44 to i32*\n %46 = add i64 %2, 12\n %47 = inttoptr i64 %46 to i32*\n %48 = add i64 %2, 20\n %49 = inttoptr i64 %48 to i32*\n %50 = add i64 %2, 36\n %51 = inttoptr i64 %50 to i32*\n %52 = add i32 %30, 1\n %53 = add i64 %2, 40\n %54 = inttoptr i64 %53 to i32*\n %55 = add i64 %2, 80\n %56 = inttoptr i64 %55 to i64*\n %57 = add i64 %2, 72\n %58 = inttoptr i64 %57 to i64*\n %59 = add i64 %2, 64\n %60 = inttoptr i64 %59 to i64*\n %61 = add i64 %2, 56\n %62 = inttoptr i64 %61 to i64*\n %63 = add i64 %19, -8\n %64 = inttoptr i64 %63 to i64*\n store i64 %12, i64* %.reg2mem\n store i64 0, i64* %.reg2mem5\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload6 = load i64, i64* %.reg2mem5\n %.reload = load i64, i64* %.reg2mem\n %65 = mul i64 %.reload6, 32\n %66 = add i64 %65, %.reload\n %67 = load i64, i64* %32, align 8\n %68 = add i64 %67, %.reload6\n %69 = load i64, i64* %34, align 8\n %70 = add i64 %69, %.reload6\n %71 = load i32, i32* %36, align 4\n %72 = load i32, i32* %38, align 4\n %73 = mul i32 %72, %28\n %74 = load i32, i32* %40, align 4\n %75 = add i32 %74, %73\n %76 = sub i32 %71, %75\n %77 = xor i32 %75, %71\n %78 = xor i32 %76, %71\n %79 = and i32 %78, %77\n %80 = icmp slt i32 %79, 0\n %81 = icmp slt i32 %76, 0\n %82 = icmp eq i1 %81, %80\n %83 = select i1 %82, i32 %71, i32 %75\n %84 = inttoptr i64 %66 to i32*\n store i32 %83, i32* %84, align 4\n %85 = load i32, i32* %42, align 4\n %86 = load i32, i32* %38, align 4\n %87 = mul i32 %86, %43\n %88 = load i32, i32* %40, align 4\n %89 = add i32 %88, %87\n %90 = sub i32 %85, %89\n %91 = xor i32 %89, %85\n %92 = xor i32 %90, %85\n %93 = and i32 %92, %91\n %94 = icmp slt i32 %93, 0\n %95 = icmp eq i32 %90, 0\n %96 = icmp slt i32 %90, 0\n %97 = icmp ne i1 %96, %94\n %98 = or i1 %95, %97\n %99 = select i1 %98, i32 %85, i32 %89\n %100 = add i64 %66, 4\n %101 = inttoptr i64 %100 to i32*\n store i32 %99, i32* %101, align 4\n %102 = load i32, i32* %45, align 4\n %103 = load i32, i32* %47, align 4\n %104 = mul i32 %103, %30\n %105 = load i32, i32* %49, align 4\n %106 = add i32 %105, %104\n %107 = sub i32 %102, %106\n %108 = xor i32 %106, %102\n %109 = xor i32 %107, %102\n %110 = and i32 %109, %108\n %111 = icmp slt i32 %110, 0\n %112 = icmp slt i32 %107, 0\n %113 = icmp eq i1 %112, %111\n %114 = select i1 %113, i32 %102, i32 %106\n %115 = add i64 %66, 8\n %116 = inttoptr i64 %115 to i32*\n store i32 %114, i32* %116, align 4\n %117 = load i32, i32* %51, align 4\n %118 = load i32, i32* %47, align 4\n %119 = mul i32 %118, %52\n %120 = load i32, i32* %49, align 4\n %121 = add i32 %120, %119\n %122 = sub i32 %117, %121\n %123 = xor i32 %121, %117\n %124 = xor i32 %122, %117\n %125 = and i32 %124, %123\n %126 = icmp slt i32 %125, 0\n %127 = icmp eq i32 %122, 0\n %128 = icmp slt i32 %122, 0\n %129 = icmp ne i1 %128, %126\n %130 = or i1 %127, %129\n %131 = select i1 %130, i32 %117, i32 %121\n %132 = add i64 %66, 12\n %133 = inttoptr i64 %132 to i32*\n store i32 %131, i32* %133, align 4\n %134 = load i32, i32* %54, align 4\n %135 = load i32, i32* %84, align 4\n %136 = zext i32 %134 to i64\n %137 = zext i32 %135 to i64\n %138 = call i64 @FUNC(i64 %137, i64 %136)\n %139 = trunc i64 %138 to i32\n %140 = add i64 %66, 16\n %141 = inttoptr i64 %140 to i32*\n store i32 %139, i32* %141, align 4\n %142 = load i32, i32* %54, align 4\n %143 = load i32, i32* %101, align 4\n %144 = zext i32 %142 to i64\n %145 = zext i32 %143 to i64\n %146 = call i64 @FUNC(i64 %145, i64 %144)\n %147 = trunc i64 %146 to i32\n %148 = add i64 %66, 20\n %149 = inttoptr i64 %148 to i32*\n store i32 %147, i32* %149, align 4\n %150 = load i32, i32* %54, align 4\n %151 = load i32, i32* %116, align 4\n %152 = zext i32 %150 to i64\n %153 = zext i32 %151 to i64\n %154 = call i64 @FUNC(i64 %153, i64 %152)\n %155 = trunc i64 %154 to i32\n %156 = add i64 %66, 24\n %157 = inttoptr i64 %156 to i32*\n store i32 %155, i32* %157, align 4\n %158 = load i32, i32* %54, align 4\n %159 = load i32, i32* %133, align 4\n %160 = zext i32 %158 to i64\n %161 = zext i32 %159 to i64\n %162 = call i64 @FUNC(i64 %161, i64 %160)\n %163 = trunc i64 %162 to i32\n %164 = add i64 %66, 28\n %165 = inttoptr i64 %164 to i32*\n store i32 %163, i32* %165, align 4\n %166 = load i64, i64* %56, align 8\n %167 = load i64, i64* %58, align 8\n %168 = mul i64 %.reload6, 4\n %169 = add i64 %167, %168\n %170 = inttoptr i64 %169 to i32*\n %171 = load i32, i32* %170, align 4\n %172 = load i64, i64* %60, align 8\n %173 = add i64 %172, %168\n %174 = inttoptr i64 %173 to i32*\n %175 = load i32, i32* %174, align 4\n %176 = load i64, i64* %62, align 8\n %177 = add i64 %176, %168\n %178 = inttoptr i64 %177 to i32*\n %179 = load i32, i32* %178, align 4\n store i64 %166, i64* %64, align 8\n %180 = call i64 @FUNC(i64 %66, i64 %68, i64 %70, i32 %179, i32 %175, i32 %171)\n %181 = trunc i64 %180 to i32\n %182 = icmp eq i32 %181, 0\n br i1 %182, label LBL_5, label LBL_4\n LBL_4:\n %183 = and i64 %180, 4294967295\n store i64 %183, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %184 = add i32 %storemerge1.reload, 1\n %185 = load i32, i32* %16, align 4\n %186 = zext i32 %185 to i64\n %187 = sext i32 %184 to i64\n %188 = icmp slt i64 %187, %186\n store i64 0, i64* %rax.0.reg2mem\n br i1 %188, label LBL_5.LBL_3_crit_edge, label LBL_7\n LBL_6:\n %.pre = load i64, i64* %11, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %187, i64* %.reg2mem5\n store i32 %184, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %168, { 2, 1, 0 }\n uselistorder i32 %122, { 1, 2, 0 }\n uselistorder i32 %121, { 1, 0, 2 }\n uselistorder i32 %117, { 2, 0, 1, 3 }\n uselistorder i32 %107, { 1, 0 }\n uselistorder i32 %106, { 1, 0, 2 }\n uselistorder i32 %102, { 2, 0, 1, 3 }\n uselistorder i32 %90, { 1, 2, 0 }\n uselistorder i32 %89, { 1, 0, 2 }\n uselistorder i32 %85, { 2, 0, 1, 3 }\n uselistorder i32 %76, { 1, 0 }\n uselistorder i32 %75, { 1, 0, 2 }\n uselistorder i32 %71, { 2, 0, 1, 3 }\n uselistorder i64 %.reload6, { 3, 1, 0, 2 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i32* %16, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0, 4, 5, 8, 7, 6, 9, 13, 11, 12, 10, 14 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem5, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 (i64, i64)* @ff_jpeg2000_ceildivpow2, { 3, 2, 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 1, 13 }\n uselistorder i64 8, { 1, 2, 3, 0 }\n uselistorder i64 32, { 0, 3, 1, 2 }\n uselistorder i64 4294967296, { 1, 0, 2 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_7, { 0, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "trace_init_file_5097", "fun_name": "trace_init_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %arg1, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg1, i64 4210764)\n %3 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %4 = call i32 @fwrite(i64* bitcast ([79 x i8]* @gv_1 to i64*), i32 1, i32 78, %_IO_FILE* %3)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n ret i64 %0\n\n uselistorder i64 %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "split_5386", "fun_name": "split", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64 %arg1, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = bitcast i64* %arg3 to i32*\n store i32 %4, i32* %5, align 4\n %6 = mul i64 %1, 8\n %7 = and i64 %6, 34359738360\n %8 = add nuw nsw i64 %7, %2\n %9 = call i64 @FUNC(i64 %8, i64 0)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %arg1)\n store i64 -12, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %13 = ashr exact i64 %sext, 32\n %14 = trunc i64 %13 to i32\n %15 = add i64 %9, %7\n %16 = inttoptr i64 %15 to i64*\n %17 = inttoptr i64 %arg1 to i64*\n %18 = call i64* @memcpy(i64* %16, i64* %17, i32 %14)\n %19 = call i64 @FUNC(i64 %arg1)\n store i32 0, i32* %5, align 4\n %20 = and i64 %13, 4294967295\n %21 = add i64 %15, %20\n %22 = icmp ugt i64 %21, %15\n store i64 %9, i64* %storemerge.reg2mem\n br i1 %22, label LBL_3, label LBL_5\n LBL_3:\n %23 = bitcast i64* %rdx to i32*\n %24 = trunc i64 %1 to i32\n %sv_0.04 = inttoptr i64 %15 to i8*\n %25 = add i32 %24, 1\n store i32 %25, i32* %5, align 4\n store i64 %15, i64* %16, align 8\n %26 = call i32 @strlen(i8* %sv_0.04)\n %27 = sext i32 %26 to i64\n %28 = add i64 %15, 1\n %29 = add i64 %28, %27\n %30 = icmp ugt i64 %21, %29\n store i64 %29, i64* %.reg2mem\n store i64 %9, i64* %storemerge.reg2mem\n br i1 %30, label LBL_4, label LBL_5\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i32, i32* %23, align 8\n %sv_0.0 = inttoptr i64 %.reload to i8*\n %31 = add i32 %.pre, 1\n store i32 %31, i32* %5, align 4\n %32 = zext i32 %.pre to i64\n %33 = mul i64 %32, 8\n %34 = add i64 %33, %9\n %35 = inttoptr i64 %34 to i64*\n store i64 %.reload, i64* %35, align 8\n %36 = call i32 @strlen(i8* %sv_0.0)\n %37 = sext i32 %36 to i64\n %38 = add i64 %.reload, 1\n %39 = add i64 %38, %37\n %40 = icmp ugt i64 %21, %39\n store i64 %39, i64* %.reg2mem\n store i64 %9, i64* %storemerge.reg2mem\n br i1 %40, label LBL_4, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %.reload, { 2, 1, 0 }\n uselistorder i64 %21, { 2, 0, 1 }\n uselistorder i64 %15, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 %9, { 1, 3, 0, 2, 4, 5 }\n uselistorder i32* %5, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n uselistorder label LBL_5, { 1, 0, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_display_add_client_936", "fun_name": "vnc_display_add_client", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i32\n %1 = load i64, i64* @gv_0, align 8\n %2 = zext i32 %arg3 to i64\n %3 = call i64 @FUNC(i64 %1, i32 %0, i64 %2, i64 0)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_write_acl_9348", "fun_name": "_write_acl", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %sv_0.11.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0)\n %1 = icmp eq i64 %arg2, 0\n store i64 %arg2, i64* %sv_0.11.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %1, label LBL_8, label LBL_6\n LBL_1:\n %2 = call i8* @strchr(i8* %20, i32 9)\n %3 = icmp eq i8* %2, null\n store i64 0, i64* %rax.1.reg2mem\n br i1 %3, label LBL_8, label LBL_2\n LBL_2:\n %4 = ptrtoint i8* %2 to i64\n %5 = sub i64 %4, %sv_0.11.reload\n %6 = call i64 @FUNC(i64 %sv_0.11.reload, i64 %5)\n %7 = add i64 %4, 1\n %8 = inttoptr i64 %7 to i8*\n %9 = call i8* @strchr(i8* %8, i32 9)\n %10 = ptrtoint i8* %9 to i64\n %11 = icmp eq i8* %9, null\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = sub i64 %10, %7\n %13 = call i64 @FUNC(i64 %7, i64 %12)\n %14 = add i64 %10, 1\n store i64 %14, i64* %sv_0.0.reg2mem\n store i64 %13, i64* %sv_1.0.reg2mem\n br label LBL_5\n LBL_4:\n %15 = call i64 @FUNC(i64 %7)\n store i64 %10, i64* %sv_0.0.reg2mem\n store i64 %15, i64* %sv_1.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = call i64 @FUNC(i64 %0, i64 %6, i64 %sv_1.0.reload)\n %17 = inttoptr i64 %6 to i64*\n call void @free(i64* %17)\n %18 = inttoptr i64 %sv_1.0.reload to i64*\n call void @free(i64* %18)\n %19 = icmp eq i64 %sv_0.0.reload, 0\n store i64 %sv_0.0.reload, i64* %sv_0.11.reg2mem\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.1.reg2mem\n br i1 %19, label LBL_8, label LBL_6\n LBL_6:\n %sv_0.11.reload = load i64, i64* %sv_0.11.reg2mem\n %20 = inttoptr i64 %sv_0.11.reload to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_1, label LBL_6.LBL_8_crit_edge\n LBL_7:\n %24 = zext i8 %21 to i64\n store i64 %24, i64* %rax.1.reg2mem\n br label LBL_8\n LBL_8:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i8* %20, { 1, 0 }\n uselistorder i64 %sv_0.11.reload, { 2, 0, 1 }\n uselistorder i64 %10, { 0, 2, 1 }\n uselistorder i64 %7, { 2, 1, 0, 3 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i8* %2, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.11.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @xstrndup, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 6, 5, 0 }\n uselistorder label LBL_8, { 2, 0, 1, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_probe_callback_7034", "fun_name": "do_probe_callback", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 0, i64* nonnull @gv_1, i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %0, i64 %4)\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blk_aio_attached_12764", "fun_name": "blk_aio_attached", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.lcssa.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %3, i64 %2, i64 %1)\n %7 = add i64 %4, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %5, i64* %8, align 8\n %9 = add i64 %4, 16\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %storemerge12.reg2mem\n store i64 %9, i64* %storemerge1.lcssa.reg2mem\n br i1 %11, label LBL_1, label LBL_2\n LBL_1:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %12 = call i64 @FUNC(i64 %storemerge12.reload)\n %13 = inttoptr i64 %storemerge12.reload to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %storemerge12.reg2mem\n store i64 %14, i64* %storemerge1.lcssa.reg2mem\n br i1 %16, label LBL_1, label LBL_2\n LBL_2:\n %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem\n ret i64 %storemerge1.lcssa.reload\n\n uselistorder i64 %storemerge12.reload, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ghnt_dump_9007", "fun_name": "ghnt_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = icmp eq i32 %2, 2\n %6 = icmp eq i1 %5, false\n store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %6, label LBL_2, label LBL_5\n LBL_2:\n %7 = icmp eq i32 %2, 3\n %8 = icmp eq i1 %7, false\n store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %8, label LBL_3, label LBL_5\n LBL_3:\n %9 = icmp eq i32 %2, 4\n %10 = icmp eq i1 %9, false\n store i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_3, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %10, label LBL_4, label LBL_5\n LBL_4:\n %11 = icmp eq i32 %2, 5\n %12 = icmp eq i1 %11, false\n %. = select i1 %12, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0)\n store i8* %., i8** %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %13 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %14 = ptrtoint i8* %sv_0.0.reload to i64\n %15 = call i64 @FUNC(i64 %13, i64 %14, i64 %arg2)\n %16 = add i64 %13, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %13, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = and i64 %1, 4294967295\n %24 = zext i32 %18 to i64\n %25 = inttoptr i64 %arg2 to %_IO_FILE*\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_6, i64 0, i64 0), i64 %23, i64 %22, i64 %24)\n switch i32 %2, label LBL_6 [\n i32 1, label LBL_7\n i32 2, label LBL_7\n i32 4, label LBL_7\n ]\n LBL_6:\n %27 = icmp eq i32 %2, 5\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = add i64 %13, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %31 to i64\n %33 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_7, i64 0, i64 0), i64 %32)\n br label LBL_10\n LBL_8:\n %34 = icmp eq i32 %2, 3\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_10, label LBL_9\n LBL_9:\n %36 = add i64 %13, 20\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = zext i32 %38 to i64\n %40 = add i64 %13, 16\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = zext i32 %42 to i64\n %44 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_8, i64 0, i64 0), i64 %43, i64 %39)\n br label LBL_10\n LBL_10:\n %45 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_9 to i64*), i32 1, i32 2, %_IO_FILE* %25)\n %46 = call i64 @FUNC(i64 %14, i64 %13, i64 %arg2)\n ret i64 0\n\n uselistorder %_IO_FILE* %25, { 1, 2, 0, 3 }\n uselistorder i64 %13, { 2, 1, 0, 3, 5, 4, 6 }\n uselistorder i32 %2, { 2, 1, 0, 7, 6, 5, 4, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0, 3, 4 }\n uselistorder i32 5, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rfc_send_ua_8285", "fun_name": "rfc_send_ua", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %. = select i1 %3, i64 32, i64 0\n %4 = call i64 @FUNC(i64 256)\n %5 = add i64 %4, 2\n %6 = inttoptr i64 %5 to i16*\n store i16 4, i16* %6, align 2\n %7 = add i64 %4, 8\n %8 = mul i64 %arg2, 4\n %9 = or i64 %., %8\n %10 = trunc i64 %9 to i8\n %11 = add i64 %4, 9\n %12 = or i8 %10, 1\n %13 = inttoptr i64 %7 to i8*\n store i8 %12, i8* %13, align 1\n %14 = add i64 %4, 10\n %15 = inttoptr i64 %11 to i8*\n store i8 19, i8* %15, align 1\n %16 = add i64 %4, 11\n %17 = inttoptr i64 %14 to i8*\n store i8 1, i8* %17, align 1\n %18 = trunc i64 %arg2 to i8\n %19 = call i64 @FUNC(i64 %7, i64 %., i8 %18)\n %20 = trunc i64 %19 to i8\n %21 = inttoptr i64 %16 to i8*\n store i8 %20, i8* %21, align 1\n %22 = inttoptr i64 %4 to i16*\n store i16 4, i16* %22, align 2\n %23 = ptrtoint i32* %arg1 to i64\n %24 = call i64 @FUNC(i64 %23, i64 %4)\n ret i64 %24\n\n uselistorder i64 %4, { 3, 4, 0, 1, 2, 5, 6 }\n uselistorder i64 %., { 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_prepare_clienthello_tlsext_8574", "fun_name": "ssl_prepare_clienthello_tlsext", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_input_output_native_6837", "fun_name": "set_input_output_native", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i8* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge612.reg2mem = alloca i32\n %.reg2mem21 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge714.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_16, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp slt i32 %7, 0\n %10 = icmp eq i1 %9, false\n %11 = icmp eq i1 %8, false\n %12 = icmp ne i1 %10, %11\n %brmerge = or i1 %8, %12\n store i64 1, i64* %rax.0.reg2mem\n br i1 %brmerge, label LBL_16, label LBL_2\n LBL_2:\n %13 = ptrtoint i64* %arg4 to i64\n %sext = mul i64 %arg5, 4294967296\n %14 = ashr exact i64 %sext, 32\n %15 = add i64 %4, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge714.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i64, i64* %.reg2mem\n %17 = load i64, i64* %16, align 8\n %18 = mul nsw i64 %.reload, 48\n %19 = add i64 %17, %18\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i8*\n %23 = call i32 @strcmp(i8* %22, i8* %arg3)\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = add i64 %19, 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 1\n %30 = icmp eq i64 %19, 0\n %31 = icmp eq i1 %30, false\n %or.cond = icmp eq i1 %31, %29\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_16\n LBL_5:\n %storemerge714.reload = load i32, i32* %storemerge714.reg2mem\n %32 = add i32 %storemerge714.reload, 1\n %33 = load i32, i32* %6, align 4\n %34 = zext i32 %33 to i64\n %35 = sext i32 %32 to i64\n %36 = icmp slt i64 %35, %34\n store i64 %35, i64* %.reg2mem\n store i32 %32, i32* %storemerge714.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %36, label LBL_3, label LBL_16\n LBL_6:\n %37 = add i64 %19, 12\n %38 = inttoptr i64 %37 to i32*\n store i32 1, i32* %38, align 4\n %39 = bitcast i64* %rsi to i32*\n %40 = load i32, i32* %39, align 8\n %41 = add i64 %19, 16\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n %43 = ptrtoint i32* %arg2 to i64\n %44 = add i64 %43, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = add i64 %19, 20\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n %49 = add i64 %43, 8\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i64 %19, 24\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n %54 = add i64 %19, 32\n %55 = call i64 @FUNC(i64 %54)\n %56 = call i64 @FUNC(i64 %19)\n %57 = trunc i64 %56 to i32\n %58 = add i64 %19, 40\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n %60 = icmp eq i32 %57, 0\n %61 = icmp slt i32 %57, 0\n %62 = icmp eq i1 %61, false\n %63 = icmp eq i1 %60, false\n %64 = icmp eq i1 %62, %63\n store i64 1, i64* %rax.0.reg2mem\n br i1 %64, label LBL_7, label LBL_16\n LBL_7:\n %sext9 = mul i64 %56, 4294967296\n %65 = ashr exact i64 %sext9, 32\n %66 = call i64 @FUNC(i64 %65)\n %67 = inttoptr i64 %54 to i64*\n store i64 %66, i64* %67, align 8\n %68 = icmp eq i64 %66, 0\n %69 = icmp eq i1 %68, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %69, label LBL_8, label LBL_16\n LBL_8:\n %70 = add i64 %43, 16\n %71 = inttoptr i64 %70 to i64*\n store i64 %66, i64* %71, align 8\n %72 = add i64 %4, 16\n %73 = inttoptr i64 %72 to i32*\n store i32 0, i32* %73, align 4\n %74 = add i64 %4, 24\n %75 = call i64 @FUNC(i64 %74)\n %76 = and i64 %14, 4294967295\n %77 = call i64 @FUNC(i64 %76, i64 4)\n %78 = inttoptr i64 %74 to i64*\n store i64 %77, i64* %78, align 8\n %79 = icmp eq i64 %77, 0\n %80 = icmp eq i1 %79, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %80, label LBL_9, label LBL_16\n LBL_9:\n %81 = trunc i64 %14 to i32\n %82 = icmp eq i32 %81, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %82, label LBL_15, label LBL_10\n LBL_10:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %83 = mul i64 %indvars.iv.reload, 8\n %84 = add i64 %83, %13\n %85 = inttoptr i64 %84 to i64*\n %86 = load i64, i64* %85, align 8\n %87 = inttoptr i64 %86 to i8*\n %88 = load i32, i32* %6, align 4\n %89 = icmp eq i32 %88, 0\n store i64 0, i64* %.reg2mem21\n store i32 0, i32* %storemerge612.reg2mem\n br i1 %89, label LBL_14, label LBL_11\n LBL_11:\n %storemerge612.reload = load i32, i32* %storemerge612.reg2mem\n %.reload22 = load i64, i64* %.reg2mem21\n %90 = load i64, i64* %16, align 8\n %91 = mul nsw i64 %.reload22, 48\n %92 = add i64 %90, %91\n %93 = inttoptr i64 %92 to i64*\n %94 = load i64, i64* %93, align 8\n %95 = inttoptr i64 %94 to i8*\n %96 = call i32 @strcmp(i8* %95, i8* %87)\n %97 = icmp eq i32 %96, 0\n %98 = icmp eq i1 %97, false\n br i1 %98, label LBL_13, label LBL_12\n LBL_12:\n %99 = load i64, i64* %78, align 8\n %100 = load i32, i32* %73, align 4\n %101 = add i32 %100, 1\n store i32 %101, i32* %73, align 4\n %102 = zext i32 %100 to i64\n %103 = mul i64 %102, 4\n %104 = add i64 %103, %99\n %105 = inttoptr i64 %104 to i32*\n store i32 %storemerge612.reload, i32* %105, align 4\n br label LBL_14\n LBL_13:\n %106 = add i32 %storemerge612.reload, 1\n %107 = load i32, i32* %6, align 4\n %108 = zext i32 %107 to i64\n %109 = sext i32 %106 to i64\n %110 = icmp slt i64 %109, %108\n store i64 %109, i64* %.reg2mem21\n store i32 %106, i32* %storemerge612.reg2mem\n br i1 %110, label LBL_11, label LBL_14\n LBL_14:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %76\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_15, label LBL_10\n LBL_15:\n %111 = load i32, i32* %73, align 4\n %112 = icmp ne i32 %111, %81\n %. = zext i1 %112 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %73, { 0, 2, 1, 3 }\n uselistorder i64 %66, { 1, 0, 2 }\n uselistorder i64 %19, { 5, 6, 7, 4, 3, 2, 1, 0, 8, 9 }\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32* %6, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge714.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem21, { 2, 0, 1 }\n uselistorder i32* %storemerge612.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 4, 5, 1, 6, 8, 7 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i64 32, { 0, 2, 1 }\n uselistorder i1 false, { 3, 4, 5, 6, 1, 0, 7, 8, 2 }\n uselistorder i64 1, { 7, 1, 2, 3, 0, 4, 6, 5 }\n uselistorder label LBL_16, { 2, 3, 4, 5, 0, 6, 1, 7 }\n uselistorder label LBL_14, { 0, 2, 1 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "makedirs_3859", "fun_name": "makedirs", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i8* @strdup(i8* %0)\n %2 = icmp eq i8* %1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %5 = trunc i64 %arg2 to i8\n %6 = icmp eq i8 %5, 0\n br i1 %6, label LBL_6, label LBL_3\n LBL_3:\n %7 = call i8* @strrchr(i8* %1, i32 47)\n %8 = icmp eq i8* %7, null\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n %10 = bitcast i8* %1 to i64*\n call void @free(i64* %10)\n br label LBL_9\n LBL_5:\n store i8 0, i8* %7, align 1\n br label LBL_6\n LBL_6:\n %11 = ptrtoint i8* %1 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_8, label LBL_7\n LBL_7:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %11)\n unreachable\n LBL_8:\n %16 = bitcast i8* %1 to i64*\n call void @free(i64* %16)\n br label LBL_9\n LBL_9:\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i8* %1, { 1, 2, 0, 3, 4 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Sp_match_12315", "fun_name": "Sp_match", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.02.reg2mem = alloca i32\n %sv_1.03.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %1, i64 0)\n %4 = call i64 @FUNC(i64 %1, i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %1, i64 1)\n br label LBL_5\n LBL_2:\n %8 = call i64 @FUNC(i64 %1, i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0, i64 0)\n br label LBL_5\n LBL_4:\n %12 = call i64 @FUNC(i64 %1, i64 1)\n %13 = inttoptr i64 %12 to i64*\n %14 = call i64 @FUNC(i64 %1, i64* %13, i64 0)\n br label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %1, i64 4294967295)\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %1, i64 %15, i64 %3)\n store i64 %21, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_7:\n %22 = inttoptr i64 %3 to i8*\n %23 = add i64 %15, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = call i64 @FUNC(i64 %1)\n %26 = call i32 @strlen(i8* %22)\n %27 = sext i32 %26 to i64\n %28 = add i64 %3, %27\n %29 = icmp ugt i64 %3, %28\n br i1 %29, label LBL_12, label LBL_8\n LBL_8:\n %30 = add i64 %15, 8\n %31 = inttoptr i64 %30 to i64*\n store i64 %3, i64* %sv_1.03.reg2mem\n store i32 0, i32* %sv_0.02.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %32 = icmp ugt i64 %sv_1.03.reload, %3\n %. = select i1 %32, i64 2, i64 0\n %33 = load i64, i64* %31, align 8\n %34 = call i64 @FUNC(i64 %33, i64 %sv_1.03.reload, i64* nonnull %sv_2, i64 %.)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i32 %sv_0.02.reload, i32* %sv_0.0.lcssa.reg2mem\n store i64 %34, i64* %rax.0.reg2mem\n br i1 %37, label LBL_11, label LBL_10\n LBL_10:\n %38 = load i64, i64* %sv_2, align 8\n %39 = sub i64 %2, %38\n %40 = call i64 @FUNC(i64 %1, i64 %38, i64 %39)\n %41 = add i32 %sv_0.02.reload, 1\n %42 = zext i32 %sv_0.02.reload to i64\n %43 = call i64 @FUNC(i64 %1, i64 4294967294, i64 %42)\n %44 = icmp eq i64 %2, %38\n %45 = zext i1 %44 to i64\n %spec.select = add i64 %2, %45\n %46 = icmp ugt i64 %spec.select, %28\n store i64 %spec.select, i64* %sv_1.03.reg2mem\n store i32 %41, i32* %sv_0.02.reg2mem\n store i32 %41, i32* %sv_0.0.lcssa.reg2mem\n store i64 %spec.select, i64* %rax.0.reg2mem\n br i1 %46, label LBL_11, label LBL_9\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %47 = icmp eq i32 %sv_0.0.lcssa.reload, 0\n %48 = icmp eq i1 %47, false\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %48, label LBL_13, label LBL_12\n LBL_12:\n %49 = call i64 @FUNC(i64 %1, i64 1)\n %50 = call i64 @FUNC(i64 %1)\n store i64 %50, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_13:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %sv_1.03.reload, { 1, 0 }\n uselistorder i32 %sv_0.02.reload, { 2, 1, 0 }\n uselistorder i64 %28, { 1, 0 }\n uselistorder i64 %15, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 3, 0, 2, 1, 5, 4 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64 %2, { 2, 0, 1 }\n uselistorder i64 %1, { 4, 3, 2, 1, 5, 0, 6, 8, 7, 9, 10, 11, 12, 13 }\n uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64*, i64)* @js_newregexp, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sgtable_alloc_17954", "fun_name": "sgtable_alloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64 %arg1, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 4294967274)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1, i64 4096)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 4294967274)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_4:\n %11 = urem i64 %arg2, 4\n %12 = icmp eq i64 %11, 3\n br i1 %12, label LBL_5, label LBL_7\n LBL_5:\n %13 = call i64 @FUNC(i64 %arg1)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %13, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_8, label LBL_6\n LBL_6:\n %17 = call i64 @FUNC(i64 4294967274)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_7:\n %18 = udiv i64 %arg1, 4096\n store i64 %18, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %19 = call i64 @FUNC(i64 0, i64 0)\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_10, label LBL_9\n LBL_9:\n %22 = call i64 @FUNC(i64 4294967284)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = and i64 %sv_0.0.reload, 4294967295\n %24 = call i64 @FUNC(i64 %19, i64 %23, i64 0)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_12, label LBL_11\n LBL_11:\n %27 = and i64 %24, 4294967295\n %28 = call i64 @FUNC(i64 %27)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %23, i64 %2, i64 %1)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @ERR_PTR, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 5, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bpf_map_inc_6228", "fun_name": "bpf_map_inc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, 1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = icmp slt i32 %3, 101\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2)\n store i64 -16, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %8 = trunc i64 %arg2 to i8\n %9 = icmp eq i8 %8, 0\n store i64 %2, i64* %storemerge.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = add i64 %2, 4\n %11 = call i64 @FUNC(i64 %10)\n store i64 %2, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 3, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_write_xer_3519", "fun_name": "cpu_write_xer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = urem i32 %1, 2\n %3 = bitcast i64* %arg1 to i32*\n store i32 %2, i32* %3, align 4\n %4 = udiv i64 %arg2, 2\n %5 = trunc i64 %4 to i32\n %6 = urem i32 %5, 2\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = udiv i64 %arg2, 4\n %10 = trunc i64 %9 to i32\n %11 = urem i32 %10, 2\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = udiv i64 %arg2, 8\n %15 = trunc i64 %14 to i32\n %16 = urem i32 %15, 2\n %17 = add i64 %0, 12\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = udiv i64 %arg2, 16\n %20 = trunc i64 %19 to i32\n %21 = urem i32 %20, 2\n %22 = add i64 %0, 16\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = and i64 %arg2, -32\n %25 = add i64 %0, 24\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 %arg2, { 4, 0, 1, 2, 3, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "FFD_CanHandleURLInService_9084", "fun_name": "FFD_CanHandleURLInService", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = icmp ne i64* %arg1, null\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n %or.cond = icmp eq i1 %2, %4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_12\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_12\n LBL_2:\n %9 = inttoptr i64 %6 to i8*\n %10 = bitcast i64* %sv_0 to i8*\n %11 = call i8* @strcpy(i8* nonnull %10, i8* %9)\n %12 = call i8* @strrchr(i8* nonnull %10, i32 35)\n %13 = icmp eq i8* %12, null\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n store i8 0, i8* %12, align 1\n br label LBL_4\n LBL_4:\n %14 = trunc i64 %1 to i8\n %15 = icmp eq i8 %14, 35\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = call i32 @strlen(i8* nonnull %10)\n %17 = sext i32 %16 to i64\n %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg2, i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %20, label LBL_6, label LBL_12\n LBL_6:\n %21 = inttoptr i64 %arg2 to i8*\n %22 = call i8* @strrchr(i8* %21, i32 35)\n %cond = icmp eq i8* %22, null\n br i1 %cond, label LBL_11, label LBL_7\n LBL_7:\n %magicptr = ptrtoint i8* %22 to i64\n %23 = call i64 @FUNC(i64 %magicptr, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_9, label LBL_8\n LBL_8:\n %27 = add i64 %5, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp slt i32 %29, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %30, label LBL_9, label LBL_12\n LBL_9:\n %31 = call i64 @FUNC(i64 %magicptr, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n %35 = add i64 %5, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp slt i32 %37, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %38, label LBL_11, label LBL_12\n LBL_11:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %22, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64 (i64, i8*)* @stricmp, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strrchr, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_12, { 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_sg_vrml_mf_get_item_6962", "fun_name": "gf_sg_vrml_mf_get_item", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n store i64 0, i64* %arg3, align 8\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 3\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_5\n LBL_2:\n %10 = icmp eq i32* %arg1, null\n %11 = icmp eq i1 %10, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %11, label LBL_3, label LBL_5\n LBL_3:\n %12 = trunc i64 %1 to i32\n %13 = and i64 %6, 4294967295\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = trunc i64 %arg4 to i32\n %19 = icmp ugt i32 %12, %18\n %or.cond = icmp eq i1 %19, %17\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_5\n LBL_4:\n %20 = ptrtoint i32* %arg1 to i64\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = mul i64 %14, %arg4\n %25 = and i64 %24, 4294967295\n %26 = add i64 %23, %25\n store i64 %26, i64* %arg3, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder label LBL_5, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ih264d_assign_display_seq_10923", "fun_name": "ih264d_assign_display_seq", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_2.16.reg2mem = alloca i32\n %sv_1.17.reg2mem = alloca i32\n %sv_0.18.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 144\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, 192\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = sext i8 %8 to i64\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i32 %12 to i64\n %14 = icmp slt i64 %9, %13\n %15 = trunc i64 %1 to i32\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 -1, i32* %sv_0.18.reg2mem\n store i32 -1, i32* %sv_1.17.reg2mem\n store i32 2147483647, i32* %sv_2.16.reg2mem\n br i1 %14, label LBL_7, label LBL_1\n LBL_1:\n %sv_2.16.reload = load i32, i32* %sv_2.16.reg2mem\n %sv_1.17.reload = load i32, i32* %sv_1.17.reg2mem\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = mul nuw nsw i64 %indvars.iv.reload, 12\n %17 = add i64 %16, %5\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %switch = icmp ugt i32 %19, -3\n store i32 %sv_2.16.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.17.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem\n br i1 %switch, label LBL_3, label LBL_2\n LBL_2:\n %20 = add i64 %17, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = sext i32 %sv_2.16.reload to i64\n %25 = icmp sgt i64 %24, %23\n %spec.select = select i1 %25, i32 %22, i32 %sv_2.16.reload\n %spec.select4 = select i1 %25, i32 %19, i32 %sv_1.17.reload\n %26 = trunc i64 %indvars.iv.reload to i32\n %spec.select5 = select i1 %25, i32 %26, i32 %sv_0.18.reload\n store i32 %spec.select, i32* %sv_2.0.reg2mem\n store i32 %spec.select4, i32* %sv_1.0.reg2mem\n store i32 %spec.select5, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.17.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.16.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %27 = icmp eq i32 %sv_0.0.reload, -1\n %28 = icmp eq i32 %sv_1.0.reload, -2\n %or.cond = or i1 %28, %27\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %29 = add i32 %15, 1\n store i32 %29, i32* %arg1, align 4\n %30 = sext i32 %sv_1.0.reload to i64\n %31 = mul i64 %30, 8\n %32 = add i64 %2, 16\n %33 = add i64 %32, %31\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = add i64 %2, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38, i32 %sv_1.0.reload, i32 %15, i64 %35)\n %40 = sext i32 %sv_0.0.reload to i64\n %41 = mul nsw i64 %40, 12\n %42 = add i64 %41, %5\n %43 = inttoptr i64 %42 to i32*\n store i32 -1, i32* %43, align 4\n %44 = add i64 %42, 4\n %45 = inttoptr i64 %44 to i32*\n store i32 2147483647, i32* %45, align 4\n %46 = load i8, i8* %7, align 1\n %47 = add i8 %46, -1\n store i8 %47, i8* %7, align 1\n br label LBL_7\n LBL_6:\n %48 = icmp eq i1 %28, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %48, label LBL_7, label LBL_8\n LBL_7:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i1 %28, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 2, 0, 3 }\n uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i32 %19, { 1, 0 }\n uselistorder i32 %sv_0.18.reload, { 1, 0 }\n uselistorder i32 %sv_1.17.reload, { 1, 0 }\n uselistorder i32 %sv_2.16.reload, { 1, 2, 0 }\n uselistorder i8* %7, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.18.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.17.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_lapic_sync_to_vapic_3652", "fun_name": "kvm_lapic_sync_to_vapic", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0, i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 0, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = urem i32 %7, 256\n %9 = call i64 @FUNC(i64 %0)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n %16 = icmp eq i1 %15, false\n %.op = mul i32 %14, 256\n %.op.op = and i32 %.op, 61440\n %17 = select i1 %16, i32 %.op.op, i32 0\n %.op2 = mul i32 %10, 16777216\n %18 = select i1 %12, i32 %.op2, i32 0\n %19 = or i32 %18, %8\n %20 = or i32 %19, %17\n store i32 %20, i32* %sv_0, align 4\n %21 = add i64 %0, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %0, i32* nonnull %sv_0, i64 4)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 2, 4, 3, 5, 7, 6 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ax25_create_cb_8787", "fun_name": "ax25_create_cb", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 48, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC(i64 %0, i64 1)\n %4 = add i64 %0, 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 24\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 32\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %0, i64 0)\n %14 = add i64 %0, 40\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 4, 3, 2, 1, 8, 7, 6, 5, 9 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @skb_queue_head_init, { 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 4, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_existing_file_17898", "fun_name": "find_existing_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = icmp eq i64 %arg1, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_13\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0, i64 0)\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %7 = sext i32 %sv_0.0.reload to i64\n %8 = mul i64 %7, 8\n %9 = add i64 %8, %6\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n %14 = add i32 %sv_0.0.reload, 1\n store i32 %14, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_2, label LBL_3\n LBL_3:\n %15 = icmp sgt i32 %sv_0.0.reload, 1\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = inttoptr i64 %6 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n %19 = call i64 @FUNC(i64 %6)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_5:\n %20 = add i32 %sv_0.0.reload, -1\n %21 = sext i32 %20 to i64\n %22 = mul i64 %21, 8\n %23 = add i64 %22, %6\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = call i64 @FUNC(i64 %26)\n %28 = inttoptr i64 %26 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = icmp eq i8 %29, 47\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = add i64 %26, 1\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %32, i64 %22, i64 %3, i64 %2, i64 %1)\n store i64 %33, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %34 = call i64 @FUNC(i64 %26)\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %35 = call i64 @FUNC(i64 %26)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %36 = mul i64 %indvars.iv.reload, 8\n %37 = add i64 %36, %6\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39)\n %41 = call i64 @FUNC(i64 %40, i64* nonnull @gv_2, i64 %storemerge.reload, i64 0, i64 %2, i64 %1)\n %42 = call i64 @FUNC(i64 %41, i64 0)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_11, label LBL_10\n LBL_10:\n %45 = call i64 @FUNC(i64 %6)\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %46 = call i64 @FUNC(i64 %41)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %47 = icmp slt i64 %indvars.iv.next, %21\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %47, label LBL_9, label LBL_12\n LBL_12:\n %48 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %41, { 1, 0, 2 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 2, 3, 0, 1 }\n uselistorder i64 %6, { 3, 4, 0, 1, 5, 6, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @g_strstrip, { 1, 0 }\n uselistorder i64 (i64)* @g_strfreev, { 1, 2, 0 }\n uselistorder i64 (i64)* @g_strdup, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 1 }\n uselistorder i32 1, { 21, 24, 8, 7, 6, 5, 4, 23, 22, 3, 1, 19, 2, 0, 11, 10, 9, 13, 12, 18, 17, 16, 15, 14, 20 }\n uselistorder label LBL_13, { 2, 1, 3, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lsr_read_anim_values_ex_13032", "fun_name": "lsr_read_anim_values_ex", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %rdx = alloca i64, align 8\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %sv_0 = alloca i32*, align 8\n %3 = load i32, i32* %0\n %4 = call i64 @FUNC(i64 %1, i32 %3, i64 1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i32 %3, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %5, label LBL_9, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = bitcast i32** %sv_0 to i64*\n %8 = call i64 @FUNC(i64 %6, i64 1, i64 1, i64 0, i64* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n %11 = load i32*, i32** %sv_0, align 8\n %12 = ptrtoint i32* %11 to i64\n %13 = call i64 @FUNC(i64 %1, i32 %2, i64 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %14 = add i64 %12, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 1, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %storemerge.lcssa.reg2mem\n br i1 %18, label LBL_7, label LBL_2\n LBL_2:\n %19 = zext i32 %2 to i64\n %20 = add i64 %12, 8\n %21 = inttoptr i64 %20 to i64*\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %22 = call i64 @FUNC(i64 %1, i64 %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_3, i64 0, i64 0))\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_5, label LBL_4\n LBL_4:\n %24 = load i64, i64* %21, align 8\n %25 = call i64 @FUNC(i64 %24, i64 %22)\n br label LBL_5\n LBL_5:\n %26 = add nuw i32 %storemerge3.reload, 1\n %exitcond = icmp eq i32 %26, %17\n store i32 %26, i32* %storemerge3.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n %phitmp = and i64 %16, 4294967295\n store i64 %phitmp, i64* %storemerge.lcssa.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %27 = icmp eq i32* %arg3, null\n store i64 %storemerge.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = bitcast i64* %rdx to i32*\n %29 = load i32, i32* %28, align 8\n %30 = load i32*, i32** %sv_0, align 8\n %31 = ptrtoint i32* %30 to i64\n %32 = zext i32 %29 to i64\n %33 = call i64 @FUNC(i64 %31, i64 %32)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32** %sv_0, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %0, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i32, i64, i8*)* @GF_LSR_READ_INT, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "wdt_ib700_init_1726", "fun_name": "wdt_ib700_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64 4198662, i64 0)\n store i64 %1, i64* @gv_1, align 8\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i64 4294967295, i64 0, i64 4198673, i64 4198680, i64 0)\n %3 = call i64 @FUNC(i64 1089, i64 2, i64 1, i64 4198687, i64 0)\n %4 = call i64 @FUNC(i64 1091, i64 2, i64 1, i64 4198694, i64 0)\n ret i64 %4\n\n uselistorder i64 (i64, i64, i64, i64, i64)* @register_ioport_write, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dec_mul_1431", "fun_name": "dec_mul", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 1\n %6 = icmp eq i1 %5, false\n %7 = ptrtoint i32* %arg1 to i64\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %7, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64 16)\n %13 = and i64 %12, 4294967295\n %14 = add i64 %7, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %7, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %20, i32 %16, i64 %13, i64 %2, i64 %1)\n br label LBL_3\n LBL_2:\n %22 = add i64 %7, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = add i64 %7, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %7, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %32, i32 %28, i64 %25, i64 %2, i64 %1)\n br label LBL_3\n LBL_3:\n %34 = add i64 %7, 24\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = urem i32 %38, 2\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_5, label LBL_4\n LBL_4:\n %42 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_2, i64 0, i64 0))\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n br i1 %6, label LBL_7, label LBL_6\n LBL_6:\n %43 = add i64 %7, 16\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %46, i64 16)\n %48 = and i64 %47, 4294967295\n %49 = add i64 %7, 4\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = sext i32 %51 to i64\n %53 = mul i64 %52, 4\n %54 = add i64 %53, ptrtoint (i32** @gv_3 to i64)\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = add i64 %7, 8\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = sext i32 %59 to i64\n %61 = mul i64 %60, 4\n %62 = add i64 %61, ptrtoint (i32** @gv_3 to i64)\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = zext i32 %56 to i64\n %66 = zext i32 %64 to i64\n %67 = call i64 @FUNC(i64 %66, i64 %65, i64 %48)\n store i64 %67, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %68 = add i64 %7, 8\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = sext i32 %70 to i64\n %72 = mul i64 %71, 4\n %73 = add i64 %72, ptrtoint (i32** @gv_3 to i64)\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = add i64 %7, 4\n %77 = inttoptr i64 %76 to i32*\n %78 = load i32, i32* %77, align 4\n %79 = sext i32 %78 to i64\n %80 = mul i64 %79, 4\n %81 = add i64 %80, ptrtoint (i32** @gv_3 to i64)\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = add i64 %7, 12\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = sext i32 %86 to i64\n %88 = mul i64 %87, 4\n %89 = add i64 %88, ptrtoint (i32** @gv_3 to i64)\n %90 = inttoptr i64 %89 to i32*\n %91 = load i32, i32* %90, align 4\n %92 = zext i32 %83 to i64\n %93 = zext i32 %91 to i64\n %94 = call i64 @FUNC(i64 %93, i64 %92, i32 %75)\n store i64 %94, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 8, 7, 6, 3, 2, 5, 4, 9, 10, 12, 1, 0, 11 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @LOG_DIS, { 1, 0 }\n uselistorder i64 4, { 0, 1, 6, 2, 3, 4, 7, 8, 9, 5 }\n uselistorder i64 (i64, i64)* @sign_extend, { 1, 0 }\n uselistorder i64 16, { 0, 2, 1, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lzw_get_code_14043", "fun_name": "lzw_get_code", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %.lcssa3.reg2mem = alloca i32\n %.pre-phi28.reg2mem = alloca i32*\n %.reg2mem42 = alloca i64\n %.reg2mem40 = alloca i32\n %.pre-phi24.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp ult i32 %8, %11\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n br i1 %12, label LBL_3, label LBL_1.LBL_11.loopexit_crit_edge\n LBL_2:\n %.pre29 = add i64 %5, 16\n %.pre30 = inttoptr i64 %.pre29 to i32*\n store i32* %.pre30, i32** %.pre-phi24.reg2mem\n store i32 %11, i32* %.reg2mem40\n br label LBL_11\n LBL_3:\n %13 = add i64 %5, 20\n %14 = inttoptr i64 %13 to i32*\n %15 = add i64 %5, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = add i64 %5, 16\n %18 = inttoptr i64 %17 to i32*\n %.pre = load i32, i32* %14, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_7\n LBL_4:\n br i1 %12, label LBL_6, label LBL_4.LBL_15_crit_edge\n LBL_5:\n %.pre25 = add i64 %5, 16\n %.pre27 = inttoptr i64 %.pre25 to i32*\n store i32* %.pre27, i32** %.pre-phi28.reg2mem\n store i32 %8, i32* %.lcssa3.reg2mem\n store i32 %11, i32* %.lcssa.reg2mem\n br label LBL_15\n LBL_6:\n %19 = add i64 %5, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = add i64 %5, 32\n %22 = inttoptr i64 %21 to i64*\n %23 = add i64 %5, 40\n %24 = inttoptr i64 %23 to i32*\n %25 = add i64 %5, 16\n %26 = inttoptr i64 %25 to i32*\n br label LBL_12\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %27 = icmp eq i32 %.reload, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_8\n LBL_8:\n %29 = load i64, i64* %16, align 8\n %30 = add i64 %29, 1\n store i64 %30, i64* %16, align 8\n %31 = inttoptr i64 %29 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = zext i8 %32 to i32\n store i32 %33, i32* %14, align 4\n %34 = icmp eq i8 %32, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_10, label LBL_9\n LBL_9:\n %36 = add i64 %5, 40\n %37 = inttoptr i64 %36 to i32*\n store i32 1, i32* %37, align 4\n %.pre15 = load i32, i32* %10, align 4\n store i32* %18, i32** %.pre-phi24.reg2mem\n store i32 %.pre15, i32* %.reg2mem40\n br label LBL_11\n LBL_10:\n %38 = load i64, i64* %16, align 8\n %39 = add i64 %38, 1\n store i64 %39, i64* %16, align 8\n %40 = inttoptr i64 %38 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = zext i8 %41 to i32\n %43 = load i32, i32* %7, align 4\n %44 = urem i32 %43, 32\n %45 = shl i32 %42, %44\n %46 = load i32, i32* %18, align 4\n %47 = or i32 %45, %46\n store i32 %47, i32* %18, align 4\n %48 = load i32, i32* %7, align 4\n %49 = add i32 %48, 8\n store i32 %49, i32* %7, align 4\n %50 = load i32, i32* %14, align 4\n %51 = add i32 %50, -1\n store i32 %51, i32* %14, align 4\n %52 = load i32, i32* %7, align 4\n %53 = load i32, i32* %10, align 4\n %54 = icmp ult i32 %52, %53\n store i32 %51, i32* %.reg2mem\n store i32* %18, i32** %.pre-phi24.reg2mem\n store i32 %53, i32* %.reg2mem40\n br i1 %54, label LBL_7, label LBL_11\n LBL_11:\n %.reload41 = load i32, i32* %.reg2mem40\n %.pre-phi24.reload = load i32*, i32** %.pre-phi24.reg2mem\n %55 = load i32, i32* %.pre-phi24.reload, align 4\n %56 = add i64 %5, 12\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = and i32 %58, %55\n %60 = urem i32 %.reload41, 32\n %61 = ashr i32 %55, %60\n store i32 %61, i32* %.pre-phi24.reload, align 4\n %.pre37 = load i32, i32* %7, align 4\n %.pre38 = load i32, i32* %10, align 4\n %.pre39 = sub i32 %.pre37, %.pre38\n store i32 %.pre39, i32* %.pre-phi.reg2mem\n store i32 %59, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_12:\n %62 = load i64, i64* %20, align 8\n %63 = load i64, i64* %22, align 8\n %64 = icmp ult i64 %62, %63\n store i64 %62, i64* %.reg2mem42\n br i1 %64, label LBL_14, label LBL_13\n LBL_13:\n store i32 1, i32* %24, align 4\n %.pre16 = load i64, i64* %20, align 8\n store i64 %.pre16, i64* %.reg2mem42\n br label LBL_14\n LBL_14:\n %.reload43 = load i64, i64* %.reg2mem42\n %65 = load i32, i32* %26, align 4\n %66 = mul i32 %65, 256\n %67 = add i64 %.reload43, 1\n store i64 %67, i64* %20, align 8\n %68 = inttoptr i64 %.reload43 to i8*\n %69 = load i8, i8* %68, align 1\n %70 = zext i8 %69 to i32\n %71 = or i32 %66, %70\n store i32 %71, i32* %26, align 4\n %72 = load i32, i32* %7, align 4\n %73 = add i32 %72, 8\n store i32 %73, i32* %7, align 4\n %74 = load i32, i32* %10, align 4\n %75 = icmp ult i32 %73, %74\n store i32* %26, i32** %.pre-phi28.reg2mem\n store i32 %73, i32* %.lcssa3.reg2mem\n store i32 %74, i32* %.lcssa.reg2mem\n br i1 %75, label LBL_12, label LBL_15\n LBL_15:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.lcssa3.reload = load i32, i32* %.lcssa3.reg2mem\n %.pre-phi28.reload = load i32*, i32** %.pre-phi28.reg2mem\n %76 = load i32, i32* %.pre-phi28.reload, align 4\n %77 = sub i32 %.lcssa3.reload, %.lcssa.reload\n %78 = urem i32 %77, 32\n %79 = ashr i32 %76, %78\n %80 = add i64 %5, 12\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = and i32 %79, %82\n store i32 %77, i32* %.pre-phi.reg2mem\n store i32 %83, i32* %sv_0.0.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n store i32 %.pre-phi.reload, i32* %7, align 4\n %84 = zext i32 %sv_0.0.reload to i64\n ret i64 %84\n\n uselistorder i64 %.reload43, { 1, 0 }\n uselistorder i32 %55, { 1, 0 }\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64* %20, { 1, 0, 2 }\n uselistorder i32* %18, { 0, 2, 3, 1 }\n uselistorder i64* %16, { 1, 0, 2, 3 }\n uselistorder i32* %14, { 3, 2, 1, 0 }\n uselistorder i1 %12, { 1, 0 }\n uselistorder i32* %10, { 4, 0, 1, 2, 3 }\n uselistorder i32* %7, { 1, 8, 7, 0, 2, 4, 5, 3, 6 }\n uselistorder i64 %5, { 7, 3, 4, 8, 9, 10, 11, 6, 2, 1, 0, 5, 12, 13 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.pre-phi24.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %.reg2mem40, { 0, 1, 3, 2 }\n uselistorder i64* %.reg2mem42, { 0, 2, 1 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i64 16, { 2, 1, 3, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fe_netjoin_init_11272", "fun_name": "fe_netjoin_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 1)\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0), i64 10)\n store i32 -1, i32* bitcast (i64* @gv_3 to i32*), align 8\n store i8 0, i8* inttoptr (i64 4210724 to i8*), align 4\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 4198700)\n ret i64 %3\n\n uselistorder i8 0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "freelist_4724", "fun_name": "freelist", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %.reg2mem3 = alloca i64*\n %.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %.reg2mem\n store i64* %1, i64** %.reg2mem3\n store i64 0, i64* %storemerge1.reg2mem\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %.reload4 = load i64*, i64** %.reg2mem3\n %.reload = load i64, i64* %.reg2mem\n %5 = inttoptr i64 %.reload to i64*\n call void @free(i64* %5)\n store i64 0, i64* %.reload4, align 8\n %6 = add i64 %storemerge1.reload, 1\n %7 = mul i64 %6, 8\n %8 = add i64 %7, %arg1\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %.reg2mem\n store i64* %9, i64** %.reg2mem3\n store i64 %6, i64* %storemerge1.reg2mem\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.reg2mem3, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iperf_create_send_timers_9677", "fun_name": "iperf_create_send_timers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.in4.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %sv_0 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_0 to i64\n store i64 %0, i64* %rdi, align 8\n %1 = bitcast i64* %sv_0 to %timeval*\n %2 = call i32 @gettimeofday(%timeval* nonnull %1, %timezone* null)\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i32 -1, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %storemerge.in.in2 = inttoptr i64 %6 to i64*\n %storemerge.in3 = load i64, i64* %storemerge.in.in2, align 8\n %7 = icmp eq i64 %storemerge.in3, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_8\n LBL_3:\n %9 = bitcast i64* %rdi to i32*\n store i64 %storemerge.in3, i64* %storemerge.in4.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.in4.reload = load i64, i64* %storemerge.in4.reg2mem\n %storemerge = inttoptr i64 %storemerge.in4.reload to i32*\n store i32 1, i32* %storemerge, align 4\n %10 = load i32, i32* %9, align 8\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_7, label LBL_5\n LBL_5:\n store i64 0, i64* %rdi, align 8\n %12 = call i64 @FUNC(i64 0, i64 4198766, i64 %storemerge.in4.reload, i64 100000, i64 1)\n %13 = add i64 %storemerge.in4.reload, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = icmp eq i64 %12, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n store i32 -1, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %17 = add i64 %storemerge.in4.reload, 16\n %storemerge.in.in = inttoptr i64 %17 to i64*\n %storemerge.in = load i64, i64* %storemerge.in.in, align 8\n %18 = icmp eq i64 %storemerge.in, 0\n %19 = icmp eq i1 %18, false\n store i64 %storemerge.in, i64* %storemerge.in4.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rdi, { 1, 2, 0 }\n uselistorder i64* %storemerge.in4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder label LBL_8, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zend_accel_hash_find_5916", "fun_name": "zend_accel_hash_find", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = zext i32 %arg3 to i64\n %2 = call i64 @FUNC(i64 %arg2, i64 %1)\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = xor i64 %4, %2\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = urem i64 %5, %9\n %11 = mul i64 %10, 8\n %12 = add i64 %11, %3\n %storemerge.in2 = inttoptr i64 %12 to i64*\n %storemerge3 = load i64, i64* %storemerge.in2, align 8\n %13 = icmp eq i64 %storemerge3, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_1, label LBL_8\n LBL_1:\n %15 = inttoptr i64 %arg2 to i64*\n store i64 %storemerge3, i64* %storemerge4.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %16 = inttoptr i64 %storemerge4.reload to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %5, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_7, label LBL_3\n LBL_3:\n %20 = add i64 %storemerge4.reload, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, %arg3\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_7, label LBL_4\n LBL_4:\n %25 = add i64 %storemerge4.reload, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = inttoptr i64 %27 to i64*\n %29 = call i32 @memcmp(i64* %28, i64* %15, i32 %arg3)\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_5\n LBL_5:\n %32 = add i64 %storemerge4.reload, 40\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %34, 0\n %36 = add i64 %storemerge4.reload, 24\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n store i64 %38, i64* %rax.0.reg2mem\n br i1 %35, label LBL_8, label LBL_6\n LBL_6:\n %39 = add i64 %38, 24\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %42 = add i64 %storemerge4.reload, 32\n %storemerge.in = inttoptr i64 %42 to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %43 = icmp eq i64 %storemerge, 0\n %44 = icmp eq i1 %43, false\n store i64 %storemerge, i64* %storemerge4.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %44, label LBL_2, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %storemerge4.reload, { 3, 4, 5, 0, 1, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i1 false, { 4, 1, 2, 3, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 %arg3, { 1, 0, 2 }\n uselistorder label LBL_8, { 0, 3, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mpeg4_pred_ac_17041", "fun_name": "ff_mpeg4_pred_ac", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv24.reg2mem = alloca i64\n %.pre-phi44.reg2mem = alloca i64*\n %indvars.iv30.reg2mem = alloca i64\n %.reg2mem52 = alloca i32\n %.reg2mem50 = alloca i8\n %indvars.iv27.reg2mem = alloca i64\n %indvars.iv36.reg2mem = alloca i64\n %.reg2mem48 = alloca i32\n %.reg2mem = alloca i8\n %indvars.iv33.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %4 = add i64 %3, 32\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %3, 40\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = ashr exact i64 %sext, 30\n %13 = add i64 %11, %12\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = mul i32 %15, 16\n %17 = sext i32 %16 to i64\n %18 = mul i64 %17, 2\n %19 = add i64 %18, %8\n %20 = add i64 %3, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_0.LBL_19_crit_edge, label LBL_2\n LBL_1:\n %.pre42 = add i64 %3, 56\n %.pre43 = inttoptr i64 %.pre42 to i64*\n store i64* %.pre43, i64** %.pre-phi44.reg2mem\n br label LBL_19\n LBL_2:\n %24 = ashr exact i64 %sext, 32\n %25 = add i64 %3, 24\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = trunc i64 %1 to i32\n %29 = trunc i64 %arg4 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_11, label LBL_3\n LBL_3:\n %32 = add i64 %19, -32\n %33 = icmp eq i32 %28, 0\n br i1 %33, label LBL_7, label LBL_4\n LBL_4:\n %34 = add i64 %3, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %3, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = mul i32 %39, %36\n %41 = add i32 %28, -1\n %42 = add i32 %41, %40\n %43 = add i64 %3, 12\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = sext i32 %42 to i64\n %47 = add i64 %27, %46\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = sext i8 %49 to i32\n %51 = icmp eq i32 %45, %50\n br i1 %51, label LBL_7, label LBL_5\n LBL_5:\n %52 = trunc i64 %24 to i32\n %53 = icmp ne i32 %52, 1\n %54 = icmp eq i32 %52, 3\n %55 = icmp eq i1 %54, false\n %or.cond = icmp eq i1 %53, %55\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_6:\n %56 = add i64 %3, 56\n %57 = inttoptr i64 %56 to i64*\n store i8 %49, i8* %.reg2mem\n store i32 %45, i32* %.reg2mem48\n store i64 1, i64* %indvars.iv36.reg2mem\n br label LBL_9\n LBL_7:\n %58 = add i64 %3, 56\n %59 = inttoptr i64 %58 to i64*\n store i64 1, i64* %indvars.iv33.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv33.reload = load i64, i64* %indvars.iv33.reg2mem\n %60 = load i64, i64* %59, align 8\n %61 = mul i64 %indvars.iv33.reload, 32\n %62 = add i64 %60, %61\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = sext i32 %64 to i64\n %66 = mul i64 %65, 2\n %67 = add i64 %66, %2\n %68 = inttoptr i64 %67 to i16*\n %69 = load i16, i16* %68, align 2\n %70 = mul i64 %indvars.iv33.reload, 2\n %71 = add i64 %70, %32\n %72 = inttoptr i64 %71 to i16*\n %73 = load i16, i16* %72, align 2\n %74 = add i16 %73, %69\n store i16 %74, i16* %68, align 2\n %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33.reload, 1\n %exitcond35 = icmp eq i64 %indvars.iv.next34, 8\n store i64 %indvars.iv.next34, i64* %indvars.iv33.reg2mem\n store i64* %59, i64** %.pre-phi44.reg2mem\n br i1 %exitcond35, label LBL_19, label LBL_8\n LBL_9:\n %indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem\n %.reload49 = load i32, i32* %.reg2mem48\n %.reload = load i8, i8* %.reg2mem\n %75 = mul i64 %indvars.iv36.reload, 2\n %76 = add i64 %75, %32\n %77 = inttoptr i64 %76 to i16*\n %78 = load i16, i16* %77, align 2\n %79 = sext i8 %.reload to i64\n %80 = sext i16 %78 to i64\n %81 = mul nsw i64 %80, %79\n %82 = zext i32 %.reload49 to i64\n %83 = and i64 %81, 4294967295\n %84 = call i64 @FUNC(i64 %83, i64 %82)\n %85 = load i64, i64* %57, align 8\n %86 = mul i64 %indvars.iv36.reload, 32\n %87 = add i64 %85, %86\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = sext i32 %89 to i64\n %91 = mul i64 %90, 2\n %92 = add i64 %91, %2\n %93 = inttoptr i64 %92 to i16*\n %94 = load i16, i16* %93, align 2\n %95 = trunc i64 %84 to i16\n %96 = add i16 %94, %95\n store i16 %96, i16* %93, align 2\n %indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1\n %exitcond38 = icmp eq i64 %indvars.iv.next37, 8\n store i64* %57, i64** %.pre-phi44.reg2mem\n br i1 %exitcond38, label LBL_19, label LBL_9.LBL_9_crit_edge\n LBL_10:\n %.pre = load i32, i32* %44, align 4\n %.pre39 = load i8, i8* %48, align 1\n store i8 %.pre39, i8* %.reg2mem\n store i32 %.pre, i32* %.reg2mem48\n store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem\n br label LBL_9\n LBL_11:\n %97 = add i64 %3, 4\n %98 = inttoptr i64 %97 to i32*\n %99 = load i32, i32* %98, align 4\n %100 = add i64 %3, 48\n %101 = inttoptr i64 %100 to i64*\n %102 = load i64, i64* %101, align 8\n %103 = add i64 %102, %12\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = mul i32 %105, 16\n %107 = sext i32 %106 to i64\n %108 = mul i64 %107, 2\n %109 = sub i64 %19, %108\n %110 = icmp eq i32 %99, 0\n br i1 %110, label LBL_15, label LBL_12\n LBL_12:\n %111 = add i64 %3, 8\n %112 = inttoptr i64 %111 to i32*\n %113 = load i32, i32* %112, align 4\n %114 = mul i32 %113, %99\n %115 = sub i32 %28, %113\n %116 = add i32 %115, %114\n %117 = add i64 %3, 12\n %118 = inttoptr i64 %117 to i32*\n %119 = load i32, i32* %118, align 4\n %120 = sext i32 %116 to i64\n %121 = add i64 %27, %120\n %122 = inttoptr i64 %121 to i8*\n %123 = load i8, i8* %122, align 1\n %124 = sext i8 %123 to i32\n %125 = icmp eq i32 %119, %124\n br i1 %125, label LBL_15, label LBL_13\n LBL_13:\n %126 = trunc i64 %24 to i32\n %127 = icmp ne i32 %126, 2\n %128 = icmp eq i32 %126, 3\n %129 = icmp eq i1 %128, false\n %or.cond13 = icmp eq i1 %127, %129\n br i1 %or.cond13, label LBL_14, label LBL_15\n LBL_14:\n %130 = add i64 %109, 16\n %131 = add i64 %3, 56\n %132 = inttoptr i64 %131 to i64*\n store i8 %123, i8* %.reg2mem50\n store i32 %119, i32* %.reg2mem52\n store i64 1, i64* %indvars.iv30.reg2mem\n br label LBL_17\n LBL_15:\n %133 = add i64 %3, 56\n %134 = inttoptr i64 %133 to i64*\n %135 = add i64 %109, 16\n store i64 1, i64* %indvars.iv27.reg2mem\n br label LBL_16\n LBL_16:\n %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem\n %136 = load i64, i64* %134, align 8\n %137 = mul i64 %indvars.iv27.reload, 4\n %138 = add i64 %136, %137\n %139 = inttoptr i64 %138 to i32*\n %140 = load i32, i32* %139, align 4\n %141 = sext i32 %140 to i64\n %142 = mul i64 %141, 2\n %143 = add i64 %142, %2\n %144 = inttoptr i64 %143 to i16*\n %145 = load i16, i16* %144, align 2\n %146 = mul i64 %indvars.iv27.reload, 2\n %147 = add i64 %135, %146\n %148 = inttoptr i64 %147 to i16*\n %149 = load i16, i16* %148, align 2\n %150 = add i16 %149, %145\n store i16 %150, i16* %144, align 2\n %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1\n %exitcond29 = icmp eq i64 %indvars.iv.next28, 8\n store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem\n store i64* %134, i64** %.pre-phi44.reg2mem\n br i1 %exitcond29, label LBL_19, label LBL_16\n LBL_17:\n %indvars.iv30.reload = load i64, i64* %indvars.iv30.reg2mem\n %.reload53 = load i32, i32* %.reg2mem52\n %.reload51 = load i8, i8* %.reg2mem50\n %151 = mul i64 %indvars.iv30.reload, 2\n %152 = add i64 %130, %151\n %153 = inttoptr i64 %152 to i16*\n %154 = load i16, i16* %153, align 2\n %155 = sext i8 %.reload51 to i64\n %156 = sext i16 %154 to i64\n %157 = mul nsw i64 %156, %155\n %158 = zext i32 %.reload53 to i64\n %159 = and i64 %157, 4294967295\n %160 = call i64 @FUNC(i64 %159, i64 %158)\n %161 = load i64, i64* %132, align 8\n %162 = mul i64 %indvars.iv30.reload, 4\n %163 = add i64 %161, %162\n %164 = inttoptr i64 %163 to i32*\n %165 = load i32, i32* %164, align 4\n %166 = sext i32 %165 to i64\n %167 = mul i64 %166, 2\n %168 = add i64 %167, %2\n %169 = inttoptr i64 %168 to i16*\n %170 = load i16, i16* %169, align 2\n %171 = trunc i64 %160 to i16\n %172 = add i16 %170, %171\n store i16 %172, i16* %169, align 2\n %indvars.iv.next31 = add nuw nsw i64 %indvars.iv30.reload, 1\n %exitcond32 = icmp eq i64 %indvars.iv.next31, 8\n store i64* %132, i64** %.pre-phi44.reg2mem\n br i1 %exitcond32, label LBL_19, label LBL_17.LBL_17_crit_edge\n LBL_18:\n %.pre40 = load i32, i32* %118, align 4\n %.pre41 = load i8, i8* %122, align 1\n store i8 %.pre41, i8* %.reg2mem50\n store i32 %.pre40, i32* %.reg2mem52\n store i64 %indvars.iv.next31, i64* %indvars.iv30.reg2mem\n br label LBL_17\n LBL_19:\n %.pre-phi44.reload = load i64*, i64** %.pre-phi44.reg2mem\n store i64 1, i64* %indvars.iv24.reg2mem\n br label LBL_20\n LBL_20:\n %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem\n %173 = load i64, i64* %.pre-phi44.reload, align 8\n %174 = mul i64 %indvars.iv24.reload, 32\n %175 = add i64 %173, %174\n %176 = inttoptr i64 %175 to i32*\n %177 = load i32, i32* %176, align 4\n %178 = sext i32 %177 to i64\n %179 = mul i64 %178, 2\n %180 = add i64 %179, %2\n %181 = mul i64 %indvars.iv24.reload, 2\n %182 = add i64 %181, %19\n %183 = inttoptr i64 %180 to i16*\n %184 = load i16, i16* %183, align 2\n %185 = inttoptr i64 %182 to i16*\n store i16 %184, i16* %185, align 2\n %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1\n %exitcond26 = icmp eq i64 %indvars.iv.next25, 8\n store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem\n br i1 %exitcond26, label LBL_21, label LBL_20\n LBL_21:\n %186 = add i64 %19, 16\n store i64 1, i64* %indvars.iv.reg2mem\n br label LBL_22\n LBL_22:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %187 = load i64, i64* %.pre-phi44.reload, align 8\n %188 = mul i64 %indvars.iv.reload, 4\n %189 = add i64 %187, %188\n %190 = inttoptr i64 %189 to i32*\n %191 = load i32, i32* %190, align 4\n %192 = sext i32 %191 to i64\n %193 = mul i64 %192, 2\n %194 = add i64 %193, %2\n %195 = mul i64 %indvars.iv.reload, 2\n %196 = add i64 %186, %195\n %197 = inttoptr i64 %194 to i16*\n %198 = load i16, i16* %197, align 2\n %199 = inttoptr i64 %196 to i16*\n store i16 %198, i16* %199, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_23, label LBL_22\n LBL_23:\n %200 = zext i16 %198 to i64\n ret i64 %200\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv24.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv30.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv27.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv36.reload, { 0, 2, 1 }\n uselistorder i64 %indvars.iv33.reload, { 0, 2, 1 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %19, { 0, 1, 3, 2 }\n uselistorder i64 %3, { 8, 6, 7, 11, 9, 10, 3, 1, 2, 4, 5, 15, 0, 12, 13, 14 }\n uselistorder i64 %2, { 0, 1, 3, 2, 5, 4 }\n uselistorder i64* %indvars.iv33.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem48, { 1, 0, 2 }\n uselistorder i64* %indvars.iv36.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv27.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem50, { 1, 0, 2 }\n uselistorder i32* %.reg2mem52, { 1, 0, 2 }\n uselistorder i64* %indvars.iv30.reg2mem, { 1, 0, 2 }\n uselistorder i64** %.pre-phi44.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64* %indvars.iv24.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @ROUNDED_DIV, { 1, 0 }\n uselistorder i64 1, { 11, 0, 10, 1, 8, 9, 3, 2, 6, 7, 5, 4 }\n uselistorder i64 8, { 5, 4, 2, 3, 6, 0, 1, 7 }\n uselistorder i64 56, { 2, 1, 4, 3, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_19, { 2, 3, 0, 1, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uas_wait_for_pending_cmnds_9855", "fun_name": "uas_wait_for_pending_cmnds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i32 @clock()\n %2 = ashr i32 %1, 31\n %3 = sext i32 %2 to i64\n %4 = add i64 %0, 4\n br label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0, i64 5000)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_5\n LBL_2:\n %10 = call i64 @FUNC(i64 %4, i64 500)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_5\n LBL_3:\n %14 = call i32 @clock()\n %15 = icmp slt i32 %14, 0\n %16 = zext i1 %15 to i64\n %17 = add nsw i64 %3, %16\n %18 = icmp slt i64 %17, 501\n store i64 1, i64* %rax.0.reg2mem\n br i1 %18, label LBL_4, label LBL_5\n LBL_4:\n %19 = call i64 @FUNC(i64 %0)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_1, label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 3, 2, 1 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64)* @usb_wait_anchor_empty_timeout, { 1, 0 }\n uselistorder i32 ()* @clock, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rac_get_model_sym_1433", "fun_name": "rac_get_model_sym", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = trunc i64 %1 to i32\n %5 = udiv i32 %4, 256\n store i32 %5, i32* %arg1, align 4\n %6 = trunc i64 %2 to i32\n %7 = ashr i32 %6, 1\n %8 = add i64 %3, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = ptrtoint i32* %arg1 to i64\n %12 = add i64 %11, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n store i32 0, i32* %sv_4.0.reg2mem\n store i32 %4, i32* %sv_3.0.reg2mem\n store i32 0, i32* %sv_2.0.reg2mem\n store i32 %7, i32* %sv_1.0.reg2mem\n store i32 %6, i32* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %15 = sext i32 %sv_1.0.reload to i64\n %16 = mul i64 %15, 4\n %17 = add i64 %16, %10\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = mul i32 %19, %4\n %21 = icmp ugt i32 %20, %14\n %sv_4.0. = select i1 %21, i32 %sv_4.0.reload, i32 %20\n %.stack_var_-28.0 = select i1 %21, i32 %20, i32 %sv_3.0.reload\n %sv_2.0.stack_var_-16.0 = select i1 %21, i32 %sv_2.0.reload, i32 %sv_1.0.reload\n %sv_1.0.stack_var_-20.0 = select i1 %21, i32 %sv_1.0.reload, i32 %sv_0.0.reload\n %22 = add i32 %sv_2.0.stack_var_-16.0, %sv_1.0.stack_var_-20.0\n %23 = ashr i32 %22, 1\n %24 = icmp eq i32 %23, %sv_2.0.stack_var_-16.0\n %25 = icmp eq i1 %24, false\n store i32 %sv_4.0., i32* %sv_4.0.reg2mem\n store i32 %.stack_var_-28.0, i32* %sv_3.0.reg2mem\n store i32 %sv_2.0.stack_var_-16.0, i32* %sv_2.0.reg2mem\n store i32 %23, i32* %sv_1.0.reg2mem\n store i32 %sv_1.0.stack_var_-20.0, i32* %sv_0.0.reg2mem\n br i1 %25, label LBL_1, label LBL_2\n LBL_2:\n %26 = bitcast i64* %rdi to i32*\n %27 = sub i32 %14, %sv_4.0.\n store i32 %27, i32* %13, align 4\n %28 = sub i32 %.stack_var_-28.0, %sv_4.0.\n store i32 %28, i32* %arg1, align 4\n %29 = load i32, i32* %26, align 8\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_4, label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 %11)\n br label LBL_4\n LBL_4:\n %33 = zext i32 %sv_2.0.stack_var_-16.0 to i64\n %34 = call i64 @FUNC(i64 %3, i64 %33)\n ret i64 %33\n\n uselistorder i32 %sv_2.0.stack_var_-16.0, { 1, 0, 2, 3 }\n uselistorder i32 %.stack_var_-28.0, { 1, 0 }\n uselistorder i32 %sv_4.0., { 2, 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 2, 1, 0 }\n uselistorder i32 %4, { 2, 0, 1 }\n uselistorder i32* %sv_4.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_anetTcpServer_12843", "fun_name": "_anetTcpServer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %rcx.0.lcssa.reg2mem = alloca i64\n %storemerge311.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %.reg2mem = alloca i1\n %1 = load i64, i64* %0\n %sv_2 = alloca %addrinfo*, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %2 = zext i32 %arg2 to i64\n %3 = bitcast i64* %sv_4 to i8*\n %4 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %2)\n %5 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 48)\n store i64 1, i64* %sv_3, align 8\n %6 = icmp eq i64 %arg3, 0\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = icmp eq i32 %arg4, 10\n %8 = icmp eq i1 %7, false\n store i1 %8, i1* %.reg2mem\n store i64 0, i64* %sv_1.1.reg2mem\n br label LBL_4\n LBL_2:\n %9 = inttoptr i64 %arg3 to i8*\n %10 = call i32 @strcmp(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8* %9)\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n %spec.select = select i1 %12, i64 %arg3, i64 0\n %13 = icmp eq i32 %arg4, 10\n %14 = icmp eq i1 %13, false\n %15 = icmp eq i64 %spec.select, 0\n %or.cond = or i1 %14, %15\n store i1 %14, i1* %.reg2mem\n store i64 %spec.select, i64* %sv_1.1.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %16 = inttoptr i64 %spec.select to i8*\n %17 = call i32 @strcmp(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i8* %16)\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n %spec.select5 = select i1 %19, i64 %spec.select, i64 0\n store i1 false, i1* %.reg2mem\n store i64 %spec.select5, i64* %sv_1.1.reg2mem\n br label LBL_4\n LBL_4:\n %20 = ptrtoint i64* %arg1 to i64\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %21 = ptrtoint %addrinfo** %sv_2 to i64\n %22 = inttoptr i64 %sv_1.1.reload to i8*\n %23 = bitcast i64* %sv_3 to %addrinfo*\n %24 = call i32 @getaddrinfo(i8* %22, i8* nonnull %3, %addrinfo* nonnull %23, %addrinfo** nonnull %sv_2)\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i8* @gai_strerror(i32 %24)\n %27 = ptrtoint i8* %26 to i64\n %28 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 %27, i64 %21, i64 %arg5, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_6:\n %29 = load %addrinfo*, %addrinfo** %sv_2, align 8\n %30 = icmp eq %addrinfo* %29, null\n %31 = icmp eq i1 %30, false\n store i64 %21, i64* %rcx.0.lcssa.reg2mem\n br i1 %31, label LBL_7, label LBL_15\n LBL_7:\n %32 = and i64 %arg5, 4294967295\n %.reload = load i1, i1* %.reg2mem\n %33 = ptrtoint %addrinfo* %29 to i64\n store i64 %33, i64* %storemerge311.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge311.reload = load i64, i64* %storemerge311.reg2mem\n %34 = add i64 %storemerge311.reload, 12\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %storemerge311.reload, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %storemerge311.reload, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = call i32 @socket(i32 %42, i32 %39, i32 %36)\n %44 = icmp eq i32 %43, -1\n br i1 %44, label LBL_13, label LBL_9\n LBL_9:\n %.pre = zext i32 %43 to i64\n br i1 %.reload, label LBL_11, label LBL_10\n LBL_10:\n %45 = call i64 @FUNC(i64 %20, i64 %.pre)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, -1\n br i1 %47, label LBL_16, label LBL_11\n LBL_11:\n %48 = call i64 @FUNC(i64 %20, i64 %.pre)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, -1\n br i1 %50, label LBL_16, label LBL_12\n LBL_12:\n %51 = add i64 %storemerge311.reload, 16\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %storemerge311.reload, 24\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %20, i32 %43, i64 %56, i32 %53, i64 %32)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, -1\n %60 = icmp eq i1 %59, false\n %phitmp = select i1 %60, i64 %.pre, i64 4294967295\n store i64 %phitmp, i64* %sv_0.2.reg2mem\n br label LBL_17\n LBL_13:\n %61 = add i64 %storemerge311.reload, 40\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = icmp eq i64 %63, 0\n %65 = icmp eq i1 %64, false\n store i64 %63, i64* %storemerge311.reg2mem\n br i1 %65, label LBL_8, label LBL_14\n LBL_14:\n %66 = zext i32 %39 to i64\n store i64 %66, i64* %rcx.0.lcssa.reg2mem\n br label LBL_15\n LBL_15:\n %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem\n %67 = call i32* @__errno_location()\n %68 = load i32, i32* %67, align 4\n %69 = zext i32 %68 to i64\n %70 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i64 %69, i64 %rcx.0.lcssa.reload, i64 %arg5, i64 %1)\n store i64 4294967295, i64* %sv_0.2.reg2mem\n br label LBL_17\n LBL_16:\n %71 = call i32 @close(i32 %43)\n store i64 4294967295, i64* %sv_0.2.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %72 = load %addrinfo*, %addrinfo** %sv_2, align 8\n call void @freeaddrinfo(%addrinfo* %72)\n store i64 %sv_0.2.reload, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %43, { 1, 2, 0, 3 }\n uselistorder i64 %storemerge311.reload, { 0, 4, 5, 1, 3, 2 }\n uselistorder %addrinfo* %29, { 1, 0 }\n uselistorder i64 %20, { 1, 3, 4, 2, 0 }\n uselistorder i64 %spec.select, { 3, 2, 0, 1 }\n uselistorder i64* %sv_3, { 0, 2, 1 }\n uselistorder %addrinfo** %sv_2, { 2, 1, 3, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i1* %.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge311.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32* ()* @__errno_location, { 3, 4, 0, 1, 2 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder i64 4294967295, { 2, 1, 8, 9, 0, 3, 5, 4, 6, 7 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @anetSetError, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6, 7 }\n uselistorder i64 %arg5, { 2, 0, 1 }\n uselistorder i32 %arg4, { 1, 0 }\n uselistorder label LBL_17, { 2, 0, 1 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "shmem_symlink_7016", "fun_name": "shmem_symlink", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = inttoptr i64 %arg3 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = add i32 %1, 1\n %3 = icmp slt i32 %2, 4097\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %3, label LBL_1, label LBL_12\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i64 41471, i64 0)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967294, i64* %rax.0.shrunk.reg2mem\n br i1 %10, label LBL_2, label LBL_12\n LBL_2:\n %11 = call i64 @FUNC(i64 %8, i64 %4, i64 0, i64 0, i64 0)\n %12 = trunc i64 %11 to i32\n switch i32 %12, label LBL_3 [\n i32 -3, label LBL_4\n i32 0, label LBL_4\n ]\n LBL_3:\n %13 = call i64 @FUNC(i64 %8)\n store i64 %11, i64* %rax.0.shrunk.reg2mem\n br label LBL_12\n LBL_4:\n %14 = call i64 @FUNC(i64 %8)\n %15 = add i64 %8, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %1, i32* %16, align 4\n %17 = sext i32 %2 to i64\n %18 = sub i64 %8, %14\n %19 = icmp slt i64 %18, %17\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = inttoptr i64 %14 to i64*\n %21 = inttoptr i64 %arg3 to i64*\n %22 = call i64* @memcpy(i64* %20, i64* %21, i32 %2)\n %23 = add i64 %8, 40\n %24 = inttoptr i64 %23 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %24, align 8\n br label LBL_9\n LBL_6:\n %25 = call i64 @FUNC(i64 %8, i64 0, i64* nonnull %sv_0, i64 1, i64 0)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_8, label LBL_7\n LBL_7:\n %28 = call i64 @FUNC(i64 %8)\n store i64 %25, i64* %rax.0.shrunk.reg2mem\n br label LBL_12\n LBL_8:\n %29 = load i64, i64* %sv_0, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = add i64 %8, 32\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = inttoptr i64 %33 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %34, align 8\n %35 = add i64 %8, 40\n %36 = inttoptr i64 %35 to i64*\n store i64 ptrtoint (i64* @gv_2 to i64), i64* %36, align 8\n %37 = load i64, i64* %sv_0, align 8\n %38 = call i64 @FUNC(i64 %37, i64 0)\n %39 = inttoptr i64 %38 to i64*\n %40 = inttoptr i64 %arg3 to i64*\n %41 = call i64* @memcpy(i64* %39, i64* %40, i32 %2)\n %42 = call i64 @FUNC(i64 %38, i64 0)\n %43 = load i64, i64* %sv_0, align 8\n %44 = call i64 @FUNC(i64 %43)\n %45 = load i64, i64* %sv_0, align 8\n %46 = call i64 @FUNC(i64 %45)\n br label LBL_9\n LBL_9:\n %47 = bitcast i64* %rdi to i32*\n %48 = load i32, i32* %47, align 8\n %49 = and i32 %48, 16384\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_11, label LBL_10\n LBL_10:\n %51 = add i64 %4, 8\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %8, 8\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n br label LBL_11\n LBL_11:\n %56 = ptrtoint i64* %arg2 to i64\n %57 = add i64 %4, 4\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = add i32 %59, 32\n store i32 %60, i32* %58, align 4\n %61 = add i64 %4, 28\n %62 = inttoptr i64 %61 to i32*\n store i32 0, i32* %62, align 4\n %63 = add i64 %4, 24\n %64 = inttoptr i64 %63 to i32*\n store i32 0, i32* %64, align 4\n %65 = call i64 @FUNC(i64 %56, i64 %8)\n %66 = call i64 @FUNC(i64 %56)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %56, { 1, 0 }\n uselistorder i64 %8, { 3, 2, 4, 5, 1, 7, 0, 6, 9, 8, 10, 11, 12 }\n uselistorder i64 %4, { 1, 2, 3, 0, 4, 5 }\n uselistorder i32 %2, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 3, 1, 2 }\n uselistorder i64 (i64)* @iput, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0, 2 }\n uselistorder label LBL_12, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qht_entry_move_2384", "fun_name": "qht_entry_move", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %sext3 = mul i64 %arg4, 4294967296\n %2 = icmp eq i64* %arg1, %arg3\n %3 = icmp eq i1 %2, false\n %4 = trunc i64 %arg2 to i32\n %5 = trunc i64 %arg4 to i32\n %6 = icmp ne i32 %4, %5\n %narrow = or i1 %3, %6\n %storemerge = zext i1 %narrow to i64\n %7 = call i64 @FUNC(i64 %storemerge)\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = ashr exact i64 %sext, 29\n %12 = add i64 %10, %11\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = and i64 %14, 4294967295\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %0, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = ashr exact i64 %sext3, 29\n %21 = add i64 %19, %20\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = and i64 %23, 4294967295\n %25 = call i64 @FUNC(i64 %24)\n %26 = ashr exact i64 %sext3, 30\n %27 = add i64 %19, %26\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = ashr exact i64 %sext, 30\n %31 = add nsw i64 %24, %30\n %32 = zext i32 %29 to i64\n %33 = call i64 @FUNC(i64 %31, i64 %32)\n %34 = load i64, i64* %18, align 8\n %35 = add i64 %34, %20\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = and i64 %37, 4294967295\n %39 = load i64, i64* %9, align 8\n %40 = add i64 %39, %11\n %41 = call i64 @FUNC(i64 %40, i64 %38)\n %42 = add nsw i64 %38, %26\n %43 = call i64 @FUNC(i64 %42, i64 0)\n %44 = load i64, i64* %18, align 8\n %45 = add i64 %44, %20\n %46 = call i64 @FUNC(i64 %45, i64 0)\n ret i64 %46\n\n uselistorder i64 %sext3, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 (i64, i64)* @atomic_set, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @qht_debug_assert, { 2, 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hugetlb_vm_op_close_12079", "fun_name": "hugetlb_vm_op_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %1, i64 %0, i64 %0)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %1, i64 %0, i64 %7)\n %9 = sub i64 %8, %4\n %10 = call i64 @FUNC(i64 %2, i64 %4, i64 %8)\n %11 = sub i64 %9, %10\n %12 = call i64 @FUNC(i64 %2, i64 4198870)\n %13 = icmp eq i64 %11, 0\n store i64 %12, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = sub i64 0, %11\n %15 = call i64 @FUNC(i64 %1, i64 %14)\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20, i64 %11)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64 %0, { 0, 3, 2, 4, 1, 5, 6 }\n uselistorder i64 (i64, i64, i64)* @vma_hugecache_offset, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unix_get_buffer_565", "fun_name": "unix_get_buffer", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.in.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = call i32 @read(i32 %2, i64* %arg2, i32 %arg4)\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i32 %3, i32* %sv_0.0.in.reg2mem\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = and i64 %1, 4294967295\n br label LBL_2\n LBL_2:\n %7 = call i32* @__errno_location()\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 11\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_5, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %6)\n br label LBL_4\n LBL_4:\n %12 = call i32 @read(i32 %2, i64* %arg2, i32 %arg4)\n %13 = icmp eq i32 %12, -1\n %14 = icmp eq i1 %13, false\n store i32 %12, i32* %sv_0.0.in.reg2mem\n br i1 %14, label LBL_7, label LBL_2\n LBL_5:\n %15 = call i32* @__errno_location()\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 4\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_6, label LBL_4\n LBL_6:\n %19 = call i32* @__errno_location()\n %20 = load i32, i32* %19, align 4\n %21 = sub i32 0, %20\n store i32 %21, i32* %sv_0.0.in.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.in.reload = load i32, i32* %sv_0.0.in.reg2mem\n %sv_0.0 = sext i32 %sv_0.0.in.reload to i64\n ret i64 %sv_0.0\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.in.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i1 false, { 1, 3, 2, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 (i32, i64*, i32)* @read, { 1, 0 }\n uselistorder i32 %arg4, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "float32_to_uint32_810", "fun_name": "float32_to_uint32", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = load i128, i128* %0\n %2 = call i64 @FUNC(i128 %1)\n %3 = trunc i64 %2 to i32\n %4 = call i128 @FUNC(i32 %3)\n %5 = call i64 @FUNC()\n %6 = icmp slt i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_1, label LBL_2\n LBL_1:\n %8 = icmp slt i64 %5, 4294967295\n %spec.select = select i1 %8, i64 %5, i64 4294967295\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_create_simple_2377", "fun_name": "pci_create_simple", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i8* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = and i64 %arg2, 4294967295\n %3 = call i64 @FUNC(i64 %1, i64 %2, i64 %0)\n %4 = call i64 @FUNC(i64 %3)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_block_is_passthrough_748", "fun_name": "scsi_block_is_passthrough", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i16* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i8\n %4 = icmp ugt i8 %3, 63\n %5 = trunc i64 %1 to i32\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %6 = icmp ugt i8 %3, 7\n br i1 %6, label LBL_3, label LBL_8\n LBL_2:\n %7 = add i64 %2, 56\n %8 = urem i64 %7, 64\n %9 = lshr i64 21474836485, %8\n %10 = urem i64 %9, 2\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %12, false\n %14 = icmp eq i32 %5, 1\n %or.cond = or i1 %14, %13\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_9\n LBL_3:\n %15 = urem i8 %3, 64\n %16 = icmp eq i8 %15, 0\n %17 = zext i8 %15 to i64\n %18 = shl i64 1, %17\n %rdx.0 = select i1 %16, i64 1, i64 %18\n %19 = and i64 %rdx.0, -4611610152125070080\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = icmp eq i1 %21, false\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_7, label LBL_4\n LBL_4:\n %24 = urem i64 %rdx.0, 3458905251308896257\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n %27 = icmp eq i1 %26, false\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_6, label LBL_8\n LBL_5:\n %.off = add i8 %3, 120\n %29 = icmp ult i8 %.off, 35\n br i1 %29, label LBL_2, label LBL_8\n LBL_6:\n %30 = ptrtoint i16* %arg2 to i64\n %31 = add i64 %30, 1\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = and i8 %33, 6\n %35 = icmp eq i8 %34, 2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %35, label LBL_8, label LBL_9\n LBL_7:\n %.old = icmp eq i32 %5, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %.old, label LBL_8, label LBL_9\n LBL_8:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i8 %3, { 3, 0, 2, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 0, 3, 1, 2 }\n uselistorder i1 false, { 4, 1, 5, 6, 2, 7, 0, 3 }\n uselistorder label LBL_9, { 3, 1, 2, 0 }\n uselistorder label LBL_8, { 2, 3, 1, 5, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cris_cpu_initfn_17150", "fun_name": "cris_cpu_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = inttoptr i64 %2 to i32*\n %5 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %5, align 8\n %6 = call i64 @FUNC(i64 %1, i64 4198831)\n %7 = inttoptr i64 %3 to i32*\n %8 = load i32, i32* %7, align 4\n store i32 %8, i32* %4, align 4\n %9 = call i64 @FUNC(i64 %2, i64 4198824, i64 2)\n %10 = call i64 @FUNC()\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8 %11, 0\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_5, label LBL_1\n LBL_1:\n %13 = load i8, i8* inttoptr (i64 4210725 to i8*), align 1\n %14 = icmp eq i8 %13, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_5, label LBL_2\n LBL_2:\n store i8 1, i8* bitcast (i64* @gv_0 to i8*), align 8\n %15 = load i32, i32* %4, align 4\n %16 = icmp sgt i32 %15, 31\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC()\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %18 = call i64 @FUNC()\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i8 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mlxreg_hotplug_health_work_helper_4613", "fun_name": "mlxreg_hotplug_health_work_helper", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.pre-phi.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %sv_1.02.reg2mem = alloca i64\n %sv_2.04.reg2mem = alloca i32\n %rdi.15.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_3 = alloca i32, align 4\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %4, label LBL_15, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i32* %sv_3 to i64*\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = add i64 %5, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i64*\n store i64 %5, i64* %rdi.15.reg2mem\n store i32 0, i32* %sv_2.04.reg2mem\n store i64 %0, i64* %sv_1.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.02.reload = load i64, i64* %sv_1.02.reg2mem\n %rdi.15.reload = load i64, i64* %rdi.15.reg2mem\n %13 = inttoptr i64 %sv_1.02.reload to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %rdi.15.reload, i64 %15, i64 0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 %17, i32* %sv_0.1.pre-phi.reg2mem\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %19, label LBL_13, label LBL_3\n LBL_3:\n %20 = load i32, i32* %13, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %rdi.15.reload, i64 %21, i64* nonnull %6)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i32 %23, i32* %sv_0.1.pre-phi.reg2mem\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %25, label LBL_13, label LBL_4\n LBL_4:\n %sv_2.04.reload = load i32, i32* %sv_2.04.reg2mem\n %26 = add i64 %sv_1.02.reload, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = load i32, i32* %sv_3, align 4\n %30 = and i32 %29, %28\n store i32 %30, i32* %sv_3, align 4\n store i32 %30, i32* %8, align 4\n %31 = load i32, i32* %sv_3, align 4\n %32 = icmp eq i32 %31, 1\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_8, label LBL_5\n LBL_5:\n %34 = add i64 %sv_1.02.reload, 8\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i32 %36, 1\n store i32 %37, i32* %35, align 4\n %38 = icmp eq i32 %36, 3\n br i1 %38, label LBL_7, label LBL_6\n LBL_6:\n %39 = load i32, i32* %10, align 4\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %rdi.15.reload, i64* %rdi.0.reg2mem\n br i1 %41, label LBL_10, label LBL_7\n LBL_7:\n %42 = load i64, i64* %12, align 8\n %43 = call i64 @FUNC(i64 %42, i64 %sv_1.02.reload)\n %44 = add i64 %sv_1.02.reload, 12\n %45 = inttoptr i64 %44 to i32*\n store i32 1, i32* %45, align 4\n store i64 %42, i64* %rdi.0.reg2mem\n br label LBL_10\n LBL_8:\n %46 = add i64 %sv_1.02.reload, 12\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 0\n store i64 %rdi.15.reload, i64* %rdi.0.reg2mem\n br i1 %49, label LBL_10, label LBL_9\n LBL_9:\n %50 = call i64 @FUNC(i64 %sv_1.02.reload)\n store i32 0, i32* %47, align 4\n %51 = add i64 %sv_1.02.reload, 8\n %52 = inttoptr i64 %51 to i32*\n store i32 0, i32* %52, align 4\n store i64 %sv_1.02.reload, i64* %rdi.0.reg2mem\n br label LBL_10\n LBL_10:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %53 = load i32, i32* %13, align 4\n %54 = add i32 %53, 4\n %55 = zext i32 %54 to i64\n %56 = call i64 @FUNC(i64 %rdi.0.reload, i64 %55, i64 0)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n %59 = icmp eq i1 %58, false\n store i32 %57, i32* %sv_0.1.pre-phi.reg2mem\n store i64 %56, i64* %rax.0.reg2mem\n br i1 %59, label LBL_13, label LBL_11\n LBL_11:\n %60 = load i32, i32* %27, align 4\n %61 = zext i32 %60 to i64\n %62 = load i32, i32* %13, align 4\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i64 %rdi.0.reload, i64 %63, i64 %61)\n %65 = trunc i64 %64 to i32\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i1 %66, false\n store i32 %65, i32* %sv_0.1.pre-phi.reg2mem\n store i64 %64, i64* %rax.0.reg2mem\n br i1 %67, label LBL_13, label LBL_12\n LBL_12:\n %68 = add i32 %sv_2.04.reload, 1\n %69 = add i64 %sv_1.02.reload, 16\n %70 = load i32, i32* %2, align 4\n %71 = zext i32 %70 to i64\n %72 = sext i32 %68 to i64\n %73 = icmp slt i64 %72, %71\n store i64 %rdi.0.reload, i64* %rdi.15.reg2mem\n store i32 %68, i32* %sv_2.04.reg2mem\n store i64 %69, i64* %sv_1.02.reg2mem\n store i32 %65, i32* %sv_0.1.pre-phi.reg2mem\n store i64 %71, i64* %rax.0.reg2mem\n br i1 %73, label LBL_2, label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %sv_0.1.pre-phi.reload = load i32, i32* %sv_0.1.pre-phi.reg2mem\n %74 = icmp eq i32 %sv_0.1.pre-phi.reload, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %74, label LBL_15, label LBL_14\n LBL_14:\n %75 = load i64, i64* %12, align 8\n %76 = call i64 @FUNC(i64 %75, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0))\n store i64 %76, i64* %rax.1.reg2mem\n br label LBL_15\n LBL_15:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %65, { 1, 0, 2 }\n uselistorder i64 %rdi.0.reload, { 2, 1, 0 }\n uselistorder i64 %rdi.15.reload, { 1, 0, 2, 3 }\n uselistorder i64 %sv_1.02.reload, { 9, 0, 3, 6, 4, 2, 1, 5, 7, 8 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i32* %2, { 1, 0 }\n uselistorder i32* %sv_3, { 2, 1, 0, 3 }\n uselistorder i64* %rdi.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i32* %sv_0.1.pre-phi.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64, i64)* @regmap_write, { 2, 1, 0 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n uselistorder label LBL_15, { 1, 2, 0 }\n uselistorder label LBL_13, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "create_flash_2398", "fun_name": "create_flash", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = udiv i64 %7, 2\n %9 = load i64, i64* @gv_0, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_7, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 0, i64 0, i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([135 x i8], [135 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 0, i64 %3, i64 %2, i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_3:\n %15 = load i64, i64* @gv_0, align 8\n %16 = call i64 @FUNC(i64 0, i64 %15)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = load i64, i64* @gv_0, align 8\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_2, i64 0, i64 0), i64 %19, i64 0, i64 %3, i64 %2, i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %21 = call i64 @FUNC(i64 %16, i64 %4, i64 %8)\n %22 = trunc i64 %21 to i32\n %23 = call i64 @FUNC(i64 %16)\n %24 = icmp slt i32 %22, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = load i64, i64* @gv_0, align 8\n %27 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %26, i64 %8, i64 %4, i64 %2, i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i64 %4, i64 %8)\n %29 = add i64 %8, %4\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 %29, i64 %8)\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_6, i64 0, i64 0), i64 %4, i64 %8, i64 %29, i64 %2, i64 %1)\n %32 = add i64 %4, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64 %34, i64 %31)\n %36 = load i64, i64* %33, align 8\n %37 = call i64 @FUNC(i64 %36, i64 %31, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0))\n %38 = load i64, i64* %33, align 8\n %39 = call i64 @FUNC(i64 %38, i64 %31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0), i64 2, i64 %4, i64 2)\n %40 = load i64, i64* %33, align 8\n %41 = call i64 @FUNC(i64 %40, i64 %31, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_10, i64 0, i64 0), i64 4)\n %42 = call i64 @FUNC(i64 %31)\n ret i64 %42\n\n uselistorder i64* %33, { 1, 0, 2, 3 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %16, { 1, 0, 2 }\n uselistorder i64 %8, { 0, 1, 5, 2, 4, 3 }\n uselistorder i64 %4, { 3, 4, 6, 0, 5, 1, 2, 7 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64)* @create_one_flash, { 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder void (i32)* @exit, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 2, 1, 0 }\n uselistorder i64 2, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_exit_13907", "fun_name": "cpu_exit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = call i64 @FUNC(i64 %0)\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mod_destroy_17893", "fun_name": "mod_destroy", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i64, i64* @gv_1, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = load i64, i64* @gv_1, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC()\n ret i64 %11\n\n uselistorder i64 (i64)* @pkg_free, { 1, 0 }\n uselistorder i64 (i64)* @shm_free, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "b43_controller_restart_10293", "fun_name": "b43_controller_restart", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i8* %arg2 to i64\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0), i64 %4)\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ahci_irq_raise_3293", "fun_name": "ahci_irq_raise", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\n %2 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i64 %1, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %1, i64 0)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_logicq_cc_957", "fun_name": "gen_logicq_cc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = and i64 %arg1, 4294967295\n %2 = and i64 %0, 4294967295\n %3 = call i64 @FUNC(i64 %2, i64 %1)\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %2)\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_state_waitlisthead_14951", "fun_name": "ehci_state_waitlisthead", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %sv_2 = alloca i32, align 4\n %4 = trunc i64 %arg2 to i32\n %5 = icmp eq i32 %4, 0\n %.pre = ptrtoint i32* %arg1 to i64\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %.pre, i64 1)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = trunc i64 %2 to i32\n %9 = and i64 %7, 4294967295\n %10 = call i64 @FUNC(i64 %.pre, i64 %9)\n %11 = bitcast i32* %sv_2 to i64*\n %12 = icmp ne i32 %3, %8\n store i32 0, i32* %storemerge6.reg2mem\n store i32 %8, i32* %sv_1.15.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem\n %13 = call i64 @FUNC(i64 %.pre, i32 %sv_1.15.reload, i64* nonnull %11, i64 2)\n %14 = zext i32 %sv_1.15.reload to i64\n %15 = call i64 @FUNC(i64 0, i64 %14, i64* nonnull %11)\n %16 = load i32, i32* %sv_2, align 4\n %17 = urem i32 %16, 2\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = trunc i64 %7 to i32\n %20 = icmp eq i32 %19, 0\n %21 = or i32 %sv_1.15.reload, 4\n %spec.select = select i1 %20, i32 %sv_1.15.reload, i32 %21\n %22 = call i64 @FUNC(i64 %.pre, i64 %9, i32 %spec.select)\n %23 = call i64 @FUNC(i64 %.pre, i64 %9, i64 3)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_5:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %24 = add nuw nsw i32 %storemerge6.reload, 1\n %25 = icmp ult i32 %24, 128\n %or.cond = icmp eq i1 %12, %25\n store i32 %24, i32* %storemerge6.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %.pre, i64 %9, i64 4)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i32 %sv_1.15.reload, { 3, 2, 1, 0 }\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64 %.pre, { 0, 2, 1, 3, 4, 5 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @ehci_set_state, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_neon_widen_16534", "fun_name": "gen_neon_widen", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 0\n %2 = trunc i64 %arg1 to i32\n %3 = icmp eq i32 %2, 2\n br i1 %1, label LBL_8, label LBL_1\n LBL_1:\n br i1 %3, label LBL_6, label LBL_2\n LBL_2:\n %4 = icmp sgt i32 %2, 2\n br i1 %4, label LBL_7, label LBL_3\n LBL_3:\n switch i32 %2, label LBL_7 [\n i32 0, label LBL_4\n i32 1, label LBL_5\n ]\n LBL_4:\n %5 = call i64 @FUNC()\n br label LBL_15\n LBL_5:\n %6 = call i64 @FUNC()\n br label LBL_15\n LBL_6:\n %7 = call i64 @FUNC()\n br label LBL_15\n LBL_7:\n call void @abort()\n unreachable\n LBL_8:\n br i1 %3, label LBL_13, label LBL_9\n LBL_9:\n %8 = icmp sgt i32 %2, 2\n br i1 %8, label LBL_14, label LBL_10\n LBL_10:\n switch i32 %2, label LBL_14 [\n i32 0, label LBL_11\n i32 1, label LBL_12\n ]\n LBL_11:\n %9 = call i64 @FUNC()\n br label LBL_15\n LBL_12:\n %10 = call i64 @FUNC()\n br label LBL_15\n LBL_13:\n %11 = call i64 @FUNC()\n br label LBL_15\n LBL_14:\n call void @abort()\n unreachable\n LBL_15:\n %12 = call i64 @FUNC()\n ret i64 %12\n\n uselistorder i1 %3, { 1, 0 }\n uselistorder i32 %2, { 0, 3, 1, 2, 4 }\n uselistorder void ()* @abort, { 1, 0 }\n uselistorder i32 1, { 7, 8, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 2, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "print_signed_nanoseconds_9481", "fun_name": "print_signed_nanoseconds", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.in.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i128 %1)\n %3 = call i128 @__asm_movsd.1(i64 %2)\n %4 = call i128 @FUNC(i64 9223372036854775807)\n %5 = call i128 @FUNC(i128 %3, i128 %4)\n %6 = call i64 @FUNC(i128 %5)\n %7 = sext i64 %6 to i128\n %8 = call i128 @__asm_movsd.1(i64 4532020288463030357)\n call void @FUNC(i128 %8, i128 %7)\n %9 = icmp ugt i64* %sv_0, inttoptr (i64 32 to i64*)\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = call i128 @__asm_movsd.1(i64 %2)\n %11 = call i128 @__asm_movsd.1(i64 4741671816366391296)\n %12 = call i128 @FUNC(i128 %10, i128 %11)\n %13 = call i64 @__asm_movq.2(i128 %12)\n %14 = call i128 @FUNC(i64 %13)\n %15 = trunc i128 %14 to i64\n %16 = bitcast i64 %15 to double\n %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), double %16)\n store i32 %17, i32* %rax.0.in.reg2mem\n br label LBL_3\n LBL_2:\n %18 = call i128 @__asm_movsd.1(i64 4576917941073711523)\n call void @FUNC(i128 %18, i128 %7)\n %19 = call i128 @__asm_movsd.1(i64 4621818836113994809)\n call void @FUNC(i128 %19, i128 %7)\n %20 = call i128 @__asm_movsd.1(i64 4652002910794678272)\n call void @FUNC(i128 %20, i128 %7)\n %21 = call i128 @__asm_movsd.1(i64 4681608326524436480)\n call void @FUNC(i128 %21, i128 %7)\n %22 = call i128 @__asm_movsd.1(i64 4708200429706543104)\n call void @FUNC(i128 %22, i128 %7)\n %23 = call i128 @__asm_movsd.1(i64 4734819376300032000)\n call void @FUNC(i128 %23, i128 %7)\n %24 = call i128 @__asm_movsd.1(i64 4755827432546631680)\n call void @FUNC(i128 %24, i128 %7)\n %25 = call i128 @__asm_movsd.1(i64 %2)\n %26 = call i128 @__asm_movsd.1(i64 4719230590769954816)\n %27 = call i128 @FUNC(i128 %25, i128 %26)\n %28 = call i64 @__asm_movq.2(i128 %27)\n %29 = call i128 @FUNC(i64 %28)\n %30 = trunc i128 %29 to i64\n %31 = bitcast i64 %30 to double\n %32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), double %31)\n store i32 %32, i32* %rax.0.in.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = sext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_set_status_294", "fun_name": "qvirtio_pci_set_status", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i32*\n %2 = load i32, i32* %1, align 4\n %3 = urem i64 %arg2, 256\n %4 = call i64 @FUNC(i64 %arg1, i32 %2, i64 0, i64 %3)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "consdiffmgr_find_consensus_18251", "fun_name": "consdiffmgr_find_consensus", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = and i64 %arg3, 4294967295\n %1 = trunc i64 %arg2 to i32\n %2 = add i32 %1, -1\n %3 = sub i32 0, %1\n %4 = and i32 %1, %3\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i32 %2, 0\n %7 = icmp slt i32 %2, 0\n %8 = icmp ne i1 %7, %5\n %9 = or i1 %6, %8\n %10 = zext i1 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_1, label LBL_3\n LBL_1:\n %sext3 = mul i64 %12, 4294967296\n %16 = ashr exact i64 %sext3, 32\n %17 = mul i64 %arg2, 2\n %18 = and i64 %17, 8589934590\n %19 = add nsw i64 %16, %18\n %20 = mul i64 %19, 8\n %21 = add i64 %20, ptrtoint (i64* @gv_0 to i64)\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_2, label LBL_3\n LBL_2:\n %26 = call i64 @FUNC(i64 %23)\n store i64 %26, i64* %arg1, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i32 0, { 2, 3, 4, 5, 0, 1, 6, 7 }\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_blk_handle_read_2597", "fun_name": "virtio_blk_handle_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = and i64 %6, %1\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %4, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = sext i32 %17 to i64\n %19 = urem i64 %12, %18\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %22 = udiv i64 %12, 512\n %23 = add i64 %4, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %1, i64 %10, i64 %22, i64 4198742, i64 %0, i64 %1)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %26, i64* %rax.0.reg2mem\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64 %0, { 0, 4, 3, 1, 2, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64 (i64, i64)* @virtio_blk_rw_complete, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tas2552_sw_shutdown_18864", "fun_name": "tas2552_sw_shutdown", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 0\n %. = zext i1 %2 to i64\n %3 = call i64 @FUNC(i64 %0, i64 2, i64 1, i64 %.)\n ret i64 %3\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "do_poll_6669", "fun_name": "do_poll", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = trunc i64 %1 to i32\n %6 = icmp ult i32 %5, 129\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_15\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = and i64 %1, 4294967295\n %12 = call i64 @FUNC(i64 %10, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 -14, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_15\n LBL_2:\n %16 = add i64 %2, 24\n %17 = call i64 @FUNC(i64 0, i64 %16)\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 -1, i64* %19, align 8\n %20 = add i64 %4, 8\n %21 = add i64 %2, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %20)\n %26 = call i64 @FUNC(i64 %2)\n %27 = call i64 @FUNC()\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_14, label LBL_3\n LBL_3:\n %31 = bitcast i64* %rdi to i32*\n %32 = load i32, i32* %31, align 8\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_11, label LBL_4\n LBL_4:\n %34 = bitcast i32* %sv_1 to i64*\n %35 = add i64 %4, 4\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %37 = load i64, i64* %9, align 8\n %38 = call i64 @FUNC(i64* nonnull %34, i64 %37, i32 %storemerge4.reload, i64 1)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 -14, i64* %sv_0.0.reg2mem\n br i1 %41, label LBL_14, label LBL_6\n LBL_6:\n %42 = load i32, i32* %36, align 4\n %43 = load i32, i32* %sv_1, align 4\n %44 = icmp ugt i32 %42, %43\n store i64 -22, i64* %sv_0.0.reg2mem\n br i1 %44, label LBL_7, label LBL_14\n LBL_7:\n %45 = zext i32 %43 to i64\n %46 = call i64 @FUNC(i64 %4, i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %49, label LBL_14, label LBL_8\n LBL_8:\n %50 = add nuw i32 %storemerge4.reload, 1\n %51 = icmp ult i32 %50, %32\n store i32 %50, i32* %storemerge4.reg2mem\n br i1 %51, label LBL_5, label LBL_9\n LBL_9:\n %phitmp = icmp eq i32 %32, 1\n %phitmp6 = icmp eq i1 %phitmp, false\n br i1 %phitmp6, label LBL_11, label LBL_10\n LBL_10:\n %52 = load i32, i32* %sv_1, align 4\n %53 = zext i32 %52 to i64\n store i64 %53, i64* %19, align 8\n br label LBL_11\n LBL_11:\n %54 = add i64 %7, 16\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = icmp eq i64 %56, 0\n br i1 %57, label LBL_13, label LBL_12\n LBL_12:\n %58 = add i64 %2, 28\n %59 = call i64 @FUNC(i64 %58, i64 %56)\n br label LBL_13\n LBL_13:\n %60 = inttoptr i64 %4 to i32*\n %61 = load i32, i32* %22, align 4\n %62 = load i32, i32* %60, align 4\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i64 1, i64 %63, i32 %61)\n %65 = call i64 @FUNC(i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 0, i64* %19, align 8\n %66 = load i32, i32* %22, align 4\n %67 = zext i32 %66 to i64\n %68 = call i64 @FUNC(i64 %67, i64 %20)\n %69 = call i64 @FUNC(i64 0, i64 %16)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %22, { 1, 0, 2 }\n uselistorder i64* %19, { 1, 0, 2 }\n uselistorder i64 %4, { 3, 0, 1, 2 }\n uselistorder i64 %2, { 0, 2, 1, 4, 3, 5 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @clear_bit, { 1, 0 }\n uselistorder i64 (i64, i64)* @set_bit, { 1, 0 }\n uselistorder i64 -14, { 1, 0 }\n uselistorder i64 -22, { 1, 0 }\n uselistorder label LBL_15, { 2, 3, 0, 1 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ofputil_packet_in_format_from_string_8369", "fun_name": "ofputil_packet_in_format_from_string", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %2 = icmp eq i32 %1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_5, label LBL_1\n LBL_1:\n %3 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0))\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_5, label LBL_2\n LBL_2:\n %5 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n %6 = icmp eq i32 %5, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_5, label LBL_3\n LBL_3:\n %7 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_3, i64 0, i64 0))\n %8 = icmp eq i32 %7, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n %9 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0))\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %. = select i1 %11, i64 4294967295, i64 2\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 0, 3, 1, 2, 4 }\n uselistorder label LBL_5, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hardif_add_interface_5433", "fun_name": "hardif_add_interface", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 56, i64 0)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n br label LBL_6\n LBL_3:\n %10 = add i64 %6, 48\n %11 = call i64 @FUNC(i64 %10, i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = add i64 %6, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 -1, i32* %16, align 4\n %17 = inttoptr i64 %6 to i64*\n store i64 %0, i64* %17, align 8\n %18 = add i64 %6, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %19, align 8\n %20 = add i64 %6, 24\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %6, 32\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %6, 40\n %25 = call i64 @FUNC(i64 %24, i64 2)\n %26 = load i64, i64* %17, align 8\n %27 = call i64 @FUNC(i64 %26)\n %28 = call i64 @FUNC(i64* nonnull @gv_1)\n %29 = call i64 @FUNC(i64 %22, i64* nonnull @gv_2)\n %30 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_5:\n %31 = call i64 @FUNC(i64 %6)\n br label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 6, 0, 2, 1, 3, 4, 5, 7, 8, 9 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2 }\n uselistorder label LBL_7, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "genl_lock_done_10622", "fun_name": "genl_lock_done", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC()\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC()\n store i64 %3, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vc1test_write_header_2810", "fun_name": "vc1test_write_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %3 to i32\n %7 = icmp eq i32 %6, 1\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11, i64 0)\n %13 = call i64 @FUNC(i64 %11, i64 197)\n %14 = call i64 @FUNC(i64 %11, i64 4)\n %15 = load i64, i64* %10, align 8\n %16 = call i64 @FUNC(i64 %11, i64 %15, i64 4)\n %17 = add i64 %5, 16\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %11, i64 %20)\n %22 = add i64 %5, 20\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %11, i64 %25)\n %27 = call i64 @FUNC(i64 %11, i64 12)\n %28 = call i64 @FUNC(i64 %11, i64 0)\n %29 = call i64 @FUNC(i64 %11, i64 128)\n %30 = call i64 @FUNC(i64 %11, i64 0)\n %31 = add i64 %11, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_5, label LBL_3\n LBL_3:\n %35 = add i64 %11, 12\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 1\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_5, label LBL_4\n LBL_4:\n %40 = zext i32 %33 to i64\n %41 = call i64 @FUNC(i64 %11, i64 %40)\n br label LBL_6\n LBL_5:\n %42 = call i64 @FUNC(i64 %11, i64 4294967295)\n br label LBL_6\n LBL_6:\n %43 = call i64 @FUNC(i64 %11, i64 32, i64 1, i64 1000)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %11, { 0, 3, 2, 1, 8, 9, 7, 6, 5, 4, 11, 10, 14, 13, 12 }\n uselistorder i64 %5, { 1, 2, 3, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_wl32, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @avio_w8, { 1, 0 }\n uselistorder i64 (i64, i64)* @avio_wl24, { 1, 0 }\n uselistorder i64 0, { 0, 3, 4, 5, 6, 1, 2, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fdctrl_read_data_942", "fun_name": "fdctrl_read_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.1.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %3 to i32\n %9 = and i32 %8, -2\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n %11 = add i64 %6, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = and i32 %13, 2\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = and i32 %13, 4\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = zext i32 %9 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %19, i64 %5, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %21 = add i64 %6, 8\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = urem i32 %23, 512\n %25 = and i32 %13, 8\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i32 %24, 0\n %28 = icmp eq i1 %27, false\n %or.cond = or i1 %26, %28\n br i1 %or.cond, label LBL_3.LBL_10_crit_edge, label LBL_5\n LBL_4:\n %.pre = add i64 %6, 16\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_10\n LBL_5:\n %29 = icmp eq i32 %23, 0\n br i1 %29, label LBL_8, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %6, i64 %7)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_8, label LBL_7\n LBL_7:\n %34 = call i64 @FUNC(i64 %7)\n %35 = and i64 %34, 4294967295\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %35, i64 %7, i64 %5, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_8:\n %37 = inttoptr i64 %7 to i32*\n %38 = add i64 %6, 16\n %39 = call i64 @FUNC(i64 %7)\n %40 = and i64 %39, 4294967295\n %41 = load i32, i32* %37, align 4\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %42, i64 %40, i64 %38, i64 1)\n %44 = trunc i64 %43 to i32\n %45 = icmp slt i32 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 %38, i64* %.pre-phi.reg2mem\n store i64 1, i64* %rcx.0.reg2mem\n br i1 %46, label LBL_10, label LBL_9\n LBL_9:\n %47 = call i64 @FUNC(i64 %7)\n %48 = and i64 %47, 4294967295\n %49 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %48, i64 %38, i64 1, i64 %2, i64 %1)\n %50 = inttoptr i64 %38 to i64*\n %51 = call i64* @memset(i64* %50, i32 0, i32 512)\n store i64 %38, i64* %.pre-phi.reg2mem\n store i64 1, i64* %rcx.0.reg2mem\n br label LBL_10\n LBL_10:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %52 = zext i32 %24 to i64\n %53 = add i64 %.pre-phi.reload, %52\n %54 = inttoptr i64 %53 to i8*\n %55 = load i8, i8* %54, align 1\n %56 = load i32, i32* %22, align 4\n %57 = add i32 %56, 1\n store i32 %57, i32* %22, align 4\n %58 = zext i32 %57 to i64\n %59 = add i64 %6, 12\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = icmp eq i32 %57, %61\n %63 = icmp eq i1 %62, false\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n store i64 %58, i64* %rdx.0.reg2mem\n br i1 %63, label LBL_14, label LBL_11\n LBL_11:\n store i32 0, i32* %22, align 4\n %64 = load i32, i32* %12, align 4\n %65 = and i32 %64, 8\n %66 = icmp eq i32 %65, 0\n br i1 %66, label LBL_13, label LBL_12\n LBL_12:\n %67 = call i64 @FUNC(i64 %6, i64 0, i64 0, i64 0)\n store i64 0, i64* %rcx.1.reg2mem\n store i64 0, i64* %rdx.0.reg2mem\n br label LBL_14\n LBL_13:\n %68 = call i64 @FUNC(i64 %6)\n %69 = call i64 @FUNC(i64 %6)\n store i64 %rcx.0.reload, i64* %rcx.1.reg2mem\n store i64 %58, i64* %rdx.0.reg2mem\n br label LBL_14\n LBL_14:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %70 = zext i8 %55 to i64\n %71 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_3, i64 0, i64 0), i64 %70, i64 %rdx.0.reload, i64 %rcx.1.reload, i64 %2, i64 %1)\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %57, { 1, 0, 2 }\n uselistorder i64 %38, { 1, 2, 3, 0, 4 }\n uselistorder i32 %23, { 1, 0 }\n uselistorder i32* %22, { 0, 2, 1, 3 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %7, { 0, 1, 5, 3, 2, 4 }\n uselistorder i64 %6, { 4, 5, 3, 6, 2, 1, 0, 7, 8, 9 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rdx.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 4, 0, 5, 2, 3 }\n uselistorder i64 (i64)* @fd_sector, { 2, 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 8, { 1, 2, 0 }\n uselistorder i32 512, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @FLOPPY_DPRINTF, { 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4 }\n uselistorder i32 0, { 2, 3, 1, 4, 5, 6, 0, 7, 8, 9 }\n uselistorder label LBL_10, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uninit_opts_301", "fun_name": "uninit_opts", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %0 = mul i64 %indvars.iv.reload, 8\n %1 = add i64 %0, ptrtoint (i64* @gv_0 to i64)\n %2 = call i64 @FUNC(i64 %1)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %3 = load i64, i64* @gv_1, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 ptrtoint (i64* @gv_1 to i64))\n %6 = call i64 @FUNC(i64 ptrtoint (i64* @gv_2 to i64))\n %7 = call i64 @FUNC(i64 ptrtoint (i64* @gv_3 to i64))\n %8 = call i64 @FUNC(i64 ptrtoint (i64* @gv_4 to i64))\n ret i64 %8\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_freep, { 4, 3, 2, 1, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_new_config_info_13474", "fun_name": "read_new_config_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i32\n %sv_1.13.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i8*\n %storemerge25.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %7, align 4\n %8 = add i64 %3, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %3, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %3, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_2, label LBL_1\n LBL_1:\n %18 = inttoptr i64 %16 to i64*\n call void @free(i64* %18)\n store i64 0, i64* %15, align 8\n br label LBL_2\n LBL_2:\n %19 = trunc i64 %1 to i32\n %20 = icmp slt i32 %19, 2\n store i64 1, i64* %storemerge.reg2mem\n br i1 %20, label LBL_16, label LBL_3\n LBL_3:\n %21 = inttoptr i64 %6 to i8*\n %22 = add i64 %6, 1\n %23 = load i8, i8* %21, align 1\n %24 = zext i8 %23 to i32\n store i32 %24, i32* %13, align 4\n %25 = load i32, i32* %11, align 4\n %26 = and i32 %25, -256\n %27 = inttoptr i64 %22 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i32\n %30 = or i32 %26, %29\n store i32 %30, i32* %11, align 4\n %31 = icmp eq i32 %19, 2\n store i64 1, i64* %storemerge.reg2mem\n br i1 %31, label LBL_16, label LBL_4\n LBL_4:\n %32 = add i64 %6, 2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i32\n %36 = mul i32 %35, 65536\n store i32 %36, i32* %9, align 4\n %37 = icmp eq i32 %19, 3\n br i1 %37, label LBL_15, label LBL_5\n LBL_5:\n %38 = add i64 %6, 3\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i32\n %42 = or i32 %36, %41\n store i32 %42, i32* %9, align 4\n %43 = add i32 %19, -4\n %44 = icmp eq i32 %43, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %44, label LBL_16, label LBL_6\n LBL_6:\n %45 = icmp sgt i32 %43, %41\n store i64 0, i64* %storemerge.reg2mem\n br i1 %45, label LBL_16, label LBL_7\n LBL_7:\n %46 = call i64* @malloc(i32 %41)\n %47 = ptrtoint i64* %46 to i64\n store i64 %47, i64* %15, align 8\n %48 = icmp eq i64* %46, null\n %49 = icmp eq i8 %40, 0\n %or.cond = or i1 %49, %48\n store i64 1, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_16, label LBL_8\n LBL_8:\n %50 = add i64 %6, 4\n %51 = inttoptr i64 %50 to i8*\n %wide.trip.count = zext i8 %40 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %storemerge25.reg2mem\n store i8* %51, i8** %sv_0.14.reg2mem\n store i32 %43, i32* %sv_1.13.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem\n %sv_0.14.reload = load i8*, i8** %sv_0.14.reg2mem\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %52 = icmp eq i32 %sv_1.13.reload, 0\n br i1 %52, label LBL_13, label LBL_10\n LBL_10:\n %53 = load i64, i64* %15, align 8\n %54 = add i64 %53, %indvars.iv.reload\n %55 = load i8, i8* %sv_0.14.reload, align 1\n %56 = inttoptr i64 %54 to i8*\n store i8 %55, i8* %56, align 1\n %57 = load i64, i64* %15, align 8\n %58 = add i64 %57, %indvars.iv.reload\n %59 = inttoptr i64 %58 to i8*\n %60 = load i8, i8* %59, align 1\n %61 = icmp ugt i8 %40, %60\n br i1 %61, label LBL_12, label LBL_11\n LBL_11:\n store i8 0, i8* %59, align 1\n br label LBL_12\n LBL_12:\n %62 = ptrtoint i8* %sv_0.14.reload to i64\n %63 = add i64 %62, 1\n %64 = inttoptr i64 %63 to i8*\n %65 = add i32 %sv_1.13.reload, -1\n store i32 %65, i32* %sv_1.0.reg2mem\n store i8* %64, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_13:\n %66 = load i64, i64* %15, align 8\n %67 = add i64 %66, %indvars.iv.reload\n %68 = trunc i32 %storemerge25.reload to i8\n %69 = inttoptr i64 %67 to i8*\n store i8 %68, i8* %69, align 1\n store i32 0, i32* %sv_1.0.reg2mem\n store i8* %sv_0.14.reload, i8** %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %70 = add nuw nsw i32 %storemerge25.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %70, i32* %storemerge25.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.14.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.13.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %exitcond, label LBL_16, label LBL_9\n LBL_15:\n %71 = add i64 %3, 12\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = add i32 %73, %36\n store i32 %74, i32* %9, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i32 %storemerge25.reload, { 1, 0 }\n uselistorder i32 %41, { 2, 1, 0 }\n uselistorder i8 %40, { 2, 1, 0, 3 }\n uselistorder i32 %36, { 1, 2, 0 }\n uselistorder i32 %19, { 1, 3, 2, 0 }\n uselistorder i64* %15, { 3, 1, 2, 4, 0, 5 }\n uselistorder i32* %9, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 0, 1, 3, 2, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 6, 1, 5, 7, 4, 3, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 1, { 5, 0, 6, 7, 4, 3, 2, 8, 1 }\n uselistorder i32 0, { 0, 4, 1, 5, 2, 3, 6 }\n uselistorder label LBL_16, { 5, 0, 4, 6, 3, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vhost_vdpa_config_put_7230", "fun_name": "vhost_vdpa_config_put", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_2\n LBL_2:\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_handle_read_10844", "fun_name": "virtio_blk_handle_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 24\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = and i64 %6, %1\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %4, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = urem i64 %12, %18\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %22 = udiv i64 %12, 512\n %23 = add i64 %4, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = and i64 %22, 4294967295\n %27 = call i64 @FUNC(i64 %25, i64 %1, i64 %10, i64 %26, i64 4198679, i64 %0)\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %27, i64* %rax.0.reg2mem\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 0, 4, 3, 1, 2, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64 (i64, i64)* @virtio_blk_rw_complete, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_uid_7342", "fun_name": "parse_uid", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = call i64 @FUNC(i64 1)\n %3 = call i64 @FUNC(i64 %arg1, i64 10, i32* nonnull %sv_0)\n %4 = trunc i64 %3 to i32\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = and i64 %3, 4294967295\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %8 = load i32, i32* %sv_0, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967290, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_7\n LBL_5:\n %14 = icmp eq i64* %arg2, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_7, label LBL_6\n LBL_6:\n %15 = load i32, i32* %sv_0, align 4\n %16 = bitcast i64* %arg2 to i32*\n store i32 %15, i32* %16, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_0, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_7, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ims_pcu_parse_cdc_data_5555", "fun_name": "ims_pcu_parse_cdc_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_13\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = inttoptr i64 %5 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %8, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = zext i32 %10 to i64\n %15 = call i64 @FUNC(i64 %13, i64 %14)\n store i64 %15, i64* %arg2, align 8\n %16 = icmp eq i32 %10, 0\n %17 = icmp eq i1 %16, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %17, label LBL_2, label LBL_13\n LBL_2:\n %18 = add nuw nsw i64 %14, 4\n %19 = add i64 %8, 24\n %20 = inttoptr i64 %19 to i64*\n store i64 %18, i64* %20, align 8\n %21 = call i64 @FUNC(i64 %18)\n %sext = mul i64 %21, 4294967296\n %22 = ashr exact i64 %sext, 32\n %23 = add i64 %8, 48\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = add i64 %5, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = load i64, i64* %12, align 8\n %29 = zext i32 %27 to i64\n %30 = call i64 @FUNC(i64 %28, i64 %29)\n %31 = add i64 %8, 8\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n %33 = icmp eq i64 %30, 0\n %34 = icmp eq i1 %33, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %34, label LBL_3, label LBL_13\n LBL_3:\n %35 = inttoptr i64 %30 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 2\n br i1 %39, label LBL_5, label LBL_4\n LBL_4:\n %40 = add i64 %8, 72\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i64 %42, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i32 %38, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_5:\n %44 = add i64 %36, 4\n %45 = add i64 %8, 32\n %46 = inttoptr i64 %45 to i64*\n store i64 %44, i64* %46, align 8\n %47 = call i64 @FUNC(i64 %44)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_7, label LBL_6\n LBL_6:\n %51 = add i64 %8, 72\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = trunc i64 %44 to i32\n %55 = call i64 @FUNC(i64 %53, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 %54, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_7:\n %56 = load i64, i64* %46, align 8\n %57 = call i64 @FUNC(i64 %56)\n %sext3 = mul i64 %57, 4294967296\n %58 = ashr exact i64 %sext3, 32\n %59 = add i64 %8, 56\n %60 = inttoptr i64 %59 to i64*\n store i64 %58, i64* %60, align 8\n %61 = icmp ult i64 %58, 8\n br i1 %61, label LBL_8, label LBL_9\n LBL_8:\n %62 = add i64 %8, 72\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = trunc i64 %58 to i32\n %66 = call i64 @FUNC(i64 %64, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i32 %65, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_9:\n %67 = add i64 %36, 8\n %68 = add i64 %8, 40\n %69 = inttoptr i64 %68 to i64*\n store i64 %67, i64* %69, align 8\n %70 = call i64 @FUNC(i64 %67)\n %71 = trunc i64 %70 to i32\n %72 = icmp eq i32 %71, 0\n %73 = icmp eq i1 %72, false\n br i1 %73, label LBL_11, label LBL_10\n LBL_10:\n %74 = add i64 %8, 72\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = trunc i64 %67 to i32\n %78 = call i64 @FUNC(i64 %76, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_3, i64 0, i64 0), i32 %77, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_11:\n %79 = load i64, i64* %69, align 8\n %80 = call i64 @FUNC(i64 %79)\n %sext4 = mul i64 %80, 4294967296\n %81 = ashr exact i64 %sext4, 32\n %82 = add i64 %8, 64\n %83 = inttoptr i64 %82 to i64*\n store i64 %81, i64* %83, align 8\n %84 = icmp ult i64 %81, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %84, label LBL_12, label LBL_13\n LBL_12:\n %85 = add i64 %8, 72\n %86 = inttoptr i64 %85 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = trunc i64 %81 to i32\n %89 = call i64 @FUNC(i64 %87, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_4, i64 0, i64 0), i32 %88, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %81, { 1, 0, 2 }\n uselistorder i64 %67, { 1, 0, 2 }\n uselistorder i64 %58, { 1, 0, 2 }\n uselistorder i64 %44, { 1, 0, 2 }\n uselistorder i64 %30, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9, 10, 11, 12 }\n uselistorder i64 %3, { 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 7, 9, 6, 5, 2, 3, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @dev_err, { 4, 3, 2, 1, 0 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n uselistorder i64 32, { 0, 1, 3, 2 }\n uselistorder i64 (i64)* @usb_endpoint_maxp, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @usb_ifnum_to_if, { 1, 0 }\n uselistorder i64 4294967274, { 6, 5, 7, 4, 3, 0, 1, 2 }\n uselistorder label LBL_13, { 4, 0, 5, 6, 7, 8, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_slirp_redir_17057", "fun_name": "net_slirp_redir", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 272)\n %4 = call i64 @FUNC(i64 %3, i64 256, i64 %arg1)\n %5 = add i64 %3, 256\n %6 = inttoptr i64 %5 to i32*\n store i32 3, i32* %6, align 4\n %7 = load i64, i64* @gv_1, align 8\n %8 = add i64 %3, 264\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n store i64 %3, i64* @gv_1, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull @gv_0)\n %11 = call i64 @FUNC(i64 %10, i64 %arg1, i64 1)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 256, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "setPath_13797", "fun_name": "setPath", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i32 %arg4, i64* %arg5, i32 %arg6, i64 %arg7, i64 %arg8) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = sext i32 %arg6 to i64\n %1 = ptrtoint i64* %arg5 to i64\n %sv_1 = alloca i32, align 4\n %2 = call i64 @FUNC()\n %3 = add i64 %0, %arg3\n %4 = inttoptr i64 %3 to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp eq i8 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = sext i32 %arg4 to i64\n %8 = add i32 %arg6, 1\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %7, i64 %1, i64 %0)\n br label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = ptrtoint i32* %sv_1 to i64\n %13 = bitcast i32* %sv_1 to i64*\n %14 = call i64 @FUNC(i64 %11, i64* nonnull %13, i64 0)\n %15 = trunc i64 %14 to i32\n %16 = icmp sgt i32 %15, 6\n br i1 %16, label LBL_8, label LBL_3\n LBL_3:\n %17 = icmp sgt i32 %15, 4\n br i1 %17, label LBL_7, label LBL_4\n LBL_4:\n switch i32 %15, label LBL_8 [\n i32 1, label LBL_5\n i32 3, label LBL_6\n ]\n LBL_5:\n %18 = and i64 %14, 4294967295\n %19 = call i64 @FUNC(i64 %1, i64 %18, i64 0)\n %20 = call i64 @FUNC(i64 %11, i64 %arg2, i64 %arg3, i32 %arg4, i64 %1, i32 %arg6, i64 %arg7)\n %21 = call i64 @FUNC(i64 %11, i64* nonnull %13, i64 0)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 2\n %24 = zext i1 %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = and i64 %21, 4294967295\n %27 = call i64 @FUNC(i64 %1, i64 %26, i64 0)\n store i64 %27, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %28 = and i64 %14, 4294967295\n %29 = call i64 @FUNC(i64 %1, i64 %28, i64 0)\n %30 = call i64 @FUNC(i64 %11, i64 %arg2, i64 %arg3, i32 %arg4, i64 %1, i32 %arg6, i64 %arg7)\n %31 = call i64 @FUNC(i64 %11, i64* nonnull %13, i64 1)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 4\n %34 = zext i1 %33 to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = and i64 %31, 4294967295\n %37 = call i64 @FUNC(i64 %1, i64 %36, i64 0)\n store i64 %37, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n %38 = and i64 %14, 4294967295\n %39 = call i64 @FUNC(i64 %1, i64 %38, i64 %12)\n store i64 %39, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %40 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %12, i64 %1, i64 %0)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %14, { 0, 2, 1, 3 }\n uselistorder i64 %11, { 1, 0, 3, 2, 4 }\n uselistorder i32* %sv_1, { 1, 0 }\n uselistorder i64 %1, { 8, 7, 1, 3, 2, 4, 6, 5, 0 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64)* @Assert, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @pushJsonbValue, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 0, 4, 2, 3, 1, 5, 6 }\n uselistorder i64 (i64, i64*, i64)* @JsonbIteratorNext, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @elog, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 %arg7, { 1, 0 }\n uselistorder i32 %arg6, { 1, 2, 0, 3 }\n uselistorder i64 %arg3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "remove_port_3579", "fun_name": "remove_port", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = icmp eq i32 %1, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = udiv i64 %2, 8\n %5 = and i64 %4, 536870908\n %6 = add i64 %5, %0\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = trunc i64 %2 to i32\n %10 = urem i32 %9, 32\n %11 = icmp eq i32 %10, 0\n %12 = shl i32 -1, %10\n %phitmp = add i32 %12, -1\n %storemerge = select i1 %11, i32 -2, i32 %phitmp\n %13 = and i32 %8, %storemerge\n store i32 %13, i32* %7, align 4\n br label LBL_2\n LBL_2:\n %14 = and i64 %2, 4294967295\n %15 = call i64 @FUNC(i64 %0, i64 %14)\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %18 = inttoptr i64 %15 to i32*\n %19 = add i64 %15, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %15, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = and i64 %21, 4294967295\n %26 = call i64 @FUNC(i64 %24, i64 %25)\n %27 = load i32, i32* %18, align 4\n %28 = call i64 @FUNC(i64 %0, i32 %27, i64 0, i64 1)\n ret i64 %28\n\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_ioreq_pio_16623", "fun_name": "cpu_ioreq_pio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %7 = select i1 %6, i32 1, i32 -1\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_6, label LBL_1\n LBL_1:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_2, label LBL_4\n LBL_2:\n %16 = add i64 %2, 12\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_12, label LBL_3\n LBL_3:\n %20 = add i64 %2, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = add i64 %2, 20\n %23 = inttoptr i64 %22 to i32*\n %24 = add i64 %2, 24\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_5\n LBL_4:\n %26 = add i64 %2, 16\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %2, 20\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %28 to i64\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %32)\n %35 = trunc i64 %34 to i32\n %36 = add i64 %2, 24\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n store i64 %34, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %38 = load i32, i32* %21, align 4\n %39 = load i32, i32* %23, align 4\n %40 = zext i32 %38 to i64\n %41 = zext i32 %39 to i64\n %42 = call i64 @FUNC(i64 %41, i64 %40)\n %43 = trunc i64 %42 to i32\n store i32 %43, i32* %sv_1, align 4\n %44 = load i32, i32* %21, align 4\n %45 = load i32, i32* %25, align 4\n %46 = mul i32 %storemerge6.reload, %7\n %47 = mul i32 %46, %44\n %48 = add i32 %45, %47\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %49, i32* nonnull %sv_1, i32 %44)\n %51 = add i32 %storemerge6.reload, 1\n %52 = load i32, i32* %17, align 4\n %53 = zext i32 %52 to i64\n %54 = sext i32 %51 to i64\n %55 = icmp slt i64 %54, %53\n store i32 %51, i32* %storemerge6.reg2mem\n store i64 %53, i64* %rax.0.reg2mem\n br i1 %55, label LBL_5, label LBL_12\n LBL_6:\n %56 = and i64 %1, 4294967295\n %57 = icmp eq i32 %8, 1\n %58 = icmp eq i1 %57, false\n store i64 %56, i64* %rax.0.reg2mem\n br i1 %58, label LBL_12, label LBL_7\n LBL_7:\n %59 = add i64 %2, 8\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = icmp eq i32 %61, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_8, label LBL_10\n LBL_8:\n %64 = add i64 %2, 12\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = icmp eq i32 %66, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %67, label LBL_12, label LBL_9\n LBL_9:\n %68 = add i64 %2, 16\n %69 = inttoptr i64 %68 to i32*\n %70 = add i64 %2, 24\n %71 = inttoptr i64 %70 to i32*\n %72 = add i64 %2, 20\n %73 = inttoptr i64 %72 to i32*\n store i32 0, i32* %storemerge15.reg2mem\n br label LBL_11\n LBL_10:\n %74 = add i64 %2, 24\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = add i64 %2, 16\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = add i64 %2, 20\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = zext i32 %79 to i64\n %84 = zext i32 %82 to i64\n %85 = call i64 @FUNC(i64 %84, i64 %83, i32 %76)\n store i64 %85, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %storemerge15.reload = load i32, i32* %storemerge15.reg2mem\n store i32 0, i32* %sv_0, align 4\n %86 = load i32, i32* %69, align 4\n %87 = load i32, i32* %71, align 4\n %88 = mul i32 %storemerge15.reload, %7\n %89 = mul i32 %88, %86\n %90 = add i32 %87, %89\n %91 = zext i32 %90 to i64\n %92 = call i64 @FUNC(i64 %91, i32* nonnull %sv_0, i32 %86)\n %93 = load i32, i32* %sv_0, align 4\n %94 = load i32, i32* %69, align 4\n %95 = load i32, i32* %73, align 4\n %96 = zext i32 %94 to i64\n %97 = zext i32 %95 to i64\n %98 = call i64 @FUNC(i64 %97, i64 %96, i32 %93)\n %99 = add i32 %storemerge15.reload, 1\n %100 = load i32, i32* %65, align 4\n %101 = zext i32 %100 to i64\n %102 = sext i32 %99 to i64\n %103 = icmp slt i64 %102, %101\n store i32 %99, i32* %storemerge15.reg2mem\n store i64 %101, i64* %rax.0.reg2mem\n br i1 %103, label LBL_11, label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %86, { 1, 0 }\n uselistorder i32* %65, { 1, 0 }\n uselistorder i32 %44, { 1, 0 }\n uselistorder i32* %17, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %2, { 15, 13, 14, 8, 10, 9, 11, 12, 0, 6, 7, 1, 3, 2, 4, 5, 16 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 4, 7, 1, 5, 3 }\n uselistorder i64 (i64, i64, i32)* @do_outp, { 1, 0 }\n uselistorder i64 (i64, i64)* @do_inp, { 1, 0 }\n uselistorder i64 24, { 1, 0, 3, 2 }\n uselistorder i64 20, { 1, 0, 3, 2 }\n uselistorder i64 16, { 1, 0, 3, 2 }\n uselistorder i32 0, { 4, 0, 2, 5, 1, 3, 6, 7, 8 }\n uselistorder label LBL_12, { 1, 4, 3, 5, 0, 6, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "interpt_sl_9869", "fun_name": "interpt_sl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = add i64 %1, 16\n %3 = call i64 @FUNC(i64* nonnull %sv_0, i64 %1, i64 %2)\n %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0)\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %4, i64 %1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %spec.select = select i1 %11, i64 %4, i64 0\n ret i64 %spec.select\n LBL_2:\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "getrampagesize_469", "fun_name": "getrampagesize", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n store i64 9223372036854775807, i64* %sv_0, align 8\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 0)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC()\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %7 = call i64 @FUNC(i64 %3, i64 4198769, i64* nonnull %sv_0)\n %8 = load i64, i64* %sv_0, align 8\n %9 = icmp eq i64 %8, 9223372036854775807\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %10 = call i64 @FUNC()\n %11 = load i64, i64* %sv_0, align 8\n %12 = icmp eq i64 %10, %11\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_7, label LBL_6\n LBL_6:\n %14 = call i64 @FUNC()\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %15 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_9, label LBL_8\n LBL_8:\n %17 = load i64, i64* @gv_2, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %19, label LBL_12, label LBL_9\n LBL_9:\n %20 = load i8, i8* bitcast (i32* @gv_3 to i8*), align 4\n %21 = icmp eq i8 %20, 1\n br i1 %21, label LBL_11, label LBL_10\n LBL_10:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_4, i64 0, i64 0))\n store i8 1, i8* bitcast (i32* @gv_3 to i8*), align 4\n br label LBL_11\n LBL_11:\n %23 = call i64 @FUNC()\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 5, 3, 2 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i8* bitcast (i32* @gv_3 to i8*), { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 ()* @getpagesize, { 3, 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scatterwalk_pagedone_4071", "fun_name": "scatterwalk_pagedone", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %rdi, align 8\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 0\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0)\n store i64 %3, i64* %rdi, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n store i64 %3, i64* %rdi, align 8\n %8 = call i64 @FUNC(i64 %3)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %9 = trunc i64 %arg3 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %10, label LBL_6, label LBL_4\n LBL_4:\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, 4095\n %15 = and i32 %14, -4096\n store i32 %15, i32* %12, align 4\n %16 = bitcast i64* %rdi to i32*\n %17 = load i32, i32* %16, align 8\n %18 = load i64, i64* %rdi, align 8\n %19 = add i64 %18, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i32 %21, %17\n %23 = zext i32 %22 to i64\n %24 = icmp ult i32 %15, %22\n store i64 %23, i64* %rax.1.reg2mem\n br i1 %24, label LBL_6, label LBL_5\n LBL_5:\n %25 = call i64 @FUNC(i64 %18)\n %26 = call i64 @FUNC(i64 %0, i64 %25)\n store i64 %26, i64* %rax.1.reg2mem\n br label LBL_6\n LBL_6:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %rdi, { 3, 2, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ihevcd_copy_sps_8023", "fun_name": "ihevcd_copy_sps", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext3, 32\n %3 = ashr exact i64 %sext3, 31\n %4 = add nsw i64 %3, %2\n %5 = mul i64 %4, 8\n %6 = add i64 %5, %0\n %7 = ashr exact i64 %sext, 31\n %8 = add nsw i64 %7, %1\n %9 = mul i64 %8, 8\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_5, label LBL_1\n LBL_1:\n %14 = add i64 %10, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %6, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %16, %19\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_4, label LBL_2\n LBL_2:\n %22 = add i64 %10, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %6, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %24, %27\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_4, label LBL_3\n LBL_3:\n %30 = add i64 %10, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %6, 12\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %32, %35\n br i1 %36, label LBL_5, label LBL_4\n LBL_4:\n %37 = and i64 %1, 4294967295\n %38 = call i64 @FUNC(i64 %0, i64 %37)\n br label LBL_5\n LBL_5:\n %39 = add i64 %10, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %10 to i64*\n %43 = inttoptr i64 %6 to i64*\n %44 = call i64* @memcpy(i64* %42, i64* %43, i32 24)\n store i64 %41, i64* %40, align 8\n %45 = add i64 %6, 16\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = inttoptr i64 %41 to i64*\n %49 = inttoptr i64 %47 to i64*\n %50 = call i64* @memcpy(i64* %48, i64* %49, i32 32)\n store i32 1, i32* %11, align 4\n %51 = add i64 %0, 8\n %52 = inttoptr i64 %51 to i64*\n store i64 %10, i64* %52, align 8\n ret i64 %0\n\n uselistorder i64 %10, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 %6, { 3, 4, 2, 1, 0 }\n uselistorder i64 %sext3, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 3, 4, 2, 0, 1 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 8, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_user_command_397", "fun_name": "add_user_command", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i8* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n %2 = add i64 %1, 1\n store i64 %2, i64* @gv_0, align 8\n %3 = mul i64 %2, 8\n %4 = load i64, i64* @gv_1, align 8\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n store i64 %5, i64* @gv_1, align 8\n %6 = load i64, i64* @gv_0, align 8\n %7 = mul i64 %6, 8\n %8 = add i64 %5, -8\n %9 = add i64 %8, %7\n %10 = inttoptr i64 %9 to i64*\n store i64 %0, i64* %10, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drm_load_edid_firmware_13671", "fun_name": "drm_load_edid_firmware", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 4294967284)\n ret i64 %5\n LBL_2:\n store i64 %2, i64* %sv_1, align 8\n %6 = bitcast i64* %sv_1 to i8**\n %7 = bitcast i64* %arg1 to i8*\n br label LBL_5\n LBL_3:\n %8 = ptrtoint i8* %15 to i64\n %9 = sub i64 %1, %8\n %10 = trunc i64 %9 to i32\n %11 = call i32 @strncmp(i8* %7, i8* %15, i32 %10)\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_5\n LBL_4:\n %13 = add i64 %1, 1\n %14 = inttoptr i64 %13 to i8*\n store i8* %14, i8** %sv_0.0.reg2mem\n br label LBL_6\n LBL_5:\n %15 = call i8* @strsep(i8** nonnull %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %16 = icmp eq i8* %15, null\n %17 = icmp eq i1 %16, false\n store i8* %15, i8** %sv_0.0.reg2mem\n br i1 %17, label LBL_3, label LBL_6\n LBL_6:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %18 = load i8, i8* %sv_0.0.reload, align 1\n %19 = zext i8 %18 to i64\n %20 = icmp eq i8 %18, 0\n %21 = ptrtoint i8* %sv_0.0.reload to i64\n %spec.select = select i1 %20, i64 %19, i64 %21\n ret i64 %spec.select\n\n uselistorder i8* %sv_0.0.reload, { 1, 0 }\n uselistorder i8* %15, { 0, 3, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qmp_query_migrate_parameters_600", "fun_name": "qmp_query_migrate_parameters", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i64 40)\n %2 = inttoptr i64 %0 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = inttoptr i64 %1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = add i64 %0, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %1, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %1, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %1, 12\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %0, 16\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %1, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %0, 24\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %27)\n %29 = add i64 %1, 24\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n %31 = add i64 %0, 32\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = call i64 @FUNC(i64 %33)\n %35 = add i64 %1, 32\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n ret i64 %1\n\n uselistorder i64 (i64)* @g_strdup, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm_cpu_has_work_3369", "fun_name": "arm_cpu_has_work", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp ne i32 %5, 0\n %7 = urem i64 %1, 32\n %8 = icmp ne i64 %7, 0\n %not.or.cond = icmp eq i1 %8, %6\n %storemerge = zext i1 %not.or.cond to i64\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "modify_exif_tag_if_it_exists_19273", "fun_name": "modify_exif_tag_if_it_exists", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i16 %arg3, i16 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i32 %arg2, i16 %arg3, i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = load i32, i32* %sv_0, align 4\n %6 = add i64 %2, 2\n %7 = urem i32 %5, 256\n %8 = zext i32 %7 to i64\n %9 = and i64 %6, 4294967295\n %10 = call i64 @FUNC(i64 %0, i32 %arg2, i64 %9, i64 %8)\n %11 = trunc i64 %10 to i32\n %12 = load i32, i32* %sv_0, align 4\n %13 = add i64 %2, 4\n %14 = urem i32 %12, 256\n %15 = zext i32 %14 to i64\n %16 = and i64 %13, 4294967295\n %17 = call i64 @FUNC(i64 %0, i32 %arg2, i64 %16, i64 %15)\n %18 = icmp eq i32 %11, 3\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_2\n LBL_2:\n %20 = trunc i64 %17 to i32\n %21 = icmp eq i32 %20, 1\n %22 = icmp eq i1 %21, false\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = load i32, i32* %sv_0, align 4\n %24 = add i64 %2, 8\n %25 = urem i32 %23, 256\n %26 = zext i32 %25 to i64\n %27 = zext i16 %arg4 to i64\n %28 = and i64 %24, 4294967295\n %29 = call i64 @FUNC(i64 %0, i32 %arg2, i64 %28, i64 %27, i64 %26)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 2, 3, 0, 4 }\n uselistorder i32* %sv_0, { 2, 1, 0, 3 }\n uselistorder i64 4294967295, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_4, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "save_bt_to_dump_dir_6663", "fun_name": "save_bt_to_dump_dir", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.1.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %0 = call i32 @time(i32* null)\n %1 = sext i32 %0 to i64\n store i64 %1, i64* %sv_3, align 8\n %2 = call i64 @FUNC(i64* nonnull %sv_3)\n %3 = load i32, i32* @gv_0, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i32 -1, i32* %sv_1.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i32 @geteuid()\n store i32 %7, i32* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %8 = load i32, i32* @gv_1, align 4\n %9 = icmp eq i32 %8, 0\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n br i1 %9, label LBL_5, label LBL_3\n LBL_3:\n %10 = load i32, i32* @gv_0, align 4\n %11 = urem i32 %10, 2\n %12 = icmp eq i32 %11, 0\n store i32 0, i32* %sv_1.1.reg2mem\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_2, i64 0, i64 0))\n store i32 0, i32* %sv_1.1.reg2mem\n br label LBL_5\n LBL_5:\n %14 = inttoptr i64 %2 to i8*\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %15 = call i32 @getpid()\n %16 = load i32, i32* @gv_3, align 4\n %17 = bitcast i64* %sv_2 to i8*\n %18 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %17, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0), i8* %14, i32 %15, i32 %16)\n %19 = load [12 x i8]*, [12 x i8]** @gv_5, align 8\n %20 = ptrtoint [12 x i8]* %19 to i64\n %21 = call i64 @FUNC(i64 %20, i64* nonnull %sv_2)\n %22 = zext i32 %sv_1.1.reload to i64\n %23 = call i64 @FUNC(i64 %21, i64 %22, i32 493)\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_9, label LBL_6\n LBL_6:\n %25 = inttoptr i64 %arg2 to i8*\n %26 = call i64 @FUNC(i64 %23, i64 %22, i64 0)\n %27 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_7, i64 0, i64 0))\n %28 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0))\n %29 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0))\n %30 = inttoptr i64 %arg3 to i8*\n %31 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_11, i64 0, i64 0), i8* %30)\n %32 = inttoptr i64 %arg1 to i8*\n %33 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_12, i64 0, i64 0), i8* %32)\n %34 = icmp eq i64 %arg2, 0\n %35 = icmp eq i1 %34, false\n store i8* %25, i8** %sv_0.0.reg2mem\n br i1 %35, label LBL_8, label LBL_7\n LBL_7:\n %36 = call i32 @access(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_13, i64 0, i64 0), i32 1)\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n %spec.select = select i1 %38, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_14, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_13, i64 0, i64 0)\n store i8* %spec.select, i8** %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %39 = call i64 @FUNC(i64 %23, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_15, i64 0, i64 0), i8* %sv_0.0.reload)\n %40 = call i64 @FUNC(i64 %23)\n %41 = call i64 @FUNC(i64 %21)\n br label LBL_9\n LBL_9:\n %42 = inttoptr i64 %21 to i64*\n call void @free(i64* %42)\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i64 %23, { 1, 0, 3, 2, 7, 6, 5, 4, 8 }\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 2, 1, 3 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 (i64, i8*, i8*)* @dd_save_text, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 }\n uselistorder i32 0, { 6, 1, 0, 7, 8, 9, 2, 3, 4, 5 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 1, { 5, 7, 6, 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unqueue_me_pi_6248", "fun_name": "unqueue_me_pi", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %0, i64 %0)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n %9 = zext i1 %8 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = load i64, i64* %6, align 8\n %12 = call i64 @FUNC(i64 %11)\n store i64 0, i64* %6, align 8\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n ret i64 %16\n\n uselistorder i64 %0, { 0, 1, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "webSocketParseHeaderField_13645", "fun_name": "webSocketParseHeaderField", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 58)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_16, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i8*\n store i8 0, i8* %4, align 1\n %5 = call i64 @FUNC(i64 %0)\n %6 = add i64 %2, 1\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_16, label LBL_3\n LBL_3:\n %16 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %16, align 4\n br label LBL_16\n LBL_4:\n %17 = ptrtoint i64* %arg1 to i64\n %18 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0))\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %17, i64 %7)\n br label LBL_16\n LBL_6:\n %23 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_4, i64 0, i64 0))\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_9, label LBL_7\n LBL_7:\n %27 = add i64 %17, 72\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 1\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_16, label LBL_8\n LBL_8:\n %32 = add i64 %17, 16\n %33 = call i64 @FUNC(i64 %32, i64 %7, i64 25)\n br label LBL_16\n LBL_9:\n %34 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0))\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_12, label LBL_10\n LBL_10:\n %38 = add i64 %17, 72\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp eq i32 %40, 2\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_16, label LBL_11\n LBL_11:\n %43 = add i64 %17, 41\n %44 = call i64 @FUNC(i64 %43, i64 %7, i64 25)\n br label LBL_16\n LBL_12:\n %45 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0))\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_14, label LBL_13\n LBL_13:\n %49 = call i64 @FUNC(i64 %17, i64 %7)\n br label LBL_16\n LBL_14:\n %50 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_7, i64 0, i64 0))\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_16, label LBL_15\n LBL_15:\n %54 = call i64 @FUNC(i64 %7, i64 0, i64 10)\n %55 = add i64 %17, 8\n %56 = inttoptr i64 %55 to i64*\n store i64 %54, i64* %56, align 8\n br label LBL_16\n LBL_16:\n ret i64 0\n\n uselistorder i64 %17, { 6, 5, 3, 4, 1, 2, 0 }\n uselistorder i64 %7, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @strSafeCopy, { 1, 0 }\n uselistorder i64 (i64, i8*)* @osStrcasecmp, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @strTrimWhitespace, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtconsole_realize_3567", "fun_name": "virtconsole_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @gv_0, i64 0, i64 0))\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %6 = icmp eq i64* %arg1, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %0, i64 4198715, i64 4198722, i64 0, i64 %0)\n %9 = call i64 @FUNC(i64 %0)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 3, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "guestfs___free_inspect_info_4073", "fun_name": "guestfs___free_inspect_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa2.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i64\n %.reg2mem14 = alloca i64\n %storemerge5.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n store i64 %4, i64* %.reg2mem\n store i64 0, i64* %storemerge5.reg2mem\n store i64 %4, i64* %.lcssa2.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = mul i64 %storemerge5.reload, 56\n %6 = add i64 %5, %.reload\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n call void @free(i64* %9)\n %10 = load i64, i64* %3, align 8\n %11 = add i64 %5, 8\n %12 = add i64 %11, %10\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i64*\n call void @free(i64* %15)\n %16 = load i64, i64* %3, align 8\n %17 = add i64 %5, 16\n %18 = add i64 %17, %16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i64*\n call void @free(i64* %21)\n %22 = load i64, i64* %3, align 8\n %23 = add i64 %5, 24\n %24 = add i64 %23, %22\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = inttoptr i64 %26 to i64*\n call void @free(i64* %27)\n %28 = load i64, i64* %3, align 8\n %29 = add i64 %5, 32\n %30 = add i64 %29, %28\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i64*\n call void @free(i64* %33)\n %34 = load i64, i64* %3, align 8\n %35 = add i64 %34, %5\n %36 = add i64 %35, 40\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp eq i64 %38, 0\n %40 = add i64 %35, 48\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n store i64 %42, i64* %.lcssa.reg2mem\n br i1 %39, label LBL_4, label LBL_2\n LBL_2:\n %43 = add i64 %5, 48\n store i64 %42, i64* %.reg2mem14\n store i64 0, i64* %storemerge14.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge14.reload = load i64, i64* %storemerge14.reg2mem\n %.reload15 = load i64, i64* %.reg2mem14\n %44 = mul i64 %storemerge14.reload, 16\n %45 = add i64 %44, %.reload15\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = inttoptr i64 %47 to i64*\n call void @free(i64* %48)\n %49 = load i64, i64* %3, align 8\n %50 = add i64 %43, %49\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = or i64 %44, 8\n %54 = add i64 %52, %53\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = inttoptr i64 %56 to i64*\n call void @free(i64* %57)\n %58 = add nuw i64 %storemerge14.reload, 1\n %59 = load i64, i64* %3, align 8\n %60 = add i64 %59, %5\n %61 = add i64 %60, 40\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = icmp ult i64 %58, %63\n %65 = add i64 %60, 48\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n store i64 %67, i64* %.reg2mem14\n store i64 %58, i64* %storemerge14.reg2mem\n store i64 %67, i64* %.lcssa.reg2mem\n br i1 %64, label LBL_3, label LBL_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %68 = inttoptr i64 %.lcssa.reload to i64*\n call void @free(i64* %68)\n %69 = add nuw i64 %storemerge5.reload, 1\n %70 = icmp ult i64 %69, %.lcssa.reload\n %71 = load i64, i64* %3, align 8\n store i64 %71, i64* %.reg2mem\n store i64 %69, i64* %storemerge5.reg2mem\n store i64 %71, i64* %.lcssa2.reg2mem\n br i1 %70, label LBL_1, label LBL_5\n LBL_5:\n %.lcssa2.reload = load i64, i64* %.lcssa2.reg2mem\n %72 = inttoptr i64 %.lcssa2.reload to i64*\n call void @free(i64* %72)\n store i64 0, i64* %arg1, align 8\n store i64 0, i64* %3, align 8\n ret i64 %0\n\n uselistorder i64 %.lcssa.reload, { 1, 0 }\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %5, { 0, 3, 1, 4, 5, 6, 7, 2 }\n uselistorder i64* %3, { 0, 9, 4, 3, 2, 5, 6, 7, 8, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem14, { 1, 0, 2 }\n uselistorder i64* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 48, { 2, 1, 0 }\n uselistorder i64 40, { 1, 0 }\n uselistorder void (i64*)* @free, { 0, 6, 8, 7, 5, 4, 3, 2, 1 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtcon_parse_16835", "fun_name": "virtcon_parse", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %1 = inttoptr i64 %arg1 to i8*\n %2 = call i32 @strcmp(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = load i32, i32* inttoptr (i64 4210884 to i32*), align 4\n %6 = icmp eq i32 %5, 16\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %9 = call i32 @fwrite(i64* bitcast ([32 x i8]* @gv_3 to i64*), i32 1, i32 31, %_IO_FILE* %8)\n call void @exit(i32 1)\n unreachable\n LBL_3:\n %10 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %11 = load i32, i32* @gv_4, align 4\n %12 = icmp eq i32 %11, 1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_6, i64 0, i64 0))\n br label LBL_6\n LBL_5:\n %15 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %16 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %17 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_8, i64 0, i64 0))\n %18 = load i32, i32* @gv_9, align 4\n %19 = zext i32 %18 to i64\n %20 = bitcast i64* %sv_0 to i8*\n %21 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %20, i32 32, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_10, i64 0, i64 0), i64 %19)\n %22 = call i64 @FUNC(i64* nonnull %sv_0, i64 %arg1, i64 0)\n %23 = load i32, i32* @gv_9, align 4\n %24 = sext i32 %23 to i64\n %25 = trunc i64 %22 to i32\n %26 = mul i64 %24, 4\n %27 = add i64 %26, ptrtoint (i32** @gv_11 to i64)\n %28 = inttoptr i64 %27 to i32*\n store i32 %25, i32* %28, align 4\n %29 = load i32, i32* @gv_9, align 4\n %30 = sext i32 %29 to i64\n %31 = mul i64 %30, 4\n %32 = add i64 %31, ptrtoint (i32** @gv_11 to i64)\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_8, label LBL_7\n LBL_7:\n %37 = call i32* @__errno_location()\n %38 = load i32, i32* %37, align 4\n %39 = call i8* @strerror(i32 %38)\n %40 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %41 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %40, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_12, i64 0, i64 0), i8* %1, i8* %39)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %42 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_13, i64 0, i64 0), i8* nonnull %20)\n store i32 ptrtoint (i32* @gv_14 to i32), i32* @gv_9, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* @gv_9, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i8*)* @qemu_opt_set, { 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @qemu_opts_create, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder label LBL_9, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "apic_deliver_pic_intr_14198", "fun_name": "apic_deliver_pic_intr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i32 %1, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %2, i64 0)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %5 = inttoptr i64 %2 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = udiv i32 %6, 256\n %8 = urem i32 %7, 8\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = zext i32 %8 to i64\n %11 = icmp eq i32 %8, 1\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_7\n LBL_4:\n %12 = and i32 %6, 2048\n %13 = icmp eq i32 %12, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_7, label LBL_5\n LBL_5:\n %14 = add i64 %2, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = urem i32 %6, 256\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %17, i64 %19)\n br label LBL_6\n LBL_6:\n %21 = add i64 %2, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = call i64 @FUNC(i64 %24, i64 1)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %8, { 2, 0, 1 }\n uselistorder i32 %6, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 0, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder label LBL_7, { 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "setup_efi_state_13846", "fun_name": "setup_efi_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %3 = call i64 @FUNC(i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = load i32, i32* @gv_1, align 4\n %8 = add i64 %6, 40\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = load i64, i64* @gv_2, align 8\n store i64 %10, i64* %arg1, align 8\n %11 = load i64, i64* @gv_3, align 8\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = load i64, i64* @gv_4, align 8\n %15 = add i64 %6, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = load i32, i32* @gv_5, align 4\n %18 = add i64 %6, 24\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = call i64 @FUNC()\n %21 = trunc i64 %20 to i32\n %22 = add i64 %6, 28\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = trunc i64 %arg4 to i32\n %25 = trunc i64 %arg3 to i32\n %26 = call i64 @FUNC(i64 %6, i64 %arg2, i32 %25, i32 %24)\n %27 = trunc i64 %arg5 to i32\n %28 = call i64 @FUNC(i64 %6, i64 %arg2, i32 %27)\n br label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %6, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder i64 40, { 1, 0 }\n uselistorder i32 0, { 3, 4, 0, 1, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_nss_crypto_9185", "fun_name": "init_nss_crypto", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 29\n %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_6\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n store i32 0, i32* %sv_0, align 4\n %9 = call i64 @FUNC(i64 %5, i64 0)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC()\n %13 = and i64 %12, 4294967295\n %14 = add i64 %8, 24\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %13)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %19 = load i64, i64* %4, align 8\n %20 = call i64 @FUNC(i64 %9, i64 %19, i64 0, i64 3, i32* nonnull %sv_0, i64 0, i64 %9)\n %21 = add i64 %8, 16\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n %23 = icmp eq i64 %20, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = call i64 @FUNC()\n %26 = and i64 %25, 4294967295\n %27 = add i64 %8, 24\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = zext i32 %29 to i64\n %31 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %26)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %32 = call i64 @FUNC(i64 %9)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64 %8, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @log_printf, { 1, 0 }\n uselistorder i64 ()* @PR_GetError, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "naludmx_set_hevc_linf_6978", "fun_name": "naludmx_set_hevc_linf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i32\n %sv_1.15.reg2mem = alloca i32\n %indvars.iv7.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n store i64 0, i64* %indvars.iv7.reg2mem\n store i32 0, i32* %sv_1.15.reg2mem\n store i32 0, i32* %sv_0.14.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem\n %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem\n %1 = mul nuw nsw i64 %indvars.iv7.reload, 12\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp ne i32 %4, 0\n %6 = zext i1 %5 to i32\n %spec.select = add i32 %sv_0.14.reload, %6\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp ne i32 %9, %12\n %14 = zext i1 %13 to i32\n %sv_1.0 = add i32 %sv_1.15.reload, %14\n %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1\n %exitcond9 = icmp eq i64 %indvars.iv.next8, 64\n store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem\n store i32 %sv_1.0, i32* %sv_1.15.reg2mem\n store i32 %spec.select, i32* %sv_0.14.reg2mem\n br i1 %exitcond9, label LBL_2, label LBL_1\n LBL_2:\n %15 = zext i32 %12 to i64\n %16 = or i32 %sv_1.0, %spec.select\n %17 = icmp eq i32 %16, 0\n store i64 %15, i64* %rax.1.reg2mem\n br i1 %17, label LBL_8, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 0, i64 0, i64 1)\n %19 = call i64 @FUNC(i64 %18, i64 0, i64 2)\n %20 = zext i32 %spec.select to i64\n %21 = call i64 @FUNC(i64 %18, i64 %20, i64 6)\n %22 = icmp eq i32 %spec.select, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %22, label LBL_7, label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %23 = mul nuw nsw i64 %indvars.iv.reload, 12\n %24 = add i64 %23, %0\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %18, i64 0, i64 4)\n %29 = load i32, i32* %25, align 4\n %30 = add i32 %29, -1\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %18, i64 %31, i64 6)\n %33 = add i64 %24, 4\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %18, i64 %36, i64 3)\n %38 = add i64 %24, 8\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64 %18, i64 %41, i64 3)\n %43 = call i64 @FUNC(i64 %18, i64 0, i64 1)\n %44 = call i64 @FUNC(i64 %18, i64 255, i64 7)\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %20\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n %45 = call i64 @FUNC(i64 %18, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %46 = call i64 @FUNC(i64 %18)\n %47 = add i64 %0, 768\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i64 %50, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_2)\n store i64 %51, i64* %rax.1.reg2mem\n br label LBL_8\n LBL_8:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %18, { 1, 0, 4, 3, 2, 5, 6, 7, 8, 9 }\n uselistorder i32 %sv_1.0, { 1, 0 }\n uselistorder i32 %spec.select, { 2, 3, 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.15.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 12, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtqueue_init_9037", "fun_name": "virtqueue_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %2, align 8\n %3 = add i64 %0, 32\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = sext i32 %5 to i64\n %7 = mul i64 %6, 8\n %8 = add i64 %7, %0\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = add i64 %0, 36\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = load i32, i32* %4, align 4\n %15 = sext i32 %14 to i64\n %16 = mul i64 %15, 2\n %17 = add i64 %8, 4\n %18 = add i64 %17, %16\n %19 = zext i32 %13 to i64\n %20 = call i64 @FUNC(i64 %18, i64 %19)\n %21 = add i64 %0, 24\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n ret i64 %20\n\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %0, { 4, 3, 2, 0, 1, 6, 5 }\n uselistorder i64 32, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "InitX509Name_3940", "fun_name": "InitX509Name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 256\n %3 = inttoptr i64 %2 to i64*\n store i64 %1, i64* %3, align 8\n %4 = add i64 %1, 264\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %1, 552\n %7 = inttoptr i64 %6 to i64*\n %8 = call i64* @memset(i64* %7, i32 0, i32 256)\n %9 = add i64 %1, 272\n %10 = inttoptr i64 %9 to i64*\n %11 = call i64* @memset(i64* %10, i32 0, i32 272)\n %12 = add i64 %1, 808\n %13 = inttoptr i64 %12 to i64*\n %14 = call i64* @memset(i64* %13, i32 0, i32 256)\n %15 = add i64 %1, 528\n %16 = inttoptr i64 %15 to i64*\n store i64 %9, i64* %16, align 8\n %17 = add i64 %1, 536\n %18 = inttoptr i64 %17 to i32*\n store i32 1, i32* %18, align 4\n %19 = add i64 %1, 544\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %20, align 8\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 0, 1, 2, 4, 3, 6, 5, 7, 8, 9 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_queue_set_notification_1013", "fun_name": "virtio_queue_set_notification", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = bitcast i64* %arg1 to i32*\n store i32 %1, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_1, label LBL_4\n LBL_1:\n %11 = trunc i64 %2 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %0, i64 1)\n br label LBL_5\n LBL_3:\n %14 = call i64 @FUNC(i64 %0, i64 1)\n store i64 %14, i64* %rax.1.reg2mem\n br label LBL_6\n LBL_4:\n %15 = call i64 @FUNC(i64 %0)\n %16 = and i64 %15, 4294967295\n %17 = call i64 @FUNC(i64 %0, i64 %16)\n %.pre = trunc i64 %2 to i32\n %18 = icmp eq i32 %.pre, 0\n store i64 %17, i64* %rax.1.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC()\n store i64 %19, i64* %rax.1.reg2mem\n br label LBL_6\n LBL_6:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "atol8_13687", "fun_name": "atol8", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %.in.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i64 %arg2, i64* %.in.reg2mem\n store i64 0, i64* %storemerge13.reg2mem\n store i64 %arg1, i64* %sv_0.02.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %2 = inttoptr i64 %sv_0.02.reload to i8*\n %3 = load i8, i8* %2, align 1\n %4 = and i8 %3, -8\n %5 = icmp eq i8 %4, 48\n store i64 %storemerge13.reload, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %.in.reload = load i64, i64* %.in.reg2mem\n %6 = add i64 %.in.reload, -1\n %7 = sext i8 %3 to i64\n %8 = add nsw i64 %7, -48\n %9 = add i64 %sv_0.02.reload, 1\n %10 = mul i64 %storemerge13.reload, 8\n %11 = or i64 %8, %10\n %12 = icmp eq i64 %6, 0\n %13 = icmp eq i1 %12, false\n store i64 %6, i64* %.in.reg2mem\n store i64 %11, i64* %storemerge13.reg2mem\n store i64 %9, i64* %sv_0.02.reg2mem\n store i64 %11, i64* %storemerge.reg2mem\n br i1 %13, label LBL_1, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8 %3, { 1, 0 }\n uselistorder i64 %storemerge13.reload, { 1, 0 }\n uselistorder i64 %sv_0.02.reload, { 1, 0 }\n uselistorder i64* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "AppLayerProtoDetectFreeProbingParsers_10491", "fun_name": "AppLayerProtoDetectFreeProbingParsers", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = icmp eq i64 %arg1, 0\n store i64 %arg1, i64* %sv_0.01.reg2mem\n store i64 %0, i64* %rax.1.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %2 = inttoptr i64 %sv_0.01.reload to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %sv_0.01.reload)\n %5 = icmp eq i64 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %3, i64* %sv_0.01.reg2mem\n store i64 %3, i64* %rax.1.reg2mem\n br i1 %6, label LBL_1, label LBL_2\n LBL_2:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rgb16tobgr24_14218", "fun_name": "rgb16tobgr24", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i16*\n %.reg2mem = alloca i64\n %0 = ptrtoint i16* %arg1 to i64\n %1 = and i32 %arg3, -2\n %2 = zext i32 %1 to i64\n %3 = add i64 %2, %0\n %4 = icmp ugt i64 %3, %0\n store i64 %0, i64* %.reg2mem\n store i16* %arg1, i16** %sv_1.03.reg2mem\n store i64 %arg2, i64* %sv_0.02.reg2mem\n store i64 %0, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %sv_1.03.reload = load i16*, i16** %sv_1.03.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = add i64 %.reload, 2\n %6 = inttoptr i64 %5 to i16*\n %7 = load i16, i16* %sv_1.03.reload, align 2\n %8 = udiv i16 %7, 256\n %9 = add i64 %sv_0.02.reload, 1\n %10 = trunc i16 %8 to i8\n %11 = and i8 %10, -8\n %12 = inttoptr i64 %sv_0.02.reload to i8*\n store i8 %11, i8* %12, align 1\n %13 = udiv i16 %7, 8\n %14 = add i64 %sv_0.02.reload, 2\n %15 = trunc i16 %13 to i8\n %16 = and i8 %15, -4\n %17 = inttoptr i64 %9 to i8*\n store i8 %16, i8* %17, align 1\n %18 = trunc i16 %7 to i8\n %19 = mul i8 %18, 8\n %20 = add i64 %sv_0.02.reload, 3\n %21 = inttoptr i64 %14 to i8*\n store i8 %19, i8* %21, align 1\n %22 = icmp ugt i64 %3, %5\n store i64 %5, i64* %.reg2mem\n store i16* %6, i16** %sv_1.03.reg2mem\n store i64 %20, i64* %sv_0.02.reg2mem\n store i64 %5, i64* %.lcssa.reg2mem\n br i1 %22, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i16 %7, { 2, 0, 1 }\n uselistorder i64 %sv_0.02.reload, { 3, 2, 0, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 3, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i16** %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs41_check_expired_locks_18869", "fun_name": "nfs41_check_expired_locks", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.17.reg2mem = alloca i32\n %storemerge.in.in8.reg2mem = alloca i64\n %storemerge10.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %storemerge.in.in.in.in2 = add i64 %0, 8\n %storemerge.in.in.in3 = inttoptr i64 %storemerge.in.in.in.in2 to i64*\n %storemerge.in.in4 = load i64, i64* %storemerge.in.in.in3, align 8\n %storemerge.in5 = add i64 %storemerge.in.in4, -8\n %1 = icmp eq i64 %storemerge.in5, %0\n %2 = icmp eq i1 %1, false\n store i64 %storemerge.in5, i64* %storemerge10.in.reg2mem\n store i64 %storemerge.in.in4, i64* %storemerge.in.in8.reg2mem\n store i32 0, i32* %sv_0.17.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %storemerge10.in.reload = load i64, i64* %storemerge10.in.reg2mem\n %storemerge10 = inttoptr i64 %storemerge10.in.reload to i32*\n %3 = load i32, i32* %storemerge10, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %storemerge.in.in8.reload = load i64, i64* %storemerge.in.in8.reg2mem\n %6 = add i64 %storemerge.in.in8.reload, -4\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %0, i64 %6)\n %11 = load i32, i32* %storemerge10, align 4\n %12 = and i32 %11, -2\n store i32 %12, i32* %storemerge10, align 4\n store i32 %8, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %storemerge.in.in.in.in = add i64 %storemerge10.in.reload, 8\n %storemerge.in.in.in = inttoptr i64 %storemerge.in.in.in.in to i64*\n %storemerge.in.in = load i64, i64* %storemerge.in.in.in, align 8\n %storemerge.in = add i64 %storemerge.in.in, -8\n %13 = icmp eq i64 %storemerge.in, %0\n %14 = icmp eq i1 %13, false\n store i64 %storemerge.in, i64* %storemerge10.in.reg2mem\n store i64 %storemerge.in.in, i64* %storemerge.in.in8.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %15 = zext i32 %sv_0.1.lcssa.reload to i64\n ret i64 %15\n\n uselistorder i64 %storemerge10.in.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 0, 1 }\n uselistorder i64* %storemerge10.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.in.in8.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.17.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 -8, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rose_start_t2timer_5854", "fun_name": "rose_start_t2timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = inttoptr i64 %1 to i64*\n store i64 4198710, i64* %3, align 8\n %4 = add i64 %1, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = load i64, i64* @gv_0, align 8\n %8 = add i64 %7, %6\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %8)\n ret i64 %11\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_tb_exec_711", "fun_name": "cpu_tb_exec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %0)\n %6 = load i64, i64* %3, align 8\n %7 = call i64 @FUNC(i64 1, i64 %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %0, i64 %5)\n %8 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %9 = icmp eq i32 %8, 0\n %10 = zext i1 %9 to i32\n %11 = add i64 %1, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %1, i64 %4)\n store i32 1, i32* %12, align 4\n %14 = and i64 %13, -4\n %15 = trunc i64 %13 to i32\n %16 = urem i32 %15, 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %14, i64 %17)\n %19 = icmp ult i32 %16, 2\n br i1 %19, label LBL_3, label LBL_1\n LBL_1:\n %20 = inttoptr i64 %14 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = load i64, i64* %20, align 8\n %24 = add i64 %14, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 1, i64 %23, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i64 %26, i64 %23, i64 %22)\n %28 = icmp eq i32 %16, 2\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_3, label LBL_2\n LBL_2:\n %30 = add i64 %1, 12\n %31 = call i64 @FUNC(i64 %30, i64 0)\n br label LBL_3\n LBL_3:\n ret i64 %13\n\n uselistorder i64 %23, { 1, 0 }\n uselistorder i32 %16, { 2, 1, 0 }\n uselistorder i64 %14, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 3, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @qemu_log_mask_and_addr, { 1, 0 }\n uselistorder i64 (i64)* @lookup_symbol, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "iov_iter_alignment_8702", "fun_name": "iov_iter_alignment", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.01.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, %0\n %10 = sub i64 %3, %8\n %11 = icmp ugt i64 %3, %10\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = or i64 %9, %3\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %13 = or i64 %9, %10\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp ugt i64 %8, %16\n store i64 %8, i64* %.reg2mem\n store i64 %16, i64* %.reg2mem14\n store i64 %6, i64* %.reg2mem16\n store i64 %13, i64* %sv_0.02.reg2mem\n store i64 %8, i64* %sv_1.01.reg2mem\n store i64 %8, i64* %sv_1.0.lcssa.reg2mem\n store i64 %13, i64* %sv_0.0.lcssa.reg2mem\n store i64 %8, i64* %.lcssa.reg2mem\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n %sv_1.01.reload = load i64, i64* %sv_1.01.reg2mem\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload15 = load i64, i64* %.reg2mem14\n %.reload = load i64, i64* %.reg2mem\n %18 = or i64 %.reload15, %.reload\n %19 = or i64 %18, %sv_0.02.reload\n %20 = sub i64 %sv_1.01.reload, %.reload15\n %21 = add i64 %.reload17, 16\n %22 = add i64 %.reload17, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp ugt i64 %20, %24\n %26 = inttoptr i64 %21 to i64*\n %27 = load i64, i64* %26, align 8\n store i64 %27, i64* %.reg2mem\n store i64 %24, i64* %.reg2mem14\n store i64 %21, i64* %.reg2mem16\n store i64 %19, i64* %sv_0.02.reg2mem\n store i64 %20, i64* %sv_1.01.reg2mem\n store i64 %20, i64* %sv_1.0.lcssa.reg2mem\n store i64 %19, i64* %sv_0.0.lcssa.reg2mem\n store i64 %27, i64* %.lcssa.reg2mem\n br i1 %25, label LBL_4, label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %28 = or i64 %sv_0.0.lcssa.reload, %sv_1.0.lcssa.reload\n %29 = or i64 %28, %.lcssa.reload\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.reload17, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %8, { 0, 1, 2, 3, 5, 6, 4 }\n uselistorder i64 %3, { 0, 2, 1, 3 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem14, { 2, 0, 1 }\n uselistorder i64* %.reg2mem16, { 2, 0, 1 }\n uselistorder i64* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 24, { 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r_cons_hud_string_12462", "fun_name": "r_cons_hud_string", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_0.13.reg2mem = alloca i8*\n %storemerge4.reg2mem = alloca i32\n %.reg2mem7 = alloca i64\n %.reg2mem5 = alloca i8*\n %.reg2mem = alloca i8\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %5 = call i8* @strdup(i8* %arg1)\n %6 = icmp eq i8* %5, null\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_14\n LBL_3:\n %8 = ptrtoint i8* %5 to i64\n %9 = call i64 @FUNC(i64 %8, i64 13, i64 0, i64 1)\n %10 = call i64 @FUNC(i64 %8, i64 9, i64 0, i64 1)\n %11 = call i64 @FUNC()\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = bitcast i8* %5 to i64*\n call void @free(i64* %14)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %15 = inttoptr i64 %11 to i64*\n store i64 4198448, i64* %15, align 8\n %16 = load i8, i8* %5, align 1\n %17 = icmp eq i8 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_6, label LBL_13\n LBL_6:\n %19 = add i64 %8, 1\n store i8 %16, i8* %.reg2mem\n store i8* %5, i8** %.reg2mem5\n store i64 0, i64* %.reg2mem7\n store i32 0, i32* %storemerge4.reg2mem\n store i8* %5, i8** %sv_0.13.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.13.reload = load i8*, i8** %sv_0.13.reg2mem\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %20 = icmp eq i8 %.reload, 10\n %21 = icmp eq i1 %20, false\n store i8* %sv_0.13.reload, i8** %sv_0.0.reg2mem\n br i1 %21, label LBL_12, label LBL_8\n LBL_8:\n %.reload8 = load i64, i64* %.reg2mem7\n %.reload6 = load i8*, i8** %.reg2mem5\n store i8 0, i8* %.reload6, align 1\n %22 = load i8, i8* %sv_0.13.reload, align 1\n switch i8 %22, label LBL_9 [\n i8 0, label LBL_11\n i8 35, label LBL_11\n ]\n LBL_9:\n %23 = call i8* @strdup(i8* nonnull %sv_0.13.reload)\n %24 = ptrtoint i8* %23 to i64\n %25 = call i64 @FUNC(i64 %11, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_11, label LBL_10\n LBL_10:\n %29 = bitcast i8* %23 to i64*\n call void @free(i64* %29)\n br label LBL_13\n LBL_11:\n %30 = add i64 %19, %.reload8\n %31 = inttoptr i64 %30 to i8*\n store i8* %31, i8** %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %32 = add i32 %storemerge4.reload, 1\n %33 = sext i32 %32 to i64\n %34 = add i64 %33, %8\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = icmp eq i8 %36, 0\n %38 = icmp eq i1 %37, false\n store i8 %36, i8* %.reg2mem\n store i8* %35, i8** %.reg2mem5\n store i64 %33, i64* %.reg2mem7\n store i32 %32, i32* %storemerge4.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.13.reg2mem\n br i1 %38, label LBL_7, label LBL_13\n LBL_13:\n %39 = call i64 @FUNC(i64 %11, i64 0)\n %40 = bitcast i8* %5 to i64*\n call void @free(i64* %40)\n %41 = call i64 @FUNC(i64 %11)\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %sv_0.13.reload, { 2, 1, 0 }\n uselistorder i64 %11, { 1, 0, 2, 3, 4 }\n uselistorder i64 %8, { 0, 1, 3, 2 }\n uselistorder i8* %5, { 3, 0, 1, 2, 4, 6, 5 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem5, { 2, 0, 1 }\n uselistorder i64* %.reg2mem7, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i8 0, { 5, 2, 4, 0, 6, 1, 3 }\n uselistorder i64 (i64, i64, i64, i64)* @r_str_replace_ch, { 1, 0 }\n uselistorder i64 1, { 2, 3, 4, 1, 0 }\n uselistorder i8* (i8*)* @strdup, { 1, 0 }\n uselistorder i1 false, { 4, 2, 3, 0, 5, 6, 7, 8, 10, 9, 1 }\n uselistorder i32 0, { 4, 0, 5, 1, 3, 6, 7, 8, 2, 9 }\n uselistorder i32 1, { 17, 6, 5, 4, 3, 2, 1, 0, 18, 8, 7, 16, 11, 10, 9, 19, 15, 14, 13, 12 }\n uselistorder label LBL_14, { 1, 2, 0, 3 }\n uselistorder label LBL_13, { 0, 2, 1 }\n uselistorder label LBL_11, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ccw_machine_2_9_class_options_2978", "fun_name": "ccw_machine_2_9_class_options", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %2, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "php_mcrypt_module_dtor_6519", "fun_name": "php_mcrypt_module_dtor", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %0)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 3, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "no_init_out_533", "fun_name": "no_init_out", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 4\n %3 = call i64 @FUNC(i64 %2, i64 %0)\n %4 = bitcast i64* %arg1 to i32*\n store i32 1024, i32* %4, align 4\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tg3_close_8619", "fun_name": "tg3_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1)\n %4 = inttoptr i64 %1 to i64*\n %5 = call i64* @memset(i64* %4, i32 0, i32 4)\n %6 = add i64 %1, 4\n %7 = inttoptr i64 %6 to i64*\n %8 = call i64* @memset(i64* %7, i32 0, i32 4)\n %9 = call i64 @FUNC(i64 %1)\n %10 = call i64 @FUNC(i64 %1)\n ret i64 0\n\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parser_name_get_5306", "fun_name": "parser_name_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, %0\n %5 = icmp ugt i64 %4, %3\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = mul i64 %0, 2\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = load i64, i64* %2, align 8\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = call i64 @FUNC(i64 %0)\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 0, 1, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fm10k_get_tx_pending_9775", "fun_name": "fm10k_get_tx_pending", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i32\n %storemerge1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i64 %arg2, 256\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %0, 12\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n store i32 %7, i32* %sv_0.0.reg2mem\n store i32 %10, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_2:\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = mul i32 %13, 16\n %15 = add i32 %14, 4096\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %0, i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = load i32, i32* %12, align 4\n %20 = mul i32 %19, 16\n %21 = add i32 %20, 4100\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %0, i64 %22)\n %24 = trunc i64 %23 to i32\n store i32 %18, i32* %sv_0.0.reg2mem\n store i32 %24, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %25 = icmp ugt i32 %sv_0.0.reload, %storemerge1.reload\n store i32 %storemerge1.reload, i32* %storemerge.in.reg2mem\n br i1 %25, label LBL_4, label LBL_5\n LBL_4:\n %26 = add i64 %0, 20\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i32 %28, %storemerge1.reload\n store i32 %29, i32* %storemerge.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %30 = sub i32 %storemerge.in.reload, %sv_0.0.reload\n %31 = zext i32 %30 to i64\n ret i64 %31\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i32 %storemerge1.reload, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @fm10k_read_reg, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_emul_add_msicap_13432", "fun_name": "pci_emul_add_msicap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0, i64 0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64* nonnull %sv_0, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = icmp ne i32 %7, 0\n %spec.select = zext i1 %8 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "eval_string_3943", "fun_name": "eval_string", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem2 = alloca i64\n %.reg2mem = alloca i32\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp slt i32 %0, 1\n store i32 %0, i32* %.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC()\n %7 = load i64, i64* @gv_1, align 8\n %8 = call i64 @FUNC(i64 %7, i64 %arg1)\n store i64 %8, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_3:\n %9 = call i64 @FUNC()\n %.pre = load i32, i32* @gv_0, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %10 = sext i32 %.reload to i64\n %11 = load i64, i64* @gv_2, align 8\n %12 = add i64 %11, -1\n %13 = icmp eq i64 %12, %10\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4.LBL_9_crit_edge, label LBL_6\n LBL_5:\n %.pre1 = load i64, i64* @gv_1, align 8\n store i64 %.pre1, i64* %.reg2mem2\n br label LBL_9\n LBL_6:\n %15 = mul i64 %11, 2\n %16 = load i64, i64* @gv_1, align 8\n %17 = call i64 @reallocarray(i64 %16, i64 %15, i64 0)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_8, label LBL_7\n LBL_7:\n call void (i32, i8*, ...) @err(i32 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n store i64 %15, i64* @gv_2, align 8\n store i64 %17, i64* @gv_1, align 8\n store i64 %17, i64* %.reg2mem2\n br label LBL_9\n LBL_9:\n %.reload3 = load i64, i64* %.reg2mem2\n store i32 ptrtoint (i32* @gv_4 to i32), i32* @gv_0, align 4\n %20 = call i64 @FUNC(i64 %.reload3, i64 %arg1)\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @src_setstring, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "floppy_probe_device_2936", "fun_name": "floppy_probe_device", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i32, i32* %0\n %sv_1 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0), i64 0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 0)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n %spec.select = select i1 %12, i32 0, i32 50\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %13 = call i64 @FUNC(i64 %arg1, i64 2048)\n %14 = trunc i64 %13 to i32\n %15 = icmp slt i32 %14, 0\n store i32 %sv_0.0.reload, i32* %sv_0.2.reg2mem\n br i1 %15, label LBL_8, label LBL_4\n LBL_4:\n %16 = bitcast i64* %sv_1 to %stat*\n %17 = call i32 @fstat(i32 %14, %stat* nonnull %16)\n %18 = icmp eq i32 %17, -1\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %18, label LBL_7, label LBL_5\n LBL_5:\n %19 = and i32 %1, 61440\n %20 = icmp eq i32 %19, 24576\n %21 = icmp eq i1 %20, false\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i32 (i32, i32, ...) @ioctl(i32 %14, i32 0)\n %23 = icmp slt i32 %22, 0\n %spec.select1 = select i1 %23, i32 %sv_0.0.reload, i32 100\n store i32 %spec.select1, i32* %sv_0.1.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %24 = and i64 %13, 4294967295\n %25 = call i64 @FUNC(i64 %24)\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %26 = zext i32 %sv_0.2.reload to i64\n ret i64 %26\n\n uselistorder i32 %sv_0.0.reload, { 3, 1, 2, 0 }\n uselistorder i32 0, { 4, 3, 5, 2, 6, 0, 7, 1, 8, 9 }\n uselistorder i64 (i64, i8*, i64)* @strstart, { 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 0, 1, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spi_imx_setupxfer_4765", "fun_name": "spi_imx_setupxfer", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ndpi_search_h323_7801", "fun_name": "ndpi_search_h323", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n %3 = add i64 %0, 24\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_12, label LBL_1\n LBL_1:\n %7 = inttoptr i64 %5 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = call i16 @ntohs(i16 102)\n %10 = icmp eq i16 %8, %9\n br i1 %10, label LBL_12, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0))\n %12 = add i64 %0, 40\n %13 = inttoptr i64 %12 to i16*\n %14 = load i16, i16* %13, align 2\n %15 = zext i16 %14 to i64\n %16 = icmp ult i16 %14, 4\n store i64 %15, i64* %rax.1.reg2mem\n br i1 %16, label LBL_30, label LBL_3\n LBL_3:\n %17 = add i64 %0, 32\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = zext i8 %21 to i64\n %23 = icmp eq i8 %21, 3\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %rax.1.reg2mem\n br i1 %24, label LBL_30, label LBL_4\n LBL_4:\n %25 = add i64 %19, 1\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = zext i8 %27 to i64\n %29 = icmp eq i8 %27, 0\n %30 = icmp eq i1 %29, false\n store i64 %28, i64* %rax.1.reg2mem\n br i1 %30, label LBL_30, label LBL_5\n LBL_5:\n %31 = inttoptr i64 %19 to i16*\n %32 = load i16, i16* %31, align 2\n %33 = call i16 @ntohs(i16 %32)\n %34 = load i16, i16* %13, align 2\n %35 = icmp eq i16 %33, %34\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_11, label LBL_6\n LBL_6:\n %37 = load i64, i64* %18, align 8\n %38 = add i64 %37, 4\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i64\n %42 = zext i16 %34 to i64\n %43 = add nsw i64 %42, -3\n %44 = icmp eq i64 %43, %41\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_9, label LBL_7\n LBL_7:\n %46 = add i64 %37, 5\n %47 = inttoptr i64 %46 to i8*\n %48 = load i8, i8* %47, align 1\n %49 = icmp ne i8 %48, -32\n %50 = icmp eq i8 %48, -48\n %51 = icmp eq i1 %50, false\n %or.cond = icmp eq i1 %49, %51\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %52 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n %53 = call i64 @FUNC(i64 %1, i64 %0, i64 1, i64 0)\n store i64 %53, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_9:\n %54 = add i64 %0, 8\n %55 = inttoptr i64 %54 to i16*\n %56 = load i16, i16* %55, align 2\n %57 = add i16 %56, 1\n store i16 %57, i16* %55, align 2\n %58 = zext i16 %57 to i64\n %59 = icmp ult i16 %57, 2\n store i64 %58, i64* %rax.1.reg2mem\n br i1 %59, label LBL_30, label LBL_10\n LBL_10:\n %60 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0))\n %61 = call i64 @FUNC(i64 %1, i64 %0, i64 2, i64 0)\n store i64 %61, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_11:\n %62 = call i64 @FUNC(i64 %1, i64 %0)\n store i64 %62, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_12:\n %63 = add i64 %0, 16\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = icmp eq i64 %65, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %66, label LBL_30, label LBL_13\n LBL_13:\n %67 = add i64 %65, 2\n %68 = inttoptr i64 %67 to i16*\n %69 = load i16, i16* %68, align 2\n %70 = call i16 @ntohs(i16 %69)\n %71 = load i64, i64* %64, align 8\n %72 = inttoptr i64 %71 to i16*\n %73 = load i16, i16* %72, align 2\n %74 = call i16 @ntohs(i16 %73)\n %75 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0))\n %76 = add i64 %0, 40\n %77 = inttoptr i64 %76 to i16*\n %78 = load i16, i16* %77, align 2\n %79 = zext i16 %78 to i64\n %80 = icmp ult i16 %78, 6\n store i64 %79, i64* %rax.0.reg2mem\n br i1 %80, label LBL_21, label LBL_14\n LBL_14:\n %81 = add i64 %0, 32\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n %84 = inttoptr i64 %83 to i8*\n %85 = load i8, i8* %84, align 1\n %86 = zext i8 %85 to i64\n %87 = icmp eq i8 %85, -128\n %88 = icmp eq i1 %87, false\n store i64 %86, i64* %rax.0.reg2mem\n br i1 %88, label LBL_21, label LBL_15\n LBL_15:\n %89 = add i64 %83, 1\n %90 = inttoptr i64 %89 to i8*\n %91 = load i8, i8* %90, align 1\n %92 = zext i8 %91 to i64\n %93 = icmp eq i8 %91, 8\n %94 = icmp eq i1 %93, false\n store i64 %92, i64* %rax.0.reg2mem\n br i1 %94, label LBL_21, label LBL_16\n LBL_16:\n %95 = add i64 %83, 2\n %96 = inttoptr i64 %95 to i8*\n %97 = load i8, i8* %96, align 1\n %98 = icmp eq i8 %97, -25\n br i1 %98, label LBL_18, label LBL_17\n LBL_17:\n %99 = zext i8 %97 to i64\n %100 = icmp eq i8 %97, 38\n %101 = icmp eq i1 %100, false\n store i64 %99, i64* %rax.0.reg2mem\n br i1 %101, label LBL_21, label LBL_18\n LBL_18:\n %102 = add i64 %83, 4\n %103 = inttoptr i64 %102 to i8*\n %104 = load i8, i8* %103, align 1\n %105 = zext i8 %104 to i64\n %106 = icmp eq i8 %104, 0\n %107 = icmp eq i1 %106, false\n store i64 %105, i64* %rax.0.reg2mem\n br i1 %107, label LBL_21, label LBL_19\n LBL_19:\n %108 = add i64 %83, 5\n %109 = inttoptr i64 %108 to i8*\n %110 = load i8, i8* %109, align 1\n %111 = zext i8 %110 to i64\n %112 = icmp eq i8 %110, 0\n %113 = icmp eq i1 %112, false\n store i64 %111, i64* %rax.0.reg2mem\n br i1 %113, label LBL_21, label LBL_20\n LBL_20:\n %114 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0))\n %115 = call i64 @FUNC(i64 %1, i64 %0, i64 2, i64 0)\n store i64 %115, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %116 = icmp ne i16 %70, 1719\n %117 = icmp eq i16 %74, 1719\n %118 = icmp eq i1 %117, false\n %or.cond3 = icmp eq i1 %116, %118\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %or.cond3, label LBL_30, label LBL_22\n LBL_22:\n %119 = add i64 %0, 32\n %120 = inttoptr i64 %119 to i64*\n %121 = load i64, i64* %120, align 8\n %122 = inttoptr i64 %121 to i8*\n %123 = load i8, i8* %122, align 1\n %124 = icmp eq i8 %123, 22\n %125 = icmp eq i1 %124, false\n br i1 %125, label LBL_27, label LBL_23\n LBL_23:\n %126 = add i64 %121, 1\n %127 = inttoptr i64 %126 to i8*\n %128 = load i8, i8* %127, align 1\n %129 = icmp eq i8 %128, -128\n %130 = icmp eq i1 %129, false\n br i1 %130, label LBL_27, label LBL_24\n LBL_24:\n %131 = add i64 %121, 4\n %132 = inttoptr i64 %131 to i8*\n %133 = load i8, i8* %132, align 1\n %134 = icmp eq i8 %133, 6\n %135 = icmp eq i1 %134, false\n br i1 %135, label LBL_27, label LBL_25\n LBL_25:\n %136 = add i64 %121, 5\n %137 = inttoptr i64 %136 to i8*\n %138 = load i8, i8* %137, align 1\n %139 = icmp eq i8 %138, 0\n %140 = icmp eq i1 %139, false\n br i1 %140, label LBL_27, label LBL_26\n LBL_26:\n %141 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0))\n %142 = call i64 @FUNC(i64 %1, i64 %0, i64 2, i64 0)\n store i64 %142, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_27:\n %.off = add i16 %78, -20\n %143 = icmp ult i16 %.off, 98\n br i1 %143, label LBL_28, label LBL_29\n LBL_28:\n %144 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0))\n %145 = call i64 @FUNC(i64 %1, i64 %0, i64 2, i64 0)\n store i64 %145, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_29:\n %146 = call i64 @FUNC(i64 %1, i64 %0)\n store i64 %146, i64* %rax.1.reg2mem\n br label LBL_30\n LBL_30:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i8 %97, { 1, 0, 2 }\n uselistorder i64 %83, { 1, 0, 2, 3, 4 }\n uselistorder i16 %57, { 1, 0, 2 }\n uselistorder i64 %1, { 12, 11, 10, 9, 8, 7, 6, 13, 4, 3, 2, 1, 0, 5, 14 }\n uselistorder i64 %0, { 12, 11, 10, 0, 9, 1, 2, 13, 8, 6, 7, 5, 3, 4, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i64* %rax.1.reg2mem, { 0, 12, 11, 10, 1, 9, 13, 5, 3, 4, 2, 6, 7, 8 }\n uselistorder i64 (i64, i64)* @NDPI_EXCLUDE_PROTO, { 1, 0 }\n uselistorder i64 2, { 0, 1, 2, 4, 5, 3 }\n uselistorder i64 (i64, i64, i64, i64)* @ndpi_set_detected_protocol, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @NDPI_LOG_INFO, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0, 3 }\n uselistorder i1 false, { 2, 3, 4, 5, 0, 6, 7, 8, 9, 10, 1, 11, 12, 13, 14 }\n uselistorder i64 (i64, i8*)* @NDPI_LOG_DBG2, { 1, 0 }\n uselistorder i16 (i16)* @ntohs, { 3, 2, 1, 0 }\n uselistorder label LBL_30, { 6, 7, 8, 0, 9, 10, 11, 5, 4, 12, 3, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "opt_input_file_3581", "fun_name": "opt_input_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg2 to i8*\n %1 = load i8*, i8** @gv_0, align 8\n %2 = icmp eq i8* %1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %4 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %3, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @gv_2, i64 0, i64 0), i8* %0, i8* nonnull %1)\n %5 = call i64 @FUNC(i64 1)\n unreachable\n LBL_2:\n %6 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0))\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %spec.select = select i1 %8, i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_4, i64 0, i64 0)\n %9 = ptrtoint i8* %spec.select to i64\n store i8* %spec.select, i8** @gv_0, align 8\n ret i64 %9\n\n uselistorder i8* %0, { 0, 2, 1 }\n uselistorder i8** @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mod_destroy_4232", "fun_name": "mod_destroy", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i64, i64* @gv_1, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = load i64, i64* @gv_0, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = load i64, i64* @gv_1, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC()\n %11 = call i64 @FUNC()\n %12 = call i64 @FUNC()\n ret i64 %12\n\n uselistorder i64 (i64)* @pkg_free, { 1, 0 }\n uselistorder i64 (i64)* @shm_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_rpc_daemon_status_9952", "fun_name": "_rpc_daemon_status", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 96)\n %2 = load i32*, i32** @gv_0, align 8\n %3 = load i32, i32* %2, align 4\n %4 = inttoptr i64 %1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = load i32*, i32** @gv_0, align 8\n %6 = ptrtoint i32* %5 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %1, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = load i32*, i32** @gv_0, align 8\n %13 = ptrtoint i32* %12 to i64\n %14 = add i64 %13, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %1, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = load i32*, i32** @gv_0, align 8\n %20 = ptrtoint i32* %19 to i64\n %21 = add i64 %20, 12\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %1, 12\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = load i32*, i32** @gv_0, align 8\n %27 = ptrtoint i32* %26 to i64\n %28 = add i64 %27, 16\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = add i64 %1, 16\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = load i32*, i32** @gv_0, align 8\n %34 = ptrtoint i32* %33 to i64\n %35 = add i64 %34, 24\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = add i64 %1, 24\n %39 = inttoptr i64 %38 to i64*\n store i64 %37, i64* %39, align 8\n %40 = load i32*, i32** @gv_0, align 8\n %41 = ptrtoint i32* %40 to i64\n %42 = add i64 %41, 32\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = add i64 %1, 32\n %46 = inttoptr i64 %45 to i64*\n store i64 %44, i64* %46, align 8\n %47 = load i32, i32* inttoptr (i64 4210748 to i32*), align 4\n %48 = add i64 %1, 40\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = load i32*, i32** @gv_0, align 8\n %51 = ptrtoint i32* %50 to i64\n %52 = add i64 %51, 40\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = call i64 @FUNC(i64 %54)\n %56 = add i64 %1, 48\n %57 = inttoptr i64 %56 to i64*\n store i64 %55, i64* %57, align 8\n %58 = call i64 @FUNC()\n %59 = add i64 %1, 56\n %60 = inttoptr i64 %59 to i64*\n store i64 %58, i64* %60, align 8\n %61 = load i64, i64* @gv_1, align 8\n %62 = add i64 %1, 64\n %63 = inttoptr i64 %62 to i64*\n store i64 %61, i64* %63, align 8\n %64 = load i32*, i32** @gv_0, align 8\n %65 = ptrtoint i32* %64 to i64\n %66 = add i64 %65, 48\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = add i64 %1, 72\n %70 = inttoptr i64 %69 to i32*\n store i32 %68, i32* %70, align 4\n %71 = load i32*, i32** @gv_0, align 8\n %72 = ptrtoint i32* %71 to i64\n %73 = add i64 %72, 52\n %74 = inttoptr i64 %73 to i32*\n %75 = load i32, i32* %74, align 4\n %76 = add i64 %1, 76\n %77 = inttoptr i64 %76 to i32*\n store i32 %75, i32* %77, align 4\n %78 = load i32*, i32** @gv_0, align 8\n %79 = ptrtoint i32* %78 to i64\n %80 = add i64 %79, 56\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = call i64 @FUNC(i64 %82)\n %84 = add i64 %1, 80\n %85 = inttoptr i64 %84 to i64*\n store i64 %83, i64* %85, align 8\n %86 = call i64 @FUNC(i64 ptrtoint ([6 x i8]* @gv_2 to i64))\n %87 = add i64 %1, 88\n %88 = inttoptr i64 %87 to i64*\n store i64 %86, i64* %88, align 8\n %89 = call i64 @FUNC(i64* nonnull %sv_0, i64 %0)\n %90 = bitcast i64* %rdi to i32*\n %91 = load i32, i32* %90, align 8\n %92 = zext i32 %91 to i64\n %93 = call i64 @FUNC(i64 %92, i64* nonnull %sv_0)\n %94 = call i64 @FUNC(i64 %1)\n ret i64 0\n\n uselistorder i64 (i64)* @xstrdup, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_rt_sigreturn_532", "fun_name": "do_rt_sigreturn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = add i64 %1, 120\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %1, i64 %5)\n %7 = call i64 @FUNC(i64 0, i64 %2, i64 %5, i64 1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2)\n %11 = call i64 @FUNC(i64* nonnull %sv_0)\n %12 = add i64 %2, 128\n %13 = call i64 @FUNC(i64 %1, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %1)\n %18 = add i64 %5, 128\n %19 = call i64 @FUNC(i64 %18, i64 0, i64 %17)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, -14\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 %2, i64 %5, i64 0)\n br label LBL_5\n LBL_4:\n %23 = call i64 @FUNC(i64 %2, i64 %5, i64 0)\n %24 = call i64 @FUNC(i64 11)\n br label LBL_5\n LBL_5:\n ret i64 1\n\n uselistorder i64 %5, { 2, 0, 1, 3, 4 }\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_channel_layout_single_14521", "fun_name": "get_channel_layout_single", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv15.reg2mem = alloca i64\n %sv_0 = alloca i8*, align 8\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = trunc i64 %0 to i32\n %2 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %indvars.iv15.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv15.reload = load i64, i64* %indvars.iv15.reg2mem\n %3 = mul i64 %indvars.iv15.reload, 16\n %4 = add i64 %3, ptrtoint ([7 x i8]** @gv_0 to i64)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i8*\n %8 = call i32 @strlen(i8* %7)\n %9 = sext i32 %8 to i64\n %10 = icmp eq i64 %0, %9\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = load i64, i64* %5, align 8\n %13 = inttoptr i64 %12 to i64*\n %14 = call i32 @memcmp(i64* %13, i64* %2, i32 %1)\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = add i64 %3, ptrtoint (i64* @gv_1 to i64)\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n %indvars.iv.next16 = add nuw nsw i64 %indvars.iv15.reload, 1\n %20 = icmp ult i64 %indvars.iv.next16, 3\n store i64 %indvars.iv.next16, i64* %indvars.iv15.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %20, label LBL_1, label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = mul i64 %indvars.iv.reload, 16\n %22 = add i64 %21, ptrtoint ([11 x i8]** @gv_2 to i64)\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_9, label LBL_6\n LBL_6:\n %26 = inttoptr i64 %24 to i8*\n %27 = call i32 @strlen(i8* %26)\n %28 = sext i32 %27 to i64\n %29 = icmp eq i64 %0, %28\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_9, label LBL_7\n LBL_7:\n %31 = load i64, i64* %23, align 8\n %32 = inttoptr i64 %31 to i64*\n %33 = call i32 @memcmp(i64* %32, i64* %2, i32 %1)\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_9, label LBL_8\n LBL_8:\n %36 = trunc i64 %indvars.iv.reload to i32\n %37 = urem i32 %36, 64\n %38 = icmp eq i32 %37, 0\n %39 = zext i32 %37 to i64\n %40 = shl i64 1, %39\n %storemerge = select i1 %38, i64 1, i64 %40\n store i64 %storemerge, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %41 = icmp ult i64 %indvars.iv.next, 6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %41, label LBL_5, label LBL_10\n LBL_10:\n %42 = inttoptr i64 %arg1 to i8*\n %43 = call i32 @strtol(i8* %42, i8** nonnull %sv_0, i32 10)\n %44 = load i8*, i8** %sv_0, align 8\n %45 = ptrtoint i8* %44 to i64\n %46 = sub i64 1, %arg1\n %47 = add i64 %46, %45\n %48 = icmp eq i64 %47, %0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_13, label LBL_11\n LBL_11:\n %50 = load i8, i8* %44, align 1\n %51 = icmp eq i8 %50, 99\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_13, label LBL_12\n LBL_12:\n %53 = zext i32 %43 to i64\n %54 = call i64 @FUNC(i64 %53)\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n %55 = call i64 @strtoll(i8* %42, i8** nonnull %sv_0, i32 0)\n %56 = load i8*, i8** %sv_0, align 8\n %57 = ptrtoint i8* %56 to i64\n %58 = sub i64 %57, %arg1\n %59 = icmp eq i64 %58, %0\n %60 = icmp eq i1 %59, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %60, label LBL_15, label LBL_14\n LBL_14:\n %61 = icmp sgt i64 %55, 0\n %62 = select i1 %61, i64 %55, i64 0\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %55, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i8** %sv_0, { 1, 3, 0, 2 }\n uselistorder i64* %indvars.iv15.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4, 5 }\n uselistorder i64 1, { 0, 2, 3, 4, 1 }\n uselistorder i32 0, { 1, 0, 2, 3, 4 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 1, 0 }\n uselistorder i1 false, { 0, 3, 4, 1, 2, 5, 6 }\n uselistorder i32 1, { 5, 2, 1, 0, 4, 3 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n uselistorder label LBL_15, { 1, 0, 3, 2, 4 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "calc_add_mv_2183", "fun_name": "calc_add_mv", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg1 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = sub i32 0, %7\n store i32 %8, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %9 = trunc i64 %1 to i32\n store i32 %9, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %10 = mul i32 %storemerge.in.reload, %arg3\n %11 = add i32 %10, 8192\n %12 = ashr i32 %11, 14\n %13 = zext i32 %12 to i64\n ret i64 %13\n\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmxnet3_io_bar0_read_10178", "fun_name": "vmxnet3_io_bar0_read", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = zext i32 %arg3 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i32 %1, i64 %0)\n ret i64 0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_clock_init_1271", "fun_name": "qemu_clock_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = mul i64 %arg1, 8\n %3 = and i64 %2, 34359738360\n %4 = add i64 %3, ptrtoint (i64* @gv_0 to i64)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i32 48, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = inttoptr i64 %1 to i32*\n %10 = trunc i64 %8 to i32\n store i32 %10, i32* %9, align 4\n %11 = add i64 %1, 4\n %12 = inttoptr i64 %11 to i8*\n store i8 1, i8* %12, align 1\n %13 = add i64 %1, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 -9223372036854775808, i64* %14, align 8\n %15 = add i64 %1, 16\n %16 = call i64 @FUNC(i64 %15)\n %17 = add i64 %1, 24\n %18 = call i64 @FUNC(i64 %17)\n %19 = and i64 %8, 4294967295\n %20 = call i64 @FUNC(i64 %19, i64 0, i64 0)\n store i64 %20, i64* %5, align 8\n ret i64 %20\n\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reds_handle_new_link_9632", "fun_name": "reds_handle_new_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %arg1, align 8\n %1 = add i64 %0, 48\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %0, 56\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = add i64 %0, 60\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n store i64 %9, i64* %11, align 8\n %12 = add i64 %0, 32\n %13 = inttoptr i64 %12 to i64*\n store i64 4198662, i64* %13, align 8\n %14 = add i64 %0, 40\n %15 = inttoptr i64 %14 to i64*\n store i64 4198669, i64* %15, align 8\n %16 = call i64 @FUNC(i64 0, i64 0, i64 %0)\n ret i64 %16\n\n uselistorder i64 %0, { 2, 9, 8, 7, 1, 6, 0, 5, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "PredictorEncodeRow_11431", "fun_name": "PredictorEncodeRow", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i16 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = inttoptr i64 %1 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 25, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n ret i64 %0\n\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qmp_guest_file_write_18692", "fun_name": "qmp_guest_file_write", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg5 to i64\n %sv_2 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %arg1, i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_9\n LBL_1:\n %4 = inttoptr i64 %1 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = ptrtoint i8* %arg2 to i64\n %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_2)\n %8 = trunc i64 %arg3 to i8\n %9 = icmp eq i8 %8, 1\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = load i64, i64* %sv_2, align 8\n store i64 %10, i64* %sv_1.0.reg2mem\n br label LBL_5\n LBL_3:\n %11 = icmp slt i64 %arg4, 0\n %12 = load i64, i64* %sv_2, align 8\n %13 = icmp ult i64 %12, %arg4\n %or.cond = or i1 %11, %13\n store i64 %arg4, i64* %sv_1.0.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_5\n LBL_4:\n %14 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %arg4)\n %15 = call i64 @FUNC(i64 %7)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %16 = inttoptr i64 %5 to %_IO_FILE*\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %17 = inttoptr i64 %7 to i64*\n %18 = trunc i64 %sv_1.0.reload to i32\n %19 = call i32 @fwrite(i64* %17, i32 1, i32 %18, %_IO_FILE* %16)\n %20 = call i32 @ferror(%_IO_FILE* %16)\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i32* @__errno_location()\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %0, i64 %24, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0), i64 %arg1)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %27 = call i64 @FUNC(i64 8)\n %28 = inttoptr i64 %27 to i32*\n store i32 %19, i32* %28, align 4\n %29 = call i32 @feof(%_IO_FILE* %16)\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n %32 = zext i1 %31 to i8\n %33 = add i64 %27, 4\n %34 = inttoptr i64 %33 to i8*\n store i8 %32, i8* %34, align 1\n store i64 %27, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %35 = call i64 @FUNC(i64 %7)\n %36 = call i64 @FUNC(i64 %5)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder %_IO_FILE* %16, { 0, 2, 1 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder i64 %arg4, { 2, 0, 1, 3 }\n uselistorder label LBL_9, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tg3_write_sig_legacy_9752", "fun_name": "tg3_write_sig_legacy", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_7, label LBL_1\n LBL_1:\n %4 = trunc i64 %arg2 to i32\n %5 = icmp eq i32 %4, 2\n br i1 %5, label LBL_6, label LBL_2\n LBL_2:\n %6 = icmp sgt i32 %4, 2\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_7, label LBL_3\n LBL_3:\n store i64 %1, i64* %rax.0.reg2mem\n switch i32 %4, label LBL_7 [\n i32 0, label LBL_4\n i32 1, label LBL_5\n ]\n LBL_4:\n %7 = call i64 @FUNC(i64 %0, i64 256, i64 1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %8 = call i64 @FUNC(i64 %0, i64 256, i64 2)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %9 = call i64 @FUNC(i64 %0, i64 256, i64 3)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 1, 4, 6 }\n uselistorder i64 (i64, i64, i64)* @tg3_write_mem, { 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_7, { 2, 3, 4, 0, 1, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "omap_gpmc_init_1052", "fun_name": "omap_gpmc_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 16)\n %1 = call i64 @FUNC(i64 %0, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 4096)\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC(i64 %2, i64 %arg1, i64 %0)\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %arg2, i64* %5, align 8\n %6 = call i64 @FUNC(i64 %0)\n ret i64 %0\n\n uselistorder i64 %0, { 0, 1, 2, 3, 5, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fbFetchPixel_x4r4g4b4_10900", "fun_name": "fbFetchPixel_x4r4g4b4", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i16* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 31\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i16*\n %4 = load i16, i16* %3, align 2\n %5 = zext i16 %4 to i32\n %6 = and i32 %5, 3840\n %7 = udiv i32 %5, 16\n %8 = and i32 %7, 240\n %9 = or i32 %8, %6\n %10 = mul i32 %9, 4096\n %11 = and i32 %5, 240\n %12 = urem i32 %7, 16\n %13 = or i32 %12, %11\n %14 = mul i32 %13, 256\n %15 = urem i32 %5, 16\n %16 = mul i32 %5, 16\n %17 = and i32 %16, 240\n %18 = or i32 %15, %17\n %19 = or i32 %18, %14\n %20 = or i32 %19, %10\n %21 = or i32 %20, -16777216\n %22 = zext i32 %21 to i64\n ret i64 %22\n\n uselistorder i32 %7, { 1, 0 }\n uselistorder i32 %5, { 0, 2, 3, 1, 4 }\n uselistorder i32 16, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rc4_hmac_md5_get_params_10352", "fun_name": "rc4_hmac_md5_get_params", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 128, i64 64, i64 0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "amdgpu_ctx_get_fence_4789", "fun_name": "amdgpu_ctx_get_fence", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext, 28\n %4 = add i64 %2, 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %arg3, -1\n %7 = icmp eq i1 %6, false\n store i64 %arg3, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %3, %4\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %10, -1\n store i64 %11, i64* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %12 = add i64 %3, %2\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp ult i64 %sv_0.0.reload, %14\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %4)\n store i64 -22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %17 = add i64 %sv_0.0.reload, 16\n %18 = icmp ult i64 %17, %14\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %21 = add i64 %12, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = mul i64 %sv_0.0.reload, 8\n %25 = and i64 %24, 120\n %26 = add i64 %23, %25\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = call i64 @FUNC(i64 %4)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %4, { 3, 2, 1, 0, 4 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ahci_init_d2h_581", "fun_name": "ahci_init_d2h", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 20\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = zext i8 %3 to i64\n %5 = icmp eq i8 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = add i64 %0, 4\n %11 = inttoptr i64 %10 to i32*\n store i8 1, i8* %2, align 1\n %12 = load i32, i32* %11, align 4\n %13 = mul i32 %12, 16777216\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = mul i32 %16, 65536\n %18 = or i32 %17, %13\n %19 = add i64 %0, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = mul i32 %21, 256\n %23 = or i32 %18, %22\n %24 = add i64 %0, 16\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = urem i32 %26, 256\n %28 = or i32 %23, %27\n %29 = bitcast i64* %arg1 to i32*\n store i32 %28, i32* %29, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 1, 2, 3, 6, 4, 5 }\n uselistorder i32 256, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "start_bandwidth_timer_10841", "fun_name": "start_bandwidth_timer", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %1, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %0, i64 %5, i64 %arg2)\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC(i64 %8, i64 %7)\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %0, i64 %7, i64 %10, i64 0, i64 0)\n %12 = call i64 @FUNC(i64 %0)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %12, i64* %.lcssa.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %0, { 6, 2, 1, 5, 4, 3, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @hrtimer_active, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_client_session_close_2607", "fun_name": "nbd_client_session_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = icmp eq i32 %7, -1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %9, i32* nonnull %sv_0)\n %11 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %4, align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ReplaceThumbnail_5926", "fun_name": "ReplaceThumbnail", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca %_IO_FILE*\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load i32, i32* @gv_1, align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_4, label LBL_2\n LBL_2:\n %5 = icmp eq i64 %arg1, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_14\n LBL_3:\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %8 = call i32 @fwrite(i64* bitcast ([62 x i8]* @gv_3 to i64*), i32 1, i32 61, %_IO_FILE* %7)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %9 = icmp eq i64 %arg1, 0\n br i1 %9, label LBL_9, label LBL_5\n LBL_5:\n %10 = inttoptr i64 %arg1 to i8*\n %11 = call %_IO_FILE* @fopen(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0))\n %12 = icmp eq %_IO_FILE* %11, null\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_7, label LBL_6\n LBL_6:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0))\n unreachable\n LBL_7:\n %15 = call i32 @fseek(%_IO_FILE* %11, i32 0, i32 2)\n %16 = call i32 @ftell(%_IO_FILE* %11)\n %17 = call i32 @fseek(%_IO_FILE* %11, i32 0, i32 0)\n %18 = load i32, i32* @gv_0, align 4\n %19 = add i32 %18, %16\n %20 = icmp slt i32 %19, 65517\n store %_IO_FILE* %11, %_IO_FILE** %sv_1.0.reg2mem\n store i32 %16, i32* %sv_0.0.reg2mem\n br i1 %20, label LBL_10, label LBL_8\n LBL_8:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_6, i64 0, i64 0))\n unreachable\n LBL_9:\n %22 = load i32, i32* bitcast (i64* @gv_7 to i32*), align 8\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store %_IO_FILE* null, %_IO_FILE** %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_10, label LBL_14\n LBL_10:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load %_IO_FILE*, %_IO_FILE** %sv_1.0.reg2mem\n %25 = call i64 @FUNC(i64 1165519206)\n %26 = add i32 %sv_0.0.reload, ptrtoint (i64* @gv_7 to i32)\n %27 = inttoptr i64 %25 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = inttoptr i64 %28 to i64*\n %30 = call i64* @realloc(i64* %29, i32 %26)\n %31 = ptrtoint i64* %30 to i64\n store i64 %31, i64* %27, align 8\n %32 = icmp eq %_IO_FILE* %sv_1.0.reload, null\n br i1 %32, label LBL_13, label LBL_11\n LBL_11:\n %33 = add i64 %31, ptrtoint (i64* @gv_7 to i64)\n %34 = inttoptr i64 %33 to i64*\n %35 = call i32 @fread(i64* %34, i32 1, i32 %sv_0.0.reload, %_IO_FILE* nonnull %sv_1.0.reload)\n %36 = icmp eq i32 %35, %sv_0.0.reload\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_6, label LBL_12\n LBL_12:\n %38 = call i32 @fclose(%_IO_FILE* nonnull %sv_1.0.reload)\n br label LBL_13\n LBL_13:\n store i32 %sv_0.0.reload, i32* bitcast (i64* @gv_7 to i32*), align 8\n %39 = load i64, i64* %27, align 8\n %40 = load i32, i32* inttoptr (i64 4210844 to i32*), align 4\n %41 = sext i32 %40 to i64\n %42 = add i64 %39, 8\n %43 = add i64 %42, %41\n %44 = zext i32 %sv_0.0.reload to i64\n %45 = call i64 @FUNC(i64 %43, i64 %44)\n %46 = udiv i32 %26, 256\n %47 = load i64, i64* %27, align 8\n %48 = trunc i32 %46 to i8\n %49 = inttoptr i64 %47 to i8*\n store i8 %48, i8* %49, align 1\n %50 = load i64, i64* %27, align 8\n %51 = add i64 %50, 1\n %52 = trunc i32 %26 to i8\n %53 = inttoptr i64 %51 to i8*\n store i8 %52, i8* %53, align 1\n %54 = add i64 %25, 8\n %55 = inttoptr i64 %54 to i32*\n store i32 %26, i32* %55, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %26, { 1, 2, 0, 3 }\n uselistorder %_IO_FILE* %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i32 %sv_0.0.reload, { 2, 1, 3, 4, 0 }\n uselistorder %_IO_FILE* %11, { 0, 3, 2, 1, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 4, 2 }\n uselistorder i64* @gv_7, { 1, 0, 2 }\n uselistorder i32 (%_IO_FILE*, i32, i32)* @fseek, { 1, 0 }\n uselistorder i64 (i8*)* @ErrFatal, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0 }\n uselistorder label LBL_14, { 2, 0, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpeg_nextmarker_181", "fun_name": "jpeg_nextmarker", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem7 = alloca i64\n %.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, -1\n %3 = icmp eq i1 %2, false\n store i32 %1, i32* %.reg2mem\n store i64 %0, i64* %.reg2mem7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %.reload = load i32, i32* %.reg2mem\n %4 = icmp eq i32 %.reload, 255\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %.reload8 = load i64, i64* %.reg2mem7\n %5 = urem i64 %.reload8, 256\n %6 = call i64 @FUNC(i64 %arg2, i64 %5)\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, -1\n %10 = icmp eq i1 %9, false\n store i32 %8, i32* %.reg2mem\n store i64 %7, i64* %.reg2mem7\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_6\n LBL_3:\n %11 = call i64 @FUNC(i64 %arg1)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, -1\n %14 = icmp eq i1 %13, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_6\n LBL_4:\n %15 = icmp eq i32 %12, 255\n br i1 %15, label LBL_3, label LBL_5\n LBL_5:\n %16 = and i64 %11, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem7, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 -1, { 1, 2, 0 }\n uselistorder i64 (i64)* @ReadBlobByte, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0 }\n uselistorder label LBL_6, { 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_slice_offset_1442", "fun_name": "get_slice_offset", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp slt i32 %arg3, %arg4\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = sext i32 %arg3 to i64\n %7 = mul i64 %6, 4\n %8 = add i64 %5, 4\n %9 = add i64 %8, %7\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i32 %11 to i64\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = mul i32 %arg3, 8\n %15 = sext i32 %14 to i64\n %16 = add i64 %15, %13\n %17 = add i64 %16, -4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 1\n %21 = icmp eq i1 %20, false\n %22 = inttoptr i64 %16 to i32*\n %23 = load i32, i32* %22, align 4\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %24 = zext i32 %23 to i64\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %25 = call i32 @llvm.bswap.i32(i32 %23)\n %26 = zext i32 %25 to i64\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %27 = and i64 %arg5, 4294967295\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %23, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stream_pause_16280", "fun_name": "stream_pause", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = bitcast i64* %rdi to i32*\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = zext i1 %4 to i32\n %6 = inttoptr i64 %arg1 to i32*\n store i32 %5, i32* %6, align 4\n %7 = load i32, i32* %2, align 8\n %8 = zext i32 %7 to i64\n %9 = icmp eq i32 %7, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = add i64 %arg1, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, -38\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = call i128 @FUNC(i64 %arg1)\n %16 = call i64 @FUNC(i128 %15)\n %17 = add i64 %arg1, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n br label LBL_3\n LBL_3:\n %19 = call i128 @FUNC()\n %20 = call i64 @FUNC(i128 %19)\n %21 = add i64 %arg1, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i128 @FUNC(i64 %23)\n %25 = call i128 @__asm_movq.1(i64 %20)\n %26 = call i128 @FUNC(i128 %25, i128 %24)\n %27 = call i128 @FUNC(i64 4696837146684686336)\n %28 = call i128 @FUNC(i128 %26)\n %29 = call i128 @FUNC(i128 %28, i128 %27)\n %30 = add i64 %arg1, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i128 @FUNC(i64 %32)\n %34 = call i128 @FUNC(i128 %33, i128 %29)\n %35 = call i64 @__asm_movsd.2(i128 %34)\n store i64 %35, i64* %31, align 8\n %36 = call i128 @FUNC()\n %37 = call i64 @FUNC(i128 %36)\n store i64 %37, i64* %22, align 8\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %arg1, { 0, 1, 3, 4, 2, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "apparmor_setprocattr_13570", "fun_name": "apparmor_setprocattr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 %0, i64* %sv_2, align 8\n %1 = icmp eq i64 %arg4, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_22\n LBL_1:\n %3 = add i64 %0, %arg4\n %4 = add i64 %3, -1\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 0\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = icmp eq i64 %arg4, 4096\n %9 = icmp eq i1 %8, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_22\n LBL_3:\n %10 = inttoptr i64 %3 to i8*\n store i8 0, i8* %10, align 1\n br label LBL_4\n LBL_4:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = load i64, i64* @gv_0, align 8\n %13 = icmp eq i64 %12, %11\n store i64 4294967283, i64* %rax.0.reg2mem\n br i1 %13, label LBL_5, label LBL_22\n LBL_5:\n %14 = call i64 @FUNC(i64 %0)\n store i64 %14, i64* %sv_2, align 8\n %15 = bitcast i64* %sv_2 to i8**\n %16 = call i8* @strsep(i8** nonnull %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %17 = load i64, i64* %sv_2, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %19, label LBL_6, label LBL_22\n LBL_6:\n %20 = call i64 @FUNC(i64 %17)\n store i64 %20, i64* %sv_2, align 8\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = icmp eq i8 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %24, label LBL_7, label LBL_22\n LBL_7:\n %25 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_2, i64 0, i64 0))\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_19, label LBL_8\n LBL_8:\n %28 = sub i64 %0, %20\n %29 = add i64 %28, %arg4\n %30 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0))\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = load i64, i64* %sv_2, align 8\n %34 = call i64 @FUNC(i64 %33, i64 %29, i64 0)\n store i64 %34, i64* %sv_0.0.in.in.reg2mem\n br label LBL_21\n LBL_10:\n %35 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0))\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_12, label LBL_11\n LBL_11:\n %38 = load i64, i64* %sv_2, align 8\n %39 = call i64 @FUNC(i64 %38, i64 %29, i64 1)\n store i64 %39, i64* %sv_0.0.in.in.reg2mem\n br label LBL_21\n LBL_12:\n %40 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0))\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_14, label LBL_13\n LBL_13:\n %43 = load i64, i64* %sv_2, align 8\n %44 = call i64 @FUNC(i64 %43, i64 0, i64 0)\n store i64 %44, i64* %sv_0.0.in.in.reg2mem\n br label LBL_21\n LBL_14:\n %45 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0))\n %46 = icmp eq i32 %45, 0\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_16, label LBL_15\n LBL_15:\n %48 = load i64, i64* %sv_2, align 8\n %49 = call i64 @FUNC(i64 %48, i64 0, i64 1)\n store i64 %49, i64* %sv_0.0.in.in.reg2mem\n br label LBL_21\n LBL_16:\n %50 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_7, i64 0, i64 0))\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_18, label LBL_17\n LBL_17:\n %53 = load i64, i64* %sv_2, align 8\n %54 = call i64 @FUNC(i64 %53)\n store i64 %54, i64* %sv_0.0.in.in.reg2mem\n br label LBL_21\n LBL_18:\n %55 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 24)\n store i64 1, i64* %sv_1, align 8\n %56 = call i64 @FUNC()\n %57 = call i64 @FUNC(i64 1, i64 %56, i64 0, i64* nonnull %sv_1, i64 0)\n store i64 %57, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_19:\n %58 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0))\n %59 = icmp eq i32 %58, 0\n %60 = icmp eq i1 %59, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %60, label LBL_22, label LBL_20\n LBL_20:\n %61 = load i64, i64* %sv_2, align 8\n %62 = call i64 @FUNC(i64 %61, i64 1, i64 0)\n store i64 %62, i64* %sv_0.0.in.in.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem\n %sv_0.0.in = mul i64 %sv_0.0.in.in.reload, 4294967296\n %sv_0.0 = ashr exact i64 %sv_0.0.in, 32\n %63 = trunc i64 %sv_0.0 to i32\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n %sv_0.1 = select i1 %65, i64 %sv_0.0, i64 %arg4\n %66 = and i64 %sv_0.1, 4294967295\n store i64 %66, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 3, 4, 5, 6, 7, 8, 0, 9, 10 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 2, 0, 3 }\n uselistorder i64* %sv_0.0.in.in.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 7, 2, 3, 4, 5, 6 }\n uselistorder i64 (i64, i64, i64)* @aa_setprocattr_changeprofile, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @aa_setprocattr_changehat, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 2, 3, 4, 5, 0, 6, 1 }\n uselistorder i64 %arg4, { 2, 0, 3, 1, 4 }\n uselistorder label LBL_22, { 6, 0, 7, 1, 2, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_pci_load_config_1159", "fun_name": "virtio_pci_load_config", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %6 = call i64 @FUNC(i64 %1, i64 %0)\n %7 = call i64 @FUNC(i64 %1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = add i64 %1, 1024\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n br label LBL_5\n LBL_4:\n %14 = inttoptr i64 %12 to i32*\n store i32 0, i32* %14, align 4\n br label LBL_5\n LBL_5:\n %15 = load i64, i64* %11, align 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = zext i32 %17 to i64\n %20 = call i64 @FUNC(i64 %1, i64 %19)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %21 = add i64 %15, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = urem i32 %23, 2\n %25 = icmp eq i32 %24, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_10, label LBL_8\n LBL_8:\n %26 = bitcast i64* %rdi to i32*\n %27 = load i32, i32* %26, align 8\n %28 = urem i32 %27, 2\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_10, label LBL_9\n LBL_9:\n %31 = add i64 %1, 1032\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = or i32 %33, 1\n store i32 %34, i32* %32, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2, 4, 3, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 5, 4 }\n uselistorder label LBL_10, { 2, 1, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "trgt_box_dump_6005", "fun_name": "trgt_box_dump", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = trunc i64 %3 to i32\n %6 = icmp ne i32 %5, 0\n %7 = icmp eq i32 %5, 1\n %8 = icmp eq i1 %7, false\n %or.cond = icmp eq i1 %6, %8\n %spec.store.select = select i1 %or.cond, i32 %5, i32 2003725173\n store i32 %spec.store.select, i32* %arg1, align 4\n %9 = ptrtoint i32* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n store i32 2, i32* %arg1, align 4\n %11 = add i64 %9, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i32 %13, i64 %4, i64 %2, i64 %1)\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %9, i64 %arg2)\n ret i64 0\n\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder i32* %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cirrus_bitblt_videotovideo_patterncopy_1131", "fun_name": "cirrus_bitblt_videotovideo_patterncopy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = add i64 %0, 12\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = and i32 %3, -8\n %8 = and i32 %7, %6\n %9 = zext i32 %8 to i64\n %10 = add i64 %9, %0\n %11 = call i64 @FUNC(i64 %0, i64 %10)\n ret i64 %11\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_physdev_op_13054", "fun_name": "do_physdev_op", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = and i64 %arg1, 4294967295\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 8, i64 %3, i64 %2, i64 %1)\n ret i64 4294967258\n\n uselistorder i64* %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sysbus_has_irq_2053", "fun_name": "sysbus_has_irq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = and i64 %arg2, 4294967295\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %3, i64 %2, i64 %1)\n %sext = mul i64 %4, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = call i64 @FUNC(i64 %7, i64 %6, i64 0)\n %9 = call i64 @FUNC(i64 %6)\n %10 = icmp eq i64 %8, 0\n %11 = icmp eq i1 %10, false\n %12 = zext i1 %11 to i64\n %13 = and i64 %9, -256\n %14 = or i64 %13, %12\n ret i64 %14\n\n uselistorder i64* %0, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_llcp_recv_cc_8336", "fun_name": "nfc_llcp_recv_cc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i8\n %5 = urem i64 %2, 256\n %6 = call i64 @FUNC(i64 %1, i64 %5)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = trunc i64 %2 to i8\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n %11 = call i64 @FUNC(i64 %1, i8 %9, i8 %4, i64 0)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %12 = inttoptr i64 %6 to i32*\n %13 = call i64 @FUNC(i64 %1, i64 %6)\n %14 = add i64 %1, 8\n %15 = call i64 @FUNC(i64 %14, i64 %6)\n %16 = add i64 %6, 16\n %17 = inttoptr i64 %16 to i8*\n store i8 %4, i8* %17, align 1\n %18 = add i64 %0, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i32 %20, -4\n %22 = zext i32 %21 to i64\n %23 = add i64 %6, 4\n %24 = call i64 @FUNC(i64 %6, i64 %23, i64 %22)\n store i32 1, i32* %12, align 4\n %25 = call i64 @FUNC(i64 %6)\n store i64 %25, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 0, 1, 3, 2, 4, 5, 6, 7 }\n uselistorder i8 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "msrle_decode_frame_4710", "fun_name": "msrle_decode_frame", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge3.lcssa18.reg2mem = alloca i32\n %.lcssa19.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.08.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i32\n %.pre-phi17.reg2mem = alloca i64*\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %3, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = inttoptr i64 %9 to i64*\n store i64 %2, i64* %13, align 8\n %14 = add i64 %9, 8\n %15 = inttoptr i64 %14 to i32*\n store i32 %6, i32* %15, align 4\n %16 = add i64 %9, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %3, i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_2, label LBL_1\n LBL_1:\n %23 = and i64 %19, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_2:\n %24 = load i32, i32* %11, align 4\n %.off = add i32 %24, -2\n %25 = icmp ugt i32 %.off, 6\n br i1 %25, label LBL_7, label LBL_3\n LBL_3:\n %26 = call i64 @FUNC(i64 %2, i64 0, i64 0)\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_3.LBL_6_crit_edge, label LBL_5\n LBL_4:\n %.pre = add i64 %9, 24\n %.pre16 = inttoptr i64 %.pre to i64*\n store i64* %.pre16, i64** %.pre-phi17.reg2mem\n br label LBL_6\n LBL_5:\n %28 = load i64, i64* %17, align 8\n %29 = add i64 %28, 36\n %30 = inttoptr i64 %29 to i32*\n store i32 1, i32* %30, align 4\n %31 = add i64 %9, 24\n %32 = inttoptr i64 %31 to i64*\n %33 = inttoptr i64 %26 to i64*\n %34 = call i64* @memcpy(i64* %32, i64* %33, i32 1024)\n store i64* %32, i64** %.pre-phi17.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi17.reload = load i64*, i64** %.pre-phi17.reg2mem\n %35 = load i64, i64* %17, align 8\n %36 = add i64 %35, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = inttoptr i64 %38 to i64*\n %40 = call i64* @memcpy(i64* %39, i64* %.pre-phi17.reload, i32 1024)\n br label LBL_7\n LBL_7:\n %41 = trunc i64 %1 to i32\n %42 = mul i32 %12, %41\n %43 = add i32 %42, 31\n %44 = ashr i32 %43, 3\n %45 = and i32 %44, -4\n %46 = add i64 %3, 4\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = mul i32 %48, %45\n %50 = load i32, i32* %5, align 4\n %51 = icmp eq i32 %49, %50\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_17, label LBL_8\n LBL_8:\n %53 = bitcast i64* %rdi to i32*\n %54 = load i32, i32* %53, align 8\n %55 = zext i32 %54 to i64\n %56 = add i64 %3, 24\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = zext i32 %58 to i64\n %60 = call i64 @FUNC(i64 %59, i64 %55, i64 0)\n %61 = load i32, i32* %47, align 4\n %62 = icmp eq i32 %61, 0\n br i1 %62, label LBL_18, label LBL_9\n LBL_9:\n %63 = trunc i64 %60 to i32\n %64 = add i32 %61, -1\n %65 = mul i32 %64, %45\n %66 = sext i32 %65 to i64\n %67 = add nsw i64 %66, %55\n %68 = load i64, i64* %17, align 8\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = sext i32 %45 to i64\n store i32 0, i32* %storemerge12.reg2mem\n store i64 %67, i64* %sv_1.09.reg2mem\n store i64 %70, i64* %sv_0.08.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %sv_1.09.reload = load i64, i64* %sv_1.09.reg2mem\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %72 = load i32, i32* %11, align 4\n %73 = icmp eq i32 %72, 4\n %74 = icmp eq i1 %73, false\n br i1 %74, label LBL_15, label LBL_11\n LBL_11:\n %75 = load i32, i32* %53, align 8\n %76 = icmp eq i32 %75, 1\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge35.reg2mem\n store i64 0, i64* %.lcssa19.reg2mem\n store i32 0, i32* %storemerge3.lcssa18.reg2mem\n br i1 %76, label LBL_14, label LBL_12\n LBL_12:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %77 = ashr exact i32 %storemerge35.reload, 1\n %78 = sext i32 %77 to i64\n %79 = add i64 %sv_1.09.reload, %78\n %80 = inttoptr i64 %79 to i8*\n %81 = load i8, i8* %80, align 1\n %82 = add i64 %.reload, %sv_0.08.reload\n %83 = udiv i8 %81, 16\n %84 = inttoptr i64 %82 to i8*\n store i8 %83, i8* %84, align 1\n %85 = load i8, i8* %80, align 1\n %86 = or i32 %storemerge35.reload, 1\n %87 = sext i32 %86 to i64\n %88 = add i64 %sv_0.08.reload, %87\n %89 = urem i8 %85, 16\n %90 = inttoptr i64 %88 to i8*\n store i8 %89, i8* %90, align 1\n %91 = add i32 %storemerge35.reload, 2\n %92 = load i32, i32* %53, align 8\n %93 = add i32 %92, -1\n %94 = zext i32 %93 to i64\n %95 = sext i32 %91 to i64\n %96 = icmp slt i64 %95, %94\n store i64 %95, i64* %.reg2mem\n store i32 %91, i32* %storemerge35.reg2mem\n br i1 %96, label LBL_12, label LBL_13\n LBL_13:\n %97 = urem i32 %92, 2\n %98 = icmp eq i32 %97, 0\n store i64 %95, i64* %.lcssa19.reg2mem\n store i32 %91, i32* %storemerge3.lcssa18.reg2mem\n br i1 %98, label LBL_16, label LBL_14\n LBL_14:\n %storemerge3.lcssa18.reload = load i32, i32* %storemerge3.lcssa18.reg2mem\n %.lcssa19.reload = load i64, i64* %.lcssa19.reg2mem\n %99 = ashr exact i32 %storemerge3.lcssa18.reload, 1\n %100 = sext i32 %99 to i64\n %101 = add i64 %sv_1.09.reload, %100\n %102 = inttoptr i64 %101 to i8*\n %103 = load i8, i8* %102, align 1\n %104 = add i64 %.lcssa19.reload, %sv_0.08.reload\n %105 = udiv i8 %103, 16\n %106 = inttoptr i64 %104 to i8*\n store i8 %105, i8* %106, align 1\n br label LBL_16\n LBL_15:\n %107 = inttoptr i64 %sv_0.08.reload to i64*\n %108 = inttoptr i64 %sv_1.09.reload to i64*\n %109 = call i64* @memcpy(i64* %107, i64* %108, i32 %63)\n br label LBL_16\n LBL_16:\n %110 = sub i64 %sv_1.09.reload, %71\n %111 = load i64, i64* %17, align 8\n %112 = add i64 %111, 24\n %113 = inttoptr i64 %112 to i32*\n %114 = load i32, i32* %113, align 4\n %115 = sext i32 %114 to i64\n %116 = add i64 %sv_0.08.reload, %115\n %117 = add i32 %storemerge12.reload, 1\n %118 = load i32, i32* %47, align 4\n %119 = zext i32 %118 to i64\n %120 = sext i32 %117 to i64\n %121 = icmp slt i64 %120, %119\n store i32 %117, i32* %storemerge12.reg2mem\n store i64 %110, i64* %sv_1.09.reg2mem\n store i64 %116, i64* %sv_0.08.reg2mem\n br i1 %121, label LBL_10, label LBL_18\n LBL_17:\n %122 = add i64 %9, 1048\n %123 = call i64 @FUNC(i64 %122, i64 %2, i32 %6)\n %124 = load i32, i32* %11, align 4\n %125 = load i64, i64* %17, align 8\n %126 = call i64 @FUNC(i64 %3, i64 %125, i32 %124, i64 %122)\n br label LBL_18\n LBL_18:\n %127 = ptrtoint i64* %arg2 to i64\n %128 = load i64, i64* %17, align 8\n %129 = call i64 @FUNC(i64 %127, i64 %128)\n %130 = trunc i64 %129 to i32\n %131 = icmp slt i32 %130, 0\n %132 = icmp eq i1 %131, false\n br i1 %132, label LBL_20, label LBL_19\n LBL_19:\n %133 = and i64 %129, 4294967295\n store i64 %133, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n store i32 1, i32* %arg3, align 4\n %134 = zext i32 %6 to i64\n store i64 %134, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge35.reload, { 1, 0, 2 }\n uselistorder i64 %sv_1.09.reload, { 1, 0, 3, 2 }\n uselistorder i64 %sv_0.08.reload, { 4, 0, 2, 3, 1 }\n uselistorder i32* %53, { 1, 0, 2 }\n uselistorder i32* %47, { 1, 0, 2 }\n uselistorder i32 %45, { 2, 0, 1 }\n uselistorder i64* %17, { 4, 5, 2, 3, 1, 0, 6 }\n uselistorder i32* %11, { 1, 0, 2, 3 }\n uselistorder i64 %9, { 2, 1, 0, 3, 4, 5 }\n uselistorder i64 %3, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %2, { 1, 0, 3, 2 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge35.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.lcssa19.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge3.lcssa18.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i8 16, { 0, 2, 1 }\n uselistorder i64 24, { 1, 2, 3, 0 }\n uselistorder label LBL_18, { 2, 0, 1 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "thin_hook_bio_4863", "fun_name": "thin_hook_bio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %2, align 8\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 0, i64* %4, align 8\n %5 = add i64 %1, 16\n %6 = inttoptr i64 %5 to i64*\n store i64 0, i64* %6, align 8\n %7 = add i64 %1, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ne2000_class_init_9388", "fun_name": "ne2000_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 ptrtoint ([17 x i8]* @gv_0 to i64), i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i16*\n store i16 4332, i16* %6, align 2\n %7 = add i64 %0, 26\n %8 = inttoptr i64 %7 to i16*\n store i16 -32727, i16* %8, align 2\n %9 = add i64 %0, 28\n %10 = inttoptr i64 %9 to i32*\n store i32 131072, i32* %10, align 4\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %arg1, align 8\n %11 = load i64, i64* @gv_2, align 8\n store i64 %11, i64* %2, align 8\n %12 = load i64, i64* %4, align 8\n %13 = call i64 @FUNC(i64 0, i64 %12)\n ret i64 %13\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "propagateConstantExprRewrite_5759", "fun_name": "propagateConstantExprRewrite", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_11\n LBL_1:\n %4 = ptrtoint i32* %arg2 to i64\n %5 = call i64 @FUNC(i64 %4, i64 3)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_11\n LBL_2:\n %8 = trunc i64 %4 to i32\n %9 = icmp eq i32 %8, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_11, label LBL_3\n LBL_3:\n %10 = add i64 %4, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %4, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = inttoptr i64 %10 to i32*\n %16 = and i64 %4, 4294967295\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %17 = mul i32 %storemerge4.reload, 2\n %18 = sext i32 %17 to i64\n %19 = mul i64 %18, 8\n %20 = add i64 %19, %12\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, %4\n br i1 %23, label LBL_10, label LBL_5\n LBL_5:\n %24 = add i64 %22, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = load i32, i32* %14, align 4\n %28 = icmp eq i32 %26, %27\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_10, label LBL_6\n LBL_6:\n %30 = add i64 %22, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = load i32, i32* %15, align 4\n %34 = icmp eq i32 %32, %33\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_10, label LBL_7\n LBL_7:\n %36 = add i64 %4, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i32 %38, 1\n store i32 %39, i32* %37, align 4\n %40 = call i64 @FUNC(i64 %4, i64 4)\n %41 = call i64 @FUNC(i64 %4, i64 1)\n %42 = inttoptr i64 %36 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = icmp eq i64 %43, 0\n br i1 %44, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_1, i64 0, i64 0), i32 67, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %45 = load i64, i64* %11, align 8\n %46 = or i32 %17, 1\n %47 = sext i32 %46 to i64\n %48 = mul i64 %47, 8\n %49 = add i64 %45, %48\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %4, 24\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56, i64 %51, i64 0)\n store i64 %57, i64* %42, align 8\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %58 = add i32 %storemerge4.reload, 1\n %59 = sext i32 %58 to i64\n %60 = icmp sgt i64 %16, %59\n store i32 %58, i32* %storemerge4.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %60, label LBL_4, label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %17, { 1, 0 }\n uselistorder i64 %4, { 4, 6, 5, 3, 7, 0, 8, 2, 1, 9 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n uselistorder i64 1, { 0, 2, 3, 1 }\n uselistorder label LBL_11, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "remove_file_19228", "fun_name": "remove_file", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i8*, align 8\n store i8* null, i8** %sv_5, align 8\n store i64 0, i64* %sv_4, align 8\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8** %sv_5, align 8\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8** %.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i8* null, i8** %sv_1.0.reg2mem\n store i8* null, i8** %sv_0.0.reg2mem\n br label LBL_19\n LBL_2:\n %5 = add i64 %2, 7\n %6 = add i64 %2, 8\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = inttoptr i64 %7 to i8*\n %9 = icmp eq i64 %7, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8** %sv_5, align 8\n store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i8** %.reg2mem\n store i64 %5, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i8* %8, i8** %sv_1.0.reg2mem\n store i8* null, i8** %sv_0.0.reg2mem\n br label LBL_19\n LBL_4:\n %11 = call i8* @canonicalize_file_name(i8* %8)\n %12 = ptrtoint i8* %11 to i64\n %sext.mask = and i64 %12, 4294967295\n %13 = icmp eq i64 %sext.mask, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_7, label LBL_5\n LBL_5:\n %15 = call i32* @__errno_location()\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 2\n br i1 %17, label LBL_18, label LBL_6\n LBL_6:\n store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i8** %sv_5, align 8\n store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i8** %.reg2mem\n store i64 %5, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i8* %8, i8** %sv_1.0.reg2mem\n store i8* %11, i8** %sv_0.0.reg2mem\n br label LBL_19\n LBL_7:\n %18 = add i64 %2, 6\n %19 = call i64 @FUNC(i64 %1, i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_9, label LBL_8\n LBL_8:\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i8** %sv_5, align 8\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i8** %.reg2mem\n store i64 %5, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i8* %8, i8** %sv_1.0.reg2mem\n store i8* %11, i8** %sv_0.0.reg2mem\n br label LBL_19\n LBL_9:\n %23 = add i64 %1, 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = urem i32 %25, 2\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_18, label LBL_10\n LBL_10:\n %29 = and i32 %25, 2\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_15, label LBL_11\n LBL_11:\n %31 = bitcast i64* %sv_4 to i8**\n %32 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* %11)\n %33 = icmp eq i32 %32, -1\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_13, label LBL_12\n LBL_12:\n store i64 0, i64* %sv_4, align 8\n store i8* null, i8** %.reg2mem\n store i64 %5, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i8* %8, i8** %sv_1.0.reg2mem\n store i8* %11, i8** %sv_0.0.reg2mem\n br label LBL_19\n LBL_13:\n %35 = load i64, i64* %sv_4, align 8\n %36 = bitcast i8** %sv_5 to i64*\n %37 = call i64 @FUNC(i64 %12, i64 %35, i64* nonnull %36, i64 1)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_17, label LBL_14\n LBL_14:\n %40 = load i8*, i8** %sv_5, align 8\n %41 = ptrtoint i8* %40 to i64\n %42 = call i64 @FUNC(i64 %41, i64 ptrtoint ([9 x i8]* @gv_5 to i64))\n %.pre = load i8*, i8** %sv_5, align 8\n store i8* %.pre, i8** %.reg2mem\n store i64 %5, i64* %sv_3.0.reg2mem\n store i64 %42, i64* %sv_2.0.reg2mem\n store i8* %8, i8** %sv_1.0.reg2mem\n store i8* %11, i8** %sv_0.0.reg2mem\n br label LBL_19\n LBL_15:\n %43 = call i32 @unlink(i8* %11)\n %44 = icmp slt i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_17, label LBL_16\n LBL_16:\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0), i8** %sv_5, align 8\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_6, i64 0, i64 0), i8** %.reg2mem\n store i64 %5, i64* %sv_3.0.reg2mem\n store i64 0, i64* %sv_2.0.reg2mem\n store i8* %8, i8** %sv_1.0.reg2mem\n store i8* %11, i8** %sv_0.0.reg2mem\n br label LBL_19\n LBL_17:\n %46 = call i64 @FUNC(i64 %0)\n br label LBL_18\n LBL_18:\n %47 = inttoptr i64 %2 to i64*\n call void @free(i64* %47)\n %48 = inttoptr i64 %7 to i64*\n call void @free(i64* %48)\n %49 = bitcast i8* %11 to i64*\n call void @free(i64* %49)\n %50 = load i64, i64* %sv_4, align 8\n %51 = inttoptr i64 %50 to i64*\n call void @free(i64* %51)\n store i64 0, i64* %storemerge4.reg2mem\n br label LBL_20\n LBL_19:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %.reload = load i8*, i8** %.reg2mem\n %52 = icmp eq i64 %sv_2.0.reload, 0\n %53 = icmp eq i1 %52, false\n %54 = ptrtoint i8* %.reload to i64\n %storemerge = select i1 %53, i64 %sv_2.0.reload, i64 %54\n %55 = call i32* @__errno_location()\n %56 = load i32, i32* %55, align 4\n %57 = zext i32 %56 to i64\n %58 = call i64 @FUNC(i64 %1, i64 %sv_3.0.reload, i64 %2, i64 %storemerge, i64 %57, i64 0)\n %59 = inttoptr i64 %2 to i64*\n call void @free(i64* %59)\n %60 = bitcast i8* %sv_1.0.reload to i64*\n call void @free(i64* %60)\n %61 = bitcast i8* %sv_0.0.reload to i64*\n call void @free(i64* %61)\n %62 = load i64, i64* %sv_4, align 8\n %63 = inttoptr i64 %62 to i64*\n call void @free(i64* %63)\n %64 = inttoptr i64 %sv_2.0.reload to i64*\n call void @free(i64* %64)\n store i64 4294967295, i64* %storemerge4.reg2mem\n br label LBL_20\n LBL_20:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n ret i64 %storemerge4.reload\n\n uselistorder i64 %sv_2.0.reload, { 2, 0, 1 }\n uselistorder i32 %25, { 1, 0 }\n uselistorder i8* %11, { 7, 4, 5, 3, 2, 6, 1, 0, 8 }\n uselistorder i8* %8, { 5, 4, 3, 2, 1, 6, 0 }\n uselistorder i64 %7, { 0, 2, 1 }\n uselistorder i64 %5, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3, 5, 4, 6 }\n uselistorder i8** %sv_5, { 7, 0, 6, 8, 5, 4, 3, 2, 1 }\n uselistorder i64* %sv_4, { 1, 2, 3, 4, 0, 5 }\n uselistorder i8** %.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %sv_3.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder void (i64*)* @free, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @strappend, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i8* null, { 3, 1, 0, 2, 4 }\n uselistorder label LBL_18, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "check_xadd_10298", "fun_name": "check_xadd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %4 to i32\n %7 = urem i32 %6, 4\n %8 = icmp ne i32 %7, 0\n %9 = icmp eq i32 %7, 1\n %10 = icmp eq i1 %9, false\n %or.cond = icmp eq i1 %8, %10\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %11 = add i64 %4, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n %16 = add i64 %4, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %5, i64 %19, i64 0)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = and i64 %20, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_5:\n %24 = add i64 %4, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %5, i64 %27, i64 0)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_7, label LBL_6\n LBL_6:\n %31 = and i64 %28, 4294967295\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n %32 = load i32, i32* %17, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %5, i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = load i32, i32* %17, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %38, i64 %27, i64 %2, i64 %1)\n store i64 4294967283, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n %40 = load i32, i32* %25, align 4\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64 %5, i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_11, label LBL_10\n LBL_10:\n %46 = load i32, i32* %25, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %5, i64 %47)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_12, label LBL_11\n LBL_11:\n %51 = load i32, i32* %25, align 4\n %52 = zext i32 %51 to i64\n %53 = call i64 @FUNC(i64 %5, i64 %52)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n %. = select i1 %55, i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64 ptrtoint ([8 x i8]* @gv_3 to i64)\n %56 = load i32, i32* %25, align 4\n %57 = zext i32 %56 to i64\n %58 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0), i64 %57, i64 %., i64 %2, i64 %1)\n store i64 4294967283, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %59 = add i64 %4, 16\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = load i32, i32* %25, align 4\n %63 = trunc i64 %arg2 to i32\n %64 = zext i32 %7 to i64\n %65 = call i64 @FUNC(i64 %5, i32 %63, i32 %62, i32 %61, i64 %64, i64 0)\n %66 = trunc i64 %65 to i32\n %67 = icmp eq i32 %66, 0\n br i1 %67, label LBL_14, label LBL_13\n LBL_13:\n %68 = and i64 %65, 4294967295\n store i64 %68, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n %69 = load i32, i32* %60, align 4\n %70 = load i32, i32* %25, align 4\n %71 = call i64 @FUNC(i64 %5, i32 %63, i32 %70, i32 %69, i64 %64, i64 1)\n store i64 %71, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %25, { 0, 1, 3, 4, 2, 5, 6 }\n uselistorder i32 %7, { 2, 1, 0 }\n uselistorder i64 %5, { 2, 3, 5, 6, 4, 7, 1, 8, 9, 10, 0 }\n uselistorder i64 %4, { 2, 3, 5, 0, 4, 1 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 7, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i32, i32, i32, i64, i64)* @check_mem_access, { 1, 0 }\n uselistorder i64 (i64, i64)* @is_ctx_reg, { 1, 0 }\n uselistorder i64 4294967283, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @check_reg_arg, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @verbose, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_metadata_creation_time_2927", "fun_name": "mov_metadata_creation_time", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n store i64 %arg2, i64* %sv_1, align 8\n %0 = icmp eq i64 %arg2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = add i64 %arg2, -2082844800\n store i64 %1, i64* %sv_1, align 8\n %2 = bitcast i64* %sv_1 to i32*\n %3 = call %tm* @gmtime(i32* nonnull %2)\n %4 = ptrtoint %tm* %3 to i64\n %5 = icmp eq %tm* %3, null\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i64* %sv_0 to i8*\n %8 = call i32 @strftime(i8* nonnull %7, i32 32, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), %tm* nonnull %3)\n %9 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0, i64 0)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rose_recvmsg_13727", "fun_name": "rose_recvmsg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_16\n LBL_1:\n %sext = mul i64 %arg5, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = urem i64 %6, 2\n %8 = and i64 %6, 4294967294\n %9 = bitcast i32* %sv_1 to i64*\n %10 = call i64 @FUNC(i64 %2, i64 %8, i64 %7, i64* nonnull %9)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = load i32, i32* %sv_1, align 4\n %14 = zext i32 %13 to i64\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_3:\n %15 = inttoptr i64 %3 to i32*\n %16 = inttoptr i64 %10 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = call i64 @FUNC(i64 %10, i64 1)\n %21 = load i32, i32* %15, align 4\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = urem i8 %19, 2\n %24 = icmp eq i8 %23, 0\n %25 = icmp eq i1 %24, false\n %26 = call i64 @FUNC(i64 %10, i64 1)\n %27 = zext i1 %25 to i8\n %28 = inttoptr i64 %26 to i8*\n store i8 %27, i8* %28, align 1\n br label LBL_5\n LBL_5:\n %29 = ptrtoint i64* %arg3 to i64\n %30 = call i64 @FUNC(i64 %10)\n %31 = add i64 %10, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp ugt i64 %33, %arg4\n store i64 %33, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_6, label LBL_7\n LBL_6:\n %35 = add i64 %29, 16\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = or i32 %37, 2\n store i32 %38, i32* %36, align 4\n store i64 %arg4, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %39 = add i64 %29, 24\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = call i64 @FUNC(i64 %10, i64 0, i64 %41, i64 %sv_0.0.reload)\n %43 = icmp eq i64* %arg3, null\n br i1 %43, label LBL_15, label LBL_8\n LBL_8:\n %44 = add i64 %29, 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = trunc i64 %46 to i32\n %48 = call i64* @memset(i64* nonnull %arg3, i32 0, i32 %47)\n %49 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %49, align 4\n %50 = add i64 %3, 4\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %29, 4\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = add i64 %3, 8\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = inttoptr i64 %44 to i32*\n store i32 %57, i32* %58, align 4\n %59 = add i64 %3, 12\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = add i64 %29, 12\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n %64 = load i64, i64* %45, align 8\n %65 = icmp ult i64 %64, 56\n %66 = load i32, i32* %60, align 4\n br i1 %65, label LBL_12, label LBL_9\n LBL_9:\n %67 = zext i32 %61 to i64\n %68 = icmp eq i32 %66, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n br i1 %68, label LBL_11, label LBL_10\n LBL_10:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %69 = mul i64 %.reload, 4\n %70 = add nsw i64 %69, 16\n %71 = add i64 %70, %3\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = add nsw i64 %70, %67\n %75 = inttoptr i64 %74 to i32*\n store i32 %73, i32* %75, align 4\n %76 = add i32 %storemerge4.reload, 1\n %77 = load i32, i32* %60, align 4\n %78 = zext i32 %77 to i64\n %79 = sext i32 %76 to i64\n %80 = icmp slt i64 %79, %78\n store i64 %79, i64* %.reg2mem\n store i32 %76, i32* %storemerge4.reg2mem\n br i1 %80, label LBL_10, label LBL_11\n LBL_11:\n store i64 56, i64* %45, align 8\n br label LBL_15\n LBL_12:\n %81 = icmp slt i32 %66, 1\n br i1 %81, label LBL_14, label LBL_13\n LBL_13:\n store i32 1, i32* %63, align 4\n %82 = add i64 %3, 16\n %83 = inttoptr i64 %82 to i32*\n %84 = load i32, i32* %83, align 4\n %85 = add i64 %29, 16\n %86 = inttoptr i64 %85 to i32*\n store i32 %84, i32* %86, align 4\n br label LBL_14\n LBL_14:\n store i64 20, i64* %45, align 8\n br label LBL_15\n LBL_15:\n %87 = call i64 @FUNC(i64 %2, i64 %10)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %66, { 1, 0 }\n uselistorder i32 %61, { 1, 0 }\n uselistorder i64* %45, { 1, 0, 2, 3 }\n uselistorder i64 %10, { 1, 2, 4, 3, 0, 5, 6, 7 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 56, { 1, 0 }\n uselistorder i64 16, { 1, 2, 0, 3 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_16, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RegenerateThumbnail_5999", "fun_name": "RegenerateThumbnail", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = load i32, i32* @gv_1, align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_5\n LBL_2:\n %5 = load i32, i32* inttoptr (i64 4210768 to i32*), align 16\n %6 = load i32, i32* @gv_2, align 4\n %7 = zext i32 %5 to i64\n %8 = zext i32 %6 to i64\n %9 = bitcast i64* %sv_0 to i8*\n %10 = inttoptr i64 %arg1 to i8*\n %11 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %9, i32 8242, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i64 %8, i64 %7, i8* %10)\n %12 = call i32 @system(i8* nonnull %9)\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %arg1)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0))\n unreachable\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_server_conf_5287", "fun_name": "free_server_conf", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n %2 = zext i1 %1 to i64\n %3 = call i64 @FUNC(i64 %2)\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %0, label LBL_6, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = inttoptr i64 %2 to i8*\n %9 = call i32 @strlen(i8* %8)\n %10 = inttoptr i64 %2 to i64*\n %11 = call i64* @memset(i64* %10, i32 0, i32 %9)\n %12 = call i64 @FUNC(i64 %2)\n br label LBL_3\n LBL_3:\n %13 = add i64 %arg1, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = load i64, i64* %14, align 8\n %21 = inttoptr i64 %20 to i8*\n %22 = call i32 @strlen(i8* %21)\n %23 = load i64, i64* %14, align 8\n %24 = inttoptr i64 %23 to i64*\n %25 = call i64* @memset(i64* %24, i32 0, i32 %22)\n %26 = load i64, i64* %14, align 8\n %27 = call i64 @FUNC(i64 %26)\n br label LBL_5\n LBL_5:\n %28 = add i64 %arg1, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30)\n %32 = add i64 %arg1, 24\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %arg1, 32\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = add i64 %arg1, 40\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = add i64 %arg1, 48\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46)\n %48 = call i64 @FUNC(i64 %arg1)\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %14, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 2, 1, 0, 3, 4 }\n uselistorder i64 (i64)* @rb_free, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 0, { 0, 2, 1, 3, 4 }\n uselistorder i64 (i64)* @EmptyString, { 1, 0 }\n uselistorder i32 1, { 2, 3, 4, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 3, 2, 5, 4, 6, 7 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "create_db_dir_7943", "fun_name": "create_db_dir", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.in.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_1 to i64\n %1 = inttoptr i64 %arg1 to i8*\n %2 = call i32 @strlen(i8* %1)\n %3 = sext i32 %2 to i64\n %4 = add nsw i64 %3, 24\n %5 = udiv i64 %4, 16\n %6 = mul i64 %5, 16\n %7 = add i64 %0, 15\n %8 = sub i64 %7, %6\n %9 = and i64 %8, -16\n %10 = inttoptr i64 %9 to i8*\n %11 = call i8* @strcpy(i8* %10, i8* %1)\n %12 = or i64 %9, 1\n store i64 %12, i64* %sv_0.0.in.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n store i64 %sv_0.0.in.reload, i64* %sv_0.1.in.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.1.in.reload = load i64, i64* %sv_0.1.in.reg2mem\n %sv_0.1 = inttoptr i64 %sv_0.1.in.reload to i8*\n %13 = load i8, i8* %sv_0.1, align 1\n %14 = icmp ne i8 %13, 0\n %15 = icmp eq i8 %13, 47\n %16 = icmp eq i1 %15, false\n %or.cond = icmp eq i1 %14, %16\n %17 = add i64 %sv_0.1.in.reload, 1\n store i64 %17, i64* %sv_0.1.in.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_3\n LBL_3:\n %18 = icmp eq i8 %13, 0\n %19 = icmp eq i1 %18, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %19, label LBL_4, label LBL_8\n LBL_4:\n store i8 0, i8* %sv_0.1, align 1\n %20 = call i32 @mkdir(i8* %10, i32 493)\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = call i32* @__errno_location()\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 17\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %25, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i8* %10)\n store i8 47, i8* %sv_0.1, align 1\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n store i8 47, i8* %sv_0.1, align 1\n store i64 %17, i64* %sv_0.0.in.reg2mem\n br label LBL_1\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i8* %sv_0.1, { 2, 0, 1, 3 }\n uselistorder i64 %sv_0.1.in.reload, { 1, 0 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 47, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_disk_info_6337", "fun_name": "get_disk_info", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %storemerge.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.be.reg2mem = alloca i32\n %pf.0.in.in.reg2mem = alloca i8\n %sv_0.07.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %2 = bitcast i64* %sv_4 to i8*\n call void @FUNC(i8* nonnull %2, i64 0, i64 256)\n %3 = call i128 @FUNC(i128 %1, i128 %1)\n %4 = call i64 @FUNC(i128 %3)\n %5 = call i128 @FUNC(i128 %3, i128 %3)\n %6 = call i64 @FUNC(i128 %5)\n store i64 %6, i64* %sv_3, align 8\n %7 = call i128 @FUNC(i128 %5, i128 %5)\n %8 = call i64 @FUNC(i128 %7)\n store i64 %8, i64* %sv_2, align 8\n %9 = call i128 @FUNC(i128 %7, i128 %7)\n %10 = call i64 @FUNC(i128 %9)\n %11 = call i128 @FUNC(i128 %9, i128 %9)\n %12 = call i64 @FUNC(i128 %11)\n %13 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %14 = icmp eq %_IO_FILE* %13, null\n %15 = icmp eq i1 %14, false\n store i64 %10, i64* %rax.0.reg2mem\n store i64 %12, i64* %storemerge.reg2mem\n br i1 %15, label LBL_1, label LBL_17\n LBL_1:\n %16 = bitcast i64* %sv_1 to i8*\n %17 = call i8* @fgets(i8* nonnull %16, i32 1024, %_IO_FILE* %13)\n %18 = icmp eq i8* %17, null\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_2, label LBL_16\n LBL_2:\n %20 = trunc i64 %4 to i32\n %21 = ptrtoint i64* %sv_1 to i64\n store i32 %20, i32* %sv_0.07.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.07.reload = load i32, i32* %sv_0.07.reg2mem\n %22 = call i8* @index(i8* nonnull %16, i32 32)\n %23 = icmp eq i8* %22, null\n %24 = icmp eq i1 %23, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %24, label LBL_4, label LBL_15\n LBL_4:\n %25 = ptrtoint i8* %22 to i64\n %26 = add i64 %25, 1\n %27 = inttoptr i64 %26 to i8*\n store i8 0, i8* %22, align 1\n %28 = call i8* @index(i8* %27, i32 32)\n %29 = icmp eq i8* %28, null\n %30 = icmp eq i1 %29, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %30, label LBL_5, label LBL_15\n LBL_5:\n %31 = ptrtoint i8* %28 to i64\n %32 = add i64 %31, 1\n %33 = inttoptr i64 %32 to i8*\n store i8 0, i8* %28, align 1\n %34 = call i8* @index(i8* %33, i32 32)\n %35 = icmp eq i8* %34, null\n %36 = icmp eq i1 %35, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %36, label LBL_6, label LBL_15\n LBL_6:\n %37 = ptrtoint i8* %34 to i64\n %38 = add i64 %37, 1\n %39 = inttoptr i64 %38 to i8*\n store i8 0, i8* %34, align 1\n %40 = call i8* @index(i8* %39, i32 32)\n %41 = icmp eq i8* %40, null\n br i1 %41, label LBL_8, label LBL_7\n LBL_7:\n store i8 0, i8* %40, align 1\n br label LBL_8\n LBL_8:\n %42 = call i32 @strncmp(i8* %39, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i32 2)\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %44, label LBL_9, label LBL_15\n LBL_9:\n %45 = call i64 @FUNC(i64 %21, i64 %32)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %47, label LBL_10, label LBL_15\n LBL_10:\n %48 = call i32 @strncmp(i8* nonnull %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i32 5)\n %49 = icmp eq i32 %48, 0\n %50 = trunc i32 %48 to i8\n %51 = call i8 @llvm.ctpop.i8(i8 %50), !range !55\n store i8 %51, i8* %pf.0.in.in.reg2mem\n br i1 %49, label LBL_12, label LBL_11\n LBL_11:\n %52 = call i32 @strncmp(i8* nonnull %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i32 6)\n %53 = icmp eq i32 %52, 0\n %54 = trunc i32 %52 to i8\n %55 = call i8 @llvm.ctpop.i8(i8 %54), !range !55\n store i8 %55, i8* %pf.0.in.in.reg2mem\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br i1 %53, label LBL_12, label LBL_15\n LBL_12:\n %pf.0.in.in.reload = load i8, i8* %pf.0.in.in.reg2mem\n %pf.0.in = urem i8 %pf.0.in.in.reload, 2\n %pf.0 = icmp eq i8 %pf.0.in, 0\n %56 = call i128 @FUNC(i64* nonnull %sv_4, i64 %26, i64 %21, i64* nonnull %sv_3, i64* nonnull %sv_2)\n %57 = call i32 @FUNC(i128 %56)\n %58 = call i128 @FUNC(i128 %56, i128 %56)\n call void @FUNC(i128 %58, i32 %sv_0.07.reload)\n br i1 %pf.0, label LBL_13, label LBL_14\n LBL_13:\n %59 = call i128 @__asm_movss.2(i32 %57)\n call void @FUNC(i128 %59, i32 %sv_0.07.reload)\n store i32 %sv_0.07.reload, i32* %sv_0.0.be.reg2mem\n br label LBL_15\n LBL_14:\n %60 = call i128 @FUNC(i128 %58, i128 %58)\n call void @FUNC(i128 %60, i32 %sv_0.07.reload)\n %61 = call i128 @__asm_movss.2(i32 %57)\n %62 = call i64 @FUNC(i128 %61)\n %63 = trunc i64 %62 to i32\n store i32 %63, i32* %sv_0.0.be.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.be.reload = load i32, i32* %sv_0.0.be.reg2mem\n %64 = call i8* @fgets(i8* nonnull %16, i32 1024, %_IO_FILE* %13)\n %65 = icmp eq i8* %64, null\n %66 = icmp eq i1 %65, false\n store i32 %sv_0.0.be.reload, i32* %sv_0.07.reg2mem\n br i1 %66, label LBL_3, label LBL_16\n LBL_16:\n %67 = call i32 @fclose(%_IO_FILE* %13)\n %68 = call i64 @FUNC(i64* nonnull %sv_4)\n %69 = load i64, i64* %sv_3, align 8\n %70 = call i128 @__asm_movsd.1(i64 %69)\n %71 = call i128 @__asm_movsd.1(i64 4652007308841189376)\n %72 = call i128 @FUNC(i128 %70, i128 %71)\n %73 = call i64 @FUNC(i128 %72)\n %74 = load i64, i64* %sv_2, align 8\n %75 = call i128 @__asm_movsd.1(i64 %74)\n %76 = call i128 @__asm_movsd.1(i64 4652007308841189376)\n %77 = call i128 @FUNC(i128 %75, i128 %76)\n %78 = call i64 @FUNC(i128 %77)\n store i64 %73, i64* %rax.0.reg2mem\n store i64 %78, i64* %storemerge.reg2mem\n br label LBL_17\n LBL_17:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %79 = call i128 @FUNC(i64 %rax.0.reload)\n %80 = call i128 @FUNC(i128 %79, i64 %storemerge.reload, i8 1)\n %81 = call i128 @FUNC(i64 %storemerge.reload)\n ret i64 %rax.0.reload\n\n uselistorder i128 %58, { 1, 0, 2 }\n uselistorder i128 %56, { 2, 1, 0 }\n uselistorder i32 %52, { 1, 0 }\n uselistorder i32 %48, { 1, 0 }\n uselistorder i8* %34, { 1, 0, 2 }\n uselistorder i8* %28, { 1, 0, 2 }\n uselistorder i8* %22, { 1, 0, 2 }\n uselistorder i32 %sv_0.07.reload, { 9, 6, 8, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i8* %16, { 4, 1, 2, 3, 0 }\n uselistorder %_IO_FILE* %13, { 1, 2, 0, 3 }\n uselistorder i128 %9, { 2, 1, 0 }\n uselistorder i128 %7, { 2, 1, 0 }\n uselistorder i128 %5, { 2, 1, 0 }\n uselistorder i128 %3, { 2, 1, 0 }\n uselistorder i64* %sv_3, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i32* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.be.reg2mem, { 0, 7, 8, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 0, 2, 1 }\n uselistorder i8* (i8*, i32)* @index, { 3, 2, 1, 0 }\n uselistorder i8* null, { 5, 1, 2, 3, 4, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i32 1024, { 1, 0 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0, 6 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_15, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "LLVMFuzzerTestOneInput_16751", "fun_name": "LLVMFuzzerTestOneInput", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %.pre.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_1.221.reg2mem = alloca i64\n %sv_0.123.reg2mem = alloca i32\n %sv_2.124.reg2mem = alloca i32\n %sv_0.1.ph.reg2mem = alloca i32\n %sv_2.0.lcssa.reg2mem = alloca i32\n %sv_0.011.reg2mem = alloca i32\n %sv_2.012.reg2mem = alloca i32\n %.reg2mem46 = alloca i32\n %.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i32, align 4\n %sv_7 = alloca i32*, align 8\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 0)\n store i64 %3, i64* @gv_0, align 8\n br label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 0)\n %5 = inttoptr i64 %4 to i32*\n store i32* %5, i32** %sv_7, align 8\n %6 = icmp eq i64 %4, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_4:\n store i32 16777216, i32* %5, align 4\n %9 = load i64, i64* @gv_0, align 8\n %10 = load i32*, i32** %sv_7, align 8\n %11 = ptrtoint i32* %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %9, i64 0)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = and i64 %12, 4294967295\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_6:\n %17 = bitcast i32* %sv_6 to i64*\n %18 = call i64 @FUNC(i64* nonnull %17)\n %19 = call i64 @FUNC()\n store i64 %19, i64* %sv_5, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_8\n LBL_7:\n %22 = ptrtoint i64* %arg1 to i64\n %23 = add i64 %22, %arg2\n %24 = icmp ugt i64 %23, %22\n %25 = bitcast i32* %sv_3 to i64*\n store i32 0, i32* %sv_0.123.reg2mem\n store i64 %22, i64* %sv_1.221.reg2mem\n store i64 %11, i64* %.pre-phi.reg2mem\n store i64 %19, i64* %.pre.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %24, label LBL_20, label LBL_22\n LBL_8:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_9:\n %sv_1.06.reload = load i64, i64* %sv_1.06.reg2mem\n %27 = inttoptr i64 %sv_1.06.reload to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, -16\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_11, label LBL_10\n LBL_10:\n %.reload = load i64, i64* %.reg2mem\n %31 = inttoptr i64 %sv_1.06.reload to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, -16\n store i64 %sv_1.06.reload, i64* %sv_1.0.lcssa.reg2mem\n store i64 %.reload, i64* %.lcssa.reg2mem\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %34 = add i64 %sv_1.06.reload, 1\n %35 = add i64 %sv_1.06.reload, 9\n %36 = icmp ugt i64 %23, %35\n store i64 %35, i64* %.reg2mem\n store i64 %34, i64* %sv_1.06.reg2mem\n store i64 %34, i64* %sv_1.0.lcssa.reg2mem\n store i64 %35, i64* %.lcssa.reg2mem\n br i1 %36, label LBL_9, label LBL_12\n LBL_12:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %37 = icmp ult i64 %23, %.lcssa.reload\n %38 = icmp eq i1 %37, false\n %spec.select = select i1 %38, i64 %sv_1.0.lcssa.reload, i64 %23\n %39 = sub i64 %spec.select, %sv_1.221.reload\n %40 = call i64 @FUNC(i64* nonnull %17, i64* nonnull %sv_4, i64 %sv_1.221.reload, i64 %39)\n %41 = icmp slt i32 %sv_2.124.reload, 1\n store i32 %sv_2.124.reload, i32* %sv_2.012.reg2mem\n store i32 %sv_0.123.reload, i32* %sv_0.011.reg2mem\n store i32 %sv_2.124.reload, i32* %sv_2.0.lcssa.reg2mem\n store i32 %sv_0.123.reload, i32* %sv_0.1.ph.reg2mem\n br i1 %41, label LBL_19, label LBL_18\n LBL_13:\n %42 = load i64, i64* %sv_5, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = load i64, i64* %sv_5, align 8\n %45 = load i32*, i32** %sv_7, align 8\n %46 = ptrtoint i32* %45 to i64\n %47 = call i64 @FUNC(i64 %46, i64 %44, i64* nonnull %25, i64* nonnull %sv_4)\n %48 = trunc i64 %47 to i32\n store i32 %48, i32* %sv_6, align 4\n %49 = icmp ult i32 %62, 21\n store i32 %48, i32* %.reg2mem46\n br i1 %49, label LBL_15, label LBL_14\n LBL_14:\n %50 = load i32*, i32** %sv_7, align 8\n %51 = ptrtoint i32* %50 to i64\n %52 = add i64 %51, 4\n %53 = inttoptr i64 %52 to i32*\n store i32 0, i32* %53, align 4\n %.pr = load i32, i32* %sv_6, align 4\n store i32 %.pr, i32* %.reg2mem46\n br label LBL_15\n LBL_15:\n %.reload47 = load i32, i32* %.reg2mem46\n %54 = icmp slt i32 %.reload47, 1\n store i32 %sv_2.012.reload, i32* %sv_2.0.lcssa.reg2mem\n store i32 %62, i32* %sv_0.1.ph.reg2mem\n br i1 %54, label LBL_19, label LBL_16\n LBL_16:\n %55 = zext i32 %sv_2.012.reload to i64\n %56 = sext i32 %.reload47 to i64\n %57 = icmp sgt i64 %56, %55\n store i32 %sv_2.012.reload, i32* %sv_2.0.lcssa.reg2mem\n store i32 %62, i32* %sv_0.1.ph.reg2mem\n br i1 %57, label LBL_19, label LBL_17\n LBL_17:\n %58 = load i64, i64* %sv_4, align 8\n %59 = add i64 %58, %56\n store i64 %59, i64* %sv_4, align 8\n %60 = sub i32 %sv_2.012.reload, %.reload47\n %61 = icmp slt i32 %60, 1\n store i32 %60, i32* %sv_2.012.reg2mem\n store i32 %62, i32* %sv_0.011.reg2mem\n store i32 %60, i32* %sv_2.0.lcssa.reg2mem\n store i32 %62, i32* %sv_0.1.ph.reg2mem\n br i1 %61, label LBL_19, label LBL_18\n LBL_18:\n %sv_0.011.reload = load i32, i32* %sv_0.011.reg2mem\n %sv_2.012.reload = load i32, i32* %sv_2.012.reg2mem\n %62 = add i32 %sv_0.011.reload, 1\n %63 = icmp ult i32 %sv_0.011.reload, 1000\n store i32 %sv_2.012.reload, i32* %sv_2.0.lcssa.reg2mem\n store i32 %62, i32* %sv_0.1.ph.reg2mem\n br i1 %63, label LBL_13, label LBL_19\n LBL_19:\n %64 = add i64 %spec.select, 8\n %sv_0.1.ph.reload = load i32, i32* %sv_0.1.ph.reg2mem\n %sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem\n %65 = icmp ult i64 %64, %23\n %66 = icmp ult i32 %sv_0.1.ph.reload, 1000\n %or.cond = icmp eq i1 %65, %66\n store i32 %sv_2.0.lcssa.reload, i32* %sv_2.124.reg2mem\n store i32 %sv_0.1.ph.reload, i32* %sv_0.123.reg2mem\n store i64 %64, i64* %sv_1.221.reg2mem\n br i1 %or.cond, label LBL_20, label LBL_21\n LBL_20:\n %sv_1.221.reload = load i64, i64* %sv_1.221.reg2mem\n %sv_0.123.reload = load i32, i32* %sv_0.123.reg2mem\n %sv_2.124.reload = load i32, i32* %sv_2.124.reg2mem\n %67 = add i64 %sv_1.221.reload, 8\n %68 = icmp ugt i64 %23, %67\n store i64 %67, i64* %.reg2mem\n store i64 %sv_1.221.reload, i64* %sv_1.06.reg2mem\n store i64 %sv_1.221.reload, i64* %sv_1.0.lcssa.reg2mem\n store i64 %67, i64* %.lcssa.reg2mem\n br i1 %68, label LBL_9, label LBL_12\n LBL_21:\n %.pre.pre = load i64, i64* %sv_5, align 8\n %.pre39.pre = load i32*, i32** %sv_7, align 8\n %.pre45 = ptrtoint i32* %.pre39.pre to i64\n store i64 %.pre45, i64* %.pre-phi.reg2mem\n store i64 %.pre.pre, i64* %.pre.reg2mem\n store i32 %sv_0.1.ph.reload, i32* %sv_0.1.lcssa.reg2mem\n br label LBL_22\n LBL_22:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %.pre.reload = load i64, i64* %.pre.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %69 = call i64 @FUNC(i64* nonnull %sv_4)\n store i64 0, i64* %sv_4, align 8\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.reg2mem\n br label LBL_23\n LBL_23:\n store i32 0, i32* %sv_3, align 4\n %70 = call i64 @FUNC(i64 %.pre-phi.reload, i64 %.pre.reload, i64* nonnull %25, i64* nonnull %sv_4)\n %71 = load i32, i32* %sv_3, align 4\n %72 = icmp eq i32 %71, 1\n %73 = icmp eq i1 %72, false\n br i1 %73, label LBL_25, label LBL_24\n LBL_24:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %74 = add i32 %sv_0.2.reload, 1\n %75 = icmp ult i32 %sv_0.2.reload, 1000\n store i32 %74, i32* %sv_0.2.reg2mem\n br i1 %75, label LBL_23, label LBL_25\n LBL_25:\n %76 = call i64 @FUNC(i64* nonnull %sv_5)\n %77 = bitcast i32** %sv_7 to i64*\n %78 = call i64 @FUNC(i64* nonnull %77)\n %79 = call i64 @FUNC(i64* nonnull %77)\n %80 = call i64 @FUNC(i64* nonnull %17)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_26\n LBL_26:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.221.reload, { 4, 3, 0, 1, 2 }\n uselistorder i32 %62, { 1, 5, 2, 3, 4, 0 }\n uselistorder i32 %sv_2.012.reload, { 0, 1, 4, 2, 3 }\n uselistorder i32 %sv_0.011.reload, { 1, 0 }\n uselistorder i64 %sv_1.06.reload, { 4, 3, 0, 2, 1 }\n uselistorder i64 %23, { 1, 5, 2, 3, 4, 0 }\n uselistorder i32** %sv_7, { 5, 0, 4, 3, 2, 1 }\n uselistorder i64* %sv_5, { 1, 0, 2, 3, 4 }\n uselistorder i64* %sv_4, { 0, 4, 1, 5, 6, 2, 3 }\n uselistorder i32* %sv_3, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_1.06.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_1.0.lcssa.reg2mem, { 3, 0, 2, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 3, 0, 2, 1 }\n uselistorder i32* %.reg2mem46, { 0, 2, 1 }\n uselistorder i32* %sv_2.012.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.011.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1, 4, 3, 5 }\n uselistorder i32* %sv_0.1.ph.reg2mem, { 0, 2, 1, 4, 3, 5 }\n uselistorder i32* %sv_0.123.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.221.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1000, { 2, 0, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 2, 4, 0, 1, 5, 3, 6, 7 }\n uselistorder i64 (i8*)* @error, { 1, 0 }\n uselistorder i64 (i64)* @avcodec_alloc_context3, { 1, 0 }\n uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_19, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hci_uart_init_work_4761", "fun_name": "hci_uart_init_work", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 0, i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0))\n %12 = load i64, i64* %5, align 8\n store i64 0, i64* %5, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 16\n %15 = call i64 @FUNC(i64 2, i64 %14)\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %16 = add i64 %0, 16\n %17 = call i64 @FUNC(i64 1, i64 %16)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %5, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "softfloat_mul_15999", "fun_name": "softfloat_mul", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg1, 4294967295\n %1 = and i64 %arg2, 4294967295\n %narrow = mul nuw i64 %1, %0\n %2 = udiv i64 %arg2, 4294967296\n %narrow1 = mul nuw i64 %2, %0\n %3 = udiv i64 %narrow, 4294967296\n %4 = add i64 %3, %narrow1\n %5 = and i64 %narrow, 4294967295\n %6 = udiv i64 %4, 2097152\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = urem i32 %8, 32\n %10 = shl i32 1, %9\n %storemerge = sext i32 %10 to i64\n %11 = add nsw i64 %5, %storemerge\n %12 = udiv i64 %11, 4294967296\n %13 = add i64 %12, %4\n %14 = udiv i64 %13, 1048576\n ret i64 %14\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %narrow, { 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "recalculate_thresholds_4818", "fun_name": "recalculate_thresholds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 12\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = mul i32 %3, 64\n %5 = sext i32 %4 to i64\n %6 = add i64 %0, -1\n %7 = add i64 %6, %5\n %8 = udiv i64 %7, %5\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 1\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %.op = mul i64 %8, 4294967296\n %.op.op = ashr exact i64 %.op, 32\n %15 = select i1 %10, i64 1, i64 %.op.op\n %16 = icmp slt i64 %15, %14\n br i1 %16, label LBL_1, label LBL_2\n LBL_1:\n %17 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %18 = call i32 @fwrite(i64* bitcast ([23 x i8]* @gv_1 to i64*), i32 1, i32 22, %_IO_FILE* %17)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %19 = icmp ult i64* %arg1, inttoptr (i64 1073741824 to i64*)\n %20 = and i64 %0, -1073741824\n %storemerge = select i1 %19, i64 1073741824, i64 %20\n %21 = mul i32 %13, 4096\n %22 = add i32 %21, 4096\n %23 = sext i32 %22 to i64\n %24 = icmp ugt i64 %storemerge, %23\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = add i64 %0, 16\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n br label LBL_4\n LBL_4:\n ret i64 %0\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32 4096, { 1, 0 }\n uselistorder i64 1073741824, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_vencrypt_init_14227", "fun_name": "protocol_client_vencrypt_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = trunc i64 %4 to i8\n %7 = icmp eq i8 %6, 0\n %.pre = ptrtoint i16* %arg2 to i64\n %.pre3 = add i64 %.pre, 1\n %.pre5 = inttoptr i64 %.pre3 to i8*\n %.pre7 = load i8, i8* %.pre5, align 1\n %8 = icmp eq i8 %.pre7, 2\n %or.cond = icmp eq i1 %7, %8\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %9 = zext i8 %.pre7 to i64\n %10 = urem i64 %4, 256\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %9, i64 %5, i64 %2, i64 %1)\n %12 = ptrtoint i32* %arg1 to i64\n %13 = call i64 @FUNC(i64 %12, i64 1)\n %14 = call i64 @FUNC(i64 %12)\n %15 = call i64 @FUNC(i64 %12)\n br label LBL_3\n LBL_2:\n %16 = and i64 %3, 4294967295\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %arg3, i64 %5, i64 %2, i64 %1)\n %18 = ptrtoint i32* %arg1 to i64\n %19 = call i64 @FUNC(i64 %18, i64 0)\n %20 = call i64 @FUNC(i64 %18, i64 1)\n %21 = call i64 @FUNC(i64 %18, i64 %16)\n %22 = call i64 @FUNC(i64 %18)\n %23 = call i64 @FUNC(i64 %18, i64 4198927, i64 4)\n br label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %18, { 2, 1, 0, 3, 4 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @vnc_flush, { 1, 0 }\n uselistorder i64 (i64, i64)* @vnc_write_u8, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @VNC_DEBUG, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "base64_estimate_decode_size_6130", "fun_name": "base64_estimate_decode_size", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 3\n %1 = udiv i64 %0, 4\n %2 = mul nuw i64 %1, 3\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_one_3922", "fun_name": "parse_one", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64*\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i32 %arg4, 0\n br i1 %0, label LBL_8, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg3 to i64\n %2 = zext i32 %arg4 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = mul i64 %indvars.iv.reload, 16\n %4 = add i64 %3, %1\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %arg1, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_7, label LBL_3\n LBL_3:\n %10 = icmp eq i64 %arg2, 0\n %11 = icmp eq i1 %10, false\n %.pre = add i64 %4, 8\n %.pre3 = inttoptr i64 %.pre to i64*\n %.pre7 = load i64, i64* %.pre3, align 8\n br i1 %11, label LBL_3.LBL_6_crit_edge, label LBL_5\n LBL_4:\n %phitmp = inttoptr i64 %.pre7 to i64*\n store i64* %phitmp, i64** %.reg2mem\n br label LBL_6\n LBL_5:\n %12 = icmp eq i64 %.pre7, 4198755\n store i64* inttoptr (i64 4198755 to i64*), i64** %.reg2mem\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %12, label LBL_6, label LBL_11\n LBL_6:\n %.reload = load i64*, i64** %.reg2mem\n %13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64* %.reload)\n store i64 %arg2, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %14 = icmp ult i64 %indvars.iv.next, %2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %14, label LBL_2, label LBL_8\n LBL_8:\n %15 = icmp eq i64 %arg5, 0\n br i1 %15, label LBL_10, label LBL_9\n LBL_9:\n %16 = inttoptr i64 %arg5 to i64*\n %17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64* %16)\n store i64 %arg1, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %18 = inttoptr i64 %arg1 to i8*\n %19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i8* %18)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i64 %arg5, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 3, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "file_ms_alloc_9375", "fun_name": "file_ms_alloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 1, i64 152)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_8\n LBL_1:\n %3 = and i64 %arg1, 4294967295\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, -1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i32* @__errno_location()\n store i32 22, i32* %8, align 4\n br label LBL_7\n LBL_3:\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = add i64 %0, 40\n %14 = inttoptr i64 %13 to i64*\n store i64 10, i64* %14, align 8\n %15 = call i64 @FUNC(i64 0)\n %16 = add i64 %0, 32\n %17 = inttoptr i64 %16 to i64*\n store i64 %15, i64* %17, align 8\n %18 = icmp eq i64 %15, 0\n br i1 %18, label LBL_7, label LBL_4\n LBL_4:\n %19 = add i64 %0, 140\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %0, 144\n %22 = inttoptr i64 %21 to i32*\n store i32 -1, i32* %22, align 4\n %23 = add i64 %0, 48\n store i64 0, i64* %storemerge2.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %24 = mul i64 %storemerge2.reload, 8\n %25 = add i64 %23, %24\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n %27 = add nuw nsw i64 %storemerge2.reload, 1\n %exitcond = icmp eq i64 %27, 10\n store i64 %27, i64* %storemerge2.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %28 = add i64 %0, 128\n %29 = inttoptr i64 %28 to i64*\n store i64 ptrtoint ([8 x i8]* @gv_0 to i64), i64* %29, align 8\n %30 = add i64 %0, 136\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %32 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 5, 0, 2, 3, 1, 4, 6, 7, 8, 9, 10, 11, 12 }\n uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tlb_reset_dirty_16740", "fun_name": "tlb_reset_dirty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %indvars.iv9.reg2mem = alloca i64\n %indvars.iv6.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 2048\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_4\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = add nuw nsw i64 %indvars.iv.reload, %11\n %4 = mul i64 %3, 8\n %5 = add i64 %4, %0\n %6 = call i64 @FUNC(i64 %5, i64 %arg2, i64 %arg3)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %indvars.iv6.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem\n %7 = add nuw nsw i64 %indvars.iv6.reload, %11\n %8 = mul i64 %7, 8\n %9 = add i64 %2, %8\n %10 = call i64 @FUNC(i64 %9, i64 %arg2, i64 %arg3)\n %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1\n %exitcond8 = icmp eq i64 %indvars.iv.next7, 64\n store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem\n br i1 %exitcond8, label LBL_3, label LBL_2\n LBL_3:\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %exitcond11 = icmp eq i64 %indvars.iv.next10, 4\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n br i1 %exitcond11, label LBL_5, label LBL_4\n LBL_4:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %11 = mul i64 %indvars.iv9.reload, 64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_5:\n ret i64 %10\n\n uselistorder i64 %indvars.iv9.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv6.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64, i64, i64)* @tlb_reset_dirty_range, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "iscsi_co_pdiscard_18647", "fun_name": "iscsi_co_pdiscard", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i64\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = load i32, i32* %1\n %5 = load i32, i32* %1\n %6 = load i32, i32* %1\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %7 = and i64 %arg3, 4294967295\n %8 = call i64 @FUNC(i64 %arg2, i64 %7, i64 %3)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 4294967201, i64* %rax.0.reg2mem\n br i1 %11, label LBL_1, label LBL_13\n LBL_1:\n %12 = trunc i64 %2 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_13\n LBL_2:\n %15 = ptrtoint i64* %sv_4 to i64\n %16 = add i64 %3, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = sext i32 %18 to i64\n %20 = udiv i64 %arg2, %19\n store i64 %20, i64* %sv_3, align 8\n %21 = bitcast i32* %sv_2 to i64*\n %22 = call i64 @FUNC(i64 %3, i64* nonnull %21)\n %23 = add i64 %3, 16\n %24 = call i64 @FUNC(i64 %23)\n %25 = add i64 %3, 24\n %26 = inttoptr i64 %25 to i64*\n %27 = add i64 %3, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = add i64 %15, -8\n %30 = inttoptr i64 %29 to i64*\n %31 = ptrtoint i32* %sv_2 to i64\n %32 = add i64 %15, -16\n %33 = inttoptr i64 %32 to i64*\n %34 = icmp eq i32 %6, 0\n %35 = load i64, i64* %26, align 8\n %36 = load i64, i64* %28, align 8\n store i64 %31, i64* %30, align 8\n store i64 4198832, i64* %33, align 8\n %37 = call i64 @FUNC(i64 %36, i64 %35, i64 0, i64 0, i64* nonnull %sv_3, i64 1)\n %38 = icmp eq i64 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %39, label LBL_3, label LBL_12\n LBL_3:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %40 = load i32, i32* %sv_2, align 4\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_4, label LBL_5\n LBL_4:\n %42 = call i64 @FUNC(i64 %3)\n %43 = call i64 @FUNC(i64 %23)\n %44 = call i64 @FUNC()\n %45 = call i64 @FUNC(i64 %23)\n %46 = load i32, i32* %sv_2, align 4\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_4, label LBL_5\n LBL_5:\n %48 = icmp eq i64 %sv_1.03.reload, 0\n br i1 %48, label LBL_7, label LBL_6\n LBL_6:\n %49 = call i64 @FUNC(i64 %sv_1.03.reload)\n br label LBL_7\n LBL_7:\n br i1 %34, label LBL_9, label LBL_8\n LBL_8:\n store i32 0, i32* %sv_2, align 4\n %50 = load i64, i64* %26, align 8\n %51 = load i64, i64* %28, align 8\n store i64 %31, i64* %30, align 8\n store i64 4198832, i64* %33, align 8\n %52 = call i64 @FUNC(i64 %51, i64 %50, i64 0, i64 0, i64* nonnull %sv_3, i64 1)\n %53 = icmp eq i64 %52, 0\n %54 = icmp eq i1 %53, false\n store i64 0, i64* %sv_1.03.reg2mem\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %54, label LBL_3, label LBL_12\n LBL_9:\n store i64 0, i64* %sv_0.0.reg2mem\n switch i32 %5, label LBL_10 [\n i32 1, label LBL_12\n i32 0, label LBL_11\n ]\n LBL_10:\n %phitmp = zext i32 %4 to i64\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %55 = trunc i64 %arg3 to i32\n %56 = ashr i32 %55, 9\n %57 = zext i32 %56 to i64\n %58 = udiv i64 %arg2, 512\n %59 = and i64 %58, 4294967295\n %60 = call i64 @FUNC(i64 %3, i64 %59, i64 %57)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %61 = call i64 @FUNC(i64 %23)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.03.reload, { 1, 0 }\n uselistorder i64* %33, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64* %30, { 1, 0 }\n uselistorder i64* %28, { 1, 0 }\n uselistorder i64* %26, { 1, 0 }\n uselistorder i64 %23, { 0, 2, 1, 3 }\n uselistorder i64* %sv_3, { 1, 0, 2 }\n uselistorder i32* %sv_2, { 3, 2, 0, 1, 4 }\n uselistorder i64 %3, { 0, 1, 3, 2, 5, 4, 6, 7 }\n uselistorder i64* %sv_1.03.reg2mem, { 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 5, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %1, { 2, 1, 0 }\n uselistorder i64 (i64)* @qemu_mutex_unlock, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64*, i64)* @iscsi_unmap_task, { 1, 0 }\n uselistorder i64 4198832, { 1, 0 }\n uselistorder i64 (i64)* @qemu_mutex_lock, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i32 0, { 1, 2, 4, 0, 3, 5, 6 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_13, { 2, 0, 1 }\n uselistorder label LBL_12, { 3, 4, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rebind_store_11405", "fun_name": "rebind_store", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i32 @strnlen(i8* %0, i32 256)\n %2 = icmp slt i32 %1, 256\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 -19, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_5\n LBL_2:\n %6 = inttoptr i64 %3 to i32*\n store i32 1, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %arg2, i64 %3)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %sext = mul i64 %7, 4294967296\n %11 = ashr exact i64 %sext, 32\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %12 = call i64 @FUNC(i64 %arg2)\n store i64 %arg3, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder label LBL_5, { 2, 3, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "v9fs_refresh_inode_dotl_5893", "fun_name": "v9fs_refresh_inode_dotl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = ptrtoint i32* %arg2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %2, i64 0)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = trunc i64 %1 to i32\n %9 = inttoptr i64 %5 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = xor i32 %10, %8\n %12 = and i32 %11, 61440\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = inttoptr i64 %4 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i32 %16, -1\n %18 = icmp ult i32 %17, 2\n %storemerge4 = zext i1 %18 to i32\n %19 = call i64 @FUNC(i64 %5, i64 %3, i32 %storemerge4)\n br label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_grab_files_6149", "fun_name": "io_grab_files", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC(i64 %0)\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = load i64, i64* %2, align 8\n %14 = icmp eq i64 %12, %13\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = add i64 %0, 32\n %17 = call i64 @FUNC(i64 %16, i64 %1)\n %18 = add i64 %0, 20\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = or i32 %20, 1\n store i32 %21, i32* %19, align 4\n %22 = load i64, i64* @gv_0, align 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %0, 24\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %27 = call i64 @FUNC(i64 %0)\n %28 = call i64 @FUNC()\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 3, 0, 2, 1, 4, 5, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "io_destroy_18469", "fun_name": "io_destroy", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %4, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = inttoptr i64 %arg1 to i32*\n store i32 1, i32* %7, align 4\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %8 = inttoptr i64 %storemerge.reload to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp ne i64 %9, 0\n %11 = icmp eq i64 %9, %arg1\n %12 = icmp eq i1 %11, false\n %or.cond = icmp eq i1 %10, %12\n %13 = add i64 %9, 8\n store i64 %13, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %14 = icmp eq i64 %9, 0\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = add i64 %arg1, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n store i64 %17, i64* %8, align 8\n br label LBL_4\n LBL_4:\n %18 = trunc i64 %1 to i32\n %19 = call i64 @FUNC(i64 %5)\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)\n %21 = icmp eq i32 %18, 0\n %22 = zext i1 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %arg1)\n br label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %arg1)\n %28 = call i64 @FUNC(i64 %arg1)\n %29 = call i64 @FUNC(i64 %arg1)\n ret i64 %29\n\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @put_ioctx, { 1, 0 }\n uselistorder i64 %arg1, { 5, 4, 3, 2, 6, 1, 0, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_neon_dup_low16_2585", "fun_name": "gen_neon_dup_low16", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 16)\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC()\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_http_proxy_191", "fun_name": "check_http_proxy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 11)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = call i8* @getenv(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %7 = icmp eq i8* %6, null\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 11)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %10 = ptrtoint i8* %6 to i64\n %11 = call i64 @FUNC(i64 %2)\n %12 = call i64 @FUNC(i64 %2, i64 %10, i64 1)\n %13 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 11, i64* nonnull %sv_0, i64 8, i64 0)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %6, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_sys_settimeofday_9095", "fun_name": "do_sys_settimeofday", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_10\n LBL_2:\n %6 = ptrtoint i32* %arg2 to i64\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = and i64 %7, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %11 = icmp eq i32* %arg2, null\n br i1 %11, label LBL_8, label LBL_5\n LBL_5:\n store i64 %6, i64* @gv_0, align 8\n %12 = call i64 @FUNC()\n %13 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_8, label LBL_6\n LBL_6:\n store i32 0, i32* bitcast (i64* @gv_1 to i32*), align 8\n %15 = icmp eq i1 %1, false\n br i1 %15, label LBL_9, label LBL_7\n LBL_7:\n %16 = call i64 @FUNC()\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_10, label LBL_9\n LBL_9:\n %17 = call i64 @FUNC(i64 %0)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 1, 4, 3 }\n uselistorder label LBL_10, { 3, 1, 0, 4, 2 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hid_reset_1198", "fun_name": "hid_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = icmp sgt i32 %3, 0\n %6 = or i32 %3, 1\n %7 = icmp eq i32 %6, 3\n %or.cond = icmp eq i1 %5, %7\n br i1 %or.cond, label LBL_3, label LBL_4\n LBL_2:\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i64*\n %10 = call i64* @memset(i64* %9, i32 0, i32 1024)\n %11 = add i64 %2, 1028\n %12 = inttoptr i64 %11 to i64*\n %13 = call i64* @memset(i64* %12, i32 0, i32 1024)\n %14 = add i64 %2, 2052\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %2, 2056\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n br label LBL_4\n LBL_3:\n %18 = add i64 %2, 2060\n %19 = inttoptr i64 %18 to i64*\n %20 = call i64* @memset(i64* %19, i32 0, i32 1024)\n br label LBL_4\n LBL_4:\n %21 = add i64 %2, 3084\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %2, 3088\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %2, 3092\n %26 = inttoptr i64 %25 to i32*\n store i32 1, i32* %26, align 4\n %27 = add i64 %2, 3096\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %2, 3100\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n %31 = call i64 @FUNC(i64 %2)\n ret i64 %31\n\n uselistorder i32 %3, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 10, 9 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 2, 1, 0 }\n uselistorder i32 1024, { 2, 0, 1 }\n uselistorder i32 0, { 4, 5, 6, 3, 7, 8, 1, 2, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__skb_bond_should_drop_10538", "fun_name": "__skb_bond_should_drop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %rsi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n store i32 %3, i32* %.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = bitcast i64* %rsi to i32*\n %7 = load i64, i64* @gv_0, align 8\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %.pre = load i32, i32* %6, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %10 = and i32 %.reload, 6\n %11 = icmp eq i32 %10, 6\n br i1 %11, label LBL_3, label LBL_4\n LBL_3:\n %12 = ptrtoint i32* %arg2 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12)\n br label LBL_4\n LBL_4:\n %14 = bitcast i64* %rdi to i32*\n %15 = load i32, i32* %14, align 8\n %16 = and i32 %15, 8\n %17 = icmp eq i32 %16, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_12, label LBL_5\n LBL_5:\n %18 = and i32 %15, 16\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i16*\n %22 = load i16, i16* %21, align 2\n %23 = call i64 @FUNC(i64 2054)\n %24 = trunc i64 %23 to i16\n %25 = icmp eq i16 %22, %24\n %26 = icmp eq i1 %25, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_7, label LBL_12\n LBL_7:\n %27 = and i32 %.reload, 2\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = add i64 %2, 10\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %.off = add i8 %31, -1\n %switch = icmp ult i8 %.off, 2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %switch, label LBL_9, label LBL_12\n LBL_9:\n %32 = and i32 %.reload, 32\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_11, label LBL_10\n LBL_10:\n %34 = add i64 %2, 8\n %35 = inttoptr i64 %34 to i16*\n %36 = load i16, i16* %35, align 2\n %37 = call i64 @FUNC(i64 34825)\n %38 = trunc i64 %37 to i16\n %39 = icmp eq i16 %36, %38\n %40 = icmp eq i1 %39, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %40, label LBL_11, label LBL_12\n LBL_11:\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 3, 2, 1, 0, 4 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 4, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_12, { 4, 2, 0, 3, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xenvif_tx_action_7222", "fun_name": "xenvif_tx_action", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n store i32 0, i32* %sv_1, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_7\n LBL_1:\n %8 = trunc i64 %arg2 to i32\n %9 = bitcast i32* %sv_0 to i64*\n %10 = call i64 @FUNC(i64 %0, i32 %8, i32* nonnull %sv_1, i64* nonnull %9)\n %11 = load i32, i32* %sv_1, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_7\n LBL_2:\n %14 = zext i32 %11 to i64\n %15 = call i64 @FUNC(i64 %0, i64 %14)\n %16 = load i32, i32* %sv_0, align 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = zext i32 %16 to i64\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %0, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24, i64 0, i64 %21, i64 %18)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_6, label LBL_4\n LBL_4:\n %28 = load i32, i32* %sv_0, align 4\n %29 = zext i32 %28 to i64\n %30 = add i64 %0, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = call i64 @FUNC(i64 %34, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %29, i32 %26)\n %36 = load i32, i32* %sv_0, align 4\n %37 = icmp eq i32 %36, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %38 = load i64, i64* %23, align 8\n %39 = mul i64 %indvars.iv.reload, 4\n %40 = add i64 %38, %39\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 0\n %44 = zext i1 %43 to i64\n %45 = call i64 @FUNC(i64 %44)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %46 = load i32, i32* %sv_0, align 4\n %47 = zext i32 %46 to i64\n %48 = icmp ult i64 %indvars.iv.next, %47\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %48, label LBL_5, label LBL_6\n LBL_6:\n %49 = call i64 @FUNC(i64 %0)\n %50 = and i64 %49, 4294967295\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 3, 0, 2, 1, 4 }\n uselistorder i64 %0, { 3, 0, 2, 1, 4, 5, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i32 0, { 2, 0, 3, 4, 5, 6, 7, 1, 8 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "r128_engine_reset_4290", "fun_name": "r128_engine_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 4202515)\n %2 = call i64 @FUNC(i64 %0)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "authenticated_9546", "fun_name": "authenticated", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %2 = load i32, i32* @gv_0, align 4\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i32 30, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = trunc i64 %1 to i32\n %6 = and i32 %5, -4\n %7 = icmp eq i32 %6, 32\n store i8 1, i8* %sv_0.0.reg2mem\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i8 0, i8* %sv_0.0.reg2mem\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n store i64 0, i64* %sv_1, align 8\n %13 = load i64, i64* %10, align 8\n %14 = call i64 @FUNC(i64 %13, i64 0, i64* nonnull %sv_1)\n %15 = load i64, i64* %sv_1, align 8\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = zext i1 %17 to i8\n store i8 %18, i8* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %19 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4\n %20 = icmp slt i32 %19, 2\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = icmp eq i8 %sv_0.0.reload, 0\n %22 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %23 = select i1 %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0)\n %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %22, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_7, i64 0, i64 0), i32 %5, i8* %23)\n br label LBL_7\n LBL_7:\n %25 = zext i8 %sv_0.0.reload to i64\n ret i64 %25\n\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i8* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_link_3886", "fun_name": "ext4_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n store i32 0, i32* %sv_0, align 4\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 65000\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_7\n LBL_2:\n %6 = ptrtoint i64* %arg3 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %8 = ptrtoint i32* %arg2 to i64\n %9 = add i64 %7, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = add i64 %7, 4\n %12 = add i64 %8, 12\n %13 = inttoptr i64 %12 to i32*\n br label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %8, i64 2)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_7\n LBL_4:\n store i32 0, i32* %10, align 4\n %17 = call i64 @FUNC(i64 %14, i64 %7)\n %18 = call i64 @FUNC(i64 %11)\n %19 = call i64 @FUNC(i64 %14, i64 %6, i64 %7)\n %20 = trunc i64 %19 to i32\n %21 = call i64 @FUNC(i64 %14)\n %22 = icmp eq i32 %20, -2\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = load i32, i32* %13, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25, i32* nonnull %sv_0)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_6, label LBL_3\n LBL_6:\n %29 = and i64 %19, 4294967295\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 0, 2, 1, 3 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %7, { 2, 0, 1, 3 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_check_clients_2887", "fun_name": "net_check_clients", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge10.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_1.111.reg2mem = alloca i32\n %sv_0.112.reg2mem = alloca i32\n %storemerge313.reg2mem = alloca i64\n %sv_1.215.reg2mem = alloca i32\n %sv_0.216.reg2mem = alloca i32\n %storemerge217.reg2mem = alloca i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge217.reg2mem\n store i32 0, i32* %sv_0.216.reg2mem\n store i32 0, i32* %sv_1.215.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.215.reload = load i32, i32* %sv_1.215.reg2mem\n %sv_0.216.reload = load i32, i32* %sv_0.216.reg2mem\n %storemerge217.reload = load i64, i64* %storemerge217.reg2mem\n %0 = add i64 %storemerge217.reload, 16\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %storemerge313.reg2mem\n store i32 %sv_0.216.reload, i32* %sv_0.112.reg2mem\n store i32 %sv_1.215.reload, i32* %sv_1.111.reg2mem\n store i32 %sv_1.215.reload, i32* %sv_1.1.lcssa.reg2mem\n store i32 %sv_0.216.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %2, label LBL_2, label LBL_5\n LBL_2:\n %sv_0.112.reload = load i32, i32* %sv_0.112.reg2mem\n %storemerge313.reload = load i64, i64* %storemerge313.reg2mem\n %3 = add i64 %storemerge313.reload, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 1\n store i32 1, i32* %sv_1.0.reg2mem\n store i32 %sv_0.112.reload, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem\n %9 = icmp sgt i32 %7, 0\n %10 = add i32 %7, -2\n %11 = icmp ult i32 %10, 4\n %or.cond = icmp eq i1 %9, %11\n %spec.select = select i1 %or.cond, i32 1, i32 %sv_0.112.reload\n store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %12 = inttoptr i64 %storemerge313.reload to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %storemerge313.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.112.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %15, label LBL_2, label LBL_5\n LBL_5:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %16 = icmp eq i32 %sv_0.1.lcssa.reload, 0\n %17 = icmp eq i32 %sv_1.1.lcssa.reload, 0\n %18 = icmp eq i1 %17, false\n %or.cond6 = or i1 %16, %18\n br i1 %or.cond6, label LBL_7, label LBL_6\n LBL_6:\n %19 = add i64 %storemerge217.reload, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %24 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %23, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_2, i64 0, i64 0), i64 %22)\n br label LBL_9\n LBL_7:\n %25 = icmp eq i1 %16, false\n %or.cond8 = or i1 %17, %25\n br i1 %or.cond8, label LBL_9, label LBL_8\n LBL_8:\n %26 = add i64 %storemerge217.reload, 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %31 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %30, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_3, i64 0, i64 0), i64 %29)\n br label LBL_9\n LBL_9:\n %32 = inttoptr i64 %storemerge217.reload to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %33, i64* %storemerge217.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.216.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %sv_1.215.reg2mem\n store i64 ptrtoint (i64* @gv_4 to i64), i64* %storemerge10.reg2mem\n br i1 %35, label LBL_1, label LBL_10\n LBL_10:\n %storemerge10.reload = load i64, i64* %storemerge10.reg2mem\n %36 = add i64 %storemerge10.reload, 24\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_12, label LBL_11\n LBL_11:\n %41 = add i64 %storemerge10.reload, 16\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i64 %storemerge10.reload, 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 1\n %50 = icmp eq i1 %49, false\n %51 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %52 = select i1 %50, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_6, i64 0, i64 0)\n %53 = inttoptr i64 %43 to i8*\n %54 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %51, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_7, i64 0, i64 0), i8* %52, i8* %53)\n br label LBL_12\n LBL_12:\n %55 = inttoptr i64 %storemerge10.reload to i64*\n %56 = load i64, i64* %55, align 8\n %57 = icmp eq i64 %56, 0\n %58 = icmp eq i1 %57, false\n store i64 %56, i64* %storemerge10.reg2mem\n br i1 %58, label LBL_10, label LBL_13\n LBL_13:\n ret i64 %56\n\n uselistorder i64 %56, { 1, 0, 2 }\n uselistorder i64 %storemerge10.reload, { 0, 2, 1, 3 }\n uselistorder i32 %sv_1.1.lcssa.reload, { 1, 0 }\n uselistorder i32 %sv_0.1.lcssa.reload, { 1, 0 }\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i32 %sv_0.112.reload, { 1, 0 }\n uselistorder i64 %storemerge217.reload, { 3, 1, 0, 2 }\n uselistorder i64* %storemerge217.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.216.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.215.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge313.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.112.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.111.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge10.reg2mem, { 2, 0, 1 }\n uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 }\n uselistorder i64 8, { 0, 1, 3, 2 }\n uselistorder i1 false, { 5, 3, 4, 7, 1, 2, 6, 0 }\n uselistorder i32 0, { 3, 4, 2, 0, 1 }\n uselistorder i32 1, { 14, 12, 4, 13, 11, 10, 9, 8, 7, 6, 5, 3, 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blade_image_blit_18863", "fun_name": "blade_image_blit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i64 %arg8) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg8 to i32\n %1 = trunc i64 %arg7 to i32\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg6, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add i64 %arg5, 31\n %5 = udiv i64 %4, 32\n %6 = urem i64 %5, 134217728\n %7 = mul nsw i64 %3, %6\n %8 = trunc i64 %7 to i32\n %9 = call i64 @FUNC(i64 %2, i64 1, i32 %1)\n %10 = call i64 @FUNC(i64 %2, i64 2, i32 %0)\n %11 = call i64 @FUNC(i64 %2, i64 3, i32 -1609039872)\n %12 = and i64 %arg4, 4294967295\n %13 = and i64 %arg3, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = trunc i64 %14 to i32\n %16 = call i64 @FUNC(i64 %2, i64 4, i32 %15)\n %17 = add i64 %arg4, 4294967295\n %18 = add i64 %17, %3\n %19 = add i64 %arg3, 4294967295\n %20 = add i64 %19, %arg5\n %21 = and i64 %18, 4294967295\n %22 = and i64 %20, 4294967295\n %23 = call i64 @FUNC(i64 %22, i64 %21)\n %24 = trunc i64 %23 to i32\n %25 = call i64 @FUNC(i64 %2, i64 5, i32 %24)\n %26 = mul i32 %8, 4\n %27 = add i64 %2, 65536\n %28 = inttoptr i64 %27 to i64*\n %29 = inttoptr i64 %arg2 to i64*\n %30 = call i64* @memcpy(i64* %28, i64* %29, i32 %26)\n %31 = ptrtoint i64* %30 to i64\n ret i64 %31\n\n uselistorder i64 65536, { 1, 0 }\n uselistorder i64 (i64, i64)* @point, { 1, 0 }\n uselistorder i64 4294967295, { 2, 3, 0, 1, 4, 5, 6 }\n uselistorder i64 (i64, i64, i32)* @writemmr, { 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_event_init_2530", "fun_name": "qemu_event_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i32, i32* %0\n %sv_1 = alloca i32, align 4\n %2 = bitcast i32* %sv_1 to i64*\n %3 = call i64 @FUNC(i64* nonnull %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, -1\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i32* @__errno_location()\n %8 = load i32, i32* %7, align 4\n %9 = sub i32 0, %8\n store i32 %9, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_2:\n %10 = load i32, i32* %sv_1, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11, i64 2048)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n store i32 %13, i32* %sv_0.0.reg2mem\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = zext i32 %1 to i64\n %16 = call i64 @FUNC(i64 %15, i64 2048)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n store i32 %17, i32* %sv_0.0.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = load i32, i32* %sv_1, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20, i64 0, i64 4198774, i64 0)\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %22 = load i32, i32* %sv_1, align 4\n %23 = call i32 @close(i32 %22)\n %24 = call i32 @close(i32 %1)\n store i32 %sv_0.0.reload, i32* %rax.0.shrunk.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32* %sv_1, { 2, 1, 0, 3 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 (i64, i64)* @fcntl_setfl, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "erase_screen_18759", "fun_name": "erase_screen", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = trunc i64 %1 to i32\n %11 = inttoptr i64 %5 to i64*\n %12 = add i64 %5, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %14 = load i64, i64* %11, align 8\n %15 = load i32, i32* %13, align 4\n %16 = mul i32 %15, %storemerge2.reload\n %17 = sext i32 %16 to i64\n %18 = add i64 %14, %17\n %19 = inttoptr i64 %18 to i64*\n %20 = call i64* @memset(i64* %19, i32 0, i32 %10)\n %21 = add i32 %storemerge2.reload, 1\n %22 = load i32, i32* %7, align 4\n %23 = zext i32 %22 to i64\n %24 = sext i32 %21 to i64\n %25 = icmp slt i64 %24, %23\n store i32 %21, i32* %storemerge2.reg2mem\n br i1 %25, label LBL_2, label LBL_3\n LBL_3:\n %26 = add i64 %5, 20\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %5, 16\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n ret i64 %5\n\n uselistorder i32* %7, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2, 4, 3 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 2, 4, 3, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_ffserver_streams_3203", "fun_name": "read_ffserver_streams", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem21 = alloca i32*\n %.reg2mem19 = alloca i64\n %.reg2mem17 = alloca i64\n %.reg2mem15 = alloca i32\n %sv_0.14.reg2mem = alloca i32\n %storemerge25.reg2mem = alloca i32\n %.reg2mem13 = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_1 = alloca i32*, align 8\n %2 = bitcast i32** %sv_1 to i64*\n %3 = call i64 @FUNC(i64* nonnull %2, i64 %arg2, i64 0, i64 4096, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %3, 4294967295\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_23\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %9, align 4\n %10 = load i32*, i32** %sv_1, align 8\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_21, label LBL_3\n LBL_3:\n %13 = trunc i64 %1 to i32\n %14 = bitcast i64* %rdi to i32*\n %15 = add i64 %8, 8\n %16 = inttoptr i64 %15 to i64*\n store i32 %13, i32* %.reg2mem\n store i64 0, i64* %.reg2mem13\n store i32 0, i32* %storemerge25.reg2mem\n store i32 0, i32* %sv_0.14.reg2mem\n br label LBL_4\n LBL_4:\n %.reload14 = load i64, i64* %.reg2mem13\n %.reload = load i32, i32* %.reg2mem\n %17 = add i32 %.reload, 1\n store i32 %17, i32* %9, align 4\n %18 = call i64 @FUNC(i64 16)\n %19 = load i32*, i32** %sv_1, align 8\n %20 = ptrtoint i32* %19 to i64\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = mul i64 %.reload14, 8\n %25 = add i64 %23, %24\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %27, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %27 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %18 to i64*\n store i64 %32, i64* %33, align 8\n %34 = add i64 %18, 8\n %35 = inttoptr i64 %34 to i64*\n store i64 %30, i64* %35, align 8\n %36 = call i64 @FUNC()\n store i64 %36, i64* %33, align 8\n %37 = icmp eq i64 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_6, label LBL_5\n LBL_5:\n %39 = call i64 @FUNC(i64 %arg2, i64 4294967284)\n %40 = call i64 @FUNC(i64 1)\n unreachable\n LBL_6:\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %41 = load i32*, i32** %sv_1, align 8\n %42 = ptrtoint i32* %41 to i64\n %43 = add i64 %42, 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = add i64 %45, %24\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = call i64 @FUNC(i64 %36, i64 %50)\n %52 = load i64, i64* %16, align 8\n %53 = add i64 %52, %24\n %54 = inttoptr i64 %53 to i64*\n store i64 %18, i64* %54, align 8\n %55 = load i64, i64* %33, align 8\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %58)\n %60 = load i64, i64* %33, align 8\n %61 = add i64 %60, 4\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = icmp eq i32 %63, 1\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_10, label LBL_7\n LBL_7:\n %66 = load i32, i32* @gv_0, align 4\n %67 = icmp eq i32 %66, 0\n br i1 %67, label LBL_9, label LBL_8\n LBL_8:\n %68 = inttoptr i64 %34 to i32*\n store i32 1, i32* %68, align 4\n br label LBL_14\n LBL_9:\n %69 = call i64 @FUNC(i64 %18, i64 %59)\n br label LBL_14\n LBL_10:\n %70 = icmp eq i32 %63, 2\n %71 = icmp eq i1 %70, false\n br i1 %71, label LBL_14, label LBL_11\n LBL_11:\n %72 = load i32, i32* @gv_1, align 4\n %73 = icmp eq i32 %72, 0\n br i1 %73, label LBL_13, label LBL_12\n LBL_12:\n %74 = inttoptr i64 %34 to i32*\n store i32 1, i32* %74, align 4\n br label LBL_14\n LBL_13:\n %75 = call i64 @FUNC(i64 %18, i64 %59)\n br label LBL_14\n LBL_14:\n %76 = load i64, i64* %33, align 8\n %77 = add i64 %76, 8\n %78 = inttoptr i64 %77 to i32*\n %79 = load i32, i32* %78, align 4\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n store i32 %79, i32* %.reg2mem15\n store i64 %76, i64* %.reg2mem17\n br i1 %81, label LBL_16, label LBL_15\n LBL_15:\n store i32 1, i32* %78, align 4\n %.pre7 = load i64, i64* %33, align 8\n %.pre10 = add i64 %.pre7, 8\n %.pre11 = inttoptr i64 %.pre10 to i32*\n %.pr = load i32, i32* %.pre11, align 4\n store i32 %.pr, i32* %.reg2mem15\n store i64 %.pre7, i64* %.reg2mem17\n br label LBL_16\n LBL_16:\n %.reload18 = load i64, i64* %.reg2mem17\n %.reload16 = load i32, i32* %.reg2mem15\n %82 = icmp slt i32 %.reload16, 2\n store i64 %.reload18, i64* %.reg2mem19\n br i1 %82, label LBL_18, label LBL_17\n LBL_17:\n %83 = zext i32 %.reload16 to i64\n %84 = call i64 @FUNC(i64 %.reload18, i64 %83)\n %.pre8 = load i64, i64* %33, align 8\n store i64 %.pre8, i64* %.reg2mem19\n br label LBL_18\n LBL_18:\n %.reload20 = load i64, i64* %.reg2mem19\n %85 = add i64 %.reload20, 12\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = urem i32 %87, 2\n %89 = icmp eq i32 %88, 0\n %spec.select = select i1 %89, i32 %sv_0.14.reload, i32 1\n %90 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4\n %91 = zext i32 %90 to i64\n %92 = call i64 @FUNC(i64 %8, i64 %91)\n %93 = add i32 %storemerge25.reload, 1\n %94 = load i32*, i32** %sv_1, align 8\n %95 = load i32, i32* %94, align 4\n %96 = zext i32 %95 to i64\n %97 = sext i32 %93 to i64\n %98 = icmp slt i64 %97, %96\n br i1 %98, label LBL_18.LBL_4_crit_edge, label LBL_20\n LBL_19:\n %.pre = load i32, i32* %14, align 8\n store i32 %.pre, i32* %.reg2mem\n store i64 %97, i64* %.reg2mem13\n store i32 %93, i32* %storemerge25.reg2mem\n store i32 %spec.select, i32* %sv_0.14.reg2mem\n br label LBL_4\n LBL_20:\n %phitmp = icmp eq i32 %spec.select, 0\n %phitmp6 = icmp eq i1 %phitmp, false\n store i32* %94, i32** %.reg2mem21\n br i1 %phitmp6, label LBL_22, label LBL_21\n LBL_21:\n %99 = call i64 @FUNC()\n %100 = add i64 %8, 16\n %101 = inttoptr i64 %100 to i64*\n store i64 %99, i64* %101, align 8\n %.pre9 = load i32*, i32** %sv_1, align 8\n store i32* %.pre9, i32** %.reg2mem21\n br label LBL_22\n LBL_22:\n %.reload22 = load i32*, i32** %.reg2mem21\n %102 = ptrtoint i32* %.reload22 to i64\n %103 = call i64 @FUNC(i64 %102)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_23\n LBL_23:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i64 %.reload18, { 1, 0 }\n uselistorder i64 %59, { 1, 0 }\n uselistorder i64 %34, { 1, 0, 2 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %24, { 2, 1, 0 }\n uselistorder i64 %18, { 0, 1, 2, 4, 3 }\n uselistorder i32** %sv_1, { 0, 4, 3, 2, 1, 5 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem13, { 1, 0, 2 }\n uselistorder i32* %storemerge25.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem15, { 0, 2, 1 }\n uselistorder i64* %.reg2mem17, { 0, 2, 1 }\n uselistorder i64* %.reg2mem19, { 0, 2, 1 }\n uselistorder i32** %.reg2mem21, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 8, { 1, 2, 4, 5, 6, 0, 7, 3, 8, 9 }\n uselistorder label LBL_21, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_write_list_chunk_count_6489", "fun_name": "get_write_list_chunk_count", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n store i64 %1, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %2 = and i64 %sv_1.0.reload, 4294967295\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = mul i64 %sv_1.0.reload, 4294967296\n %sext2 = add i64 %6, 17179869184\n %7 = ashr exact i64 %sext2, 32\n %8 = add i32 %sv_0.0.reload, 1\n %9 = and i64 %7, 4294967295\n %10 = call i64 @FUNC(i64 %0, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %7, i64* %sv_1.0.reg2mem\n store i32 %8, i32* %sv_0.0.reg2mem\n store i32 %8, i32* %sv_0.1.reg2mem\n br i1 %12, label LBL_3, label LBL_1\n LBL_3:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %13 = zext i32 %sv_0.1.reload to i64\n ret i64 %13\n\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "filter_mirror_setup_3273", "fun_name": "filter_mirror_setup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 %2, i64 %1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %13 = add i64 %8, 8\n %14 = call i64 @FUNC(i64 %13, i64 %9, i64 %4)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @error_set, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_report_acomp_13663", "fun_name": "crypto_report_acomp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = bitcast i64* %sv_0 to i8*\n %2 = call i8* @strncpy(i8* nonnull %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i32 16)\n %3 = call i64 @FUNC(i64 %0, i64 1, i64 16, i64* nonnull %sv_0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %. = select i1 %6, i64 4294967206, i64 0\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmx_get_msr_10838", "fun_name": "vmx_get_msr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg3 to i64\n %5 = icmp eq i64* %arg3, null\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %9 = ashr exact i64 %sext, 32\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, -1073741565\n br i1 %11, label LBL_16, label LBL_3\n LBL_3:\n %12 = icmp ult i32 %10, -1073741564\n br i1 %12, label LBL_4, label LBL_17\n LBL_4:\n %13 = icmp eq i32 %10, -1073741696\n br i1 %13, label LBL_11, label LBL_5\n LBL_5:\n %14 = icmp ult i32 %10, -1073741695\n br i1 %14, label LBL_6, label LBL_17\n LBL_6:\n %15 = icmp eq i32 %10, 374\n br i1 %15, label LBL_15, label LBL_7\n LBL_7:\n %16 = icmp ult i32 %10, 375\n br i1 %16, label LBL_8, label LBL_17\n LBL_8:\n %17 = icmp eq i32 %10, 373\n br i1 %17, label LBL_14, label LBL_9\n LBL_9:\n %18 = icmp ult i32 %10, 374\n br i1 %18, label LBL_10, label LBL_17\n LBL_10:\n switch i32 %10, label LBL_17 [\n i32 16, label LBL_12\n i32 372, label LBL_13\n ]\n LBL_11:\n %19 = and i64 %9, 4294967295\n %20 = call i64 @FUNC(i64 %8, i64 %19, i64 %4)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_12:\n %21 = call i64 @FUNC()\n store i64 %21, i64* %sv_0.0.reg2mem\n br label LBL_21\n LBL_13:\n %22 = call i64 @FUNC(i64 2)\n %23 = and i64 %22, 4294967295\n store i64 %23, i64* %sv_0.0.reg2mem\n br label LBL_21\n LBL_14:\n %24 = call i64 @FUNC(i64 3)\n store i64 %24, i64* %sv_0.0.reg2mem\n br label LBL_21\n LBL_15:\n %25 = call i64 @FUNC(i64 4)\n store i64 %25, i64* %sv_0.0.reg2mem\n br label LBL_21\n LBL_16:\n %26 = call i64 @FUNC(i64 %8)\n %27 = add i64 %26, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %31, label LBL_17, label LBL_22\n LBL_17:\n %32 = and i64 %9, 4294967295\n %33 = call i64 @FUNC(i64 %8, i64 %32, i64 %4)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %35, label LBL_18, label LBL_22\n LBL_18:\n %36 = call i64 @FUNC(i64 %8)\n %37 = call i64 @FUNC(i64 %36, i64 %32)\n %38 = icmp eq i64 %37, 0\n br i1 %38, label LBL_20, label LBL_19\n LBL_19:\n %39 = inttoptr i64 %37 to i64*\n %40 = load i64, i64* %39, align 8\n store i64 %40, i64* %sv_0.0.reg2mem\n br label LBL_21\n LBL_20:\n %41 = call i64 @FUNC(i64 %8, i64 %32, i64 %4)\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_21:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 %sv_0.0.reload, i64* %arg3, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64 %8, { 1, 2, 3, 4, 0 }\n uselistorder i64 %4, { 1, 2, 3, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 1, 2, 4, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @to_vmx, { 1, 0 }\n uselistorder i64 (i64)* @vmcs_readl, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @kvm_get_msr_common, { 1, 0 }\n uselistorder label LBL_22, { 2, 3, 0, 1, 4, 5 }\n uselistorder label LBL_17, { 5, 0, 1, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jvp_number_cmp_7049", "fun_name": "jvp_number_cmp", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64* nonnull %sv_0, i64 %1, i64 %0, i64 0)\n %3 = call i64 @FUNC(i64* nonnull %sv_0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64* nonnull %sv_0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %. = select i1 %8, i64 1, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 ()* @jvp_dec_number_ptr, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_alloc_gids_cache_9795", "fun_name": "_alloc_gids_cache", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i8* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = call i64 @FUNC(i64 40)\n %3 = call i64 @FUNC(i64 %0)\n %4 = inttoptr i64 %2 to i64*\n store i64 %3, i64* %4, align 8\n %5 = call i32 @time(i32* null)\n %6 = sext i32 %5 to i64\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = add i64 %2, 16\n %10 = inttoptr i64 %9 to i32*\n store i32 %1, i32* %10, align 4\n %11 = add i64 %2, 24\n %12 = inttoptr i64 %11 to i64*\n store i64 %arg3, i64* %12, align 8\n %13 = add i64 %2, 32\n %14 = inttoptr i64 %13 to i64*\n store i64 %arg4, i64* %14, align 8\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_irqchip_add_irq_route_16547", "fun_name": "kvm_irqchip_add_irq_route", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = and i64 %1, 4294967295\n %sext6 = mul i64 %arg4, 4294967296\n %3 = ashr exact i64 %sext6, 32\n %4 = icmp slt i64 %3, %2\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n store i64 %5, i64* %sv_0, align 8\n %6 = ptrtoint i32* %arg1 to i64\n %7 = bitcast i64* %sv_0 to i32*\n %8 = call i64 @FUNC(i64 %6, i32* nonnull %7)\n ret i64 %8\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pdu_submit_412", "fun_name": "pdu_submit", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64* @gv_0, i64** %storemerge.in.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = load i64, i64* @gv_1, align 8\n %sext = mul i64 %1, 4294967296\n %10 = ashr exact i64 %sext, 29\n %11 = add i64 %9, %10\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n %spec.select = select i1 %15, i64* %12, i64* @gv_0\n store i64* %spec.select, i64** %storemerge.in.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.in.reload = load i64*, i64** %storemerge.in.reg2mem\n %storemerge = load i64, i64* %storemerge.in.reload, align 8\n %16 = call i64 @FUNC(i64 %5)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 %storemerge, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %2)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n %23 = load i64, i64* @gv_2, align 8\n %spec.select2 = select i1 %22, i64 %storemerge, i64 %23\n store i64 %spec.select2, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %24 = call i64 @FUNC(i64 %sv_0.0.reload, i64 %2)\n %25 = call i64 @FUNC(i64 %24)\n ret i64 %25\n\n uselistorder i64 %storemerge, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "imap_subscribe_11812", "fun_name": "imap_subscribe", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i8, align 1\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_5)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = load i64, i64* %sv_5, align 8\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @globalFUNCvarFUNC402014, i64 0, i64 0))\n %13 = call i64 @FUNC(i64 %12)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_4:\n %14 = call i64 @FUNC(i64* nonnull %sv_4, i64 0)\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_20, label LBL_5\n LBL_5:\n %16 = load i64, i64* %sv_5, align 8\n %17 = bitcast i8* %sv_3 to i64*\n %18 = call i64 @FUNC(i64 %14, i64 %16, i64* nonnull %17, i64 1024)\n %19 = load i8, i8* %sv_3, align 1\n %20 = icmp eq i8 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64* nonnull %17, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 1024)\n br label LBL_7\n LBL_7:\n %sext = mul i64 %arg2, 72057594037927936\n %23 = ashr exact i64 %sext, 56\n %24 = load i32, i32* inttoptr (i64 4210796 to i32*), align 4\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_7.LBL_12_crit_edge, label LBL_9\n LBL_8:\n %.pre = trunc i64 %23 to i8\n store i8 %.pre, i8* %.pre-phi.reg2mem\n store i64 1024, i64* %rcx.0.reg2mem\n br label LBL_12\n LBL_9:\n %26 = call i64 @FUNC(i64* nonnull %sv_4)\n %27 = call i64 @FUNC(i64* nonnull %sv_2)\n %28 = ptrtoint i64* %sv_1 to i64\n store i64 %28, i64* %sv_2, align 8\n %29 = trunc i64 %23 to i8\n %30 = icmp eq i8 %29, 0\n %31 = bitcast i64* %sv_0 to i8*\n %32 = select i1 %30, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8* bitcast (i8** @gv_2 to i8*)\n %33 = inttoptr i64 %arg1 to i8*\n %34 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %31, i32 1024, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i8* %32, i8* %33)\n %35 = ptrtoint i64* %sv_4 to i64\n %36 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_4, i64* nonnull %sv_2)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_11, label LBL_10\n LBL_10:\n %39 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_1, i64 %35, i64 %arg1, i64 %1)\n br label LBL_11\n LBL_11:\n %40 = call i64 @FUNC(i64* nonnull %sv_4)\n store i8 %29, i8* %.pre-phi.reg2mem\n store i64 %35, i64* %rcx.0.reg2mem\n store i64 %arg1, i64* %r8.0.reg2mem\n br label LBL_12\n LBL_12:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.pre-phi.reload = load i8, i8* %.pre-phi.reg2mem\n %41 = icmp eq i8 %.pre-phi.reload, 0\n br i1 %41, label LBL_14, label LBL_13\n LBL_13:\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @globalFUNCvarFUNC402065, i64 0, i64 0))\n %43 = call i64 @FUNC(i64 %42, i64* nonnull %17, i64 %42, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n br label LBL_15\n LBL_14:\n %44 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @globalFUNCvarFUNC40207a, i64 0, i64 0))\n %45 = call i64 @FUNC(i64 %44, i64* nonnull %17, i64 %44, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n br label LBL_15\n LBL_15:\n %46 = call i64 @FUNC(i64 %14, i64* nonnull %sv_0, i64 1024, i64* nonnull %17)\n %47 = select i1 %41, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i8* bitcast (i8** @gv_2 to i8*)\n %48 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %sv_3, i32 1024, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0), i8* %47, i64* nonnull %sv_0)\n %49 = call i64 @FUNC(i64 %14, i64* nonnull %17, i64 0)\n %50 = trunc i64 %49 to i32\n %51 = icmp slt i32 %50, 0\n br i1 %51, label LBL_20, label LBL_16\n LBL_16:\n %52 = ptrtoint i64* %sv_0 to i64\n %53 = ptrtoint i8* %sv_3 to i64\n %54 = load i64, i64* %sv_5, align 8\n %55 = call i64 @FUNC(i64 %14, i64 %54)\n %56 = load i64, i64* %sv_5, align 8\n br i1 %41, label LBL_18, label LBL_17\n LBL_17:\n %57 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @globalFUNCvarFUNC4020a5, i64 0, i64 0))\n %58 = inttoptr i64 %56 to i64*\n %59 = call i64 @FUNC(i64 %57, i64* %58, i64 %54, i64 %53, i64 %52, i64 %1)\n br label LBL_19\n LBL_18:\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @globalFUNCvarFUNC4020b6, i64 0, i64 0))\n %61 = inttoptr i64 %56 to i64*\n %62 = call i64 @FUNC(i64 %60, i64* %61, i64 %54, i64 %53, i64 %52, i64 %1)\n br label LBL_19\n LBL_19:\n %63 = call i64 @FUNC(i64* nonnull %sv_5)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_20:\n %64 = call i64 @FUNC(i64* nonnull %sv_5)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %56, { 1, 0 }\n uselistorder i64 %54, { 1, 0, 2 }\n uselistorder i64 %53, { 1, 0 }\n uselistorder i64 %52, { 1, 0 }\n uselistorder i64 %44, { 1, 0 }\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64* %17, { 2, 3, 4, 1, 0, 5 }\n uselistorder i64* %sv_5, { 0, 1, 3, 4, 5, 6, 2 }\n uselistorder i64* %sv_4, { 0, 1, 4, 2, 3 }\n uselistorder i8* %sv_3, { 1, 3, 0, 2 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 4, 0, 1, 2, 3 }\n uselistorder i64 %1, { 3, 2, 1, 0, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64*, i64, i64, i64, i64)* @mutt_message, { 3, 2, 1, 0 }\n uselistorder i64 (i64*)* @FREE, { 2, 1, 0 }\n uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }\n uselistorder i64 (i64*)* @mutt_buffer_init, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 1024, { 1, 0, 2, 3 }\n uselistorder i64 (i8*)* @_, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32 1, { 15, 14, 10, 13, 12, 11, 9, 8, 7, 6, 5, 4, 3, 1, 2, 0 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mboxlist_foldermodseq_dirty_9422", "fun_name": "mboxlist_foldermodseq_dirty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 0, i64 0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = load i64, i64* %sv_0, align 8\n %5 = call i64 @FUNC(i64 %0)\n %6 = inttoptr i64 %4 to i64*\n store i64 %5, i64* %6, align 8\n %7 = load i64, i64* %sv_0, align 8\n %8 = call i64 @FUNC(i64 %7, i64 0)\n %9 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 0, 2, 3, 1, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_get_ticks_16253", "fun_name": "cpu_get_ticks", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %3 = load i32, i32* @gv_0, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = load i64, i64* @gv_1, align 8\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %7 = call i64 @FUNC()\n %8 = load i64, i64* @gv_2, align 8\n %9 = icmp sgt i64 %8, %7\n %10 = load i64, i64* @gv_1, align 8\n store i64 %10, i64* %.reg2mem\n br i1 %9, label LBL_5, label LBL_6\n LBL_5:\n %11 = sub i64 %8, %7\n %12 = add i64 %11, %10\n store i64 %12, i64* @gv_1, align 8\n store i64 %12, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n store i64 %7, i64* @gv_2, align 8\n %13 = add i64 %.reload, %7\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %7, { 0, 3, 1, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 1, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tcg_handle_interrupt_1200", "fun_name": "tcg_handle_interrupt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC()\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = or i64 %1, %arg2\n %7 = trunc i64 %6 to i32\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %2)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %2)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %14 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = add i64 %2, 8\n %17 = inttoptr i64 %16 to i16*\n store i16 -1, i16* %17, align 2\n %18 = add i64 %2, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = icmp eq i32 %20, 0\n %23 = icmp eq i1 %22, false\n store i64 %21, i64* %rax.0.reg2mem\n br i1 %23, label LBL_7, label LBL_4\n LBL_4:\n %24 = trunc i64 %arg2 to i32\n %25 = trunc i64 %1 to i32\n %26 = sub i32 0, %25\n %27 = sub i32 %26, 1\n %28 = and i32 %27, %24\n %29 = icmp eq i32 %28, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_7, label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_6:\n %31 = add i64 %2, 12\n %32 = inttoptr i64 %31 to i32*\n store i32 1, i32* %32, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 0, 4, 2, 3, 5, 1, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 1 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "destroy_nbp_17672", "fun_name": "destroy_nbp", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n store i64 0, i64* %1, align 8\n %2 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %2, align 8\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %arg1)\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "net_get_nopacket_3946", "fun_name": "net_get_nopacket", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem15 = alloca i64\n %.reg2mem13 = alloca i32\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n store i32 2048, i32* %sv_1, align 4\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i32* nonnull %sv_1)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %.reg2mem15\n br i1 %7, label LBL_1, label LBL_9\n LBL_1:\n %8 = ptrtoint i32* %arg1 to i64\n %9 = icmp ne i32 %5, 1\n %10 = icmp eq i32 %5, 0\n %11 = icmp eq i1 %10, false\n %or.cond10 = icmp eq i1 %9, %11\n store i32 %5, i32* %.reg2mem\n store i64 %4, i64* %.lcssa.reg2mem\n br i1 %or.cond10, label LBL_6, label LBL_3\n LBL_2:\n %12 = icmp ne i32 %17, 1\n %13 = icmp eq i32 %17, 0\n %14 = icmp eq i1 %13, false\n %or.cond = icmp eq i1 %12, %14\n store i32 %17, i32* %.reg2mem\n store i64 %16, i64* %.lcssa.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %15 = icmp slt i32 %.reload, 1\n br i1 %15, label LBL_4, label LBL_5\n LBL_4:\n store i32 2048, i32* %sv_1, align 4\n %16 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i32* nonnull %sv_1)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %16, i64* %.reg2mem15\n br i1 %19, label LBL_2, label LBL_9\n LBL_5:\n %20 = load i32, i32* %sv_1, align 4\n %21 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0, i32 %20)\n br label LBL_4\n LBL_6:\n %22 = trunc i64 %2 to i32\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %23 = load i32, i32* %sv_1, align 4\n %24 = icmp ugt i32 %23, %22\n store i32 %23, i32* %.reg2mem13\n br i1 %24, label LBL_7, label LBL_8\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %sv_1, align 4\n store i32 %.pre, i32* %.reg2mem13\n br label LBL_8\n LBL_8:\n %.reload14 = load i32, i32* %.reg2mem13\n %25 = call i64* @memcpy(i64* %arg2, i64* nonnull %sv_0, i32 %.reload14)\n %26 = load i32, i32* %sv_1, align 4\n store i32 %26, i32* %arg3, align 4\n store i64 %.lcssa.reload, i64* %.reg2mem15\n br label LBL_9\n LBL_9:\n %.reload16 = load i64, i64* %.reg2mem15\n %storemerge = and i64 %.reload16, 4294967295\n ret i64 %storemerge\n\n uselistorder i32 %17, { 3, 2, 1, 0 }\n uselistorder i64 %16, { 0, 2, 1 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i32* %sv_1, { 4, 0, 5, 6, 3, 7, 1, 2 }\n uselistorder i64* %sv_0, { 1, 2, 3, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem15, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 3, 2, 0, 1 }\n uselistorder i64 (i64, i64*, i32*)* @net_get, { 1, 0 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vpc_close_18925", "fun_name": "vpc_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = load i64, i64* %7, align 8\n %11 = call i64 @FUNC(i64 %10)\n ret i64 %11\n\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "print_opcode_table_18356", "fun_name": "print_opcode_table", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.2.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %.reg2mem18 = alloca i32\n %sv_0.33.reg2mem = alloca i32\n %rdi.34.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem16 = alloca i64\n %.reg2mem14 = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i32\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem12 = alloca i32\n %sv_0.16.reg2mem = alloca i32\n %rdi.17.reg2mem = alloca i64\n %storemerge28.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i16, align 2\n store i16 0, i16* %sv_1, align 2\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n call void @qsort(i64* %arg1, i32 %3, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198774 to i32 (i64*, i64*)*))\n %4 = call i32 @puts(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n %5 = load i32, i32* %2, align 4\n %6 = icmp eq i32 %5, 0\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %6, label LBL_7, label LBL_1\n LBL_1:\n %7 = bitcast i16* %sv_1 to i8*\n store i32 %5, i32* %.reg2mem\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge28.reg2mem\n store i64 ptrtoint ([37 x i8]* @gv_0 to i64), i64* %rdi.17.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %rdi.17.reload = load i64, i64* %rdi.17.reg2mem\n %storemerge28.reload = load i32, i32* %storemerge28.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %.reload = load i32, i32* %.reg2mem\n %8 = mul i64 %.reload11, 16\n %9 = add i64 %rdi.17.reload, %8\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n store i32 %.reload, i32* %.reg2mem12\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n store i64 %rdi.17.reload, i64* %rdi.0.reg2mem\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = inttoptr i64 %9 to i8*\n %17 = call i64 @FUNC(i64 %0, i64 %9, i32 %sv_0.16.reload)\n %18 = call i32 @strncmp(i8* nonnull %7, i8* %16, i32 2)\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i8* @strncpy(i8* nonnull %7, i8* %16, i32 2)\n %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %22 = zext i32 %sv_0.16.reload to i64\n %23 = call i64 @FUNC(i64 %9, i64 %22)\n %24 = add i32 %sv_0.16.reload, 1\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem12\n store i32 %24, i32* %sv_0.0.reg2mem\n store i64 %9, i64* %rdi.0.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload13 = load i32, i32* %.reg2mem12\n %25 = add i32 %storemerge28.reload, 1\n %26 = zext i32 %.reload13 to i64\n %27 = sext i32 %25 to i64\n %28 = icmp slt i64 %27, %26\n store i32 %.reload13, i32* %.reg2mem\n store i64 %27, i64* %.reg2mem10\n store i32 %25, i32* %storemerge28.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.17.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %28, label LBL_2, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %29 = call i32 @puts(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %30 = load i32, i32* %2, align 4\n %31 = icmp eq i32 %30, 0\n store i32 %30, i32* %.reg2mem14\n store i64 0, i64* %.reg2mem16\n store i32 0, i32* %storemerge5.reg2mem\n store i64 ptrtoint ([4 x i8]* @gv_2 to i64), i64* %rdi.34.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.33.reg2mem\n br i1 %31, label LBL_11, label LBL_8\n LBL_8:\n %sv_0.33.reload = load i32, i32* %sv_0.33.reg2mem\n %rdi.34.reload = load i64, i64* %rdi.34.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload17 = load i64, i64* %.reg2mem16\n %.reload15 = load i32, i32* %.reg2mem14\n %32 = mul i64 %.reload17, 16\n %33 = add i64 %rdi.34.reload, %32\n %34 = add i64 %33, 8\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i32 %.reload15, i32* %.reg2mem18\n store i32 %sv_0.33.reload, i32* %sv_0.2.reg2mem\n store i64 %rdi.34.reload, i64* %rdi.2.reg2mem\n br i1 %40, label LBL_10, label LBL_9\n LBL_9:\n %41 = call i64 @FUNC(i64 %0, i64 %33, i32 %sv_0.33.reload)\n %42 = zext i32 %sv_0.33.reload to i64\n %43 = call i64 @FUNC(i64 %33, i64 %42)\n %44 = add i32 %sv_0.33.reload, 1\n %.pre9 = load i32, i32* %2, align 4\n store i32 %.pre9, i32* %.reg2mem18\n store i32 %44, i32* %sv_0.2.reg2mem\n store i64 %33, i64* %rdi.2.reg2mem\n br label LBL_10\n LBL_10:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %.reload19 = load i32, i32* %.reg2mem18\n %45 = add i32 %storemerge5.reload, 1\n %46 = zext i32 %.reload19 to i64\n %47 = sext i32 %45 to i64\n %48 = icmp slt i64 %47, %46\n store i32 %.reload19, i32* %.reg2mem14\n store i64 %47, i64* %.reg2mem16\n store i32 %45, i32* %storemerge5.reg2mem\n store i64 %rdi.2.reload, i64* %rdi.34.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.33.reg2mem\n br i1 %48, label LBL_8, label LBL_11\n LBL_11:\n %49 = call i32 @puts(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0))\n %50 = sext i32 %49 to i64\n ret i64 %50\n\n uselistorder i32 %.reload19, { 1, 0 }\n uselistorder i32 %sv_0.33.reload, { 1, 3, 2, 0 }\n uselistorder i32 %.reload13, { 1, 0 }\n uselistorder i32 %sv_0.16.reload, { 2, 1, 3, 0 }\n uselistorder i32* %2, { 0, 3, 1, 2, 4 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem10, { 1, 0, 2 }\n uselistorder i32* %storemerge28.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem14, { 2, 0, 1 }\n uselistorder i64* %.reg2mem16, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.34.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.33.reg2mem, { 2, 0, 1 }\n uselistorder [4 x i8]* @gv_2, { 1, 0 }\n uselistorder i64 (i64, i64)* @print_opcode, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @add_to_group, { 1, 0 }\n uselistorder i32 0, { 6, 0, 4, 7, 8, 2, 3, 1, 5 }\n uselistorder i32 (i8*)* @puts, { 2, 1, 0 }\n uselistorder [37 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nsim_fib_destroy_12935", "fun_name": "nsim_fib_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\n %2 = call i64 @FUNC(i64 %0, i64 2)\n %3 = call i64 @FUNC(i64 %0, i64 3)\n %4 = call i64 @FUNC(i64 %0, i64 4)\n %5 = call i64 @FUNC(i64 %0, i64 5)\n %6 = add i64 %arg2, 120\n %7 = call i64 @FUNC(i64 %0)\n %8 = call i64 @FUNC(i64 %7, i64 %6)\n %9 = add i64 %arg2, 128\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %10, i64 %9)\n %12 = add i64 %arg2, 80\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %arg2, 104\n %15 = call i64 @FUNC(i64 %14, i64 4198830, i64 %arg2)\n %16 = add i64 %arg2, 112\n %17 = call i64 @FUNC(i64 %16, i64 4198841, i64 %arg2)\n %18 = add i64 %arg2, 88\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = zext i1 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %arg2, 96\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = zext i1 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n %30 = call i64 @FUNC(i64 %arg2)\n %31 = add i64 %arg2, 40\n %32 = call i64 @FUNC(i64 %31)\n %33 = call i64 @FUNC(i64 %arg2)\n %34 = call i64 @FUNC(i64 %arg2)\n ret i64 %34\n\n uselistorder i64 (i64)* @mutex_destroy, { 1, 0 }\n uselistorder i64 (i64)* @WARN_ON_ONCE, { 1, 0 }\n uselistorder i64 (i64)* @list_empty, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @rhashtable_free_and_destroy, { 1, 0 }\n uselistorder i64 (i64)* @devlink_net, { 1, 0 }\n uselistorder i64 (i64, i64)* @devlink_resource_occ_get_unregister, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_accept_2196", "fun_name": "qemu_accept", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = bitcast i64* %arg2 to %sockaddr*\n %2 = call i32 @accept(i32 %0, %sockaddr* %1, i32* %arg3)\n %3 = icmp slt i32 %2, 0\n %.pre = zext i32 %2 to i64\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %.pre)\n br label LBL_2\n LBL_2:\n ret i64 %.pre\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__skb_get_nlattr_nest_8888", "fun_name": "__skb_get_nlattr_nest", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp ne i32 %4, 0\n %6 = trunc i64 %1 to i32\n %7 = icmp ult i32 %6, 4\n %or.cond = or i1 %7, %5\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_1\n LBL_1:\n %8 = and i64 %1, 4294967295\n %9 = add nsw i64 %8, -4\n %10 = icmp ult i64 %9, %arg2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, %arg2\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = zext i16 %16 to i64\n %18 = sub i64 %8, %arg2\n %19 = icmp ult i64 %18, %17\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_5, label LBL_3\n LBL_3:\n %20 = and i64 %arg3, 4294967295\n %21 = call i64 @FUNC(i64 %14, i64 %20)\n %22 = icmp eq i64 %21, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = load i64, i64* %12, align 8\n %24 = sub i64 %21, %23\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 %arg2, { 2, 0, 1 }\n uselistorder label LBL_5, { 4, 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "impeg2d_dec_d_slice_7846", "fun_name": "impeg2d_dec_d_slice", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge57.reg2mem = alloca i32\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 56\n %2 = add i64 %0, 24\n %3 = inttoptr i64 %2 to i16*\n %4 = add i64 %0, 26\n %5 = inttoptr i64 %4 to i16*\n %6 = add i64 %0, 28\n %7 = inttoptr i64 %6 to i16*\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = inttoptr i64 %1 to i32*\n %13 = add i64 %0, 60\n %14 = inttoptr i64 %13 to i32*\n %15 = add i64 %0, 20\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %0, 12\n %18 = inttoptr i64 %17 to i32*\n br label LBL_1\n LBL_1:\n br label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %1, i64 1)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = call i64 @FUNC(i64 %1, i64 1)\n br i1 %21, label LBL_2, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i64 %1, i64 1)\n store i32 0, i32* %storemerge57.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge57.reload = load i32, i32* %storemerge57.reg2mem\n %24 = call i64 @FUNC(i64 %1)\n %25 = trunc i64 %24 to i16\n %26 = load i16, i16* %3, align 2\n %27 = add i16 %26, %25\n store i16 %27, i16* %3, align 2\n %28 = add nuw nsw i32 %storemerge57.reload, 1\n %exitcond = icmp eq i32 %28, 6\n store i32 %28, i32* %storemerge57.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %29 = call i64 @FUNC(i64 %1)\n %30 = trunc i64 %29 to i16\n %31 = load i16, i16* %5, align 2\n %32 = add i16 %31, %30\n store i16 %32, i16* %5, align 2\n %33 = call i64 @FUNC(i64 %1)\n %34 = trunc i64 %33 to i16\n %35 = load i16, i16* %7, align 2\n %36 = add i16 %35, %34\n store i16 %36, i16* %7, align 2\n %37 = load i32, i32* %9, align 4\n %38 = add i32 %37, -1\n store i32 %38, i32* %9, align 4\n %39 = load i32, i32* %11, align 4\n %40 = add i32 %39, 1\n store i32 %40, i32* %11, align 4\n %41 = load i32, i32* %12, align 4\n %42 = load i32, i32* %14, align 4\n %43 = icmp ugt i32 %41, %42\n store i64 1, i64* %storemerge.reg2mem\n br i1 %43, label LBL_10, label LBL_6\n LBL_6:\n %44 = load i32, i32* %16, align 4\n %45 = icmp eq i32 %40, %44\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_8, label LBL_7\n LBL_7:\n store i32 0, i32* %11, align 4\n %47 = load i32, i32* %18, align 4\n %48 = add i32 %47, 1\n store i32 %48, i32* %18, align 4\n br label LBL_8\n LBL_8:\n %49 = call i64 @FUNC(i64 %1, i64 1)\n %50 = load i32, i32* %9, align 4\n %51 = icmp eq i32 %50, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %51, label LBL_10, label LBL_9\n LBL_9:\n %52 = call i64 @FUNC(i64 %1, i64 23)\n %53 = trunc i64 %52 to i32\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %55, label LBL_1, label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 0, 2, 3, 4, 5, 7, 6, 8, 1 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6, 7, 8 }\n uselistorder i32* %storemerge57.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64)* @impeg2d_get_chroma_dc_diff, { 1, 0 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_flush, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4 }\n uselistorder i64 (i64, i64)* @impeg2d_bit_stream_nxt, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2, 4, 3 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_parser_init_299", "fun_name": "av_parser_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32*\n %sv_0 = alloca i32*, align 8\n %0 = trunc i64 %arg1 to i32\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_16\n LBL_1:\n %3 = load i32*, i32** @gv_0, align 8\n %4 = ptrtoint i32* %3 to i64\n %5 = bitcast i32** %sv_0 to i64*\n store i64 %4, i64* %5, align 8\n %6 = icmp eq i32* %3, null\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_16\n LBL_2:\n store i32* %3, i32** %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32*, i32** %.reg2mem\n %8 = load i32, i32* %.reload, align 4\n %9 = icmp eq i32 %8, %0\n br i1 %9, label LBL_9, label LBL_4\n LBL_4:\n %10 = ptrtoint i32* %.reload to i64\n %11 = add i64 %10, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, %0\n br i1 %14, label LBL_9, label LBL_5\n LBL_5:\n %15 = add i64 %10, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, %0\n br i1 %18, label LBL_9, label LBL_6\n LBL_6:\n %19 = add i64 %10, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, %0\n br i1 %22, label LBL_9, label LBL_7\n LBL_7:\n %23 = add i64 %10, 16\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, %0\n br i1 %26, label LBL_9, label LBL_8\n LBL_8:\n %27 = add i64 %10, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %29 to i32*\n store i32* %30, i32** %sv_0, align 8\n %31 = icmp eq i64 %29, 0\n %32 = icmp eq i1 %31, false\n store i32* %30, i32** %.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_3, label LBL_16\n LBL_9:\n %33 = call i64 @FUNC(i64 48)\n %cond = icmp eq i64 %33, 0\n br i1 %cond, label LBL_15, label LBL_10\n LBL_10:\n %34 = ptrtoint i32* %.reload to i64\n %35 = add i64 %33, 8\n %36 = inttoptr i64 %35 to i64*\n store i64 %34, i64* %36, align 8\n %37 = load i32*, i32** %sv_0, align 8\n %38 = ptrtoint i32* %37 to i64\n %39 = add i64 %38, 40\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = call i64 @FUNC(i64 %41)\n %43 = inttoptr i64 %33 to i64*\n store i64 %42, i64* %43, align 8\n %44 = icmp eq i64 %42, 0\n br i1 %44, label LBL_14, label LBL_11\n LBL_11:\n %45 = add i64 %33, 16\n %46 = inttoptr i64 %45 to i32*\n store i32 1, i32* %46, align 4\n %47 = add i64 %33, 20\n %48 = inttoptr i64 %47 to i32*\n store i32 1, i32* %48, align 4\n %49 = load i32*, i32** %sv_0, align 8\n %50 = ptrtoint i32* %49 to i64\n %51 = add i64 %50, 32\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = icmp eq i64 %53, 0\n br i1 %54, label LBL_13, label LBL_12\n LBL_12:\n %55 = trunc i64 %33 to i32\n %56 = icmp eq i32 %55, 0\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_14, label LBL_13\n LBL_13:\n %58 = add i64 %33, 24\n %59 = inttoptr i64 %58 to i32*\n store i32 -1, i32* %59, align 4\n %60 = add i64 %33, 28\n %61 = inttoptr i64 %60 to i32*\n store i32 0, i32* %61, align 4\n %62 = add i64 %33, 32\n %63 = inttoptr i64 %62 to i32*\n store i32 -2147483648, i32* %63, align 4\n %64 = add i64 %33, 36\n %65 = inttoptr i64 %64 to i32*\n store i32 -2147483648, i32* %65, align 4\n %66 = add i64 %33, 40\n %67 = inttoptr i64 %66 to i32*\n store i32 -2147483648, i32* %67, align 4\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_14:\n %68 = call i64 @FUNC(i64 %33)\n br label LBL_15\n LBL_15:\n %69 = call i64 @FUNC(i64 %33)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %33, { 11, 12, 0, 3, 4, 5, 6, 7, 2, 8, 9, 10, 13, 1 }\n uselistorder i32* %.reload, { 2, 1, 0 }\n uselistorder i32 %0, { 4, 3, 2, 1, 0, 5 }\n uselistorder i32** %sv_0, { 3, 2, 1, 0 }\n uselistorder i32** %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64 (i64)* @av_mallocz, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i32 1, { 3, 4, 2, 1, 0 }\n uselistorder label LBL_16, { 3, 4, 0, 1, 2 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_recvbuf_small_4091", "fun_name": "add_recvbuf_small", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1500, i32 %arg3)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = inttoptr i64 %1 to i32*\n %6 = call i64 @FUNC(i64 %1, i64 1500)\n %7 = call i64 @FUNC(i64 %1)\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i64 2)\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = load i64, i64* %9, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %7, i32 %14)\n %17 = load i32, i32* %5, align 4\n %18 = load i64, i64* %9, align 8\n %19 = add i64 %18, 1\n %20 = zext i32 %17 to i64\n %21 = call i64 @FUNC(i64 %1, i64 %19, i64 0, i64 %20)\n %22 = load i64, i64* %9, align 8\n %23 = zext i32 %arg3 to i64\n %24 = call i64 @FUNC(i64 %22, i64 %22, i64 2, i64 %1, i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp slt i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_3, label LBL_2\n LBL_2:\n %28 = call i64 @FUNC(i64 %1)\n br label LBL_3\n LBL_3:\n %29 = and i64 %24, 4294967295\n store i64 %29, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ebt_size_mwt_13589", "fun_name": "ebt_size_mwt", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1.06.reg2mem = alloca i32\n %sv_2.07.reg2mem = alloca i32\n %rcx.08.reg2mem = alloca i64\n %.reg2mem = alloca i32*\n %sv_3 = alloca i32*, align 8\n %0 = icmp eq i32 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %1, label LBL_1, label LBL_14\n LBL_1:\n %2 = ptrtoint i32* %arg1 to i64\n %3 = bitcast i32** %sv_3 to i64*\n store i64 %2, i64* %3, align 8\n %4 = icmp ult i32 %arg2, 4\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_14, label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg4 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = trunc i64 %arg3 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i32* %arg1, i32** %.reg2mem\n store i64 %5, i64* %rcx.08.reg2mem\n store i32 0, i32* %sv_2.07.reg2mem\n store i32 %arg2, i32* %sv_1.06.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem\n %sv_2.07.reload = load i32, i32* %sv_2.07.reg2mem\n %rcx.08.reload = load i64, i64* %rcx.08.reg2mem\n %.reload = load i32*, i32** %.reg2mem\n %11 = icmp eq i64 %rcx.08.reload, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = load i32, i32* %7, align 4\n %13 = zext i32 %12 to i64\n %14 = add i64 %rcx.08.reload, %13\n store i64 %14, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %15 = ptrtoint i32* %.reload to i64\n %16 = call i64 @FUNC(i64 %5, i64 %15, i64 4)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i32 %17, i32* %rax.0.shrunk.reg2mem\n br i1 %19, label LBL_6, label LBL_14\n LBL_6:\n %20 = call i64 @FUNC()\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %5, i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp slt i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i32 %23, i32* %rax.0.shrunk.reg2mem\n br i1 %25, label LBL_7, label LBL_14\n LBL_7:\n %26 = add i32 %sv_1.06.reload, -4\n %27 = load i32, i32* %.reload, align 4\n %28 = icmp ult i32 %26, %27\n %29 = icmp eq i1 %28, false\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %29, label LBL_8, label LBL_14\n LBL_8:\n %30 = call i64 @FUNC(i64 %15, i32 %8, i64 %5, i64 %arg5)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i32 %31, i32* %rax.0.shrunk.reg2mem\n br i1 %33, label LBL_9, label LBL_14\n LBL_9:\n %34 = load i32, i32* %.reload, align 4\n %35 = zext i32 %34 to i64\n %sext5 = mul i64 %30, 4294967296\n %36 = ashr exact i64 %sext5, 32\n %37 = icmp slt i64 %36, %35\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %37, label LBL_14, label LBL_10\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %38 = call i64 @FUNC()\n %39 = add i64 %15, 4\n %40 = load i32, i32* %.reload, align 4\n %41 = sext i32 %40 to i64\n %42 = add i64 %39, %41\n %43 = inttoptr i64 %42 to i32*\n store i32* %43, i32** %sv_3, align 8\n %44 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %44, label LBL_12, label LBL_11\n LBL_11:\n %45 = inttoptr i64 %sv_0.0.reload to i32*\n store i32 %31, i32* %45, align 4\n br label LBL_12\n LBL_12:\n %46 = sub i32 %26, %27\n %47 = icmp eq i32 %46, 0\n %or.cond = or i1 %10, %47\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_13, label LBL_14\n LBL_13:\n %48 = trunc i64 %38 to i32\n %49 = add i32 %sv_2.07.reload, %31\n %50 = sub i32 %49, %34\n %51 = add i32 %50, %48\n %52 = load i32*, i32** %sv_3, align 8\n %53 = icmp ult i32 %46, 4\n store i32* %52, i32** %.reg2mem\n store i64 %arg5, i64* %rcx.08.reg2mem\n store i32 %51, i32* %sv_2.07.reg2mem\n store i32 %46, i32* %sv_1.06.reg2mem\n store i32 %51, i32* %rax.0.shrunk.reg2mem\n br i1 %53, label LBL_14, label LBL_3\n LBL_14:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %31, { 1, 2, 0, 3 }\n uselistorder i32 %26, { 1, 0 }\n uselistorder i64 %rcx.08.reload, { 1, 0 }\n uselistorder i32 %8, { 1, 0 }\n uselistorder i64 %5, { 2, 3, 4, 0, 1 }\n uselistorder i32** %sv_3, { 0, 2, 1 }\n uselistorder i32** %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.08.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.06.reg2mem, { 1, 0, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1, 8, 9 }\n uselistorder i32 -22, { 2, 1, 0 }\n uselistorder i64 ()* @ebt_compat_entry_padsize, { 1, 0 }\n uselistorder i64 4, { 2, 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32 0, { 3, 5, 6, 7, 2, 4, 0, 1, 8 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_set_bounds_87", "fun_name": "update_set_bounds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = call i64 @FUNC(i64 %0, i64 %1, i64 16)\n %3 = icmp eq i64* %arg2, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %1, i64 16)\n br label LBL_3\n LBL_2:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = call i64 @FUNC(i64 %1, i64 %6, i64 16)\n br label LBL_3\n LBL_3:\n ret i64 1\n\n uselistorder i64 (i64, i64, i64)* @CopyMemory, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tee_obj_alloc_12030", "fun_name": "tee_obj_alloc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64* @calloc(i32 1, i32 0)\n %1 = ptrtoint i64* %0 to i64\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "walk_page_range_18532", "fun_name": "walk_page_range", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.4.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i64\n %sv_2.2.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_2.18.reg2mem = alloca i64\n %sv_1.012.reg2mem = alloca i64\n %sv_2.17.reg2mem = alloca i64\n %sv_1.011.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i32\n %sv_2.19.reg2mem = alloca i64\n %sv_1.010.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i64\n %0 = icmp ult i64 %arg1, %arg2\n %1 = icmp eq i64* %arg3, null\n %2 = icmp eq i1 %1, false\n %or.cond = icmp eq i1 %0, %2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_14\n LBL_1:\n %3 = ptrtoint i64* %arg3 to i64\n %4 = add i64 %3, 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = zext i1 %7 to i64\n %9 = call i64 @FUNC(i64 %8, i64 %3)\n %10 = call i64 @FUNC(i64 %3, i64 %arg1)\n %11 = inttoptr i64 %4 to i64*\n %12 = add i64 %3, 16\n %13 = inttoptr i64 %12 to i32*\n store i64 %arg1, i64* %sv_3.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %10, i64* %sv_2.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %14 = icmp eq i64 %sv_2.0.reload, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %11, align 8\n store i64 %arg2, i64* %sv_1.010.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.19.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem\n br label LBL_9\n LBL_4:\n %16 = inttoptr i64 %sv_2.0.reload to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp ult i64 %sv_3.0.reload, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n store i64 0, i64* %11, align 8\n %20 = load i64, i64* %16, align 8\n %21 = icmp ult i64 %20, %arg2\n %22 = select i1 %21, i64 %20, i64 %arg2\n store i64 %22, i64* %sv_1.010.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.19.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem\n br label LBL_9\n LBL_6:\n store i64 %sv_2.0.reload, i64* %11, align 8\n %23 = add i64 %sv_2.0.reload, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp ult i64 %25, %arg2\n %27 = select i1 %26, i64 %25, i64 %arg2\n %28 = add i64 %sv_2.0.reload, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %sv_3.0.reload, i64 %27, i64 %3)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n %34 = icmp slt i32 %32, 0\n %35 = icmp eq i1 %34, false\n %36 = icmp eq i1 %33, false\n %37 = icmp eq i1 %35, %36\n store i32 %32, i32* %sv_0.3.reg2mem\n store i64 %30, i64* %sv_2.2.reg2mem\n store i64 %27, i64* %sv_1.1.reg2mem\n br i1 %37, label LBL_12, label LBL_7\n LBL_7:\n store i32 %32, i32* %sv_0.4.reg2mem\n br i1 %34, label LBL_13, label LBL_8\n LBL_8:\n %.pre = load i64, i64* %11, align 8\n %38 = icmp eq i64 %.pre, 0\n %39 = icmp eq i1 %38, false\n store i64 %27, i64* %sv_1.010.reg2mem\n store i64 %30, i64* %sv_2.19.reg2mem\n store i32 %32, i32* %sv_0.16.reg2mem\n store i64 %27, i64* %sv_1.011.reg2mem\n store i64 %30, i64* %sv_2.17.reg2mem\n br i1 %39, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %sv_2.19.reload = load i64, i64* %sv_2.19.reg2mem\n %sv_1.010.reload = load i64, i64* %sv_1.010.reg2mem\n %40 = load i32, i32* %13, align 4\n %41 = icmp eq i32 %40, 0\n store i64 %sv_1.010.reload, i64* %sv_1.011.reg2mem\n store i64 %sv_2.19.reload, i64* %sv_2.17.reg2mem\n store i64 %sv_1.010.reload, i64* %sv_1.012.reg2mem\n store i64 %sv_2.19.reload, i64* %sv_2.18.reg2mem\n store i32 %sv_0.16.reload, i32* %sv_0.2.reg2mem\n br i1 %41, label LBL_11, label LBL_10\n LBL_10:\n %sv_2.17.reload = load i64, i64* %sv_2.17.reg2mem\n %sv_1.011.reload = load i64, i64* %sv_1.011.reg2mem\n %42 = call i64 @FUNC(i64 %sv_3.0.reload, i64 %sv_1.011.reload, i64 %3)\n %43 = trunc i64 %42 to i32\n store i64 %sv_1.011.reload, i64* %sv_1.012.reg2mem\n store i64 %sv_2.17.reload, i64* %sv_2.18.reg2mem\n store i32 %43, i32* %sv_0.2.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_2.18.reload = load i64, i64* %sv_2.18.reg2mem\n %sv_1.012.reload = load i64, i64* %sv_1.012.reg2mem\n %44 = icmp eq i32 %sv_0.2.reload, 0\n %45 = icmp eq i1 %44, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n store i64 %sv_2.18.reload, i64* %sv_2.2.reg2mem\n store i64 %sv_1.012.reload, i64* %sv_1.1.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.4.reg2mem\n br i1 %45, label LBL_13, label LBL_12\n LBL_12:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %46 = icmp ult i64 %sv_1.1.reload, %arg2\n store i64 %sv_1.1.reload, i64* %sv_3.0.reg2mem\n store i32 %sv_0.3.reload, i32* %sv_0.0.reg2mem\n store i64 %sv_2.2.reload, i64* %sv_2.0.reg2mem\n store i32 %sv_0.3.reload, i32* %sv_0.4.reg2mem\n br i1 %46, label LBL_2, label LBL_13\n LBL_13:\n %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem\n %47 = zext i32 %sv_0.4.reload to i64\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.1.reload, { 1, 0 }\n uselistorder i32 %32, { 2, 0, 1, 4, 3 }\n uselistorder i64 %30, { 1, 2, 0 }\n uselistorder i64 %27, { 1, 2, 0, 3 }\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %sv_3.0.reload, { 2, 1, 0 }\n uselistorder i64 %sv_2.0.reload, { 6, 5, 2, 0, 3, 1, 4 }\n uselistorder i64 %3, { 0, 2, 1, 3, 5, 4 }\n uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.010.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_2.19.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.16.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_1.011.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.17.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.012.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.18.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.4.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i1 false, { 2, 3, 4, 1, 5, 6, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 4, 5, 1, 3, 2, 0, 6 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 2, 0, 1 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "write_erst_record_7154", "fun_name": "write_erst_record", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8\n %sv_2.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i32 %3, -8\n %8 = icmp ugt i32 %6, %7\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_12, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1)\n %10 = load i32, i32* %5, align 4\n %11 = zext i32 %10 to i64\n %12 = add i64 %9, %11\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp ult i32 %17, 8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_12, label LBL_2\n LBL_2:\n %19 = load i32, i32* %5, align 4\n %20 = sub i32 %3, %19\n %21 = icmp ult i32 %20, %17\n %22 = icmp eq i1 %21, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_3, label LBL_12\n LBL_3:\n %23 = add i64 %12, 4\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %28, label LBL_4, label LBL_12\n LBL_4:\n %29 = call i64 @FUNC(i64 %0, i64 %26)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = and i64 %29, 4294967295\n %33 = call i64 @FUNC(i64 %0, i64 %32)\n store i64 %33, i64* %sv_2.0.reg2mem\n store i8 1, i8* %sv_1.0.reg2mem\n store i64 %29, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_6:\n %34 = call i64 @FUNC(i64 %0)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n store i64 2, i64* %rax.0.reg2mem\n br i1 %36, label LBL_12, label LBL_7\n LBL_7:\n %37 = and i64 %34, 4294967295\n %38 = call i64 @FUNC(i64 %0, i64 %37)\n store i64 %38, i64* %sv_2.0.reg2mem\n store i8 0, i8* %sv_1.0.reg2mem\n store i64 %34, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %39 = icmp eq i64 %sv_2.0.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %39, label LBL_12, label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %40 = inttoptr i64 %sv_2.0.reload to i64*\n %41 = inttoptr i64 %12 to i64*\n %42 = call i64* @memcpy(i64* %40, i64* %41, i32 %17)\n %43 = sub i32 %3, %17\n %44 = and i64 %16, 4294967295\n %45 = add i64 %sv_2.0.reload, %44\n %46 = inttoptr i64 %45 to i64*\n %47 = call i64* @memset(i64* %46, i32 255, i32 %43)\n %48 = icmp eq i8 %sv_1.0.reload, 1\n br i1 %48, label LBL_11, label LBL_10\n LBL_10:\n %49 = and i64 %45, 4294967295\n %50 = call i64 @FUNC(i64 %49)\n %51 = add i64 %50, 1\n %52 = and i64 %51, 4294967295\n %53 = call i64 @FUNC(i64 %52)\n %54 = trunc i64 %53 to i32\n %55 = inttoptr i64 %49 to i32*\n store i32 %54, i32* %55, align 4\n br label LBL_11\n LBL_11:\n %56 = and i64 %sv_0.0.reload, 4294967295\n %57 = call i64 @FUNC(i64 %0, i64 %56, i64 %26)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %49, { 1, 0 }\n uselistorder i64 %sv_2.0.reload, { 2, 1, 0 }\n uselistorder i32 %17, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4, 5, 6 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i8* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6, 7 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i8 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @get_nvram_ptr_by_index, { 1, 0 }\n uselistorder i64 4294967295, { 2, 5, 0, 3, 1, 4, 6, 7 }\n uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vrend_decode_set_framebuffer_state_9146", "fun_name": "vrend_decode_set_framebuffer_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = trunc i64 %arg2 to i32\n %1 = icmp sgt i32 %0, 1\n store i64 22, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = call i64 @FUNC(i64 %2, i64 1)\n %6 = add i32 %4, 2\n %7 = icmp eq i32 %6, %0\n store i64 22, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_6\n LBL_2:\n %8 = icmp eq i32 %4, 0\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = ptrtoint i64* %sv_1 to i64\n %10 = add i64 %9, -48\n %wide.trip.count = and i64 %3, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %11 = add nuw nsw i64 %indvars.iv.reload, 2\n %12 = and i64 %11, 4294967295\n %13 = call i64 @FUNC(i64 %2, i64 %12)\n %sext = mul i64 %indvars.iv.reload, 4294967296\n %14 = trunc i64 %13 to i32\n %15 = ashr exact i64 %sext, 30\n %16 = add i64 %10, %15\n %17 = inttoptr i64 %16 to i32*\n store i32 %14, i32* %17, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %18 = trunc i64 %5 to i32\n %19 = call i64 @FUNC(i64 %2, i32 %4, i64* nonnull %sv_0, i32 %18)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %4, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 1, 3, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64)* @get_buf_entry, { 2, 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tm_out_of_bounds_18533", "fun_name": "tm_out_of_bounds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = load i32, i32* %0\n %4 = load i32, i32* %0\n %sv_0 = alloca i8*, align 8\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n %7 = trunc i64 %1 to i32\n store i32 %7, i32* %.reg2mem\n store i64 %1, i64* %.reg2mem6\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n store i32 ptrtoint ([3 x i8]* @gv_0 to i32), i32* %.reg2mem\n store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %.reg2mem6\n br label LBL_2\n LBL_2:\n %8 = urem i64 %arg2, 256\n %.reload7 = load i64, i64* %.reg2mem6\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %.reload7 to i8*\n store i8* %12, i8** %sv_0, align 8\n %13 = add i64 %1, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = bitcast i8** %sv_0 to i64*\n %17 = call i64 @FUNC(i64* nonnull %16, i64 %8)\n %18 = icmp eq i64 %17, -1\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_9\n LBL_3:\n %20 = add i64 %1, 20\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %4, %22\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_9, label LBL_4\n LBL_4:\n %25 = trunc i64 %15 to i32\n %26 = inttoptr i64 %13 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, %25\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_9, label LBL_5\n LBL_5:\n %30 = add i64 %1, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %3, %32\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_9, label LBL_6\n LBL_6:\n %35 = trunc i64 %11 to i32\n %36 = inttoptr i64 %9 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, %35\n %39 = icmp eq i1 %38, false\n br i1 %39, label LBL_9, label LBL_7\n LBL_7:\n %40 = add i64 %1, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %2, %42\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_9, label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %45 = load i8*, i8** %sv_0, align 8\n %46 = ptrtoint i8* %45 to i64\n %47 = trunc i64 %46 to i32\n %48 = icmp ne i32 %.reload, %47\n %spec.select = zext i1 %48 to i64\n ret i64 %spec.select\n LBL_9:\n ret i64 1\n\n uselistorder i8** %sv_0, { 1, 2, 0 }\n uselistorder i64 %1, { 4, 3, 2, 5, 6, 0, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem6, { 0, 2, 1 }\n uselistorder i32* %0, { 2, 1, 0 }\n uselistorder [3 x i8]* @gv_0, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "DetachBlob_11269", "fun_name": "DetachBlob", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.2.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([30 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %3 = add i64 %0, 52\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0))\n store i64 0, i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %8 = add i64 %0, 48\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n %.pre = add i64 %0, 8\n %.pre1 = inttoptr i64 %.pre to i64*\n store i64 %rdi.1.reload, i64* %rdi.2.reg2mem\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = load i64, i64* %.pre1, align 8\n %13 = call i64 @FUNC(i64 %rdi.1.reload, i64 %12)\n %14 = load i64, i64* %.pre1, align 8\n %15 = call i64 @FUNC(i64 0, i64 %14)\n store i64 0, i64* %rdi.2.reg2mem\n br label LBL_6\n LBL_6:\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n store i32 0, i32* %9, align 4\n store i64 0, i64* %.pre1, align 8\n %16 = add i64 %0, 16\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = add i64 %0, 24\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %0, 28\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 32\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 36\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 40\n %27 = inttoptr i64 %26 to i64*\n store i64 0, i64* %27, align 8\n store i64 0, i64* %arg1, align 8\n %28 = add i64 %0, 56\n %29 = inttoptr i64 %28 to i64*\n store i64 0, i64* %29, align 8\n %30 = add i64 %0, 64\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n ret i64 %rdi.2.reload\n\n uselistorder i64* %.pre1, { 0, 2, 1 }\n uselistorder i64 %rdi.1.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 5, 6, 7, 8, 9, 1, 10, 11, 0 }\n uselistorder i64* %rdi.2.reg2mem, { 0, 2, 1 }\n uselistorder [30 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tap_set_sndbuf_3409", "fun_name": "tap_set_sndbuf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg3 to i64\n %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gic_get_current_cpu_18933", "fun_name": "gic_get_current_cpu", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 2\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %5 = zext i32 %4 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cdc_ncm_txpath_bh_9894", "fun_name": "cdc_ncm_txpath_bh", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = add i64 %3, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = load i32, i32* %4, align 4\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i32 %7, -1\n store i32 %9, i32* %4, align 4\n %10 = call i64 @FUNC(i64 %3)\n %11 = call i64 @FUNC(i64 %5)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %12 = icmp eq i64 %5, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = add i64 %3, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i32 %15, 1\n store i32 %16, i32* %14, align 4\n %17 = call i64 @FUNC(i64 %5)\n %18 = call i64 @FUNC(i64 %5)\n %19 = call i64 @FUNC(i64 0, i64 %5)\n %20 = call i64 @FUNC(i64 0)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %21 = call i64 @FUNC(i64 0)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 3, 2, 1, 4, 0, 5 }\n uselistorder i64 %3, { 0, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @spin_unlock_bh, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "addrrange_intersection_16632", "fun_name": "addrrange_intersection", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %1 = add i64 %0, -1\n %2 = call i64 @FUNC(i64 %arg3, i64 %arg4)\n %3 = add i64 %2, -1\n %4 = icmp ult i64 %1, %3\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n store i64 %6, i64* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg3, i64 %arg4)\n store i64 %7, i64* %storemerge.in.reg2mem\n br label LBL_3\n LBL_3:\n %8 = icmp ult i64 %arg3, %arg1\n %9 = icmp eq i1 %8, false\n %10 = select i1 %9, i64 %arg3, i64 %arg1\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %11 = sub i64 %storemerge.in.reload, %10\n %12 = call i64 @FUNC(i64 %10, i64 %11)\n ret i64 %12\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64, i64)* @addrrange_end, { 3, 2, 1, 0 }\n uselistorder i64 %arg3, { 2, 3, 0, 1 }\n uselistorder i64 %arg1, { 3, 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hci_dev_do_close_3733", "fun_name": "hci_dev_do_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %4, i64 %3, i64 %2, i64 %1)\n %6 = add i64 %4, 288\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %4, i64 19)\n %9 = call i64 @FUNC(i64 %4)\n %10 = add i64 %4, 256\n %11 = call i64 @FUNC(i64 0, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = add i64 %4, 296\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %4)\n br label LBL_15\n LBL_2:\n %18 = add i64 %4, 304\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %4, 312\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %4, 264\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp slt i32 %24, 1\n br i1 %25, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %.pre = add i64 %4, 260\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_5\n LBL_4:\n %26 = add i64 %4, 320\n %27 = call i64 @FUNC(i64 %26)\n store i32 0, i32* %23, align 4\n %28 = add i64 %4, 260\n %29 = call i64 @FUNC(i64 1, i64 %28)\n store i64 %28, i64* %.pre-phi.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %30 = call i64 @FUNC(i64 2, i64 %.pre-phi.reload)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = add i64 %4, 328\n %34 = call i64 @FUNC(i64 %33)\n br label LBL_7\n LBL_7:\n %35 = add i64 %4, 336\n %36 = call i64 @FUNC(i64 %35)\n %37 = call i64 @FUNC(i64 %4)\n %38 = call i64 @FUNC(i64 %4)\n %39 = call i64 @FUNC(i64 %4)\n %40 = call i64 @FUNC(i64 %4)\n %41 = call i64 @FUNC(i64 %4, i64 7)\n %42 = add i64 %4, 352\n %43 = call i64 @FUNC(i64 %42)\n %44 = add i64 %4, 360\n %45 = call i64 @FUNC(i64 %44, i64 1)\n %46 = call i64 @FUNC(i64 4, i64 %10)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_10, label LBL_8\n LBL_8:\n %50 = add i64 %4, 364\n %51 = call i64 @FUNC(i64 5, i64 %50)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_10, label LBL_9\n LBL_9:\n %54 = call i64 @FUNC(i64 6, i64 %10)\n %55 = call i64 @FUNC(i64 250)\n %56 = load i64, i64* @gv_1, align 8\n %57 = call i64 @FUNC(i64 %4, i64 %56, i64 0, i64 %55)\n %58 = call i64 @FUNC(i64 6, i64 %10)\n br label LBL_10\n LBL_10:\n %59 = add i64 %4, 368\n %60 = call i64 @FUNC(i64 %59)\n %61 = add i64 %4, 376\n %62 = call i64 @FUNC(i64 %61)\n %63 = call i64 @FUNC(i64 %42)\n %64 = add i64 %4, 384\n %65 = call i64 @FUNC(i64 %64)\n %66 = add i64 %4, 280\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = icmp eq i64 %68, 0\n br i1 %69, label LBL_12, label LBL_11\n LBL_11:\n %70 = add i64 %4, 296\n %71 = call i64 @FUNC(i64 %70)\n %72 = load i64, i64* %67, align 8\n %73 = call i64 @FUNC(i64 %72)\n store i64 0, i64* %67, align 8\n br label LBL_12\n LBL_12:\n %74 = call i64 @FUNC(i64 3, i64 %.pre-phi.reload)\n %75 = trunc i64 %74 to i32\n %76 = icmp eq i32 %75, 0\n %77 = icmp eq i1 %76, false\n br i1 %77, label LBL_14, label LBL_13\n LBL_13:\n %78 = call i64 @FUNC(i64 %4)\n %79 = call i64 @FUNC(i64 %4, i64 0)\n %80 = call i64 @FUNC(i64 %4)\n br label LBL_14\n LBL_14:\n %81 = inttoptr i64 %10 to i32*\n store i32 0, i32* %81, align 4\n %82 = add i64 %4, 392\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n %85 = inttoptr i64 %84 to i64*\n %86 = call i64* @memset(i64* %85, i32 0, i32 8)\n %87 = add i64 %4, 400\n %88 = inttoptr i64 %87 to i64*\n %89 = load i64, i64* %88, align 8\n %90 = inttoptr i64 %89 to i64*\n %91 = call i64* @memset(i64* %90, i32 0, i32 8)\n %92 = call i64 @FUNC(i64 %4)\n %93 = call i64 @FUNC(i64 %4)\n br label LBL_15\n LBL_15:\n ret i64 0\n\n uselistorder i64 %10, { 2, 0, 1, 3, 4 }\n uselistorder i64 %4, { 9, 10, 11, 12, 6, 7, 8, 14, 13, 15, 16, 17, 4, 5, 18, 19, 20, 21, 22, 23, 24, 25, 3, 2, 27, 0, 26, 28, 29, 1, 30, 31, 32, 33, 34, 36, 35 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @test_bit, { 1, 0 }\n uselistorder i64 (i64)* @skb_queue_purge, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @hci_dev_unlock, { 1, 0 }\n uselistorder i64 (i64)* @hci_dev_lock, { 1, 0 }\n uselistorder i64 (i64, i64)* @clear_bit, { 1, 0 }\n uselistorder i64 (i64)* @cancel_delayed_work, { 1, 0 }\n uselistorder i64 260, { 1, 0 }\n uselistorder i64 (i64)* @flush_work, { 2, 1, 0 }\n uselistorder i64 (i64)* @hci_req_unlock, { 1, 0 }\n uselistorder i64 (i64)* @del_timer_sync, { 1, 0 }\n uselistorder i64 (i64, i64)* @test_and_clear_bit, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_common_reset_18694", "fun_name": "cpu_common_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = inttoptr i64 %7 to i32*\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %4, i64 %5, i64 %2, i64 %1)\n %14 = load i32, i32* %11, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %6, i64 %15)\n br label LBL_2\n LBL_2:\n %17 = add i64 %6, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %6, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %6, 12\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %6, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %6, 20\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %6, 24\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %6, 28\n %30 = inttoptr i64 %29 to i32*\n store i32 1, i32* %30, align 4\n %31 = add i64 %6, 32\n %32 = inttoptr i64 %31 to i32*\n store i32 -1, i32* %32, align 4\n %33 = add i64 %6, 36\n %34 = inttoptr i64 %33 to i8*\n store i8 0, i8* %34, align 1\n %35 = call i64 @FUNC()\n %36 = trunc i64 %35 to i8\n %37 = icmp eq i8 %36, 0\n store i64 %35, i64* %rax.0.reg2mem\n br i1 %37, label LBL_6, label LBL_3\n LBL_3:\n %38 = add i64 %6, 40\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %39 = mul i64 %indvars.iv.reload, 8\n %40 = add i64 %38, %39\n %41 = call i64 @FUNC(i64 %40, i64 0)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %42 = call i64 @FUNC(i64 %6, i64 0)\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 12 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_cr4_guest_host_mask_138", "fun_name": "set_cr4_guest_host_mask", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4294967295, i64* %arg1, align 8\n %1 = load i8, i8* inttoptr (i64 4210716 to i8*), align 4\n %2 = icmp eq i8 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = or i64 %0, 32\n store i64 %3, i64* %arg1, align 8\n br label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i8\n %6 = icmp eq i8 %5, 0\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i64 %0)\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = sub i64 0, %9\n %11 = sub i64 %10, 1\n %12 = and i64 %11, %0\n store i64 %12, i64* %arg1, align 8\n br label LBL_4\n LBL_4:\n %13 = sub i64 0, %0\n %14 = sub i64 %13, 1\n %15 = call i64 @FUNC(i64 4, i64 %14)\n ret i64 %15\n\n uselistorder i64 %0, { 0, 1, 3, 4, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_handle_ctrl_req_15816", "fun_name": "virtio_scsi_handle_ctrl_req", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i32, align 4\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %4, i64 %4, i64 0, i64* nonnull %5, i64 4)\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i32 %7, 4\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = call i64 @FUNC()\n store i64 %9, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = call i64 @FUNC(i64 %10, i64* nonnull %5)\n %12 = load i32, i32* %sv_0, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_9, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC()\n br label LBL_10\n LBL_5:\n %20 = icmp ne i32 %12, 1\n %21 = icmp eq i32 %12, 2\n %22 = icmp eq i1 %21, false\n %or.cond = icmp eq i1 %20, %22\n br i1 %or.cond, label LBL_10, label LBL_6\n LBL_6:\n %23 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = call i64 @FUNC()\n br label LBL_10\n LBL_8:\n %28 = add i64 %0, 16\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %0, 20\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n br label LBL_10\n LBL_9:\n %32 = call i64 @FUNC(i64 %10, i64 %0)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_11, label LBL_10\n LBL_10:\n %36 = call i64 @FUNC(i64 %0)\n store i64 %36, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_11:\n %37 = icmp eq i32 %33, -1\n store i64 %32, i64* %rax.1.reg2mem\n br i1 %37, label LBL_13, label LBL_12\n LBL_12:\n call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 108, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.1.reg2mem\n br label LBL_13\n LBL_13:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %33, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 3, 4, 5, 1, 6 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 (i64, i64, i64)* @virtio_scsi_parse_req, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i64 ()* @virtio_scsi_bad_req, { 2, 1, 0 }\n uselistorder label LBL_10, { 4, 3, 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_msmpeg4_encode_init_3554", "fun_name": "ff_msmpeg4_encode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.5.reg2mem = alloca i64\n %indvars.iv17.reg2mem = alloca i64\n %indvars.iv14.reg2mem = alloca i64\n %indvars.iv11.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv20.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %5 = icmp slt i32 %4, 4\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 -255, i32* %7, align 4\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 255, i32* %9, align 4\n br label LBL_2\n LBL_2:\n %10 = load i32, i32* @gv_0, align 4\n %11 = zext i32 %10 to i64\n %12 = icmp eq i32 %10, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %rax.5.reg2mem\n br i1 %13, label LBL_12, label LBL_3\n LBL_3:\n store i32 1, i32* @gv_0, align 4\n %14 = call i64 @FUNC(i64* nonnull @gv_1)\n %15 = call i64 @FUNC(i64* nonnull @gv_2)\n store i64 0, i64* %indvars.iv20.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %16 = mul i64 %indvars.iv20.reload, 4\n %17 = add i64 %16, ptrtoint (i64* @gv_3 to i64)\n %18 = call i64 @FUNC(i64 %17, i64 1)\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %exitcond22 = icmp eq i64 %indvars.iv.next21, 10\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n store i64 0, i64* %indvars.iv17.reg2mem\n br i1 %exitcond22, label LBL_11, label LBL_4\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %19 = trunc i64 %indvars.iv.reload to i32\n %20 = call i64 @FUNC(i64 %2, i64 %32, i32 %19, i32 %28, i64 %indvars.iv14.reload, i64 0)\n %21 = add nuw nsw i64 %indvars.iv.reload, %27\n %22 = trunc i64 %20 to i32\n %23 = mul i64 %21, 4\n %24 = add i64 %23, ptrtoint (i32** @gv_4 to i64)\n %25 = inttoptr i64 %24 to i32*\n store i32 %22, i32* %25, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1\n %exitcond13 = icmp eq i64 %indvars.iv.next12, 256\n store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem\n br i1 %exitcond13, label LBL_8, label LBL_7\n LBL_7:\n %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem\n %26 = add nuw nsw i64 %indvars.iv11.reload, %30\n %27 = mul i64 %26, 2\n %28 = trunc i64 %indvars.iv11.reload to i32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_8:\n %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1\n %exitcond16 = icmp eq i64 %indvars.iv.next15, 256\n store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem\n br i1 %exitcond16, label LBL_10, label LBL_9\n LBL_9:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n %29 = add nuw nsw i64 %indvars.iv14.reload, %33\n %30 = mul i64 %29, 256\n store i64 0, i64* %indvars.iv11.reg2mem\n br label LBL_7\n LBL_10:\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1\n %exitcond19 = icmp eq i64 %indvars.iv.next18, 10\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n store i64 %20, i64* %rax.5.reg2mem\n br i1 %exitcond19, label LBL_12, label LBL_11\n LBL_11:\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %31 = mul i64 %indvars.iv17.reload, 4\n %32 = add i64 %31, ptrtoint (i64* @gv_3 to i64)\n %33 = mul i64 %indvars.iv17.reload, 256\n store i64 0, i64* %indvars.iv14.reg2mem\n br label LBL_9\n LBL_12:\n %rax.5.reload = load i64, i64* %rax.5.reg2mem\n ret i64 %rax.5.reload\n\n uselistorder i64 %indvars.iv17.reload, { 2, 1, 0 }\n uselistorder i64 %indvars.iv14.reload, { 2, 1, 0 }\n uselistorder i64 %indvars.iv11.reload, { 1, 2, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %2, { 2, 0, 1, 3 }\n uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv11.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv17.reg2mem, { 0, 2, 1 }\n uselistorder i64 10, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64 (i64*)* @init_mv_table, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_sg_vrml_is_sf_field_6152", "fun_name": "gf_sg_vrml_is_sf_field", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = icmp ult i32 %0, 10\n %storemerge = zext i1 %1 to i64\n ret i64 %storemerge\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_fill_flex_info_13091", "fun_name": "ext4_fill_flex_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge57.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n %8 = add i64 %1, 24\n %9 = inttoptr i64 %8 to i32*\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n store i32 0, i32* %9, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n store i32 %5, i32* %9, align 4\n %10 = urem i32 %5, 32\n %11 = shl i32 1, %10\n %12 = add i64 %1, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i32 %14, %11\n %16 = load i64, i64* %2, align 8\n %17 = add i64 %16, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = add i32 %15, %22\n %24 = ashr i32 %23, 31\n %25 = zext i32 %23 to i64\n %26 = zext i32 %24 to i64\n %27 = mul i64 %26, 4294967296\n %28 = or i64 %27, %25\n %29 = zext i32 %11 to i64\n %30 = sdiv i64 %28, %29\n %sext = mul i64 %30, 4294967296\n %31 = ashr exact i64 %sext, 32\n %32 = ashr exact i64 %sext, 31\n %33 = add nsw i64 %32, %31\n %34 = mul i64 %33, 4\n %35 = call i64 @FUNC(i64 %34, i64 0)\n %36 = add i64 %1, 16\n %37 = inttoptr i64 %36 to i64*\n store i64 %35, i64* %37, align 8\n %38 = icmp eq i64 %35, 0\n %39 = icmp eq i1 %38, false\n store i64 %35, i64* %.reg2mem\n br i1 %39, label LBL_5, label LBL_3\n LBL_3:\n %sext6 = mul i64 %33, 17179869184\n %40 = ashr exact i64 %sext6, 32\n %41 = call i64 @FUNC(i64 %40)\n store i64 %41, i64* %37, align 8\n %42 = icmp eq i64 %41, 0\n br i1 %42, label LBL_7, label LBL_4\n LBL_4:\n %43 = trunc i64 %34 to i32\n %44 = inttoptr i64 %41 to i64*\n %45 = call i64* @memset(i64* %44, i32 0, i32 %43)\n %.pre = load i64, i64* %37, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %46 = icmp eq i64 %.reload, 0\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_6, label LBL_7\n LBL_6:\n %48 = load i32, i32* %13, align 4\n %49 = icmp eq i32 %48, 0\n store i32 0, i32* %storemerge57.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %49, label LBL_9, label LBL_8\n LBL_7:\n %50 = and i64 %30, 4294967295\n %51 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %50)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %storemerge57.reload = load i32, i32* %storemerge57.reg2mem\n %52 = zext i32 %storemerge57.reload to i64\n %53 = call i64 @FUNC(i64 %0, i64 %52, i64 0)\n %54 = call i64 @FUNC(i64 %1, i64 %52)\n %55 = load i64, i64* %37, align 8\n %sext2 = mul i64 %54, 4294967296\n %56 = ashr exact i64 %sext2, 32\n %57 = ashr exact i64 %sext2, 31\n %58 = add nsw i64 %57, %56\n %59 = mul i64 %58, 4\n %60 = add i64 %59, %55\n %61 = call i64 @FUNC(i64 %0, i64 %53)\n %62 = and i64 %61, 4294967295\n %63 = call i64 @FUNC(i64 %62, i64 %60)\n %64 = load i64, i64* %37, align 8\n %65 = add i64 %64, 4\n %66 = add i64 %65, %59\n %67 = call i64 @FUNC(i64 %0, i64 %53)\n %68 = and i64 %67, 4294967295\n %69 = call i64 @FUNC(i64 %68, i64 %66)\n %70 = load i64, i64* %37, align 8\n %71 = add nsw i64 %59, 8\n %72 = add i64 %71, %70\n %73 = call i64 @FUNC(i64 %0, i64 %53)\n %74 = and i64 %73, 4294967295\n %75 = call i64 @FUNC(i64 %74, i64 %72)\n %76 = add i32 %storemerge57.reload, 1\n %77 = load i32, i32* %13, align 4\n %78 = zext i32 %77 to i64\n %79 = sext i32 %76 to i64\n %80 = icmp slt i64 %79, %78\n store i32 %76, i32* %storemerge57.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %80, label LBL_8, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %59, { 0, 2, 1 }\n uselistorder i64 %sext2, { 1, 0 }\n uselistorder i64 %41, { 1, 0, 2 }\n uselistorder i64* %37, { 2, 3, 4, 0, 1, 5 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i32* %13, { 1, 0, 2 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32* %9, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge57.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 2, 3 }\n uselistorder i64 (i64, i64)* @atomic_add, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0, 2 }\n uselistorder i32 0, { 0, 2, 3, 5, 6, 1, 4 }\n uselistorder label LBL_9, { 0, 2, 1, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "machine_register_compat_props_17134", "fun_name": "machine_register_compat_props", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem3 = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = trunc i64 %0 to i32\n %3 = and i64 %0, 4294967295\n %4 = icmp eq i32 %2, 0\n store i64 %0, i64* %.reg2mem\n store i64 0, i64* %.reg2mem3\n store i32 0, i32* %storemerge1.reg2mem\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload4 = load i64, i64* %.reg2mem3\n %.reload = load i64, i64* %.reg2mem\n %5 = add i64 %.reload, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = mul i64 %.reload4, 8\n %9 = add i64 %7, %8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i32 %storemerge1.reload, 1\n %14 = and i64 %11, 4294967295\n %15 = sext i32 %13 to i64\n %16 = icmp sgt i64 %14, %15\n store i64 %11, i64* %.reg2mem\n store i64 %15, i64* %.reg2mem3\n store i32 %13, i32* %storemerge1.reg2mem\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 3, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem3, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "spapr_drc_needed_3359", "fun_name": "spapr_drc_needed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, %4\n %10 = icmp eq i1 %9, false\n %11 = zext i1 %10 to i64\n %12 = and i64 %1, 4294967040\n %13 = or i64 %12, %11\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "output_frame_2620", "fun_name": "output_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %storemerge36.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg2 to i64\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %3, i64 %2)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = and i64 %9, 4294967295\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %14 = ptrtoint i64* %arg1 to i64\n %15 = trunc i64 %1 to i32\n %16 = call i64 @FUNC(i64 %14)\n %17 = add i64 %3, 32\n %18 = call i64 @FUNC(i64 %17, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 0)\n %19 = add i64 %14, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %15, i32* %20, align 4\n %21 = add i64 %3, 36\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %14, 12\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i64 %3, 40\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %14, 16\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = bitcast i64* %rsi to i32*\n %32 = load i32, i32* %31, align 8\n %33 = inttoptr i64 %17 to i32*\n store i32 %32, i32* %33, align 4\n %34 = add i64 %3, 4\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n store i32 %36, i32* %22, align 4\n %37 = add i64 %3, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n store i32 %39, i32* %27, align 4\n %40 = load i32, i32* %5, align 4\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_4, label LBL_3\n LBL_3:\n %43 = add i64 %3, 12\n %44 = inttoptr i64 %43 to i32*\n store i32 1, i32* %44, align 4\n br label LBL_4\n LBL_4:\n %45 = add i64 %2, 12\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %49, label LBL_5, label LBL_10\n LBL_5:\n %50 = inttoptr i64 %8 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = icmp eq i32 %51, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %52, label LBL_10, label LBL_6\n LBL_6:\n %53 = add i64 %8, 4\n %54 = inttoptr i64 %53 to i32*\n %55 = add i64 %8, 8\n %56 = inttoptr i64 %55 to i32*\n %57 = add i64 %2, 16\n %58 = inttoptr i64 %57 to i32*\n %59 = add i64 %14, 20\n %60 = inttoptr i64 %59 to i32*\n %61 = add i64 %2, 20\n %62 = inttoptr i64 %61 to i32*\n %63 = add i64 %3, 24\n %64 = inttoptr i64 %63 to i64*\n %65 = add i64 %3, 16\n %66 = inttoptr i64 %65 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %67 = icmp slt i32 %storemerge7.reload, 1\n store i32 0, i32* %storemerge36.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %67, label LBL_9, label LBL_8\n LBL_8:\n %68 = load i32, i32* %54, align 4\n %69 = load i32, i32* %56, align 4\n store i32 %68, i32* %storemerge36.reg2mem\n store i32 %69, i32* %storemerge2.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %70 = load i32, i32* %58, align 4\n %71 = urem i32 %storemerge36.reload, 32\n %72 = ashr i32 %70, %71\n %73 = load i32, i32* %60, align 4\n %74 = urem i32 %73, 32\n %75 = shl i32 %72, %74\n %storemerge4 = zext i32 %75 to i64\n store i64 %storemerge4, i64* %rsi, align 8\n %76 = load i32, i32* %62, align 4\n %77 = urem i32 %storemerge2.reload, 32\n %78 = ashr i32 %76, %77\n %79 = load i64, i64* %64, align 8\n %80 = mul i64 %.reload, 4\n %81 = add i64 %79, %80\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = mul i32 %83, %78\n %85 = add i32 %84, %75\n %86 = load i64, i64* %66, align 8\n %87 = add i64 %86, %80\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = add i32 %85, %89\n store i32 %90, i32* %88, align 4\n %91 = add i32 %storemerge7.reload, 1\n %92 = load i32, i32* %50, align 4\n %93 = zext i32 %92 to i64\n %94 = sext i32 %91 to i64\n %95 = icmp slt i64 %94, %93\n store i64 %94, i64* %.reg2mem\n store i32 %91, i32* %storemerge7.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %95, label LBL_7, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %80, { 1, 0 }\n uselistorder i32* %50, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 0, 3, 4, 7, 6, 5, 8 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge36.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "svq1_decode_init_2984", "fun_name": "svq1_decode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %sv_0 = alloca i32*, align 8\n store i32* %arg1, i32** %sv_0, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %5, align 8\n %6 = bitcast i64* %rdi to i32*\n %7 = load i32, i32* %6, align 8\n %8 = add i32 %7, 3\n %9 = and i32 %8, -4\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = load i32*, i32** %sv_0, align 8\n %13 = ptrtoint i32* %12 to i64\n %14 = add i64 %13, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i32 %16, 3\n %18 = and i32 %17, -4\n %19 = add i64 %3, 12\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = load i32*, i32** %sv_0, align 8\n %22 = ptrtoint i32* %21 to i64\n %23 = add i64 %22, 32\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %3, 16\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = load i32*, i32** %sv_0, align 8\n %31 = ptrtoint i32* %30 to i64\n %32 = add i64 %31, 24\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = load i32*, i32** %sv_0, align 8\n %35 = ptrtoint i32* %34 to i64\n %36 = add i64 %35, 28\n %37 = inttoptr i64 %36 to i32*\n store i32 1, i32* %37, align 4\n %38 = load i32*, i32** %sv_0, align 8\n %39 = ptrtoint i32* %38 to i64\n %40 = add i64 %39, 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %3, 20\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = call i64 @FUNC(i64 %3)\n %46 = trunc i64 %45 to i32\n %47 = icmp slt i32 %46, 0\n %48 = icmp eq i1 %47, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %48, label LBL_1, label LBL_4\n LBL_1:\n %49 = call i64 @FUNC(i64* nonnull @gv_0, i64 2, i64 4, i64* nonnull @gv_1, i64 2, i64 1)\n %50 = call i64 @FUNC(i64* nonnull @gv_2, i64 7, i64 33, i64* nonnull @gv_3, i64 2, i64 1)\n %51 = ptrtoint i32** %sv_0 to i64\n %52 = add i64 %51, -8\n %53 = inttoptr i64 %52 to i64*\n %54 = add i64 %51, -16\n %55 = inttoptr i64 %54 to i64*\n %56 = add i64 %51, -24\n %57 = inttoptr i64 %56 to i64*\n %58 = add i64 %51, -32\n %59 = inttoptr i64 %58 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %60 = mul i64 %indvars.iv.reload, 16\n %61 = add i64 %60, ptrtoint (i64* @gv_4 to i64)\n %62 = add nuw nsw i64 %60, 4210952\n %63 = mul i64 %indvars.iv.reload, 8\n %64 = add i64 %63, ptrtoint (i64* @gv_5 to i64)\n store i64 1, i64* %53, align 8\n store i64 1, i64* %55, align 8\n store i64 2, i64* %57, align 8\n store i64 %61, i64* %59, align 8\n %65 = inttoptr i64 %64 to i64*\n %66 = inttoptr i64 %62 to i64*\n %67 = call i64 @FUNC(i64* %65, i64 3, i64 8, i64* nonnull %66, i64 2, i64 1)\n %68 = add i64 %60, ptrtoint (i64* @gv_6 to i64)\n %69 = add nuw nsw i64 %60, 4211112\n %70 = add i64 %63, ptrtoint (i64* @gv_7 to i64)\n store i64 1, i64* %53, align 8\n store i64 1, i64* %55, align 8\n store i64 2, i64* %57, align 8\n store i64 %68, i64* %59, align 8\n %71 = inttoptr i64 %70 to i64*\n %72 = inttoptr i64 %69 to i64*\n %73 = call i64 @FUNC(i64* %71, i64 3, i64 8, i64* nonnull %72, i64 2, i64 1)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 6\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n store i64 1, i64* %53, align 8\n store i64 2, i64* %55, align 8\n store i64 4, i64* %57, align 8\n store i64 ptrtoint (i64* @gv_8 to i64), i64* %59, align 8\n %74 = call i64 @FUNC(i64* nonnull @gv_9, i64 8, i64 256, i64* nonnull @gv_10, i64 4, i64 2)\n store i64 1, i64* %53, align 8\n store i64 2, i64* %55, align 8\n store i64 4, i64* %57, align 8\n store i64 ptrtoint (i64* @gv_11 to i64), i64* %59, align 8\n %75 = call i64 @FUNC(i64* nonnull @gv_12, i64 9, i64 512, i64* nonnull @gv_13, i64 4, i64 2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %63, { 1, 0 }\n uselistorder i64 %60, { 2, 3, 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %59, { 1, 0, 2, 3 }\n uselistorder i64* %57, { 1, 0, 2, 3 }\n uselistorder i64* %55, { 1, 0, 2, 3 }\n uselistorder i64* %53, { 1, 0, 2, 3 }\n uselistorder i32** %sv_0, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*, i64, i64, i64*, i64, i64)* @init_vlc, { 3, 2, 5, 4, 1, 0 }\n uselistorder i64 1, { 9, 10, 0, 1, 5, 6, 2, 7, 8, 3, 4 }\n uselistorder i64 2, { 0, 9, 1, 10, 2, 7, 3, 8, 4, 6, 5 }\n uselistorder i64 4, { 0, 3, 1, 4, 2, 5 }\n uselistorder i64 8, { 1, 2, 3, 0, 4, 5 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipv6_hop_jumbo_6998", "fun_name": "ipv6_hop_jumbo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC(i64 %0)\n %3 = add nsw i64 %1, 1\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 4\n %8 = urem i64 %arg2, 4\n %9 = icmp eq i64 %8, 2\n %or.cond = icmp eq i1 %9, %7\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %10 = zext i8 %6 to i64\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 %10)\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %12, i64 1)\n br label LBL_9\n LBL_2:\n %14 = add nsw i64 %1, 2\n %15 = add i64 %2, %14\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = call i32 @ntohl(i32 %17)\n %19 = icmp ult i32 %18, 65536\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %20 = call i64 @FUNC(i64 %0)\n %21 = call i64 @FUNC(i64 %20, i64 1)\n %22 = and i64 %14, 4294967295\n %23 = call i64 @FUNC(i64 %0, i64 3, i64 %22)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %24 = call i64 @FUNC(i64 %0)\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %0)\n %29 = call i64 @FUNC(i64 %28, i64 1)\n %30 = and i64 %1, 4294967295\n %31 = call i64 @FUNC(i64 %0, i64 3, i64 %30)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %32 = zext i32 %18 to i64\n %33 = add i64 %0, 8\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = sext i32 %35 to i64\n %37 = add nsw i64 %36, -4\n %38 = icmp ult i64 %37, %32\n br i1 %38, label LBL_7, label LBL_8\n LBL_7:\n %39 = call i64 @FUNC(i64 %0)\n %40 = call i64 @FUNC(i64 %39, i64 2)\n br label LBL_9\n LBL_8:\n %41 = add i32 %18, 4\n %42 = zext i32 %41 to i64\n %43 = call i64 @FUNC(i64 %0, i64 %42)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %46, label LBL_9, label LBL_10\n LBL_9:\n %47 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %18, { 1, 0, 2 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 8, 4, 3, 2, 1, 0, 7, 6, 5, 9, 10 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64, i64)* @icmpv6_param_prob, { 1, 0 }\n uselistorder i64 (i64, i64)* @IP6_INC_STATS_BH, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @ipv6_skb_idev, { 3, 2, 1, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dump_iterate_16474", "fun_name": "dump_iterate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = inttoptr i64 %1 to i32*\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n br label LBL_1\n LBL_1:\n %10 = load i64, i64* %2, align 8\n %11 = sub i64 %10, %0\n %12 = load i32, i32* %3, align 4\n %13 = icmp eq i32 %12, 0\n %.pre = load i64, i64* %5, align 8\n store i64 %11, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_4, label LBL_2\n LBL_2:\n %14 = sub i64 %11, %.pre\n %15 = load i64, i64* %7, align 8\n %16 = load i64, i64* %9, align 8\n %17 = add i64 %16, %15\n %18 = icmp slt i64 %17, %10\n store i64 %14, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_3, label LBL_4\n LBL_3:\n %19 = sub i64 %14, %10\n %20 = add i64 %19, %17\n store i64 %20, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %21 = call i64 @FUNC(i64 %0, i64 %0, i64 %.pre, i64 %sv_0.0.reload, i64* nonnull %sv_1)\n %22 = load i64, i64* %sv_1, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = ptrtoint i64* %arg2 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %22)\n ret i64 %25\n LBL_6:\n %26 = call i64 @FUNC(i64 %0, i64 %0)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 1\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_1.backedge, label LBL_8\n LBL_7:\n br label LBL_1\n LBL_8:\n %30 = call i64 @FUNC(i64 %0)\n br label LBL_1.backedge\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64 %0, { 6, 3, 7, 2, 8, 0, 5, 4, 9, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_1.backedge, { 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "peer_free_5277", "fun_name": "peer_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 65, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = add i64 %arg1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = add i64 %arg1, 64\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %arg1, 72\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %arg1)\n %18 = add i64 %arg1, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 1, i64 %20)\n br label LBL_4\n LBL_4:\n %23 = add i64 %arg1, 24\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 2, i64 %25)\n br label LBL_6\n LBL_6:\n %28 = add i64 %arg1, 32\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_8, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i64 %30)\n br label LBL_8\n LBL_8:\n %33 = add i64 %arg1, 40\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n br i1 %36, label LBL_10, label LBL_9\n LBL_9:\n %37 = call i64 @FUNC(i64 3, i64 %35)\n br label LBL_10\n LBL_10:\n %38 = add i64 %arg1, 48\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = icmp eq i64 %40, 0\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = call i64 @FUNC(i64 %40)\n br label LBL_12\n LBL_12:\n %43 = add i64 %arg1, 56\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = icmp eq i64 %45, 0\n br i1 %46, label LBL_14, label LBL_13\n LBL_13:\n %47 = call i64 @FUNC(i64 4, i64 %45)\n br label LBL_14\n LBL_14:\n %48 = call i64 @FUNC(i64 %arg1)\n %49 = inttoptr i64 %arg1 to i64*\n %50 = call i64* @memset(i64* %49, i32 0, i32 80)\n %51 = call i64 @FUNC(i64 5, i64 %arg1)\n ret i64 %51\n\n uselistorder i64 (i64, i64)* @XFREE, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usage_10338", "fun_name": "usage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([233 x i8], [233 x i8]* @gv_0, i64 0, i64 0))\n ret i64 1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_check_sr_3072", "fun_name": "gen_check_sr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = mul i64 %arg2, 16\n %7 = and i64 %6, 68719476720\n %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64)\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 8\n %11 = zext i32 %10 to i64\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i64 %12, i64 %11)\n %14 = trunc i64 %13 to i8\n %15 = icmp eq i8 %14, 1\n br i1 %15, label LBL_5, label LBL_1\n LBL_1:\n %16 = add i64 %7, ptrtoint (i64* @gv_1 to i64)\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %18, i64 %11, i64 %4, i64 %2, i64 %1)\n br label LBL_4\n LBL_3:\n %21 = and i64 %arg2, 4294967295\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %21, i64 %11, i64 %4, i64 %2, i64 %1)\n br label LBL_4\n LBL_4:\n %23 = call i64 @FUNC(i64 %5, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %24 = add i64 %7, ptrtoint (i32** @gv_4 to i64)\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 8\n %27 = and i32 %26, %arg3\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %29, label LBL_10, label LBL_6\n LBL_6:\n %30 = icmp ult i32 %arg3, 3\n %31 = zext i32 %arg3 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %32, ptrtoint ([3 x i8*]* @gv_5 to i64)\n %34 = inttoptr i64 %33 to i64*\n br i1 %30, label LBL_7, label LBL_8\n LBL_7:\n %35 = load i64, i64* %34, align 8\n %36 = icmp eq i64 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %35, i64* %.reg2mem\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_7, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_8, i64 0, i64 0))\n %.pre = load i64, i64* %34, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 ptrtoint ([13 x i8]* @gv_8 to i64), i64* %rcx.0.reg2mem\n br label LBL_9\n LBL_9:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %38 = add i64 %7, ptrtoint (i64* @gv_1 to i64)\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_9, i64 0, i64 0), i64 %40, i64 %.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %42 = call i64 @FUNC(i64 %5, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder [13 x i8]* @gv_8, { 1, 0 }\n uselistorder i64 (i64, i64)* @gen_exception_cause, { 1, 0 }\n uselistorder i64 1, { 2, 0, 3, 1 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @qemu_log, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 %arg3, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "new_term_4047", "fun_name": "new_term", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i8* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 40)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n %3 = add i64 %0, 32\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %arg2 to i32\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n store i32 %5, i32* %7, align 4\n %8 = trunc i64 %arg3 to i32\n %9 = add i64 %0, 12\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = ptrtoint i8* %arg4 to i64\n %12 = add i64 %0, 16\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n switch i32 %5, label LBL_4 [\n i32 1, label LBL_2\n i32 2, label LBL_3\n ]\n LBL_2:\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n store i64 %arg6, i64* %15, align 8\n br label LBL_5\n LBL_3:\n %16 = add i64 %0, 24\n %17 = inttoptr i64 %16 to i64*\n store i64 %arg5, i64* %17, align 8\n br label LBL_5\n LBL_4:\n %18 = inttoptr i64 %0 to i64*\n call void @free(i64* %18)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n store i64 %0, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3, 4, 5, 7, 6, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "brcmf_fweh_process_event_4129", "fun_name": "brcmf_fweh_process_event", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = add i64 %0, 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = bitcast i64* %arg3 to i8*\n store i8 %7, i8* %8, align 1\n %9 = add i64 %0, 20\n %10 = icmp ult i32 %2, 10\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_1, label LBL_5\n LBL_1:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = icmp eq i32 %2, 1\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = mul i64 %1, 8\n %14 = and i64 %13, 34359738360\n %15 = add i64 %14, %11\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_5, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC()\n %20 = trunc i64 %19 to i32\n %21 = icmp ne i32 %20, 0\n %spec.select = zext i1 %21 to i64\n %22 = and i64 %4, 4294967295\n %23 = add nuw nsw i64 %22, 28\n %24 = call i64 @FUNC(i64 %23, i64 %spec.select)\n %25 = icmp eq i64 %24, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_5, label LBL_4\n LBL_4:\n %26 = trunc i64 %4 to i32\n %27 = inttoptr i64 %24 to i32*\n store i32 %2, i32* %27, align 4\n %28 = bitcast i64* %rdx to i8*\n %29 = load i8, i8* %28, align 8\n %30 = add i64 %24, 4\n %31 = inttoptr i64 %30 to i8*\n store i8 %29, i8* %31, align 1\n %32 = add i64 %24, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = call i64* @memcpy(i64* %33, i64* %arg2, i32 12)\n %35 = add i64 %24, 26\n %36 = inttoptr i64 %35 to i64*\n %37 = inttoptr i64 %9 to i64*\n %38 = call i64* @memcpy(i64* %36, i64* %37, i32 %26)\n %39 = add i64 %0, 12\n %40 = add i64 %24, 20\n %41 = inttoptr i64 %40 to i64*\n %42 = inttoptr i64 %39 to i64*\n %43 = call i64* @memcpy(i64* %41, i64* %42, i32 6)\n %44 = call i64 @FUNC(i64 %11, i64 %24)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64 (i64)* @get_unaligned_be32, { 1, 0 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "append_quoted_13813", "fun_name": "append_quoted", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.228.reg2mem = alloca i64\n %sv_1.229.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i64\n %sv_0.111.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sext = mul i64 %arg4, 4294967296\n %1 = and i64 %arg4, 4294967295\n %2 = ashr exact i64 %sext, 32\n %3 = bitcast i64* %sv_2 to i8*\n %4 = ptrtoint i64* %sv_2 to i64\n store i64 %arg2, i64* %sv_0.0.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %5 = add i64 %sv_1.0.reload, %2\n %6 = icmp ult i64 %5, %arg3\n store i64 %5, i64* %.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.111.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.229.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.228.reg2mem\n br i1 %6, label LBL_2, label LBL_7\n LBL_2:\n %sv_0.111.reload = load i64, i64* %sv_0.111.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %7 = add i64 %sv_0.111.reload, %2\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %.off9 = add i8 %9, -32\n %10 = icmp ult i8 %.off9, 95\n store i64 %7, i64* %sv_0.2.reg2mem\n store i64 %.reload, i64* %sv_1.2.reg2mem\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = zext i8 %9 to i32\n %12 = call i8* @strchr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i32 %11)\n %13 = icmp eq i8* %12, null\n %14 = icmp eq i1 %13, false\n store i64 %7, i64* %sv_0.2.reg2mem\n store i64 %.reload, i64* %sv_1.2.reg2mem\n br i1 %14, label LBL_5, label LBL_4\n LBL_4:\n %15 = add i64 %.reload, 1\n %16 = add i64 %7, 1\n %17 = add i64 %15, %2\n %18 = icmp ult i64 %17, %arg3\n store i64 %17, i64* %.reg2mem\n store i64 %16, i64* %sv_0.111.reg2mem\n store i64 %16, i64* %sv_0.2.reg2mem\n store i64 %15, i64* %sv_1.2.reg2mem\n br i1 %18, label LBL_2, label LBL_5\n LBL_5:\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem\n %19 = icmp eq i64 %sv_0.2.reload, %sv_0.0.reload\n store i64 %sv_1.2.reload, i64* %sv_1.229.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.228.reg2mem\n br i1 %19, label LBL_7, label LBL_6\n LBL_6:\n %20 = sub i64 %sv_0.2.reload, %sv_0.0.reload\n %21 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload, i64 %20, i64 %1)\n store i64 %sv_1.2.reload, i64* %sv_1.229.reg2mem\n store i64 %sv_0.2.reload, i64* %sv_0.228.reg2mem\n br label LBL_7\n LBL_7:\n %sv_1.229.reload = load i64, i64* %sv_1.229.reg2mem\n %22 = add i64 %sv_1.229.reload, %2\n %23 = icmp ult i64 %22, %arg3\n br i1 %23, label LBL_8, label LBL_12\n LBL_8:\n %sv_0.228.reload = load i64, i64* %sv_0.228.reg2mem\n %24 = add i64 %sv_0.228.reload, %2\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %.off = add i8 %26, -32\n %27 = icmp ult i8 %.off, 95\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n %28 = zext i8 %26 to i32\n %29 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %3, i32 4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %28)\n %30 = call i64 @FUNC(i64 %0, i64 %4, i64 3)\n br label LBL_11\n LBL_10:\n store i64 92, i64* %sv_2, align 8\n %31 = call i64 @FUNC(i64 %0, i64 %4, i64 2)\n br label LBL_11\n LBL_11:\n %32 = add i64 %22, 1\n %33 = add i64 %24, 1\n store i64 %33, i64* %sv_0.0.reg2mem\n store i64 %32, i64* %sv_1.0.reg2mem\n br label LBL_1\n LBL_12:\n ret i64 %22\n\n uselistorder i64 %sv_0.2.reload, { 0, 2, 1 }\n uselistorder i64 %sv_1.2.reload, { 1, 0 }\n uselistorder i8 %9, { 1, 0 }\n uselistorder i64 %7, { 2, 0, 1, 3 }\n uselistorder i64 %.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.0.reload, { 4, 3, 1, 5, 0, 2 }\n uselistorder i64* %sv_2, { 1, 2, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.111.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.229.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.228.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @put_stringbuf_mem, { 2, 1, 0 }\n uselistorder i8 95, { 1, 0 }\n uselistorder i8 -32, { 1, 0 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder i64 %arg3, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "meson_sar_adc_lock_3984", "fun_name": "meson_sar_adc_lock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %1 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_6, label LBL_1\n LBL_1:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i64 0, i64 1, i64 1)\n %12 = bitcast i32* %sv_1 to i64*\n store i32 10000, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %13 = call i64 @FUNC(i64 1)\n %14 = load i64, i64* %9, align 8\n %15 = call i64 @FUNC(i64 %14, i64 0, i64* nonnull %12)\n %16 = load i32, i32* %sv_1, align 4\n %17 = and i32 %16, 2\n %18 = icmp eq i32 %17, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = add i32 %sv_0.0.reload, -1\n %20 = icmp eq i32 %sv_0.0.reload, 0\n %21 = icmp eq i1 %20, false\n store i32 %19, i32* %sv_0.0.reg2mem\n store i32 %19, i32* %sv_0.1.reg2mem\n br i1 %21, label LBL_2, label LBL_4\n LBL_4:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %22 = icmp slt i32 %sv_0.1.reload, 0\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i64 %0)\n store i64 4294967186, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mpeg_decode_picture_coding_extension_2909", "fun_name": "mpeg_decode_picture_coding_extension", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n store i32 0, i32* %2, align 4\n %3 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %0, 68\n %5 = call i64 @FUNC(i64 %4, i64 4)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %4, i64 4)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %0, 12\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %4, i64 4)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %0, 16\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = call i64 @FUNC(i64 %4, i64 4)\n %18 = trunc i64 %17 to i32\n %19 = add i64 %0, 20\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n %21 = call i64 @FUNC(i64 %4, i64 2)\n %22 = trunc i64 %21 to i32\n %23 = add i64 %0, 24\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = call i64 @FUNC(i64 %4, i64 2)\n %26 = trunc i64 %25 to i32\n %27 = add i64 %0, 28\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = call i64 @FUNC(i64 %4)\n %30 = trunc i64 %29 to i32\n %31 = add i64 %0, 32\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = call i64 @FUNC(i64 %4)\n %34 = trunc i64 %33 to i32\n %35 = add i64 %0, 36\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = call i64 @FUNC(i64 %4)\n %38 = trunc i64 %37 to i32\n %39 = add i64 %0, 40\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = call i64 @FUNC(i64 %4)\n %42 = trunc i64 %41 to i32\n %43 = add i64 %0, 44\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = call i64 @FUNC(i64 %4)\n %46 = trunc i64 %45 to i32\n %47 = add i64 %0, 48\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n %49 = call i64 @FUNC(i64 %4)\n %50 = trunc i64 %49 to i32\n %51 = add i64 %0, 52\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n %53 = call i64 @FUNC(i64 %4)\n %54 = trunc i64 %53 to i32\n %55 = add i64 %0, 56\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n %57 = call i64 @FUNC(i64 %4)\n %58 = trunc i64 %57 to i32\n %59 = add i64 %0, 60\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n %61 = call i64 @FUNC(i64 %4)\n %62 = trunc i64 %61 to i32\n %63 = add i64 %0, 64\n %64 = inttoptr i64 %63 to i32*\n store i32 %62, i32* %64, align 4\n %65 = load i32, i32* %24, align 4\n %66 = sext i32 %65 to i64\n %67 = inttoptr i64 %66 to i8*\n %68 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_0 to i32), i8* %67, i64 %66)\n %69 = load i32, i32* %28, align 4\n %70 = sext i32 %69 to i64\n %71 = inttoptr i64 %70 to i8*\n %72 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_1 to i32), i8* %71, i64 %70)\n %73 = load i32, i32* %40, align 4\n %74 = sext i32 %73 to i64\n %75 = inttoptr i64 %74 to i8*\n %76 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_2 to i32), i8* %75, i64 %74)\n %77 = load i32, i32* %48, align 4\n %78 = sext i32 %77 to i64\n %79 = inttoptr i64 %78 to i8*\n %80 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_3 to i32), i8* %79, i64 %78)\n %81 = load i32, i32* %52, align 4\n %82 = sext i32 %81 to i64\n %83 = inttoptr i64 %82 to i8*\n %84 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_4 to i32), i8* %83, i64 %82)\n %85 = load i32, i32* %36, align 4\n %86 = sext i32 %85 to i64\n %87 = inttoptr i64 %86 to i8*\n %88 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_5 to i32), i8* %87, i64 %86)\n %89 = load i32, i32* %64, align 4\n %90 = sext i32 %89 to i64\n %91 = inttoptr i64 %90 to i8*\n %92 = call i32 (i32, i8*, ...) @dprintf(i32 ptrtoint (i32* @gv_6 to i32), i8* %91, i64 %90)\n %93 = sext i32 %92 to i64\n ret i64 %93\n\n uselistorder i64 %90, { 1, 0 }\n uselistorder i64 %86, { 1, 0 }\n uselistorder i64 %82, { 1, 0 }\n uselistorder i64 %78, { 1, 0 }\n uselistorder i64 %74, { 1, 0 }\n uselistorder i64 %70, { 1, 0 }\n uselistorder i64 %66, { 1, 0 }\n uselistorder i32 (i32, i8*, ...)* @dprintf, { 1, 0, 6, 5, 4, 3, 2 }\n uselistorder i64 (i64)* @get_bits1, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @get_bits, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "t_gen_mov_preg_TN_16734", "fun_name": "t_gen_mov_preg_TN", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = icmp sgt i32 %2, -1\n %5 = trunc i64 %3 to i32\n %6 = icmp slt i32 %5, 16\n %or.cond = icmp eq i1 %4, %6\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %8 = and i64 %3, 4294967295\n %9 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %8)\n %10 = sext i32 %9 to i64\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %switch = icmp ult i32 %5, 3\n store i64 %rax.0.reload, i64* %rax.1.reg2mem\n br i1 %switch, label LBL_12, label LBL_3\n LBL_3:\n %11 = icmp eq i32 %5, 3\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = ashr exact i64 %sext, 30\n %14 = add i64 %13, ptrtoint (i32** @gv_2 to i64)\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %arg3 to i64\n %18 = zext i32 %16 to i64\n %19 = call i64 @FUNC(i64 %18, i64 %17, i64 3)\n store i64 %19, i64* %rax.1.reg2mem\n br label LBL_12\n LBL_5:\n %20 = icmp eq i32 %5, 4\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = load i64, i64* @gv_3, align 8\n %23 = zext i32 %arg3 to i64\n %24 = call i64 @FUNC(i64 %22, i64 %23)\n br label LBL_7\n LBL_7:\n %25 = urem i64 %1, 2\n %26 = icmp eq i64 %25, 0\n %27 = icmp eq i32 %5, 5\n %28 = icmp eq i1 %27, false\n %or.cond8 = or i1 %28, %26\n br i1 %or.cond8, label LBL_9, label LBL_8\n LBL_8:\n %29 = load i64, i64* @gv_3, align 8\n %30 = zext i32 %arg3 to i64\n %31 = call i64 @FUNC(i64 %29, i64 %30)\n br label LBL_11\n LBL_9:\n %32 = icmp eq i32 %5, 6\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_11, label LBL_10\n LBL_10:\n %34 = ptrtoint i32* %arg1 to i64\n %35 = add i64 %34, 4\n %36 = inttoptr i64 %35 to i32*\n store i32 1, i32* %36, align 4\n br label LBL_11\n LBL_11:\n %37 = ashr exact i64 %sext, 30\n %38 = add i64 %37, ptrtoint (i32** @gv_2 to i64)\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = zext i32 %arg3 to i64\n %42 = zext i32 %40 to i64\n %43 = call i64 @FUNC(i64 %42, i64 %41)\n store i64 %43, i64* %rax.1.reg2mem\n br label LBL_12\n LBL_12:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %5, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %sext, { 2, 1, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 %arg3, { 3, 2, 1, 0 }\n uselistorder label LBL_12, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_blk_handle_write_10469", "fun_name": "virtio_blk_handle_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = add i32 %4, 511\n %6 = icmp slt i32 %4, 0\n %7 = select i1 %6, i32 %5, i32 %4\n %8 = ashr i32 %7, 9\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %0, i64 %1, i64 %9)\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = sext i32 %15 to i64\n %17 = and i64 %1, %16\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %19 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %20 = load i32, i32* %3, align 4\n %21 = add i64 %13, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = ashr i32 %20, 31\n %27 = zext i32 %20 to i64\n %28 = zext i32 %26 to i64\n %29 = mul i64 %28, 4294967296\n %30 = or i64 %29, %27\n %31 = zext i32 %25 to i64\n %32 = srem i64 %30, %31\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_4, label LBL_3\n LBL_3:\n %35 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %36 = ptrtoint i64* %arg2 to i64\n %37 = add i64 %36, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %39, 32\n %41 = icmp eq i1 %40, false\n store i32 %39, i32* %.reg2mem\n store i64 %1, i64* %rsi.0.reg2mem\n br i1 %41, label LBL_6, label LBL_5\n LBL_5:\n %42 = add i64 %13, 16\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44, i64 %36)\n %.pre = load i32, i32* %38, align 4\n store i32 %.pre, i32* %.reg2mem\n store i64 %36, i64* %rsi.0.reg2mem\n br label LBL_6\n LBL_6:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %46 = sext i32 %.reload to i64\n %47 = mul nsw i64 %46, 48\n %48 = add i64 %47, %rsi.0.reload\n %49 = inttoptr i64 %48 to i64*\n store i64 %1, i64* %49, align 8\n %50 = load i32, i32* %3, align 4\n %51 = add i32 %50, 511\n %52 = icmp slt i32 %50, 0\n %53 = select i1 %52, i32 %51, i32 %50\n %54 = ashr i32 %53, 9\n %55 = add i64 %48, 8\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n %57 = add i64 %48, 16\n %58 = inttoptr i64 %57 to i64*\n store i64 %2, i64* %58, align 8\n %59 = add i64 %48, 24\n %60 = inttoptr i64 %59 to i64*\n store i64 4198728, i64* %60, align 8\n %61 = add i64 %48, 32\n %62 = inttoptr i64 %61 to i64*\n store i64 %0, i64* %62, align 8\n %63 = add i64 %48, 40\n %64 = inttoptr i64 %63 to i32*\n store i32 0, i32* %64, align 4\n %65 = load i32, i32* %38, align 4\n %66 = add i32 %65, 1\n store i32 %66, i32* %38, align 4\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %38, { 2, 1, 0, 3 }\n uselistorder i64 %36, { 0, 1, 3, 2 }\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64 %1, { 2, 0, 1, 3 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @virtio_blk_rw_complete, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_mirror_top_flush_1288", "fun_name": "bdrv_mirror_top_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_mtmsr_5060", "fun_name": "gen_mtmsr", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %1, 65536\n %3 = icmp eq i64 %2, 0\n %4 = call i64 @FUNC()\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %5 = load i64, i64* @gv_0, align 8\n %6 = udiv i64 %1, 524288\n %7 = and i64 %6, 124\n %8 = add i64 %5, %7\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = and i64 %4, 4294967295\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 %11, i64 %12, i64 3)\n %14 = load i64, i64* @gv_1, align 8\n %15 = and i64 %14, 4294967295\n %16 = call i64 @FUNC(i64 %14, i64 %15, i64 4294967292)\n %17 = load i64, i64* @gv_1, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %17, i64 %11)\n %19 = call i64 @FUNC(i64 %11)\n store i64 %19, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %20 = ptrtoint i32* %arg1 to i64\n %21 = add i64 %20, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = call i64 @FUNC(i64 %20, i64 %24)\n %26 = load i64, i64* @gv_0, align 8\n %27 = udiv i64 %1, 524288\n %28 = and i64 %27, 124\n %29 = add i64 %26, %28\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = load i64, i64* @gv_1, align 8\n %33 = and i64 %4, 4294967295\n %34 = call i64 @FUNC(i64 %33, i64 %32, i32 %31, i64 0, i64 32)\n %35 = load i64, i64* @gv_0, align 8\n %36 = add i64 %35, %28\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %33, i64 %39)\n %41 = load i64, i64* @gv_2, align 8\n %42 = call i64 @FUNC(i64 %41, i64 %33)\n %43 = call i64 @FUNC(i64 %33)\n %44 = call i64 @FUNC(i64 %20)\n store i64 %44, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @tcg_temp_free, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_tl, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 4, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "use_goto_tb_14070", "fun_name": "use_goto_tb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 16\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = urem i32 %15, 2\n %17 = icmp eq i32 %16, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n %18 = add i64 %13, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = xor i64 %20, %arg3\n %22 = icmp ult i64 %21, 4096\n %. = zext i1 %22 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder label LBL_4, { 0, 3, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_uuid_parse_1801", "fun_name": "qemu_uuid_parse", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %4, 15\n %6 = add i64 %4, 14\n %7 = add i64 %4, 13\n %8 = add i64 %4, 12\n %9 = add i64 %4, 11\n %10 = add i64 %4, 10\n %11 = add i64 %4, 9\n %12 = add i64 %4, 8\n %13 = add i64 %4, 7\n %14 = add i64 %4, 6\n %15 = add i64 %4, 5\n %16 = add i64 %4, 4\n %17 = add i64 %4, 3\n %18 = add i64 %4, 2\n %19 = add i64 %4, 1\n %20 = inttoptr i64 %5 to i8*\n %21 = inttoptr i64 %6 to i8*\n %22 = inttoptr i64 %7 to i8*\n %23 = inttoptr i64 %8 to i8*\n %24 = inttoptr i64 %9 to i8*\n %25 = inttoptr i64 %10 to i8*\n %26 = inttoptr i64 %11 to i8*\n %27 = inttoptr i64 %12 to i8*\n %28 = inttoptr i64 %13 to i8*\n %29 = inttoptr i64 %14 to i8*\n %30 = inttoptr i64 %15 to i8*\n %31 = inttoptr i64 %16 to i8*\n %32 = inttoptr i64 %arg1 to i8*\n %33 = inttoptr i64 %19 to i8*\n %34 = inttoptr i64 %18 to i8*\n %35 = inttoptr i64 %17 to i8*\n %36 = call i32 (i8*, i8*, ...) @sscanf(i8* %32, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @gv_0, i64 0, i64 0), i64* %arg2, i8* %33, i8* %34, i8* %35, i8* %31, i8* %30, i8* %29, i8* %28, i8* %27, i8* %26, i8* %25, i8* %24, i8* %23, i8* %22, i8* %21, i8* %20)\n %37 = icmp eq i32 %36, 16\n %. = select i1 %37, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 12, 13, 14, 6, 7, 8, 9, 10, 11, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "quorum_aio_finalize_739", "fun_name": "quorum_aio_finalize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi3.reg2mem = alloca i64*\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_0.LBL_4_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %0, 32\n %.pre2 = inttoptr i64 %.pre to i64*\n store i64* %.pre2, i64** %.pre-phi3.reg2mem\n br label LBL_4\n LBL_2:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = load i64, i64* %8, align 8\n %10 = mul i64 %.reload, 8\n %11 = add i64 %9, %10\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i64, i64* %8, align 8\n %16 = add nsw i64 %10, 8\n %17 = add i64 %16, %15\n %18 = call i64 @FUNC(i64 %17)\n %19 = add i32 %storemerge1.reload, 1\n %20 = load i32, i32* %6, align 4\n %21 = zext i32 %20 to i64\n %22 = sext i32 %19 to i64\n %23 = icmp sgt i64 %22, %21\n store i64 %22, i64* %.reg2mem\n store i32 %19, i32* %storemerge1.reg2mem\n store i64* %8, i64** %.pre-phi3.reg2mem\n br i1 %23, label LBL_4, label LBL_3\n LBL_4:\n %.pre-phi3.reload = load i64*, i64** %.pre-phi3.reg2mem\n %24 = load i64, i64* %.pre-phi3.reload, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %0)\n ret i64 %26\n\n uselistorder i64 %0, { 3, 2, 1, 0, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_event_read_event_13574", "fun_name": "perf_event_read_event", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n store i32 1, i32* %sv_1, align 4\n %4 = trunc i64 %1 to i32\n %5 = add i32 %4, 20\n %6 = call i64 @FUNC(i64 %3, i64 %2)\n %7 = call i64 @FUNC(i64 %3, i64 %2)\n %8 = bitcast i32* %sv_0 to i64*\n %9 = call i64 @FUNC(i32* nonnull %sv_1, i64* nonnull %8, i64 %3)\n %10 = call i64 @FUNC(i64* nonnull %8, i64 %3, i32 %5, i64 0)\n %11 = trunc i64 %10 to i32\n store i32 %11, i32* %sv_0, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64* nonnull %8)\n %15 = call i64 @FUNC(i64* nonnull %8, i64 %3)\n %16 = call i64 @FUNC(i64 %3, i64* nonnull %8, i64* nonnull %8)\n %17 = call i64 @FUNC(i64* nonnull %8)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %8, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spl_dllist_it_get_current_data_10208", "fun_name": "spl_dllist_it_get_current_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = ptrtoint i64* %arg1 to i64\n %5 = icmp eq i32 %3, 0\n %6 = icmp eq i1 %5, false\n %spec.select = select i1 %6, i64 %4, i64 0\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdict_get_try_str_16546", "fun_name": "qdict_get_try_str", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n %5 = call i64 @FUNC(i64 %0)\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "usbip_dump_request_type_10123", "fun_name": "usbip_dump_request_type", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = urem i64 %arg1, 32\n %1 = icmp eq i64 %0, 3\n br i1 %1, label LBL_8, label LBL_1\n LBL_1:\n %2 = trunc i64 %0 to i32\n %3 = icmp ugt i32 %2, 3\n br i1 %3, label LBL_9, label LBL_2\n LBL_2:\n %4 = icmp eq i32 %2, 2\n br i1 %4, label LBL_7, label LBL_3\n LBL_3:\n %5 = icmp ugt i32 %2, 2\n br i1 %5, label LBL_9, label LBL_4\n LBL_4:\n switch i32 %2, label LBL_9 [\n i32 0, label LBL_5\n i32 1, label LBL_6\n ]\n LBL_5:\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 1, 2 }\n uselistorder i64 (i8*)* @pr_debug, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_field_end_2149", "fun_name": "ff_h264_field_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %.pre-phi6.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg3 to i32\n %2 = add i64 %0, 40\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = icmp eq i32 %1, 0\n %5 = icmp eq i1 %4, false\n %.pre = add i64 %0, 44\n %.pre3 = inttoptr i64 %.pre to i32*\n br i1 %5, label LBL_5, label LBL_1\n LBL_1:\n %6 = load i32, i32* %.pre3, align 4\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = add i64 %0, 56\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 1\n %13 = add i64 %0, 48\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = zext i1 %12 to i64\n %17 = call i64 @FUNC(i64 %15, i64 2147483647, i64 %16)\n br label LBL_3\n LBL_3:\n %18 = bitcast i64* %rdi to i32*\n %19 = load i32, i32* %18, align 8\n %20 = urem i32 %19, 2\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_3.LBL_8_crit_edge, label LBL_5\n LBL_4:\n %.pre5 = add i64 %0, 8\n store i64 %.pre5, i64* %.pre-phi6.reg2mem\n store i64 0, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_5:\n %23 = load i32, i32* %.pre3, align 4\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = call i64 @FUNC(i64 %0)\n %27 = add i64 %0, 16\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %0, 32\n %31 = inttoptr i64 %30 to i32*\n store i32 %29, i32* %31, align 4\n %32 = add i64 %0, 20\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i64 %0, 36\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n store i64 %26, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %37 = add i64 %0, 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %0, 24\n %41 = inttoptr i64 %40 to i32*\n store i32 %39, i32* %41, align 4\n %42 = add i64 %0, 12\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = add i64 %0, 28\n %46 = inttoptr i64 %45 to i32*\n store i32 %44, i32* %46, align 4\n store i64 %37, i64* %.pre-phi6.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %.pre-phi6.reload = load i64, i64* %.pre-phi6.reg2mem\n %47 = inttoptr i64 %.pre-phi6.reload to i64*\n %48 = load i64, i64* %47, align 8\n %49 = icmp eq i64 %48, 0\n br i1 %49, label LBL_11, label LBL_9\n LBL_9:\n %50 = trunc i64 %0 to i32\n %51 = icmp slt i32 %50, 0\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_11, label LBL_10\n LBL_10:\n %53 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_11\n LBL_11:\n %54 = add i64 %0, 68\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_17, label LBL_12\n LBL_12:\n %58 = ptrtoint i64* %arg2 to i64\n %59 = add i64 %0, 48\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = call i64 @FUNC(i64 %58, i64 %61)\n %63 = add i64 %58, 24\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = icmp eq i32 %65, 0\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %66, label LBL_14, label LBL_13\n LBL_13:\n %67 = add i64 %58, 32\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n store i64 %69, i64* %storemerge2.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %70 = add i64 %58, 8\n %71 = call i64 @FUNC(i64 %70, i64 %storemerge2.reload)\n %72 = add i64 %58, 28\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = icmp eq i32 %74, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %75, label LBL_16, label LBL_15\n LBL_15:\n %76 = add i64 %58, 40\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n store i64 %78, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %79 = add i64 %58, 16\n %80 = call i64 @FUNC(i64 %79, i64 %storemerge.reload)\n %81 = call i64 @FUNC(i64 %58)\n br label LBL_17\n LBL_17:\n %82 = call i64 @FUNC()\n %83 = add i64 %0, 60\n %84 = inttoptr i64 %83 to i32*\n store i32 0, i32* %84, align 4\n %85 = add i64 %0, 64\n %86 = inttoptr i64 %85 to i32*\n store i32 0, i32* %86, align 4\n %87 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %87\n\n uselistorder i64 %58, { 3, 2, 1, 5, 4, 0, 7, 6 }\n uselistorder i64 %0, { 7, 8, 10, 9, 12, 11, 14, 13, 16, 15, 5, 4, 6, 17, 18, 0, 2, 3, 1, 19 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @h264_set_erpic, { 2, 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_scene_score_1566", "fun_name": "get_scene_score", "llvm_ir_function": "define i128 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %sv_0.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i128\n %sv_1.1.off018.reg2mem = alloca i32\n %sv_1.1.off0619.reg2mem = alloca i64\n %sv_2.120.reg2mem = alloca i128\n %storemerge321.reg2mem = alloca i32\n %sv_2.0.lcssa.reg2mem = alloca i128\n %sv_1.0.off010.lcssa.reg2mem = alloca i64\n %sv_1.0.off0.lcssa.reg2mem = alloca i32\n %sv_1.0.off013.reg2mem = alloca i32\n %sv_2.014.off0.reg2mem = alloca i64\n %storemerge515.reg2mem = alloca i32\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i128 @FUNC(i128 %1, i128 %1)\n %4 = call i64 @FUNC(i128 %3)\n %5 = icmp eq i64* %arg1, null\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_16, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %6, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %15, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %12, %18\n %20 = icmp eq i1 %19, false\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_16, label LBL_2\n LBL_2:\n %21 = inttoptr i64 %9 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = inttoptr i64 %15 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = icmp eq i32 %22, %24\n %26 = icmp eq i1 %25, false\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %26, label LBL_16, label LBL_3\n LBL_3:\n %27 = add i64 %2, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %6, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %29, %32\n %34 = icmp eq i1 %33, false\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_16, label LBL_4\n LBL_4:\n %35 = icmp eq i32 %12, 8\n br i1 %35, label LBL_5, label LBL_6\n LBL_5:\n %36 = call i64 @FUNC()\n br label LBL_14\n LBL_6:\n %37 = mul i32 %22, 3\n %38 = icmp eq i32 %37, 8\n %sext4 = mul i64 %6, 4294967296\n %39 = ashr exact i64 %sext4, 32\n %40 = add i32 %12, -8\n %41 = zext i32 %40 to i64\n %42 = add i32 %37, -8\n %43 = zext i32 %42 to i64\n store i32 0, i32* %storemerge321.reg2mem\n store i128 0, i128* %sv_2.120.reg2mem\n store i64 0, i64* %sv_1.1.off0619.reg2mem\n store i32 0, i32* %sv_1.1.off018.reg2mem\n br label LBL_10\n LBL_7:\n %sv_1.0.off013.reload = load i32, i32* %sv_1.0.off013.reg2mem\n %sv_2.014.off0.reload = load i64, i64* %sv_2.014.off0.reg2mem\n %storemerge515.reload = load i32, i32* %storemerge515.reg2mem\n %44 = add i64 %sv_2.014.off0.reload, %39\n %45 = add i32 %sv_1.0.off013.reload, 64\n %46 = add i32 %storemerge515.reload, 8\n %47 = sext i32 %46 to i64\n %48 = icmp slt i64 %47, %43\n store i32 %46, i32* %storemerge515.reg2mem\n store i64 %44, i64* %sv_2.014.off0.reg2mem\n store i32 %45, i32* %sv_1.0.off013.reg2mem\n br i1 %48, label LBL_7, label LBL_8\n LBL_8:\n %49 = sext i64 %44 to i128\n %extract.t12.le = sext i32 %45 to i64\n store i32 %45, i32* %sv_1.0.off0.lcssa.reg2mem\n store i64 %extract.t12.le, i64* %sv_1.0.off010.lcssa.reg2mem\n store i128 %49, i128* %sv_2.0.lcssa.reg2mem\n br label LBL_9\n LBL_9:\n %sv_2.0.lcssa.reload = load i128, i128* %sv_2.0.lcssa.reg2mem\n %sv_1.0.off010.lcssa.reload = load i64, i64* %sv_1.0.off010.lcssa.reg2mem\n %sv_1.0.off0.lcssa.reload = load i32, i32* %sv_1.0.off0.lcssa.reg2mem\n %50 = add i32 %storemerge321.reload, 8\n %51 = sext i32 %50 to i64\n %52 = icmp slt i64 %51, %41\n store i32 %50, i32* %storemerge321.reg2mem\n store i128 %sv_2.0.lcssa.reload, i128* %sv_2.120.reg2mem\n store i64 %sv_1.0.off010.lcssa.reload, i64* %sv_1.1.off0619.reg2mem\n store i32 %sv_1.0.off0.lcssa.reload, i32* %sv_1.1.off018.reg2mem\n br i1 %52, label LBL_10, label LBL_12\n LBL_10:\n %sv_1.1.off018.reload = load i32, i32* %sv_1.1.off018.reg2mem\n %sv_1.1.off0619.reload = load i64, i64* %sv_1.1.off0619.reg2mem\n %sv_2.120.reload = load i128, i128* %sv_2.120.reg2mem\n %storemerge321.reload = load i32, i32* %storemerge321.reg2mem\n store i32 %sv_1.1.off018.reload, i32* %sv_1.0.off0.lcssa.reg2mem\n store i64 %sv_1.1.off0619.reload, i64* %sv_1.0.off010.lcssa.reg2mem\n store i128 %sv_2.120.reload, i128* %sv_2.0.lcssa.reg2mem\n br i1 %38, label LBL_9, label LBL_7.lr.ph\n LBL_11:\n %extract.t = trunc i128 %sv_2.120.reload to i64\n store i32 0, i32* %storemerge515.reg2mem\n store i64 %extract.t, i64* %sv_2.014.off0.reg2mem\n store i32 %sv_1.1.off018.reload, i32* %sv_1.0.off013.reg2mem\n br label LBL_7\n LBL_12:\n %53 = call i64 @FUNC()\n %54 = icmp eq i32 %sv_1.0.off0.lcssa.reload, 0\n br i1 %54, label LBL_14, label LBL_13\n LBL_13:\n %sext = mul i64 %sv_1.0.off010.lcssa.reload, 4294967296\n %55 = ashr exact i64 %sext, 32\n %56 = and i128 %sv_2.0.lcssa.reload, 18446744073709551615\n %57 = zext i64 %55 to i128\n %58 = udiv i128 %56, %57\n %59 = trunc i128 %58 to i64\n %60 = call i128 @FUNC(i128 %3, i128 %3)\n %61 = call i128 @FUNC(i64 %59)\n store i128 %61, i128* %storemerge.reg2mem\n br label LBL_15\n LBL_14:\n %62 = call i128 @FUNC(i128 %3, i128 %3)\n store i128 %62, i128* %storemerge.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge.reload = load i128, i128* %storemerge.reg2mem\n %63 = call i64 @FUNC(i128 %storemerge.reload)\n %64 = inttoptr i64 %30 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = call i128 @__asm_movsd.1(i64 %65)\n %67 = call i128 @__asm_movsd.1(i64 %63)\n %68 = call i128 @FUNC(i128 %67, i128 %66)\n %69 = call i128 @FUNC(i64 9223372036854775807)\n %70 = call i128 @FUNC(i128 %68, i128 %69)\n %71 = call i64 @FUNC(i128 %70)\n %72 = call i128 @__asm_movsd.1(i64 %71)\n %73 = call i128 @FUNC(i128 %72)\n %74 = call i128 @FUNC(i64 %63)\n %75 = call i64 @FUNC()\n %76 = call i64 @__asm_movq.2(i128 %74)\n %77 = call i128 @__asm_movsd.1(i64 4636737291354636288)\n %78 = call i128 @FUNC(i64 %76)\n %79 = call i128 @FUNC(i128 %78, i128 %77)\n %80 = call i64 @__asm_movq.2(i128 %79)\n %81 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %82 = call i128 @FUNC(i128 %81)\n %83 = call i128 @FUNC(i128 %73, i128 %73)\n %84 = call i128 @FUNC(i64 %80)\n %85 = call i64 @FUNC()\n %86 = call i64 @__asm_movq.2(i128 %84)\n %87 = call i128 @__asm_movsd.1(i64 %63)\n %88 = call i64 @FUNC(i128 %87)\n store i64 %88, i64* %64, align 8\n %89 = call i64 @FUNC(i64 %6)\n store i64 %86, i64* %sv_0.0.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %90 = call i64 @FUNC(i64 %2, i64 4294967295)\n store i64 %90, i64* %arg1, align 8\n %91 = call i128 @__asm_movsd.1(i64 %sv_0.0.reload)\n ret i128 %91\n\n uselistorder i128 %73, { 1, 0 }\n uselistorder i64 %63, { 2, 0, 1 }\n uselistorder i32 %sv_1.0.off0.lcssa.reload, { 1, 0 }\n uselistorder i64 %sv_1.0.off010.lcssa.reload, { 1, 0 }\n uselistorder i128 %sv_2.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %45, { 0, 2, 1 }\n uselistorder i64 %44, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2, 3 }\n uselistorder i128 %3, { 3, 2, 1, 0, 4 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i32* %storemerge515.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_2.014.off0.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.0.off013.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.0.off0.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.off010.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i128* %sv_2.0.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i128* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 3, 2, 0, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 ()* @emms_c, { 1, 0 }\n uselistorder i32 8, { 3, 2, 0, 1 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smtp_log_to_file_10978", "fun_name": "smtp_log_to_file", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %1 = bitcast i64* %sv_2 to i32*\n %2 = call i32 @time(i32* nonnull %1)\n %3 = bitcast i64* %sv_1 to %tm*\n %4 = call %tm* @localtime_r(i32* nonnull %1, %tm* nonnull %3)\n %5 = bitcast i64* %sv_0 to i8*\n %6 = call i32 @strftime(i8* nonnull %5, i32 25, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), %tm* nonnull %3)\n %7 = add i64 %arg1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i32 %6, -7\n %11 = zext i32 %10 to i64\n %12 = add i64 %arg1, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = load i64, i64* @gv_3, align 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %9 to i8*\n %19 = inttoptr i64 %14 to i8*\n %20 = inttoptr i64 %17 to i8*\n %21 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %0, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_4, i64 0, i64 0), i64* nonnull %sv_0, i8* %20, i8* %18, i64 %11, i8* bitcast (i8** @gv_5 to i8*), i8* %19, i64 %11, i8* bitcast (i8** @gv_5 to i8*), i8* %18)\n %22 = call i32 @fclose(%_IO_FILE* %0)\n %23 = call i64 @FUNC(i64 %arg1)\n ret i64 %23\n\n uselistorder i8* %18, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ipu_dp_init_4100", "fun_name": "ipu_dp_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i64 104, i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %5, align 8\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %4, i64* %7, align 8\n store i64 %1, i64* %arg1, align 8\n %8 = call i64 @FUNC(i64 %0, i64 %arg3, i64 4096)\n %9 = add i64 %1, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = icmp eq i64 %8, 0\n %12 = icmp eq i1 %11, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_4\n LBL_2:\n %13 = add i64 %1, 96\n %14 = call i64 @FUNC(i64 %13)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul nuw nsw i64 %indvars.iv.reload, 24\n %16 = add i64 %15, %1\n %17 = add i64 %16, 24\n %18 = inttoptr i64 %17 to i32*\n store i32 1, i32* %18, align 4\n %19 = load i64, i64* %10, align 8\n %20 = mul i64 %indvars.iv.reload, 8\n %21 = add i64 %20, ptrtoint (i64* @gv_0 to i64)\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %23, %19\n %25 = add i64 %16, 32\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n %27 = add i64 %16, 40\n %28 = inttoptr i64 %27 to i64*\n store i64 %1, i64* %28, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64 %1, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 24, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rdma_destroy_qp_8982", "fun_name": "rdma_destroy_qp", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %arg1 to i64*\n store i64 0, i64* %3, align 8\n %4 = call i64 @FUNC(i64 %0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "is_privileged_over_10553", "fun_name": "is_privileged_over", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32 %arg2, i32 %arg3, i8 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %0 = icmp ne i32 %arg3, -1\n %1 = icmp eq i32 %arg2, -1\n %2 = icmp eq i1 %1, false\n %or.cond = icmp eq i1 %0, %2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_7\n LBL_1:\n %3 = icmp eq i8 %arg4, 1\n %4 = icmp eq i32 %arg2, %arg3\n %5 = icmp eq i1 %4, false\n %or.cond7 = or i1 %3, %5\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond7, label LBL_2, label LBL_7\n LBL_2:\n %6 = and i64 %arg1, 4294967295\n %7 = bitcast i64* %sv_1 to i8*\n %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %7, i32 256, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %6)\n %9 = icmp ult i32 %8, 256\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_7\n LBL_3:\n %10 = call %_IO_FILE* @fopen(i8* nonnull %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %11 = icmp eq %_IO_FILE* %10, null\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_7\n LBL_4:\n %13 = ptrtoint %_IO_FILE* %10 to i64\n %14 = zext i32 %arg2 to i64\n %15 = call i64 @FUNC(i64 %13, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = zext i32 %arg3 to i64\n %20 = call i64 @FUNC(i64 %13, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp ne i32 %21, -1\n %spec.select = zext i1 %22 to i64\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = call i32 @fclose(%_IO_FILE* %10)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64)* @convert_id_to_ns, { 1, 0 }\n uselistorder i1 false, { 2, 3, 0, 1 }\n uselistorder i32 -1, { 1, 0, 2 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i32 %arg3, { 1, 0, 2 }\n uselistorder i32 %arg2, { 2, 0, 1 }\n uselistorder label LBL_7, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_msd_class_initfn_storage_16246", "fun_name": "usb_msd_class_initfn_storage", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = load i64, i64* @gv_0, align 8\n store i64 %1, i64* %arg1, align 8\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mm_decode_pal_898", "fun_name": "mm_decode_pal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 1024\n %2 = call i64 @FUNC(i64 %1, i64 4)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %3 = call i64 @FUNC(i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = or i32 %4, -16777216\n %6 = mul i64 %indvars.iv.reload, 4\n %7 = add i64 %6, %0\n %8 = inttoptr i64 %7 to i32*\n store i32 %5, i32* %8, align 4\n %9 = mul i32 %5, 4\n %10 = add i64 %7, 512\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 128\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 0\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_usb_3848", "fun_name": "init_usb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i32\n %storemerge47.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i32*\n %3 = add i64 %0, 56\n %4 = inttoptr i64 %3 to i32*\n %5 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %5, align 4\n %6 = add i64 %0, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 12\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %0, 24\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 32\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %0, 40\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 64\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %0, 72\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %0, 80\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %0, 48\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %0, 88\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %0, 92\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %0, 96\n %31 = call i64 @FUNC(i64 %30)\n store i32 0, i32* %2, align 4\n store i32 0, i32* %4, align 4\n %32 = add i64 %0, 104\n %33 = inttoptr i64 %32 to i64*\n store i64 0, i64* %33, align 8\n store i32 0, i32* %storemerge47.reg2mem\n br label LBL_1\n LBL_1:\n %34 = call i64 @FUNC()\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_2, label LBL_6\n LBL_2:\n %storemerge47.reload = load i32, i32* %storemerge47.reg2mem\n %37 = call i64 @FUNC(i64 %34, i64 %16)\n %38 = load i32, i32* %2, align 4\n %39 = add i32 %38, 1\n store i32 %39, i32* %2, align 4\n %40 = add nuw nsw i32 %storemerge47.reload, 1\n %41 = icmp ult i32 %40, 10\n store i32 %40, i32* %storemerge47.reg2mem\n store i32 0, i32* %storemerge36.reg2mem\n br i1 %41, label LBL_1, label LBL_3\n LBL_3:\n %42 = call i64 @FUNC()\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_4, label LBL_6\n LBL_4:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %45 = call i64 @FUNC(i64 %42, i64 %20)\n %46 = load i32, i32* %4, align 4\n %47 = add i32 %46, 1\n store i32 %47, i32* %4, align 4\n %48 = add nuw nsw i32 %storemerge36.reload, 1\n %49 = icmp ult i32 %48, 10\n store i32 %48, i32* %storemerge36.reg2mem\n br i1 %49, label LBL_3, label LBL_5\n LBL_5:\n %50 = add i64 %0, 112\n %51 = call i64 @FUNC(i64 %50, i64 4198851)\n %52 = add i64 %0, 116\n %53 = call i64 @FUNC(i64 %52, i64 4198858)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_6:\n %54 = call i64 @FUNC(i64 %0)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 2, 1, 0, 13, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18 }\n uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge36.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @INIT_DELAYED_WORK, { 1, 0 }\n uselistorder i64 (i64, i64)* @list_add, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock_init, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_sighand_9610", "fun_name": "copy_sighand", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i8\n %1 = icmp sgt i8 %0, -1\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %6 = load i64, i64* @gv_1, align 8\n %7 = call i64 @FUNC(i64 %6, i64 0)\n %8 = call i64 @FUNC(i64 0, i64 %7)\n %9 = icmp eq i64 %7, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %11 = call i64 @FUNC(i64 %7, i64 1)\n %12 = load i64, i64* @gv_0, align 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %14, 8\n %16 = add i64 %7, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = inttoptr i64 %15 to i64*\n %19 = call i64* @memcpy(i64* %17, i64* %18, i32 256)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_aiocb_ioctl_16174", "fun_name": "handle_aiocb_ioctl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %1 to i32\n %7 = trunc i64 %5 to i32\n %8 = call i32 (i32, i32, ...) @ioctl(i32 %6, i32 %7)\n %9 = icmp eq i32 %8, -1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i32* @__errno_location()\n %12 = load i32, i32* %11, align 4\n %13 = sub i32 0, %12\n %14 = sext i32 %13 to i64\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %15 = add i64 %2, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "patch_cs4210_18301", "fun_name": "patch_cs4210", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 4, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = inttoptr i64 %0 to i32*\n store i64 %0, i64* %arg1, align 8\n store i32 0, i32* %4, align 4\n %5 = load i64, i64* @gv_0, align 8\n %6 = load i64, i64* @gv_1, align 8\n %7 = load i64, i64* @gv_2, align 8\n %8 = call i64 @FUNC(i64 %3, i64 %7, i64 %6, i64 %5)\n %9 = call i64 @FUNC(i64 %3, i64 1)\n %10 = call i64 @FUNC(i64 %3)\n %11 = call i64 @FUNC(i64 %3)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = load i64, i64* @gv_3, align 8\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = call i64 @FUNC(i64 %3, i64 2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %18 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %arg1, align 8\n %19 = and i64 %11, 4294967295\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 0, 1, 6, 5, 4, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @snd_hda_apply_fixup, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bm_fillcircle_6736", "fun_name": "bm_fillcircle", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_1, i64 0, i64 0), i32 19, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = trunc i64 %arg4 to i32\n %3 = sub i32 0, %2\n %4 = mul i32 %2, 2\n %5 = sub i32 2, %4\n %6 = trunc i64 %arg2 to i32\n store i32 %3, i32* %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %5, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %7 = add i32 %sv_2.0.reload, %6\n %8 = sub i32 %6, %sv_2.0.reload\n %9 = zext i32 %8 to i64\n store i32 %7, i32* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %10 = sext i32 %storemerge.reload to i64\n %11 = icmp sgt i64 %10, %9\n %12 = add i32 %storemerge.reload, 1\n store i32 %12, i32* %storemerge.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_5:\n %13 = icmp sgt i32 %sv_0.0.reload, %sv_2.0.reload\n store i32 %sv_2.0.reload, i32* %sv_2.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %13, label LBL_6, label LBL_7\n LBL_6:\n %14 = add i32 %sv_2.0.reload, 1\n %15 = mul i32 %14, 2\n %16 = or i32 %15, 1\n %17 = add i32 %16, %sv_0.0.reload\n store i32 %14, i32* %sv_2.1.reg2mem\n store i32 %17, i32* %sv_0.1.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem\n %18 = icmp sgt i32 %sv_0.0.reload, %sv_1.0.reload\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n store i32 %sv_0.0.reload, i32* %rax.0.in.reg2mem\n br i1 %18, label LBL_9, label LBL_8\n LBL_8:\n %19 = add i32 %sv_1.0.reload, 1\n %20 = mul i32 %19, 2\n %21 = or i32 %20, 1\n %22 = add i32 %sv_0.1.reload, %21\n store i32 %19, i32* %sv_1.1.reg2mem\n store i32 %22, i32* %sv_0.2.reg2mem\n store i32 %21, i32* %rax.0.in.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %23 = icmp slt i32 %sv_2.1.reload, 0\n store i32 %sv_2.1.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.0.reg2mem\n br i1 %23, label LBL_3, label LBL_10\n LBL_10:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = zext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %sv_2.1.reload, { 1, 0 }\n uselistorder i32 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %storemerge.reload, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 2, 0, 3, 1, 4 }\n uselistorder i32 %sv_1.0.reload, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 0, 3, 4, 1, 2 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 0, 1, 3, 2 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "opt_sameq_351", "fun_name": "opt_sameq", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i8* %arg2 to i64\n %3 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([170 x i8], [170 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %2, i64 %1)\n ret i64 4294967274\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32 1, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wav_seek_tag_15359", "fun_name": "wav_seek_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg3 to i32\n %2 = add i64 %arg2, 1\n %3 = and i64 %2, -2\n %4 = call i64 @FUNC(i64 %0, i64 %3, i32 %1)\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dct_unquantize_mpeg2_c_3685", "fun_name": "dct_unquantize_mpeg2_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge2.reg2mem = alloca i32\n %sv_0.110.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %indvars.iv14.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n store i32 64, i32* %storemerge3.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = sext i32 %arg3 to i64\n %7 = mul i64 %6, 4\n %8 = add i64 %3, 32\n %9 = add i64 %8, %7\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i32 %11, 1\n store i32 %12, i32* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %13 = ptrtoint i64* %arg2 to i64\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %14 = add i64 %3, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_16, label LBL_3\n LBL_3:\n %18 = trunc i64 %2 to i32\n %19 = icmp sgt i32 %arg3, 3\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = add i64 %3, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = mul i32 %22, %18\n %24 = bitcast i64* %arg2 to i32*\n store i32 %23, i32* %24, align 4\n br label LBL_6\n LBL_5:\n %25 = add i64 %3, 12\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = mul i32 %27, %18\n %29 = bitcast i64* %arg2 to i32*\n store i32 %28, i32* %29, align 4\n br label LBL_6\n LBL_6:\n %30 = add i64 %3, 16\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp sgt i32 %storemerge3.reload, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %33, label LBL_7, label LBL_27\n LBL_7:\n %wide.trip.count16 = zext i32 %storemerge3.reload to i64\n store i64 1, i64* %indvars.iv14.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n %34 = mul i64 %indvars.iv14.reload, 4\n %35 = add i64 %34, ptrtoint (i32** @gv_0 to i64)\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = sext i32 %37 to i64\n %39 = mul i64 %38, 4\n %40 = add i64 %39, %13\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_15, label LBL_9\n LBL_9:\n %44 = icmp slt i32 %42, 0\n %45 = icmp eq i1 %44, false\n %46 = mul i32 %42, %arg4\n %47 = mul i64 %38, 2\n %48 = add i64 %47, %32\n %49 = inttoptr i64 %48 to i16*\n %50 = load i16, i16* %49, align 2\n %51 = zext i16 %50 to i32\n %52 = mul i32 %46, %51\n br i1 %45, label LBL_11, label LBL_10\n LBL_10:\n %53 = sub i32 0, %52\n %54 = ashr i32 %53, 3\n %55 = sub nsw i32 0, %54\n store i32 %55, i32* %storemerge1.reg2mem\n br label LBL_12\n LBL_11:\n %56 = ashr i32 %52, 3\n store i32 %56, i32* %storemerge1.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %storemerge1.off = add nsw i32 %storemerge1.reload, 2048\n %57 = icmp ult i32 %storemerge1.off, 4096\n br i1 %57, label LBL_14, label LBL_13\n LBL_13:\n %58 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %59 = zext i32 %storemerge1.reload to i64\n %60 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %58, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %indvars.iv14.reload, i64 %59)\n br label LBL_14\n LBL_14:\n store i32 %storemerge1.reload, i32* %41, align 4\n br label LBL_15\n LBL_15:\n %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1\n %exitcond17 = icmp eq i64 %indvars.iv.next15, %wide.trip.count16\n store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem\n store i64 %wide.trip.count16, i64* %rax.0.reg2mem\n br i1 %exitcond17, label LBL_27, label LBL_8\n LBL_16:\n %61 = icmp sgt i32 %storemerge3.reload, 0\n store i32 -1, i32* %sv_0.1.lcssa.reg2mem\n br i1 %61, label LBL_17, label LBL_26\n LBL_17:\n %62 = add i64 %3, 24\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %wide.trip.count = zext i32 %storemerge3.reload to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 -1, i32* %sv_0.110.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %65 = mul i64 %indvars.iv.reload, 4\n %66 = add i64 %65, ptrtoint (i32** @gv_0 to i64)\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = sext i32 %68 to i64\n %70 = mul i64 %69, 4\n %71 = add i64 %70, %13\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = icmp eq i32 %73, 0\n store i32 %sv_0.110.reload, i32* %sv_0.0.reg2mem\n br i1 %74, label LBL_25, label LBL_19\n LBL_19:\n %75 = icmp slt i32 %73, 0\n %76 = icmp eq i1 %75, false\n %77 = mul i32 %73, 2\n br i1 %76, label LBL_21, label LBL_20\n LBL_20:\n %78 = sub i32 1, %77\n %79 = mul i32 %78, %arg4\n %80 = mul i64 %69, 2\n %81 = add i64 %80, %64\n %82 = inttoptr i64 %81 to i16*\n %83 = load i16, i16* %82, align 2\n %84 = zext i16 %83 to i32\n %85 = mul i32 %79, %84\n %86 = ashr i32 %85, 4\n %87 = sub nsw i32 0, %86\n store i32 %87, i32* %storemerge2.reg2mem\n br label LBL_22\n LBL_21:\n %88 = or i32 %77, 1\n %89 = mul i32 %88, %arg4\n %90 = mul i64 %69, 2\n %91 = add i64 %90, %64\n %92 = inttoptr i64 %91 to i16*\n %93 = load i16, i16* %92, align 2\n %94 = zext i16 %93 to i32\n %95 = mul i32 %89, %94\n %96 = ashr i32 %95, 4\n store i32 %96, i32* %storemerge2.reg2mem\n br label LBL_22\n LBL_22:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %storemerge2.off = add nsw i32 %storemerge2.reload, 2048\n %97 = icmp ult i32 %storemerge2.off, 4096\n br i1 %97, label LBL_24, label LBL_23\n LBL_23:\n %98 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %99 = zext i32 %storemerge2.reload to i64\n %100 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %98, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %indvars.iv.reload, i64 %99)\n br label LBL_24\n LBL_24:\n store i32 %storemerge2.reload, i32* %72, align 4\n %101 = add i32 %storemerge2.reload, %sv_0.110.reload\n store i32 %101, i32* %sv_0.0.reg2mem\n br label LBL_25\n LBL_25:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %exitcond, label LBL_26, label LBL_18\n LBL_26:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %102 = add i64 %13, 252\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = urem i32 %sv_0.1.lcssa.reload, 2\n %106 = xor i32 %104, %105\n store i32 %106, i32* %103, align 4\n store i64 %102, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_27:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge2.reload, { 3, 1, 0, 2 }\n uselistorder i32 %sv_0.110.reload, { 1, 0 }\n uselistorder i32 %storemerge1.reload, { 1, 0, 2 }\n uselistorder i32 %52, { 1, 0 }\n uselistorder i32 %storemerge3.reload, { 2, 1, 3, 0 }\n uselistorder i64 %13, { 2, 0, 1 }\n uselistorder i64 %3, { 2, 1, 5, 4, 3, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.110.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder %_IO_FILE** @gv_1, { 1, 0 }\n uselistorder i64 1, { 3, 2, 1, 0 }\n uselistorder i32 3, { 1, 2, 0 }\n uselistorder i64 4, { 0, 1, 2, 3, 5, 4 }\n uselistorder label LBL_27, { 2, 0, 1 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cg3_realizefn_16028", "fun_name": "cg3_realizefn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = add i64 %0, 20\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %2, i64 %7, i64 1024)\n %9 = trunc i64 %8 to i32\n %10 = call i64 @FUNC(i64 %2)\n %11 = icmp ult i32 %9, 1025\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %0, 8\n %17 = zext i32 %15 to i64\n %18 = call i64 @FUNC(i64 %16, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %17, i64* nonnull @gv_3)\n %19 = call i64 @FUNC(i64 %16, i64 1, i64 1)\n %20 = call i64 @FUNC(i64 %16)\n %21 = call i64 @FUNC(i64 %0, i64 %16)\n %22 = add i64 %0, 40\n %23 = call i64 @FUNC(i64 %0, i64 %22)\n %24 = call i64 @FUNC(i64 %0, i64 0, i64* nonnull @gv_4, i64 %0)\n %25 = add i64 %0, 32\n %26 = inttoptr i64 %25 to i64*\n store i64 %24, i64* %26, align 8\n %27 = add i64 %0, 28\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %0, 24\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %24, i64 %33, i32 %29)\n ret i64 %34\n\n uselistorder i64 %16, { 2, 1, 0, 3 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 6, 5, 3, 8, 4, 7, 10, 9, 0, 11 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @vmstate_register_ram_global, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dictGetIterator_7125", "fun_name": "dictGetIterator", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 32)\n %2 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %2, align 8\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i32*\n store i32 -1, i32* %4, align 4\n %5 = add i64 %1, 16\n %6 = inttoptr i64 %5 to i64*\n store i64 0, i64* %6, align 8\n %7 = add i64 %1, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "linenoiseHistoryLoad_6523", "fun_name": "linenoiseHistoryLoad", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1 = alloca i64, align 8\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call %_IO_FILE* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %2 = icmp eq %_IO_FILE* %1, null\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = bitcast i64* %sv_1 to i8*\n %5 = call i8* @fgets(i8* nonnull %4, i32 1024, %_IO_FILE* %1)\n %6 = icmp eq i8* %5, null\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_7\n LBL_2:\n %8 = call i8* @strchr(i8* nonnull %4, i32 13)\n %9 = icmp eq i8* %8, null\n %10 = icmp eq i1 %9, false\n store i8* %8, i8** %sv_0.0.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i8* @strchr(i8* nonnull %4, i32 10)\n store i8* %11, i8** %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %12 = icmp eq i8* %sv_0.0.reload, null\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n store i8 0, i8* %sv_0.0.reload, align 1\n br label LBL_6\n LBL_6:\n %13 = call i64 @FUNC(i64* nonnull %sv_1)\n %14 = call i8* @fgets(i8* nonnull %4, i32 1024, %_IO_FILE* %1)\n %15 = icmp eq i8* %14, null\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_2, label LBL_7\n LBL_7:\n %17 = call i32 @fclose(%_IO_FILE* %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %4, { 3, 1, 2, 0 }\n uselistorder %_IO_FILE* %1, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i8* (i8*, i32)* @strchr, { 1, 0 }\n uselistorder i8* null, { 3, 1, 2, 0 }\n uselistorder i8* (i8*, i32, %_IO_FILE*)* @fgets, { 1, 0 }\n uselistorder i32 1024, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_own_dir_11622", "fun_name": "set_own_dir", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = sext i32 %1 to i64\n store i64 %2, i64* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %3 = icmp eq i64 %storemerge.reload, 0\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = add i64 %storemerge.reload, -1\n %5 = add i64 %4, %arg1\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp eq i8 %7, 47\n %9 = icmp eq i1 %8, false\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_4\n LBL_3:\n %10 = call i64* @memcpy(i64* bitcast (i8** @gv_0 to i64*), i64* nonnull @gv_1, i32 2)\n %11 = ptrtoint i64* %10 to i64\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %12 = inttoptr i64 %arg1 to i64*\n %13 = trunc i64 %storemerge.reload to i32\n %14 = add i32 %13, -1\n %15 = call i64* @memcpy(i64* bitcast (i8** @gv_0 to i64*), i64* %12, i32 %14)\n %16 = add i64 %storemerge.reload, ptrtoint (i8** @gv_0 to i64)\n %17 = inttoptr i64 %16 to i8*\n store i8 0, i8* %17, align 1\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.reload, { 3, 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nhmldmx_finalize_12399", "fun_name": "nhmldmx_finalize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %3)\n br label LBL_2\n LBL_2:\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %8)\n br label LBL_4\n LBL_4:\n %11 = add i64 %1, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %13)\n br label LBL_6\n LBL_6:\n %16 = add i64 %1, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_8, label LBL_7\n LBL_7:\n %20 = call i64 @FUNC(i64 %18)\n br label LBL_8\n LBL_8:\n %21 = add i64 %1, 32\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_10, label LBL_9\n LBL_9:\n %25 = call i64 @FUNC(i64 %23)\n br label LBL_10\n LBL_10:\n %26 = add i64 %1, 40\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_12, label LBL_11\n LBL_11:\n %30 = call i64 @FUNC(i64 %28)\n br label LBL_12\n LBL_12:\n %31 = add i64 %1, 48\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_14, label LBL_13\n LBL_13:\n %35 = call i64 @FUNC(i64 %33)\n store i64 %35, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @gf_bs_del, { 1, 0 }\n uselistorder i64 (i64)* @gf_free, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cap_task_fix_setuid_8922", "fun_name": "cap_task_fix_setuid", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = trunc i64 %arg3 to i32\n %4 = icmp sgt i32 %3, 3\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = icmp eq i32 %3, 0\n %6 = icmp slt i32 %3, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %9, label LBL_3, label LBL_11\n LBL_2:\n %10 = icmp eq i32 %3, 4\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %10, label LBL_5, label LBL_11\n LBL_3:\n %11 = call i64 @FUNC(i64 1)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %14, label LBL_11, label LBL_4\n LBL_4:\n %15 = ptrtoint i32* %arg2 to i64\n %16 = ptrtoint i32* %arg1 to i64\n %17 = call i64 @FUNC(i64 %16, i64 %15)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_5:\n %18 = call i64 @FUNC(i64 1)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %21, label LBL_11, label LBL_6\n LBL_6:\n %22 = trunc i64 %2 to i32\n %23 = trunc i64 %1 to i32\n %24 = icmp eq i32 %22, 0\n %25 = icmp eq i1 %24, false\n %26 = icmp eq i32 %23, 0\n %or.cond = or i1 %26, %25\n store i32 %22, i32* %.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %27 = bitcast i64* %rsi to i32*\n %28 = ptrtoint i32* %arg1 to i64\n %29 = add i64 %28, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n store i32 %34, i32* %30, align 4\n %.pr.pre = load i32, i32* %27, align 8\n store i32 %.pr.pre, i32* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %35 = icmp eq i32 %.reload, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %35, label LBL_11, label LBL_9\n LBL_9:\n %36 = bitcast i64* %rdi to i32*\n %37 = load i32, i32* %36, align 8\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %40 = ptrtoint i32* %arg1 to i64\n %41 = add i64 %40, 8\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %40, 4\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = zext i32 %43 to i64\n %48 = zext i32 %46 to i64\n %49 = call i64 @FUNC(i64 %48, i64 %47)\n %50 = trunc i64 %49 to i32\n store i32 %50, i32* %45, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %3, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 4, 5, 6, 1, 2, 8, 7 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @issecure, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0 }\n uselistorder i32* %arg1, { 2, 1, 0 }\n uselistorder label LBL_11, { 2, 3, 4, 5, 0, 1, 7, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_qed_drain_16917", "fun_name": "bdrv_qed_drain", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0, i64 4198703, i64 %0)\n ret i64 %3\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "le64addr_string_10081", "fun_name": "le64addr_string", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rbx.02.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %0, i32 8)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = ptrtoint i64* %sv_0 to i64\n %7 = add i64 %0, -1\n store i64 8, i64* %storemerge13.reg2mem\n store i64 %6, i64* %rbx.02.reg2mem\n br label LBL_2\n LBL_2:\n %rbx.02.reload = load i64, i64* %rbx.02.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %8 = add i64 %7, %storemerge13.reload\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = udiv i8 %10, 16\n %12 = add i64 %rbx.02.reload, 1\n %13 = zext i8 %11 to i64\n %14 = or i64 %13, ptrtoint ([17 x i8]* @gv_0 to i64)\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = inttoptr i64 %rbx.02.reload to i8*\n store i8 %16, i8* %17, align 1\n %18 = load i8, i8* %9, align 1\n %19 = urem i8 %18, 16\n %20 = add i64 %rbx.02.reload, 2\n %21 = zext i8 %19 to i64\n %22 = or i64 %21, ptrtoint ([17 x i8]* @gv_0 to i64)\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = inttoptr i64 %12 to i8*\n store i8 %24, i8* %25, align 1\n %26 = add i64 %rbx.02.reload, 3\n %27 = inttoptr i64 %20 to i8*\n store i8 58, i8* %27, align 1\n %28 = add nuw nsw i64 %storemerge13.reload, 4294967295\n %29 = and i64 %28, 4294967295\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %29, i64* %storemerge13.reg2mem\n store i64 %26, i64* %rbx.02.reg2mem\n br i1 %31, label LBL_2, label LBL_3\n LBL_3:\n store i8 0, i8* %27, align 1\n %32 = bitcast i64* %sv_0 to i8*\n %33 = call i8* @strdup(i8* nonnull %32)\n %34 = ptrtoint i8* %33 to i64\n store i64 %34, i64* %3, align 8\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge13.reload, { 1, 0 }\n uselistorder i64 %rbx.02.reload, { 3, 2, 0, 1 }\n uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rbx.02.reg2mem, { 1, 0, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i8 16, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_elf_hwcap_1490", "fun_name": "get_elf_hwcap", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32*, i32** @gv_0, align 8\n %1 = load i32, i32* %0, align 4\n %2 = urem i32 %1, 2\n %3 = icmp ne i32 %2, 0\n %spec.select = zext i1 %3 to i32\n %4 = and i32 %1, 254\n %5 = or i32 %4, %spec.select\n %6 = zext i32 %5 to i64\n ret i64 %6\n\n uselistorder i32 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "PredictorDecodeRow_13448", "fun_name": "PredictorDecodeRow", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i16 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 24, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = inttoptr i64 %1 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 25, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_4\n LBL_4:\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %13 = trunc i64 %0 to i32\n %14 = icmp eq i32 %13, 0\n %storemerge = select i1 %14, i64 0, i64 %0\n ret i64 %storemerge\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rde_update_get_prefix_17884", "fun_name": "rde_update_get_prefix", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32*\n %sv_1.17.reg2mem = alloca i32*\n %sv_0.18.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_2 = alloca i32, align 4\n %2 = trunc i64 %arg2 to i16\n %3 = icmp eq i16 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = trunc i64 %1 to i8\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 1\n %9 = inttoptr i64 %8 to i32*\n store i64 0, i64* %arg3, align 8\n %10 = urem i64 %1, 256\n %11 = trunc i64 %arg2 to i32\n %12 = urem i32 %11, 65536\n %13 = ptrtoint i32* %sv_2 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 1, i32* %sv_0.18.reg2mem\n store i32* %9, i32** %sv_1.17.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.17.reload = load i32*, i32** %sv_1.17.reg2mem\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %14 = mul i64 %indvars.iv.reload, 8\n %15 = icmp ugt i64 %10, %14\n store i32* %sv_1.17.reload, i32** %sv_1.0.reg2mem\n store i32 %sv_0.18.reload, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_3, label LBL_5\n LBL_3:\n %16 = urem i32 %sv_0.18.reload, 65536\n %17 = sub nsw i32 %12, %16\n %18 = icmp eq i32 %17, 0\n %19 = icmp slt i32 %17, 0\n %20 = icmp eq i1 %19, false\n %21 = icmp eq i1 %18, false\n %22 = icmp eq i1 %20, %21\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_7\n LBL_4:\n %23 = ptrtoint i32* %sv_1.17.reload to i64\n %24 = add i64 %23, 1\n %25 = inttoptr i64 %24 to i32*\n %26 = add nuw nsw i64 %indvars.iv.reload, %13\n %27 = bitcast i32* %sv_1.17.reload to i8*\n %28 = load i8, i8* %27, align 1\n %29 = inttoptr i64 %26 to i8*\n store i8 %28, i8* %29, align 1\n %30 = mul i32 %sv_0.18.reload, 65536\n %sext5 = add i32 %30, 65536\n %31 = ashr exact i32 %sext5, 16\n store i32* %25, i32** %sv_1.0.reg2mem\n store i32 %31, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32*, i32** %sv_1.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %32 = icmp ult i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.18.reg2mem\n store i32* %sv_1.0.reload, i32** %sv_1.17.reg2mem\n br i1 %32, label LBL_2, label LBL_6\n LBL_6:\n %33 = bitcast i64* %arg3 to i32*\n store i32 2, i32* %33, align 4\n %34 = load i32, i32* %sv_2, align 4\n %35 = add i64 %5, 4\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = bitcast i64* %arg4 to i8*\n store i8 %6, i8* %37, align 1\n %38 = urem i32 %sv_0.0.reload, 65536\n %39 = zext i32 %38 to i64\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32 %sv_0.18.reload, { 2, 1, 0 }\n uselistorder i32* %sv_1.17.reload, { 2, 1, 0 }\n uselistorder i32* %sv_2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_1.17.reg2mem, { 1, 0, 2 }\n uselistorder i32** %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 65536, { 1, 4, 0, 2, 3 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tricore_cpu_class_init_2668", "fun_name": "tricore_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %arg1, align 8\n store i64 4198676, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198711, i64* %12, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ioreq_runio_qemu_aio_1526", "fun_name": "ioreq_runio_qemu_aio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, -1\n br i1 %7, label LBL_12, label LBL_2\n LBL_2:\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i32 %10, 1\n store i32 %11, i32* %9, align 4\n %12 = add i64 %0, 20\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %0)\n br label LBL_4\n LBL_4:\n %17 = add i64 %0, 12\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = icmp sgt i32 %19, -1\n %22 = add i32 %19, -1\n %23 = icmp ult i32 %22, 2\n %or.cond = icmp eq i1 %21, %23\n br i1 %or.cond, label LBL_7, label LBL_12\n LBL_6:\n %24 = load i32, i32* %9, align 4\n %25 = add i32 %24, 1\n store i32 %25, i32* %9, align 4\n %26 = add i64 %0, 40\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = udiv i64 %28, 512\n %30 = and i64 %29, 4294967295\n %31 = add i64 %0, 32\n %32 = add i64 %0, 28\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = add i32 %34, 511\n %36 = icmp slt i32 %34, 0\n %37 = select i1 %36, i32 %35, i32 %34\n %38 = ashr i32 %37, 9\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %30, i64 %39, i64 %31, i64 %30, i64 4198778, i64 %0)\n store i64 %30, i64* %rdi.1.reg2mem\n br label LBL_9\n LBL_7:\n %41 = load i32, i32* %2, align 4\n %42 = icmp eq i32 %41, 0\n store i64 %0, i64* %rdi.1.reg2mem\n br i1 %42, label LBL_9, label LBL_8\n LBL_8:\n %43 = load i32, i32* %9, align 4\n %44 = add i32 %43, 1\n store i32 %44, i32* %9, align 4\n %45 = add i64 %0, 40\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = udiv i64 %47, 512\n %49 = and i64 %48, 4294967295\n %50 = add i64 %0, 32\n %51 = add i64 %0, 28\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i32 %53, 511\n %55 = icmp slt i32 %53, 0\n %56 = select i1 %55, i32 %54, i32 %53\n %57 = ashr i32 %56, 9\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %49, i64 %58, i64 %50, i64 %49, i64 4198778, i64 %0)\n store i64 %49, i64* %rdi.1.reg2mem\n br label LBL_9\n LBL_9:\n %60 = add i64 %0, 24\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = icmp eq i32 %62, 0\n br i1 %63, label LBL_11, label LBL_10\n LBL_10:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %64 = call i64 @FUNC(i64 %rdi.1.reload)\n br label LBL_11\n LBL_11:\n %65 = call i64 @FUNC(i64 %0, i64 0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_12:\n %66 = add i64 %0, 48\n %67 = inttoptr i64 %66 to i32*\n store i32 -1, i32* %67, align 4\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %19, { 1, 0, 2 }\n uselistorder i32* %9, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 %0, { 6, 7, 8, 5, 4, 3, 2, 0, 12, 11, 10, 9, 13, 1, 14, 15, 16, 17 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 511, { 1, 0 }\n uselistorder i64 (i64)* @bdrv_flush, { 1, 0 }\n uselistorder i32 -1, { 3, 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alarm_timer_set_4202", "fun_name": "alarm_timer_set", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_7\n LBL_1:\n %3 = ptrtoint i64* %arg3 to i64\n %4 = icmp eq i64* %arg3, null\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp sgt i64 %8, 99999\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n store i64 100000, i64* %7, align 8\n br label LBL_4\n LBL_4:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = icmp eq i64* %arg4, null\n store i64 %3, i64* %rdx.0.reg2mem\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = ptrtoint i64* %arg4 to i64\n %13 = call i64 @FUNC(i64 %10, i64 %12)\n store i64 %12, i64* %rdx.0.reg2mem\n br label LBL_6\n LBL_6:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %14 = call i64 @FUNC(i64 %10)\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %rdx.0.reload, i64 %17)\n %19 = add i64 %3, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %3, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %21, i64 %24)\n %26 = call i64 @FUNC(i64 %10, i64 %25, i64 %18)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %10, { 1, 2, 0 }\n uselistorder i64 %3, { 4, 3, 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @timespec_to_ktime, { 1, 0 }\n uselistorder i64* %arg4, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_h264_decode_ref_pic_marking_1739", "fun_name": "ff_h264_decode_ref_pic_marking", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = bitcast i64* %rdi to i32*\n %8 = load i32, i32* %7, align 8\n %9 = icmp eq i32 %8, 5\n %10 = icmp eq i1 %9, false\n %11 = call i64 @FUNC(i64 %3)\n %12 = trunc i64 %11 to i32\n br i1 %10, label LBL_3, label LBL_1\n LBL_1:\n %13 = add i32 %12, -1\n %14 = add i64 %4, 408\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %3)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_19, label LBL_2\n LBL_2:\n %19 = add i64 %4, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n %21 = add i64 %4, 12\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n store i32 1, i32* %6, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_3:\n %23 = icmp eq i32 %12, 0\n br i1 %23, label LBL_18, label LBL_4\n LBL_4:\n %24 = add i64 %4, 392\n %25 = inttoptr i64 %24 to i32*\n %26 = add i64 %4, 396\n %27 = inttoptr i64 %26 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %28 = call i64 @FUNC(i64 %3)\n %29 = trunc i64 %28 to i32\n %30 = mul nuw nsw i64 %indvars.iv.reload, 12\n %31 = add i64 %30, %4\n %32 = add i64 %31, 8\n %33 = inttoptr i64 %32 to i32*\n store i32 %29, i32* %33, align 4\n %34 = icmp ne i32 %29, 2\n %35 = icmp eq i32 %29, 3\n %36 = icmp eq i1 %35, false\n %or.cond = icmp eq i1 %34, %36\n br i1 %or.cond, label LBL_7, label LBL_6\n LBL_6:\n %37 = load i32, i32* %25, align 4\n %38 = call i64 @FUNC(i64 %3)\n %39 = trunc i64 %38 to i32\n %40 = sub i32 0, %39\n %41 = sub i32 %40, 1\n %42 = add i32 %37, %41\n %43 = load i32, i32* %27, align 4\n %44 = add i32 %43, -1\n %45 = and i32 %44, %42\n %46 = add i64 %31, 16\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n br label LBL_7\n LBL_7:\n switch i32 %29, label LBL_8 [\n i32 4, label LBL_9\n i32 3, label LBL_9\n i32 1, label LBL_9\n ]\n LBL_8:\n %48 = icmp eq i32 %29, 5\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_14, label LBL_9\n LBL_9:\n %50 = call i64 @FUNC(i64 %3)\n %51 = trunc i64 %50 to i32\n %52 = icmp ult i32 %51, 32\n br i1 %52, label LBL_10, label LBL_12\n LBL_10:\n %53 = icmp ult i32 %51, 16\n br i1 %53, label LBL_13, label LBL_11\n LBL_11:\n %54 = icmp eq i32 %29, 5\n %55 = icmp eq i32 %51, 16\n %or.cond5 = icmp eq i1 %54, %55\n br i1 %or.cond5, label LBL_13, label LBL_12\n LBL_12:\n %56 = add i64 %4, 400\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = and i64 %28, 4294967295\n %60 = call i64 @FUNC(i64 %58, i64 0, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_0, i64 0, i64 0), i64 %59, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_13:\n %61 = add i64 %31, 12\n %62 = inttoptr i64 %61 to i32*\n store i32 %51, i32* %62, align 4\n br label LBL_14\n LBL_14:\n %63 = icmp ult i32 %29, 2\n br i1 %63, label LBL_16, label LBL_15\n LBL_15:\n %64 = add i64 %4, 400\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = and i64 %28, 4294967295\n %68 = call i64 @FUNC(i64 %66, i64 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %67, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_16:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %69 = icmp ult i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %69, label LBL_5, label LBL_17\n LBL_17:\n %70 = trunc i64 %indvars.iv.next to i32\n store i32 %70, i32* %6, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_18:\n %71 = call i64 @FUNC(i64 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.next, { 1, 0, 2 }\n uselistorder i64 %31, { 1, 0, 2 }\n uselistorder i32 %29, { 3, 2, 4, 0, 1, 5, 6 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i32* %6, { 1, 0, 2 }\n uselistorder i64 %4, { 8, 5, 4, 0, 6, 7, 2, 3, 1, 9 }\n uselistorder i64 %3, { 1, 2, 3, 0, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 6, 5, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i32 32, { 1, 0 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i64 (i64)* @get_ue_golomb_31, { 1, 0 }\n uselistorder i64 12, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_19, { 3, 2, 4, 5, 1, 0 }\n uselistorder label LBL_9, { 3, 0, 1, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mkv_add_cuepoint_2144", "fun_name": "mkv_add_cuepoint", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp slt i64 %arg3, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i32 %5, 1\n %7 = sext i32 %6 to i64\n %8 = mul nsw i64 %7, 24\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n %12 = load i32, i32* %4, align 4\n %13 = sext i32 %12 to i64\n %14 = mul nsw i64 %13, 24\n %15 = add i64 %14, %9\n %16 = inttoptr i64 %15 to i64*\n store i64 %arg3, i64* %16, align 8\n %17 = load i32, i32* %4, align 4\n %18 = sext i32 %17 to i64\n %19 = mul nsw i64 %18, 24\n %20 = trunc i64 %arg2 to i32\n %21 = add i32 %20, 1\n %22 = add i64 %9, 8\n %23 = add i64 %22, %19\n %24 = inttoptr i64 %23 to i32*\n store i32 %21, i32* %24, align 4\n %25 = add i64 %2, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = load i32, i32* %4, align 4\n %29 = add i32 %28, 1\n store i32 %29, i32* %4, align 4\n %30 = sext i32 %28 to i64\n %31 = mul nsw i64 %30, 24\n %32 = sub i64 %arg4, %27\n %33 = add i64 %9, 16\n %34 = add i64 %33, %31\n %35 = inttoptr i64 %34 to i64*\n store i64 %32, i64* %35, align 8\n store i64 %9, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 2, 3, 0, 4 }\n uselistorder i32* %4, { 1, 0, 2, 3, 4 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scsi_req_cancel_3102", "fun_name": "scsi_req_cancel", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 12\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 %9, i32 %5)\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = xor i8 %14, 1\n %16 = zext i8 %15 to i64\n %17 = icmp eq i8 %15, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %18, label LBL_6, label LBL_1\n LBL_1:\n %19 = add i64 %2, 17\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 1\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 43, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %2)\n %25 = call i64 @FUNC(i64 %2)\n store i8 1, i8* %20, align 1\n %26 = add i64 %2, 24\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_5, label LBL_4\n LBL_4:\n %30 = call i64 @FUNC(i64 %28)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %31 = call i64 @FUNC(i64 %2)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 3, 2, 4, 5, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i8 1, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_tests_11892", "fun_name": "setup_tests", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n ret i64 1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ext4_fiemap_4796", "fun_name": "ext4_fiemap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge5.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n store i32 1, i32* %sv_0, align 4\n %6 = ptrtoint i32* %arg2 to i64\n %7 = call i64 @FUNC(i64 %2, i64 %6, i32* nonnull %sv_0, i64 %arg3, i64 %arg4)\n %8 = load i32, i32* %sv_0, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = and i64 %7, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_3:\n %11 = trunc i64 %1 to i32\n %12 = urem i32 %11, 2\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_6, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %2)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = and i64 %14, 4294967295\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %18 = call i64 @FUNC(i64 %2, i64 1)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = ptrtoint i32* %arg2 to i64\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %23 = call i64 @FUNC(i64 %2, i64 %22, i64 %arg3, i64 %arg4, i64 4198866)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_8:\n %24 = call i64 @FUNC(i64 %22, i64 4)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %26, label LBL_9, label LBL_13\n LBL_9:\n %27 = and i32 %11, 2\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_11, label LBL_10\n LBL_10:\n %29 = call i64 @FUNC(i64 %2, i64 %22)\n store i64 %29, i64* %storemerge5.in.reg2mem\n br label LBL_12\n LBL_11:\n %30 = urem i64 %22, 64\n %storemerge = lshr i64 %arg3, %30\n %31 = add i64 %arg3, -1\n %32 = add i64 %31, %arg4\n %rdx.0 = lshr i64 %32, %30\n %33 = trunc i64 %rdx.0 to i32\n %34 = icmp ult i64 %rdx.0, 4294967295\n %spec.select = select i1 %34, i32 %33, i32 -2\n %35 = trunc i64 %storemerge to i32\n %36 = sub i32 1, %35\n %37 = add i32 %36, %spec.select\n %38 = call i64 @FUNC(i64 %2, i32 %35, i32 %37, i64 %22)\n store i64 %38, i64* %storemerge5.in.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge5.in.reload = load i64, i64* %storemerge5.in.reg2mem\n %39 = and i64 %storemerge5.in.reload, 4294967295\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %35, { 1, 0 }\n uselistorder i64 %rdx.0, { 1, 0 }\n uselistorder i64 %22, { 2, 0, 1, 4, 3 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %2, { 4, 3, 2, 5, 1, 0, 6 }\n uselistorder i64* %storemerge5.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 %arg4, { 0, 2, 1 }\n uselistorder i64 %arg3, { 0, 1, 3, 2 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_13, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "X509v3_addr_get_afi_12996", "fun_name": "X509v3_addr_get_afi", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = mul i64 %1, 256\n %3 = and i64 %2, 65280\n %4 = add i64 %1, 1\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = zext i8 %6 to i64\n %8 = or i64 %3, %7\n store i64 %8, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "em_ret_near_imm_242", "fun_name": "em_ret_near_imm", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i32 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %8 = load i64, i64* %sv_0, align 8\n %9 = call i64 @FUNC(i64 %3, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = and i64 %9, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %13 = add i64 %3, 4\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %3, i64 %16)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ivshmem_client_parse_args_2689", "fun_name": "ivshmem_client_parse_args", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %0 = trunc i64 %arg2 to i32\n %1 = inttoptr i64 %arg3 to i8**\n %2 = call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i32 %2, -1\n %4 = icmp eq i1 %3, false\n store i32 %2, i32* %.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_11\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n store i32 %2, i32* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i32, i32* %.reg2mem\n %8 = icmp eq i32 %.reload, 118\n br i1 %8, label LBL_7, label LBL_3\n LBL_3:\n %9 = icmp sgt i32 %.reload, 118\n br i1 %9, label LBL_10, label LBL_4\n LBL_4:\n %10 = icmp eq i32 %.reload, 83\n br i1 %10, label LBL_9, label LBL_5\n LBL_5:\n %11 = icmp eq i32 %.reload, 104\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_10, label LBL_6\n LBL_6:\n %13 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 0)\n unreachable\n LBL_7:\n store i32 1, i32* %arg1, align 4\n br label LBL_8\n LBL_8:\n %14 = call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %15 = icmp eq i32 %14, -1\n %16 = icmp eq i1 %15, false\n store i32 %14, i32* %.reg2mem\n store i32 %14, i32* %.lcssa.reg2mem\n br i1 %16, label LBL_2, label LBL_11\n LBL_9:\n %17 = load i64, i64* @gv_1, align 8\n store i64 %17, i64* %7, align 8\n br label LBL_8\n LBL_10:\n %18 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 1)\n unreachable\n LBL_11:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %19 = sext i32 %.lcssa.reload to i64\n ret i64 %19\n\n uselistorder i32 %.reload, { 3, 0, 1, 2 }\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i8** %1, { 1, 0 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @ivshmem_client_usage, { 1, 0 }\n uselistorder i64 ptrtoint ([5 x i8]* @gv_0 to i64), { 1, 0 }\n uselistorder i32 118, { 1, 0 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 (i32, i8**, i8*)* @getopt, { 1, 0 }\n uselistorder [5 x i8]* @gv_0, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vgic_v3_rdistr_mmio_write_12318", "fun_name": "vgic_v3_rdistr_mmio_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = trunc i64 %4 to i32\n %16 = add i32 %13, -1\n %storemerge.v = select i1 %14, i32 131071, i32 %16\n %storemerge = and i32 %storemerge.v, %15\n %17 = icmp ult i32 %storemerge, 65536\n br i1 %17, label LBL_1, label LBL_2\n LBL_1:\n %18 = call i64 @FUNC(i64 %5, i64 %4, i32 %storemerge)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %19 = icmp ult i32 %storemerge, 131072\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %20 = add i32 %storemerge, -65536\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %5, i64 %4, i64 %21)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %23 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %4, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %0, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lx60_net_init_18932", "fun_name": "lx60_net_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i64 %0, i64 %arg5)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = call i64 @FUNC(i64 %3, i64 0)\n %6 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 %5)\n %7 = call i64 @FUNC(i64 %3, i64 1)\n %8 = call i64 @FUNC(i64 %arg1, i64 %arg3, i64 %7)\n %9 = call i64 @FUNC(i64 0)\n %10 = call i64 @FUNC(i64 %9, i64 %3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 16384, i64 4198892)\n %11 = call i64 @FUNC(i64 %9)\n %12 = call i64 @FUNC(i64 %arg1, i64 %arg4, i64 %9)\n ret i64 %12\n\n uselistorder i64 (i64, i64, i64)* @memory_region_add_subregion, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @sysbus_mmio_get_region, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "H264SwDecInit_6233", "fun_name": "H264SwDecInit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0))\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0))\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %4 = call i64 @FUNC(i64 272, i64 1)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0))\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %8 = and i64 %arg2, 4294967295\n %9 = add i64 %4, 264\n %10 = call i64 @FUNC(i64 %9, i64 %8)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n %13 = call i64 @FUNC(i64 %4)\n store i64 3, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %14 = add i64 %4, 256\n %15 = inttoptr i64 %14 to i32*\n store i32 1, i32* %15, align 4\n %16 = add i64 %4, 260\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n store i64 %4, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 (i8*)* @DEC_API_TRC, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rom_copy_18951", "fun_name": "rom_copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.3.lcssa.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem9 = alloca i64\n %.reg2mem = alloca i64\n %sv_1.13.reg2mem = alloca i64\n %sv_0.34.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %arg3, %arg2\n %2 = add i64 %0, %arg3\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge5.reg2mem\n store i32 0, i32* %sv_0.34.reg2mem\n store i64 %0, i64* %sv_1.13.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem\n %sv_0.34.reload = load i32, i32* %sv_0.34.reg2mem\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %3 = add i64 %storemerge5.reload, 40\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.34.reload, i32* %sv_0.2.reg2mem\n br i1 %7, label LBL_10, label LBL_2\n LBL_2:\n %8 = add i64 %storemerge5.reload, 44\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.34.reload, i32* %sv_0.2.reg2mem\n br i1 %12, label LBL_10, label LBL_3\n LBL_3:\n %13 = inttoptr i64 %storemerge5.reload to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %storemerge5.reload, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %17, %14\n %19 = icmp ult i64 %18, %arg2\n store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.34.reload, i32* %sv_0.2.reg2mem\n br i1 %19, label LBL_10, label LBL_4\n LBL_4:\n %20 = icmp ult i64 %1, %14\n store i64 %sv_1.13.reload, i64* %sv_1.1.lcssa.reg2mem\n store i32 %sv_0.34.reload, i32* %sv_0.3.lcssa.reg2mem\n br i1 %20, label LBL_11, label LBL_5\n LBL_5:\n %21 = sub i64 %14, %arg2\n %22 = add i64 %21, %0\n %23 = add i64 %storemerge5.reload, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %25, %22\n %27 = icmp ugt i64 %26, %2\n %28 = sub i64 0, %21\n %spec.select = select i1 %27, i64 %28, i64 %25\n %sv_0.0 = trunc i64 %spec.select to i32\n %29 = icmp eq i32 %sv_0.0, 0\n store i64 %25, i64* %.reg2mem\n store i64 %17, i64* %.reg2mem9\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = add i64 %storemerge5.reload, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %22 to i64*\n %34 = inttoptr i64 %32 to i64*\n %35 = call i64* @memcpy(i64* %33, i64* %34, i32 %sv_0.0)\n %.pre = load i64, i64* %16, align 8\n %.pre8 = load i64, i64* %24, align 8\n store i64 %.pre8, i64* %.reg2mem\n store i64 %.pre, i64* %.reg2mem9\n br label LBL_7\n LBL_7:\n %.reload10 = load i64, i64* %.reg2mem9\n %.reload = load i64, i64* %.reg2mem\n %36 = icmp ugt i64 %.reload10, %.reload\n store i64 %22, i64* %sv_1.0.reg2mem\n store i32 %sv_0.0, i32* %sv_0.2.reg2mem\n br i1 %36, label LBL_8, label LBL_10\n LBL_8:\n %sext = mul i64 %spec.select, 4294967296\n %37 = ashr exact i64 %sext, 32\n %38 = add i64 %37, %22\n %39 = sub i64 %.reload10, %.reload\n %40 = add i64 %39, %38\n %41 = icmp ugt i64 %40, %2\n %42 = sub i64 %0, %38\n %spec.select2 = select i1 %41, i64 %42, i64 %39\n %sv_0.1 = trunc i64 %spec.select2 to i32\n %43 = icmp eq i32 %sv_0.1, 0\n store i64 %38, i64* %sv_1.0.reg2mem\n store i32 0, i32* %sv_0.2.reg2mem\n br i1 %43, label LBL_10, label LBL_9\n LBL_9:\n %44 = inttoptr i64 %38 to i64*\n %45 = call i64* @memset(i64* %44, i32 0, i32 %sv_0.1)\n store i64 %38, i64* %sv_1.0.reg2mem\n store i32 %sv_0.1, i32* %sv_0.2.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %46 = add i64 %storemerge5.reload, 32\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 %48, i64* %storemerge5.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.34.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.3.lcssa.reg2mem\n br i1 %50, label LBL_1, label LBL_11\n LBL_11:\n %sv_0.3.lcssa.reload = load i32, i32* %sv_0.3.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n %51 = sext i32 %sv_0.3.lcssa.reload to i64\n %52 = sub i64 %sv_1.1.lcssa.reload, %0\n %53 = add i64 %52, %51\n ret i64 %53\n\n uselistorder i64 %39, { 1, 0 }\n uselistorder i64 %38, { 0, 3, 1, 4, 2 }\n uselistorder i64 %25, { 0, 2, 1 }\n uselistorder i64 %22, { 1, 0, 3, 2 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %14, { 1, 2, 0 }\n uselistorder i64 %storemerge5.reload, { 6, 0, 1, 3, 2, 4, 5 }\n uselistorder i64 %0, { 1, 4, 3, 0, 2 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.34.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem9, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 3, 1, 4, 5, 6 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i1 false, { 2, 0, 1 }\n uselistorder i32 0, { 4, 0, 2, 3, 5, 6, 1 }\n uselistorder i64 %arg2, { 2, 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 4, 5, 3, 0, 1, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "br_parse_ip_options_13670", "fun_name": "br_parse_ip_options", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i8*\n %3 = call i64 @FUNC(i64 %0)\n %4 = load i8, i8* %2, align 1\n %5 = urem i8 %4, 16\n %6 = icmp ult i8 %5, 5\n br i1 %6, label LBL_14, label LBL_1\n LBL_1:\n %7 = and i8 %4, -16\n %8 = icmp eq i8 %7, 64\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_14, label LBL_2\n LBL_2:\n %10 = mul i8 %4, 4\n %11 = and i8 %10, 60\n %12 = zext i8 %11 to i64\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_14, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %0)\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = urem i8 %18, 16\n %20 = zext i8 %19 to i64\n %21 = call i64 @FUNC(i64 %16, i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %24, false\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_14, label LBL_4\n LBL_4:\n %27 = add i64 %16, 2\n %28 = inttoptr i64 %27 to i16*\n %29 = load i16, i16* %28, align 2\n %30 = zext i16 %29 to i32\n %31 = mul i32 %30, 256\n %32 = udiv i16 %29, 256\n %33 = zext i16 %32 to i32\n %34 = or i32 %31, %33\n %35 = add i64 %0, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp ugt i32 %34, %37\n br i1 %38, label LBL_5, label LBL_6\n LBL_5:\n %39 = call i64 @FUNC(i64 %0)\n %40 = call i64 @FUNC(i64 %39, i64 0)\n br label LBL_15\n LBL_6:\n %41 = load i8, i8* %17, align 1\n %42 = mul i8 %41, 4\n %43 = and i8 %42, 60\n %44 = zext i8 %43 to i32\n %45 = icmp ult i32 %34, %44\n br i1 %45, label LBL_14, label LBL_7\n LBL_7:\n %46 = zext i32 %34 to i64\n %47 = call i64 @FUNC(i64 %0, i64 %46)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n br i1 %49, label LBL_9, label LBL_8\n LBL_8:\n %50 = call i64 @FUNC(i64 %0)\n %51 = call i64 @FUNC(i64 %50, i64 1)\n br label LBL_15\n LBL_9:\n %52 = call i64 @FUNC(i64 %0)\n %53 = inttoptr i64 %52 to i64*\n %54 = call i64* @memset(i64* %53, i32 0, i32 8)\n %55 = load i8, i8* %17, align 1\n %56 = urem i8 %55, 16\n %57 = icmp eq i8 %56, 5\n %58 = icmp eq i1 %57, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %58, label LBL_10, label LBL_16\n LBL_10:\n %59 = inttoptr i64 %3 to i32*\n %60 = mul i8 %55, 4\n %61 = and i8 %60, 60\n %62 = zext i8 %61 to i32\n %63 = add nsw i32 %62, -4\n store i32 %63, i32* %59, align 4\n %64 = call i64 @FUNC(i64 %0)\n %65 = call i64 @FUNC(i64 %64, i64 %3, i64 %0)\n %66 = trunc i64 %65 to i32\n %67 = icmp eq i32 %66, 0\n %68 = icmp eq i1 %67, false\n br i1 %68, label LBL_14, label LBL_11\n LBL_11:\n %69 = add i64 %3, 4\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = icmp eq i32 %71, 0\n %73 = icmp eq i1 %72, false\n %74 = icmp eq i1 %73, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %74, label LBL_16, label LBL_12\n LBL_12:\n %75 = call i64 @FUNC(i64 %0)\n %76 = icmp eq i64 %75, 0\n %77 = icmp eq i1 %76, false\n br i1 %77, label LBL_15, label LBL_13\n LBL_13:\n %78 = call i64 @FUNC(i64 %0)\n %79 = trunc i64 %78 to i32\n %80 = icmp eq i32 %79, 0\n %81 = icmp eq i1 %80, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %81, label LBL_15, label LBL_16\n LBL_14:\n %82 = call i64 @FUNC(i64 %0)\n %83 = call i64 @FUNC(i64 %82, i64 2)\n br label LBL_15\n LBL_15:\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %16, { 0, 2, 1 }\n uselistorder i8 %4, { 0, 2, 1 }\n uselistorder i64 %0, { 11, 1, 2, 3, 4, 5, 0, 8, 6, 7, 9, 10, 12, 13 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @IP_INC_STATS_BH, { 2, 1, 0 }\n uselistorder i64 (i64)* @dev_net, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i1 false, { 2, 3, 0, 4, 5, 6, 7, 1, 8, 9 }\n uselistorder i64 (i64)* @IPCB, { 1, 0 }\n uselistorder i64 (i64)* @ip_hdr, { 1, 0 }\n uselistorder label LBL_16, { 3, 1, 0, 2 }\n uselistorder label LBL_15, { 2, 0, 1, 3, 4 }\n uselistorder label LBL_14, { 0, 1, 2, 3, 5, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "proxy_socket_440", "fun_name": "proxy_socket", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i16, align 2\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @access(i8* %0, i32 0)\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %5 = call i32 @strlen(i8* %0)\n %6 = icmp ult i32 %5, 108\n %7 = zext i1 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i32 @socket(i32 1, i32 1, i32 0)\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %13 = call i32 @umask(i32 7)\n store i16 1, i16* %sv_3, align 2\n %14 = bitcast i64* %sv_2 to i8*\n %15 = call i8* @strcpy(i8* nonnull %14, i8* %0)\n %16 = bitcast i16* %sv_3 to %sockaddr*\n %17 = call i32 @bind(i32 %9, %sockaddr* nonnull %16, i32 110)\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_13\n LBL_6:\n %21 = trunc i64 %arg2 to i32\n %22 = call i32 @chown(i8* nonnull %14, i32 %21, i32 %arg3)\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_13\n LBL_8:\n %26 = call i32 @listen(i32 %9, i32 1)\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_13\n LBL_10:\n store i32 110, i32* %sv_1, align 4\n %30 = bitcast i64* %sv_0 to %sockaddr*\n %31 = call i32 @accept(i32 %9, %sockaddr* nonnull %30, i32* nonnull %sv_1)\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_13\n LBL_12:\n %35 = call i32 @close(i32 %9)\n %36 = zext i32 %31 to i64\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %37 = call i32 @close(i32 %9)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }\n uselistorder i32 110, { 1, 0 }\n uselistorder i64 (i8*)* @do_perror, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wmem_simple_realloc_18030", "fun_name": "wmem_simple_realloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %1 = icmp eq i64 %0, %arg2\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg2, i64 %arg2)\n %3 = call i64 @FUNC(i64 %arg2, i64 %0, i64 %0)\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i64 %arg2, { 2, 0, 1, 3, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tcg_exec_init_5116", "fun_name": "tcg_exec_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hns_gmac_get_sset_count_6672", "fun_name": "hns_gmac_get_sset_count", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = icmp eq i32 %0, 1\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = icmp eq i32 %0, 2\n %3 = icmp eq i1 %2, false\n %spec.select = select i1 %3, i64 0, i64 5\n ret i64 %spec.select\n LBL_2:\n ret i64 5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "HistogramCompare_5620", "fun_name": "HistogramCompare", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %2 to i8\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %3, %4\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = urem i64 %1, 256\n %7 = urem i64 %2, 256\n %8 = sub nsw i64 %6, %7\n %9 = and i64 %8, 4294967295\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = ptrtoint i8* %arg2 to i64\n %12 = add i64 %11, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = add i64 %10, 1\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %14, %17\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = zext i8 %17 to i64\n %20 = zext i8 %14 to i64\n %21 = sub nsw i64 %19, %20\n %22 = and i64 %21, 4294967295\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %23 = add i64 %11, 2\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = add i64 %10, 2\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %25, %28\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = zext i8 %28 to i64\n %31 = zext i8 %25 to i64\n %32 = sub nsw i64 %30, %31\n %33 = and i64 %32, 4294967295\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %34 = add i64 %11, 4\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = add i64 %10, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = sub i32 %36, %39\n %41 = zext i32 %40 to i64\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "remap_event_helper_9371", "fun_name": "remap_event_helper", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 16, i64 1)\n %3 = call i64 @FUNC(i64 %1, i64 1, i64 2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_event_read_event_11170", "fun_name": "perf_event_read_event", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n store i32 1, i32* %sv_1, align 4\n %4 = trunc i64 %1 to i32\n %5 = add i32 %4, 20\n %6 = call i64 @FUNC(i64 %3, i64 %2)\n %7 = call i64 @FUNC(i64 %3, i64 %2)\n %8 = bitcast i32* %sv_0 to i64*\n %9 = call i64 @FUNC(i32* nonnull %sv_1, i64* nonnull %8, i64 %3)\n %10 = call i64 @FUNC(i64* nonnull %8, i64 %3, i32 %5, i64 0, i64 0)\n %11 = trunc i64 %10 to i32\n store i32 %11, i32* %sv_0, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64* nonnull %8)\n %15 = call i64 @FUNC(i64* nonnull %8, i64 %3)\n %16 = call i64 @FUNC(i64 %3, i64* nonnull %8, i64* nonnull %8)\n %17 = call i64 @FUNC(i64* nonnull %8)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %8, { 0, 2, 1, 3, 4, 5, 6 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "putint_5419", "fun_name": "putint", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge6.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %storemerge.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.pre-phi11.reg2mem = alloca i32\n %0 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext3, 32\n %3 = icmp eq i32 %0, 0\n %4 = icmp eq i1 %3, false\n %.pre = trunc i64 %2 to i32\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = icmp eq i32 %.pre, 0\n %6 = icmp slt i32 %.pre, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n br i1 %9, label LBL_1.LBL_5_crit_edge, label LBL_3\n LBL_2:\n %.pre10 = trunc i64 %1 to i32\n store i32 %.pre10, i32* %.pre-phi11.reg2mem\n br label LBL_5\n LBL_3:\n %10 = trunc i64 %1 to i32\n %11 = icmp ne i32 %10, 0\n %12 = icmp sgt i32 %.pre, 1\n %or.cond = icmp eq i1 %11, %12\n br i1 %or.cond, label LBL_6, label LBL_4\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n store i32 %10, i32* %.pre-phi11.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi11.reload = load i32, i32* %.pre-phi11.reg2mem\n %13 = icmp eq i32 %.pre-phi11.reload, 0\n store i64 %arg4, i64* %sv_1.0.reg2mem\n br i1 %13, label LBL_7, label LBL_6\n LBL_6:\n %14 = and i64 %2, 4294967295\n %15 = call i64 @FUNC(i64 %arg4, i64 %14)\n store i64 %15, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %16 = icmp slt i64 %sv_1.0.reload, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %18 = urem i32 %.pre, 32\n %19 = icmp eq i32 %18, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %19, label %23, label %20\n LBL_10:\n %.tr = zext i32 %36 to i64\n %27 = mul i64 %.tr, 8\n %28 = and i64 %27, 56\n %29 = ashr i64 %25, %28\n %30 = trunc i64 %29 to i32\n %31 = urem i32 %30, 256\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %24, i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %31, %34\n store i32 %36, i32* %sv_0.0.reg2mem\n store i64 4294967295, i64* %storemerge6.reg2mem\n br i1 %35, label LBL_11, label LBL_12\n LBL_11:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %36 = add i32 %sv_0.0.reload, -1\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i64 0, i64* %storemerge6.reg2mem\n br i1 %38, label LBL_10, label LBL_12\n LBL_12:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n ret i64 %storemerge6.reload\n\n uselistorder i32 %36, { 2, 1, 0 }\n uselistorder i32 %31, { 1, 0 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4, 5 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label %23, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "date_interval_format_7371", "fun_name": "date_interval_format", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem18 = alloca i32\n %.reg2mem16 = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %.reg2mem14 = alloca i32\n %.reg2mem12 = alloca i32\n %sv_0.17.reg2mem = alloca i32\n %rcx.18.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem10 = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %4 = trunc i64 %arg2 to i32\n store i64 0, i64* %sv_3, align 8\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = icmp sgt i32 %4, 0\n br i1 %7, label LBL_2, label LBL_29\n LBL_2:\n %8 = ptrtoint i64* %arg3 to i64\n %9 = trunc i64 %3 to i32\n %10 = add i64 %8, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %8, 36\n %13 = inttoptr i64 %12 to i32*\n %14 = add i64 %8, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = add i64 %8, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = add i64 %8, 12\n %19 = inttoptr i64 %18 to i32*\n %20 = add i64 %8, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = add i64 %8, 32\n %23 = inttoptr i64 %22 to i32*\n %24 = ptrtoint i64* %sv_2 to i64\n %wide.trip.count = and i64 %arg2, 4294967295\n store i32 %9, i32* %.reg2mem\n store i32 %9, i32* %.reg2mem10\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.17.reg2mem\n br label LBL_4\n LBL_3:\n %25 = call i64 @FUNC(i64* nonnull @gv_0)\n store i64 %25, i64* %storemerge.reg2mem\n br label LBL_30\n LBL_4:\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %rcx.18.reload = load i64, i64* %rcx.18.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.reload11 = load i32, i32* %.reg2mem10\n %.reload = load i32, i32* %.reg2mem\n %26 = icmp eq i32 %sv_0.17.reload, 0\n %27 = add i64 %indvars.iv.reload, %arg1\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n br i1 %26, label LBL_26, label LBL_5\n LBL_5:\n %30 = sext i8 %29 to i64\n %31 = add nsw i64 %30, 4294967259\n %32 = and i64 %31, 4294967295\n store i64 %32, i64* @0, align 8\n %trunc = trunc i64 %31 to i32\n switch i32 %trunc, label LBL_24 [\n i32 0, label LBL_23\n i32 31, label LBL_10\n i32 35, label LBL_12\n i32 36, label LBL_14\n i32 40, label LBL_8\n i32 45, label LBL_22\n i32 46, label LBL_16\n i32 52, label LBL_6\n i32 60, label LBL_18\n i32 63, label LBL_11\n i32 67, label LBL_13\n i32 68, label LBL_15\n i32 72, label LBL_9\n i32 77, label LBL_21\n i32 78, label LBL_17\n i32 84, label LBL_7\n ]\n LBL_6:\n %33 = zext i32 %.reload to i64\n %34 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %33, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload, i32* %.reg2mem14\n store i64 %34, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_7:\n %35 = zext i32 %.reload11 to i64\n %36 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %35, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %36, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_8:\n %37 = load i32, i32* %15, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %38, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %39, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_9:\n %40 = load i32, i32* %15, align 4\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %41, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %42, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_10:\n %43 = load i32, i32* %21, align 4\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %44, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %45, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_11:\n %46 = load i32, i32* %21, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %47, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %48, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_12:\n %49 = load i32, i32* %19, align 4\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %50, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %51, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_13:\n %52 = load i32, i32* %19, align 4\n %53 = zext i32 %52 to i64\n %54 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %53, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %54, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_14:\n %55 = load i32, i32* %17, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %56, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %57, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_15:\n %58 = load i32, i32* %17, align 4\n %59 = zext i32 %58 to i64\n %60 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %59, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %60, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_16:\n %61 = load i64, i64* %11, align 8\n %62 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_3, i64 0, i64 0), i64 %61, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %62, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_17:\n %63 = load i64, i64* %11, align 8\n %64 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_4, i64 0, i64 0), i64 %63, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %64, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_18:\n %65 = load i32, i32* %23, align 4\n %66 = icmp eq i32 %65, -99999\n br i1 %66, label LBL_20, label LBL_19\n LBL_19:\n %67 = zext i32 %65 to i64\n %68 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i64 %67, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %68, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_20:\n %69 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_5, i64 0, i64 0), i64 %rcx.18.reload, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %69, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_21:\n %70 = load i32, i32* %13, align 4\n %71 = icmp eq i32 %70, 0\n %. = select i1 %71, i64 ptrtoint (i64* @gv_0 to i64), i64 ptrtoint (i64* @gv_6 to i64)\n %72 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_7, i64 0, i64 0), i64 %., i64 %2, i64 %1)\n %73 = trunc i64 %. to i32\n store i32 %73, i32* %.reg2mem12\n store i32 %73, i32* %.reg2mem14\n store i64 %72, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_22:\n %74 = load i32, i32* %13, align 4\n %75 = icmp eq i32 %74, 0\n %.5 = select i1 %75, i64 43, i64 45\n %76 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0), i64 %.5, i64 %2, i64 %1)\n %77 = trunc i64 %.5 to i32\n store i32 %77, i32* %.reg2mem12\n store i32 %77, i32* %.reg2mem14\n store i64 %76, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_23:\n %78 = call i64 @FUNC(i64* nonnull %sv_2, i64 32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i64 %rcx.18.reload, i64 %2, i64 %1)\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 %78, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_24:\n store i64 37, i64* %sv_2, align 8\n store i32 %.reload, i32* %.reg2mem12\n store i32 %.reload11, i32* %.reg2mem14\n store i64 2, i64* %sv_1.0.reg2mem\n br label LBL_25\n LBL_25:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.reload15 = load i32, i32* %.reg2mem14\n %.reload13 = load i32, i32* %.reg2mem12\n %sext6 = mul i64 %sv_1.0.reload, 4294967296\n %79 = ashr exact i64 %sext6, 32\n %80 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_2, i64 %79)\n store i32 %.reload13, i32* %.reg2mem16\n store i32 %.reload15, i32* %.reg2mem18\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %24, i64* %rcx.0.reg2mem\n br label LBL_28\n LBL_26:\n %81 = icmp eq i8 %29, 37\n %82 = icmp eq i1 %81, false\n store i32 %.reload, i32* %.reg2mem16\n store i32 %.reload11, i32* %.reg2mem18\n store i32 1, i32* %sv_0.0.reg2mem\n store i64 %rcx.18.reload, i64* %rcx.0.reg2mem\n br i1 %82, label LBL_27, label LBL_28\n LBL_27:\n %83 = sext i8 %29 to i64\n %84 = and i64 %83, 4294967295\n %85 = call i64 @FUNC(i64* nonnull %sv_3, i64 %84)\n store i32 %.reload, i32* %.reg2mem16\n store i32 %.reload11, i32* %.reg2mem18\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %rcx.18.reload, i64* %rcx.0.reg2mem\n br label LBL_28\n LBL_28:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload19 = load i32, i32* %.reg2mem18\n %.reload17 = load i32, i32* %.reg2mem16\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i32 %.reload17, i32* %.reg2mem\n store i32 %.reload19, i32* %.reg2mem10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.18.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem\n br i1 %exitcond, label LBL_29, label LBL_4\n LBL_29:\n %86 = call i64 @FUNC(i64* nonnull %sv_3)\n %87 = load i64, i64* %sv_3, align 8\n store i64 %87, i64* %storemerge.reg2mem\n br label LBL_30\n LBL_30:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8 %29, { 0, 2, 1 }\n uselistorder i32 %.reload, { 1, 0, 18, 3, 11, 10, 16, 8, 14, 6, 13, 5, 12, 4, 15, 7, 17, 2, 9, 19 }\n uselistorder i32 %.reload11, { 1, 0, 16, 2, 9, 8, 14, 7, 12, 5, 11, 4, 10, 3, 13, 6, 15, 17 }\n uselistorder i64 %rcx.18.reload, { 1, 0, 2, 3 }\n uselistorder i32* %21, { 1, 0 }\n uselistorder i32* %19, { 1, 0 }\n uselistorder i32* %17, { 1, 0 }\n uselistorder i32* %15, { 1, 0 }\n uselistorder i64* %11, { 1, 0 }\n uselistorder i64* %sv_3, { 3, 0, 1, 2, 4 }\n uselistorder i64* %sv_2, { 0, 19, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 }\n uselistorder i64 %2, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem10, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.18.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem12, { 0, 18, 1, 6, 15, 10, 9, 16, 7, 13, 4, 12, 3, 11, 2, 14, 5, 17, 8 }\n uselistorder i32* %.reg2mem14, { 0, 18, 1, 6, 15, 10, 9, 16, 7, 13, 4, 12, 3, 11, 2, 14, 5, 17, 8 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 18, 1, 6, 15, 10, 9, 16, 7, 13, 4, 12, 3, 11, 2, 14, 5, 17, 8 }\n uselistorder i32* %.reg2mem16, { 0, 3, 1, 2 }\n uselistorder i32* %.reg2mem18, { 0, 3, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 (i64*, i64, i8*, i64, i64, i64)* @slprintf, { 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), { 2, 1, 0, 3, 4 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i32 0, { 1, 0, 5, 6, 4, 7, 2, 3, 8 }\n uselistorder label LBL_28, { 1, 0, 2 }\n uselistorder label LBL_25, { 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_compr_allocate_buffer_3691", "fun_name": "snd_compr_allocate_buffer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = ptrtoint i32* %arg2 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = mul i32 %7, %2\n %9 = icmp eq i64* %arg1, null\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = zext i32 %8 to i64\n %11 = call i64 @FUNC(i64 %10, i64 0)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %sv_0.0.reg2mem\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_4\n LBL_3:\n %14 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %15 = add i64 %14, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %2, i32* %18, align 4\n %19 = load i64, i64* %16, align 8\n %20 = load i32, i32* %6, align 4\n %21 = add i64 %19, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = load i64, i64* %16, align 8\n %24 = add i64 %23, 8\n %25 = inttoptr i64 %24 to i64*\n store i64 %sv_0.0.reload, i64* %25, align 8\n %26 = load i64, i64* %16, align 8\n %27 = add i64 %26, 16\n %28 = inttoptr i64 %27 to i32*\n store i32 %8, i32* %28, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fw_cfg_add_bytes_404", "fun_name": "fw_cfg_add_bytes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = icmp ult i16 %arg2, 256\n %1 = icmp ult i64 %arg4, 4294967295\n %or.cond = icmp eq i1 %0, %1\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = urem i16 %arg2, 2\n %5 = icmp eq i16 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = zext i16 %arg2 to i64\n %8 = zext i1 %6 to i64\n %9 = mul i64 %8, 256\n %10 = add nuw nsw i64 %9, %7\n %11 = mul i64 %10, 16\n %12 = add i64 %11, %3\n %13 = inttoptr i64 %12 to i64*\n store i64 %2, i64* %13, align 8\n %14 = add i64 %12, 8\n %15 = trunc i64 %arg4 to i32\n %16 = inttoptr i64 %14 to i32*\n store i32 %15, i32* %16, align 4\n ret i64 %14\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i16 %arg2, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl3_send_server_certificate_8216", "fun_name": "ssl3_send_server_certificate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_8, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = add i64 %arg1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 4\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = add i64 %12, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = and i32 %19, 5\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 6, i64 7)\n %23 = inttoptr i64 %arg1 to i32*\n store i32 3, i32* %23, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %24 = call i64 @FUNC(i64 %arg1, i64 %5)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_6\n LBL_6:\n %28 = call i64 @FUNC(i64 6, i64 7)\n %29 = inttoptr i64 %arg1 to i32*\n store i32 3, i32* %29, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %30 = inttoptr i64 %arg1 to i32*\n store i32 2, i32* %30, align 4\n br label LBL_8\n LBL_8:\n %31 = call i64 @FUNC(i64 %arg1)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @SSLerr, { 1, 0 }\n uselistorder i64 %arg1, { 5, 3, 2, 4, 0, 1, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openpic_src_read_2861", "fun_name": "openpic_src_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %storemerge1.in.reg2mem = alloca i64\n %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %arg2)\n %1 = urem i64 %arg2, 16\n %2 = icmp eq i64 %1, 0\n store i64 4294967295, i64* %storemerge.in.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = udiv i64 %arg2, 32\n %5 = urem i64 %4, 2048\n %6 = and i64 %arg2, 16\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %3, i64 %5)\n store i64 %8, i64* %storemerge1.in.reg2mem\n br label LBL_4\n LBL_3:\n %9 = call i64 @FUNC(i64 %3, i64 %5)\n store i64 %9, i64* %storemerge1.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1.in.reload = load i64, i64* %storemerge1.in.reg2mem\n %storemerge1 = trunc i64 %storemerge1.in.reload to i32\n %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %storemerge1)\n %phitmp = and i64 %storemerge1.in.reload, 4294967295\n store i64 %phitmp, i64* %storemerge.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n ret i64 %storemerge.in.reload\n\n uselistorder i64 %storemerge1.in.reload, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %storemerge1.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 %arg2, { 2, 0, 1, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_set_hostname_5590", "fun_name": "ssl_set_hostname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = inttoptr i64 %arg2 to i8*\n %4 = call i32 @strlen(i8* %3)\n %5 = sext i32 %4 to i64\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = icmp eq i32 %4, -1\n %9 = icmp eq i1 %8, false\n %10 = icmp ult i32 %4, 256\n %or.cond = icmp eq i1 %10, %9\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_3\n LBL_2:\n %11 = add nsw i64 %5, 1\n %12 = call i64 @FUNC(i64 %11)\n store i64 %12, i64* %arg1, align 8\n %13 = load i64, i64* %7, align 8\n %14 = inttoptr i64 %11 to i64*\n %15 = inttoptr i64 %arg2 to i64*\n %16 = trunc i64 %13 to i32\n %17 = call i64* @memcpy(i64* %14, i64* %15, i32 %16)\n %18 = load i64, i64* %7, align 8\n %19 = add i64 %18, %11\n %20 = inttoptr i64 %19 to i8*\n store i8 0, i8* %20, align 1\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zgfx_context_new_10724", "fun_name": "zgfx_context_new", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %0 = call i64* @calloc(i32 1, i32 272)\n %1 = icmp eq i64* %0, null\n store i64 0, i64* %.pre-phi.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = bitcast i64* %0 to i32*\n %3 = trunc i64 %arg1 to i32\n store i32 %3, i32* %2, align 4\n %4 = ptrtoint i64* %0 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 256, i64* %6, align 8\n %7 = call i64 @FUNC(i64 %4, i64 0)\n store i64 %4, i64* %.pre-phi.reg2mem\n br label LBL_2\n LBL_2:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n ret i64 %.pre-phi.reload\n\n uselistorder i64* %0, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_cpuinfo_2542", "fun_name": "read_cpuinfo", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i8, align 1\n %1 = and i64 %arg3, 4294967295\n %2 = call i32 @strlen(i8* %arg1)\n %3 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0))\n %4 = icmp eq %_IO_FILE* %3, null\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_6\n LBL_1:\n %6 = call i8* @fgets(i8* nonnull %sv_1, i32 512, %_IO_FILE* %3)\n %7 = icmp eq i8* %6, null\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_5, label LBL_2\n LBL_2:\n %8 = call i32 @strncmp(i8* nonnull %sv_1, i8* %arg1, i32 %2)\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = bitcast i8* %sv_1 to i64*\n %12 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull %11)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n %13 = load i8, i8* %sv_1, align 1\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = call i32 @fclose(%_IO_FILE* %3)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %sv_1, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 1, 0, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_bitstream_putbits_10767", "fun_name": "jpc_bitstream_putbits", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %.in.reg2mem = alloca i32\n %0 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = icmp sgt i32 %0, -1\n %3 = trunc i64 %1 to i32\n %4 = icmp slt i32 %3, 32\n %or.cond = icmp eq i1 %2, %4\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_6\n LBL_1:\n %5 = urem i64 %1, 64\n %phitmp = shl i64 -1, %5\n %6 = and i64 %phitmp, %arg3\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_1, i64 0, i64 0), i32 26, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add nsw i64 %1, 63\n %10 = urem i64 %9, 64\n %11 = add i32 %3, -1\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32 %11, i32* %.in.reg2mem\n store i64 %arg3, i64* %sv_0.05.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_6\n LBL_4:\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %storemerge23 = lshr i64 %sv_0.05.reload, %10\n %14 = urem i64 %storemerge23, 2\n %15 = call i64 @FUNC(i64 %8, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, -1\n %18 = icmp eq i1 %17, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_5, label LBL_6\n LBL_5:\n %.in.reload = load i32, i32* %.in.reg2mem\n %19 = mul i64 %sv_0.05.reload, 2\n %20 = add i32 %.in.reload, -1\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i32 %20, i32* %.in.reg2mem\n store i64 %19, i64* %sv_0.05.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_4, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.05.reload, { 1, 0 }\n uselistorder i64 %1, { 2, 0, 1 }\n uselistorder i32* %.in.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 -1, { 3, 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migrate_get_current_3083", "fun_name": "migrate_get_current", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n ret i64 ptrtoint (i64* @gv_0 to i64)\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qvirtio_pci_get_features_14136", "fun_name": "qvirtio_pci_get_features", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = call i64 @FUNC(i64 %arg1, i64 %2)\n ret i64 %3\n\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tee_shm_release_6964", "fun_name": "tee_shm_release", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = and i64 %1, 5\n %5 = icmp eq i64 %4, 4\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %8 = load i64, i64* %7, align 8\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = add i64 %3, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %2, i32 %9)\n br label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %2)\n br label LBL_4\n LBL_4:\n %16 = load i64, i64* %7, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %2)\n %19 = call i64 @FUNC(i64 %3)\n ret i64 %19\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ocfs2_test_inode_bit_17946", "fun_name": "ocfs2_test_inode_bit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.04.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i64, align 8\n store i64 0, i64* %sv_4, align 8\n store i32 0, i32* %sv_3, align 4\n store i32 0, i32* %sv_2, align 4\n store i64 0, i64* %sv_1, align 8\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = ptrtoint i64* %sv_4 to i64\n %5 = ptrtoint i32* %sv_3 to i64\n %6 = bitcast i32* %sv_2 to i16*\n %7 = bitcast i32* %sv_3 to i16*\n %8 = call i64 @FUNC(i64 %2, i64 %arg2, i16* nonnull %6, i64* nonnull %sv_4, i16* nonnull %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = and i64 %8, 4294967295\n %13 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i64 %12, i64 %4, i64 %5, i64 %1)\n store i32 %9, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_2:\n %14 = load i32, i32* %sv_2, align 4\n %15 = urem i32 %14, 65536\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %2, i64 0, i64 %16)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = load i32, i32* %sv_2, align 4\n %21 = urem i32 %20, 65536\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 %22, i64 %4, i64 %5, i64 %1)\n store i32 -22, i32* %sv_0.03.reg2mem\n br label LBL_10\n LBL_4:\n %24 = call i64 @FUNC(i64 %17)\n %25 = call i64 @FUNC(i64 %17, i64* nonnull %sv_1, i64 0)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = call i64 @FUNC(i64 %17)\n %30 = load i32, i32* %sv_2, align 4\n %31 = and i64 %25, 4294967295\n %32 = urem i32 %30, 65536\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_2, i64 0, i64 0), i64 %33, i64 %31, i64 %5, i64 %1)\n store i32 %26, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n %35 = load i32, i32* %sv_3, align 4\n %36 = load i64, i64* %sv_4, align 8\n %37 = load i64, i64* %sv_1, align 8\n %38 = urem i32 %35, 65536\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %2, i64 %17, i64 %37, i64 %36, i64 %arg2, i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_8, label LBL_7\n LBL_7:\n %44 = and i64 %40, 4294967295\n %45 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %44, i64 %36, i64 %arg2, i64 %39)\n br label LBL_8\n LBL_8:\n %46 = call i64 @FUNC(i64 %17, i64 0)\n %47 = call i64 @FUNC(i64 %17)\n %48 = call i64 @FUNC(i64 %17)\n %49 = load i64, i64* %sv_1, align 8\n %50 = call i64 @FUNC(i64 %49)\n store i32 %41, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %51 = icmp eq i32 %sv_0.0.reload, 0\n store i32 %sv_0.0.reload, i32* %sv_0.03.reg2mem\n store i32 0, i32* %sv_0.04.reg2mem\n br i1 %51, label LBL_11, label LBL_10\n LBL_10:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %52 = zext i32 %sv_0.03.reload to i64\n %53 = call i64 @FUNC(i64 %52)\n store i32 %sv_0.03.reload, i32* %sv_0.04.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %54 = zext i32 %sv_0.04.reload to i64\n ret i64 %54\n\n uselistorder i64 %17, { 3, 2, 1, 4, 0, 6, 5, 7 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %sv_4, { 1, 0, 2, 3 }\n uselistorder i32* %sv_3, { 2, 3, 1, 0 }\n uselistorder i32* %sv_2, { 3, 2, 1, 4, 0 }\n uselistorder i64* %sv_1, { 1, 2, 0, 3 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.04.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @mlog, { 3, 2, 1, 0 }\n uselistorder i32 0, { 0, 3, 4, 5, 6, 1, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "print_wrid_2043", "fun_name": "print_wrid", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = icmp slt i32 %0, 100\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load [25 x i8]*, [25 x i8]** @gv_0, align 8\n %3 = ptrtoint [25 x i8]* %2 to i64\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %4 = ashr exact i64 %sext, 29\n %5 = add i64 %4, ptrtoint ([100 x i8*]* @gv_1 to i64)\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "on_accept_5469", "fun_name": "on_accept", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = load i32, i32* %0\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 1\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = call i32* @__errno_location()\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 11\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i32* @__errno_location()\n %9 = load i32, i32* %8, align 4\n %10 = call i8* @strerror(i32 %9)\n %11 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %12 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %11, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i8* %10)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %13 = urem i32 %2, 65536\n %14 = add nuw nsw i32 %13, 1\n %15 = call i64* @malloc(i32 %14)\n %16 = call i32* @__errno_location()\n %17 = load i32, i32* %16, align 4\n %18 = call i8* @strerror(i32 %17)\n %19 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %20 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %19, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i8* %18)\n %21 = sext i32 %20 to i64\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cmv_process_header_2216", "fun_name": "cmv_process_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i64* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n store i64 %6, i64* %rdi, align 8\n %7 = sub i64 %4, %5\n %8 = icmp sgt i64 %7, 15\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %10 = add i64 %5, 4\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = urem i32 %12, 65536\n %14 = add i64 %6, 1032\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = add i64 %5, 6\n store i64 %16, i64* %rdi, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = urem i32 %18, 65536\n %20 = add i64 %6, 1036\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %22 = bitcast i64* %rdi to i32*\n %23 = load i32, i32* %22, align 8\n %24 = load i32, i32* %15, align 4\n %25 = icmp eq i32 %23, %24\n %26 = icmp eq i1 %25, false\n %.pre = load i64, i64* %rdi, align 8\n br i1 %26, label LBL_4, label LBL_3\n LBL_3:\n %27 = add i64 %.pre, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, %19\n br i1 %30, label LBL_5, label LBL_4\n LBL_4:\n %31 = zext i32 %24 to i64\n %32 = call i64 @FUNC(i64 %.pre, i64 %31, i32 %19)\n br label LBL_5\n LBL_5:\n %33 = add i64 %.pre, 8\n %34 = inttoptr i64 %33 to i32*\n store i32 1, i32* %34, align 4\n %35 = add i64 %5, 10\n %36 = call i64 @FUNC(i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = urem i32 %37, 65536\n %39 = add i64 %5, 22\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = add i64 %5, 12\n %42 = call i64 @FUNC(i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = urem i32 %43, 65536\n %45 = add i64 %5, 14\n %46 = call i64 @FUNC(i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = urem i32 %47, 65536\n %49 = add nuw nsw i32 %48, %44\n %50 = zext i32 %49 to i64\n %51 = icmp eq i32 %48, 0\n %52 = icmp ugt i32 %44, 255\n %or.cond2 = or i1 %52, %51\n store i64 %50, i64* %rax.0.reg2mem\n br i1 %or.cond2, label LBL_9, label LBL_6\n LBL_6:\n %53 = zext i32 %44 to i64\n %54 = add i64 %5, 16\n %55 = add i64 %6, 8\n store i64 %53, i64* %indvars.iv.reg2mem\n store i64 %54, i64* %sv_0.03.reg2mem\n br label LBL_8\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %56 = call i64 @FUNC(i64 %sv_0.03.reload)\n %57 = trunc i64 %56 to i32\n %58 = mul i64 %indvars.iv.reload, 4\n %59 = add i64 %55, %58\n %60 = inttoptr i64 %59 to i32*\n store i32 %57, i32* %60, align 4\n %61 = add i64 %sv_0.03.reload, 3\n %62 = trunc i64 %indvars.iv.reload to i32\n %63 = add i32 %62, 1\n %64 = sext i32 %63 to i64\n %65 = icmp sge i64 %64, %50\n %66 = icmp sgt i32 %63, 255\n %or.cond = or i1 %66, %65\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %61, i64* %sv_0.03.reg2mem\n store i64 %50, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_8\n LBL_8:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %67 = sub i64 %4, %sv_0.03.reload\n %68 = icmp sgt i64 %67, 2\n store i64 %67, i64* %rax.0.reg2mem\n br i1 %68, label LBL_7, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.03.reload, { 2, 1, 0 }\n uselistorder i32 %63, { 1, 0 }\n uselistorder i64 %50, { 0, 2, 1 }\n uselistorder i32 %19, { 2, 1, 0 }\n uselistorder i64 %6, { 1, 2, 3, 0, 4 }\n uselistorder i64 %5, { 0, 2, 1, 4, 3, 5, 6, 7 }\n uselistorder i64* %rdi, { 0, 2, 1, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 255, { 1, 0 }\n uselistorder i64 (i64)* @AV_RL16, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ide_flush_cache_15286", "fun_name": "ide_flush_cache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %0, i64 0)\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = or i32 %6, 1\n store i32 %7, i32* %5, align 4\n %8 = call i64 @FUNC(i64 %0)\n %9 = add i64 %0, 24\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i64 %10, i64 %9, i64 0, i64 0)\n %12 = call i64 @FUNC(i64 %10, i64 4198662, i64 %0)\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 4, 2, 3, 1, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "destroy_node_12067", "fun_name": "destroy_node", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %arg1, i64* nonnull @gv_0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_2:\n %6 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0)\n %7 = load i64, i64* @gv_2, align 8\n %8 = load i64, i64* %sv_0, align 8\n %9 = call i64 @FUNC(i64 %7, i64 %8, i64 %1)\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = call i64 @FUNC(i64 %10, i64 %arg1)\n ret i64 0\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i32 1, { 3, 1, 0, 2 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "serial_tty_free_4627", "fun_name": "serial_tty_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %3 = icmp eq i64 %arg1, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = icmp slt i32 %4, 0\n %.pre = add i64 %arg1, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %6 = load i64, i64* %.pre1, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = inttoptr i64 %6 to %termios*\n %9 = call i32 @tcsetattr(i32 %4, i32 0, %termios* %8)\n br label LBL_4\n LBL_4:\n %10 = call i32 @close(i32 %4)\n br label LBL_5\n LBL_5:\n %11 = add i64 %arg1, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i64*\n call void @free(i64* %14)\n %15 = load i64, i64* %.pre1, align 8\n %16 = inttoptr i64 %15 to i64*\n call void @free(i64* %16)\n %17 = inttoptr i64 %arg1 to i64*\n call void @free(i64* %17)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %4, { 0, 2, 1 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "install_thread_keyring_to_cred_13756", "fun_name": "install_thread_keyring_to_cred", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = add i64 %2, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %10, i32 %9, i64 %2, i64 0, i64 0)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_3\n LBL_2:\n store i64 %11, i64* %4, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ehci_state_fetchsitd_10789", "fun_name": "ehci_state_fetchsitd", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %sv_0 = alloca i32, align 4\n %2 = trunc i64 %arg2 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = and i64 %arg2, 4294967295\n %5 = ptrtoint i32* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = bitcast i32* %sv_0 to i64*\n %9 = call i64 @FUNC(i64 %5, i32 %7, i64* nonnull %8, i64 2)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %12, label LBL_3, label LBL_6\n LBL_3:\n %13 = and i64 %6, 4294967295\n %14 = call i64 @FUNC(i64 %5, i64 %13, i64* nonnull %8)\n %15 = load i32, i32* %sv_0, align 4\n %16 = urem i32 %15, 2\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %19 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_4 to i64*), i32 1, i32 30, %_IO_FILE* %18)\n br label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %5, i64 %4, i32 %1)\n %21 = call i64 @FUNC(i64 %5, i64 %4, i64 2)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 1, 0, 2, 3, 4 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tss_invalidate_io_bitmap_18969", "fun_name": "tss_invalidate_io_bitmap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4294967295, i64* %arg1, align 8\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mark_screen_rdonly_7376", "fun_name": "mark_screen_rdonly", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32\n %0 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 655360)\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_8, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %2, i64 655360)\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %7, i64 655360)\n %13 = call i64 @FUNC(i64 %0, i64 %12)\n %14 = call i64 @FUNC(i64 %12)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_8, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %0, i64 %12, i64 655360, i64* nonnull %sv_0)\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %19 = call i64 @FUNC()\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC()\n %23 = call i64 @FUNC(i64 %18)\n br label LBL_6\n LBL_6:\n %24 = add nuw nsw i32 %storemerge2.reload, 1\n %exitcond = icmp eq i32 %24, 32\n store i32 %24, i32* %storemerge2.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n %25 = load i64, i64* %sv_0, align 8\n %26 = call i64 @FUNC(i64 %18, i64 %25)\n br label LBL_8\n LBL_8:\n %27 = call i64 @FUNC(i64 %0)\n %28 = call i64 @FUNC()\n ret i64 %28\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_8, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "srt_get_duration_1474", "fun_name": "srt_get_duration", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %storemerge11.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %sv_7 = alloca i64, align 8\n %sv_8 = alloca i64, align 8\n %sv_9 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_9 to i64\n %2 = add i64 %1, -8\n %3 = inttoptr i64 %2 to i64*\n %4 = ptrtoint i32* %sv_4 to i64\n %5 = add i64 %1, -16\n %6 = inttoptr i64 %5 to i64*\n %7 = ptrtoint i32* %sv_3 to i64\n %8 = add i64 %1, -24\n %9 = inttoptr i64 %8 to i64*\n %10 = ptrtoint i32* %sv_2 to i64\n %11 = add i64 %1, -32\n %12 = inttoptr i64 %11 to i64*\n %13 = ptrtoint i32* %sv_1 to i64\n %14 = bitcast i64* %arg1 to i8*\n store i64 0, i64* %.reg2mem\n store i64* null, i64** %storemerge11.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge11.reload = load i64*, i64** %storemerge11.reg2mem\n %.reload = load i64, i64* %.reg2mem\n store i64 %4, i64* %3, align 8\n store i64 %7, i64* %6, align 8\n store i64 %10, i64* %9, align 8\n store i64 %13, i64* %12, align 8\n %15 = call i32 (i8*, i8*, ...) @sscanf(i8* %14, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_5, i64* nonnull %sv_6, i64* nonnull %sv_7, i64* nonnull %sv_8, i64* %storemerge11.reload)\n %16 = icmp eq i32 %15, 8\n %17 = icmp eq i1 %16, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = load i64, i64* %sv_5, align 8\n %19 = mul i64 %18, 60\n %20 = load i64, i64* %sv_6, align 8\n %21 = add i64 %19, %20\n %sext6 = mul i64 %21, 4294967296\n %22 = ashr exact i64 %sext6, 32\n store i64 %22, i64* %sv_6, align 8\n %23 = load i32, i32* %sv_1, align 4\n %24 = mul i32 %23, 60\n %25 = load i32, i32* %sv_2, align 4\n %26 = add i32 %25, %24\n store i32 %26, i32* %sv_2, align 4\n %27 = mul nsw i64 %22, 60\n %28 = load i64, i64* %sv_7, align 8\n %29 = add i64 %28, %27\n %sext7 = mul i64 %29, 4294967296\n %30 = ashr exact i64 %sext7, 32\n store i64 %30, i64* %sv_7, align 8\n %31 = mul i32 %26, 60\n %32 = load i32, i32* %sv_3, align 4\n %33 = add i32 %32, %31\n store i32 %33, i32* %sv_3, align 4\n %34 = mul nsw i64 %30, 1000\n %35 = load i64, i64* %sv_8, align 8\n %36 = add i64 %35, %34\n %sext8 = mul i64 %36, 4294967296\n %37 = ashr exact i64 %sext8, 32\n store i64 %37, i64* %sv_8, align 8\n %38 = mul i32 %33, 1000\n %39 = load i32, i32* %sv_4, align 4\n %40 = add i32 %39, %38\n store i32 %40, i32* %sv_4, align 4\n %41 = trunc i64 %37 to i32\n %42 = sub i32 %40, %41\n store i32 %42, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %43 = call i64 @FUNC(i64 %0)\n %sext9 = mul i64 %43, 4294967296\n %44 = ashr exact i64 %sext9, 32\n %45 = add i64 %44, %0\n store i64 %45, i64* %arg1, align 8\n %46 = add nuw nsw i64 %.reload, 1\n %47 = and i64 %46, 4294967295\n %48 = inttoptr i64 %47 to i64*\n %49 = trunc i64 %46 to i32\n %50 = icmp slt i32 %49, 2\n %51 = icmp eq i32 %sv_0.0.reload, 0\n %or.cond = icmp eq i1 %50, %51\n store i64 %47, i64* %.reg2mem\n store i64* %48, i64** %storemerge11.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_4\n LBL_4:\n %52 = zext i32 %sv_0.0.reload to i64\n ret i64 %52\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_8, { 1, 2, 0 }\n uselistorder i64* %sv_7, { 1, 2, 0 }\n uselistorder i64* %sv_6, { 1, 2, 0 }\n uselistorder i64* %sv_5, { 1, 0 }\n uselistorder i32* %sv_4, { 2, 1, 0 }\n uselistorder i32* %sv_3, { 2, 1, 0 }\n uselistorder i32* %sv_2, { 2, 1, 0 }\n uselistorder i32* %sv_1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64** %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ecc_reset_16222", "fun_name": "ecc_reset", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = bitcast i64* %rdi to i32*\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 4\n %5 = inttoptr i64 %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = load i32, i32* %2, align 8\n %7 = or i32 %6, 4\n store i32 %7, i32* %5, align 4\n %8 = add i64 %arg1, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 32, i32* %9, align 4\n %10 = add i64 %arg1, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %arg1, 12\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %arg1, 16\n %15 = inttoptr i64 %14 to i32*\n store i32 130023424, i32* %15, align 4\n %16 = add i64 %arg1, 20\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %arg1, 24\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %arg1, 28\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %arg1, 32\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n store i64 1, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %24 = mul i64 %indvars.iv.reload, 4\n %25 = add i64 %24, %arg1\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %arg1\n\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_init_4044", "fun_name": "decode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n %7 = add i64 %3, 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC()\n %10 = add i64 %3, 16\n %11 = call i64 @FUNC(i64 %10, i64 %0)\n %12 = add i64 %0, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = bitcast i64* %rdi to i32*\n %16 = load i32, i32* %15, align 8\n %17 = call i64 @FUNC(i64 %3, i64 %0, i32 %16, i32 %14)\n ret i64 %17\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_isom_delete_movie_6016", "fun_name": "gf_isom_delete_movie", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_22, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %4)\n br label LBL_3\n LBL_3:\n %7 = add i64 %arg1, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 %9)\n br label LBL_5\n LBL_5:\n %12 = add i64 %arg1, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %arg1, 32\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %arg1, 40\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %22)\n br label LBL_7\n LBL_7:\n %25 = add i64 %arg1, 48\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n br i1 %28, label LBL_9, label LBL_8\n LBL_8:\n %29 = call i64 @FUNC(i64 %27)\n br label LBL_9\n LBL_9:\n %30 = add i64 %arg1, 56\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_11, label LBL_10\n LBL_10:\n %34 = call i64 @FUNC(i64 %32)\n br label LBL_11\n LBL_11:\n %35 = add i64 %arg1, 64\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = icmp eq i64 %37, 0\n br i1 %38, label LBL_13, label LBL_12\n LBL_12:\n %39 = call i64 @FUNC(i64 %37)\n br label LBL_13\n LBL_13:\n %40 = add i64 %arg1, 72\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_15, label LBL_14\n LBL_14:\n %44 = call i64 @FUNC(i64 %42)\n br label LBL_15\n LBL_15:\n %45 = add i64 %arg1, 80\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = icmp eq i64 %47, 0\n br i1 %48, label LBL_17, label LBL_16\n LBL_16:\n %49 = call i64 @FUNC(i64 %47)\n br label LBL_17\n LBL_17:\n %50 = add i64 %arg1, 88\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = icmp eq i64 %52, 0\n br i1 %53, label LBL_19, label LBL_18\n LBL_18:\n %54 = call i64 @FUNC(i64 %52)\n br label LBL_19\n LBL_19:\n %55 = add i64 %arg1, 96\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = icmp eq i64 %57, 0\n br i1 %58, label LBL_21, label LBL_20\n LBL_20:\n %59 = call i64 @FUNC(i64 %57)\n br label LBL_21\n LBL_21:\n %60 = call i64 @FUNC(i64 %arg1)\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @gf_isom_box_del, { 2, 1, 0 }\n uselistorder i64 (i64)* @gf_isom_box_array_del, { 2, 1, 0 }\n uselistorder i64 (i64)* @gf_free, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @gf_isom_datamap_del, { 1, 0 }\n uselistorder label LBL_22, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "openpic_reset_2212", "fun_name": "openpic_reset", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv7.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = inttoptr i64 %0 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = add i32 %4, -1\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, -1\n %10 = or i32 %9, %5\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = or i32 %10, %13\n %15 = add i64 %0, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = add i64 %0, 20\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %0, 48\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = add i64 %0, 32\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %0, 28\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %0, 44\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_3, label LBL_1\n LBL_1:\n %33 = add i64 %0, 36\n %34 = inttoptr i64 %33 to i32*\n %35 = add i64 %0, 40\n %36 = inttoptr i64 %35 to i32*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge36.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %37 = load i32, i32* %34, align 4\n %38 = mul i64 %.reload, 8\n %39 = add i64 %38, %0\n %40 = add i64 %39, 52\n %41 = inttoptr i64 %40 to i32*\n store i32 %37, i32* %41, align 4\n %42 = load i32, i32* %36, align 4\n %43 = add i64 %39, 56\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i32 %storemerge36.reload, 1\n %46 = load i32, i32* %30, align 4\n %47 = zext i32 %46 to i64\n %48 = sext i32 %45 to i64\n %49 = icmp slt i64 %48, %47\n store i64 %48, i64* %.reg2mem\n store i32 %45, i32* %storemerge36.reg2mem\n br i1 %49, label LBL_2, label LBL_3\n LBL_3:\n store i64 0, i64* %indvars.iv7.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem\n %50 = mul nuw nsw i64 %indvars.iv7.reload, 12\n %51 = add i64 %50, %0\n %52 = add i64 %51, 84\n %53 = inttoptr i64 %52 to i32*\n store i32 15, i32* %53, align 4\n %54 = add i64 %51, 88\n %55 = inttoptr i64 %54 to i64*\n %56 = call i64* @memset(i64* %55, i32 0, i32 4)\n %57 = inttoptr i64 %54 to i32*\n store i32 -1, i32* %57, align 4\n %58 = add i64 %51, 92\n %59 = inttoptr i64 %58 to i64*\n %60 = call i64* @memset(i64* %59, i32 0, i32 4)\n %61 = inttoptr i64 %58 to i32*\n store i32 -1, i32* %61, align 4\n %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1\n %exitcond9 = icmp eq i64 %indvars.iv.next8, 4\n store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond9, label LBL_5, label LBL_4\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %62 = mul i64 %indvars.iv.reload, 8\n %63 = add i64 %62, %0\n %64 = add i64 %63, 132\n %65 = inttoptr i64 %64 to i32*\n store i32 0, i32* %65, align 4\n %66 = add i64 %63, 136\n %67 = inttoptr i64 %66 to i32*\n store i32 0, i32* %67, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n store i32 0, i32* %1, align 4\n ret i64 %0\n\n uselistorder i64 %51, { 1, 0, 2 }\n uselistorder i32* %30, { 1, 0 }\n uselistorder i64 %0, { 4, 0, 1, 2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 7 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i32 -1, { 2, 3, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_dumping_18770", "fun_name": "init_dumping", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %3 = load i64, i64* @gv_0, align 8\n %4 = call i64 @FUNC(i64 %3, i64 %arg1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = load i64, i64* @gv_0, align 8\n %8 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_2:\n %9 = load i64, i64* @gv_2, align 8\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = load i32, i32* @gv_3, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %14, label LBL_6, label LBL_4\n LBL_4:\n %15 = load i32, i32* @gv_4, align 4\n %16 = load i32, i32* @gv_5, align 4\n %17 = or i32 %16, %15\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = load i32, i32* @gv_6, align 4\n %20 = call i64 @FUNC(i64 %arg1, i64* nonnull %sv_0, i32 %19)\n %21 = load %_IO_FILE*, %_IO_FILE** @gv_7, align 8\n %22 = ptrtoint %_IO_FILE* %21 to i64\n %23 = call i64 @FUNC(i64 %22, i64 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_8, i64 0, i64 0), i64 %20, i64 %2, i64 %1)\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_7, align 8\n %25 = inttoptr i64 %20 to i8*\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_9, i64 0, i64 0), i8* %25)\n %27 = load %_IO_FILE*, %_IO_FILE** @gv_7, align 8\n %28 = ptrtoint %_IO_FILE* %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 4, 2, 1, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder i32 0, { 0, 5, 6, 1, 2, 3, 4 }\n uselistorder i32 1, { 7, 4, 3, 5, 6, 2, 8, 1, 0 }\n uselistorder label LBL_6, { 2, 3, 1, 0, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "aggr_mtu_range_intersection_4329", "fun_name": "aggr_mtu_range_intersection", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_1.111.reg2mem = alloca i32\n %sv_2.013.reg2mem = alloca i32\n %sv_0.114.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_3.1.lcssa4546.reg2mem = alloca i32\n %storemerge17.reg2mem = alloca i32\n %.reg2mem53 = alloca i64\n %indvars.iv31.reg2mem = alloca i32\n %indvars.iv33.reg2mem = alloca i64\n %sv_3.1.lcssa44.reg2mem = alloca i32\n %.reg2mem51 = alloca i64\n %sv_3.0.lcssa.reg2mem = alloca i32\n %sv_3.018.reg2mem = alloca i32\n %storemerge719.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_3.122.reg2mem = alloca i32\n %indvars.iv36.reg2mem = alloca i64\n %sv_4.0.off09.lcssa.reg2mem = alloca i64\n %sv_4.0.off0.lcssa.reg2mem = alloca i32\n %sv_4.0.off025.reg2mem = alloca i32\n %indvars.iv40.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp sgt i32 %1, 0\n store i32 0, i32* %sv_4.0.off0.lcssa.reg2mem\n store i64 0, i64* %sv_4.0.off09.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %wide.trip.count42 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv40.reg2mem\n store i32 0, i32* %sv_4.0.off025.reg2mem\n br label LBL_2\n LBL_2:\n %sv_4.0.off025.reload = load i32, i32* %sv_4.0.off025.reg2mem\n %indvars.iv40.reload = load i64, i64* %indvars.iv40.reg2mem\n %3 = mul i64 %indvars.iv40.reload, 8\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, %sv_4.0.off025.reload\n %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40.reload, 1\n %exitcond43 = icmp eq i64 %indvars.iv.next41, %wide.trip.count42\n store i64 %indvars.iv.next41, i64* %indvars.iv40.reg2mem\n store i32 %9, i32* %sv_4.0.off025.reg2mem\n br i1 %exitcond43, label LBL_3, label LBL_2\n LBL_3:\n %extract.t10.le = sext i32 %9 to i64\n store i32 %9, i32* %sv_4.0.off0.lcssa.reg2mem\n store i64 %extract.t10.le, i64* %sv_4.0.off09.lcssa.reg2mem\n br label LBL_4\n LBL_4:\n %sv_4.0.off09.lcssa.reload = load i64, i64* %sv_4.0.off09.lcssa.reg2mem\n %sv_4.0.off0.lcssa.reload = load i32, i32* %sv_4.0.off0.lcssa.reg2mem\n %10 = mul i64 %sv_4.0.off09.lcssa.reload, 8\n %11 = call i64 @FUNC(i64 %10, i64 0)\n %12 = mul i64 %sv_4.0.off09.lcssa.reload, 8589934592\n %13 = ashr exact i64 %12, 29\n %14 = call i64 @FUNC(i64 %13, i64 0)\n store i64 4294967295, i64* %.reg2mem51\n store i32 0, i32* %sv_3.1.lcssa44.reg2mem\n br i1 %2, label LBL_5, label LBL_10\n LBL_5:\n %wide.trip.count38 = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv36.reg2mem\n store i32 0, i32* %sv_3.122.reg2mem\n br label LBL_6\n LBL_6:\n %sv_3.122.reload = load i32, i32* %sv_3.122.reg2mem\n %indvars.iv36.reload = load i64, i64* %indvars.iv36.reg2mem\n %15 = mul i64 %indvars.iv36.reload, 8\n %16 = add i64 %15, %0\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %18 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge719.reg2mem\n store i32 %sv_3.122.reload, i32* %sv_3.018.reg2mem\n store i32 %sv_3.122.reload, i32* %sv_3.0.lcssa.reg2mem\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %sv_3.018.reload = load i32, i32* %sv_3.018.reg2mem\n %storemerge719.reload = load i32, i32* %storemerge719.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %25 = mul i64 %.reload, 8\n %26 = add i64 %25, %21\n %27 = sext i32 %sv_3.018.reload to i64\n %28 = mul i64 %27, 8\n %29 = add i64 %28, %14\n %30 = inttoptr i64 %26 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = inttoptr i64 %29 to i32*\n store i32 %31, i32* %32, align 4\n %33 = add i32 %sv_3.018.reload, 1\n %34 = add i64 %29, 4\n %35 = inttoptr i64 %34 to i32*\n store i32 1, i32* %35, align 4\n %36 = sext i32 %33 to i64\n %37 = mul i64 %36, 8\n %38 = add i64 %37, %14\n %39 = add i64 %26, 4\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = inttoptr i64 %38 to i32*\n store i32 %41, i32* %42, align 4\n %43 = add i32 %sv_3.018.reload, 2\n %44 = add i64 %38, 4\n %45 = inttoptr i64 %44 to i32*\n store i32 -1, i32* %45, align 4\n %46 = add i32 %storemerge719.reload, 1\n %47 = load i64, i64* %17, align 8\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = zext i32 %49 to i64\n %51 = sext i32 %46 to i64\n %52 = icmp slt i64 %51, %50\n store i64 %51, i64* %.reg2mem\n store i32 %46, i32* %storemerge719.reg2mem\n store i32 %43, i32* %sv_3.018.reg2mem\n store i32 %43, i32* %sv_3.0.lcssa.reg2mem\n br i1 %52, label LBL_7, label LBL_8\n LBL_8:\n %sv_3.0.lcssa.reload = load i32, i32* %sv_3.0.lcssa.reg2mem\n %indvars.iv.next37 = add nuw nsw i64 %indvars.iv36.reload, 1\n %exitcond39 = icmp eq i64 %indvars.iv.next37, %wide.trip.count38\n store i64 %indvars.iv.next37, i64* %indvars.iv36.reg2mem\n store i32 %sv_3.0.lcssa.reload, i32* %sv_3.122.reg2mem\n br i1 %exitcond39, label LBL_9, label LBL_6\n LBL_9:\n %53 = add i32 %sv_3.0.lcssa.reload, -1\n %54 = zext i32 %53 to i64\n %55 = icmp eq i32 %53, 0\n store i64 %54, i64* %.reg2mem51\n store i32 %sv_3.0.lcssa.reload, i32* %sv_3.1.lcssa44.reg2mem\n store i32 1, i32* %sv_3.1.lcssa4546.reg2mem\n br i1 %55, label LBL_20, label LBL_10\n LBL_10:\n %sv_3.1.lcssa44.reload = load i32, i32* %sv_3.1.lcssa44.reg2mem\n %.reload52 = load i64, i64* %.reg2mem51\n store i32 1, i32* %indvars.iv31.reg2mem\n store i64 0, i64* %.reg2mem53\n store i32 0, i32* %storemerge17.reg2mem\n br label LBL_17\n LBL_11:\n %indvars.iv33.reload = load i64, i64* %indvars.iv33.reg2mem\n %56 = load i32, i32* %78, align 4\n %57 = mul i64 %indvars.iv33.reload, 8\n %58 = add i64 %57, %14\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = icmp ugt i32 %56, %60\n br i1 %61, label LBL_14, label LBL_12\n LBL_12:\n %62 = icmp eq i32 %56, %60\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_15, label LBL_13\n LBL_13:\n %64 = load i32, i32* %80, align 4\n %65 = add i64 %58, 4\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = icmp ult i32 %64, %67\n br i1 %68, label LBL_14, label LBL_15\n LBL_14:\n %69 = load i64, i64* %81, align 8\n %70 = inttoptr i64 %58 to i64*\n %71 = load i64, i64* %70, align 8\n store i64 %71, i64* %81, align 8\n store i64 %69, i64* %70, align 8\n br label LBL_15\n LBL_15:\n %indvars.iv.next34 = add nsw i64 %indvars.iv33.reload, 1\n %lftr.wideiv49 = trunc i64 %indvars.iv.next34 to i32\n %exitcond50 = icmp eq i32 %sv_3.1.lcssa44.reload, %lftr.wideiv49\n store i64 %indvars.iv.next34, i64* %indvars.iv33.reg2mem\n br i1 %exitcond50, label LBL_16, label LBL_11\n LBL_16:\n %72 = sext i32 %storemerge615 to i64\n %73 = icmp sgt i64 %.reload52, %72\n %indvars.iv.next32 = add i32 %indvars.iv31.reload, 1\n store i32 %indvars.iv.next32, i32* %indvars.iv31.reg2mem\n store i64 %72, i64* %.reg2mem53\n store i32 %storemerge615, i32* %storemerge17.reg2mem\n br i1 %73, label LBL_17, label LBL_19\n LBL_17:\n %storemerge17.reload = load i32, i32* %storemerge17.reg2mem\n %indvars.iv31.reload = load i32, i32* %indvars.iv31.reg2mem\n %storemerge615 = add i32 %storemerge17.reload, 1\n %74 = icmp slt i32 %storemerge615, %sv_3.1.lcssa44.reload\n br i1 %74, label LBL_11.lr.ph, label LBL_16\n LBL_18:\n %.reload54 = load i64, i64* %.reg2mem53\n %75 = sext i32 %indvars.iv31.reload to i64\n %76 = mul i64 %.reload54, 8\n %77 = add i64 %76, %14\n %78 = inttoptr i64 %77 to i32*\n %79 = add i64 %77, 4\n %80 = inttoptr i64 %79 to i32*\n %81 = inttoptr i64 %77 to i64*\n store i64 %75, i64* %indvars.iv33.reg2mem\n br label LBL_11\n LBL_19:\n %82 = icmp sgt i32 %sv_3.1.lcssa44.reload, 0\n store i32 %sv_3.1.lcssa44.reload, i32* %sv_3.1.lcssa4546.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %82, label LBL_20, label LBL_26\n LBL_20:\n %sv_3.1.lcssa4546.reload = load i32, i32* %sv_3.1.lcssa4546.reg2mem\n %83 = add i64 %11, 4\n %wide.trip.count = zext i32 %sv_3.1.lcssa4546.reload to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.114.reg2mem\n store i32 0, i32* %sv_2.013.reg2mem\n store i32 0, i32* %sv_1.111.reg2mem\n br label LBL_21\n LBL_21:\n %sv_2.013.reload = load i32, i32* %sv_2.013.reg2mem\n %sv_0.114.reload = load i32, i32* %sv_0.114.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %84 = mul i64 %indvars.iv.reload, 8\n %85 = add i64 %84, %14\n %86 = add i64 %85, 4\n %87 = inttoptr i64 %86 to i32*\n %88 = load i32, i32* %87, align 4\n %89 = add i32 %88, %sv_2.013.reload\n %90 = icmp eq i32 %89, %1\n %91 = icmp eq i1 %90, false\n br i1 %91, label LBL_23, label LBL_22\n LBL_22:\n %92 = sext i32 %sv_0.114.reload to i64\n %93 = mul i64 %92, 8\n %94 = add i64 %93, %11\n %95 = inttoptr i64 %85 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = inttoptr i64 %94 to i32*\n store i32 %96, i32* %97, align 4\n store i32 1, i32* %sv_1.0.reg2mem\n store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem\n br label LBL_25\n LBL_23:\n %sv_1.111.reload = load i32, i32* %sv_1.111.reg2mem\n %98 = icmp sge i32 %89, %1\n %99 = icmp eq i32 %sv_1.111.reload, 0\n %or.cond = or i1 %99, %98\n store i32 %sv_1.111.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.114.reload, i32* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_25, label LBL_24\n LBL_24:\n %100 = add i32 %sv_0.114.reload, 1\n %101 = sext i32 %sv_0.114.reload to i64\n %102 = mul i64 %101, 8\n %103 = inttoptr i64 %85 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = add i64 %83, %102\n %106 = inttoptr i64 %105 to i32*\n store i32 %104, i32* %106, align 4\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 %100, i32* %sv_0.0.reg2mem\n br label LBL_25\n LBL_25:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.114.reg2mem\n store i32 %89, i32* %sv_2.013.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.111.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %exitcond, label LBL_26, label LBL_21\n LBL_26:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n store i64 %11, i64* %arg3, align 8\n %107 = bitcast i64* %arg4 to i32*\n store i32 %sv_4.0.off0.lcssa.reload, i32* %107, align 4\n %108 = bitcast i64* %arg5 to i32*\n store i32 %sv_0.1.lcssa.reload, i32* %108, align 4\n %109 = call i64 @FUNC(i64 %14, i64 %13)\n ret i64 %109\n\n uselistorder i64 %85, { 1, 0, 2 }\n uselistorder i32 %sv_0.114.reload, { 4, 3, 1, 0, 2 }\n uselistorder i64* %81, { 1, 0 }\n uselistorder i32 %storemerge615, { 2, 1, 0 }\n uselistorder i32 %indvars.iv31.reload, { 1, 0 }\n uselistorder i32 %sv_3.1.lcssa44.reload, { 0, 2, 1, 3 }\n uselistorder i32 %sv_3.018.reload, { 1, 0, 2 }\n uselistorder i64 %14, { 5, 0, 2, 1, 3, 4 }\n uselistorder i64 %11, { 2, 0, 1 }\n uselistorder i64 %sv_4.0.off09.lcssa.reload, { 1, 0 }\n uselistorder i32 %9, { 0, 2, 1 }\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i64* %indvars.iv40.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.0.off025.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.0.off0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_4.0.off09.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv36.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.122.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge719.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.018.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem51, { 0, 2, 1 }\n uselistorder i32* %sv_3.1.lcssa44.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv33.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_3.1.lcssa4546.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.114.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.013.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.111.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64)* @kmem_alloc, { 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i32 0, { 1, 15, 2, 3, 4, 0, 12, 5, 13, 7, 11, 8, 6, 10, 9, 14 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_25, { 1, 0, 2 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_15, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipr_reset_ucode_download_18795", "fun_name": "ipr_reset_ucode_download", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 32\n %5 = inttoptr i64 %4 to i32*\n store i32 4198860, i32* %5, align 4\n %6 = icmp eq i64 %3, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = inttoptr i64 %3 to i32*\n %9 = call i64 @FUNC(i64 305419896)\n %10 = trunc i64 %9 to i32\n %11 = inttoptr i64 %1 to i32*\n store i32 %10, i32* %11, align 4\n %12 = add i64 %0, 12\n %13 = inttoptr i64 %12 to i8*\n store i8 1, i8* %13, align 1\n %14 = add i64 %0, 13\n %15 = inttoptr i64 %14 to i8*\n store i8 10, i8* %15, align 1\n %16 = add i64 %0, 14\n %17 = inttoptr i64 %16 to i8*\n store i8 11, i8* %17, align 1\n %18 = load i32, i32* %8, align 4\n %19 = udiv i32 %18, 65536\n %20 = trunc i32 %19 to i8\n %21 = add i64 %0, 19\n %22 = inttoptr i64 %21 to i8*\n store i8 %20, i8* %22, align 1\n %23 = load i32, i32* %8, align 4\n %24 = udiv i32 %23, 256\n %25 = trunc i32 %24 to i8\n %26 = add i64 %0, 20\n %27 = inttoptr i64 %26 to i8*\n store i8 %25, i8* %27, align 1\n %28 = load i32, i32* %8, align 4\n %29 = trunc i32 %28 to i8\n %30 = add i64 %0, 21\n %31 = inttoptr i64 %30 to i8*\n store i8 %29, i8* %31, align 1\n %32 = load i32, i32* %8, align 4\n %33 = call i64 @FUNC(i64 %0, i64 %3, i32 %32)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_3, label LBL_2\n LBL_2:\n %36 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n store i32 4198871, i32* %5, align 4\n %37 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %38 = call i64 @FUNC(i64 %0, i64 4198798, i32 %37, i64 1000)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "omap_timer_clk_setup_293", "fun_name": "omap_timer_clk_setup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 4198745, i64 %0, i64 0)\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 4198745, i64 %2)\n %4 = call i64 @FUNC(i64 4198745)\n %5 = trunc i64 %4 to i32\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n store i32 %5, i32* %7, align 4\n ret i64 %4\n\n uselistorder i64 %4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kobject_get_path_5394", "fun_name": "kobject_get_path", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_3\n LBL_1:\n %5 = and i64 %arg2, 4294967295\n %sext2 = mul i64 %1, 4294967296\n %6 = ashr exact i64 %sext2, 32\n %7 = call i64 @FUNC(i64 %6, i64 %5)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_3\n LBL_2:\n %10 = inttoptr i64 %7 to i64*\n %11 = call i64* @memset(i64* %10, i32 0, i32 %2)\n %12 = call i64 @FUNC(i64 %0, i64 %7, i32 %2)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 2, 1, 3 }\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alac_set_info_15532", "fun_name": "alac_set_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %5 = add i64 %4, 12\n store i64 %5, i64* %sv_0, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i32 %7, 1073741823\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i64* nonnull %sv_0)\n %11 = trunc i64 %10 to i32\n %12 = add i64 %4, 8\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = load i64, i64* %sv_0, align 8\n %15 = add i64 %14, 1\n %16 = add i64 %14, 2\n store i64 %16, i64* %sv_0, align 8\n %17 = inttoptr i64 %15 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = inttoptr i64 %5 to i8*\n store i8 %18, i8* %19, align 1\n %20 = load i64, i64* %sv_0, align 8\n %21 = add i64 %20, 1\n store i64 %21, i64* %sv_0, align 8\n %22 = inttoptr i64 %20 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = add i64 %4, 13\n %25 = inttoptr i64 %24 to i8*\n store i8 %23, i8* %25, align 1\n %26 = load i64, i64* %sv_0, align 8\n %27 = add i64 %26, 1\n store i64 %27, i64* %sv_0, align 8\n %28 = inttoptr i64 %26 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = add i64 %4, 14\n %31 = inttoptr i64 %30 to i8*\n store i8 %29, i8* %31, align 1\n %32 = load i64, i64* %sv_0, align 8\n %33 = add i64 %32, 1\n store i64 %33, i64* %sv_0, align 8\n %34 = inttoptr i64 %32 to i8*\n %35 = load i8, i8* %34, align 1\n %36 = add i64 %4, 15\n %37 = inttoptr i64 %36 to i8*\n store i8 %35, i8* %37, align 1\n %38 = load i64, i64* %sv_0, align 8\n %39 = add i64 %38, 1\n store i64 %39, i64* %sv_0, align 8\n %40 = inttoptr i64 %38 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = add i64 %4, 16\n %43 = inttoptr i64 %42 to i8*\n store i8 %41, i8* %43, align 1\n %44 = call i64 @FUNC(i64* nonnull %sv_0)\n %45 = call i64 @FUNC(i64* nonnull %sv_0)\n %46 = call i64 @FUNC(i64* nonnull %sv_0)\n %47 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64* %sv_0, { 0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 4, 15 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64*)* @bytestream_get_be32, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @AV_RB32, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gf_hevc_read_vps_bs_internal_7865", "fun_name": "gf_hevc_read_vps_bs_internal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rcx.4.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %rcx.2.lcssa.reg2mem = alloca i64\n %indvars.iv24.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_1.112.reg2mem = alloca i32\n %storemerge413.reg2mem = alloca i32\n %r8.1.lcssa.reg2mem = alloca i64\n %rcx.1.lcssa.reg2mem = alloca i64\n %indvars.iv26.reg2mem = alloca i64\n %storemerge617.reg2mem = alloca i32\n %storemerge721.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %5 = call i64 @FUNC(i64 %4, i64 4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %6 = trunc i64 %5 to i32\n %7 = icmp ult i32 %6, 16\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_39\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %5, 4294967296\n %9 = ashr exact i64 %sext, 32\n %10 = mul nsw i64 %9, 16944\n %11 = add i64 %10, %8\n %12 = inttoptr i64 %11 to i32*\n %13 = add i64 %11, 16932\n %14 = inttoptr i64 %13 to i32*\n store i32 -1, i32* %14, align 4\n %15 = load i32, i32* %12, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = add i64 %11, 4\n %19 = inttoptr i64 %18 to i32*\n store i32 %6, i32* %19, align 4\n store i32 1, i32* %12, align 4\n br label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_1, i64 0, i64 0))\n %21 = trunc i64 %20 to i32\n %22 = add i64 %11, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))\n %25 = trunc i64 %24 to i32\n %26 = add i64 %11, 12\n %27 = inttoptr i64 %26 to i32*\n store i32 %25, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %4, i64 6, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_3, i64 0, i64 0))\n %29 = trunc i64 %28 to i32\n %30 = add i32 %29, 1\n %31 = add i64 %11, 16\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %33 = icmp slt i32 %30, 65\n br i1 %33, label LBL_5, label LBL_4\n LBL_4:\n %34 = call i64 @FUNC(i64 1, i64 2, i64 64, i64 %3, i64 %2, i64 %1)\n store i32 64, i32* %32, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_39\n LBL_5:\n %35 = call i64 @FUNC(i64 %4, i64 3, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_4, i64 0, i64 0))\n %36 = trunc i64 %35 to i32\n %37 = add i32 %36, 1\n %38 = add i64 %11, 20\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0))\n %41 = trunc i64 %40 to i32\n %42 = add i64 %11, 24\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n %44 = call i64 @FUNC(i64 %4, i64 16, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_6, i64 0, i64 0))\n %45 = add i64 %11, 16936\n %46 = load i32, i32* %39, align 4\n %47 = add i32 %46, -1\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %4, i64 1, i64 %48, i64 %45, i64 0)\n %50 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_7, i64 0, i64 0))\n %51 = trunc i64 %50 to i8\n %52 = icmp eq i8 %51, 0\n %53 = icmp eq i1 %52, false\n %.pre = load i32, i32* %39, align 4\n %54 = add i32 %.pre, -1\n %storemerge8 = select i1 %53, i32 0, i32 %54\n %55 = icmp ult i32 %storemerge8, %.pre\n store i32 %storemerge8, i32* %storemerge721.reg2mem\n br i1 %55, label LBL_6, label LBL_7\n LBL_6:\n %storemerge721.reload = load i32, i32* %storemerge721.reg2mem\n %56 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_8, i64 0, i64 0), i32 %storemerge721.reload)\n %57 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_9, i64 0, i64 0), i32 %storemerge721.reload)\n %58 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_10, i64 0, i64 0), i32 %storemerge721.reload)\n %59 = add nuw i32 %storemerge721.reload, 1\n %60 = load i32, i32* %39, align 4\n %61 = icmp ult i32 %59, %60\n store i32 %59, i32* %storemerge721.reg2mem\n br i1 %61, label LBL_6, label LBL_7\n LBL_7:\n %62 = call i64 @FUNC(i64 %4, i64 6, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_11, i64 0, i64 0))\n %63 = trunc i64 %62 to i32\n %64 = add i64 %11, 28\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n %66 = icmp slt i32 %63, 65\n br i1 %66, label LBL_9, label LBL_8\n LBL_8:\n %67 = call i64 @FUNC(i64 1, i64 2, i64 64, i64 %45, i64 0, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_39\n LBL_9:\n %68 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_12, i64 0, i64 0))\n %69 = trunc i64 %68 to i32\n %70 = add i32 %69, 1\n %71 = add i64 %11, 32\n %72 = inttoptr i64 %71 to i32*\n store i32 %70, i32* %72, align 4\n %73 = icmp slt i32 %70, 65\n br i1 %73, label LBL_10, label LBL_12\n LBL_10:\n %74 = ptrtoint i64* %sv_2 to i64\n %75 = icmp ugt i32 %70, 1\n store i64 %45, i64* %rcx.1.lcssa.reg2mem\n store i64 0, i64* %r8.1.lcssa.reg2mem\n br i1 %75, label LBL_11, label LBL_16\n LBL_11:\n %76 = add i64 %74, -4144\n store i64 1, i64* %indvars.iv26.reg2mem\n br label LBL_15\n LBL_12:\n %77 = sext i32 %70 to i64\n %78 = call i64 @FUNC(i64 1, i64 2, i64 %77, i64 %45, i64 0, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_39\n LBL_13:\n %storemerge617.reload = load i32, i32* %storemerge617.reg2mem\n %79 = zext i32 %storemerge617.reload to i64\n %80 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_13, i64 0, i64 0), i64 %indvars.iv26.reload, i64 %79)\n %81 = add i64 %91, %79\n %82 = trunc i64 %80 to i8\n %83 = inttoptr i64 %81 to i8*\n store i8 %82, i8* %83, align 1\n %84 = add i32 %storemerge617.reload, 1\n %85 = load i32, i32* %65, align 4\n %86 = icmp ugt i32 %84, %85\n store i32 %84, i32* %storemerge617.reg2mem\n br i1 %86, label LBL_14, label LBL_13\n LBL_14:\n %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26.reload, 1\n %87 = load i32, i32* %72, align 4\n %88 = zext i32 %87 to i64\n %89 = icmp ult i64 %indvars.iv.next27, %88\n store i64 %indvars.iv.next27, i64* %indvars.iv26.reg2mem\n store i64 %79, i64* %rcx.1.lcssa.reg2mem\n store i64 %79, i64* %r8.1.lcssa.reg2mem\n br i1 %89, label LBL_15, label LBL_16\n LBL_15:\n %indvars.iv26.reload = load i64, i64* %indvars.iv26.reg2mem\n %90 = mul i64 %indvars.iv26.reload, 64\n %91 = add i64 %76, %90\n store i32 0, i32* %storemerge617.reg2mem\n br label LBL_13\n LBL_16:\n %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem\n %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem\n %92 = add i64 %11, 36\n %93 = inttoptr i64 %92 to i32*\n store i32 1, i32* %93, align 4\n %94 = load i32, i32* %72, align 4\n %95 = icmp ugt i32 %94, 1\n store i64 %rcx.1.lcssa.reload, i64* %rcx.2.lcssa.reg2mem\n br i1 %95, label LBL_17, label LBL_24\n LBL_17:\n %96 = add i64 %74, -4144\n %97 = add i64 %11, 292\n %98 = add i64 %11, 16676\n %99 = add i64 %11, 4\n store i64 1, i64* %indvars.iv24.reg2mem\n br label LBL_23\n LBL_18:\n %sv_1.112.reload = load i32, i32* %sv_1.112.reg2mem\n %storemerge413.reload = load i32, i32* %storemerge413.reg2mem\n %100 = zext i32 %storemerge413.reload to i64\n %101 = add i64 %124, %100\n %102 = inttoptr i64 %101 to i8*\n %103 = load i8, i8* %102, align 1\n %104 = icmp eq i8 %103, 0\n store i32 %sv_1.112.reload, i32* %sv_1.0.reg2mem\n br i1 %104, label LBL_21, label LBL_19\n LBL_19:\n %105 = add i32 %sv_1.112.reload, 1\n %106 = zext i32 %sv_1.112.reload to i64\n %107 = add nuw nsw i64 %123, %106\n %108 = mul i64 %107, 4\n %109 = add i64 %97, %108\n %110 = inttoptr i64 %109 to i32*\n store i32 %storemerge413.reload, i32* %110, align 4\n %111 = load i32, i32* %127, align 4\n %112 = icmp ugt i32 %storemerge413.reload, %111\n store i32 %105, i32* %sv_1.0.reg2mem\n br i1 %112, label LBL_20, label LBL_21\n LBL_20:\n store i32 %storemerge413.reload, i32* %127, align 4\n store i32 %105, i32* %sv_1.0.reg2mem\n br label LBL_21\n LBL_21:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %113 = add i32 %storemerge413.reload, 1\n %114 = load i32, i32* %65, align 4\n %115 = icmp ugt i32 %113, %114\n store i32 %113, i32* %storemerge413.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.112.reg2mem\n br i1 %115, label LBL_22, label LBL_18\n LBL_22:\n %116 = add nuw nsw i64 %indvars.iv24.reload, 8\n %117 = mul i64 %116, 4\n %118 = add i64 %99, %117\n %119 = inttoptr i64 %118 to i32*\n store i32 %sv_1.0.reload, i32* %119, align 4\n %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24.reload, 1\n %120 = load i32, i32* %72, align 4\n %121 = zext i32 %120 to i64\n %122 = icmp ult i64 %indvars.iv.next25, %121\n store i64 %indvars.iv.next25, i64* %indvars.iv24.reg2mem\n store i64 %116, i64* %rcx.2.lcssa.reg2mem\n br i1 %122, label LBL_23, label LBL_24\n LBL_23:\n %indvars.iv24.reload = load i64, i64* %indvars.iv24.reg2mem\n %123 = mul i64 %indvars.iv24.reload, 64\n %124 = add i64 %96, %123\n %125 = mul i64 %indvars.iv24.reload, 4\n %126 = add i64 %98, %125\n %127 = inttoptr i64 %126 to i32*\n store i32 0, i32* %storemerge413.reg2mem\n store i32 0, i32* %sv_1.112.reg2mem\n br label LBL_18\n LBL_24:\n %rcx.2.lcssa.reload = load i64, i64* %rcx.2.lcssa.reg2mem\n %128 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_14, i64 0, i64 0))\n %129 = trunc i64 %128 to i32\n %130 = icmp eq i32 %129, 0\n store i64 %rcx.2.lcssa.reload, i64* %rcx.4.reg2mem\n br i1 %130, label LBL_32, label LBL_25\n LBL_25:\n %131 = call i64 @FUNC(i64 %4, i64 32, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_15, i64 0, i64 0))\n %132 = call i64 @FUNC(i64 %4, i64 32, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_16, i64 0, i64 0))\n %133 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_17, i64 0, i64 0))\n %134 = trunc i64 %133 to i32\n %135 = icmp eq i32 %134, 0\n br i1 %135, label LBL_27, label LBL_26\n LBL_26:\n %136 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_18, i64 0, i64 0))\n br label LBL_27\n LBL_27:\n %137 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_19, i64 0, i64 0))\n %138 = trunc i64 %137 to i32\n %139 = icmp eq i32 %138, 0\n store i64 %rcx.2.lcssa.reload, i64* %rcx.4.reg2mem\n br i1 %139, label LBL_32, label LBL_28\n LBL_28:\n %wide.trip.count = and i64 %137, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_29\n LBL_29:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %140 = trunc i64 %indvars.iv.reload to i32\n %141 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_20, i64 0, i64 0), i32 %140)\n %142 = icmp eq i64 %indvars.iv.reload, 0\n store i32 1, i32* %sv_0.0.reg2mem\n br i1 %142, label LBL_31, label LBL_30\n LBL_30:\n %143 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_21, i64 0, i64 0))\n %144 = trunc i64 %143 to i32\n store i32 %144, i32* %sv_0.0.reg2mem\n br label LBL_31\n LBL_31:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %145 = load i32, i32* %39, align 4\n %146 = add i32 %145, -1\n %147 = zext i32 %146 to i64\n %148 = call i64 @FUNC(i64 %4, i32 %sv_0.0.reload, i64 %147, i64 %indvars.iv.reload)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %indvars.iv.reload, i64* %rcx.4.reg2mem\n br i1 %exitcond, label LBL_32, label LBL_29\n LBL_32:\n %149 = icmp eq i32 %arg3, 0\n br i1 %149, label LBL_34, label LBL_33\n LBL_33:\n %150 = and i64 %5, 4294967295\n store i64 %150, i64* %rax.0.reg2mem\n br label LBL_39\n LBL_34:\n %151 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_22, i64 0, i64 0))\n %152 = trunc i64 %151 to i8\n %153 = icmp eq i8 %152, 0\n br i1 %153, label LBL_38, label LBL_35\n LBL_35:\n %154 = call i64 @FUNC(i64 %4)\n %155 = call i64 @FUNC(i64 %11, i64 %4)\n %156 = trunc i64 %155 to i32\n %157 = icmp eq i32 %156, 1\n br i1 %157, label LBL_37, label LBL_36\n LBL_36:\n %rcx.4.reload = load i64, i64* %rcx.4.reg2mem\n %158 = call i64 @FUNC(i64 1, i64 2, i64 ptrtoint ([39 x i8]* @gv_23 to i64), i64 %rcx.4.reload, i64 %r8.1.lcssa.reload, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_39\n LBL_37:\n %159 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_24, i64 0, i64 0))\n br label LBL_38\n LBL_38:\n %160 = and i64 %5, 4294967295\n store i64 %160, i64* %rax.0.reg2mem\n br label LBL_39\n LBL_39:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %127, { 1, 0 }\n uselistorder i64 %indvars.iv24.reload, { 3, 2, 1, 0 }\n uselistorder i32 %105, { 1, 0 }\n uselistorder i32 %storemerge413.reload, { 4, 1, 0, 2, 3 }\n uselistorder i32 %sv_1.112.reload, { 2, 1, 0 }\n uselistorder i64 %indvars.iv26.reload, { 2, 1, 0 }\n uselistorder i64 %74, { 1, 0 }\n uselistorder i32* %72, { 1, 0, 2, 3 }\n uselistorder i32 %70, { 2, 0, 1, 3 }\n uselistorder i64 %45, { 2, 0, 1, 3 }\n uselistorder i32* %39, { 1, 2, 0, 3, 4 }\n uselistorder i64 %11, { 3, 2, 0, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 14 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 2, 0, 3 }\n uselistorder i64 %4, { 8, 9, 10, 11, 2, 1, 3, 4, 0, 5, 6, 7, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i32* %storemerge721.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge617.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge413.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.112.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 -4144, { 1, 0 }\n uselistorder i64 (i64, i8*)* @gf_bs_read_ue_log, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i32)* @gf_bs_read_ue_log_idx, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @GF_LOG, { 3, 2, 1, 0 }\n uselistorder i64 1, { 6, 7, 8, 5, 9, 10, 11, 4, 0, 3, 12, 13, 1, 14, 15, 16, 17, 18, 19, 20, 2 }\n uselistorder i64 32, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64, i8*)* @gf_bs_read_int_log, { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4, { 0, 1, 2, 4, 5, 3 }\n uselistorder label LBL_39, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder label LBL_29, { 1, 0 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_21, { 1, 0, 2 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hashtable_clear_6100", "fun_name": "hashtable_clear", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_0.LBL_4_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %0, 16\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_4\n LBL_2:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = add i64 %0, 16\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %7 = load i64, i64* %5, align 8\n %8 = mul i64 %storemerge1.reload, 16\n %9 = or i64 %8, 8\n %10 = add i64 %9, %7\n %11 = inttoptr i64 %10 to i64*\n store i64 %6, i64* %11, align 8\n %12 = load i64, i64* %5, align 8\n %13 = add i64 %12, %8\n %14 = inttoptr i64 %13 to i64*\n store i64 %6, i64* %14, align 8\n %15 = add nuw i64 %storemerge1.reload, 1\n %16 = call i64 @FUNC(i64 %0)\n %17 = icmp ult i64 %15, %16\n store i64 %15, i64* %storemerge1.reg2mem\n store i64 %6, i64* %.pre-phi.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_4:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %18 = call i64 @FUNC(i64 %.pre-phi.reload)\n %19 = add i64 %0, 32\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %20, align 8\n ret i64 %0\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %0, { 3, 4, 6, 5, 2, 0, 1, 7 }\n uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "index_from_key_1677", "fun_name": "index_from_key", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i32\n %storemerge1.reg2mem = alloca i32\n %.reg2mem5 = alloca i64*\n %.reg2mem = alloca i64\n %0 = load i64, i64* bitcast ([3 x i8*]* @gv_0 to i64*), align 16\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i32 0, i32* %storemerge.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_5\n LBL_1:\n %3 = inttoptr i64 %arg1 to i8*\n %4 = trunc i64 %arg2 to i32\n store i64 %0, i64* %.reg2mem\n store i64* bitcast ([3 x i8*]* @gv_0 to i64*), i64** %.reg2mem5\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %5 = inttoptr i64 %.reload to i8*\n %6 = call i32 @strncmp(i8* %3, i8* %5, i32 %4)\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %.reload6 = load i64*, i64** %.reg2mem5\n %9 = load i64, i64* %.reload6, align 8\n %10 = add i64 %9, %arg2\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %12, 0\n store i32 %storemerge1.reload, i32* %storemerge.lcssa.reg2mem\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i32 %storemerge1.reload, 1\n %15 = sext i32 %14 to i64\n %16 = mul i64 %15, 8\n %17 = add i64 %16, ptrtoint ([3 x i8*]* @gv_0 to i64)\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %19, i64* %.reg2mem\n store i64* %18, i64** %.reg2mem5\n store i32 %14, i32* %storemerge1.reg2mem\n store i32 %14, i32* %storemerge.lcssa.reg2mem\n br i1 %21, label LBL_2, label LBL_5\n LBL_5:\n %storemerge.lcssa.reload = load i32, i32* %storemerge.lcssa.reg2mem\n %22 = zext i32 %storemerge.lcssa.reload to i64\n ret i64 %22\n\n uselistorder i32 %storemerge1.reload, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64** %.reg2mem5, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 0, { 8, 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder [3 x i8*]* @gv_0, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmmouse_reset_2517", "fun_name": "vmmouse_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, -8\n %2 = inttoptr i64 %1 to i32*\n store i32 65535, i32* %2, align 4\n %3 = add i64 %0, -4\n %4 = inttoptr i64 %3 to i32*\n store i32 128, i32* %4, align 4\n %5 = call i64 @FUNC(i64 %1)\n ret i64 %5\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_opts_find_1680", "fun_name": "qemu_opts_find", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = icmp eq i8* %arg2, null\n store i64 %2, i64* %storemerge5.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %4 = inttoptr i64 %storemerge5.reload to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %3, %6\n store i64 %storemerge5.reload, i64* %rax.0.reg2mem\n br i1 %7, label LBL_6, label LBL_3\n LBL_3:\n %or.cond = or i1 %3, %6\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %8 = inttoptr i64 %5 to i8*\n %9 = call i32 @strcmp(i8* %8, i8* nonnull %arg2)\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %storemerge5.reload, i64* %rax.0.reg2mem\n br i1 %11, label LBL_5, label LBL_6\n LBL_5:\n %12 = add i64 %storemerge5.reload, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %storemerge5.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %6, { 1, 0 }\n uselistorder i64 %storemerge5.reload, { 3, 1, 0, 2 }\n uselistorder i1 %3, { 1, 0 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i8* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_keypress_7667", "fun_name": "handle_keypress", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* %sv_3, align 8\n %6 = call i64 @FUNC()\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %8 = call i32 @fwrite(i64* bitcast ([48 x i8]* @gv_1 to i64*), i32 1, i32 47, %_IO_FILE* %7)\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %10 = call i32 @fflush(%_IO_FILE* %9)\n %11 = bitcast i64* %sv_2 to %termios*\n %12 = call i32 @tcgetattr(i32 0, %termios* nonnull %11)\n %13 = load i64, i64* %sv_2, align 8\n store i64 %13, i64* %sv_1, align 8\n %14 = bitcast i64* %sv_1 to %termios*\n %15 = call i32 @tcsetattr(i32 0, i32 0, %termios* nonnull %14)\n %16 = bitcast i64* %sv_3 to %pollfd*\n %17 = call i32 @poll(%pollfd* nonnull %16, i32 1, i32 -1)\n %18 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %19 = call i32 @getc(%_IO_FILE* %18)\n %20 = sext i32 %19 to i64\n %21 = call i32 @tcsetattr(i32 0, i32 2, %termios* nonnull %11)\n %22 = zext i32 %19 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 %20, i64* %sv_0.0.reg2mem\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %25, label LBL_19, label LBL_2\n LBL_2:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %26 = add nsw i64 %sv_0.0.reload, 4294967227\n %27 = and i64 %26, 4294967295\n store i64 %27, i64* @0, align 8\n %28 = mul i64 %27, 8\n %29 = add i64 %28, ptrtoint (i64* @gv_3 to i64)\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %trunc = trunc i64 %26 to i32\n store i64 %31, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_19 [\n i32 0, label LBL_5\n i32 1, label LBL_12\n i32 12, label LBL_13\n i32 14, label LBL_15\n i32 31, label LBL_3\n i32 32, label LBL_4\n i32 33, label LBL_11\n i32 44, label LBL_13\n i32 46, label LBL_14\n i32 50, label LBL_17\n i32 53, label LBL_18\n ]\n LBL_3:\n %32 = call i64 @FUNC(i64* nonnull @gv_4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_5, i64 0, i64 0))\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_4:\n %33 = call i64 @FUNC(i64* nonnull @gv_6, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_7, i64 0, i64 0))\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_5:\n %34 = load i32, i32* @gv_8, align 4\n %35 = icmp slt i32 %34, 2\n br i1 %35, label LBL_10, label LBL_6\n LBL_6:\n %36 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8\n %37 = call i32 @fwrite(i64* bitcast ([19 x i8]* @gv_10 to i64*), i32 1, i32 18, %_IO_FILE* %36)\n %38 = load i32, i32* @gv_8, align 4\n %39 = icmp eq i32 %38, 0\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %39, label LBL_8, label LBL_7\n LBL_7:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %40 = zext i32 %storemerge2.reload to i64\n %41 = call i64 @FUNC(i64 %40)\n %42 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8\n %43 = inttoptr i64 %41 to i8*\n %44 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %42, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_11, i64 0, i64 0), i64 %40, i8* %43)\n %45 = add i32 %storemerge2.reload, 1\n %46 = load i32, i32* @gv_8, align 4\n %47 = zext i32 %46 to i64\n %48 = sext i32 %45 to i64\n %49 = icmp slt i64 %48, %47\n store i32 %45, i32* %storemerge2.reg2mem\n br i1 %49, label LBL_7, label LBL_8\n LBL_8:\n %50 = call i64 @FUNC(i64* nonnull @gv_12, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_13, i64 0, i64 0))\n %51 = load i32, i32* bitcast (i64* @gv_12 to i32*), align 8\n %52 = load i32, i32* @gv_8, align 4\n %53 = zext i32 %52 to i64\n %54 = icmp ult i32 %51, %52\n store i64 %53, i64* %rax.0.reg2mem\n br i1 %54, label LBL_19, label LBL_9\n LBL_9:\n %55 = call i64 @FUNC(i64 0)\n %56 = load %_IO_FILE*, %_IO_FILE** @gv_9, align 8\n %57 = inttoptr i64 %55 to i8*\n %58 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %56, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_14, i64 0, i64 0), i8* %57)\n store i32 0, i32* bitcast (i64* @gv_12 to i32*), align 8\n %59 = call i32 @sleep(i32 1)\n %60 = sext i32 %59 to i64\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_10:\n %61 = zext i32 %34 to i64\n store i32 0, i32* bitcast (i64* @gv_12 to i32*), align 8\n store i64 %61, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_11:\n %62 = call i64 @FUNC(i64* nonnull @gv_15, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_16, i64 0, i64 0))\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_12:\n %63 = call i64 @FUNC(i64* nonnull @gv_17, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_18, i64 0, i64 0))\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_13:\n %64 = call i32 @puts(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_19, i64 0, i64 0))\n call void @exit(i32 0)\n unreachable\n LBL_14:\n %65 = call i64 @FUNC(i64* nonnull @gv_20, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_21, i64 0, i64 0))\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_15:\n %66 = load i64, i64* @gv_20, align 8\n %67 = icmp eq i64 %66, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %67, label LBL_19, label LBL_16\n LBL_16:\n %68 = inttoptr i64 %66 to i64*\n %69 = call i32 @pthread_mutex_lock(i64* %68)\n store i64 0, i64* @gv_20, align 8\n %70 = call i64 @FUNC(i64 %66)\n %71 = call i32 @pthread_mutex_unlock(i64* %68)\n %72 = sext i32 %71 to i64\n store i64 %72, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_17:\n %73 = load i32, i32* @gv_22, align 4\n %74 = sub i32 0, %73\n %75 = sub i32 %74, 1\n %76 = zext i32 %75 to i64\n store i32 %75, i32* @gv_22, align 4\n store i64 %76, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_18:\n %77 = load i32, i32* inttoptr (i64 4210932 to i32*), align 4\n %78 = sub i32 0, %77\n %79 = sub i32 %78, 1\n %80 = zext i32 %79 to i64\n store i32 %79, i32* bitcast (i64* @gv_23 to i32*), align 8\n store i64 %80, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %79, { 1, 0 }\n uselistorder i32 %75, { 1, 0 }\n uselistorder i64 %66, { 1, 0, 2 }\n uselistorder i32 %34, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 13, 12, 6, 7, 11, 5, 10, 4, 2, 3, 9, 8, 14, 1 }\n uselistorder i32* @gv_22, { 1, 0 }\n uselistorder i64* @gv_20, { 1, 2, 0 }\n uselistorder i32 (i8*)* @puts, { 1, 0 }\n uselistorder i64* @gv_12, { 1, 0 }\n uselistorder %_IO_FILE** @gv_9, { 2, 1, 0 }\n uselistorder i32* @gv_8, { 3, 2, 0, 1 }\n uselistorder i64 (i64*, i8*)* @prompt_integer, { 3, 2, 1, 0 }\n uselistorder i32 (i32, i32, %termios*)* @tcsetattr, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 0, { 37, 0, 38, 18, 19, 16, 17, 8, 9, 14, 15, 4, 5, 28, 6, 7, 2, 3, 12, 13, 10, 11, 36, 20, 21, 22, 23, 24, 25, 26, 27, 1, 29, 30, 31, 32, 33, 34, 35 }\n uselistorder i32 0, { 1, 2, 5, 12, 13, 0, 3, 4, 14, 6, 7, 8, 9, 15, 10, 11 }\n uselistorder i64 (i64)* @key_mapped, { 1, 0 }\n uselistorder i32 1, { 4, 5, 7, 14, 8, 6, 9, 10, 13, 12, 11, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_19, { 6, 7, 8, 0, 9, 10, 11, 3, 2, 1, 12, 13, 4, 5 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tmx_init_pretran_table_10310", "fun_name": "tmx_init_pretran_table", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge29.reg2mem = alloca i32\n %.reg2mem23 = alloca i64\n %storemerge310.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp slt i32 %5, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %6, false\n %10 = icmp eq i1 %8, %9\n %11 = load i64, i64* @gv_0, align 8\n %12 = icmp eq i64 %11, 0\n %or.cond = icmp eq i1 %12, %10\n store i32 -1, i32* %sv_0.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_10\n LBL_1:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %13 = add i32 %sv_0.0.reload, 1\n %14 = urem i32 %13, 32\n %15 = ashr i32 %5, %14\n %16 = icmp eq i32 %15, 0\n %17 = icmp slt i32 %15, 0\n %18 = icmp eq i1 %17, false\n %19 = icmp eq i1 %16, false\n %20 = icmp eq i1 %18, %19\n store i32 %13, i32* %sv_0.0.reg2mem\n br i1 %20, label LBL_1, label LBL_2\n LBL_2:\n %21 = icmp sgt i32 %sv_0.0.reload, 2\n %spec.select4 = select i1 %21, i32 %sv_0.0.reload, i32 2\n %22 = icmp slt i32 %spec.select4, 8\n %spec.select = select i1 %22, i32 %spec.select4, i32 8\n %23 = zext i32 %spec.select to i64\n %24 = shl i32 1, %spec.select\n store i32 %24, i32* @gv_1, align 4\n %25 = mul i32 %24, 8\n %sext = zext i32 %25 to i64\n %26 = call i64 @FUNC(i64 %sext)\n store i64 %26, i64* @gv_0, align 8\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %rdx.0 = zext i32 %24 to i64\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0), i64 %3, i64 %rdx.0, i64 %23, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %30 = load i32, i32* @gv_1, align 4\n %31 = mul i32 %30, 8\n %32 = inttoptr i64 %26 to i64*\n %33 = call i64* @memset(i64* %32, i32 0, i32 %31)\n %34 = load i32, i32* @gv_1, align 4\n %35 = icmp eq i32 %34, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge310.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %35, label LBL_10, label LBL_5\n LBL_5:\n %storemerge310.reload = load i32, i32* %storemerge310.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %36 = load i64, i64* @gv_0, align 8\n %37 = mul i64 %.reload, 8\n %38 = add i64 %36, %37\n %39 = call i64 @FUNC(i64 %38)\n %40 = icmp eq i64 %39, 0\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_9, label LBL_6\n LBL_6:\n %42 = zext i32 %storemerge310.reload to i64\n %43 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0), i64 %42, i64 %36, i64 %23, i64 %2, i64 %1)\n %storemerge28 = add i32 %storemerge310.reload, -1\n %44 = icmp slt i32 %storemerge28, 0\n %45 = icmp eq i1 %44, false\n %46 = load i64, i64* @gv_0, align 8\n store i64 %46, i64* %.reg2mem23\n store i32 %storemerge28, i32* %storemerge29.reg2mem\n store i64 %46, i64* %.lcssa.reg2mem\n br i1 %45, label LBL_7, label LBL_8\n LBL_7:\n %storemerge29.reload = load i32, i32* %storemerge29.reg2mem\n %.reload24 = load i64, i64* %.reg2mem23\n %47 = sext i32 %storemerge29.reload to i64\n %48 = mul i64 %47, 8\n %49 = add i64 %48, %.reload24\n %50 = call i64 @FUNC(i64 %49)\n %storemerge2 = add i32 %storemerge29.reload, -1\n %51 = icmp slt i32 %storemerge2, 0\n %52 = icmp eq i1 %51, false\n %53 = load i64, i64* @gv_0, align 8\n store i64 %53, i64* %.reg2mem23\n store i32 %storemerge2, i32* %storemerge29.reg2mem\n store i64 %53, i64* %.lcssa.reg2mem\n br i1 %52, label LBL_7, label LBL_8\n LBL_8:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %54 = call i64 @FUNC(i64 %.lcssa.reload)\n store i64 0, i64* @gv_0, align 8\n store i32 0, i32* @gv_1, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n %55 = add i32 %storemerge310.reload, 1\n %56 = load i32, i32* @gv_1, align 4\n %57 = zext i32 %56 to i64\n %58 = sext i32 %55 to i64\n %59 = icmp slt i64 %58, %57\n store i64 %58, i64* %.reg2mem\n store i32 %55, i32* %storemerge310.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_5, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge29.reload, { 1, 0 }\n uselistorder i32 %24, { 2, 0, 1 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i32 %15, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i32 %5, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge310.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem23, { 2, 0, 1 }\n uselistorder i32* %storemerge29.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 4, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @LM_ERR, { 1, 0 }\n uselistorder i32* @gv_1, { 4, 3, 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder i32 -1, { 2, 1, 0 }\n uselistorder i64* @gv_0, { 2, 3, 0, 4, 5, 1 }\n uselistorder i32 1, { 13, 11, 14, 10, 9, 8, 7, 6, 5, 4, 3, 12, 2, 0, 1 }\n uselistorder label LBL_10, { 0, 3, 1, 4, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "walk_page_range_4943", "fun_name": "walk_page_range", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.4.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i64\n %sv_2.2.reg2mem = alloca i64\n %sv_0.3.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.1.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i64\n %0 = icmp ult i64 %arg1, %arg2\n %1 = icmp eq i64* %arg3, null\n %2 = icmp eq i1 %1, false\n %or.cond = icmp eq i1 %0, %2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_14\n LBL_1:\n %3 = ptrtoint i64* %arg3 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = zext i1 %6 to i64\n %8 = call i64 @FUNC(i64 %7, i64 %3)\n %9 = call i64 @FUNC(i64 %3, i64 %arg1)\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %3, 16\n %13 = inttoptr i64 %12 to i32*\n store i64 %arg1, i64* %sv_3.0.reg2mem\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %9, i64* %sv_2.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %14 = icmp eq i64 %sv_2.0.reload, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n store i64 0, i64* %11, align 8\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem\n store i64 %arg2, i64* %sv_1.0.reg2mem\n br label LBL_8\n LBL_4:\n %16 = inttoptr i64 %sv_2.0.reload to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp ult i64 %sv_3.0.reload, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n store i64 0, i64* %11, align 8\n %20 = load i64, i64* %16, align 8\n %21 = call i64 @FUNC(i64 %arg2, i64 %20)\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i64 %sv_2.0.reload, i64* %sv_2.1.reg2mem\n store i64 %21, i64* %sv_1.0.reg2mem\n br label LBL_8\n LBL_6:\n store i64 %sv_2.0.reload, i64* %11, align 8\n %22 = add i64 %sv_2.0.reload, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %arg2, i64 %24)\n %26 = add i64 %sv_2.0.reload, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %sv_3.0.reload, i64 %25, i64 %3)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 1\n store i32 0, i32* %sv_0.3.reg2mem\n store i64 %28, i64* %sv_2.2.reg2mem\n store i64 %25, i64* %sv_1.1.reg2mem\n br i1 %31, label LBL_7, label LBL_12\n LBL_7:\n %32 = icmp slt i32 %30, 0\n store i32 0, i32* %sv_0.1.reg2mem\n store i64 %28, i64* %sv_2.1.reg2mem\n store i64 %25, i64* %sv_1.0.reg2mem\n store i32 %30, i32* %sv_0.4.reg2mem\n br i1 %32, label LBL_13, label LBL_8\n LBL_8:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem\n %33 = load i64, i64* %11, align 8\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %36 = load i32, i32* %13, align 4\n %37 = icmp eq i32 %36, 0\n store i32 %sv_0.1.reload, i32* %sv_0.2.reg2mem\n br i1 %37, label LBL_11, label LBL_10\n LBL_10:\n %38 = call i64 @FUNC(i64 %sv_3.0.reload, i64 %sv_1.0.reload, i64 %3)\n %39 = trunc i64 %38 to i32\n store i32 %39, i32* %sv_0.2.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %40 = icmp eq i32 %sv_0.2.reload, 0\n %41 = icmp eq i1 %40, false\n store i32 %sv_0.2.reload, i32* %sv_0.3.reg2mem\n store i64 %sv_2.1.reload, i64* %sv_2.2.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i32 %sv_0.2.reload, i32* %sv_0.4.reg2mem\n br i1 %41, label LBL_13, label LBL_12\n LBL_12:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %sv_2.2.reload = load i64, i64* %sv_2.2.reg2mem\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %42 = icmp ult i64 %sv_1.1.reload, %arg2\n store i64 %sv_1.1.reload, i64* %sv_3.0.reg2mem\n store i32 %sv_0.3.reload, i32* %sv_0.0.reg2mem\n store i64 %sv_2.2.reload, i64* %sv_2.0.reg2mem\n store i32 %sv_0.3.reload, i32* %sv_0.4.reg2mem\n br i1 %42, label LBL_2, label LBL_13\n LBL_13:\n %sv_0.4.reload = load i32, i32* %sv_0.4.reg2mem\n %43 = zext i32 %sv_0.4.reload to i64\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.1.reload, { 1, 0 }\n uselistorder i64 %28, { 1, 0 }\n uselistorder i64 %25, { 1, 0, 2 }\n uselistorder i64 %sv_3.0.reload, { 2, 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %sv_2.0.reload, { 6, 5, 2, 1, 3, 0, 4 }\n uselistorder i64 %3, { 1, 3, 2, 0, 4, 6, 5 }\n uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_2.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.2.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.4.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @min, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 0, { 3, 4, 1, 5, 0, 2, 6, 7 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_13, { 2, 0, 1 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpg_validate_11218", "fun_name": "jpg_validate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i8\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i8, i8* %0\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i64, align 8\n %3 = bitcast i8* %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %1, i64* nonnull %3, i64 2)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_6\n LBL_1:\n %8 = ptrtoint i64* %sv_1 to i64\n %9 = add i64 %8, -10\n store i32 %5, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %10 = sext i32 %storemerge to i64\n %11 = add i64 %9, %10\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = zext i8 %13 to i64\n %15 = call i64 @FUNC(i64 %1, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, -1\n %18 = icmp eq i1 %17, false\n store i32 %storemerge, i32* %storemerge.in.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_3, label LBL_6\n LBL_3:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = add i32 %storemerge.in.reload, -1\n %19 = icmp slt i32 %storemerge, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_2, label LBL_4\n LBL_4:\n %21 = icmp sgt i32 %5, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n %22 = load i8, i8* %sv_0, align 1\n %23 = icmp eq i8 %22, -40\n %24 = icmp eq i8 %2, -1\n %or.cond = icmp eq i1 %24, %23\n %. = select i1 %or.cond, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge, { 2, 1, 0 }\n uselistorder i32 %5, { 1, 0, 2 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_6, { 1, 2, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "merge_close_outfile_3806", "fun_name": "merge_close_outfile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %7 = zext i32 %6 to i64\n %8 = icmp eq i32 %6, 1\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = load i32, i32* %sv_0, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %14 = inttoptr i64 %12 to i8*\n %15 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %13, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0), i8* %14)\n %16 = sext i32 %15 to i64\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "RegisterWEBPImage_9960", "fun_name": "RegisterWEBPImage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0))\n %2 = inttoptr i64 %0 to i64*\n store i64 %1, i64* %2, align 8\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_2, i64 0, i64 0))\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = add i64 %0, 56\n %12 = inttoptr i64 %11 to i64*\n store i64 4198748, i64* %12, align 8\n %13 = call i64 @FUNC(i64 %0)\n ret i64 305419896\n\n uselistorder i64 (i8*)* @ConstantString, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "php_snmp_write_exceptions_enabled_6499", "fun_name": "php_snmp_write_exceptions_enabled", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i64, align 8\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 1\n br i1 %2, label LBL_0.LBL_3_crit_edge, label LBL_2\n LBL_1:\n %.pre = ptrtoint i64* %sv_1 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n store i64 %0, i64* %sv_1, align 8\n %3 = call i64 @FUNC(i64* nonnull %sv_1)\n %4 = call i64 @FUNC(i64* nonnull %sv_1)\n %5 = ptrtoint i64* %sv_1 to i64\n store i64 %5, i64* %.pre-phi.reg2mem\n store i64 %5, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %6 = add i64 %sv_0.0.reload, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = trunc i64 %8 to i32\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n %11 = icmp eq i64 %sv_0.0.reload, %.pre-phi.reload\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %sv_0.0.reload)\n br label LBL_5\n LBL_5:\n ret i64 0\n\n uselistorder i64 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i64* %sv_1, { 3, 1, 2, 4, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "merge_close_outfile_17477", "fun_name": "merge_close_outfile", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %7 = zext i32 %6 to i64\n %8 = icmp eq i32 %6, 1\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = load i32, i32* %sv_0, align 4\n %11 = zext i32 %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %17 = inttoptr i64 %15 to i8*\n %18 = inttoptr i64 %12 to i8*\n %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %16, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i8* %17, i8* %18)\n %20 = sext i32 %19 to i64\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "HandleGlobalVar_10759", "fun_name": "HandleGlobalVar", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 1\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = load i64, i64* %sv_1, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %.reg2mem\n br i1 %6, label LBL_8, label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 0\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = load i64, i64* %sv_3, align 8\n %14 = load i64, i64* %sv_2, align 8\n %15 = add i64 %1, 8\n %16 = zext i32 %12 to i64\n %17 = call i64 @FUNC(i64 %1, i64 %15, i64 %14, i64 %13, i64 %16)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_4:\n %.pr = load i64, i64* %sv_1, align 8\n %18 = icmp eq i64 %.pr, 0\n store i64 0, i64* %.reg2mem\n br i1 %18, label LBL_8, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %.pr, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0))\n %20 = trunc i64 %19 to i8\n %21 = icmp eq i8 %20, 0\n br i1 %21, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_8\n LBL_7:\n %22 = add i64 %0, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = load i64, i64* %sv_3, align 8\n %26 = load i64, i64* %sv_2, align 8\n %27 = add i64 %1, 16\n %28 = zext i32 %24 to i64\n %29 = call i64 @FUNC(i64 %1, i64 %27, i64 %26, i64 %25, i64 %28)\n store i64 %29, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %30 = load i64, i64* %sv_3, align 8\n %31 = load i64, i64* %sv_2, align 8\n %32 = add i64 %1, 32\n %33 = add i64 %1, 24\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %32, i64 %35, i64 %32, i64 %.reload, i64 %31, i64 %30)\n store i64 %36, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %37 = urem i64 %sv_0.0.reload, 256\n ret i64 %37\n\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %.pr, { 1, 0 }\n uselistorder i64* %sv_3, { 1, 2, 3, 0 }\n uselistorder i64* %sv_2, { 1, 2, 3, 0 }\n uselistorder i64* %sv_1, { 0, 1, 3, 2 }\n uselistorder i64 %1, { 5, 4, 3, 2, 1, 0, 6 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i8*)* @istreq, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 0 }\n uselistorder label LBL_8, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "load_patterns_9198", "fun_name": "load_patterns", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.2.reg2mem = alloca i64\n %rdx.1.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = call %_IO_FILE* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %9 = load i32, i32* inttoptr (i64 4210772 to i32*), align 4\n %10 = icmp slt i32 %9, 1\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %rdx.0.reg2mem\n br label LBL_3\n LBL_3:\n %12 = icmp eq %_IO_FILE* %8, null\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_5:\n %15 = call i64* @malloc(i32 512)\n %16 = icmp eq i64* %15, null\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_7\n LBL_6:\n %18 = bitcast i64* %15 to i8*\n %19 = ptrtoint i64* %15 to i64\n br label LBL_10\n LBL_7:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %20 = inttoptr i64 %rdx.0.reload to i8*\n %21 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_4, i64 0, i64 0), i8* %20, i64 %3, i64 %2, i64 %1)\n %22 = call i32 @fclose(%_IO_FILE* %8)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_8:\n %23 = call i64 @FUNC(i64 %19)\n %24 = call i64 @FUNC(i64 %19)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n %28 = call i64 @FUNC(i64 %19)\n %29 = call i32 @fclose(%_IO_FILE* %8)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_10:\n %30 = call i8* @fgets(i8* %18, i32 256, %_IO_FILE* %8)\n %31 = icmp eq i8* %30, null\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_8, label LBL_11\n LBL_11:\n %33 = call i64 @FUNC(i64 %19)\n %34 = load i64, i64* @gv_5, align 8\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_13, label LBL_12\n LBL_12:\n %37 = bitcast %_IO_FILE* %8 to i8*\n %38 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_6, i64 0, i64 0), i8* %37, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_13:\n %39 = ptrtoint %_IO_FILE* %8 to i64\n %40 = load i8*, i8** @gv_7, align 8\n %41 = icmp eq i8* %40, null\n store i64 %39, i64* %rdx.1.reg2mem\n br i1 %41, label LBL_15, label LBL_14\n LBL_14:\n %42 = ptrtoint i8* %40 to i64\n %43 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_8, i64 0, i64 0), i8* nonnull %40, i64 %3, i64 %2, i64 %1)\n store i64 %42, i64* %rdx.1.reg2mem\n br label LBL_15\n LBL_15:\n %rdx.1.reload = load i64, i64* %rdx.1.reg2mem\n %44 = call i32 @fclose(%_IO_FILE* %8)\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_17, label LBL_16\n LBL_16:\n %46 = inttoptr i64 %rdx.1.reload to i8*\n %47 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_9, i64 0, i64 0), i8* %46, i64 %3, i64 %2, i64 %1)\n br label LBL_17\n LBL_17:\n %48 = load i64, i64* @gv_10, align 8\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %50, label LBL_26, label LBL_18\n LBL_18:\n %51 = load i64, i64* @gv_11, align 8\n %52 = icmp eq i64 %51, 0\n %53 = icmp eq i1 %52, false\n store i64 %rdx.1.reload, i64* %rdx.2.reg2mem\n br i1 %53, label LBL_22, label LBL_19\n LBL_19:\n %54 = call i64* @malloc(i32 16)\n %55 = ptrtoint i64* %54 to i64\n store i64 %55, i64* @gv_11, align 8\n %56 = icmp eq i64* %54, null\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_21, label LBL_20\n LBL_20:\n %58 = inttoptr i64 %rdx.1.reload to i8*\n %59 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_4, i64 0, i64 0), i8* %58, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_21:\n %60 = call i64 @FUNC(i64 %55, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_12, i64 0, i64 0), i64 16)\n store i64 16, i64* %rdx.2.reg2mem\n br label LBL_22\n LBL_22:\n %61 = load i64, i64* @gv_13, align 8\n %62 = icmp eq i64 %61, 0\n %63 = icmp eq i1 %62, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %63, label LBL_26, label LBL_23\n LBL_23:\n %64 = call i64* @malloc(i32 8)\n %65 = ptrtoint i64* %64 to i64\n store i64 %65, i64* @gv_13, align 8\n %66 = icmp eq i64* %64, null\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_25, label LBL_24\n LBL_24:\n %rdx.2.reload = load i64, i64* %rdx.2.reg2mem\n %68 = inttoptr i64 %rdx.2.reload to i8*\n %69 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_4, i64 0, i64 0), i8* %68, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_25:\n %70 = call i64 @FUNC(i64 %65, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_14, i64 0, i64 0), i64 8)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_26\n LBL_26:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rdx.1.reload, { 1, 0, 2 }\n uselistorder i8* %40, { 1, 0, 2 }\n uselistorder i64 %19, { 1, 0, 3, 2 }\n uselistorder i64* %15, { 0, 2, 1 }\n uselistorder %_IO_FILE* %8, { 4, 0, 6, 2, 3, 5, 1 }\n uselistorder i64 %3, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %2, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 8, 2, 7, 1, 6, 9, 5, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64)* @xstrncpy, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0, 3, 4 }\n uselistorder i32 (%_IO_FILE*)* @fclose, { 2, 1, 0 }\n uselistorder i64* (i32)* @malloc, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @ci_debug_printf, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 0, 1, 2, 3, 4, 6, 7, 5, 8, 9, 10, 11 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder [11 x i8]* @gv_0, { 1, 0 }\n uselistorder i32 1, { 8, 6, 5, 4, 3, 2, 7, 1, 0 }\n uselistorder label LBL_26, { 2, 3, 1, 4, 0, 6, 5, 7, 8 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hpet_get_ticks_17141", "fun_name": "hpet_get_ticks", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* @gv_0, align 4\n %1 = zext i32 %0 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = load i64, i64* @gv_1, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, %2\n %7 = call i64 @FUNC(i64 %6)\n ret i64 %7\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vrend_decode_resource_copy_region_9999", "fun_name": "vrend_decode_resource_copy_region", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 64\n store i64 22, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = call i64 @FUNC(i64 %2, i64 1)\n %6 = trunc i64 %5 to i32\n %7 = call i64 @FUNC(i64 %2, i64 2)\n %8 = trunc i64 %7 to i32\n %9 = call i64 @FUNC(i64 %2, i64 3)\n %10 = trunc i64 %9 to i32\n %11 = call i64 @FUNC(i64 %2, i64 4)\n %12 = trunc i64 %11 to i32\n %13 = call i64 @FUNC(i64 %2, i64 5)\n %14 = call i64 @FUNC(i64 %2, i64 6)\n %15 = call i64 @FUNC(i64 %2, i64 7)\n %16 = call i64 @FUNC(i64 %2, i64 8)\n %17 = call i64 @FUNC(i64 %2, i64 9)\n %18 = call i64 @FUNC(i64 %2, i64 10)\n %19 = call i64 @FUNC(i64 %2, i64 11)\n %20 = call i64 @FUNC(i64 %2, i64 12)\n %21 = call i64 @FUNC(i64 %2, i32 %4, i32 %6, i32 %8, i32 %10, i32 %12)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 3, 4, 2, 1, 0, 8, 9, 10, 7, 6, 5, 13, 12, 11 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @get_buf_entry, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_memdump_5417", "fun_name": "jas_memdump", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge12.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = icmp eq i64 %arg3, 0\n br i1 %0, label LBL_7, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to %_IO_FILE*\n store i64 0, i64* %storemerge3.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %2 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %storemerge3.reload)\n store i64 0, i64* %storemerge12.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %3 = add nuw nsw i64 %storemerge12.reload, %storemerge3.reload\n %4 = icmp ult i64 %3, %arg3\n br i1 %4, label LBL_4, label LBL_5\n LBL_4:\n %5 = add i64 %3, %arg2\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i32\n %9 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %8)\n br label LBL_5\n LBL_5:\n %10 = add nuw nsw i64 %storemerge12.reload, 1\n %exitcond = icmp eq i64 %10, 16\n store i64 %10, i64* %storemerge12.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n %11 = call i32 @fputc(i32 10, %_IO_FILE* %1)\n %12 = add i64 %storemerge3.reload, 16\n %13 = icmp ult i64 %12, %arg3\n store i64 %12, i64* %storemerge3.reg2mem\n br i1 %13, label LBL_2, label LBL_7\n LBL_7:\n ret i64 0\n\n uselistorder i64 %storemerge3.reload, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg3, { 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "yop_next_macroblock_14772", "fun_name": "yop_next_macroblock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.pre-phi2.reg2mem = alloca i64*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, -2\n %10 = icmp eq i32 %9, %3\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = sext i32 %8 to i64\n %16 = mul i64 %15, 4\n %17 = add i64 %14, %16\n store i64 %17, i64* %13, align 8\n %18 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %18, align 4\n store i64* %13, i64** %.pre-phi2.reg2mem\n br label LBL_3\n LBL_2:\n %19 = add i32 %3, 2\n %20 = bitcast i64* %arg1 to i32*\n store i32 %19, i32* %20, align 4\n %.pre = add i64 %2, 16\n %.pre1 = inttoptr i64 %.pre to i64*\n store i64* %.pre1, i64** %.pre-phi2.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi2.reload = load i64*, i64** %.pre-phi2.reg2mem\n %21 = load i64, i64* %.pre-phi2.reload, align 8\n %22 = add i64 %21, 8\n store i64 %22, i64* %.pre-phi2.reload, align 8\n ret i64 %2\n\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64** %.pre-phi2.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tok_new_13410", "fun_name": "tok_new", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 264)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = add i64 %0, 32\n %4 = inttoptr i64 %3 to i64*\n store i64 0, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 0, i64* %6, align 8\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n %11 = inttoptr i64 %0 to i64*\n store i64 0, i64* %11, align 8\n %12 = add i64 %0, 40\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %0, 48\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = add i64 %0, 56\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = add i64 %0, 64\n %19 = inttoptr i64 %18 to i32*\n store i32 8, i32* %19, align 4\n %20 = add i64 %0, 68\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 72\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 112\n %25 = inttoptr i64 %24 to i32*\n store i32 1, i32* %25, align 4\n %26 = add i64 %0, 116\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %0, 128\n %29 = inttoptr i64 %28 to i64*\n store i64 0, i64* %29, align 8\n %30 = add i64 %0, 120\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n %32 = add i64 %0, 136\n %33 = inttoptr i64 %32 to i32*\n store i32 0, i32* %33, align 4\n %34 = add i64 %0, 140\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n %36 = add i64 %0, 144\n %37 = inttoptr i64 %36 to i32*\n store i32 0, i32* %37, align 4\n %38 = add i64 %0, 184\n %39 = inttoptr i64 %38 to i32*\n store i32 0, i32* %39, align 4\n %40 = add i64 %0, 188\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n %42 = add i64 %0, 192\n %43 = inttoptr i64 %42 to i32*\n store i32 0, i32* %43, align 4\n %44 = add i64 %0, 200\n %45 = inttoptr i64 %44 to i64*\n store i64 0, i64* %45, align 8\n %46 = add i64 %0, 208\n %47 = inttoptr i64 %46 to i64*\n store i64 0, i64* %47, align 8\n %48 = add i64 %0, 216\n %49 = inttoptr i64 %48 to i32*\n store i32 0, i32* %49, align 4\n %50 = add i64 %0, 224\n %51 = inttoptr i64 %50 to i64*\n store i64 0, i64* %51, align 8\n %52 = add i64 %0, 232\n %53 = inttoptr i64 %52 to i64*\n store i64 0, i64* %53, align 8\n %54 = add i64 %0, 240\n %55 = inttoptr i64 %54 to i64*\n store i64 0, i64* %55, align 8\n %56 = add i64 %0, 248\n %57 = inttoptr i64 %56 to i32*\n store i32 0, i32* %57, align 4\n %58 = add i64 %0, 252\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n %60 = add i64 %0, 256\n %61 = inttoptr i64 %60 to i32*\n store i32 0, i32* %61, align 4\n %62 = add i64 %0, 260\n %63 = inttoptr i64 %62 to i32*\n store i32 0, i32* %63, align 4\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sbusfb_compat_ioctl_9832", "fun_name": "sbusfb_compat_ioctl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp eq i32 %1, 11\n br i1 %2, label LBL_8, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = trunc i64 %3 to i32\n %5 = icmp ult i32 %4, 12\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_9\n LBL_2:\n %6 = icmp eq i32 %4, 10\n br i1 %6, label LBL_7, label LBL_3\n LBL_3:\n %7 = icmp ult i32 %4, 11\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_9\n LBL_4:\n %8 = icmp ult i32 %4, 9\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_9, label LBL_5\n LBL_5:\n %9 = icmp eq i32 %4, 9\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_6, label LBL_9\n LBL_6:\n %10 = and i64 %3, 4294967295\n %11 = call i64 @FUNC(i64 %0, i64 %10, i64 %arg3)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i64 %0, i64 %12, i64 %arg3)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %14 = call i64 @FUNC(i64 %0, i64 %arg3)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i64 %0, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 3, 4, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @fbiogetputcmap, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 %arg3, { 2, 1, 0 }\n uselistorder label LBL_9, { 4, 5, 6, 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_choose_timebase_688", "fun_name": "ff_choose_timebase", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %sv_1.25.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_1.13.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 12\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %0 to i32\n store i32 1, i32* %sv_1.0.reg2mem\n store i32 %6, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %7 = add i64 %0, 4\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = trunc i64 %9 to i32\n store i32 %10, i32* %sv_1.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %11 = ashr i32 %sv_0.0.reload, 31\n %12 = zext i32 %sv_0.0.reload to i64\n %13 = zext i32 %11 to i64\n %14 = mul i64 %13, 4294967296\n %15 = or i64 %14, %12\n %16 = sext i32 %arg3 to i64\n store i32 2, i32* %storemerge6.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.25.reg2mem\n br label LBL_7\n LBL_4:\n %17 = sdiv i64 %26, %37\n %18 = trunc i64 %17 to i32\n %19 = and i64 %17, 4294967295\n %20 = sdiv i64 %15, %19\n %21 = and i64 %20, 4294967295\n %22 = icmp slt i64 %21, %16\n store i64 %19, i64* %.reg2mem\n store i32 %18, i32* %sv_1.13.reg2mem\n store i32 %18, i32* %sv_1.1.lcssa.reg2mem\n br i1 %22, label LBL_5, label LBL_6\n LBL_5:\n %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %23 = ashr i32 %sv_1.13.reload, 31\n %24 = zext i32 %23 to i64\n %25 = mul i64 %24, 4294967296\n %26 = or i64 %25, %.reload\n %27 = srem i64 %26, %37\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i32 %sv_1.13.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %29, label LBL_4, label LBL_6\n LBL_6:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %30 = icmp slt i32 %storemerge6.reload, 3\n %. = select i1 %30, i32 1, i32 2\n %31 = add i32 %., %storemerge6.reload\n %32 = icmp slt i32 %31, 14\n store i32 %31, i32* %storemerge6.reg2mem\n store i32 %sv_1.1.lcssa.reload, i32* %sv_1.25.reg2mem\n br i1 %32, label LBL_7, label LBL_9\n LBL_7:\n %sv_1.25.reload = load i32, i32* %sv_1.25.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %33 = zext i32 %sv_1.25.reload to i64\n %34 = sdiv i64 %15, %33\n %35 = and i64 %34, 4294967295\n %36 = icmp slt i64 %35, %16\n store i32 %sv_1.25.reload, i32* %sv_1.1.lcssa.reg2mem\n br i1 %36, label LBL_5.lr.ph, label LBL_6\n LBL_8:\n %37 = zext i32 %storemerge6.reload to i64\n store i64 %33, i64* %.reg2mem\n store i32 %sv_1.25.reload, i32* %sv_1.13.reg2mem\n br label LBL_5\n LBL_9:\n %38 = zext i32 %sv_1.1.lcssa.reload to i64\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %39 = ashr i32 %sv_0.1.reload, 31\n %40 = zext i32 %sv_0.1.reload to i64\n %41 = zext i32 %39 to i64\n %42 = mul i64 %41, 4294967296\n %43 = or i64 %42, %40\n %44 = sdiv i64 %43, %38\n %45 = and i64 %44, 4294967295\n %46 = icmp slt i64 %45, %16\n %47 = icmp slt i32 %sv_0.1.reload, 16777216\n %or.cond = icmp eq i1 %47, %46\n %48 = mul i32 %sv_0.1.reload, 2\n store i32 %48, i32* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_11\n LBL_11:\n %49 = sext i32 %sv_1.1.lcssa.reload to i64\n ret i64 %49\n\n uselistorder i32 %sv_0.1.reload, { 3, 0, 1, 2 }\n uselistorder i32 %storemerge6.reload, { 1, 0, 2 }\n uselistorder i32 %sv_1.25.reload, { 1, 2, 0 }\n uselistorder i32 %sv_1.1.lcssa.reload, { 1, 2, 0 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.1.lcssa.reg2mem, { 3, 0, 1, 2 }\n uselistorder i32* %sv_0.1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "log16_522", "fun_name": "log16", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_1.13.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp ult i64 %arg1, 65536\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %1 = mul i64 %arg1, 65536\n store i64 19, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.14.reg2mem\n store i64 %1, i64* %sv_1.13.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.13.reload = load i64, i64* %sv_1.13.reg2mem\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = mul i64 %indvars.iv.reload, 8\n %3 = add i64 %2, ptrtoint (i64* @gv_3 to i64)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = mul i64 %5, 65536\n %7 = icmp ult i64 %sv_1.13.reload, %6\n store i64 %sv_1.13.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_5, label LBL_4\n LBL_4:\n %8 = trunc i64 %indvars.iv.reload to i32\n %9 = shl i32 1, %8\n %10 = or i32 %9, %sv_0.14.reload\n %11 = udiv i64 %sv_1.13.reload, %5\n %12 = mul i64 %11, 65536\n %13 = urem i64 %sv_1.13.reload, %5\n %14 = mul i64 %13, 65536\n %15 = lshr i64 %5, 63\n %16 = add i64 %15, %5\n %17 = ashr i64 %16, 1\n %18 = add i64 %14, %17\n %19 = udiv i64 %18, %5\n %20 = add i64 %19, %12\n store i64 %20, i64* %sv_1.0.reg2mem\n store i32 %10, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1\n %21 = icmp eq i64 %indvars.iv.reload, 0\n %22 = icmp eq i1 %21, false\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.13.reg2mem\n br i1 %22, label LBL_3, label LBL_6\n LBL_6:\n %23 = sext i32 %sv_0.0.reload to i64\n ret i64 %23\n\n uselistorder i64 %5, { 2, 1, 5, 3, 4, 0 }\n uselistorder i64 %indvars.iv.reload, { 2, 0, 1, 3 }\n uselistorder i32 %sv_0.14.reload, { 1, 0 }\n uselistorder i64 %sv_1.13.reload, { 1, 2, 0, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.13.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_satn_stop_3584", "fun_name": "handle_satn_stop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n store i64 4198792, i64* %11, align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_3:\n %12 = add i64 %2, 20\n %13 = call i64 @FUNC(i64 %2, i64 %12, i64 256)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %2, 16\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = icmp eq i32 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = and i64 %13, 4294967295\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %2, 276\n %21 = inttoptr i64 %20 to i32*\n store i32 1, i32* %21, align 4\n %22 = add i64 %2, 280\n %23 = inttoptr i64 %22 to i32*\n store i32 3, i32* %23, align 4\n %24 = add i64 %2, 284\n %25 = inttoptr i64 %24 to i32*\n store i32 12, i32* %25, align 4\n %26 = add i64 %2, 288\n %27 = inttoptr i64 %26 to i32*\n store i32 16, i32* %27, align 4\n %28 = call i64 @FUNC(i64 %2)\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 8, 7, 6, 0, 9, 10 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dvb_frontend_stop_7149", "fun_name": "dvb_frontend_stop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n %11 = add i64 %4, 24\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %4, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n store i32 1, i32* %14, align 4\n br label LBL_2\n LBL_2:\n %17 = call i64 @FUNC()\n %18 = icmp eq i64 %11, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %11)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %21 = call i64 @FUNC(i64 %11)\n %22 = call i64 @FUNC(i64 %11)\n %23 = load i64, i64* %6, align 8\n %24 = add i64 %23, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp sgt i32 %26, -2\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 0)\n br label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i64 %11, i64 1)\n store i32 0, i32* %14, align 4\n %30 = load i64, i64* %6, align 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i64 %11, i64 %3, i64 %2, i64 %1)\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %14, { 1, 0, 2 }\n uselistorder i64 %11, { 2, 1, 3, 5, 0, 4, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_ctl_dev_disconnect_8045", "fun_name": "snd_ctl_dev_disconnect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge3.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg1, null\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = icmp ugt i32 %7, 255\n %storemerge1 = zext i1 %8 to i64\n %9 = call i64 @FUNC(i64 %storemerge1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_5\n LBL_2:\n %12 = ptrtoint i64* %arg1 to i64\n %13 = add i64 %12, 8\n %14 = call i64 @FUNC(i64 %13)\n %15 = add i64 %12, 64\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %15, i64* %storemerge3.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %18 = add i64 %storemerge3.reload, 8\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i64 @FUNC(i64 %storemerge3.reload, i64 29, i64 0)\n %21 = add i64 %storemerge3.reload, 56\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %storemerge3.reg2mem\n br i1 %25, label LBL_3, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i64 %13)\n %27 = call i64 @FUNC(i64 1, i64 %12, i64 4294967295)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n %31 = and i64 %27, 4294967295\n %spec.select = select i1 %30, i64 0, i64 %31\n ret i64 %spec.select\n LBL_5:\n ret i64 1\n\n uselistorder i64 %storemerge3.reload, { 2, 1, 0 }\n uselistorder i64 %12, { 0, 2, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64 (i64)* @snd_BUG_ON, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_5_3002", "fun_name": "decode_5", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = call i64 @FUNC(i64 %0, i64 %0, i32 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = add i64 %0, 12\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %0, i64* %storemerge13.reg2mem\n store i32 %9, i32* %sv_0.02.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %12 = add i32 %sv_0.02.reload, -1\n %13 = inttoptr i64 %storemerge13.reload to i16*\n %14 = load i16, i16* %13, align 2\n %15 = zext i16 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i16\n store i16 %17, i16* %13, align 2\n %18 = add i64 %storemerge13.reload, 2\n %19 = icmp eq i32 %12, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %storemerge13.reg2mem\n store i32 %12, i32* %sv_0.02.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %20, label LBL_2, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 1, 4, 2, 3 }\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_link_2565", "fun_name": "v9fs_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i8*, align 8\n %3 = bitcast i8** %sv_3 to i64*\n %4 = call i64 @FUNC(i64* nonnull %3)\n %5 = bitcast i32* %sv_1 to i64*\n %6 = bitcast i32* %sv_2 to i64*\n %7 = call i64 @FUNC(i64 %2, i64 7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %5, i64* nonnull %6, i64* nonnull %3)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n store i64 %7, i64* %sv_0.1.reg2mem\n br i1 %9, label LBL_8, label LBL_1\n LBL_1:\n %10 = trunc i64 %1 to i32\n %11 = load i8*, i8** %sv_3, align 8\n %12 = ptrtoint i8* %11 to i64\n %13 = load i32, i32* %sv_2, align 4\n %14 = zext i32 %13 to i64\n %15 = load i32, i32* %sv_1, align 4\n %16 = zext i32 %15 to i64\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i32 %10, i64 %16, i64 %14, i64 %12)\n %21 = load i8*, i8** %sv_3, align 8\n %22 = ptrtoint i8* %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n store i64 4294967294, i64* %sv_0.1.reg2mem\n br i1 %25, label LBL_2, label LBL_8\n LBL_2:\n %26 = load i8*, i8** %sv_3, align 8\n %27 = call i32 @strcmp(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_1, i64 0, i64 0), i8* %26)\n %28 = icmp eq i32 %27, 0\n store i64 4294967279, i64* %sv_0.1.reg2mem\n br i1 %28, label LBL_8, label LBL_3\n LBL_3:\n %29 = load i8*, i8** %sv_3, align 8\n %30 = call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* %29)\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 4294967279, i64* %sv_0.1.reg2mem\n br i1 %32, label LBL_4, label LBL_8\n LBL_4:\n %33 = load i32, i32* %sv_1, align 4\n %34 = zext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %2, i64 %34)\n %36 = icmp eq i64 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 4294967294, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_5, label LBL_8\n LBL_5:\n %38 = load i32, i32* %sv_2, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %2, i64 %39)\n %41 = icmp eq i64 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br i1 %42, label LBL_6, label LBL_7\n LBL_6:\n %43 = call i64 @FUNC(i64 %2, i64 %40, i64 %35, i64* nonnull %3)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n %spec.select = select i1 %46, i64 %43, i64 7\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %47 = call i64 @FUNC(i64 %2, i64 %35)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %48 = call i64 @FUNC(i64* nonnull %3)\n %49 = and i64 %sv_0.1.reload, 4294967295\n %50 = call i64 @FUNC(i64 %2, i64 %49)\n ret i64 %50\n\n uselistorder i64* %3, { 1, 0, 2, 3 }\n uselistorder i8** %sv_3, { 3, 2, 1, 0, 4 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64 %2, { 5, 0, 1, 2, 3, 4, 6 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 5, 1, 3, 2, 4, 6 }\n uselistorder i64 (i64, i64)* @get_fid, { 1, 0 }\n uselistorder i64 4294967279, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i64 4294967294, { 2, 0, 1 }\n uselistorder label LBL_8, { 5, 0, 2, 1, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sk_setup_caps_9288", "fun_name": "sk_setup_caps", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = trunc i64 %2 to i32\n %6 = bitcast i64* %arg1 to i32*\n %7 = trunc i64 %1 to i32\n %8 = urem i32 %7, 2\n %9 = icmp eq i32 %8, 0\n %10 = or i32 %7, 2\n %spec.select = select i1 %9, i32 %5, i32 %10\n store i32 %spec.select, i32* %6, align 4\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = sub i32 0, %13\n %15 = sub i32 %14, 1\n %16 = and i32 %15, %7\n store i32 %16, i32* %6, align 4\n %17 = call i64 @FUNC(i64 %3)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_1\n LBL_1:\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = and i32 %7, -4\n store i32 %24, i32* %6, align 4\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %25 = or i32 %7, 12\n store i32 %25, i32* %6, align 4\n %26 = add i64 %2, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %3, 8\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = load i32, i32* %21, align 4\n %32 = add i64 %3, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n store i64 %3, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %7, { 3, 2, 1, 4, 0 }\n uselistorder i32* %6, { 2, 1, 3, 0 }\n uselistorder i64 %3, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i64 %2, { 0, 2, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "netlbl_cipsov4_add_common_5225", "fun_name": "netlbl_cipsov4_add_common", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.1.lcssa7.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.15.reg2mem = alloca i32\n %sv_1.06.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = call i64 @FUNC(i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = bitcast i64* %arg2 to i32*\n store i32 %4, i32* %5, align 4\n %6 = load i64, i64* @gv_0, align 8\n %7 = add i64 %1, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 2, i64 %6)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %12, label LBL_1, label LBL_9\n LBL_1:\n %13 = ptrtoint i64* %arg2 to i64\n %14 = add i64 %9, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %16 to i16*\n %18 = icmp eq i32 %2, 0\n %19 = icmp slt i32 %2, 0\n %20 = icmp eq i1 %19, false\n %21 = icmp eq i1 %18, false\n %22 = icmp eq i1 %20, %21\n %23 = add i64 %13, 4\n store i32 0, i32* %sv_0.15.reg2mem\n store i32 0, i32* %sv_0.1.lcssa7.reg2mem\n br i1 %22, label LBL_2, label LBL_7\n LBL_2:\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %sv_1.06.reload = load i32, i32* %sv_1.06.reg2mem\n %24 = load i16, i16* %17, align 2\n %25 = icmp eq i16 %24, 3\n %26 = icmp eq i1 %25, false\n store i32 %sv_0.15.reload, i32* %sv_0.0.reg2mem\n br i1 %26, label LBL_5, label LBL_3\n LBL_3:\n %27 = icmp ult i32 %sv_0.15.reload, 10\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %27, label LBL_4, label LBL_9\n LBL_4:\n %28 = add i32 %sv_0.15.reload, 1\n %29 = call i64 @FUNC(i64 %16)\n %30 = zext i32 %sv_0.15.reload to i64\n %31 = trunc i64 %29 to i8\n %32 = add i64 %23, %30\n %33 = inttoptr i64 %32 to i8*\n store i8 %31, i8* %33, align 1\n store i32 %28, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %34 = add i32 %sv_1.06.reload, -1\n %35 = icmp eq i32 %34, 0\n %36 = icmp slt i32 %34, 0\n %37 = icmp eq i1 %36, false\n %38 = icmp eq i1 %35, false\n %39 = icmp eq i1 %37, %38\n store i32 %34, i32* %sv_1.06.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.15.reg2mem\n br i1 %39, label LBL_2, label LBL_6\n LBL_6:\n %40 = icmp ult i32 %sv_0.0.reload, 10\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa7.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %40, label LBL_7, label LBL_9\n LBL_7:\n %sv_0.1.lcssa7.reload = load i32, i32* %sv_0.1.lcssa7.reg2mem\n %41 = zext i32 %sv_0.1.lcssa7.reload to i64\n store i64 %41, i64* %indvars.iv.reg2mem\n br label LBL_8\n LBL_8:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %42 = add i64 %23, %indvars.iv.reload\n %43 = inttoptr i64 %42 to i8*\n store i8 -1, i8* %43, align 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_9, label LBL_8\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i32 %sv_0.15.reload, { 2, 3, 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i32* %sv_1.06.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.1.lcssa7.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i1 false, { 4, 2, 3, 0, 1 }\n uselistorder i32 0, { 4, 5, 0, 1, 2, 3, 6 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0, 3 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_header_13109", "fun_name": "update_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 32\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %4, i64 %10)\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = inttoptr i64 %11 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %18 = add i64 %4, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = add i64 %4, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %14, i64 %23, i32 %20)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_5, label LBL_4\n LBL_4:\n %27 = load i64, i64* %22, align 8\n %28 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %23, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %29 = add i64 %4, 24\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = call i64 @FUNC(i64 %24, i64 %31)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 0, 2, 1, 3, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @ast_log, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_register_name_32_2009", "fun_name": "get_register_name_32", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = icmp ult i32 %0, 8\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = mul i64 %arg1, 8\n %3 = and i64 %2, 34359738360\n %4 = add i64 %3, ptrtoint ([8 x i8*]* @gv_0 to i64)\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read32_7046", "fun_name": "read32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i8 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = add i32 %arg2, -4\n %1 = icmp ult i32 %0, %arg3\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i32 7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = zext i32 %arg3 to i64\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i8*\n %6 = icmp eq i8 %arg4, 0\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = add i64 %4, 3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i64\n %11 = mul i64 %10, 16777216\n %12 = add i64 %4, 2\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = zext i8 %14 to i64\n %16 = mul i64 %15, 65536\n %17 = or i64 %16, %11\n %18 = add i64 %4, 1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = zext i8 %20 to i64\n %22 = mul i64 %21, 256\n %23 = or i64 %17, %22\n %24 = load i8, i8* %5, align 1\n %25 = zext i8 %24 to i64\n %26 = or i64 %23, %25\n store i64 %26, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %27 = load i8, i8* %5, align 1\n %28 = zext i8 %27 to i64\n %29 = mul i64 %28, 16777216\n %30 = add i64 %4, 1\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = zext i8 %32 to i64\n %34 = mul i64 %33, 65536\n %35 = or i64 %34, %29\n %36 = add i64 %4, 2\n %37 = inttoptr i64 %36 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = zext i8 %38 to i64\n %40 = mul i64 %39, 256\n %41 = or i64 %35, %40\n %42 = add i64 %4, 3\n %43 = inttoptr i64 %42 to i8*\n %44 = load i8, i8* %43, align 1\n %45 = zext i8 %44 to i64\n %46 = or i64 %41, %45\n store i64 %46, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %5, { 1, 0 }\n uselistorder i64 %4, { 3, 4, 5, 0, 1, 2, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_read_sock_13720", "fun_name": "tcp_read_sock", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.342.reg2mem = alloca i32\n %sv_0.3.reg2mem = alloca i32\n %sv_1.3.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_3.1.reg2mem = alloca i32\n %sv_1.210.reg2mem = alloca i32\n %sv_0.212.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = ptrtoint i32* %arg1 to i64\n %sv_4 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 1\n %8 = icmp eq i1 %7, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %8, label LBL_1, label LBL_20\n LBL_1:\n %9 = zext i32 %5 to i64\n %10 = call i64 @FUNC(i64 %2, i64 %9, i32* nonnull %sv_4)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n store i32 %5, i32* %4, align 4\n %13 = call i64 @FUNC(i64 %2)\n store i32 0, i32* %sv_0.342.reg2mem\n br label LBL_17.dec_label_pc_401377_crit_edge\n LBL_3:\n %14 = add i64 %3, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = ptrtoint i32* %arg2 to i64\n %19 = trunc i64 %18 to i32\n %20 = icmp slt i32 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = bitcast i64* %rsi to i32*\n store i64 %10, i64* %.reg2mem\n store i32 0, i32* %sv_0.212.reg2mem\n store i32 %5, i32* %sv_1.210.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.210.reload = load i32, i32* %sv_1.210.reg2mem\n %sv_0.212.reload = load i32, i32* %sv_0.212.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %23 = load i32, i32* %sv_4, align 4\n %24 = zext i32 %23 to i64\n %25 = inttoptr i64 %.reload to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp ugt i64 %26, %24\n %28 = icmp eq i1 %27, false\n store i32 %sv_1.210.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.212.reload, i32* %sv_0.1.reg2mem\n store i64 %.reload, i64* %sv_2.0.reg2mem\n br i1 %28, label LBL_13, label LBL_5\n LBL_5:\n %29 = trunc i64 %26 to i32\n %30 = sub i32 %29, %23\n %31 = load i32, i32* %15, align 4\n %32 = icmp eq i32 %31, 0\n store i32 %30, i32* %sv_3.1.reg2mem\n br i1 %32, label LBL_7, label LBL_6\n LBL_6:\n %33 = load i32, i32* %17, align 4\n %34 = sub i32 %33, %sv_1.210.reload\n %35 = zext i32 %34 to i64\n %36 = sext i32 %30 to i64\n %37 = icmp ugt i64 %36, %35\n %spec.select = select i1 %37, i32 %34, i32 %30\n %38 = icmp eq i32 %spec.select, 0\n store i32 %spec.select, i32* %sv_3.1.reg2mem\n store i32 %sv_1.210.reload, i32* %sv_1.3.reg2mem\n store i32 %sv_0.212.reload, i32* %sv_0.3.reg2mem\n br i1 %38, label LBL_17, label LBL_7\n LBL_7:\n br i1 %21, label LBL_9, label LBL_8\n LBL_8:\n %39 = icmp eq i32 %sv_0.212.reload, 0\n %40 = icmp eq i1 %39, false\n %spec.select5 = select i1 %40, i32 %sv_0.212.reload, i32 %19\n store i32 %sv_1.210.reload, i32* %sv_1.3.reg2mem\n store i32 %spec.select5, i32* %sv_0.3.reg2mem\n br label LBL_17\n LBL_9:\n %sv_3.1.reload = load i32, i32* %sv_3.1.reg2mem\n %41 = icmp ult i32 %sv_3.1.reload, %19\n store i32 %sv_1.210.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.212.reload, i32* %sv_0.0.reg2mem\n br i1 %41, label LBL_11, label LBL_10\n LBL_10:\n %42 = add i32 %sv_1.210.reload, %19\n %43 = add i32 %sv_0.212.reload, %19\n %44 = add i32 %23, %19\n store i32 %44, i32* %sv_4, align 4\n store i32 %42, i32* %sv_1.0.reg2mem\n store i32 %43, i32* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %45 = add i32 %sv_1.0.reload, -1\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %2, i64 %46, i32* nonnull %sv_4)\n %48 = icmp eq i64 %47, 0\n store i32 %sv_1.0.reload, i32* %sv_1.3.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.3.reg2mem\n br i1 %48, label LBL_17, label LBL_12\n LBL_12:\n %49 = load i32, i32* %sv_4, align 4\n %50 = add i32 %49, 1\n %51 = zext i32 %50 to i64\n %52 = inttoptr i64 %47 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = icmp eq i64 %53, %51\n %55 = icmp eq i1 %54, false\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n store i64 %47, i64* %sv_2.0.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.3.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.3.reg2mem\n br i1 %55, label LBL_17, label LBL_13\n LBL_13:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %56 = call i64 @FUNC(i64 %sv_2.0.reload)\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = icmp eq i32 %58, 0\n %60 = call i64 @FUNC(i64 %2, i64 %sv_2.0.reload, i64 0)\n br i1 %59, label LBL_15, label LBL_14\n LBL_14:\n %61 = add i32 %sv_1.1.reload, 1\n store i32 %61, i32* %sv_1.3.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem\n br label LBL_17\n LBL_15:\n %62 = load i32, i32* %22, align 8\n %63 = icmp eq i32 %62, 0\n store i32 %sv_1.1.reload, i32* %sv_1.3.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem\n br i1 %63, label LBL_17, label LBL_16\n LBL_16:\n store i32 %sv_1.1.reload, i32* %4, align 4\n %64 = zext i32 %sv_1.1.reload to i64\n %65 = call i64 @FUNC(i64 %2, i64 %64, i32* nonnull %sv_4)\n %66 = icmp eq i64 %65, 0\n %67 = icmp eq i1 %66, false\n store i64 %65, i64* %.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.212.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.210.reg2mem\n store i32 %sv_1.1.reload, i32* %sv_1.3.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.3.reg2mem\n br i1 %67, label LBL_4, label LBL_17\n LBL_17:\n %sv_0.3.reload = load i32, i32* %sv_0.3.reg2mem\n %sv_1.3.reload = load i32, i32* %sv_1.3.reg2mem\n store i32 %sv_1.3.reload, i32* %4, align 4\n %68 = call i64 @FUNC(i64 %2)\n %69 = icmp slt i32 %sv_0.3.reload, 1\n store i32 %sv_0.3.reload, i32* %sv_0.342.reg2mem\n br i1 %69, label LBL_17.dec_label_pc_401377_crit_edge, label LBL_19\n LBL_18:\n %sv_0.342.reload = load i32, i32* %sv_0.342.reg2mem\n %.pre = zext i32 %sv_0.342.reload to i64\n store i64 %.pre, i64* %storemerge.reg2mem\n br label LBL_20\n LBL_19:\n %70 = zext i32 %sv_0.3.reload to i64\n %71 = call i64 @FUNC(i64 %2, i64 %70)\n store i64 %70, i64* %storemerge.reg2mem\n br label LBL_20\n LBL_20:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_0.3.reload, { 2, 0, 1 }\n uselistorder i32 %sv_1.1.reload, { 0, 5, 3, 2, 1, 4 }\n uselistorder i32 %sv_0.1.reload, { 0, 3, 1, 2 }\n uselistorder i64 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 2, 0, 3 }\n uselistorder i32 %sv_0.0.reload, { 1, 2, 0 }\n uselistorder i32 %30, { 1, 2, 0 }\n uselistorder i32 %sv_0.212.reload, { 3, 2, 5, 4, 0, 1 }\n uselistorder i32 %sv_1.210.reload, { 5, 3, 1, 0, 4, 2 }\n uselistorder i32 %19, { 0, 1, 2, 4, 3, 5 }\n uselistorder i32* %4, { 2, 1, 0, 3 }\n uselistorder i32* %sv_4, { 1, 3, 2, 4, 5, 0 }\n uselistorder i64 %2, { 2, 3, 6, 5, 4, 0, 1, 7 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.212.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.210.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.3.reg2mem, { 0, 3, 5, 7, 2, 1, 6, 4 }\n uselistorder i32* %sv_0.3.reg2mem, { 0, 3, 5, 7, 2, 1, 6, 4 }\n uselistorder i64 (i64)* @tcp_rcv_space_adjust, { 1, 0 }\n uselistorder i64 (i64, i64, i32*)* @tcp_recv_skb, { 1, 2, 0 }\n uselistorder i1 false, { 5, 1, 2, 4, 3, 0, 6 }\n uselistorder label LBL_17.dec_label_pc_401377_crit_edge, { 1, 0 }\n uselistorder label LBL_17, { 2, 4, 6, 1, 0, 5, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm_set_cpu_off_1751", "fun_name": "arm_set_cpu_off", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 61, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([16 x i8]* @gv_2 to i64), i64* %rcx.0.reg2mem\n store i64 61, i64* %rdx.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %arg1, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_6\n LBL_3:\n %11 = call i64 @FUNC(i64 %8)\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i64 %arg1, i64 %2, i64 %1)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %17 = call i64 @FUNC(i64 %8, i64 4199117, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder [16 x i8]* @gv_2, { 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 8, 3, 1, 9, 2, 0 }\n uselistorder i64 %arg1, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_udvm_literal_operand_5158", "fun_name": "decode_udvm_literal_operand", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp ult i32 %0, 256\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_7\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = and i64 %3, 4294967295\n %5 = add i64 %4, %2\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp slt i8 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\n %10 = and i8 %7, -64\n %11 = icmp eq i8 %10, -128\n %12 = icmp eq i1 %11, false\n %13 = urem i8 %7, 32\n %14 = zext i8 %13 to i16\n %15 = mul i16 %14, 256\n %16 = add nsw i64 %3, 1\n %17 = urem i64 %16, 65536\n %18 = add i64 %17, %2\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = zext i8 %20 to i16\n %22 = or i16 %15, %21\n %23 = bitcast i64* %arg3 to i16*\n store i16 %22, i16* %23, align 2\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %sext4 = add i64 %sext, 8589934592\n store i64 %sext4, i64* %sv_0.0.in.reg2mem\n br label LBL_6\n LBL_4:\n %sext5 = add i64 %sext, 12884901888\n store i64 %sext5, i64* %sv_0.0.in.reg2mem\n br label LBL_6\n LBL_5:\n %24 = urem i8 %7, -128\n %25 = zext i8 %24 to i16\n %26 = bitcast i64* %arg3 to i16*\n store i16 %25, i16* %26, align 2\n %sext6 = add i64 %sext, 4294967296\n store i64 %sext6, i64* %sv_0.0.in.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %27 = udiv i64 %sv_0.0.in.reload, 4294967296\n store i64 %27, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sext, { 3, 2, 1, 0 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967296, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scene_sad8_15147", "fun_name": "scene_sad8", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i64* %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %0 = trunc i64 %arg6 to i32\n %1 = icmp sgt i32 %0, 0\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %2 = icmp sgt i32 %arg3, 0\n %3 = zext i32 %arg3 to i64\n store i64 0, i64* %sv_0.16.reg2mem\n store i32 0, i32* %sv_1.05.reg2mem\n br label LBL_4\n LBL_2:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %4 = add i64 %sv_0.03.reload, %3\n %5 = add i32 %storemerge4.reload, 8\n %6 = icmp slt i32 %5, %arg3\n store i32 %5, i32* %storemerge4.reg2mem\n store i64 %4, i64* %sv_0.03.reg2mem\n store i64 %4, i64* %sv_0.0.lcssa.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %7 = add i32 %sv_1.05.reload, 8\n %8 = icmp slt i32 %7, %0\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.16.reg2mem\n store i32 %7, i32* %sv_1.05.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %8, label LBL_4, label LBL_5\n LBL_4:\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n store i64 %sv_0.16.reload, i64* %sv_0.03.reg2mem\n store i64 %sv_0.16.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %2, label LBL_2, label LBL_3\n LBL_5:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %9 = call i64 @FUNC()\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i64 %sv_0.16.reload, { 1, 0 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i32 %arg3, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nameserver_send_probe_9009", "fun_name": "nameserver_send_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = ptrtoint i64* %sv_0 to i64\n %6 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 128)\n %7 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %6, i64 %5, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 1, i64 0)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 1, i64 %8, i64 1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 4199069, i64 %3)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %8)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %14 = add i64 %3, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %8, i64* %15, align 8\n %16 = call i64 @FUNC(i64 1)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %10, i64 %17)\n %19 = inttoptr i64 %10 to i64*\n store i64 %3, i64* %19, align 8\n %20 = call i64 @FUNC(i64 %10)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 0, 2, 1, 3 }\n uselistorder i64 %8, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 1, 3, 2, 4, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "git_revwalk_reset_18391", "fun_name": "git_revwalk_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.03.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.03.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64* %rdi.03.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.03.reload = load i64, i64* %rdi.03.reg2mem\n %3 = inttoptr i64 %rdi.03.reload to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %rdi.03.reload, 4\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %rdi.03.reload, 8\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n %8 = add i64 %rdi.03.reload, 12\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %rdi.03.reload, 16\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %0, 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 16\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %0, 24\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 32\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %0, 40\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %0, 48\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 56\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 52\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 2, 1, 3, 6, 5, 4, 9, 8, 7, 0 }\n uselistorder i64* %rdi.03.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @git_commit_list_free, { 3, 2, 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i32 0, { 0, 6, 7, 1, 2, 3, 4, 5 }\n uselistorder [5 x i8]* @gv_0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_mv_component_1746", "fun_name": "read_mv_component", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %sv_0.2.reg2mem = alloca i32\n %sv_0.18.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i32\n %indvars.iv13.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = urem i64 %1, 256\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_8, label LBL_1\n LBL_1:\n %8 = add i64 %2, 9\n store i64 0, i64* %indvars.iv13.reg2mem\n store i32 0, i32* %sv_0.010.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %indvars.iv13.reload = load i64, i64* %indvars.iv13.reg2mem\n %9 = add i64 %8, %indvars.iv13.reload\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i64\n %13 = call i64 @FUNC(i64 %3, i64 %12)\n %14 = icmp eq i64 %indvars.iv13.reload, 0\n %15 = trunc i64 %13 to i32\n %16 = trunc i64 %indvars.iv13.reload to i32\n %17 = shl i32 %15, %16\n %18 = zext i32 %17 to i64\n %rdx.0 = select i1 %14, i64 %13, i64 %18\n %19 = trunc i64 %rdx.0 to i32\n %20 = add i32 %sv_0.010.reload, %19\n %indvars.iv.next14 = add nuw nsw i64 %indvars.iv13.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next14, 3\n store i64 %indvars.iv.next14, i64* %indvars.iv13.reg2mem\n store i32 %20, i32* %sv_0.010.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %21 = icmp eq i32 %arg3, 0\n %. = select i1 %21, i64 9, i64 7\n store i64 %., i64* %indvars.iv.reg2mem\n store i32 %20, i32* %sv_0.18.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.18.reload = load i32, i32* %sv_0.18.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = add i64 %8, %indvars.iv.reload\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = zext i8 %24 to i64\n %26 = call i64 @FUNC(i64 %3, i64 %25)\n %27 = trunc i64 %indvars.iv.reload to i32\n %28 = urem i32 %27, 32\n %29 = icmp eq i32 %28, 0\n %30 = trunc i64 %26 to i32\n %31 = shl i32 %30, %28\n %32 = zext i32 %31 to i64\n %rdx.1 = select i1 %29, i64 %26, i64 %32\n %33 = trunc i64 %rdx.1 to i32\n %34 = add i32 %sv_0.18.reload, %33\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1\n %35 = icmp sgt i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %34, i32* %sv_0.18.reg2mem\n br i1 %35, label LBL_4, label LBL_5\n LBL_5:\n %.6 = select i1 %21, i32 65520, i32 240\n %36 = and i32 %34, %.6\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = add i64 %2, 12\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i64\n %42 = call i64 @FUNC(i64 %3, i64 %41)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store i32 %34, i32* %sv_0.2.reg2mem\n br i1 %44, label LBL_9, label LBL_7\n LBL_7:\n %45 = add i32 %34, 8\n store i32 %45, i32* %sv_0.2.reg2mem\n br label LBL_9\n LBL_8:\n %46 = add i64 %2, 2\n %47 = inttoptr i64 %46 to i8*\n %48 = load i8, i8* %47, align 1\n %49 = zext i8 %48 to i64\n %50 = call i64 @FUNC(i64 %3, i64 %49)\n %51 = trunc i64 %50 to i32\n %52 = mul i64 %50, 12884901888\n %sext = add i64 %52, 4294967296\n %53 = ashr exact i64 %sext, 32\n %54 = add i64 %53, %46\n %55 = mul i32 %51, 4\n %56 = inttoptr i64 %54 to i8*\n %57 = load i8, i8* %56, align 1\n %58 = zext i8 %57 to i64\n %59 = call i64 @FUNC(i64 %3, i64 %58)\n %60 = mul i64 %59, 4294967296\n %sext5 = add i64 %60, 4294967296\n %61 = ashr exact i64 %sext5, 32\n %62 = add i64 %61, %54\n %63 = trunc i64 %59 to i32\n %64 = mul i32 %63, 2\n %65 = add i32 %64, %55\n %66 = inttoptr i64 %62 to i8*\n %67 = load i8, i8* %66, align 1\n %68 = zext i8 %67 to i64\n %69 = call i64 @FUNC(i64 %3, i64 %68)\n %70 = trunc i64 %69 to i32\n %71 = add i32 %65, %70\n store i32 %71, i32* %sv_0.2.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem\n %72 = icmp eq i32 %sv_0.2.reload, 0\n store i64 0, i64* %storemerge.in.reg2mem\n br i1 %72, label LBL_11, label LBL_10\n LBL_10:\n %73 = add i64 %2, 1\n %74 = inttoptr i64 %73 to i8*\n %75 = load i8, i8* %74, align 1\n %76 = zext i8 %75 to i64\n %77 = call i64 @FUNC(i64 %3, i64 %76)\n %78 = trunc i64 %77 to i32\n %79 = icmp eq i32 %78, 0\n %80 = sub i32 0, %sv_0.2.reload\n %spec.select = select i1 %79, i32 %sv_0.2.reload, i32 %80\n %phitmp = zext i32 %spec.select to i64\n store i64 %phitmp, i64* %storemerge.in.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n ret i64 %storemerge.in.reload\n\n uselistorder i32 %sv_0.2.reload, { 2, 1, 0 }\n uselistorder i64 %59, { 1, 0 }\n uselistorder i32 %34, { 3, 0, 2, 1 }\n uselistorder i32 %28, { 1, 0 }\n uselistorder i1 %21, { 1, 0 }\n uselistorder i64 %3, { 3, 4, 5, 6, 0, 1, 2, 7 }\n uselistorder i64 %2, { 2, 3, 1, 0 }\n uselistorder i64* %indvars.iv13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.010.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.18.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.2.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 4294967296, { 1, 0, 2 }\n uselistorder i64 2, { 2, 0, 1 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @vp56_rac_get_prob, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_std_framerate_2381", "fun_name": "get_std_framerate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i32\n %sext = mul i64 %arg1, 4294967296\n %1 = icmp sgt i32 %0, 719\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %sext2 = add i64 %sext, 4294967296\n %2 = udiv i64 %sext2, 4294967296\n %3 = mul nuw nsw i64 %2, 1001\n %4 = and i64 %3, 4294967295\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %5 = ptrtoint i64* %sv_0 to i64\n %sext3 = add i64 %sext, -3092376453120\n %6 = ashr exact i64 %sext3, 30\n %7 = add nsw i64 %6, -32\n %8 = add i64 %7, %5\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = mul i32 %10, 12000\n %12 = zext i32 %11 to i64\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967296, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vty_lookup_2961", "fun_name": "vty_lookup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = or i64 %1, %arg2\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %5 = call i64 @FUNC(i64 %1, i64 1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %. = select i1 %8, i64 %1, i64 0\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smc91c111_release_packet_643", "fun_name": "smc91c111_release_packet", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = trunc i64 %arg2 to i32\n %4 = urem i32 %3, 32\n %5 = icmp eq i32 %4, 0\n %6 = shl i32 -1, %4\n %phitmp = add i32 %6, -1\n %storemerge = select i1 %5, i32 -2, i32 %phitmp\n %7 = and i32 %storemerge, %2\n store i32 %7, i32* %arg1, align 4\n %8 = ptrtoint i32* %arg1 to i64\n %9 = add i64 %8, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 128\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %8)\n br label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %8)\n ret i64 %15\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsi_ValueObjKeyAssign_12358", "fun_name": "jsi_ValueObjKeyAssign", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %storemerge.reg2mem = alloca i64\n %2 = load i64, i64* %1\n %3 = load i64, i64* %1\n %4 = load i128, i128* %0\n %5 = ptrtoint i64* %arg4 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = trunc i64 %3 to i32\n %8 = icmp eq i32 %7, 1\n %9 = icmp eq i1 %8, false\n %.pre = ptrtoint i32* %arg3 to i64\n br i1 %9, label LBL_5, label LBL_1\n LBL_1:\n %10 = add i64 %.pre, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i128 @FUNC(i64 %12)\n %14 = call i64 @FUNC()\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_5, label LBL_2\n LBL_2:\n %17 = trunc i64 %2 to i32\n %18 = load i64, i64* %11, align 8\n %19 = call i128 @__asm_movsd.1(i64 %18)\n %20 = call i128 @FUNC(i128 %4, i128 %4)\n call void @FUNC(i128 %19, i128 %20)\n %21 = load i64, i64* %11, align 8\n %22 = call i128 @__asm_movsd.1(i64 %21)\n %23 = call i32 @FUNC(i128 %22)\n %24 = icmp ugt i32 %23, 99\n %25 = icmp eq i32 %17, 2\n %26 = icmp eq i1 %25, false\n %or.cond = or i1 %26, %24\n br i1 %or.cond, label LBL_5, label LBL_3\n LBL_3:\n %27 = ptrtoint i32* %arg2 to i64\n %28 = add i64 %27, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, 0\n br i1 %33, label LBL_5, label LBL_4\n LBL_4:\n %34 = call i64 @FUNC(i64 %6, i64 %30, i64 %5, i32 %23)\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_5:\n %35 = call i64 @FUNC(i64 %6, i64 %.pre, i64 0)\n %36 = call i64 @FUNC(i64 %6)\n %37 = icmp eq i64* %arg4, null\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = call i64 @FUNC(i64 %6, i64 %36, i64 %5)\n br label LBL_7\n LBL_7:\n %39 = and i64 %arg5, 4294967295\n %40 = call i64 @FUNC(i64 %6, i64 %.pre)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n %44 = ptrtoint i32* %arg2 to i64\n %45 = zext i1 %43 to i64\n %46 = call i64 @FUNC(i64 %6, i64 %44, i64 %35, i64 %36, i64 %39, i64 %45)\n %47 = call i64 @FUNC(i64 %6, i64 %36)\n store i64 %36, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %23, { 1, 0 }\n uselistorder i64 %6, { 3, 2, 4, 1, 6, 5, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %1, { 1, 0 }\n uselistorder i64 ()* @Jsi_NumberIsInteger, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 2, 3, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "libgsm_close_15650", "fun_name": "libgsm_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_net_has_buffers_3373", "fun_name": "virtio_net_has_buffers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_6, label LBL_2\n LBL_2:\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %0, i64 %10, i64 0)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_6, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0, i64 1)\n %16 = call i64 @FUNC(i64 %0)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %19, label LBL_7, label LBL_4\n LBL_4:\n %20 = add i64 %0, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = and i64 %1, 4294967295\n %25 = call i64 @FUNC(i64 %0, i64 %24, i64 0)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_6, label LBL_7\n LBL_6:\n %29 = call i64 @FUNC(i64 %0, i64 0)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 0, 3, 4, 6, 5, 1, 2, 7 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @virtio_queue_set_notification, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @virtqueue_avail_bytes, { 1, 0 }\n uselistorder i64 (i64)* @virtio_queue_empty, { 1, 0 }\n uselistorder label LBL_7, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sgpd_Read_8592", "fun_name": "sgpd_Read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.02.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = call i64 @FUNC(i64 %1, i64 4)\n %6 = add i64 %1, 16\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = add i64 %1, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = call i64 @FUNC(i64 %1, i64 4)\n %.pr = load i32, i32* %7, align 4\n %15 = icmp ult i32 %.pr, 2\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = call i64 @FUNC(i64 %0)\n %17 = trunc i64 %16 to i32\n %18 = add i64 %1, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = call i64 @FUNC(i64 %1, i64 4)\n br label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %0)\n %22 = trunc i64 %21 to i32\n %23 = call i64 @FUNC(i64 %1, i64 4)\n %24 = add i64 %1, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp ult i32 %26, %22\n store i64 1, i64* %rax.0.reg2mem\n br i1 %27, label LBL_10, label LBL_4\n LBL_4:\n %28 = icmp eq i32 %22, 0\n %29 = icmp eq i1 %28, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_5, label LBL_10\n LBL_5:\n %30 = add i64 %1, 4\n %31 = inttoptr i64 %30 to i32*\n %32 = bitcast i64* %rdi to i32*\n %33 = add i64 %1, 24\n %34 = inttoptr i64 %33 to i64*\n store i32 %22, i32* %sv_1.02.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.02.reload = load i32, i32* %sv_1.02.reg2mem\n store i32 0, i32* %sv_2, align 4\n %35 = load i32, i32* %31, align 4\n %36 = load i32, i32* %7, align 4\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i32 %35, 0\n %39 = icmp eq i1 %38, false\n %or.cond = or i1 %37, %39\n store i32 %35, i32* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %40 = call i64 @FUNC(i64 %0)\n %41 = trunc i64 %40 to i32\n %42 = call i64 @FUNC(i64 %1, i64 4)\n store i32 %41, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %43 = load i32, i32* %32, align 8\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %44, i64 %0, i32 %sv_0.0.reload, i32* nonnull %sv_2)\n %46 = icmp eq i64 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %47, label LBL_9, label LBL_10\n LBL_9:\n %48 = load i32, i32* %sv_2, align 4\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %1, i64 %49)\n %51 = load i64, i64* %34, align 8\n %52 = call i64 @FUNC(i64 %51, i64 %45)\n %53 = add i32 %sv_1.02.reload, -1\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n store i32 %53, i32* %sv_1.02.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %55, label LBL_6, label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %7, { 1, 0, 2 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i64 %1, { 5, 4, 6, 7, 9, 8, 2, 3, 0, 1, 10, 11 }\n uselistorder i64 %0, { 3, 2, 4, 1, 0, 5 }\n uselistorder i32* %sv_1.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 0, { 1, 0, 5, 2, 3, 4 }\n uselistorder i1 false, { 3, 2, 1, 0 }\n uselistorder i32 0, { 4, 1, 3, 2, 0, 5 }\n uselistorder i64 (i64, i64)* @ISOM_DECREASE_SIZE, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4, { 0, 5, 1, 2, 3, 6, 4 }\n uselistorder i64 (i64)* @gf_bs_read_u32, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "search_reverse_9573", "fun_name": "search_reverse", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 %0, i64* %storemerge2.reg2mem\n store i64 0, i64* %sv_0.01.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %4 = inttoptr i64 %storemerge2.reload to i64*\n %5 = load i64, i64* %4, align 8\n store i64 %sv_0.01.reload, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %storemerge2.reg2mem\n store i64 %storemerge2.reload, i64* %sv_0.01.reg2mem\n store i64 %storemerge2.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %7, label LBL_1, label LBL_2\n LBL_2:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ccw_init_334", "fun_name": "ccw_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC()\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %2)\n %7 = call i64 @FUNC()\n %8 = call i64 @FUNC()\n %9 = add i64 %2, 24\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17, i64 %14, i64 %11, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 1)\n %19 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n %20 = call i64 @FUNC(i64 %19)\n %21 = call i64 @FUNC()\n %22 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i64 %20, i64 0)\n %23 = call i64 @FUNC(i64 %19)\n %24 = call i64 @FUNC()\n %25 = call i64 @FUNC(i64 0)\n %26 = call i64 @FUNC(i64 %25)\n %27 = call i64 @FUNC(i64 0, i64 1)\n %storemerge = trunc i64 %27 to i32\n %28 = icmp eq i32 %storemerge, 0\n br i1 %28, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_4, i64 0, i64 0), i32 68, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %29 = call i64 @FUNC(i64 %8, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_6, i64 0, i64 0))\n %30 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_7, i64 0, i64 0), i64 0, i64 1, i64* nonnull @gv_8, i64 0)\n ret i64 %30\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "red_channel_client_push_8239", "fun_name": "red_channel_client_push", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_9, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %7, align 4\n %8 = call i64 @FUNC(i64 %6)\n %9 = add i64 %6, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %6)\n br label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %6)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = load i32, i32* %10, align 4\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n store i32 1, i32* %10, align 4\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i64 %6)\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %.reg2mem\n br i1 %24, label LBL_7, label LBL_8\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %25 = call i64 @FUNC(i64 %6, i64 %.reload)\n %26 = call i64 @FUNC(i64 %6)\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %26, i64* %.reg2mem\n br i1 %28, label LBL_7, label LBL_8\n LBL_8:\n store i32 0, i32* %7, align 4\n %29 = call i64 @FUNC(i64 %6)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %10, { 1, 0, 2 }\n uselistorder i64 %6, { 2, 4, 3, 0, 5, 1, 7, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @red_channel_client_pipe_item_get, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_evict_inode_7235", "fun_name": "fuse_evict_inode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %2, 12\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %2)\n %7 = urem i64 %1, 2\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_3, label LBL_1\n LBL_1:\n %9 = inttoptr i64 %3 to i32*\n %10 = call i64 @FUNC(i64 %2)\n %11 = load i32, i32* %9, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %3, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %10, i64 %18, i32 %15, i32 %11)\n store i64 0, i64* %17, align 8\n br label LBL_3\n LBL_3:\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = trunc i32 %22 to i16\n %24 = icmp sgt i16 %23, -1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_8, label LBL_4\n LBL_4:\n %25 = add i64 %3, 20\n %26 = call i64 @FUNC(i64 %25)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %31 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %30)\n br label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %25)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %35, label LBL_8, label LBL_7\n LBL_7:\n %36 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %37 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_1 to i64*), i32 1, i32 26, %_IO_FILE* %36)\n %38 = sext i32 %37 to i64\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2, 3, 4 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 (i64)* @list_empty, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipv4_pktinfo_prepare_6807", "fun_name": "ipv4_pktinfo_prepare", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i32* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %2 to i32*\n %4 = call i64 @FUNC(i64 %1)\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = urem i32 %6, 2\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %0)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = load i32, i32* %3, align 4\n %17 = icmp eq i32 %16, 1\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %0)\n %20 = trunc i64 %19 to i32\n store i32 %20, i32* %3, align 4\n br label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %0)\n %22 = add i64 %2, 8\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n br label LBL_7\n LBL_6:\n store i32 0, i32* %3, align 4\n %24 = add i64 %2, 8\n %25 = inttoptr i64 %24 to i64*\n store i64 0, i64* %25, align 8\n br label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %0)\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %33 = call i64 @FUNC(i64 %0)\n store i64 %33, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_9:\n %34 = call i64 @FUNC(i64 %0)\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %3, { 2, 0, 1 }\n uselistorder i64 %0, { 2, 3, 4, 1, 0, 5, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_sched_cfs_slack_timer_6690", "fun_name": "do_sched_cfs_slack_timer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 %1, i64 %2)\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i8*\n store i8 0, i8* %6, align 1\n %7 = add i64 %1, 9\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 0\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %1, i64 %2)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %12 = call i64 @FUNC(i64 %1, i64 1000)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 0\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %1, i64 %2)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %16 = add i64 %1, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, -1\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %20 = add i64 %1, 24\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp ult i64 %3, %22\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i64 %22, 0\n %or.cond = or i1 %25, %24\n br i1 %or.cond, label LBL_6, label LBL_7\n LBL_6:\n %26 = call i64 @FUNC(i64 %1, i64 %2)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n store i8 1, i8* %8, align 1\n %27 = call i64 @FUNC(i64 %1, i64 %2)\n %28 = call i64 @FUNC(i64 %1, i64 %22)\n %29 = call i64 @FUNC(i64 %1, i64 %2)\n %30 = call i64 @FUNC(i64 %20, i64 %28)\n store i8 0, i8* %8, align 1\n %31 = call i64 @FUNC(i64 %1, i64 %2)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i8* %8, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 1, 2, 6, 3, 4, 5 }\n uselistorder i64 %1, { 1, 3, 2, 4, 0, 7, 5, 6, 10, 9, 8, 11, 12 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 (i64, i64)* @raw_spin_unlock_irqrestore, { 4, 3, 0, 2, 1 }\n uselistorder i64 (i64, i64)* @raw_spin_lock_irqsave, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_simple_idct248_put_15673", "fun_name": "ff_simple_idct248_put", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv8.reg2mem = alloca i64\n %storemerge47.reg2mem = alloca i32\n store i32 0, i32* %storemerge47.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge47.reload = load i32, i32* %storemerge47.reg2mem\n %0 = call i64 @FUNC(i64 0)\n %1 = call i64 @FUNC(i64 1)\n %2 = call i64 @FUNC(i64 2)\n %3 = call i64 @FUNC(i64 3)\n %4 = call i64 @FUNC(i64 4)\n %5 = call i64 @FUNC(i64 5)\n %6 = call i64 @FUNC(i64 6)\n %7 = call i64 @FUNC(i64 7)\n %8 = add nuw nsw i32 %storemerge47.reload, 1\n %exitcond11 = icmp eq i32 %8, 4\n store i32 %8, i32* %storemerge47.reg2mem\n br i1 %exitcond11, label LBL_2, label LBL_1\n LBL_2:\n %9 = ptrtoint i64* %arg3 to i64\n %10 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv8.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv8.reload = load i64, i64* %indvars.iv8.reg2mem\n %11 = mul i64 %indvars.iv8.reload, 16\n %12 = add i64 %11, %9\n %13 = call i64 @FUNC(i64 %12)\n %indvars.iv.next9 = add nuw nsw i64 %indvars.iv8.reload, 1\n %exitcond10 = icmp eq i64 %indvars.iv.next9, 8\n store i64 %indvars.iv.next9, i64* %indvars.iv8.reg2mem\n br i1 %exitcond10, label LBL_4, label LBL_3\n LBL_4:\n %sext = mul i64 %arg2, 4294967296\n %14 = mul i64 %arg2, 2\n %15 = and i64 %14, 4294967294\n %16 = ashr exact i64 %sext, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %17 = mul i64 %indvars.iv.reload, 2\n %18 = add i64 %17, %9\n %19 = add i64 %indvars.iv.reload, %10\n %20 = call i64 @FUNC(i64 %19, i64 %15, i64 %18)\n %21 = add i64 %18, 16\n %22 = add i64 %19, %16\n %23 = call i64 @FUNC(i64 %22, i64 %15, i64 %21)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n ret i64 %23\n\n uselistorder i32* %storemerge47.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @idct4col_put, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 (i64)* @BF, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "monitor_fdset_dup_fd_find_remove_2512", "fun_name": "monitor_fdset_dup_fd_find_remove", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge5.in8.reg2mem = alloca i64\n %storemerge9.reg2mem = alloca i32*\n %0 = trunc i64 %arg1 to i32\n store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge9.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge9.reload = load i32*, i32** %storemerge9.reg2mem\n %1 = ptrtoint i32* %storemerge9.reload to i64\n %2 = add i64 %1, 8\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %storemerge5.in8.reg2mem\n br i1 %4, label LBL_2, label LBL_11\n LBL_2:\n %storemerge5.in8.reload = load i64, i64* %storemerge5.in8.reg2mem\n %storemerge5 = inttoptr i64 %storemerge5.in8.reload to i32*\n %5 = load i32, i32* %storemerge5, align 4\n %6 = icmp eq i32 %5, %0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_10, label LBL_3\n LBL_3:\n %8 = trunc i64 %arg2 to i8\n %9 = icmp eq i8 %8, 0\n br i1 %9, label LBL_9, label LBL_4\n LBL_4:\n %10 = add i64 %storemerge5.in8.reload, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_7, label LBL_5\n LBL_5:\n %14 = add i64 %12, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %12, i64* %15, align 8\n %.pr = load i64, i64* %11, align 8\n %16 = icmp eq i64 %.pr, 0\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = add i64 %.pr, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %.pr, i64* %18, align 8\n br label LBL_7\n LBL_7:\n %19 = icmp eq i32* %storemerge9.reload, inttoptr (i64 -8 to i32*)\n %20 = icmp eq i1 %19, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %20, label LBL_12, label LBL_8\n LBL_8:\n %21 = call i64 @FUNC(i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %22 = load i32, i32* %storemerge9.reload, align 4\n %23 = zext i32 %22 to i64\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_10:\n %24 = add i64 %storemerge5.in8.reload, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %26, i64* %storemerge5.in8.reg2mem\n br i1 %28, label LBL_2, label LBL_11\n LBL_11:\n %29 = add i64 %1, 24\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i32*\n %33 = icmp eq i64 %31, 0\n %34 = icmp eq i1 %33, false\n store i32* %32, i32** %storemerge9.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %34, label LBL_1, label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.pr, { 1, 2, 0 }\n uselistorder i64 %storemerge5.in8.reload, { 0, 2, 1 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i32* %storemerge9.reload, { 1, 2, 0 }\n uselistorder i32** %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge5.in8.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i1 false, { 4, 3, 1, 2, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_12, { 0, 3, 2, 1 }\n uselistorder label LBL_7, { 1, 2, 0 }\n uselistorder label LBL_2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_attr_rdev_9386", "fun_name": "decode_attr_rdev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg2 to i64\n store i64 0, i64* %arg3, align 8\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 2\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* %arg3, align 8\n %8 = load i32, i32* %2, align 4\n %9 = and i32 %8, -2\n store i32 %9, i32* %2, align 4\n br label LBL_2\n LBL_2:\n %10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 0, i32 0)\n ret i64 0\n\n uselistorder i32* %2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "INST_HANDLER_11752", "fun_name": "INST_HANDLER", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i8, i8* @gv_0, align 1\n %1 = udiv i8 %0, 16\n %2 = zext i8 %1 to i64\n %3 = load i8, i8* bitcast (i32* @gv_1 to i8*), align 4\n %4 = zext i8 %3 to i64\n %5 = mul i64 %4, 16\n %6 = and i64 %5, 16\n %7 = or i64 %6, %2\n %8 = load i8, i8* bitcast (i32* @gv_2 to i8*), align 4\n %9 = zext i8 %8 to i32\n %10 = mul i32 %9, 256\n %11 = load i8, i8* bitcast (i32* @gv_3 to i8*), align 4\n %12 = zext i8 %11 to i32\n %13 = or i32 %10, %12\n %14 = load i32*, i32** @gv_4, align 8\n store i32 %13, i32* %14, align 4\n %15 = load i32*, i32** @gv_4, align 8\n %16 = ptrtoint i32* %15 to i64\n %17 = zext i32 %13 to i64\n %18 = call i64 @FUNC(i64 %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 0, i64 1, i64 0, i64 %17)\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %7)\n ret i64 %19\n\n uselistorder i64 16, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xio3130_downstream_realize_15125", "fun_name": "xio3130_downstream_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64 @FUNC(i64 %3, i64 0, i64 1, i64 0, i64 0, i64 %2)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = icmp eq i32 %7, 1\n br i1 %10, label LBL_10, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([60 x i8], [60 x i8]* @gv_1, i64 0, i64 0), i32 71, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0, i64 %2)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n br i1 %13, label LBL_10, label LBL_4\n LBL_4:\n %14 = and i64 %1, 4294967295\n %15 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 %14, i64 %2)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n br i1 %17, label LBL_9, label LBL_5\n LBL_5:\n %18 = call i64 @FUNC(i64 %3)\n %19 = call i64 @FUNC(i64 %3)\n %20 = call i64 @FUNC(i64 %3, i64 %14)\n %21 = call i64 @FUNC(i64 %3)\n %22 = add i64 %3, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = call i64 @FUNC(i64 %3)\n %28 = trunc i64 %27 to i32\n %29 = icmp slt i32 %28, 0\n br i1 %29, label LBL_8, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0, i64 %2)\n %31 = trunc i64 %30 to i32\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %30, i64* %rax.0.reg2mem\n br i1 %33, label LBL_11, label LBL_7\n LBL_7:\n %34 = call i64 @FUNC(i64 %3)\n br label LBL_8\n LBL_8:\n %35 = call i64 @FUNC(i64 %3)\n br label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64 %3)\n br label LBL_10\n LBL_10:\n %37 = call i64 @FUNC(i64 %3)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %3, { 11, 9, 2, 0, 1, 4, 3, 5, 8, 7, 6, 10, 12, 13, 14, 15 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_hex32_551", "fun_name": "parse_hex32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i8*, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = inttoptr i64 %arg3 to i8*\n %4 = call i32 @strtoul(i8* %3, i8** nonnull %sv_0, i32 16)\n %5 = inttoptr i64 %2 to i32*\n store i32 %4, i32* %5, align 4\n %6 = load i8*, i8** %sv_0, align 8\n %7 = load i8, i8* %6, align 1\n %8 = icmp eq i8 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = ptrtoint i8* %6 to i64\n %11 = icmp eq i64 %10, %arg3\n %12 = icmp eq i1 %11, false\n %spec.select = select i1 %12, i64 0, i64 4294967274\n ret i64 %spec.select\n LBL_2:\n ret i64 4294967274\n\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "open_and_lock_9024", "fun_name": "open_and_lock", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 (i8*, i32, ...) @open(i8* %0, i32 66)\n %2 = icmp slt i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i32* @__errno_location()\n %5 = load i32, i32* %4, align 4\n %6 = call i8* @strerror(i32 %5)\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8* %0, i8* %6)\n store i32 %1, i32* %rax.0.shrunk.reg2mem\n br label LBL_4\n LBL_2:\n %9 = call i32 (i32, i32, ...) @fcntl(i32 %1, i32 7)\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i32 %1, i32* %rax.0.shrunk.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i32* @__errno_location()\n %13 = load i32, i32* %12, align 4\n %14 = call i8* @strerror(i32 %13)\n %15 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %16 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %15, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0), i8* %0, i8* %14)\n %17 = call i32 @close(i32 %1)\n store i32 -1, i32* %rax.0.shrunk.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %1, { 2, 0, 3, 1, 4 }\n uselistorder i8* %0, { 1, 0, 2 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_set_guest_paused_6081", "fun_name": "kvm_set_guest_paused", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n store i32 1, i32* %7, align 4\n %8 = call i64 @FUNC(i64 1, i64 %5)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_thread_ref_frame_16066", "fun_name": "ff_thread_ref_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = call i64 @FUNC(i64 %1, i64 %0)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = and i64 %7, 4294967295\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %12 = add i64 %1, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = zext i1 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_3\n LBL_3:\n %22 = call i64 @FUNC(i64 %20)\n store i64 %22, i64* %13, align 8\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = load i64, i64* %6, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "md_finish_reshape_8440", "fun_name": "md_finish_reshape", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i32\n %sv_1.03.reg2mem = alloca i32*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i32 0, i32* %sv_0.02.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %sv_1.03.reload = load i32*, i32** %sv_1.03.reg2mem\n %5 = load i32, i32* %sv_1.03.reload, align 4\n %6 = ptrtoint i32* %sv_1.03.reload to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %6, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sub i32 %5, %9\n %14 = add i32 %13, %12\n store i32 %14, i32* %11, align 4\n %15 = load i32, i32* %8, align 4\n store i32 %15, i32* %sv_1.03.reload, align 4\n %16 = add i32 %sv_0.02.reload, 1\n %17 = sext i32 %16 to i64\n %18 = mul nsw i64 %17, 12\n %19 = add i64 %18, %0\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %2, align 4\n %22 = zext i32 %21 to i64\n %23 = icmp slt i64 %17, %22\n store i32* %20, i32** %sv_1.03.reg2mem\n store i32 %16, i32* %sv_0.02.reg2mem\n store i64 %22, i64* %.lcssa.reg2mem\n br i1 %23, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32* %sv_1.03.reload, { 0, 2, 1 }\n uselistorder i32* %2, { 1, 0 }\n uselistorder i32** %sv_1.03.reg2mem, { 1, 0 }\n uselistorder i32* %sv_0.02.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "camellia_decrypt_8603", "fun_name": "camellia_decrypt", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = call i64 @FUNC(i64 %2, i64 %0, i64 %1, i32 %5)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2cap_chan_ready_213", "fun_name": "l2cap_chan_ready", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %4)\n %8 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %8, align 4\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_vencrypt_auth_1486", "fun_name": "protocol_client_vencrypt_auth", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i32* %arg2 to i64\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %5, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = trunc i64 %3 to i32\n %10 = icmp eq i32 %9, %8\n %11 = and i64 %7, 4294967295\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %arg3, i64 %4, i64 %2, i64 %1)\n %13 = call i64 @FUNC(i64 %6, i64 0)\n %14 = call i64 @FUNC(i64 %6)\n %15 = call i64 @FUNC(i64 %6)\n br label LBL_4\n LBL_2:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %11, i64 %arg3, i64 %4, i64 %2, i64 %1)\n %17 = call i64 @FUNC(i64 %6, i64 1)\n %18 = call i64 @FUNC(i64 %6)\n %19 = call i64 @FUNC(i64 %6)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 1, i64 %arg3, i64 %4, i64 %2, i64 %1)\n br label LBL_4\n LBL_4:\n ret i64 0\n\n uselistorder i64 %6, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @vnc_flush, { 1, 0 }\n uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @VNC_DEBUG, { 2, 1, 0 }\n uselistorder label LBL_4, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nlmsg_reserve_13836", "fun_name": "nlmsg_reserve", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp ult i64 %3, %arg2\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %sext = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 %arg2, i64* %storemerge.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %sext2 = add i64 %sext, -4294967296\n %8 = ashr exact i64 %sext2, 32\n %9 = add i64 %8, %arg2\n %sext3 = sub i64 0, %sext\n %10 = ashr exact i64 %sext3, 32\n %11 = and i64 %9, %10\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %12 = and i64 %0, 4294967295\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %13 = add i64 %storemerge.reload, %12\n %14 = icmp ugt i64 %13, %3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_7, label LBL_4\n LBL_4:\n %15 = trunc i64 %0 to i32\n %16 = add i64 %12, %0\n %17 = trunc i64 %storemerge.reload to i32\n %18 = add i32 %17, %15\n %19 = bitcast i64* %arg1 to i32*\n store i32 %18, i32* %19, align 4\n %20 = icmp ugt i64 %storemerge.reload, %arg2\n store i64 %0, i64* %.reg2mem\n br i1 %20, label LBL_5, label LBL_6\n LBL_5:\n %21 = sub i64 %storemerge.reload, %arg2\n %22 = add i64 %16, %arg2\n %23 = inttoptr i64 %22 to i64*\n %24 = trunc i64 %21 to i32\n %25 = call i64* @memset(i64* %23, i32 0, i32 %24)\n store i64 %22, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %26 = and i64 %.reload, 4294967295\n %27 = and i64 %5, 4294967295\n %28 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_0, i64 0, i64 0), i64 %0, i64 %storemerge.reload, i64 %arg2, i64 %27, i64 %26)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.reload, { 3, 1, 2, 0, 4 }\n uselistorder i64 %sext, { 1, 2, 0 }\n uselistorder i64 %0, { 4, 0, 1, 3, 2, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i64 %arg2, { 3, 1, 5, 4, 2, 0, 6 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "puv3_init_3146", "fun_name": "puv3_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %8, 0\n %13 = icmp eq i1 %12, false\n %14 = select i1 %13, i64 %8, i64 ptrtoint ([11 x i8]* @gv_1 to i64)\n %15 = call i64 @FUNC(i64 1, i64 %14)\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %16, i64 %0)\n %19 = call i64 @FUNC(i64 %11)\n ret i64 %19\n\n uselistorder i64 %0, { 0, 2, 3, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "meta_set_6416", "fun_name": "meta_set", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i8* %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %r9 = alloca i64, align 8\n %0 = icmp ult i64 %arg5, %arg4\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_12\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %arg2 to i32\n %5 = call i64 @FUNC(i64 %2, i32 %4, i64 %3, i64 %arg4)\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %5 to i64*\n %8 = load i64, i64* %7, align 8\n store i64 %8, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %9 = call i64* @calloc(i32 1, i32 24)\n %10 = ptrtoint i64* %9 to i64\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %11 = icmp eq i64 %storemerge.reload, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_5, label LBL_12\n LBL_5:\n %13 = inttoptr i64 %storemerge.reload to i32*\n store i32 %4, i32* %13, align 4\n %14 = trunc i64 %arg3 to i32\n %15 = add i64 %storemerge.reload, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = add i64 %storemerge.reload, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %3, i64* %18, align 8\n %19 = add i64 %storemerge.reload, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i64*\n call void @free(i64* %22)\n %23 = icmp eq i8* %arg6, null\n store i64 0, i64* %storemerge6.reg2mem\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %24 = bitcast i64* %r9 to i8*\n %25 = load i8, i8* %24, align 8\n %26 = icmp eq i8 %25, 0\n store i64 0, i64* %storemerge6.reg2mem\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = call i8* @strdup(i8* nonnull %arg6)\n %28 = ptrtoint i8* %27 to i64\n store i64 %28, i64* %storemerge6.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n store i64 %storemerge6.reload, i64* %20, align 8\n %29 = icmp eq i1 %6, false\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = add i64 %2, 8\n %31 = call i64 @FUNC(i64 %30, i64 %arg4, i64 %arg5, i64 %storemerge.reload)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_10:\n %32 = add i64 %5, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, %arg5\n store i64 1, i64* %rax.0.reg2mem\n br i1 %35, label LBL_12, label LBL_11\n LBL_11:\n %36 = add i64 %2, 8\n %37 = call i64 @FUNC(i64 %36, i64 %5, i64 %arg4, i64 %arg5)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.reload, { 5, 4, 3, 2, 0, 1 }\n uselistorder i64 %5, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 1, 0, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i8* %arg6, { 1, 0 }\n uselistorder i64 %arg5, { 2, 0, 1, 3 }\n uselistorder i64 %arg4, { 1, 0, 2, 3 }\n uselistorder label LBL_12, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_8, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "follow_mount_10801", "fun_name": "follow_mount", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %0)\n %8 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %0)\n %10 = load i64, i64* %6, align 8\n %11 = call i64 @FUNC(i64 %10)\n store i64 %7, i64* %6, align 8\n %12 = inttoptr i64 %7 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13)\n store i64 %14, i64* %arg1, align 8\n %15 = call i64 @FUNC(i64 %13)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %18, label LBL_2, label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 3, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64)* @d_mountpoint, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qeth_clear_ipacmd_list_9694", "fun_name": "qeth_clear_ipacmd_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1, i64 4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %4 = call i64 @FUNC(i64 %1, i64 %2)\n %5 = add i64 %1, 40\n %6 = icmp eq i64 %5, 0\n store i64 %5, i64* %storemerge1.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %7 = inttoptr i64 %storemerge1.reload to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %storemerge1.reload)\n %10 = add i64 %storemerge1.reload, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 -5, i32* %11, align 4\n %12 = add i64 %storemerge1.reload, 12\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %storemerge1.reload, 64\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %storemerge1.reload, 16\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %storemerge1.reload)\n %19 = icmp eq i64 %8, 0\n store i64 %8, i64* %storemerge1.reg2mem\n br i1 %19, label LBL_2, label LBL_1\n LBL_2:\n %20 = call i64 @FUNC(i64 %1, i64 %2)\n %21 = add i64 %1, 48\n %22 = call i64 @FUNC(i64 %21, i64 0)\n ret i64 %22\n\n uselistorder i64 %storemerge1.reload, { 0, 3, 2, 1, 5, 4, 6 }\n uselistorder i64 %1, { 1, 0, 2, 3, 4 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xhci_er_reset_15806", "fun_name": "xhci_er_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = ashr exact i64 %sext, 30\n %7 = add nsw i64 %6, %5\n %8 = mul i64 %7, 8\n %9 = add i64 %8, %4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = add i64 %9, 16\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %15, align 8\n %16 = add i64 %9, 24\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %18 = icmp eq i32 %11, 1\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = zext i32 %11 to i64\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %19, i64 %4, i64 %3, i64 %2, i64 %1)\n %21 = call i64 @FUNC(i64 %4)\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %22 = add i64 %9, 8\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %9, 4\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %24 to i64\n %29 = zext i32 %27 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %28)\n %31 = bitcast i32* %sv_2 to i64*\n %32 = call i64 @FUNC(i64 0, i64 %30, i64* nonnull %31, i64 12)\n %33 = call i64 @FUNC(i64* nonnull %31)\n %34 = bitcast i32* %sv_1 to i64*\n %35 = call i64 @FUNC(i64* nonnull %34)\n %36 = bitcast i32* %sv_0 to i64*\n %37 = call i64 @FUNC(i64* nonnull %36)\n %38 = load i32, i32* %sv_0, align 4\n %.off = add i32 %38, -16\n %39 = icmp ult i32 %.off, 4081\n br i1 %39, label LBL_6, label LBL_5\n LBL_5:\n %40 = ptrtoint i32* %sv_2 to i64\n %41 = zext i32 %38 to i64\n %42 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i64 %41, i64 %40, i64 12, i64 %2, i64 %1)\n %43 = call i64 @FUNC(i64 %4)\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %44 = load i32, i32* %sv_1, align 4\n %45 = load i32, i32* %sv_2, align 4\n %46 = zext i32 %44 to i64\n %47 = zext i32 %45 to i64\n %48 = call i64 @FUNC(i64 %47, i64 %46)\n %49 = add i64 %9, 16\n %50 = inttoptr i64 %49 to i64*\n store i64 %48, i64* %50, align 8\n %51 = load i32, i32* %sv_0, align 4\n %52 = add i64 %9, 24\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n %54 = add i64 %9, 28\n %55 = inttoptr i64 %54 to i32*\n store i32 0, i32* %55, align 4\n %56 = add i64 %9, 32\n %57 = inttoptr i64 %56 to i32*\n store i32 1, i32* %57, align 4\n %58 = add i64 %9, 36\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n %60 = load i32, i32* %53, align 4\n %61 = zext i32 %60 to i64\n %62 = load i64, i64* %50, align 8\n %63 = and i64 %5, 4294967295\n %64 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i64 %63, i64 %62, i64 %61, i64 %2, i64 %1)\n store i64 %64, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %38, { 1, 0 }\n uselistorder i64 %9, { 1, 2, 3, 4, 5, 8, 9, 0, 6, 7, 10 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %4, { 3, 1, 2, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64*)* @le32_to_cpus, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @xhci_addr64, { 1, 0 }\n uselistorder i64 (i64)* @xhci_die, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ks_wlan_hw_rx_3985", "fun_name": "ks_wlan_hw_rx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 9\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i64 %0, 20504\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0))\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %sext = mul i64 %arg2, 281474976710656\n %8 = ashr exact i64 %sext, 48\n %9 = add i64 %0, 20500\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = sext i32 %11 to i64\n %13 = mul nsw i64 %12, 2050\n %14 = add i64 %13, %0\n %15 = urem i64 %8, 65536\n %16 = call i64 @FUNC(i64 %15)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %0, i64 0, i64 %14, i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %21, label LBL_12, label LBL_3\n LBL_3:\n %22 = trunc i64 %8 to i16\n %23 = icmp ult i16 %22, 2047\n %24 = icmp eq i16 %22, 0\n %25 = icmp eq i1 %24, false\n %or.cond = icmp eq i1 %23, %25\n br i1 %or.cond, label LBL_6, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %14, i64 32)\n %27 = call i64 @FUNC(i64 %0, i64 1, i64 0)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 %27, i64* %rax.0.reg2mem\n br i1 %29, label LBL_12, label LBL_5\n LBL_5:\n %30 = add i64 %0, 20504\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %34 = inttoptr i64 %14 to i16*\n %35 = load i16, i16* %34, align 2\n %36 = zext i16 %35 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = trunc i64 %37 to i16\n %39 = add i16 %38, 2\n %40 = add i64 %14, 2048\n %41 = inttoptr i64 %40 to i16*\n store i16 %39, i16* %41, align 2\n %42 = add i64 %14, 2\n %43 = inttoptr i64 %42 to i16*\n %44 = load i16, i16* %43, align 2\n %45 = zext i16 %44 to i64\n %46 = call i64 @FUNC(i64 %45)\n %47 = call i64 @FUNC(i64 %0)\n %48 = call i64 @FUNC(i64 %0, i64 1, i64 0)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_8, label LBL_7\n LBL_7:\n %51 = add i64 %0, 20504\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = call i64 @FUNC(i64 %53, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %55 = add i64 %0, 20512\n %56 = call i64 @FUNC(i64 %55)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_11, label LBL_9\n LBL_9:\n %59 = urem i64 %46, 65536\n %60 = call i64 @FUNC(i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n br i1 %62, label LBL_11, label LBL_10\n LBL_10:\n %63 = add i64 %0, 20504\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = call i64 @FUNC(i64 %65, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0))\n %67 = call i64 @FUNC(i64 %55)\n br label LBL_11\n LBL_11:\n %68 = add i64 %0, 20520\n %69 = call i64 @FUNC(i64 %68)\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0, 3, 2, 4 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %0, { 5, 4, 6, 3, 8, 7, 1, 2, 9, 0, 10, 11, 12 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 5, 1 }\n uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @ks7010_sdio_writeb, { 1, 0 }\n uselistorder i64 (i64, i8*)* @netdev_err, { 2, 1, 0 }\n uselistorder label LBL_12, { 3, 1, 0, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "copy_creds_13709", "fun_name": "copy_creds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n %11 = and i64 %arg2, 65536\n %12 = icmp eq i64 %11, 0\n %or.cond = or i1 %12, %10\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %3)\n store i64 %13, i64* %7, align 8\n %14 = call i64 @FUNC(i64 %3)\n %15 = call i64 @FUNC(i64 %3, i64 2)\n %16 = call i64 @FUNC(i64 %3)\n %17 = add i64 %3, 24\n %18 = call i64 @FUNC(i64 %17)\n %19 = and i64 %18, 4294967295\n %20 = and i64 %16, 4294967295\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %17, i64 %19, i64 %20, i64 %2, i64 %1)\n %22 = load i64, i64* inttoptr (i64 add (i64 ptrtoint ([23 x i8]* @gv_0 to i64), i64 16) to i64*), align 16\n %23 = call i64 @FUNC(i64 %22)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %24 = call i64 @FUNC()\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %26, label LBL_3, label LBL_13\n LBL_3:\n %27 = and i64 %arg2, 268435456\n %28 = icmp eq i64 %27, 0\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i64 @FUNC(i64 %24)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n store i64 %29, i64* %sv_0.0.reg2mem\n br i1 %31, label LBL_12, label LBL_5\n LBL_5:\n %32 = add i64 %24, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %34, 8\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = inttoptr i64 %24 to i64*\n store i64 %37, i64* %38, align 8\n %39 = add i64 %24, 8\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = icmp eq i64 %41, 0\n br i1 %42, label LBL_8, label LBL_6\n LBL_6:\n %43 = call i64 @FUNC(i64 %41)\n store i64 0, i64* %40, align 8\n br i1 %12, label LBL_9, label LBL_7\n LBL_7:\n %44 = call i64 @FUNC(i64 %24)\n br label LBL_11\n LBL_8:\n %45 = icmp eq i1 %12, false\n br i1 %45, label LBL_11, label LBL_9\n LBL_9:\n %46 = call i64 @FUNC(i64 32, i64 0)\n %47 = icmp eq i64 %46, 0\n %48 = icmp eq i1 %47, false\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %48, label LBL_10, label LBL_12\n LBL_10:\n %49 = call i64 @FUNC(i64 %46, i64 1)\n %50 = add i64 %46, 8\n %51 = call i64 @FUNC(i64 %50)\n %52 = add i64 %46, 16\n %53 = inttoptr i64 %52 to i64*\n store i64 0, i64* %53, align 8\n %54 = add i64 %24, 32\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = add i64 %56, 24\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = call i64 @FUNC(i64 %59)\n %61 = add i64 %46, 24\n %62 = inttoptr i64 %61 to i64*\n store i64 %60, i64* %62, align 8\n %63 = call i64 @FUNC(i64 %24)\n store i64 %46, i64* %55, align 8\n br label LBL_11\n LBL_11:\n %64 = load i64, i64* %33, align 8\n %65 = call i64 @FUNC(i64 %64)\n %66 = call i64 @FUNC(i64 %24)\n store i64 %66, i64* %7, align 8\n store i64 %66, i64* %arg1, align 8\n %67 = call i64 @FUNC(i64 %24, i64 2)\n %68 = call i64 @FUNC(i64 %24)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %69 = call i64 @FUNC(i64 %24)\n %70 = and i64 %sv_0.0.reload, 4294967295\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %46, { 0, 1, 4, 3, 2, 5 }\n uselistorder i64 %24, { 1, 5, 4, 6, 2, 3, 0, 7, 9, 8, 10, 11 }\n uselistorder i1 %12, { 2, 1, 0 }\n uselistorder i64* %7, { 1, 0, 2 }\n uselistorder i64 %3, { 4, 3, 2, 1, 0, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64)* @atomic_inc, { 1, 0 }\n uselistorder [23 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 (i64, i64)* @alter_cred_subscribers, { 1, 0 }\n uselistorder i64 (i64)* @get_cred, { 2, 1, 0 }\n uselistorder i64 16, { 1, 2, 0, 3 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_13, { 1, 2, 0, 3 }\n uselistorder label LBL_11, { 1, 2, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_time_stamp_to_str_7966", "fun_name": "_time_stamp_to_str", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %0 = and i64 %arg1, 4294967295\n %1 = bitcast i64* %sv_0 to %timeval*\n %2 = bitcast i32* %sv_1 to %timezone*\n %3 = call i32 @gettimeofday(%timeval* nonnull %1, %timezone* nonnull %2)\n %4 = load i32, i32* %sv_1, align 4\n %5 = mul i32 %4, 60\n %6 = sext i32 %5 to i64\n %7 = add nsw i64 %0, %6\n store i64 %7, i64* %sv_2, align 8\n %8 = bitcast i64* %sv_2 to i32*\n %9 = call i8* @ctime(i32* nonnull %8)\n %10 = call i8* @strdup(i8* %9)\n %11 = ptrtoint i8* %10 to i64\n %12 = call i64 @FUNC(i64 %11)\n ret i64 %12\n\n uselistorder i32 1, { 5, 3, 4, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "build_tablename_6219", "fun_name": "build_tablename", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i8* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i8*, align 8\n %3 = call i64 @FUNC(i64 %0)\n %4 = bitcast i8** %sv_0 to i64*\n %5 = call i64 @FUNC(i64 %3, i64* nonnull @gv_0, i64* nonnull %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n %8 = inttoptr i64 %5 to i8*\n %spec.select = select i1 %7, i64 %5, i64 %0\n %spec.select6 = select i1 %7, i8* %8, i8* %arg3\n %9 = call i32 @strlen(i8* %spec.select6)\n %10 = sext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %spec.select, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i64 %2, i64 %spec.select, i64 %10)\n br label LBL_3\n LBL_2:\n %16 = call i64 @FUNC(i64 %1, i64 %spec.select, i64 %10)\n %17 = call i64 @FUNC(i64 %2, i64 %16)\n %18 = call i64 @FUNC(i64 %16)\n br label LBL_3\n LBL_3:\n %19 = load i8*, i8** %sv_0, align 8\n %20 = icmp eq i8* %19, null\n br i1 %20, label LBL_8, label LBL_4\n LBL_4:\n %21 = load i8, i8* %19, align 1\n %22 = icmp eq i8 %21, 0\n br i1 %22, label LBL_8, label LBL_5\n LBL_5:\n %23 = call i32 @strlen(i8* nonnull %19)\n %24 = sext i32 %23 to i64\n %25 = load i8*, i8** %sv_0, align 8\n %26 = ptrtoint i8* %25 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %24)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_7, label LBL_6\n LBL_6:\n %31 = call i64 @FUNC(i64 %2, i64 46)\n %32 = load i8*, i8** %sv_0, align 8\n %33 = ptrtoint i8* %32 to i64\n %34 = call i64 @FUNC(i64 %2, i64 %33, i64 %24)\n br label LBL_8\n LBL_7:\n %35 = load i8*, i8** %sv_0, align 8\n %36 = ptrtoint i8* %35 to i64\n %37 = call i64 @FUNC(i64 %1, i64 %36, i64 %24)\n %38 = call i64 @FUNC(i64 %2, i64 46)\n %39 = call i64 @FUNC(i64 %2, i64 %37)\n %40 = call i64 @FUNC(i64 %37)\n br label LBL_8\n LBL_8:\n %41 = call i64 @FUNC(i64 %3)\n ret i64 %41\n\n uselistorder i64 %24, { 1, 0, 2 }\n uselistorder i64 %spec.select, { 2, 1, 0 }\n uselistorder i8** %sv_0, { 3, 2, 1, 0, 4 }\n uselistorder i64 %2, { 4, 3, 2, 1, 5, 0 }\n uselistorder i64 (i64, i64)* @smart_str_appendc, { 1, 0 }\n uselistorder i64 (i64)* @PGSQLfree, { 1, 0 }\n uselistorder i64 (i64, i64)* @smart_str_appends, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @PGSQLescapeIdentifier, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @smart_str_appendl, { 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @_php_pgsql_detect_identifier_escape, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nw_buf_free_11462", "fun_name": "nw_buf_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp ugt i32 %6, %3\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i32 %3, 1\n %13 = bitcast i64* %arg1 to i32*\n store i32 %12, i32* %13, align 4\n %14 = mul i64 %1, 8\n %15 = and i64 %14, 34359738360\n %16 = add i64 %11, %15\n %17 = inttoptr i64 %16 to i64*\n store i64 %arg2, i64* %17, align 8\n store i64 %arg2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %18 = mul i32 %6, 16\n %19 = add i64 %2, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = call i64* @realloc(i64* %22, i32 %18)\n %24 = icmp eq i64* %23, null\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = bitcast i64* %rdi to i32*\n %26 = ptrtoint i64* %23 to i64\n %27 = mul i32 %6, 2\n store i32 %27, i32* %5, align 4\n store i64 %26, i64* %20, align 8\n %28 = load i32, i32* %25, align 8\n %29 = add i32 %28, 1\n %30 = bitcast i64* %arg1 to i32*\n store i32 %29, i32* %30, align 4\n %31 = zext i32 %28 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %32, %26\n %34 = inttoptr i64 %33 to i64*\n store i64 %arg2, i64* %34, align 8\n store i64 %arg2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %35 = inttoptr i64 %arg2 to i64*\n call void @free(i64* %35)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %23, { 1, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 8, { 0, 2, 1, 3 }\n uselistorder i64 %arg2, { 4, 1, 3, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mxf_get_stream_index_16938", "fun_name": "mxf_get_stream_index", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %3, label LBL_6, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = add i64 %4, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %10 = mul i64 %.reload, 8\n %11 = add i64 %6, %10\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %15 to i64*\n %17 = call i32 @memcmp(i64* %8, i64* %16, i32 16)\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = zext i32 %storemerge4.reload to i64\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %21 = add i32 %storemerge4.reload, 1\n %22 = sext i32 %21 to i64\n %23 = icmp sgt i64 %9, %22\n store i64 %22, i64* %.reg2mem\n store i32 %21, i32* %storemerge4.reg2mem\n br i1 %23, label LBL_2, label LBL_5\n LBL_5:\n %phitmp = icmp eq i32 %2, 1\n %phitmp7 = icmp eq i1 %phitmp, false\n %phitmp8 = select i1 %phitmp7, i64 4294967295, i64 0\n store i64 %phitmp8, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_6, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ConcatenateString_4743", "fun_name": "ConcatenateString", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint ([29 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_3, label LBL_12\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %5 = icmp eq i64 %rdi.0.reload, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_5, label LBL_4\n LBL_4:\n %7 = call i64 @FUNC(i64 %arg2)\n store i64 %7, i64* %arg1, align 8\n br label LBL_12\n LBL_5:\n %8 = inttoptr i64 %rdi.0.reload to i8*\n %9 = call i32 @strlen(i8* %8)\n %10 = sext i32 %9 to i64\n %11 = inttoptr i64 %arg2 to i8*\n %12 = call i32 @strlen(i8* %11)\n %13 = sext i32 %12 to i64\n %14 = sub i64 0, %10\n %15 = sub i64 %14, 1\n %16 = icmp ugt i64 %13, %15\n br i1 %16, label LBL_6, label LBL_7\n LBL_6:\n %17 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_7:\n %18 = add nsw i64 %13, %10\n %19 = icmp ult i64 %18, -1024\n br i1 %19, label LBL_9, label LBL_8\n LBL_8:\n %20 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_9:\n %21 = add nsw i64 %18, 1024\n %22 = call i64 @FUNC(i64 %arg2, i64 %21, i64 1)\n store i64 %22, i64* %arg1, align 8\n %23 = icmp eq i32 %12, 0\n store i64 %arg2, i64* %rdi.1.reg2mem\n br i1 %23, label LBL_11, label LBL_10\n LBL_10:\n %24 = add i64 %10, %arg2\n %25 = inttoptr i64 %24 to i64*\n %26 = inttoptr i64 %arg2 to i64*\n %27 = call i64* @memcpy(i64* %25, i64* %26, i32 %12)\n store i64 %24, i64* %rdi.1.reg2mem\n br label LBL_11\n LBL_11:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %28 = add i64 %rdi.1.reload, %18\n %29 = inttoptr i64 %28 to i8*\n store i8 0, i8* %29, align 1\n br label LBL_12\n LBL_12:\n ret i64 1\n\n uselistorder i32 %12, { 1, 0, 2 }\n uselistorder i64 %10, { 1, 2, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 (i64, i8*)* @ThrowFatalException, { 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder [29 x i8]* @gv_0, { 1, 0 }\n uselistorder i64 %arg2, { 2, 1, 0, 3, 4, 6, 5 }\n uselistorder label LBL_12, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setenv_cstp_opts_8621", "fun_name": "setenv_cstp_opts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.05.reg2mem = alloca i32\n %storemerge26.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i32 0, i32* %sv_1.0.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n store i64 %2, i64* %storemerge26.reg2mem\n store i32 0, i32* %sv_1.05.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %storemerge26.reload = load i64, i64* %storemerge26.reg2mem\n %3 = inttoptr i64 %storemerge26.reload to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = add i64 %storemerge26.reload, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i8*\n %11 = call i32 @strlen(i8* %10)\n %12 = add i32 %sv_1.05.reload, 2\n %13 = add i32 %12, %6\n %14 = add i32 %13, %11\n %15 = add i64 %storemerge26.reload, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %storemerge26.reg2mem\n store i32 %14, i32* %sv_1.05.reg2mem\n store i32 %14, i32* %sv_1.0.lcssa.reg2mem\n br i1 %19, label LBL_2, label LBL_3\n LBL_3:\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %20 = add i32 %sv_1.0.lcssa.reload, 1\n %21 = call i64* @malloc(i32 %20)\n %22 = ptrtoint i64* %21 to i64\n %23 = icmp eq i64* %21, null\n store i64 %22, i64* %rax.0.reg2mem\n br i1 %23, label LBL_8, label LBL_4\n LBL_4:\n %24 = sext i32 %sv_1.0.lcssa.reload to i64\n %25 = add i64 %22, %24\n %26 = inttoptr i64 %25 to i8*\n store i8 0, i8* %26, align 1\n %27 = icmp eq i32 %20, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_5, label LBL_7\n LBL_5:\n %29 = sext i32 %20 to i64\n store i64 %29, i64* %storemerge4.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %30 = add i64 %storemerge4.reload, 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %storemerge4.reload to i64*\n %34 = load i64, i64* %33, align 8\n %35 = sub i32 %sv_1.0.lcssa.reload, %sv_0.03.reload\n %36 = sext i32 %sv_0.03.reload to i64\n %37 = add i64 %36, %22\n %38 = inttoptr i64 %37 to i8*\n %39 = inttoptr i64 %34 to i8*\n %40 = inttoptr i64 %32 to i8*\n %41 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %38, i32 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* %39, i8* %40)\n %42 = add i32 %41, %sv_0.03.reload\n %43 = add i64 %storemerge4.reload, 16\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = icmp eq i64 %45, 0\n %47 = icmp eq i1 %46, false\n store i64 %45, i64* %storemerge4.reg2mem\n store i32 %42, i32* %sv_0.03.reg2mem\n br i1 %47, label LBL_6, label LBL_7\n LBL_7:\n %48 = bitcast i64* %21 to i8*\n %49 = call i32 @setenv(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i8* %48, i32 1)\n call void @free(i64* nonnull %21)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge4.reload, { 0, 2, 1 }\n uselistorder i32 %sv_0.03.reload, { 2, 1, 0 }\n uselistorder i64 %22, { 1, 2, 0 }\n uselistorder i64* %21, { 0, 2, 1, 3 }\n uselistorder i32 %20, { 2, 0, 1 }\n uselistorder i64 %storemerge26.reload, { 0, 2, 1 }\n uselistorder i64* %storemerge26.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 0, { 0, 3, 2, 1 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i64* null, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ion_carveout_heap_allocate_4912", "fun_name": "ion_carveout_heap_allocate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp ult i64 %arg4, 4097\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %arg3, i64 %arg4)\n store i64 %2, i64* %arg2, align 8\n %3 = icmp eq i64 %arg3, -1\n %4 = icmp eq i1 %3, false\n %. = select i1 %4, i64 0, i64 4294967284\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "e1000e_io_read_14274", "fun_name": "e1000e_io_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n switch i64 %arg2, label LBL_4 [\n i64 0, label LBL_1\n i64 4, label LBL_2\n ]\n LBL_1:\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %4, i64* nonnull %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = load i32, i32* %sv_0, align 4\n %10 = add i64 %4, 8\n %11 = zext i32 %9 to i64\n %12 = call i64 @FUNC(i64 %10, i64 %11, i64 8)\n %13 = load i32, i32* %sv_0, align 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %12)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %16 = call i64 @FUNC(i64 %arg2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "nfs_can_extend_write_13426", "fun_name": "nfs_can_extend_write", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %1, 4096\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = ptrtoint i64* %arg3 to i64\n %5 = ptrtoint i32* %arg2 to i64\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_4\n LBL_2:\n %10 = call i64 @FUNC(i64 %4)\n %11 = trunc i64 %4 to i32\n %12 = icmp eq i32 %11, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %12, label LBL_3, label LBL_4\n LBL_3:\n %13 = inttoptr i64 %10 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %spec.select = zext i1 %15 to i64\n ret i64 %spec.select\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_name_6933", "fun_name": "parse_name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i8*\n %sv_0.04.reg2mem = alloca i8*\n %sv_1.15.reg2mem = alloca i8*\n %.reg2mem45 = alloca i8\n %.reg2mem43 = alloca i64\n %.reg2mem41 = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 0\n store i8 %1, i8* %.reg2mem\n br i1 %2, label LBL_14, label LBL_7\n LBL_1:\n %3 = call i32 @strncmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i32 4)\n %4 = icmp eq i32 %3, 0\n store i64 %16, i64* %.reg2mem41\n br i1 %4, label LBL_8, label LBL_2\n LBL_2:\n %5 = call i32 @strncmp(i8* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 5)\n %6 = icmp eq i32 %5, 0\n store i64 %16, i64* %.reg2mem41\n br i1 %6, label LBL_8, label LBL_3\n LBL_3:\n %7 = trunc i64 %16 to i8\n %8 = icmp eq i8 %7, 92\n %9 = icmp eq i1 %8, false\n %.pre12 = add i64 %16, 1\n br i1 %9, label LBL_6, label LBL_4\n LBL_4:\n store i64 %.pre12, i64* %arg1, align 8\n %10 = icmp eq i8 %7, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %12, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_6:\n store i64 %.pre12, i64* %arg1, align 8\n %14 = icmp eq i8 %7, 0\n store i8 %7, i8* %.reg2mem\n store i64 0, i64* %.reg2mem41\n br i1 %14, label LBL_8, label LBL_7\n LBL_7:\n %.reload = load i8, i8* %.reg2mem\n %15 = load [64 x i8]*, [64 x i8]** @gv_5, align 8\n %16 = ptrtoint [64 x i8]* %15 to i64\n %17 = sext i8 %.reload to i32\n %18 = getelementptr inbounds [64 x i8], [64 x i8]* %15, i64 0, i64 0\n %19 = call i8* @strchr(i8* %18, i32 %17)\n %20 = icmp eq i8* %19, null\n store i64 %16, i64* %.reg2mem41\n br i1 %20, label LBL_1, label LBL_8\n LBL_8:\n %21 = bitcast i64* %arg1 to [64 x i8]*\n %22 = icmp ugt [64 x i8]* %15, %21\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_13, label LBL_9\n LBL_9:\n %.reload42 = load i64, i64* %.reg2mem41\n %storemerge6 = add i64 %16, -1\n store i64 %storemerge6, i64* %arg1, align 8\n %24 = call i16** @__ctype_b_loc()\n %25 = load i16*, i16** %24, align 8\n %26 = ptrtoint i16* %25 to i64\n %sext = mul i64 %.reload42, 72057594037927936\n %27 = ashr exact i64 %sext, 55\n %28 = add i64 %27, %26\n %29 = inttoptr i64 %28 to i16*\n %30 = load i16, i16* %29, align 2\n %31 = and i16 %30, 8192\n %32 = icmp eq i16 %31, 0\n store i64 %.reload42, i64* %.reg2mem43\n br i1 %32, label LBL_12, label LBL_11\n LBL_10:\n %.reload44 = load i64, i64* %.reg2mem43\n store i64 %storemerge6, i64* %arg1, align 8\n %33 = call i16** @__ctype_b_loc()\n %34 = load i16*, i16** %33, align 8\n %35 = ptrtoint i16* %34 to i64\n %sext13 = mul i64 %.reload44, 72057594037927936\n %36 = ashr exact i64 %sext13, 55\n %37 = add i64 %36, %35\n %38 = inttoptr i64 %37 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = and i16 %39, 8192\n %41 = icmp eq i16 %40, 0\n store i64 %16, i64* %.reg2mem43\n br i1 %41, label LBL_12, label LBL_11\n LBL_11:\n %42 = call i64 @FUNC(i64 %16, i64 %0)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n br i1 %44, label LBL_10, label LBL_12\n LBL_12:\n %45 = add i64 %16, 1\n store i64 %45, i64* %arg1, align 8\n br label LBL_13\n LBL_13:\n %46 = icmp eq [64 x i8]* %15, %21\n %47 = icmp eq i1 %46, false\n br i1 %47, label LBL_15, label LBL_14\n LBL_14:\n %48 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %49 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %48, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_15:\n %50 = sub i64 %16, %0\n %51 = bitcast i64* %arg1 to i8*\n %52 = trunc i64 %50 to i32\n %53 = call i8* @strndup(i8* %51, i32 %52)\n %54 = icmp eq i8* %53, null\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_16, label LBL_17\n LBL_16:\n %56 = load i8, i8* %53, align 1\n %57 = icmp eq i8 %56, 0\n %58 = icmp eq i1 %57, false\n store i8 %56, i8* %.reg2mem45\n store i8* %53, i8** %sv_1.15.reg2mem\n store i8* %53, i8** %sv_0.04.reg2mem\n store i8* %53, i8** %sv_0.0.lcssa.reg2mem\n br i1 %58, label LBL_18, label LBL_19\n LBL_17:\n %59 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %60 = call i32 @fwrite(i64* bitcast ([22 x i8]* @gv_6 to i64*), i32 1, i32 21, %_IO_FILE* %59)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_18:\n %sv_0.04.reload = load i8*, i8** %sv_0.04.reg2mem\n %sv_1.15.reload = load i8*, i8** %sv_1.15.reg2mem\n %.reload46 = load i8, i8* %.reg2mem45\n %61 = icmp eq i8 %.reload46, 92\n %62 = icmp eq i1 %61, false\n %63 = ptrtoint i8* %sv_1.15.reload to i64\n %64 = add i64 %63, 1\n %65 = inttoptr i64 %64 to i8*\n %sv_1.0 = select i1 %62, i8* %sv_1.15.reload, i8* %65\n %66 = load i8, i8* %sv_1.0, align 1\n store i8 %66, i8* %sv_0.04.reload, align 1\n %67 = ptrtoint i8* %sv_1.0 to i64\n %68 = add i64 %67, 1\n %69 = inttoptr i64 %68 to i8*\n %70 = ptrtoint i8* %sv_0.04.reload to i64\n %71 = add i64 %70, 1\n %72 = inttoptr i64 %71 to i8*\n %73 = load i8, i8* %69, align 1\n %74 = icmp eq i8 %73, 0\n %75 = icmp eq i1 %74, false\n store i8 %73, i8* %.reg2mem45\n store i8* %69, i8** %sv_1.15.reg2mem\n store i8* %72, i8** %sv_0.04.reg2mem\n store i8* %72, i8** %sv_0.0.lcssa.reg2mem\n br i1 %75, label LBL_18, label LBL_19\n LBL_19:\n %76 = ptrtoint i8* %53 to i64\n %sv_0.0.lcssa.reload = load i8*, i8** %sv_0.0.lcssa.reg2mem\n store i8 0, i8* %sv_0.0.lcssa.reload, align 1\n store i64 %76, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %sv_0.04.reload, { 1, 0 }\n uselistorder i8* %53, { 5, 0, 1, 2, 3, 4 }\n uselistorder i8* %18, { 2, 0, 1 }\n uselistorder i64 %16, { 7, 6, 5, 0, 4, 3, 2, 1, 9, 8 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i8* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem41, { 0, 3, 4, 1, 2 }\n uselistorder i64* %.reg2mem43, { 2, 0, 1 }\n uselistorder i8* %.reg2mem45, { 2, 0, 1 }\n uselistorder i8** %sv_1.15.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i16 0, { 1, 0 }\n uselistorder i16 8192, { 1, 0 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_4, i64 0, i64 0), { 1, 0 }\n uselistorder i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_3, i64 0, i64 0), { 1, 0 }\n uselistorder %_IO_FILE** @gv_2, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 0 }\n uselistorder i1 false, { 2, 1, 0, 3, 4, 7, 5, 6 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 }\n uselistorder i8 0, { 3, 4, 1, 6, 5, 0, 2 }\n uselistorder i64* %arg1, { 5, 6, 4, 1, 0, 2, 3, 7 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 2, 3, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cow_set_bit_3198", "fun_name": "cow_set_bit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = sdiv i64 %arg2, 128\n %2 = bitcast i32* %sv_0 to i64*\n %3 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull %2, i64 1)\n %4 = trunc i64 %3 to i32\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %3, 4294967295\n ret i64 %7\n LBL_2:\n %8 = trunc i64 %arg2 to i32\n %9 = urem i32 %8, 8\n %10 = shl i32 1, %9\n %11 = load i32, i32* %sv_0, align 4\n %12 = or i32 %11, %10\n %sext = mul i32 %12, 16777216\n %13 = ashr exact i32 %sext, 24\n store i32 %13, i32* %sv_0, align 4\n %14 = call i64 @FUNC(i64 %0, i64 %1, i64* nonnull %2, i64 1)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = and i64 %14, 4294967295\n %spec.select = select i1 %17, i64 0, i64 %18\n ret i64 %spec.select\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__scm_send_18443", "fun_name": "__scm_send", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi7.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i32*\n %rdi.2.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg3 to i64\n %1 = icmp eq i64* %arg2, null\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_0.LBL_19_crit_edge\n LBL_1:\n %.pre6 = add i64 %0, 16\n store i64 %.pre6, i64* %.pre-phi7.reg2mem\n br label LBL_19\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n %7 = bitcast i64* %rdx to i32*\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %0, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = add i64 %0, 16\n store i64 %3, i64* %rdi.0.reg2mem\n store i64 %4, i64* %storemerge23.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge23.reload = load i64, i64* %storemerge23.reg2mem\n %15 = inttoptr i64 %storemerge23.reload to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 1\n %18 = icmp eq i1 %17, false\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %18, label LBL_22, label LBL_4\n LBL_4:\n %19 = add i64 %storemerge23.reload, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n store i64 4294967274, i64* %sv_0.0.reg2mem\n switch i32 %21, label LBL_22 [\n i32 1, label LBL_5\n i32 2, label LBL_9\n ]\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %22 = icmp eq i64 %rdi.0.reload, 0\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_22, label LBL_6\n LBL_6:\n %23 = trunc i64 %rdi.0.reload to i32\n %24 = icmp eq i32 %23, 1\n %25 = icmp eq i1 %24, false\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %25, label LBL_22, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %storemerge23.reload, i64 %14)\n %27 = trunc i64 %26 to i32\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %26, i64* %sv_0.0.reg2mem\n br i1 %29, label LBL_7.LBL_18_crit_edge, label LBL_22\n LBL_8:\n %.pre = add i64 %storemerge23.reload, 8\n %.pre4 = inttoptr i64 %.pre to i32*\n store i64 %storemerge23.reload, i64* %rdi.2.reg2mem\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n br label LBL_18\n LBL_9:\n %30 = add i64 %storemerge23.reload, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 24\n %34 = icmp eq i1 %33, false\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_22, label LBL_10\n LBL_10:\n %35 = add i64 %storemerge23.reload, 12\n %36 = inttoptr i64 %35 to i64*\n %37 = call i64* @memcpy(i64* %arg3, i64* %36, i32 12)\n %38 = call i64 @FUNC(i64 %0)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %38, i64* %sv_0.0.reg2mem\n br i1 %41, label LBL_22, label LBL_11\n LBL_11:\n %42 = load i64, i64* %6, align 8\n %43 = and i64 %42, 4294967295\n %44 = call i64 @FUNC(i64 %43)\n %45 = load i32, i32* %7, align 8\n %46 = trunc i64 %44 to i32\n %47 = icmp eq i32 %45, %46\n store i64 %43, i64* %rdi.1.reg2mem\n br i1 %47, label LBL_14, label LBL_12\n LBL_12:\n %48 = zext i32 %45 to i64\n %49 = call i64 @FUNC(i64 %48)\n %50 = icmp eq i64 %49, 0\n store i64 4294967293, i64* %sv_0.0.reg2mem\n br i1 %50, label LBL_22, label LBL_13\n LBL_13:\n %51 = load i64, i64* %6, align 8\n %52 = call i64 @FUNC(i64 %51)\n store i64 %49, i64* %6, align 8\n store i64 %51, i64* %rdi.1.reg2mem\n br label LBL_14\n LBL_14:\n %53 = load i64, i64* %9, align 8\n %54 = add i64 %53, 4\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = load i32, i32* %11, align 4\n %58 = icmp eq i32 %56, %57\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_16, label LBL_15\n LBL_15:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %60 = add i64 %53, 12\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = load i32, i32* %13, align 4\n %64 = icmp eq i32 %62, %63\n store i64 %rdi.1.reload, i64* %rdi.2.reg2mem\n store i32* %31, i32** %.pre-phi5.reg2mem\n br i1 %64, label LBL_18, label LBL_16\n LBL_16:\n %65 = call i64 @FUNC()\n %66 = icmp eq i64 %65, 0\n store i64 4294967284, i64* %sv_0.0.reg2mem\n br i1 %66, label LBL_22, label LBL_17\n LBL_17:\n %67 = inttoptr i64 %65 to i32*\n %68 = load i32, i32* %11, align 4\n %69 = add i64 %65, 4\n %70 = inttoptr i64 %69 to i32*\n store i32 %68, i32* %70, align 4\n store i32 %68, i32* %67, align 4\n %71 = load i32, i32* %11, align 4\n %72 = add i64 %65, 12\n %73 = inttoptr i64 %72 to i32*\n store i32 %71, i32* %73, align 4\n %74 = add i64 %65, 8\n %75 = inttoptr i64 %74 to i32*\n store i32 %71, i32* %75, align 4\n %76 = load i64, i64* %9, align 8\n %77 = call i64 @FUNC(i64 %76)\n store i64 %65, i64* %9, align 8\n store i64 %76, i64* %rdi.2.reg2mem\n store i32* %31, i32** %.pre-phi5.reg2mem\n br label LBL_18\n LBL_18:\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %rdi.2.reload = load i64, i64* %rdi.2.reg2mem\n %78 = load i32, i32* %.pre-phi5.reload, align 4\n %79 = add i32 %78, 3\n %80 = and i32 %79, -4\n %81 = sext i32 %80 to i64\n %82 = add i64 %storemerge23.reload, %81\n %83 = icmp eq i64 %82, 0\n %84 = icmp eq i1 %83, false\n store i64 %rdi.2.reload, i64* %rdi.0.reg2mem\n store i64 %82, i64* %storemerge23.reg2mem\n store i64 %14, i64* %.pre-phi7.reg2mem\n br i1 %84, label LBL_3, label LBL_19\n LBL_19:\n %.pre-phi7.reload = load i64, i64* %.pre-phi7.reg2mem\n %85 = inttoptr i64 %.pre-phi7.reload to i64*\n %86 = load i64, i64* %85, align 8\n %87 = icmp eq i64 %86, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %87, label LBL_23, label LBL_20\n LBL_20:\n %88 = inttoptr i64 %86 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = icmp eq i32 %89, 0\n %91 = icmp eq i1 %90, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %91, label LBL_23, label LBL_21\n LBL_21:\n %92 = call i64 @FUNC(i64 %86)\n store i64 0, i64* %85, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_23\n LBL_22:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %93 = call i64 @FUNC(i64 %0)\n %94 = and i64 %sv_0.0.reload, 4294967295\n store i64 %94, i64* %storemerge.reg2mem\n br label LBL_23\n LBL_23:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %31, { 1, 0, 2 }\n uselistorder i64 %storemerge23.reload, { 7, 2, 1, 0, 6, 3, 5, 4 }\n uselistorder i64 %0, { 7, 5, 6, 3, 2, 1, 4, 0 }\n uselistorder i64* %rdi.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.2.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32** %.pre-phi5.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 4, 5, 6, 7, 8, 1, 9 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 0, { 2, 9, 1, 0, 10, 11, 6, 7, 8, 3, 4, 5 }\n uselistorder i64 4294967274, { 1, 2, 3, 0, 4 }\n uselistorder i64 8, { 1, 3, 0, 2 }\n uselistorder i64 4, { 0, 2, 3, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i1 false, { 7, 8, 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_23, { 3, 2, 1, 0 }\n uselistorder label LBL_22, { 1, 2, 3, 4, 8, 6, 5, 0, 7 }\n uselistorder label LBL_18, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_mov_read_esds_1707", "fun_name": "ff_mov_read_esds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp slt i32 %2, 0\n %5 = icmp eq i1 %4, false\n %6 = icmp eq i1 %3, false\n %7 = icmp eq i1 %5, %6\n br i1 %7, label LBL_1, label LBL_6\n LBL_1:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = ptrtoint i64* %arg1 to i64\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %sext = mul i64 %1, 4294967296\n %13 = ashr exact i64 %sext, 29\n %14 = add nsw i64 %13, -8\n %15 = add i64 %14, %12\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %8)\n %19 = bitcast i32* %sv_0 to i64*\n %20 = call i64 @FUNC(i64 %9, i64 %8, i64* nonnull %19)\n %21 = load i32, i32* %sv_0, align 4\n %22 = icmp eq i32 %21, 3\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_3, label LBL_2\n LBL_2:\n %24 = call i64 @FUNC(i64 %8, i64 0)\n br label LBL_4\n LBL_3:\n %25 = call i64 @FUNC(i64 %8)\n br label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i64 %9, i64 %8, i64* nonnull %19)\n %27 = load i32, i32* %sv_0, align 4\n %28 = icmp eq i32 %27, 4\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_6, label LBL_5\n LBL_5:\n %30 = call i64 @FUNC(i64 %9, i64 %17, i64 %8)\n br label LBL_6\n LBL_6:\n ret i64 0\n\n uselistorder i64 %8, { 0, 1, 2, 3, 5, 4 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @ff_mp4_read_descr, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "object_dynamic_cast_803", "fun_name": "object_dynamic_cast", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = ptrtoint i8* %arg2 to i64\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %spec.select = select i1 %6, i64 0, i64 %1\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "falcon_remove_nic_4373", "fun_name": "falcon_remove_nic", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %5)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %7 = inttoptr i64 %1 to i64*\n %8 = call i64* @memset(i64* %7, i32 0, i32 4)\n %9 = call i64 @FUNC(i64 %0)\n %10 = add i64 %0, 12\n %11 = call i64 @FUNC(i64 %0, i64 %10)\n %12 = call i64 @FUNC(i64 %0, i64 0)\n %13 = icmp eq i64* %arg1, null\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n br label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 2, 0, 3, 6, 5, 4, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_set_alarm_14165", "fun_name": "helper_set_alarm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64 %arg2, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n store i64 %arg2, i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4, i64 %arg2)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "filter_generalized_cubic_7990", "fun_name": "filter_generalized_cubic", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = alloca i1\n %3 = load i64, i64* %1\n %4 = load i128, i128* %0\n %5 = load i1, i1* %2\n %6 = load i1, i1* %2\n %7 = call i64 @FUNC(i128 %4)\n %8 = call i128 @__asm_movsd.1(i64 -4616189618054758400)\n %9 = call i64 @FUNC(i128 %8)\n %10 = call i128 @__asm_movsd.1(i64 %7)\n %11 = call i128 @FUNC(i64 9223372036854775807)\n %12 = call i128 @FUNC(i128 %10, i128 %11)\n %13 = call i64 @FUNC(i128 %12)\n %14 = sext i64 %13 to i128\n %15 = call i128 @__asm_movsd.1(i64 %13)\n %16 = call i128 @FUNC(i128 %15, i128 %15)\n %17 = call i64 @FUNC(i128 %16)\n %18 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n call void @FUNC(i128 %18, i128 %14)\n %19 = or i1 %5, %6\n br i1 %19, label LBL_2, label LBL_1\n LBL_1:\n %20 = call i128 @__asm_movsd.1(i64 %9)\n %21 = call i128 @__asm_movsd.1(i64 4611686018427387904)\n %22 = call i128 @FUNC(i128 %21, i128 %20)\n %23 = call i128 @__asm_mulsd.2(i128 %22, i64 %17)\n %24 = call i128 @__asm_mulsd.2(i128 %23, i64 %13)\n %25 = call i128 @__asm_movsd.1(i64 %9)\n %26 = call i128 @__asm_movsd.1(i64 4613937818241073152)\n %27 = call i128 @FUNC(i128 %26, i128 %25)\n %28 = call i128 @FUNC(i128 %27)\n %29 = call i128 @__asm_mulsd.2(i128 %28, i64 %17)\n %30 = call i128 @FUNC(i128 %24)\n %31 = call i128 @FUNC(i128 %30, i128 %29)\n %32 = call i128 @__asm_movsd.1(i64 4607182418800017408)\n %33 = call i128 @FUNC(i128 %32, i128 %31)\n br label LBL_3\n LBL_2:\n %34 = call i128 @__asm_movsd.1(i64 4611686018427387904)\n call void @FUNC(i128 %34, i128 %14)\n %35 = call i128 @FUNC(i128 %34, i128 %34)\n br label LBL_3\n LBL_3:\n ret i64 %3\n\n uselistorder i128 %34, { 1, 0, 2 }\n uselistorder i128 %15, { 1, 0 }\n uselistorder i64 %13, { 0, 2, 1 }\n uselistorder i1* %2, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_umask_13477", "fun_name": "set_umask", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i8*, align 8\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i64 @strtoll(i8* %0, i8** nonnull %sv_0, i32 0)\n %2 = trunc i64 %1 to i32\n %3 = load i8*, i8** %sv_0, align 8\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 0\n %6 = icmp ult i32 %2, 512\n %or.cond5 = icmp eq i1 %6, %5\n br i1 %or.cond5, label LBL_2, label LBL_1\n LBL_1:\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %9 = urem i32 %2, 512\n %10 = call i32 @umask(i32 %9)\n store i32 1, i32* inttoptr (i64 4210764 to i32*), align 4\n %11 = zext i32 %9 to i64\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_options_19252", "fun_name": "process_options", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n store i64 %0, i64* %sv_3, align 8\n store i64 %arg2, i64* %sv_2, align 8\n %1 = load i64, i64* @gv_0, align 8\n %2 = load i64, i64* @gv_1, align 8\n %3 = bitcast i64* %sv_3 to i32*\n %4 = call i64 @FUNC(i32* nonnull %3, i64* nonnull %sv_2, i64 %2, i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_8, label LBL_1\n LBL_1:\n %8 = load i32, i32* @gv_2, align 4\n %9 = icmp eq i32 %8, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_2, label LBL_8\n LBL_2:\n %10 = load i8*, i8** @gv_3, align 8\n %11 = icmp eq i8* %10, null\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = ptrtoint i8* %10 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = load i8*, i8** @gv_3, align 8\n %15 = bitcast i64* %sv_1 to i8*\n %16 = call i8* @strncpy(i8* nonnull %15, i8* %14, i32 255)\n %17 = call i32 @strlen(i8* nonnull %15)\n %18 = sub i32 255, %17\n %19 = call i8* @strncat(i8* nonnull %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_4, i64 0, i64 0), i32 %18)\n %20 = load i8*, i8** @gv_3, align 8\n %21 = ptrtoint i8* %20 to i64\n %22 = call i64 @FUNC(i64 %21)\n %23 = call i64 @FUNC(i64* nonnull %sv_1, i64 0)\n %24 = inttoptr i64 %23 to i8*\n store i8* %24, i8** @gv_3, align 8\n br label LBL_4\n LBL_4:\n %25 = load i32, i32* @gv_5, align 4\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC()\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_6, label LBL_8\n LBL_6:\n %31 = ptrtoint i64* %arg3 to i64\n %32 = bitcast i64* %arg3 to i8*\n store i8 0, i8* %32, align 1\n %33 = load i64, i64* %sv_2, align 8\n %34 = load i64, i64* %sv_3, align 8\n %35 = and i64 %34, 4294967295\n %36 = call i64 @FUNC(i64 %35, i64 %33, i64 %31)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n %40 = load i32, i32* @gv_6, align 4\n %41 = icmp eq i32 %40, 0\n %or.cond = or i1 %41, %39\n store i64 %36, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %42 = load i8*, i8** @gv_3, align 8\n %43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i8* %42)\n %44 = load i8*, i8** @gv_8, align 8\n %45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_9, i64 0, i64 0), i8* %44)\n %46 = load i8*, i8** @gv_10, align 8\n %47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_11, i64 0, i64 0), i8* %46)\n %48 = load i8*, i8** @gv_12, align 8\n %49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_13, i64 0, i64 0), i8* %48)\n store i64 %36, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %50 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %50\n\n uselistorder i64* %sv_3, { 1, 2, 0 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i32 (i8*, ...)* @printf, { 2, 0, 3, 1 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i8** @gv_3, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 0, 4, 5, 6, 7, 8, 1, 2, 3 }\n uselistorder i64 0, { 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 16, 17, 18, 19 }\n uselistorder label LBL_8, { 4, 2, 0, 1, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_dirfd_6939", "fun_name": "get_dirfd", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_1.127.reg2mem = alloca i32\n %sv_2.228.reg2mem = alloca i32\n %sv_0.129.reg2mem = alloca i64\n %sv_3.030.in.reg2mem = alloca i8*\n %sv_2.1.lcssa.reg2mem = alloca i32\n %sv_2.132.reg2mem = alloca i32\n %storemerge333.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = load i64, i64* %0\n %7 = load i64, i64* %0\n %8 = load i32, i32* %1\n %9 = load i32, i32* %1\n %sv_4 = alloca i64, align 8\n %10 = load i32, i32* %1\n %11 = icmp ne i64 %arg1, 0\n %12 = trunc i64 %4 to i8\n %13 = icmp eq i8 %12, 47\n %or.cond = icmp eq i1 %11, %13\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %14 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %15 = ptrtoint [10 x i8]* %14 to i64\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %5, i64 %6, i64 %3, i64 %2)\n unreachable\n LBL_2:\n %17 = call i32 (i32, i8*, i32, ...) @openat(i32 %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0), i32 0)\n %18 = icmp eq i32 %17, -1\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %20 = inttoptr i64 %arg1 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = icmp eq i8 %21, 0\n %23 = icmp eq i1 %22, false\n store i8 %21, i8* %.reg2mem\n store i64 %arg1, i64* %storemerge333.reg2mem\n store i32 0, i32* %sv_2.132.reg2mem\n store i32 0, i32* %sv_2.1.lcssa.reg2mem\n br i1 %23, label LBL_5, label LBL_6\n LBL_4:\n %24 = call i32* @__errno_location()\n %25 = load i32, i32* %24, align 4\n %26 = call i8* @strerror(i32 %25)\n %27 = ptrtoint i8* %26 to i64\n %28 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %29 = ptrtoint [10 x i8]* %28 to i64\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i64 %29, i64 %27, i64 %6, i64 %3, i64 %2)\n unreachable\n LBL_5:\n %sv_2.132.reload = load i32, i32* %sv_2.132.reg2mem\n %storemerge333.reload = load i64, i64* %storemerge333.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %31 = icmp eq i8 %.reload, 47\n %32 = zext i1 %31 to i32\n %spec.select = add i32 %sv_2.132.reload, %32\n %33 = add i64 %storemerge333.reload, 1\n %34 = inttoptr i64 %33 to i8*\n %35 = load i8, i8* %34, align 1\n %36 = icmp eq i8 %35, 0\n %37 = icmp eq i1 %36, false\n store i8 %35, i8* %.reg2mem\n store i64 %33, i64* %storemerge333.reg2mem\n store i32 %spec.select, i32* %sv_2.132.reg2mem\n store i32 %spec.select, i32* %sv_2.1.lcssa.reg2mem\n br i1 %37, label LBL_5, label LBL_6\n LBL_6:\n %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem\n %38 = call i64 @FUNC(i64 %arg1)\n %39 = inttoptr i64 %38 to i8*\n %40 = call i8* @strtok(i8* %39, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))\n %41 = icmp sgt i32 %17, 0\n %42 = icmp ne i8* %40, null\n %or.cond.not25 = icmp eq i1 %41, %42\n %43 = icmp sgt i32 %sv_2.1.lcssa.reload, 1\n %or.cond626 = icmp eq i1 %43, %or.cond.not25\n store i32 %17, i32* %sv_1.1.lcssa.reg2mem\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond626, label LBL_7, label LBL_22\n LBL_7:\n %44 = trunc i64 %arg2 to i8\n %45 = icmp eq i8 %44, 1\n %spec.select7 = select i1 %45, i32 0, i32 131072\n %46 = bitcast i64* %sv_4 to %stat*\n %47 = and i32 %9, 61440\n %48 = icmp eq i32 %47, 40960\n %49 = icmp eq i1 %48, false\n %50 = icmp eq i32 %8, 0\n %51 = trunc i64 %7 to i32\n %52 = add i32 %51, 1\n %53 = sext i32 %52 to i64\n store i8* %40, i8** %sv_3.030.in.reg2mem\n store i64 0, i64* %sv_0.129.reg2mem\n store i32 %sv_2.1.lcssa.reload, i32* %sv_2.228.reg2mem\n store i32 %17, i32* %sv_1.127.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.127.reload = load i32, i32* %sv_1.127.reg2mem\n %sv_0.129.reload = load i64, i64* %sv_0.129.reg2mem\n %sv_3.030.in.reload = load i8*, i8** %sv_3.030.in.reg2mem\n %sv_3.030 = ptrtoint i8* %sv_3.030.in.reload to i64\n %54 = icmp eq i64 %sv_0.129.reload, 0\n %storemerge = select i1 %54, i64 %sv_3.030, i64 %sv_0.129.reload\n %55 = call i64 @FUNC(i64 %storemerge)\n %56 = inttoptr i64 %55 to i8*\n %57 = call i32 (i32, i8*, i32, ...) @openat(i32 %sv_1.127.reload, i8* %56, i32 %spec.select7)\n %58 = icmp eq i32 %57, -1\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_10, label LBL_9\n LBL_9:\n %60 = call i32* @__errno_location()\n %61 = load i32, i32* %60, align 4\n %62 = call i8* @strerror(i32 %61)\n %63 = ptrtoint i8* %62 to i64\n %64 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %65 = ptrtoint [10 x i8]* %64 to i64\n %66 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_4, i64 0, i64 0), i64 %65, i64 %arg1, i64 %55, i64 %63, i64 %2)\n unreachable\n LBL_10:\n %67 = call i32 @fstat(i32 %57, %stat* nonnull %46)\n %68 = icmp eq i32 %67, -1\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_12, label LBL_11\n LBL_11:\n %70 = call i32* @__errno_location()\n %71 = load i32, i32* %70, align 4\n %72 = call i8* @strerror(i32 %71)\n %73 = ptrtoint i8* %72 to i64\n %74 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %75 = ptrtoint [10 x i8]* %74 to i64\n %76 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %75, i64 %arg1, i64 %sv_3.030, i64 %73, i64 %2)\n unreachable\n LBL_12:\n %sv_2.228.reload = load i32, i32* %sv_2.228.reg2mem\n br i1 %49, label LBL_20, label LBL_13\n LBL_13:\n br i1 %50, label LBL_15, label LBL_14\n LBL_14:\n %77 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %78 = ptrtoint [10 x i8]* %77 to i64\n %79 = call i64 @FUNC(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_6, i64 0, i64 0), i64 %78, i64 %arg1, i64 %55, i64 %3, i64 %2)\n unreachable\n LBL_15:\n br i1 %54, label LBL_17, label LBL_16\n LBL_16:\n %80 = inttoptr i64 %sv_0.129.reload to i64*\n call void @free(i64* %80)\n br label LBL_17\n LBL_17:\n %81 = call i64 @FUNC(i64 %53)\n %82 = inttoptr i64 %81 to i64*\n %83 = call i64* @memset(i64* %82, i32 0, i32 %52)\n %84 = inttoptr i64 %81 to i8*\n %85 = call i32 @readlinkat(i32 %57, i8* bitcast (i8** @gv_7 to i8*), i8* %84, i32 %52)\n %86 = sext i32 %85 to i64\n %87 = icmp eq i64 %7, %86\n br i1 %87, label LBL_19, label LBL_18\n LBL_18:\n %88 = load [10 x i8]*, [10 x i8]** @gv_0, align 8\n %89 = ptrtoint [10 x i8]* %88 to i64\n %90 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_8, i64 0, i64 0), i64 %89, i64 %7, i64 %53, i64 %3, i64 %2)\n unreachable\n LBL_19:\n %91 = call i32 @close(i32 %57)\n store i32 %sv_1.127.reload, i32* %sv_1.0.reg2mem\n store i64 %81, i64* %sv_0.0.reg2mem\n br label LBL_21\n LBL_20:\n %92 = call i32 @close(i32 %sv_1.127.reload)\n %93 = inttoptr i64 %sv_0.129.reload to i64*\n call void @free(i64* %93)\n store i32 %57, i32* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %94 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))\n %95 = add nsw i32 %sv_2.228.reload, -1\n %96 = icmp sgt i32 %sv_1.0.reload, 0\n %97 = icmp ne i8* %94, null\n %or.cond.not = icmp eq i1 %96, %97\n %98 = icmp sgt i32 %95, 1\n %or.cond6 = icmp eq i1 %98, %or.cond.not\n store i8* %94, i8** %sv_3.030.in.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.129.reg2mem\n store i32 %95, i32* %sv_2.228.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.127.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond6, label LBL_8, label LBL_22\n LBL_22:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %99 = inttoptr i64 %38 to i64*\n call void @free(i64* %99)\n %100 = inttoptr i64 %sv_0.1.lcssa.reload to i64*\n call void @free(i64* %100)\n %101 = zext i32 %sv_1.1.lcssa.reload to i64\n ret i64 %101\n\n uselistorder i32 %sv_1.0.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.129.reload, { 1, 0, 3, 2 }\n uselistorder i32 %sv_1.127.reload, { 1, 0, 2 }\n uselistorder i32 %52, { 2, 1, 0 }\n uselistorder i32 %17, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %3, { 3, 2, 1, 0 }\n uselistorder i64 %2, { 5, 4, 3, 2, 1, 0 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge333.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.132.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_3.030.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.129.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.228.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.127.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %1, { 2, 1, 0 }\n uselistorder i64* %0, { 5, 4, 3, 2, 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0, 3, 2 }\n uselistorder i8* null, { 1, 2, 0, 3 }\n uselistorder i8* (i8*, i8*)* @strtok, { 1, 0 }\n uselistorder i64 (i64)* @xstrdup, { 1, 0 }\n uselistorder i8* (i32)* @strerror, { 2, 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 0, 1 }\n uselistorder i8 0, { 2, 0, 3, 1 }\n uselistorder i1 false, { 2, 3, 1, 4, 0, 5, 6, 7 }\n uselistorder i32 (i32, i8*, i32, ...)* @openat, { 1, 0 }\n uselistorder i32 0, { 4, 5, 7, 3, 2, 0, 1, 6 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @eerrorx, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 47, { 1, 0 }\n uselistorder i64 %arg1, { 4, 3, 2, 5, 0, 1, 6 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "close_guest_eventfds_2859", "fun_name": "close_guest_eventfds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %storemerge710.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = call i64 @FUNC(i64 %2, i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = trunc i64 %3 to i32\n %8 = icmp slt i32 %7, 0\n %or.cond = or i1 %8, %6\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_1\n LBL_1:\n %9 = and i64 %1, 4294967295\n %10 = icmp slt i64 %3, %9\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_9\n LBL_2:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = ashr exact i64 %sext, 28\n %15 = add i64 %13, %14\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = call i64 @FUNC()\n %19 = icmp sgt i32 %17, 0\n br i1 %19, label LBL_3, label LBL_5\n LBL_3:\n %20 = and i64 %3, 4294967295\n store i32 0, i32* %storemerge710.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge710.reload = load i32, i32* %storemerge710.reg2mem\n %21 = call i64 @FUNC(i64 %2, i64 %20, i32 %storemerge710.reload)\n %22 = add nuw nsw i32 %storemerge710.reload, 1\n %exitcond12 = icmp eq i32 %22, %17\n store i32 %22, i32* %storemerge710.reg2mem\n br i1 %exitcond12, label LBL_5, label LBL_4\n LBL_5:\n %23 = call i64 @FUNC()\n %24 = load i64, i64* %12, align 8\n %25 = or i64 %14, 8\n %26 = add i64 %24, %25\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n store i64 %28, i64* %.lcssa.reg2mem\n br i1 %19, label LBL_6, label LBL_8\n LBL_6:\n %wide.trip.count = zext i32 %17 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %28, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = add i64 %.reload, %indvars.iv.reload\n %30 = call i64 @FUNC(i64 %29)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %31 = load i64, i64* %12, align 8\n %32 = add i64 %31, %25\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %34, i64* %.reg2mem\n store i64 %34, i64* %.lcssa.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_7\n LBL_8:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %35 = call i64 @FUNC(i64 %.lcssa.reload)\n %36 = load i64, i64* %12, align 8\n %37 = add i64 %36, %14\n %38 = inttoptr i64 %37 to i32*\n store i32 0, i32* %38, align 4\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %28, { 1, 0 }\n uselistorder i32 %storemerge710.reload, { 1, 0 }\n uselistorder i32 %17, { 1, 0, 2 }\n uselistorder i64 %14, { 0, 2, 1 }\n uselistorder i64* %12, { 1, 2, 0, 3 }\n uselistorder i64 %3, { 2, 0, 1 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i32* %storemerge710.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2, 4 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rdpgfx_read_rect16_19108", "fun_name": "rdpgfx_read_rect16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp ult i32 %4, 8\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %7 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %6, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0))\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = urem i64 %1, 65536\n %10 = call i64 @FUNC(i64 %2, i64 %9)\n %11 = add i64 %8, 2\n %12 = inttoptr i64 %11 to i16*\n %13 = load i16, i16* %12, align 2\n %14 = zext i16 %13 to i64\n %15 = call i64 @FUNC(i64 %2, i64 %14)\n %16 = add i64 %8, 4\n %17 = inttoptr i64 %16 to i16*\n %18 = load i16, i16* %17, align 2\n %19 = zext i16 %18 to i64\n %20 = call i64 @FUNC(i64 %2, i64 %19)\n %21 = add i64 %8, 6\n %22 = inttoptr i64 %21 to i16*\n %23 = load i16, i16* %22, align 2\n %24 = zext i16 %23 to i64\n %25 = call i64 @FUNC(i64 %2, i64 %24)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT16, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qed_check_16361", "fun_name": "qed_check", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %0, i64* %sv_0, align 8\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n %5 = add i64 %4, 31\n %6 = udiv i64 %5, 32\n %7 = mul i64 %6, 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = icmp eq i64 %4, 0\n %10 = icmp eq i64 %8, 0\n %11 = icmp eq i1 %10, false\n %or.cond = or i1 %9, %11\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_5\n LBL_1:\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add nsw i64 %7, -1\n %16 = add i64 %15, %14\n %17 = udiv i64 %16, %14\n store i64 %17, i64* %arg2, align 8\n %18 = add i64 %0, 24\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64* nonnull %sv_0, i64 %20)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_4, label LBL_2\n LBL_2:\n %25 = call i64 @FUNC(i64* nonnull %sv_0)\n %26 = trunc i64 %arg3 to i8\n %27 = icmp eq i8 %26, 0\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = ptrtoint i64* %arg2 to i64\n %29 = call i64 @FUNC(i64 %0, i64 %28)\n br label LBL_4\n LBL_4:\n %30 = call i64 @FUNC(i64 %8)\n %31 = and i64 %21, 4294967295\n store i64 %31, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "adb_kbd_reset_16288", "fun_name": "adb_kbd_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 1, i32* %3, align 4\n %4 = call i64* @memset(i64* %arg1, i32 0, i32 256)\n %5 = add i64 %0, 256\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 260\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %0, 264\n %10 = inttoptr i64 %9 to i32*\n store i32 0, i32* %10, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "acpi_os_signal_9974", "fun_name": "acpi_os_signal", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = trunc i64 %arg1 to i32\n %6 = icmp eq i32 %5, 1\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %arg2, i64 %3, i64 %4, i64 %2, i64 %1)\n br label LBL_2\n LBL_2:\n ret i64 0\n\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mqtt_conn_add_12295", "fun_name": "mqtt_conn_add", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 64)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_3\n LBL_1:\n %3 = ptrtoint i64* %arg2 to i64\n %4 = inttoptr i64 %0 to i32*\n %5 = add i64 %0, 32\n %6 = trunc i64 %arg1 to i32\n %7 = inttoptr i64 %5 to i32*\n store i32 %6, i32* %7, align 4\n %8 = add i64 %0, 36\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n %10 = add i64 %0, 40\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %0, 48\n %13 = inttoptr i64 %12 to i64*\n store i64 4198883, i64* %13, align 8\n %14 = add i64 %0, 56\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n store i32 %6, i32* %4, align 4\n %16 = add i64 %0, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 %3, i64* %17, align 8\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %0, 20\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 28\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = call i64 @FUNC(i64 %3, i32 %6, i64 1, i64 1, i64 %0)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, -1\n %29 = icmp eq i1 %28, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_3, label LBL_2\n LBL_2:\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0))\n %31 = call i32 @close(i32 %6)\n %32 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hso_free_net_device_6334", "fun_name": "hso_free_net_device", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_8, label LBL_1\n LBL_1:\n %2 = inttoptr i64 %0 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %7)\n br label LBL_3\n LBL_3:\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = mul i64 %indvars.iv.reload, 8\n %11 = add i64 %10, %0\n %12 = add i64 %11, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n %16 = add i64 %11, 96\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 0, i64* %17, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %20 = add i64 %0, 176\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %0, 184\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %26)\n store i64 0, i64* %25, align 8\n %28 = load i64, i64* %6, align 8\n %29 = icmp eq i64 %28, 0\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = call i64 @FUNC(i64 %28)\n br label LBL_7\n LBL_7:\n %31 = call i64 @FUNC(i64 %arg1)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 2, 0, 4, 3, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @kfree, { 2, 0, 1 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "url_decode_r_10036", "fun_name": "url_decode_r", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_1.12.reg2mem = alloca i64\n %sv_0.13.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, -1\n %2 = add i64 %1, %arg3\n %3 = inttoptr i64 %arg2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp ne i8 %4, 0\n %6 = icmp ugt i64 %2, %0\n %or.cond1 = icmp eq i1 %6, %5\n store i8 %4, i8* %.reg2mem\n store i64 %0, i64* %sv_0.13.reg2mem\n store i64 %arg2, i64* %sv_1.12.reg2mem\n store i64 %0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond1, label LBL_1, label LBL_9\n LBL_1:\n %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem\n %sv_0.13.reload = load i64, i64* %sv_0.13.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %7 = icmp eq i8 %.reload, 37\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_5, label LBL_2\n LBL_2:\n %9 = add i64 %sv_1.12.reload, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = icmp eq i8 %11, 0\n %13 = icmp eq i1 %12, false\n %14 = icmp eq i1 %13, false\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_0.13.reload, i64* %sv_0.0.reg2mem\n br i1 %14, label LBL_8, label LBL_3\n LBL_3:\n %15 = add i64 %sv_1.12.reload, 2\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp eq i8 %17, 0\n %19 = icmp eq i1 %18, false\n %20 = icmp eq i1 %19, false\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i64 %sv_0.13.reload, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_8, label LBL_4\n LBL_4:\n %21 = sext i8 %11 to i64\n %22 = and i64 %21, 4294967295\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i8\n %25 = mul i8 %24, 16\n %26 = load i8, i8* %16, align 1\n %27 = sext i8 %26 to i64\n %28 = and i64 %27, 4294967295\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i8\n %31 = or i8 %25, %30\n %32 = call i16** @__ctype_b_loc()\n %33 = load i16*, i16** %32, align 8\n %34 = ptrtoint i16* %33 to i64\n %35 = sext i8 %31 to i64\n %36 = mul i64 %35, 2\n %37 = add i64 %36, %34\n %38 = inttoptr i64 %37 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = and i16 %39, 16384\n %41 = icmp eq i16 %40, 0\n %storemerge = select i1 %41, i8 32, i8 %31\n %42 = add i64 %sv_0.13.reload, 1\n %43 = inttoptr i64 %sv_0.13.reload to i8*\n store i8 %storemerge, i8* %43, align 1\n store i64 %15, i64* %sv_1.0.reg2mem\n store i64 %42, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_5:\n %44 = icmp eq i8 %.reload, 43\n %45 = icmp eq i1 %44, false\n %46 = add i64 %sv_0.13.reload, 1\n %47 = inttoptr i64 %sv_0.13.reload to i8*\n br i1 %45, label LBL_7, label LBL_6\n LBL_6:\n store i8 32, i8* %47, align 1\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i64 %46, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n store i8 %.reload, i8* %47, align 1\n store i64 %sv_1.12.reload, i64* %sv_1.0.reg2mem\n store i64 %46, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %48 = add i64 %sv_1.0.reload, 1\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = icmp ne i8 %50, 0\n %52 = icmp ult i64 %sv_0.0.reload, %2\n %or.cond = icmp eq i1 %52, %51\n store i8 %50, i8* %.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.13.reg2mem\n store i64 %48, i64* %sv_1.12.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_9\n LBL_9:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %53 = inttoptr i64 %sv_0.1.lcssa.reload to i8*\n store i8 0, i8* %53, align 1\n ret i64 %0\n\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i8* %47, { 1, 0 }\n uselistorder i64 %46, { 1, 0 }\n uselistorder i64 %sv_0.13.reload, { 5, 4, 2, 3, 0, 1 }\n uselistorder i64 %sv_1.12.reload, { 3, 2, 0, 5, 1, 4 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 4, 0, 1, 2, 3 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i8 32, { 1, 0 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i64 (i64)* @from_hex, { 1, 0 }\n uselistorder i1 false, { 0, 1, 4, 2, 5, 3 }\n uselistorder i8 0, { 3, 4, 1, 2, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_audio_resample_7522", "fun_name": "ff_audio_resample", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %r9.1.lcssa.reg2mem = alloca i64\n %r8.2.lcssa.reg2mem = alloca i64\n %rcx.7.lcssa.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %storemerge8.reg2mem = alloca i32\n %.reg2mem85 = alloca i64\n %.reg2mem83 = alloca i32\n %.reg2mem81 = alloca i64\n %r9.0.reg2mem = alloca i64\n %r8.1.reg2mem = alloca i64\n %rcx.6.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %rcx.5.reg2mem = alloca i64\n %.lcssa7.reg2mem = alloca i32\n %.reg2mem79 = alloca i64\n %storemerge114.reg2mem = alloca i32\n %.reg2mem77 = alloca i64\n %.reg2mem75 = alloca i32\n %.reg2mem73 = alloca i64\n %.reg2mem71 = alloca i32\n %storemerge213.reg2mem = alloca i32\n %.reg2mem69 = alloca i64\n %.reg2mem67 = alloca i64\n %rcx.4.reg2mem = alloca i64\n %rcx.3.lcssa.reg2mem = alloca i64\n %rcx.319.reg2mem = alloca i64\n %storemerge320.reg2mem = alloca i32\n %.reg2mem65 = alloca i64\n %.reg2mem63 = alloca i32\n %rcx.2.lcssa.reg2mem = alloca i64\n %.reg2mem61 = alloca i64\n %.reg2mem59 = alloca i32\n %rcx.1.reg2mem = alloca i64\n %storemerge417.reg2mem = alloca i32\n %.reg2mem57 = alloca i64\n %.reg2mem55 = alloca i64\n %.reg2mem53 = alloca i32\n %.pre-phi36.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n store i32 0, i32* %sv_1, align 4\n %5 = trunc i64 %2 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = add i64 %4, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 1\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = add i64 %4, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 1, i64* %storemerge6.reg2mem\n br i1 %17, label LBL_3, label LBL_4\n LBL_3:\n store i64 0, i64* %storemerge6.reg2mem\n br label LBL_4\n LBL_4:\n %18 = trunc i64 %3 to i32\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %19 = icmp eq i64* %arg3, null\n %20 = select i1 %19, i32 0, i32 %18\n %21 = add i64 %4, 32\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n br i1 %19, label LBL_7, label LBL_5\n LBL_5:\n %26 = ptrtoint i64* %arg3 to i64\n %27 = zext i32 %20 to i64\n %28 = call i64 @FUNC(i64 %23, i32 %25, i64 %26, i64 0, i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 0, i64* %rcx.0.reg2mem\n store i64 %27, i64* %r8.0.reg2mem\n br i1 %31, label LBL_8, label LBL_6\n LBL_6:\n %32 = and i64 %28, 4294967295\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_47\n LBL_7:\n %33 = add i64 %4, 20\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = zext i32 %35 to i64\n %37 = sext i32 %25 to i64\n %38 = icmp sgt i64 %37, %36\n store i64 0, i64* %rax.0.reg2mem\n br i1 %38, label LBL_8, label LBL_47\n LBL_8:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %39 = add i64 %4, 12\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 %rcx.0.reload, i64* %rcx.4.reg2mem\n br i1 %43, label LBL_22, label LBL_9\n LBL_9:\n %44 = add i64 %4, 40\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %49)\n br i1 %19, label LBL_9.LBL_12_crit_edge, label LBL_11\n LBL_10:\n %.pre34 = add i64 %4, 24\n %.pre35 = inttoptr i64 %.pre34 to i32*\n %.pr = load i32, i32* %.pre35, align 4\n store i32 %.pr, i32* %.reg2mem\n store i32* %.pre35, i32** %.pre-phi36.reg2mem\n br label LBL_12\n LBL_11:\n %51 = load i64, i64* %22, align 8\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %4, 24\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = mul i32 %56, 2\n %58 = icmp ult i32 %53, %57\n store i32 %56, i32* %.reg2mem\n store i32* %55, i32** %.pre-phi36.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %58, label LBL_47, label LBL_12\n LBL_12:\n %.reload = load i32, i32* %.reg2mem\n %59 = icmp eq i32 %.reload, 0\n store i64 %rcx.0.reload, i64* %rcx.3.lcssa.reg2mem\n br i1 %59, label LBL_21, label LBL_13\n LBL_13:\n %60 = trunc i64 %50 to i32\n %.pre-phi36.reload = load i32*, i32** %.pre-phi36.reg2mem\n %.pre = load i64, i64* %22, align 8\n store i32 %.reload, i32* %.reg2mem63\n store i64 %.pre, i64* %.reg2mem65\n store i32 0, i32* %storemerge320.reg2mem\n store i64 %rcx.0.reload, i64* %rcx.319.reg2mem\n br label LBL_19\n LBL_14:\n %storemerge417.reload = load i32, i32* %storemerge417.reg2mem\n %.reload58 = load i64, i64* %.reg2mem57\n %.reload56 = load i64, i64* %.reg2mem55\n %.reload54 = load i32, i32* %.reg2mem53\n %61 = inttoptr i64 %.reload58 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = mul i32 %.reload54, 2\n %64 = sub i32 %63, %storemerge320.reload\n %65 = icmp ugt i32 %62, %64\n %66 = add i64 %.reload58, 8\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = mul i64 %.reload56, 8\n %70 = add i64 %68, %69\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n br i1 %65, label LBL_15, label LBL_16\n LBL_15:\n %73 = mul i32 %64, %60\n %74 = sext i32 %73 to i64\n %75 = add i64 %72, %74\n %76 = add i64 %72, %100\n %77 = inttoptr i64 %76 to i64*\n %78 = inttoptr i64 %75 to i64*\n %79 = call i64* @memcpy(i64* %77, i64* %78, i32 %60)\n store i64 %76, i64* %rcx.1.reg2mem\n br label LBL_17\n LBL_16:\n %80 = add i64 %72, %100\n %81 = inttoptr i64 %80 to i64*\n %82 = call i64* @memset(i64* %81, i32 0, i32 %60)\n store i64 %80, i64* %rcx.1.reg2mem\n br label LBL_17\n LBL_17:\n %rcx.1.reload = load i64, i64* %rcx.1.reg2mem\n %83 = add i32 %storemerge417.reload, 1\n %84 = load i64, i64* %22, align 8\n %85 = add i64 %84, 16\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = zext i32 %87 to i64\n %89 = sext i32 %83 to i64\n %90 = icmp slt i64 %89, %88\n %.pre29 = load i32, i32* %.pre-phi36.reload, align 4\n store i32 %.pre29, i32* %.reg2mem53\n store i64 %89, i64* %.reg2mem55\n store i64 %84, i64* %.reg2mem57\n store i32 %83, i32* %storemerge417.reg2mem\n store i32 %.pre29, i32* %.reg2mem59\n store i64 %84, i64* %.reg2mem61\n store i64 %rcx.1.reload, i64* %rcx.2.lcssa.reg2mem\n br i1 %90, label LBL_14, label LBL_18\n LBL_18:\n %rcx.2.lcssa.reload = load i64, i64* %rcx.2.lcssa.reg2mem\n %.reload62 = load i64, i64* %.reg2mem61\n %.reload60 = load i32, i32* %.reg2mem59\n %91 = add i32 %storemerge320.reload, 1\n %92 = zext i32 %.reload60 to i64\n %93 = sext i32 %91 to i64\n %94 = icmp slt i64 %93, %92\n store i32 %.reload60, i32* %.reg2mem63\n store i64 %.reload62, i64* %.reg2mem65\n store i32 %91, i32* %storemerge320.reg2mem\n store i64 %rcx.2.lcssa.reload, i64* %rcx.319.reg2mem\n store i64 %rcx.2.lcssa.reload, i64* %rcx.3.lcssa.reg2mem\n br i1 %94, label LBL_19, label LBL_21\n LBL_19:\n %rcx.319.reload = load i64, i64* %rcx.319.reg2mem\n %storemerge320.reload = load i32, i32* %storemerge320.reg2mem\n %.reload66 = load i64, i64* %.reg2mem65\n %.reload64 = load i32, i32* %.reg2mem63\n %95 = add i64 %.reload66, 16\n %96 = inttoptr i64 %95 to i32*\n %97 = load i32, i32* %96, align 4\n %98 = icmp eq i32 %97, 0\n store i32 %.reload64, i32* %.reg2mem59\n store i64 %.reload66, i64* %.reg2mem61\n store i64 %rcx.319.reload, i64* %rcx.2.lcssa.reg2mem\n br i1 %98, label LBL_18, label LBL_14.lr.ph\n LBL_20:\n %99 = mul i32 %storemerge320.reload, %60\n %100 = sext i32 %99 to i64\n store i32 %.reload64, i32* %.reg2mem53\n store i64 0, i64* %.reg2mem55\n store i64 %.reload66, i64* %.reg2mem57\n store i32 0, i32* %storemerge417.reg2mem\n br label LBL_14\n LBL_21:\n %rcx.3.lcssa.reload = load i64, i64* %rcx.3.lcssa.reg2mem\n store i32 1, i32* %40, align 4\n store i64 %rcx.3.lcssa.reload, i64* %rcx.4.reg2mem\n br label LBL_22\n LBL_22:\n %rcx.4.reload = load i64, i64* %rcx.4.reg2mem\n %101 = icmp eq i1 %19, false\n store i64 %rcx.4.reload, i64* %rcx.5.reg2mem\n br i1 %101, label LBL_36, label LBL_23\n LBL_23:\n %102 = add i64 %4, 16\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = icmp eq i32 %104, 0\n %106 = icmp eq i1 %105, false\n store i64 %rcx.4.reload, i64* %rcx.5.reg2mem\n br i1 %106, label LBL_36, label LBL_24\n LBL_24:\n %107 = add i64 %4, 40\n %108 = inttoptr i64 %107 to i64*\n %109 = load i64, i64* %108, align 8\n %110 = inttoptr i64 %109 to i32*\n %111 = load i32, i32* %110, align 4\n %112 = zext i32 %111 to i64\n %113 = call i64 @FUNC(i64 %112)\n %114 = add i64 %4, 24\n %115 = inttoptr i64 %114 to i32*\n %116 = load i32, i32* %115, align 4\n %117 = add i32 %116, %20\n %118 = load i64, i64* %22, align 8\n %119 = zext i32 %117 to i64\n %120 = call i64 @FUNC(i64 %118, i64 %119)\n %121 = trunc i64 %120 to i32\n %122 = icmp slt i32 %121, 0\n %123 = icmp eq i1 %122, false\n br i1 %123, label LBL_25, label LBL_26\n LBL_25:\n %124 = trunc i64 %113 to i32\n %125 = load i32, i32* %115, align 4\n %126 = icmp eq i32 %125, 0\n %.pre33 = load i64, i64* %22, align 8\n store i32 %125, i32* %.reg2mem75\n store i64 %.pre33, i64* %.reg2mem77\n store i32 0, i32* %storemerge114.reg2mem\n store i64 %.pre33, i64* %.reg2mem79\n store i32 0, i32* %.lcssa7.reg2mem\n br i1 %126, label LBL_35, label LBL_33\n LBL_26:\n %127 = load i64, i64* %108, align 8\n %128 = call i64 @FUNC(i64 %127, i64 0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.4.reload, i64 %r8.0.reload, i64 %1)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_47\n LBL_27:\n %storemerge213.reload = load i32, i32* %storemerge213.reg2mem\n %.reload70 = load i64, i64* %.reg2mem69\n %.reload68 = load i64, i64* %.reg2mem67\n %129 = add i64 %.reload70, 8\n %130 = inttoptr i64 %129 to i64*\n %131 = load i64, i64* %130, align 8\n %132 = mul i64 %.reload68, 8\n %133 = add i64 %131, %132\n %134 = inttoptr i64 %133 to i64*\n %135 = load i64, i64* %134, align 8\n br i1 %160, label LBL_28, label LBL_29\n LBL_28:\n %136 = add i64 %135, %168\n %137 = add i64 %135, %163\n %138 = inttoptr i64 %137 to i64*\n %139 = inttoptr i64 %136 to i64*\n %140 = call i64* @memcpy(i64* %138, i64* %139, i32 %124)\n br label LBL_30\n LBL_29:\n %141 = add i64 %135, %163\n %142 = inttoptr i64 %141 to i64*\n %143 = call i64* @memset(i64* %142, i32 0, i32 %124)\n br label LBL_30\n LBL_30:\n %144 = add i32 %storemerge213.reload, 1\n %145 = load i64, i64* %22, align 8\n %146 = add i64 %145, 16\n %147 = inttoptr i64 %146 to i32*\n %148 = load i32, i32* %147, align 4\n %149 = zext i32 %148 to i64\n %150 = sext i32 %144 to i64\n %151 = icmp slt i64 %150, %149\n store i64 %150, i64* %.reg2mem67\n store i64 %145, i64* %.reg2mem69\n store i32 %144, i32* %storemerge213.reg2mem\n br i1 %151, label LBL_27, label LBL_31\n LBL_31:\n %.pre32 = load i32, i32* %115, align 4\n store i32 %.pre32, i32* %.reg2mem71\n store i64 %145, i64* %.reg2mem73\n br label LBL_32\n LBL_32:\n %.reload74 = load i64, i64* %.reg2mem73\n %.reload72 = load i32, i32* %.reg2mem71\n %152 = add i32 %storemerge114.reload, 1\n %153 = zext i32 %.reload72 to i64\n %154 = sext i32 %152 to i64\n %155 = icmp slt i64 %154, %153\n store i32 %.reload72, i32* %.reg2mem75\n store i64 %.reload74, i64* %.reg2mem77\n store i32 %152, i32* %storemerge114.reg2mem\n store i64 %.reload74, i64* %.reg2mem79\n store i32 %.reload72, i32* %.lcssa7.reg2mem\n br i1 %155, label LBL_33, label LBL_35\n LBL_33:\n %storemerge114.reload = load i32, i32* %storemerge114.reg2mem\n %.reload78 = load i64, i64* %.reg2mem77\n %.reload76 = load i32, i32* %.reg2mem75\n %156 = add i64 %.reload78, 16\n %157 = inttoptr i64 %156 to i32*\n %158 = load i32, i32* %157, align 4\n %159 = icmp eq i32 %158, 0\n store i32 %.reload76, i32* %.reg2mem71\n store i64 %.reload78, i64* %.reg2mem73\n br i1 %159, label LBL_32, label LBL_27.lr.ph\n LBL_34:\n %160 = icmp sgt i32 %25, %storemerge114.reload\n %161 = add i32 %storemerge114.reload, %25\n %162 = mul i32 %161, %124\n %163 = sext i32 %162 to i64\n %164 = sub i32 0, %storemerge114.reload\n %165 = sub i32 %164, 1\n %166 = add i32 %25, %165\n %167 = mul i32 %166, %124\n %168 = sext i32 %167 to i64\n store i64 0, i64* %.reg2mem67\n store i64 %.reload78, i64* %.reg2mem69\n store i32 0, i32* %storemerge213.reg2mem\n br label LBL_27\n LBL_35:\n %.lcssa7.reload = load i32, i32* %.lcssa7.reg2mem\n %.reload80 = load i64, i64* %.reg2mem79\n %169 = inttoptr i64 %.reload80 to i32*\n %170 = load i32, i32* %169, align 4\n %171 = zext i32 %170 to i64\n %172 = add i32 %170, %.lcssa7.reload\n store i32 %172, i32* %169, align 4\n %173 = load i32, i32* %115, align 4\n %174 = add i64 %4, 20\n %175 = inttoptr i64 %174 to i32*\n store i32 %173, i32* %175, align 4\n store i32 1, i32* %103, align 4\n store i64 %171, i64* %rcx.5.reg2mem\n br label LBL_36\n LBL_36:\n %176 = ptrtoint i64* %arg2 to i64\n %rcx.5.reload = load i64, i64* %rcx.5.reg2mem\n %177 = add i64 %176, 16\n %178 = inttoptr i64 %177 to i32*\n %179 = load i32, i32* %178, align 4\n %180 = icmp eq i32 %179, 0\n %181 = icmp eq i1 %180, false\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %rcx.5.reload, i64* %rcx.6.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.reg2mem\n br i1 %181, label LBL_40, label LBL_37\n LBL_37:\n %182 = add i64 %176, 20\n %183 = inttoptr i64 %182 to i32*\n %184 = load i32, i32* %183, align 4\n %185 = icmp eq i32 %184, 0\n store i32 0, i32* %sv_0.0.reg2mem\n store i64 %rcx.5.reload, i64* %rcx.6.reg2mem\n store i64 %r8.0.reload, i64* %r8.1.reg2mem\n br i1 %185, label LBL_40, label LBL_38\n LBL_38:\n %186 = load i64, i64* %22, align 8\n %187 = inttoptr i64 %186 to i32*\n %188 = load i32, i32* %187, align 4\n %189 = zext i32 %188 to i64\n %190 = call i64 @FUNC(i64 %4, i64 0, i64 0, i64 0, i64 %189, i64 2147483647)\n %191 = trunc i64 %190 to i32\n %192 = and i64 %190, 4294967295\n %193 = call i64 @FUNC(i64 %176, i64 %192)\n %194 = trunc i64 %193 to i32\n %195 = icmp slt i32 %194, 0\n %196 = icmp eq i1 %195, false\n store i32 %191, i32* %sv_0.0.reg2mem\n store i64 0, i64* %rcx.6.reg2mem\n store i64 %189, i64* %r8.1.reg2mem\n store i64 2147483647, i64* %r9.0.reg2mem\n br i1 %196, label LBL_40, label LBL_39\n LBL_39:\n %197 = add i64 %4, 40\n %198 = inttoptr i64 %197 to i64*\n %199 = load i64, i64* %198, align 8\n %200 = call i64 @FUNC(i64 %199, i64 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %189, i64 2147483647)\n %201 = and i64 %193, 4294967295\n store i64 %201, i64* %rax.0.reg2mem\n br label LBL_47\n LBL_40:\n %202 = ptrtoint i64* %sv_2 to i64\n %r9.0.reload = load i64, i64* %r9.0.reg2mem\n %r8.1.reload = load i64, i64* %r8.1.reg2mem\n %rcx.6.reload = load i64, i64* %rcx.6.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %203 = load i64, i64* %22, align 8\n %204 = add i64 %203, 16\n %205 = inttoptr i64 %204 to i32*\n %206 = load i32, i32* %205, align 4\n %207 = icmp eq i32 %206, 0\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n store i64 %rcx.6.reload, i64* %rcx.7.lcssa.reg2mem\n store i64 %r8.1.reload, i64* %r8.2.lcssa.reg2mem\n store i64 %r9.0.reload, i64* %r9.1.lcssa.reg2mem\n store i64 %203, i64* %.lcssa.reg2mem\n br i1 %207, label LBL_44, label LBL_41\n LBL_41:\n %208 = add i64 %176, 24\n %209 = inttoptr i64 %208 to i32*\n %210 = add i64 %176, 8\n %211 = inttoptr i64 %210 to i64*\n %212 = ptrtoint i32* %sv_1 to i64\n %213 = add i64 %202, -8\n %214 = inttoptr i64 %213 to i64*\n %215 = add i64 %202, -16\n %216 = inttoptr i64 %215 to i64*\n store i64 0, i64* %.reg2mem81\n store i32 %206, i32* %.reg2mem83\n store i64 %203, i64* %.reg2mem85\n store i32 0, i32* %storemerge8.reg2mem\n br label LBL_42\n LBL_42:\n %storemerge8.reload = load i32, i32* %storemerge8.reg2mem\n %.reload86 = load i64, i64* %.reg2mem85\n %.reload84 = load i32, i32* %.reg2mem83\n %.reload82 = load i64, i64* %.reg2mem81\n %217 = add i32 %storemerge8.reload, 1\n %218 = icmp eq i32 %217, %.reload84\n %219 = zext i1 %218 to i64\n %220 = load i32, i32* %209, align 4\n %221 = zext i32 %220 to i64\n %222 = inttoptr i64 %.reload86 to i32*\n %223 = load i32, i32* %222, align 4\n %224 = add i64 %.reload86, 8\n %225 = inttoptr i64 %224 to i64*\n %226 = load i64, i64* %225, align 8\n %227 = mul i64 %.reload82, 8\n %228 = add i64 %226, %227\n %229 = inttoptr i64 %228 to i64*\n %230 = load i64, i64* %229, align 8\n %231 = load i64, i64* %211, align 8\n %232 = add i64 %231, %227\n %233 = inttoptr i64 %232 to i64*\n %234 = load i64, i64* %233, align 8\n store i64 %storemerge6.reload, i64* %214, align 8\n store i64 %219, i64* %216, align 8\n %235 = zext i32 %223 to i64\n %236 = call i64 @FUNC(i64 %4, i64 %234, i64 %230, i64 %212, i64 %235, i64 %221)\n %237 = load i64, i64* %22, align 8\n %238 = add i64 %237, 16\n %239 = inttoptr i64 %238 to i32*\n %240 = load i32, i32* %239, align 4\n %241 = zext i32 %240 to i64\n %242 = sext i32 %217 to i64\n %243 = icmp slt i64 %242, %241\n store i64 %242, i64* %.reg2mem81\n store i32 %240, i32* %.reg2mem83\n store i64 %237, i64* %.reg2mem85\n store i32 %217, i32* %storemerge8.reg2mem\n br i1 %243, label LBL_42, label LBL_43\n LBL_43:\n %244 = trunc i64 %236 to i32\n store i32 %244, i32* %sv_0.1.lcssa.reg2mem\n store i64 %212, i64* %rcx.7.lcssa.reg2mem\n store i64 %235, i64* %r8.2.lcssa.reg2mem\n store i64 %221, i64* %r9.1.lcssa.reg2mem\n store i64 %237, i64* %.lcssa.reg2mem\n br label LBL_44\n LBL_44:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %245 = icmp slt i32 %sv_0.1.lcssa.reload, 0\n %246 = icmp eq i1 %245, false\n br i1 %246, label LBL_46, label LBL_45\n LBL_45:\n %r9.1.lcssa.reload = load i64, i64* %r9.1.lcssa.reg2mem\n %r8.2.lcssa.reload = load i64, i64* %r8.2.lcssa.reg2mem\n %rcx.7.lcssa.reload = load i64, i64* %rcx.7.lcssa.reg2mem\n %247 = add i64 %4, 40\n %248 = inttoptr i64 %247 to i64*\n %249 = load i64, i64* %248, align 8\n %250 = call i64 @FUNC(i64 %249, i64 0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_2, i64 0, i64 0), i64 %rcx.7.lcssa.reload, i64 %r8.2.lcssa.reload, i64 %r9.1.lcssa.reload)\n %251 = zext i32 %sv_0.1.lcssa.reload to i64\n store i64 %251, i64* %rax.0.reg2mem\n br label LBL_47\n LBL_46:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %252 = load i32, i32* %sv_1, align 4\n %253 = zext i32 %252 to i64\n %254 = call i64 @FUNC(i64 %.lcssa.reload, i64 %253)\n %255 = add i64 %4, 28\n %256 = inttoptr i64 %255 to i32*\n %257 = load i32, i32* %256, align 4\n %258 = load i32, i32* %sv_1, align 4\n %259 = sub i32 %257, %258\n %260 = icmp slt i32 %259, 0\n %261 = icmp eq i1 %260, false\n %262 = select i1 %261, i32 %259, i32 0\n store i32 %262, i32* %256, align 4\n %263 = load i64, i64* %22, align 8\n %264 = inttoptr i64 %263 to i32*\n %265 = load i32, i32* %264, align 4\n %266 = zext i32 %265 to i64\n %267 = add i64 %4, 40\n %268 = inttoptr i64 %267 to i64*\n %269 = load i64, i64* %268, align 8\n %270 = add i64 %202, -16\n %271 = inttoptr i64 %270 to i64*\n store i64 %266, i64* %271, align 8\n %272 = zext i32 %sv_0.1.lcssa.reload to i64\n %273 = zext i32 %25 to i64\n %274 = zext i32 %20 to i64\n %275 = call i64 @FUNC(i64 %269, i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_3, i64 0, i64 0), i64 %274, i64 %273, i64 %272)\n %276 = bitcast i64* %arg2 to i32*\n store i32 %sv_0.1.lcssa.reload, i32* %276, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_47\n LBL_47:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.1.lcssa.reload, { 1, 2, 0, 3 }\n uselistorder i64 %227, { 1, 0 }\n uselistorder i64 %.reload86, { 1, 0 }\n uselistorder i64 %203, { 1, 0, 2 }\n uselistorder i64 %202, { 0, 2, 1 }\n uselistorder i64 %189, { 1, 0, 2 }\n uselistorder i64 %176, { 1, 2, 0, 4, 3 }\n uselistorder i64 %.reload78, { 1, 2, 0 }\n uselistorder i32 %storemerge114.reload, { 3, 2, 0, 1 }\n uselistorder i64 %135, { 2, 0, 1 }\n uselistorder i32 %124, { 0, 1, 3, 2 }\n uselistorder i32* %115, { 2, 0, 1, 3 }\n uselistorder i64 %rcx.4.reload, { 2, 0, 1 }\n uselistorder i64 %.reload66, { 1, 2, 0 }\n uselistorder i32 %storemerge320.reload, { 2, 0, 1 }\n uselistorder i64 %72, { 2, 0, 1 }\n uselistorder i32 %60, { 1, 3, 2, 0 }\n uselistorder i64 %rcx.0.reload, { 2, 1, 0 }\n uselistorder i32 %25, { 3, 0, 1, 2, 5, 4 }\n uselistorder i64* %22, { 8, 9, 2, 7, 5, 0, 6, 4, 1, 3, 10 }\n uselistorder i32 %20, { 1, 0, 2 }\n uselistorder i1 %19, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 10, 11, 13, 12, 8, 9, 4, 5, 7, 6, 3, 0, 15, 14, 16, 17, 2, 1 }\n uselistorder i64* %storemerge6.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem53, { 2, 1, 0 }\n uselistorder i64* %.reg2mem55, { 2, 1, 0 }\n uselistorder i64* %.reg2mem57, { 2, 1, 0 }\n uselistorder i32* %storemerge417.reg2mem, { 2, 1, 0 }\n uselistorder i32* %.reg2mem59, { 2, 0, 1 }\n uselistorder i64* %.reg2mem61, { 2, 0, 1 }\n uselistorder i64* %rcx.2.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem67, { 2, 1, 0 }\n uselistorder i64* %.reg2mem69, { 2, 1, 0 }\n uselistorder i32* %storemerge213.reg2mem, { 2, 1, 0 }\n uselistorder i32* %.reg2mem71, { 2, 0, 1 }\n uselistorder i64* %.reg2mem73, { 2, 0, 1 }\n uselistorder i32* %.reg2mem75, { 0, 2, 1 }\n uselistorder i64* %.reg2mem77, { 0, 2, 1 }\n uselistorder i32* %storemerge114.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem81, { 1, 0, 2 }\n uselistorder i32* %.reg2mem83, { 1, 0, 2 }\n uselistorder i64* %.reg2mem85, { 1, 0, 2 }\n uselistorder i32* %storemerge8.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rcx.7.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r8.2.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %r9.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 5, 4, 1, 2, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 -16, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @resample, { 1, 0 }\n uselistorder i64 2147483647, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @ff_audio_data_realloc, { 1, 0 }\n uselistorder i64 16, { 3, 2, 4, 1, 5, 6, 0, 7 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 24, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @av_get_bytes_per_sample, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 8, { 0, 4, 3, 1, 5, 2, 6, 7 }\n uselistorder i32 0, { 17, 19, 20, 0, 11, 21, 1, 22, 2, 23, 5, 8, 10, 16, 3, 4, 12, 24, 25, 7, 9, 15, 6, 13, 26, 27, 14, 28, 29, 18 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder label LBL_47, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder label LBL_44, { 1, 0 }\n uselistorder label LBL_42, { 1, 0 }\n uselistorder label LBL_33, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dcstr_read_header_3367", "fun_name": "dcstr_read_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_11\n LBL_1:\n %6 = inttoptr i64 %3 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i32*\n store i32 1, i32* %8, align 4\n %9 = load i64, i64* %6, align 8\n %10 = call i64 @FUNC(i64 %2)\n %11 = trunc i64 %10 to i32\n %12 = add i64 %9, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 %11, i32* %13, align 4\n %14 = load i64, i64* %6, align 8\n %15 = call i64 @FUNC(i64 %2)\n %16 = trunc i64 %15 to i32\n %17 = add i64 %14, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = call i64 @FUNC(i64 %2)\n %20 = call i64 @FUNC(i64 %2)\n %21 = call i64 @FUNC(i64 %2, i64 4)\n %22 = call i64 @FUNC(i64 %2)\n %23 = trunc i64 %22 to i32\n %24 = add i64 %3, 8\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = call i64 @FUNC(i64 %2)\n %27 = trunc i64 %26 to i32\n %28 = load i64, i64* %6, align 8\n %29 = add i64 %28, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp slt i32 %31, 1\n %33 = icmp slt i32 %27, 1\n %or.cond = or i1 %33, %32\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %34 = udiv i32 2147483647, %31\n %35 = zext i32 %34 to i64\n %sext = mul i64 %26, 4294967296\n %36 = ashr exact i64 %sext, 32\n %37 = icmp sgt i64 %36, %35\n br i1 %37, label LBL_3, label LBL_4\n LBL_3:\n %38 = and i64 %26, 4294967295\n %39 = zext i32 %31 to i64\n %40 = call i64 @FUNC(i64 %2, i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0), i64 %39, i64 %38, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %41 = trunc i64 %20 to i32\n %42 = mul i32 %31, %27\n store i32 %42, i32* %30, align 4\n %43 = icmp eq i32 %41, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %43, label LBL_11, label LBL_5\n LBL_5:\n %44 = load i64, i64* %6, align 8\n %45 = add i64 %44, 4\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = udiv i32 2147483647, %47\n %49 = icmp ult i32 %48, %41\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %49, label LBL_11, label LBL_6\n LBL_6:\n %50 = trunc i64 %19 to i32\n %51 = mul i32 %47, %41\n %52 = add i64 %44, 12\n %53 = inttoptr i64 %52 to i32*\n store i32 %51, i32* %53, align 4\n switch i32 %50, label LBL_9 [\n i32 4, label LBL_7\n i32 16, label LBL_8\n ]\n LBL_7:\n %54 = load i64, i64* %6, align 8\n %55 = add i64 %54, 16\n %56 = inttoptr i64 %55 to i32*\n store i32 2, i32* %56, align 4\n br label LBL_10\n LBL_8:\n %57 = load i64, i64* %6, align 8\n %58 = add i64 %57, 16\n %59 = inttoptr i64 %58 to i32*\n store i32 3, i32* %59, align 4\n br label LBL_10\n LBL_9:\n %60 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_1, i64 0, i64 0), i32 %50)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %61 = call i64 @FUNC(i64 %2)\n %62 = sub i64 2048, %61\n %63 = and i64 %62, 4294967295\n %64 = call i64 @FUNC(i64 %2, i64 %63)\n %65 = load i64, i64* %6, align 8\n %66 = add i64 %65, 8\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = zext i32 %68 to i64\n %70 = call i64 @FUNC(i64 %3, i64 64, i64 1, i64 %69)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %50, { 1, 0 }\n uselistorder i64 %26, { 1, 0, 2 }\n uselistorder i64* %6, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 %2, { 2, 1, 0, 3, 10, 9, 8, 7, 6, 5, 4, 11 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 2, 1, 6, 3 }\n uselistorder i64 (i64, i64)* @avio_skip, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @avio_rl32, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder label LBL_11, { 3, 4, 1, 0, 5, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gicv3_cpuif_update_14423", "fun_name": "gicv3_cpuif_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = call i64 @FUNC(i64 %2)\n %14 = zext i32 %9 to i64\n %15 = zext i32 %12 to i64\n %16 = and i64 %1, 4294967295\n %17 = and i64 %13, 4294967295\n %18 = call i64 @FUNC(i64 %17, i64 %16, i64 %15, i64 %14)\n %19 = load i32, i32* %11, align 4\n %20 = icmp eq i32 %19, 1\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_3, label LBL_1\n LBL_1:\n %22 = call i64 @FUNC(i64 %6, i64 0)\n %23 = trunc i64 %22 to i8\n %24 = icmp eq i8 %23, 1\n br i1 %24, label LBL_3, label LBL_2\n LBL_2:\n store i32 0, i32* %11, align 4\n br label LBL_3\n LBL_3:\n %25 = call i64 @FUNC(i64 %2)\n %26 = trunc i64 %25 to i8\n %27 = icmp eq i8 %26, 0\n store i32 0, i32* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %27, label LBL_14, label LBL_4\n LBL_4:\n %28 = load i32, i32* %11, align 4\n %29 = icmp eq i32 %28, 2\n br i1 %29, label LBL_11, label LBL_5\n LBL_5:\n %30 = icmp sgt i32 %28, 2\n br i1 %30, label LBL_12, label LBL_6\n LBL_6:\n store i8 1, i8* %sv_2.0.reg2mem\n switch i32 %28, label LBL_12 [\n i32 0, label LBL_13\n i32 1, label LBL_7\n ]\n LBL_7:\n %31 = call i64 @FUNC(i64 %6)\n %32 = trunc i64 %31 to i8\n %33 = icmp eq i8 %32, 1\n %34 = icmp eq i1 %33, false\n store i8 1, i8* %sv_2.0.reg2mem\n br i1 %34, label LBL_13, label LBL_8\n LBL_8:\n %35 = call i64 @FUNC(i64 %6)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 3\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 %6, i64 3)\n %40 = trunc i64 %39 to i8\n %41 = icmp eq i8 %40, 0\n store i8 1, i8* %sv_2.0.reg2mem\n br i1 %41, label LBL_10, label LBL_13\n LBL_10:\n store i8 0, i8* %sv_2.0.reg2mem\n br label LBL_13\n LBL_11:\n %42 = call i64 @FUNC(i64 %6)\n %43 = trunc i64 %42 to i8\n store i8 %43, i8* %sv_2.0.reg2mem\n br label LBL_13\n LBL_12:\n %44 = call i64 @FUNC()\n br label LBL_13\n LBL_13:\n %sv_2.0.reload = load i8, i8* %sv_2.0.reg2mem\n %45 = icmp eq i8 %sv_2.0.reload, 0\n %. = zext i1 %45 to i32\n %not. = icmp ne i1 %45, true\n %.1 = zext i1 %not. to i64\n store i32 %., i32* %sv_1.0.reg2mem\n store i64 %.1, i64* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %46 = call i64 @FUNC(i64 %2)\n %47 = and i64 %46, 4294967295\n %48 = call i64 @FUNC(i64 %47, i64 %sv_0.0.reload, i32 %sv_1.0.reload)\n %49 = add i64 %2, 24\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = call i64 @FUNC(i64 %51, i64 %sv_0.0.reload)\n %53 = add i64 %2, 32\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = zext i32 %sv_1.0.reload to i64\n %57 = call i64 @FUNC(i64 %55, i64 %56)\n ret i64 %57\n\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32* %11, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 4, 1, 2, 3, 0 }\n uselistorder i64 %2, { 0, 1, 2, 3, 6, 5, 4, 7 }\n uselistorder i8* %sv_2.0.reg2mem, { 0, 5, 3, 2, 1, 4 }\n uselistorder i64 (i64, i64)* @qemu_set_irq, { 1, 0 }\n uselistorder i64 (i64)* @arm_is_secure, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i8 0, { 1, 0, 2, 3 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder i8 1, { 1, 0, 3, 2, 4 }\n uselistorder i64 4294967295, { 1, 2, 0 }\n uselistorder i64 (i64)* @gicv3_redist_affid, { 1, 0 }\n uselistorder label LBL_13, { 4, 5, 0, 1, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "opfidiv_9195", "fun_name": "opfidiv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = add i64 %0, 4\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 1\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_6, label LBL_1\n LBL_1:\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_6, label LBL_2\n LBL_2:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = and i32 %8, 2\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = bitcast i64* %arg2 to i8*\n store i8 -38, i8* %14, align 1\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %11, 1\n %19 = trunc i32 %17 to i8\n %20 = or i8 %19, 48\n %21 = inttoptr i64 %18 to i8*\n store i8 %20, i8* %21, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %22 = and i32 %8, 4\n %23 = icmp eq i32 %22, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = bitcast i64* %arg2 to i8*\n store i8 -34, i8* %24, align 1\n %25 = add i64 %0, 12\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %11, 1\n %29 = trunc i32 %27 to i8\n %30 = or i8 %29, 48\n %31 = inttoptr i64 %28 to i8*\n store i8 %30, i8* %31, align 1\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i32 %8, { 1, 2, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 5, 1, 4, 3 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_6, { 1, 4, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "enable_nmi_window_12602", "fun_name": "enable_nmi_window", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 4\n %5 = icmp eq i32 %4, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %1, 4\n %7 = inttoptr i64 %6 to i8*\n store i8 1, i8* %7, align 1\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = or i32 %12, 768\n store i32 %13, i32* %11, align 4\n %14 = call i64 @FUNC(i64 %0)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fio_cluster_client_handler_7072", "fun_name": "fio_cluster_client_handler", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp ult i32 %2, 2\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = and i64 %1, 4294967295\n %5 = icmp eq i32 %2, 2\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_4\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %10)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %12 = call i64 @FUNC()\n %13 = call i32 @getpid()\n %14 = call i32 @kill(i32 %13, i32 2)\n %15 = sext i32 %14 to i64\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder label LBL_4, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prefetch_enc_11911", "fun_name": "prefetch_enc", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 4202512, i64 4)\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "host_get_page_state_7250", "fun_name": "host_get_page_state", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n %4 = icmp eq i64 %arg1, 0\n %or.cond = or i1 %4, %3\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = and i64 %5, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bitmap_clear_2676", "fun_name": "bitmap_clear", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_2.0.lcssa.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg2, -1\n %1 = icmp slt i64 %arg3, 0\n %2 = icmp eq i1 %1, false\n %or.cond = icmp eq i1 %0, %2\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = udiv i64 %arg2, 64\n %5 = mul i64 %4, 8\n %6 = add i64 %5, %3\n %7 = urem i64 %arg2, 64\n %8 = lshr i64 -1, %7\n %9 = or i64 %arg2, -64\n %10 = add i64 %9, %arg3\n %11 = icmp slt i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %arg3, i64* %sv_2.0.lcssa.reg2mem\n store i64 %6, i64* %sv_1.0.lcssa.reg2mem\n store i64 %8, i64* %sv_0.0.lcssa.reg2mem\n store i64 %10, i64* %.lcssa.reg2mem\n br i1 %12, label LBL_3, label LBL_5\n LBL_3:\n %13 = sub i64 0, %8\n %14 = sub i64 %13, 1\n store i64 %10, i64* %.reg2mem\n store i64 %14, i64* %sv_0.05.reg2mem\n store i64 %6, i64* %sv_1.04.reg2mem\n br label LBL_4\n LBL_4:\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %15 = inttoptr i64 %sv_1.04.reload to i64*\n %16 = load i64, i64* %15, align 8\n %17 = and i64 %16, %sv_0.05.reload\n store i64 %17, i64* %15, align 8\n %18 = add i64 %sv_1.04.reload, 8\n %19 = add i64 %.reload, -64\n %20 = icmp slt i64 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %19, i64* %.reg2mem\n store i64 0, i64* %sv_0.05.reg2mem\n store i64 %18, i64* %sv_1.04.reg2mem\n store i64 %.reload, i64* %sv_2.0.lcssa.reg2mem\n store i64 %18, i64* %sv_1.0.lcssa.reg2mem\n store i64 -1, i64* %sv_0.0.lcssa.reg2mem\n store i64 %19, i64* %.lcssa.reg2mem\n br i1 %21, label LBL_4, label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %sv_2.0.lcssa.reload = load i64, i64* %sv_2.0.lcssa.reg2mem\n %22 = icmp eq i64 %sv_2.0.lcssa.reload, 0\n store i64 %.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = add i64 %arg3, %arg2\n %24 = trunc i64 %23 to i32\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %25 = sub i32 0, %24\n %26 = urem i32 %25, 64\n %27 = icmp eq i32 %26, 0\n %28 = zext i32 %26 to i64\n %29 = lshr i64 -1, %28\n %storemerge2 = select i1 %27, i64 -1, i64 %29\n %30 = and i64 %sv_0.0.lcssa.reload, %storemerge2\n %31 = inttoptr i64 %sv_1.0.lcssa.reload to i64*\n %32 = load i64, i64* %31, align 8\n %33 = sub i64 0, %30\n %34 = sub i64 %33, 1\n %35 = and i64 %32, %34\n store i64 %35, i64* %31, align 8\n store i64 %sv_1.0.lcssa.reload, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.04.reg2mem, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 64, { 1, 0 }\n uselistorder i1 false, { 2, 0, 1 }\n uselistorder i64 -1, { 2, 3, 0, 4, 1 }\n uselistorder i64 %arg3, { 1, 0, 2, 3 }\n uselistorder i64 %arg2, { 2, 3, 1, 0, 4 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_interrupt_291", "fun_name": "cpu_interrupt", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = or i64 %1, %arg2\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* %arg1, align 4\n %6 = inttoptr i64 %3 to i32*\n store i32 1, i32* %6, align 4\n ret i64 %3\n\n uselistorder i64 %3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "msg_parse_fetch_5514", "fun_name": "msg_parse_fetch", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem89 = alloca i8\n %sv_0.2.ph4.reg2mem = alloca i64\n %sv_0.2.ph4.be.reg2mem = alloca i64\n %sv_0.2.ph.reg2mem = alloca i64\n %rcx.2.ph.reg2mem = alloca i64\n %sv_0.2.ph.be.reg2mem = alloca i64\n %rcx.2.ph.be.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %rcx.1.lcssa.reg2mem = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i8*\n %.reg2mem = alloca i8\n %sv_0.12263.reg2mem = alloca i64\n %sv_1.12064.reg2mem = alloca i8*\n %sv_0.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %3 = icmp eq i64 %arg2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_30\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i64* %sv_3 to i8*\n %7 = bitcast i64* %sv_2 to i8*\n %8 = add i64 %5, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %5, 16\n store i64 %arg2, i64* %sv_0.2.ph.reg2mem\n br label LBL_20\n LBL_2:\n %11 = call i64 @FUNC(i64 %sv_0.2.ph4.reload)\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %sv_0.2.ph4.reload, i64 5)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %5, i64 %sv_0.2.ph4.reload)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %sv_0.2.ph4.be.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_203.backedge, label LBL_30\n LBL_4:\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i64 %sv_0.2.ph4.reload, i64 3)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_7, label LBL_5\n LBL_5:\n %23 = add i64 %sv_0.2.ph4.reload, 3\n %24 = call i64 @FUNC(i64 %23)\n %25 = call i64 @FUNC(i64 %23, i64 %23)\n %26 = trunc i64 %25 to i32\n %27 = icmp slt i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %28, label LBL_6, label LBL_30\n LBL_6:\n %29 = call i64 @FUNC(i64 %23)\n store i64 %29, i64* %sv_0.2.ph4.be.reg2mem\n br label LBL_203.backedge\n LBL_7:\n %30 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 %sv_0.2.ph4.reload, i64 12)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_15, label LBL_8\n LBL_8:\n %34 = add i64 %sv_0.2.ph4.reload, 12\n %35 = call i64 @FUNC(i64 %34)\n %36 = inttoptr i64 %34 to i8*\n %37 = load i8, i8* %36, align 1\n %38 = icmp eq i8 %37, 34\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %34, i64 %rcx.2.ph.reload, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_10:\n %40 = add i64 %sv_0.2.ph4.reload, 13\n store i8* %6, i8** %sv_1.0.reg2mem\n store i64 %rcx.2.ph.reload, i64* %rcx.0.reg2mem\n store i64 %40, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %41 = add i64 %sv_0.0.reload, 1\n %42 = ptrtoint i8* %sv_1.0.reload to i64\n %43 = add i64 %42, 1\n %44 = inttoptr i64 %43 to i8*\n store i8 %46, i8* %sv_1.0.reload, align 1\n store i8* %44, i8** %sv_1.0.reg2mem\n store i64 %43, i64* %rcx.0.reg2mem\n store i64 %41, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %45 = inttoptr i64 %sv_0.0.reload to i8*\n %46 = load i8, i8* %45, align 1\n store i64 4294967295, i64* %rax.0.reg2mem\n switch i8 %46, label LBL_13 [\n i8 34, label LBL_14\n i8 0, label LBL_30\n ]\n LBL_13:\n %47 = icmp eq i8* %sv_1.0.reload, %7\n %48 = icmp eq i1 %47, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %48, label LBL_11, label LBL_30\n LBL_14:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %49 = add i64 %sv_0.0.reload, 1\n store i8 0, i8* %sv_1.0.reload, align 1\n %50 = call i64 @FUNC(i64* nonnull %sv_3)\n store i64 %50, i64* %9, align 8\n store i64 %rcx.0.reload, i64* %rcx.2.ph.be.reg2mem\n store i64 %49, i64* %sv_0.2.ph.be.reg2mem\n br label LBL_19\n LBL_15:\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_4, i64 0, i64 0), i64 %sv_0.2.ph4.reload, i64 11)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_21, label LBL_16\n LBL_16:\n %55 = add i64 %sv_0.2.ph4.reload, 11\n %56 = call i64 @FUNC(i64 %55)\n %57 = call i16** @__ctype_b_loc()\n %58 = load i16*, i16** %57, align 8\n %59 = ptrtoint i16* %58 to i64\n %60 = inttoptr i64 %55 to i8*\n %61 = load i8, i8* %60, align 1\n %62 = zext i8 %61 to i64\n %63 = mul i64 %62, 2\n %64 = add i64 %63, %59\n %65 = inttoptr i64 %64 to i16*\n %66 = load i16, i16* %65, align 2\n %67 = and i16 %66, 2048\n %68 = icmp eq i16 %67, 0\n store i8* %6, i8** %sv_1.12064.reg2mem\n store i64 %55, i64* %sv_0.12263.reg2mem\n store i8 %61, i8* %.reg2mem\n store i8* %6, i8** %sv_1.1.lcssa.reg2mem\n store i64 %rcx.2.ph.reload, i64* %rcx.1.lcssa.reg2mem\n store i64 %55, i64* %sv_0.1.lcssa.reg2mem\n br i1 %68, label LBL_18, label LBL_17\n LBL_17:\n %.reload = load i8, i8* %.reg2mem\n %sv_0.12263.reload = load i64, i64* %sv_0.12263.reg2mem\n %sv_1.12064.reload = load i8*, i8** %sv_1.12064.reg2mem\n %69 = add i64 %sv_0.12263.reload, 1\n %70 = ptrtoint i8* %sv_1.12064.reload to i64\n %71 = add i64 %70, 1\n %72 = inttoptr i64 %71 to i8*\n store i8 %.reload, i8* %sv_1.12064.reload, align 1\n %73 = call i16** @__ctype_b_loc()\n %74 = load i16*, i16** %73, align 8\n %75 = ptrtoint i16* %74 to i64\n %76 = inttoptr i64 %69 to i8*\n %77 = load i8, i8* %76, align 1\n %78 = zext i8 %77 to i64\n %79 = mul i64 %78, 2\n %80 = add i64 %79, %75\n %81 = inttoptr i64 %80 to i16*\n %82 = load i16, i16* %81, align 2\n %83 = and i16 %82, 2048\n %84 = icmp ne i16 %83, 0\n %85 = icmp eq i8* %72, %7\n %86 = icmp eq i1 %85, false\n %or.cond = icmp eq i1 %84, %86\n store i8* %72, i8** %sv_1.12064.reg2mem\n store i64 %69, i64* %sv_0.12263.reg2mem\n store i8 %77, i8* %.reg2mem\n store i8* %72, i8** %sv_1.1.lcssa.reg2mem\n store i64 %71, i64* %rcx.1.lcssa.reg2mem\n store i64 %69, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond, label LBL_17, label LBL_18\n LBL_18:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i8*, i8** %sv_1.1.lcssa.reg2mem\n store i8 0, i8* %sv_1.1.lcssa.reload, align 1\n %87 = call i64 @FUNC(i64* nonnull %sv_3, i64 %10)\n %88 = trunc i64 %87 to i32\n %89 = icmp slt i32 %88, 0\n %90 = icmp eq i1 %89, false\n store i64 %rcx.1.lcssa.reload, i64* %rcx.2.ph.be.reg2mem\n store i64 %sv_0.1.lcssa.reload, i64* %sv_0.2.ph.be.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %90, label LBL_19, label LBL_30\n LBL_19:\n %sv_0.2.ph.be.reload = load i64, i64* %sv_0.2.ph.be.reg2mem\n %rcx.2.ph.be.reload = load i64, i64* %rcx.2.ph.be.reg2mem\n store i64 %rcx.2.ph.be.reload, i64* %rcx.2.ph.reg2mem\n store i64 %sv_0.2.ph.be.reload, i64* %sv_0.2.ph.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.2.ph.reload = load i64, i64* %sv_0.2.ph.reg2mem\n %rcx.2.ph.reload = load i64, i64* %rcx.2.ph.reg2mem\n store i64 %sv_0.2.ph.reload, i64* %sv_0.2.ph4.reg2mem\n br label LBL_203\n LBL_21:\n %91 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 %sv_0.2.ph4.reload, i64 4)\n %92 = trunc i64 %91 to i32\n %93 = icmp eq i32 %92, 0\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %93, label LBL_30, label LBL_22\n LBL_22:\n %94 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0), i64 %sv_0.2.ph4.reload, i64 13)\n %95 = trunc i64 %94 to i32\n %96 = icmp eq i32 %95, 0\n %97 = icmp eq i1 %96, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %97, label LBL_23, label LBL_30\n LBL_23:\n %98 = load i8, i8* %102, align 1\n %99 = icmp eq i8 %98, 41\n %100 = icmp eq i1 %99, false\n br i1 %100, label LBL_27, label LBL_24\n LBL_24:\n %101 = add i64 %sv_0.2.ph4.reload, 1\n store i64 %101, i64* %sv_0.2.ph4.be.reg2mem\n br label LBL_203.backedge\n LBL_25:\n %sv_0.2.ph4.be.reload = load i64, i64* %sv_0.2.ph4.be.reg2mem\n store i64 %sv_0.2.ph4.be.reload, i64* %sv_0.2.ph4.reg2mem\n br label LBL_203\n LBL_26:\n %sv_0.2.ph4.reload = load i64, i64* %sv_0.2.ph4.reg2mem\n %102 = inttoptr i64 %sv_0.2.ph4.reload to i8*\n %.pre = load i8, i8* %102, align 1\n store i8 %.pre, i8* %.reg2mem89\n br label LBL_29\n LBL_27:\n %103 = icmp eq i8 %98, 0\n store i8 0, i8* %.reg2mem89\n br i1 %103, label LBL_29, label LBL_28\n LBL_28:\n %104 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i64 %sv_0.2.ph4.reload)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_29:\n %.reload90 = load i8, i8* %.reg2mem89\n %105 = icmp eq i8 %.reload90, 0\n %106 = icmp eq i1 %105, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %106, label LBL_2, label LBL_30\n LBL_30:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.2.ph4.reload, { 14, 9, 10, 8, 7, 6, 5, 4, 12, 11, 3, 13, 2, 1, 0 }\n uselistorder i8* %sv_1.0.reload, { 3, 0, 2, 1 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64 %23, { 0, 3, 1, 2 }\n uselistorder i64 %5, { 0, 2, 1 }\n uselistorder i64* %sv_3, { 1, 2, 0 }\n uselistorder i8** %sv_1.12064.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.12263.reg2mem, { 1, 0, 2 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 11, 8, 7, 1, 5, 4, 10, 2, 3, 9 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 4294967294, { 1, 0 }\n uselistorder i16 0, { 3, 1, 4, 5, 6, 0, 2 }\n uselistorder i16 2048, { 1, 0 }\n uselistorder i16** ()* @__ctype_b_loc, { 5, 1, 6, 3, 4, 0, 2 }\n uselistorder i64 11, { 1, 0 }\n uselistorder i8 0, { 8, 0, 5, 6, 7, 3, 9, 10, 1, 11, 2, 4 }\n uselistorder i64 13, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 (i8*, i64, i64)* @mutt_str_strncasecmp, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @SKIPWS, { 3, 2, 1, 0 }\n uselistorder label LBL_30, { 5, 9, 7, 6, 0, 4, 3, 10, 1, 2, 8 }\n uselistorder label LBL_29, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gdb_get_avr_reg_15259", "fun_name": "gdb_get_avr_reg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = trunc i64 %arg3 to i32\n %3 = icmp sgt i32 %2, 31\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext, 28\n %5 = add i64 %4, %1\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = add i64 %0, 8\n %13 = call i64 @FUNC(i64 %12, i64 %11)\n store i64 16, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %14 = icmp eq i32 %2, 33\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = add i64 %1, 560\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %0, i64 %19)\n store i64 4, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %21 = icmp eq i32 %2, 34\n %22 = icmp eq i1 %21, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = add i64 %1, 688\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %0, i64 %26)\n store i64 4, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64 %0, { 3, 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64, i64)* @stl_p, { 1, 0 }\n uselistorder i64 (i64, i64)* @stq_p, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_stswi_2601", "fun_name": "gen_stswi", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = urem i32 %2, 32\n %4 = ptrtoint i32* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 0)\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i32\n %8 = and i64 %6, 4294967295\n %9 = call i64 @FUNC(i64 %4, i64 %8)\n %10 = icmp eq i32 %3, 0\n %11 = icmp eq i1 %10, false\n %12 = zext i32 %3 to i64\n %13 = select i1 %11, i64 %12, i64 32\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = udiv i64 %1, 32\n %17 = urem i64 %16, 32\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = load i64, i64* @gv_0, align 8\n %21 = call i64 @FUNC(i64 %20, i32 %7, i32 %15, i32 %19)\n %22 = call i64 @FUNC(i64 %8)\n %23 = and i64 %14, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = and i64 %18, 4294967295\n %26 = call i64 @FUNC(i64 %25)\n ret i64 %26\n\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64)* @tcg_temp_free_i32, { 1, 0 }\n uselistorder i64 (i64)* @tcg_const_i32, { 1, 0 }\n uselistorder i64 32, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pmd_none_or_trans_huge_or_clear_bad_13428", "fun_name": "pmd_none_or_trans_huge_or_clear_bad", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = call i64 @FUNC()\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC()\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_4, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "local_truncate_3259", "fun_name": "local_truncate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 1, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = trunc i64 %arg3 to i32\n %7 = call i32 @ftruncate(i32 %3, i32 %6)\n %8 = and i64 %2, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = zext i32 %7 to i64\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ProcPanoramiXGetScreenSize_4719", "fun_name": "ProcPanoramiXGetScreenSize", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i32, align 4\n %sv_6 = alloca i32, align 4\n %sv_7 = alloca i64, align 8\n %2 = call i64* @malloc(i32 8)\n %3 = bitcast i64* %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %6 = icmp ult i32 %4, %5\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_6\n LBL_1:\n %7 = ptrtoint i64* %2 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = ptrtoint i32* %arg1 to i64\n %12 = call i64 @FUNC(i64* nonnull %sv_7, i32 %10, i64 %11, i64 0)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_3, label LBL_2\n LBL_2:\n %15 = and i64 %12, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %16 = trunc i64 %1 to i32\n %17 = load i64, i64* @gv_0, align 8\n %18 = load i32, i32* %3, align 4\n %19 = sext i32 %18 to i64\n %20 = mul i64 %19, 8\n %21 = add i64 %20, %17\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %23, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = load i32, i32* %9, align 4\n store i32 1, i32* %sv_6, align 4\n store i32 %16, i32* %sv_5, align 4\n store i32 0, i32* %sv_4, align 4\n store i32 %25, i32* %sv_3, align 4\n store i32 %28, i32* %sv_2, align 4\n store i32 %29, i32* %sv_1, align 4\n store i32 %18, i32* %sv_0, align 4\n %30 = add i64 %11, 4\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_5, label LBL_4\n LBL_4:\n %34 = call i64 @FUNC(i32* nonnull %sv_5)\n %35 = call i64 @FUNC(i32* nonnull %sv_4)\n %36 = call i64 @FUNC(i32* nonnull %sv_3)\n %37 = call i64 @FUNC(i32* nonnull %sv_2)\n %38 = call i64 @FUNC(i32* nonnull %sv_1)\n %39 = call i64 @FUNC(i32* nonnull %sv_0)\n br label LBL_5\n LBL_5:\n %40 = call i64 @FUNC(i64 %11, i64 28, i32* nonnull %sv_6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i32*)* @swapl, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "drop_futex_key_refs_10187", "fun_name": "drop_futex_key_refs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 1)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = urem i64 %6, 4\n store i64 %7, i64* %rax.0.reg2mem\n switch i64 %7, label LBL_5 [\n i64 1, label LBL_3\n i64 2, label LBL_4\n ]\n LBL_3:\n %8 = call i64 @FUNC(i64 %3)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %9 = call i64 @FUNC(i64 %3)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_mempath_getpagesize_1882", "fun_name": "qemu_mempath_getpagesize", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i32 @getpagesize()\n %1 = sext i32 %0 to i64\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_arch_destroy_vm_10555", "fun_name": "kvm_arch_destroy_vm", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = add i64 %arg1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = add i64 %arg1, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %11)\n br label LBL_2\n LBL_2:\n %14 = add i64 %arg1, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %16)\n br label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %arg1)\n ret i64 %19\n\n uselistorder i64 (i64)* @put_page, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aml_buffer_15897", "fun_name": "aml_buffer", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 17, i64 1)\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tcp_reinit_congestion_control_17889", "fun_name": "tcp_reinit_congestion_control", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = ptrtoint i32* %arg2 to i64\n %4 = inttoptr i64 %1 to i64*\n store i64 %3, i64* %4, align 8\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i32*\n store i32 1, i32* %6, align 4\n %7 = bitcast i64* %rdi to i32*\n %8 = load i32, i32* %7, align 8\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %0)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "smp_proc_sec_req_9830", "fun_name": "smp_proc_sec_req", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %3 = trunc i64 %1 to i32\n %4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %3)\n %5 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %2, 20\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = and i64 %1, 4294967295\n %10 = zext i32 %8 to i64\n %11 = bitcast i32* %sv_1 to i64*\n %12 = call i64 @FUNC(i64 %10, i64 %9, i64* nonnull %11)\n %13 = load i32, i32* %sv_1, align 4\n %14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i32 %13)\n %15 = load i32, i32* %sv_1, align 4\n %16 = icmp eq i32 %15, 3\n br i1 %16, label LBL_8, label LBL_1\n LBL_1:\n %17 = zext i32 %15 to i64\n %18 = icmp sgt i32 %15, 3\n store i64 %17, i64* %rax.0.reg2mem\n br i1 %18, label LBL_9, label LBL_2\n LBL_2:\n store i64 %17, i64* %rax.0.reg2mem\n switch i32 %15, label LBL_9 [\n i32 1, label LBL_3\n i32 2, label LBL_4\n ]\n LBL_3:\n %19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0))\n %20 = call i64 @FUNC(i64 %2, i64 4, i64 0)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %21 = load i32, i32* bitcast (i64* @gv_4 to i32*), align 8\n %22 = icmp eq i32 %21, 9\n %23 = zext i1 %22 to i8\n %24 = add i64 %2, 24\n %25 = inttoptr i64 %24 to i8*\n store i8 %23, i8* %25, align 1\n %26 = icmp eq i1 %22, false\n br i1 %26, label LBL_7, label LBL_5\n LBL_5:\n %27 = and i32 %3, 10\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n store i32 7, i32* %sv_0, align 4\n %30 = ptrtoint i32* %sv_0 to i64\n %31 = call i64 @FUNC(i64 %2, i64 5, i64 %30)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %32 = add i64 %2, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 %3, i32* %33, align 4\n %34 = add i64 %2, 8\n %35 = inttoptr i64 %34 to i32*\n store i32 8, i32* %35, align 4\n %36 = add i64 %2, 4\n %37 = inttoptr i64 %36 to i32*\n store i32 8, i32* %37, align 4\n store i32 6, i32* %5, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %38 = add i64 %2, 16\n %39 = inttoptr i64 %38 to i8*\n store i8 1, i8* %39, align 1\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %15, { 0, 1, 3, 2 }\n uselistorder i32 %3, { 1, 2, 0 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 8, 0, 3, 4, 5, 2, 6, 7, 9 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 3, 2, 4, 1, 5 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @smp_sm_event, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 2, 1, 0 }\n uselistorder label LBL_9, { 2, 3, 4, 5, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_watchpoint_3538", "fun_name": "check_watchpoint", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi15.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %storemerge1011.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %0 = load i32*, i32** @gv_0, align 8\n %1 = load i32, i32* %0, align 4\n %2 = icmp eq i32 %1, 0\n %3 = ptrtoint i32* %0 to i64\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %3, i64 4)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_2:\n %5 = add i64 %3, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %3, 24\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_16\n LBL_3:\n %sext6 = mul i64 %arg2, 4294967296\n %sext = mul i64 %arg1, 4294967296\n %11 = and i64 %7, 4294963200\n %12 = ashr exact i64 %sext, 32\n %13 = add nsw i64 %11, %12\n %14 = ashr exact i64 %sext6, 32\n %15 = trunc i64 %arg3 to i32\n %16 = add i64 %3, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = add i64 %3, 32\n %19 = inttoptr i64 %18 to i32*\n %20 = bitcast i32* %sv_2 to i64*\n store i64 %8, i64* %storemerge1011.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1011.reload = load i64, i64* %storemerge1011.reg2mem\n %21 = inttoptr i64 %storemerge1011.reload to i64*\n %22 = load i64, i64* %21, align 8\n %23 = and i64 %22, %14\n %24 = icmp eq i64 %13, %23\n br i1 %24, label LBL_7, label LBL_5\n LBL_5:\n %25 = add i64 %storemerge1011.reload, 8\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = sext i32 %27 to i64\n %29 = and i64 %13, %28\n %30 = icmp eq i64 %29, %22\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_5.LBL_14_crit_edge, label LBL_7\n LBL_6:\n %.pre = add i64 %storemerge1011.reload, 12\n %.pre14 = inttoptr i64 %.pre to i32*\n %.pre16 = load i32, i32* %.pre14, align 4\n store i32 %.pre16, i32* %.reg2mem\n store i32* %.pre14, i32** %.pre-phi15.reg2mem\n br label LBL_14\n LBL_7:\n %32 = add i64 %storemerge1011.reload, 12\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = and i32 %34, %15\n %36 = icmp eq i32 %35, 0\n store i32 %34, i32* %.reg2mem\n store i32* %33, i32** %.pre-phi15.reg2mem\n br i1 %36, label LBL_14, label LBL_8\n LBL_8:\n %37 = or i32 %34, 1\n store i32 %37, i32* %33, align 4\n %38 = load i32, i32* %0, align 4\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_15, label LBL_9\n LBL_9:\n %41 = trunc i64 %storemerge1011.reload to i32\n store i32 %41, i32* %0, align 4\n %42 = load i64, i64* %17, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = icmp eq i64 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_11, label LBL_10\n LBL_10:\n %46 = load i64, i64* %17, align 8\n %47 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %46)\n br label LBL_11\n LBL_11:\n %48 = load i64, i64* %17, align 8\n %49 = call i64 @FUNC(i64 %43, i64 %3, i64 %48)\n %50 = call i64 @FUNC(i64 %43, i64 4294967295)\n %51 = load i32, i32* %33, align 4\n %52 = and i32 %51, 2\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_13, label LBL_12\n LBL_12:\n store i32 3, i32* %19, align 4\n %54 = call i64 @FUNC(i64 %3)\n br label LBL_15\n LBL_13:\n %55 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64* nonnull %sv_1, i64* nonnull %20)\n %56 = load i32, i32* %sv_2, align 4\n %57 = zext i32 %56 to i64\n %58 = load i64, i64* %sv_1, align 8\n %59 = load i64, i64* %sv_0, align 8\n %60 = call i64 @FUNC(i64 %3, i64 %59, i64 %58, i64 %57, i64 1)\n %61 = call i64 @FUNC(i64 %3, i64 0)\n br label LBL_15\n LBL_14:\n %.pre-phi15.reload = load i32*, i32** %.pre-phi15.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %62 = and i32 %.reload, -2\n store i32 %62, i32* %.pre-phi15.reload, align 4\n br label LBL_15\n LBL_15:\n %63 = add i64 %storemerge1011.reload, 16\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = icmp eq i64 %65, 0\n %67 = icmp eq i1 %66, false\n store i64 %65, i64* %storemerge1011.reg2mem\n store i64 %65, i64* %rax.0.reg2mem\n br i1 %67, label LBL_4, label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %43, { 1, 0, 2 }\n uselistorder i32 %34, { 2, 0, 1 }\n uselistorder i32* %33, { 1, 2, 0, 3 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %storemerge1011.reload, { 4, 0, 1, 5, 2, 3 }\n uselistorder i64* %17, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64 %3, { 3, 2, 4, 1, 6, 0, 5, 7, 8, 10, 9 }\n uselistorder i32* %0, { 1, 0, 2, 3 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge1011.reg2mem, { 1, 0, 2 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i1 false, { 4, 1, 2, 3, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wav_parse_fmt_tag_2736", "fun_name": "wav_parse_fmt_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 0)\n store i64 %0, i64* %rdx, align 8\n store i64 %2, i64* %arg3, align 8\n %3 = icmp eq i64* %arg3, null\n %4 = icmp eq i1 %3, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n store i64 %arg2, i64* %rdx, align 8\n %5 = call i64 @FUNC(i64 %1, i64 %0, i64 %arg2)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = and i64 %5, 4294967295\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %10 = add i64 %arg2, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n %12 = bitcast i64* %rdx to i32*\n %13 = load i32, i32* %12, align 8\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %14, i64 64, i64 1, i64 %14)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rdx, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 %arg2, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "esp_pci_scsi_init_16782", "fun_name": "esp_pci_scsi_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %sv_0, align 8\n %3 = add i64 %0, 3\n %4 = inttoptr i64 %3 to i8*\n store i8 1, i8* %4, align 1\n %5 = inttoptr i64 %1 to i64*\n store i64 4198878, i64* %5, align 8\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 4198885, i64* %7, align 8\n %8 = add i64 %1, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 %1, i64* %9, align 8\n %10 = add i64 %1, 24\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %1)\n %13 = add i64 %1, 48\n %14 = call i64 @FUNC(i64 %13, i64 %12, i64* nonnull @gv_0, i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i64 128)\n %15 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 %13)\n %16 = call i64 @FUNC(i64 %0)\n %sext = mul i64 %16, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = add i64 %1, 32\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = add i64 %1, 40\n %21 = call i64 @FUNC(i64 %20, i64 8, i64 %2, i64* nonnull @gv_2, i64 0)\n %22 = inttoptr i64 %2 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %25, label LBL_3, label LBL_1\n LBL_1:\n %26 = call i64 @FUNC(i64 %20, i64* nonnull %sv_0)\n %27 = load i64, i64* %sv_0, align 8\n %28 = icmp eq i64 %27, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_3, label LBL_2\n LBL_2:\n %29 = call i64 @FUNC(i64 %27)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 0, { 1, 12, 0, 5, 6, 3, 4, 11, 2, 7, 8, 9, 10 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "proxy_init_17251", "fun_name": "proxy_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 80)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = urem i32 %4, 2\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 80)\n %8 = trunc i64 %7 to i32\n store i32 %8, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_2:\n %9 = call i32 @atoi(i8* inttoptr (i64 80 to i8*))\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %13 = call i32 @fwrite(i64* bitcast ([35 x i8]* @gv_1 to i64*), i32 1, i32 34, %_IO_FILE* %12)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %14 = inttoptr i64 %1 to i32*\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %15 = call i64 @FUNC(i64 80)\n %16 = call i64 @FUNC(i64 1152)\n %17 = add i64 %1, 8\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = add i64 %1, 16\n %20 = inttoptr i64 %19 to i64*\n store i64 1152, i64* %20, align 8\n %21 = call i64 @FUNC(i64 1152)\n %22 = add i64 %1, 24\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = add i64 %1, 32\n %25 = inttoptr i64 %24 to i64*\n store i64 1152, i64* %25, align 8\n %26 = add i64 %0, 16\n %27 = inttoptr i64 %26 to i64*\n store i64 %1, i64* %27, align 8\n store i32 %sv_0.0.reload, i32* %14, align 4\n %28 = add i64 %1, 40\n %29 = call i64 @FUNC(i64* nonnull %sv_1, i64 %28)\n %30 = load i32, i32* %3, align 4\n %31 = or i32 %30, 2\n store i32 %31, i32* %3, align 4\n %32 = add i64 %0, 24\n %33 = inttoptr i64 %32 to i64*\n store i64 4198842, i64* %33, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %3, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 1152, { 2, 0, 3, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 80, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "check_ci_9829", "fun_name": "check_ci", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i64\n %0 = mul i32 %arg3, 8\n %1 = and i32 %0, 2040\n %2 = zext i32 %1 to i64\n %3 = add i64 %2, ptrtoint (i64* @gv_0 to i64)\n %storemerge3.in4 = inttoptr i64 %3 to i64*\n %storemerge35 = load i64, i64* %storemerge3.in4, align 8\n %4 = icmp eq i64 %storemerge35, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_11\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 16\n %8 = inttoptr i64 %7 to i32*\n %9 = add i64 %6, 20\n %10 = inttoptr i64 %9 to i32*\n %11 = trunc i64 %arg2 to i16\n store i64 %storemerge35, i64* %storemerge36.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge36.reload = load i64, i64* %storemerge36.reg2mem\n %12 = call i64 @FUNC(i64 %storemerge36.reload)\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, %storemerge36.reload\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_10, label LBL_3\n LBL_3:\n %17 = add i64 %12, 24\n %18 = call i64 @FUNC(i64 0, i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_10, label LBL_4\n LBL_4:\n %21 = add i64 %12, 8\n %22 = inttoptr i64 %21 to i16*\n %23 = load i16, i16* %22, align 2\n %24 = icmp eq i16 %23, %11\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_10, label LBL_5\n LBL_5:\n %26 = add i64 %12, 12\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, %arg3\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_10, label LBL_6\n LBL_6:\n %31 = add i64 %12, 16\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_8, label LBL_7\n LBL_7:\n %35 = load i32, i32* %8, align 4\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %37, label LBL_11, label LBL_8\n LBL_8:\n %38 = add i64 %12, 20\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp eq i32 %40, 0\n br i1 %41, label LBL_10, label LBL_9\n LBL_9:\n %42 = load i32, i32* %10, align 4\n %43 = icmp eq i32 %42, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %43, label LBL_10, label LBL_11\n LBL_10:\n %storemerge3.in = inttoptr i64 %storemerge36.reload to i64*\n %storemerge3 = load i64, i64* %storemerge3.in, align 8\n %44 = icmp eq i64 %storemerge3, 0\n %45 = icmp eq i1 %44, false\n store i64 %storemerge3, i64* %storemerge36.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %45, label LBL_2, label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %12, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 %storemerge36.reload, { 2, 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0, 6 }\n uselistorder i32 %arg3, { 1, 0 }\n uselistorder label LBL_11, { 2, 0, 1, 3 }\n uselistorder label LBL_10, { 1, 2, 3, 4, 5, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ParseScriptField_13029", "fun_name": "ParseScriptField", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64 2)\n %2 = trunc i64 %1 to i32\n %3 = call i64 @FUNC(i64 %0, i64 6)\n %4 = trunc i64 %3 to i32\n %5 = call i64 @FUNC(i64 %0, i64* nonnull %sv_1)\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8, i32 %2, i32 %4, i64* nonnull %sv_1)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_1, label LBL_12\n LBL_1:\n %12 = call i64 @FUNC(i64* nonnull %sv_1)\n %13 = add i64 %0, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %12)\n %17 = add i64 %0, 24\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n br i1 %22, label LBL_6, label LBL_2\n LBL_2:\n %23 = call i64 @FUNC(i64 %15, i64 1)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_6, label LBL_3\n LBL_3:\n %26 = load i64, i64* %18, align 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %29, 4294967295\n %31 = and i64 %30, 4294967295\n %32 = call i64 @FUNC(i64 %31)\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64 %31, i64 %33)\n %35 = bitcast i32* %sv_0 to i64*\n %36 = call i64 @FUNC(i64 %9, i64* nonnull %35)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_5, label LBL_4\n LBL_4:\n %39 = and i64 %36, 4294967295\n store i64 %39, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %40 = trunc i64 %34 to i32\n %41 = load i32, i32* %sv_0, align 4\n %42 = zext i32 %41 to i64\n %43 = load i64, i64* %7, align 8\n %44 = load i64, i64* %18, align 8\n %45 = inttoptr i64 %44 to i64*\n %46 = load i64, i64* %45, align 8\n %47 = call i64 @FUNC(i64 %46, i32 %40, i64 %43, i64 %42)\n %48 = and i64 %47, 4294967295\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %49 = icmp eq i32 %2, 1\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_11, label LBL_7\n LBL_7:\n %51 = call i64 @FUNC(i64 %15, i64 1)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_11, label LBL_8\n LBL_8:\n %54 = bitcast i32* %sv_0 to i64*\n %55 = call i64 @FUNC(i64 %9, i64* nonnull %54)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_10, label LBL_9\n LBL_9:\n %58 = and i64 %55, 4294967295\n store i64 %58, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_10:\n %59 = load i64, i64* %7, align 8\n %60 = load i64, i64* %18, align 8\n %61 = call i64 @FUNC(i64 %60, i64 %9, i64 %59, i64* nonnull %54, i64 0)\n br label LBL_11\n LBL_11:\n %62 = load i64, i64* %18, align 8\n %63 = add i64 %62, 8\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = zext i32 %65 to i64\n store i64 %66, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64* %18, { 3, 2, 0, 1, 4 }\n uselistorder i64 %15, { 1, 0, 2 }\n uselistorder i64 %9, { 1, 2, 0, 3 }\n uselistorder i64* %7, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 2, 0, 1 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64*)* @gf_sg_script_field_get_info, { 1, 0 }\n uselistorder i64 1, { 2, 3, 0, 1 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_12, { 1, 2, 3, 4, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_tty_16209", "fun_name": "qemu_chr_open_tty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %1, i64 2050)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i32* @__errno_location()\n %7 = load i32, i32* %6, align 4\n %8 = sub i32 0, %7\n %9 = zext i32 %8 to i64\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %10 = and i64 %2, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 115200, i64 78, i64 8, i64 1)\n %12 = call i64 @FUNC(i64 %10, i64 %10)\n %13 = inttoptr i64 %12 to i64*\n store i64 4198875, i64* %13, align 8\n %14 = add i64 %12, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 4198893, i64* %15, align 8\n store i64 %12, i64* %arg2, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %10, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vp9_bigdia_search_5149", "fun_name": "vp9_bigdia_search", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i32 %arg5, i64* %arg6, i64* %arg7, i64 %arg8, i64* %arg9, i64* %arg10, i64 %arg11, i64 %arg12, i64 %arg13, i64 %arg14, i64 %arg15) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg6 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 %1, i32 %arg3, i32 %arg4, i32 %arg5, i64 %0)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_append_10630", "fun_name": "bdrv_append", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n store i64 %1, i64* %arg2, align 8\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = and i32 %5, -2\n store i32 %6, i32* %4, align 4\n %7 = add i64 %1, 528\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %0, 12\n %11 = call i64 @FUNC(i64 %10, i64 256, i64 %9)\n %12 = add i64 %1, 536\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge.reg2mem\n br i1 %15, label LBL_2, label LBL_1\n LBL_1:\n %16 = inttoptr i64 %14 to i64*\n %17 = load i64, i64* %16, align 8\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %18 = add i64 %0, 268\n %19 = call i64 @FUNC(i64 %18, i64 256, i64 %storemerge.reload)\n ret i64 %19\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @pstrcpy, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ide_atapi_cmd_1871", "fun_name": "ide_atapi_cmd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = mul i64 %1, 16\n %4 = and i64 %3, 4080\n %5 = add i64 %4, ptrtoint (i32** @gv_0 to i64)\n %6 = inttoptr i64 %5 to i32*\n %7 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp eq i32 %9, 6\n %.pre = load i32, i32* %6, align 8\n %.pre3 = and i32 %.pre, 8\n %11 = icmp eq i32 %.pre3, 0\n %12 = icmp eq i1 %10, %11\n br i1 %12, label LBL_1, label LBL_2\n LBL_1:\n %13 = call i64 @FUNC(i64 %2)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_2:\n %14 = icmp eq i1 %11, false\n br i1 %14, label LBL_9, label LBL_3\n LBL_3:\n %15 = add i64 %2, 20\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_9, label LBL_4\n LBL_4:\n %20 = add i64 %2, 32\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n br i1 %25, label LBL_9, label LBL_5\n LBL_5:\n %26 = add i64 %2, 24\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_9, label LBL_6\n LBL_6:\n %30 = icmp eq i32 %28, 1\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_8, label LBL_7\n LBL_7:\n %32 = call i64 @FUNC(i64 %2, i64 2, i64 58)\n store i32 2, i32* %27, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_8:\n %33 = call i64 @FUNC(i64 %2, i64 6, i64 40)\n store i32 0, i32* %27, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_9:\n %34 = load i32, i32* %6, align 8\n %35 = urem i32 %34, 2\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_13, label LBL_10\n LBL_10:\n %37 = call i64 @FUNC(i64 %2)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_12, label LBL_11\n LBL_11:\n %40 = add i64 %2, 32\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = call i64 @FUNC(i64 %42)\n %44 = trunc i64 %43 to i32\n %45 = icmp eq i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n %47 = call i64 @FUNC(i64 %2, i64 2, i64 58)\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_13:\n %48 = add i64 %4, add (i64 ptrtoint (i32** @gv_0 to i64), i64 8)\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = icmp eq i64 %50, 0\n br i1 %51, label LBL_17, label LBL_14\n LBL_14:\n %52 = load i32, i32* %6, align 8\n %53 = and i32 %52, 6\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %55, label LBL_18, label LBL_15\n LBL_15:\n %56 = call i64 @FUNC(i64 %2)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n store i64 %56, i64* %rax.0.reg2mem\n br i1 %58, label LBL_18, label LBL_16\n LBL_16:\n %.pr.pre = load i64, i64* %49, align 8\n %59 = icmp eq i64 %.pr.pre, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %59, label LBL_17, label LBL_18\n LBL_17:\n %60 = call i64 @FUNC(i64 %2, i64 5, i64 32)\n store i64 %60, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %27, { 1, 0, 2 }\n uselistorder i1 %11, { 1, 0 }\n uselistorder i32* %6, { 1, 2, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 14, 1, 13, 0, 11, 10, 12, 3, 7, 2, 6, 5, 9, 8, 4, 15 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 2, 7, 1, 6, 5, 4, 3 }\n uselistorder i64 (i64, i64, i64)* @ide_atapi_cmd_error, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @blk_is_inserted, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }\n uselistorder i32 6, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_18, { 3, 1, 2, 0, 4, 5, 6, 7 }\n uselistorder label LBL_17, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ngx_gmtime_5566", "fun_name": "ngx_gmtime", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.off0.reg2mem = alloca i32\n store i32 1, i32* %sv_0.0.off0.reg2mem\n br i1 true, label LBL_6, label LBL_1\n LBL_1:\n br i1 false, label LBL_4, label LBL_2\n LBL_2:\n br i1 false, label LBL_5, label LBL_3\n LBL_3:\n br i1 false, label LBL_4, label LBL_5\n LBL_4:\n br label LBL_5\n LBL_5:\n store i32 0, i32* %sv_0.0.off0.reg2mem\n br label LBL_6\n LBL_6:\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0.0.off0.reload = load i32, i32* %sv_0.0.off0.reg2mem\n %1 = bitcast i64* %arg2 to i32*\n store i32 59, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 59, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 23, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 2008, i32* %7, align 4\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 119267, i32* %9, align 4\n %10 = add i64 %0, 20\n %11 = inttoptr i64 %10 to i32*\n store i32 %sv_0.0.off0.reload, i32* %11, align 4\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i32*\n store i32 5, i32* %13, align 4\n ret i64 %0\n\n uselistorder i32 59, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bmp_read_rle8_data_10242", "fun_name": "bmp_read_rle8_data", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.2.be.reg2mem = alloca i32\n %sv_1.2.be.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i64\n %sv_1.119.reg2mem = alloca i64\n %sv_0.120.reg2mem = alloca i32\n %sv_2.021.reg2mem = alloca i32\n %sv_0.2.ph.be.reg2mem = alloca i32\n %sv_3.0.ph.be.reg2mem = alloca i32\n %sv_1.2.ph.be.reg2mem = alloca i64\n %sv_1.013.reg2mem = alloca i64\n %sv_0.014.reg2mem = alloca i32\n %sv_4.015.reg2mem = alloca i32\n %sv_1.224.reg2mem = alloca i64\n %sv_0.225.reg2mem = alloca i32\n %sv_1.2.ph26.reg2mem = alloca i64\n %sv_3.0.ph27.reg2mem = alloca i32\n %sv_0.2.ph28.reg2mem = alloca i32\n %0 = trunc i64 %arg5 to i32\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_17, label LBL_1\n LBL_1:\n %2 = mul i32 %0, %arg3\n %3 = zext i32 %2 to i64\n %4 = add i64 %3, %arg2\n %5 = inttoptr i64 %arg1 to %_IO_FILE*\n store i32 0, i32* %sv_0.2.ph28.reg2mem\n store i32 0, i32* %sv_3.0.ph27.reg2mem\n store i64 %arg2, i64* %sv_1.2.ph26.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.2.ph26.reload = load i64, i64* %sv_1.2.ph26.reg2mem\n %sv_3.0.ph27.reload = load i32, i32* %sv_3.0.ph27.reg2mem\n %sv_0.2.ph28.reload = load i32, i32* %sv_0.2.ph28.reg2mem\n store i32 %sv_0.2.ph28.reload, i32* %sv_0.225.reg2mem\n store i64 %sv_1.2.ph26.reload, i64* %sv_1.224.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.224.reload = load i64, i64* %sv_1.224.reg2mem\n %sv_0.225.reload = load i32, i32* %sv_0.225.reg2mem\n %6 = call i32 @getc(%_IO_FILE* %5)\n %7 = icmp eq i32 %6, 0\n %8 = call i32 @getc(%_IO_FILE* %5)\n br i1 %7, label LBL_6, label LBL_4\n LBL_4:\n %9 = trunc i32 %8 to i8\n %10 = icmp sgt i32 %6, 0\n %11 = icmp ult i32 %sv_0.225.reload, %arg4\n %or.cond.not11 = icmp eq i1 %11, %10\n %12 = icmp ult i64 %sv_1.224.reload, %4\n %or.cond412 = icmp eq i1 %12, %or.cond.not11\n store i32 0, i32* %sv_4.015.reg2mem\n store i32 %sv_0.225.reload, i32* %sv_0.014.reg2mem\n store i64 %sv_1.224.reload, i64* %sv_1.013.reg2mem\n store i64 %sv_1.224.reload, i64* %sv_1.2.be.reg2mem\n store i32 %sv_0.225.reload, i32* %sv_0.2.be.reg2mem\n br i1 %or.cond412, label LBL_5, label LBL_15\n LBL_5:\n %sv_1.013.reload = load i64, i64* %sv_1.013.reg2mem\n %sv_0.014.reload = load i32, i32* %sv_0.014.reg2mem\n %sv_4.015.reload = load i32, i32* %sv_4.015.reg2mem\n %13 = inttoptr i64 %sv_1.013.reload to i8*\n store i8 %9, i8* %13, align 1\n %14 = add nuw nsw i32 %sv_4.015.reload, 1\n %15 = add i32 %sv_0.014.reload, 1\n %16 = add nuw i64 %sv_1.013.reload, 1\n %17 = icmp slt i32 %14, %6\n %18 = icmp ult i32 %15, %arg4\n %or.cond.not = icmp eq i1 %17, %18\n %19 = icmp ult i64 %16, %4\n %or.cond4 = icmp eq i1 %19, %or.cond.not\n store i32 %14, i32* %sv_4.015.reg2mem\n store i32 %15, i32* %sv_0.014.reg2mem\n store i64 %16, i64* %sv_1.013.reg2mem\n store i64 %16, i64* %sv_1.2.be.reg2mem\n store i32 %15, i32* %sv_0.2.be.reg2mem\n br i1 %or.cond4, label LBL_5, label LBL_15\n LBL_6:\n %20 = icmp eq i32 %8, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = add i32 %sv_3.0.ph27.reload, 1\n %23 = mul i32 %22, %arg3\n %24 = zext i32 %23 to i64\n %25 = add i64 %24, %arg2\n store i64 %25, i64* %sv_1.2.ph.be.reg2mem\n store i32 %22, i32* %sv_3.0.ph.be.reg2mem\n store i32 0, i32* %sv_0.2.ph.be.reg2mem\n br label LBL_12\n LBL_8:\n %26 = icmp eq i32 %8, 1\n br i1 %26, label LBL_17, label LBL_9\n LBL_9:\n %27 = icmp eq i32 %8, 2\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_11\n LBL_10:\n %29 = icmp sgt i32 %8, 0\n %30 = icmp ult i32 %sv_0.225.reload, %arg4\n %or.cond6.not17 = icmp eq i1 %30, %29\n %31 = icmp ult i64 %sv_1.224.reload, %4\n %or.cond718 = icmp eq i1 %31, %or.cond6.not17\n store i32 0, i32* %sv_2.021.reg2mem\n store i32 %sv_0.225.reload, i32* %sv_0.120.reg2mem\n store i64 %sv_1.224.reload, i64* %sv_1.119.reg2mem\n store i64 %sv_1.224.reload, i64* %sv_1.1.lcssa.reg2mem\n store i32 %sv_0.225.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond718, label LBL_13, label LBL_14\n LBL_11:\n %32 = call i32 @getc(%_IO_FILE* %5)\n %33 = add i32 %32, %sv_0.225.reload\n %34 = call i32 @getc(%_IO_FILE* %5)\n %35 = add i32 %34, %sv_3.0.ph27.reload\n %36 = mul i32 %35, %arg3\n %37 = zext i32 %36 to i64\n %38 = zext i32 %33 to i64\n %39 = add i64 %38, %arg2\n %40 = add i64 %39, %37\n store i64 %40, i64* %sv_1.2.ph.be.reg2mem\n store i32 %35, i32* %sv_3.0.ph.be.reg2mem\n store i32 %33, i32* %sv_0.2.ph.be.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.2.ph.be.reload = load i32, i32* %sv_0.2.ph.be.reg2mem\n %sv_3.0.ph.be.reload = load i32, i32* %sv_3.0.ph.be.reg2mem\n %sv_1.2.ph.be.reload = load i64, i64* %sv_1.2.ph.be.reg2mem\n %41 = icmp ult i32 %sv_3.0.ph.be.reload, %0\n store i32 %sv_0.2.ph.be.reload, i32* %sv_0.2.ph28.reg2mem\n store i32 %sv_3.0.ph.be.reload, i32* %sv_3.0.ph27.reg2mem\n store i64 %sv_1.2.ph.be.reload, i64* %sv_1.2.ph26.reg2mem\n br i1 %41, label LBL_2, label LBL_17\n LBL_13:\n %sv_1.119.reload = load i64, i64* %sv_1.119.reg2mem\n %sv_0.120.reload = load i32, i32* %sv_0.120.reg2mem\n %sv_2.021.reload = load i32, i32* %sv_2.021.reg2mem\n %42 = call i32 @getc(%_IO_FILE* %5)\n %43 = trunc i32 %42 to i8\n %44 = inttoptr i64 %sv_1.119.reload to i8*\n store i8 %43, i8* %44, align 1\n %45 = add nuw nsw i32 %sv_2.021.reload, 1\n %46 = add i32 %sv_0.120.reload, 1\n %47 = add nuw i64 %sv_1.119.reload, 1\n %48 = icmp slt i32 %45, %8\n %49 = icmp ult i32 %46, %arg4\n %or.cond6.not = icmp eq i1 %48, %49\n %50 = icmp ult i64 %47, %4\n %or.cond7 = icmp eq i1 %50, %or.cond6.not\n store i32 %45, i32* %sv_2.021.reg2mem\n store i32 %46, i32* %sv_0.120.reg2mem\n store i64 %47, i64* %sv_1.119.reg2mem\n store i64 %47, i64* %sv_1.1.lcssa.reg2mem\n store i32 %46, i32* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond7, label LBL_13, label LBL_14\n LBL_14:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem\n %51 = urem i32 %8, 2\n %52 = icmp eq i32 %51, 0\n store i64 %sv_1.1.lcssa.reload, i64* %sv_1.2.be.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.be.reg2mem\n br i1 %52, label LBL_15, label LBL_16\n LBL_15:\n %sv_0.2.be.reload = load i32, i32* %sv_0.2.be.reg2mem\n %sv_1.2.be.reload = load i64, i64* %sv_1.2.be.reg2mem\n store i32 %sv_0.2.be.reload, i32* %sv_0.225.reg2mem\n store i64 %sv_1.2.be.reload, i64* %sv_1.224.reg2mem\n br label LBL_3\n LBL_16:\n %53 = call i32 @getc(%_IO_FILE* %5)\n store i64 %sv_1.1.lcssa.reload, i64* %sv_1.2.be.reg2mem\n store i32 %sv_0.1.lcssa.reload, i32* %sv_0.2.be.reg2mem\n br label LBL_15\n LBL_17:\n ret i64 1\n\n uselistorder i32 %sv_3.0.ph.be.reload, { 1, 0 }\n uselistorder i32 %8, { 0, 2, 1, 3, 4, 6, 5 }\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i32 %sv_0.225.reload, { 6, 1, 2, 4, 0, 3, 5 }\n uselistorder i64 %sv_1.224.reload, { 1, 2, 4, 0, 3, 5 }\n uselistorder i32 %sv_3.0.ph27.reload, { 1, 0 }\n uselistorder %_IO_FILE* %5, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64 %4, { 2, 0, 3, 1 }\n uselistorder i32 %0, { 2, 0, 1 }\n uselistorder i32* %sv_0.2.ph28.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.0.ph27.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.2.ph26.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.225.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.224.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_4.015.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.014.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.013.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.021.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.120.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.119.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.2.be.reg2mem, { 3, 0, 4, 1, 2 }\n uselistorder i32* %sv_0.2.be.reg2mem, { 3, 0, 4, 1, 2 }\n uselistorder i32 (%_IO_FILE*)* @getc, { 3, 4, 1, 0, 2, 5 }\n uselistorder i32 0, { 8, 0, 5, 1, 9, 2, 6, 10, 3, 4, 7 }\n uselistorder i32 %arg4, { 2, 0, 3, 1 }\n uselistorder i64 %arg2, { 1, 2, 0, 3 }\n uselistorder label LBL_15, { 3, 2, 0, 1 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fuse_device_clone_6190", "fun_name": "fuse_device_clone", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg2, null\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_3\n LBL_2:\n call void @llvm.trap()\n unreachable\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megasas_scsi_realize_67", "fun_name": "megasas_scsi_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %2 = add i64 %1, 10\n %3 = inttoptr i64 %2 to i8*\n store i8 0, i8* %3, align 1\n %4 = add i64 %1, 3\n %5 = inttoptr i64 %4 to i8*\n store i8 1, i8* %5, align 1\n %6 = bitcast i64* %rdi to i32*\n %7 = load i32, i32* %6, align 8\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_6, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1, i64 80, i64 1, i64 1, i64 0, i64* nonnull %sv_0)\n %10 = trunc i64 %9 to i32\n switch i32 %10, label LBL_2 [\n i32 -95, label LBL_3\n i32 0, label LBL_6\n ]\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 110, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %11 = icmp eq i32 %7, 1\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_3, i64 0, i64 0))\n %14 = load i64, i64* %sv_0, align 8\n %15 = call i64 @FUNC(i64 %0, i64 %14)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_5:\n %16 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %16, align 4\n %17 = load i64, i64* %sv_0, align 8\n %18 = call i64 @FUNC(i64 %17)\n br label LBL_6\n LBL_6:\n %19 = add i64 %1, 6192\n %20 = call i64 @FUNC(i64 %19, i64 %1, i64* nonnull @gv_4, i64 %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i64 16384)\n %21 = add i64 %1, 6200\n %22 = call i64 @FUNC(i64 %21, i64 %1, i64* nonnull @gv_6, i64 %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_7, i64 0, i64 0), i64 256)\n %23 = add i64 %1, 6208\n %24 = call i64 @FUNC(i64 %23, i64 %1, i64* nonnull @gv_8, i64 %1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_9, i64 0, i64 0), i64 262144)\n %25 = call i64 @FUNC(i64 %1)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_9, label LBL_7\n LBL_7:\n %28 = add i64 %1, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %1, i64 15, i64 %19, i64 %31, i64 8192, i64 %19)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_9, label LBL_8\n LBL_8:\n %35 = add i64 %1, 6216\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %36, align 4\n br label LBL_9\n LBL_9:\n %37 = call i64 @FUNC(i64 %1)\n %38 = trunc i64 %37 to i32\n %39 = icmp eq i32 %38, 0\n br i1 %39, label LBL_11, label LBL_10\n LBL_10:\n %40 = call i64 @FUNC(i64 %1, i64 160)\n br label LBL_11\n LBL_11:\n %41 = load i32, i32* %6, align 8\n %42 = call i64 @FUNC(i64 %1, i32 %41, i64 0, i64 %21)\n %43 = add i64 %1, 4\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = call i64 @FUNC(i64 %1, i32 %45, i64 3, i64 %19)\n %47 = call i64 @FUNC(i64 %1, i32 3, i64 3, i64 %23)\n %48 = call i64 @FUNC(i64 %1)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_13, label LBL_12\n LBL_12:\n %51 = call i64 @FUNC(i64 %1, i64 0)\n br label LBL_13\n LBL_13:\n %52 = add i64 %1, 32\n %53 = inttoptr i64 %52 to i32*\n store i32 1, i32* %53, align 4\n %54 = add i64 %1, 8\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = icmp eq i64 %56, 0\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_13.LBL_16_crit_edge, label LBL_15\n LBL_14:\n %.pre = add i64 %1, 16\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_15:\n store i64 0, i64* %55, align 8\n %59 = call i64 @FUNC(i64 0)\n %60 = trunc i64 %59 to i32\n %61 = mul i32 %60, 65536\n %62 = load i64, i64* %55, align 8\n %63 = sext i32 %61 to i64\n %64 = or i64 %62, %63\n store i64 %64, i64* %55, align 8\n %65 = add i64 %1, 16\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = zext i32 %67 to i64\n %69 = call i64 @FUNC(i64 %68)\n %70 = trunc i64 %69 to i32\n %71 = mul i32 %70, 256\n %72 = load i64, i64* %55, align 8\n %73 = sext i32 %71 to i64\n %74 = or i64 %72, %73\n store i64 %74, i64* %55, align 8\n %75 = load i32, i32* %66, align 4\n %76 = zext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %76)\n %78 = load i64, i64* %55, align 8\n %sext = mul i64 %77, 4294967296\n %79 = ashr exact i64 %sext, 32\n %80 = or i64 %79, %78\n store i64 %80, i64* %55, align 8\n store i64 %65, i64* %.pre-phi.reg2mem\n br label LBL_16\n LBL_16:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %81 = inttoptr i64 %.pre-phi.reload to i64*\n %82 = load i64, i64* %81, align 8\n %83 = icmp eq i64 %82, 0\n %84 = icmp eq i1 %83, false\n br i1 %84, label LBL_18, label LBL_17\n LBL_17:\n %85 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_10, i64 0, i64 0))\n store i64 %85, i64* %81, align 8\n br label LBL_18\n LBL_18:\n %86 = add i64 %1, 24\n %87 = inttoptr i64 %86 to i32*\n %88 = load i32, i32* %87, align 4\n %89 = icmp slt i32 %88, 120\n %storemerge3 = select i1 %89, i32 56, i32 120\n store i32 %storemerge3, i32* %87, align 4\n %90 = add i64 %1, 28\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = icmp slt i32 %92, 257\n br i1 %93, label LBL_20, label LBL_19\n LBL_19:\n store i32 256, i32* %91, align 4\n br label LBL_20\n LBL_20:\n %94 = call i64 @FUNC(i64 %1)\n %95 = trunc i64 %94 to i32\n %96 = icmp eq i32 %95, 0\n %97 = load i32, i32* %91, align 4\n %98 = load i32, i32* %87, align 4\n %99 = zext i32 %97 to i64\n %100 = zext i32 %98 to i64\n %101 = select i1 %96, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_11, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0)\n %102 = call i64 @FUNC(i64 %100, i64 %99, i8* %101)\n %103 = call i64 @FUNC(i64 %1)\n %104 = trunc i64 %103 to i32\n %105 = icmp eq i32 %104, 0\n %106 = add i64 %1, 6220\n %107 = inttoptr i64 %106 to i32*\n %. = select i1 %105, i32 64, i32 128\n store i32 %., i32* %107, align 4\n %108 = add i64 %1, 6224\n %109 = inttoptr i64 %108 to i32*\n store i32 0, i32* %109, align 4\n %110 = add i64 %1, 6228\n %111 = inttoptr i64 %110 to i32*\n store i32 0, i32* %111, align 4\n %112 = load i32, i32* %91, align 4\n %113 = icmp eq i32 %112, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge5.reg2mem\n br i1 %113, label LBL_22, label LBL_21\n LBL_21:\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %114 = mul nsw i64 %.reload, 24\n %115 = add i64 %114, %1\n %116 = add i64 %115, 40\n %117 = inttoptr i64 %116 to i32*\n store i32 %storemerge5.reload, i32* %117, align 4\n %118 = add i64 %115, 44\n %119 = inttoptr i64 %118 to i32*\n store i32 -1, i32* %119, align 4\n %120 = add i64 %115, 48\n %121 = inttoptr i64 %120 to i32*\n store i32 0, i32* %121, align 4\n %122 = add i64 %115, 56\n %123 = inttoptr i64 %122 to i64*\n store i64 %1, i64* %123, align 8\n %124 = add i32 %storemerge5.reload, 1\n %125 = load i32, i32* %91, align 4\n %126 = zext i32 %125 to i64\n %127 = sext i32 %124 to i64\n %128 = icmp slt i64 %127, %126\n store i64 %127, i64* %.reg2mem\n store i32 %124, i32* %storemerge5.reg2mem\n br i1 %128, label LBL_21, label LBL_22\n LBL_22:\n %129 = add i64 %1, 6184\n %130 = call i64 @FUNC(i64 %129, i64 8, i64 %1, i64* nonnull @gv_13, i64 0)\n %131 = load i32, i32* %6, align 8\n %132 = zext i32 %131 to i64\n %133 = icmp eq i32 %131, 0\n %134 = icmp eq i1 %133, false\n store i64 %132, i64* %rax.0.reg2mem\n br i1 %134, label LBL_24, label LBL_23\n LBL_23:\n %135 = call i64 @FUNC(i64 %129, i64 %0)\n store i64 %135, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %91, { 1, 0, 2, 3, 4 }\n uselistorder i64* %55, { 1, 0, 3, 2, 5, 4, 6, 7 }\n uselistorder i64 %19, { 2, 0, 1, 3 }\n uselistorder i64* %sv_0, { 2, 3, 0, 1, 4 }\n uselistorder i64 %1, { 9, 11, 10, 0, 12, 13, 14, 15, 16, 17, 18, 8, 1, 19, 20, 7, 21, 23, 22, 24, 25, 6, 26, 3, 4, 5, 27, 29, 30, 28, 32, 33, 31, 35, 36, 34, 2, 37, 38 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @megasas_is_jbod, { 1, 0 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64, i32, i64, i64)* @pci_register_bar, { 2, 1, 0 }\n uselistorder i64 (i64)* @megasas_use_msix, { 1, 0 }\n uselistorder i64 (i64, i64, i64*, i64, i8*, i64)* @memory_region_init_io, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 4, 3, 0, 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 2, 15 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mknod_atomic_9291", "fun_name": "mknod_atomic", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rbx.0.reg2mem = alloca i64\n %sv_0 = alloca i8*, align 8\n store i8* null, i8** %sv_0, align 8\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = bitcast i8** %sv_0 to i64*\n %3 = call i64 @FUNC(i64 %arg1, i64 0, i64* nonnull %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp slt i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = and i64 %3, 4294967295\n store i64 %7, i64* %rbx.0.reg2mem\n br label LBL_8\n LBL_4:\n %8 = load i8*, i8** %sv_0, align 8\n %9 = trunc i64 %arg2 to i32\n %10 = trunc i64 %arg3 to i32\n %11 = call i32 @mknod(i8* %8, i32 %9, i32 %10)\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = call i32* @__errno_location()\n %15 = load i32, i32* %14, align 4\n %16 = sub i32 0, %15\n %17 = zext i32 %16 to i64\n store i64 %17, i64* %rbx.0.reg2mem\n br label LBL_8\n LBL_6:\n %18 = load i8*, i8** %sv_0, align 8\n %19 = inttoptr i64 %arg1 to i8*\n %20 = call i32 @rename(i8* %18, i8* %19)\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 0, i64* %rbx.0.reg2mem\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n %23 = load i8*, i8** %sv_0, align 8\n %24 = ptrtoint i8* %23 to i64\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i32* @__errno_location()\n %27 = load i32, i32* %26, align 4\n %28 = sub i32 0, %27\n %29 = zext i32 %28 to i64\n store i64 %29, i64* %rbx.0.reg2mem\n br label LBL_8\n LBL_8:\n %rbx.0.reload = load i64, i64* %rbx.0.reg2mem\n %30 = call i64 @FUNC(i64* nonnull %2)\n ret i64 %rbx.0.reload\n\n uselistorder i8** %sv_0, { 3, 2, 1, 4, 0 }\n uselistorder i64* %rbx.0.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "swapmode_18146", "fun_name": "swapmode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 1, i64 0, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_8\n LBL_1:\n %7 = mul i32 %4, 12\n %8 = call i64* @malloc(i32 %7)\n %9 = icmp eq i64* %8, null\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_8\n LBL_2:\n %11 = ptrtoint i64* %8 to i64\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i64 2, i64 %11, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, -1\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_8\n LBL_3:\n %17 = trunc i64 %1 to i32\n %18 = trunc i64 %2 to i32\n %19 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %19, align 4\n %20 = bitcast i64* %arg2 to i32*\n store i32 %17, i32* %20, align 4\n %21 = icmp sgt i32 %4, 0\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %21, label LBL_4, label LBL_7\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = mul nuw nsw i64 %indvars.iv.reload, 12\n %23 = add i64 %22, %11\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = urem i32 %25, 2\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = add i64 %23, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp slt i32 %30, 0\n %32 = zext i1 %31 to i32\n %33 = add i32 %30, %32\n %34 = ashr i32 %33, 1\n %35 = add i32 %34, %17\n store i32 %35, i32* %19, align 4\n %36 = add i64 %23, 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = icmp slt i32 %38, 0\n %40 = zext i1 %39 to i32\n %41 = add i32 %38, %40\n %42 = ashr i32 %41, 1\n %43 = add i32 %42, %18\n store i32 %43, i32* %20, align 4\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n call void @free(i64* %8)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %8, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @swapctl, { 1, 0 }\n uselistorder label LBL_8, { 3, 0, 1, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vfio_msi_enable_10980", "fun_name": "vfio_msi_enable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %5 = call i64 @FUNC(i64 0, i64 0)\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = icmp eq i64 %5, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_8\n LBL_2:\n %sext2 = mul i64 %arg3, 72057594037927936\n %10 = ashr exact i64 %sext2, 56\n %11 = trunc i64 %10 to i8\n %12 = icmp eq i8 %11, 0\n %13 = select i1 %12, i32 2, i32 1\n %14 = trunc i64 %arg2 to i32\n %15 = call i64 @FUNC(i64 %0, i64 1, i32 %14, i32 %13)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, %14\n br i1 %17, label LBL_3, label LBL_6\n LBL_3:\n %18 = icmp slt i32 %16, 1\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %0)\n br label LBL_5\n LBL_5:\n %20 = load i64, i64* %7, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = and i64 %15, 4294967295\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i32*\n store i32 %14, i32* %24, align 4\n %25 = trunc i64 %10 to i32\n %26 = urem i32 %25, 256\n %27 = xor i32 %26, 1\n %28 = add i64 %0, 20\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = icmp eq i8 %11, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %31 = mul i64 %arg2, 2\n %32 = add i64 %31, 4294967295\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = add i32 %35, -1\n %37 = add i64 %0, 24\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 5, 3, 4 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder label LBL_8, { 1, 0, 4, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "limited_get_locked_84", "fun_name": "limited_get_locked", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i8 %arg4, i32* %arg5, i64* %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg5 to i64\n %3 = ptrtoint i64* %arg3 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 %arg2, i64 %3, i8 %arg4, i64 %2)\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = inttoptr i64 %5 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp slt i32 %8, 11\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %5)\n %11 = and i64 %1, 4294967295\n %12 = call i64 @FUNC(i64 %11)\n %13 = bitcast i64* %arg6 to i8*\n store i8 1, i8* %13, align 1\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_3:\n %14 = bitcast i64* %arg6 to i8*\n store i8 0, i8* %14, align 1\n store i64 %5, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_dealloc_partial_15684", "fun_name": "test_dealloc_partial", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.reg2mem6 = alloca i64\n %.reg2mem4 = alloca i64\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n store i64 0, i64* %sv_1, align 8\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %1)\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0, i64 0, i64* nonnull %sv_1)\n %6 = call i64 @FUNC(i64 %3)\n %7 = call i64 @FUNC(i64 %0)\n %8 = load i64, i64* %sv_0, align 8\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 81, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n %.pre = load i64, i64* %sv_0, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %11 = inttoptr i64 %.reload to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %.reg2mem4\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 82, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n %.pre1 = load i64, i64* %sv_0, align 8\n %.phi.trans.insert = inttoptr i64 %.pre1 to i64*\n %.pre2 = load i64, i64* %.phi.trans.insert, align 8\n store i64 %.pre2, i64* %.reg2mem4\n br label LBL_4\n LBL_4:\n %.reload5 = load i64, i64* %.reg2mem4\n %15 = inttoptr i64 %.reload5 to i8*\n %16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n call void @__assert_fail(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_6\n LBL_6:\n %18 = load i64, i64* %sv_0, align 8\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n br i1 %22, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 84, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %23 = load i64, i64* %sv_1, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %.reg2mem6\n br i1 %25, label LBL_10, label LBL_9\n LBL_9:\n call void @__assert_fail(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_4, i64 0, i64 0))\n %.pre3 = load i64, i64* %sv_1, align 8\n store i64 %.pre3, i64* %.reg2mem6\n br label LBL_10\n LBL_10:\n %.reload7 = load i64, i64* %.reg2mem6\n %26 = call i64 @FUNC(i64 %.reload7)\n %27 = load i64, i64* %sv_0, align 8\n %28 = call i64 @FUNC(i64 %27)\n ret i64 %28\n\n uselistorder i64* %sv_1, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0, { 3, 4, 0, 1, 5, 2, 6 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem4, { 0, 2, 1 }\n uselistorder i64* %.reg2mem6, { 0, 2, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_pcm_read_packet_4377", "fun_name": "ff_pcm_read_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = mul i32 %3, 1024\n %5 = icmp eq i32 %4, 0\n %6 = icmp slt i32 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_1:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = trunc i64 %2 to i32\n %12 = ptrtoint i64* %arg1 to i64\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %10, i32 %4)\n %17 = and i32 %11, -2\n %18 = bitcast i64* %arg2 to i32*\n store i32 %17, i32* %18, align 4\n %19 = add i64 %10, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = and i64 %16, 4294967295\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %4, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "l2cap_sock_listen_9420", "fun_name": "l2cap_sock_listen", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = and i64 %arg2, 4294967295\n %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64 %6)\n %8 = call i64 @FUNC(i64 %2)\n %9 = trunc i64 %1 to i32\n %10 = icmp eq i32 %9, 1\n store i64 3, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_1, label LBL_6\n LBL_1:\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %.off = add i32 %13, -3\n %switch = icmp ult i32 %.off, 2\n store i64 2, i64* %sv_0.0.reg2mem\n br i1 %switch, label LBL_2, label LBL_6\n LBL_2:\n %14 = inttoptr i64 %5 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 5\n br i1 %16, label LBL_5, label LBL_3\n LBL_3:\n %17 = icmp slt i32 %15, 5\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_6, label LBL_4\n LBL_4:\n %18 = or i32 %15, 1\n %19 = icmp eq i32 %18, 7\n %20 = load i32, i32* bitcast (i64* @gv_1 to i32*), align 8\n %21 = icmp eq i32 %20, 0\n %or.cond = icmp eq i1 %19, %21\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_6\n LBL_5:\n %22 = trunc i64 %arg2 to i32\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %2, 12\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %5, 4\n %28 = inttoptr i64 %27 to i32*\n store i32 2, i32* %28, align 4\n %29 = bitcast i64* %arg1 to i32*\n store i32 2, i32* %29, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %30 = call i64 @FUNC(i64 %2)\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 5, 2, 1, 3, 4 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder label LBL_6, { 4, 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_data_page_8477", "fun_name": "find_data_page", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_6\n LBL_2:\n %6 = call i64 @FUNC(i64 %1, i64 0)\n %7 = call i64 @FUNC(i64 %0, i64 %arg2, i64 0, i64 0)\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_6\n LBL_3:\n %11 = call i64 @FUNC(i64 %7)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_6\n LBL_4:\n %14 = call i64 @FUNC(i64 %7)\n %15 = call i64 @FUNC(i64 %7)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %7, i64 0)\n %20 = call i64 @FUNC(i64 4294967291)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 3, 0, 5, 4, 1, 6, 2, 7 }\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 (i64, i64)* @f2fs_put_page, { 1, 0 }\n uselistorder i64 (i64)* @PageUptodate, { 2, 1, 0 }\n uselistorder label LBL_6, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fbFetchExternalAlpha_9727", "fun_name": "fbFetchExternalAlpha", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64* %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg6 to i64\n %1 = ptrtoint i64* %arg5 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sext5 = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext5, 32\n %sext6 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext6, 32\n %5 = icmp eq i64* %arg1, null\n %6 = icmp eq i1 %5, false\n %7 = trunc i64 %arg4 to i32\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %8 = trunc i64 %4 to i32\n %9 = trunc i64 %3 to i32\n %10 = call i64 @FUNC(i64 %2, i32 %9, i32 %8, i32 %7, i64 %1, i64 %0)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %11 = ptrtoint i64* %sv_1 to i64\n %12 = icmp slt i32 %7, 1025\n store i64 %11, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = mul i32 %7, 4\n %14 = call i64* @malloc(i32 %13)\n %15 = ptrtoint i64* %14 to i64\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = trunc i64 %4 to i32\n %17 = trunc i64 %3 to i32\n %18 = call i64 @FUNC(i64 %2, i32 %17, i32 %16, i32 %7, i64 %1, i64 %0)\n %19 = add i64 %2, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = sub i32 %16, %21\n %23 = zext i32 %22 to i64\n %24 = add i64 %2, 8\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = sub i32 %17, %26\n %28 = call i64 @FUNC(i64 %23, i32 %27, i32 %22, i32 %7, i64 %sv_0.0.reload, i64 %0)\n %29 = icmp sgt i32 %7, 0\n br i1 %29, label LBL_5, label LBL_10\n LBL_5:\n %30 = icmp eq i64* %arg6, null\n %31 = trunc i64 %arg7 to i32\n %wide.trip.count = and i64 %arg4, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.pre = mul i64 %indvars.iv.reload, 4\n br i1 %30, label LBL_8, label LBL_7\n LBL_7:\n %32 = add i64 %.pre, %0\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = and i32 %34, %31\n %36 = icmp eq i32 %35, 0\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = add i64 %.pre, %sv_0.0.reload\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = udiv i32 %39, 16777216\n %41 = and i32 %39, -16777216\n %42 = add i64 %.pre, %1\n %43 = call i64 @FUNC(i64 %42)\n %44 = and i64 %43, 4294967295\n %45 = call i64 @FUNC(i64 %44)\n %46 = trunc i64 %45 to i32\n %47 = mul i32 %40, %46\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %48)\n %50 = trunc i64 %49 to i32\n %51 = mul i32 %50, 65536\n %52 = or i32 %51, %41\n %53 = call i64 @FUNC(i64 %42)\n %54 = and i64 %53, 4294967295\n %55 = call i64 @FUNC(i64 %54)\n %56 = trunc i64 %55 to i32\n %57 = mul i32 %40, %56\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = mul i32 %60, 256\n %62 = or i32 %52, %61\n %63 = call i64 @FUNC(i64 %42)\n %64 = and i64 %63, 4294967295\n %65 = call i64 @FUNC(i64 %64)\n %66 = trunc i64 %65 to i32\n %67 = mul i32 %40, %66\n %68 = zext i32 %67 to i64\n %69 = call i64 @FUNC(i64 %68)\n %70 = trunc i64 %69 to i32\n %71 = or i32 %62, %70\n %72 = zext i32 %71 to i64\n %73 = call i64 @FUNC(i64 %42, i64 %72)\n br label LBL_9\n LBL_9:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_6\n LBL_10:\n %74 = icmp eq i64 %sv_0.0.reload, %11\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %74, label LBL_12, label LBL_11\n LBL_11:\n %75 = inttoptr i64 %sv_0.0.reload to i64*\n call void @free(i64* %75)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %40, { 2, 1, 0 }\n uselistorder i32 %39, { 1, 0 }\n uselistorder i64 %.pre, { 2, 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 2, 3, 0 }\n uselistorder i64 %11, { 0, 2, 1 }\n uselistorder i32 %7, { 1, 2, 3, 0, 5, 4 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 3, 2, 0 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64 %0, { 0, 2, 3, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @div_255, { 2, 1, 0 }\n uselistorder i64 (i64)* @READ, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64, i32, i32, i32, i64, i64)* @fbFetchTransformed, { 2, 1, 0 }\n uselistorder i64 4294967296, { 0, 1, 3, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "helper_pmon_4605", "fun_name": "helper_pmon", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = icmp slt i32 %0, 0\n %2 = zext i1 %1 to i32\n %3 = add i32 %2, %0\n %4 = ashr i32 %3, 1\n %5 = zext i32 %4 to i64\n %6 = icmp sgt i32 %3, 35\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = icmp slt i32 %3, 4\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_9, label LBL_2\n LBL_2:\n store i64 %5, i64* @0, align 8\n %8 = mul i64 %5, 8\n %9 = add i64 %8, ptrtoint (i64* @gv_0 to i64)\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n store i64 %11, i64* %rax.0.reg2mem\n switch i32 %4, label LBL_9 [\n i32 2, label LBL_4\n i32 3, label LBL_7\n i32 11, label LBL_6\n i32 12, label LBL_7\n ]\n LBL_3:\n %12 = icmp eq i32 %4, 158\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %12, label LBL_8, label LBL_9\n LBL_4:\n %13 = load i64, i64* @gv_1, align 8\n %14 = add i64 %13, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = add i64 %13, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 -1, i32* %20, align 4\n br label LBL_6\n LBL_6:\n %21 = load i64, i64* @gv_1, align 8\n %22 = add i64 %21, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 -1, i32* %23, align 4\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %24 = load i64, i64* @gv_1, align 8\n %25 = add i64 %24, 16\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %sext = mul i32 %27, 16777216\n %28 = ashr exact i32 %sext, 24\n %29 = call i32 @putchar(i32 %28)\n %30 = sext i32 %29 to i64\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %31 = load i64, i64* @gv_1, align 8\n %32 = add i64 %31, 16\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = sext i32 %34 to i64\n %36 = inttoptr i64 %35 to i8*\n %37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8* %36)\n %38 = sext i32 %37 to i64\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 2, 3, 0 }\n uselistorder i32 %4, { 1, 0, 2 }\n uselistorder i32 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 5, 3, 4 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_9, { 3, 1, 2, 0, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_base64_decode_14058", "fun_name": "av_base64_decode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.18.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i32\n %storemerge410.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = inttoptr i64 %arg2 to i8*\n %2 = load i8, i8* %1, align 1\n %3 = icmp ne i8 %2, 0\n %4 = icmp eq i8 %2, 61\n %5 = icmp eq i1 %4, false\n %or.cond7 = icmp eq i1 %3, %5\n store i64 %0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond7, label LBL_1, label LBL_7\n LBL_1:\n %sext = mul i64 %arg3, 4294967296\n %6 = ashr exact i64 %sext, 32\n store i8 %2, i8* %.reg2mem\n store i32 0, i32* %storemerge410.reg2mem\n store i32 0, i32* %sv_1.09.reg2mem\n store i64 %0, i64* %sv_0.18.reg2mem\n br label LBL_2\n LBL_2:\n %.reload = load i8, i8* %.reg2mem\n %7 = sext i8 %.reload to i32\n %8 = add nsw i32 %7, -43\n %9 = icmp ult i32 %8, 255\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %9, label LBL_3, label LBL_8\n LBL_3:\n %10 = zext i32 %8 to i64\n %11 = add i64 %10, ptrtoint (i8** @gv_0 to i64)\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, -1\n %15 = icmp eq i1 %14, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %15, label LBL_4, label LBL_8\n LBL_4:\n %sv_0.18.reload = load i64, i64* %sv_0.18.reg2mem\n %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem\n %storemerge410.reload = load i32, i32* %storemerge410.reg2mem\n %16 = mul i32 %sv_1.09.reload, 64\n %17 = zext i8 %13 to i32\n %18 = add i32 %16, %17\n %19 = urem i32 %storemerge410.reload, 4\n %20 = icmp ne i32 %19, 0\n %21 = sub i64 %sv_0.18.reload, %0\n %22 = icmp slt i64 %21, %6\n %or.cond12 = icmp eq i1 %20, %22\n store i64 %sv_0.18.reload, i64* %sv_0.0.reg2mem\n br i1 %or.cond12, label LBL_5, label LBL_6\n LBL_5:\n %23 = mul i32 %storemerge410.reload, 2\n %24 = and i32 %23, 6\n %25 = xor i32 %24, 6\n %26 = ashr i32 %18, %25\n %27 = add i64 %sv_0.18.reload, 1\n %28 = trunc i32 %26 to i8\n %29 = inttoptr i64 %sv_0.18.reload to i8*\n store i8 %28, i8* %29, align 1\n store i64 %27, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %30 = add i32 %storemerge410.reload, 1\n %31 = sext i32 %30 to i64\n %32 = add i64 %31, %arg2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = icmp ne i8 %34, 0\n %36 = icmp eq i8 %34, 61\n %37 = icmp eq i1 %36, false\n %or.cond = icmp eq i1 %35, %37\n store i8 %34, i8* %.reg2mem\n store i32 %30, i32* %storemerge410.reg2mem\n store i32 %18, i32* %sv_1.09.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.18.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_7\n LBL_7:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %38 = sub i64 %sv_0.1.lcssa.reload, %0\n store i64 %38, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge410.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.18.reload, { 2, 1, 0, 3 }\n uselistorder i64 %0, { 3, 2, 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge410.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.09.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.18.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i8 61, { 1, 0 }\n uselistorder label LBL_8, { 2, 0, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "FindColor_10706", "fun_name": "FindColor", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg1 to i64\n store i64 0, i64* %storemerge23.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge23.reload = load i64, i64* %storemerge23.reg2mem\n %1 = call i64 @FUNC(i64 %0)\n %2 = urem i64 %1, 256\n %3 = call i64 @FUNC(i64 %2)\n %4 = mul nuw nsw i64 %storemerge23.reload, 3\n %5 = add i64 %4, ptrtoint (i8** @gv_0 to i64)\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = trunc i64 %3 to i8\n %9 = icmp eq i8 %7, %8\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0)\n %12 = urem i64 %11, 256\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %4, ptrtoint (i8** @gv_1 to i64)\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = trunc i64 %13 to i8\n %18 = icmp eq i8 %16, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %0)\n %21 = urem i64 %20, 256\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %4, ptrtoint (i8** @gv_2 to i64)\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = trunc i64 %22 to i8\n %27 = icmp eq i8 %25, %26\n %28 = icmp eq i1 %27, false\n store i64 %storemerge23.reload, i64* %storemerge.reg2mem\n br i1 %28, label LBL_4, label LBL_5\n LBL_4:\n %29 = add nuw nsw i64 %storemerge23.reload, 1\n %30 = icmp ult i64 %29, 256\n store i64 %29, i64* %storemerge23.reg2mem\n store i64 -1, i64* %storemerge.reg2mem\n br i1 %30, label LBL_1, label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge23.reload, { 2, 0, 1 }\n uselistorder i64* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @ScaleQuantumToChar, { 2, 1, 0 }\n uselistorder i64 256, { 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "BN_mul_7800", "fun_name": "BN_mul", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg3 to i64\n %4 = ptrtoint i32* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %4)\n %7 = call i64 @FUNC(i64 %3)\n %8 = call i64 @FUNC(i64 %5)\n %9 = trunc i64 %1 to i32\n %10 = trunc i64 %2 to i32\n %11 = icmp ne i32 %9, 0\n %12 = icmp eq i32 %10, 0\n %13 = icmp eq i1 %12, false\n %or.cond = icmp eq i1 %11, %13\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %5)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_2:\n %15 = ptrtoint i64* %arg4 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = bitcast i32* %arg2 to i64*\n %18 = icmp eq i64* %17, %arg1\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = bitcast i32* %arg3 to i64*\n %20 = icmp eq i64* %19, %arg1\n %21 = icmp eq i1 %20, false\n store i64 %5, i64* %sv_1.0.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i64 %15)\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_5, label LBL_8\n LBL_5:\n %25 = add i32 %10, %9\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %26 = add i64 %4, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %3, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = xor i32 %31, %28\n %33 = add i64 %sv_1.0.reload, 4\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = zext i32 %25 to i64\n %36 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %38, label LBL_8, label LBL_6\n LBL_6:\n %39 = inttoptr i64 %sv_1.0.reload to i32*\n store i32 %25, i32* %39, align 4\n %40 = add i64 %3, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = add i64 %4, 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = add i64 %sv_1.0.reload, 8\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = and i64 %2, 4294967295\n %50 = call i64 @FUNC(i64 %48, i64 %45, i32 %9, i64 %42, i64 %49)\n %51 = call i64 @FUNC(i64 %sv_1.0.reload)\n %52 = icmp eq i64 %sv_1.0.reload, %5\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %52, label LBL_8, label LBL_7\n LBL_7:\n %53 = call i64 @FUNC(i64 %5, i64 %sv_1.0.reload)\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %54 = call i64 @FUNC(i64 %5)\n %55 = call i64 @FUNC(i64 %15)\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_1.0.reload, { 5, 6, 4, 3, 2, 1, 0 }\n uselistorder i32 %9, { 2, 0, 1 }\n uselistorder i64 %5, { 3, 2, 1, 0, 4, 5 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0, 4, 3 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @bn_check_top, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "_q_urldecode_19168", "fun_name": "_q_urldecode", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %arg1 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 0\n %6 = icmp eq i1 %5, false\n store i8 %4, i8* %.reg2mem\n store i64 %2, i64* %storemerge13.reg2mem\n store i64 %2, i64* %sv_0.12.reg2mem\n store i64 %2, i64* %sv_0.1.lcssa.reg2mem\n br i1 %6, label LBL_2, label LBL_8\n LBL_2:\n %sv_0.12.reload = load i64, i64* %sv_0.12.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %7 = icmp eq i8 %.reload, 37\n br i1 %7, label LBL_5, label LBL_3\n LBL_3:\n %8 = icmp eq i8 %.reload, 43\n %9 = icmp eq i1 %8, false\n %10 = add i64 %sv_0.12.reload, 1\n %11 = inttoptr i64 %sv_0.12.reload to i8*\n br i1 %9, label LBL_6, label LBL_4\n LBL_4:\n store i8 32, i8* %11, align 1\n store i64 %10, i64* %sv_0.0.reg2mem\n store i64 %storemerge13.reload, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_5:\n %12 = add i64 %storemerge13.reload, 2\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = add i64 %storemerge13.reload, 1\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = sext i8 %14 to i64\n %19 = and i64 %18, 4294967295\n %20 = sext i8 %17 to i64\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %21, i64 %19)\n %23 = add i64 %sv_0.12.reload, 1\n %24 = trunc i64 %22 to i8\n %25 = inttoptr i64 %sv_0.12.reload to i8*\n store i8 %24, i8* %25, align 1\n store i64 %23, i64* %sv_0.0.reg2mem\n store i64 %12, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_6:\n store i8 %.reload, i8* %11, align 1\n store i64 %10, i64* %sv_0.0.reg2mem\n store i64 %storemerge13.reload, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %26 = add i64 %sv_1.0.reload, 1\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, 0\n %30 = icmp eq i1 %29, false\n store i8 %28, i8* %.reg2mem\n store i64 %26, i64* %storemerge13.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.12.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.lcssa.reg2mem\n br i1 %30, label LBL_2, label LBL_8\n LBL_8:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %31 = inttoptr i64 %sv_0.1.lcssa.reload to i8*\n store i8 0, i8* %31, align 1\n %32 = sub i64 %sv_0.1.lcssa.reload, %2\n store i64 %32, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %11, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %storemerge13.reload, { 1, 3, 2, 0 }\n uselistorder i64 %sv_0.12.reload, { 2, 3, 0, 1 }\n uselistorder i64 %2, { 3, 0, 1, 2 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 0, 2, 3, 1 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ParseSurveyResults_18154", "fun_name": "ParseSurveyResults", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.2.lcssa.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i64\n %storemerge16.reg2mem = alloca i64\n %sv_0.37.reg2mem = alloca i64\n %storemerge8.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.112.reg2mem = alloca i64\n %storemerge213.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %storemerge213.reg2mem\n store i64 0, i64* %sv_0.112.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.112.reload = load i64, i64* %sv_0.112.reg2mem\n %storemerge213.reload = load i64, i64* %storemerge213.reg2mem\n %1 = mul i64 %storemerge213.reload, 256\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 0\n store i64 %sv_0.112.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = zext i8 %4 to i64\n %7 = add nsw i64 %6, -1\n %8 = udiv i64 %7, 32\n %9 = add i64 %sv_0.112.reload, 1\n %10 = add i64 %9, %8\n store i64 %10, i64* %sv_0.0.lcssa.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %11 = add nuw nsw i64 %storemerge213.reload, 1\n %exitcond15 = icmp eq i64 %11, 2\n store i64 %11, i64* %storemerge213.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.112.reg2mem\n br i1 %exitcond15, label LBL_4, label LBL_1\n LBL_4:\n %12 = call i64 @FUNC(i64 %sv_0.0.lcssa.reload, i64 0, i64 0)\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 0, i64 4294967295)\n br label LBL_6\n LBL_6:\n %16 = inttoptr i64 %12 to i64*\n store i64 0, i64* %storemerge8.reg2mem\n store i64 0, i64* %sv_0.37.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.37.reload = load i64, i64* %sv_0.37.reg2mem\n %storemerge8.reload = load i64, i64* %storemerge8.reg2mem\n %17 = mul i64 %storemerge8.reload, 256\n %18 = add i64 %17, %0\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 0\n store i64 %sv_0.37.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %21, label LBL_11, label LBL_8\n LBL_8:\n %22 = zext i8 %20 to i64\n %23 = add i64 %18, 2\n %24 = add nsw i64 %22, -1\n store i64 0, i64* %storemerge16.reg2mem\n store i64 %23, i64* %sv_1.05.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.05.reload = load i64, i64* %sv_1.05.reg2mem\n %storemerge16.reload = load i64, i64* %storemerge16.reg2mem\n %25 = inttoptr i64 %sv_1.05.reload to i64*\n %26 = call i64* @memcpy(i64* %16, i64* %25, i32 32)\n %27 = add i64 %sv_1.05.reload, 32\n %28 = add nuw nsw i64 %storemerge16.reload, 32\n %29 = icmp ult i64 %28, %22\n store i64 %28, i64* %storemerge16.reg2mem\n store i64 %27, i64* %sv_1.05.reg2mem\n br i1 %29, label LBL_9, label LBL_10\n LBL_10:\n %30 = udiv i64 %24, 32\n %31 = add i64 %sv_0.37.reload, 1\n %32 = add i64 %31, %30\n store i64 %32, i64* %sv_0.2.lcssa.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem\n %33 = add nuw nsw i64 %storemerge8.reload, 1\n %exitcond = icmp eq i64 %33, 2\n store i64 %33, i64* %storemerge8.reg2mem\n store i64 %sv_0.2.lcssa.reload, i64* %sv_0.37.reg2mem\n br i1 %exitcond, label LBL_12, label LBL_7\n LBL_12:\n store i64 %12, i64* %arg2, align 8\n store i64 %sv_0.2.lcssa.reload, i64* %arg3, align 8\n ret i64 0\n\n uselistorder i64 %sv_1.05.reload, { 1, 0 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i8 %20, { 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i64 %sv_0.37.reload, { 1, 0 }\n uselistorder i8 %4, { 1, 0 }\n uselistorder i64 %sv_0.112.reload, { 1, 0 }\n uselistorder i64* %storemerge213.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.112.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.37.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.2.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 1, { 2, 1, 3, 0 }\n uselistorder i64 32, { 0, 2, 3, 1 }\n uselistorder i64 -1, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_cleanup_4332", "fun_name": "virtio_cleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %3)\n br label LBL_2\n LBL_2:\n %6 = add i64 %arg1, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = call i64 @FUNC(i64 %arg1)\n ret i64 %10\n\n uselistorder i64 (i64)* @qemu_free, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_rtp_send_aac_342", "fun_name": "ff_rtp_send_aac", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %sv_0.110.reg2mem = alloca i64\n %.reg2mem12 = alloca i32\n %.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %spec.select = select i1 %6, i32 5, i32 %5\n %7 = mul i32 %spec.select, 2\n %8 = add i32 %7, 2\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n %sext4 = add i64 %sext, -30064771072\n %sv_1.0.in = select i1 %17, i64 %sext, i64 %sext4\n %sv_1.0 = ashr exact i64 %sv_1.0.in, 32\n %18 = trunc i64 %1 to i32\n %19 = add i64 %2, 24\n %20 = inttoptr i64 %19 to i64*\n %21 = add i64 %2, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %9 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %spec.select, %25\n br i1 %26, label LBL_3, label LBL_1\n LBL_1:\n %27 = load i64, i64* %20, align 8\n %28 = sub i64 %27, %23\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_6, label LBL_2\n LBL_2:\n %31 = trunc i64 %sv_1.0 to i32\n %32 = add i32 %31, %29\n %33 = icmp ugt i32 %32, %18\n br i1 %33, label LBL_3, label LBL_6\n LBL_3:\n %34 = mul i32 %25, 2\n %35 = sext i32 %8 to i64\n %36 = sext i32 %34 to i64\n %37 = sub nsw i64 %35, %36\n %38 = add nsw i64 %37, -2\n %39 = icmp eq i64 %38, 0\n br i1 %39, label LBL_5, label LBL_4\n LBL_4:\n %40 = add i64 %23, 2\n %41 = add i64 %37, %23\n %42 = inttoptr i64 %41 to i64*\n %43 = inttoptr i64 %40 to i64*\n %44 = call i64* @memmove(i64* %42, i64* %43, i32 %34)\n br label LBL_5\n LBL_5:\n %45 = add i64 %38, %23\n %46 = inttoptr i64 %45 to i8*\n %47 = udiv i32 %25, 16\n %48 = trunc i32 %47 to i8\n store i8 %48, i8* %46, align 1\n %49 = add i64 %45, 1\n %.tr = trunc i32 %25 to i8\n %50 = mul i8 %.tr, 16\n %51 = inttoptr i64 %49 to i8*\n store i8 %50, i8* %51, align 1\n %52 = load i64, i64* %20, align 8\n %53 = sub i64 %52, %45\n %54 = and i64 %53, 4294967295\n %55 = call i64 @FUNC(i64 %2, i64 %45, i64 %54, i64 1)\n store i32 0, i32* %24, align 4\n %.pre = load i64, i64* %22, align 8\n store i64 %35, i64* %.pre-phi.reg2mem\n store i64 %.pre, i64* %.reg2mem\n br label LBL_8\n LBL_6:\n %56 = icmp eq i32 %25, 0\n %57 = icmp eq i1 %56, false\n br i1 %57, label LBL_9, label LBL_6.LBL_8_crit_edge\n LBL_7:\n %.pre11 = sext i32 %8 to i64\n store i64 %.pre11, i64* %.pre-phi.reg2mem\n store i64 %23, i64* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %58 = add i64 %.reload, %.pre-phi.reload\n store i64 %58, i64* %20, align 8\n %59 = add i64 %2, 32\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = add i64 %2, 36\n %63 = inttoptr i64 %62 to i32*\n store i32 %61, i32* %63, align 4\n br label LBL_9\n LBL_9:\n %64 = ptrtoint i64* %arg2 to i64\n %65 = add i64 %64, 7\n %sv_0.0 = select i1 %17, i64 %64, i64 %65\n %66 = sub i32 %18, %8\n %67 = trunc i64 %sv_1.0 to i32\n %68 = icmp slt i32 %66, %67\n br i1 %68, label LBL_11, label LBL_10\n LBL_10:\n %69 = load i64, i64* %22, align 8\n %70 = load i32, i32* %24, align 4\n %71 = add i32 %70, 1\n store i32 %71, i32* %24, align 4\n %72 = mul i32 %70, 2\n %73 = sext i32 %72 to i64\n %74 = add i64 %69, 2\n %75 = add i64 %74, %73\n %76 = udiv i64 %sv_1.0, 32\n %77 = trunc i64 %76 to i8\n %78 = add i64 %75, 1\n %79 = inttoptr i64 %75 to i8*\n store i8 %77, i8* %79, align 1\n %80 = udiv i64 %sv_1.0.in, 536870912\n %81 = trunc i64 %80 to i8\n %82 = inttoptr i64 %78 to i8*\n store i8 %81, i8* %82, align 1\n %83 = load i64, i64* %20, align 8\n %84 = inttoptr i64 %83 to i64*\n %85 = inttoptr i64 %sv_0.0 to i64*\n %86 = call i64* @memcpy(i64* %84, i64* %85, i32 %67)\n %87 = load i64, i64* %20, align 8\n %88 = add i64 %87, %sv_1.0\n store i64 %88, i64* %20, align 8\n store i64 %2, i64* %rax.1.reg2mem\n br label LBL_14\n LBL_11:\n %89 = bitcast i64* %rdi to i32*\n %90 = load i32, i32* %89, align 8\n %91 = load i64, i64* %22, align 8\n %92 = inttoptr i64 %91 to i8*\n store i8 0, i8* %92, align 1\n %93 = add i64 %91, 1\n %94 = inttoptr i64 %93 to i8*\n store i8 16, i8* %94, align 1\n %95 = icmp eq i32 %67, 0\n %96 = icmp slt i32 %67, 0\n %97 = icmp eq i1 %96, false\n %98 = icmp eq i1 %95, false\n %99 = icmp eq i1 %97, %98\n store i64 %93, i64* %rax.1.reg2mem\n br i1 %99, label LBL_12, label LBL_14\n LBL_12:\n %100 = add i32 %90, -4\n %101 = udiv i64 %sv_1.0.in, 137438953472\n %102 = trunc i64 %101 to i8\n %103 = add i64 %91, 2\n %104 = inttoptr i64 %103 to i8*\n %105 = add i64 %91, 3\n %106 = udiv i64 %sv_1.0.in, 536870912\n %107 = trunc i64 %106 to i8\n %108 = inttoptr i64 %105 to i8*\n %109 = add i64 %91, 4\n %110 = inttoptr i64 %109 to i64*\n store i32 %67, i32* %.reg2mem12\n store i64 %sv_0.0, i64* %sv_0.110.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.110.reload = load i64, i64* %sv_0.110.reg2mem\n %.reload13 = load i32, i32* %.reg2mem12\n %111 = sub i32 %100, %.reload13\n %112 = xor i32 %.reload13, %100\n %113 = xor i32 %111, %100\n %114 = and i32 %113, %112\n %115 = icmp slt i32 %114, 0\n %116 = icmp eq i32 %111, 0\n %117 = icmp slt i32 %111, 0\n %118 = icmp ne i1 %117, %115\n %119 = or i1 %116, %118\n %120 = select i1 %119, i32 %100, i32 %.reload13\n store i8 %102, i8* %104, align 1\n store i8 %107, i8* %108, align 1\n %121 = inttoptr i64 %sv_0.110.reload to i64*\n %122 = call i64* @memcpy(i64* %110, i64* %121, i32 %120)\n %123 = icmp eq i32 %.reload13, %120\n %124 = add i32 %120, 4\n %125 = zext i1 %123 to i64\n %126 = zext i32 %124 to i64\n %127 = call i64 @FUNC(i64 %2, i64 %91, i64 %126, i64 %125)\n %128 = sub i32 %.reload13, %120\n %129 = sext i32 %120 to i64\n %130 = add i64 %sv_0.110.reload, %129\n %131 = icmp eq i32 %128, 0\n %132 = icmp slt i32 %128, 0\n %133 = icmp eq i1 %132, false\n %134 = icmp eq i1 %131, false\n %135 = icmp eq i1 %133, %134\n store i32 %128, i32* %.reg2mem12\n store i64 %130, i64* %sv_0.110.reg2mem\n store i64 %129, i64* %rax.1.reg2mem\n br i1 %135, label LBL_13, label LBL_14\n LBL_14:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %128, { 0, 2, 1 }\n uselistorder i32 %120, { 1, 2, 3, 0, 4 }\n uselistorder i32 %111, { 1, 2, 0 }\n uselistorder i32 %.reload13, { 0, 3, 1, 4, 2 }\n uselistorder i64 %sv_0.110.reload, { 1, 0 }\n uselistorder i32 %100, { 3, 0, 1, 2 }\n uselistorder i64 %91, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %75, { 1, 0 }\n uselistorder i32 %67, { 0, 2, 1, 3, 4 }\n uselistorder i32 %34, { 1, 0 }\n uselistorder i32 %25, { 2, 3, 1, 0, 4 }\n uselistorder i32* %24, { 1, 0, 2, 3 }\n uselistorder i64 %23, { 0, 2, 1, 3, 4 }\n uselistorder i64* %22, { 2, 1, 0, 3 }\n uselistorder i64* %20, { 2, 1, 3, 0, 4, 5 }\n uselistorder i64 %sv_1.0, { 1, 0, 2, 3 }\n uselistorder i1 %17, { 1, 0 }\n uselistorder i32 %8, { 2, 0, 1 }\n uselistorder i32 %spec.select, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %2, { 3, 0, 2, 1, 4, 6, 5, 7, 8 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem12, { 1, 0, 2 }\n uselistorder i64* %sv_0.110.reg2mem, { 1, 0, 2 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @ff_rtp_send_data, { 1, 0 }\n uselistorder i8 16, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0, 3 }\n uselistorder i64 32, { 0, 2, 1 }\n uselistorder i1 false, { 3, 2, 0, 1, 4, 5 }\n uselistorder i32 2, { 0, 1, 3, 2 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "piix4_class_init_603", "fun_name": "piix4_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198694, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i32*\n store i32 32902, i32* %4, align 4\n %5 = add i64 %0, 20\n %6 = inttoptr i64 %5 to i32*\n store i32 28945, i32* %6, align 4\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i32*\n store i32 393472, i32* %8, align 4\n store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %9 = inttoptr i64 %1 to i8*\n store i8 1, i8* %9, align 1\n %10 = inttoptr i64 %3 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %10, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xhci_wakeup_10858", "fun_name": "xhci_wakeup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = call i64 @FUNC(i64 %4, i64 15)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 3\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1, i64 4, i64 15)\n %10 = call i64 @FUNC(i64 %1, i64 16)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "oz_usb_rx_12331", "fun_name": "oz_usb_rx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %7 = inttoptr i64 %4 to i32*\n %8 = call i64 @FUNC(i64 %4)\n %9 = call i64 @FUNC(i64 %0)\n %10 = load i32, i32* %7, align 4\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_11, label LBL_3\n LBL_3:\n %13 = ptrtoint i32* %arg2 to i64\n %14 = add i64 %13, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n %.pre = add i64 %4, 4\n %.pre4 = inttoptr i64 %.pre to i32*\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = load i32, i32* %.pre4, align 4\n %19 = sub i32 %18, %16\n %20 = trunc i32 %19 to i8\n %21 = icmp sgt i8 %20, -1\n br i1 %21, label LBL_11, label LBL_5\n LBL_5:\n store i32 %16, i32* %.pre4, align 4\n store i64 %14, i64* @0, align 8\n switch i64 %13, label LBL_11 [\n i64 -3, label LBL_6\n i64 -2, label LBL_7\n i64 -1, label LBL_8\n i64 0, label LBL_9\n i64 1, label LBL_10\n ]\n LBL_6:\n %22 = bitcast i64* %rsi to i32*\n %23 = load i32, i32* %22, align 8\n %24 = add i32 %23, -19\n %25 = call i64 @FUNC(i64 13)\n %26 = and i64 %25, 4294967295\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i16\n %29 = call i64 @FUNC(i64 17)\n %30 = and i64 %29, 4294967295\n %31 = call i64 @FUNC(i64 %30)\n %32 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0))\n %33 = load i32, i32* inttoptr (i64 9 to i32*), align 4\n %34 = load i32, i32* inttoptr (i64 5 to i32*), align 4\n %35 = load i32, i32* %15, align 4\n %36 = add i64 %4, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38, i32 %35, i32 %34, i32 %33, i32 %24, i16 %28)\n br label LBL_11\n LBL_7:\n %40 = load i32, i32* inttoptr (i64 6 to i32*), align 4\n %41 = load i32, i32* %15, align 4\n %42 = add i64 %4, 8\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44, i32 %41, i32 %40, i64 0, i64 0)\n br label LBL_11\n LBL_8:\n %46 = load i32, i32* inttoptr (i64 7 to i32*), align 4\n %47 = load i32, i32* %15, align 4\n %48 = add i64 %4, 8\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = call i64 @FUNC(i64 %50, i32 %47, i32 %46, i64 0, i64 0)\n br label LBL_11\n LBL_9:\n %52 = bitcast i64* %rsi to i32*\n %53 = load i32, i32* %52, align 8\n %54 = add i32 %53, -11\n %55 = load i32, i32* inttoptr (i64 12 to i32*), align 4\n %56 = sext i32 %55 to i64\n %57 = load i32, i32* inttoptr (i64 8 to i32*), align 8\n %58 = load i32, i32* %15, align 4\n %59 = add i64 %4, 8\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = zext i32 %54 to i64\n %63 = call i64 @FUNC(i64 %61, i32 %58, i32 %57, i64 %56, i64 %62)\n br label LBL_11\n LBL_10:\n %64 = bitcast i64* %rsi to i32*\n %65 = load i32, i32* %64, align 8\n %66 = call i64 @FUNC(i64 %4, i64 %14, i32 %65)\n br label LBL_11\n LBL_11:\n %67 = call i64 @FUNC(i64 %4)\n store i64 %67, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %15, { 3, 2, 1, 0, 4 }\n uselistorder i64 %4, { 5, 6, 4, 3, 2, 1, 0, 7, 8, 9 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rsi, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i32, i32, i64, i64)* @oz_hcd_control_cnf, { 2, 1, 0 }\n uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @get_unaligned, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @spin_unlock_bh, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2, 3, 4, 5 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 2, 3, 4, 5, 6, 7, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vmdk_write_cid_1712", "fun_name": "vmdk_write_cid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64 512, i64* nonnull %sv_1, i64 512)\n %2 = icmp eq i64 %1, 512\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = bitcast i64* %sv_1 to i8*\n %4 = call i8* @strstr(i8* nonnull %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n %5 = ptrtoint i8* %4 to i64\n %6 = call i64 @FUNC(i64* nonnull %sv_0, i64 512, i64 %5)\n %7 = ptrtoint i64* %sv_1 to i64\n %8 = call i8* @strstr(i8* nonnull %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %9 = icmp eq i8* %8, null\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = ptrtoint i8* %8 to i64\n %11 = add i64 %10, 4\n %12 = sub i64 %7, %11\n %13 = trunc i64 %arg2 to i32\n %14 = inttoptr i64 %11 to i8*\n %15 = trunc i64 %12 to i32\n %16 = add i32 %15, 512\n %17 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %14, i32 %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0), i32 %13)\n %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 512, i64* nonnull %sv_0)\n br label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %7, i64 512, i64* nonnull %sv_1, i64 512)\n %20 = icmp slt i64 %19, 0\n %21 = icmp eq i1 %20, false\n %. = select i1 %21, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i8* %8, { 1, 0 }\n uselistorder i64* %sv_1, { 0, 1, 4, 2, 3 }\n uselistorder i8* (i8*, i8*)* @strstr, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 512, { 2, 1, 3, 4, 0, 6, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypt_iv_tcw_whitening_3811", "fun_name": "crypt_iv_tcw_whitening", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv20.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %3 = ptrtoint i64* %sv_6 to i64\n %4 = call i64 @FUNC(i64 %1)\n store i64 %4, i64* %sv_5, align 8\n %5 = add i64 %2, 16\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = mul i64 %8, 8\n %10 = add i64 %9, 191\n %11 = and i64 %10, -64\n store i64 %11, i64* %sv_6, align 8\n %12 = add i64 %8, 23\n %13 = and i64 %12, -8\n %14 = add i64 %13, 15\n %15 = udiv i64 %14, 16\n %16 = mul i64 %15, 16\n %17 = sub i64 %3, %16\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n store i64 16, i64* %sv_4, align 8\n store i64 %20, i64* %sv_3, align 8\n %21 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_5, i64 8)\n %22 = call i64 @FUNC(i64* nonnull %sv_3, i64* nonnull %sv_5, i64 8)\n %23 = load i64, i64* %6, align 8\n %24 = inttoptr i64 %17 to i64*\n store i64 %23, i64* %24, align 8\n %25 = add i64 %17, 8\n %26 = inttoptr i64 %25 to i64*\n store i64 1, i64* %26, align 8\n %27 = ptrtoint i64* %sv_4 to i64\n store i64 0, i64* %indvars.iv20.reg2mem\n br label LBL_1\n LBL_1:\n %28 = call i64 @FUNC(i64 %17)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 %28, i64* %sv_0.1.reg2mem\n br i1 %31, label LBL_7, label LBL_2\n LBL_2:\n %indvars.iv20.reload = load i64, i64* %indvars.iv20.reg2mem\n %32 = mul i64 %indvars.iv20.reload, 4\n %33 = add i64 %32, %27\n %34 = call i64 @FUNC(i64 %17, i64 %33, i64 4)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %34, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_7, label LBL_3\n LBL_3:\n %38 = call i64 @FUNC(i64 %17, i64 %33)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %38, i64* %sv_0.1.reg2mem\n br i1 %41, label LBL_7, label LBL_4\n LBL_4:\n %indvars.iv.next21 = add nuw nsw i64 %indvars.iv20.reload, 1\n %42 = icmp ult i64 %indvars.iv.next21, 4\n store i64 %indvars.iv.next21, i64* %indvars.iv20.reg2mem\n br i1 %42, label LBL_1, label LBL_5\n LBL_5:\n %43 = call i64 @FUNC(i64* nonnull %sv_4, i64* nonnull %sv_2, i64 4)\n %44 = call i64 @FUNC(i64* nonnull %sv_1, i64* nonnull %sv_3, i64 4)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %45 = mul i64 %indvars.iv.reload, 8\n %46 = add i64 %45, %0\n %47 = inttoptr i64 %46 to i64*\n %48 = call i64 @FUNC(i64* %47, i64* nonnull %sv_4, i64 8)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 64\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %38, i64* %sv_0.1.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %49 = call i64 @FUNC(i64* nonnull %sv_4, i64 16)\n %50 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %50\n\n uselistorder i64 %38, { 1, 0, 2 }\n uselistorder i64 %17, { 0, 1, 2, 4, 3 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %sv_4, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %indvars.iv20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 4, { 2, 3, 1, 4, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder i64 1, { 1, 0, 2, 3, 4 }\n uselistorder i64 (i64*, i64*, i64)* @crypto_xor, { 4, 3, 2, 1, 0 }\n uselistorder i64 8, { 2, 0, 5, 3, 4, 6, 1 }\n uselistorder i64 16, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_7, { 3, 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_new_mount_11151", "fun_name": "do_new_mount", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i8* %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i8* %arg2, null\n %8 = icmp eq i1 %7, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_16\n LBL_1:\n %9 = ptrtoint i8* %arg2 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 4294967277, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_16\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %13 = ashr exact i64 %sext, 32\n %sext6 = mul i64 %arg4, 4294967296\n %14 = ashr exact i64 %sext6, 32\n %15 = inttoptr i64 %10 to i32*\n %16 = icmp eq i64 %6, 4210736\n store i64 %13, i64* %sv_2.0.reg2mem\n store i64 %14, i64* %sv_1.0.reg2mem\n br i1 %16, label LBL_7, label LBL_3\n LBL_3:\n %17 = load i32, i32* %15, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %10)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_5:\n %22 = and i32 %17, 2\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %13, i64* %sv_2.0.reg2mem\n store i64 %14, i64* %sv_1.0.reg2mem\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = or i64 %13, 4096\n %26 = or i64 %14, 8192\n store i64 %25, i64* %sv_2.0.reg2mem\n store i64 %26, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %27 = ptrtoint i8* %arg5 to i64\n %28 = trunc i64 %sv_2.0.reload to i32\n %29 = call i64 @FUNC(i64 %10, i32 %28, i64 %27, i64 %arg6)\n %30 = call i64 @FUNC(i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %29, i64* %sv_0.0.reg2mem\n br i1 %33, label LBL_11, label LBL_8\n LBL_8:\n %34 = load i32, i32* %15, align 4\n %35 = and i32 %34, 4\n %36 = icmp eq i32 %35, 0\n store i64 %29, i64* %sv_0.0.reg2mem\n br i1 %36, label LBL_11, label LBL_9\n LBL_9:\n %37 = inttoptr i64 %29 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = icmp eq i64 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 %29, i64* %sv_0.0.reg2mem\n br i1 %42, label LBL_11, label LBL_10\n LBL_10:\n %43 = call i64 @FUNC(i64 %29, i64 %9)\n store i64 %43, i64* %sv_0.0.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %44 = call i64 @FUNC(i64 %10)\n %45 = call i64 @FUNC(i64 %sv_0.0.reload)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_13, label LBL_12\n LBL_12:\n %48 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_13:\n %49 = ptrtoint i64* %arg1 to i64\n %50 = call i64 @FUNC(i64 %sv_0.0.reload)\n %51 = trunc i64 %sv_1.0.reload to i32\n %52 = call i64 @FUNC(i64 %50, i64 %49, i32 %51)\n %53 = trunc i64 %52 to i32\n %54 = icmp eq i32 %53, 0\n br i1 %54, label LBL_15, label LBL_14\n LBL_14:\n %55 = call i64 @FUNC(i64 %sv_0.0.reload)\n br label LBL_15\n LBL_15:\n %56 = and i64 %52, 4294967295\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 3, 2, 1, 0 }\n uselistorder i64 %29, { 4, 0, 3, 1, 2, 5 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i64 %14, { 2, 0, 1 }\n uselistorder i64 %13, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 }\n uselistorder i64 (i64)* @IS_ERR, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @put_filesystem, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_16, { 2, 3, 4, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "recovery_cipher_abort_12965", "fun_name": "recovery_cipher_abort", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i8, i8* inttoptr (i64 4210724 to i8*), align 4\n %1 = icmp eq i8 %0, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n store i8 0, i8* bitcast (i64* @gv_0 to i8*), align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "init_xml_schema_7206", "fun_name": "init_xml_schema", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0))\n %2 = load i64, i64* @gv_2, align 8\n %3 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 %2)\n store i64 %3, i64* @gv_4, align 8\n %4 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 4198763, i64 4294967295)\n %5 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0), i64 4198770, i64 4294967295)\n %6 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_7, i64 0, i64 0), i64 4198777, i64 1)\n %7 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_8, i64 0, i64 0), i64 4198784, i64 1)\n ret i64 %7\n\n uselistorder i64 (i64, i8*, i64, i64)* @rb_define_private_method, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64)* @rb_define_singleton_method, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sock_sendpage_4858", "fun_name": "sock_sendpage", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3, i64 %arg4, i64* %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = and i64 %1, 2048\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n %. = select i1 %9, i32 64, i32 0\n %10 = trunc i64 %arg6 to i32\n %11 = icmp eq i32 %10, 0\n %12 = or i32 %., 32768\n %spec.select = select i1 %11, i32 %., i32 %12\n %13 = trunc i64 %arg3 to i32\n %14 = zext i32 %spec.select to i64\n %15 = call i64 @FUNC(i64 %6, i64 %2, i32 %13, i64 %arg4, i64 %14)\n ret i64 %15\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "search_keyval_15221", "fun_name": "search_keyval", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i32, align 4\n %0 = trunc i64 %arg2 to i32\n store i32 %arg3, i32* %sv_0, align 4\n %1 = bitcast i32* %sv_0 to i64*\n %2 = call i64* @bsearch(i64* nonnull %1, i64* %arg1, i32 %0, i32 16, i32 (i64*, i64*)* inttoptr (i64 4198710 to i32 (i64*, i64*)*))\n %3 = ptrtoint i64* %2 to i64\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n ret i64 %6\n\n uselistorder i32* %sv_0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "array_cleanup_6508", "fun_name": "array_cleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp sgt i32 %0, 0\n br i1 %1, label LBL_1, label LBL_5\n LBL_1:\n %wide.trip.count = and i64 %arg2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %indvars.iv.tr = trunc i64 %indvars.iv.reload to i32\n %2 = mul i32 %indvars.iv.tr, 2\n %3 = sext i32 %2 to i64\n %4 = mul i64 %3, 8\n %5 = add i64 %4, %arg1\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %7)\n br label LBL_4\n LBL_4:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_2\n LBL_5:\n %10 = call i64 @FUNC(i64 %arg1)\n ret i64 %10\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_raw_data_5198", "fun_name": "handle_raw_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %sext4 = mul i64 %arg6, 4294967296\n %1 = ashr exact i64 %sext4, 32\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %2, i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %6, label LBL_5, label LBL_1\n LBL_1:\n %narrow = mul nsw i64 %1, 1048\n %7 = add i64 %narrow, ptrtoint (i32** @gv_0 to i64)\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 8\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = call i32 @time(i32* null)\n %12 = sext i32 %11 to i64\n %13 = add i64 %narrow, ptrtoint (i64* @gv_1 to i64)\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = add i64 %narrow, ptrtoint (i32** @gv_2 to i64)\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 8\n %17 = trunc i64 %arg2 to i32\n %18 = add nsw i64 %narrow, 4210804\n %19 = inttoptr i64 %18 to i64*\n %20 = call i64* @memcpy(i64* nonnull %19, i64* %arg1, i32 %17)\n %21 = add i64 %narrow, ptrtoint (i32** @gv_3 to i64)\n %22 = inttoptr i64 %21 to i32*\n store i32 %17, i32* %22, align 8\n %23 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %24 = icmp slt i32 %23, 1\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = and i64 %arg2, 4294967295\n %26 = load %_IO_FILE*, %_IO_FILE** @gv_4, align 8\n %27 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_5, i64 0, i64 0), i64 %25, i64 %2)\n br label LBL_4\n LBL_4:\n %28 = and i64 %arg5, 4294967295\n %29 = zext i32 %arg4 to i64\n %30 = call i64 @FUNC(i64 %28, i64 %29, i64 %2)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder label LBL_5, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "grptype_box_dump_6000", "fun_name": "grptype_box_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rdx.0.in.lcssa.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = trunc i64 %3 to i32\n %7 = bitcast i64* %arg1 to i32*\n %8 = icmp ne i32 %6, 1\n %9 = icmp eq i32 %6, 2\n %10 = icmp eq i1 %9, false\n %or.cond = icmp eq i1 %8, %10\n %spec.store.select = select i1 %or.cond, i32 %6, i32 1969974903\n store i32 %spec.store.select, i32* %7, align 4\n %11 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n store i32 3, i32* %7, align 4\n %12 = add i64 %5, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i32 %14, i64 %4, i64 %2, i64 %1)\n %16 = add i64 %5, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n store i32 %14, i32* %rdx.0.in.lcssa.reg2mem\n br i1 %19, label LBL_3, label LBL_1\n LBL_1:\n %20 = add i64 %5, 12\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = mul i64 %indvars.iv.reload, 4\n %22 = add i64 %20, %21\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_2, i64 0, i64 0), i32 %24, i64 %4, i64 %2, i64 %1)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %26 = load i32, i32* %17, align 4\n %27 = zext i32 %26 to i64\n %28 = icmp ult i64 %indvars.iv.next, %27\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %24, i32* %rdx.0.in.lcssa.reg2mem\n br i1 %28, label LBL_2, label LBL_3\n LBL_3:\n %29 = add i64 %5, 52\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_5, label LBL_4\n LBL_4:\n %rdx.0.in.lcssa.reload = load i32, i32* %rdx.0.in.lcssa.reg2mem\n %34 = call i64 @FUNC(i64 %arg2, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0), i32 %rdx.0.in.lcssa.reload, i64 %4, i64 %2, i64 %1)\n br label LBL_5\n LBL_5:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %arg2)\n ret i64 0\n\n uselistorder i32* %17, { 1, 0 }\n uselistorder i64 %5, { 0, 2, 3, 1, 4, 5 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @gf_fprintf, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2, 3, 4 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_complex_object_5819", "fun_name": "get_complex_object", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %storemerge3.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdi = alloca i64, align 8\n %3 = load i64, i64* %0\n %sv_0 = alloca i8, align 1\n store i8 0, i8* %sv_0, align 1\n %4 = call i64* @calloc(i32 1, i32 16)\n %5 = icmp eq i64* %4, null\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_18\n LBL_1:\n %7 = and i64 %3, 65534\n %8 = icmp ugt i64 %7, 62061\n %9 = ptrtoint i32* %arg2 to i64\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)\n store i64 %10, i64* %storemerge3.in.reg2mem\n br label LBL_4\n LBL_3:\n %11 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)\n store i64 %11, i64* %storemerge3.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge3.in.reload = load i64, i64* %storemerge3.in.reg2mem\n %storemerge3 = trunc i64 %storemerge3.in.reload to i32\n %12 = load i8, i8* %sv_0, align 1\n %13 = icmp eq i8 %12, 0\n %14 = icmp eq i32 %storemerge3, -1\n %15 = icmp eq i1 %14, false\n %or.cond = icmp eq i1 %13, %15\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n call void @free(i64* %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_6:\n %16 = add i32 %storemerge3, 1\n %17 = call i64* @malloc(i32 %16)\n %18 = icmp eq i64* %17, null\n %19 = icmp eq i1 %18, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_7, label LBL_18\n LBL_7:\n %20 = ptrtoint i64* %17 to i64\n %21 = call i64 @FUNC(i64 %9, i64 %20, i32 %storemerge3)\n %22 = and i64 %storemerge3.in.reload, 4294967295\n %23 = icmp eq i64 %21, %22\n br i1 %23, label LBL_9, label LBL_8\n LBL_8:\n call void @free(i64* %17)\n call void @free(i64* %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_9:\n %24 = bitcast i64* %rdi to i32*\n %25 = add i64 %21, %20\n %26 = inttoptr i64 %25 to i8*\n store i8 0, i8* %26, align 1\n %27 = load i32, i32* %24, align 8\n %28 = and i32 %27, 65534\n %29 = icmp ugt i32 %28, 62061\n br i1 %29, label LBL_11, label LBL_10\n LBL_10:\n %30 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)\n store i64 %30, i64* %storemerge.in.reg2mem\n br label LBL_12\n LBL_11:\n %31 = call i64 @FUNC(i64 %9, i8* nonnull %sv_0)\n store i64 %31, i64* %storemerge.in.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %32 = load i8, i8* %sv_0, align 1\n %33 = icmp eq i8 %32, 0\n %34 = icmp eq i32 %storemerge, -1\n %35 = icmp eq i1 %34, false\n %or.cond6 = icmp eq i1 %33, %35\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond6, label LBL_13, label LBL_18\n LBL_13:\n %36 = add i32 %storemerge, 1\n %37 = call i64* @malloc(i32 %36)\n %38 = icmp eq i64* %37, null\n %39 = icmp eq i1 %38, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %39, label LBL_14, label LBL_18\n LBL_14:\n %40 = ptrtoint i64* %37 to i64\n %41 = call i64 @FUNC(i64 %9, i64 %40, i32 %storemerge)\n %42 = and i64 %storemerge.in.reload, 4294967295\n %43 = icmp eq i64 %41, %42\n br i1 %43, label LBL_16, label LBL_15\n LBL_15:\n call void @free(i64* %17)\n call void @free(i64* %37)\n call void @free(i64* %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_16:\n %44 = ptrtoint i64* %4 to i64\n %45 = add i64 %41, %40\n %46 = inttoptr i64 %45 to i8*\n store i8 0, i8* %46, align 1\n %47 = add i64 %44, 8\n %48 = inttoptr i64 %47 to i32*\n store i32 1, i32* %48, align 4\n %49 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %20, i64 %40, i64 %40, i64 %2, i64 %1)\n store i64 %49, i64* %4, align 8\n call void @free(i64* %17)\n call void @free(i64* %37)\n %50 = load i64, i64* %4, align 8\n %51 = icmp eq i64 %50, 0\n %52 = icmp eq i1 %51, false\n store i64 %44, i64* %rax.0.reg2mem\n br i1 %52, label LBL_18, label LBL_17\n LBL_17:\n call void @free(i64* nonnull %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %40, { 1, 2, 0, 3 }\n uselistorder i64* %37, { 0, 1, 3, 2 }\n uselistorder i32 %storemerge, { 1, 2, 0 }\n uselistorder i64 %storemerge.in.reload, { 1, 0 }\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i64* %17, { 0, 1, 2, 4, 3 }\n uselistorder i32 %storemerge3, { 1, 2, 0 }\n uselistorder i64 %storemerge3.in.reload, { 1, 0 }\n uselistorder i64 %9, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64* %4, { 0, 1, 2, 7, 3, 4, 5, 6 }\n uselistorder i8* %sv_0, { 4, 0, 1, 5, 2, 3, 6 }\n uselistorder i64* %storemerge3.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 7, 2, 3, 6, 4, 9, 5 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i32)* @rz_buf_read, { 1, 0 }\n uselistorder i64* (i32)* @malloc, { 1, 0 }\n uselistorder i64 (i64, i8*)* @get_st32, { 1, 0 }\n uselistorder i64 (i64, i8*)* @get_ut8, { 1, 0 }\n uselistorder i1 false, { 2, 3, 0, 4, 1, 5 }\n uselistorder i8 0, { 1, 2, 3, 4, 0, 5, 6, 7 }\n uselistorder label LBL_18, { 5, 0, 6, 1, 2, 7, 3, 8, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_tty_19141", "fun_name": "check_tty", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_6\n LBL_2:\n %6 = inttoptr i64 %arg1 to i8*\n %7 = call i8* @strchr(i8* %6, i32 47)\n %8 = icmp eq i8* %7, null\n store i8* %6, i8** %.pre-phi.reg2mem\n store i64 %arg1, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = call i32 @strncmp(i8* %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i32 5)\n %10 = icmp eq i32 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_6\n LBL_4:\n %11 = call i8* @strrchr(i8* %6, i32 47)\n %12 = ptrtoint i8* %11 to i64\n %13 = add i64 %12, 1\n %.pre = inttoptr i64 %13 to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n store i64 %13, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %14 = load i8, i8* %.pre-phi.reload, align 1\n %15 = icmp eq i8 %14, 0\n %16 = icmp eq i1 %15, false\n %sv_0.0. = select i1 %16, i64 %sv_0.0.reload, i64 0\n store i64 %sv_0.0., i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %6, { 1, 2, 0, 3 }\n uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_6, { 0, 1, 3, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qcow2_make_empty_3400", "fun_name": "qcow2_make_empty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = trunc i64 %1 to i32\n %7 = icmp slt i32 %6, 3\n br i1 %7, label LBL_6, label LBL_1\n LBL_1:\n %8 = add i64 %2, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_2\n LBL_2:\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = add i64 %2, 20\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = sext i32 %20 to i64\n %22 = sext i32 %5 to i64\n %23 = udiv i64 %22, 8\n %24 = add nsw i64 %21, -1\n %25 = add nsw i64 %24, %23\n %26 = udiv i64 %25, %23\n %27 = trunc i64 %26 to i32\n %28 = add i32 %27, 2\n %29 = add i64 %2, 12\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp ult i32 %28, %31\n br i1 %32, label LBL_4, label LBL_6\n LBL_4:\n %33 = add i64 %2, 24\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %35, 1\n br i1 %36, label LBL_6, label LBL_5\n LBL_5:\n %37 = call i64 @FUNC(i64 %2)\n store i64 %37, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_6:\n %38 = add i64 %2, 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = mul i64 %40, 512\n %42 = icmp eq i64 %41, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %42, label LBL_10, label LBL_7\n LBL_7:\n %43 = sub i32 0, %5\n %44 = icmp sgt i32 %43, -1\n %45 = sub i32 -2147483648, %5\n %46 = select i1 %44, i32 %43, i32 %45\n %47 = zext i32 %46 to i64\n store i64 0, i64* %storemerge12.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %48 = sub i64 %41, %storemerge12.reload\n %49 = icmp ugt i64 %48, %47\n %50 = select i1 %49, i64 %47, i64 %48\n %51 = and i64 %50, 4294967295\n %52 = call i64 @FUNC(i64 %2, i64 %storemerge12.reload, i64 %51, i64 0, i64 1)\n %53 = trunc i64 %52 to i32\n %54 = icmp sgt i32 %53, -1\n %55 = add i64 %storemerge12.reload, %47\n %56 = icmp ugt i64 %41, %55\n %or.cond = icmp eq i1 %56, %54\n store i64 %55, i64* %storemerge12.reg2mem\n br i1 %or.cond, label LBL_8, label LBL_9\n LBL_9:\n %phitmp = and i64 %52, 4294967295\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge12.reload, { 2, 0, 1 }\n uselistorder i64 %47, { 0, 2, 1 }\n uselistorder i32 %43, { 1, 0 }\n uselistorder i64 %41, { 2, 0, 1 }\n uselistorder i32 %5, { 0, 2, 1 }\n uselistorder i64 %2, { 5, 6, 0, 4, 3, 7, 2, 1, 8 }\n uselistorder i64* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_10, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_riff_write_info_tag_2842", "fun_name": "ff_riff_write_info_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = inttoptr i64 %arg3 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = icmp eq i32 %1, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = icmp sgt i32 %1, -1\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_4\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = sext i32 %1 to i64\n %6 = add nsw i64 %5, 1\n %7 = call i64 @FUNC(i64 %4, i64 %arg2)\n %8 = call i64 @FUNC(i64 %4, i64 %6)\n %9 = call i64 @FUNC(i64 %4, i64 %arg3)\n %10 = urem i64 %6, 2\n %11 = icmp eq i64 %10, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = call i64 @FUNC(i64 %4, i64 0)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 0, 3, 2, 1 }\n uselistorder i32 %1, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fm_mgr_config_mgr_connect_13601", "fun_name": "fm_mgr_config_mgr_connect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8*\n %0 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %1 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = call i64* @memset(i64* nonnull %sv_3, i32 0, i32 256)\n %4 = call i64* @memset(i64* nonnull %sv_2, i32 0, i32 256)\n %5 = icmp eq i32 %1, 3\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = trunc i64 %2 to i32\n %7 = icmp sgt i32 %6, 3\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_10, label LBL_2\n LBL_2:\n store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i64 %0, i64* %sv_0.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n switch i32 %6, label LBL_10 [\n i32 1, label LBL_5\n i32 2, label LBL_3\n ]\n LBL_3:\n %8 = add i64 %0, 8\n store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i64 %8, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_4:\n %9 = add i64 %0, 16\n store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i64 %9, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i32 %12 to i64\n %14 = bitcast i64* %sv_3 to i8*\n %15 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %14, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i8* nonnull %sv_1.0.reload, i64 %13)\n %16 = load i32, i32* %11, align 4\n %17 = zext i32 %16 to i64\n %18 = bitcast i64* %sv_2 to i8*\n %19 = call i32 (i8*, i8*, ...) @sprintf(i8* nonnull %18, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_4, i64 0, i64 0), i8* nonnull %sv_1.0.reload, i64 %17)\n %20 = inttoptr i64 %sv_0.0.reload to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 %21, i32* %.reg2mem\n br i1 %23, label LBL_8, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %sv_0.0.reload, i64* nonnull %sv_3, i64* nonnull %sv_2, i64 32768)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %26, label LBL_6.LBL_8_crit_edge, label LBL_10\n LBL_7:\n %.pre = load i32, i32* %20, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i32, i32* %.reg2mem\n %27 = sext i32 %.reload to i64\n %28 = call i64 @FUNC(i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = add i64 %0, 28\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = trunc i64 %2 to i32\n %36 = or i32 %34, %35\n store i32 %36, i32* %33, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 1, 0 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 4, 3 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 1, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_10, { 4, 0, 1, 3, 2 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow2_invalidate_cache_2633", "fun_name": "qcow2_invalidate_cache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n store i64 0, i64* %sv_3, align 8\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = add i64 %4, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32 %11, i32* %.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_1, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i32, i32* %10, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_3\n LBL_3:\n %.reload = load i32, i32* %.reg2mem\n %14 = inttoptr i64 %5 to i64*\n %15 = call i64* @memcpy(i64* nonnull %sv_2, i64* %14, i32 244)\n %16 = add i64 %4, 252\n %17 = inttoptr i64 %16 to i64*\n %18 = call i64* @memcpy(i64* nonnull %sv_1, i64* %17, i32 244)\n store i32 %.reload, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %19 = ptrtoint i64* %arg2 to i64\n %20 = call i64 @FUNC(i64 %4)\n %21 = add i64 %4, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64* nonnull %sv_3)\n %25 = load i64, i64* %sv_3, align 8\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = call i64 @FUNC(i64 %19, i64 %25)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %28 = trunc i64 %3 to i32\n %29 = call i64* @memset(i64* %arg1, i32 0, i32 496)\n %30 = add i64 %4, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = call i64 @FUNC(i64 %4, i64 %33, i32 %28, i64* nonnull %sv_3)\n %35 = call i64 @FUNC(i64 %33)\n %36 = load i64, i64* %sv_3, align 8\n %37 = icmp eq i64 %36, 0\n br i1 %37, label LBL_8, label LBL_7\n LBL_7:\n %38 = ptrtoint i64* %sv_3 to i64\n %39 = call i64 @FUNC(i64 %36)\n %40 = call i64 @FUNC(i64 %19, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_3, i64 0, i64 0), i64 %39, i64 %38, i64 %2, i64 %1)\n %41 = load i64, i64* %sv_3, align 8\n %42 = call i64 @FUNC(i64 %41)\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %43 = trunc i64 %34 to i32\n %44 = icmp slt i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_10, label LBL_9\n LBL_9:\n %46 = sub i64 0, %34\n %47 = and i64 %46, 4294967295\n %48 = call i64 @FUNC(i64 %19, i64 %47, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i64 %47, i64 %2, i64 %1)\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_10:\n %49 = load i32, i32* %6, align 4\n %50 = icmp eq i32 %49, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %50, label LBL_12, label LBL_11\n LBL_11:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %51 = add i64 %4, 4\n %52 = inttoptr i64 %51 to i32*\n store i32 %sv_0.0.reload, i32* %52, align 4\n %53 = inttoptr i64 %5 to i64*\n %54 = call i64* @memcpy(i64* %53, i64* nonnull %sv_2, i32 244)\n %55 = add i64 %4, 252\n %56 = inttoptr i64 %55 to i64*\n %57 = call i64* @memcpy(i64* %56, i64* nonnull %sv_1, i32 244)\n %58 = ptrtoint i64* %57 to i64\n store i64 %58, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %19, { 2, 1, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64* %sv_3, { 2, 4, 3, 0, 5, 1, 6 }\n uselistorder i64 %4, { 2, 3, 4, 5, 7, 6, 0, 1, 8 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 }\n uselistorder i32 0, { 2, 3, 1, 4, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vt_disallocate_7310", "fun_name": "vt_disallocate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = call i64 @FUNC()\n %2 = and i64 %arg1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = trunc i64 %0 to i32\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = and i64 %0, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n store i64 %9, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %10 = call i64 @FUNC()\n %11 = icmp eq i64 %sv_1.0.reload, 0\n %12 = icmp eq i32 %6, 0\n %or.cond = or i1 %12, %11\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC(i64 %sv_1.0.reload)\n br label LBL_5\n LBL_5:\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 0, 2, 3, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_arch_vcpu_ioctl_run_9905", "fun_name": "kvm_arch_vcpu_ioctl_run", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to %_TYPEDEF_sigset_t*\n %8 = bitcast i64* %sv_1 to %_TYPEDEF_sigset_t*\n %9 = call i32 @sigprocmask(i32 2, %_TYPEDEF_sigset_t* %7, %_TYPEDEF_sigset_t* nonnull %8)\n br label LBL_2\n LBL_2:\n %10 = add i64 %3, 136\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %3)\n %16 = add i64 %3, 176\n %17 = call i64 @FUNC(i64 0, i64 %16)\n store i64 11, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_4:\n %18 = ptrtoint i64* %arg2 to i64\n %19 = add i64 %3, 168\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = add i64 %18, 16\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %3, i64 %29)\n br label LBL_6\n LBL_6:\n %31 = add i64 %3, 140\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n %.pre1 = add i64 %3, 144\n %.pre2 = inttoptr i64 %.pre1 to i32*\n %.pr = load i32, i32* %.pre2, align 4\n %36 = icmp eq i32 %.pr, 0\n br i1 %35, label LBL_8, label LBL_7\n LBL_7:\n %37 = trunc i64 %2 to i32\n store i32 %37, i32* %.reg2mem\n br i1 %36, label LBL_12, label LBL_9\n LBL_8:\n br i1 %36, label LBL_10, label LBL_9\n LBL_9:\n %38 = add i64 %18, 20\n %39 = add i64 %3, 148\n %40 = inttoptr i64 %38 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = inttoptr i64 %39 to i64*\n store i64 %41, i64* %42, align 8\n %43 = add i64 %3, 156\n %44 = inttoptr i64 %43 to i32*\n store i32 1, i32* %44, align 4\n store i32 0, i32* %.pre2, align 4\n br label LBL_10\n LBL_10:\n %45 = load i64, i64* %20, align 8\n %46 = call i64 @FUNC(i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = add i64 %3, 160\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = call i64 @FUNC(i64 %3, i64 0, i64 0, i64 0)\n %51 = trunc i64 %50 to i32\n %52 = load i32, i32* %49, align 4\n %53 = load i64, i64* %20, align 8\n %54 = zext i32 %52 to i64\n %55 = call i64 @FUNC(i64 %53, i64 %54)\n %56 = icmp eq i32 %51, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %56, label LBL_10.LBL_12_crit_edge, label LBL_15\n LBL_11:\n %.phi.trans.insert = bitcast i64* %rsi to i32*\n %.pre = load i32, i32* %.phi.trans.insert, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_12\n LBL_12:\n %.reload = load i32, i32* %.reg2mem\n %57 = icmp eq i32 %.reload, 1\n %58 = icmp eq i1 %57, false\n br i1 %58, label LBL_14, label LBL_13\n LBL_13:\n %59 = add i64 %18, 4\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = call i64 @FUNC(i64 %3, i64 0, i32 %61)\n br label LBL_14\n LBL_14:\n %63 = call i64 @FUNC(i64 %3)\n %phitmp = and i64 %63, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_15:\n %64 = bitcast i64* %rdi to i32*\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %65 = call i64 @FUNC(i64 %3)\n %66 = load i32, i32* %64, align 8\n %67 = icmp eq i32 %66, 0\n br i1 %67, label LBL_17, label LBL_16\n LBL_16:\n %68 = bitcast i64* %sv_1 to %_TYPEDEF_sigset_t*\n %69 = call i32 @sigprocmask(i32 2, %_TYPEDEF_sigset_t* nonnull %68, %_TYPEDEF_sigset_t* null)\n br label LBL_17\n LBL_17:\n ret i64 %sv_0.0.reload\n\n uselistorder i1 %36, { 1, 0 }\n uselistorder i64 %18, { 2, 1, 0 }\n uselistorder i64 %3, { 6, 7, 5, 8, 9, 4, 10, 0, 11, 3, 14, 2, 13, 12, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 0, { 5, 0, 8, 7, 6, 9, 1, 2, 3, 4, 10 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder label LBL_15, { 1, 0, 2 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_connect_5019", "fun_name": "vnc_connect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i8 %arg3, i8 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i32*\n %indvars.iv.next6.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = call i64 @FUNC(i64 40)\n %5 = inttoptr i64 %4 to i32*\n store i32 %arg2, i32* %5, align 4\n %6 = icmp eq i8 %arg3, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %4, 4\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %4, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 -1, i32* %10, align 4\n br label LBL_3\n LBL_2:\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %4, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = add i64 %3, 8\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i64 %4, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n br label LBL_3\n LBL_3:\n %21 = sext i8 %arg4 to i64\n %22 = call i64 @FUNC(i64 80)\n %23 = add i64 %4, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = call i64 @FUNC(i64 10)\n %26 = inttoptr i64 %22 to i64*\n store i64 %25, i64* %26, align 8\n store i64 1, i64* %indvars.iv.next6.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.next6.reload = load i64, i64* %indvars.iv.next6.reg2mem\n %.pre = load i64, i64* %24, align 8\n %27 = mul i64 %indvars.iv.next6.reload, 8\n %28 = add i64 %27, %.pre\n %29 = call i64 @FUNC(i64 10)\n %30 = inttoptr i64 %28 to i64*\n store i64 %29, i64* %30, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.next6.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.next6.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %31 = zext i32 %arg2 to i64\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %31, i64 %.pre, i64 %21, i64 %2, i64 %1)\n %33 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %33, align 4\n %34 = load i32, i32* %5, align 4\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %35)\n %37 = icmp eq i8 %arg4, 0\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = add i64 %4, 24\n %39 = inttoptr i64 %38 to i32*\n store i32 1, i32* %39, align 4\n %40 = load i32, i32* %5, align 4\n %41 = zext i32 %40 to i64\n %42 = call i64 @FUNC(i64 %41, i64 0, i64 4199036, i64 0, i64 %4)\n store i32* %39, i32** %.pre-phi5.reg2mem\n br label LBL_8\n LBL_7:\n %43 = load i32, i32* %5, align 4\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %44, i64 0, i64 4199047, i64 0, i64 %4)\n %.pre3 = add i64 %4, 24\n %.pre4 = inttoptr i64 %.pre3 to i32*\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %46 = call i64 @FUNC(i64 %4)\n %47 = call i64 @FUNC(i64 %4, i64 1)\n %48 = call i64 @FUNC(i64 %4, i64 1)\n %49 = add i64 %4, 32\n %50 = inttoptr i64 %49 to i64*\n store i64 %3, i64* %50, align 8\n %51 = load i32, i32* %.pre-phi5.reload, align 4\n %52 = zext i32 %51 to i64\n %53 = icmp eq i32 %51, 0\n %54 = icmp eq i1 %53, false\n store i64 %52, i64* %rax.0.reg2mem\n br i1 %54, label LBL_10, label LBL_9\n LBL_9:\n %55 = call i64 @FUNC(i64 %4)\n store i64 %55, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %5, { 1, 0, 2, 3 }\n uselistorder i64 %4, { 4, 5, 6, 7, 8, 0, 3, 9, 10, 11, 1, 2, 12, 13, 14 }\n uselistorder i64* %indvars.iv.next6.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.pre-phi5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @qemu_set_fd_handler2, { 1, 0 }\n uselistorder i64 1, { 2, 3, 1, 0 }\n uselistorder i64 10, { 1, 2, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64)* @g_malloc0, { 3, 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tta_read_packet_15956", "fun_name": "tta_read_packet", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = add i64 %arg1, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp ult i32 %5, %2\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %arg1, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %sext = mul i64 %1, 4294967296\n %14 = ashr exact i64 %sext, 29\n %15 = add i64 %13, %14\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %arg1, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = ptrtoint i32* %arg2 to i64\n %22 = call i64 @FUNC(i64 %20, i64 %21, i32 %17)\n %23 = load i64, i64* %12, align 8\n %24 = add i32 %2, 1\n %25 = inttoptr i64 %arg1 to i32*\n store i32 %24, i32* %25, align 4\n %26 = or i64 %14, 4\n %27 = add i64 %26, %23\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n store i32 %29, i32* %arg2, align 4\n %30 = and i64 %22, 4294967295\n store i64 %30, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 %arg1, { 0, 1, 3, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "wifi_cleanup_13364", "fun_name": "wifi_cleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge9.reg2mem = alloca i32\n %.reg2mem12 = alloca i64\n %sv_0.1.ph.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i64\n %storemerge310.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = inttoptr i64 %4 to i32*\n %6 = add i64 %4, 80\n %7 = inttoptr i64 %6 to i64*\n store i64 %arg2, i64* %7, align 8\n %8 = load i32, i32* %5, align 4\n %9 = call i32 @write(i32 %8, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4)\n %10 = icmp eq i32 %9, 0\n %11 = icmp slt i32 %9, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %10, false\n %14 = icmp eq i1 %12, %13\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 4, i64 %3, i64 %2, i64 %1)\n br label LBL_5\n LBL_2:\n %16 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 64)\n %17 = load i32, i32* %5, align 4\n %18 = call i32 @read(i32 %17, i64* nonnull %sv_1, i32 64)\n %19 = call i32* @__errno_location()\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = zext i32 %18 to i64\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i64 ptrtoint ([13 x i8]* @gv_3 to i64), i64 %22, i64 %21, i64 %2, i64 %1)\n %24 = bitcast i64* %sv_1 to i8*\n %25 = call i32 @strncmp(i8* nonnull %24, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i32 4)\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 4, i64 %21, i64 %2, i64 %1)\n store i64 %21, i64* %rcx.0.reg2mem\n br label LBL_5\n LBL_4:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_1, i64 4, i64 %21, i64 %2, i64 %1)\n store i64 %21, i64* %rcx.0.reg2mem\n br label LBL_5\n LBL_5:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %30 = add i64 %4, 56\n %31 = inttoptr i64 %30 to i8*\n store i8 1, i8* %31, align 1\n %32 = add i64 %4, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = call i32 @pthread_mutex_lock(i64* %33)\n %35 = add i64 %4, 48\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_10, label LBL_6\n LBL_6:\n %39 = add i64 %4, 64\n %40 = inttoptr i64 %39 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge310.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge310.reload = load i32, i32* %storemerge310.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %41 = load i64, i64* %40, align 8\n %42 = mul i64 %.reload, 8\n %43 = add i64 %41, %42\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = icmp eq i64 %45, 0\n store i64 ptrtoint (i64* @gv_7 to i64), i64* %storemerge4.reg2mem\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %47 = add i64 %45, 16\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n store i64 %49, i64* %storemerge4.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %50 = inttoptr i64 %storemerge4.reload to i64*\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_8, i64 0, i64 0), i64 %45, i64* %50, i64 %rcx.0.reload, i64 %2, i64 %1)\n %52 = add i32 %storemerge310.reload, 1\n %53 = load i32, i32* %36, align 4\n %54 = zext i32 %53 to i64\n %55 = sext i32 %52 to i64\n %56 = icmp slt i64 %55, %54\n store i64 %55, i64* %.reg2mem\n store i32 %52, i32* %storemerge310.reg2mem\n br i1 %56, label LBL_7, label LBL_10\n LBL_10:\n %57 = add i64 %4, 52\n %58 = inttoptr i64 %57 to i32*\n %59 = add i64 %4, 72\n %60 = inttoptr i64 %59 to i64*\n store i32 0, i32* %sv_0.1.ph.reg2mem\n br label LBL_15\n LBL_11:\n %61 = load i64, i64* %60, align 8\n %62 = add i64 %61, %84\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = icmp eq i64 %64, 0\n br i1 %65, label LBL_16, label LBL_12\n LBL_12:\n %66 = add i64 %64, 16\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = inttoptr i64 %68 to i64*\n %70 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_9, i64 0, i64 0), i64 %64, i64* %69, i64 %rcx.0.reload, i64 %2, i64 %1)\n %71 = call i32 @pthread_mutex_unlock(i64* %33)\n %72 = call i32 @pthread_mutex_lock(i64* %33)\n %73 = load i32, i32* %58, align 4\n %74 = icmp eq i32 %80, %73\n %75 = icmp eq i1 %74, false\n store i32 %sv_0.1.ph.reload, i32* %sv_0.0.reg2mem\n br i1 %75, label LBL_14, label LBL_13\n LBL_13:\n %76 = load i64, i64* %67, align 8\n %77 = inttoptr i64 %76 to i64*\n %78 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_10, i64 0, i64 0), i64 %64, i64* %77, i64 %rcx.0.reload, i64 %2, i64 %1)\n %79 = add i32 %sv_0.1.ph.reload, 1\n store i32 %79, i32* %sv_0.0.reg2mem\n br label LBL_14\n LBL_14:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.ph.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.1.ph.reload = load i32, i32* %sv_0.1.ph.reg2mem\n %80 = load i32, i32* %58, align 4\n %81 = zext i32 %80 to i64\n %82 = sext i32 %sv_0.1.ph.reload to i64\n %83 = icmp slt i64 %82, %81\n %84 = mul i64 %82, 8\n br label LBL_16\n LBL_16:\n br i1 %83, label LBL_11, label LBL_17\n LBL_17:\n %85 = load i32, i32* %36, align 4\n %86 = icmp eq i32 %85, 0\n br i1 %86, label LBL_20, label LBL_18\n LBL_18:\n %87 = add i64 %4, 64\n %88 = inttoptr i64 %87 to i64*\n store i64 0, i64* %.reg2mem12\n store i32 0, i32* %storemerge9.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge9.reload = load i32, i32* %storemerge9.reg2mem\n %.reload13 = load i64, i64* %.reg2mem12\n %89 = load i64, i64* %88, align 8\n %90 = mul i64 %.reload13, 8\n %91 = add i64 %89, %90\n %92 = inttoptr i64 %91 to i64*\n %93 = load i64, i64* %92, align 8\n %94 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_11, i64 0, i64 0), i64 %93, i64 %89, i64 %rcx.0.reload, i64 %2, i64 %1)\n %95 = add i32 %storemerge9.reload, 1\n %96 = load i32, i32* %36, align 4\n %97 = zext i32 %96 to i64\n %98 = sext i32 %95 to i64\n %99 = icmp slt i64 %98, %97\n store i64 %98, i64* %.reg2mem12\n store i32 %95, i32* %storemerge9.reg2mem\n br i1 %99, label LBL_19, label LBL_20\n LBL_20:\n %100 = call i32 @pthread_mutex_unlock(i64* %33)\n %101 = call i64 @FUNC(i64 %arg1)\n ret i64 %101\n\n uselistorder i64 %89, { 1, 0 }\n uselistorder i32 %80, { 1, 0 }\n uselistorder i32 %sv_0.1.ph.reload, { 1, 2, 0 }\n uselistorder i64 %64, { 0, 2, 1, 3 }\n uselistorder i32* %58, { 1, 0 }\n uselistorder i32* %36, { 0, 1, 3, 2 }\n uselistorder i64* %33, { 0, 2, 1, 3 }\n uselistorder i64 %rcx.0.reload, { 3, 2, 1, 0 }\n uselistorder i64 %21, { 1, 3, 0, 2, 4 }\n uselistorder i64 %4, { 0, 1, 2, 3, 4, 5, 6, 8, 7 }\n uselistorder i64 %2, { 4, 7, 6, 5, 0, 3, 2, 1 }\n uselistorder i64 %1, { 4, 7, 6, 5, 0, 3, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge310.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem12, { 1, 0, 2 }\n uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_unlock, { 1, 0 }\n uselistorder i64 (i8*, i64, i64*, i64, i64, i64)* @ALOGI, { 2, 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_lock, { 1, 0 }\n uselistorder [5 x i8]* @gv_4, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @ALOGE, { 3, 2, 1, 0 }\n uselistorder i64 4, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vring_used_flags_set_bit_2877", "fun_name": "vring_used_flags_set_bit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 %1, i64 0)\n %3 = or i64 %2, %arg2\n %4 = urem i64 %3, 65536\n %5 = call i64 @FUNC(i64 %0, i64 %1, i64 0, i64 %4)\n %6 = call i64 @FUNC(i64 %1, i64 0, i64 2)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blk_mig_unlock_251", "fun_name": "blk_mig_unlock", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "build_segment_manager_7276", "fun_name": "build_segment_manager", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 72, i64 0)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %5, label LBL_1, label LBL_11\n LBL_1:\n %6 = inttoptr i64 %3 to i32*\n %7 = inttoptr i64 %1 to i32*\n %8 = inttoptr i64 %2 to i32*\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i64*\n store i64 %3, i64* %10, align 8\n %11 = load i32, i32* %7, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i32\n store i32 %14, i32* %6, align 4\n %15 = add i64 %1, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = add i64 %3, 4\n %22 = inttoptr i64 %21 to i32*\n store i32 %20, i32* %22, align 4\n %23 = add i64 %1, 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = add i64 %3, 8\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = load i32, i32* %8, align 4\n %32 = zext i32 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = trunc i64 %33 to i32\n %35 = add i64 %3, 12\n %36 = inttoptr i64 %35 to i32*\n store i32 %34, i32* %36, align 4\n %37 = add i64 %2, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64 %40)\n %42 = trunc i64 %41 to i32\n %43 = add i64 %3, 16\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i64 %1, 12\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %48)\n %50 = trunc i64 %49 to i32\n %51 = add i64 %3, 20\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n %53 = add i64 %1, 16\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = zext i32 %55 to i64\n %57 = call i64 @FUNC(i64 %56)\n %58 = trunc i64 %57 to i32\n %59 = add i64 %3, 24\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n %61 = load i32, i32* %52, align 4\n %62 = sdiv i32 %61, 10\n %63 = add i64 %3, 28\n %64 = inttoptr i64 %63 to i32*\n %65 = icmp slt i32 %62, 100\n %spec.store.select = select i1 %65, i32 %62, i32 100\n store i32 %spec.store.select, i32* %64, align 4\n %66 = call i64 @FUNC(i64 %0, i64 1)\n %67 = trunc i64 %66 to i32\n %68 = icmp eq i32 %67, 0\n %69 = icmp eq i1 %68, false\n br i1 %69, label LBL_3, label LBL_2\n LBL_2:\n %70 = add i64 %3, 32\n %71 = inttoptr i64 %70 to i32*\n store i32 1, i32* %71, align 4\n br label LBL_3\n LBL_3:\n %72 = add i64 %3, 36\n %73 = inttoptr i64 %72 to i32*\n store i32 1, i32* %73, align 4\n %74 = add i64 %3, 40\n %75 = inttoptr i64 %74 to i32*\n store i32 1, i32* %75, align 4\n %76 = add i64 %3, 44\n %77 = inttoptr i64 %76 to i32*\n store i32 1, i32* %77, align 4\n %78 = add i64 %3, 48\n %79 = inttoptr i64 %78 to i32*\n store i32 1, i32* %79, align 4\n %80 = add i64 %3, 56\n %81 = call i64 @FUNC(i64 %80)\n %82 = add i64 %0, 24\n %83 = inttoptr i64 %82 to i32*\n %84 = load i32, i32* %83, align 4\n %85 = zext i32 %84 to i64\n %86 = call i64 @FUNC(i64 %85)\n %87 = trunc i64 %86 to i32\n %88 = icmp eq i32 %87, 0\n %89 = icmp eq i1 %88, false\n br i1 %89, label LBL_5, label LBL_4\n LBL_4:\n %90 = call i64 @FUNC(i64 %0)\n %91 = trunc i64 %90 to i32\n %92 = icmp eq i32 %91, 0\n store i64 %90, i64* %rax.0.shrunk.reg2mem\n br i1 %92, label LBL_5, label LBL_11\n LBL_5:\n %93 = call i64 @FUNC(i64 %0)\n %94 = trunc i64 %93 to i32\n %95 = icmp eq i32 %94, 0\n store i64 %93, i64* %rax.0.shrunk.reg2mem\n br i1 %95, label LBL_6, label LBL_11\n LBL_6:\n %96 = call i64 @FUNC(i64 %0)\n %97 = trunc i64 %96 to i32\n %98 = icmp eq i32 %97, 0\n store i64 %96, i64* %rax.0.shrunk.reg2mem\n br i1 %98, label LBL_7, label LBL_11\n LBL_7:\n %99 = call i64 @FUNC(i64 %0)\n %100 = trunc i64 %99 to i32\n %101 = icmp eq i32 %100, 0\n store i64 %99, i64* %rax.0.shrunk.reg2mem\n br i1 %101, label LBL_8, label LBL_11\n LBL_8:\n %102 = call i64 @FUNC(i64 %0)\n %103 = trunc i64 %102 to i32\n %104 = icmp eq i32 %103, 0\n store i64 %102, i64* %rax.0.shrunk.reg2mem\n br i1 %104, label LBL_9, label LBL_11\n LBL_9:\n %105 = call i64 @FUNC(i64 %0)\n %106 = call i64 @FUNC(i64 %0)\n %107 = call i64 @FUNC(i64 %0)\n %108 = trunc i64 %107 to i32\n %109 = icmp eq i32 %108, 0\n store i64 %107, i64* %rax.0.shrunk.reg2mem\n br i1 %109, label LBL_10, label LBL_11\n LBL_10:\n %110 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32 %62, { 1, 0 }\n uselistorder i64 %0, { 1, 4, 3, 2, 5, 6, 7, 8, 0, 9, 10, 11, 12, 13 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 8, 1, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 (i64)* @le32_to_cpu, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_11, { 7, 0, 1, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ipmr_update_threshoulds_9993", "fun_name": "ipmr_update_threshoulds", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 256, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = call i64* @memset(i64* %5, i32 255, i32 256)\n %7 = load i32, i32* @gv_0, align 4\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %8, label LBL_9, label LBL_1\n LBL_1:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = bitcast i64* %rdi to i32*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %11 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %12 = zext i32 %11 to i64\n %13 = icmp slt i64 %.reload, %12\n br i1 %13, label LBL_3, label LBL_8\n LBL_3:\n %14 = add i64 %.reload, %9\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n switch i8 %16, label LBL_4 [\n i8 0, label LBL_8\n i8 -1, label LBL_8\n ]\n LBL_4:\n %17 = add i64 %.reload, %4\n %18 = inttoptr i64 %17 to i8*\n store i8 %16, i8* %18, align 1\n %19 = load i32, i32* %10, align 8\n %20 = zext i32 %19 to i64\n %21 = icmp slt i64 %.reload, %20\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n store i32 %storemerge1.reload, i32* %1, align 4\n br label LBL_6\n LBL_6:\n %22 = load i32, i32* %3, align 4\n %23 = zext i32 %22 to i64\n %24 = icmp slt i64 %.reload, %23\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = add i32 %storemerge1.reload, 1\n store i32 %25, i32* %3, align 4\n br label LBL_8\n LBL_8:\n %26 = add i32 %storemerge1.reload, 1\n %27 = load i32, i32* @gv_0, align 4\n %28 = zext i32 %27 to i64\n %29 = sext i32 %26 to i64\n %30 = icmp slt i64 %29, %28\n store i64 %29, i64* %.reg2mem\n store i32 %26, i32* %storemerge1.reg2mem\n store i64 %28, i64* %.lcssa.reg2mem\n br i1 %30, label LBL_2, label LBL_9\n LBL_9:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i8 %16, { 1, 0 }\n uselistorder i64 %.reload, { 0, 1, 4, 3, 2 }\n uselistorder i32 %storemerge1.reload, { 2, 0, 1 }\n uselistorder i32* %3, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i32* @gv_0, { 1, 0 }\n uselistorder i32 256, { 0, 2, 1 }\n uselistorder label LBL_8, { 3, 4, 0, 1, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hclge_tm_schd_mode_vnet_base_cfg_19072", "fun_name": "hclge_tm_schd_mode_vnet_base_cfg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %2, 16\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = zext i8 %8 to i64\n %10 = call i64 @FUNC(i64 %5, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_1, label LBL_3\n LBL_1:\n %13 = trunc i64 %1 to i8\n %14 = icmp eq i8 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_7, label LBL_2\n LBL_2:\n %15 = add i64 %2, 17\n %16 = inttoptr i64 %15 to i8*\n store i8 0, i8* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_4\n LBL_3:\n %17 = and i64 %10, 4294967295\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %18 = urem i32 %storemerge2.reload, 256\n %19 = zext i32 %18 to i64\n %20 = add i64 %5, %19\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = load i8, i8* %16, align 1\n %24 = add i8 %23, %.reload\n %25 = zext i8 %24 to i64\n %26 = call i64 @FUNC(i64 %5, i64 %25, i8 %22)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n %29 = and i64 %26, 4294967295\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %30 = mul i32 %storemerge2.reload, 16777216\n %sext = add i32 %30, 16777216\n %31 = ashr exact i32 %sext, 24\n %32 = trunc i32 %31 to i8\n %33 = icmp ugt i8 %13, %32\n store i8 %32, i8* %.reg2mem\n store i32 %31, i32* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %33, label LBL_4, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge2.reload, { 1, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i8* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i32 16777216, { 1, 0 }\n uselistorder label LBL_7, { 0, 2, 3, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "jpc_enc_create_10479", "fun_name": "jpc_enc_create", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 72)\n %cond = icmp eq i64 %0, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %cond, label LBL_4, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %0 to i64*\n store i64 %arg3, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 %arg2, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 %arg1, i64* %5, align 8\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, align 8\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %10 = add i64 %0, 40\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %11, align 8\n %12 = add i64 %0, 48\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n %14 = call i64 @FUNC()\n store i64 %14, i64* %7, align 8\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = add i64 %0, 56\n %17 = inttoptr i64 %16 to i64*\n store i64 0, i64* %17, align 8\n %18 = add i64 %0, 64\n %19 = inttoptr i64 %18 to i64*\n store i64 0, i64* %19, align 8\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %20 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 10, 0, 2, 3, 4, 5, 6, 7, 8, 9, 11, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ims_pcu_identify_type_7999", "fun_name": "ims_pcu_identify_type", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i32 %7, i64 %4, i64 %2, i64 %1)\n %10 = and i64 %6, 4294967295\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %11 = add i64 %5, 8\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = bitcast i64* %arg2 to i8*\n store i8 %13, i8* %14, align 1\n %15 = urem i64 %3, 256\n %16 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %15, i64 %4, i64 %2, i64 %1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 1, 2, 0, 3 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_annotation_9971", "fun_name": "handle_annotation", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = trunc i64 %3 to i32\n %7 = urem i32 %6, 2\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = ptrtoint i32* %arg1 to i64\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %4, i64 %2, i64 %1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, -1\n %13 = icmp eq i1 %12, false\n %. = select i1 %13, i64 1, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %14 = and i32 %6, 2\n %15 = icmp eq i32 %14, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = add i64 %5, 9\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = icmp eq i8 %18, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = ptrtoint i32* %arg1 to i64\n %21 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0), i64 %16, i64 %4, i64 %2, i64 %1)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, -1\n %24 = icmp eq i1 %23, false\n %.2 = select i1 %24, i64 1, i64 4294967295\n store i64 %.2, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @file_printf, { 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "md_clean_8791", "fun_name": "md_clean", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 0, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 0, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 0, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4294967295, i64* %12, align 8\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i64*\n store i64 4294967295, i64* %14, align 8\n %15 = add i64 %0, 64\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %0, 68\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %0, 72\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %0, 76\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %0, 80\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %0, 84\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %0, 88\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %0, 96\n %30 = inttoptr i64 %29 to i64*\n store i64 0, i64* %30, align 8\n %31 = add i64 %0, 112\n %32 = inttoptr i64 %31 to i64*\n store i64 0, i64* %32, align 8\n %33 = add i64 %0, 104\n %34 = inttoptr i64 %33 to i64*\n store i64 0, i64* %34, align 8\n %35 = add i64 %0, 120\n %36 = inttoptr i64 %35 to i32*\n store i32 0, i32* %36, align 4\n %37 = add i64 %0, 124\n %38 = inttoptr i64 %37 to i32*\n store i32 0, i32* %38, align 4\n %39 = add i64 %0, 128\n %40 = inttoptr i64 %39 to i32*\n store i32 0, i32* %40, align 4\n %41 = add i64 %0, 132\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n %43 = add i64 %0, 136\n %44 = inttoptr i64 %43 to i32*\n store i32 0, i32* %44, align 4\n %45 = add i64 %0, 140\n %46 = inttoptr i64 %45 to i32*\n store i32 0, i32* %46, align 4\n %47 = add i64 %0, 144\n %48 = inttoptr i64 %47 to i32*\n store i32 0, i32* %48, align 4\n %49 = add i64 %0, 148\n %50 = inttoptr i64 %49 to i32*\n store i32 0, i32* %50, align 4\n %51 = add i64 %0, 152\n %52 = inttoptr i64 %51 to i64*\n store i64 0, i64* %52, align 8\n %53 = add i64 %0, 160\n %54 = inttoptr i64 %53 to i64*\n store i64 0, i64* %54, align 8\n %55 = add i64 %0, 272\n %56 = call i64 @FUNC(i64 %55, i64 0)\n %57 = add i64 %0, 284\n %58 = inttoptr i64 %57 to i32*\n store i32 0, i32* %58, align 4\n %59 = add i64 %0, 280\n %60 = inttoptr i64 %59 to i32*\n store i32 0, i32* %60, align 4\n %61 = add i64 %0, 224\n %62 = inttoptr i64 %61 to i64*\n store i64 0, i64* %62, align 8\n %63 = add i64 %0, 216\n %64 = inttoptr i64 %63 to i64*\n store i64 0, i64* %64, align 8\n %65 = add i64 %0, 232\n %66 = inttoptr i64 %65 to i32*\n store i32 0, i32* %66, align 4\n %67 = add i64 %0, 236\n %68 = inttoptr i64 %67 to i32*\n store i32 0, i32* %68, align 4\n %69 = add i64 %0, 240\n %70 = inttoptr i64 %69 to i32*\n store i32 0, i32* %70, align 4\n %71 = add i64 %0, 244\n %72 = inttoptr i64 %71 to i32*\n store i32 0, i32* %72, align 4\n %73 = add i64 %0, 248\n %74 = inttoptr i64 %73 to i32*\n store i32 0, i32* %74, align 4\n %75 = add i64 %0, 256\n %76 = inttoptr i64 %75 to i64*\n store i64 0, i64* %76, align 8\n %77 = add i64 %0, 264\n %78 = inttoptr i64 %77 to i32*\n store i32 0, i32* %78, align 4\n %79 = add i64 %0, 168\n %80 = inttoptr i64 %79 to i64*\n store i64 0, i64* %80, align 8\n %81 = add i64 %0, 176\n %82 = inttoptr i64 %81 to i64*\n store i64 0, i64* %82, align 8\n %83 = add i64 %0, 184\n %84 = inttoptr i64 %83 to i64*\n store i64 0, i64* %84, align 8\n %85 = add i64 %0, 192\n %86 = inttoptr i64 %85 to i64*\n store i64 0, i64* %86, align 8\n %87 = add i64 %0, 200\n %88 = inttoptr i64 %87 to i64*\n store i64 0, i64* %88, align 8\n %89 = add i64 %0, 208\n %90 = inttoptr i64 %89 to i64*\n store i64 0, i64* %90, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 43, 44, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 45 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_iovec_add_15591", "fun_name": "qemu_iovec_add", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %.reg2mem3 = alloca i64\n %rdi.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, -1\n %5 = icmp eq i1 %4, false\n store i64 %3, i64* %.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 22, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i64, i64* %2, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 ptrtoint ([19 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, %.reload\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %.reg2mem3\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = mul i64 %.reload, 2\n %12 = or i64 %11, 1\n store i64 %12, i64* %2, align 8\n %13 = mul i64 %12, 16\n %14 = call i64 @FUNC(i64 %rdi.0.reload, i64 %13)\n store i64 %14, i64* %arg1, align 8\n %.pre2 = load i64, i64* %7, align 8\n store i64 %.pre2, i64* %.reg2mem3\n br label LBL_4\n LBL_4:\n %.reload4 = load i64, i64* %.reg2mem3\n %15 = mul i64 %.reload4, 16\n %16 = add i64 %15, %rdi.0.reload\n %17 = ptrtoint i32* %arg2 to i64\n %18 = inttoptr i64 %16 to i64*\n store i64 %17, i64* %18, align 8\n %19 = load i64, i64* %7, align 8\n %20 = mul i64 %19, 16\n %21 = add i64 %rdi.0.reload, 8\n %22 = add i64 %21, %20\n %23 = inttoptr i64 %22 to i64*\n store i64 %arg3, i64* %23, align 8\n %24 = add i64 %0, 24\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = add i64 %26, %arg3\n store i64 %27, i64* %25, align 8\n %28 = load i64, i64* %7, align 8\n %29 = add i64 %28, 1\n store i64 %29, i64* %7, align 8\n ret i64 %0\n\n uselistorder i64* %7, { 2, 1, 3, 0, 4 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %rdi.0.reload, { 0, 2, 1 }\n uselistorder i64* %2, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4 }\n uselistorder i64* %.reg2mem3, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder [19 x i8]* @gv_0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pci_ehci_config_14937", "fun_name": "pci_ehci_config", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %1 = add i32 %0, 96\n %2 = load i32, i32* @gv_0, align 4\n %3 = zext i32 %1 to i64\n %4 = zext i32 %2 to i64\n %5 = call i64 @FUNC(i64 %4, i64 %3, i64 1)\n ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qapi_dealloc_visitor_new_871", "fun_name": "qapi_dealloc_visitor_new", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 120)\n %1 = inttoptr i64 %0 to i64*\n store i64 4198804, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 4198811, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 4198818, i64* %5, align 8\n %6 = add i64 %0, 24\n %7 = inttoptr i64 %6 to i64*\n store i64 4198825, i64* %7, align 8\n %8 = add i64 %0, 32\n %9 = inttoptr i64 %8 to i64*\n store i64 4198832, i64* %9, align 8\n %10 = add i64 %0, 40\n %11 = inttoptr i64 %10 to i64*\n store i64 4198839, i64* %11, align 8\n %12 = add i64 %0, 48\n %13 = inttoptr i64 %12 to i64*\n store i64 4198846, i64* %13, align 8\n %14 = add i64 %0, 56\n %15 = inttoptr i64 %14 to i64*\n store i64 4198853, i64* %15, align 8\n %16 = add i64 %0, 64\n %17 = inttoptr i64 %16 to i64*\n store i64 4198860, i64* %17, align 8\n %18 = add i64 %0, 72\n %19 = inttoptr i64 %18 to i64*\n store i64 4198867, i64* %19, align 8\n %20 = add i64 %0, 80\n %21 = inttoptr i64 %20 to i64*\n store i64 4198874, i64* %21, align 8\n %22 = add i64 %0, 88\n %23 = inttoptr i64 %22 to i64*\n store i64 4198881, i64* %23, align 8\n %24 = add i64 %0, 96\n %25 = inttoptr i64 %24 to i64*\n store i64 4198888, i64* %25, align 8\n %26 = add i64 %0, 104\n %27 = inttoptr i64 %26 to i64*\n store i64 4198895, i64* %27, align 8\n %28 = add i64 %0, 112\n %29 = inttoptr i64 %28 to i64*\n store i64 0, i64* %29, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "write_f_15666", "fun_name": "write_f", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.0.ph11.lcssa.reg2mem = alloca i32\n %sv_2.0.ph7.lcssa.reg2mem = alloca i32\n %sv_3.0.ph.lcssa.reg2mem = alloca i32\n %sv_0.027.reg2mem = alloca i32\n %.reg2mem126 = alloca i32\n %sv_1.0.ph1137.reg2mem = alloca i32\n %sv_0.0.ph1238.reg2mem = alloca i32\n %.reg2mem124 = alloca i32\n %sv_2.0.ph749.reg2mem = alloca i32\n %sv_1.0.ph850.reg2mem = alloca i32\n %sv_0.0.ph951.reg2mem = alloca i32\n %.reg2mem122 = alloca i32\n %sv_3.0.ph62.reg2mem = alloca i32\n %sv_2.0.ph63.reg2mem = alloca i32\n %sv_1.0.ph64.reg2mem = alloca i32\n %sv_0.0.ph65.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i32, align 4\n store i32 0, i32* %sv_6, align 4\n %5 = trunc i64 %arg1 to i32\n %6 = inttoptr i64 %arg2 to i8**\n %7 = call i32 @getopt(i32 %5, i8** %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n store i32 %7, i32* %.reg2mem\n store i32 0, i32* %sv_0.0.ph65.reg2mem\n store i32 0, i32* %sv_1.0.ph64.reg2mem\n store i32 205, i32* %sv_2.0.ph63.reg2mem\n store i32 0, i32* %sv_3.0.ph62.reg2mem\n store i32 0, i32* %sv_3.0.ph.lcssa.reg2mem\n store i32 205, i32* %sv_2.0.ph7.lcssa.reg2mem\n store i32 0, i32* %sv_1.0.ph11.lcssa.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %9, label LBL_2, label LBL_12\n LBL_1:\n %10 = call i32 @getopt(i32 %5, i8** %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %11 = icmp eq i32 %10, -1\n %12 = icmp eq i1 %11, false\n store i32 %10, i32* %.reg2mem\n store i32 %sv_0.027.reload, i32* %sv_0.0.ph65.reg2mem\n store i32 %sv_1.0.ph1137.reload, i32* %sv_1.0.ph64.reg2mem\n store i32 %sv_2.0.ph749.reload, i32* %sv_2.0.ph63.reg2mem\n store i32 1, i32* %sv_3.0.ph62.reg2mem\n store i32 1, i32* %sv_3.0.ph.lcssa.reg2mem\n store i32 %sv_2.0.ph749.reload, i32* %sv_2.0.ph7.lcssa.reg2mem\n store i32 %sv_1.0.ph1137.reload, i32* %sv_1.0.ph11.lcssa.reg2mem\n store i32 %sv_0.027.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %12, label LBL_2, label LBL_12\n LBL_2:\n %sv_3.0.ph62.reload = load i32, i32* %sv_3.0.ph62.reg2mem\n %sv_2.0.ph63.reload = load i32, i32* %sv_2.0.ph63.reg2mem\n %sv_1.0.ph64.reload = load i32, i32* %sv_1.0.ph64.reg2mem\n %sv_0.0.ph65.reload = load i32, i32* %sv_0.0.ph65.reg2mem\n %.reload = load i32, i32* %.reg2mem\n store i32 %.reload, i32* %.reg2mem122\n store i32 %sv_0.0.ph65.reload, i32* %sv_0.0.ph951.reg2mem\n store i32 %sv_1.0.ph64.reload, i32* %sv_1.0.ph850.reg2mem\n store i32 %sv_2.0.ph63.reload, i32* %sv_2.0.ph749.reg2mem\n br label LBL_3\n LBL_3:\n %sv_2.0.ph749.reload = load i32, i32* %sv_2.0.ph749.reg2mem\n %sv_1.0.ph850.reload = load i32, i32* %sv_1.0.ph850.reg2mem\n %sv_0.0.ph951.reload = load i32, i32* %sv_0.0.ph951.reg2mem\n %.reload123 = load i32, i32* %.reg2mem122\n store i32 %.reload123, i32* %.reg2mem124\n store i32 %sv_0.0.ph951.reload, i32* %sv_0.0.ph1238.reg2mem\n store i32 %sv_1.0.ph850.reload, i32* %sv_1.0.ph1137.reg2mem\n br label LBL_5\n LBL_4:\n %13 = call i32 @getopt(i32 %5, i8** %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %14 = icmp eq i32 %13, -1\n %15 = icmp eq i1 %14, false\n store i32 %13, i32* %.reg2mem124\n store i32 %sv_0.027.reload, i32* %sv_0.0.ph1238.reg2mem\n store i32 1, i32* %sv_1.0.ph1137.reg2mem\n store i32 %sv_3.0.ph62.reload, i32* %sv_3.0.ph.lcssa.reg2mem\n store i32 %sv_2.0.ph749.reload, i32* %sv_2.0.ph7.lcssa.reg2mem\n store i32 1, i32* %sv_1.0.ph11.lcssa.reg2mem\n store i32 %sv_0.027.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %15, label LBL_5, label LBL_12\n LBL_5:\n %sv_1.0.ph1137.reload = load i32, i32* %sv_1.0.ph1137.reg2mem\n %sv_0.0.ph1238.reload = load i32, i32* %sv_0.0.ph1238.reg2mem\n %.reload125 = load i32, i32* %.reg2mem124\n store i32 %.reload125, i32* %.reg2mem126\n store i32 %sv_0.0.ph1238.reload, i32* %sv_0.027.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.027.reload = load i32, i32* %sv_0.027.reg2mem\n %.reload127 = load i32, i32* %.reg2mem126\n %16 = icmp eq i32 %.reload127, 113\n br i1 %16, label LBL_1, label LBL_7\n LBL_7:\n %17 = icmp sgt i32 %.reload127, 113\n br i1 %17, label LBL_10, label LBL_8\n LBL_8:\n switch i32 %.reload127, label LBL_10 [\n i32 112, label LBL_4\n i32 67, label LBL_11\n i32 80, label LBL_9\n ]\n LBL_9:\n %18 = load i8*, i8** @gv_1, align 8\n %19 = call i32 @atoi(i8* %18)\n %20 = call i32 @getopt(i32 %5, i8** %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %21 = icmp eq i32 %20, -1\n %22 = icmp eq i1 %21, false\n store i32 %20, i32* %.reg2mem122\n store i32 %sv_0.027.reload, i32* %sv_0.0.ph951.reg2mem\n store i32 %sv_1.0.ph1137.reload, i32* %sv_1.0.ph850.reg2mem\n store i32 %19, i32* %sv_2.0.ph749.reg2mem\n store i32 %sv_3.0.ph62.reload, i32* %sv_3.0.ph.lcssa.reg2mem\n store i32 %19, i32* %sv_2.0.ph7.lcssa.reg2mem\n store i32 %sv_1.0.ph1137.reload, i32* %sv_1.0.ph11.lcssa.reg2mem\n store i32 %sv_0.027.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_3, label LBL_12\n LBL_10:\n %23 = call i64 @FUNC(i64 4210857)\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_11:\n %24 = call i32 @getopt(i32 %5, i8** %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %25 = icmp eq i32 %24, -1\n %26 = icmp eq i1 %25, false\n store i32 %24, i32* %.reg2mem126\n store i32 1, i32* %sv_0.027.reg2mem\n store i32 %sv_3.0.ph62.reload, i32* %sv_3.0.ph.lcssa.reg2mem\n store i32 %sv_2.0.ph749.reload, i32* %sv_2.0.ph7.lcssa.reg2mem\n store i32 %sv_1.0.ph1137.reload, i32* %sv_1.0.ph11.lcssa.reg2mem\n store i32 1, i32* %sv_0.0.lcssa.reg2mem\n br i1 %26, label LBL_6, label LBL_12\n LBL_12:\n %27 = add i32 %5, -2\n %28 = load i32, i32* @gv_2, align 4\n %29 = icmp eq i32 %27, %28\n br i1 %29, label LBL_14, label LBL_13\n LBL_13:\n %30 = call i64 @FUNC(i64 ptrtoint (i64* @gv_3 to i64))\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_14:\n %31 = sext i32 %27 to i64\n %32 = mul i64 %31, 8\n %33 = add i64 %32, %arg2\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = icmp slt i64 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_16, label LBL_15\n LBL_15:\n %39 = load i32, i32* @gv_2, align 4\n %40 = sext i32 %39 to i64\n %41 = mul i64 %40, 8\n %42 = add i64 %41, %arg2\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = inttoptr i64 %44 to i8*\n %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i8* %45)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_16:\n store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_2, align 4\n %47 = add i64 %arg2, mul (i64 sext (i32 ptrtoint (i32* @gv_5 to i32) to i64), i64 8)\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n %50 = call i64 @FUNC(i64 %49)\n %51 = trunc i64 %50 to i32\n %52 = icmp slt i32 %51, 0\n %53 = icmp eq i1 %52, false\n br i1 %53, label LBL_18, label LBL_17\n LBL_17:\n %54 = load i32, i32* @gv_2, align 4\n %55 = sext i32 %54 to i64\n %56 = mul i64 %55, 8\n %57 = add i64 %56, %arg2\n %58 = inttoptr i64 %57 to i64*\n %59 = load i64, i64* %58, align 8\n %60 = inttoptr i64 %59 to i8*\n %61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i8* %60)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_18:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %sv_1.0.ph11.lcssa.reload = load i32, i32* %sv_1.0.ph11.lcssa.reg2mem\n %sv_2.0.ph7.lcssa.reload = load i32, i32* %sv_2.0.ph7.lcssa.reg2mem\n %sv_3.0.ph.lcssa.reload = load i32, i32* %sv_3.0.ph.lcssa.reg2mem\n %62 = icmp eq i32 %sv_1.0.ph11.lcssa.reload, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_23, label LBL_19\n LBL_19:\n %64 = urem i64 %36, 512\n %65 = icmp eq i64 %64, 0\n br i1 %65, label LBL_21, label LBL_20\n LBL_20:\n %sext3 = mul i64 %36, 4294967296\n %66 = ashr exact i64 %sext3, 32\n %67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_6, i64 0, i64 0), i64 %66)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_21:\n %68 = urem i32 %51, 512\n %69 = icmp eq i32 %68, 0\n br i1 %69, label LBL_23, label LBL_22\n LBL_22:\n %70 = and i64 %50, 4294967295\n %71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_7, i64 0, i64 0), i64 %70)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_23:\n %72 = zext i32 %sv_2.0.ph7.lcssa.reload to i64\n %73 = and i64 %50, 4294967295\n %74 = call i64 @FUNC(i64 %73, i64 %72)\n %75 = bitcast i64* %sv_5 to %timeval*\n %76 = call i32 @gettimeofday(%timeval* nonnull %75, %timezone* null)\n %sext4 = mul i64 %36, 4294967296\n %77 = ashr exact i64 %sext4, 32\n br i1 %62, label LBL_25, label LBL_24\n LBL_24:\n %78 = call i64 @FUNC(i64 %74, i64 %77, i32 %51, i32* nonnull %sv_6)\n store i64 %78, i64* %storemerge.in.reg2mem\n br label LBL_26\n LBL_25:\n %79 = call i64 @FUNC(i64 %74, i64 %77, i32 %51, i32* nonnull %sv_6)\n store i64 %79, i64* %storemerge.in.reg2mem\n br label LBL_26\n LBL_26:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %80 = bitcast i64* %sv_4 to %timeval*\n %81 = call i32 @gettimeofday(%timeval* nonnull %80, %timezone* null)\n %82 = icmp slt i32 %storemerge, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_28, label LBL_27\n LBL_27:\n %84 = sub i32 0, %storemerge\n %85 = call i8* @strerror(i32 %84)\n %86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_8, i64 0, i64 0), i8* %85)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_28:\n %87 = icmp eq i32 %sv_3.0.ph.lcssa.reload, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %87, label LBL_29, label LBL_30\n LBL_29:\n %88 = load i64, i64* %sv_5, align 8\n %89 = load i64, i64* %sv_4, align 8\n %90 = call i64 @FUNC(i64 %89, i64 %3, i64 %88, i64 %4, i64 %2, i64 %1)\n store i64 %90, i64* %sv_4, align 8\n %91 = load i32, i32* %sv_6, align 4\n %92 = zext i32 %sv_0.0.lcssa.reload to i64\n %93 = and i64 %storemerge.in.reload, 4294967295\n %94 = zext i32 %91 to i64\n %95 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_9, i64 0, i64 0), i64* nonnull %sv_4, i64 %77, i32 %51, i64 %94, i64 %93, i64 %92)\n %96 = call i64 @FUNC(i64 %74)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_30\n LBL_30:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.in.reload, { 1, 0 }\n uselistorder i32 %51, { 1, 2, 3, 0, 4 }\n uselistorder i32 %sv_0.027.reload, { 1, 4, 3, 0, 5, 2 }\n uselistorder i32 %sv_1.0.ph1137.reload, { 2, 1, 4, 3, 0 }\n uselistorder i32 %sv_2.0.ph749.reload, { 2, 1, 3, 0 }\n uselistorder i32 %sv_3.0.ph62.reload, { 2, 0, 1 }\n uselistorder i8** %6, { 4, 2, 3, 1, 0 }\n uselistorder i32 %5, { 0, 5, 3, 4, 2, 1 }\n uselistorder i32* %sv_6, { 2, 0, 1, 3 }\n uselistorder i64* %sv_5, { 1, 0 }\n uselistorder i64* %sv_4, { 0, 2, 3, 1 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.ph65.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.ph64.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.0.ph63.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.0.ph62.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem122, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.ph951.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.ph850.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.0.ph749.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem126, { 1, 0, 2 }\n uselistorder i32* %sv_0.027.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.0.ph.lcssa.reg2mem, { 0, 4, 2, 3, 1, 5 }\n uselistorder i32* %sv_2.0.ph7.lcssa.reg2mem, { 0, 4, 2, 3, 1, 5 }\n uselistorder i32* %sv_1.0.ph11.lcssa.reg2mem, { 0, 4, 2, 3, 1, 5 }\n uselistorder i32* %sv_0.0.lcssa.reg2mem, { 0, 4, 2, 3, 1, 5 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 1, 7, 6, 5, 4, 3, 2, 9 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 (%timeval*, %timezone*)* @gettimeofday, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @cvtnum, { 1, 0 }\n uselistorder i64 8, { 0, 3, 1, 2, 4 }\n uselistorder i32* @gv_2, { 3, 2, 1, 0 }\n uselistorder i32 113, { 1, 0 }\n uselistorder i1 false, { 4, 5, 6, 7, 8, 2, 3, 1, 0 }\n uselistorder i32 -1, { 4, 2, 3, 1, 0 }\n uselistorder i32 (i32, i8**, i8*)* @getopt, { 4, 2, 3, 1, 0 }\n uselistorder i64 0, { 6, 8, 9, 0, 5, 10, 11, 4, 12, 13, 3, 14, 15, 7, 2, 1, 16, 17, 23, 18, 19, 20, 21, 24, 22 }\n uselistorder i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), { 4, 2, 3, 1, 0 }\n uselistorder i32 0, { 9, 10, 11, 12, 13, 14, 0, 1, 2, 3, 4, 5, 8, 6, 7 }\n uselistorder i32 1, { 5, 12, 7, 15, 10, 23, 31, 30, 29, 28, 27, 26, 25, 24, 22, 21, 20, 19, 18, 17, 16, 14, 13, 11, 9, 8, 6, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 0, 3, 1, 2, 4 }\n uselistorder label LBL_30, { 1, 0, 2, 3, 4, 5, 6, 8, 7 }\n uselistorder label LBL_12, { 3, 1, 2, 0, 4 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "s390_cpu_class_init_1590", "fun_name": "s390_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %arg1, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i32*\n store i32 16, i32* %12, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tb_flush_jmp_cache_3255", "fun_name": "tb_flush_jmp_cache", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %arg2, -4096\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = call i64 @FUNC(i64 %0, i64 %arg2)\n ret i64 %3\n\n uselistorder i64 (i64, i64)* @tb_jmp_cache_clear_page, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_cpu_kick_1870", "fun_name": "qemu_cpu_kick", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC()\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %10 = call i64 @FUNC()\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %13, align 4\n br label LBL_4\n LBL_4:\n %14 = call i64 @FUNC(i64 %0)\n store i64 %14, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "plist_utf16_to_utf8_8176", "fun_name": "plist_utf16_to_utf8", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.ph.lcssa.reg2mem = alloca i32\n %sv_0.0.ph529.reg2mem = alloca i64\n %sv_2.0.ph630.reg2mem = alloca i32\n %sv_3.0.ph731.reg2mem = alloca i32\n %sv_1.0.ph36.reg2mem = alloca i32\n %sv_0.0.ph37.reg2mem = alloca i64\n %sv_2.0.ph38.reg2mem = alloca i32\n %sv_3.0.ph39.reg2mem = alloca i32\n %sv_3.0.ph.be.reg2mem = alloca i32\n %sv_2.0.ph.be.reg2mem = alloca i32\n %sv_1.0.ph.be.reg2mem = alloca i32\n %sv_0.024.reg2mem = alloca i64\n %sv_2.025.reg2mem = alloca i32\n %0 = icmp eq i16* %arg1, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_23, label LBL_1\n LBL_1:\n %1 = icmp eq i64 %arg2, 0\n %2 = icmp slt i64 %arg2, 0\n %3 = icmp eq i1 %2, false\n %4 = icmp eq i1 %1, false\n %5 = icmp eq i1 %3, %4\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_23\n LBL_2:\n %.tr = trunc i64 %arg2 to i32\n %6 = mul i32 %.tr, 4\n %7 = add i32 %6, 4\n %8 = call i64* @malloc(i32 %7)\n %9 = ptrtoint i64* %8 to i64\n %10 = icmp sgt i64 %arg2, 0\n store i32 0, i32* %sv_1.0.ph.lcssa.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %10, label LBL_3, label LBL_18\n LBL_3:\n %11 = ptrtoint i16* %arg1 to i64\n store i32 0, i32* %sv_2.0.ph38.reg2mem\n store i64 0, i64* %sv_0.0.ph37.reg2mem\n store i32 0, i32* %sv_1.0.ph36.reg2mem\n br label LBL_4.lr.ph.lr.ph\n LBL_4:\n %sv_0.024.reload = load i64, i64* %sv_0.024.reg2mem\n %sv_2.025.reload = load i32, i32* %sv_2.025.reg2mem\n %12 = add i64 %sv_0.024.reload, 1\n %13 = mul i64 %sv_0.024.reload, 2\n %14 = add i64 %13, %11\n %15 = inttoptr i64 %14 to i16*\n %16 = load i16, i16* %15, align 2\n %17 = and i16 %16, -1024\n switch i16 %17, label LBL_10 [\n i16 -10240, label LBL_5\n i16 -9216, label LBL_7\n ]\n LBL_5:\n %18 = icmp eq i32 %sv_2.025.reload, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_8, label LBL_6\n LBL_6:\n %20 = sext i16 %16 to i32\n %21 = mul i32 %20, 1024\n %22 = and i32 %21, 1047552\n %23 = add nuw nsw i32 %22, 65536\n %24 = icmp slt i64 %12, %arg2\n store i32 %23, i32* %sv_3.0.ph731.reg2mem\n store i32 1, i32* %sv_2.0.ph630.reg2mem\n store i64 %12, i64* %sv_0.0.ph529.reg2mem\n store i32 %sv_1.0.ph36.reload, i32* %sv_1.0.ph.lcssa.reg2mem\n store i64 %12, i64* %sv_0.0.lcssa.reg2mem\n br i1 %24, label LBL_4.lr.ph, label LBL_18\n LBL_7:\n %25 = icmp eq i32 %sv_2.025.reload, 0\n br i1 %25, label LBL_8, label LBL_9\n LBL_8:\n %26 = icmp slt i64 %12, %arg2\n store i32 0, i32* %sv_2.025.reg2mem\n store i64 %12, i64* %sv_0.024.reg2mem\n store i32 %sv_1.0.ph36.reload, i32* %sv_1.0.ph.lcssa.reg2mem\n store i64 %12, i64* %sv_0.0.lcssa.reg2mem\n br i1 %26, label LBL_4, label LBL_18\n LBL_9:\n %27 = urem i16 %16, 1024\n %28 = zext i16 %27 to i32\n %29 = or i32 %sv_3.0.ph731.reload, %28\n %30 = udiv i32 %sv_3.0.ph731.reload, 262144\n %31 = add i32 %sv_1.0.ph36.reload, 1\n %32 = sext i32 %sv_1.0.ph36.reload to i64\n %33 = add i64 %32, %9\n %34 = trunc i32 %30 to i8\n %35 = urem i8 %34, 8\n %36 = or i8 %35, -16\n %37 = inttoptr i64 %33 to i8*\n store i8 %36, i8* %37, align 1\n %38 = udiv i32 %sv_3.0.ph731.reload, 4096\n %39 = add i32 %sv_1.0.ph36.reload, 2\n %40 = sext i32 %31 to i64\n %41 = add i64 %40, %9\n %42 = trunc i32 %38 to i8\n %43 = urem i8 %42, 64\n %44 = or i8 %43, -128\n %45 = inttoptr i64 %41 to i8*\n store i8 %44, i8* %45, align 1\n %46 = udiv i32 %29, 64\n %47 = add i32 %sv_1.0.ph36.reload, 3\n %48 = sext i32 %39 to i64\n %49 = add i64 %48, %9\n %50 = trunc i32 %46 to i8\n %51 = urem i8 %50, 64\n %52 = or i8 %51, -128\n %53 = inttoptr i64 %49 to i8*\n store i8 %52, i8* %53, align 1\n %54 = add i32 %sv_1.0.ph36.reload, 4\n %55 = sext i32 %47 to i64\n %56 = add i64 %55, %9\n %57 = trunc i32 %29 to i8\n %58 = urem i8 %57, 64\n %59 = or i8 %58, -128\n %60 = inttoptr i64 %56 to i8*\n store i8 %59, i8* %60, align 1\n store i32 %54, i32* %sv_1.0.ph.be.reg2mem\n store i32 0, i32* %sv_2.0.ph.be.reg2mem\n store i32 %29, i32* %sv_3.0.ph.be.reg2mem\n br label LBL_15\n LBL_10:\n %61 = sext i16 %16 to i32\n %62 = icmp ult i16 %16, 2048\n br i1 %62, label LBL_12, label LBL_11\n LBL_11:\n %63 = udiv i32 %61, 4096\n %64 = add i32 %sv_1.0.ph36.reload, 1\n %65 = sext i32 %sv_1.0.ph36.reload to i64\n %66 = add i64 %65, %9\n %67 = trunc i32 %63 to i8\n %68 = urem i8 %67, 16\n %69 = or i8 %68, -32\n %70 = inttoptr i64 %66 to i8*\n store i8 %69, i8* %70, align 1\n %71 = udiv i32 %61, 64\n %72 = add i32 %sv_1.0.ph36.reload, 2\n %73 = sext i32 %64 to i64\n %74 = add i64 %73, %9\n %75 = trunc i32 %71 to i8\n %76 = urem i8 %75, 64\n %77 = or i8 %76, -128\n %78 = inttoptr i64 %74 to i8*\n store i8 %77, i8* %78, align 1\n %79 = add i32 %sv_1.0.ph36.reload, 3\n %80 = sext i32 %72 to i64\n %81 = add i64 %80, %9\n %82 = trunc i16 %16 to i8\n %83 = urem i8 %82, 64\n %84 = or i8 %83, -128\n %85 = inttoptr i64 %81 to i8*\n store i8 %84, i8* %85, align 1\n store i32 %79, i32* %sv_1.0.ph.be.reg2mem\n store i32 %sv_2.025.reload, i32* %sv_2.0.ph.be.reg2mem\n store i32 %sv_3.0.ph731.reload, i32* %sv_3.0.ph.be.reg2mem\n br label LBL_15\n LBL_12:\n %86 = icmp ult i16 %16, 128\n br i1 %86, label LBL_14, label LBL_13\n LBL_13:\n %87 = udiv i32 %61, 64\n %88 = add i32 %sv_1.0.ph36.reload, 1\n %89 = sext i32 %sv_1.0.ph36.reload to i64\n %90 = add i64 %89, %9\n %91 = trunc i32 %87 to i8\n %92 = urem i8 %91, 32\n %93 = or i8 %92, -64\n %94 = inttoptr i64 %90 to i8*\n store i8 %93, i8* %94, align 1\n %95 = add i32 %sv_1.0.ph36.reload, 2\n %96 = sext i32 %88 to i64\n %97 = add i64 %96, %9\n %98 = trunc i16 %16 to i8\n %99 = urem i8 %98, 64\n %100 = or i8 %99, -128\n %101 = inttoptr i64 %97 to i8*\n store i8 %100, i8* %101, align 1\n store i32 %95, i32* %sv_1.0.ph.be.reg2mem\n store i32 %sv_2.025.reload, i32* %sv_2.0.ph.be.reg2mem\n store i32 %sv_3.0.ph731.reload, i32* %sv_3.0.ph.be.reg2mem\n br label LBL_15\n LBL_14:\n %102 = add i32 %sv_1.0.ph36.reload, 1\n %103 = sext i32 %sv_1.0.ph36.reload to i64\n %104 = add i64 %103, %9\n %105 = trunc i16 %16 to i8\n %106 = urem i8 %105, -128\n %107 = inttoptr i64 %104 to i8*\n store i8 %106, i8* %107, align 1\n store i32 %102, i32* %sv_1.0.ph.be.reg2mem\n store i32 %sv_2.025.reload, i32* %sv_2.0.ph.be.reg2mem\n store i32 %sv_3.0.ph731.reload, i32* %sv_3.0.ph.be.reg2mem\n br label LBL_15\n LBL_15:\n %sv_3.0.ph.be.reload = load i32, i32* %sv_3.0.ph.be.reg2mem\n %sv_2.0.ph.be.reload = load i32, i32* %sv_2.0.ph.be.reg2mem\n %sv_1.0.ph.be.reload = load i32, i32* %sv_1.0.ph.be.reg2mem\n %108 = icmp slt i64 %12, %arg2\n store i32 %sv_3.0.ph.be.reload, i32* %sv_3.0.ph39.reg2mem\n store i32 %sv_2.0.ph.be.reload, i32* %sv_2.0.ph38.reg2mem\n store i64 %12, i64* %sv_0.0.ph37.reg2mem\n store i32 %sv_1.0.ph.be.reload, i32* %sv_1.0.ph36.reg2mem\n store i32 %sv_1.0.ph.be.reload, i32* %sv_1.0.ph.lcssa.reg2mem\n store i64 %12, i64* %sv_0.0.lcssa.reg2mem\n br i1 %108, label LBL_4.lr.ph.lr.ph, label LBL_18\n LBL_16:\n %sv_1.0.ph36.reload = load i32, i32* %sv_1.0.ph36.reg2mem\n %sv_0.0.ph37.reload = load i64, i64* %sv_0.0.ph37.reg2mem\n %sv_2.0.ph38.reload = load i32, i32* %sv_2.0.ph38.reg2mem\n %sv_3.0.ph39.reload = load i32, i32* %sv_3.0.ph39.reg2mem\n store i32 %sv_3.0.ph39.reload, i32* %sv_3.0.ph731.reg2mem\n store i32 %sv_2.0.ph38.reload, i32* %sv_2.0.ph630.reg2mem\n store i64 %sv_0.0.ph37.reload, i64* %sv_0.0.ph529.reg2mem\n br label LBL_4.lr.ph\n LBL_17:\n %sv_0.0.ph529.reload = load i64, i64* %sv_0.0.ph529.reg2mem\n %sv_2.0.ph630.reload = load i32, i32* %sv_2.0.ph630.reg2mem\n %sv_3.0.ph731.reload = load i32, i32* %sv_3.0.ph731.reg2mem\n store i32 %sv_2.0.ph630.reload, i32* %sv_2.025.reg2mem\n store i64 %sv_0.0.ph529.reload, i64* %sv_0.024.reg2mem\n br label LBL_4\n LBL_18:\n %sv_1.0.ph.lcssa.reload = load i32, i32* %sv_1.0.ph.lcssa.reg2mem\n %109 = icmp eq i64* %arg3, null\n br i1 %109, label LBL_20, label LBL_19\n LBL_19:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %arg3, align 8\n br label LBL_20\n LBL_20:\n %110 = icmp eq i64* %arg4, null\n %.pre = sext i32 %sv_1.0.ph.lcssa.reload to i64\n br i1 %110, label LBL_22, label LBL_21\n LBL_21:\n store i64 %.pre, i64* %arg4, align 8\n br label LBL_22\n LBL_22:\n %111 = add i64 %.pre, %9\n %112 = inttoptr i64 %111 to i8*\n store i8 0, i8* %112, align 1\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_23\n LBL_23:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_1.0.ph36.reload, { 0, 1, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 }\n uselistorder i32 %29, { 0, 2, 1 }\n uselistorder i16 %16, { 1, 2, 4, 3, 5, 6, 0, 7, 8 }\n uselistorder i64 %12, { 0, 4, 6, 2, 5, 8, 1, 3, 7 }\n uselistorder i32 %sv_2.025.reload, { 0, 1, 2, 4, 3 }\n uselistorder i64 %sv_0.024.reload, { 1, 0 }\n uselistorder i32* %sv_2.025.reg2mem, { 2, 1, 0 }\n uselistorder i64* %sv_0.024.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_3.0.ph731.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.0.ph630.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph529.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_1.0.ph.lcssa.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 1, 3, 2, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 0, { 3, 4, 5, 6, 1, 2, 0 }\n uselistorder i32 4, { 1, 2, 0 }\n uselistorder i1 false, { 1, 2, 0 }\n uselistorder i64 %arg2, { 1, 3, 2, 0, 6, 5, 4 }\n uselistorder label LBL_23, { 2, 1, 0 }\n uselistorder label LBL_22, { 1, 0 }\n uselistorder label LBL_18, { 0, 2, 1, 3 }\n uselistorder label LBL_4.lr.ph.lr.ph, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bdrv_flush_all_16528", "fun_name": "bdrv_flush_all", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_0.14.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i64\n %storemerge3 = load i64, i64* @gv_0, align 8\n %0 = icmp eq i64 %storemerge3, 0\n %1 = icmp eq i1 %0, false\n store i64 %storemerge3, i64* %storemerge5.reg2mem\n store i32 0, i32* %sv_0.14.reg2mem\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %2 = call i64 @FUNC(i64 %storemerge5.reload)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i32 %sv_0.14.reload, 0\n %6 = icmp eq i1 %5, %4\n %sv_0.0 = select i1 %6, i32 %3, i32 %sv_0.14.reload\n %7 = inttoptr i64 %storemerge5.reload to i64*\n %storemerge = load i64, i64* %7, align 8\n %8 = icmp eq i64 %storemerge, 0\n %9 = icmp eq i1 %8, false\n store i64 %storemerge, i64* %storemerge5.reg2mem\n store i32 %sv_0.0, i32* %sv_0.14.reg2mem\n br i1 %9, label LBL_1, label LBL_2\n LBL_2:\n %phitmp = zext i32 %sv_0.0 to i64\n store i64 %phitmp, i64* %sv_0.1.lcssa.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n ret i64 %sv_0.1.lcssa.reload\n\n uselistorder i32 %sv_0.0, { 1, 0 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pv_shim_inject_evtchn_7167", "fun_name": "pv_shim_inject_evtchn", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* @gv_0, align 8\n %3 = and i64 %arg1, 4294967295\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = load i64, i64* @gv_0, align 8\n %8 = call i64 @FUNC(i64 %7, i64 %3)\n %9 = add i64 %8, 4\n %10 = call i64 @FUNC(i64 %9, i64 %1)\n %11 = inttoptr i64 %8 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = load i64, i64* @gv_0, align 8\n %14 = zext i32 %12 to i64\n %15 = call i64 @FUNC(i64 %13, i64 %14, i64 %8)\n %16 = call i64 @FUNC(i64 %9, i64 %1)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lance_init_1031", "fun_name": "lance_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull @gv_0, i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 4)\n %2 = load i64, i64* @gv_2, align 8\n %3 = call i64 @FUNC(i64 %0, i64 %2, i64 1)\n %4 = call i64 @FUNC(i64 %0, i64 %0)\n %5 = add i64 %0, 8\n %6 = call i64 @FUNC(i64 %0, i64 %5)\n %7 = load i64, i64* @gv_3, align 8\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = load i64, i64* @gv_4, align 8\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i64*\n store i64 %10, i64* %12, align 8\n %13 = call i64 @FUNC(i64 %0, i64 %0, i64* nonnull @gv_5)\n ret i64 0\n\n uselistorder i64 %0, { 10, 11, 9, 8, 0, 7, 6, 1, 5, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "idr_17392", "fun_name": "idr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %2, align 4\n %3 = add i64 %0, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 0, i32* %4, align 4\n %5 = add i64 %0, 12\n %6 = inttoptr i64 %5 to i32*\n store i32 0, i32* %6, align 4\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i32*\n store i32 0, i32* %8, align 4\n %9 = add i64 %0, 16\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %10 = mul i64 %indvars.iv.reload, 4\n %11 = add i64 %9, %10\n %12 = inttoptr i64 %11 to i32*\n store i32 -2147483648, i32* %12, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_netdev_1012", "fun_name": "parse_netdev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i32\n %0 = ptrtoint i8* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 0, i64 10)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967294, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = icmp slt i32 %2, 11\n store i64 4294967289, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_9\n LBL_2:\n %6 = ptrtoint i64* %arg3 to i64\n %7 = icmp sgt i32 %2, 0\n br i1 %7, label LBL_3, label LBL_8\n LBL_3:\n %8 = ptrtoint i64* %sv_1 to i64\n %9 = add i64 %8, -128\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %10 = sext i32 %storemerge12.reload to i64\n %11 = mul i64 %10, 8\n %12 = add i64 %9, %11\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967294, i64* %storemerge.reg2mem\n br i1 %16, label LBL_5, label LBL_9\n LBL_5:\n %17 = inttoptr i64 %14 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n store i64 4294967279, i64* %storemerge.reg2mem\n br i1 %19, label LBL_6, label LBL_9\n LBL_6:\n %20 = add i64 %11, %6\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %23, label LBL_7, label LBL_9\n LBL_7:\n store i64 %14, i64* %21, align 8\n %24 = add i64 %14, 8\n %25 = inttoptr i64 %24 to i32*\n store i32 %storemerge12.reload, i32* %25, align 4\n %26 = add nuw i32 %storemerge12.reload, 1\n %27 = icmp slt i32 %26, %2\n store i32 %26, i32* %storemerge12.reg2mem\n br i1 %27, label LBL_4, label LBL_8\n LBL_8:\n %28 = add i64 %6, 8\n %29 = inttoptr i64 %28 to i32*\n store i32 %2, i32* %29, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32 %2, { 2, 1, 0, 3, 4 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64 8, { 2, 1, 0 }\n uselistorder label LBL_9, { 5, 2, 1, 0, 4, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fdctrl_connect_drives_217", "fun_name": "fdctrl_connect_drives", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %1 = mul i64 %indvars.iv.reload, 16\n %2 = add i64 %1, %0\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = inttoptr i64 %2 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i64 %6, 0\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %6, i64 0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %12 = load i64, i64* %5, align 8\n %13 = call i64 @FUNC(i64 %12, i64 1)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 1\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n %16 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %17 = call i64 @FUNC(i64 %2)\n %18 = call i64 @FUNC(i64 %2, i64 0)\n %19 = load i64, i64* %5, align 8\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC(i64 %19, i64* nonnull @gv_2, i64 %2)\n br label LBL_8\n LBL_8:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %22 = icmp ult i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %22, label LBL_1, label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %5, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 (i8*)* @error_report, { 1, 0 }\n uselistorder i64 (i64, i64)* @bdrv_get_on_error, { 1, 0 }\n uselistorder i64 0, { 0, 12, 8, 2, 3, 4, 5, 9, 13, 1, 6, 7, 10, 11 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zend_exception_set_previous_6224", "fun_name": "zend_exception_set_previous", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64 %arg1, %arg2\n %3 = icmp eq i64 %arg2, 0\n %or.cond = or i1 %2, %3\n %4 = icmp eq i64 %arg1, 0\n %or.cond3 = or i1 %4, %or.cond\n store i64 %arg1, i64* %rax.1.reg2mem\n br i1 %or.cond3, label LBL_9, label LBL_1\n LBL_1:\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 1\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = add i64 %arg2, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %arg1, i64* %sv_0.04.reg2mem\n br label LBL_7\n LBL_3:\n %9 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %10 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %9, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0))\n %11 = sext i32 %10 to i64\n store i64 %11, i64* %rax.1.reg2mem\n br label LBL_9\n LBL_4:\n %12 = inttoptr i64 %21 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_6, label LBL_5\n LBL_5:\n store i64 %arg2, i64* %20, align 8\n %16 = call i64 @FUNC(i64 %arg2)\n store i64 %16, i64* %rax.1.reg2mem\n br label LBL_9\n LBL_6:\n %17 = icmp eq i64 %21, 0\n store i64 %21, i64* %sv_0.04.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %17, label LBL_9, label LBL_7\n LBL_7:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %18 = icmp eq i64 %sv_0.04.reload, %arg2\n store i64 %arg2, i64* %rax.1.reg2mem\n br i1 %18, label LBL_9, label LBL_8\n LBL_8:\n %19 = add i64 %sv_0.04.reload, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = load i64, i64* %8, align 8\n %23 = icmp eq i64 %21, %22\n %24 = icmp eq i1 %23, false\n store i64 %22, i64* %rax.1.reg2mem\n br i1 %24, label LBL_4, label LBL_9\n LBL_9:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %21, { 3, 2, 1, 0 }\n uselistorder i64* %20, { 1, 0 }\n uselistorder i64* %rax.1.reg2mem, { 0, 3, 2, 1, 5, 4, 6 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 %arg2, { 0, 3, 1, 2, 4, 5, 6 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n uselistorder label LBL_9, { 2, 1, 0, 4, 5, 3 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_server_caps_8557", "fun_name": "decode_server_caps", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n store i64 0, i64* %sv_3, align 8\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i32 %5, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_8, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %12 = ptrtoint i32* %sv_1 to i64\n %13 = bitcast i32* %sv_1 to i64*\n %14 = call i64 @FUNC(i64 %3, i64* nonnull %13, i64* nonnull %sv_2)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i32 %15, i32* %sv_0.0.reg2mem\n store i64 %12, i64* %rcx.0.reg2mem\n br i1 %17, label LBL_8, label LBL_3\n LBL_3:\n %18 = ptrtoint i64* %arg2 to i64\n %19 = ptrtoint i64* %sv_3 to i64\n %20 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %18)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 %21, i32* %sv_0.0.reg2mem\n store i64 %19, i64* %rcx.0.reg2mem\n br i1 %23, label LBL_8, label LBL_4\n LBL_4:\n %24 = add i64 %18, 8\n %25 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i32 %26, i32* %sv_0.0.reg2mem\n store i64 %19, i64* %rcx.0.reg2mem\n br i1 %28, label LBL_8, label LBL_5\n LBL_5:\n %29 = add i64 %18, 12\n %30 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %29)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i32 %31, i32* %sv_0.0.reg2mem\n store i64 %19, i64* %rcx.0.reg2mem\n br i1 %33, label LBL_8, label LBL_6\n LBL_6:\n %34 = add i64 %18, 16\n %35 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n store i32 %36, i32* %sv_0.0.reg2mem\n store i64 %19, i64* %rcx.0.reg2mem\n br i1 %38, label LBL_8, label LBL_7\n LBL_7:\n %39 = load i32, i32* %sv_1, align 4\n %40 = zext i32 %39 to i64\n %41 = load i64, i64* %sv_2, align 8\n %42 = call i64 @FUNC(i64 %3, i64 %41, i64 %40)\n %43 = trunc i64 %42 to i32\n store i32 %43, i32* %sv_0.0.reg2mem\n store i64 %41, i64* %rcx.0.reg2mem\n br label LBL_8\n LBL_8:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %44 = sub i32 0, %sv_0.0.reload\n %45 = zext i32 %44 to i64\n %46 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %45, i64 %rcx.0.reload, i64 %2, i64 %1)\n %47 = zext i32 %sv_0.0.reload to i64\n ret i64 %47\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 2, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder label LBL_8, { 7, 0, 1, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SVGStripString_5598", "fun_name": "SVGStripString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.in.reg2mem = alloca i8\n %storemerge13.reg2mem = alloca i64\n %.reg2mem51 = alloca i8*\n %.reg2mem49 = alloca i8\n %r12.1.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %r12.0.lcssa.reg2mem = alloca i64\n %rbx.2.reg2mem = alloca i64\n %rbx.1.reg2mem = alloca i64\n %.reg2mem47 = alloca i8\n %rbx.014.reg2mem = alloca i64\n %.reg2mem45 = alloca i8\n %r12.017.reg2mem = alloca i64\n %storemerge419.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg2, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i32 17, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %4, 0\n store i8 0, i8* %rax.0.in.reg2mem\n br i1 %5, label LBL_24, label LBL_3\n LBL_3:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = bitcast i64* %arg2 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n store i8 %8, i8* %.reg2mem\n store i64 %6, i64* %storemerge419.reg2mem\n store i64 %6, i64* %r12.017.reg2mem\n store i64 %6, i64* %r12.0.lcssa.reg2mem\n br i1 %10, label LBL_4, label LBL_12\n LBL_4:\n %r12.017.reload = load i64, i64* %r12.017.reg2mem\n %storemerge419.reload = load i64, i64* %storemerge419.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %11 = icmp eq i8 %.reload, 47\n %12 = icmp eq i1 %11, false\n store i64 %storemerge419.reload, i64* %rbx.2.reg2mem\n br i1 %12, label LBL_11, label LBL_5\n LBL_5:\n %13 = add i64 %storemerge419.reload, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 42\n %17 = icmp eq i1 %16, false\n store i64 %storemerge419.reload, i64* %rbx.2.reg2mem\n br i1 %17, label LBL_11, label LBL_6\n LBL_6:\n %18 = inttoptr i64 %storemerge419.reload to i8*\n %19 = load i8, i8* %18, align 1\n %20 = icmp eq i8 %19, 0\n %21 = icmp eq i1 %20, false\n store i8 %19, i8* %.reg2mem45\n store i64 %storemerge419.reload, i64* %rbx.014.reg2mem\n store i8 %19, i8* %.reg2mem47\n store i64 %storemerge419.reload, i64* %rbx.1.reg2mem\n br i1 %21, label LBL_7, label LBL_10\n LBL_7:\n %rbx.014.reload = load i64, i64* %rbx.014.reg2mem\n %.reload46 = load i8, i8* %.reg2mem45\n %22 = icmp eq i8 %.reload46, 42\n %.pre = add i64 %rbx.014.reload, 1\n %.pre30 = inttoptr i64 %.pre to i8*\n %.pre42 = load i8, i8* %.pre30, align 1\n %23 = icmp eq i8 %.pre42, 47\n %24 = icmp eq i1 %22, %23\n br i1 %24, label LBL_8, label LBL_9\n LBL_8:\n %25 = add i64 %rbx.014.reload, 2\n %.phi.trans.insert = inttoptr i64 %25 to i8*\n %.pre43 = load i8, i8* %.phi.trans.insert, align 1\n store i8 %.pre43, i8* %.reg2mem47\n store i64 %25, i64* %rbx.1.reg2mem\n br label LBL_10\n LBL_9:\n %26 = icmp eq i8 %.pre42, 0\n %27 = icmp eq i1 %26, false\n store i8 %.pre42, i8* %.reg2mem45\n store i64 %.pre, i64* %rbx.014.reg2mem\n store i8 %.pre42, i8* %.reg2mem47\n store i64 %.pre, i64* %rbx.1.reg2mem\n br i1 %27, label LBL_7, label LBL_10\n LBL_10:\n %rbx.1.reload = load i64, i64* %rbx.1.reg2mem\n %.reload48 = load i8, i8* %.reg2mem47\n %28 = icmp eq i8 %.reload48, 0\n store i64 %rbx.1.reload, i64* %rbx.2.reg2mem\n store i64 %r12.017.reload, i64* %r12.0.lcssa.reg2mem\n br i1 %28, label LBL_12, label LBL_11\n LBL_11:\n %rbx.2.reload = load i64, i64* %rbx.2.reg2mem\n %29 = add i64 %r12.017.reload, 1\n %30 = inttoptr i64 %rbx.2.reload to i8*\n %31 = load i8, i8* %30, align 1\n %32 = inttoptr i64 %r12.017.reload to i8*\n store i8 %31, i8* %32, align 1\n %33 = add i64 %rbx.2.reload, 1\n %34 = inttoptr i64 %33 to i8*\n %35 = load i8, i8* %34, align 1\n %36 = icmp eq i8 %35, 0\n %37 = icmp eq i1 %36, false\n store i8 %35, i8* %.reg2mem\n store i64 %33, i64* %storemerge419.reg2mem\n store i64 %29, i64* %r12.017.reg2mem\n store i64 %29, i64* %r12.0.lcssa.reg2mem\n br i1 %37, label LBL_4, label LBL_12\n LBL_12:\n %r12.0.lcssa.reload = load i64, i64* %r12.0.lcssa.reg2mem\n %38 = inttoptr i64 %r12.0.lcssa.reload to i8*\n store i8 0, i8* %38, align 1\n %39 = trunc i64 %arg1 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_20, label LBL_13\n LBL_13:\n %41 = call i32 @strlen(i8* %7)\n store i64 %6, i64* %storemerge3.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %42 = call i16** @__ctype_b_loc()\n %43 = load i16*, i16** %42, align 8\n %44 = ptrtoint i16* %43 to i64\n %45 = inttoptr i64 %storemerge3.reload to i8*\n %46 = load i8, i8* %45, align 1\n %47 = zext i8 %46 to i64\n %48 = mul i64 %47, 2\n %49 = add i64 %48, %44\n %50 = inttoptr i64 %49 to i16*\n %51 = load i16, i16* %50, align 2\n %52 = and i16 %51, 8192\n %53 = icmp eq i16 %52, 0\n %54 = icmp eq i1 %53, false\n %55 = add i64 %storemerge3.reload, 1\n store i64 %55, i64* %storemerge3.reg2mem\n br i1 %54, label LBL_14, label LBL_15\n LBL_15:\n %56 = sext i32 %41 to i64\n %57 = icmp eq i8 %46, 39\n %58 = icmp eq i8 %46, 34\n %not.or.cond = or i1 %58, %57\n %59 = zext i1 %not.or.cond to i64\n %rbx.3 = add i64 %storemerge3.reload, %59\n %60 = add i64 %6, -1\n %61 = add i64 %60, %56\n store i64 %61, i64* %storemerge2.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %62 = call i16** @__ctype_b_loc()\n %63 = load i16*, i16** %62, align 8\n %64 = ptrtoint i16* %63 to i64\n %65 = inttoptr i64 %storemerge2.reload to i8*\n %66 = load i8, i8* %65, align 1\n %67 = zext i8 %66 to i64\n %68 = mul i64 %67, 2\n %69 = add i64 %68, %64\n %70 = inttoptr i64 %69 to i16*\n %71 = load i16, i16* %70, align 2\n %72 = and i16 %71, 8192\n %73 = icmp ne i16 %72, 0\n %74 = icmp ugt i64 %storemerge2.reload, %rbx.3\n %or.cond6 = icmp eq i1 %74, %73\n %75 = add i64 %storemerge2.reload, -1\n store i64 %75, i64* %storemerge2.reg2mem\n br i1 %or.cond6, label LBL_16, label LBL_17\n LBL_17:\n store i64 %storemerge2.reload, i64* %r12.1.reg2mem\n br i1 %74, label LBL_18, label LBL_19\n LBL_18:\n %76 = icmp eq i8 %66, 39\n %77 = icmp eq i8 %66, 34\n %not.or.cond8 = or i1 %77, %76\n %78 = sext i1 %not.or.cond8 to i64\n %spec.select = add i64 %storemerge2.reload, %78\n store i64 %spec.select, i64* %r12.1.reg2mem\n br label LBL_19\n LBL_19:\n %r12.1.reload = load i64, i64* %r12.1.reg2mem\n %79 = sub i64 %r12.1.reload, %rbx.3\n %80 = inttoptr i64 %rbx.3 to i64*\n %81 = trunc i64 %79 to i32\n %82 = add i32 %81, 1\n %83 = call i64* @memmove(i64* %arg2, i64* %80, i32 %82)\n %84 = add i64 %6, 1\n %85 = add i64 %84, %79\n %86 = inttoptr i64 %85 to i8*\n store i8 0, i8* %86, align 1\n br label LBL_20\n LBL_20:\n %87 = load i8, i8* %7, align 1\n %88 = icmp eq i8 %87, 0\n %89 = icmp eq i1 %88, false\n store i8 %87, i8* %.reg2mem49\n store i8* %7, i8** %.reg2mem51\n store i64 %6, i64* %storemerge13.reg2mem\n store i8 %87, i8* %rax.0.in.reg2mem\n br i1 %89, label LBL_21, label LBL_24\n LBL_21:\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %.reload50 = load i8, i8* %.reg2mem49\n %90 = icmp eq i8 %.reload50, 10\n %91 = icmp eq i1 %90, false\n br i1 %91, label LBL_23, label LBL_22\n LBL_22:\n %.reload52 = load i8*, i8** %.reg2mem51\n store i8 32, i8* %.reload52, align 1\n br label LBL_23\n LBL_23:\n %92 = add i64 %storemerge13.reload, 1\n %93 = inttoptr i64 %92 to i8*\n %94 = load i8, i8* %93, align 1\n %95 = icmp eq i8 %94, 0\n %96 = icmp eq i1 %95, false\n store i8 %94, i8* %.reg2mem49\n store i8* %93, i8** %.reg2mem51\n store i64 %92, i64* %storemerge13.reg2mem\n store i8 %94, i8* %rax.0.in.reg2mem\n br i1 %96, label LBL_21, label LBL_24\n LBL_24:\n %rax.0.in.reload = load i8, i8* %rax.0.in.reg2mem\n %rax.0 = zext i8 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i1 %74, { 1, 0 }\n uselistorder i8 %66, { 1, 0, 2 }\n uselistorder i64 %storemerge2.reload, { 4, 0, 2, 3, 1 }\n uselistorder i64 %rbx.3, { 1, 0, 2 }\n uselistorder i64 %storemerge3.reload, { 2, 0, 1 }\n uselistorder i64 %rbx.2.reload, { 1, 0 }\n uselistorder i64 %rbx.014.reload, { 1, 0 }\n uselistorder i64 %storemerge419.reload, { 2, 3, 4, 0, 5, 1 }\n uselistorder i64 %r12.017.reload, { 2, 1, 0 }\n uselistorder i64 %6, { 0, 5, 6, 1, 2, 3, 4 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge419.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r12.017.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem45, { 2, 0, 1 }\n uselistorder i64* %rbx.014.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem47, { 0, 1, 3, 2 }\n uselistorder i64* %rbx.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %r12.0.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem49, { 2, 0, 1 }\n uselistorder i8** %.reg2mem51, { 2, 0, 1 }\n uselistorder i64* %storemerge13.reg2mem, { 2, 0, 1 }\n uselistorder i16** ()* @__ctype_b_loc, { 1, 0 }\n uselistorder i8 0, { 5, 3, 6, 7, 10, 8, 9, 2, 1, 0, 11, 4 }\n uselistorder i1 false, { 4, 3, 2, 5, 9, 6, 1, 7, 8, 0, 10 }\n uselistorder i64* %arg2, { 1, 0, 3, 2 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_10, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "new_tree_content_7922", "fun_name": "new_tree_content", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.2.reg2mem = alloca i32*\n %.pre-phi.reg2mem = alloca i64\n %sv_0.11617.reg2mem = alloca i32*\n %.reg2mem24 = alloca i64\n %.reg2mem22 = alloca i64\n %sv_0.116.reg2mem = alloca i32*\n %.reg2mem20 = alloca i32*\n %.reg2mem18 = alloca i32*\n %sv_0.1.reg2mem = alloca i32*\n %.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %1)\n %3 = load i64, i64* @gv_0, align 8\n %4 = mul i64 %2, 8\n %5 = and i64 %4, 34359738360\n %6 = add i64 %5, %3\n %storemerge4.in.in6 = inttoptr i64 %6 to i64*\n %storemerge4.in7 = load i64, i64* %storemerge4.in.in6, align 8\n %storemerge48 = inttoptr i64 %storemerge4.in7 to i32*\n %7 = icmp eq i64 %storemerge4.in7, 0\n %8 = icmp eq i1 %7, false\n store i32* %storemerge48, i32** %sv_0.1.reg2mem\n store i32* null, i32** %.reg2mem18\n br i1 %8, label LBL_1, label LBL_7\n LBL_1:\n %9 = trunc i64 %0 to i32\n %10 = load i32, i32* %storemerge48, align 4\n %11 = icmp ult i32 %10, %9\n store i64 %storemerge4.in7, i64* %.reg2mem\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = add i64 %storemerge4.in7, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n store i64 %14, i64* %.reg2mem22\n store i64 %storemerge4.in7, i64* %.reg2mem24\n store i32* %storemerge48, i32** %sv_0.11617.reg2mem\n br label LBL_10\n LBL_3:\n %15 = load i32, i32* %storemerge4, align 4\n %16 = icmp ult i32 %15, %9\n store i64 %storemerge4.in, i64* %.reg2mem\n br i1 %16, label LBL_4, label LBL_3.LBL_7.loopexit_crit_edge\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %17 = add i64 %.reload, 8\n %storemerge4.in.in = inttoptr i64 %17 to i64*\n %storemerge4.in = load i64, i64* %storemerge4.in.in, align 8\n %storemerge4 = inttoptr i64 %storemerge4.in to i32*\n %18 = icmp eq i64 %storemerge4.in, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_4.LBL_7.loopexit_crit_edge\n LBL_5:\n %20 = inttoptr i64 %.reload to i32*\n store i32* %20, i32** %.reg2mem20\n store i32* %storemerge4, i32** %sv_0.116.reg2mem\n br label LBL_8\n LBL_6:\n %21 = inttoptr i64 %.reload to i32*\n store i32* %storemerge4, i32** %sv_0.1.reg2mem\n store i32* %21, i32** %.reg2mem18\n br label LBL_7\n LBL_7:\n %.reload19 = load i32*, i32** %.reg2mem18\n %sv_0.1.reload = load i32*, i32** %sv_0.1.reg2mem\n %22 = icmp eq i32* %sv_0.1.reload, null\n store i32* %.reload19, i32** %.reg2mem20\n store i32* %sv_0.1.reload, i32** %sv_0.116.reg2mem\n br i1 %22, label LBL_11, label LBL_8\n LBL_8:\n %sv_0.116.reload = load i32*, i32** %sv_0.116.reg2mem\n %.reload21 = load i32*, i32** %.reg2mem20\n %23 = icmp eq i32* %.reload21, null\n %24 = ptrtoint i32* %sv_0.116.reload to i64\n %25 = add i64 %24, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n store i64 %27, i64* %.reg2mem22\n store i64 %24, i64* %.reg2mem24\n store i32* %sv_0.116.reload, i32** %sv_0.11617.reg2mem\n br i1 %23, label LBL_10, label LBL_9\n LBL_9:\n %28 = ptrtoint i32* %.reload21 to i64\n %29 = add i64 %28, 8\n %30 = inttoptr i64 %29 to i64*\n store i64 %27, i64* %30, align 8\n store i64 %24, i64* %.pre-phi.reg2mem\n store i32* %sv_0.116.reload, i32** %sv_0.2.reg2mem\n br label LBL_12\n LBL_10:\n %sv_0.11617.reload = load i32*, i32** %sv_0.11617.reg2mem\n %.reload25 = load i64, i64* %.reg2mem24\n %.reload23 = load i64, i64* %.reg2mem22\n store i64 %.reload23, i64* %storemerge4.in.in6, align 8\n store i64 %.reload25, i64* %.pre-phi.reg2mem\n store i32* %sv_0.11617.reload, i32** %sv_0.2.reg2mem\n br label LBL_12\n LBL_11:\n %31 = urem i64 %arg1, 8\n %32 = icmp eq i64 %31, 0\n %33 = and i64 %0, 4294967295\n %34 = add nsw i64 %0, 8\n %35 = and i64 %34, 4294967288\n %storemerge = select i1 %32, i64 %33, i64 %35\n %36 = trunc i64 %storemerge to i32\n %37 = mul i64 %storemerge, 8\n %38 = add nuw nsw i64 %37, 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = inttoptr i64 %39 to i32*\n store i32 %36, i32* %40, align 4\n store i64 %39, i64* %.pre-phi.reg2mem\n store i32* %40, i32** %sv_0.2.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.2.reload = load i32*, i32** %sv_0.2.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n store i32 0, i32* %sv_0.2.reload, align 4\n %41 = add i64 %.pre-phi.reload, 4\n %42 = inttoptr i64 %41 to i32*\n store i32 0, i32* %42, align 4\n ret i64 %.pre-phi.reload\n\n uselistorder i64 %.pre-phi.reload, { 1, 0 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i32* %.reload21, { 1, 0 }\n uselistorder i32* %storemerge4, { 1, 0, 2 }\n uselistorder i64 %storemerge4.in, { 1, 2, 0 }\n uselistorder i64 %.reload, { 1, 2, 0 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32* %storemerge48, { 0, 2, 1 }\n uselistorder i64 %storemerge4.in7, { 0, 2, 1, 3, 4 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32** %.reg2mem20, { 0, 2, 1 }\n uselistorder i32** %sv_0.116.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32** %sv_0.2.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* null, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 8, { 4, 0, 5, 2, 7, 6, 8, 3, 1 }\n uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fw_cfg_add_bytes_14089", "fun_name": "fw_cfg_add_bytes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg4, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = urem i64 %arg2, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = urem i64 %arg2, 256\n %6 = zext i1 %4 to i64\n %7 = mul i64 %6, 256\n %8 = or i64 %7, %5\n %9 = mul i64 %8, 16\n %10 = add i64 %9, %0\n %11 = ptrtoint i32* %arg3 to i64\n %12 = inttoptr i64 %10 to i64*\n store i64 %11, i64* %12, align 8\n %13 = add i64 %10, 8\n %14 = and i64 %1, 4294967295\n %15 = trunc i64 %1 to i32\n %16 = inttoptr i64 %13 to i32*\n store i32 %15, i32* %16, align 4\n ret i64 %14\n\n uselistorder i64 %1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_vrm_4148", "fun_name": "set_vrm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %arg3, i64 10, i64* nonnull %sv_0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %2, 4294967296\n %5 = ashr exact i64 %sext, 32\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_2:\n %6 = load i64, i64* %sv_0, align 8\n %7 = icmp ult i64 %6, 256\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_4\n LBL_3:\n %8 = inttoptr i64 %1 to i64*\n store i64 %6, i64* %8, align 8\n store i64 %arg4, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "acpi_db_walk_for_execute_3831", "fun_name": "acpi_db_walk_for_execute", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %.reg2mem9 = alloca i32*\n %.reg2mem7 = alloca i32\n %.reg2mem = alloca i32*\n %.pre.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rdx = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32*, align 8\n %sv_4 = alloca i64, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %7, label LBL_1, label LBL_11\n LBL_1:\n %8 = add i64 %4, 32\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %12, label LBL_2, label LBL_11\n LBL_2:\n %13 = call i64 @FUNC(i64 %4)\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %15, label LBL_3, label LBL_11\n LBL_3:\n %16 = bitcast i32** %sv_3 to i64*\n %17 = call i64 @FUNC(i64 %4, i64* nonnull %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %13)\n store i64 %17, i64* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_5:\n %21 = trunc i64 %3 to i32\n store i64 0, i64* %sv_2, align 8\n %22 = load i32*, i32** %sv_3, align 8\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 1\n %25 = icmp eq i1 %24, false\n store i32 %21, i32* %.reg2mem7\n store i32* %22, i32** %.reg2mem9\n br i1 %25, label LBL_10, label LBL_6\n LBL_6:\n %26 = ptrtoint i64* %sv_4 to i64\n %27 = ptrtoint i32* %22 to i64\n %28 = add i64 %27, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 %21, i32* %.pre.reg2mem\n store i32* %22, i32** %.reg2mem\n br i1 %31, label LBL_9, label LBL_7\n LBL_7:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %32 = mul i64 %indvars.iv.reload, 8\n %33 = add i64 %32, %26\n %34 = add i64 %33, -176\n %35 = inttoptr i64 %34 to i32*\n store i32 2, i32* %35, align 8\n %36 = add i64 %33, -172\n %37 = inttoptr i64 %36 to i32*\n store i32 1, i32* %37, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %38 = load i32*, i32** %sv_3, align 8\n %39 = ptrtoint i32* %38 to i64\n %40 = add i64 %39, 4\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = zext i32 %42 to i64\n %44 = icmp ult i64 %indvars.iv.next, %43\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %44, label LBL_7, label LBL_8\n LBL_8:\n %.phi.trans.insert.phi.trans.insert = bitcast i64* %rdx to i32*\n %.pre.pre = load i32, i32* %.phi.trans.insert.phi.trans.insert, align 8\n store i32 %.pre.pre, i32* %.pre.reg2mem\n store i32* %38, i32** %.reg2mem\n br label LBL_9\n LBL_9:\n %.reload = load i32*, i32** %.reg2mem\n %.pre.reload = load i32, i32* %.pre.reg2mem\n %45 = ptrtoint i64* %sv_1 to i64\n store i64 %45, i64* %sv_2, align 8\n store i32 %.pre.reload, i32* %.reg2mem7\n store i32* %.reload, i32** %.reg2mem9\n br label LBL_10\n LBL_10:\n %.reload10 = load i32*, i32** %.reg2mem9\n %.reload8 = load i32, i32* %.reg2mem7\n %46 = ptrtoint i32* %.reload10 to i64\n %47 = call i64 @FUNC(i64 %46)\n store i64 0, i64* %sv_0, align 8\n store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %48 = ptrtoint i64* %sv_0 to i64\n %49 = call i64 @FUNC(i64 %4, i64 0, i64* nonnull %sv_2, i64* nonnull %sv_0)\n %50 = and i64 %49, 4294967295\n %51 = call i64 @FUNC(i64 %50)\n %52 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %13, i64 %51, i64 %48, i64 %2, i64 %1)\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %53 = call i64 @FUNC(i64 %13)\n %54 = add i32 %.reload8, 1\n store i32 %54, i32* %arg3, align 4\n %55 = ptrtoint i32* %arg3 to i64\n %56 = add i64 %55, 4\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = icmp uge i32 %.reload8, %58\n %spec.select = zext i1 %59 to i64\n store i64 %spec.select, i64* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32* %22, { 1, 2, 0, 3 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64 %13, { 2, 1, 0, 3 }\n uselistorder i32** %sv_3, { 1, 0, 2 }\n uselistorder i64 %4, { 0, 1, 3, 2, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.pre.reg2mem, { 0, 2, 1 }\n uselistorder i32** %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem7, { 0, 2, 1 }\n uselistorder i32** %.reg2mem9, { 0, 2, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 4, 1, 2, 3 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 4, { 1, 2, 0, 3 }\n uselistorder i64 (i64)* @ACPI_FREE, { 2, 1, 0 }\n uselistorder i32* %arg3, { 1, 0 }\n uselistorder label LBL_11, { 3, 4, 0, 1, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_timer_on_6804", "fun_name": "add_timer_on", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i64* %arg1, null\n %5 = icmp eq i1 %4, false\n %or.cond = icmp eq i1 %5, %3\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %7 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_1 to i64*), i32 1, i32 14, %_IO_FILE* %6)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %8 = ashr exact i64 %sext, 32\n %9 = add i64 %0, 16\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = and i64 %8, 4294967295\n %13 = zext i32 %11 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %16 = icmp eq i64 %15, %14\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = load i32, i32* %10, align 4\n %18 = or i32 %17, 1\n store i32 %18, i32* %10, align 4\n %19 = call i64 @FUNC(i64 %15)\n %20 = call i64 @FUNC(i64 %14)\n %21 = load i32, i32* %10, align 4\n %22 = and i32 %21, -256\n %23 = trunc i64 %8 to i32\n %24 = or i32 %22, %23\n store i32 %24, i32* %10, align 4\n br label LBL_4\n LBL_4:\n %25 = add i64 %0, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %0, i64 %27)\n %29 = call i64 @FUNC(i64 %14, i64 %0)\n %30 = load i64, i64* %sv_0, align 8\n %31 = call i64 @FUNC(i64 %14, i64 %30)\n ret i64 %31\n\n uselistorder i32* %10, { 1, 0, 3, 2, 4 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sorecvoob_2894", "fun_name": "sorecvoob", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0))\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i64 %2)\n %6 = call i64 @FUNC(i64 %2)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 1\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = trunc i64 %1 to i32\n %10 = inttoptr i64 %3 to i32*\n %11 = add i64 %3, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, %9\n store i32 %14, i32* %10, align 4\n %15 = add i64 %3, 8\n %16 = inttoptr i64 %15 to i32*\n store i32 1, i32* %16, align 4\n %17 = call i64 @FUNC(i64 %3)\n store i32 0, i32* %16, align 4\n br label LBL_2\n LBL_2:\n %18 = and i64 %6, 4294967295\n ret i64 %18\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spr_read_tbl_1113", "fun_name": "spr_read_tbl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %5 = load i64, i64* @gv_0, align 8\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %6, ptrtoint (i64* @gv_1 to i64)\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9, i64 %5)\n %11 = call i64 @FUNC(i64 %9)\n %12 = urem i64 %11, 2\n %13 = icmp eq i64 %12, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC()\n %15 = call i64 @FUNC(i64 %0)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @tb_cflags, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_virtio_dev_3112", "fun_name": "init_virtio_dev", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0)\n store i64 %0, i64* %arg1, align 8\n %1 = call i64 @FUNC(i64 0)\n %2 = call i64 @FUNC(i64 0, i64 1)\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %2)\n %6 = call i64 @FUNC(i64 %2)\n %7 = call i64 @FUNC(i64 %2)\n %8 = call i64 @FUNC(i64 %2)\n %9 = urem i64 %8, 2\n %10 = call i64 @FUNC(i64 %2, i64 %9)\n %11 = call i64 @FUNC(i64 %2)\n %12 = call i64 @FUNC(i64 %2)\n ret i64 %12\n\n uselistorder i64 (i64)* @g_assert_nonnull, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_ctl_remove_10720", "fun_name": "snd_ctl_remove", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %2 = icmp eq i32* %arg1, null\n %3 = icmp eq i64 %arg2, 0\n %narrow = or i1 %2, %3\n %storemerge3 = zext i1 %narrow to i64\n %4 = call i64 @FUNC(i64 %storemerge3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = call i64 @FUNC(i64 %arg2)\n %9 = add i64 %arg2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = sub i32 %7, %11\n store i32 %12, i32* %arg1, align 4\n %13 = add i64 %arg2, 12\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = trunc i64 %15 to i32\n store i32 %16, i32* %sv_1, align 4\n %17 = load i32, i32* %10, align 4\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_4, label LBL_2\n LBL_2:\n %19 = ptrtoint i32* %arg1 to i64\n %20 = bitcast i32* %sv_1 to i64*\n store i32 0, i32* %sv_0.05.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %21 = call i64 @FUNC(i64 %19, i64 0, i64* nonnull %20)\n %22 = add nuw i32 %sv_0.05.reload, 1\n %23 = load i32, i32* %sv_1, align 4\n %24 = add i32 %23, 1\n store i32 %24, i32* %sv_1, align 4\n %25 = load i32, i32* %10, align 4\n %26 = icmp ult i32 %22, %25\n store i32 %22, i32* %sv_0.05.reg2mem\n br i1 %26, label LBL_3, label LBL_4\n LBL_4:\n %27 = call i64 @FUNC(i64 %arg2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %10, { 1, 0, 2 }\n uselistorder i32* %sv_1, { 1, 2, 3, 0 }\n uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 %arg2, { 0, 1, 3, 2, 4 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "edac_create_csrow_object_4421", "fun_name": "edac_create_csrow_object", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem39 = alloca i32\n %storemerge212.reg2mem = alloca i32\n %.reg2mem37 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 32\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 8\n store i64 4294967277, i64* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_1, label LBL_13\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg2, align 8\n %6 = add i64 %5, 24\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = call i64 @FUNC(i64 %0)\n %10 = add i64 %0, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 %5, i64* %11, align 8\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 %5, i64* %13, align 8\n %14 = trunc i64 %arg3 to i32\n %15 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), i32 %14)\n %16 = call i64 @FUNC(i64 %0, i64 %0)\n %17 = call i64 @FUNC(i64 %0)\n %18 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_2, i64 0, i64 0), i64 %17)\n %19 = call i64 @FUNC(i64 %0)\n %20 = trunc i64 %19 to i32\n %21 = icmp slt i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %19, i64* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_2, label LBL_13\n LBL_2:\n %23 = load i32, i32* %2, align 4\n %24 = icmp eq i32 %23, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %24, label LBL_13, label LBL_3\n LBL_3:\n %25 = add i64 %0, 40\n %26 = inttoptr i64 %25 to i64*\n store i32 %23, i32* %.reg2mem\n store i64 0, i64* %.reg2mem37\n store i32 0, i32* %storemerge212.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge212.reload = load i32, i32* %storemerge212.reg2mem\n %.reload38 = load i64, i64* %.reg2mem37\n %.reload = load i32, i32* %.reg2mem\n %27 = load i64, i64* %26, align 8\n %28 = mul i64 %.reload38, 8\n %29 = add i64 %27, %28\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %35, 0\n store i32 %.reload, i32* %.reg2mem39\n br i1 %36, label LBL_9, label LBL_5\n LBL_5:\n %37 = add i64 %28, ptrtoint (i64* @gv_3 to i64)\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %0, i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp slt i32 %41, 0\n store i64 %40, i64* %sv_0.0.reg2mem\n br i1 %42, label LBL_10, label LBL_6\n LBL_6:\n %43 = add i64 %28, ptrtoint (i64* @gv_4 to i64)\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = call i64 @FUNC(i64 %0, i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = icmp slt i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_6.LBL_9_crit_edge, label LBL_8\n LBL_7:\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem39\n br label LBL_9\n LBL_8:\n %50 = load i64, i64* %38, align 8\n %51 = call i64 @FUNC(i64 %0, i64 %50)\n store i64 %46, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_9:\n %.reload40 = load i32, i32* %.reg2mem39\n %52 = add i32 %storemerge212.reload, 1\n %53 = zext i32 %.reload40 to i64\n %54 = sext i32 %52 to i64\n %55 = icmp slt i64 %54, %53\n store i32 %.reload40, i32* %.reg2mem\n store i64 %54, i64* %.reg2mem37\n store i32 %52, i32* %storemerge212.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %55, label LBL_4, label LBL_13\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %storemerge10 = add i32 %storemerge212.reload, -1\n %56 = icmp slt i32 %storemerge10, 0\n %57 = icmp eq i1 %56, false\n store i32 %storemerge10, i32* %storemerge11.reg2mem\n br i1 %57, label LBL_11, label LBL_12\n LBL_11:\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n %58 = sext i32 %storemerge11.reload to i64\n %59 = mul i64 %58, 8\n %60 = add i64 %59, ptrtoint (i64* @gv_3 to i64)\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = call i64 @FUNC(i64 %0, i64 %62)\n %64 = add i64 %59, ptrtoint (i64* @gv_4 to i64)\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = call i64 @FUNC(i64 %0, i64 %66)\n %storemerge = add i32 %storemerge11.reload, -1\n %68 = icmp slt i32 %storemerge, 0\n %69 = icmp eq i1 %68, false\n store i32 %storemerge, i32* %storemerge11.reg2mem\n br i1 %69, label LBL_11, label LBL_12\n LBL_12:\n %70 = call i64 @FUNC(i64 %0)\n store i64 %sv_0.0.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %59, { 1, 0 }\n uselistorder i32 %storemerge11.reload, { 1, 0 }\n uselistorder i32 %.reload40, { 1, 0 }\n uselistorder i64 %28, { 1, 0, 2 }\n uselistorder i32 %storemerge212.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 4, 0, 1, 6, 5, 7, 11, 10, 9, 8, 12, 14, 13, 15, 16 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem37, { 1, 0, 2 }\n uselistorder i32* %storemerge212.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem39, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge11.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64, i64)* @device_remove_file, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @device_create_file, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i32 0, { 3, 2, 4, 5, 6, 0, 1, 7 }\n uselistorder label LBL_13, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_slirp_redir_3363", "fun_name": "net_slirp_redir", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %0 = call i64 @FUNC(i64* nonnull @gv_0, i64 %arg1, i64 1, i64* nonnull %sv_0)\n %1 = trunc i64 %0 to i32\n %2 = icmp slt i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load i64, i64* %sv_0, align 8\n %5 = call i64 @FUNC(i64 %4)\n br label LBL_2\n LBL_2:\n %6 = and i64 %0, 4294967295\n ret i64 %6\n\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i32 1, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_fsinfo_9302", "fun_name": "decode_fsinfo", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %3, i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i32 %5, i32* %sv_0.0.reg2mem\n br i1 %7, label LBL_8, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i32 %9, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %12 = ptrtoint i32* %sv_1 to i64\n %13 = bitcast i32* %sv_1 to i64*\n %14 = call i64 @FUNC(i64 %3, i64* nonnull %13, i64* nonnull %sv_2)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i32 %15, i32* %sv_0.0.reg2mem\n store i64 %12, i64* %rcx.0.reg2mem\n br i1 %17, label LBL_8, label LBL_3\n LBL_3:\n %18 = ptrtoint i64* %arg2 to i64\n %19 = add i64 %18, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 512, i32* %20, align 4\n %21 = bitcast i64* %arg2 to i32*\n store i32 512, i32* %21, align 4\n %22 = add i64 %18, 8\n %23 = ptrtoint i64* %sv_3 to i64\n %24 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %22)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n store i32 %25, i32* %sv_0.0.reg2mem\n store i64 %23, i64* %rcx.0.reg2mem\n br i1 %27, label LBL_8, label LBL_4\n LBL_4:\n %28 = add i64 %18, 12\n %29 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i32 %30, i32* %sv_0.0.reg2mem\n store i64 %23, i64* %rcx.0.reg2mem\n br i1 %32, label LBL_8, label LBL_5\n LBL_5:\n %33 = add i64 %18, 16\n %34 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %33)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i32 %35, i32* %sv_0.0.reg2mem\n store i64 %23, i64* %rcx.0.reg2mem\n br i1 %37, label LBL_8, label LBL_6\n LBL_6:\n %38 = inttoptr i64 %33 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i64 %18, 24\n %41 = inttoptr i64 %40 to i32*\n store i32 %39, i32* %41, align 4\n %42 = add i64 %18, 20\n %43 = inttoptr i64 %42 to i32*\n store i32 %39, i32* %43, align 4\n %44 = add i64 %18, 28\n %45 = call i64 @FUNC(i64 %3, i64* nonnull %sv_3, i64 %44)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n store i32 %46, i32* %sv_0.0.reg2mem\n store i64 %23, i64* %rcx.0.reg2mem\n br i1 %48, label LBL_8, label LBL_7\n LBL_7:\n %49 = inttoptr i64 %44 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i64 %18, 32\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n %53 = load i32, i32* %sv_1, align 4\n %54 = zext i32 %53 to i64\n %55 = load i64, i64* %sv_2, align 8\n %56 = call i64 @FUNC(i64 %3, i64 %55, i64 %54)\n %57 = trunc i64 %56 to i32\n store i32 %57, i32* %sv_0.0.reg2mem\n store i64 %55, i64* %rcx.0.reg2mem\n br label LBL_8\n LBL_8:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %58 = sub i32 0, %sv_0.0.reload\n %59 = zext i32 %58 to i64\n %60 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %59, i64 %rcx.0.reload, i64 %2, i64 %1)\n %61 = zext i32 %sv_0.0.reload to i64\n ret i64 %61\n\n uselistorder i32 %sv_0.0.reload, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 2, 0 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 0, { 9, 10, 11, 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 13 }\n uselistorder label LBL_8, { 7, 0, 1, 2, 3, 4, 5, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "btrfs_show_devname_3743", "fun_name": "btrfs_show_devname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge12.reg2mem = alloca i64\n %.reg2mem41 = alloca i32*\n %.reg2mem39 = alloca i32*\n %.reg2mem37 = alloca i32*\n %.reg2mem35 = alloca i32*\n %.reg2mem33 = alloca i32*\n %.reg2mem31 = alloca i32*\n %.reg2mem29 = alloca i32*\n %.reg2mem27 = alloca i32*\n %.reg2mem25 = alloca i32*\n %.reg2mem23 = alloca i32*\n %.in.reg2mem = alloca i64\n %.reg2mem21 = alloca i32*\n %.reg2mem = alloca i32*\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %0)\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %4, 24\n %6 = call i64 @FUNC(i64 %5)\n %storemerge11 = load i64, i64* %3, align 8\n %7 = icmp eq i64 %storemerge11, 0\n %8 = icmp eq i1 %7, false\n store i32* null, i32** %.reg2mem37\n store i32* null, i32** %.reg2mem39\n store i32* null, i32** %.reg2mem41\n store i64 %storemerge11, i64* %storemerge12.reg2mem\n br i1 %8, label LBL_8, label LBL_11\n LBL_1:\n %.reload24 = load i32*, i32** %.reg2mem23\n %.in.reload = load i64, i64* %.in.reg2mem\n %.reload22 = load i32*, i32** %.reg2mem21\n %.reload = load i32*, i32** %.reg2mem\n %9 = add i64 %.in.reload, -12\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32* %.reload, i32** %.reg2mem25\n store i32* %.reload22, i32** %.reg2mem27\n store i32* %.reload24, i32** %.reg2mem29\n br i1 %13, label LBL_6, label LBL_2\n LBL_2:\n %14 = add i64 %.in.reload, -8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n store i32* %.reload, i32** %.reg2mem25\n store i32* %.reload22, i32** %.reg2mem27\n store i32* %.reload24, i32** %.reg2mem29\n br i1 %17, label LBL_6, label LBL_3\n LBL_3:\n %18 = add i64 %.in.reload, -16\n %storemerge39 = inttoptr i64 %18 to i32*\n %19 = icmp eq i32* %.reload24, null\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = load i32, i32* %storemerge39, align 4\n %21 = load i32, i32* %.reload24, align 4\n %22 = icmp ult i32 %20, %21\n store i32* %.reload, i32** %.reg2mem25\n store i32* %.reload22, i32** %.reg2mem27\n store i32* %.reload24, i32** %.reg2mem29\n br i1 %22, label LBL_5, label LBL_6\n LBL_5:\n store i32* %storemerge39, i32** %.reg2mem25\n store i32* %storemerge39, i32** %.reg2mem27\n store i32* %storemerge39, i32** %.reg2mem29\n br label LBL_6\n LBL_6:\n %.reload30 = load i32*, i32** %.reg2mem29\n %.reload28 = load i32*, i32** %.reg2mem27\n %.reload26 = load i32*, i32** %.reg2mem25\n %storemerge3.in.in.in = inttoptr i64 %.in.reload to i64*\n %storemerge3.in.in = load i64, i64* %storemerge3.in.in.in, align 8\n %23 = icmp eq i64 %storemerge12.reload, %storemerge3.in.in\n %24 = icmp eq i1 %23, false\n store i32* %.reload26, i32** %.reg2mem\n store i32* %.reload28, i32** %.reg2mem21\n store i64 %storemerge3.in.in, i64* %.in.reg2mem\n store i32* %.reload30, i32** %.reg2mem23\n store i32* %.reload26, i32** %.reg2mem31\n store i32* %.reload28, i32** %.reg2mem33\n store i32* %.reload30, i32** %.reg2mem35\n br i1 %24, label LBL_1, label LBL_7\n LBL_7:\n %.reload36 = load i32*, i32** %.reg2mem35\n %.reload34 = load i32*, i32** %.reg2mem33\n %.reload32 = load i32*, i32** %.reg2mem31\n %25 = add i64 %storemerge12.reload, 16\n %storemerge.in = inttoptr i64 %25 to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %26 = icmp eq i64 %storemerge, 0\n %27 = icmp eq i1 %26, false\n store i32* %.reload32, i32** %.reg2mem37\n store i32* %.reload34, i32** %.reg2mem39\n store i32* %.reload36, i32** %.reg2mem41\n store i64 %storemerge, i64* %storemerge12.reg2mem\n br i1 %27, label LBL_8, label LBL_9\n LBL_8:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %.reload42 = load i32*, i32** %.reg2mem41\n %.reload40 = load i32*, i32** %.reg2mem39\n %.reload38 = load i32*, i32** %.reg2mem37\n %storemerge3.in.in.in4 = inttoptr i64 %storemerge12.reload to i64*\n %storemerge3.in.in5 = load i64, i64* %storemerge3.in.in.in4, align 8\n %28 = icmp eq i64 %storemerge12.reload, %storemerge3.in.in5\n %29 = icmp eq i1 %28, false\n store i32* %.reload38, i32** %.reg2mem\n store i32* %.reload40, i32** %.reg2mem21\n store i64 %storemerge3.in.in5, i64* %.in.reg2mem\n store i32* %.reload42, i32** %.reg2mem23\n store i32* %.reload38, i32** %.reg2mem31\n store i32* %.reload40, i32** %.reg2mem33\n store i32* %.reload42, i32** %.reg2mem35\n br i1 %29, label LBL_1, label LBL_7\n LBL_9:\n %30 = icmp eq i32* %.reload34, null\n br i1 %30, label LBL_11, label LBL_10\n LBL_10:\n %31 = call i64 @FUNC()\n %32 = ptrtoint i32* %.reload32 to i64\n %33 = add i64 %32, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %1, i64 %38, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %40 = call i64 @FUNC()\n br label LBL_12\n LBL_11:\n %41 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %42 = call i32 @fwrite(i64* bitcast ([27 x i8]* @gv_2 to i64*), i32 1, i32 26, %_IO_FILE* %41)\n br label LBL_12\n LBL_12:\n %43 = load i64, i64* %3, align 8\n %44 = add i64 %43, 24\n %45 = call i64 @FUNC(i64 %44)\n ret i64 0\n\n uselistorder i32* %.reload38, { 1, 0 }\n uselistorder i32* %.reload40, { 1, 0 }\n uselistorder i32* %.reload42, { 1, 0 }\n uselistorder i64 %storemerge12.reload, { 0, 1, 3, 2 }\n uselistorder i32* %.reload32, { 1, 0 }\n uselistorder i32* %.reload34, { 1, 0 }\n uselistorder i32* %.reload, { 0, 2, 1 }\n uselistorder i32* %.reload22, { 0, 2, 1 }\n uselistorder i64 %.in.reload, { 1, 0, 3, 2 }\n uselistorder i32* %.reload24, { 0, 3, 4, 2, 1 }\n uselistorder i64* %3, { 1, 0, 2 }\n uselistorder i32** %.reg2mem, { 1, 2, 0 }\n uselistorder i32** %.reg2mem21, { 1, 2, 0 }\n uselistorder i64* %.in.reg2mem, { 1, 2, 0 }\n uselistorder i32** %.reg2mem23, { 1, 2, 0 }\n uselistorder i32** %.reg2mem25, { 0, 1, 2, 4, 3 }\n uselistorder i32** %.reg2mem27, { 0, 1, 2, 4, 3 }\n uselistorder i32** %.reg2mem29, { 0, 1, 2, 4, 3 }\n uselistorder i32** %.reg2mem31, { 2, 0, 1 }\n uselistorder i32** %.reg2mem33, { 2, 0, 1 }\n uselistorder i32** %.reg2mem35, { 2, 0, 1 }\n uselistorder i32** %.reg2mem37, { 0, 2, 1 }\n uselistorder i32** %.reg2mem39, { 0, 2, 1 }\n uselistorder i32** %.reg2mem41, { 0, 2, 1 }\n uselistorder i64* %storemerge12.reg2mem, { 0, 2, 1 }\n uselistorder i32* null, { 4, 3, 0, 1, 2 }\n uselistorder i1 false, { 1, 4, 3, 2, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qeth_l3_remove_device_4208", "fun_name": "qeth_l3_remove_device", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64* %arg1, @gv_0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i64 %1, i64 0, i64 1)\n %6 = call i64 @FUNC(i64 %1, i64 4294967295)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = add i64 %1, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = zext i1 %8 to i64\n %13 = zext i32 %11 to i64\n %14 = call i64 @FUNC(i64 %13, i64 %12)\n %15 = add i64 %0, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %17, 1\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %0)\n br label LBL_4\n LBL_4:\n %21 = inttoptr i64 %1 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i64 %22)\n %25 = load i64, i64* %21, align 8\n %26 = call i64 @FUNC(i64 %25)\n store i64 0, i64* %21, align 8\n br label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 %1, i64 0)\n %28 = call i64 @FUNC(i64 %1)\n ret i64 %28\n\n uselistorder i64 %1, { 1, 0, 2, 5, 4, 3 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_naa_id_3095", "fun_name": "read_naa_id", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 1\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = urem i8 %3, 16\n %5 = icmp eq i8 %4, 3\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_3, label LBL_1\n LBL_1:\n %7 = add i64 %0, 3\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 8\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_10\n LBL_2:\n %11 = add i64 %0, 4\n %12 = call i64 @FUNC(i64 %11)\n store i64 %12, i64* %arg2, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %13 = icmp eq i8 %4, 8\n %14 = icmp eq i1 %13, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %14, label LBL_10, label LBL_4\n LBL_4:\n %15 = add i64 %0, 3\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = icmp ult i8 %17, 20\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %18, label LBL_10, label LBL_5\n LBL_5:\n %19 = add i64 %0, 4\n %20 = inttoptr i64 %19 to i64*\n %21 = call i32 @memcmp(i64* %20, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4)\n %22 = icmp eq i32 %21, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %22, label LBL_6, label LBL_10\n LBL_6:\n %23 = load i8, i8* %16, align 1\n %24 = icmp ult i8 %23, 21\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = add i64 %0, 24\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = icmp eq i8 %27, 44\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %28, label LBL_8, label LBL_10\n LBL_8:\n store i64 0, i64* %arg2, align 8\n store i64 8, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = add i64 %indvars.iv.reload, %0\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = sext i8 %31 to i64\n %33 = and i64 %32, 4294967295\n %34 = call i64 @FUNC(i64 %33)\n %35 = trunc i64 %34 to i8\n %.off = add i8 %35, -48\n %36 = icmp ugt i8 %.off, 9\n %storemerge1 = select i1 %36, i64 55, i64 48\n %37 = sub i64 %34, %storemerge1\n %sext = mul i64 %37, 72057594037927936\n %38 = ashr exact i64 %sext, 56\n %39 = or i64 %38, shl (i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 4)\n store i64 %39, i64* %arg2, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 24\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_10, label LBL_9\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %4, { 1, 0 }\n uselistorder i64 %0, { 0, 1, 4, 3, 5, 2, 6 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 5, 4, 2, 7, 6 }\n uselistorder i64 4294967274, { 1, 3, 2, 0, 4 }\n uselistorder label LBL_10, { 0, 2, 4, 3, 1, 6, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xics_alloc_block_13866", "fun_name": "xics_alloc_block", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge11.reg2mem = alloca i32\n %storemerge10.in.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 0\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 29, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %2 = ptrtoint i32* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %sext6 = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext6, 32\n %sext8 = mul i64 %arg5, 72057594037927936\n %4 = ashr exact i64 %sext8, 56\n %5 = ashr exact i64 %sext, 30\n %6 = add i64 %5, %2\n %7 = trunc i64 %4 to i8\n %8 = icmp eq i8 %7, 0\n br i1 %8, label LBL_6, label LBL_3\n LBL_3:\n %9 = trunc i64 %3 to i32\n switch i32 %9, label LBL_4 [\n i32 1, label LBL_5\n i32 2, label LBL_5\n i32 4, label LBL_5\n i32 8, label LBL_5\n i32 16, label LBL_5\n i32 32, label LBL_5\n ]\n LBL_4:\n call void @__assert_fail(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 31, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_5\n LBL_5:\n %10 = and i64 %3, 4294967295\n %11 = call i64 @FUNC(i64 %6, i64 %10, i32 %9)\n store i64 %11, i64* %storemerge10.in.reg2mem\n br label LBL_7\n LBL_6:\n %12 = and i64 %3, 4294967295\n %13 = call i64 @FUNC(i64 %6, i64 %12, i32 1)\n store i64 %13, i64* %storemerge10.in.reg2mem\n br label LBL_7\n LBL_7:\n %sext7 = mul i64 %arg4, 72057594037927936\n %14 = ashr exact i64 %sext7, 56\n %storemerge10.in.reload = load i64, i64* %storemerge10.in.reg2mem\n %storemerge10 = trunc i64 %storemerge10.in.reload to i32\n %15 = icmp slt i32 %storemerge10, 0\n br i1 %15, label LBL_11, label LBL_8\n LBL_8:\n %16 = add i64 %storemerge10.in.reload, %3\n %17 = and i64 %16, 4294967295\n %sext12 = mul i64 %storemerge10.in.reload, 4294967296\n %18 = ashr exact i64 %sext12, 32\n %19 = icmp sgt i64 %17, %18\n br i1 %19, label LBL_9, label LBL_11\n LBL_9:\n %20 = trunc i64 %14 to i8\n store i32 %storemerge10, i32* %storemerge11.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n %21 = zext i32 %storemerge11.reload to i64\n %22 = call i64 @FUNC(i64 %6, i64 %21, i8 %20)\n %23 = add i32 %storemerge11.reload, 1\n %24 = sext i32 %23 to i64\n %25 = icmp sgt i64 %17, %24\n store i32 %23, i32* %storemerge11.reg2mem\n br i1 %25, label LBL_10, label LBL_11\n LBL_11:\n %26 = and i64 %arg2, 4294967295\n %27 = inttoptr i64 %6 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i32 %28, %storemerge10\n %30 = trunc i64 %14 to i8\n %31 = trunc i64 %3 to i32\n %32 = urem i64 %4, 256\n %33 = call i64 @FUNC(i64 %26, i32 %29, i32 %31, i8 %30, i64 %32)\n %34 = zext i32 %29 to i64\n ret i64 %34\n\n uselistorder i32 %29, { 1, 0 }\n uselistorder i32 %storemerge11.reload, { 1, 0 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i32 %storemerge10, { 1, 0, 2 }\n uselistorder i64 %storemerge10.in.reload, { 2, 1, 0 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %6, { 3, 1, 0, 2 }\n uselistorder i64 %3, { 2, 0, 3, 1, 4 }\n uselistorder i64* %storemerge10.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i32)* @ics_find_free_block, { 1, 0 }\n uselistorder i64 56, { 1, 0 }\n uselistorder i64 72057594037927936, { 1, 0 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_5, { 6, 0, 1, 2, 3, 4, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qed_dcbx_set_pfc_data_4691", "fun_name": "qed_dcbx_set_pfc_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = trunc i64 %1 to i32\n %4 = and i32 %3, -5\n store i32 %4, i32* %arg2, align 4\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = mul i32 %7, 8\n %9 = or i32 %8, %3\n store i32 %9, i32* %arg2, align 4\n %10 = add i64 %2, 12\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %11 = mul i64 %indvars.iv.reload, 4\n %12 = add i64 %10, %11\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = trunc i64 %indvars.iv.reload to i32\n %17 = shl i32 1, %16\n %18 = or i32 %17, %sv_0.16.reload\n %sext = mul i32 %18, 16777216\n %19 = ashr exact i32 %sext, 24\n store i32 %19, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %20 = mul i32 %sv_0.0.reload, 16\n %21 = and i32 %20, 4080\n %22 = or i32 %21, %3\n store i32 %22, i32* %arg2, align 4\n %23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i32 %3)\n %24 = sext i32 %23 to i64\n ret i64 %24\n\n uselistorder i32 %sv_0.16.reload, { 1, 0 }\n uselistorder i32 %3, { 2, 0, 1, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "options_defaults_13656", "fun_name": "options_defaults", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %0 = call i64* @memset(i64* nonnull @gv_0, i32 0, i32 8)\n store i64 0, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 1, i64* nonnull @gv_1, i64 0, i64 0)\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0, align 8\n %2 = call i64 @FUNC(i64 1, i64* nonnull %sv_0, i64 0, i64 0)\n ret i64 %2\n\n uselistorder i64* @gv_0, { 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_seek_710", "fun_name": "read_seek", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 29\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp slt i64 %arg3, 0\n %6 = icmp eq i1 %5, false\n %7 = inttoptr i64 %4 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = sext i32 %10 to i64\n %12 = add i64 %8, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sext i32 %14 to i64\n %arg3.op = mul i64 %arg3, 4\n %16 = select i1 %6, i64 %arg3.op, i64 0\n %17 = mul i64 %16, %11\n %18 = mul i64 %17, %15\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21, i64 %18, i64 0)\n %23 = trunc i64 %22 to i32\n %24 = icmp slt i32 %23, 0\n %25 = icmp eq i1 %24, false\n %. = select i1 %25, i64 0, i64 4294967295\n ret i64 %.\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ne2000_receive_7437", "fun_name": "ne2000_receive", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.12.reg2mem = alloca i64\n %sv_2.13.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_22, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = trunc i64 %1 to i32\n %9 = and i32 %8, 16\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_13, label LBL_2\n LBL_2:\n %12 = call i32 @memcmp(i64* %arg2, i64* inttoptr (i64 4202512 to i64*), i32 6)\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = and i32 %8, 4\n %16 = zext i32 %15 to i64\n %17 = icmp eq i32 %15, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %18, label LBL_13, label LBL_22\n LBL_4:\n %19 = trunc i64 %2 to i8\n %20 = urem i8 %19, 2\n %21 = icmp eq i8 %20, 0\n br i1 %21, label LBL_7, label LBL_5\n LBL_5:\n %22 = and i32 %8, 8\n %23 = icmp eq i32 %22, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_22, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC(i64 %7)\n %25 = trunc i64 %24 to i32\n %26 = ashr i32 %25, 3\n %27 = sext i32 %26 to i64\n %28 = add i64 %3, 260\n %29 = add i64 %28, %27\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = zext i8 %31 to i32\n %33 = urem i32 %25, 8\n %34 = lshr i32 %32, %33\n %35 = urem i32 %34, 2\n %36 = zext i32 %35 to i64\n %37 = icmp eq i32 %35, 0\n %38 = icmp eq i1 %37, false\n store i64 %36, i64* %rax.0.reg2mem\n br i1 %38, label LBL_13, label LBL_22\n LBL_7:\n %39 = add i64 %3, 4\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = urem i64 %2, 256\n %43 = icmp eq i8 %41, %19\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %rax.0.reg2mem\n br i1 %44, label LBL_22, label LBL_8\n LBL_8:\n %45 = add i64 %3, 6\n %46 = inttoptr i64 %45 to i8*\n %47 = load i8, i8* %46, align 1\n %48 = add i64 %7, 1\n %49 = inttoptr i64 %48 to i8*\n %50 = load i8, i8* %49, align 1\n %51 = zext i8 %50 to i64\n %52 = icmp eq i8 %47, %50\n %53 = icmp eq i1 %52, false\n store i64 %51, i64* %rax.0.reg2mem\n br i1 %53, label LBL_22, label LBL_9\n LBL_9:\n %54 = add i64 %3, 8\n %55 = inttoptr i64 %54 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = add i64 %7, 2\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = zext i8 %59 to i64\n %61 = icmp eq i8 %56, %59\n %62 = icmp eq i1 %61, false\n store i64 %60, i64* %rax.0.reg2mem\n br i1 %62, label LBL_22, label LBL_10\n LBL_10:\n %63 = add i64 %3, 10\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = add i64 %7, 3\n %67 = inttoptr i64 %66 to i8*\n %68 = load i8, i8* %67, align 1\n %69 = zext i8 %68 to i64\n %70 = icmp eq i8 %65, %68\n %71 = icmp eq i1 %70, false\n store i64 %69, i64* %rax.0.reg2mem\n br i1 %71, label LBL_22, label LBL_11\n LBL_11:\n %72 = add i64 %3, 12\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %75 = add i64 %7, 4\n %76 = inttoptr i64 %75 to i8*\n %77 = load i8, i8* %76, align 1\n %78 = zext i8 %77 to i64\n %79 = icmp eq i8 %74, %77\n %80 = icmp eq i1 %79, false\n store i64 %78, i64* %rax.0.reg2mem\n br i1 %80, label LBL_22, label LBL_12\n LBL_12:\n %81 = add i64 %3, 14\n %82 = inttoptr i64 %81 to i8*\n %83 = load i8, i8* %82, align 1\n %84 = add i64 %7, 5\n %85 = inttoptr i64 %84 to i8*\n %86 = load i8, i8* %85, align 1\n %87 = zext i8 %86 to i64\n %88 = icmp eq i8 %83, %86\n %89 = icmp eq i1 %88, false\n store i64 %87, i64* %rax.0.reg2mem\n br i1 %89, label LBL_22, label LBL_13\n LBL_13:\n %90 = icmp sgt i32 %arg3, 59\n store i64 %7, i64* %sv_1.0.reg2mem\n store i32 %arg3, i32* %sv_2.0.reg2mem\n br i1 %90, label LBL_15, label LBL_14\n LBL_14:\n %91 = call i64* @memcpy(i64* nonnull %sv_4, i64* %arg2, i32 %arg3)\n %92 = sub i32 60, %arg3\n %93 = sext i32 %arg3 to i64\n %94 = ptrtoint i64* %sv_4 to i64\n %95 = add i64 %94, %93\n %96 = inttoptr i64 %95 to i64*\n %97 = call i64* @memset(i64* %96, i32 0, i32 %92)\n store i64 %94, i64* %sv_1.0.reg2mem\n store i32 60, i32* %sv_2.0.reg2mem\n br label LBL_15\n LBL_15:\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %98 = add i64 %3, 268\n %99 = inttoptr i64 %98 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = mul i32 %100, 256\n %102 = add i32 %sv_2.0.reload, 263\n %103 = and i32 %102, -256\n %104 = add i32 %101, %103\n %105 = add i64 %3, 276\n %106 = inttoptr i64 %105 to i32*\n %107 = load i32, i32* %106, align 4\n %108 = zext i32 %107 to i64\n %109 = sext i32 %104 to i64\n %110 = icmp slt i64 %109, %108\n %.pre5 = add i64 %3, 272\n %.pre6 = inttoptr i64 %.pre5 to i32*\n store i32 %104, i32* %sv_3.0.reg2mem\n br i1 %110, label LBL_17, label LBL_16\n LBL_16:\n %111 = load i32, i32* %.pre6, align 4\n %112 = sub i32 %104, %107\n %113 = add i32 %112, %111\n store i32 %113, i32* %sv_3.0.reg2mem\n br label LBL_17\n LBL_17:\n %114 = add i32 %sv_2.0.reload, 4\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %115 = add i64 %3, 4\n %116 = sext i32 %101 to i64\n %117 = add i64 %115, %116\n %118 = inttoptr i64 %117 to i8*\n %119 = add i64 %3, 281\n %120 = inttoptr i64 %119 to i8*\n store i8 1, i8* %120, align 1\n %121 = inttoptr i64 %sv_1.0.reload to i8*\n %122 = load i8, i8* %121, align 1\n %123 = urem i8 %122, 2\n %124 = icmp eq i8 %123, 0\n %spec.store.select = select i1 %124, i8 1, i8 3\n store i8 %spec.store.select, i8* %120, align 1\n store i8 %spec.store.select, i8* %118, align 1\n %125 = udiv i32 %sv_3.0.reload, 256\n %126 = add i64 %117, 1\n %127 = trunc i32 %125 to i8\n %128 = inttoptr i64 %126 to i8*\n store i8 %127, i8* %128, align 1\n %129 = add i64 %117, 2\n %130 = trunc i32 %114 to i8\n %131 = inttoptr i64 %129 to i8*\n store i8 %130, i8* %131, align 1\n %132 = udiv i32 %114, 256\n %133 = add i64 %117, 3\n %134 = trunc i32 %132 to i8\n %135 = inttoptr i64 %133 to i8*\n store i8 %134, i8* %135, align 1\n %136 = or i32 %101, 4\n %.pre = load i32, i32* %106, align 4\n store i32 %.pre, i32* %.reg2mem\n store i32 %136, i32* %sv_0.14.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.13.reg2mem\n store i64 %sv_1.0.reload, i64* %sv_1.12.reg2mem\n br label LBL_18\n LBL_18:\n %sv_1.12.reload = load i64, i64* %sv_1.12.reg2mem\n %sv_2.13.reload = load i32, i32* %sv_2.13.reg2mem\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %137 = sub i32 %.reload, %sv_0.14.reload\n %138 = icmp sgt i32 %sv_2.13.reload, %137\n %spec.select = select i1 %138, i32 %137, i32 %sv_2.13.reload\n %139 = sext i32 %sv_0.14.reload to i64\n %140 = add i64 %115, %139\n %141 = inttoptr i64 %140 to i64*\n %142 = inttoptr i64 %sv_1.12.reload to i64*\n %143 = call i64* @memcpy(i64* %141, i64* %142, i32 %spec.select)\n %144 = add i32 %spec.select, %sv_0.14.reload\n %145 = load i32, i32* %106, align 4\n %146 = icmp eq i32 %144, %145\n %147 = icmp eq i1 %146, false\n store i32 %144, i32* %sv_0.0.reg2mem\n br i1 %147, label LBL_20, label LBL_19\n LBL_19:\n %148 = load i32, i32* %.pre6, align 4\n store i32 %148, i32* %sv_0.0.reg2mem\n br label LBL_20\n LBL_20:\n %149 = sext i32 %spec.select to i64\n %150 = add i64 %sv_1.12.reload, %149\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %151 = sub i32 %sv_2.13.reload, %spec.select\n %152 = icmp eq i32 %151, 0\n %153 = icmp slt i32 %151, 0\n %154 = icmp eq i1 %153, false\n %155 = icmp eq i1 %152, false\n %156 = icmp eq i1 %154, %155\n store i32 %145, i32* %.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem\n store i32 %151, i32* %sv_2.13.reg2mem\n store i64 %150, i64* %sv_1.12.reg2mem\n br i1 %156, label LBL_18, label LBL_21\n LBL_21:\n %157 = ashr i32 %sv_3.0.reload, 8\n store i32 %157, i32* %99, align 4\n %158 = add i64 %3, 280\n %159 = inttoptr i64 %158 to i8*\n %160 = load i8, i8* %159, align 1\n %161 = or i8 %160, 1\n store i8 %161, i8* %159, align 1\n %162 = call i64 @FUNC(i64 %3)\n store i64 %162, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %spec.select, { 3, 2, 0, 1 }\n uselistorder i32 %sv_0.14.reload, { 2, 0, 1 }\n uselistorder i32 %sv_2.13.reload, { 1, 0, 2 }\n uselistorder i64 %sv_1.12.reload, { 1, 0 }\n uselistorder i32* %106, { 1, 0, 2 }\n uselistorder i32 %104, { 1, 0, 2 }\n uselistorder i32 %101, { 2, 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 0, 2, 1 }\n uselistorder i32 %35, { 1, 0 }\n uselistorder i8 %19, { 1, 0 }\n uselistorder i64 %7, { 0, 2, 3, 4, 5, 6, 1 }\n uselistorder i64* %sv_4, { 1, 0 }\n uselistorder i64 %3, { 8, 9, 10, 11, 0, 12, 13, 2, 3, 4, 5, 6, 7, 1, 14 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 10, 4, 5, 6, 7, 8, 9, 2, 3, 1, 11 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8 1, { 1, 0, 2 }\n uselistorder i32 256, { 1, 2, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 8, { 1, 0, 2 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i1 false, { 2, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }\n uselistorder i32 %arg3, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_22, { 10, 5, 4, 3, 2, 1, 0, 8, 6, 9, 7 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dec_sru_1165", "fun_name": "dec_sru", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 1\n %6 = icmp eq i1 %5, false\n %7 = ptrtoint i32* %arg1 to i64\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %7, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %7, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %7, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i64 %17, i32 %13, i32 %10, i64 %2, i64 %1)\n br label LBL_3\n LBL_2:\n %19 = add i64 %7, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %7, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %7, 12\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %28, i32 %24, i32 %21, i64 %2, i64 %1)\n br label LBL_3\n LBL_3:\n %30 = add i64 %7, 24\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = urem i32 %34, 2\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n %or.cond = or i1 %5, %37\n br i1 %or.cond, label LBL_6, label LBL_4\n LBL_4:\n %38 = add i64 %7, 16\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp eq i32 %40, 1\n br i1 %41, label LBL_6, label LBL_5\n LBL_5:\n %42 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0))\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n br i1 %6, label LBL_8, label LBL_7\n LBL_7:\n %43 = add i64 %7, 16\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i64 %7, 4\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = sext i32 %48 to i64\n %50 = mul i64 %49, 4\n %51 = add i64 %50, ptrtoint (i32** @gv_3 to i64)\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %7, 8\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = sext i32 %56 to i64\n %58 = mul i64 %57, 4\n %59 = add i64 %58, ptrtoint (i32** @gv_3 to i64)\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = zext i32 %53 to i64\n %63 = zext i32 %61 to i64\n %64 = call i64 @FUNC(i64 %63, i64 %62, i32 %45)\n store i64 %64, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %65 = call i64 @FUNC()\n %66 = trunc i64 %65 to i32\n %67 = add i64 %7, 8\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = sext i32 %69 to i64\n %71 = mul i64 %70, 4\n %72 = add i64 %71, ptrtoint (i32** @gv_3 to i64)\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = zext i32 %74 to i64\n %76 = and i64 %65, 4294967295\n %77 = call i64 @FUNC(i64 %76, i64 %75, i64 31)\n %78 = add i64 %7, 4\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = sext i32 %80 to i64\n %82 = mul i64 %81, 4\n %83 = add i64 %82, ptrtoint (i32** @gv_3 to i64)\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = add i64 %7, 12\n %87 = inttoptr i64 %86 to i32*\n %88 = load i32, i32* %87, align 4\n %89 = sext i32 %88 to i64\n %90 = mul i64 %89, 4\n %91 = add i64 %90, ptrtoint (i32** @gv_3 to i64)\n %92 = inttoptr i64 %91 to i32*\n %93 = load i32, i32* %92, align 4\n %94 = zext i32 %85 to i64\n %95 = zext i32 %93 to i64\n %96 = call i64 @FUNC(i64 %95, i64 %94, i32 %66)\n %97 = call i64 @FUNC(i64 %76)\n store i64 %97, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 4, 3, 5, 2, 1, 0, 7, 6, 10, 11, 13, 8, 9, 12 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i32, i32, i64, i64)* @LOG_DIS, { 1, 0 }\n uselistorder i64 4, { 0, 1, 5, 2, 3, 4, 6, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pred8x8_dc_rv40_c_1529", "fun_name": "pred8x8_dc_rv40_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv14.reg2mem = alloca i64\n %sv_0.012.reg2mem = alloca i32\n %indvars.iv17.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = mul i64 %arg2, 4294967296\n store i64 0, i64* %indvars.iv17.reg2mem\n store i32 0, i32* %sv_0.012.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.012.reload = load i32, i32* %sv_0.012.reg2mem\n %indvars.iv17.reload = load i64, i64* %indvars.iv17.reg2mem\n %3 = mul i64 %2, %indvars.iv17.reload\n %sext20 = add i64 %3, -4294967296\n %4 = ashr exact i64 %sext20, 32\n %5 = add i64 %4, %0\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = sub i64 %indvars.iv17.reload, %arg2\n %sext21 = mul i64 %8, 4294967296\n %9 = ashr exact i64 %sext21, 32\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = zext i8 %12 to i32\n %14 = zext i8 %7 to i32\n %15 = trunc i64 %indvars.iv17.reload to i32\n %16 = add i32 %15, 4\n %17 = sub i32 %16, %1\n %18 = sext i32 %17 to i64\n %19 = add i64 %18, %0\n %20 = inttoptr i64 %19 to i8*\n %21 = load i8, i8* %20, align 1\n %22 = zext i8 %21 to i32\n %23 = mul i32 %16, %1\n %24 = add i32 %23, -1\n %25 = sext i32 %24 to i64\n %26 = add i64 %25, %0\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i32\n %30 = add i32 %sv_0.012.reload, %14\n %31 = add i32 %30, %13\n %32 = add i32 %31, %22\n %33 = add i32 %32, %29\n %indvars.iv.next18 = add nuw nsw i64 %indvars.iv17.reload, 1\n %exitcond19 = icmp eq i64 %indvars.iv.next18, 4\n store i64 %indvars.iv.next18, i64* %indvars.iv17.reg2mem\n store i32 %33, i32* %sv_0.012.reg2mem\n br i1 %exitcond19, label LBL_2, label LBL_1\n LBL_2:\n %34 = add i32 %33, 8\n %35 = udiv i32 %34, 16\n %36 = mul i32 %35, 16843009\n %37 = add i64 %0, 4\n store i64 0, i64* %indvars.iv14.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv14.reload = load i64, i64* %indvars.iv14.reg2mem\n %sext22 = mul i64 %2, %indvars.iv14.reload\n %38 = ashr exact i64 %sext22, 32\n %39 = add i64 %38, %0\n %40 = inttoptr i64 %39 to i32*\n store i32 %36, i32* %40, align 4\n %41 = add i64 %38, %37\n %42 = inttoptr i64 %41 to i32*\n store i32 %36, i32* %42, align 4\n %indvars.iv.next15 = add nuw nsw i64 %indvars.iv14.reload, 1\n %exitcond16 = icmp eq i64 %indvars.iv.next15, 4\n store i64 %indvars.iv.next15, i64* %indvars.iv14.reg2mem\n store i64 4, i64* %indvars.iv.reg2mem\n br i1 %exitcond16, label LBL_4, label LBL_3\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %sext23 = mul i64 %2, %indvars.iv.reload\n %43 = ashr exact i64 %sext23, 32\n %44 = add i64 %43, %0\n %45 = inttoptr i64 %44 to i32*\n store i32 %36, i32* %45, align 4\n %46 = add i64 %43, %37\n %47 = inttoptr i64 %46 to i32*\n store i32 %36, i32* %47, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %rax.1 = zext i32 %36 to i64\n ret i64 %rax.1\n\n uselistorder i32 %33, { 1, 0 }\n uselistorder i64 %indvars.iv17.reload, { 0, 2, 1, 3 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %0, { 0, 1, 6, 2, 3, 4, 5 }\n uselistorder i64* %indvars.iv17.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.012.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv14.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 4, { 0, 2, 3, 1 }\n uselistorder i64 1, { 2, 1, 0 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mcf_fec_init_14035", "fun_name": "mcf_fec_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 32)\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = call i64 @FUNC(i64 4198863, i64 4198870, i64 %3)\n %6 = trunc i64 %5 to i32\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %arg2, i64 1024, i32 %6)\n %10 = add i64 %1, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %1, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %1, 24\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64 %18, i64 %15, i64 %12, i64 4198877, i64 4198888, i64 0)\n %20 = add i64 %3, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = add i64 %3, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = call i64* @memcpy(i64* %23, i64* %arg1, i32 6)\n %25 = load i64, i64* %21, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %22)\n ret i64 %26\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "munlock_vma_page_6118", "fun_name": "munlock_vma_page", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = zext i1 %3 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %0)\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = call i64 @FUNC(i64 %arg1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_1\n LBL_1:\n %11 = sub i64 0, %7\n %12 = and i64 %11, 4294967295\n %13 = call i64 @FUNC(i64 %0, i64 0, i64 %12)\n %14 = call i64 @FUNC(i64 %arg1, i64 1)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %0)\n %18 = call i64 @FUNC(i64 %arg1)\n br label LBL_5\n LBL_3:\n %19 = call i64 @FUNC(i64 %arg1)\n br label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %0)\n br label LBL_5\n LBL_5:\n %21 = add i64 %7, 4294967295\n %22 = and i64 %21, 4294967295\n ret i64 %22\n\n uselistorder i64 %0, { 2, 0, 1, 3 }\n uselistorder i64 (i64)* @spin_unlock_irq, { 1, 0 }\n uselistorder i64 1, { 4, 0, 1, 2, 3 }\n uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nouveau_cli_destroy_4935", "fun_name": "nouveau_cli_destroy", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = call i64 @FUNC(i64 0, i64 %0, i64 0)\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = call i64 @FUNC(i64 %arg1)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tipc_nl_compat_link_dump_5458", "fun_name": "tipc_nl_compat_link_dump", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %3 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %4 = icmp eq i64* %arg2, null\n %5 = icmp eq i1 %4, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_4\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = call i64 @FUNC(i64* nonnull %sv_2, i64 3, i64 %6, i64 0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = and i64 %7, 4294967295\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = call i64 @FUNC(i64 %3)\n %13 = trunc i64 %12 to i32\n store i32 %13, i32* %sv_1, align 4\n %14 = call i64 @FUNC(i64 %2)\n %15 = trunc i64 %14 to i32\n %16 = call i32 @htonl(i32 %15)\n %17 = call i64 @FUNC(i64 %1)\n %18 = call i64 @FUNC(i64* nonnull %sv_0, i64 %17, i64 64)\n %19 = call i64 @FUNC(i64 %11, i64 1, i32* nonnull %sv_1, i64 72)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @nla_get_flag, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ad1836_register_4979", "fun_name": "ad1836_register", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* @gv_0, align 8\n %6 = icmp eq i64 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %arg1)\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_2:\n %9 = add i64 %arg1, 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %arg1, 16\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %arg1, 24\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i64 %arg1, i64 %arg1)\n %16 = add i64 %arg1, 80\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %arg1, 32\n %20 = inttoptr i64 %19 to i64*\n store i64 %18, i64* %20, align 8\n %21 = add i64 %arg1, 40\n %22 = inttoptr i64 %21 to i32*\n store i32 10, i32* %22, align 4\n %23 = add i64 %arg1, 48\n %24 = inttoptr i64 %23 to i64*\n store i64 ptrtoint ([7 x i8]* @gv_2 to i64), i64* %24, align 8\n %25 = add i64 %arg1, 56\n %26 = inttoptr i64 %25 to i64*\n store i64 0, i64* %26, align 8\n %27 = add i64 %arg1, 64\n %28 = inttoptr i64 %27 to i64*\n store i64 ptrtoint (i64* @gv_3 to i64), i64* %28, align 8\n %29 = add i64 %arg1, 72\n %30 = inttoptr i64 %29 to i32*\n store i32 1, i32* %30, align 4\n %31 = call i64 @FUNC(i64 %11)\n %32 = call i64 @FUNC(i64 %13)\n store i64 %13, i64* @gv_3, align 8\n store i64 %arg1, i64* @gv_0, align 8\n %33 = call i64 @FUNC(i64 %arg1, i64 4, i64 12, i64 1)\n %34 = trunc i64 %33 to i32\n %35 = icmp slt i32 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_4, label LBL_3\n LBL_3:\n %37 = and i64 %33, 4294967295\n %38 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_4, i64 0, i64 0), i64 %37, i64 1, i64 %2, i64 %1)\n %39 = call i64 @FUNC(i64 %arg1)\n store i64 %33, i64* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_4:\n %40 = call i64 @FUNC(i64 %arg1, i64 0, i64 768)\n %41 = call i64 @FUNC(i64 %arg1, i64 1, i64 0)\n %42 = call i64 @FUNC(i64 %arg1, i64 2, i64 256)\n %43 = call i64 @FUNC(i64 %arg1, i64 3, i64 384)\n %44 = call i64 @FUNC(i64 %arg1, i64 4, i64 58)\n %45 = call i64 @FUNC(i64 %arg1, i64 5, i64 1023)\n %46 = call i64 @FUNC(i64 %arg1, i64 6, i64 1023)\n %47 = call i64 @FUNC(i64 %arg1, i64 7, i64 1023)\n %48 = call i64 @FUNC(i64 %arg1, i64 8, i64 1023)\n %49 = call i64 @FUNC(i64 %arg1, i64 9, i64 1023)\n %50 = call i64 @FUNC(i64 %arg1, i64 10, i64 1023)\n %51 = call i64 @FUNC(i64 %arg1)\n %52 = trunc i64 %51 to i32\n %53 = icmp eq i32 %52, 0\n br i1 %53, label LBL_6, label LBL_5\n LBL_5:\n %54 = and i64 %51, 4294967295\n %55 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_5, i64 0, i64 0), i64 %54, i64 1, i64 %2, i64 %1)\n %56 = call i64 @FUNC(i64 %arg1)\n store i64 %51, i64* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_6:\n %57 = call i64 @FUNC(i64* nonnull @gv_3)\n %58 = trunc i64 %57 to i32\n %59 = icmp eq i32 %58, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %59, label LBL_8, label LBL_7\n LBL_7:\n %60 = and i64 %57, 4294967295\n %61 = call i64 @FUNC(i64 ptrtoint (i64* @gv_3 to i64), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_6, i64 0, i64 0), i64 %60, i64 1, i64 %2, i64 %1)\n %62 = call i64 @FUNC(i64 %arg1)\n %63 = call i64 @FUNC(i64 %arg1)\n store i64 %57, i64* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @snd_soc_write, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @kfree, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dev_err, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 6, 7, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 3, 21, 20, 22, 23, 24, 25, 26, 27, 30, 29, 28, 31, 32, 33, 0, 1 }\n uselistorder label LBL_8, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_sb_block_8203", "fun_name": "get_sb_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %3, i64* %sv_0, align 8\n %4 = icmp eq i64* %arg1, null\n store i64 1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %5 = bitcast i64* %arg1 to i8*\n %6 = call i32 @strncmp(i8* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i32 3)\n %7 = icmp eq i32 %6, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_7\n LBL_2:\n %8 = add i64 %3, 3\n store i64 %8, i64* %sv_0, align 8\n %9 = call i64 @FUNC(i64 %8, i64* nonnull %sv_0, i64 0)\n %10 = load i64, i64* %sv_0, align 8\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n switch i8 %12, label LBL_3 [\n i8 0, label LBL_4\n i8 44, label LBL_4\n ]\n LBL_3:\n %13 = ptrtoint i64* %sv_0 to i64\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i64 %8, i64 0, i64 %13, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %15 = icmp eq i8 %12, 44\n %16 = icmp eq i1 %15, false\n store i64 %10, i64* %.reg2mem\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = add i64 %10, 1\n store i64 %17, i64* %sv_0, align 8\n store i64 %17, i64* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n store i64 %.reload, i64* %arg1, align 8\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 3, 2, 0, 4, 5 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8 44, { 1, 0 }\n uselistorder i8 0, { 0, 2, 1 }\n uselistorder label LBL_7, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_colordepth_2193", "fun_name": "vnc_colordepth", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n %5 = call i64 @FUNC(i64 %0, i64 0)\n %6 = call i64 @FUNC(i64 %0, i64 0)\n %7 = call i64 @FUNC(i64 %0, i64 1)\n %8 = call i64 @FUNC(i64 %0)\n %9 = call i64 @FUNC(i64 %0)\n %10 = and i64 %8, 4294967295\n %11 = and i64 %9, 4294967295\n %12 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 %11, i64 %10, i64 0)\n %13 = call i64 @FUNC(i64 %0)\n %14 = call i64 @FUNC(i64 %0)\n %15 = call i64 @FUNC(i64 %0)\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %16 = call i64 @FUNC(i64 %0)\n store i64 %16, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 4, 3, 2, 1, 0, 7, 6, 5, 8, 9, 10, 11 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @vnc_write_u8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_interleaved_write_frame_3513", "fun_name": "av_interleaved_write_frame", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_1 = alloca i32, align 4\n %5 = call i64 @FUNC(i64 %arg1, i64 %arg2)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = and i64 %5, 4294967295\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_2:\n %10 = icmp eq i64 %arg2, 0\n br i1 %10, label LBL_9, label LBL_3\n LBL_3:\n %sext = mul i64 %3, 4294967296\n %11 = ashr exact i64 %sext, 29\n %12 = add i64 %11, %arg1\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %14, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %.pre = add i64 %arg2, 4\n %.pre9 = inttoptr i64 %.pre to i32*\n %.pre17 = load i32, i32* %.pre9, align 4\n %20 = or i32 %19, %.pre17\n %21 = icmp eq i32 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_15, label LBL_4\n LBL_4:\n %22 = add i64 %arg2, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = add i64 %arg2, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_0, i64 0, i64 0), i32 %.pre17, i64 %27, i64 %24, i64 %1)\n %29 = call i64 @FUNC(i64 %arg1, i64 %14, i64 %arg2)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_7, label LBL_5\n LBL_5:\n %33 = add i64 %arg1, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = urem i32 %37, 2\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_7, label LBL_6\n LBL_6:\n %41 = and i64 %29, 4294967295\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n %42 = load i64, i64* %26, align 8\n %43 = icmp eq i64 %42, -1\n %44 = icmp eq i1 %43, false\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br i1 %44, label LBL_10, label LBL_8\n LBL_8:\n %45 = add i64 %arg1, 8\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = urem i32 %49, 2\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n store i32 0, i32* %sv_0.0.ph.reg2mem\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %52, label LBL_10, label LBL_15\n LBL_9:\n %53 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_1, i64 0, i64 0), i32 0, i64 %4, i64 %2, i64 %1)\n store i32 1, i32* %sv_0.0.ph.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %54 = bitcast i32* %sv_1 to i64*\n %55 = call i64 @FUNC(i64 %arg1, i64* nonnull %54, i64 %arg2, i32 %sv_0.0.ph.reload)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n %58 = icmp slt i32 %56, 0\n %59 = icmp eq i1 %58, false\n %60 = icmp eq i1 %57, false\n %61 = icmp eq i1 %59, %60\n store i64 %55, i64* %.lcssa.reg2mem\n br i1 %61, label LBL_12, label LBL_11\n LBL_11:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %62 = and i64 %.lcssa.reload, 4294967295\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n %63 = call i64 @FUNC(i64 %arg1, i64* nonnull %54)\n %64 = trunc i64 %63 to i32\n %65 = icmp slt i32 %64, 0\n br i1 %65, label LBL_14, label LBL_13\n LBL_13:\n %66 = load i32, i32* %sv_1, align 4\n %67 = sext i32 %66 to i64\n %68 = mul i64 %67, 8\n %69 = add i64 %68, %arg1\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = add i64 %71, 16\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = add i32 %74, 1\n store i32 %75, i32* %73, align 4\n %76 = call i64 @FUNC(i64* nonnull %54)\n %77 = call i64 @FUNC(i64 %arg1, i64* nonnull %54, i64 0, i32 %sv_0.0.ph.reload)\n %78 = trunc i64 %77 to i32\n %79 = icmp eq i32 %78, 0\n %80 = icmp slt i32 %78, 0\n %81 = icmp eq i1 %80, false\n %82 = icmp eq i1 %79, false\n %83 = icmp eq i1 %81, %82\n store i64 %77, i64* %.lcssa.reg2mem\n br i1 %83, label LBL_12, label LBL_11\n LBL_14:\n %84 = call i64 @FUNC(i64* nonnull %54)\n %85 = and i64 %63, 4294967295\n store i64 %85, i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %78, { 1, 0 }\n uselistorder i64* %54, { 0, 4, 2, 3, 1 }\n uselistorder i32 %.pre17, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 1, 3, 2 }\n uselistorder i64* %.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 4, 1, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64*, i64, i32)* @interleave_packet, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @av_dlog, { 1, 0 }\n uselistorder i64 0, { 4, 5, 6, 7, 8, 0, 10, 1, 2, 3, 9 }\n uselistorder i1 false, { 3, 2, 0, 1, 4, 5, 6, 7, 8 }\n uselistorder i32 0, { 7, 8, 6, 4, 5, 3, 1, 9, 0, 10, 11, 2, 12 }\n uselistorder i32 1, { 9, 6, 8, 7, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 0, 2, 4, 3, 1, 5, 6 }\n uselistorder i64 %arg1, { 8, 0, 7, 2, 9, 4, 3, 6, 5, 1, 10 }\n uselistorder label LBL_15, { 2, 3, 1, 4, 0, 5 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_10, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TIFFMapBlob_202", "fun_name": "TIFFMapBlob", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n store i64 %0, i64* %arg2, align 8\n %1 = icmp eq i64* %arg2, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %arg1)\n store i64 %2, i64* %arg3, align 8\n br label LBL_2\n LBL_2:\n %3 = icmp ne i64* %arg2, null\n %. = zext i1 %3 to i64\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_block_option_help_341", "fun_name": "print_block_option_help", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %4 = inttoptr i64 %0 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 0, i64 %5)\n %7 = icmp eq i64 %arg1, 0\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_6, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %arg1, i64 1)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)\n %12 = call i64 @FUNC(i64 %6)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %13 = inttoptr i64 %8 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %6, i64 %14)\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = call i64 @FUNC(i64 %sv_0.0.reload)\n %17 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @free_option_parameters, { 1, 0 }\n uselistorder i64 (i64, i64)* @append_option_parameters, { 1, 0 }\n uselistorder i64 (i8*, i64)* @error_report, { 1, 0 }\n uselistorder i64 %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_blk_handle_write_11865", "fun_name": "virtio_blk_handle_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = udiv i64 %4, 512\n %6 = call i64 @FUNC(i64 %0, i64 %1, i64 %5)\n %7 = add i64 %0, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = and i64 %12, %1\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i64 %0, i64 4294967291)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %16 = ptrtoint i64* %arg2 to i64\n %17 = add i64 %16, 1536\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 32\n %21 = icmp eq i1 %20, false\n store i32 %19, i32* %.reg2mem\n br i1 %21, label LBL_4, label LBL_3\n LBL_3:\n %22 = inttoptr i64 %9 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %23, i64 %16)\n %.pre = load i32, i32* %18, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %25 = sext i32 %.reload to i64\n %26 = mul nsw i64 %25, 48\n %27 = add i64 %26, %16\n %28 = inttoptr i64 %27 to i64*\n store i64 %1, i64* %28, align 8\n %29 = load i64, i64* %3, align 8\n %30 = udiv i64 %29, 512\n %31 = add i64 %27, 8\n %32 = inttoptr i64 %31 to i64*\n store i64 %30, i64* %32, align 8\n %33 = add i64 %27, 16\n %34 = inttoptr i64 %33 to i64*\n store i64 %2, i64* %34, align 8\n %35 = add i64 %27, 24\n %36 = inttoptr i64 %35 to i64*\n store i64 4198710, i64* %36, align 8\n %37 = add i64 %27, 32\n %38 = inttoptr i64 %37 to i64*\n store i64 %0, i64* %38, align 8\n %39 = add i64 %27, 40\n %40 = inttoptr i64 %39 to i32*\n store i32 0, i32* %40, align 4\n %41 = load i32, i32* %18, align 4\n %42 = add i32 %41, 1\n store i32 %42, i32* %18, align 4\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %18, { 2, 1, 0, 3 }\n uselistorder i64 %16, { 0, 1, 3, 2 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "klondike_get_stats_5436", "fun_name": "klondike_get_stats", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge24.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i64 %5, 0\n %9 = icmp eq i1 %8, false\n %or.cond = icmp eq i1 %7, %9\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_6\n LBL_1:\n %10 = inttoptr i64 %5 to i32*\n %11 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0))\n %12 = load i32, i32* %10, align 4\n %13 = add i64 %5, 40\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp slt i32 %12, 0\n store i32 0, i32* %storemerge24.reg2mem\n br i1 %15, label LBL_5, label LBL_2\n LBL_2:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %16 = call i64 @FUNC(i64 %2, i64 83, i32 %storemerge24.reload, i64 0, i64 0)\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = add i64 %16, 2\n %19 = sext i32 %storemerge24.reload to i64\n %20 = mul i64 %19, 4\n %21 = add i64 %20, %5\n %22 = inttoptr i64 %18 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = inttoptr i64 %21 to i32*\n store i32 %23, i32* %24, align 4\n br label LBL_4\n LBL_4:\n %25 = add i32 %storemerge24.reload, 1\n %26 = icmp sgt i32 %25, %12\n store i32 %25, i32* %storemerge24.reg2mem\n br i1 %26, label LBL_5, label LBL_2\n LBL_5:\n %27 = call i64 @FUNC(i64 %13)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge24.reload, { 2, 0, 1 }\n uselistorder i32 %12, { 1, 0 }\n uselistorder i64 %5, { 0, 2, 3, 1 }\n uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ieee80211_radiotap_iterator_init_13666", "fun_name": "ieee80211_radiotap_iterator_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem7 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg3 to i32\n %3 = icmp ugt i32 %2, 7\n %4 = trunc i64 %1 to i8\n %5 = icmp eq i8 %4, 0\n %or.cond = icmp eq i1 %3, %5\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_6\n LBL_1:\n %6 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %7 = add i64 %6, 2\n %8 = call i64 @FUNC(i64 %7)\n %9 = urem i64 %8, 65536\n %10 = ashr exact i64 %sext, 32\n %11 = icmp slt i64 %10, %9\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_2\n LBL_2:\n %12 = ptrtoint i64* %arg4 to i64\n %13 = ptrtoint i64* %arg1 to i64\n store i64 %6, i64* %arg1, align 8\n %14 = call i64 @FUNC(i64 %7)\n %15 = trunc i64 %14 to i32\n %16 = urem i32 %15, 65536\n %17 = add i64 %13, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %13, 12\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %6, 4\n %22 = call i64 @FUNC(i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = add i64 %13, 16\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i64 %6, 8\n %27 = add i64 %13, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n %29 = add i64 %13, 32\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %13, 40\n %32 = inttoptr i64 %31 to i64*\n store i64 %26, i64* %32, align 8\n %33 = add i64 %13, 48\n %34 = inttoptr i64 %33 to i64*\n store i64 %12, i64* %34, align 8\n %35 = add i64 %13, 64\n %36 = inttoptr i64 %35 to i64*\n store i64 4210725, i64* %36, align 8\n %37 = add i64 %13, 72\n %38 = inttoptr i64 %37 to i32*\n store i32 1, i32* %38, align 4\n %39 = load i32, i32* %25, align 4\n %40 = urem i32 %39, 2\n %41 = icmp eq i32 %40, 0\n %.pre3 = load i64, i64* %28, align 8\n store i64 %.pre3, i64* %.reg2mem\n store i64 %.pre3, i64* %.reg2mem7\n br i1 %41, label LBL_5, label LBL_4\n LBL_3:\n %42 = sub i64 4, %.reload\n %43 = add i64 %42, %52\n %44 = load i32, i32* %18, align 4\n %45 = sext i32 %44 to i64\n %46 = icmp ugt i64 %43, %45\n store i64 %52, i64* %.reg2mem\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %46, label LBL_6, label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %47 = call i64 @FUNC(i64 %.reload)\n %48 = urem i64 %47, 2\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n %51 = load i64, i64* %28, align 8\n %52 = add i64 %51, 4\n store i64 %52, i64* %28, align 8\n store i64 %52, i64* %.reg2mem7\n br i1 %50, label LBL_3, label LBL_5\n LBL_5:\n %.reload8 = load i64, i64* %.reg2mem7\n %53 = add i64 %13, 56\n %54 = inttoptr i64 %53 to i64*\n store i64 %.reload8, i64* %54, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %52, { 0, 3, 2, 1 }\n uselistorder i64* %28, { 2, 1, 0, 3 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64)* @get_unaligned_le32, { 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 65536, { 1, 0 }\n uselistorder i64 (i64)* @get_unaligned_le16, { 1, 0 }\n uselistorder label LBL_6, { 3, 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "X509_VERIFY_PARAM_add0_policy_9920", "fun_name": "X509_VERIFY_PARAM_add0_policy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n store i64 %2, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = ptrtoint i32* %arg2 to i64\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %. = zext i1 %8 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %arg1, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jsvGetString_8338", "fun_name": "jsvGetString", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i64\n %sv_0.05.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_2 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i8*\n %5 = inttoptr i64 %arg2 to i8*\n %6 = trunc i64 %arg3 to i32\n %7 = call i8* @strncpy(i8* %5, i8* %4, i32 %6)\n %8 = call i32 @strlen(i8* %4)\n %9 = sext i32 %8 to i64\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_2:\n %10 = call i64 @FUNC(i64 %arg1)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = and i64 %1, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 %arg2, i64 10)\n %15 = inttoptr i64 %arg2 to i8*\n %16 = call i32 @strlen(i8* %15)\n %17 = sext i32 %16 to i64\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_4:\n %18 = call i64 @FUNC(i64 %arg1)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = trunc i64 %1 to i32\n %22 = call i128 @FUNC(i32 %21)\n %23 = call i64 @FUNC(i64 %arg2, i64 %arg3)\n %24 = inttoptr i64 %arg2 to i8*\n %25 = call i32 @strlen(i8* %24)\n %26 = sext i32 %25 to i64\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_6:\n %27 = call i64 @FUNC(i64 %arg1)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_14, label LBL_7\n LBL_7:\n %30 = call i64 @FUNC(i64 %arg1)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n call void @__assert_fail(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 91, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_9\n LBL_9:\n %33 = call i64 @FUNC(i64* nonnull %sv_2, i64 %arg1, i64 0)\n %34 = call i64 @FUNC(i64* nonnull %sv_2)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %arg3, i64* %sv_0.05.reg2mem\n store i64 %arg2, i64* %sv_1.04.reg2mem\n store i64 %arg2, i64* %sv_1.0.lcssa.reg2mem\n store i64 %arg3, i64* %sv_0.0.lcssa.reg2mem\n br i1 %37, label LBL_10, label LBL_13\n LBL_10:\n %sv_1.04.reload = load i64, i64* %sv_1.04.reg2mem\n %sv_0.05.reload = load i64, i64* %sv_0.05.reg2mem\n %38 = icmp ult i64 %sv_0.05.reload, 2\n br i1 %38, label LBL_11, label LBL_12\n LBL_11:\n %39 = inttoptr i64 %sv_1.04.reload to i8*\n store i8 0, i8* %39, align 1\n %40 = call i64 @FUNC(i64* nonnull %sv_2)\n store i64 %arg3, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_12:\n %41 = add i64 %sv_0.05.reload, -1\n %42 = add i64 %sv_1.04.reload, 1\n %43 = call i64 @FUNC(i64* nonnull %sv_2)\n %44 = trunc i64 %43 to i8\n %45 = inttoptr i64 %sv_1.04.reload to i8*\n store i8 %44, i8* %45, align 1\n %46 = call i64 @FUNC(i64* nonnull %sv_2)\n %47 = call i64 @FUNC(i64* nonnull %sv_2)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 %41, i64* %sv_0.05.reg2mem\n store i64 %42, i64* %sv_1.04.reg2mem\n store i64 %42, i64* %sv_1.0.lcssa.reg2mem\n store i64 %41, i64* %sv_0.0.lcssa.reg2mem\n br i1 %50, label LBL_10, label LBL_13\n LBL_13:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n %51 = call i64 @FUNC(i64* nonnull %sv_2)\n %52 = inttoptr i64 %sv_1.0.lcssa.reload to i8*\n store i8 0, i8* %52, align 1\n %53 = sub i64 %arg3, %sv_0.0.lcssa.reload\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_14:\n %54 = call i64 @FUNC(i64 %arg1, i64 0)\n %55 = icmp eq i64 %54, 0\n br i1 %55, label LBL_16, label LBL_15\n LBL_15:\n %56 = call i64 @FUNC(i64 %54, i64 %arg2, i64 %arg3)\n store i64 %56, i64* %sv_2, align 8\n %57 = call i64 @FUNC(i64 %54)\n %58 = load i64, i64* %sv_2, align 8\n store i64 %58, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %59 = inttoptr i64 %arg2 to i8*\n %60 = trunc i64 %arg3 to i32\n %61 = call i8* @strncpy(i8* %59, i8* bitcast (i8** @gv_3 to i8*), i32 %60)\n %62 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_4, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %54, { 1, 0, 2 }\n uselistorder i64 %sv_1.04.reload, { 1, 0, 2 }\n uselistorder i8* %4, { 1, 0 }\n uselistorder i64* %sv_2, { 7, 8, 1, 2, 3, 4, 5, 0, 6 }\n uselistorder i64* %sv_0.05.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 4, 5, 3, 2, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 (i64*)* @jsvStringIteratorHasChar, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder i8* (i8*, i8*, i32)* @strncpy, { 1, 0 }\n uselistorder i64 %arg3, { 6, 7, 5, 0, 1, 2, 4, 3 }\n uselistorder i64 %arg2, { 7, 8, 0, 1, 6, 5, 4, 3, 2 }\n uselistorder i64 %arg1, { 1, 0, 2, 3, 4, 5, 6 }\n uselistorder label LBL_17, { 0, 1, 3, 2, 4, 5, 6 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_stdio_1568", "fun_name": "qemu_chr_open_stdio", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp slt i32 %0, 10\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i8\n %4 = icmp eq i8 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %6 = load i32, i32* @gv_0, align 4\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n %9 = call i32 (i32, i32, ...) @fcntl(i32 0, i32 3)\n store i32 %9, i32* bitcast (i64* @gv_2 to i32*), align 8\n %10 = call i32 @tcgetattr(i32 0, %termios* bitcast (%termios** @gv_3 to %termios*))\n %11 = call i32 (i32, i32, ...) @fcntl(i32 0, i32 4)\n %12 = call i64 @FUNC(i64 4198829, i64 4)\n br label LBL_5\n LBL_5:\n %13 = ptrtoint i64* %arg1 to i64\n %14 = call i64 @FUNC(i64 0, i64 1)\n %15 = inttoptr i64 %14 to i64*\n store i64 4198862, i64* %15, align 8\n %16 = add i64 %14, 8\n %17 = inttoptr i64 %16 to i64*\n store i64 4198869, i64* %17, align 8\n %18 = call i64 @FUNC(i64 0, i64 4198930, i64 4198937, i64 0, i64 %14)\n store i32 ptrtoint (i32* @gv_4 to i32), i32* @gv_0, align 4\n %19 = load i32, i32* @gv_5, align 4\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n %22 = zext i1 %21 to i64\n %23 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_6, i64 0, i64 0), i64 %22)\n %24 = trunc i64 %23 to i8\n store i8 %24, i8* bitcast (i64* @gv_7 to i8*), align 8\n %25 = call i64 @FUNC(i64 %14, i64 0)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32 (i32, i32, ...)* @fcntl, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32 0, { 6, 0, 1, 2, 7, 3, 4, 5 }\n uselistorder i32* @gv_0, { 2, 1, 0 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_ts_1297", "fun_name": "read_ts", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i128, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i128, align 8\n %sv_5 = alloca i32, align 4\n %sv_6 = alloca i32, align 4\n %sv_7 = alloca i32, align 4\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 (i8*, i8*, ...) @sscanf(i8* %0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i128* nonnull %sv_4, i32* nonnull %sv_5, i32* nonnull %sv_6, i32* nonnull %sv_7, i128* nonnull %sv_0, i32* nonnull %sv_1, i32* nonnull %sv_2, i32* nonnull %sv_3)\n %2 = icmp eq i32 %1, 8\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load i128, i128* %sv_0, align 8\n %5 = trunc i128 %4 to i32\n %6 = mul i32 %5, 3600\n %7 = load i32, i32* %sv_1, align 4\n %8 = mul i32 %7, 60\n %9 = add i32 %6, %8\n %10 = load i32, i32* %sv_2, align 4\n %11 = add i32 %9, %10\n %12 = mul i32 %11, 100\n %13 = load i32, i32* %sv_3, align 4\n %14 = load i32, i32* %sv_5, align 4\n %15 = sext i32 %14 to i64\n %16 = mul nsw i64 %15, 60\n %17 = load i32, i32* %sv_6, align 4\n %18 = sext i32 %17 to i64\n %19 = add nsw i64 %16, %18\n %20 = mul nsw i64 %19, 100\n %21 = load i32, i32* %sv_7, align 4\n %22 = sext i32 %21 to i64\n %23 = add nsw i64 %20, %22\n store i64 %23, i64* %arg2, align 8\n %24 = sub i32 %13, ptrtoint ([24 x i8]* @gv_0 to i32)\n %25 = add i32 %24, %12\n %26 = bitcast i64* %arg3 to i32*\n store i32 %25, i32* %26, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_3, { 1, 0 }\n uselistorder i32* %sv_2, { 1, 0 }\n uselistorder i32* %sv_1, { 1, 0 }\n uselistorder i128* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bpf_map_put_7097", "fun_name": "bpf_map_put", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1)\n %4 = add i64 %arg1, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %arg1, 8\n %9 = call i64 @FUNC(i64 %8, i64 4198775)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %10 = call i64 @FUNC(i64 %arg1)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 %arg1, { 0, 1, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "update_read_cache_brush_order_7355", "fun_name": "update_read_cache_brush_order", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i16 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %storemerge.reg2mem = alloca i64\n %storemerge58.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv10.reg2mem = alloca i64\n %sv_0 = alloca i32, align 4\n %1 = load i32, i32* %0\n %2 = call i64* @calloc(i32 1, i32 38)\n %3 = icmp eq i64* %2, null\n br i1 %3, label LBL_21, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg2 to i64\n %5 = call i64 @FUNC(i64 %4)\n %6 = icmp ult i64 %5, 6\n br i1 %6, label LBL_21, label LBL_2\n LBL_2:\n %7 = bitcast i64* %2 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = zext i8 %8 to i64\n %10 = call i64 @FUNC(i64 %4, i64 %9)\n %11 = urem i32 %1, 256\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %4, i64 %12)\n %14 = bitcast i32* %sv_0 to i64*\n %15 = call i64 @FUNC(i64 %12, i64* nonnull %14)\n %16 = ptrtoint i64* %2 to i64\n %17 = trunc i64 %15 to i8\n %18 = add i64 %16, 1\n %19 = inttoptr i64 %18 to i8*\n store i8 %17, i8* %19, align 1\n %20 = load i32, i32* %sv_0, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_21, label LBL_3\n LBL_3:\n %22 = add i64 %16, 2\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = zext i8 %24 to i64\n %26 = call i64 @FUNC(i64 %4, i64 %25)\n %27 = add i64 %16, 3\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = zext i8 %29 to i64\n %31 = call i64 @FUNC(i64 %4, i64 %30)\n %32 = add i64 %16, 4\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i64\n %36 = call i64 @FUNC(i64 %4, i64 %35)\n %37 = add i64 %16, 5\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = zext i8 %39 to i64\n %41 = call i64 @FUNC(i64 %4, i64 %40)\n %42 = load i8, i8* %23, align 1\n %43 = icmp eq i8 %42, 8\n %44 = icmp eq i1 %43, false\n store i64 %16, i64* %storemerge.reg2mem\n br i1 %44, label LBL_22, label LBL_4\n LBL_4:\n %45 = load i8, i8* %28, align 1\n %46 = icmp eq i8 %45, 8\n %47 = icmp eq i1 %46, false\n store i64 %16, i64* %storemerge.reg2mem\n br i1 %47, label LBL_22, label LBL_5\n LBL_5:\n %48 = load i8, i8* %19, align 1\n %49 = icmp eq i8 %48, 1\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_11, label LBL_6\n LBL_6:\n %51 = load i8, i8* %38, align 1\n %52 = icmp eq i8 %51, 8\n br i1 %52, label LBL_8, label LBL_7\n LBL_7:\n %53 = zext i8 %51 to i64\n %54 = call i64 @FUNC(i64 %4, i64 1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %53)\n br label LBL_21\n LBL_8:\n %55 = call i64 @FUNC(i64 %4)\n %56 = icmp ult i64 %55, 8\n br i1 %56, label LBL_21, label LBL_9\n LBL_9:\n %57 = add i64 %16, 6\n store i64 7, i64* %indvars.iv10.reg2mem\n br label LBL_10\n LBL_10:\n %indvars.iv10.reload = load i64, i64* %indvars.iv10.reg2mem\n %58 = add i64 %57, %indvars.iv10.reload\n %59 = inttoptr i64 %58 to i8*\n %60 = load i8, i8* %59, align 1\n %61 = zext i8 %60 to i64\n %62 = call i64 @FUNC(i64 %4, i64 %61)\n %indvars.iv.next11 = add nsw i64 %indvars.iv10.reload, -1\n %63 = icmp eq i64 %indvars.iv10.reload, 0\n %64 = icmp eq i1 %63, false\n store i64 %indvars.iv.next11, i64* %indvars.iv10.reg2mem\n store i64 %16, i64* %storemerge.reg2mem\n br i1 %64, label LBL_10, label LBL_22\n LBL_11:\n %65 = trunc i32 %1 to i8\n %66 = icmp eq i8 %65, 1\n %67 = icmp eq i1 %66, false\n br i1 %67, label LBL_13, label LBL_12\n LBL_12:\n %68 = load i8, i8* %38, align 1\n %69 = icmp eq i8 %68, 20\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_13, label LBL_17\n LBL_13:\n %71 = icmp eq i8 %65, 2\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_15, label LBL_14\n LBL_14:\n %73 = load i8, i8* %38, align 1\n %74 = icmp eq i8 %73, 24\n %75 = icmp eq i1 %74, false\n br i1 %75, label LBL_15, label LBL_17\n LBL_15:\n %76 = icmp eq i8 %65, 3\n %77 = icmp eq i1 %76, false\n br i1 %77, label LBL_18, label LBL_16\n LBL_16:\n %78 = load i8, i8* %38, align 1\n %79 = icmp eq i8 %78, 32\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_18, label LBL_17\n LBL_17:\n %81 = add i64 %16, 6\n %82 = zext i8 %48 to i64\n %83 = call i64 @FUNC(i64 %4, i64 %81, i64 32, i64 %82)\n %84 = trunc i64 %83 to i8\n %85 = icmp eq i8 %84, 1\n store i64 %16, i64* %storemerge.reg2mem\n br i1 %85, label LBL_22, label LBL_21\n LBL_18:\n %86 = and i8 %48, -8\n %87 = zext i8 %86 to i32\n %88 = call i64 @FUNC(i64 %4)\n %89 = mul i32 %87, 8\n %90 = zext i32 %89 to i64\n %91 = icmp ult i64 %88, %90\n br i1 %91, label LBL_21, label LBL_19\n LBL_19:\n %92 = add i64 %16, 6\n store i64 7, i64* %indvars.iv.reg2mem\n store i32 7, i32* %storemerge58.reg2mem\n br label LBL_20\n LBL_20:\n %storemerge58.reload = load i32, i32* %storemerge58.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %93 = mul i32 %storemerge58.reload, %87\n %94 = zext i32 %93 to i64\n %95 = add i64 %92, %94\n %96 = call i64 @FUNC(i64 %4, i64 %95, i32 %87)\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1\n %97 = add nsw i32 %storemerge58.reload, -1\n %98 = icmp eq i64 %indvars.iv.reload, 0\n %99 = icmp eq i1 %98, false\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %97, i32* %storemerge58.reg2mem\n store i64 %16, i64* %storemerge.reg2mem\n br i1 %99, label LBL_20, label LBL_22\n LBL_21:\n %100 = ptrtoint i64* %arg1 to i64\n %101 = add i64 %100, 8\n %102 = inttoptr i64 %101 to i64*\n %103 = load i64, i64* %102, align 8\n %104 = ptrtoint i64* %2 to i64\n %105 = call i64 @FUNC(i64 %103, i64 %104)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_22\n LBL_22:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i32 %87, { 2, 1, 0 }\n uselistorder i64 %indvars.iv10.reload, { 2, 0, 1 }\n uselistorder i8* %38, { 3, 2, 1, 0, 4 }\n uselistorder i64 %16, { 1, 6, 4, 7, 0, 5, 3, 2, 8, 9, 10, 11, 12 }\n uselistorder i64 %4, { 4, 5, 3, 1, 2, 0, 6, 7, 8, 9, 11, 10, 12 }\n uselistorder i64* %2, { 0, 1, 3, 2 }\n uselistorder i64* %indvars.iv10.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge58.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 6, 2, 5, 1, 4, 3 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i8 2, { 1, 0 }\n uselistorder i64 -1, { 1, 0, 2, 3 }\n uselistorder i64 8, { 2, 1, 0, 3, 4, 5 }\n uselistorder i8 1, { 1, 2, 3, 0, 4 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0, 3, 4, 5 }\n uselistorder i64 (i64, i64)* @Stream_Read_UINT8, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 6, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @Stream_GetRemainingLength, { 2, 1, 0 }\n uselistorder label LBL_22, { 5, 1, 4, 0, 3, 2 }\n uselistorder label LBL_21, { 0, 5, 1, 6, 2, 3, 4 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 2, 0, 1 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ConvertUTF16ToUTF8_8356", "fun_name": "ConvertUTF16ToUTF8", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = add i64 %2, 1\n %4 = call i64 @FUNC(i64 %3, i64 1)\n %5 = icmp eq i64 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.1.reg2mem\n br i1 %6, label LBL_1, label LBL_5\n LBL_1:\n %7 = trunc i64 %1 to i8\n %8 = icmp ne i8 %7, -2\n %9 = icmp eq i8 %7, -1\n %10 = icmp eq i1 %9, false\n %11 = icmp eq i1 %8, %10\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %4, i64 %arg1, i64 1)\n %14 = add i64 %4, %arg1\n %15 = inttoptr i64 %14 to i8*\n store i8 0, i8* %15, align 1\n store i64 %4, i64* %rax.1.reg2mem\n br label LBL_5\n LBL_3:\n store i64 0, i64* %arg2, align 8\n %16 = call i64 @FUNC(i64 %4, i64 1, i64 1)\n %17 = icmp eq i64 %16, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = add i64 %16, 1\n %19 = inttoptr i64 %18 to i8*\n store i8 0, i8* %19, align 1\n store i64 %16, i64* %rax.1.reg2mem\n br label LBL_5\n LBL_5:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i8 %7, { 1, 0 }\n uselistorder i64 %4, { 2, 0, 1, 3, 4 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 1, { 0, 3, 1, 2, 4, 5 }\n uselistorder label LBL_5, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_php_pgsql_detect_identifier_escape_8832", "fun_name": "_php_pgsql_detect_identifier_escape", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp ult i64 %arg2, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_6, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 34\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_6, label LBL_2\n LBL_2:\n %6 = add i64 %arg2, -1\n %7 = add i64 %6, %arg1\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 34\n %11 = icmp eq i1 %10, false\n store i64 1, i64* %storemerge2.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %12 = add i64 %storemerge2.reload, %arg1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 34\n %16 = icmp eq i1 %15, false\n store i64 %storemerge2.reload, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %storemerge2.reload, 1\n %18 = add i64 %17, %arg1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 34\n %22 = icmp eq i64 %17, %6\n %23 = icmp eq i1 %22, false\n %or.cond = icmp eq i1 %23, %21\n store i64 %17, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_6\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %24 = add i64 %sv_0.0.reload, 1\n %25 = icmp ult i64 %24, %6\n store i64 %24, i64* %storemerge2.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %25, label LBL_3, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %17, { 0, 2, 1 }\n uselistorder i64 %storemerge2.reload, { 1, 0, 2 }\n uselistorder i64 %6, { 2, 1, 0 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64 1, { 0, 2, 3, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_6, { 0, 1, 3, 2, 4 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rdg_receive_packet_7336", "fun_name": "rdg_receive_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = call i64 @FUNC(i64 0, i64 1024)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_9\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n %6 = call i64 @FUNC(i64 %2, i64 %5, i64 0)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %2, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %11 = call i64 @FUNC(i64 %2, i64 4)\n %12 = sext i32 %1 to i64\n %13 = call i64 @FUNC(i64 %2, i64 %12)\n %14 = icmp sgt i32 %1, -1\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = call i64 @FUNC(i64 %2, i64 %12)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_5, label LBL_6\n LBL_5:\n %19 = call i64 @FUNC(i64 %2, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %20 = call i64 @FUNC(i64 %2)\n %21 = call i64 @FUNC(i64 %2, i64 %20, i64 %12)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC(i64 %2, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %26 = call i64 @FUNC(i64 %2, i64 %12)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 0, 2, 1, 4, 3, 6, 5, 8, 7, 9, 11, 10, 12 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 5, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @rdg_read_all, { 1, 0 }\n uselistorder i64 (i64)* @Stream_Buffer, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nbd_establish_connection_14443", "fun_name": "nbd_establish_connection", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %storemerge.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 47\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n store i64 %4, i64* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %5 = call i64 @FUNC(i64 %0)\n store i64 %5, i64* %storemerge.in.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = trunc i64 %storemerge.in.reload to i32\n %6 = icmp slt i32 %storemerge, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_5, label LBL_4\n LBL_4:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_0, i64 0, i64 0))\n %9 = call i32* @__errno_location()\n %10 = load i32, i32* %9, align 4\n %11 = sub i32 0, %10\n store i32 %11, i32* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_5:\n %12 = add i64 %0, 16\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = and i64 %storemerge.in.reload, 4294967295\n %17 = call i64 @FUNC(i64 %16, i64 %15, i64 %12, i64* nonnull %sv_0, i64* nonnull %sv_1)\n %18 = trunc i64 %17 to i32\n %19 = icmp slt i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_7, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0))\n %22 = call i64 @FUNC(i64 %16)\n store i32 %18, i32* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_7:\n %23 = call i64 @FUNC(i64 %16)\n %24 = add i64 %0, 20\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = zext i32 %26 to i64\n %28 = call i64 @FUNC(i64 %27, i64 4198883, i64 0, i64 4198890, i64 %0)\n store i32 %storemerge, i32* %25, align 4\n %29 = load i64, i64* %sv_0, align 8\n %30 = add i64 %0, 24\n %31 = inttoptr i64 %30 to i64*\n store i64 %29, i64* %31, align 8\n %32 = load i64, i64* %sv_1, align 8\n %33 = add i64 %0, 32\n %34 = inttoptr i64 %33 to i64*\n store i64 %32, i64* %34, align 8\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0))\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i64 %16, { 1, 0, 2 }\n uselistorder i64 %storemerge.in.reload, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64 %0, { 3, 4, 6, 5, 8, 7, 0, 1, 2 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i8*)* @logout, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cil_reset_classpermission_6313", "fun_name": "cil_reset_classpermission", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 0)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__ptrace_may_access_11768", "fun_name": "__ptrace_may_access", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC()\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_16\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = inttoptr i64 %1 to i32*\n %8 = call i64 @FUNC()\n %9 = call i64 @FUNC(i64 %0)\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = load i32, i32* %7, align 4\n %14 = zext i32 %12 to i64\n %15 = zext i32 %13 to i64\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n br i1 %18, label LBL_7, label LBL_2\n LBL_2:\n %19 = add i64 %9, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = load i32, i32* %7, align 4\n %23 = zext i32 %21 to i64\n %24 = zext i32 %22 to i64\n %25 = call i64 @FUNC(i64 %24, i64 %23)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_7, label LBL_3\n LBL_3:\n %28 = inttoptr i64 %9 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = load i32, i32* %7, align 4\n %31 = zext i32 %29 to i64\n %32 = zext i32 %30 to i64\n %33 = call i64 @FUNC(i64 %32, i64 %31)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_7, label LBL_4\n LBL_4:\n %36 = add i64 %9, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i64 %1, 12\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = zext i32 %38 to i64\n %43 = zext i32 %41 to i64\n %44 = call i64 @FUNC(i64 %43, i64 %42)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_7, label LBL_5\n LBL_5:\n %47 = add i64 %9, 20\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = load i32, i32* %40, align 4\n %51 = zext i32 %49 to i64\n %52 = zext i32 %50 to i64\n %53 = call i64 @FUNC(i64 %52, i64 %51)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_7, label LBL_6\n LBL_6:\n %56 = add i64 %9, 12\n %57 = inttoptr i64 %56 to i32*\n %58 = load i32, i32* %57, align 4\n %59 = load i32, i32* %40, align 4\n %60 = zext i32 %58 to i64\n %61 = zext i32 %59 to i64\n %62 = call i64 @FUNC(i64 %61, i64 %60)\n %63 = trunc i64 %62 to i32\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n store i64 %61, i64* %rdi.0.reg2mem\n br i1 %65, label LBL_9, label LBL_7\n LBL_7:\n %66 = add i64 %9, 24\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = and i64 %6, 4294967295\n %70 = zext i32 %68 to i64\n %71 = call i64 @FUNC(i64 %70, i64 %69)\n %72 = trunc i64 %71 to i32\n %73 = icmp eq i32 %72, 0\n %74 = icmp eq i1 %73, false\n store i64 %70, i64* %rdi.0.reg2mem\n br i1 %74, label LBL_9, label LBL_8\n LBL_8:\n %75 = call i64 @FUNC()\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_9:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %76 = call i64 @FUNC()\n %77 = call i64 @FUNC()\n %78 = icmp eq i64 %rdi.0.reload, 0\n br i1 %78, label LBL_12, label LBL_10\n LBL_10:\n %79 = call i64 @FUNC(i64 %rdi.0.reload)\n %80 = trunc i64 %79 to i32\n %phitmp = icmp eq i32 %80, 0\n %phitmp4 = icmp eq i1 %phitmp, false\n %81 = call i64 @FUNC()\n br i1 %phitmp4, label LBL_10.LBL_15_crit_edge, label LBL_13\n LBL_11:\n %.pre = and i64 %6, 4294967295\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_15\n LBL_12:\n %82 = call i64 @FUNC()\n br label LBL_13\n LBL_13:\n %83 = call i64 @FUNC(i64 %0)\n %84 = add i64 %83, 24\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = and i64 %6, 4294967295\n %88 = zext i32 %86 to i64\n %89 = call i64 @FUNC(i64 %88, i64 %87)\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n %92 = icmp eq i1 %91, false\n store i64 %87, i64* %.pre-phi.reg2mem\n br i1 %92, label LBL_15, label LBL_14\n LBL_14:\n %93 = call i64 @FUNC()\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %94 = call i64 @FUNC()\n %95 = call i64 @FUNC(i64 %0, i64 %.pre-phi.reload)\n store i64 %95, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 ()* @rcu_read_unlock, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @ptrace_has_cap, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64)* @gid_eq, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @uid_eq, { 2, 1, 0 }\n uselistorder i64 (i64)* @__task_cred, { 1, 0 }\n uselistorder i64 ()* @rcu_read_lock, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder label LBL_16, { 1, 2, 3, 0 }\n uselistorder label LBL_15, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mptsas_phy_addr_get_8425", "fun_name": "mptsas_phy_addr_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n %.mask3 = and i64 %arg2, 4294967040\n %1 = icmp eq i64 %.mask3, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = urem i64 %0, 256\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %4 = icmp eq i64 %.mask3, 256\n %5 = icmp eq i1 %4, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %5, label LBL_5, label LBL_3\n LBL_3:\n %6 = urem i64 %0, 65536\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %7 = trunc i64 %storemerge.reload to i32\n %8 = icmp ult i32 %7, 256\n %storemerge. = select i1 %8, i64 %storemerge.reload, i64 4294967274\n store i64 %storemerge., i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.reload, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i64 256, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__audit_ptrace_230", "fun_name": "__audit_ptrace", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0)\n %5 = trunc i64 %4 to i32\n %6 = inttoptr i64 %3 to i32*\n store i32 %5, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i32\n %9 = add i64 %3, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = call i64 @FUNC(i64 %0)\n %12 = trunc i64 %11 to i32\n %13 = add i64 %3, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = call i64 @FUNC(i64 %0)\n %16 = trunc i64 %15 to i32\n %17 = add i64 %3, 12\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %3, 16\n %20 = call i64 @FUNC(i64 %0, i64 %19)\n %21 = add i64 %3, 20\n %22 = add i64 %0, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = inttoptr i64 %21 to i64*\n store i64 %0, i64* %25, align 8\n %26 = add i64 %3, 28\n %27 = inttoptr i64 %26 to i64*\n store i64 %24, i64* %27, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 4, 5, 6, 3, 2, 1, 0, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "solo_enc_free_17420", "fun_name": "solo_enc_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = add i64 %arg1, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %arg1)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pty_chr_close_16505", "fun_name": "pty_chr_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = call i64 @FUNC(i64 %4)\n %8 = call i32 @close(i32 %6)\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = zext i32 %11 to i64\n %14 = call i64 @FUNC(i64 %13)\n store i32 0, i32* %10, align 4\n br label LBL_2\n LBL_2:\n %15 = call i64 @FUNC(i64 %2)\n %16 = call i64 @FUNC(i64 %2, i64 0)\n ret i64 %16\n\n uselistorder i64 %4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tracked_request_end_937", "fun_name": "tracked_request_end", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %2 to i64*\n store i64 %arg1, i64* %4, align 8\n br label LBL_2\n LBL_2:\n %5 = add i64 %arg1, 16\n %6 = call i64 @FUNC(i64 %5)\n ret i64 %6\n\n uselistorder i64 %arg1, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_uint8_equal_3300", "fun_name": "get_uint8_equal", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i8, align 1\n %3 = bitcast i8* %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %2, i64* nonnull %3)\n %5 = trunc i64 %1 to i8\n %6 = load i8, i8* %sv_0, align 1\n %7 = icmp eq i8 %6, %5\n %8 = icmp eq i1 %7, false\n %. = select i1 %8, i64 4294967274, i64 0\n ret i64 %.\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sfb_init_perturbation_7135", "fun_name": "sfb_init_perturbation", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = mul i64 %arg1, 4\n %2 = and i64 %1, 17179869180\n %3 = add i64 %2, %0\n %4 = call i64 @FUNC(i64 %3, i64 4)\n ret i64 %4\n\n uselistorder i64 4, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_rt_sigreturn_1404", "fun_name": "do_rt_sigreturn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = add i64 %1, 232\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %1, i64 %5)\n %7 = call i64 @FUNC(i64 0, i64 %2, i64 %5, i64 1)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64* nonnull %sv_0, i64 %2)\n %11 = call i64 @FUNC(i64 2, i64* nonnull %sv_0, i64 0)\n %12 = add i64 %2, 128\n %13 = call i64 @FUNC(i64 %1, i64 %12)\n %14 = load i64, i64* %4, align 8\n %15 = add i64 %5, 128\n %16 = call i64 @FUNC(i64 %15, i64 0, i64 %14)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, -14\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %2, i64 %5, i64 0)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %20 = call i64 @FUNC(i64 %2, i64 %5, i64 0)\n %21 = call i64 @FUNC(i64 11)\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %5, { 2, 0, 1, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @unlock_user_struct, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "m_start_13784", "fun_name": "m_start", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %1, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 0)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = icmp eq i64 %4, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_6\n LBL_1:\n %9 = call i64 @FUNC(i64 %4)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = load i64, i64* %6, align 8\n %13 = call i64 @FUNC(i64 %12)\n store i64 0, i64* %6, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %14 = ptrtoint i64* %arg2 to i64\n %15 = call i64 @FUNC(i64 %9)\n %16 = add i64 %9, 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %17, i64* %storemerge2.reg2mem\n store i64 %14, i64* %sv_0.01.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %19, label LBL_4, label LBL_6\n LBL_4:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %20 = icmp eq i64 %sv_0.01.reload, 0\n %21 = icmp eq i1 %20, false\n store i64 %storemerge2.reload, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_6\n LBL_5:\n %22 = add i64 %sv_0.01.reload, -1\n %23 = call i64 @FUNC(i64 %storemerge2.reload)\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %storemerge2.reg2mem\n store i64 %22, i64* %sv_0.01.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_4, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge2.reload, { 1, 0 }\n uselistorder i64 %sv_0.01.reload, { 1, 0 }\n uselistorder i64 %9, { 1, 0, 2 }\n uselistorder i64* %6, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 }\n uselistorder i1 false, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_6, { 1, 0, 2, 4, 3 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sta_info_alloc_4369", "fun_name": "sta_info_alloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %1, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = add nsw i64 %2, 120\n %4 = zext i32 %arg3 to i64\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_8\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %5, 92\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %5, 96\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i64 %5, 100\n %14 = call i64 @FUNC(i64 %13, i64 4199010)\n %15 = add i64 %5, 32\n %16 = call i64 @FUNC(i64 %15, i64 4199017)\n %17 = add i64 %5, 36\n %18 = call i64 @FUNC(i64 %17)\n %19 = ptrtoint i32* %arg2 to i64\n %20 = call i64 @FUNC(i64 %5, i64 %19, i64 6)\n %21 = add i64 %5, 8\n %22 = inttoptr i64 %21 to i64*\n store i64 %8, i64* %22, align 8\n %23 = add i64 %5, 16\n %24 = inttoptr i64 %23 to i64*\n store i64 %8, i64* %24, align 8\n %25 = load i64, i64* @gv_0, align 8\n %26 = add i64 %5, 24\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = add i64 %5, 116\n %29 = call i64 @FUNC(i64 %28, i64 1024, i64 8)\n %30 = call i64 @FUNC(i64 %8, i64 %5, i32 %arg3)\n %31 = trunc i64 %30 to i32\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_2, label LBL_3\n LBL_2:\n %33 = add i64 %5, 40\n store i64 0, i64* %indvars.iv5.reg2mem\n br label LBL_4\n LBL_3:\n %34 = call i64 @FUNC(i64 %5)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %35 = mul i64 %indvars.iv5.reload, 4\n %36 = add i64 %33, %35\n %37 = inttoptr i64 %36 to i32*\n %38 = trunc i64 %indvars.iv5.reload to i32\n store i32 %38, i32* %37, align 4\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 8\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br i1 %exitcond7, label LBL_5, label LBL_4\n LBL_5:\n %39 = add i64 %5, 104\n %40 = call i64 @FUNC(i64 %39)\n %41 = add i64 %5, 108\n %42 = call i64 @FUNC(i64 %41)\n %43 = add i64 %5, 72\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %44 = call i64 @FUNC(i64 65535)\n %45 = trunc i64 %44 to i32\n %46 = urem i32 %45, 65536\n %47 = mul i64 %indvars.iv.reload, 4\n %48 = add i64 %43, %47\n %49 = inttoptr i64 %48 to i32*\n store i32 %46, i32* %49, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %50 = add i64 %8, 8\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %52, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %5)\n %54 = add i64 %5, 88\n %55 = inttoptr i64 %54 to i32*\n store i32 0, i32* %55, align 4\n %56 = add i64 %5, 112\n %57 = call i64 @FUNC(i64 %56)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 0, 2, 3, 4, 5, 6, 8, 1, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 }\n uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @skb_queue_head_init, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder i64 8, { 2, 0, 1, 3 }\n uselistorder i64 (i64, i64, i64)* @memcpy, { 1, 0 }\n uselistorder i64 (i64, i64)* @INIT_WORK, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock_init, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rds_tcp_kill_sock_5530", "fun_name": "rds_tcp_kill_sock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge5714.reg2mem = alloca i64\n %sv_0.08.reg2mem = alloca i64\n %storemerge39.in.reg2mem = alloca i64*\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %1 = load i32, i32* @gv_0, align 4\n %2 = zext i32 %1 to i64\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n store i64 0, i64* %4, align 8\n %6 = add i64 %3, 8\n %7 = call i64 @FUNC(i64 %5, i64 %6)\n %8 = call i64 @FUNC(i64* nonnull @gv_1)\n store i64* @gv_1, i64** %storemerge39.in.reg2mem\n store i64 ptrtoint (i64* @gv_2 to i64), i64* %sv_0.08.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem\n %storemerge39.in.reload = load i64*, i64** %storemerge39.in.reg2mem\n %storemerge39 = load i64, i64* %storemerge39.in.reload, align 8\n %9 = inttoptr i64 %sv_0.08.reload to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n store i64 %13, i64* %sv_1, align 8\n %14 = icmp eq i64 %13, %0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_2\n LBL_2:\n %16 = load i64, i64* %9, align 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = call i64 @FUNC(i64* nonnull %sv_1, i64 %18)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n %23 = add i64 %sv_0.08.reload, 8\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %24 = call i64 @FUNC(i64 %23, i64* nonnull %sv_1)\n br label LBL_5\n LBL_4:\n %25 = call i64 @FUNC(i64 %23)\n %26 = add i64 %sv_0.08.reload, 16\n %27 = inttoptr i64 %26 to i32*\n store i32 1, i32* %27, align 4\n br label LBL_5\n LBL_5:\n %28 = icmp eq i64 %storemerge39, 0\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = add i64 %storemerge39, 8\n %30 = inttoptr i64 %29 to i64*\n store i64* %30, i64** %storemerge39.in.reg2mem\n store i64 %storemerge39, i64* %sv_0.08.reg2mem\n br label LBL_1\n LBL_7:\n %31 = call i64 @FUNC(i64* nonnull @gv_1)\n %32 = ptrtoint i64* %sv_1 to i64\n %storemerge57.in.in11 = add i64 %32, 8\n %storemerge57.in12 = inttoptr i64 %storemerge57.in.in11 to i64*\n %storemerge5713 = load i64, i64* %storemerge57.in12, align 8\n %33 = load i64, i64* %sv_1, align 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %35)\n %37 = icmp eq i64 %storemerge5713, 0\n store i64 %storemerge5713, i64* %storemerge5714.reg2mem\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n %storemerge5714.reload = load i64, i64* %storemerge5714.reg2mem\n %storemerge57.ptr = inttoptr i64 %storemerge5714.reload to i64*\n %storemerge57.in.in = add i64 %storemerge5714.reload, 8\n %storemerge57.in = inttoptr i64 %storemerge57.in.in to i64*\n %storemerge57 = load i64, i64* %storemerge57.in, align 8\n %38 = load i64, i64* %storemerge57.ptr, align 8\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = icmp eq i64 %storemerge57, 0\n store i64 %storemerge57, i64* %storemerge5714.reg2mem\n br i1 %42, label LBL_9, label LBL_8\n LBL_9:\n ret i64 0\n\n uselistorder i64 %storemerge5714.reload, { 1, 0 }\n uselistorder i64 %23, { 1, 0 }\n uselistorder i64 %storemerge39, { 0, 2, 1 }\n uselistorder i64 %sv_0.08.reload, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 0, 3, 1, 2, 4 }\n uselistorder i64** %storemerge39.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge5714.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @rds_conn_destroy, { 1, 0 }\n uselistorder i64* @gv_1, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2, 3, 4 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usage_18699", "fun_name": "usage", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([831 x i8], [831 x i8]* @gv_0, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0))\n %2 = sext i32 %1 to i64\n ret i64 %2\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pid_file_read_17560", "fun_name": "pid_file_read", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %5 = bitcast i64* %arg2 to i32*\n store i32 -1, i32* %5, align 4\n %6 = inttoptr i64 %arg1 to i8*\n %7 = call i32 (i8*, i32, ...) @open(i8* %6, i32 0)\n store i32 %7, i32* %sv_1, align 4\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %10 = call i32* @__errno_location()\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 2\n %13 = icmp eq i1 %12, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %13, label LBL_2, label LBL_12\n LBL_2:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %arg1, i64 %3, i64 %4, i64 %2, i64 %1)\n unreachable\n LBL_3:\n %15 = ptrtoint i64* %sv_0 to i64\n %16 = call i32 @read(i32 %7, i64* nonnull %sv_0, i32 32)\n %17 = icmp eq i32 %16, 0\n %18 = icmp slt i32 %16, 0\n %19 = icmp eq i1 %18, false\n %20 = icmp eq i1 %17, false\n %21 = icmp eq i1 %19, %20\n br i1 %21, label LBL_7, label LBL_4\n LBL_4:\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_1, i64 0, i64 0), i64 %arg1, i64 32, i64 %15, i64 %2, i64 %1)\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_6:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i64 %arg1, i64 32, i64 %15, i64 %2, i64 %1)\n unreachable\n LBL_7:\n %24 = ptrtoint i64* %sv_2 to i64\n %25 = sext i32 %16 to i64\n %26 = add i64 %24, -65\n %27 = add i64 %26, %25\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = icmp eq i8 %29, 10\n %31 = sext i1 %30 to i64\n %spec.select = add i64 %25, %15\n %32 = add i64 %spec.select, %31\n %33 = inttoptr i64 %32 to i8*\n store i8 0, i8* %33, align 1\n %34 = bitcast i64* %sv_0 to i8*\n %35 = call i32 @atoi(i8* nonnull %34)\n store i32 %35, i32* %5, align 4\n %36 = bitcast i64* %rsi to i32*\n %37 = load i32, i32* %36, align 8\n %38 = call i32 @getpid()\n %39 = icmp eq i32 %37, %38\n br i1 %39, label LBL_10, label LBL_8\n LBL_8:\n %40 = call i32 @kill(i32 %37, i32 0)\n %41 = icmp slt i32 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 1, i64* %storemerge1.reg2mem\n br i1 %42, label LBL_11, label LBL_9\n LBL_9:\n %43 = call i32* @__errno_location()\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %44, 3\n store i64 1, i64* %storemerge1.reg2mem\n br i1 %45, label LBL_10, label LBL_11\n LBL_10:\n store i64 0, i64* %storemerge1.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %46 = call i64 @FUNC(i32* nonnull %sv_1)\n store i64 %storemerge1.reload, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %16, { 2, 0, 1 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @i_fatal, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i32 0, { 4, 2, 0, 1, 3, 5 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n uselistorder label LBL_12, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "microdesc_has_curve25519_onion_key_10141", "fun_name": "microdesc_has_curve25519_onion_key", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 32)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %. = zext i1 %5 to i64\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_lease_19306", "fun_name": "get_lease", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 51)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 3600, i64* %storemerge1.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = icmp ult i32 %5, 10\n %.op = and i64 %4, 4294967295\n %7 = select i1 %6, i64 10, i64 %.op\n store i64 %7, i64* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dynamic_irq_cleanup_5395", "fun_name": "dynamic_irq_cleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sext = mul i64 %arg1, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = and i64 %arg1, 4294967295\n %7 = call i64 @FUNC(i64 %6)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = and i64 %5, 4294967295\n %11 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %10, i64 %3, i64 %2, i64 %1)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %12 = call i64 @FUNC(i64 %7, i64 %4)\n %13 = add i64 %7, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = icmp eq i64 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %7, i64 %4)\n %18 = and i64 %5, 4294967295\n %19 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i64 %18, i64 %3, i64 %2, i64 %1)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %20 = add i64 %7, 16\n %21 = inttoptr i64 %20 to i64*\n store i64 0, i64* %21, align 8\n %22 = add i64 %7, 24\n %23 = inttoptr i64 %22 to i64*\n store i64 0, i64* %23, align 8\n %24 = add i64 %7, 32\n %25 = inttoptr i64 %24 to i64*\n store i64 0, i64* %25, align 8\n %26 = add i64 %7, 40\n %27 = inttoptr i64 %26 to i64*\n store i64 4198931, i64* %27, align 8\n %28 = add i64 %7, 48\n %29 = inttoptr i64 %28 to i64*\n store i64 4210761, i64* %29, align 8\n %30 = add i64 %7, 56\n %31 = inttoptr i64 %30 to i64*\n store i64 0, i64* %31, align 8\n %32 = call i64 @FUNC(i64 %7, i64 %4)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8, 10 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @spin_unlock_irqrestore, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @WARN, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 6, 1, 0 }\n uselistorder i64 %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_long_object_18976", "fun_name": "get_long_object", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %storemerge4.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i32\n %sv_1.09.reg2mem = alloca i32\n %sv_0.010.reg2mem = alloca i64\n %storemerge411.reg2mem = alloca i32\n %sv_1.114.reg2mem = alloca i32\n %sv_0.115.reg2mem = alloca i64\n %sv_2.016.reg2mem = alloca i32\n %storemerge317.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i8, align 1\n %sv_4 = alloca i64, align 8\n store i8 0, i8* %sv_3, align 1\n %1 = call i64 @FUNC(i64 %0, i8* nonnull %sv_3)\n %2 = load i8, i8* %sv_3, align 1\n %3 = icmp eq i8 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_19\n LBL_1:\n %4 = call i64* @calloc(i32 1, i32 16)\n %5 = icmp eq i64* %4, null\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_19\n LBL_2:\n %7 = trunc i64 %1 to i32\n %8 = ptrtoint i64* %4 to i64\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i32*\n store i32 1, i32* %10, align 4\n %11 = icmp slt i32 %7, 0\n %12 = icmp eq i1 %11, false\n %13 = sub i32 0, %7\n %spec.select8 = select i1 %12, i32 %7, i32 %13\n %14 = icmp eq i32 %spec.select8, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i8* @strdup(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %17 = ptrtoint i8* %16 to i64\n store i64 %17, i64* %storemerge7.reg2mem\n br label LBL_18\n LBL_4:\n %18 = mul i32 %spec.select8, 15\n %19 = sext i32 %18 to i64\n %20 = add nsw i64 %19, 17179869183\n %21 = udiv i64 %20, 4\n %. = select i1 %12, i64 4, i64 5\n %22 = mul i64 %21, 4294967296\n %sext = add i64 %22, 4294967296\n %23 = udiv i64 %sext, 4294967296\n %24 = add nuw nsw i64 %23, %.\n %25 = trunc i64 %24 to i32\n %26 = call i64* @malloc(i32 %25)\n %27 = icmp eq i64* %26, null\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_6, label LBL_5\n LBL_5:\n call void @free(i64* %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_6:\n %29 = ptrtoint i64* %26 to i64\n %30 = call i64* @memset(i64* %26, i32 32, i32 %25)\n %sext6 = mul i64 %24, 4294967296\n %31 = ashr exact i64 %sext6, 32\n %32 = add nsw i64 %31, -1\n %33 = add i64 %32, %29\n %34 = inttoptr i64 %33 to i8*\n store i8 0, i8* %34, align 1\n %35 = icmp eq i32 %7, 0\n store i64 %33, i64* %.pre-phi.reg2mem\n br i1 %35, label LBL_15, label LBL_7\n LBL_7:\n %36 = ptrtoint i64* %sv_4 to i64\n %37 = sext i32 %spec.select8 to i64\n %38 = add i64 %36, -96\n store i64 0, i64* %storemerge317.reg2mem\n store i32 0, i32* %sv_2.016.reg2mem\n store i64 %32, i64* %sv_0.115.reg2mem\n store i32 0, i32* %sv_1.114.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.114.reload = load i32, i32* %sv_1.114.reg2mem\n %sv_0.115.reload = load i64, i64* %sv_0.115.reg2mem\n %sv_2.016.reload = load i32, i32* %sv_2.016.reg2mem\n %storemerge317.reload = load i64, i64* %storemerge317.reg2mem\n %39 = call i64 @FUNC(i64 %0, i8* nonnull %sv_3)\n %40 = urem i32 %sv_2.016.reload, 32\n %41 = icmp eq i32 %40, 0\n %42 = trunc i64 %39 to i32\n %43 = shl i32 %42, %40\n %44 = zext i32 %43 to i64\n %storemerge = select i1 %41, i64 %39, i64 %44\n %45 = trunc i64 %storemerge to i32\n %46 = or i32 %sv_1.114.reload, %45\n %47 = add i32 %sv_2.016.reload, 15\n %48 = icmp ult i32 %47, 4\n store i32 %47, i32* %storemerge411.reg2mem\n store i64 %sv_0.115.reload, i64* %sv_0.010.reg2mem\n store i32 %46, i32* %sv_1.09.reg2mem\n store i32 %46, i32* %sv_1.0.lcssa.reg2mem\n store i64 %sv_0.115.reload, i64* %sv_0.0.lcssa.reg2mem\n store i32 %47, i32* %storemerge4.lcssa.reg2mem\n br i1 %48, label LBL_11, label LBL_9\n LBL_9:\n %sv_1.09.reload = load i32, i32* %sv_1.09.reg2mem\n %sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem\n %storemerge411.reload = load i32, i32* %storemerge411.reg2mem\n %49 = urem i32 %sv_1.09.reload, 16\n %50 = add i64 %sv_0.010.reload, -1\n %51 = add i64 %50, %29\n %52 = zext i32 %49 to i64\n %53 = add i64 %38, %52\n %54 = inttoptr i64 %53 to i8*\n %55 = load i8, i8* %54, align 1\n %56 = inttoptr i64 %51 to i8*\n store i8 %55, i8* %56, align 1\n %57 = udiv i32 %sv_1.09.reload, 16\n %58 = add i32 %storemerge411.reload, -4\n %59 = icmp ult i32 %58, 4\n store i32 %58, i32* %storemerge411.reg2mem\n store i64 %50, i64* %sv_0.010.reg2mem\n store i32 %57, i32* %sv_1.09.reg2mem\n br i1 %59, label LBL_10, label LBL_9\n LBL_10:\n %60 = add i32 %sv_2.016.reload, 3\n %61 = urem i32 %60, 4\n store i32 %57, i32* %sv_1.0.lcssa.reg2mem\n store i64 %50, i64* %sv_0.0.lcssa.reg2mem\n store i32 %61, i32* %storemerge4.lcssa.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge4.lcssa.reload = load i32, i32* %storemerge4.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem\n %62 = add nuw i64 %storemerge317.reload, 1\n %63 = icmp ult i64 %62, %37\n store i64 %62, i64* %storemerge317.reg2mem\n store i32 %storemerge4.lcssa.reload, i32* %sv_2.016.reg2mem\n store i64 %sv_0.0.lcssa.reload, i64* %sv_0.115.reg2mem\n store i32 %sv_1.0.lcssa.reload, i32* %sv_1.114.reg2mem\n br i1 %63, label LBL_8, label LBL_12\n LBL_12:\n %64 = icmp eq i32 %sv_1.0.lcssa.reload, 0\n br i1 %64, label LBL_12.LBL_12.LBL_15_crit_edge_crit_edge, label LBL_14\n LBL_13:\n %.pre25 = add i64 %sv_0.0.lcssa.reload, %29\n store i64 %.pre25, i64* %.pre-phi.reg2mem\n br label LBL_15\n LBL_14:\n %65 = urem i32 %sv_1.0.lcssa.reload, 16\n %66 = add i64 %29, -1\n %67 = add i64 %66, %sv_0.0.lcssa.reload\n %68 = zext i32 %65 to i64\n %69 = add i64 %38, %68\n %70 = inttoptr i64 %69 to i8*\n %71 = load i8, i8* %70, align 1\n %72 = inttoptr i64 %67 to i8*\n store i8 %71, i8* %72, align 1\n store i64 %67, i64* %.pre-phi.reg2mem\n br label LBL_15\n LBL_15:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %73 = add i64 %.pre-phi.reload, -1\n %74 = inttoptr i64 %73 to i8*\n store i8 120, i8* %74, align 1\n %75 = add i64 %.pre-phi.reload, -2\n %76 = inttoptr i64 %75 to i8*\n store i8 48, i8* %76, align 1\n br i1 %12, label LBL_17, label LBL_16\n LBL_16:\n %77 = add i64 %.pre-phi.reload, -3\n %78 = inttoptr i64 %77 to i8*\n store i8 45, i8* %78, align 1\n br label LBL_17\n LBL_17:\n %79 = call i64 @FUNC(i64 %29)\n store i64 %29, i64* %storemerge7.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge7.reload = load i64, i64* %storemerge7.reg2mem\n store i64 %storemerge7.reload, i64* %4, align 8\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_19\n LBL_19:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_1.0.lcssa.reload, { 1, 0, 2 }\n uselistorder i32 %sv_1.09.reload, { 1, 0 }\n uselistorder i32 %40, { 1, 0 }\n uselistorder i32 %sv_2.016.reload, { 1, 0, 2 }\n uselistorder i64 %29, { 0, 5, 3, 1, 4, 2 }\n uselistorder i64* %26, { 0, 2, 1 }\n uselistorder i32 %spec.select8, { 2, 0, 1 }\n uselistorder i32 %7, { 0, 1, 3, 2 }\n uselistorder i64* %4, { 0, 1, 3, 2 }\n uselistorder i8* %sv_3, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge317.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.016.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.115.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.114.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge411.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.010.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.09.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge4.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i32 4, { 0, 2, 1 }\n uselistorder i64 -1, { 0, 2, 1, 3, 4 }\n uselistorder i64 4294967296, { 0, 2, 3, 1 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i32 0, { 5, 4, 0, 1, 2, 6, 7, 8, 3 }\n uselistorder i8 0, { 1, 2, 0, 3, 4, 5 }\n uselistorder label LBL_19, { 2, 3, 0, 1 }\n uselistorder label LBL_15, { 2, 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gen_mulu_i64_i32_1285", "fun_name": "gen_mulu_i64_i32", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC()\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC()\n ret i64 %7\n\n uselistorder i64 ()* @tcg_temp_free_i32, { 1, 0 }\n uselistorder i64 ()* @tcg_gen_extu_i32_i64, { 1, 0 }\n uselistorder i64 ()* @tcg_temp_new_i64, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TfLiteIntArrayGetSizeInBytes_5786", "fun_name": "TfLiteIntArrayGetSizeInBytes", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 30\n %1 = add nsw i64 %0, 8\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_multi_string_alloc_and_expand_13462", "fun_name": "_multi_string_alloc_and_expand", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_10\n LBL_1:\n %2 = add i64 %arg1, 1\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %3 = add i32 %sv_0.0.reload, 1\n store i32 %3, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %4 = sext i32 %sv_0.0.reload to i64\n %5 = add i64 %4, %arg1\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = icmp eq i8 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_4\n LBL_4:\n %10 = add i64 %2, %4\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_2, label LBL_5\n LBL_5:\n %15 = add i32 %sv_0.0.reload, 2\n %16 = call i64* @malloc(i32 %15)\n %17 = ptrtoint i64* %16 to i64\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_7\n LBL_6:\n %18 = add i64 %21, %17\n %19 = inttoptr i64 %18 to i8*\n store i8 %24, i8* %19, align 1\n %20 = add i32 %storemerge1.reload, 1\n store i32 %20, i32* %storemerge1.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %21 = sext i32 %storemerge1.reload to i64\n %22 = add i64 %21, %arg1\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = icmp eq i8 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_6, label LBL_8\n LBL_8:\n %27 = add i64 %2, %21\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = icmp eq i8 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_6, label LBL_9\n LBL_9:\n %32 = add i32 %storemerge1.reload, 1\n %33 = add i64 %21, %17\n %34 = inttoptr i64 %33 to i8*\n store i8 0, i8* %34, align 1\n %35 = sext i32 %32 to i64\n %36 = add i64 %35, %17\n %37 = inttoptr i64 %36 to i8*\n store i8 0, i8* %37, align 1\n store i64 %17, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8 %24, { 1, 0 }\n uselistorder i64 %21, { 0, 1, 3, 2 }\n uselistorder i32 %storemerge1.reload, { 2, 0, 1 }\n uselistorder i64 %17, { 0, 2, 3, 1 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ext4_xattr_block_get_13531", "fun_name": "ext4_xattr_block_get", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg4 to i64\n %3 = ptrtoint i8* %arg3 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32*, align 8\n %5 = trunc i64 %arg2 to i32\n %6 = call i64 @FUNC(i64 %4)\n %7 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i32 %5, i64 %3, i64 %2, i64 %arg5)\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 4294967235, i64* %sv_0.0.reg2mem\n br i1 %13, label LBL_9, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i32 %12, i64 %3, i64 %2, i64 %arg5)\n %15 = load i64, i64* %9, align 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = and i64 %1, 4294967295\n %20 = call i64 @FUNC(i64 %19, i64 %18)\n %21 = icmp eq i64 %20, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 4294967235, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_9, label LBL_2\n LBL_2:\n %22 = inttoptr i64 %20 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %20, 12\n %29 = call i64 @FUNC(i64 %28)\n %30 = and i64 %29, 4294967295\n %31 = and i64 %27, 4294967295\n %32 = call i64 @FUNC(i64 %20, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %30, i64 %31, i64 %2, i64 %arg5)\n %33 = call i64 @FUNC(i64 %4, i64 %20)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n store i64 %31, i64* %rcx.0.reg2mem\n store i64 %2, i64* %r8.0.reg2mem\n br i1 %35, label LBL_4, label LBL_3\n LBL_3:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %36 = load i64, i64* %9, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i32 %38, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg5)\n store i64 %20, i64* %sv_1.0.reg2mem\n store i64 4294967221, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_4:\n %40 = call i64 @FUNC(i64 %6, i64 %20)\n %41 = load i64, i64* %22, align 8\n %42 = inttoptr i64 %41 to i32*\n store i32* %42, i32** %sv_2, align 8\n %43 = add i64 %20, 8\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = zext i32 %45 to i64\n %47 = bitcast i32** %sv_2 to i64*\n %48 = call i64 @FUNC(i64* nonnull %47, i32 %5, i64 %3, i32 %45, i64 1)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, -75\n store i64 %46, i64* %rcx.0.reg2mem\n store i64 1, i64* %r8.0.reg2mem\n br i1 %50, label LBL_3, label LBL_5\n LBL_5:\n %51 = icmp eq i32 %49, 0\n %52 = icmp eq i1 %51, false\n store i64 %20, i64* %sv_1.0.reg2mem\n store i64 %48, i64* %sv_0.0.reg2mem\n br i1 %52, label LBL_9, label LBL_6\n LBL_6:\n %53 = load i32*, i32** %sv_2, align 8\n %54 = load i32, i32* %53, align 4\n %55 = zext i32 %54 to i64\n %56 = call i64 @FUNC(i64 %55)\n %57 = icmp eq i64* %arg4, null\n store i64 %20, i64* %sv_1.0.reg2mem\n store i64 %56, i64* %sv_0.0.reg2mem\n br i1 %57, label LBL_9, label LBL_7\n LBL_7:\n %sext6 = mul i64 %56, 4294967296\n %58 = ashr exact i64 %sext6, 32\n %59 = icmp ugt i64 %58, %arg5\n store i64 %20, i64* %sv_1.0.reg2mem\n store i64 4294967262, i64* %sv_0.0.reg2mem\n br i1 %59, label LBL_9, label LBL_8\n LBL_8:\n %60 = trunc i64 %56 to i32\n %61 = load i64, i64* %22, align 8\n %62 = load i32*, i32** %sv_2, align 8\n %63 = ptrtoint i32* %62 to i64\n %64 = add i64 %63, 4\n %65 = inttoptr i64 %64 to i32*\n %66 = load i32, i32* %65, align 4\n %67 = zext i32 %66 to i64\n %68 = call i64 @FUNC(i64 %67)\n %sext5 = mul i64 %68, 4294967296\n %69 = ashr exact i64 %sext5, 32\n %70 = add i64 %69, %61\n %71 = inttoptr i64 %70 to i64*\n %72 = call i64* @memcpy(i64* nonnull %arg4, i64* %71, i32 %60)\n store i64 %20, i64* %sv_1.0.reg2mem\n store i64 %56, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %73 = call i64 @FUNC(i64 %sv_1.0.reload)\n %74 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %74\n\n uselistorder i64 %56, { 1, 3, 2, 0 }\n uselistorder i64 %20, { 1, 2, 0, 3, 5, 6, 4, 7, 9, 8, 10, 11 }\n uselistorder i32** %sv_2, { 2, 1, 3, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %r8.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6, 7 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1, 4, 5, 6, 7 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @ea_idebug, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0, 3, 6, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_rfc4543_init_tfm_8376", "fun_name": "crypto_rfc4543_init_tfm", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %1)\n %4 = icmp ult i64 %3, -1000\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %5 = call i64 @FUNC(i64 %1)\n %6 = icmp ult i64 %5, -1000\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = inttoptr i64 %2 to i64*\n store i64 %3, i64* %7, align 8\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %5, i64* %9, align 8\n %10 = call i64 @FUNC(i64 %3)\n %sext = mul i64 %10, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = call i64 @FUNC()\n %13 = sub i64 0, %12\n %14 = and i64 %11, %13\n %15 = call i64 @FUNC(i64 %3)\n %16 = call i64 @FUNC()\n %17 = add i64 %15, -1\n %18 = add i64 %17, %16\n %19 = call i64 @FUNC()\n %20 = sub i64 0, %19\n %21 = and i64 %18, %20\n %22 = add i64 %14, 16\n %23 = add i64 %22, %21\n %24 = add i64 %0, 8\n %25 = inttoptr i64 %24 to i64*\n store i64 %23, i64* %25, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %26 = call i64 @FUNC(i64 %3)\n %27 = and i64 %5, 4294967295\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 0, { 0, 4, 5, 1, 2, 3 }\n uselistorder i64 ()* @crypto_tfm_ctx_alignment, { 2, 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ks_wlan_hw_rx_17664", "fun_name": "ks_wlan_hw_rx", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 9\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i64 %0, 20504\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0))\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_2:\n %sext = mul i64 %arg2, 281474976710656\n %8 = ashr exact i64 %sext, 48\n %9 = add i64 %0, 20500\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = sext i32 %11 to i64\n %13 = mul nsw i64 %12, 2050\n %14 = add i64 %13, %0\n %15 = urem i64 %8, 65536\n %16 = call i64 @FUNC(i64 %15)\n %17 = and i64 %16, 4294967295\n %18 = call i64 @FUNC(i64 %0, i64 0, i64 %14, i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %18, i64* %rax.0.reg2mem\n br i1 %21, label LBL_12, label LBL_3\n LBL_3:\n %22 = trunc i64 %8 to i16\n %23 = icmp ult i16 %22, 2047\n %24 = icmp eq i16 %22, 0\n %25 = icmp eq i1 %24, false\n %or.cond = icmp eq i1 %23, %25\n br i1 %or.cond, label LBL_6, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %14, i64 32)\n %27 = call i64 @FUNC(i64 %0, i64 1, i64 0)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n store i64 %27, i64* %rax.0.reg2mem\n br i1 %29, label LBL_12, label LBL_5\n LBL_5:\n %30 = add i64 %0, 20504\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %34 = inttoptr i64 %14 to i16*\n %35 = load i16, i16* %34, align 2\n %36 = zext i16 %35 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = trunc i64 %37 to i16\n %39 = add i16 %38, 2\n %40 = add i64 %14, 2048\n %41 = inttoptr i64 %40 to i16*\n store i16 %39, i16* %41, align 2\n %42 = add i64 %14, 2\n %43 = inttoptr i64 %42 to i16*\n %44 = load i16, i16* %43, align 2\n %45 = zext i16 %44 to i64\n %46 = call i64 @FUNC(i64 %45)\n %47 = call i64 @FUNC(i64 %0)\n %48 = call i64 @FUNC(i64 %0, i64 1, i64 0)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_8, label LBL_7\n LBL_7:\n %51 = add i64 %0, 20504\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = call i64 @FUNC(i64 %53, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %55 = add i64 %0, 20512\n %56 = call i64 @FUNC(i64 %55)\n %57 = trunc i64 %56 to i32\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_11, label LBL_9\n LBL_9:\n %59 = urem i64 %46, 65536\n %60 = call i64 @FUNC(i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n br i1 %62, label LBL_11, label LBL_10\n LBL_10:\n %63 = add i64 %0, 20504\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = call i64 @FUNC(i64 %65, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0))\n %67 = call i64 @FUNC(i64 %55)\n br label LBL_11\n LBL_11:\n %68 = add i64 %0, 20520\n %69 = call i64 @FUNC(i64 %68)\n store i64 %69, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 1, 0, 3, 2, 4 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 %0, { 5, 4, 6, 3, 8, 7, 1, 2, 9, 0, 10, 11, 12 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 3, 5, 1 }\n uselistorder i64 (i64)* @le16_to_cpu, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @ks7010_sdio_writeb, { 1, 0 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i64 (i64, i8*)* @netdev_err, { 2, 1, 0 }\n uselistorder label LBL_12, { 3, 1, 0, 2, 4 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unassigned_mem_readw_18649", "fun_name": "unassigned_mem_readw", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n %1 = call i64 @FUNC(i64 %arg2, i64 0, i64 0, i64 0, i64 2)\n ret i64 0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_help_1905", "fun_name": "read_help", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i32 @puts(i8* getelementptr inbounds ([612 x i8], [612 x i8]* @gv_0, i64 0, i64 0))\n %1 = sext i32 %0 to i64\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "koneplus_get_startup_profile_4808", "fun_name": "koneplus_get_startup_profile", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64 4, i64 0)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = call i64 @FUNC(i64 %arg1, i64 1, i64 %0, i64 4)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i32 %4, i32* %sv_0.0.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %0 to i32*\n %8 = load i32, i32* %7, align 4\n store i32 %8, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %9 = call i64 @FUNC(i64 %0)\n %10 = zext i32 %sv_0.0.reload to i64\n store i64 %10, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 0, 2, 1, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tg_prfill_cpu_rwstat_3714", "fun_name": "tg_prfill_cpu_rwstat", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %sv_0, align 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_7\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = ptrtoint i64* %sv_2 to i64\n %8 = sext i32 %arg3 to i64\n store i64 %3, i64* %.reg2mem\n store i64 0, i64* %indvars.iv5.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %9 = call i64 @FUNC(i64 %.reload, i64 %indvars.iv5.reload)\n %10 = add i64 %9, %8\n %11 = call i64 @FUNC(i64* nonnull %sv_1, i64 %10)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %12 = mul i64 %indvars.iv.reload, 8\n %13 = add i64 %12, %7\n %14 = add i64 %13, -112\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = add i64 %13, -192\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %19, %16\n store i64 %20, i64* %15, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_3\n LBL_4:\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 4\n br i1 %exitcond7, label LBL_6, label LBL_4.LBL_2_crit_edge\n LBL_5:\n %.pre = load i64, i64* %2, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br label LBL_2\n LBL_6:\n %21 = call i64 @FUNC(i64 %6, i64 %0, i64* nonnull %sv_0)\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 8, { 0, 2, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdev_init_nofail_2151", "fun_name": "qdev_init_nofail", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64* nonnull %sv_0)\n %9 = load i64, i64* %sv_0, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = ptrtoint i64* %sv_0 to i64\n %12 = call i64 @FUNC(i64 %6)\n %13 = load i64, i64* %sv_0, align 8\n %14 = call i64 @FUNC(i64 %13, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_4, i64 0, i64 0), i64 %12, i64 %11, i64 %2, i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_4:\n %15 = call i64 @FUNC(i64 %6)\n ret i64 %15\n\n uselistorder i64* %sv_0, { 1, 3, 2, 0, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_regulator_force_disable_9748", "fun_name": "_regulator_force_disable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n %6 = and i64 %1, 4294967295\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %0, i64 3, i64 0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_class_init_1452", "fun_name": "cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198676, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198683, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198690, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198697, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198704, i64* %12, align 8\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i64*\n store i64 4198711, i64* %14, align 8\n %15 = add i64 %0, 64\n %16 = inttoptr i64 %15 to i64*\n store i64 4198718, i64* %16, align 8\n %17 = add i64 %0, 72\n %18 = inttoptr i64 %17 to i64*\n store i64 4198725, i64* %18, align 8\n %19 = add i64 %0, 80\n %20 = inttoptr i64 %19 to i64*\n store i64 4198732, i64* %20, align 8\n store i64 4198739, i64* %arg1, align 8\n %21 = inttoptr i64 %1 to i8*\n store i8 1, i8* %21, align 1\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "post_msg_11879", "fun_name": "post_msg", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_1, label LBL_2\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = trunc i64 %1 to i32\n %9 = trunc i64 %arg3 to i32\n br label LBL_3\n LBL_2:\n %10 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_3:\n %11 = call i32 @write(i32 %8, i64* %arg2, i32 %9)\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32 %11, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_9, label LBL_4\n LBL_4:\n %14 = call i32* @__errno_location()\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 4\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_3\n LBL_5:\n %18 = call i32* @__errno_location()\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 11\n %21 = icmp eq i1 %20, false\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %21, label LBL_6, label LBL_9\n LBL_6:\n %22 = call i32* @__errno_location()\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 32\n store i32 %11, i32* %sv_0.0.reg2mem\n br i1 %24, label LBL_9, label LBL_7\n LBL_7:\n %25 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4\n %26 = icmp eq i32 %25, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %26, label LBL_11, label LBL_8\n LBL_8:\n %27 = call i32* @__errno_location()\n %28 = load i32, i32* %27, align 4\n %29 = call i8* @strerror(i32 %28)\n %30 = ptrtoint i8* %29 to i64\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %30)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %32 = icmp slt i32 %sv_0.0.reload, %9\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_10, label LBL_11\n LBL_10:\n %33 = sub i32 %9, %sv_0.0.reload\n %34 = sext i32 %sv_0.0.reload to i64\n %35 = add i64 %34, %7\n %36 = add i64 %2, 8\n %37 = inttoptr i64 %36 to i64*\n %38 = inttoptr i64 %35 to i64*\n %39 = call i64* @memcpy(i64* %37, i64* %38, i32 %33)\n %40 = call i64 @FUNC(i64 %2, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i32 %11, { 1, 0, 2 }\n uselistorder i32 %9, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3, 5 }\n uselistorder i32* ()* @__errno_location, { 3, 0, 1, 2 }\n uselistorder i64 4294967295, { 1, 0, 2 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder label LBL_11, { 0, 1, 3, 2, 4 }\n uselistorder label LBL_9, { 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "help_16885", "fun_name": "help", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i32 @puts(i8* getelementptr inbounds ([245 x i8], [245 x i8]* @gv_0, i64 0, i64 0))\n call void @exit(i32 1)\n ret i64 ptrtoint (i32* @0 to i64)\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bdrv_query_dirty_bitmaps_14092", "fun_name": "bdrv_query_dirty_bitmaps", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n store i64 0, i64* %sv_1, align 8\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = ptrtoint i64* %sv_1 to i64\n store i64 %arg1, i64* %storemerge13.reg2mem\n store i64 %2, i64* %sv_0.02.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge13.reload = load i64, i64* %storemerge13.reg2mem\n %3 = call i64 @FUNC(i64 16)\n %4 = call i64 @FUNC(i64 16)\n %5 = call i64 @FUNC(i64 %arg1, i64 %storemerge13.reload)\n %6 = trunc i64 %5 to i32\n %7 = inttoptr i64 %3 to i32*\n store i32 %6, i32* %7, align 4\n %8 = inttoptr i64 %storemerge13.reload to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = urem i64 %10, 64\n %12 = shl i64 512, %11\n %13 = add i64 %3, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 %12, i64* %14, align 8\n %15 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %15, align 8\n %16 = inttoptr i64 %sv_0.02.reload to i64*\n store i64 %4, i64* %16, align 8\n %17 = add i64 %4, 8\n %18 = add i64 %storemerge13.reload, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %storemerge13.reg2mem\n store i64 %17, i64* %sv_0.02.reg2mem\n br i1 %22, label LBL_2, label LBL_3\n LBL_3:\n %.pre = load i64, i64* %sv_1, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n ret i64 %.reload\n\n uselistorder i64* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ap_poll_read_8405", "fun_name": "ap_poll_read", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = alloca i32\n %rax.0.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %storemerge.in.in.in.in.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = load i32, i32* %1\n %4 = trunc i64 %2 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp slt i32 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_11\n LBL_1:\n %10 = ptrtoint i32* %arg1 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %13, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %10, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %23, i64 %13, i64 %19, i32 %16)\n %25 = trunc i64 %24 to i32\n store i64 19, i64* %rax.0.reg2mem\n switch i32 %25, label LBL_11 [\n i32 0, label LBL_2\n i32 1, label LBL_8\n ]\n LBL_2:\n %26 = bitcast i64* %rdi to i32*\n %27 = call i64 @FUNC(i64* nonnull @gv_0)\n %28 = call i64 @FUNC(i64 %10)\n %29 = add i64 %10, 24\n %30 = add i64 %10, 16\n store i64 %29, i64* %storemerge.in.in.in.in.reg2mem\n br label LBL_5\n LBL_3:\n %storemerge = inttoptr i64 %storemerge.in to i32*\n %31 = load i32, i32* %storemerge, align 4\n %32 = load i64, i64* %12, align 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %31, %34\n %36 = icmp eq i1 %35, false\n store i64 %storemerge.in.in, i64* %storemerge.in.in.in.in.reg2mem\n br i1 %36, label LBL_5, label LBL_4\n LBL_4:\n %37 = call i64 @FUNC(i64 %storemerge.in.in)\n %38 = inttoptr i64 %30 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i32 %39, -1\n store i32 %40, i32* %38, align 4\n %.pre = load i32, i32* %26, align 8\n store i32 %.pre, i32* %.reg2mem\n store i64 %storemerge.in, i64* %rsi.0.reg2mem\n br label LBL_6\n LBL_5:\n %storemerge.in.in.in.in.reload = load i64, i64* %storemerge.in.in.in.in.reg2mem\n %storemerge.in.in.in = inttoptr i64 %storemerge.in.in.in.in.reload to i64*\n %storemerge.in.in = load i64, i64* %storemerge.in.in.in, align 8\n %storemerge.in = add i64 %storemerge.in.in, -8\n %41 = icmp eq i64 %30, %storemerge.in\n %42 = icmp eq i1 %41, false\n store i32 %4, i32* %.reg2mem\n store i64 %13, i64* %rsi.0.reg2mem\n br i1 %42, label LBL_3, label LBL_6\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %43 = icmp slt i32 %.reload, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %43, label LBL_11, label LBL_7\n LBL_7:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %44 = or i64 %rsi.0.reload, 1\n store i64 %44, i64* %arg2, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_8:\n %45 = icmp eq i32 %3, 0\n br i1 %45, label LBL_10, label LBL_9\n LBL_9:\n %46 = and i64 %2, 4294967295\n %47 = call i64 @FUNC(i64 %46, i64* nonnull @gv_0)\n store i32 0, i32* %arg1, align 4\n %48 = add i64 %10, 40\n %49 = add i64 %10, 24\n %50 = call i64 @FUNC(i64 %49, i64 %48)\n %51 = add i64 %10, 20\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %10, 16\n %55 = inttoptr i64 %54 to i32*\n %56 = load i32, i32* %55, align 4\n %57 = add i32 %56, %53\n store i32 %57, i32* %52, align 4\n store i32 0, i32* %55, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %58 = or i64 %13, 2\n store i64 %58, i64* %arg2, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.in, { 1, 2, 0 }\n uselistorder i64 %storemerge.in.in, { 2, 0, 1 }\n uselistorder i64 %30, { 1, 0 }\n uselistorder i64 %13, { 1, 0, 2, 3, 4 }\n uselistorder i64 %10, { 1, 0, 3, 2, 4, 6, 5, 7, 8 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 5, 1, 6 }\n uselistorder i64* @gv_0, { 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_11, { 2, 1, 3, 4, 0, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "scale_vector_3397", "fun_name": "scale_vector", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i16* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.04.reg2mem = alloca i32\n %indvars.iv6.reg2mem = alloca i64\n %0 = icmp sgt i32 %arg3, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 0, i64 15)\n store i64 %1, i64* %.reg2mem\n br label LBL_6\n LBL_2:\n %2 = ptrtoint i16* %arg2 to i64\n %wide.trip.count8 = zext i32 %arg3 to i64\n store i64 0, i64* %indvars.iv6.reg2mem\n store i32 0, i32* %sv_0.04.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.04.reload = load i32, i32* %sv_0.04.reg2mem\n %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem\n %3 = mul i64 %indvars.iv6.reload, 2\n %4 = add i64 %3, %2\n %5 = inttoptr i64 %4 to i16*\n %6 = load i16, i16* %5, align 2\n %7 = sub i16 0, %6\n %8 = icmp slt i16 %7, 0\n %9 = icmp eq i1 %8, false\n %.v = select i1 %9, i16 %7, i16 %6\n %10 = zext i16 %.v to i32\n %11 = or i32 %sv_0.04.reload, %10\n %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1\n %exitcond9 = icmp eq i64 %indvars.iv.next7, %wide.trip.count8\n store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem\n store i32 %11, i32* %sv_0.04.reg2mem\n br i1 %exitcond9, label LBL_4, label LBL_3\n LBL_4:\n %phitmp = zext i32 %11 to i64\n %12 = call i64 @FUNC(i64 %phitmp, i64 15)\n %13 = trunc i64 %12 to i32\n %14 = urem i32 %13, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul i64 %indvars.iv.reload, 2\n %16 = add i64 %15, %2\n %17 = inttoptr i64 %16 to i16*\n %18 = load i16, i16* %17, align 2\n %19 = sext i16 %18 to i32\n %20 = shl i32 %19, %14\n %21 = udiv i32 %20, 8\n %22 = add i64 %15, %arg1\n %23 = trunc i32 %21 to i16\n %24 = inttoptr i64 %22 to i16*\n store i16 %23, i16* %24, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count8\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %12, i64* %.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %.reload = load i64, i64* %.reg2mem\n %25 = add i64 %.reload, 4294967293\n %26 = and i64 %25, 4294967295\n ret i64 %26\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i32 %11, { 1, 0 }\n uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @normalize_bits, { 1, 0 }\n uselistorder i64 15, { 1, 0 }\n uselistorder i32 0, { 0, 3, 4, 5, 6, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "latm_write_frame_header_2075", "fun_name": "latm_write_frame_header", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = trunc i64 %1 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = zext i1 %11 to i64\n %13 = call i64 @FUNC(i64 %arg2, i64 1, i64 %12)\n br i1 %11, label LBL_6, label LBL_1\n LBL_1:\n %14 = add i64 %8, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = mul i32 %16, 8\n %18 = zext i32 %17 to i64\n %19 = inttoptr i64 %8 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = bitcast i32* %sv_0 to i64*\n %22 = call i64 @FUNC(i64* nonnull %21, i64 %20, i64 %18)\n %23 = call i64 @FUNC(i64 %arg2, i64 1, i64 0)\n %24 = call i64 @FUNC(i64 %arg2, i64 1, i64 1)\n %25 = call i64 @FUNC(i64 %arg2, i64 6, i64 0)\n %26 = call i64 @FUNC(i64 %arg2, i64 4, i64 0)\n %27 = call i64 @FUNC(i64 %arg2, i64 3, i64 0)\n %28 = inttoptr i64 %2 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_3, label LBL_2\n LBL_2:\n %32 = load i32, i32* %15, align 4\n %33 = add i64 %arg1, 16\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = ashr i32 %35, 3\n %37 = sub i32 %32, %36\n store i32 %37, i32* %sv_0, align 4\n %38 = load i64, i64* %19, align 8\n %39 = load i32, i32* %34, align 4\n %40 = ashr i32 %39, 3\n %41 = sext i32 %40 to i64\n %42 = add i64 %38, %41\n %43 = zext i32 %37 to i64\n %44 = call i64 @FUNC(i64 %arg2, i64 %42, i64 %43)\n br label LBL_5\n LBL_3:\n %45 = add i64 %arg1, 16\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i32 %47, 3\n %49 = zext i32 %48 to i64\n %50 = load i64, i64* %19, align 8\n %51 = call i64 @FUNC(i64 %arg2, i64 %50, i64 %49)\n %52 = add i64 %arg1, 12\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = icmp eq i32 %54, 0\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_5, label LBL_4\n LBL_4:\n %57 = call i64 @FUNC(i64 %arg2, i64* nonnull %21)\n br label LBL_5\n LBL_5:\n %58 = call i64 @FUNC(i64 %arg2, i64 3, i64 0)\n %59 = call i64 @FUNC(i64 %arg2, i64 8, i64 255)\n %60 = call i64 @FUNC(i64 %arg2, i64 1, i64 0)\n %61 = call i64 @FUNC(i64 %arg2, i64 1, i64 0)\n br label LBL_6\n LBL_6:\n %62 = bitcast i64* %rdi to i32*\n %63 = add i32 %9, 1\n %64 = inttoptr i64 %arg1 to i32*\n store i32 %63, i32* %64, align 4\n %65 = load i32, i32* %62, align 8\n %66 = add i64 %arg1, 4\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = ashr i32 %65, 31\n %70 = zext i32 %65 to i64\n %71 = zext i32 %69 to i64\n %72 = mul i64 %71, 4294967296\n %73 = or i64 %72, %70\n %74 = zext i32 %68 to i64\n %75 = srem i64 %73, %74\n %76 = trunc i64 %75 to i32\n store i32 %76, i32* %64, align 4\n ret i64 %arg1\n\n uselistorder i64* %19, { 1, 0, 2 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @avpriv_copy_bits, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @put_bits, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 0, 1, 3, 2, 4, 5 }\n uselistorder i32 1, { 5, 7, 6, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 5, 4, 3, 2, 1, 6, 0, 11, 10, 9, 8, 7, 12 }\n uselistorder i64 %arg1, { 4, 3, 5, 0, 1, 2, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_net_set_status_2044", "fun_name": "virtio_net_set_status", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %.reg2mem21 = alloca i32\n %storemerge614.reg2mem = alloca i1\n %storemerge8.reg2mem = alloca i64\n %storemerge15.reg2mem = alloca i32\n %.reg2mem19 = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = urem i64 %arg2, 256\n %4 = call i64 @FUNC(i64 %2, i64 %3)\n %5 = call i64 @FUNC(i64 %2, i64 %3)\n %6 = trunc i64 %1 to i32\n %7 = and i64 %1, 4294967295\n %8 = icmp eq i32 %6, 0\n store i64 %7, i64* %.lcssa.reg2mem\n br i1 %8, label LBL_18, label LBL_1\n LBL_1:\n %9 = bitcast i64* %rdi to i32*\n %sext = mul i64 %arg2, 72057594037927936\n %10 = add i64 %2, 32\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %2, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = add i64 %2, 12\n %15 = inttoptr i64 %14 to i32*\n %16 = add i64 %2, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = ashr exact i64 %sext, 56\n %19 = add i64 %2, 16\n %20 = inttoptr i64 %19 to i32*\n %21 = add i64 %2, 20\n %22 = inttoptr i64 %21 to i32*\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 %6, i32* %.reg2mem\n store i64 0, i64* %.reg2mem19\n store i32 0, i32* %storemerge15.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge15.reload = load i32, i32* %storemerge15.reg2mem\n %.reload20 = load i64, i64* %.reg2mem19\n %.reload = load i32, i32* %.reg2mem\n %25 = load i64, i64* %11, align 8\n %26 = zext i32 %storemerge15.reload to i64\n %27 = call i64 @FUNC(i64 %25, i64 %26)\n %28 = load i64, i64* %13, align 8\n %29 = load i32, i32* %15, align 4\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i32 %storemerge15.reload, 0\n %32 = icmp eq i1 %31, false\n %or.cond = icmp eq i1 %32, %30\n store i64 0, i64* %storemerge8.reg2mem\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %33 = load i32, i32* %17, align 4\n %34 = zext i32 %33 to i64\n %35 = icmp slt i64 %.reload20, %34\n %spec.select = select i1 %35, i64 %18, i64 0\n store i64 %spec.select, i64* %storemerge8.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge8.reload = load i64, i64* %storemerge8.reg2mem\n %36 = urem i64 %storemerge8.reload, 256\n %37 = call i64 @FUNC(i64 %2, i64 %36)\n %38 = trunc i64 %37 to i8\n %39 = icmp eq i8 %38, 0\n store i1 true, i1* %storemerge614.reg2mem\n br i1 %39, label LBL_7, label LBL_5\n LBL_5:\n %40 = load i32, i32* %20, align 4\n %41 = icmp eq i32 %40, 0\n %42 = icmp eq i1 %41, false\n store i1 true, i1* %storemerge614.reg2mem\n br i1 %42, label LBL_7, label LBL_6\n LBL_6:\n %43 = call i64 @FUNC(i64 %27)\n store i1 false, i1* %storemerge614.reg2mem\n br label LBL_7\n LBL_7:\n %44 = mul i64 %.reload20, 32\n %45 = add i64 %28, %44\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n store i32 %.reload, i32* %.reg2mem21\n br i1 %48, label LBL_17, label LBL_8\n LBL_8:\n %storemerge614.reload = load i1, i1* %storemerge614.reg2mem\n %49 = add i64 %45, 16\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = icmp eq i64 %51, 0\n br i1 %storemerge614.reload, label LBL_12, label LBL_9\n LBL_9:\n br i1 %52, label LBL_11, label LBL_10\n LBL_10:\n %53 = call i64 @FUNC(i64 0)\n %54 = trunc i64 %53 to i32\n %55 = load i32, i32* %22, align 4\n %56 = add i32 %55, %54\n %57 = load i64, i64* %50, align 8\n %58 = zext i32 %56 to i64\n %59 = call i64 @FUNC(i64 %57, i64 %58)\n store i32 %.reload, i32* %.reg2mem21\n br label LBL_17\n LBL_11:\n %60 = add i64 %45, 24\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = call i64 @FUNC(i64 %62)\n store i32 %.reload, i32* %.reg2mem21\n br label LBL_17\n LBL_12:\n br i1 %52, label LBL_14, label LBL_13\n LBL_13:\n %64 = call i64 @FUNC(i64 %51)\n br label LBL_15\n LBL_14:\n %65 = add i64 %45, 24\n %66 = inttoptr i64 %65 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = call i64 @FUNC(i64 %67)\n br label LBL_15\n LBL_15:\n %69 = load i32, i32* %24, align 4\n %70 = urem i32 %69, 2\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n %73 = urem i64 %storemerge8.reload, 2\n %74 = icmp eq i64 %73, 0\n %or.cond11 = or i1 %74, %72\n %75 = icmp eq i32 %.reload, 0\n %or.cond13 = or i1 %75, %or.cond11\n store i32 %.reload, i32* %.reg2mem21\n br i1 %or.cond13, label LBL_17, label LBL_16\n LBL_16:\n store i32 0, i32* %46, align 4\n %76 = add i64 %45, 8\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = call i64 @FUNC(i64 %78, i64 1)\n %80 = load i64, i64* %77, align 8\n %81 = call i64 @FUNC(i64 %2, i64 %80)\n %.pre = load i32, i32* %9, align 8\n store i32 %.pre, i32* %.reg2mem21\n br label LBL_17\n LBL_17:\n %.reload22 = load i32, i32* %.reg2mem21\n %82 = add i32 %storemerge15.reload, 1\n %83 = zext i32 %.reload22 to i64\n %84 = sext i32 %82 to i64\n %85 = icmp slt i64 %84, %83\n store i32 %.reload22, i32* %.reg2mem\n store i64 %84, i64* %.reg2mem19\n store i32 %82, i32* %storemerge15.reg2mem\n store i64 %83, i64* %.lcssa.reg2mem\n br i1 %85, label LBL_2, label LBL_18\n LBL_18:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %.reload22, { 1, 0 }\n uselistorder i1 %52, { 1, 0 }\n uselistorder i64 %45, { 0, 2, 1, 3, 4 }\n uselistorder i64 %storemerge8.reload, { 1, 0 }\n uselistorder i32 %.reload, { 2, 4, 1, 0, 3 }\n uselistorder i64 %.reload20, { 1, 0 }\n uselistorder i32 %storemerge15.reload, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 3, 5, 4, 2, 1, 0, 6, 7, 8, 9, 10 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem19, { 1, 0, 2 }\n uselistorder i32* %storemerge15.reg2mem, { 1, 0, 2 }\n uselistorder i1* %storemerge614.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32* %.reg2mem21, { 0, 4, 3, 2, 1, 5 }\n uselistorder i1 false, { 2, 0, 3, 1 }\n uselistorder i32 0, { 4, 2, 5, 6, 7, 3, 8, 0, 1 }\n uselistorder label LBL_17, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_handle_ctrl_vq_3556", "fun_name": "virtio_scsi_handle_ctrl_vq", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %2, i64* %.reg2mem\n store i64 0, i64* %sv_0.0.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %5 = call i64 @FUNC(i64 %1, i64 %.reload)\n %6 = call i64 @FUNC(i64 %1, i64 %0)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %.reg2mem\n store i64 1, i64* %sv_0.0.lcssa.reg2mem\n br i1 %8, label LBL_1, label LBL_2\n LBL_2:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n ret i64 %sv_0.0.lcssa.reload\n\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 0, { 4, 0, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @virtio_scsi_pop_req, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ofputil_count_queue_stats_8192", "fun_name": "ofputil_count_queue_stats", "llvm_ir_function": "define i64 @FUNC(i16* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i16* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %3 = trunc i64 %1 to i16\n %4 = call i16 @ntohs(i16 %3)\n %5 = sext i16 %4 to i64\n %6 = call i64 @FUNC(i64 %2, i64 %5)\n store i64 %6, i64* %sv_0, align 8\n %7 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %8 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = add i64 %storemerge.reload, 1\n store i64 %11, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n ret i64 %storemerge.reload\n\n uselistorder i64 %storemerge.reload, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qcow_close_2514", "fun_name": "qcow_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 32\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = load i64, i64* %15, align 8\n %19 = call i64 @FUNC(i64 %18)\n ret i64 %19\n\n uselistorder i64 (i64)* @g_free, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SetConnectionType_10636", "fun_name": "SetConnectionType", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %6, %0\n %8 = call i64 @FUNC(i64 %7, i64 %3, i64* nonnull %sv_0)\n %9 = call i64 @FUNC(i64* nonnull %sv_0)\n %10 = call i64 @FUNC(i64 %0, i64 731, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n ret i64 %10\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cirrus_bitblt_cputovideo_next_1163", "fun_name": "cirrus_bitblt_cputovideo_next", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp slt i32 %2, 1\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_7, label LBL_1\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_2, label LBL_3\n LBL_2:\n %11 = ptrtoint i64* %sv_0 to i64\n %12 = bitcast i64* %rdi to i32*\n %13 = add i64 %11, -16\n %14 = inttoptr i64 %13 to i64*\n %15 = add i64 %5, 32\n %16 = inttoptr i64 %15 to i32*\n %17 = add i64 %5, 24\n %18 = inttoptr i64 %17 to i32*\n %19 = add i64 %5, 28\n %20 = inttoptr i64 %19 to i32*\n %21 = add i64 %5, 36\n %22 = inttoptr i64 %21 to i32*\n %23 = add i64 %5, 16\n %24 = inttoptr i64 %23 to i64*\n %25 = add i64 %5, 48\n %26 = inttoptr i64 %25 to i64*\n %27 = add i64 %5, 40\n %28 = inttoptr i64 %27 to i64*\n br label LBL_5\n LBL_3:\n %29 = call i64 @FUNC(i64 %5, i64 0)\n br label LBL_4\n LBL_4:\n store i32 0, i32* %arg1, align 4\n %30 = call i64 @FUNC(i64 %5)\n store i64 %30, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n store i64 1, i64* %14, align 8\n %31 = load i32, i32* %16, align 4\n %32 = load i32, i32* %18, align 4\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %5, i32 %32, i64 0, i64 %33, i64 1)\n %35 = load i32, i32* %18, align 4\n %36 = load i32, i32* %20, align 4\n %37 = add i32 %36, %35\n store i32 %37, i32* %18, align 4\n %38 = load i32, i32* %12, align 8\n %39 = load i32, i32* %22, align 4\n %40 = sub i32 %38, %39\n store i32 %40, i32* %arg1, align 4\n %41 = icmp slt i32 %38, 1\n br i1 %41, label LBL_4, label LBL_6\n LBL_6:\n %42 = load i64, i64* %24, align 8\n %43 = load i32, i32* %22, align 4\n %44 = sext i32 %43 to i64\n %45 = add i64 %42, %44\n %46 = load i64, i64* %26, align 8\n %47 = sub i64 %46, %45\n %48 = trunc i64 %47 to i32\n %49 = inttoptr i64 %42 to i64*\n %50 = inttoptr i64 %45 to i64*\n %51 = call i64* @memmove(i64* %49, i64* %50, i32 %48)\n %52 = load i64, i64* %24, align 8\n %sext = mul i64 %47, 4294967296\n %53 = ashr exact i64 %sext, 32\n %54 = add i64 %53, %52\n store i64 %54, i64* %28, align 8\n %55 = load i64, i64* %24, align 8\n %56 = load i32, i32* %22, align 4\n %57 = sext i32 %56 to i64\n %58 = add i64 %55, %57\n store i64 %58, i64* %26, align 8\n %59 = load i64, i64* %28, align 8\n %60 = icmp ult i64 %59, %58\n %61 = icmp eq i1 %60, false\n store i64 %58, i64* %rax.0.reg2mem\n br i1 %61, label LBL_5, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %42, { 1, 0 }\n uselistorder i64 %5, { 7, 0, 9, 1, 3, 2, 4, 8, 6, 5, 10 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %arg1, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gui_buffer_set_highlight_words_list_4672", "fun_name": "gui_buffer_set_highlight_words_list", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_0.16.reg2mem = alloca i32\n %storemerge37.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %storemerge37.reg2mem\n store i32 0, i32* %sv_0.16.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %storemerge37.reload = load i64, i64* %storemerge37.reg2mem\n %4 = call i64 @FUNC(i64 %storemerge37.reload)\n %5 = icmp eq i64 %4, 0\n store i32 %sv_0.16.reload, i32* %sv_0.0.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = inttoptr i64 %4 to i8*\n %7 = call i32 @strlen(i8* %6)\n %8 = add i32 %sv_0.16.reload, 1\n %9 = add i32 %8, %7\n store i32 %9, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %10 = call i64 @FUNC(i64 %storemerge37.reload)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %10, i64* %storemerge37.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %12, label LBL_1, label LBL_4\n LBL_4:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %13 = add i32 %sv_0.1.lcssa.reload, 2\n %14 = call i64* @malloc(i32 %13)\n %15 = ptrtoint i64* %14 to i64\n %16 = icmp eq i64* %14, null\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %16, label LBL_11, label LBL_5\n LBL_5:\n %17 = bitcast i64* %14 to i8*\n store i8 0, i8* %17, align 1\n %18 = call i64 @FUNC(i64 %0, i64 0)\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %storemerge4.reg2mem\n br i1 %20, label LBL_6, label LBL_10\n LBL_6:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %21 = call i64 @FUNC(i64 %storemerge4.reload)\n %22 = icmp eq i64 %21, 0\n br i1 %22, label LBL_9, label LBL_7\n LBL_7:\n %23 = inttoptr i64 %21 to i8*\n %24 = call i8* @strcat(i8* %17, i8* %23)\n %25 = call i64 @FUNC(i64 %storemerge4.reload)\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_9, label LBL_8\n LBL_8:\n %27 = call i32 @strlen(i8* %17)\n %28 = sext i32 %27 to i64\n %29 = add i64 %28, %15\n %30 = inttoptr i64 %29 to i16*\n store i16 44, i16* %30, align 2\n br label LBL_9\n LBL_9:\n %31 = call i64 @FUNC(i64 %storemerge4.reload)\n %32 = icmp eq i64 %31, 0\n %33 = icmp eq i1 %32, false\n store i64 %31, i64* %storemerge4.reg2mem\n br i1 %33, label LBL_6, label LBL_10\n LBL_10:\n %34 = ptrtoint i64* %arg1 to i64\n %35 = call i64 @FUNC(i64 %34, i64 %15)\n call void @free(i64* nonnull %14)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge4.reload, { 2, 0, 1 }\n uselistorder i64 %15, { 2, 1, 0 }\n uselistorder i64* %14, { 0, 2, 1, 3 }\n uselistorder i32 %sv_0.16.reload, { 1, 0 }\n uselistorder i64* %storemerge37.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.16.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @weelist_next, { 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 (i64)* @weelist_string, { 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 0 }\n uselistorder i64 (i64, i64)* @weelist_get, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rtllib_rx_5335", "fun_name": "rtllib_rx", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg3 to i64\n %7 = icmp eq i32* %arg1, null\n %8 = icmp eq i64* %arg2, null\n %or.cond = or i1 %7, %8\n %or.cond.not = icmp ne i1 %or.cond, true\n %9 = icmp eq i64* %arg3, null\n %10 = icmp eq i1 %9, false\n %or.cond4 = icmp eq i1 %10, %or.cond.not\n br i1 %or.cond4, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %5, i64 %2, i64 %1)\n br label LBL_16\n LBL_2:\n %12 = trunc i64 %4 to i32\n %13 = icmp sgt i32 %12, 9\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %5, i64 %2, i64 %1)\n br label LBL_16\n LBL_4:\n %15 = ptrtoint i64* %arg2 to i64\n %16 = trunc i64 %3 to i32\n %17 = icmp eq i32 %16, 5\n br i1 %17, label LBL_13, label LBL_5\n LBL_5:\n %18 = icmp sgt i32 %16, 5\n br i1 %18, label LBL_14, label LBL_6\n LBL_6:\n %19 = icmp eq i32 %16, 4\n br i1 %19, label LBL_12, label LBL_7\n LBL_7:\n %20 = icmp sgt i32 %16, 1\n br i1 %20, label LBL_9, label LBL_8\n LBL_8:\n %21 = icmp slt i32 %16, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_10, label LBL_14\n LBL_9:\n %23 = or i32 %16, 1\n %24 = icmp eq i32 %23, 3\n br i1 %24, label LBL_11, label LBL_14\n LBL_10:\n %25 = ptrtoint i32* %arg1 to i64\n %26 = call i64 @FUNC(i64 %25, i64 %15, i64 %6)\n store i64 %26, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_11:\n %27 = ptrtoint i32* %arg1 to i64\n %28 = call i64 @FUNC(i64 %27, i64 %15, i64 %6)\n store i64 %28, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_12:\n %29 = ptrtoint i32* %arg1 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %15, i64 %6)\n store i64 %30, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_13:\n %31 = ptrtoint i32* %arg1 to i64\n %32 = call i64 @FUNC(i64 %31, i64 %15, i64 %6)\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_14:\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0), i64 %6, i64 %5, i64 %2, i64 %1)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %34 = and i64 %sv_0.0.reload, 4294967295\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_16:\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_18, label LBL_17\n LBL_17:\n %35 = ptrtoint i32* %arg1 to i64\n %36 = add i64 %35, 4\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i32 %38, 1\n store i32 %39, i32* %37, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_18\n LBL_18:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %16, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %15, { 3, 2, 1, 0 }\n uselistorder i64 %6, { 4, 5, 3, 2, 1, 0, 6 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 5, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i32 5, { 1, 0 }\n uselistorder i64 (i8*, i8*, i64, i64, i64, i64)* @printk, { 2, 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i32* %arg1, { 4, 3, 2, 1, 0, 5 }\n uselistorder label LBL_18, { 1, 0, 2 }\n uselistorder label LBL_14, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_chr_new_client_1037", "fun_name": "tcp_chr_new_client", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = call i64 @FUNC(i64 %1)\n call void @llvm.trap()\n unreachable\n LBL_2:\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_hex_4483", "fun_name": "process_hex", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64* @memset(i64* %arg2, i32 0, i32 24)\n %3 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_1\n LBL_1:\n %9 = add i64 %0, 16\n %10 = call i64 @FUNC(i64 %1, i64* nonnull @gv_1, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = ptrtoint i64* %arg3 to i64\n %15 = call i64 @FUNC(i64 %14)\n store i64 %15, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_3:\n %16 = inttoptr i64 %4 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %17)\n store i64 0, i64* %16, align 8\n br label LBL_4\n LBL_4:\n store i64 0, i64* %arg3, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64*, i64)* @alloc_and_process_delim, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "zrealloc_4422", "fun_name": "zrealloc", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = icmp eq i64 %arg2, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = and i64 %0, 4294967295\n %4 = call i64 @FUNC(i64 %3, i64 %arg3)\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %5 = inttoptr i64 %arg2 to i64*\n %6 = trunc i64 %arg3 to i32\n %7 = call i64* @realloc(i64* %5, i32 %6)\n %8 = ptrtoint i64* %7 to i64\n %9 = icmp eq i64* %7, null\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %storemerge.reg2mem\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = and i64 %0, 4294967295\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %11, i64 %arg3)\n unreachable\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32 1, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_write_ac3_tag_9131", "fun_name": "mov_write_ac3_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 6\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_8\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %4, i64 11)\n %6 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %7 = mul i64 %1, 8\n %8 = add i64 %7, 4294967264\n %9 = and i64 %8, 4294967288\n %10 = ptrtoint i32* %arg2 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, 4\n %15 = bitcast i32* %sv_1 to i64*\n %16 = call i64 @FUNC(i64* nonnull %15, i64 %14, i64 %9)\n %17 = call i64 @FUNC(i64* nonnull %15, i64 2)\n %18 = call i64 @FUNC(i64* nonnull %15, i64 6)\n %19 = call i64 @FUNC(i64* nonnull %15, i64 5)\n %20 = call i64 @FUNC(i64* nonnull %15, i64 3)\n %21 = call i64 @FUNC(i64* nonnull %15, i64 3)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 2\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_3, label LBL_2\n LBL_2:\n %25 = call i64 @FUNC(i64* nonnull %15, i64 2)\n br label LBL_7\n LBL_3:\n %26 = urem i32 %22, 2\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i32 %22, 1\n %or.cond = or i1 %28, %27\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i64 @FUNC(i64* nonnull %15, i64 2)\n br label LBL_5\n LBL_5:\n %30 = and i32 %22, 4\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64* nonnull %15, i64 2)\n br label LBL_7\n LBL_7:\n %33 = trunc i64 %17 to i32\n %34 = trunc i64 %18 to i32\n %35 = trunc i64 %19 to i32\n %36 = trunc i64 %20 to i32\n %37 = call i64 @FUNC(i64* nonnull %15)\n %38 = trunc i64 %37 to i32\n store i32 %38, i32* %sv_1, align 4\n %39 = call i64 @FUNC(i64* nonnull %15, i64* nonnull %sv_0, i64 3)\n %40 = call i64 @FUNC(i64* nonnull %15, i64 2, i32 %33)\n %41 = call i64 @FUNC(i64* nonnull %15, i64 5, i32 %35)\n %42 = call i64 @FUNC(i64* nonnull %15, i64 3, i32 %36)\n %43 = call i64 @FUNC(i64* nonnull %15, i64 3, i32 %22)\n %44 = load i32, i32* %sv_1, align 4\n %45 = call i64 @FUNC(i64* nonnull %15, i64 1, i32 %44)\n %46 = ashr i32 %34, 1\n %47 = call i64 @FUNC(i64* nonnull %15, i64 5, i32 %46)\n %48 = call i64 @FUNC(i64* nonnull %15, i64 5, i32 0)\n %49 = call i64 @FUNC(i64* nonnull %15)\n %50 = call i64 @FUNC(i64 %4, i64* nonnull %sv_0, i64 3)\n store i64 11, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %22, { 1, 2, 3, 0, 4 }\n uselistorder i64* %15, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 11, 0, 13, 14, 15, 16, 17, 18 }\n uselistorder i64 %4, { 0, 2, 1 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64*, i64, i32)* @put_bits, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @skip_bits, { 2, 1, 0 }\n uselistorder i64 (i64*, i64)* @get_bits, { 4, 3, 2, 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "read_new_config_info_11070", "fun_name": "read_new_config_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i32\n %sv_1.13.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i8*\n %storemerge25.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %7, align 4\n %8 = add i64 %3, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %3, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %3, 4\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n %14 = add i64 %3, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n br i1 %17, label LBL_2, label LBL_1\n LBL_1:\n %18 = inttoptr i64 %16 to i64*\n call void @free(i64* %18)\n store i64 0, i64* %15, align 8\n br label LBL_2\n LBL_2:\n %19 = trunc i64 %1 to i32\n %20 = icmp eq i32 %19, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %20, label LBL_14, label LBL_3\n LBL_3:\n %21 = inttoptr i64 %6 to i8*\n %22 = add i64 %6, 1\n %23 = load i8, i8* %21, align 1\n %24 = zext i8 %23 to i32\n store i32 %24, i32* %13, align 4\n %25 = load i32, i32* %11, align 4\n %26 = and i32 %25, -256\n %27 = inttoptr i64 %22 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i32\n %30 = or i32 %26, %29\n store i32 %30, i32* %11, align 4\n %31 = icmp eq i32 %19, 2\n store i64 1, i64* %storemerge.reg2mem\n br i1 %31, label LBL_14, label LBL_4\n LBL_4:\n %32 = add i64 %6, 2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i32\n %36 = mul i32 %35, 65536\n store i32 %36, i32* %9, align 4\n %37 = icmp eq i32 %19, 3\n br i1 %37, label LBL_13, label LBL_5\n LBL_5:\n %38 = add i64 %6, 3\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = zext i8 %40 to i32\n %42 = or i32 %36, %41\n store i32 %42, i32* %9, align 4\n %43 = add i32 %19, -4\n %44 = icmp eq i32 %43, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %44, label LBL_14, label LBL_6\n LBL_6:\n %45 = icmp sgt i32 %43, %41\n store i64 0, i64* %storemerge.reg2mem\n br i1 %45, label LBL_14, label LBL_7\n LBL_7:\n %46 = call i64* @malloc(i32 %41)\n %47 = ptrtoint i64* %46 to i64\n store i64 %47, i64* %15, align 8\n %48 = icmp eq i64* %46, null\n %49 = icmp eq i8 %40, 0\n %or.cond = or i1 %49, %48\n store i64 1, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_14, label LBL_8\n LBL_8:\n %50 = add i64 %6, 4\n %51 = inttoptr i64 %50 to i8*\n %wide.trip.count = zext i8 %40 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %storemerge25.reg2mem\n store i8* %51, i8** %sv_0.14.reg2mem\n store i32 %43, i32* %sv_1.13.reg2mem\n br label LBL_9\n LBL_9:\n %sv_1.13.reload = load i32, i32* %sv_1.13.reg2mem\n %sv_0.14.reload = load i8*, i8** %sv_0.14.reg2mem\n %storemerge25.reload = load i32, i32* %storemerge25.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %52 = icmp eq i32 %sv_1.13.reload, 0\n br i1 %52, label LBL_11, label LBL_10\n LBL_10:\n %53 = ptrtoint i8* %sv_0.14.reload to i64\n %54 = add i64 %53, 1\n %55 = inttoptr i64 %54 to i8*\n %56 = load i64, i64* %15, align 8\n %57 = add i64 %56, %indvars.iv.reload\n %58 = load i8, i8* %sv_0.14.reload, align 1\n %59 = inttoptr i64 %57 to i8*\n store i8 %58, i8* %59, align 1\n %60 = add i32 %sv_1.13.reload, -1\n store i32 %60, i32* %sv_1.0.reg2mem\n store i8* %55, i8** %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %61 = load i64, i64* %15, align 8\n %62 = add i64 %61, %indvars.iv.reload\n %63 = trunc i32 %storemerge25.reload to i8\n %64 = inttoptr i64 %62 to i8*\n store i8 %63, i8* %64, align 1\n store i32 0, i32* %sv_1.0.reg2mem\n store i8* %sv_0.14.reload, i8** %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %65 = add nuw nsw i32 %storemerge25.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %65, i32* %storemerge25.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.14.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.13.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %exitcond, label LBL_14, label LBL_9\n LBL_13:\n %66 = add i64 %3, 12\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = add i32 %68, %36\n store i32 %69, i32* %9, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32 %storemerge25.reload, { 1, 0 }\n uselistorder i8* %sv_0.14.reload, { 0, 2, 1 }\n uselistorder i32 %41, { 2, 1, 0 }\n uselistorder i8 %40, { 1, 0, 2 }\n uselistorder i32 %36, { 1, 2, 0 }\n uselistorder i32 %19, { 1, 3, 2, 0 }\n uselistorder i64* %15, { 2, 1, 3, 0, 4 }\n uselistorder i32* %9, { 1, 0, 2, 3 }\n uselistorder i64 %6, { 0, 1, 3, 2, 4 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.14.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.13.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 6, 1, 5, 7, 4, 3, 2 }\n uselistorder i64 1, { 5, 0, 6, 7, 4, 3, 2, 8, 1 }\n uselistorder i32 0, { 0, 4, 1, 5, 6, 2, 3, 7 }\n uselistorder label LBL_14, { 5, 0, 4, 6, 3, 2, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "sd_1d97_int_2983", "fun_name": "sd_1d97_int", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge7.reg2mem = alloca i32\n %storemerge48.reg2mem = alloca i32\n %storemerge59.reg2mem = alloca i32\n %storemerge610.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %sext2 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext2, 32\n %5 = add i64 %arg2, 1\n %6 = and i64 %5, 4294967295\n %7 = icmp sgt i64 %4, %6\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = trunc i64 %3 to i32\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, 16384\n %15 = ashr i32 %14, 15\n store i32 %15, i32* %12, align 4\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_3:\n %16 = trunc i64 %1 to i32\n %17 = add i32 %16, 32768\n %18 = ashr i32 %17, 16\n %19 = bitcast i64* %arg1 to i32*\n store i32 %18, i32* %19, align 4\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_4:\n %20 = and i64 %4, 4294967295\n %21 = and i64 %3, 4294967295\n %22 = call i64 @FUNC(i64 %2, i64 %21, i64 %20)\n %23 = trunc i64 %3 to i32\n %24 = add i32 %23, 1\n %sext3 = add i64 %sext2, 4294967296\n %25 = udiv i64 %sext3, 4294967296\n %26 = icmp slt i32 %24, 0\n %27 = zext i1 %26 to i32\n %28 = add i32 %24, %27\n %29 = ashr i32 %28, 1\n %30 = add nsw i32 %29, -2\n %31 = trunc i64 %25 to i32\n %32 = icmp slt i64 %sext3, 0\n %33 = zext i1 %32 to i32\n %34 = add i32 %33, %31\n %35 = ashr i32 %34, 1\n %36 = zext i32 %35 to i64\n %37 = sext i32 %30 to i64\n %38 = icmp sgt i64 %37, %36\n br i1 %38, label LBL_7, label LBL_5\n LBL_5:\n %39 = add i64 %2, 8\n store i32 %30, i32* %storemerge610.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge610.reload = load i32, i32* %storemerge610.reg2mem\n %40 = mul i32 %storemerge610.reload, 2\n %41 = or i32 %40, 1\n %42 = sext i32 %41 to i64\n %43 = mul i64 %42, 4\n %44 = add i64 %43, %2\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = sext i32 %40 to i64\n %48 = mul i64 %47, 4\n %49 = add i64 %48, %2\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = add i64 %39, %48\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = add i32 %51, 32768\n %56 = add i32 %55, %54\n %57 = ashr i32 %56, 16\n %58 = sub i32 %46, %57\n store i32 %58, i32* %45, align 4\n %59 = add i32 %storemerge610.reload, 1\n %60 = sext i32 %59 to i64\n %61 = icmp sgt i64 %60, %36\n store i32 %59, i32* %storemerge610.reg2mem\n br i1 %61, label LBL_7, label LBL_6\n LBL_7:\n %62 = add nsw i32 %29, -1\n %63 = sext i32 %62 to i64\n %64 = icmp sgt i64 %63, %36\n br i1 %64, label LBL_10, label LBL_8\n LBL_8:\n %65 = add i64 %2, -4\n store i32 %62, i32* %storemerge59.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge59.reload = load i32, i32* %storemerge59.reg2mem\n %66 = mul i32 %storemerge59.reload, 2\n %67 = sext i32 %66 to i64\n %68 = mul i64 %67, 4\n %69 = add i64 %68, %2\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = add i64 %65, %68\n %73 = inttoptr i64 %72 to i32*\n %74 = load i32, i32* %73, align 4\n %75 = or i32 %66, 1\n %76 = sext i32 %75 to i64\n %77 = mul i64 %76, 4\n %78 = add i64 %77, %2\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = add i32 %74, 32768\n %82 = add i32 %81, %80\n %83 = ashr i32 %82, 16\n %84 = sub i32 %71, %83\n store i32 %84, i32* %70, align 4\n %85 = add i32 %storemerge59.reload, 1\n %86 = sext i32 %85 to i64\n %87 = icmp sgt i64 %86, %36\n store i32 %85, i32* %storemerge59.reg2mem\n br i1 %87, label LBL_10, label LBL_9\n LBL_10:\n %88 = icmp slt i64 %63, %36\n br i1 %88, label LBL_11, label LBL_13\n LBL_11:\n %89 = add i64 %2, 8\n store i32 %62, i32* %storemerge48.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge48.reload = load i32, i32* %storemerge48.reg2mem\n %90 = mul i32 %storemerge48.reload, 2\n %91 = or i32 %90, 1\n %92 = sext i32 %91 to i64\n %93 = mul i64 %92, 4\n %94 = add i64 %93, %2\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = sext i32 %90 to i64\n %98 = mul i64 %97, 4\n %99 = add i64 %98, %2\n %100 = inttoptr i64 %99 to i32*\n %101 = load i32, i32* %100, align 4\n %102 = add i64 %89, %98\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = add i32 %101, 32768\n %106 = add i32 %105, %104\n %107 = ashr i32 %106, 16\n %108 = add i32 %107, %96\n store i32 %108, i32* %95, align 4\n %109 = add i32 %storemerge48.reload, 1\n %110 = sext i32 %109 to i64\n %111 = icmp slt i64 %110, %36\n store i32 %109, i32* %storemerge48.reg2mem\n br i1 %111, label LBL_12, label LBL_13\n LBL_13:\n %112 = sext i32 %29 to i64\n %113 = icmp slt i64 %112, %36\n store i64 %36, i64* %rax.0.reg2mem\n br i1 %113, label LBL_14, label LBL_16\n LBL_14:\n %114 = add i64 %2, -4\n store i32 %29, i32* %storemerge7.reg2mem\n br label LBL_15\n LBL_15:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %115 = mul i32 %storemerge7.reload, 2\n %116 = sext i32 %115 to i64\n %117 = mul i64 %116, 4\n %118 = add i64 %117, %2\n %119 = inttoptr i64 %118 to i32*\n %120 = load i32, i32* %119, align 4\n %121 = add i64 %114, %117\n %122 = inttoptr i64 %121 to i32*\n %123 = load i32, i32* %122, align 4\n %124 = or i32 %115, 1\n %125 = sext i32 %124 to i64\n %126 = mul i64 %125, 4\n %127 = add i64 %126, %2\n %128 = inttoptr i64 %127 to i32*\n %129 = load i32, i32* %128, align 4\n %130 = add i32 %123, 32768\n %131 = add i32 %130, %129\n %132 = ashr i32 %131, 16\n %133 = add i32 %132, %120\n store i32 %133, i32* %119, align 4\n %134 = add i32 %storemerge7.reload, 1\n %135 = sext i32 %134 to i64\n %136 = icmp slt i64 %135, %36\n store i32 %134, i32* %storemerge7.reg2mem\n store i64 %36, i64* %rax.0.reg2mem\n br i1 %136, label LBL_15, label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %115, { 1, 0 }\n uselistorder i32 %90, { 1, 0 }\n uselistorder i32 %66, { 1, 0 }\n uselistorder i32 %40, { 1, 0 }\n uselistorder i64 %36, { 0, 2, 1, 5, 3, 6, 4, 7, 9, 8 }\n uselistorder i64 %sext3, { 1, 0 }\n uselistorder i64 %sext2, { 1, 0 }\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64 %2, { 1, 2, 10, 3, 4, 9, 5, 6, 11, 7, 8, 12, 14, 0, 13 }\n uselistorder i32* %storemerge610.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge59.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge48.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i32 32768, { 1, 0, 2, 3, 4 }\n uselistorder i64 4294967296, { 0, 3, 1, 2 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_frame_213", "fun_name": "process_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 0, i64* %sv_3, align 8\n store i64 0, i64* %sv_2, align 8\n %8 = add i64 %5, 8\n %9 = call i64 @FUNC(i64 %8, i64 0, i64* nonnull %sv_3, i64 0)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n store i64 %9, i64* %sv_1.0.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %8, i64 1, i64* nonnull %sv_2, i64 0)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %12, i64* %sv_1.0.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %16 = and i64 %sv_1.0.reload, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_3:\n %17 = trunc i64 %1 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = load i64, i64* %sv_2, align 8\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_7, label LBL_5\n LBL_5:\n %23 = load i64, i64* %sv_3, align 8\n %24 = call i64 @FUNC(i64 %23)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %24, i64* %sv_0.0.in.reg2mem\n br i1 %26, label LBL_10, label LBL_6\n LBL_6:\n %27 = call i64 @FUNC(i64 12)\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %28 = inttoptr i64 %7 to i32*\n %29 = add i64 %7, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = load i32, i32* %28, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %7, i64 %33, i32 %31)\n %35 = icmp eq i64 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_9, label LBL_8\n LBL_8:\n %37 = call i64 @FUNC(i64 12)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_9:\n %38 = load i64, i64* %sv_3, align 8\n %39 = call i64 @FUNC(i64 %34, i64 %38)\n store i64 %34, i64* %sv_0.0.in.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i32*\n %40 = add i64 %7, 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i64 %5, 28\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i64 %5, 24\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = zext i32 %45 to i64\n %50 = zext i32 %48 to i64\n %51 = call i64 @FUNC(i64 %50, i64 %49, i32 %42)\n %52 = trunc i64 %51 to i32\n store i32 %52, i32* %sv_0.0, align 4\n %53 = call i64 @FUNC(i64 %7, i64 %sv_0.0.in.reload)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.in.reload, { 1, 0 }\n uselistorder i64 %7, { 2, 3, 0, 1, 4 }\n uselistorder i64 %5, { 2, 1, 3, 0 }\n uselistorder i64* %sv_3, { 1, 2, 0, 3 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64 (i64)* @AVERROR, { 1, 0 }\n uselistorder i64 (i64, i64, i64*, i64)* @ff_framesync2_get_frame, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "arm_cpu_class_init_15459", "fun_name": "arm_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198669, i64* %arg1, align 8\n store i64 4198676, i64* %2, align 8\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198711, i64* %12, align 8\n %13 = add i64 %0, 56\n %14 = inttoptr i64 %13 to i64*\n store i64 4198718, i64* %14, align 8\n %15 = add i64 %0, 104\n %16 = inttoptr i64 %15 to i64*\n store i64 4198732, i64* %16, align 8\n %17 = add i64 %0, 112\n %18 = inttoptr i64 %17 to i64*\n store i64 4198739, i64* %18, align 8\n %19 = add i64 %0, 120\n %20 = inttoptr i64 %19 to i64*\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %20, align 8\n %21 = load i64, i64* @gv_1, align 8\n %22 = add i64 %0, 128\n %23 = inttoptr i64 %22 to i64*\n store i64 %21, i64* %23, align 8\n %24 = add i64 %0, 64\n %25 = inttoptr i64 %24 to i32*\n store i32 26, i32* %25, align 4\n %26 = add i64 %0, 72\n %27 = inttoptr i64 %26 to i64*\n store i64 ptrtoint ([13 x i8]* @gv_2 to i64), i64* %27, align 8\n %28 = add i64 %0, 80\n %29 = inttoptr i64 %28 to i8*\n store i8 1, i8* %29, align 1\n %30 = add i64 %0, 88\n %31 = inttoptr i64 %30 to i64*\n store i64 4198746, i64* %31, align 8\n %32 = add i64 %0, 96\n %33 = inttoptr i64 %32 to i64*\n store i64 4198753, i64* %33, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "output_frame_16887", "fun_name": "output_frame", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg2 to i64\n %4 = call i64 @FUNC(i64 %3, i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = and i64 %4, 4294967295\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %9 = ptrtoint i32* %arg1 to i64\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_8\n LBL_3:\n %15 = trunc i64 %1 to i32\n %16 = bitcast i64* %rdi to i32*\n %17 = add i64 %9, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = add i64 %9, 12\n %20 = inttoptr i64 %19 to i32*\n %21 = add i64 %9, 20\n %22 = inttoptr i64 %21 to i32*\n %23 = add i64 %9, 16\n %24 = inttoptr i64 %23 to i32*\n %25 = add i64 %3, 16\n store i32 %15, i32* %.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %26 = icmp eq i64 %indvars.iv.reload, 0\n store i32 0, i32* %storemerge2.reg2mem\n br i1 %26, label LBL_6, label LBL_5\n LBL_5:\n %27 = load i32, i32* %18, align 4\n store i32 %27, i32* %storemerge2.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %28 = load i32, i32* %20, align 4\n %.op = urem i32 %.reload, 32\n %29 = icmp eq i32 %.op, 0\n %30 = or i1 %26, %29\n %31 = select i1 %30, i32 0, i32 %.op\n %spec.select = ashr i32 %28, %31\n %32 = load i32, i32* %22, align 4\n %33 = urem i32 %32, 32\n %34 = shl i32 %spec.select, %33\n %35 = load i32, i32* %24, align 4\n %36 = urem i32 %storemerge2.reload, 32\n %37 = ashr i32 %35, %36\n %38 = mul i64 %indvars.iv.reload, 4\n %39 = add i64 %38, %3\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = mul i32 %41, %37\n %43 = add i32 %42, %34\n %44 = mul i64 %indvars.iv.reload, 8\n %45 = add i64 %25, %44\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = sext i32 %43 to i64\n %49 = add i64 %47, %48\n store i64 %49, i64* %46, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 0, i64* %rax.0.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_6.LBL_4_crit_edge\n LBL_7:\n %.pre = load i32, i32* %16, align 8\n store i32 %.pre, i32* %.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.op, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i64 %9, { 1, 2, 3, 0, 4 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "free_geotags_2985", "fun_name": "free_geotags", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.0.reg2mem = alloca i64\n %.reg2mem5 = alloca i32\n %rdi.11.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem3 = alloca i64\n %.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i32 %3, i32* %.reg2mem\n store i64 0, i64* %.reg2mem3\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %0, i64* %rdi.11.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %rdi.11.reload = load i64, i64* %rdi.11.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload4 = load i64, i64* %.reg2mem3\n %.reload = load i32, i32* %.reg2mem\n %5 = mul i64 %.reload4, 8\n %6 = add i64 %rdi.11.reload, %5\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp eq i64 %8, 0\n store i32 %.reload, i32* %.reg2mem5\n store i64 %rdi.11.reload, i64* %rdi.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %6)\n %.pre = load i32, i32* %2, align 4\n store i32 %.pre, i32* %.reg2mem5\n store i64 %6, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %.reload6 = load i32, i32* %.reg2mem5\n %11 = add i32 %storemerge2.reload, 1\n %12 = zext i32 %.reload6 to i64\n %13 = sext i32 %11 to i64\n %14 = icmp slt i64 %13, %12\n store i32 %.reload6, i32* %.reg2mem\n store i64 %13, i64* %.reg2mem3\n store i32 %11, i32* %storemerge2.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.11.reg2mem\n br i1 %14, label LBL_1, label LBL_4\n LBL_4:\n %15 = call i64 @FUNC(i64 %0)\n store i32 0, i32* %2, align 4\n ret i64 %0\n\n uselistorder i32 %.reload6, { 1, 0 }\n uselistorder i32* %2, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 3, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem3, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.11.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rose_remove_neigh_5808", "fun_name": "rose_remove_neigh", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = add i64 %arg1, 24\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %arg1, 28\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %arg1, 32\n %5 = call i64 @FUNC(i64 %4)\n %6 = load i64, i64* @gv_0, align 8\n %7 = icmp eq i64 %6, %arg1\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_8, label LBL_1\n LBL_1:\n store i64 %4, i64* @gv_0, align 8\n %9 = add i64 %arg1, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %11)\n br label LBL_3\n LBL_3:\n %14 = add i64 %arg1, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %arg1)\n store i64 %18, i64* %rax.1.reg2mem\n br label LBL_10\n LBL_4:\n %19 = icmp eq i64 %33, %arg1\n %20 = icmp eq i1 %19, false\n store i64 %33, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_8, label LBL_5\n LBL_5:\n store i64 %4, i64* %32, align 8\n %21 = add i64 %arg1, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = call i64 @FUNC(i64 %23)\n br label LBL_7\n LBL_7:\n %26 = add i64 %arg1, 16\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = call i64 @FUNC(i64 %arg1)\n store i64 %30, i64* %rax.1.reg2mem\n br label LBL_10\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %31 = icmp eq i64 %sv_0.0.reload, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %31, label LBL_10, label LBL_9\n LBL_9:\n %32 = inttoptr i64 %sv_0.0.reload to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %33, i64* %rax.1.reg2mem\n br i1 %35, label LBL_4, label LBL_10\n LBL_10:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %33, { 0, 3, 2, 1 }\n uselistorder i64* %32, { 1, 0 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 1, 2, 4, 3 }\n uselistorder i64 (i64)* @kfree, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @ax25_cb_put, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64 (i64)* @del_timer_sync, { 1, 0 }\n uselistorder i32 1, { 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 5, 4, 6, 0, 2, 1, 3, 7, 8, 9, 10 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dlm_purge_lockres_18313", "fun_name": "dlm_purge_lockres", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = add i64 %3, 24\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %4)\n %11 = add i64 %3, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = and i64 %2, 4294967295\n %15 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %14, i64 %13, i64 %1)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_2:\n %16 = ptrtoint i64* %arg1 to i64\n %17 = add i64 %3, 16\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = add i64 %16, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %19, %22\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %26 = trunc i64 %2 to i32\n %.pre1 = bitcast i64* %rsi to i32*\n store i32* %.pre1, i32** %.pre-phi.reg2mem\n store i32 %26, i32* %.reg2mem\n br label LBL_5\n LBL_4:\n %27 = add i64 %3, 20\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = or i32 %29, 1\n store i32 %30, i32* %28, align 4\n %.phi.trans.insert = bitcast i64* %rsi to i32*\n %.pre = load i32, i32* %.phi.trans.insert, align 8\n store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %31 = call i64 @FUNC(i64 %4)\n %32 = add i64 %3, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = zext i1 %23 to i64\n %36 = zext i32 %.reload to i64\n %37 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %36, i64 %34, i64 %35, i64 %1)\n br i1 %25, label LBL_10, label LBL_6\n LBL_6:\n %38 = call i64 @FUNC(i64 %4)\n %39 = call i64 @FUNC(i64 %3, i64 2)\n %40 = call i64 @FUNC(i64 %4)\n %41 = add i64 %16, 12\n %42 = call i64 @FUNC(i64 %41)\n %43 = call i64 @FUNC(i64 %16, i64 %3)\n %44 = trunc i64 %43 to i32\n %45 = icmp slt i32 %44, 0\n %46 = icmp eq i1 %45, false\n %.pre2 = and i64 %43, 4294967295\n store i64 %16, i64* %rdi.0.reg2mem\n br i1 %46, label LBL_9, label LBL_7\n LBL_7:\n %47 = call i64 @FUNC(i64 %.pre2)\n %48 = call i64 @FUNC(i64 %.pre2)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n %51 = icmp eq i1 %50, false\n store i64 %.pre2, i64* %rdi.0.reg2mem\n br i1 %51, label LBL_9, label LBL_8\n LBL_8:\n %52 = call i64 @FUNC()\n store i64 %.pre2, i64* %rdi.0.reg2mem\n br label LBL_9\n LBL_9:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %53 = load i64, i64* %33, align 8\n %54 = load i32, i32* %.pre-phi.reload, align 8\n %55 = zext i32 %54 to i64\n %56 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i64 %rdi.0.reload, i64 %55, i64 %53, i64 %.pre2)\n %57 = call i64 @FUNC(i64 %41)\n br label LBL_10\n LBL_10:\n %58 = add i64 %3, 28\n %59 = call i64 @FUNC(i64 %58)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_12, label LBL_11\n LBL_11:\n %63 = load i64, i64* %33, align 8\n %64 = load i32, i32* %.pre-phi.reload, align 8\n %65 = zext i32 %64 to i64\n %66 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_3, i64 0, i64 0), i64 %65, i64 %63, i64 %3, i64 %35)\n %67 = call i64 @FUNC(i64 %58)\n %68 = call i64 @FUNC(i64 %3)\n %69 = add i64 %16, 16\n %70 = inttoptr i64 %69 to i32*\n %71 = load i32, i32* %70, align 4\n %72 = add i32 %71, -1\n store i32 %72, i32* %70, align 4\n br label LBL_12\n LBL_12:\n %73 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %storemerge.reg2mem\n br i1 %25, label LBL_14, label LBL_13\n LBL_13:\n %74 = call i64 @FUNC(i64 %4)\n %75 = add i64 %3, 20\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = and i32 %77, -2\n store i32 %78, i32* %76, align 4\n %79 = call i64 @FUNC(i64 %4)\n %80 = add i64 %3, 32\n %81 = call i64 @FUNC(i64 %80)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %.pre2, { 2, 1, 0, 3, 4 }\n uselistorder i64* %33, { 1, 0, 2 }\n uselistorder i32* %.pre-phi.reload, { 1, 0 }\n uselistorder i64 %16, { 3, 0, 2, 1, 4 }\n uselistorder i64 %4, { 4, 5, 2, 3, 6, 1, 0, 7 }\n uselistorder i64 %3, { 6, 7, 8, 4, 5, 9, 2, 3, 10, 1, 11, 0, 12, 13 }\n uselistorder i64* %rsi, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @mlog, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1 }\n uselistorder i64 (i64)* @spin_unlock, { 4, 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64 (i64)* @spin_lock, { 3, 2, 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "oggvorbis_encode_close_993", "fun_name": "oggvorbis_encode_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %.pre = add i64 %2, 8\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %.pre, i64 0)\n br label LBL_2\n LBL_2:\n %6 = add i64 %2, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %.pre)\n %9 = add i64 %2, 24\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %.pre)\n %12 = call i64 @FUNC(i64 %6)\n ret i64 0\n\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vpc_has_zero_init_15083", "fun_name": "vpc_has_zero_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 2\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = call i64 @FUNC(i64 %6)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "r_cons_hud_string_6418", "fun_name": "r_cons_hud_string", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_0.12.reg2mem = alloca i8*\n %storemerge3.reg2mem = alloca i32\n %.reg2mem6 = alloca i64\n %.reg2mem4 = alloca i8*\n %.reg2mem = alloca i8\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %5 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_2, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %6 = inttoptr i64 %arg1 to i8*\n %7 = call i8* @strdup(i8* %6)\n %8 = icmp eq i8* %7, null\n %9 = icmp eq i1 %8, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_14\n LBL_3:\n %10 = ptrtoint i8* %7 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %10, i64 13, i64 0, i64 1)\n %13 = call i64 @FUNC(i64 %10, i64 9, i64 0, i64 1)\n %14 = call i64 @FUNC()\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = bitcast i8* %7 to i64*\n call void @free(i64* %17)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %18 = inttoptr i64 %14 to i64*\n store i64 4198448, i64* %18, align 8\n %19 = load i8, i8* %7, align 1\n %20 = icmp eq i8 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_6, label LBL_13\n LBL_6:\n %22 = add i64 %10, 1\n store i8 %19, i8* %.reg2mem\n store i8* %7, i8** %.reg2mem4\n store i64 0, i64* %.reg2mem6\n store i32 0, i32* %storemerge3.reg2mem\n store i8* %7, i8** %sv_0.12.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.12.reload = load i8*, i8** %sv_0.12.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %23 = icmp eq i8 %.reload, 10\n %24 = icmp eq i1 %23, false\n store i8* %sv_0.12.reload, i8** %sv_0.0.reg2mem\n br i1 %24, label LBL_12, label LBL_8\n LBL_8:\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload5 = load i8*, i8** %.reg2mem4\n store i8 0, i8* %.reload5, align 1\n %25 = load i8, i8* %sv_0.12.reload, align 1\n switch i8 %25, label LBL_9 [\n i8 0, label LBL_11\n i8 35, label LBL_11\n ]\n LBL_9:\n %26 = call i8* @strdup(i8* nonnull %sv_0.12.reload)\n %27 = ptrtoint i8* %26 to i64\n %28 = call i64 @FUNC(i64 %14, i64 %27)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_11, label LBL_10\n LBL_10:\n %32 = bitcast i8* %26 to i64*\n call void @free(i64* %32)\n br label LBL_13\n LBL_11:\n %33 = add i64 %22, %.reload7\n %34 = inttoptr i64 %33 to i8*\n store i8* %34, i8** %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %35 = add i32 %storemerge3.reload, 1\n %36 = sext i32 %35 to i64\n %37 = add i64 %36, %10\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = icmp eq i8 %39, 0\n %41 = icmp eq i1 %40, false\n store i8 %39, i8* %.reg2mem\n store i8* %38, i8** %.reg2mem4\n store i64 %36, i64* %.reg2mem6\n store i32 %35, i32* %storemerge3.reg2mem\n store i8* %sv_0.0.reload, i8** %sv_0.12.reg2mem\n br i1 %41, label LBL_7, label LBL_13\n LBL_13:\n %42 = call i64 @FUNC(i64 %14, i64 0)\n %43 = bitcast i8* %7 to i64*\n call void @free(i64* %43)\n %44 = call i64 @FUNC(i64 %14)\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %sv_0.12.reload, { 2, 1, 0 }\n uselistorder i64 %14, { 1, 0, 2, 3, 4 }\n uselistorder i64 %10, { 0, 1, 4, 3, 2 }\n uselistorder i8* %7, { 3, 0, 1, 2, 4, 6, 5 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem4, { 2, 0, 1 }\n uselistorder i64* %.reg2mem6, { 2, 0, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i8 0, { 5, 2, 4, 0, 6, 1, 3 }\n uselistorder void (i64*)* @free, { 3, 4, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @r_str_replace_ch, { 1, 0 }\n uselistorder i64 1, { 2, 3, 4, 1, 0 }\n uselistorder i8* (i8*)* @strdup, { 1, 0 }\n uselistorder i1 false, { 4, 2, 3, 0, 5, 6, 7, 9, 8, 1, 10, 11 }\n uselistorder i32 0, { 3, 0, 4, 1, 5, 2 }\n uselistorder i32 1, { 17, 7, 6, 5, 4, 3, 2, 1, 18, 11, 10, 9, 8, 0, 16, 12, 13, 19, 15, 14 }\n uselistorder label LBL_14, { 1, 2, 0, 3 }\n uselistorder label LBL_13, { 0, 2, 1 }\n uselistorder label LBL_11, { 2, 0, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_complete_req_16998", "fun_name": "virtio_scsi_complete_req", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %arg1, 32\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %arg1, 24\n %9 = add i64 %arg1, 48\n %10 = call i64 @FUNC(i64 %9, i64 0, i64 %8, i64 %7)\n %11 = add i64 %arg1, 40\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %9 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = add i64 %15, %13\n %17 = add i64 %arg1, 56\n %18 = call i64 @FUNC(i64 %4, i64 %17, i64 %16)\n %19 = trunc i64 %1 to i32\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_3, label LBL_1\n LBL_1:\n %21 = add i64 %arg1, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_3, label LBL_2\n LBL_2:\n %26 = call i64 @FUNC(i64 %arg1, i64 %arg1)\n br label LBL_4\n LBL_3:\n %27 = call i64 @FUNC(i64 %arg1, i64 %4)\n br label LBL_4\n LBL_4:\n %28 = add i64 %arg1, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_6, label LBL_5\n LBL_5:\n %32 = inttoptr i64 %30 to i64*\n store i64 0, i64* %32, align 8\n %33 = load i64, i64* %29, align 8\n %34 = call i64 @FUNC(i64 %33)\n br label LBL_6\n LBL_6:\n %35 = call i64 @FUNC(i64 %arg1)\n ret i64 %35\n\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 4, 5, 1, 0, 2, 6, 7, 8, 9, 10, 11 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_header_690", "fun_name": "parse_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i64*\n %sv_0.02.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %0 = icmp sgt i32 %arg3, 12\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_16\n LBL_1:\n %1 = call i32 @memcmp(i64* %arg2, i64* bitcast ([4 x i8]* @gv_0 to i64*), i32 3)\n %2 = icmp eq i32 %1, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_16\n LBL_2:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i32 %arg3, -13\n %5 = icmp sgt i32 %4, 14\n br i1 %5, label LBL_4, label LBL_2.LBL_15_crit_edge\n LBL_3:\n %.pre = add i64 %3, 128\n %.pre4 = inttoptr i64 %.pre to i64*\n store i64* %.pre4, i64** %.pre-phi5.reg2mem\n br label LBL_15\n LBL_4:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %6, 13\n %8 = bitcast i64* %rdi to i32*\n %9 = add i64 %3, 88\n %10 = add i64 %3, 8\n %11 = bitcast i64* %arg1 to i32*\n %12 = add i64 %3, 128\n %13 = inttoptr i64 %12 to i64*\n %14 = add i64 %3, 136\n %15 = inttoptr i64 %14 to i32*\n store i32 %4, i32* %storemerge3.reg2mem\n store i64 %7, i64* %sv_0.02.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %16 = inttoptr i64 %sv_0.02.reload to i8*\n %17 = load i8, i8* %16, align 1\n %18 = add i64 %sv_0.02.reload, 1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = zext i8 %20 to i32\n %22 = mul i32 %21, 65536\n %23 = add i64 %sv_0.02.reload, 2\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = zext i8 %25 to i32\n %27 = mul i32 %26, 256\n %28 = or i32 %27, %22\n %29 = add i64 %sv_0.02.reload, 3\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = zext i8 %31 to i32\n %33 = or i32 %28, %32\n %34 = add nuw nsw i32 %33, 15\n %35 = icmp slt i32 %storemerge3.reload, %34\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %35, label LBL_16, label LBL_6\n LBL_6:\n %36 = icmp ne i8 %17, 8\n %37 = icmp eq i8 %17, 9\n %38 = icmp eq i1 %37, false\n %or.cond = icmp eq i1 %36, %38\n br i1 %or.cond, label LBL_10, label LBL_7\n LBL_7:\n %39 = load i32, i32* %8, align 8\n %40 = icmp ult i32 %39, 10\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %40, label LBL_8, label LBL_16\n LBL_8:\n %41 = sext i32 %39 to i64\n %42 = mul i64 %41, 4\n %43 = add i64 %9, %42\n %44 = inttoptr i64 %43 to i32*\n store i32 %34, i32* %44, align 4\n %45 = zext i32 %34 to i64\n %46 = load i32, i32* %8, align 8\n %47 = call i64 @FUNC(i64 %45)\n %48 = sext i32 %46 to i64\n %49 = mul i64 %48, 8\n %50 = add i64 %49, %10\n %51 = inttoptr i64 %50 to i64*\n store i64 %47, i64* %51, align 8\n %52 = load i32, i32* %8, align 8\n %53 = sext i32 %52 to i64\n %54 = mul i64 %53, 8\n %55 = add i64 %54, %10\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = icmp eq i64 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %59, label LBL_9, label LBL_16\n LBL_9:\n %60 = inttoptr i64 %57 to i64*\n %61 = inttoptr i64 %sv_0.02.reload to i64*\n %62 = call i64* @memcpy(i64* %60, i64* %61, i32 %34)\n %63 = add i32 %52, 1\n store i32 %63, i32* %11, align 4\n br label LBL_14\n LBL_10:\n %64 = icmp eq i8 %17, 18\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_14, label LBL_11\n LBL_11:\n %66 = load i64, i64* %13, align 8\n %67 = icmp eq i64 %66, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %67, label LBL_12, label LBL_16\n LBL_12:\n store i32 %33, i32* %15, align 4\n %68 = zext i32 %33 to i64\n %69 = call i64 @FUNC(i64 %68)\n store i64 %69, i64* %13, align 8\n %70 = icmp eq i64 %69, 0\n %71 = icmp eq i1 %70, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %71, label LBL_13, label LBL_16\n LBL_13:\n %72 = load i32, i32* %15, align 4\n %73 = add i64 %sv_0.02.reload, 11\n %74 = inttoptr i64 %69 to i64*\n %75 = inttoptr i64 %73 to i64*\n %76 = call i64* @memcpy(i64* %74, i64* %75, i32 %72)\n br label LBL_14\n LBL_14:\n %77 = zext i32 %34 to i64\n %78 = add i64 %sv_0.02.reload, %77\n %79 = sub i32 %storemerge3.reload, %34\n %80 = icmp sgt i32 %79, 14\n store i32 %79, i32* %storemerge3.reg2mem\n store i64 %78, i64* %sv_0.02.reg2mem\n store i64* %13, i64** %.pre-phi5.reg2mem\n br i1 %80, label LBL_5, label LBL_15\n LBL_15:\n %.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem\n %81 = load i64, i64* %.pre-phi5.reload, align 8\n %82 = icmp eq i64 %81, 0\n %83 = icmp eq i1 %82, false\n %. = select i1 %83, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %69, { 1, 0, 2 }\n uselistorder i32 %34, { 3, 0, 4, 1, 5, 2 }\n uselistorder i8 %17, { 1, 0, 2 }\n uselistorder i32 %storemerge3.reload, { 1, 0 }\n uselistorder i64 %sv_0.02.reload, { 6, 0, 1, 3, 2, 5, 4 }\n uselistorder i64 %3, { 3, 2, 4, 1, 0 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5, 7, 8 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i64 (i64)* @av_malloc, { 1, 0 }\n uselistorder i64 128, { 1, 0 }\n uselistorder i32 14, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_16, { 5, 0, 1, 2, 3, 4, 6, 7 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stsf_Size_7970", "fun_name": "stsf_Size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = trunc i64 %1 to i32\n %9 = add i32 %8, 4\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n %11 = icmp eq i32 %7, 0\n br i1 %11, label LBL_3, label LBL_1\n LBL_1:\n %12 = add i32 %8, 8\n %wide.trip.count = and i64 %6, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %13 = load i64, i64* %4, align 8\n %14 = call i64 @FUNC(i64 %13, i64 %indvars.iv.reload)\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = mul i32 %16, 2\n %18 = add i32 %12, %17\n store i32 %18, i32* %10, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n ret i64 0\n\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "raven_class_init_16784", "fun_name": "raven_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 4183, i32* %2, align 4\n %3 = add i64 %0, 12\n %4 = inttoptr i64 %3 to i32*\n store i32 1, i32* %4, align 4\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i8*\n store i8 0, i8* %6, align 1\n %7 = add i64 %0, 20\n %8 = inttoptr i64 %7 to i32*\n store i32 394240, i32* %8, align 4\n store i64 ptrtoint ([34 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %9 = inttoptr i64 %1 to i64*\n store i64 4210717, i64* %9, align 8\n %10 = inttoptr i64 %5 to i32*\n store i32 1, i32* %10, align 4\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_chroma_qp_2992", "fun_name": "get_chroma_qp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i32 %arg3, 256\n %2 = zext i32 %1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = ashr exact i64 %sext, 24\n %4 = or i64 %3, %2\n %5 = mul i64 %4, 4\n %6 = add i64 %5, %0\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n ret i64 %9\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "start_cfs_bandwidth_7962", "fun_name": "start_cfs_bandwidth", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 40\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %1 to i32\n %6 = and i64 %1, 4294967295\n %7 = icmp eq i32 %5, 0\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %9, align 4\n %10 = add i64 %2, 44\n %11 = add i64 %2, 24\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %2, 32\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %10, i64 %13, i64 %16)\n %18 = add i64 %17, 1\n %19 = load i64, i64* %12, align 8\n %20 = load i64, i64* %15, align 8\n %21 = call i64 @FUNC(i64 %19, i64 %20)\n %22 = mul i64 %21, %18\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %22, %25\n store i64 %26, i64* %24, align 8\n %27 = add i64 %2, 16\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = add i64 %29, 1\n store i64 %30, i64* %28, align 8\n %31 = call i64 @FUNC(i64 %10, i64 0)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 0, 1, 4, 3, 2, 5 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_intr_gate_10600", "fun_name": "set_intr_gate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i32\n %1 = icmp ult i32 %0, 256\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i32 @puts(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_0, i64 0, i64 0))\n %3 = sext i32 %2 to i64\n store i64 %3, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 24)\n %5 = ashr exact i64 %sext, 32\n store i64 %5, i64* %sv_0, align 8\n %6 = load i64, i64* @gv_1, align 8\n %7 = call i64 @FUNC(i64 %6, i64* nonnull %sv_0, i64 1, i64 0)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pt_adjust_vcpu_7289", "fun_name": "pt_adjust_vcpu", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = add i32 %2, -1\n %4 = icmp ult i32 %3, 2\n %storemerge = zext i1 %4 to i64\n %5 = call i64 @FUNC(i64 %storemerge)\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_5, label LBL_1\n LBL_1:\n %11 = ptrtoint i64* %arg2 to i64\n %12 = call i64 @FUNC(i64 %6)\n %13 = add i64 %6, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = add i64 %6, 24\n %18 = call i64 @FUNC(i64 %17)\n store i32 0, i32* %14, align 4\n %19 = call i64 @FUNC(i64 %6)\n %20 = call i64 @FUNC(i64 %11)\n store i64 %11, i64* %8, align 8\n store i32 1, i32* %14, align 4\n %21 = add i64 %11, 8\n %22 = call i64 @FUNC(i64 %17, i64 %21)\n %23 = add i64 %11, 24\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %6, 40\n %27 = zext i32 %25 to i64\n %28 = call i64 @FUNC(i64 %26, i64 %27)\n br label LBL_4\n LBL_3:\n store i32 0, i32* %14, align 4\n %29 = call i64 @FUNC(i64 %6)\n %30 = call i64 @FUNC(i64 %11)\n store i64 %11, i64* %8, align 8\n br label LBL_4\n LBL_4:\n %31 = call i64 @FUNC(i64 %11)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 4, 0, 1, 3, 2, 6, 5 }\n uselistorder i64 %6, { 0, 1, 2, 3, 5, 4, 6 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "buffer_reserve_846", "fun_name": "buffer_reserve", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = sub i64 %0, %3\n %5 = icmp ult i64 %4, %arg2\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_3\n LBL_1:\n %6 = add i64 %arg2, 1024\n %7 = add i64 %6, %0\n store i64 %7, i64* %arg1, align 8\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i64 %0)\n store i64 %11, i64* %9, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %15 = call i32 @fwrite(i64* bitcast ([20 x i8]* @gv_1 to i64*), i32 1, i32 19, %_IO_FILE* %14)\n call void @exit(i32 1)\n unreachable\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3, 4 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uvc_resume_10743", "fun_name": "uvc_resume", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = urem i64 %3, 256\n %8 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %4, i64 %2, i64 %1)\n %9 = load i8, i8* inttoptr (i64 2 to i8*), align 2\n %10 = icmp eq i8 %9, 1\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %6)\n %13 = trunc i64 %12 to i32\n %14 = icmp slt i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = and i64 %12, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %17 = call i64 @FUNC(i64 %6)\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_4:\n %18 = add i64 %6, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, %5\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i64 %7, i64 %4, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %25 = call i64 @FUNC(i64 %6)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 3, 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @uvc_trace, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mwifiex_cfg80211_start_ap_4584", "fun_name": "mwifiex_cfg80211_start_ap", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_22\n LBL_1:\n %7 = ptrtoint i64* %arg3 to i64\n %8 = call i64 @FUNC(i64 %3, i64 %7)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_22\n LBL_2:\n %11 = call i64 @FUNC(i64 48, i64 0)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %13, label LBL_3, label LBL_22\n LBL_3:\n %14 = trunc i64 %1 to i32\n %15 = call i64 @FUNC(i64 %11)\n %16 = icmp eq i32 %14, 0\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %11, 36\n %18 = inttoptr i64 %17 to i32*\n store i32 %14, i32* %18, align 4\n br label LBL_5\n LBL_5:\n %19 = add i64 %7, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %23 = add i64 %11, 40\n %24 = inttoptr i64 %23 to i32*\n store i32 %21, i32* %24, align 4\n br label LBL_7\n LBL_7:\n %25 = add i64 %7, 8\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n br i1 %28, label LBL_10, label LBL_8\n LBL_8:\n %29 = add i64 %7, 16\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_10, label LBL_9\n LBL_9:\n %33 = inttoptr i64 %11 to i64*\n %34 = inttoptr i64 %27 to i64*\n %35 = call i64* @memcpy(i64* %33, i64* %34, i32 %31)\n %36 = load i32, i32* %30, align 4\n %37 = add i64 %11, 32\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n br label LBL_10\n LBL_10:\n %39 = add i64 %7, 20\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n switch i32 %41, label LBL_13 [\n i32 0, label LBL_11\n i32 1, label LBL_12\n ]\n LBL_11:\n %42 = add i64 %11, 44\n %43 = inttoptr i64 %42 to i32*\n store i32 1, i32* %43, align 4\n br label LBL_14\n LBL_12:\n %44 = add i64 %11, 44\n %45 = inttoptr i64 %44 to i32*\n store i32 0, i32* %45, align 4\n br label LBL_14\n LBL_13:\n %46 = call i64 @FUNC(i64 %11)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_14:\n %47 = ptrtoint i64* %arg1 to i64\n %48 = call i64 @FUNC(i64 %3, i64 %11, i64 %7)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_16, label LBL_15\n LBL_15:\n %51 = call i64 @FUNC(i64 %11)\n %52 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_16:\n %53 = call i64 @FUNC(i64 %3, i64 1, i64 1, i64 0, i64 0)\n %54 = trunc i64 %53 to i32\n %55 = icmp eq i32 %54, 0\n br i1 %55, label LBL_18, label LBL_17\n LBL_17:\n %56 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0))\n %57 = call i64 @FUNC(i64 %11)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_18:\n %58 = call i64 @FUNC(i64 %3, i64 2, i64 1, i64 1, i64 %11)\n %59 = trunc i64 %58 to i32\n %60 = icmp eq i32 %59, 0\n br i1 %60, label LBL_20, label LBL_19\n LBL_19:\n %61 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0))\n %62 = call i64 @FUNC(i64 %11)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_20:\n %63 = call i64 @FUNC(i64 %11)\n %64 = call i64 @FUNC(i64 %3, i64 3, i64 1, i64 0, i64 0)\n %65 = trunc i64 %64 to i32\n %66 = icmp eq i32 %65, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %66, label LBL_22, label LBL_21\n LBL_21:\n %67 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_3, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %47, { 3, 2, 1, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i64 %11, { 9, 8, 10, 7, 6, 11, 5, 4, 12, 2, 3, 1, 0, 13, 14 }\n uselistorder i64 %7, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 9, 1, 8, 7, 6, 5, 2, 3, 4 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @mwifiex_send_cmd_async, { 1, 0 }\n uselistorder i64 1, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64, i8*)* @wiphy_err, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @kfree, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9 }\n uselistorder label LBL_22, { 4, 0, 5, 6, 7, 8, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jpc_enc_tile_destroy_8835", "fun_name": "jpc_enc_tile_destroy", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %1 = add i64 %arg1, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %sv_0.01.reg2mem\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = add nuw i64 %sv_0.01.reload, 1\n %7 = load i64, i64* %2, align 8\n %8 = icmp ult i64 %6, %7\n store i64 %6, i64* %sv_0.01.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %arg1)\n br label LBL_4\n LBL_4:\n %10 = add i64 %arg1, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_6, label LBL_5\n LBL_5:\n %14 = call i64 @FUNC(i64 %12)\n br label LBL_6\n LBL_6:\n %15 = add i64 %arg1, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_8, label LBL_7\n LBL_7:\n %19 = call i64 @FUNC(i64 %17)\n br label LBL_8\n LBL_8:\n %20 = call i64 @FUNC(i64 %arg1)\n ret i64 %20\n\n uselistorder i64* %2, { 1, 0 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @jas_free, { 2, 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder i64 %arg1, { 3, 4, 5, 0, 1, 2, 6 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mpeg1_encode_sequence_header_7426", "fun_name": "mpeg1_encode_sequence_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem = alloca i32\n %.pre-phi5.reg2mem = alloca i32*\n %sv_0.0.reg2mem = alloca i32\n %sv_0.12.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = ashr i32 %3, 31\n %8 = and i64 %1, 4294967295\n %9 = zext i32 %7 to i64\n %10 = mul i64 %9, 4294967296\n %11 = or i64 %10, %8\n %12 = zext i32 %6 to i64\n %13 = srem i64 %11, %12\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_0.LBL_7_crit_edge, label LBL_2\n LBL_1:\n %.pre = add i64 %2, 8\n %.pre4 = inttoptr i64 %.pre to i32*\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n br label LBL_7\n LBL_2:\n %17 = call i64 @FUNC(i64 %2, i64 435)\n %18 = add i64 %2, 12\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %2, 8\n %21 = inttoptr i64 %20 to i32*\n store i64 1, i64* %indvars.iv.reg2mem\n store i32 2147483647, i32* %sv_0.12.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.12.reload = load i32, i32* %sv_0.12.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = load i32, i32* %21, align 4\n %23 = mul i64 %indvars.iv.reload, 4\n %24 = add i64 %23, ptrtoint (i32** @gv_0 to i64)\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = sub i32 %22, %26\n %28 = sub i32 0, %27\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i1 %29, false\n %31 = select i1 %30, i32 %28, i32 %27\n %32 = icmp slt i32 %31, %sv_0.12.reload\n store i32 %sv_0.12.reload, i32* %sv_0.0.reg2mem\n br i1 %32, label LBL_4, label LBL_5\n LBL_4:\n %33 = trunc i64 %indvars.iv.reload to i32\n store i32 %33, i32* %19, align 4\n store i32 %31, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 9\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.12.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n %34 = add i64 %2, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = zext i32 %36 to i64\n %38 = add i64 %2, 40\n %39 = call i64 @FUNC(i64 %38, i64 12, i64 %37)\n %40 = add i64 %2, 20\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %38, i64 12, i64 %43)\n %45 = call i64 @FUNC(i64 %38, i64 4, i64 1)\n %46 = load i32, i32* %19, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %38, i64 4, i64 %47)\n %49 = call i64 @FUNC(i64 %38, i64 18, i64 262143)\n %50 = call i64 @FUNC(i64 %38, i64 1, i64 1)\n %51 = add i64 %2, 28\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = mul i32 %53, 3\n %55 = sdiv i32 %54, 32768\n %56 = add nsw i32 %55, 16383\n %57 = udiv i32 %56, 16384\n %58 = zext i32 %57 to i64\n %59 = call i64 @FUNC(i64 %38, i64 10, i64 %58)\n %60 = call i64 @FUNC(i64 %38, i64 1, i64 1)\n %61 = call i64 @FUNC(i64 %38, i64 1, i64 0)\n %62 = call i64 @FUNC(i64 %38, i64 1, i64 0)\n %63 = call i64 @FUNC(i64 %2, i64 440)\n %64 = call i64 @FUNC(i64 %38, i64 1, i64 0)\n %65 = load i32, i32* %19, align 4\n %66 = sext i32 %65 to i64\n %67 = mul i64 %66, 4\n %68 = add i64 %67, ptrtoint (i32** @gv_0 to i64)\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = add i64 %2, 32\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = mul i32 %73, 30000\n %75 = sext i32 %74 to i64\n %76 = add i64 %2, 36\n %77 = inttoptr i64 %76 to i32*\n store i32 %73, i32* %77, align 4\n %78 = mul i32 %70, 3600\n %79 = zext i32 %78 to i64\n %80 = udiv i64 %75, %79\n %81 = call i64 @FUNC(i64 %38, i64 5, i64 %80)\n %82 = mul i32 %70, 60\n %83 = zext i32 %82 to i64\n %84 = udiv i64 %75, %83\n %85 = call i64 @FUNC(i64 %38, i64 6, i64 %84)\n %86 = call i64 @FUNC(i64 %38, i64 1, i64 1)\n %87 = zext i32 %70 to i64\n %88 = udiv i64 %75, %87\n %89 = call i64 @FUNC(i64 %38, i64 6, i64 %88)\n %90 = call i64 @FUNC(i64 %38, i64 6, i64 0)\n %91 = call i64 @FUNC(i64 %38, i64 1, i64 1)\n %92 = call i64 @FUNC(i64 %38, i64 1, i64 0)\n store i32* %21, i32** %.pre-phi5.reg2mem\n br label LBL_7\n LBL_7:\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %93 = load i32, i32* %.pre-phi5.reload, align 4\n %94 = icmp sgt i32 %93, 719999\n br i1 %94, label LBL_12, label LBL_8\n LBL_8:\n %95 = bitcast i64* %rdi to i32*\n %96 = load i32, i32* %95, align 8\n %97 = icmp slt i32 %96, 1\n br i1 %97, label LBL_12, label LBL_9\n LBL_9:\n %98 = add i64 %2, 12\n %99 = inttoptr i64 %98 to i32*\n %100 = load i32, i32* %99, align 4\n %101 = sext i32 %100 to i64\n %102 = mul i64 %101, 4\n %103 = add i64 %102, ptrtoint (i32** @gv_0 to i64)\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = mul i32 %105, %96\n %107 = udiv i32 %106, %93\n %108 = add i32 %107, -1\n %109 = add i64 %2, 32\n %110 = inttoptr i64 %109 to i32*\n %111 = load i32, i32* %110, align 4\n %112 = zext i32 %111 to i64\n %113 = sext i32 %108 to i64\n %114 = icmp sgt i64 %113, %112\n br i1 %114, label LBL_10, label LBL_12\n LBL_10:\n %115 = add i64 %2, 36\n %116 = inttoptr i64 %115 to i32*\n store i32 %111, i32* %.reg2mem\n br label LBL_11\n LBL_11:\n %.reload = load i32, i32* %.reg2mem\n %117 = load i32, i32* %116, align 4\n %118 = sub i32 %.reload, %117\n %119 = zext i32 %118 to i64\n %120 = call i64 @FUNC(i64 %2, i64 %119)\n %121 = load i32, i32* %110, align 4\n %122 = add i32 %121, 1\n store i32 %122, i32* %110, align 4\n %123 = zext i32 %122 to i64\n %124 = icmp sgt i64 %113, %123\n store i32 %122, i32* %.reg2mem\n br i1 %124, label LBL_11, label LBL_12\n LBL_12:\n %125 = add i64 %2, 32\n %126 = inttoptr i64 %125 to i32*\n %127 = load i32, i32* %126, align 4\n %128 = add i32 %127, 1\n store i32 %128, i32* %126, align 4\n ret i64 %2\n\n uselistorder i64 %113, { 1, 0 }\n uselistorder i32* %110, { 2, 1, 0 }\n uselistorder i64 %2, { 14, 13, 12, 11, 10, 15, 2, 1, 3, 4, 5, 7, 8, 6, 9, 16, 0, 17 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.12.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @put_bits, { 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 ptrtoint (i32** @gv_0 to i64), { 1, 2, 0 }\n uselistorder i64 1, { 2, 4, 3, 6, 5, 7, 8, 9, 11, 10, 13, 12, 14, 1, 0 }\n uselistorder i64 12, { 2, 0, 1, 3 }\n uselistorder i64 (i64, i64)* @put_header, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 4, { 0, 1, 3, 4, 2, 5 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_mpeg4_frame_end_994", "fun_name": "ff_mpeg4_frame_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge26.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_13, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 24\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %4, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %7, %10\n store i32 0, i32* %storemerge3.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %5)\n %13 = trunc i64 %12 to i32\n %14 = ashr i32 %13, 3\n store i32 %14, i32* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %sext = mul i64 %arg3, 4294967296\n %15 = ashr exact i64 %sext, 32\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %16 = trunc i64 %15 to i32\n %17 = sub i32 %16, %storemerge3.reload\n %18 = icmp slt i32 %17, 8\n store i64 0, i64* %storemerge.reg2mem\n br i1 %18, label LBL_13, label LBL_4\n LBL_4:\n %19 = ptrtoint i64* %arg2 to i64\n %20 = add nsw i64 %15, 4294967292\n %21 = and i64 %20, 4294967295\n %22 = sext i32 %storemerge3.reload to i64\n %23 = icmp sgt i64 %21, %22\n store i64 %22, i64* %.reg2mem\n store i32 %storemerge3.reload, i32* %storemerge26.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_5, label LBL_13\n LBL_5:\n %storemerge26.reload = load i32, i32* %storemerge26.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %24 = add i64 %.reload, %19\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = icmp eq i8 %26, 0\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_10, label LBL_6\n LBL_6:\n %29 = add i64 %24, 1\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = icmp eq i8 %31, 0\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_10, label LBL_7\n LBL_7:\n %34 = add i64 %24, 2\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = icmp eq i8 %36, 1\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_10, label LBL_8\n LBL_8:\n %39 = add i64 %24, 3\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp eq i8 %41, -74\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_10, label LBL_9\n LBL_9:\n %44 = add i64 %24, 4\n %45 = inttoptr i64 %44 to i8*\n %46 = load i8, i8* %45, align 1\n %47 = and i8 %46, 64\n %48 = icmp eq i8 %47, 0\n %phitmp = icmp eq i1 %48, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %phitmp, label LBL_13, label LBL_11\n LBL_10:\n %49 = add i32 %storemerge26.reload, 1\n %50 = sext i32 %49 to i64\n %51 = icmp sgt i64 %21, %50\n store i64 %50, i64* %.reg2mem\n store i32 %49, i32* %storemerge26.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %51, label LBL_5, label LBL_13\n LBL_11:\n %52 = add i64 %4, 16\n %53 = zext i32 %17 to i64\n %54 = call i64 @FUNC(i64 %8, i64 %52, i64 %53)\n %55 = load i64, i64* %9, align 8\n %56 = icmp eq i64 %55, 0\n %57 = icmp eq i1 %56, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %57, label LBL_12, label LBL_13\n LBL_12:\n %58 = add i64 %22, %19\n %59 = inttoptr i64 %55 to i64*\n %60 = inttoptr i64 %58 to i64*\n %61 = call i64* @memcpy(i64* %59, i64* %60, i32 %17)\n %62 = add i64 %4, 20\n %63 = inttoptr i64 %62 to i32*\n store i32 %17, i32* %63, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_13\n LBL_13:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i32 %storemerge3.reload, { 0, 2, 1 }\n uselistorder i64 %4, { 0, 1, 3, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge26.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 6, 7, 1, 5, 2, 3, 4 }\n uselistorder i1 false, { 5, 0, 1, 2, 3, 4 }\n uselistorder label LBL_13, { 5, 6, 0, 4, 1, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_traditional_PKWARE_decryption_8742", "fun_name": "init_traditional_PKWARE_decryption", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge313.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge3.lcssa.reg2mem = alloca i8*\n %r9.0.lcssa.reg2mem = alloca i64\n %r8.0.lcssa.reg2mem = alloca i64\n %rcx.0.lcssa.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i8, align 1\n %5 = trunc i64 %3 to i32\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_18\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = and i32 %12, 8\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_2\n LBL_2:\n %16 = add i64 %7, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp ult i64 %18, 12\n br i1 %19, label LBL_3, label LBL_4\n LBL_3:\n %20 = call i64 @FUNC(i64 %8, i64 1, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_4:\n %21 = call i64 @FUNC(i64 %7, i64 12, i64 0)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_5, label LBL_7\n LBL_5:\n %24 = call i64 @FUNC(i64 %7)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i8** %storemerge3.lcssa.reg2mem\n br i1 %26, label LBL_6, label LBL_9\n LBL_6:\n %27 = add i64 %7, 40\n %28 = bitcast i8* %sv_0 to i64*\n store i64 %24, i64* %.reg2mem\n store i32 0, i32* %storemerge313.reg2mem\n br label LBL_10\n LBL_7:\n %29 = call i64 @FUNC(i64 %8, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_8:\n %30 = ptrtoint i8* %sv_0 to i64\n store i64 %21, i64* %rcx.0.lcssa.reg2mem\n store i64 12, i64* %r8.0.lcssa.reg2mem\n store i64 %30, i64* %r9.0.lcssa.reg2mem\n store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0), i8** %storemerge3.lcssa.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge3.lcssa.reload = load i8*, i8** %storemerge3.lcssa.reg2mem\n %r9.0.lcssa.reload = load i64, i64* %r9.0.lcssa.reg2mem\n %r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem\n %rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem\n %31 = call i64 @FUNC(i64 %8, i64 2, i8* nonnull %storemerge3.lcssa.reload, i64 %rcx.0.lcssa.reload, i64 %r8.0.lcssa.reload, i64 %r9.0.lcssa.reload)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_10:\n %storemerge313.reload = load i32, i32* %storemerge313.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %32 = inttoptr i64 %.reload to i8*\n %33 = call i32 @strlen(i8* %32)\n %34 = sext i32 %33 to i64\n %35 = call i64 @FUNC(i64 %27, i64 %.reload, i64 %34, i64 %21, i64 12, i64* nonnull %28)\n %36 = trunc i64 %35 to i32\n %37 = icmp eq i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_13, label LBL_11\n LBL_11:\n %39 = load i64, i64* %9, align 8\n %40 = add i64 %39, 4\n %41 = inttoptr i64 %40 to i8*\n %42 = load i8, i8* %41, align 1\n %43 = load i8, i8* %sv_0, align 1\n %44 = icmp eq i8 %42, %43\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_13, label LBL_12\n LBL_12:\n %46 = call i64 @FUNC(i64 %7, i64 12)\n %47 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %47, align 4\n %48 = load i64, i64* %9, align 8\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = and i32 %50, 8\n %52 = icmp eq i32 %51, 0\n br i1 %52, label LBL_16, label LBL_17\n LBL_13:\n %53 = icmp ult i32 %storemerge313.reload, 10001\n br i1 %53, label LBL_15, label LBL_14\n LBL_14:\n %54 = ptrtoint i8* %sv_0 to i64\n %55 = call i64 @FUNC(i64 %8, i64 2, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64 %21, i64 12, i64 %54)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_15:\n %56 = add nuw nsw i32 %storemerge313.reload, 1\n %57 = call i64 @FUNC(i64 %7)\n %58 = icmp eq i64 %57, 0\n %59 = icmp eq i1 %58, false\n store i64 %57, i64* %.reg2mem\n store i32 %56, i32* %storemerge313.reg2mem\n br i1 %59, label LBL_10, label LBL_8\n LBL_16:\n %60 = add i64 %7, 16\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = add i64 %62, -12\n store i64 %63, i64* %61, align 8\n br label LBL_17\n LBL_17:\n %64 = add i64 %7, 24\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = add i64 %66, 12\n store i64 %67, i64* %65, align 8\n %68 = add i64 %7, 32\n %69 = inttoptr i64 %68 to i64*\n store i64 0, i64* %69, align 8\n %70 = call i64 @FUNC(i64 %7)\n store i64 %70, i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge313.reload, { 1, 0 }\n uselistorder i64 %21, { 1, 2, 0, 3 }\n uselistorder i64 %8, { 3, 2, 1, 0, 4 }\n uselistorder i64 %7, { 1, 2, 3, 4, 7, 5, 6, 0, 8, 9, 10 }\n uselistorder i8* %sv_0, { 0, 2, 1, 3 }\n uselistorder i8** %storemerge3.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge313.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 6, 4, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 4294967294, { 1, 0 }\n uselistorder i64 (i64)* @__archive_read_next_passphrase, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @archive_set_error, { 3, 2, 1, 0 }\n uselistorder i64 12, { 6, 1, 3, 4, 0, 5, 2 }\n uselistorder i1 false, { 3, 1, 2, 0, 4, 5 }\n uselistorder label LBL_18, { 1, 2, 3, 4, 5, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "calipso_doi_putdef_6822", "fun_name": "calipso_doi_putdef", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_3, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n store i64 %1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_3, label LBL_2\n LBL_2:\n %4 = call i64 @FUNC()\n %5 = add i64 %arg1, 8\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "microdrive_realize_1794", "fun_name": "microdrive_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 4198698, i64 %0, i64 0)\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %0, i64 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_slave_init_4472", "fun_name": "do_slave_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %storemerge37.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = load i64, i64* %0\n %4 = call i64 @FUNC(i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_14, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = and i64 %7, 4294967295\n %9 = call i64 @FUNC(i64 %2, i64 %8)\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %9, i64 %10)\n %12 = call i64 @FUNC(i64 %9, i64 %10)\n %13 = and i64 %11, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 8, i64 0)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_2, label LBL_3\n LBL_2:\n %17 = trunc i64 %11 to i32\n %18 = trunc i64 %12 to i32\n %19 = icmp eq i32 %17, 0\n store i32 0, i32* %storemerge37.reg2mem\n br i1 %19, label LBL_13, label LBL_4\n LBL_3:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0))\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %storemerge37.reload = load i32, i32* %storemerge37.reg2mem\n %21 = sext i32 %storemerge37.reload to i64\n %22 = mul i64 %21, 8\n %23 = add i64 %22, %14\n %24 = call i64 @FUNC(i64 32, i64 0)\n %25 = inttoptr i64 %23 to i64*\n store i64 %24, i64* %25, align 8\n %26 = icmp eq i64 %24, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @gv_1, i64 0, i64 0))\n %29 = add i32 %storemerge37.reload, -1\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i32 %29, i32* %.reg2mem\n br i1 %31, label LBL_6, label LBL_13\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %32 = sext i32 %.reload to i64\n %33 = mul i64 %32, 8\n %34 = add i64 %33, %14\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i32 %.reload, -1\n %39 = icmp slt i32 %38, 0\n %40 = icmp eq i1 %39, false\n store i32 %38, i32* %.reg2mem\n br i1 %40, label LBL_6, label LBL_13\n LBL_7:\n %41 = add nuw i32 %storemerge37.reload, 1\n %42 = icmp ult i32 %41, %17\n store i32 %41, i32* %storemerge37.reg2mem\n br i1 %42, label LBL_4, label LBL_8\n LBL_8:\n %43 = trunc i64 %7 to i32\n %44 = trunc i64 %arg3 to i32\n %45 = add i64 %2, 16\n %46 = add i64 %2, 8\n %47 = inttoptr i64 %46 to i32*\n %48 = add i64 %2, 24\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %49 = sext i32 %storemerge6.reload to i64\n %50 = mul i64 %49, 8\n %51 = add i64 %50, %14\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = call i64 @FUNC(i64 %53, i64 4199118)\n %55 = load i64, i64* %52, align 8\n %56 = add nuw i32 %storemerge6.reload, 1\n %57 = add i32 %56, %18\n %58 = add i64 %55, 8\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n %60 = load i64, i64* %52, align 8\n %61 = add i64 %60, 12\n %62 = inttoptr i64 %61 to i32*\n store i32 %43, i32* %62, align 4\n %63 = load i64, i64* %52, align 8\n %64 = add i64 %63, 16\n %65 = inttoptr i64 %64 to i32*\n store i32 %44, i32* %65, align 4\n %66 = load i64, i64* %52, align 8\n %67 = add i64 %66, 24\n %68 = inttoptr i64 %67 to i64*\n store i64 %2, i64* %68, align 8\n %69 = call i64 @FUNC(i64 %45, i64 %3)\n %70 = load i32, i32* %47, align 4\n %71 = icmp eq i32 %70, 0\n %72 = icmp eq i1 %71, false\n %73 = load i64, i64* %52, align 8\n br i1 %72, label LBL_11, label LBL_10\n LBL_10:\n %74 = add i64 %48, %50\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = call i64 @FUNC(i64 %76, i64 %73)\n br label LBL_12\n LBL_11:\n %78 = call i64 @FUNC(i64 %73)\n br label LBL_12\n LBL_12:\n %79 = call i64 @FUNC(i64 %45, i64 %3)\n %exitcond = icmp eq i32 %56, %17\n store i32 %56, i32* %storemerge6.reg2mem\n br i1 %exitcond, label LBL_13, label LBL_9\n LBL_13:\n %80 = call i64 @FUNC(i64 %14)\n store i64 %80, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %73, { 1, 0 }\n uselistorder i32 %56, { 0, 2, 1 }\n uselistorder i32 %.reload, { 1, 0 }\n uselistorder i32 %storemerge37.reload, { 0, 2, 1 }\n uselistorder i32 %17, { 0, 2, 1 }\n uselistorder i64 %14, { 3, 0, 1, 2, 4 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 %2, { 3, 0, 2, 1, 4, 5 }\n uselistorder i32* %storemerge37.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i8*)* @pr_err, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i64 4294967295, { 1, 0, 2, 3 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i32 0, { 9, 0, 10, 8, 1, 5, 11, 2, 6, 3, 4, 7 }\n uselistorder label LBL_14, { 1, 2, 0 }\n uselistorder label LBL_13, { 1, 0, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_arch_set_tsc_khz_9994", "fun_name": "kvm_arch_set_tsc_khz", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i64 %0, 8\n %3 = add i64 %0, 4\n %4 = and i64 %arg2, 4294967295\n %5 = call i64 @FUNC(i64 %4, i64 1000000, i64 %3, i64 %2)\n %6 = bitcast i64* %arg1 to i32*\n store i32 %1, i32* %6, align 4\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_combine_frame_2390", "fun_name": "ff_combine_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i64* %arg3, i32* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i64\n %.reg2mem10 = alloca i32\n %sv_0.13.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %.pre-phi9.reg2mem = alloca i32*\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %rdx = alloca i64, align 8\n %2 = load i64, i64* %0\n %rcx = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = trunc i64 %1 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %4, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %4, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i32 %9 to i64\n %14 = zext i32 %arg2 to i64\n %15 = zext i32 %12 to i64\n %16 = and i64 %1, 4294967295\n %17 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %16, i64 %15, i64 %14, i64 %13)\n %18 = add nuw nsw i64 %16, 3\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = add nuw nsw i64 %16, 2\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = add nuw nsw i64 %16, 1\n %25 = inttoptr i64 %24 to i8*\n %26 = load i8, i8* %25, align 1\n %27 = zext i8 %20 to i64\n %28 = zext i8 %23 to i64\n %29 = zext i8 %26 to i64\n %30 = urem i64 %2, 256\n %31 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %30, i64 %29, i64 %28, i64 %27)\n br label LBL_2\n LBL_2:\n %32 = bitcast i64* %rdi to i32*\n %33 = icmp slt i32 %5, 0\n %34 = icmp eq i1 %33, false\n %35 = icmp eq i1 %6, false\n %36 = icmp eq i1 %34, %35\n br i1 %36, label LBL_4, label LBL_2.LBL_7_crit_edge\n LBL_3:\n %37 = trunc i64 %3 to i32\n %.pre5 = bitcast i64* %rcx to i32*\n %.pre6 = add i64 %4, 8\n %.pre8 = inttoptr i64 %.pre6 to i32*\n store i32* %.pre8, i32** %.pre-phi9.reg2mem\n store i32* %.pre5, i32** %.pre-phi.reg2mem\n store i32 %37, i32* %.reg2mem\n br label LBL_7\n LBL_4:\n %38 = add i64 %4, 24\n %39 = inttoptr i64 %38 to i64*\n %40 = add i64 %4, 12\n %41 = inttoptr i64 %40 to i32*\n %42 = add i64 %4, 8\n %43 = inttoptr i64 %42 to i32*\n %44 = bitcast i64* %arg1 to i32*\n br label LBL_5\n LBL_5:\n %45 = load i64, i64* %39, align 8\n %46 = load i32, i32* %41, align 4\n %47 = add i32 %46, 1\n store i32 %47, i32* %41, align 4\n %48 = sext i32 %46 to i64\n %49 = add i64 %45, %48\n %50 = load i64, i64* %39, align 8\n %51 = load i32, i32* %43, align 4\n %52 = add i32 %51, 1\n store i32 %52, i32* %43, align 4\n %53 = sext i32 %51 to i64\n %54 = add i64 %50, %53\n %55 = inttoptr i64 %49 to i8*\n %56 = load i8, i8* %55, align 1\n %57 = inttoptr i64 %54 to i8*\n store i8 %56, i8* %57, align 1\n %58 = load i32, i32* %32, align 8\n %59 = add i32 %58, -1\n store i32 %59, i32* %44, align 4\n %60 = icmp eq i32 %58, 0\n %61 = icmp slt i32 %58, 0\n %62 = icmp eq i1 %61, false\n %63 = icmp eq i1 %60, false\n %64 = icmp eq i1 %62, %63\n br i1 %64, label LBL_5, label LBL_6\n LBL_6:\n %.phi.trans.insert = bitcast i64* %rcx to i32*\n %.pre = load i32, i32* %.phi.trans.insert, align 8\n store i32* %43, i32** %.pre-phi9.reg2mem\n store i32* %.phi.trans.insert, i32** %.pre-phi.reg2mem\n store i32 %.pre, i32* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %.pre-phi9.reload = load i32*, i32** %.pre-phi9.reg2mem\n %65 = icmp eq i32 %.reload, 0\n %66 = icmp eq i32 %arg2, -1\n %67 = icmp eq i1 %66, %65\n %sv_0.0 = select i1 %67, i32 0, i32 %arg2\n %68 = load i32, i32* %.pre-phi9.reload, align 4\n %69 = add i64 %4, 16\n %70 = inttoptr i64 %69 to i32*\n store i32 %68, i32* %70, align 4\n %71 = icmp eq i32 %sv_0.0, -1\n %72 = icmp eq i1 %71, false\n br i1 %72, label LBL_10, label LBL_8\n LBL_8:\n %73 = load i32, i32* %.pre-phi.reload, align 8\n %74 = load i32, i32* %.pre-phi9.reload, align 4\n %75 = add i32 %73, 16\n %76 = add i32 %75, %74\n %77 = zext i32 %76 to i64\n %78 = add i64 %4, 20\n %79 = add i64 %4, 24\n %80 = inttoptr i64 %79 to i64*\n %81 = load i64, i64* %80, align 8\n %82 = call i64 @FUNC(i64 %81, i64 %78, i64 %77)\n %83 = icmp eq i64 %82, 0\n %84 = icmp eq i1 %83, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %84, label LBL_9, label LBL_21\n LBL_9:\n store i64 %82, i64* %80, align 8\n %85 = load i32, i32* %.pre-phi.reload, align 8\n %86 = sext i32 %85 to i64\n %87 = load i32, i32* %.pre-phi9.reload, align 4\n %88 = sext i32 %87 to i64\n %89 = add i64 %82, %88\n %90 = inttoptr i64 %89 to i64*\n %91 = inttoptr i64 %86 to i64*\n %92 = call i64* @memcpy(i64* %90, i64* %91, i32 %85)\n %93 = load i32, i32* %.pre-phi9.reload, align 4\n %94 = add i32 %93, %85\n store i32 %94, i32* %.pre-phi9.reload, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_10:\n %95 = load i32, i32* %.pre-phi9.reload, align 4\n %96 = add i32 %95, %sv_0.0\n %97 = add i64 %4, 12\n %98 = inttoptr i64 %97 to i32*\n store i32 %96, i32* %98, align 4\n store i32 %96, i32* %arg4, align 4\n %99 = load i32, i32* %.pre-phi9.reload, align 4\n %100 = icmp eq i32 %99, 0\n br i1 %100, label LBL_15, label LBL_11\n LBL_11:\n %101 = add i32 %sv_0.0, 16\n %102 = add i32 %99, %101\n %103 = zext i32 %102 to i64\n %104 = add i64 %4, 20\n %105 = add i64 %4, 24\n %106 = inttoptr i64 %105 to i64*\n %107 = load i64, i64* %106, align 8\n %108 = call i64 @FUNC(i64 %107, i64 %104, i64 %103)\n %109 = icmp eq i64 %108, 0\n %110 = icmp eq i1 %109, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %110, label LBL_12, label LBL_21\n LBL_12:\n store i64 %108, i64* %106, align 8\n %111 = icmp slt i32 %sv_0.0, -15\n br i1 %111, label LBL_14, label LBL_13\n LBL_13:\n %112 = sext i32 %101 to i64\n %113 = load i32, i32* %.pre-phi9.reload, align 4\n %114 = sext i32 %113 to i64\n %115 = add i64 %108, %114\n %116 = inttoptr i64 %115 to i64*\n %117 = inttoptr i64 %112 to i64*\n %118 = call i64* @memcpy(i64* %116, i64* %117, i32 %101)\n br label LBL_14\n LBL_14:\n store i32 0, i32* %.pre-phi9.reload, align 4\n %119 = load i64, i64* %106, align 8\n store i64 %119, i64* %arg3, align 8\n br label LBL_15\n LBL_15:\n %120 = icmp slt i32 %sv_0.0, 0\n br i1 %120, label LBL_17, label LBL_15.LBL_19_crit_edge\n LBL_16:\n %.pre4 = load i32, i32* %32, align 8\n %phitmp = zext i32 %sv_0.0 to i64\n store i32 %.pre4, i32* %.reg2mem10\n store i64 %phitmp, i64* %sv_0.1.lcssa.reg2mem\n br label LBL_19\n LBL_17:\n %121 = add i64 %4, 4\n %122 = inttoptr i64 %121 to i32*\n %123 = add i64 %4, 24\n %124 = inttoptr i64 %123 to i64*\n %125 = add i64 %4, 32\n %126 = inttoptr i64 %125 to i64*\n %127 = bitcast i64* %arg1 to i32*\n store i32 %sv_0.0, i32* %sv_0.13.reg2mem\n br label LBL_18\n LBL_18:\n %sv_0.13.reload = load i32, i32* %sv_0.13.reg2mem\n %128 = load i32, i32* %122, align 4\n %129 = mul i32 %128, 256\n %130 = load i64, i64* %124, align 8\n %131 = load i32, i32* %70, align 4\n %132 = add i32 %131, %sv_0.13.reload\n %133 = sext i32 %132 to i64\n %134 = add i64 %130, %133\n %135 = inttoptr i64 %134 to i8*\n %136 = load i8, i8* %135, align 1\n %137 = zext i8 %136 to i32\n %138 = or i32 %129, %137\n store i32 %138, i32* %122, align 4\n %139 = load i64, i64* %126, align 8\n %140 = mul i64 %139, 256\n %141 = load i64, i64* %124, align 8\n %142 = load i32, i32* %70, align 4\n %143 = add i32 %142, %sv_0.13.reload\n %144 = sext i32 %143 to i64\n %145 = add i64 %141, %144\n %146 = inttoptr i64 %145 to i8*\n %147 = load i8, i8* %146, align 1\n %148 = zext i8 %147 to i64\n %149 = or i64 %140, %148\n store i64 %149, i64* %126, align 8\n %150 = load i32, i32* %32, align 8\n %151 = add i32 %150, 1\n store i32 %151, i32* %127, align 4\n %152 = add nsw i32 %sv_0.13.reload, 1\n %exitcond = icmp eq i32 %152, 0\n store i32 %152, i32* %sv_0.13.reg2mem\n store i32 %150, i32* %.reg2mem10\n store i64 0, i64* %sv_0.1.lcssa.reg2mem\n br i1 %exitcond, label LBL_19, label LBL_18\n LBL_19:\n %.reload11 = load i32, i32* %.reg2mem10\n %153 = icmp eq i32 %.reload11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %153, label LBL_21, label LBL_20\n LBL_20:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %154 = load i32, i32* %.pre-phi9.reload, align 4\n %155 = add i64 %4, 4\n %156 = inttoptr i64 %155 to i32*\n %157 = load i32, i32* %156, align 4\n %158 = zext i32 %154 to i64\n %159 = zext i32 %157 to i64\n %160 = zext i32 %.reload11 to i64\n %161 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_0, i64 0, i64 0), i64 %160, i64 %159, i64 %sv_0.1.lcssa.reload, i64 %158)\n %162 = add nuw nsw i64 %160, 3\n %163 = inttoptr i64 %162 to i8*\n %164 = load i8, i8* %163, align 1\n %165 = add nuw nsw i64 %160, 2\n %166 = inttoptr i64 %165 to i8*\n %167 = load i8, i8* %166, align 1\n %168 = add nuw nsw i64 %160, 1\n %169 = inttoptr i64 %168 to i8*\n %170 = load i8, i8* %169, align 1\n %171 = bitcast i64* %rdx to i8*\n %172 = load i8, i8* %171, align 8\n %173 = zext i8 %164 to i64\n %174 = zext i8 %167 to i64\n %175 = zext i8 %170 to i64\n %176 = zext i8 %172 to i64\n %177 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 %176, i64 %175, i64 %174, i64 %173)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_0.13.reload, { 0, 2, 1 }\n uselistorder i32 %101, { 2, 1, 0 }\n uselistorder i32 %sv_0.0, { 0, 2, 3, 6, 5, 1, 4 }\n uselistorder i32* %.pre-phi9.reload, { 6, 5, 4, 7, 8, 1, 0, 2, 3, 9 }\n uselistorder i32* %32, { 1, 0, 2 }\n uselistorder i64 %16, { 3, 2, 1, 0 }\n uselistorder i64 %4, { 5, 6, 8, 7, 9, 10, 11, 3, 4, 12, 13, 15, 14, 0, 2, 1 }\n uselistorder i64* %rcx, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 5, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @av_fast_realloc, { 1, 0 }\n uselistorder i1 false, { 3, 4, 5, 6, 2, 0, 1 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @av_dlog, { 3, 2, 1, 0 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i32 0, { 4, 0, 2, 5, 6, 3, 7, 8, 9, 1, 10 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_21, { 1, 0, 2, 4, 3 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "register_qdisc_10225", "fun_name": "register_qdisc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*))\n %1 = load i64, i64* @gv_1, align 8\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %1, i64* %.reg2mem\n store i64* @gv_1, i64** %.lcssa.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %.reload = load i64, i64* %.reg2mem\n %4 = inttoptr i64 %.reload to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i8*\n %7 = call i32 @strcmp(i8* bitcast (i8** @gv_0 to i8*), i8* %6)\n %8 = icmp eq i32 %7, 0\n store i64 4294967279, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_10, label LBL_2\n LBL_2:\n %9 = add i64 %.reload, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %.reg2mem\n store i64* %10, i64** %.lcssa.reg2mem\n br i1 %13, label LBL_1, label LBL_3\n LBL_3:\n %14 = ptrtoint i64* %arg1 to i64\n %.lcssa.reload = load i64*, i64** %.lcssa.reg2mem\n %15 = add i64 %14, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = load i64, i64* @gv_2, align 8\n store i64 %20, i64* %16, align 8\n br label LBL_5\n LBL_5:\n %21 = add i64 %14, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_7, label LBL_6\n LBL_6:\n %26 = load i64, i64* @gv_3, align 8\n store i64 %26, i64* %22, align 8\n br label LBL_7\n LBL_7:\n %27 = add i64 %14, 32\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp eq i64 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_9, label LBL_8\n LBL_8:\n %32 = load i64, i64* @gv_4, align 8\n store i64 %32, i64* %28, align 8\n br label LBL_9\n LBL_9:\n %33 = add i64 %14, 8\n %34 = inttoptr i64 %33 to i64*\n store i64 0, i64* %34, align 8\n store i64 %14, i64* %.lcssa.reload, align 8\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %35 = call i64 @FUNC(i64* bitcast (i8** @gv_0 to i64*))\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 2, 3, 4, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "replace_u_3963", "fun_name": "replace_u", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.ph.lcssa21.reg2mem = alloca i64\n %sv_1.0.ph.lcssa.reg2mem = alloca i64\n %sv_0.0.ph.lcssa.reg2mem = alloca i64\n %sv_0.0.ph10.reg2mem = alloca i64\n %sv_1.0.ph12.reg2mem = alloca i64\n %sv_2.0.ph13.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i8*\n %sv_3.1.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_2.06.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %0 = icmp eq i64 %arg2, 0\n store i32 0, i32* %storemerge.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg2 to i8*\n %2 = call i32 @strlen(i8* %1)\n store i32 %2, i32* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %3 = inttoptr i64 %arg1 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 %arg1, i64* %sv_0.0.ph.lcssa21.reg2mem\n br i1 %6, label LBL_3, label LBL_19.thread\n LBL_3:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %7 = icmp eq i32 %storemerge.reload, 0\n %8 = inttoptr i64 %arg2 to i64*\n %9 = sext i32 %storemerge.reload to i64\n store i64 %arg1, i64* %sv_2.0.ph13.reg2mem\n store i64 0, i64* %sv_1.0.ph12.reg2mem\n store i64 %arg1, i64* %sv_0.0.ph10.reg2mem\n br label LBL_4.lr.ph\n LBL_4:\n %sv_2.06.reload = load i64, i64* %sv_2.06.reg2mem\n %10 = inttoptr i64 %sv_2.06.reload to i64*\n %11 = call i32 @memcmp(i64* %10, i64* bitcast ([3 x i8]* @gv_0 to i64*), i32 2)\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_6, label LBL_5\n LBL_5:\n %13 = add i64 %sv_2.06.reload, 1\n %14 = inttoptr i64 %13 to i8*\n %15 = load i8, i8* %14, align 1\n %16 = icmp eq i8 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 %13, i64* %sv_2.06.reg2mem\n store i64 %sv_0.0.ph10.reload, i64* %sv_0.0.ph.lcssa.reg2mem\n store i64 %sv_1.0.ph12.reload, i64* %sv_1.0.ph.lcssa.reg2mem\n br i1 %17, label LBL_4, label LBL_19\n LBL_6:\n %18 = inttoptr i64 %sv_0.0.ph10.reload to i8*\n %19 = call i32 @strlen(i8* %18)\n %20 = icmp eq i64 %sv_2.06.reload, %sv_0.0.ph10.reload\n %21 = icmp eq i32 %19, 2\n %22 = icmp eq i1 %20, %21\n br i1 %22, label LBL_7, label LBL_8\n LBL_7:\n %23 = inttoptr i64 %sv_1.0.ph12.reload to i64*\n call void @free(i64* %23)\n store i64 %arg2, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_8:\n %24 = add i32 %19, %storemerge.reload\n %25 = call i64* @malloc(i32 %24)\n %26 = icmp eq i64* %25, null\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_10, label LBL_9\n LBL_9:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @globalFUNCvarFUNC402017, i64 0, i64 0))\n %29 = call i64 @FUNC(i64 %28)\n br label LBL_10\n LBL_10:\n %30 = ptrtoint i64* %25 to i64\n store i64 %30, i64* %sv_3.0.reg2mem\n br i1 %20, label LBL_12, label LBL_11\n LBL_11:\n %31 = sub i64 %sv_2.06.reload, %sv_0.0.ph10.reload\n %32 = inttoptr i64 %sv_0.0.ph10.reload to i64*\n %33 = trunc i64 %31 to i32\n %34 = call i64* @memcpy(i64* %25, i64* %32, i32 %33)\n %35 = add i64 %31, %30\n store i64 %35, i64* %sv_3.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem\n br i1 %7, label LBL_14, label LBL_13\n LBL_13:\n %36 = inttoptr i64 %sv_3.0.reload to i64*\n %37 = call i64* @memcpy(i64* %36, i64* %8, i32 %storemerge.reload)\n %38 = add i64 %sv_3.0.reload, %9\n store i64 %38, i64* %sv_3.1.reg2mem\n br label LBL_14\n LBL_14:\n %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem\n %39 = add i64 %sv_2.06.reload, 2\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = icmp eq i8 %41, 0\n br i1 %42, label LBL_16, label LBL_15\n LBL_15:\n %43 = sub i64 %sv_0.0.ph10.reload, %sv_2.06.reload\n %44 = inttoptr i64 %sv_3.1.reload to i64*\n %45 = inttoptr i64 %39 to i64*\n %46 = trunc i64 %43 to i32\n %47 = add i32 %46, -1\n %48 = add i32 %47, %19\n %49 = call i64* @memcpy(i64* %44, i64* %45, i32 %48)\n %.pre = inttoptr i64 %sv_3.1.reload to i8*\n store i8* %.pre, i8** %.pre-phi.reg2mem\n br label LBL_17\n LBL_16:\n %50 = inttoptr i64 %sv_3.1.reload to i8*\n store i8 0, i8* %50, align 1\n store i8* %50, i8** %.pre-phi.reg2mem\n br label LBL_17\n LBL_17:\n %.pre-phi.reload = load i8*, i8** %.pre-phi.reg2mem\n %51 = inttoptr i64 %sv_1.0.ph12.reload to i64*\n call void @free(i64* %51)\n %52 = load i8, i8* %.pre-phi.reload, align 1\n %53 = icmp eq i8 %52, 0\n %54 = icmp eq i1 %53, false\n store i64 %sv_3.1.reload, i64* %sv_2.0.ph13.reg2mem\n store i64 %30, i64* %sv_1.0.ph12.reg2mem\n store i64 %30, i64* %sv_0.0.ph10.reg2mem\n store i64 %30, i64* %sv_0.0.ph.lcssa.reg2mem\n store i64 %30, i64* %sv_1.0.ph.lcssa.reg2mem\n br i1 %54, label LBL_4.lr.ph, label LBL_19\n LBL_18:\n %sv_0.0.ph10.reload = load i64, i64* %sv_0.0.ph10.reg2mem\n %sv_1.0.ph12.reload = load i64, i64* %sv_1.0.ph12.reg2mem\n %sv_2.0.ph13.reload = load i64, i64* %sv_2.0.ph13.reg2mem\n store i64 %sv_2.0.ph13.reload, i64* %sv_2.06.reg2mem\n br label LBL_4\n LBL_19:\n %sv_1.0.ph.lcssa.reload = load i64, i64* %sv_1.0.ph.lcssa.reg2mem\n %sv_0.0.ph.lcssa.reload = load i64, i64* %sv_0.0.ph.lcssa.reg2mem\n %55 = icmp eq i64 %sv_1.0.ph.lcssa.reload, 0\n store i64 %sv_0.0.ph.lcssa.reload, i64* %sv_0.0.ph.lcssa21.reg2mem\n store i64 %sv_1.0.ph.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %55, label LBL_19.thread, label LBL_21\n LBL_20:\n %sv_0.0.ph.lcssa21.reload = load i64, i64* %sv_0.0.ph.lcssa21.reg2mem\n store i64 %sv_0.0.ph.lcssa21.reload, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.ph12.reload, { 0, 2, 1 }\n uselistorder i64 %sv_0.0.ph10.reload, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %sv_3.1.reload, { 0, 1, 3, 2 }\n uselistorder i64 %sv_3.0.reload, { 2, 1, 0 }\n uselistorder i64 %30, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64* %25, { 0, 2, 1 }\n uselistorder i1 %20, { 1, 0 }\n uselistorder i32 %19, { 1, 0, 2 }\n uselistorder i64 %sv_2.06.reload, { 4, 5, 3, 2, 0, 1 }\n uselistorder i32 %storemerge.reload, { 2, 3, 1, 0 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_2.06.reg2mem, { 2, 1, 0 }\n uselistorder i8** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.ph.lcssa21.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i8 0, { 1, 3, 4, 5, 0, 2 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 0, { 2, 1, 0 }\n uselistorder i32 1, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 0, 2, 1, 3 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n uselistorder label LBL_19.thread, { 1, 0 }\n uselistorder label LBL_4.lr.ph, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vmx_update_debug_state_6548", "fun_name": "vmx_update_debug_state", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %7 = trunc i64 %1 to i32\n %8 = or i32 %7, 8\n %9 = and i32 %7, -9\n %storemerge = select i1 %6, i32 %9, i32 %8\n store i32 %storemerge, i32* %arg1, align 4\n %10 = call i64 @FUNC(i64 %2)\n %11 = call i64 @FUNC(i64 %2)\n %12 = call i64 @FUNC(i64 %2)\n ret i64 %12\n\n uselistorder i64 %2, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "send_handler_3767", "fun_name": "send_handler", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = add i64 %0, 264\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = load i64, i64* %2, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 1\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_4, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 536, i64 0)\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_4, label LBL_2\n LBL_2:\n %16 = ptrtoint i64* %arg1 to i64\n %17 = inttoptr i64 %14 to i32*\n %18 = add i64 %14, 272\n %19 = inttoptr i64 %18 to i32*\n store i32 256, i32* %19, align 4\n %20 = bitcast i64* %rsi to i32*\n %21 = load i32, i32* %20, align 8\n store i32 %21, i32* %17, align 4\n %22 = add i64 %14, 4\n %23 = inttoptr i64 %22 to i32*\n store i32 110, i32* %23, align 4\n %24 = add i64 %14, 8\n %25 = inttoptr i64 %9 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = inttoptr i64 %24 to i64*\n store i64 %26, i64* %27, align 8\n %28 = call i64 @FUNC(i64 %16, i64 %16, i64 %14)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_4, label LBL_3\n LBL_3:\n %31 = call i64 @FUNC(i64 %14)\n br label LBL_4\n LBL_4:\n %32 = call i64 @FUNC(i64 %0)\n ret i64 %32\n\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder label LBL_4, { 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reinit_tables_10273", "fun_name": "reinit_tables", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv57.reg2mem = alloca i64\n %indvars.iv54.reg2mem = alloca i64\n %indvars.iv60.reg2mem = alloca i64\n %indvars.iv63.reg2mem = alloca i64\n %indvars.iv66.reg2mem = alloca i64\n %indvars.iv69.reg2mem = alloca i64\n %indvars.iv72.reg2mem = alloca i64\n %indvars.iv75.reg2mem = alloca i64\n %indvars.iv87.reg2mem = alloca i64\n %indvars.iv81.reg2mem = alloca i64\n %indvars.iv78.reg2mem = alloca i64\n %indvars.iv84.reg2mem = alloca i64\n %0 = add i64 %arg1, 1088\n %1 = add i64 %arg1, 1024\n store i64 0, i64* %indvars.iv87.reg2mem\n br label LBL_8\n LBL_1:\n %indvars.iv84.reload = load i64, i64* %indvars.iv84.reg2mem\n %2 = mul nuw nsw i64 %indvars.iv84.reload, 1092\n %3 = add i64 %18, %2\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 256\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = mul nuw nsw i64 %indvars.iv84.reload, 273\n %8 = add nuw nsw i64 %7, %19\n store i64 0, i64* %indvars.iv78.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv78.reload = load i64, i64* %indvars.iv78.reg2mem\n %9 = add nuw nsw i64 %indvars.iv78.reload, %8\n %10 = mul i64 %9, 4\n %11 = add i64 %10, %arg1\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78.reload, 1\n %exitcond80 = icmp eq i64 %indvars.iv.next79, 256\n store i64 %indvars.iv.next79, i64* %indvars.iv78.reg2mem\n store i64 0, i64* %indvars.iv81.reg2mem\n br i1 %exitcond80, label LBL_4, label LBL_3\n LBL_4:\n %indvars.iv81.reload = load i64, i64* %indvars.iv81.reg2mem\n %13 = add nuw nsw i64 %indvars.iv81.reload, %8\n %14 = mul i64 %13, 4\n %15 = add i64 %1, %14\n %16 = inttoptr i64 %15 to i32*\n store i32 16, i32* %16, align 4\n %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81.reload, 1\n %exitcond83 = icmp eq i64 %indvars.iv.next82, 16\n store i64 %indvars.iv.next82, i64* %indvars.iv81.reg2mem\n br i1 %exitcond83, label LBL_5, label LBL_4\n LBL_5:\n store i32 256, i32* %4, align 4\n br label LBL_6\n LBL_6:\n %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84.reload, 1\n %exitcond86 = icmp eq i64 %indvars.iv.next85, 4096\n store i64 %indvars.iv.next85, i64* %indvars.iv84.reg2mem\n br i1 %exitcond86, label LBL_7, label LBL_1\n LBL_7:\n %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87.reload, 1\n %exitcond89 = icmp eq i64 %indvars.iv.next88, 3\n store i64 %indvars.iv.next88, i64* %indvars.iv87.reg2mem\n br i1 %exitcond89, label LBL_9, label LBL_8\n LBL_8:\n %indvars.iv87.reload = load i64, i64* %indvars.iv87.reg2mem\n %17 = mul nuw nsw i64 %indvars.iv87.reload, 4472832\n %18 = add i64 %0, %17\n %19 = mul nuw nsw i64 %indvars.iv87.reload, 1118208\n store i64 0, i64* %indvars.iv84.reg2mem\n br label LBL_1\n LBL_9:\n %20 = add i64 %arg1, 13418496\n store i64 0, i64* %indvars.iv75.reg2mem\n br label LBL_10\n LBL_10:\n %indvars.iv75.reload = load i64, i64* %indvars.iv75.reg2mem\n %21 = mul nuw nsw i64 %indvars.iv75.reload, 1028\n %22 = add i64 %20, %21\n store i64 0, i64* %indvars.iv72.reg2mem\n br label LBL_11\n LBL_11:\n %indvars.iv72.reload = load i64, i64* %indvars.iv72.reg2mem\n %23 = mul i64 %indvars.iv72.reload, 4\n %24 = add i64 %23, %22\n %25 = inttoptr i64 %24 to i32*\n store i32 1, i32* %25, align 4\n %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72.reload, 1\n %exitcond74 = icmp eq i64 %indvars.iv.next73, 256\n store i64 %indvars.iv.next73, i64* %indvars.iv72.reg2mem\n br i1 %exitcond74, label LBL_12, label LBL_11\n LBL_12:\n %26 = add i64 %22, 1024\n %27 = inttoptr i64 %26 to i32*\n store i32 256, i32* %27, align 4\n %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75.reload, 1\n %exitcond77 = icmp eq i64 %indvars.iv.next76, 6\n store i64 %indvars.iv.next76, i64* %indvars.iv75.reg2mem\n br i1 %exitcond77, label LBL_13, label LBL_10\n LBL_13:\n %28 = add i64 %arg1, 13424656\n store i64 0, i64* %indvars.iv69.reg2mem\n br label LBL_14\n LBL_14:\n %indvars.iv69.reload = load i64, i64* %indvars.iv69.reg2mem\n %29 = mul nuw nsw i64 %indvars.iv69.reload, 28\n %30 = add i64 %28, %29\n %31 = add i64 %30, 8\n store i64 0, i64* %indvars.iv66.reg2mem\n br label LBL_15\n LBL_15:\n %indvars.iv66.reload = load i64, i64* %indvars.iv66.reg2mem\n %32 = mul i64 %indvars.iv66.reload, 4\n %33 = add i64 %31, %32\n %34 = inttoptr i64 %33 to i32*\n store i32 1, i32* %34, align 4\n %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66.reload, 1\n %exitcond68 = icmp eq i64 %indvars.iv.next67, 6\n store i64 %indvars.iv.next67, i64* %indvars.iv66.reg2mem\n br i1 %exitcond68, label LBL_16, label LBL_15\n LBL_16:\n %35 = add i64 %30, 32\n %36 = inttoptr i64 %35 to i32*\n store i32 6, i32* %36, align 4\n %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69.reload, 1\n %exitcond71 = icmp eq i64 %indvars.iv.next70, 6\n store i64 %indvars.iv.next70, i64* %indvars.iv69.reg2mem\n store i64 0, i64* %indvars.iv63.reg2mem\n br i1 %exitcond71, label LBL_17, label LBL_14\n LBL_17:\n %indvars.iv63.reload = load i64, i64* %indvars.iv63.reg2mem\n %37 = mul i64 %indvars.iv63.reload, 4\n %38 = add i64 %37, %arg1\n %39 = add i64 %38, 13424832\n %40 = inttoptr i64 %39 to i32*\n store i32 1, i32* %40, align 4\n %41 = add i64 %38, 13425860\n %42 = inttoptr i64 %41 to i32*\n store i32 1, i32* %42, align 4\n %indvars.iv.next64 = add nuw nsw i64 %indvars.iv63.reload, 1\n %exitcond65 = icmp eq i64 %indvars.iv.next64, 256\n store i64 %indvars.iv.next64, i64* %indvars.iv63.reg2mem\n br i1 %exitcond65, label LBL_18, label LBL_17\n LBL_18:\n %43 = add i64 %arg1, 13425856\n %44 = inttoptr i64 %43 to i32*\n store i32 256, i32* %44, align 4\n %45 = add i64 %arg1, 13426884\n %46 = inttoptr i64 %45 to i32*\n store i32 256, i32* %46, align 4\n %47 = add i64 %arg1, 13426888\n store i64 0, i64* %indvars.iv60.reg2mem\n br label LBL_19\n LBL_19:\n %indvars.iv60.reload = load i64, i64* %indvars.iv60.reg2mem\n %48 = mul i64 %indvars.iv60.reload, 4\n %49 = add i64 %47, %48\n %50 = inttoptr i64 %49 to i32*\n store i32 1, i32* %50, align 4\n %indvars.iv.next61 = add nuw nsw i64 %indvars.iv60.reload, 1\n %exitcond62 = icmp eq i64 %indvars.iv.next61, 5\n store i64 %indvars.iv.next61, i64* %indvars.iv60.reg2mem\n br i1 %exitcond62, label LBL_20, label LBL_19\n LBL_20:\n %51 = add i64 %arg1, 13426908\n %52 = inttoptr i64 %51 to i32*\n store i32 5, i32* %52, align 4\n %53 = add i64 %arg1, 13426912\n %54 = add i64 %arg1, 13426976\n store i64 0, i64* %indvars.iv57.reg2mem\n br label LBL_23\n LBL_21:\n %indvars.iv54.reload = load i64, i64* %indvars.iv54.reg2mem\n %55 = add nuw nsw i64 %indvars.iv54.reload, %62\n %56 = mul i64 %55, 4\n %57 = add i64 %53, %56\n %58 = inttoptr i64 %57 to i32*\n store i32 1, i32* %58, align 4\n %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54.reload, 1\n %exitcond56 = icmp eq i64 %indvars.iv.next55, 16\n store i64 %indvars.iv.next55, i64* %indvars.iv54.reg2mem\n br i1 %exitcond56, label LBL_22, label LBL_21\n LBL_22:\n %59 = mul nuw nsw i64 %indvars.iv57.reload, 68\n %60 = add i64 %54, %59\n %61 = inttoptr i64 %60 to i32*\n store i32 16, i32* %61, align 4\n %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57.reload, 1\n %exitcond59 = icmp eq i64 %indvars.iv.next58, 4\n store i64 %indvars.iv.next58, i64* %indvars.iv57.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %exitcond59, label LBL_24, label LBL_23\n LBL_23:\n %indvars.iv57.reload = load i64, i64* %indvars.iv57.reg2mem\n %62 = mul nuw nsw i64 %indvars.iv57.reload, 17\n store i64 0, i64* %indvars.iv54.reg2mem\n br label LBL_21\n LBL_24:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %63 = mul i64 %indvars.iv.reload, 4\n %64 = add i64 %63, %arg1\n %65 = add i64 %64, 13427184\n %66 = inttoptr i64 %65 to i32*\n store i32 1, i32* %66, align 4\n %67 = add i64 %64, 13429236\n %68 = inttoptr i64 %67 to i32*\n store i32 1, i32* %68, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 512\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_25, label LBL_24\n LBL_25:\n %69 = add i64 %arg1, 13429232\n %70 = inttoptr i64 %69 to i32*\n store i32 512, i32* %70, align 4\n %71 = add i64 %arg1, 13431284\n %72 = inttoptr i64 %71 to i32*\n store i32 512, i32* %72, align 4\n ret i64 %arg1\n\n uselistorder i64 %indvars.iv57.reload, { 2, 1, 0 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %indvars.iv87.reload, { 1, 2, 0 }\n uselistorder i64* %indvars.iv84.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv78.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv81.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv75.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv72.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv69.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv66.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv63.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv60.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv54.reg2mem, { 2, 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 6, { 1, 2, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 256, { 2, 1, 0 }\n uselistorder i64 4, { 0, 8, 1, 2, 3, 4, 5, 6, 7 }\n uselistorder i32 256, { 1, 2, 3, 4, 0 }\n uselistorder i64 1024, { 1, 0 }\n uselistorder i64 %arg1, { 10, 11, 12, 0, 9, 8, 13, 7, 14, 15, 1, 6, 5, 2, 3, 4 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "clear_evtchn_to_irq_row_10985", "fun_name": "clear_evtchn_to_irq_row", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = mul i64 %arg1, 16\n %1 = and i64 %0, 68719476720\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = add nuw nsw i64 %indvars.iv.reload, %1\n %3 = mul i64 %2, 4\n %4 = add i64 %3, ptrtoint (i32** @gv_0 to i64)\n %5 = inttoptr i64 %4 to i32*\n store i32 -1, i32* %5, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %2\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 16, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_old_huffman_tables_12145", "fun_name": "read_old_huffman_tables", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.pre-phi13.reg2mem = alloca i64*\n %indvars.iv6.reg2mem = alloca i64\n %indvars.iv9.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_0, i64 8)\n %2 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_12\n LBL_1:\n %6 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull @gv_1, i64 8)\n %7 = add i64 %0, 256\n %8 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0)\n %9 = trunc i64 %8 to i32\n %10 = icmp slt i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_12\n LBL_2:\n %12 = ptrtoint i64* %sv_1 to i64\n %13 = add i64 %0, 768\n store i64 0, i64* %indvars.iv9.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv9.reload = load i64, i64* %indvars.iv9.reg2mem\n %14 = mul i64 %indvars.iv9.reload, 4\n %15 = add i64 %14, ptrtoint (i32** @gv_2 to i64)\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %14, %13\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %indvars.iv.next10 = add nuw nsw i64 %indvars.iv9.reload, 1\n %exitcond11 = icmp eq i64 %indvars.iv.next10, 256\n store i64 %indvars.iv.next10, i64* %indvars.iv9.reg2mem\n br i1 %exitcond11, label LBL_4, label LBL_3\n LBL_4:\n %20 = add i64 %0, 1792\n store i64 0, i64* %indvars.iv6.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv6.reload = load i64, i64* %indvars.iv6.reg2mem\n %21 = mul i64 %indvars.iv6.reload, 4\n %22 = add i64 %21, ptrtoint (i32** @gv_3 to i64)\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %21, %20\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n %indvars.iv.next7 = add nuw nsw i64 %indvars.iv6.reload, 1\n %exitcond8 = icmp eq i64 %indvars.iv.next7, 256\n store i64 %indvars.iv.next7, i64* %indvars.iv6.reg2mem\n br i1 %exitcond8, label LBL_6, label LBL_5\n LBL_6:\n %27 = add i64 %0, 3840\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp slt i32 %29, 24\n %.pre = inttoptr i64 %20 to i64*\n br i1 %30, label LBL_6.LBL_9_crit_edge, label LBL_8\n LBL_7:\n %.pre12 = inttoptr i64 %7 to i64*\n store i64* %.pre12, i64** %.pre-phi13.reg2mem\n br label LBL_9\n LBL_8:\n %31 = inttoptr i64 %13 to i64*\n %32 = call i64* @memcpy(i64* %.pre, i64* %31, i32 1024)\n %33 = inttoptr i64 %7 to i64*\n %34 = call i64* @memcpy(i64* %33, i64* %arg1, i32 256)\n store i64* %33, i64** %.pre-phi13.reg2mem\n br label LBL_9\n LBL_9:\n %.pre-phi13.reload = load i64*, i64** %.pre-phi13.reg2mem\n %35 = add i64 %0, 2816\n %36 = inttoptr i64 %35 to i64*\n %37 = call i64* @memcpy(i64* %36, i64* %.pre, i32 1024)\n %38 = add i64 %0, 512\n %39 = inttoptr i64 %38 to i64*\n %40 = call i64* @memcpy(i64* %39, i64* %.pre-phi13.reload, i32 256)\n %41 = add i64 %0, 3848\n %42 = add i64 %12, -8\n %43 = inttoptr i64 %42 to i64*\n %44 = add i64 %12, -16\n %45 = inttoptr i64 %44 to i64*\n %46 = add i64 %12, -24\n %47 = inttoptr i64 %46 to i64*\n %48 = add i64 %12, -32\n %49 = inttoptr i64 %48 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_10\n LBL_10:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %50 = mul i64 %indvars.iv.reload, 8\n %51 = add i64 %41, %50\n %52 = call i64 @FUNC(i64 %51)\n %53 = mul i64 %indvars.iv.reload, 1024\n %54 = or i64 %53, 768\n %55 = add i64 %54, %0\n %56 = mul i64 %indvars.iv.reload, 256\n %57 = add i64 %56, %0\n store i64 0, i64* %43, align 8\n store i64 4, i64* %45, align 8\n store i64 4, i64* %47, align 8\n store i64 %55, i64* %49, align 8\n %58 = call i64 @FUNC(i64 %51, i64 12, i64 256, i64 %57, i64 1, i64 1)\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 3\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_11, label LBL_10\n LBL_11:\n %59 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64 %7, { 1, 0, 2 }\n uselistorder i64 %0, { 5, 0, 1, 4, 6, 7, 8, 3, 2, 9, 10 }\n uselistorder i64* %indvars.iv9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv6.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 4, 3, 1, 0 }\n uselistorder i64 4, { 2, 3, 0, 1 }\n uselistorder i64 768, { 1, 0 }\n uselistorder i64 256, { 3, 0, 2, 1, 4 }\n uselistorder i64 (i64, i64*)* @read_len_table, { 1, 0 }\n uselistorder i64 (i64*, i64*, i64)* @init_get_bits, { 1, 0 }\n uselistorder label LBL_12, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gf_isom_text_dump_8738", "fun_name": "gf_isom_text_dump", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp ult i32 %arg4, 4\n store i64 1, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_6\n LBL_1:\n %1 = icmp ult i32 %arg4, 2\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_5, label LBL_2\n LBL_2:\n store i64 1, i64* %rax.0.reg2mem\n switch i32 %arg4, label LBL_6 [\n i32 0, label LBL_3\n i32 1, label LBL_4\n ]\n LBL_3:\n %3 = zext i32 %arg2 to i64\n %4 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %arg3)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %5 = zext i32 %arg2 to i64\n %6 = call i64 @FUNC(i64 %arg1, i64 %5, i64 %arg3)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %7 = icmp eq i32 %arg4, 3\n %8 = zext i1 %7 to i64\n %9 = call i64 @FUNC(i64 %arg1, i32 %arg2, i64 %arg3, i64 %8)\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 3, 4, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i32 %arg4, { 1, 0, 2, 3 }\n uselistorder i64 %arg3, { 2, 0, 1 }\n uselistorder i32 %arg2, { 2, 0, 1 }\n uselistorder i64 %arg1, { 2, 0, 1 }\n uselistorder label LBL_6, { 2, 3, 4, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avfilter_default_start_frame_14919", "fun_name": "avfilter_default_start_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %2, label LBL_3, label LBL_1\n LBL_1:\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n store i64 0, i64* %rax.1.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = add i64 %0, 12\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = inttoptr i64 %3 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = call i64 @FUNC(i64 %7, i64 1, i32 %13, i32 %11)\n %15 = add i64 %7, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 %14, i64* %16, align 8\n %17 = bitcast i64* %rsi to i32*\n %18 = load i32, i32* %17, align 8\n %19 = inttoptr i64 %14 to i32*\n store i32 %18, i32* %19, align 4\n %20 = load i64, i64* %16, align 8\n %21 = call i64 @FUNC(i64 %20, i64 4294967295)\n %22 = call i64 @FUNC(i64 %7, i64 %21)\n store i64 %22, i64* %rax.1.reg2mem\n br label LBL_3\n LBL_3:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %7, { 3, 2, 1, 0 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "acpi_load_old_15169", "fun_name": "acpi_load_old", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %storemerge13.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 %2, i64* %rax.0.in.reg2mem\n br i1 %5, label LBL_1, label LBL_7\n LBL_1:\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %1, i64 %6)\n %8 = add i64 %0, 10\n %9 = call i64 @FUNC(i64 %1, i64 %8)\n %10 = add i64 %0, 12\n %11 = call i64 @FUNC(i64 %1, i64 %10)\n %12 = call i64 @FUNC(i64 %1, i64* nonnull @gv_0, i64 %0, i64 1)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i64 %12, i64* %rax.0.in.reg2mem\n br i1 %14, label LBL_2, label LBL_7\n LBL_2:\n %15 = add i64 %0, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %1, i64 %17)\n %19 = add i64 %0, 24\n %20 = call i64 @FUNC(i64 %1, i64 %19)\n %21 = add i64 %0, 32\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %1, i64 %23)\n %25 = ptrtoint i64* %sv_0 to i64\n store i32 0, i32* %storemerge13.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %26 = call i64 @FUNC(i64 %1, i64 %25)\n %27 = add nuw nsw i32 %storemerge13.reload, 1\n %exitcond4 = icmp eq i32 %27, 3\n store i32 %27, i32* %storemerge13.reg2mem\n br i1 %exitcond4, label LBL_4, label LBL_3\n LBL_4:\n %28 = add i64 %0, 40\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %1, i64 %30)\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %32 = call i64 @FUNC(i64 %1, i64 %25)\n %33 = add nuw nsw i32 %storemerge2.reload, 1\n %exitcond = icmp eq i32 %33, 3\n store i32 %33, i32* %storemerge2.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %34 = call i64 @FUNC(i64 %1, i64* nonnull @gv_1, i64 %0, i64 1)\n store i64 %34, i64* %rax.0.in.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem\n %rax.0 = and i64 %rax.0.in.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %1, { 0, 1, 2, 3, 4, 6, 5, 7, 10, 9, 8, 11 }\n uselistorder i64 %0, { 0, 1, 2, 4, 3, 5, 8, 7, 6, 9 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.in.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 (i64, i64*, i64, i64)* @vmstate_load_state, { 1, 0 }\n uselistorder i64 (i64, i64)* @qemu_get_be16s, { 6, 4, 5, 3, 2, 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "msix_mmio_readl_16343", "fun_name": "msix_mmio_readl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = urem i64 %arg2, 4096\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n ret i64 %5\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "powernv_populate_chip_658", "fun_name": "powernv_populate_chip", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.off05.reg2mem = alloca i32\n %storemerge.off036.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 32\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %2, i64 %arg2, i64 0)\n %10 = trunc i64 %1 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_3, label LBL_1\n LBL_1:\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = and i64 %1, 4294967295\n store i64 0, i64* %storemerge.off036.reg2mem\n store i32 0, i32* %storemerge.off05.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.off05.reload = load i32, i32* %storemerge.off05.reg2mem\n %storemerge.off036.reload = load i64, i64* %storemerge.off036.reg2mem\n %15 = load i64, i64* %13, align 8\n %16 = mul i64 %storemerge.off036.reload, %8\n %17 = add i64 %15, %16\n %18 = call i64 @FUNC(i64 %2, i64 %17, i64 %arg2)\n %19 = add i32 %storemerge.off05.reload, 1\n %extract.t4 = sext i32 %19 to i64\n %20 = icmp sgt i64 %14, %extract.t4\n store i64 %extract.t4, i64* %storemerge.off036.reg2mem\n store i32 %19, i32* %storemerge.off05.reg2mem\n br i1 %20, label LBL_2, label LBL_3\n LBL_3:\n %21 = add i64 %2, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = add i64 %2, 24\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = add i64 %2, 4\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = call i64 @FUNC(i64 %arg2, i32 %30, i64 %27, i64 %23)\n br label LBL_5\n LBL_5:\n %32 = call i64 @FUNC(i64 %7)\n ret i64 %32\n\n uselistorder i64 %2, { 4, 3, 1, 2, 0, 5, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.off036.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge.off05.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "replay_configure_17210", "fun_name": "replay_configure", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %5 = icmp eq i64* %arg1, null\n br i1 %5, label LBL_8, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64* nonnull %sv_0)\n %8 = call i64 @FUNC(i64 %6)\n %9 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_8, label LBL_2\n LBL_2:\n %11 = inttoptr i64 %9 to i8*\n %12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %14, label LBL_3, label LBL_5\n LBL_3:\n %15 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i64 2, i64* %storemerge.reg2mem\n br i1 %17, label LBL_4, label LBL_5\n LBL_4:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %9, i64 %3, i64 %4, i64 %2, i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n %19 = call i64 @FUNC(i64 %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0))\n store i64 %19, i64* %sv_0, align 8\n %20 = icmp eq i64 %19, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i64 ptrtoint ([7 x i8]* @gv_4 to i64), i64 %3, i64 %4, i64 %2, i64 %1)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %23 = call i64 @FUNC(i64 %19, i64 %storemerge.reload)\n %24 = call i64 @FUNC(i64* nonnull %sv_0)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder [7 x i8]* @gv_4, { 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @error_report, { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_8, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rose_recvmsg_11312", "fun_name": "rose_recvmsg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_1 = alloca i32, align 4\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_16\n LBL_1:\n %sext = mul i64 %arg5, 4294967296\n %6 = ashr exact i64 %sext, 32\n %7 = urem i64 %6, 2\n %8 = and i64 %6, 4294967294\n %9 = bitcast i32* %sv_1 to i64*\n %10 = call i64 @FUNC(i64 %2, i64 %8, i64 %7, i64* nonnull %9)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = load i32, i32* %sv_1, align 4\n %14 = zext i32 %13 to i64\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_3:\n %15 = inttoptr i64 %3 to i32*\n %16 = inttoptr i64 %10 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = inttoptr i64 %17 to i8*\n %19 = load i8, i8* %18, align 1\n %20 = call i64 @FUNC(i64 %10, i64 1)\n %21 = load i32, i32* %15, align 4\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_5, label LBL_4\n LBL_4:\n %23 = urem i8 %19, 2\n %24 = icmp eq i8 %23, 0\n %25 = icmp eq i1 %24, false\n %26 = call i64 @FUNC(i64 %10, i64 1)\n %27 = zext i1 %25 to i8\n %28 = inttoptr i64 %26 to i8*\n store i8 %27, i8* %28, align 1\n br label LBL_5\n LBL_5:\n %29 = ptrtoint i64* %arg3 to i64\n %30 = call i64 @FUNC(i64 %10)\n %31 = add i64 %10, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp ugt i64 %33, %arg4\n store i64 %33, i64* %sv_0.0.reg2mem\n br i1 %34, label LBL_6, label LBL_7\n LBL_6:\n %35 = add i64 %29, 24\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = or i32 %37, 2\n store i32 %38, i32* %36, align 4\n store i64 %arg4, i64* %sv_0.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %39 = add i64 %29, 16\n %40 = inttoptr i64 %39 to i64*\n %41 = load i64, i64* %40, align 8\n %42 = call i64 @FUNC(i64 %10, i64 0, i64 %41, i64 %sv_0.0.reload)\n %43 = icmp eq i64* %arg3, null\n br i1 %43, label LBL_15, label LBL_8\n LBL_8:\n %44 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %44, align 4\n %45 = add i64 %3, 4\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %29, 4\n %49 = inttoptr i64 %48 to i32*\n store i32 %47, i32* %49, align 4\n %50 = add i64 %3, 8\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = add i64 %29, 8\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = add i64 %3, 12\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = add i64 %29, 12\n %59 = inttoptr i64 %58 to i32*\n store i32 %57, i32* %59, align 4\n %60 = inttoptr i64 %53 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = icmp ult i64 %61, 56\n %63 = load i32, i32* %56, align 4\n br i1 %62, label LBL_12, label LBL_9\n LBL_9:\n %64 = zext i32 %57 to i64\n %65 = icmp eq i32 %63, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge4.reg2mem\n br i1 %65, label LBL_11, label LBL_10\n LBL_10:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %66 = mul i64 %.reload, 4\n %67 = add nsw i64 %66, 16\n %68 = add i64 %67, %3\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = add nsw i64 %67, %64\n %72 = inttoptr i64 %71 to i32*\n store i32 %70, i32* %72, align 4\n %73 = add i32 %storemerge4.reload, 1\n %74 = load i32, i32* %56, align 4\n %75 = zext i32 %74 to i64\n %76 = sext i32 %73 to i64\n %77 = icmp slt i64 %76, %75\n store i64 %76, i64* %.reg2mem\n store i32 %73, i32* %storemerge4.reg2mem\n br i1 %77, label LBL_10, label LBL_11\n LBL_11:\n store i64 56, i64* %60, align 8\n br label LBL_15\n LBL_12:\n %78 = icmp slt i32 %63, 1\n br i1 %78, label LBL_14, label LBL_13\n LBL_13:\n store i32 1, i32* %59, align 4\n %79 = add i64 %3, 16\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 4\n %82 = inttoptr i64 %39 to i32*\n store i32 %81, i32* %82, align 4\n br label LBL_14\n LBL_14:\n store i64 20, i64* %60, align 8\n br label LBL_15\n LBL_15:\n %83 = call i64 @FUNC(i64 %2, i64 %10)\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %63, { 1, 0 }\n uselistorder i64* %60, { 1, 0, 2 }\n uselistorder i32 %57, { 1, 0 }\n uselistorder i64 %10, { 1, 2, 4, 3, 0, 5, 6, 7 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 56, { 1, 0 }\n uselistorder i64 16, { 1, 0, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder label LBL_16, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dpcm_decode_frame_7596", "fun_name": "dpcm_decode_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.120.reg2mem = alloca i32\n %sv_1.421.reg2mem = alloca i16*\n %.reg2mem49 = alloca i64\n %sv_2.022.reg2mem = alloca i64\n %.reg2mem47 = alloca i64\n %storemerge14.reg2mem = alloca i32\n %sv_1.323.reg2mem = alloca i16*\n %storemerge1024.reg2mem = alloca i32\n %.reg2mem45 = alloca i64\n %storemerge1225.reg2mem = alloca i32\n %.reg2mem43 = alloca i64\n %sv_1.228.reg2mem = alloca i16*\n %storemerge29.reg2mem = alloca i32\n %.reg2mem41 = alloca i64\n %sv_1.1.lcssa.reg2mem = alloca i16*\n %.reg2mem39 = alloca i64\n %sv_1.130.reg2mem = alloca i16*\n %storemerge731.reg2mem = alloca i32\n %.reg2mem37 = alloca i64\n %sv_0.026.reg2mem = alloca i32\n %sv_1.027.reg2mem = alloca i16*\n %.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg4 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n store i64 %4, i64* %sv_4, align 8\n %6 = add i64 %4, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %5, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = trunc i64 %3 to i32\n %15 = icmp eq i32 %14, 4\n br i1 %15, label LBL_6, label LBL_1\n LBL_1:\n %16 = icmp sgt i32 %14, 4\n store i32 0, i32* %sv_3.0.reg2mem\n store i64 %4, i64* %rcx.0.reg2mem\n br i1 %16, label LBL_7, label LBL_2\n LBL_2:\n store i32 0, i32* %sv_3.0.reg2mem\n store i64 %4, i64* %rcx.0.reg2mem\n switch i32 %14, label LBL_7 [\n i32 3, label LBL_5\n i32 1, label LBL_3\n i32 2, label LBL_4\n ]\n LBL_3:\n %17 = add i32 %8, -8\n store i32 %17, i32* %sv_3.0.reg2mem\n store i64 %4, i64* %rcx.0.reg2mem\n br label LBL_7\n LBL_4:\n %18 = add i32 %8, -6\n %19 = zext i32 %13 to i64\n %20 = sub i32 %18, %13\n store i32 %20, i32* %sv_3.0.reg2mem\n store i64 %19, i64* %rcx.0.reg2mem\n br label LBL_7\n LBL_5:\n %21 = mul i32 %13, 2\n %22 = sub i32 %8, %21\n store i32 %22, i32* %sv_3.0.reg2mem\n store i64 %4, i64* %rcx.0.reg2mem\n br label LBL_7\n LBL_6:\n %23 = add i64 %5, 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp ne i32 %25, 3\n %27 = zext i1 %26 to i32\n %storemerge13 = shl i32 %8, %27\n store i32 %storemerge13, i32* %sv_3.0.reg2mem\n store i64 %4, i64* %rcx.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %28 = icmp eq i32 %sv_3.0.reload, 0\n %29 = icmp slt i32 %sv_3.0.reload, 0\n %30 = icmp eq i1 %29, false\n %31 = icmp eq i1 %28, false\n %32 = icmp eq i1 %30, %31\n br i1 %32, label LBL_9, label LBL_8\n LBL_8:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %33 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0), i64 %rcx.0.reload, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_44\n LBL_9:\n %34 = ashr i32 %sv_3.0.reload, 31\n %35 = zext i32 %sv_3.0.reload to i64\n %36 = zext i32 %34 to i64\n %37 = mul i64 %36, 4294967296\n %38 = or i64 %37, %35\n %39 = zext i32 %13 to i64\n %40 = sdiv i64 %38, %39\n %41 = trunc i64 %40 to i32\n %42 = add i64 %11, 8\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n %44 = trunc i64 %5 to i32\n %45 = icmp slt i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_11, label LBL_10\n LBL_10:\n %47 = and i64 %5, 4294967295\n %48 = call i64 @FUNC(i64 %5, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %42, i64 %2, i64 %1)\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_44\n LBL_11:\n %49 = sext i32 %8 to i64\n %50 = add i64 %49, %4\n %51 = add i32 %13, -1\n %52 = add i64 %11, 16\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = inttoptr i64 %54 to i16*\n %56 = icmp eq i32 %44, 4\n br i1 %56, label LBL_36, label LBL_12\n LBL_12:\n %57 = icmp sgt i32 %44, 4\n br i1 %57, label LBL_43, label LBL_13\n LBL_13:\n %58 = ptrtoint i64* %sv_5 to i64\n switch i32 %44, label LBL_43 [\n i32 3, label LBL_14\n i32 1, label LBL_16\n i32 2, label LBL_22\n ]\n LBL_14:\n %59 = load i32, i32* %12, align 4\n %60 = icmp eq i32 %59, 0\n br i1 %60, label LBL_30, label LBL_15\n LBL_15:\n %61 = add i64 %58, -80\n store i64 0, i64* %.reg2mem43\n store i32 0, i32* %storemerge1225.reg2mem\n br label LBL_29\n LBL_16:\n %62 = load i64, i64* %sv_4, align 8\n %63 = add i64 %62, 6\n store i64 %63, i64* %sv_4, align 8\n %64 = icmp eq i32 %51, 0\n br i1 %64, label LBL_18, label LBL_17\n LBL_17:\n %65 = call i64 @FUNC(i64* nonnull %sv_4)\n %66 = call i64 @FUNC(i64* nonnull %sv_4)\n br label LBL_19\n LBL_18:\n %67 = call i64 @FUNC(i64* nonnull %sv_4)\n br label LBL_19\n LBL_19:\n %68 = load i64, i64* %sv_4, align 8\n %69 = icmp ugt i64 %50, %68\n br i1 %69, label LBL_20, label LBL_43\n LBL_20:\n %70 = add i64 %11, 32\n %71 = inttoptr i64 %70 to i64*\n %72 = add i64 %58, -80\n store i64 %68, i64* %.reg2mem\n store i16* %55, i16** %sv_1.027.reg2mem\n store i32 0, i32* %sv_0.026.reg2mem\n br label LBL_21\n LBL_21:\n %sv_0.026.reload = load i32, i32* %sv_0.026.reg2mem\n %sv_1.027.reload = load i16*, i16** %sv_1.027.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %73 = load i64, i64* %71, align 8\n %74 = add i64 %.reload, 1\n store i64 %74, i64* %sv_4, align 8\n %75 = inttoptr i64 %.reload to i8*\n %76 = load i8, i8* %75, align 1\n %77 = zext i8 %76 to i64\n %78 = mul i64 %77, 2\n %79 = add i64 %78, %73\n %80 = inttoptr i64 %79 to i16*\n %81 = load i16, i16* %80, align 2\n %82 = sext i32 %sv_0.026.reload to i64\n %83 = mul i64 %82, 4\n %84 = add i64 %72, %83\n %85 = inttoptr i64 %84 to i32*\n %86 = load i32, i32* %85, align 4\n %87 = sext i16 %81 to i32\n %88 = add i32 %86, %87\n store i32 %88, i32* %85, align 4\n %89 = zext i32 %88 to i64\n %90 = call i64 @FUNC(i64 %89)\n %91 = trunc i64 %90 to i32\n store i32 %91, i32* %85, align 4\n %92 = ptrtoint i16* %sv_1.027.reload to i64\n %93 = add i64 %92, 2\n %94 = inttoptr i64 %93 to i16*\n %95 = trunc i64 %90 to i16\n store i16 %95, i16* %sv_1.027.reload, align 2\n %96 = xor i32 %sv_0.026.reload, %51\n %97 = load i64, i64* %sv_4, align 8\n %98 = icmp ugt i64 %50, %97\n store i64 %97, i64* %.reg2mem\n store i16* %94, i16** %sv_1.027.reg2mem\n store i32 %96, i32* %sv_0.026.reg2mem\n br i1 %98, label LBL_21, label LBL_43\n LBL_22:\n %99 = load i64, i64* %sv_4, align 8\n %100 = add i64 %99, 6\n store i64 %100, i64* %sv_4, align 8\n %101 = load i32, i32* %12, align 4\n %102 = icmp eq i32 %101, 0\n store i64 %100, i64* %.reg2mem39\n store i16* %55, i16** %sv_1.1.lcssa.reg2mem\n br i1 %102, label LBL_26, label LBL_23\n LBL_23:\n %103 = add i64 %58, -80\n store i64 0, i64* %.reg2mem37\n store i32 0, i32* %storemerge731.reg2mem\n store i16* %55, i16** %sv_1.130.reg2mem\n br label LBL_24\n LBL_24:\n %sv_1.130.reload = load i16*, i16** %sv_1.130.reg2mem\n %storemerge731.reload = load i32, i32* %storemerge731.reg2mem\n %.reload38 = load i64, i64* %.reg2mem37\n %104 = call i64 @FUNC(i64* nonnull %sv_4)\n %105 = trunc i64 %104 to i32\n %sext = mul i32 %105, 65536\n %106 = ashr exact i32 %sext, 16\n %107 = mul i64 %.reload38, 4\n %108 = add i64 %103, %107\n %109 = inttoptr i64 %108 to i32*\n store i32 %106, i32* %109, align 4\n %110 = ptrtoint i16* %sv_1.130.reload to i64\n %111 = add i64 %110, 2\n %112 = inttoptr i64 %111 to i16*\n %113 = trunc i32 %106 to i16\n store i16 %113, i16* %sv_1.130.reload, align 2\n %114 = add i32 %storemerge731.reload, 1\n %115 = load i32, i32* %12, align 4\n %116 = zext i32 %115 to i64\n %117 = sext i32 %114 to i64\n %118 = icmp slt i64 %117, %116\n store i64 %117, i64* %.reg2mem37\n store i32 %114, i32* %storemerge731.reg2mem\n store i16* %112, i16** %sv_1.130.reg2mem\n br i1 %118, label LBL_24, label LBL_25\n LBL_25:\n %.pre = load i64, i64* %sv_4, align 8\n store i64 %.pre, i64* %.reg2mem39\n store i16* %112, i16** %sv_1.1.lcssa.reg2mem\n br label LBL_26\n LBL_26:\n %.reload40 = load i64, i64* %.reg2mem39\n %119 = icmp ugt i64 %50, %.reload40\n br i1 %119, label LBL_27, label LBL_43\n LBL_27:\n %sv_1.1.lcssa.reload = load i16*, i16** %sv_1.1.lcssa.reg2mem\n %120 = add i64 %58, -80\n store i64 %.reload40, i64* %.reg2mem41\n store i32 0, i32* %storemerge29.reg2mem\n store i16* %sv_1.1.lcssa.reload, i16** %sv_1.228.reg2mem\n br label LBL_28\n LBL_28:\n %sv_1.228.reload = load i16*, i16** %sv_1.228.reg2mem\n %storemerge29.reload = load i32, i32* %storemerge29.reg2mem\n %.reload42 = load i64, i64* %.reg2mem41\n %121 = add i64 %.reload42, 1\n store i64 %121, i64* %sv_4, align 8\n %122 = inttoptr i64 %.reload42 to i8*\n %123 = load i8, i8* %122, align 1\n %124 = zext i8 %123 to i64\n %125 = mul i64 %124, 4\n %126 = add i64 %125, ptrtoint (i32** @gv_2 to i64)\n %127 = inttoptr i64 %126 to i32*\n %128 = load i32, i32* %127, align 4\n %129 = sext i32 %storemerge29.reload to i64\n %130 = mul i64 %129, 4\n %131 = add i64 %120, %130\n %132 = inttoptr i64 %131 to i32*\n %133 = load i32, i32* %132, align 4\n %134 = add i32 %133, %128\n store i32 %134, i32* %132, align 4\n %135 = zext i32 %134 to i64\n %136 = call i64 @FUNC(i64 %135)\n %137 = trunc i64 %136 to i32\n store i32 %137, i32* %132, align 4\n %138 = ptrtoint i16* %sv_1.228.reload to i64\n %139 = add i64 %138, 2\n %140 = inttoptr i64 %139 to i16*\n %141 = trunc i64 %136 to i16\n store i16 %141, i16* %sv_1.228.reload, align 2\n %142 = xor i32 %storemerge29.reload, %51\n %143 = load i64, i64* %sv_4, align 8\n %144 = icmp ugt i64 %50, %143\n store i64 %143, i64* %.reg2mem41\n store i32 %142, i32* %storemerge29.reg2mem\n store i16* %140, i16** %sv_1.228.reg2mem\n br i1 %144, label LBL_28, label LBL_43\n LBL_29:\n %storemerge1225.reload = load i32, i32* %storemerge1225.reg2mem\n %.reload44 = load i64, i64* %.reg2mem43\n %145 = call i64 @FUNC(i64* nonnull %sv_4)\n %146 = trunc i64 %145 to i32\n %sext11 = mul i32 %146, 65536\n %147 = ashr exact i32 %sext11, 16\n %148 = mul i64 %.reload44, 4\n %149 = add i64 %61, %148\n %150 = inttoptr i64 %149 to i32*\n store i32 %147, i32* %150, align 4\n %151 = add i32 %storemerge1225.reload, 1\n %152 = load i32, i32* %12, align 4\n %153 = zext i32 %152 to i64\n %154 = sext i32 %151 to i64\n %155 = icmp slt i64 %154, %153\n store i64 %154, i64* %.reg2mem43\n store i32 %151, i32* %storemerge1225.reg2mem\n br i1 %155, label LBL_29, label LBL_30\n LBL_30:\n %156 = load i64, i64* %sv_4, align 8\n %157 = icmp ugt i64 %50, %156\n br i1 %157, label LBL_31, label LBL_43\n LBL_31:\n %158 = add i64 %58, -80\n store i64 %156, i64* %.reg2mem45\n store i32 0, i32* %storemerge1024.reg2mem\n store i16* %55, i16** %sv_1.323.reg2mem\n br label LBL_32\n LBL_32:\n %sv_1.323.reload = load i16*, i16** %sv_1.323.reg2mem\n %storemerge1024.reload = load i32, i32* %storemerge1024.reg2mem\n %.reload46 = load i64, i64* %.reg2mem45\n %159 = add i64 %.reload46, 1\n store i64 %159, i64* %sv_4, align 8\n %160 = inttoptr i64 %.reload46 to i8*\n %161 = load i8, i8* %160, align 1\n %162 = urem i8 %161, 4\n %163 = icmp eq i8 %162, 3\n %164 = icmp eq i1 %163, false\n %165 = sext i32 %storemerge1024.reload to i64\n %166 = mul i64 %165, 4\n %167 = add i64 %166, %58\n %168 = add i64 %167, -88\n %169 = inttoptr i64 %168 to i32*\n %170 = load i32, i32* %169, align 4\n br i1 %164, label LBL_34, label LBL_33\n LBL_33:\n %171 = add i32 %170, 1\n store i32 %171, i32* %storemerge14.reg2mem\n br label LBL_35\n LBL_34:\n %172 = sext i8 %161 to i32\n %173 = mul i32 %172, 2\n %174 = and i32 %173, 6\n %175 = sub i32 %170, %174\n store i32 %175, i32* %storemerge14.reg2mem\n br label LBL_35\n LBL_35:\n %176 = zext i8 %161 to i16\n %177 = mul i16 %176, 256\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %178 = icmp slt i32 %storemerge14.reload, 0\n %179 = icmp eq i1 %178, false\n %spec.store.select = select i1 %179, i32 %storemerge14.reload, i32 0\n store i32 %spec.store.select, i32* %169, align 4\n %180 = and i16 %177, -1024\n %181 = sext i16 %180 to i32\n %182 = urem i32 %spec.store.select, 32\n %183 = ashr i32 %181, %182\n %184 = add i64 %158, %166\n %185 = inttoptr i64 %184 to i32*\n %186 = load i32, i32* %185, align 4\n %187 = add i32 %183, %186\n store i32 %187, i32* %185, align 4\n %188 = zext i32 %187 to i64\n %189 = call i64 @FUNC(i64 %188)\n %190 = trunc i64 %189 to i32\n store i32 %190, i32* %185, align 4\n %191 = ptrtoint i16* %sv_1.323.reload to i64\n %192 = add i64 %191, 2\n %193 = inttoptr i64 %192 to i16*\n %194 = trunc i64 %189 to i16\n store i16 %194, i16* %sv_1.323.reload, align 2\n %195 = xor i32 %storemerge1024.reload, %51\n %196 = load i64, i64* %sv_4, align 8\n %197 = icmp ugt i64 %50, %196\n store i64 %196, i64* %.reg2mem45\n store i32 %195, i32* %storemerge1024.reg2mem\n store i16* %193, i16** %sv_1.323.reg2mem\n br i1 %197, label LBL_32, label LBL_43\n LBL_36:\n %198 = add i64 %5, 8\n %199 = inttoptr i64 %198 to i32*\n %200 = load i32, i32* %199, align 4\n %201 = icmp eq i32 %200, 3\n %202 = load i64, i64* %sv_4, align 8\n %203 = icmp ugt i64 %50, %202\n br i1 %201, label LBL_39, label LBL_37\n LBL_37:\n br i1 %203, label LBL_38, label LBL_43\n LBL_38:\n %204 = add i64 %11, 24\n %205 = inttoptr i64 %204 to i16*\n %206 = add i64 %11, 40\n %207 = inttoptr i64 %206 to i64*\n %208 = sext i32 %51 to i64\n %209 = mul i64 %208, 2\n %210 = add i64 %209, %204\n %211 = inttoptr i64 %210 to i16*\n store i64 %202, i64* %.reg2mem47\n store i64 %arg2, i64* %sv_2.022.reg2mem\n br label LBL_41\n LBL_39:\n br i1 %203, label LBL_40, label LBL_43\n LBL_40:\n %212 = add i64 %11, 24\n store i64 %202, i64* %.reg2mem49\n store i16* %55, i16** %sv_1.421.reg2mem\n store i32 0, i32* %sv_0.120.reg2mem\n br label LBL_42\n LBL_41:\n %sv_2.022.reload = load i64, i64* %sv_2.022.reg2mem\n %.reload48 = load i64, i64* %.reg2mem47\n %213 = add i64 %.reload48, 1\n store i64 %213, i64* %sv_4, align 8\n %214 = inttoptr i64 %.reload48 to i8*\n %215 = load i8, i8* %214, align 1\n %216 = load i16, i16* %205, align 2\n %217 = load i64, i64* %207, align 8\n %218 = udiv i8 %215, 16\n %219 = mul i8 %218, 2\n %220 = zext i8 %219 to i64\n %221 = add i64 %217, %220\n %222 = inttoptr i64 %221 to i16*\n %223 = load i16, i16* %222, align 2\n %224 = add i16 %223, %216\n store i16 %224, i16* %205, align 2\n %225 = sext i16 %224 to i64\n %226 = and i64 %225, 4294967295\n %227 = call i64 @FUNC(i64 %226)\n %228 = trunc i64 %227 to i16\n store i16 %228, i16* %205, align 2\n %229 = add i64 %sv_2.022.reload, 1\n %230 = trunc i64 %227 to i8\n %231 = inttoptr i64 %sv_2.022.reload to i8*\n store i8 %230, i8* %231, align 1\n %232 = load i16, i16* %211, align 2\n %233 = load i64, i64* %207, align 8\n %234 = mul i8 %215, 2\n %235 = and i8 %234, 30\n %236 = zext i8 %235 to i64\n %237 = add i64 %233, %236\n %238 = inttoptr i64 %237 to i16*\n %239 = load i16, i16* %238, align 2\n %240 = add i16 %239, %232\n store i16 %240, i16* %211, align 2\n %241 = sext i16 %240 to i64\n %242 = and i64 %241, 4294967295\n %243 = call i64 @FUNC(i64 %242)\n %244 = trunc i64 %243 to i16\n store i16 %244, i16* %211, align 2\n %245 = add i64 %sv_2.022.reload, 2\n %246 = trunc i64 %243 to i8\n %247 = inttoptr i64 %229 to i8*\n store i8 %246, i8* %247, align 1\n %248 = load i64, i64* %sv_4, align 8\n %249 = icmp ugt i64 %50, %248\n store i64 %248, i64* %.reg2mem47\n store i64 %245, i64* %sv_2.022.reg2mem\n br i1 %249, label LBL_41, label LBL_43\n LBL_42:\n %sv_0.120.reload = load i32, i32* %sv_0.120.reg2mem\n %sv_1.421.reload = load i16*, i16** %sv_1.421.reg2mem\n %.reload50 = load i64, i64* %.reg2mem49\n %250 = add i64 %.reload50, 1\n store i64 %250, i64* %sv_4, align 8\n %251 = inttoptr i64 %.reload50 to i8*\n %252 = load i8, i8* %251, align 1\n %253 = icmp slt i8 %252, 0\n %254 = icmp eq i1 %253, false\n %255 = sext i32 %sv_0.120.reload to i64\n %256 = mul i64 %255, 2\n %257 = add i64 %212, %256\n %258 = inttoptr i64 %257 to i16*\n %259 = load i16, i16* %258, align 2\n %260 = mul i8 %252, 2\n %factor = zext i8 %260 to i64\n %261 = add i64 %factor, ptrtoint (i64* @gv_3 to i64)\n %262 = inttoptr i64 %261 to i16*\n %263 = load i16, i16* %262, align 2\n %264 = sub i16 0, %263\n %storemerge15.p = select i1 %254, i16 %263, i16 %264\n %storemerge15 = add i16 %storemerge15.p, %259\n store i16 %storemerge15, i16* %258, align 2\n %265 = sext i16 %storemerge15 to i64\n %266 = and i64 %265, 4294967295\n %267 = call i64 @FUNC(i64 %266)\n %268 = trunc i64 %267 to i16\n store i16 %268, i16* %258, align 2\n %269 = ptrtoint i16* %sv_1.421.reload to i64\n %270 = add i64 %269, 2\n %271 = inttoptr i64 %270 to i16*\n store i16 %268, i16* %sv_1.421.reload, align 2\n %272 = xor i32 %sv_0.120.reload, %51\n %273 = load i64, i64* %sv_4, align 8\n %274 = icmp ugt i64 %50, %273\n store i64 %273, i64* %.reg2mem49\n store i16* %271, i16** %sv_1.421.reg2mem\n store i32 %272, i32* %sv_0.120.reg2mem\n br i1 %274, label LBL_42, label LBL_43\n LBL_43:\n %275 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %275, align 4\n %276 = load i64, i64* %53, align 8\n %277 = inttoptr i64 %42 to i64*\n %278 = load i64, i64* %277, align 8\n %279 = inttoptr i64 %arg2 to i64*\n store i64 %278, i64* %279, align 8\n %280 = add i64 %arg2, 8\n %281 = inttoptr i64 %280 to i64*\n store i64 %276, i64* %281, align 8\n %282 = zext i32 %8 to i64\n store i64 %282, i64* %rax.0.reg2mem\n br label LBL_44\n LBL_44:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i16 %storemerge15, { 1, 0 }\n uselistorder i16* %sv_1.421.reload, { 1, 0 }\n uselistorder i32 %sv_0.120.reload, { 1, 0 }\n uselistorder i64 %sv_2.022.reload, { 2, 0, 1 }\n uselistorder i1 %203, { 1, 0 }\n uselistorder i32 %storemerge14.reload, { 1, 0 }\n uselistorder i32 %170, { 1, 0 }\n uselistorder i8 %161, { 1, 2, 0 }\n uselistorder i32 %storemerge1024.reload, { 1, 0 }\n uselistorder i16* %sv_1.323.reload, { 1, 0 }\n uselistorder i32 %storemerge29.reload, { 1, 0 }\n uselistorder i16* %sv_1.228.reload, { 1, 0 }\n uselistorder i16* %sv_1.130.reload, { 1, 0 }\n uselistorder i16* %sv_1.027.reload, { 1, 0 }\n uselistorder i32 %sv_0.026.reload, { 1, 0 }\n uselistorder i64 %58, { 0, 4, 1, 2, 3, 5 }\n uselistorder i16* %55, { 0, 1, 3, 2, 4 }\n uselistorder i32 %51, { 0, 5, 1, 3, 2, 4 }\n uselistorder i64 %50, { 8, 7, 3, 6, 2, 4, 0, 5, 1 }\n uselistorder i64 %42, { 1, 0, 2 }\n uselistorder i32 %sv_3.0.reload, { 1, 0, 2, 3 }\n uselistorder i32 %14, { 2, 1, 0 }\n uselistorder i32 %13, { 4, 2, 0, 1, 3 }\n uselistorder i32* %12, { 3, 2, 0, 1, 4 }\n uselistorder i32 %8, { 4, 5, 0, 3, 1, 2 }\n uselistorder i64* %sv_4, { 9, 10, 11, 12, 3, 13, 14, 2, 4, 15, 16, 0, 5, 17, 18, 19, 20, 1, 6, 7, 8, 21, 22, 23 }\n uselistorder i64 %5, { 2, 1, 4, 3, 0, 5, 6 }\n uselistorder i64 %4, { 5, 4, 2, 1, 0, 3, 6, 7 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 6, 4, 2, 3, 1, 5 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 6, 4, 2, 3, 1, 5 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_1.027.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.026.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem37, { 1, 0, 2 }\n uselistorder i32* %storemerge731.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_1.130.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem39, { 0, 2, 1 }\n uselistorder i16** %sv_1.1.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem41, { 1, 0, 2 }\n uselistorder i32* %storemerge29.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_1.228.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem43, { 1, 0, 2 }\n uselistorder i32* %storemerge1225.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem45, { 1, 0, 2 }\n uselistorder i32* %storemerge1024.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_1.323.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem47, { 1, 0, 2 }\n uselistorder i64* %sv_2.022.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem49, { 1, 0, 2 }\n uselistorder i16** %sv_1.421.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.120.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i64)* @av_clip_uint8, { 1, 0 }\n uselistorder i64 (i64)* @av_clip_int16, { 3, 2, 1, 0 }\n uselistorder i64 2, { 4, 0, 3, 1, 5, 6, 7, 8, 2, 9 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 (i64*)* @bytestream_get_le16, { 2, 1, 0 }\n uselistorder i64 (i64*)* @bytestream_get_byte, { 1, 0 }\n uselistorder i64 -80, { 0, 2, 3, 4, 1 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 0, { 1, 0, 8, 4, 5, 9, 6, 7, 2, 3, 10, 11 }\n uselistorder i1 false, { 1, 2, 3, 4, 5, 0, 6, 7 }\n uselistorder i32 2, { 0, 2, 1, 3 }\n uselistorder i32 3, { 3, 0, 2, 1 }\n uselistorder i32 0, { 0, 10, 11, 1, 3, 4, 9, 5, 12, 2, 8, 13, 14, 15, 6, 7, 16, 17, 18, 19, 20, 21, 22 }\n uselistorder i32 4, { 2, 0, 3, 1 }\n uselistorder i64 %arg2, { 1, 2, 0 }\n uselistorder label LBL_43, { 4, 3, 9, 8, 2, 7, 0, 5, 1, 6, 10, 11 }\n uselistorder label LBL_42, { 1, 0 }\n uselistorder label LBL_41, { 1, 0 }\n uselistorder label LBL_32, { 1, 0 }\n uselistorder label LBL_29, { 1, 0 }\n uselistorder label LBL_28, { 1, 0 }\n uselistorder label LBL_26, { 1, 0 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 4, 0, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bcm_rx_do_flush_12655", "fun_name": "bcm_rx_do_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %sext2 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext2, 30\n %3 = add i64 %2, %1\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = urem i32 %5, 2\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = trunc i64 %arg2 to i32\n %9 = icmp eq i32 %8, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = call i64 @FUNC(i64 %1, i64 %3)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_cox_1266", "fun_name": "get_cox", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge23.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = ptrtoint i32* %arg1 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp sgt i32 %5, 4\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %6, label LBL_1, label LBL_7\n LBL_1:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i64 @FUNC(i64 %3)\n %9 = trunc i64 %8 to i32\n %10 = urem i32 %9, 256\n %11 = add nuw nsw i32 %10, 1\n %12 = bitcast i64* %arg2 to i32*\n store i32 %11, i32* %12, align 4\n %13 = call i64 @FUNC(i64 %3)\n %14 = trunc i64 %13 to i32\n %15 = urem i32 %14, 256\n %16 = add nuw nsw i32 %15, 2\n %17 = add i64 %7, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = call i64 @FUNC(i64 %3)\n %20 = trunc i64 %19 to i32\n %21 = urem i32 %20, 256\n %22 = add nuw nsw i32 %21, 2\n %23 = add i64 %7, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = call i64 @FUNC(i64 %3)\n %26 = trunc i64 %25 to i32\n %27 = urem i32 %26, 256\n %28 = add i64 %7, 12\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = icmp eq i32 %27, 0\n br i1 %30, label LBL_3, label LBL_2\n LBL_2:\n %31 = add i64 %3, 8\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = zext i32 %27 to i64\n %35 = call i64 @FUNC(i64 %33, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %34, i64 %2, i64 %1)\n br label LBL_3\n LBL_3:\n %36 = call i64 @FUNC(i64 %3)\n %37 = trunc i64 %36 to i32\n %38 = urem i32 %37, 256\n %39 = add i64 %7, 16\n %40 = inttoptr i64 %39 to i32*\n store i32 %38, i32* %40, align 4\n %41 = add i64 %7, 20\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = urem i32 %43, 2\n %45 = icmp eq i32 %44, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %45, label LBL_7, label LBL_4\n LBL_4:\n %46 = bitcast i64* %rsi to i32*\n %47 = load i32, i32* %46, align 8\n %48 = icmp eq i32 %47, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %48, label LBL_7, label LBL_5\n LBL_5:\n %49 = zext i32 %47 to i64\n store i32 0, i32* %storemerge23.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge23.reload = load i32, i32* %storemerge23.reg2mem\n %50 = call i64 @FUNC(i64 %3)\n %51 = add i32 %storemerge23.reload, 1\n %52 = sext i32 %51 to i64\n %53 = icmp slt i64 %52, %49\n store i32 %51, i32* %storemerge23.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %53, label LBL_6, label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %27, { 1, 2, 0 }\n uselistorder i64 %3, { 1, 2, 0, 3, 4, 5, 6, 7 }\n uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64)* @bytestream2_get_byteu, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wt_shortstatus_print_tracking_7523", "fun_name": "wt_shortstatus_print_tracking", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i1\n %rdi.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 0, i64 %3)\n %5 = call i64 @FUNC(i64 1, i64 %3)\n %6 = call i64 @FUNC(i64 2, i64 %3)\n %7 = call i64 @FUNC(i64 0, i64 %3)\n %8 = call i64 @FUNC(i64 0, i64 %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %2, i64 %1)\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_20, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i64 %11, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %16 = add i64 %11, 11\n %17 = inttoptr i64 %16 to i8*\n store i64 %5, i64* %sv_2.0.reg2mem\n store i8* %17, i8** %sv_1.0.reg2mem\n br label LBL_5\n LBL_3:\n %18 = inttoptr i64 %11 to i8*\n %19 = call i32 @strcmp(i8* %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0))\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 %5, i64* %sv_2.0.reg2mem\n store i8* %18, i8** %sv_1.0.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @globalFUNCvarFUNC402026, i64 0, i64 0))\n %23 = inttoptr i64 %22 to i8*\n %24 = call i64 @FUNC(i64 3, i64 %3)\n store i64 %24, i64* %sv_2.0.reg2mem\n store i8* %23, i8** %sv_1.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %25 = load i64, i64* %10, align 8\n %26 = add i64 %25, 11\n %27 = call i64 @FUNC(i64 %26)\n %28 = add i64 %3, 16\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %30, 0\n store i64 %26, i64* %rdi.0.reg2mem\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @globalFUNCvarFUNC402037, i64 0, i64 0))\n %33 = inttoptr i64 %32 to i8*\n %34 = call i64 @FUNC(i64 ptrtoint ([19 x i8]* @gv_3 to i64), i64 %4, i8* %33, i64 %4, i64 %2, i64 %1)\n store i64 ptrtoint ([19 x i8]* @gv_3 to i64), i64* %rdi.0.reg2mem\n br label LBL_7\n LBL_7:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %35 = ptrtoint i8* %sv_1.0.reload to i64\n %36 = call i64 @FUNC(i64 %rdi.0.reload, i64 %sv_2.0.reload, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %35, i64 %2, i64 %1)\n %37 = bitcast i32* %sv_3 to i64*\n %38 = bitcast i32* %sv_4 to i64*\n %39 = call i64 @FUNC(i64 %27, i64* nonnull %37, i64* nonnull %38)\n %40 = trunc i64 %39 to i32\n %41 = icmp eq i32 %40, -1\n store i1 true, i1* %sv_0.0.reg2mem\n br i1 %41, label LBL_10, label LBL_8\n LBL_8:\n %42 = icmp eq i32 %40, 0\n %43 = icmp eq i1 %42, false\n store i1 false, i1* %sv_0.0.reg2mem\n br i1 %43, label LBL_10, label LBL_9\n LBL_9:\n %44 = add i64 %3, 20\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = icmp eq i32 %46, 0\n %. = select i1 %47, i32 10, i32 0\n %48 = inttoptr i64 %27 to %_IO_FILE*\n %49 = call i32 @fputc(i32 %., %_IO_FILE* %48)\n %50 = sext i32 %49 to i64\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_10:\n %sv_0.0.reload = load i1, i1* %sv_0.0.reg2mem\n %51 = inttoptr i64 %27 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56, i64 0)\n %58 = call i64 @FUNC(i64 %56, i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_5, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %59 = call i64 @FUNC(i64 %56, i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %57, i64 %2, i64 %1)\n br i1 %sv_0.0.reload, label LBL_14, label LBL_11\n LBL_11:\n %60 = load i32, i32* %sv_3, align 4\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_15, label LBL_12\n LBL_12:\n %63 = load i32, i32* %sv_4, align 4\n %64 = icmp eq i32 %63, 0\n %65 = icmp eq i1 %64, false\n br i1 %65, label LBL_15, label LBL_13\n LBL_13:\n %66 = add i64 %3, 20\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = icmp eq i32 %68, 0\n %.7 = select i1 %69, i32 10, i32 0\n %70 = inttoptr i64 %56 to %_IO_FILE*\n %71 = call i32 @fputc(i32 %.7, %_IO_FILE* %70)\n %72 = sext i32 %71 to i64\n store i64 %72, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_14:\n %73 = call i64 @FUNC(i64 %56, i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %74 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_7, i64 0, i64 0))\n %75 = inttoptr i64 %74 to i8*\n %76 = call i64 @FUNC(i64 ptrtoint ([5 x i8]* @gv_7 to i64), i64 %4, i8* %75, i64 %4, i64 %2, i64 %1)\n store i64 ptrtoint ([5 x i8]* @gv_7 to i64), i64* %rdi.1.reg2mem\n br label LBL_19\n LBL_15:\n %77 = call i64 @FUNC(i64 %56, i64 %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_6, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %78 = load i32, i32* %sv_3, align 4\n %79 = icmp eq i32 %78, 0\n %80 = icmp eq i1 %79, false\n br i1 %80, label LBL_17, label LBL_16\n LBL_16:\n %81 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0))\n %82 = inttoptr i64 %81 to i8*\n %83 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_8 to i64), i64 %4, i8* %82, i64 %4, i64 %2, i64 %1)\n %84 = load i32, i32* %sv_4, align 4\n %85 = zext i32 %84 to i64\n %86 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_8 to i64), i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i64 %85, i64 %2, i64 %1)\n store i64 ptrtoint ([8 x i8]* @gv_8 to i64), i64* %rdi.1.reg2mem\n br label LBL_19\n LBL_17:\n %87 = load i32, i32* %sv_4, align 4\n %88 = icmp eq i32 %87, 0\n %89 = icmp eq i1 %88, false\n %90 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_10, i64 0, i64 0))\n %91 = inttoptr i64 %90 to i8*\n %92 = call i64 @FUNC(i64 ptrtoint ([7 x i8]* @gv_10 to i64), i64 %4, i8* %91, i64 %4, i64 %2, i64 %1)\n %93 = load i32, i32* %sv_3, align 4\n %94 = zext i32 %93 to i64\n %95 = call i64 @FUNC(i64 ptrtoint ([7 x i8]* @gv_10 to i64), i64 %sv_2.0.reload, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i64 %94, i64 %2, i64 %1)\n store i64 ptrtoint ([7 x i8]* @gv_10 to i64), i64* %rdi.1.reg2mem\n br i1 %89, label LBL_18, label LBL_19\n LBL_18:\n %96 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0))\n %97 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_8 to i64), i64 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_11, i64 0, i64 0), i64 %96, i64 %2, i64 %1)\n %98 = load i32, i32* %sv_4, align 4\n %99 = zext i32 %98 to i64\n %100 = call i64 @FUNC(i64 ptrtoint ([8 x i8]* @gv_8 to i64), i64 %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_9, i64 0, i64 0), i64 %99, i64 %2, i64 %1)\n store i64 ptrtoint ([8 x i8]* @gv_8 to i64), i64* %rdi.1.reg2mem\n br label LBL_19\n LBL_19:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %101 = call i64 @FUNC(i64 %rdi.1.reload, i64 %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_12, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n %102 = add i64 %3, 20\n %103 = inttoptr i64 %102 to i32*\n %104 = load i32, i32* %103, align 4\n %105 = icmp eq i32 %104, 0\n %.8 = select i1 %105, i32 10, i32 0\n %106 = inttoptr i64 %rdi.1.reload to %_IO_FILE*\n %107 = call i32 @fputc(i32 %.8, %_IO_FILE* %106)\n %108 = sext i32 %107 to i64\n store i64 %108, i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %56, { 0, 2, 1, 3, 4, 5 }\n uselistorder i64 %sv_2.0.reload, { 1, 0 }\n uselistorder i64 %11, { 1, 2, 0, 3 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %4, { 8, 9, 10, 11, 12, 6, 7, 0, 1, 4, 5, 13, 14, 15, 16, 2, 3 }\n uselistorder i32* %sv_4, { 3, 2, 1, 0, 4 }\n uselistorder i32* %sv_3, { 2, 1, 0, 3 }\n uselistorder i64 %3, { 3, 2, 1, 4, 0, 5, 6, 7, 8, 9 }\n uselistorder i64 %2, { 13, 12, 11, 9, 10, 8, 7, 14, 6, 5, 3, 4, 2, 1, 0 }\n uselistorder i64 %1, { 13, 12, 11, 9, 10, 8, 7, 14, 6, 5, 3, 4, 2, 1, 0 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i1* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rdi.1.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder [7 x i8]* @gv_10, { 1, 0 }\n uselistorder i64 ptrtoint ([8 x i8]* @gv_8 to i64), { 1, 2, 3, 0, 4, 5 }\n uselistorder [8 x i8]* @gv_8, { 1, 0 }\n uselistorder i64 (i8*)* @N_, { 3, 2, 1, 0 }\n uselistorder [5 x i8]* @gv_7, { 1, 0 }\n uselistorder i32 (i32, %_IO_FILE*)* @fputc, { 2, 1, 0 }\n uselistorder [19 x i8]* @gv_3, { 1, 0 }\n uselistorder i64 (i8*)* @_, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i32 0, { 0, 3, 4, 5, 1, 6, 7, 8, 2, 9, 10, 11, 12, 13, 14, 15, 16 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @color_fprintf, { 14, 13, 12, 11, 10, 9, 8, 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64)* @color, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_20, { 1, 2, 3, 0 }\n uselistorder label LBL_19, { 1, 0, 2, 3 }\n uselistorder label LBL_10, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "delete_sdp_line_6860", "fun_name": "delete_sdp_line", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %sv_0.0212.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = icmp eq i64 %arg2, 0\n %3 = icmp eq i1 %2, false\n store i64 %arg2, i64* %sv_1.0.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %4 = inttoptr i64 %sv_1.0.reload to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp ne i8 %5, 10\n %7 = icmp ugt i64 %sv_1.0.reload, %0\n %or.cond = icmp eq i1 %7, %6\n %8 = add i64 %sv_1.0.reload, -1\n store i64 %8, i64* %sv_1.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %arg2 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 10\n store i8 10, i8* %.reg2mem\n store i64 %arg2, i64* %sv_0.0.lcssa.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = sext i32 %14 to i64\n %16 = add i64 %15, %0\n %17 = icmp ugt i64 %16, %arg2\n store i64 %arg2, i64* %sv_0.0212.reg2mem\n store i8 %10, i8* %.reg2mem\n store i64 %arg2, i64* %sv_0.0.lcssa.reg2mem\n br i1 %17, label LBL_4, label LBL_6\n LBL_4:\n %sv_0.0212.reload = load i64, i64* %sv_0.0212.reg2mem\n %18 = add nuw i64 %sv_0.0212.reload, 1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 10\n store i8 10, i8* %.reg2mem\n store i64 %18, i64* %sv_0.0.lcssa.reg2mem\n br i1 %21, label LBL_6, label LBL_5\n LBL_5:\n %22 = icmp ult i64 %18, %16\n store i64 %18, i64* %sv_0.0212.reg2mem\n store i8 %20, i8* %.reg2mem\n store i64 %18, i64* %sv_0.0.lcssa.reg2mem\n br i1 %22, label LBL_4, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %23 = icmp eq i8 %.reload, 10\n %24 = zext i1 %23 to i64\n %.neg = xor i64 %sv_1.0.reload, 4294967295\n %spec.select = add i64 %sv_0.0.lcssa.reload, %.neg\n %25 = add i64 %spec.select, %24\n %26 = and i64 %25, 4294967295\n %27 = sub i64 1, %1\n %28 = add i64 %27, %sv_1.0.reload\n %29 = and i64 %28, 4294967295\n %30 = call i64 @FUNC(i64 %1, i64 %29, i64 %26, i64 0)\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n %spec.select1 = select i1 %32, i64 0, i64 4294967295\n ret i64 %spec.select1\n LBL_7:\n ret i64 1\n\n uselistorder i64 %18, { 1, 2, 3, 0, 4 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 4, 3, 0, 2, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0212.reg2mem, { 2, 0, 1 }\n uselistorder i8* %.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i8 10, { 3, 0, 4, 1, 2, 5 }\n uselistorder i64 %arg2, { 0, 2, 4, 1, 5, 3, 6 }\n uselistorder label LBL_6, { 1, 2, 0, 3 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "apply_color_indexing_transform_1123", "fun_name": "apply_color_indexing_transform", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %storemerge29.reg2mem = alloca i32\n %.reg2mem29 = alloca i64\n %.reg2mem27 = alloca i64\n %storemerge38.reg2mem = alloca i32\n %.reg2mem25 = alloca i64\n %.in.reg2mem = alloca i64\n %.reg2mem23 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem21 = alloca i32\n %.pre.reg2mem = alloca i64\n %sv_0.110.reg2mem = alloca i32\n %storemerge611.reg2mem = alloca i32\n %.reg2mem19 = alloca i64\n %storemerge412.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n store i64 %0, i64* %rdi, align 8\n %sv_1 = alloca i64, align 8\n %1 = add i64 %0, 24\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 1\n store i64 %0, i64* %.in.reg2mem\n br i1 %4, label LBL_11, label LBL_1\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = sext i32 %9 to i64\n store i64 %10, i64* %rdi, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = icmp eq i64 %11, 0\n %13 = icmp eq i1 %12, false\n store i64 4294967284, i64* %storemerge1.reg2mem\n br i1 %13, label LBL_2, label LBL_19\n LBL_2:\n %14 = add nsw i64 %10, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_10, label LBL_3\n LBL_3:\n %18 = urem i32 %3, 32\n %19 = lshr i32 8, %18\n %20 = inttoptr i64 %11 to i64*\n %21 = add i64 %11, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = ptrtoint i64* %sv_1 to i64\n %24 = bitcast i64* %rdi to i32*\n %25 = zext i32 %19 to i64\n %26 = trunc i64 %23 to i32\n %27 = icmp eq i32 %26, 0\n store i64 %10, i64* %.reg2mem\n store i32 0, i32* %storemerge412.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge412.reload = load i32, i32* %storemerge412.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %28 = call i64 @FUNC(i64 %.reload, i64 0, i32 %storemerge412.reload)\n %29 = add i64 %.reload, 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = inttoptr i64 %28 to i64*\n %35 = call i64* @memcpy(i64* %20, i64* %34, i32 %33)\n %36 = load i64, i64* %22, align 8\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = mul i32 %38, 8\n %40 = zext i32 %39 to i64\n %41 = call i64 @FUNC(i64* nonnull %sv_1, i64 %11, i64 %40)\n store i64 %23, i64* %rdi, align 8\n %42 = call i64 @FUNC(i64* nonnull %sv_1, i64 16)\n store i64 %23, i64* %.reg2mem19\n store i32 0, i32* %storemerge611.reg2mem\n store i32 0, i32* %sv_0.110.reg2mem\n store i64 %23, i64* %.reg2mem23\n br i1 %27, label LBL_9, label LBL_5\n LBL_5:\n %sv_0.110.reload = load i32, i32* %sv_0.110.reg2mem\n %storemerge611.reload = load i32, i32* %storemerge611.reg2mem\n %.reload20 = load i64, i64* %.reg2mem19\n %43 = zext i32 %storemerge611.reload to i64\n %44 = call i64 @FUNC(i64 %.reload20, i64 %43, i32 %storemerge412.reload)\n store i64 %23, i64* %rdi, align 8\n %45 = call i64 @FUNC(i64* nonnull %sv_1, i64 %25)\n %46 = add i64 %44, 2\n %47 = trunc i64 %45 to i8\n %48 = inttoptr i64 %46 to i8*\n store i8 %47, i8* %48, align 1\n %49 = add i32 %sv_0.110.reload, 1\n %50 = load i32, i32* %2, align 4\n %51 = urem i32 %50, 32\n %52 = shl i32 1, %51\n %53 = icmp eq i32 %49, %52\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_5.LBL_8_crit_edge, label LBL_7\n LBL_6:\n %.pre13 = load i32, i32* %24, align 8\n %.pre.pre = load i64, i64* %rdi, align 8\n store i64 %.pre.pre, i64* %.pre.reg2mem\n store i32 %.pre13, i32* %.reg2mem21\n store i32 %49, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n store i64 %23, i64* %rdi, align 8\n %55 = call i64 @FUNC(i64* nonnull %sv_1, i64 24)\n store i64 %23, i64* %.pre.reg2mem\n store i32 %26, i32* %.reg2mem21\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.reload22 = load i32, i32* %.reg2mem21\n %.pre.reload = load i64, i64* %.pre.reg2mem\n %56 = add i32 %storemerge611.reload, 1\n %57 = zext i32 %.reload22 to i64\n %58 = sext i32 %56 to i64\n %59 = icmp slt i64 %58, %57\n store i64 %.pre.reload, i64* %.reg2mem19\n store i32 %56, i32* %storemerge611.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.110.reg2mem\n store i64 %.pre.reload, i64* %.reg2mem23\n br i1 %59, label LBL_5, label LBL_9\n LBL_9:\n %.reload24 = load i64, i64* %.reg2mem23\n %60 = add i32 %storemerge412.reload, 1\n %61 = add i64 %.reload24, 4\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = zext i32 %63 to i64\n %65 = sext i32 %60 to i64\n %66 = icmp slt i64 %65, %64\n store i64 %.reload24, i64* %.reg2mem\n store i32 %60, i32* %storemerge412.reg2mem\n br i1 %66, label LBL_4, label LBL_10\n LBL_10:\n store i64 %11, i64* %rdi, align 8\n %67 = call i64 @FUNC(i64 %11)\n store i64 %11, i64* %.in.reg2mem\n br label LBL_11\n LBL_11:\n %.in.reload = load i64, i64* %.in.reg2mem\n %68 = add i64 %.in.reload, 4\n %69 = inttoptr i64 %68 to i32*\n %70 = load i32, i32* %69, align 4\n %71 = icmp eq i32 %70, 0\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %71, label LBL_19, label LBL_12\n LBL_12:\n %72 = add i64 %0, 16\n %73 = inttoptr i64 %72 to i64*\n store i64 %.in.reload, i64* %.reg2mem29\n store i32 0, i32* %storemerge29.reg2mem\n br label LBL_18\n LBL_13:\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %.reload26 = load i64, i64* %.reg2mem25\n %74 = zext i32 %storemerge38.reload to i64\n %75 = call i64 @FUNC(i64 %.reload26, i64 %74, i32 %storemerge29.reload)\n %76 = add i64 %75, 2\n %77 = inttoptr i64 %76 to i8*\n %78 = load i8, i8* %77, align 1\n %79 = load i64, i64* %73, align 8\n %80 = inttoptr i64 %79 to i32*\n %81 = load i32, i32* %80, align 4\n %82 = zext i32 %81 to i64\n %83 = zext i8 %78 to i64\n %84 = icmp ult i64 %83, %82\n br i1 %84, label LBL_15, label LBL_14\n LBL_14:\n store i64 %75, i64* %rdi, align 8\n %85 = call i64 @FUNC(i64 %75, i64 4278190080)\n br label LBL_16\n LBL_15:\n %86 = call i64 @FUNC(i64 %79, i64 %83, i32 0)\n store i64 %75, i64* %rdi, align 8\n %87 = call i64 @FUNC(i64 %75, i64 %86)\n br label LBL_16\n LBL_16:\n %88 = add i32 %storemerge38.reload, 1\n %89 = and i64 %75, 4294967295\n %90 = sext i32 %88 to i64\n %91 = icmp sgt i64 %89, %90\n store i64 %75, i64* %.reg2mem25\n store i32 %88, i32* %storemerge38.reg2mem\n store i64 %75, i64* %.reg2mem27\n br i1 %91, label LBL_13, label LBL_17\n LBL_17:\n %.reload28 = load i64, i64* %.reg2mem27\n %92 = add i32 %storemerge29.reload, 1\n %93 = add i64 %.reload28, 4\n %94 = inttoptr i64 %93 to i32*\n %95 = load i32, i32* %94, align 4\n %96 = zext i32 %95 to i64\n %97 = sext i32 %92 to i64\n %98 = icmp slt i64 %97, %96\n store i64 %.reload28, i64* %.reg2mem29\n store i32 %92, i32* %storemerge29.reg2mem\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %98, label LBL_18, label LBL_19\n LBL_18:\n %storemerge29.reload = load i32, i32* %storemerge29.reg2mem\n %.reload30 = load i64, i64* %.reg2mem29\n %99 = trunc i64 %.reload30 to i32\n %100 = icmp eq i32 %99, 0\n store i64 %.reload30, i64* %.reg2mem25\n store i32 0, i32* %storemerge38.reg2mem\n store i64 %.reload30, i64* %.reg2mem27\n br i1 %100, label LBL_17, label LBL_13\n LBL_19:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n ret i64 %storemerge1.reload\n\n uselistorder i64 %.reload30, { 2, 1, 0 }\n uselistorder i32 %storemerge29.reload, { 1, 0 }\n uselistorder i64 %75, { 0, 1, 2, 6, 5, 4, 3, 7 }\n uselistorder i64 %.reload24, { 1, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %23, { 1, 4, 5, 0, 2, 6, 3 }\n uselistorder i64 %11, { 0, 2, 1, 3, 5, 4, 6 }\n uselistorder i64 %0, { 3, 1, 0, 2, 4 }\n uselistorder i64* %rdi, { 7, 6, 2, 5, 0, 4, 3, 8, 1, 9 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge412.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem19, { 2, 0, 1 }\n uselistorder i32* %storemerge611.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.110.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem25, { 1, 2, 0 }\n uselistorder i32* %storemerge38.reg2mem, { 1, 2, 0 }\n uselistorder i64* %.reg2mem27, { 2, 0, 1 }\n uselistorder i64 (i64*, i64)* @skip_bits, { 1, 0 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @GET_PIXEL, { 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 7, 10, 0, 8, 2, 3, 4, 5, 6, 9 }\n uselistorder i64 4, { 3, 2, 4, 1, 0 }\n uselistorder i64 8, { 1, 0, 2, 3, 4 }\n uselistorder i64 24, { 1, 0 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_17, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_serial_device_unrealize_224", "fun_name": "virtio_serial_device_unrealize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 24\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = inttoptr i64 %12 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = load i64, i64* %11, align 8\n %18 = add i64 %17, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = load i64, i64* %11, align 8\n %23 = add i64 %22, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = load i64, i64* %11, align 8\n %28 = call i64 @FUNC(i64 %27)\n br label LBL_2\n LBL_2:\n %29 = ptrtoint i64* %arg2 to i64\n %30 = call i64 @FUNC(i64 %0, i64 0, i64 %29)\n %31 = call i64 @FUNC(i64 %0)\n ret i64 %31\n\n uselistorder i64 (i64)* @g_free, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pcx_init_2041", "fun_name": "pcx_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 %0, i64* %3, align 8\n ret i64 0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "collect_data_9310", "fun_name": "collect_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = icmp eq i64* %arg1, null\n store i64 %0, i64* %rsi.0.reg2mem\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %2, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = add i64 %3, %arg3\n %5 = call i64 @FUNC(i64 %2, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 1, i64 2)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_3:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %12, %3\n %14 = inttoptr i64 %13 to i64*\n %15 = inttoptr i64 %4 to i64*\n %16 = trunc i64 %arg3 to i32\n %17 = call i64* @memcpy(i64* %14, i64* %15, i32 %16)\n store i64 %4, i64* %rsi.0.reg2mem\n br label LBL_4\n LBL_4:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %18 = add i64 %rsi.0.reload, %arg3\n store i64 %18, i64* %arg2, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 0, 2, 1 }\n uselistorder i64 %arg3, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_handle_ctrl_req_2107", "fun_name": "virtio_scsi_handle_ctrl_req", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i32, align 4\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = bitcast i32* %sv_0 to i64*\n %6 = call i64 @FUNC(i64 %4, i64 %4, i64 0, i64* nonnull %5, i64 4)\n %7 = trunc i64 %6 to i32\n %8 = icmp ult i32 %7, 4\n br i1 %8, label LBL_1, label LBL_2\n LBL_1:\n %9 = call i64 @FUNC()\n store i64 %9, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = call i64 @FUNC(i64 %10, i64* nonnull %5)\n %12 = load i32, i32* %sv_0, align 4\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_9, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC()\n br label LBL_10\n LBL_5:\n %20 = icmp ne i32 %12, 1\n %21 = icmp eq i32 %12, 2\n %22 = icmp eq i1 %21, false\n %or.cond = icmp eq i1 %20, %22\n br i1 %or.cond, label LBL_10, label LBL_6\n LBL_6:\n %23 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %24 = trunc i64 %23 to i32\n %25 = icmp slt i32 %24, 0\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_8, label LBL_7\n LBL_7:\n %27 = call i64 @FUNC()\n br label LBL_10\n LBL_8:\n %28 = add i64 %0, 16\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %0, 20\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n br label LBL_10\n LBL_9:\n %32 = call i64 @FUNC(i64 %10, i64 %0)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_11, label LBL_10\n LBL_10:\n %36 = call i64 @FUNC(i64 %0)\n store i64 %36, i64* %rax.1.reg2mem\n br label LBL_13\n LBL_11:\n %37 = icmp eq i32 %33, -1\n store i64 %32, i64* %rax.1.reg2mem\n br i1 %37, label LBL_13, label LBL_12\n LBL_12:\n call void @__assert_fail(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 73, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.1.reg2mem\n br label LBL_13\n LBL_13:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i32 %33, { 1, 0 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 3, 4, 5, 1, 6 }\n uselistorder i64* %rax.1.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder i64 (i64, i64, i64)* @virtio_scsi_parse_req, { 1, 0 }\n uselistorder i1 false, { 1, 2, 0, 3, 4 }\n uselistorder i64 ()* @virtio_scsi_bad_req, { 2, 1, 0 }\n uselistorder label LBL_10, { 4, 3, 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_mbr_848", "fun_name": "init_mbr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i8\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 8\n %5 = inttoptr i64 %3 to i64*\n %6 = call i64* @memset(i64* %5, i32 0, i32 512)\n %7 = call i64 @FUNC(i64 3189439994)\n %8 = trunc i64 %7 to i32\n %9 = inttoptr i64 %3 to i32*\n store i32 %8, i32* %9, align 4\n %10 = inttoptr i64 %4 to i8*\n store i8 -128, i8* %10, align 1\n %11 = add i64 %0, 12\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i32 %13, -1\n %15 = zext i32 %14 to i64\n %16 = add i64 %3, 21\n %17 = call i64 @FUNC(i64 3189439994, i64 %16, i64 %15)\n %18 = bitcast i64* %rdi to i32*\n %19 = load i32, i32* %18, align 8\n %20 = add i32 %19, -1\n %21 = zext i32 %20 to i64\n %22 = add i64 %3, 24\n %23 = call i64 @FUNC(i64 3189439994, i64 %22, i64 %21)\n %24 = load i32, i32* %12, align 4\n %25 = add i32 %24, -1\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = add i64 %3, 12\n %30 = inttoptr i64 %29 to i32*\n store i32 %28, i32* %30, align 4\n %31 = load i32, i32* %18, align 8\n %32 = load i32, i32* %12, align 4\n %33 = add i32 %31, 1\n %34 = sub i32 %33, %32\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %35)\n %37 = trunc i64 %36 to i32\n %38 = add i64 %3, 16\n %39 = inttoptr i64 %38 to i32*\n store i32 %37, i32* %39, align 4\n %40 = add i64 %0, 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 12\n store i8 1, i8* %rax.0.reg2mem\n br i1 %43, label LBL_4, label LBL_1\n LBL_1:\n %44 = or i64 %23, %17\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %42, 16\n %47 = icmp eq i1 %46, false\n %48 = icmp eq i32 %45, 0\n br i1 %47, label LBL_3, label LBL_2\n LBL_2:\n %. = select i1 %48, i8 6, i8 14\n store i8 %., i8* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %.1 = select i1 %48, i8 11, i8 12\n store i8 %.1, i8* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i8, i8* %rax.0.reg2mem\n %49 = add i64 %3, 20\n %50 = inttoptr i64 %49 to i8*\n store i8 %rax.0.reload, i8* %50, align 1\n %51 = add i64 %3, 4\n %52 = inttoptr i64 %51 to i8*\n store i8 85, i8* %52, align 1\n %53 = add i64 %3, 5\n %54 = inttoptr i64 %53 to i8*\n store i8 -86, i8* %54, align 1\n ret i64 %3\n\n uselistorder i64 %3, { 2, 3, 4, 0, 5, 6, 7, 8, 9, 1, 10 }\n uselistorder i8* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64, i64, i64)* @sector2CHS, { 1, 0 }\n uselistorder i64 (i64)* @cpu_to_le32, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "elng_Write_10897", "fun_name": "elng_Write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %6 = icmp eq i64* %arg1, null\n store i64 0, i64* %storemerge.reg2mem\n br i1 %6, label LBL_4, label LBL_3\n LBL_3:\n %7 = bitcast i64* %arg1 to i8*\n %8 = call i32 @strlen(i8* %7)\n %9 = add i32 %8, 1\n %10 = zext i32 %9 to i64\n %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %10)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 4294967295, { 3, 0, 1, 2, 4 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_drc_detach_3405", "fun_name": "spapr_drc_detach", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 1\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %2)\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i8*\n store i8 1, i8* %12, align 1\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %13 = call i64 @FUNC(i64 %2)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 2\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = add i64 %2, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 3\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %2)\n %21 = and i64 %20, 4294967295\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i8*\n store i8 1, i8* %24, align 1\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %25 = call i64 @FUNC(i64 %2)\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 5, 1, 3, 4, 2, 6, 0, 7, 8, 9 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @spapr_drc_index, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdev_unplug_2830", "fun_name": "qdev_unplug", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0), i64 %6)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_2:\n %8 = inttoptr i64 %6 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i32 32, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0))\n store i64 %0, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 3, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 0, { 0, 1, 2, 3, 4, 5, 9, 6, 7, 8 }\n uselistorder label LBL_4, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "common_end_387", "fun_name": "common_end", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %8 = load i64, i64* %6, align 8\n %9 = mul i64 %.reload, 16\n %10 = add i64 %8, %9\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %10, 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i32 %storemerge1.reload, 1\n %15 = sext i32 %14 to i64\n %16 = icmp sgt i64 %7, %15\n store i64 %15, i64* %.reg2mem\n store i32 %14, i32* %storemerge1.reg2mem\n br i1 %16, label LBL_2, label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_freep, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alloc_sequence_buffers_3181", "fun_name": "alloc_sequence_buffers", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem24 = alloca i32\n %storemerge710111416.reg2mem = alloca i32\n %storemerge6121318.reg2mem = alloca i32\n %.reg2mem22 = alloca i32\n %.reg2mem20 = alloca i32\n %storemerge710111415.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %storemerge219.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = bitcast i64* %rdi to i32*\n %4 = trunc i64 %1 to i32\n %5 = sdiv i32 %4, 64\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = sdiv i32 %8, 64\n %10 = add i64 %2, 120\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %2, 124\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %storemerge219.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge219.reload = load i32, i32* %storemerge219.reg2mem\n %14 = icmp eq i32 %storemerge219.reload, 0\n br i1 %14, label LBL_2, label LBL_3\n LBL_2:\n %15 = load i32, i32* %3, align 8\n %16 = load i32, i32* %7, align 4\n store i32 %16, i32* %.reg2mem\n store i32 64, i32* %storemerge710111415.reg2mem\n store i32 %15, i32* %.reg2mem20\n br label LBL_4\n LBL_3:\n %17 = load i32, i32* %11, align 4\n %18 = urem i32 %17, 32\n %19 = lshr i32 64, %18\n %20 = load i32, i32* %13, align 4\n %21 = urem i32 %20, 32\n %22 = lshr i32 64, %21\n %23 = load i32, i32* %3, align 8\n %24 = ashr i32 %23, %18\n %25 = load i32, i32* %7, align 4\n %26 = ashr i32 %25, %21\n %27 = icmp slt i32 %22, 64\n store i32 %26, i32* %.reg2mem\n store i32 %19, i32* %storemerge710111415.reg2mem\n store i32 %24, i32* %.reg2mem20\n store i32 %26, i32* %.reg2mem22\n store i32 %22, i32* %storemerge6121318.reg2mem\n store i32 %19, i32* %storemerge710111416.reg2mem\n store i32 %24, i32* %.reg2mem24\n br i1 %27, label LBL_5, label LBL_4\n LBL_4:\n %.reload21 = load i32, i32* %.reg2mem20\n %storemerge710111415.reload = load i32, i32* %storemerge710111415.reg2mem\n %.reload = load i32, i32* %.reg2mem\n store i32 %.reload, i32* %.reg2mem22\n store i32 64, i32* %storemerge6121318.reg2mem\n store i32 %storemerge710111415.reload, i32* %storemerge710111416.reg2mem\n store i32 %.reload21, i32* %.reg2mem24\n br label LBL_5\n LBL_5:\n %.reload25 = load i32, i32* %.reg2mem24\n %storemerge710111416.reload = load i32, i32* %storemerge710111416.reg2mem\n %storemerge6121318.reload = load i32, i32* %storemerge6121318.reg2mem\n %.reload23 = load i32, i32* %.reg2mem22\n %28 = add i32 %.reload25, 12\n %29 = and i32 %28, -8\n %30 = add i32 %.reload23, 37\n %31 = ashr i32 %storemerge6121318.reload, 1\n %32 = add i32 %30, %31\n %33 = add i32 %29, %storemerge710111416.reload\n %34 = mul i32 %33, %32\n %35 = sext i32 %34 to i64\n %36 = mul i64 %35, 4\n %37 = call i64 @FUNC(i64 %36)\n %38 = sext i32 %storemerge219.reload to i64\n %39 = mul nsw i64 %38, 24\n %40 = add i64 %39, %2\n %41 = add i64 %40, 8\n %42 = inttoptr i64 %41 to i64*\n store i64 %37, i64* %42, align 8\n %43 = add i32 %29, 16\n %44 = sext i32 %43 to i64\n %45 = mul i64 %44, 4\n %46 = call i64 @FUNC(i64 %45)\n %47 = add i64 %40, 16\n %48 = inttoptr i64 %47 to i64*\n store i64 %46, i64* %48, align 8\n %49 = load i64, i64* %42, align 8\n %50 = mul i32 %29, 32\n %51 = sext i32 %50 to i64\n %52 = add i64 %49, %51\n %53 = add i64 %40, 24\n %54 = inttoptr i64 %53 to i64*\n store i64 %52, i64* %54, align 8\n %55 = load i64, i64* %42, align 8\n %56 = icmp eq i64 %55, 0\n br i1 %56, label LBL_12, label LBL_6\n LBL_6:\n %57 = load i64, i64* %48, align 8\n %58 = icmp eq i64 %57, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_7, label LBL_12\n LBL_7:\n %60 = add nuw i32 %storemerge219.reload, 1\n %61 = icmp ult i32 %60, 3\n store i32 %60, i32* %storemerge219.reg2mem\n br i1 %61, label LBL_1, label LBL_8\n LBL_8:\n %62 = load i32, i32* %3, align 8\n %63 = load i32, i32* %7, align 4\n %64 = mul i32 %9, %5\n %65 = sext i32 %64 to i64\n %66 = call i64 @FUNC(i64 %65)\n %67 = add i64 %2, 80\n %68 = inttoptr i64 %67 to i64*\n store i64 %66, i64* %68, align 8\n %69 = mul i32 %64, 16\n %70 = sext i32 %69 to i64\n %71 = call i64 @FUNC(i64 %70)\n %72 = add i64 %2, 88\n %73 = inttoptr i64 %72 to i64*\n store i64 %71, i64* %73, align 8\n %74 = mul i32 %62, 64\n %75 = add i32 %74, 4096\n %76 = sext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %76)\n %78 = add i64 %2, 96\n %79 = inttoptr i64 %78 to i64*\n store i64 %77, i64* %79, align 8\n %80 = add i32 %62, 128\n %81 = mul i32 %63, 64\n %82 = mul i32 %81, %80\n %83 = sext i32 %82 to i64\n %84 = call i64 @FUNC(i64 %83)\n %85 = add i64 %2, 104\n %86 = inttoptr i64 %85 to i64*\n store i64 %84, i64* %86, align 8\n %87 = call i64 @FUNC(i64 %76)\n %88 = add i64 %2, 112\n %89 = inttoptr i64 %88 to i64*\n store i64 %87, i64* %89, align 8\n %90 = load i64, i64* %68, align 8\n %91 = icmp eq i64 %90, 0\n br i1 %91, label LBL_12, label LBL_9\n LBL_9:\n %92 = load i64, i64* %73, align 8\n %93 = icmp eq i64 %92, 0\n br i1 %93, label LBL_12, label LBL_10\n LBL_10:\n %94 = load i64, i64* %86, align 8\n %95 = icmp eq i64 %94, 0\n br i1 %95, label LBL_12, label LBL_11\n LBL_11:\n %96 = icmp eq i64 %87, 0\n %97 = icmp eq i1 %96, false\n %spec.select9 = select i1 %97, i64 0, i64 4294967284\n ret i64 %spec.select9\n LBL_12:\n ret i64 4294967284\n\n uselistorder i32 %62, { 1, 0 }\n uselistorder i32 %29, { 0, 2, 1 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i32* %7, { 1, 2, 0, 3 }\n uselistorder i32* %3, { 1, 2, 0 }\n uselistorder i64 %2, { 1, 2, 3, 4, 5, 0, 7, 6, 8 }\n uselistorder i32* %storemerge219.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem22, { 0, 2, 1 }\n uselistorder i32* %storemerge6121318.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge710111416.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem24, { 0, 2, 1 }\n uselistorder i64 (i64)* @av_malloc, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i32 64, { 2, 3, 0, 6, 7, 8, 1, 4, 5 }\n uselistorder label LBL_12, { 4, 3, 2, 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_io_channel_command_fifo_2426", "fun_name": "test_io_channel_command_fifo", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %sv_0 = alloca i8*, align 8\n %sv_1 = alloca i8*, align 8\n store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8** %sv_1, align 8\n store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8\n %0 = call i32 @unlink(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0))\n %1 = call i32 @access(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i32 1)\n %2 = icmp slt i32 %1, 0\n store i32 %1, i32* %rax.0.in.reg2mem\n br i1 %2, label LBL_4, label LBL_1\n LBL_1:\n %3 = call i32 @mkfifo(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i32 384)\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n call void @abort()\n unreachable\n LBL_3:\n %6 = bitcast i8** %sv_1 to i64*\n %7 = call i64 @FUNC(i64* nonnull %6, i64 1, i64 4198821)\n %8 = bitcast i8** %sv_0 to i64*\n %9 = call i64 @FUNC(i64* nonnull %8, i64 0, i64 4198821)\n %10 = call i64 @FUNC()\n %11 = trunc i64 %arg1 to i8\n %12 = call i64 @FUNC(i64 %10, i8 %11, i64 %7, i64 %9)\n %13 = call i64 @FUNC(i64 %10)\n %14 = call i64 @FUNC(i64 %7)\n %15 = call i64 @FUNC(i64 %9)\n %16 = call i32 @unlink(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0))\n store i32 %16, i32* %rax.0.in.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = sext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i8** %sv_1, { 1, 0 }\n uselistorder i8** %sv_0, { 1, 0 }\n uselistorder i64 (i64)* @object_unref, { 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @qio_channel_command_new_spawn, { 1, 0 }\n uselistorder i32 (i8*)* @unlink, { 1, 0 }\n uselistorder i32 1, { 3, 5, 4, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "serverLogRaw_9445", "fun_name": "serverLogRaw", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %storemerge7.in.reg2mem = alloca %_IO_FILE*\n %1 = load i128, i128* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %2 = trunc i64 %arg1 to i32\n %3 = urem i32 %2, 256\n %4 = load i32, i32* @gv_0, align 4\n %5 = zext i32 %4 to i64\n %6 = icmp ult i32 %3, %4\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %6, label LBL_15, label LBL_1\n LBL_1:\n %7 = load i8, i8* bitcast (i8** @gv_1 to i8*), align 8\n %8 = icmp eq i8 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call %_IO_FILE* @fopen(i8* bitcast (i8** @gv_1 to i8*), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_2, i64 0, i64 0))\n store %_IO_FILE* %11, %_IO_FILE** %storemerge7.in.reg2mem\n br label LBL_4\n LBL_3:\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n store %_IO_FILE* %12, %_IO_FILE** %storemerge7.in.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge7.in.reload = load %_IO_FILE*, %_IO_FILE** %storemerge7.in.reg2mem\n %storemerge7 = ptrtoint %_IO_FILE* %storemerge7.in.reload to i64\n %13 = icmp eq %_IO_FILE* %storemerge7.in.reload, null\n store i64 %storemerge7, i64* %rax.0.reg2mem\n br i1 %13, label LBL_15, label LBL_5\n LBL_5:\n %14 = urem i32 %2, 2\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_7, label LBL_6\n LBL_6:\n %16 = call i32 @fputs(i8* %arg2, %_IO_FILE* nonnull %storemerge7.in.reload)\n br label LBL_11\n LBL_7:\n %17 = call i32 @getpid()\n %18 = bitcast i64* %sv_2 to %timeval*\n %19 = call i32 @gettimeofday(%timeval* nonnull %18, %timezone* null)\n %20 = bitcast i64* %sv_2 to i32*\n %21 = call %tm* @localtime(i32* nonnull %20)\n %22 = bitcast i64* %sv_1 to i8*\n %23 = call i32 @strftime(i8* nonnull %22, i32 64, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_4, i64 0, i64 0), %tm* %21)\n %24 = trunc i128 %1 to i64\n %25 = icmp slt i64 %24, 0\n %26 = zext i1 %25 to i64\n %27 = sub i32 64, %23\n %28 = sext i32 %23 to i64\n %29 = ptrtoint i64* %sv_1 to i64\n %30 = add i64 %28, %29\n %31 = urem i64 %26, 2\n %32 = inttoptr i64 %30 to i8*\n %33 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %32, i32 %27, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_5, i64 0, i64 0), i64 %31)\n %34 = load i32, i32* @gv_6, align 4\n %35 = icmp eq i32 %34, 0\n store i8 88, i8* %sv_0.0.reg2mem\n br i1 %35, label LBL_8, label LBL_10\n LBL_8:\n %36 = load i32, i32* @gv_7, align 4\n %37 = icmp eq i32 %17, %36\n store i8 67, i8* %sv_0.0.reg2mem\n br i1 %37, label LBL_9, label LBL_10\n LBL_9:\n %38 = load i64, i64* @gv_8, align 8\n %39 = icmp eq i64 %38, 0\n %. = select i1 %39, i8 77, i8 83\n store i8 %., i8* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %40 = zext i32 %3 to i64\n %41 = add i64 %40, ptrtoint ([5 x i8]* @gv_9 to i64)\n %42 = inttoptr i64 %41 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = call i32 @getpid()\n %45 = zext i32 %44 to i64\n %46 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* nonnull %storemerge7.in.reload, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_10, i64 0, i64 0), i64 %45, i8 %sv_0.0.reload, i64* nonnull %sv_1, i8 %43, i8* %arg2)\n br label LBL_11\n LBL_11:\n %47 = call i32 @fflush(%_IO_FILE* nonnull %storemerge7.in.reload)\n br i1 %10, label LBL_13, label LBL_12\n LBL_12:\n %48 = call i32 @fclose(%_IO_FILE* nonnull %storemerge7.in.reload)\n br label LBL_13\n LBL_13:\n %49 = load i32, i32* @gv_11, align 4\n %50 = icmp eq i32 %49, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %50, label LBL_15, label LBL_14\n LBL_14:\n %51 = ptrtoint i64* %sv_3 to i64\n %52 = mul i32 %3, 4\n %53 = zext i32 %52 to i64\n %54 = add nsw i64 %53, -80\n %55 = add i64 %54, %51\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n call void (i32, i8*, ...) @syslog(i32 %57, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_12, i64 0, i64 0), i8* %arg2)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %23, { 1, 0 }\n uselistorder %_IO_FILE* %storemerge7.in.reload, { 5, 4, 3, 2, 1, 0 }\n uselistorder i32 %3, { 0, 2, 1 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %sv_1, { 0, 2, 1 }\n uselistorder %_IO_FILE** %storemerge7.in.reg2mem, { 0, 2, 1 }\n uselistorder i8* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_15, { 2, 3, 0, 1 }\n uselistorder label LBL_10, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "padb_Write_9664", "fun_name": "padb_Write", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = call i64 @FUNC(i64 %arg1, i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = and i64 %3, 4294967295\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_2:\n %7 = trunc i64 %1 to i32\n %8 = and i64 %1, 4294967295\n %9 = call i64 @FUNC(i64 %2, i64 %8, i64 32)\n %10 = icmp eq i32 %7, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_8, label LBL_3\n LBL_3:\n %11 = add i64 %arg1, 8\n %12 = inttoptr i64 %11 to i64*\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %13 = call i64 @FUNC(i64 %2, i64 0, i64 1)\n %14 = or i32 %storemerge12.reload, 1\n %15 = icmp ult i32 %14, %7\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %17 = load i64, i64* %12, align 8\n %18 = zext i32 %14 to i64\n %19 = mul i64 %18, 4\n %20 = add i64 %17, %19\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = zext i32 %22 to i64\n %24 = call i64 @FUNC(i64 %2, i64 %23, i64 3)\n br label LBL_7\n LBL_6:\n %25 = call i64 @FUNC(i64 %2, i64 0, i64 3)\n br label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %2, i64 0, i64 1)\n %27 = load i64, i64* %12, align 8\n %28 = zext i32 %storemerge12.reload to i64\n %29 = mul i64 %28, 4\n %30 = add i64 %27, %29\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = zext i32 %32 to i64\n %34 = call i64 @FUNC(i64 %2, i64 %33, i64 3)\n %35 = add i32 %storemerge12.reload, 2\n %36 = icmp ult i32 %35, %7\n store i32 %35, i32* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %36, label LBL_4, label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %storemerge12.reload, { 1, 2, 0 }\n uselistorder i32 %7, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge12.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64, i64)* @gf_bs_write_int, { 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_pty_2519", "fun_name": "qemu_chr_open_pty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i32, align 4\n %0 = call i32 @openpty(i32* nonnull %sv_1, i32* nonnull %sv_2, i8* null, %termios* null, %winsize* null)\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i32* @__errno_location()\n %4 = load i32, i32* %3, align 4\n %5 = sub i32 0, %4\n %6 = zext i32 %5 to i64\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = load i32, i32* %sv_2, align 4\n %9 = bitcast i64* %sv_0 to %termios*\n %10 = call i32 @tcgetattr(i32 %8, %termios* nonnull %9)\n call void @cfmakeraw(%termios* nonnull %9)\n %11 = load i32, i32* %sv_2, align 4\n %12 = call i32 @tcsetattr(i32 %11, i32 2, %termios* nonnull %9)\n %13 = load i32, i32* %sv_2, align 4\n %14 = call i32 @close(i32 %13)\n %15 = call i64 @FUNC(i64 40)\n %16 = load i32, i32* %sv_1, align 4\n %17 = call i8* @ptsname(i32 %16)\n %18 = call i32 @strlen(i8* %17)\n %19 = add i32 %18, 5\n %20 = sext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = inttoptr i64 %15 to i64*\n store i64 %21, i64* %22, align 8\n %23 = load i32, i32* %sv_1, align 4\n %24 = call i8* @ptsname(i32 %23)\n %25 = load i64, i64* %22, align 8\n %26 = inttoptr i64 %25 to i8*\n %27 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %26, i32 %19, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* %24)\n %28 = load i32, i32* %sv_1, align 4\n %29 = call i8* @ptsname(i32 %28)\n %30 = ptrtoint i8* %29 to i64\n %sext = mul i64 %30, 4294967296\n %31 = ashr exact i64 %sext, 32\n %32 = call i64 @FUNC(i64 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %31)\n %33 = load i32, i32* %sv_1, align 4\n %34 = call i8* @ptsname(i32 %33)\n %35 = load %_IO_FILE*, %_IO_FILE** @gv_2, align 8\n %36 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %35, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i8* %34)\n %37 = call i64 @FUNC(i64 16)\n %38 = add i64 %15, 8\n %39 = inttoptr i64 %38 to i64*\n store i64 %37, i64* %39, align 8\n %40 = add i64 %15, 16\n %41 = inttoptr i64 %40 to i64*\n store i64 4198993, i64* %41, align 8\n %42 = add i64 %15, 24\n %43 = inttoptr i64 %42 to i64*\n store i64 4199000, i64* %43, align 8\n %44 = add i64 %15, 32\n %45 = inttoptr i64 %44 to i64*\n store i64 4199007, i64* %45, align 8\n %46 = load i32, i32* %sv_1, align 4\n %47 = inttoptr i64 %37 to i32*\n store i32 %46, i32* %47, align 4\n %48 = load i64, i64* @gv_4, align 8\n %49 = call i64 @FUNC(i64 %48, i64 4199037, i64 %15)\n %50 = add i64 %37, 8\n %51 = inttoptr i64 %50 to i64*\n store i64 %49, i64* %51, align 8\n store i64 %15, i64* %arg2, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_2, { 2, 1, 0, 3 }\n uselistorder i32* %sv_1, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i8* (i32)* @ptsname, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @g_malloc0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_register_shashes_10301", "fun_name": "crypto_register_shashes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i64\n %storemerge36.reg2mem = alloca i32\n %storemerge7.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = icmp sgt i32 %1, 0\n store i32 0, i32* %storemerge7.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %2, label LBL_1, label LBL_7\n LBL_1:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_4\n LBL_2:\n %7 = icmp eq i32 %storemerge7.reload, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_6\n LBL_3:\n %storemerge35 = add nsw i32 %storemerge7.reload, -1\n store i32 %storemerge35, i32* %storemerge36.reg2mem\n br label LBL_5\n LBL_4:\n %9 = add nuw nsw i32 %storemerge7.reload, 1\n %10 = icmp slt i32 %9, %1\n store i32 %9, i32* %storemerge7.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %10, label LBL_1, label LBL_7\n LBL_5:\n %storemerge36.reload = load i32, i32* %storemerge36.reg2mem\n %11 = call i64 @FUNC(i64 %0)\n %storemerge3 = add i32 %storemerge36.reload, -1\n %12 = icmp slt i32 %storemerge3, 0\n %13 = icmp eq i1 %12, false\n store i32 %storemerge3, i32* %storemerge36.reg2mem\n br i1 %13, label LBL_5, label LBL_6\n LBL_6:\n %14 = and i64 %3, 4294967295\n store i64 %14, i64* %storemerge2.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %1, { 1, 0 }\n uselistorder i32* %storemerge7.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge36.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i32 0, { 3, 1, 4, 0, 2 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bta_av_disable_10456", "fun_name": "bta_av_disable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i16\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i16, align 2\n %1 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %1, align 1\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 8\n %4 = call i64 @FUNC(i64 %3)\n store i16 0, i16* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %5 = mul i32 %storemerge2.reload, 8\n %narrow = and i32 %5, 524280\n %6 = add nuw nsw i32 %narrow, 32\n %7 = zext i32 %6 to i64\n %8 = add i64 %7, %0\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %.reload = load i16, i16* %.reg2mem\n %12 = add i16 %.reload, 1\n store i16 %12, i16* %sv_0, align 2\n %13 = call i64 @FUNC(i16* nonnull %sv_0)\n br label LBL_3\n LBL_3:\n %14 = mul i32 %storemerge2.reload, 65536\n %sext = add i32 %14, 65536\n %15 = ashr exact i32 %sext, 16\n %16 = trunc i32 %15 to i16\n %17 = icmp ult i16 %16, 10\n store i16 %16, i16* %.reg2mem\n store i32 %15, i32* %storemerge2.reg2mem\n br i1 %17, label LBL_1, label LBL_4\n LBL_4:\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n store i64 0, i64* %19, align 8\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24)\n store i64 0, i64* %23, align 8\n ret i64 %0\n\n uselistorder i32 %storemerge2.reload, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4, 5 }\n uselistorder i16* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @alarm_free, { 1, 0 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_or_18658", "fun_name": "gen_or", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.1.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %3 = ptrtoint i64* %sv_4 to i64\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = call i64 @FUNC(i64 %4)\n %8 = trunc i64 %7 to i32\n %9 = call i64 @FUNC(i64 %4)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %6, %8\n %12 = icmp eq i32 %6, %10\n %or.cond = icmp eq i1 %11, %12\n br i1 %or.cond, label LBL_6, label LBL_1\n LBL_1:\n %13 = bitcast i64* %sv_3 to i8*\n call void @FUNC(i8* nonnull %13, i64 0, i64 16)\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %sext = mul i64 %9, 4294967296\n %14 = ashr exact i64 %sext, 30\n %15 = add i64 %3, -160\n %16 = add i64 %15, %14\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = bitcast i64* %sv_2 to i8*\n call void @FUNC(i8* nonnull %19, i64 0, i64 16)\n %sext1 = mul i64 %5, 4294967296\n %20 = ashr exact i64 %sext1, 30\n %21 = add i64 %3, -288\n %22 = add i64 %21, %20\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = bitcast i64* %sv_1 to i8*\n call void @FUNC(i8* nonnull %26, i64 0, i64 16)\n %sext2 = mul i64 %7, 4294967296\n %27 = ashr exact i64 %sext2, 30\n %28 = add i64 %3, -416\n %29 = add i64 %28, %27\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = zext i32 %18 to i64\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %25, i64 %32)\n br label LBL_4\n LBL_3:\n %sext4 = mul i64 %5, 4294967296\n %35 = ashr exact i64 %sext4, 30\n %36 = add i64 %3, -160\n %37 = add i64 %36, %35\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = zext i32 %39 to i64\n %41 = bitcast i64* %sv_2 to i8*\n call void @FUNC(i8* nonnull %41, i64 0, i64 16)\n %sext5 = mul i64 %7, 4294967296\n %42 = ashr exact i64 %sext5, 30\n %43 = add i64 %3, -288\n %44 = add i64 %43, %42\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %47, i64 %40)\n br label LBL_4\n LBL_4:\n %49 = call i64 @FUNC(i64 %4)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n %53 = zext i1 %52 to i64\n %54 = call i64 @FUNC(i64 %53)\n %55 = trunc i64 %54 to i32\n %56 = icmp eq i32 %55, 0\n store i64 %54, i64* %rax.1.reg2mem\n br i1 %56, label LBL_16, label LBL_5\n LBL_5:\n call void @FUNC(i8* nonnull %13, i64 0, i64 16)\n %sext3 = mul i64 %7, 4294967296\n %57 = ashr exact i64 %sext3, 30\n %58 = add i64 %3, -160\n %59 = add i64 %58, %57\n %60 = inttoptr i64 %59 to i32*\n %61 = load i32, i32* %60, align 4\n %62 = zext i32 %61 to i64\n %63 = call i64 @FUNC(i64 %2, i64 %62)\n store i64 %63, i64* %rax.1.reg2mem\n br label LBL_16\n LBL_6:\n %64 = call i64 @FUNC(i64 %4)\n %65 = trunc i64 %64 to i32\n %66 = icmp eq i32 %65, 0\n %67 = icmp eq i1 %66, false\n %68 = zext i1 %67 to i64\n %69 = call i64 @FUNC(i64 %68)\n %70 = trunc i64 %69 to i32\n %71 = icmp eq i32 %70, 0\n br i1 %71, label LBL_8, label LBL_7\n LBL_7:\n %72 = bitcast i64* %sv_3 to i8*\n call void @FUNC(i8* nonnull %72, i64 0, i64 16)\n %sext6 = mul i64 %5, 4294967296\n %73 = ashr exact i64 %sext6, 30\n %74 = add i64 %3, -160\n %75 = add i64 %74, %73\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = zext i32 %77 to i64\n %79 = call i64 @FUNC(i64 %2, i64 %78)\n store i64 %79, i64* %rax.1.reg2mem\n br label LBL_16\n LBL_8:\n %80 = and i64 %5, 4294967295\n store i64 %80, i64* @0, align 8\n %81 = mul i64 %80, 8\n %82 = add i64 %81, ptrtoint (i64* @gv_0 to i64)\n %83 = inttoptr i64 %82 to i64*\n %84 = load i64, i64* %83, align 8\n store i64 2251799813685248, i64* %sv_0.0.ph.reg2mem\n store i64 %84, i64* %rax.1.reg2mem\n switch i32 %6, label LBL_16 [\n i32 1, label LBL_15\n i32 2, label LBL_10\n i32 3, label LBL_13\n i32 5, label LBL_12\n i32 6, label LBL_9\n i32 7, label LBL_14\n i32 31, label LBL_11\n ]\n LBL_9:\n store i64 3377699720527872, i64* %sv_0.0.ph.reg2mem\n br label LBL_15\n LBL_10:\n store i64 4503599627370496, i64* %sv_0.0.ph.reg2mem\n br label LBL_15\n LBL_11:\n %85 = add i64 %2, 4\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = zext i32 %87 to i64\n %89 = icmp eq i32 %87, 0\n %90 = icmp eq i1 %89, false\n store i64 1125899906842624, i64* %sv_0.0.ph.reg2mem\n store i64 %88, i64* %rax.1.reg2mem\n br i1 %90, label LBL_16, label LBL_15\n LBL_12:\n %91 = add i64 %2, 4\n %92 = inttoptr i64 %91 to i32*\n %93 = load i32, i32* %92, align 4\n %94 = zext i32 %93 to i64\n %95 = icmp eq i32 %93, 0\n %96 = icmp eq i1 %95, false\n store i64 5629499534213120, i64* %sv_0.0.ph.reg2mem\n store i64 %94, i64* %rax.1.reg2mem\n br i1 %96, label LBL_16, label LBL_15\n LBL_13:\n %97 = add i64 %2, 4\n %98 = inttoptr i64 %97 to i32*\n %99 = load i32, i32* %98, align 4\n %100 = zext i32 %99 to i64\n %101 = icmp eq i32 %99, 0\n %102 = icmp eq i1 %101, false\n store i64 6755399441055744, i64* %sv_0.0.ph.reg2mem\n store i64 %100, i64* %rax.1.reg2mem\n br i1 %102, label LBL_16, label LBL_15\n LBL_14:\n %103 = add i64 %2, 8\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = icmp eq i32 %105, 0\n store i64 7881299347898368, i64* %sv_0.0.ph.reg2mem\n store i64 0, i64* %rax.1.reg2mem\n br i1 %106, label LBL_16, label LBL_15\n LBL_15:\n %sv_0.0.ph.reload = load i64, i64* %sv_0.0.ph.reg2mem\n %107 = call i64 @FUNC()\n %108 = and i64 %107, 4294967295\n %109 = call i64 @FUNC(i64 %108, i64 0)\n %110 = call i64 @FUNC(i64 %108, i64 %108, i64 -7881299347898369)\n %111 = call i64 @FUNC(i64 %108, i64 %108, i64 %sv_0.0.ph.reload)\n %112 = call i64 @FUNC(i64 0, i64 %108)\n %113 = call i64 @FUNC(i64 %108)\n store i64 %113, i64* %rax.1.reg2mem\n br label LBL_16\n LBL_16:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %108, { 0, 1, 3, 2, 5, 4, 6 }\n uselistorder i1 %12, { 1, 0 }\n uselistorder i32 %6, { 1, 0, 2 }\n uselistorder i64 %5, { 3, 0, 1, 2, 4 }\n uselistorder i64 %4, { 4, 3, 2, 1, 0 }\n uselistorder i64 %3, { 0, 4, 5, 6, 1, 2, 3 }\n uselistorder i64 %2, { 3, 1, 2, 4, 0, 5 }\n uselistorder i64* %sv_0.0.ph.reg2mem, { 0, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %rax.1.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6, 8, 9 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64, i64)* @gen_set_Rc0, { 1, 0 }\n uselistorder i64 (i64)* @unlikely, { 1, 0 }\n uselistorder i64 (i64)* @Rc, { 1, 0 }\n uselistorder i64 30, { 0, 3, 1, 2, 4, 5, 6 }\n uselistorder void (i8*, i64, i64)* @__asm_rep_stosq_memset, { 0, 1, 2, 4, 5, 3 }\n uselistorder i64 16, { 0, 1, 2, 4, 5, 3 }\n uselistorder i64 4294967295, { 2, 1, 0, 3 }\n uselistorder label LBL_16, { 5, 0, 1, 2, 3, 4, 6, 7, 8 }\n uselistorder label LBL_15, { 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "t_tob64_10291", "fun_name": "t_tob64", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.4.reg2mem = alloca i8\n %sv_1.4.reg2mem = alloca i64\n %sv_1.314.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %sv_0.2.reg2mem = alloca i1\n %sv_1.2.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i1\n %sv_1.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_5.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.ph.reg2mem = alloca i32\n %sv_3.0.ph.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %narrow = mul nsw i64 %3, 1431655766\n %4 = udiv i64 %narrow, 4294967296\n %5 = trunc i64 %arg3 to i32\n %6 = ashr i32 %5, 31\n %7 = trunc i64 %4 to i32\n %8 = sub i32 %7, %6\n %9 = mul i32 %8, -3\n %10 = add i32 %9, %5\n %11 = trunc i64 %1 to i8\n store i32 0, i32* %sv_3.0.ph.reg2mem\n store i32 0, i32* %sv_2.0.ph.reg2mem\n switch i32 %10, label LBL_3 [\n i32 1, label LBL_1\n i32 2, label LBL_2\n ]\n LBL_1:\n %12 = sext i8 %11 to i32\n store i32 0, i32* %sv_3.0.ph.reg2mem\n store i32 %12, i32* %sv_2.0.ph.reg2mem\n br label LBL_3\n LBL_2:\n %13 = sext i8 %11 to i32\n %14 = add i64 %2, 1\n %15 = inttoptr i64 %14 to i8*\n %16 = load i8, i8* %15, align 1\n %17 = sext i8 %16 to i32\n store i32 %13, i32* %sv_3.0.ph.reg2mem\n store i32 %17, i32* %sv_2.0.ph.reg2mem\n br label LBL_3\n LBL_3:\n %18 = ptrtoint i64* %arg1 to i64\n %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem\n %sv_3.0.ph.reload = load i32, i32* %sv_3.0.ph.reg2mem\n %19 = trunc i64 %3 to i32\n store i64 %18, i64* %sv_1.0.reg2mem\n store i32 %10, i32* %sv_5.0.reg2mem\n store i32 0, i32* %sv_4.0.reg2mem\n store i32 %sv_3.0.ph.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_2.0.ph.reload, i32* %sv_2.0.reg2mem\n store i8 0, i8* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %20 = udiv i32 %sv_4.0.reload, 4\n %21 = urem i32 %20, 64\n %22 = icmp eq i8 %sv_0.0.reload, 0\n %23 = icmp eq i32 %21, 0\n %or.cond = icmp eq i1 %23, %22\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i1 true, i1* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %24 = add i64 %sv_1.0.reload, 1\n %25 = zext i32 %21 to i64\n %26 = add i64 %25, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = inttoptr i64 %sv_1.0.reload to i8*\n store i8 %28, i8* %29, align 1\n store i64 %24, i64* %sv_1.1.reg2mem\n store i1 false, i1* %sv_0.1.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.1.reload = load i1, i1* %sv_0.1.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %30 = mul i32 %sv_4.0.reload, 16\n %31 = and i32 %30, 48\n %32 = udiv i32 %sv_3.0.reload, 16\n %33 = urem i32 %32, 16\n %34 = or i32 %33, %31\n %35 = icmp eq i32 %34, 0\n %or.cond8 = icmp eq i1 %35, %sv_0.1.reload\n store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem\n store i1 true, i1* %sv_0.2.reg2mem\n br i1 %or.cond8, label LBL_8, label LBL_7\n LBL_7:\n %36 = add i64 %sv_1.1.reload, 1\n %37 = zext i32 %34 to i64\n %38 = add i64 %37, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %39 = inttoptr i64 %38 to i8*\n %40 = load i8, i8* %39, align 1\n %41 = inttoptr i64 %sv_1.1.reload to i8*\n store i8 %40, i8* %41, align 1\n store i64 %36, i64* %sv_1.2.reg2mem\n store i1 false, i1* %sv_0.2.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.2.reload = load i1, i1* %sv_0.2.reg2mem\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %42 = mul i32 %sv_3.0.reload, 4\n %43 = and i32 %42, 60\n %44 = udiv i32 %sv_2.0.reload, 64\n %45 = urem i32 %44, 4\n %46 = or i32 %45, %43\n %47 = icmp eq i32 %46, 0\n %or.cond10 = icmp eq i1 %47, %sv_0.2.reload\n br i1 %or.cond10, label LBL_10, label LBL_9\n LBL_9:\n %48 = add i64 %sv_1.2.reload, 1\n %49 = zext i32 %46 to i64\n %50 = add i64 %49, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %51 = inttoptr i64 %50 to i8*\n %52 = load i8, i8* %51, align 1\n %53 = inttoptr i64 %sv_1.2.reload to i8*\n store i8 %52, i8* %53, align 1\n %54 = urem i32 %sv_2.0.reload, 64\n store i32 %54, i32* %.reg2mem\n store i64 %48, i64* %sv_1.314.reg2mem\n br label LBL_11\n LBL_10:\n %55 = urem i32 %sv_2.0.reload, 64\n %56 = icmp eq i32 %55, 0\n store i32 %55, i32* %.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.314.reg2mem\n store i64 %sv_1.2.reload, i64* %sv_1.4.reg2mem\n store i8 0, i8* %sv_0.4.reg2mem\n br i1 %56, label LBL_12, label LBL_11\n LBL_11:\n %sv_1.314.reload = load i64, i64* %sv_1.314.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %57 = add i64 %sv_1.314.reload, 1\n %58 = zext i32 %.reload to i64\n %59 = add i64 %58, ptrtoint ([64 x i8]* @B64EncodeTable_at_402020 to i64)\n %60 = inttoptr i64 %59 to i8*\n %61 = load i8, i8* %60, align 1\n %62 = inttoptr i64 %sv_1.314.reload to i8*\n store i8 %61, i8* %62, align 1\n store i64 %57, i64* %sv_1.4.reg2mem\n store i8 1, i8* %sv_0.4.reg2mem\n br label LBL_12\n LBL_12:\n %sv_1.4.reload = load i64, i64* %sv_1.4.reg2mem\n %63 = icmp slt i32 %sv_5.0.reload, %19\n br i1 %63, label LBL_13, label LBL_14\n LBL_13:\n %sv_0.4.reload = load i8, i8* %sv_0.4.reg2mem\n %64 = add i32 %sv_5.0.reload, 1\n %65 = sext i32 %sv_5.0.reload to i64\n %66 = add i64 %65, %2\n %67 = inttoptr i64 %66 to i8*\n %68 = load i8, i8* %67, align 1\n %69 = sext i8 %68 to i32\n %70 = add i32 %sv_5.0.reload, 2\n %71 = sext i32 %64 to i64\n %72 = add i64 %71, %2\n %73 = inttoptr i64 %72 to i8*\n %74 = load i8, i8* %73, align 1\n %75 = sext i8 %74 to i32\n %76 = add i32 %sv_5.0.reload, 3\n %77 = sext i32 %70 to i64\n %78 = add i64 %77, %2\n %79 = inttoptr i64 %78 to i8*\n %80 = load i8, i8* %79, align 1\n %81 = sext i8 %80 to i32\n store i64 %sv_1.4.reload, i64* %sv_1.0.reg2mem\n store i32 %76, i32* %sv_5.0.reg2mem\n store i32 %69, i32* %sv_4.0.reg2mem\n store i32 %75, i32* %sv_3.0.reg2mem\n store i32 %81, i32* %sv_2.0.reg2mem\n store i8 %sv_0.4.reload, i8* %sv_0.0.reg2mem\n br label LBL_4\n LBL_14:\n %82 = inttoptr i64 %sv_1.4.reload to i8*\n store i8 0, i8* %82, align 1\n ret i64 %18\n\n uselistorder i64 %sv_1.314.reload, { 1, 0 }\n uselistorder i64 %sv_1.2.reload, { 0, 1, 3, 2 }\n uselistorder i64 %sv_1.1.reload, { 2, 1, 0 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 2, 1, 0 }\n uselistorder i32 %sv_5.0.reload, { 3, 2, 1, 0, 4 }\n uselistorder i32 %sv_4.0.reload, { 1, 0 }\n uselistorder i32 %sv_3.0.reload, { 1, 0 }\n uselistorder i32 %sv_2.0.reload, { 2, 1, 0 }\n uselistorder i64 %18, { 1, 0 }\n uselistorder i8 %11, { 1, 0 }\n uselistorder i32* %sv_3.0.ph.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32* %sv_2.0.ph.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.0.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i32 16, { 2, 1, 0 }\n uselistorder i32 4, { 1, 0, 2 }\n uselistorder i8 0, { 2, 0, 3, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 0, { 4, 5, 6, 7, 0, 2, 1, 3 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ValidateEntities_8381", "fun_name": "ValidateEntities", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %.lcssa10.reg2mem = alloca i64*\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_0.0.be.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i8*\n %1 = inttoptr i64 %arg3 to i64*\n store i64 %arg2, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_1:\n %2 = add i64 %sv_0.0.reload, 1\n store i64 %2, i64* %sv_0.0.be.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.be.reload = load i64, i64* %sv_0.0.be.reg2mem\n store i64 %sv_0.0.be.reload, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %3 = inttoptr i64 %sv_0.0.reload to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp ne i8 %4, 0\n %6 = icmp eq i8 %4, 38\n %7 = icmp eq i1 %6, false\n %or.cond = icmp eq i1 %5, %7\n br i1 %or.cond, label LBL_1, label LBL_4\n LBL_4:\n %8 = icmp eq i8 %4, 0\n %9 = icmp eq i1 %8, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %9, label LBL_5, label LBL_12\n LBL_5:\n %10 = call i32 @strlen(i8* %0)\n %11 = add i64 %sv_0.0.reload, 1\n %12 = inttoptr i64 %11 to i8*\n %13 = call i32 @strncmp(i8* %12, i8* %0, i32 %10)\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_6, label LBL_12\n LBL_6:\n %16 = load i64, i64* %1, align 8\n %17 = icmp eq i64 %16, 0\n store i64 %11, i64* %sv_0.0.be.reg2mem\n br i1 %17, label LBL_2, label LBL_7\n LBL_7:\n %18 = inttoptr i64 %16 to i8*\n %19 = call i32 @strlen(i8* %18)\n %20 = load i64, i64* %1, align 8\n %21 = inttoptr i64 %20 to i8*\n %22 = call i32 @strncmp(i8* %21, i8* %12, i32 %19)\n %23 = icmp eq i32 %22, 0\n store i64 2, i64* %.reg2mem\n store i64* %1, i64** %.lcssa10.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %23, label LBL_8, label LBL_10\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %24 = mul i64 %.reload, 8\n %25 = add i64 %24, %arg3\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n store i64 %11, i64* %sv_0.0.be.reg2mem\n br i1 %28, label LBL_2, label LBL_9\n LBL_9:\n %29 = inttoptr i64 %27 to i8*\n %30 = call i32 @strlen(i8* %29)\n %31 = load i64, i64* %26, align 8\n %32 = inttoptr i64 %31 to i8*\n %33 = call i32 @strncmp(i8* %32, i8* %12, i32 %30)\n %34 = icmp eq i32 %33, 0\n %35 = add i64 %.reload, 2\n store i64 %35, i64* %.reg2mem\n store i64* %26, i64** %.lcssa10.reg2mem\n store i64 %24, i64* %.lcssa.reg2mem\n br i1 %34, label LBL_8, label LBL_10\n LBL_10:\n %.lcssa10.reload = load i64*, i64** %.lcssa10.reg2mem\n %.pr = load i64, i64* %.lcssa10.reload, align 8\n %36 = icmp eq i64 %.pr, 0\n store i64 %11, i64* %sv_0.0.be.reg2mem\n br i1 %36, label LBL_2, label LBL_11\n LBL_11:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %37 = or i64 %.lcssa.reload, 8\n %38 = add i64 %37, %arg3\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %arg1, i64 %40, i64 %arg3)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %11, i64* %sv_0.0.be.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %44, label LBL_2, label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %12, { 1, 0, 2 }\n uselistorder i64 %11, { 2, 1, 0, 3, 4 }\n uselistorder i64 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i64* %sv_0.0.be.reg2mem, { 3, 2, 1, 4, 0, 5 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 2, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 2, 0, 1 }\n uselistorder i32 (i8*)* @strlen, { 1, 0, 2 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 %arg3, { 3, 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_2, { 2, 1, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_vbv_update_1166", "fun_name": "ff_vbv_update", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i32*\n %6 = call i128 @FUNC(i64 %3)\n %7 = call i64 @FUNC(i128 %6)\n %8 = trunc i64 %2 to i32\n %9 = add i64 %3, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i128 @FUNC(i64 %11)\n %13 = call i128 @FUNC(i128 %12, i64 %7)\n %14 = call i64 @__asm_movsd.1(i128 %13)\n %15 = inttoptr i64 %4 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i128 @FUNC(i64 %16)\n %18 = call i128 @FUNC(i128 %17, i64 %7)\n %19 = call i64 @__asm_movsd.1(i128 %18)\n %20 = load i32, i32* %5, align 4\n %21 = zext i32 %20 to i64\n %22 = call i128 @FUNC(i64 %19)\n %23 = and i64 %2, 4294967295\n %24 = call i128 @FUNC(i128 %22)\n %25 = call i128 @__asm_movq.2(i64 %14)\n %26 = and i64 %arg2, 4294967295\n %27 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %23, i64 %21, i64 %26, i64 %1)\n %28 = icmp eq i32 %8, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_11, label LBL_1\n LBL_1:\n %29 = load i32, i32* %5, align 4\n %30 = trunc i64 %arg2 to i32\n %31 = sub i32 %29, %30\n store i32 %31, i32* %5, align 4\n %32 = icmp slt i32 %31, 0\n %33 = icmp eq i1 %32, false\n store i32 %31, i32* %.reg2mem\n br i1 %33, label LBL_6, label LBL_2\n LBL_2:\n %34 = sext i64 %19 to i128\n %35 = icmp eq i32 %31, 0\n %36 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %21, i64 %26, i64 %1)\n %37 = call i128 @FUNC(i128 %25, i128 %25)\n %38 = call i128 @FUNC(i32 %30)\n call void @FUNC(i128 %38, i128 %34)\n br i1 %35, label LBL_5, label LBL_3\n LBL_3:\n %39 = inttoptr i64 %9 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i64 %3, 24\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = icmp eq i32 %40, %43\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_5, label LBL_4\n LBL_4:\n %46 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @gv_2, i64 0, i64 0), i64 %21, i64 %26, i64 %1)\n br label LBL_5\n LBL_5:\n store i32 0, i32* %5, align 4\n store i32 0, i32* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %47 = sub i32 0, %.reload\n %48 = sub i32 %47, 1\n %49 = add i32 %48, %8\n %50 = call i128 @FUNC(i64 %19)\n %51 = call i128 @FUNC(i128 %50)\n %52 = call i128 @__asm_movq.2(i64 %14)\n %53 = zext i32 %49 to i64\n %54 = call i64 @FUNC(i64 %53)\n %55 = trunc i64 %54 to i32\n %56 = load i32, i32* %5, align 4\n %57 = add i32 %56, %55\n store i32 %57, i32* %5, align 4\n %58 = zext i32 %57 to i64\n %sext = mul i64 %2, 4294967296\n %59 = ashr exact i64 %sext, 32\n %60 = icmp slt i64 %59, %58\n store i64 0, i64* %storemerge.reg2mem\n br i1 %60, label LBL_7, label LBL_11\n LBL_7:\n %61 = sub i32 %57, %8\n %62 = sdiv i32 %61, 128\n %63 = call i128 @FUNC(i128 %52, i128 %52)\n %64 = call i128 @FUNC(i32 %62)\n %65 = call i32 @FUNC(i128 %64)\n %66 = icmp sgt i32 %65, 3\n store i32 %65, i32* %sv_0.0.reg2mem\n br i1 %66, label LBL_9, label LBL_8\n LBL_8:\n %67 = add i64 %3, 12\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = icmp eq i32 %69, 1\n %71 = icmp eq i1 %70, false\n %spec.select = select i1 %71, i32 %65, i32 4\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %72 = load i32, i32* %5, align 4\n %73 = mul i32 %sv_0.0.reload, 8\n %74 = sub i32 %72, %73\n store i32 %74, i32* %5, align 4\n %75 = add nuw nsw i64 %53, 28\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = urem i32 %77, 2\n %79 = icmp eq i32 %78, 0\n %.pre = zext i32 %sv_0.0.reload to i64\n store i64 %.pre, i64* %storemerge.reg2mem\n br i1 %79, label LBL_11, label LBL_10\n LBL_10:\n %80 = call i64 @FUNC(i64 %53, i64 1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i64 %.pre, i64 %26, i64 %1)\n store i64 %.pre, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %.pre, { 1, 2, 0 }\n uselistorder i32 %65, { 1, 0, 2 }\n uselistorder i64 %53, { 1, 0, 2 }\n uselistorder i128 %52, { 1, 0 }\n uselistorder i32 %31, { 1, 0, 2, 3 }\n uselistorder i64 %26, { 2, 0, 1, 3 }\n uselistorder i128 %25, { 1, 0 }\n uselistorder i32 %8, { 2, 0, 1 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i32* %5, { 2, 1, 4, 3, 0, 6, 5, 7 }\n uselistorder i64 %3, { 3, 1, 2, 0, 4, 5, 6, 7 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 2, 1, 0 }\n uselistorder i32 0, { 2, 1, 0, 3, 5, 4, 6 }\n uselistorder label LBL_11, { 1, 0, 3, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dissect_log_12276", "fun_name": "dissect_log", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %0, i64 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0))\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 2\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 0, i64 1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0))\n store i64 %10, i64* %storemerge1.reg2mem\n br label LBL_7\n LBL_2:\n %11 = ptrtoint i64* %sv_1 to i64\n %12 = call i64 @FUNC(i64 %1)\n %13 = trunc i64 %12 to i32\n %14 = icmp ult i32 %13, 255\n %spec.select = select i1 %14, i32 %13, i32 255\n %15 = zext i32 %spec.select to i64\n %16 = call i64 @FUNC(i64 %1, i64* nonnull %sv_0, i64 0, i64 %15)\n %17 = add i64 %11, -288\n %18 = add i64 %17, %15\n %19 = inttoptr i64 %18 to i8*\n store i8 0, i8* %19, align 1\n %20 = add nsw i32 %spec.select, -1\n %21 = zext i32 %20 to i64\n %22 = add i64 %17, %21\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = icmp eq i8 %24, 10\n %26 = icmp eq i1 %25, false\n br i1 %26, label LBL_4, label LBL_3\n LBL_3:\n store i8 0, i8* %23, align 1\n br label LBL_6\n LBL_4:\n %27 = add nsw i32 %spec.select, -2\n %28 = zext i32 %27 to i64\n %29 = add i64 %17, %28\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = icmp eq i8 %31, 10\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_6, label LBL_5\n LBL_5:\n store i8 0, i8* %30, align 1\n br label LBL_6\n LBL_6:\n %34 = ptrtoint i64* %sv_0 to i64\n %35 = call i64 @FUNC(i64 %34, i64 1, i64* nonnull %sv_0)\n store i64 %35, i64* %storemerge1.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %36 = icmp eq i64* %arg3, null\n store i64 %storemerge1.reload, i64* %rax.0.reg2mem\n br i1 %36, label LBL_11, label LBL_8\n LBL_8:\n %37 = ptrtoint i64* %arg3 to i64\n %38 = call i64 @FUNC(i64 %37, i64 1, i64 %1, i64 0, i64 4294967295, i64 0)\n %39 = call i64 @FUNC(i64 %38, i64 2)\n %40 = load i64, i64* %4, align 8\n %41 = inttoptr i64 %40 to i32*\n %42 = load i32, i32* %41, align 4\n %43 = icmp eq i32 %42, 2\n %44 = icmp eq i1 %43, false\n br i1 %44, label LBL_10, label LBL_9\n LBL_9:\n %45 = call i64 @FUNC(i64 %39, i64 3, i64 %1, i64 0, i64 0, i64 0)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %46 = call i64 @FUNC(i64 %39, i64 4, i64 %1, i64 0, i64 4294967295, i64 1)\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %spec.select, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @proto_tree_add_item, { 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*)* @col_set_str, { 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "__gfs2_set_acl_13387", "fun_name": "__gfs2_set_acl", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i32\n %.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %sv_3 = alloca i32*, align 8\n store i32* %arg2, i32** %sv_3, align 8\n %2 = and i64 %arg3, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i32* %arg2, null\n %5 = trunc i64 %1 to i32\n %6 = icmp slt i32 %5, 1025\n %or.cond = or i1 %4, %6\n store i64 4294967289, i64* %rax.0.shrunk.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_11\n LBL_1:\n %sext = mul i64 %arg3, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n store i32* %arg2, i32** %.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = ptrtoint i16* %arg1 to i64\n %12 = bitcast i32** %sv_3 to i64*\n %13 = call i64 @FUNC(i64 %11, i64 %11, i64* nonnull %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 %13, i64* %rax.0.shrunk.reg2mem\n br i1 %15, label LBL_3, label LBL_11\n LBL_3:\n %.pre = load i32*, i32** %sv_3, align 8\n store i32* %.pre, i32** %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32*, i32** %.reg2mem\n %16 = icmp eq i32* %.reload, null\n store i32 0, i32* %sv_2.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_8, label LBL_5\n LBL_5:\n %17 = ptrtoint i32* %.reload to i64\n %18 = call i64 @FUNC(i64* nonnull @gv_0, i64 %17, i64 0, i64 0)\n %19 = trunc i64 %18 to i32\n %20 = icmp eq i32 %19, 0\n %21 = icmp eq i1 %20, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %21, label LBL_6, label LBL_11\n LBL_6:\n %sext4 = mul i64 %18, 4294967296\n %22 = ashr exact i64 %sext4, 32\n %23 = call i64 @FUNC(i64 %22, i64 0)\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 4294967284, i64* %rax.0.shrunk.reg2mem\n br i1 %25, label LBL_7, label LBL_11\n LBL_7:\n %26 = load i32*, i32** %sv_3, align 8\n %27 = ptrtoint i32* %26 to i64\n %28 = and i64 %18, 4294967295\n %29 = call i64 @FUNC(i64* nonnull @gv_0, i64 %27, i64 %23, i64 %28)\n %30 = trunc i64 %29 to i32\n %31 = icmp slt i32 %30, 0\n %32 = icmp eq i1 %31, false\n store i32 %19, i32* %sv_2.0.reg2mem\n store i64 %23, i64* %sv_0.0.reg2mem\n store i64 %29, i64* %sv_1.0.reg2mem\n store i64 %23, i64* %sv_0.1.reg2mem\n br i1 %32, label LBL_8, label LBL_10\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %33 = ptrtoint i16* %arg1 to i64\n %34 = call i64 @FUNC(i64 %33, i64 %3, i64 %sv_0.0.reload, i32 %sv_2.0.reload, i64 0, i64 0)\n %35 = trunc i64 %34 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 %34, i64* %sv_1.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %37, label LBL_10, label LBL_9\n LBL_9:\n %38 = load i32*, i32** %sv_3, align 8\n %39 = ptrtoint i32* %38 to i64\n %40 = and i64 %7, 4294967295\n %41 = call i64 @FUNC(i64 %33, i64 %40, i64 %39)\n store i64 %34, i64* %sv_1.0.reg2mem\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %42 = call i64 @FUNC(i64 %sv_0.1.reload)\n store i64 %sv_1.0.reload, i64* %rax.0.shrunk.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %18, { 1, 0, 2 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i32** %sv_3, { 3, 2, 0, 4, 1 }\n uselistorder i32** %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 5, 2, 3, 4, 1 }\n uselistorder i64 (i64*, i64, i64, i64)* @posix_acl_to_xattr, { 1, 0 }\n uselistorder i16* %arg1, { 1, 0 }\n uselistorder label LBL_11, { 4, 1, 2, 3, 0 }\n uselistorder label LBL_10, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mg_http_free_proto_data_endpoints_108", "fun_name": "mg_http_free_proto_data_endpoints", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.lcssa.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n %2 = icmp eq i1 %1, false\n store i64 %0, i64* %storemerge12.reg2mem\n store i64 %0, i64* %storemerge1.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %3 = add i64 %storemerge12.reload, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %storemerge12.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i64*\n call void @free(i64* %8)\n call void @free(i64* %6)\n %9 = icmp eq i64 %5, 0\n %10 = icmp eq i1 %9, false\n store i64 %5, i64* %storemerge12.reg2mem\n store i64 %5, i64* %storemerge1.lcssa.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %storemerge1.lcssa.reload = load i64, i64* %storemerge1.lcssa.reg2mem\n ret i64 %storemerge1.lcssa.reload\n\n uselistorder i64 %storemerge12.reload, { 1, 0 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fillSdpTail_7054", "fun_name": "fillSdpTail", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %1 = icmp sgt i32 %0, 3\n %. = select i1 %1, i64 47998, i64 47996\n %2 = bitcast i64* %arg1 to i8*\n %3 = call i32 (i8*, i8*, ...) @sprintf(i8* %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_0, i64 0, i64 0), i64 %.)\n %4 = sext i32 %3 to i64\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "peernet2id_alloc_9849", "fun_name": "peernet2id_alloc", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %0 = ptrtoint i32* %arg1 to i64\n %sv_1 = alloca i8, align 1\n store i8 0, i8* %sv_1, align 1\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %5 = add i64 %0, 4\n %6 = call i64 @FUNC(i64 %5)\n %7 = ptrtoint i32* %arg2 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %8 to i8\n %10 = icmp eq i8 %9, 0\n store i8 0, i8* %sv_0.0.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n store i8 1, i8* %sv_1, align 1\n store i8 1, i8* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %11 = call i64 @FUNC(i64 %0, i64 %7, i8* nonnull %sv_1)\n %12 = trunc i64 %11 to i32\n %13 = call i64 @FUNC(i64 %5)\n %14 = load i8, i8* %sv_1, align 1\n %15 = icmp eq i8 %14, 0\n %16 = icmp slt i32 %12, 0\n %or.cond = or i1 %16, %15\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %17 = call i64 @FUNC(i64 %0, i64 0, i32 %12)\n br label LBL_5\n LBL_5:\n %18 = icmp eq i8 %sv_0.0.reload, 0\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = call i64 @FUNC(i64 %7)\n br label LBL_7\n LBL_7:\n %20 = and i64 %11, 4294967295\n store i64 %20, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %12, { 1, 0 }\n uselistorder i8* %sv_1, { 1, 0, 2, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 2, 3, 0, 4, 1 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "prepareForShutdown_5912", "fun_name": "prepareForShutdown", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0))\n %1 = load i32, i32* @gv_2, align 4\n %2 = icmp eq i32 %1, -1\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_3, i64 0, i64 0))\n %4 = load i32, i32* @gv_2, align 4\n %5 = call i32 @kill(i32 %4, i32 9)\n %6 = load i32, i32* @gv_2, align 4\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n br label LBL_2\n LBL_2:\n %9 = load i32, i32* @gv_4, align 4\n %10 = icmp eq i32 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = load i32, i32* @gv_5, align 4\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n br label LBL_8\n LBL_4:\n %14 = load i32, i32* @gv_6, align 4\n %15 = icmp slt i32 %14, 1\n br i1 %15, label LBL_7, label LBL_5\n LBL_5:\n %16 = load i64, i64* @gv_7, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_8, label LBL_6\n LBL_6:\n %20 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_8, i64 0, i64 0))\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_7:\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %22 = load i32, i32* @gv_10, align 4\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_10, label LBL_9\n LBL_9:\n %24 = load i8*, i8** @gv_11, align 8\n %25 = call i32 @unlink(i8* %24)\n br label LBL_10\n LBL_10:\n %26 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_12, i64 0, i64 0))\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 (i8*, i8*)* @redisLog, { 4, 3, 2, 1, 0 }\n uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), { 2, 0, 1, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dp8393x_do_transmit_packets_7807", "fun_name": "dp8393x_do_transmit_packets", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rcx.0.be.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %r8.1.lcssa.reg2mem = alloca i64\n %rdx.1.lcssa.reg2mem = alloca i64\n %rcx.1.lcssa.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.08.reg2mem = alloca i32\n %sv_1.09.reg2mem = alloca i16\n %.reg2mem = alloca i16\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = add i64 %3, 1528\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = urem i64 %2, 2\n %10 = icmp eq i64 %9, 0\n %. = select i1 %10, i32 1, i32 2\n %11 = mul nuw nsw i32 %., 12\n %12 = add i64 %3, 2\n %13 = inttoptr i64 %12 to i16*\n %14 = add i64 %3, 4\n %15 = inttoptr i64 %14 to i16*\n %16 = add i64 %3, 1544\n %17 = inttoptr i64 %16 to i64*\n %18 = mul i32 %., 2\n %19 = add i64 %3, 1536\n %20 = zext i32 %11 to i64\n %21 = zext i32 %. to i64\n %22 = add i64 %3, 6\n %23 = inttoptr i64 %22 to i16*\n %24 = add i64 %3, 8\n %25 = inttoptr i64 %24 to i16*\n %26 = add i64 %3, 10\n %27 = inttoptr i64 %26 to i16*\n %28 = add i64 %3, 12\n %29 = inttoptr i64 %28 to i16*\n %30 = add i64 %3, 14\n %31 = inttoptr i64 %30 to i16*\n %32 = add i64 %3, 16\n %33 = inttoptr i64 %32 to i16*\n %34 = add i64 %3, 18\n %35 = inttoptr i64 %34 to i16*\n %36 = add i64 %3, 24\n %37 = mul nuw nsw i32 %., 6\n %38 = zext i32 %37 to i64\n %39 = add i64 %3, 20\n %40 = inttoptr i64 %39 to i16*\n %41 = icmp eq i32 %8, 0\n %42 = add i64 %3, 1524\n %43 = inttoptr i64 %42 to i32*\n %sext = mul i64 %7, 4294967296\n %44 = ashr exact i64 %sext, 32\n %45 = zext i32 %18 to i64\n %46 = add i64 %3, 22\n %47 = inttoptr i64 %46 to i16*\n br label LBL_1\n LBL_1:\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %48 = load i16, i16* %13, align 2\n %49 = zext i16 %48 to i64\n store i16 %48, i16* %15, align 2\n %50 = call i64 @FUNC(i64 %3)\n %51 = and i64 %50, 4294967295\n %52 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0), i64 %51, i64 %49, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %1)\n %53 = load i64, i64* %17, align 8\n %54 = call i64 @FUNC(i64 %3)\n %55 = trunc i64 %54 to i32\n %56 = add i32 %18, %55\n %57 = zext i32 %56 to i64\n %58 = call i64 @FUNC(i64 %19, i64 %57, i64 0, i64 %53, i64 %20)\n %59 = call i64 @FUNC(i64 %3, i64 %21, i64 0)\n %60 = trunc i64 %59 to i16\n %61 = and i16 %60, -4096\n store i16 %61, i16* %23, align 2\n %62 = call i64 @FUNC(i64 %3, i64 %21, i64 1)\n %63 = trunc i64 %62 to i16\n store i16 %63, i16* %25, align 2\n %64 = call i64 @FUNC(i64 %3, i64 %21, i64 2)\n %65 = trunc i64 %64 to i16\n store i16 %65, i16* %27, align 2\n %66 = call i64 @FUNC(i64 %3, i64 %21, i64 3)\n %67 = trunc i64 %66 to i16\n store i16 %67, i16* %29, align 2\n %68 = call i64 @FUNC(i64 %3, i64 %21, i64 4)\n %69 = trunc i64 %68 to i16\n store i16 %69, i16* %31, align 2\n %70 = call i64 @FUNC(i64 %3, i64 %21, i64 5)\n %71 = trunc i64 %70 to i16\n store i16 %71, i16* %33, align 2\n %72 = load i16, i16* %23, align 2\n %73 = urem i16 %72, 2\n %74 = icmp eq i16 %73, 0\n %75 = load i16, i16* %35, align 2\n %76 = or i16 %75, 2\n %77 = and i16 %75, -3\n %storemerge = select i1 %74, i16 %77, i16 %76\n store i16 %storemerge, i16* %35, align 2\n %rdx.0 = zext i16 %storemerge to i64\n %78 = load i16, i16* %27, align 2\n %79 = icmp eq i16 %78, 0\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n store i64 %21, i64* %rcx.1.lcssa.reg2mem\n store i64 %rdx.0, i64* %rdx.1.lcssa.reg2mem\n store i64 %20, i64* %r8.1.lcssa.reg2mem\n br i1 %79, label LBL_6, label LBL_2\n LBL_2:\n %.pre42 = load i16, i16* %33, align 2\n store i16 %.pre42, i16* %.reg2mem\n store i16 0, i16* %sv_1.09.reg2mem\n store i32 0, i32* %sv_0.08.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.08.reload = load i32, i32* %sv_0.08.reg2mem\n %sv_1.09.reload = load i16, i16* %sv_1.09.reg2mem\n %.reload = load i16, i16* %.reg2mem\n %80 = zext i16 %.reload to i32\n %81 = add i32 %sv_0.08.reload, %80\n %82 = icmp ult i32 %81, 1501\n %83 = sub i32 1500, %sv_0.08.reload\n %spec.select = select i1 %82, i32 %80, i32 %83\n %84 = sext i32 %sv_0.08.reload to i64\n %85 = add i64 %36, %84\n %86 = call i64 @FUNC(i64 %3)\n %87 = and i64 %86, 4294967295\n %88 = zext i32 %spec.select to i64\n %89 = call i64 @FUNC(i64 %19, i64 %87, i64 0, i64 %85, i64 %88)\n %90 = add i32 %spec.select, %sv_0.08.reload\n %91 = add i16 %sv_1.09.reload, 1\n %92 = load i16, i16* %27, align 2\n %93 = icmp eq i16 %91, %92\n store i32 %90, i32* %sv_0.0.lcssa.reg2mem\n store i64 %85, i64* %rcx.1.lcssa.reg2mem\n store i64 0, i64* %rdx.1.lcssa.reg2mem\n store i64 %88, i64* %r8.1.lcssa.reg2mem\n br i1 %93, label LBL_6, label LBL_4\n LBL_4:\n %94 = zext i16 %91 to i32\n %95 = load i64, i64* %17, align 8\n %96 = call i64 @FUNC(i64 %3)\n %97 = mul nuw nsw i32 %94, 3\n %98 = add nuw nsw i32 %97, 4\n %99 = mul nuw nsw i32 %98, %18\n %100 = trunc i64 %96 to i32\n %101 = add i32 %99, %100\n %102 = zext i32 %101 to i64\n %103 = call i64 @FUNC(i64 %19, i64 %102, i64 0, i64 %95, i64 %38)\n %104 = call i64 @FUNC(i64 %3, i64 %21, i64 0)\n %105 = trunc i64 %104 to i16\n store i16 %105, i16* %29, align 2\n %106 = call i64 @FUNC(i64 %3, i64 %21, i64 1)\n %107 = trunc i64 %106 to i16\n store i16 %107, i16* %31, align 2\n %108 = call i64 @FUNC(i64 %3, i64 %21, i64 2)\n %109 = trunc i64 %108 to i16\n store i16 %109, i16* %33, align 2\n %.pre = load i16, i16* %27, align 2\n %110 = icmp ugt i16 %.pre, %91\n store i16 %109, i16* %.reg2mem\n store i16 %91, i16* %sv_1.09.reg2mem\n store i32 %90, i32* %sv_0.08.reg2mem\n br i1 %110, label LBL_3, label LBL_5\n LBL_5:\n %111 = and i64 %108, 4294967295\n store i32 %90, i32* %sv_0.0.lcssa.reg2mem\n store i64 %21, i64* %rcx.1.lcssa.reg2mem\n store i64 %111, i64* %rdx.1.lcssa.reg2mem\n store i64 %38, i64* %r8.1.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %112 = load i16, i16* %23, align 2\n %113 = and i16 %112, 4\n %114 = icmp eq i16 %113, 0\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.reg2mem\n br i1 %114, label LBL_9, label LBL_7\n LBL_7:\n %115 = add i32 %sv_0.0.lcssa.reload, -4\n %116 = icmp slt i32 %115, 0\n %117 = icmp eq i1 %116, false\n store i32 %115, i32* %sv_0.1.reg2mem\n br i1 %117, label LBL_9, label LBL_8\n LBL_8:\n %r8.1.lcssa.reload = load i64, i64* %r8.1.lcssa.reg2mem\n %rdx.1.lcssa.reload = load i64, i64* %rdx.1.lcssa.reg2mem\n %rcx.1.lcssa.reload = load i64, i64* %rcx.1.lcssa.reg2mem\n %118 = zext i32 %115 to i64\n %119 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %118, i64 %rdx.1.lcssa.reload, i64 %rcx.1.lcssa.reload, i64 %r8.1.lcssa.reload, i64 %1)\n br label LBL_16\n LBL_9:\n %120 = load i16, i16* %40, align 2\n %121 = and i16 %120, 24\n %122 = icmp eq i16 %121, 0\n br i1 %122, label LBL_12, label LBL_10\n LBL_10:\n %123 = or i16 %112, 32\n store i16 %123, i16* %23, align 2\n br i1 %41, label LBL_13, label LBL_11\n LBL_11:\n store i32 1, i32* %43, align 4\n br label LBL_13\n LBL_12:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %124 = call i64 @FUNC(i64 %44, i64 %36, i32 %sv_0.1.reload)\n br label LBL_13\n LBL_13:\n %125 = load i16, i16* %23, align 2\n %126 = or i16 %125, 512\n store i16 %126, i16* %23, align 2\n %127 = urem i16 %126, 4096\n %128 = zext i16 %127 to i64\n %129 = call i64 @FUNC(i64 %3, i32 %., i64 0, i64 %128)\n %130 = load i64, i64* %17, align 8\n %131 = call i64 @FUNC(i64 %3)\n %132 = and i64 %131, 4294967295\n %133 = call i64 @FUNC(i64 %19, i64 %132, i64 0, i64 %130, i64 %45)\n %134 = load i16, i16* %47, align 2\n %135 = and i16 %134, 12\n %136 = icmp eq i16 %135, 0\n %137 = icmp eq i1 %136, false\n store i64 %130, i64* %rcx.0.be.reg2mem\n br i1 %137, label LBL_1.backedge, label LBL_15\n LBL_14:\n %rcx.0.be.reload = load i64, i64* %rcx.0.be.reg2mem\n store i64 %rcx.0.be.reload, i64* %rcx.0.reg2mem\n store i64 %45, i64* %r8.0.reg2mem\n br label LBL_1\n LBL_15:\n %138 = load i64, i64* %17, align 8\n %139 = call i64 @FUNC(i64 %3)\n %140 = load i16, i16* %27, align 2\n %141 = zext i16 %140 to i32\n %142 = mul nuw nsw i32 %141, 3\n %143 = add nuw nsw i32 %142, 4\n %144 = mul nuw nsw i32 %143, %18\n %145 = trunc i64 %139 to i32\n %146 = add i32 %144, %145\n %147 = zext i32 %146 to i64\n %148 = call i64 @FUNC(i64 %19, i64 %147, i64 0, i64 %138, i64 %45)\n %149 = call i64 @FUNC(i64 %3, i64 %21, i64 0)\n %150 = trunc i64 %149 to i16\n store i16 %150, i16* %13, align 2\n %151 = and i16 %150, 64\n %152 = icmp eq i16 %151, 0\n %153 = icmp eq i1 %152, false\n store i64 %21, i64* %rcx.0.be.reg2mem\n br i1 %153, label LBL_16, label LBL_1.backedge\n LBL_16:\n %154 = load i16, i16* %47, align 2\n %155 = and i16 %154, -129\n store i16 %155, i16* %47, align 2\n %156 = load i16, i16* %35, align 2\n %157 = or i16 %156, 256\n store i16 %157, i16* %35, align 2\n %158 = call i64 @FUNC(i64 %3)\n ret i64 %158\n\n uselistorder i32 %115, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 0 }\n uselistorder i32 %90, { 0, 2, 1 }\n uselistorder i32 %80, { 1, 0 }\n uselistorder i32 %sv_0.08.reload, { 2, 0, 1, 3 }\n uselistorder i16 %storemerge, { 1, 0 }\n uselistorder i16 %75, { 1, 0 }\n uselistorder i16* %47, { 1, 0, 2 }\n uselistorder i64 %45, { 1, 0, 2 }\n uselistorder i64 %36, { 1, 0 }\n uselistorder i16* %33, { 1, 0, 2 }\n uselistorder i16* %27, { 2, 0, 3, 1, 4 }\n uselistorder i16* %23, { 2, 1, 0, 3, 4, 5 }\n uselistorder i64 %21, { 0, 3, 1, 4, 5, 6, 2, 7, 8, 9, 10, 11, 12 }\n uselistorder i32 %18, { 2, 1, 3, 0 }\n uselistorder i32 %., { 1, 2, 3, 0, 4 }\n uselistorder i64 %3, { 2, 3, 5, 6, 7, 9, 10, 11, 12, 13, 16, 18, 20, 22, 24, 26, 29, 30, 4, 1, 8, 0, 14, 15, 17, 19, 21, 23, 25, 27, 28, 32, 31, 33 }\n uselistorder i64* %rcx.0.reg2mem, { 1, 0 }\n uselistorder i64* %r8.0.reg2mem, { 1, 0 }\n uselistorder i16* %.reg2mem, { 2, 0, 1 }\n uselistorder i16* %sv_1.09.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.08.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.0.be.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i16 0, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder i16 2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @dp8393x_get, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64)* @address_space_read, { 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 1, 3 }\n uselistorder i64 (i64)* @dp8393x_ttda, { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 3, 1, 0, 2 }\n uselistorder i64 2, { 1, 2, 3, 0 }\n uselistorder label LBL_1.backedge, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xps_new_font_8498", "fun_name": "xps_new_font", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 64)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 1, i64 ptrtoint ([14 x i8]* @gv_0 to i64))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_2:\n %5 = ptrtoint i32* %arg2 to i64\n %6 = inttoptr i64 %1 to i64*\n store i64 %5, i64* %6, align 8\n %7 = trunc i64 %arg3 to i32\n %8 = add i64 %1, 8\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = add i64 %1, 16\n %11 = inttoptr i64 %10 to i64*\n store i64 0, i64* %11, align 8\n %12 = trunc i64 %arg4 to i32\n %13 = add i64 %1, 24\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %1, 28\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %1, 32\n %18 = inttoptr i64 %17 to i32*\n store i32 0, i32* %18, align 4\n %19 = add i64 %1, 36\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n %21 = add i64 %1, 40\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %1, 44\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = add i64 %1, 48\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = add i64 %1, 52\n %28 = inttoptr i64 %27 to i32*\n store i32 0, i32* %28, align 4\n %29 = add i64 %1, 56\n %30 = inttoptr i64 %29 to i32*\n store i32 0, i32* %30, align 4\n %31 = add i64 %1, 60\n %32 = inttoptr i64 %31 to i32*\n store i32 0, i32* %32, align 4\n %33 = load i64, i64* %6, align 8\n %34 = inttoptr i64 %33 to i64*\n %35 = call i32 @memcmp(i64* %34, i64* bitcast ([5 x i8]* @gv_1 to i64*), i32 4)\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_4, label LBL_3\n LBL_3:\n %38 = call i64 @FUNC(i64 %0, i64 %1)\n store i64 %38, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_4:\n %39 = load i64, i64* %6, align 8\n %40 = inttoptr i64 %39 to i64*\n %41 = call i32 @memcmp(i64* %40, i64* nonnull @gv_2, i32 4)\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n br i1 %43, label LBL_6, label LBL_5\n LBL_5:\n %44 = call i64 @FUNC(i64 %0, i64 %1)\n store i64 %44, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_6:\n %45 = load i64, i64* %6, align 8\n %46 = inttoptr i64 %45 to i64*\n %47 = call i32 @memcmp(i64* %46, i64* bitcast ([5 x i8]* @gv_3 to i64*), i32 4)\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_8, label LBL_7\n LBL_7:\n %50 = call i64 @FUNC(i64 %0, i64 %1)\n store i64 %50, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_8:\n %51 = load i64, i64* %6, align 8\n %52 = inttoptr i64 %51 to i64*\n %53 = call i32 @memcmp(i64* %52, i64* bitcast ([5 x i8]* @gv_4 to i64*), i32 4)\n %54 = icmp eq i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_10, label LBL_9\n LBL_9:\n %56 = call i64 @FUNC(i64 %0, i64 %1)\n store i64 %56, i64* %sv_0.0.in.reg2mem\n br label LBL_11\n LBL_10:\n %57 = call i64 @FUNC(i64 %0, i64 %1)\n %58 = call i64 @FUNC(i64 4294967295, i64 ptrtoint ([21 x i8]* @gv_5 to i64))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_11:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %59 = icmp slt i32 %sv_0.0, 0\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_13, label LBL_12\n LBL_12:\n %61 = call i64 @FUNC(i64 %0, i64 %1)\n %62 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_13:\n %63 = call i64 @FUNC(i64 %1)\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 3, 4, 5, 2, 1, 0, 6 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64 4294967295, { 2, 3, 0, 1 }\n uselistorder i64 (i64, i64)* @xps_init_truetype_font, { 2, 1, 0 }\n uselistorder i32 (i64*, i64*, i32)* @memcmp, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @gs_throw, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_rng_load_821", "fun_name": "virtio_rng_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i32 %arg3, 1\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_4\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %1)\n %4 = call i64 @FUNC(i64 %3, i64 %2, i32 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %8 = call i64 @FUNC(i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lzw_get_code_358", "fun_name": "lzw_get_code", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %.lcssa.reg2mem = alloca i32\n %.lcssa3.reg2mem = alloca i32\n %.lcssa4.reg2mem = alloca i32\n %.reg2mem36 = alloca i32\n %.lcssa6.reg2mem = alloca i32\n %.pre-phi24.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n %4 = icmp eq i1 %3, false\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %5, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp ult i32 %8, %11\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n br i1 %12, label LBL_3, label LBL_1.LBL_9_crit_edge\n LBL_2:\n %.pre21 = add i64 %5, 16\n %.pre23 = inttoptr i64 %.pre21 to i32*\n store i32* %.pre23, i32** %.pre-phi24.reg2mem\n store i32 %11, i32* %.lcssa6.reg2mem\n br label LBL_9\n LBL_3:\n %13 = add i64 %5, 20\n %14 = inttoptr i64 %13 to i32*\n %15 = add i64 %5, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = add i64 %5, 16\n %18 = inttoptr i64 %17 to i32*\n %.pre = load i32, i32* %14, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_6\n LBL_4:\n %19 = add i64 %5, 16\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n store i32 %8, i32* %.lcssa4.reg2mem\n store i32 %11, i32* %.lcssa3.reg2mem\n store i32 %21, i32* %.lcssa.reg2mem\n br i1 %12, label LBL_5, label LBL_11\n LBL_5:\n %22 = add i64 %5, 24\n %23 = inttoptr i64 %22 to i64*\n store i32 %21, i32* %.reg2mem36\n br label LBL_10\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %24 = icmp eq i32 %.reload, 0\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_8, label LBL_7\n LBL_7:\n %26 = load i64, i64* %16, align 8\n %27 = add i64 %26, 1\n store i64 %27, i64* %16, align 8\n %28 = inttoptr i64 %26 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = zext i8 %29 to i32\n store i32 %30, i32* %14, align 4\n br label LBL_8\n LBL_8:\n %31 = load i64, i64* %16, align 8\n %32 = add i64 %31, 1\n store i64 %32, i64* %16, align 8\n %33 = inttoptr i64 %31 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i32\n %36 = load i32, i32* %7, align 4\n %37 = urem i32 %36, 32\n %38 = shl i32 %35, %37\n %39 = load i32, i32* %18, align 4\n %40 = or i32 %38, %39\n store i32 %40, i32* %18, align 4\n %41 = load i32, i32* %7, align 4\n %42 = add i32 %41, 8\n store i32 %42, i32* %7, align 4\n %43 = load i32, i32* %14, align 4\n %44 = add i32 %43, -1\n store i32 %44, i32* %14, align 4\n %45 = load i32, i32* %7, align 4\n %46 = load i32, i32* %10, align 4\n %47 = icmp ult i32 %45, %46\n store i32 %44, i32* %.reg2mem\n store i32* %18, i32** %.pre-phi24.reg2mem\n store i32 %46, i32* %.lcssa6.reg2mem\n br i1 %47, label LBL_6, label LBL_9\n LBL_9:\n %.lcssa6.reload = load i32, i32* %.lcssa6.reg2mem\n %.pre-phi24.reload = load i32*, i32** %.pre-phi24.reg2mem\n %48 = load i32, i32* %.pre-phi24.reload, align 4\n %49 = add i64 %5, 12\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = and i32 %51, %48\n %53 = urem i32 %.lcssa6.reload, 32\n %54 = ashr i32 %48, %53\n store i32 %54, i32* %.pre-phi24.reload, align 4\n %.pre33 = load i32, i32* %7, align 4\n %.pre34 = load i32, i32* %10, align 4\n %.pre35 = sub i32 %.pre33, %.pre34\n store i32 %.pre35, i32* %.pre-phi.reg2mem\n store i32 %52, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_10:\n %.reload37 = load i32, i32* %.reg2mem36\n %55 = mul i32 %.reload37, 256\n %56 = load i64, i64* %23, align 8\n %57 = add i64 %56, 1\n store i64 %57, i64* %23, align 8\n %58 = inttoptr i64 %56 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = zext i8 %59 to i32\n %61 = or i32 %55, %60\n store i32 %61, i32* %20, align 4\n %62 = load i32, i32* %7, align 4\n %63 = add i32 %62, 8\n store i32 %63, i32* %7, align 4\n %64 = load i32, i32* %10, align 4\n %65 = icmp ult i32 %63, %64\n %66 = load i32, i32* %20, align 4\n store i32 %66, i32* %.reg2mem36\n store i32 %63, i32* %.lcssa4.reg2mem\n store i32 %64, i32* %.lcssa3.reg2mem\n store i32 %66, i32* %.lcssa.reg2mem\n br i1 %65, label LBL_10, label LBL_11\n LBL_11:\n %.lcssa.reload = load i32, i32* %.lcssa.reg2mem\n %.lcssa3.reload = load i32, i32* %.lcssa3.reg2mem\n %.lcssa4.reload = load i32, i32* %.lcssa4.reg2mem\n %67 = sub i32 %.lcssa4.reload, %.lcssa3.reload\n %68 = urem i32 %67, 32\n %69 = ashr i32 %.lcssa.reload, %68\n %70 = add i64 %5, 12\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = and i32 %69, %72\n store i32 %67, i32* %.pre-phi.reg2mem\n store i32 %73, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n store i32 %.pre-phi.reload, i32* %7, align 4\n %74 = zext i32 %sv_0.0.reload to i64\n ret i64 %74\n\n uselistorder i64 %56, { 1, 0 }\n uselistorder i32 %48, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i64 %26, { 1, 0 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i32* %20, { 2, 1, 0 }\n uselistorder i64* %16, { 1, 0, 2, 3 }\n uselistorder i32* %14, { 3, 2, 1, 0 }\n uselistorder i1 %12, { 1, 0 }\n uselistorder i32* %10, { 3, 0, 1, 2 }\n uselistorder i32* %7, { 1, 8, 7, 0, 2, 4, 5, 3, 6 }\n uselistorder i64 %5, { 5, 3, 6, 7, 2, 1, 0, 4, 8, 9 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem36, { 1, 0, 2 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 2, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ath9k_p2p_bss_info_changed_18888", "fun_name": "ath9k_p2p_bss_info_changed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = add i64 %1, 8\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %1, 12\n %6 = call i64 @FUNC(i64 %5, i64 %2)\n %7 = urem i64 %5, 2\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = ptrtoint i64* %arg2 to i64\n %11 = call i64 @FUNC(i64 %1, i64 %10)\n br label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %5, i64 %2)\n %13 = call i64 @FUNC(i64 %3)\n ret i64 %13\n\n uselistorder i64 %5, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "help_3194", "fun_name": "help", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i32 @puts(i8* getelementptr inbounds ([245 x i8], [245 x i8]* @gv_0, i64 0, i64 0))\n %1 = sext i32 %0 to i64\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "uc32_cpu_class_init_2129", "fun_name": "uc32_cpu_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198669, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = add i64 %0, 16\n %4 = inttoptr i64 %3 to i64*\n store i64 4198683, i64* %4, align 8\n %5 = add i64 %0, 24\n %6 = inttoptr i64 %5 to i64*\n store i64 4198690, i64* %6, align 8\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198697, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198704, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i64*\n store i64 4198718, i64* %12, align 8\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8\n %13 = inttoptr i64 %3 to i8*\n store i8 1, i8* %13, align 1\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "f2fs_set_data_page_dirty_6682", "fun_name": "f2fs_set_data_page_dirty", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %0, i64 0)\n %5 = call i64 @FUNC(i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %0)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %0)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_4:\n %14 = call i64 @FUNC(i64 %3)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_8, label LBL_5\n LBL_5:\n %17 = call i64 @FUNC(i64 %3)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %0)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %24, label LBL_10, label LBL_7\n LBL_7:\n %25 = call i64 @FUNC(i64 %3, i64 %0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %26 = call i64 @FUNC(i64 %0)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %29, label LBL_10, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %0)\n %31 = call i64 @FUNC(i64 %3, i64 %0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 2, 0, 1, 3 }\n uselistorder i64 %0, { 5, 4, 6, 2, 3, 1, 7, 0, 8, 9, 10 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 2, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @__set_page_dirty_nobuffers, { 1, 0 }\n uselistorder label LBL_10, { 2, 0, 3, 1, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vrend_decode_create_ve_11540", "fun_name": "vrend_decode_create_ve", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i16 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = icmp eq i16 %arg3, 0\n %1 = icmp eq i1 %0, false\n store i64 22, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_7\n LBL_1:\n %2 = add i16 %arg3, 3\n %3 = urem i16 %2, 4\n %4 = icmp eq i16 %3, 0\n store i64 22, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_7\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = zext i16 %arg3 to i32\n %7 = add nsw i32 %6, -1\n %8 = ashr i32 %7, 2\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %sv_0.0.reg2mem\n store i64 %5, i64* %rdi.1.reg2mem\n br i1 %9, label LBL_6, label LBL_3\n LBL_3:\n %10 = call i64* @calloc(i32 %8, i32 16)\n %11 = icmp eq i64* %10, null\n %12 = icmp eq i1 %11, false\n store i64 12, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_7\n LBL_4:\n %13 = ptrtoint i64* %10 to i64\n %14 = sext i32 %8 to i64\n %15 = icmp sgt i32 %7, 3\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %13, i64* %sv_0.0.reg2mem\n store i64 %14, i64* %rdi.1.reg2mem\n br i1 %15, label LBL_5, label LBL_6\n LBL_5:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = call i64 @FUNC(i64 %5, i64 %indvars.iv.reload)\n %17 = mul i64 %indvars.iv.reload, 16\n %18 = add i64 %17, %13\n %19 = trunc i64 %16 to i32\n %20 = inttoptr i64 %18 to i32*\n store i32 %19, i32* %20, align 4\n %21 = call i64 @FUNC(i64 %5, i64 %indvars.iv.reload)\n %22 = trunc i64 %21 to i32\n %23 = add i64 %18, 4\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = call i64 @FUNC(i64 %5, i64 %indvars.iv.reload)\n %26 = trunc i64 %25 to i32\n %27 = add i64 %18, 8\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = call i64 @FUNC(i64 %5, i64 %indvars.iv.reload)\n %30 = trunc i64 %29 to i32\n %31 = add i64 %18, 12\n %32 = inttoptr i64 %31 to i32*\n store i32 %30, i32* %32, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %33 = icmp slt i64 %indvars.iv.next, %14\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %13, i64* %sv_0.0.reg2mem\n store i64 %5, i64* %rdi.1.reg2mem\n br i1 %33, label LBL_5, label LBL_6\n LBL_6:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %34 = trunc i64 %arg2 to i32\n %35 = call i64 @FUNC(i64 %rdi.1.reload, i32 %34, i32 %8, i64 %sv_0.0.reload)\n %36 = inttoptr i64 %sv_0.0.reload to i64*\n call void @free(i64* %36)\n %37 = and i64 %35, 4294967295\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %13, { 0, 2, 1 }\n uselistorder i64* %10, { 1, 0 }\n uselistorder i64 %5, { 0, 2, 3, 4, 5, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @get_buf_entry, { 3, 2, 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder label LBL_7, { 3, 0, 1, 2 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "read_probe_14691", "fun_name": "read_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %0 to i8\n %2 = icmp eq i8 %1, 74\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = add i64 %0, 1\n %5 = inttoptr i64 %4 to i8*\n %6 = load i8, i8* %5, align 1\n %7 = icmp eq i8 %6, 86\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_4, label LBL_2\n LBL_2:\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i32 %11, -4\n %13 = icmp ult i32 %12, 17\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = add i64 %0, 4\n %15 = inttoptr i64 %14 to i64*\n %16 = call i32 @memcmp(i64* %15, i64* bitcast ([18 x i8]* @gv_0 to i64*), i32 17)\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 100, i64* %storemerge.reg2mem\n br i1 %18, label LBL_4, label LBL_5\n LBL_4:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 3, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 17, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dlg_lookup_4565", "fun_name": "dlg_lookup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge.in8.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i32*, i32** @gv_0, align 8\n %5 = icmp eq i32* %4, null\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_9\n LBL_1:\n %sext4 = mul i64 %arg2, 4294967296\n %7 = ashr exact i64 %sext4, 32\n %8 = load i32, i32* %4, align 4\n %9 = trunc i64 %arg1 to i32\n %10 = icmp ugt i32 %8, %9\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %12 = ptrtoint i32* %4 to i64\n %13 = add i64 %12, 8\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = mul i64 %arg1, 8\n %17 = and i64 %16, 34359738360\n %18 = add i64 %15, %17\n %19 = call i64 @FUNC(i64 %12, i64 %18)\n %storemerge.in.in6 = inttoptr i64 %18 to i64*\n %storemerge.in7 = load i64, i64* %storemerge.in.in6, align 8\n %20 = icmp eq i64 %storemerge.in7, 0\n %21 = icmp eq i1 %20, false\n br i1 %21, label LBL_3, label LBL_7\n LBL_3:\n %22 = trunc i64 %7 to i32\n store i64 %storemerge.in7, i64* %storemerge.in8.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.in8.reload = load i64, i64* %storemerge.in8.reg2mem\n %storemerge = inttoptr i64 %storemerge.in8.reload to i32*\n %23 = load i32, i32* %storemerge, align 4\n %24 = icmp eq i32 %23, %22\n %25 = icmp eq i1 %24, false\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = call i64 @FUNC(i64 %storemerge.in8.reload, i64 1)\n %27 = load i32*, i32** @gv_0, align 8\n %28 = ptrtoint i32* %27 to i64\n %29 = call i64 @FUNC(i64 %28, i64 %18)\n %30 = and i64 %7, 4294967295\n %31 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_1, i64 0, i64 0), i64 %30, i32 %9, i64 %3, i64 %2, i64 %1)\n store i64 %storemerge.in8.reload, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %32 = add i64 %storemerge.in8.reload, 8\n %storemerge.in.in = inttoptr i64 %32 to i64*\n %storemerge.in = load i64, i64* %storemerge.in.in, align 8\n %33 = icmp eq i64 %storemerge.in, 0\n %34 = icmp eq i1 %33, false\n store i64 %storemerge.in, i64* %storemerge.in8.reg2mem\n br i1 %34, label LBL_4, label LBL_7\n LBL_7:\n %35 = load i32*, i32** @gv_0, align 8\n %36 = ptrtoint i32* %35 to i64\n %37 = call i64 @FUNC(i64 %36, i64 %18)\n br label LBL_8\n LBL_8:\n %38 = and i64 %7, 4294967295\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i64 %38, i32 %9, i64 %3, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.in8.reload, { 1, 0, 3, 2 }\n uselistorder i64 %18, { 1, 2, 0, 3 }\n uselistorder i32 %9, { 1, 0, 2 }\n uselistorder i64 %7, { 2, 0, 1 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.in8.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @LM_DBG, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i1 false, { 2, 1, 0, 3, 4 }\n uselistorder i32** @gv_0, { 2, 1, 0 }\n uselistorder i32 1, { 7, 6, 5, 4, 0, 3, 2, 1 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "piix3_xen_class_init_625", "fun_name": "piix3_xen_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 24\n store i64 ptrtoint ([11 x i8]* @gv_0 to i64), i64* %arg1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i32*\n store i32 1, i32* %5, align 4\n %6 = inttoptr i64 %1 to i32*\n store i32 1, i32* %6, align 4\n %7 = add i64 %0, 32\n %8 = inttoptr i64 %7 to i64*\n store i64 4198694, i64* %8, align 8\n %9 = add i64 %0, 40\n %10 = inttoptr i64 %9 to i64*\n store i64 4198701, i64* %10, align 8\n %11 = add i64 %0, 48\n %12 = inttoptr i64 %11 to i32*\n store i32 32902, i32* %12, align 4\n %13 = add i64 %0, 52\n %14 = inttoptr i64 %13 to i32*\n store i32 28947, i32* %14, align 4\n %15 = add i64 %0, 56\n %16 = inttoptr i64 %15 to i32*\n store i32 1537, i32* %16, align 4\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pci_piix3_xen_ide_unplug_19125", "fun_name": "pci_piix3_xen_ide_unplug", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = call i64 @FUNC(i64 0, i64 %indvars.iv.reload)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_6, label LBL_2\n LBL_2:\n %4 = inttoptr i64 %2 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_6, label LBL_3\n LBL_3:\n %8 = call i64 @FUNC(i64 %2)\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_5, label LBL_4\n LBL_4:\n %11 = call i64 @FUNC(i64 %8, i64 %9)\n br label LBL_5\n LBL_5:\n %12 = add i64 %2, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i64 %2, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = sext i32 %17 to i64\n %19 = sext i32 %14 to i64\n %20 = mul i64 %19, 4\n %21 = add nsw i64 %20, %18\n %22 = mul i64 %21, 8\n %23 = add i64 %22, %1\n %24 = inttoptr i64 %23 to i64*\n store i64 0, i64* %24, align 8\n %25 = call i64 @FUNC(i64 %8)\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_1\n LBL_7:\n %26 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 %8, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 4, { 1, 0, 2 }\n uselistorder i32 0, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "uhci_broadcast_packet_1303", "fun_name": "uhci_broadcast_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = add i64 %3, 16\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %3, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %3, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = trunc i64 %2 to i32\n %14 = and i64 %2, 4294967295\n %15 = call i64 @FUNC(i64 %14)\n %16 = zext i32 %9 to i64\n %17 = zext i32 %12 to i64\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_0, i64 0, i64 0), i64 %15, i64 %17, i64 %16, i64 %6, i64 %1)\n %19 = icmp ne i32 %13, 0\n %20 = icmp eq i32 %13, 1\n %21 = icmp eq i1 %20, false\n %or.cond6 = icmp eq i1 %19, %21\n br i1 %or.cond6, label LBL_2, label LBL_1\n LBL_1:\n %22 = call i64 @FUNC(i64 %3, i64 0)\n br label LBL_2\n LBL_2:\n %23 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_3\n LBL_3:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %24 = mul i64 %indvars.iv.reload, 16\n %25 = add i64 %24, %23\n %26 = add i64 %25, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %29, label LBL_6, label LBL_4\n LBL_4:\n %30 = inttoptr i64 %25 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = urem i32 %31, 2\n %33 = icmp eq i32 %32, 0\n store i32 -1, i32* %sv_0.0.reg2mem\n br i1 %33, label LBL_6, label LBL_5\n LBL_5:\n %34 = call i64 @FUNC(i64 %28, i64 %3)\n %35 = trunc i64 %34 to i32\n store i32 %35, i32* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %36 = icmp ult i64 %indvars.iv.next, 4\n %37 = icmp eq i32 %sv_0.0.reload, -1\n %or.cond = icmp eq i1 %36, %37\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_7\n LBL_7:\n %38 = load i64, i64* %5, align 8\n %39 = zext i32 %sv_0.0.reload to i64\n %40 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %39, i64 %38, i64 %16, i64 %6, i64 %1)\n %41 = icmp eq i32 %13, 2\n %42 = icmp eq i1 %41, false\n %43 = icmp slt i32 %sv_0.0.reload, 1\n %or.cond4 = or i1 %42, %43\n br i1 %or.cond4, label LBL_9, label LBL_8\n LBL_8:\n %44 = call i64 @FUNC(i64 %3, i64 %39)\n br label LBL_9\n LBL_9:\n ret i64 %39\n\n uselistorder i64 %39, { 1, 0, 2 }\n uselistorder i32 %sv_0.0.reload, { 2, 1, 0 }\n uselistorder i32 %13, { 0, 2, 1 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 2, { 1, 0, 3, 2 }\n uselistorder i32 -1, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @dump_data, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DPRINTF, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_state_mark_reclaim_nograce_9910", "fun_name": "nfs4_state_mark_reclaim_nograce", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i32* %arg1 to i64\n %1 = ptrtoint i32* %arg2 to i64\n %2 = call i64 @FUNC(i64 0, i64 %1)\n %3 = call i64 @FUNC(i64 1, i64 %1)\n %4 = add i64 %1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 2, i64 %6)\n %8 = call i64 @FUNC(i64 3, i64 %0)\n ret i64 1\n\n uselistorder i64 (i64, i64)* @set_bit, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "red_client_semi_seamless_migrate_complete_10567", "fun_name": "red_client_semi_seamless_migrate_complete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i32 @pthread_mutex_lock(i64* %arg1)\n %2 = add i64 %0, 40\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = icmp eq i8 %4, 1\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = add i64 %0, 41\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 0\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %12 = call i32 @pthread_mutex_unlock(i64* %arg1)\n %13 = sext i32 %12 to i64\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_3:\n store i8 0, i8* %3, align 1\n %14 = add i64 %0, 48\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %storemerge12.reg2mem\n br i1 %16, label LBL_4, label LBL_7\n LBL_4:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %17 = add i64 %storemerge12.reload, 8\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = icmp eq i32 %19, 0\n br i1 %20, label LBL_6, label LBL_5\n LBL_5:\n %21 = call i64 @FUNC(i64 %storemerge12.reload, i64 1000)\n br label LBL_6\n LBL_6:\n %22 = inttoptr i64 %storemerge12.reload to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 %23, i64* %storemerge12.reg2mem\n br i1 %25, label LBL_4, label LBL_7\n LBL_7:\n %26 = call i32 @pthread_mutex_unlock(i64* %arg1)\n %27 = call i64 @FUNC(i64 %0)\n store i64 %27, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 (i64*)* @pthread_mutex_unlock, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs4_lock_prepare_9491", "fun_name": "nfs4_lock_prepare", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %0, 56\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0))\n %8 = call i64 @FUNC(i64 ptrtoint ([18 x i8]* @gv_1 to i64), i64 %1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %11, label LBL_6, label LBL_1\n LBL_1:\n %12 = add i64 %1, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = urem i32 %16, 2\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_4, label LBL_2\n LBL_2:\n %20 = add i64 %0, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i64 @FUNC(i64 %22, i64 %1)\n %24 = trunc i64 %23 to i32\n %25 = icmp eq i32 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %rax.0.reg2mem\n br i1 %26, label LBL_6, label LBL_3\n LBL_3:\n %27 = add i64 %0, 16\n %28 = inttoptr i64 %27 to i64*\n store i64 %6, i64* %28, align 8\n %29 = add i64 %0, 24\n %30 = inttoptr i64 %29 to i32*\n store i32 1, i32* %30, align 4\n %31 = load i64, i64* %21, align 8\n %32 = add i64 %0, 32\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n br label LBL_5\n LBL_4:\n %34 = add i64 %0, 24\n %35 = inttoptr i64 %34 to i32*\n store i32 0, i32* %35, align 4\n br label LBL_5\n LBL_5:\n %36 = add i64 %0, 40\n %37 = inttoptr i64 %36 to i64*\n store i64 0, i64* %37, align 8\n %38 = add i64 %0, 48\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = zext i32 %40 to i64\n %42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0), i64 %41)\n %43 = sext i32 %42 to i64\n store i64 %43, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 3, 4, 5, 0, 1, 2, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64 (i64, i64)* @nfs_wait_on_sequence, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0 }\n uselistorder [18 x i8]* @gv_1, { 1, 0 }\n uselistorder label LBL_6, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ssl_handshake_9366", "fun_name": "ssl_handshake", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n %3 = ptrtoint i32* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 1\n %6 = icmp eq i1 %5, false\n store i64 0, i64* %sv_0.1.reg2mem\n br i1 %6, label LBL_1, label LBL_3\n LBL_1:\n %7 = call i64 @FUNC(i64 %3)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_1.LBL_3_crit_edge, label LBL_1\n LBL_2:\n %phitmp = and i64 %7, 4294967295\n store i64 %phitmp, i64* %sv_0.1.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0))\n ret i64 %sv_0.1.reload\n\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "net_vhost_check_net_14082", "fun_name": "net_vhost_check_net", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n store i64 7939124216839956854, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %3 = icmp ne i64 %1, 0\n %4 = icmp eq i64 %2, 0\n %5 = icmp eq i1 %4, false\n %or.cond = icmp eq i1 %3, %5\n store i64 0, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_4\n LBL_1:\n %6 = inttoptr i64 %2 to i8*\n %7 = inttoptr i64 %arg1 to i8*\n %8 = call i32 @strcmp(i8* %6, i8* %7)\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_2\n LBL_2:\n %11 = inttoptr i64 %1 to i8*\n %12 = bitcast i64* %sv_0 to i8*\n %13 = call i32 @strncmp(i8* %11, i8* nonnull %12, i32 11)\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i8*)* @qemu_opt_get, { 1, 0 }\n uselistorder label LBL_4, { 3, 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "debug_log_4942", "fun_name": "debug_log", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n store i32 16, i32* %sv_1, align 4\n %21 = ptrtoint i8* %arg2 to i64\n %22 = ptrtoint i64* %sv_0 to i64\n %23 = call i64 @FUNC(i64* nonnull %sv_0, i64 256, i64 %21, i32* nonnull %sv_1)\n %24 = call i64 @FUNC(i64 %22, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0), i64 undef, i64* nonnull %sv_0, i64 %arg5, i64 %arg6)\n ret i64 0\n\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "int_x509_param_set_hosts_13776", "fun_name": "int_x509_param_set_hosts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64 %arg3, 0\n %2 = icmp eq i64 %arg4, 0\n %3 = icmp eq i1 %2, false\n %or.cond4 = or i1 %1, %3\n store i64 %arg4, i64* %sv_0.0.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %or.cond4, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %arg3 to i8*\n %5 = call i32 @strlen(i8* %4)\n %6 = sext i32 %5 to i64\n store i64 %6, i64* %sv_0.0.reg2mem\n store i64 %arg3, i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br i1 %1, label LBL_4, label LBL_3\n LBL_3:\n %7 = inttoptr i64 %arg3 to i64*\n %8 = trunc i64 %sv_0.0.reload to i32\n %9 = call i64* @memchr(i64* %7, i32 0, i32 %8)\n %10 = icmp eq i64* %9, null\n store i64 %arg3, i64* %rdi.1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_4, label LBL_11\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %11 = trunc i64 %arg2 to i32\n %12 = icmp eq i32 %11, 1\n %13 = icmp eq i1 %12, false\n %14 = icmp eq i64 %rdi.1.reload, 0\n %or.cond = or i1 %13, %14\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %rdi.1.reload)\n store i64 0, i64* %arg1, align 8\n br label LBL_6\n LBL_6:\n %16 = icmp ne i64 %arg3, 0\n %17 = icmp eq i64 %sv_0.0.reload, 0\n %18 = icmp eq i1 %17, false\n %or.cond6 = icmp eq i1 %16, %18\n store i64 1, i64* %rax.0.reg2mem\n br i1 %or.cond6, label LBL_7, label LBL_11\n LBL_7:\n %19 = inttoptr i64 %arg3 to i8*\n %20 = trunc i64 %sv_0.0.reload to i32\n %21 = call i8* @strndup(i8* %19, i32 %20)\n %22 = icmp eq i8* %21, null\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_8, label LBL_11\n LBL_8:\n %24 = ptrtoint i8* %21 to i64\n %25 = call i64 @FUNC(i64 %arg3, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %28, label LBL_11, label LBL_9\n LBL_9:\n %29 = bitcast i8* %21 to i64*\n call void @free(i64* %29)\n %30 = call i64 @FUNC(i64 %24)\n %31 = icmp eq i64 %30, 0\n %32 = icmp eq i1 %31, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %33 = call i64 @FUNC(i64 %24)\n store i64 0, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8* %21, { 0, 2, 1 }\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5, 6 }\n uselistorder void (i64*)* @free, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i1 false, { 2, 3, 4, 0, 5, 1, 6 }\n uselistorder i64 %arg3, { 3, 5, 4, 0, 6, 1, 2, 7 }\n uselistorder label LBL_11, { 2, 1, 0, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_putpixel_12776", "fun_name": "bm_putpixel", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = and i64 %1, 4294967295\n %4 = icmp slt i64 %2, %3\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = icmp slt i64 %2, %9\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %10, label LBL_2, label LBL_4\n LBL_2:\n %sext3 = mul i64 %arg3, 4294967296\n %11 = add i64 %5, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = zext i32 %13 to i64\n %15 = ashr exact i64 %sext3, 32\n %16 = icmp slt i64 %15, %14\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = add i64 %5, 12\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = zext i32 %19 to i64\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_4, { 3, 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "slic_card_cleanup_17462", "fun_name": "slic_card_cleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = inttoptr i64 %arg1 to i32*\n store i32 0, i32* %4, align 4\n %5 = add i64 %arg1, 4\n %6 = call i64 @FUNC(i64 %5)\n br label LBL_2\n LBL_2:\n %7 = call i64 @FUNC(i64 %arg1)\n %8 = call i64 @FUNC(i64 %arg1)\n ret i64 %8\n\n uselistorder i64 %arg1, { 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "float_number_18645", "fun_name": "float_number", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem8 = alloca i64\n %.reg2mem6 = alloca i64*\n %.reg2mem = alloca i64\n %sv_0 = alloca i8*, align 8\n %sv_1 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_1 to i64\n %1 = bitcast i8** %sv_0 to i8*\n call void @FUNC(i8* nonnull %1, i64 0, i64 15)\n store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8\n %2 = call i128 @FUNC(i64 4629760934056862679)\n %3 = call i64 @__asm_movsd.1(i128 %2)\n %4 = call i128 @FUNC(i64 4597166413228745425)\n %5 = call i64 @__asm_movsd.1(i128 %4)\n %6 = call i128 @FUNC(i64 -4593654290910964728)\n %7 = call i64 @__asm_movsd.1(i128 %6)\n %8 = call i128 @FUNC(i64 -4743512124597555068)\n %9 = call i64 @__asm_movsd.1(i128 %8)\n %10 = add i64 %0, -16\n %11 = add i64 %0, -176\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %.reg2mem\n store i64* %12, i64** %.reg2mem6\n store i64 %10, i64* %.reg2mem8\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %13, i64* %.lcssa.reg2mem\n br i1 %15, label LBL_1, label LBL_4\n LBL_1:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload9 = load i64, i64* %.reg2mem8\n %.reload = load i64, i64* %.reg2mem\n %16 = call i64 @FUNC(i64 %.reload, i64 0)\n %17 = call i64 @FUNC(i64 %16)\n %18 = and i64 %17, 4294967295\n %19 = call i64 @FUNC(i64 %18)\n %20 = call i128 @FUNC(i64 %17)\n %21 = call i64 @FUNC(i128 %20)\n %22 = add i64 %.reload9, -152\n %23 = icmp eq i64 %22, 0\n %24 = trunc i64 %22 to i8\n %25 = call i8 @llvm.ctpop.i8(i8 %24), !range !42\n %26 = urem i8 %25, 2\n %27 = icmp eq i8 %26, 0\n %28 = inttoptr i64 %22 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i128 @FUNC(i64 %29)\n %31 = call i128 @__asm_movq.2(i64 %21)\n call void @FUNC(i128 %31, i128 %30)\n %32 = icmp eq i1 %27, false\n %33 = call i128 @__asm_movq.2(i64 %21)\n call void @FUNC(i128 %33, i128 %30)\n %narrow = icmp eq i1 %23, %32\n %34 = zext i1 %narrow to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %.reload9, -144\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 8\n %39 = icmp eq i32 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_3, label LBL_2\n LBL_2:\n %.reload7 = load i64*, i64** %.reg2mem6\n %41 = call i64 @FUNC(i64 %16)\n %42 = load i64, i64* %.reload7, align 8\n %43 = call i64 @FUNC(i64 %41)\n %44 = inttoptr i64 %43 to i8*\n %45 = inttoptr i64 %42 to i8*\n %46 = call i32 @strcmp(i8* %44, i8* %45)\n %47 = icmp eq i32 %46, 0\n %48 = zext i1 %47 to i64\n %49 = call i64 @FUNC(i64 %48)\n %50 = call i64 @FUNC(i64 %41)\n br label LBL_3\n LBL_3:\n %51 = call i64 @FUNC(i64 %17)\n %52 = add i32 %storemerge2.reload, 1\n %53 = sext i32 %52 to i64\n %54 = mul nsw i64 %53, 24\n %55 = add i64 %54, %10\n %56 = add i64 %55, -160\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = icmp eq i64 %58, 0\n %60 = icmp eq i1 %59, false\n store i64 %58, i64* %.reg2mem\n store i64* %57, i64** %.reg2mem6\n store i64 %55, i64* %.reg2mem8\n store i32 %52, i32* %storemerge2.reg2mem\n store i64 %58, i64* %.lcssa.reg2mem\n br i1 %60, label LBL_1, label LBL_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i128 %30, { 1, 0 }\n uselistorder i64 %22, { 2, 1, 0 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64 %17, { 0, 2, 1 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.reg2mem6, { 2, 0, 1 }\n uselistorder i64* %.reg2mem8, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @QDECREF, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i64 (i64)* @g_assert, { 2, 1, 0 }\n uselistorder i32 0, { 4, 5, 0, 6, 1, 2, 3 }\n uselistorder i1 false, { 3, 1, 2, 0, 4 }\n uselistorder i32 1, { 11, 10, 9, 6, 5, 4, 3, 2, 7, 8, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mbedtls_aes_cmac_prf_128_3882", "fun_name": "mbedtls_aes_cmac_prf_128", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64* %arg4, i64 %arg5, i64* %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = icmp eq i64 %arg3, 16\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n store i64 %0, i64* %sv_1, align 8\n br label LBL_6\n LBL_2:\n %3 = call i64 @FUNC(i64* nonnull %sv_1)\n %4 = call i64* @memset(i64* nonnull %sv_0, i32 0, i32 16)\n %5 = call i64 @FUNC(i64* nonnull %sv_1, i64 0, i64* nonnull %sv_0, i64 128)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = and i64 %5, 4294967295\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %9 = call i64 @FUNC(i64* nonnull %sv_1, i64 %0, i64 %arg3, i64* nonnull %sv_1, i64 16)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_6, label LBL_5\n LBL_5:\n %12 = and i64 %9, 4294967295\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_6:\n %13 = call i64 @FUNC(i64* %arg1, i64 0, i64* nonnull %sv_1, i64 128)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %16 = and i64 %13, 4294967295\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %17 = ptrtoint i64* %arg4 to i64\n %18 = call i64 @FUNC(i64* nonnull %sv_1, i64 16)\n %19 = call i64 @FUNC(i64* %arg1, i64 %17, i64 %arg5, i64* %arg6, i64 16)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64*, i64, i64, i64*, i64)* @mbedtls_cmac_generate, { 1, 0 }\n uselistorder i64 (i64*, i64, i64*, i64)* @mbedtls_cmac_setkey, { 1, 0 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "file_completion_16797", "fun_name": "file_completion", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca %dirent*\n %sv_0.1.reg2mem = alloca i32\n %1 = load i32, i32* %0\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i8* @strrchr(i8* %2, i32 47)\n %4 = icmp eq i8* %3, null\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64* nonnull %sv_4, i64 1024, i64 %arg1)\n %7 = call i64 @FUNC(i64* nonnull %sv_3, i64 1024, i64 ptrtoint ([2 x i8]* @gv_0 to i64))\n store i32 0, i32* %sv_0.1.reg2mem\n br label LBL_3\n LBL_2:\n %8 = ptrtoint i8* %3 to i64\n %9 = ptrtoint i64* %sv_5 to i64\n %10 = sub i64 %8, %arg1\n %11 = trunc i64 %10 to i32\n %12 = add i32 %11, 1\n %13 = inttoptr i64 %arg1 to i64*\n %14 = call i64* @memcpy(i64* nonnull %sv_3, i64* %13, i32 %12)\n %15 = icmp ult i32 %12, 1023\n %spec.select = select i1 %15, i32 %12, i32 1023\n %16 = zext i32 %spec.select to i64\n %17 = add i64 %9, -1056\n %18 = add i64 %17, %16\n %19 = inttoptr i64 %18 to i8*\n store i8 0, i8* %19, align 1\n %20 = add i64 %8, 1\n %21 = call i64 @FUNC(i64* nonnull %sv_4, i64 1024, i64 %20)\n store i32 %spec.select, i32* %sv_0.1.reg2mem\n br label LBL_3\n LBL_3:\n %22 = bitcast i64* %sv_3 to i8*\n %23 = call %__dirstream* @opendir(i8* nonnull %22)\n %24 = ptrtoint %__dirstream* %23 to i64\n %25 = icmp eq %__dirstream* %23, null\n store i64 %24, i64* %rax.0.reg2mem\n br i1 %25, label LBL_14, label LBL_4\n LBL_4:\n %26 = call %dirent* @readdir(%__dirstream* nonnull %23)\n %27 = icmp eq %dirent* %26, null\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_5, label LBL_6\n LBL_5:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %29 = inttoptr i64 %arg1 to i64*\n %30 = zext i32 %sv_0.1.reload to i64\n %31 = sub nsw i64 1024, %30\n %32 = ptrtoint i64* %sv_2 to i64\n %33 = add i64 %30, %32\n %34 = inttoptr i64 %33 to i64*\n %35 = bitcast i64* %sv_2 to i8*\n %36 = bitcast i64* %sv_1 to %stat*\n %37 = and i32 %1, 61440\n %38 = icmp eq i32 %37, 16384\n %39 = icmp eq i1 %38, false\n store %dirent* %26, %dirent** %.reg2mem\n br label LBL_7\n LBL_6:\n %40 = call i32 @closedir(%__dirstream* nonnull %23)\n %41 = sext i32 %40 to i64\n store i64 %41, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %.reload = load %dirent*, %dirent** %.reg2mem\n %42 = ptrtoint %dirent* %.reload to i64\n %43 = add i64 %42, 19\n %44 = inttoptr i64 %43 to i8*\n %45 = call i32 @strcmp(i8* %44, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0))\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_10, label LBL_8\n LBL_8:\n %47 = call i32 @strcmp(i8* %44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %48 = icmp eq i32 %47, 0\n br i1 %48, label LBL_10, label LBL_9\n LBL_9:\n %49 = call i64 @FUNC(i64 %43, i64* nonnull %sv_4, i64 0)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n br i1 %51, label LBL_10, label LBL_11\n LBL_10:\n %52 = call %dirent* @readdir(%__dirstream* nonnull %23)\n %53 = icmp eq %dirent* %52, null\n %54 = icmp eq i1 %53, false\n store %dirent* %52, %dirent** %.reg2mem\n br i1 %54, label LBL_7, label LBL_6\n LBL_11:\n %55 = call i64* @memcpy(i64* nonnull %sv_2, i64* %29, i32 %sv_0.1.reload)\n %56 = call i64 @FUNC(i64* %34, i64 %31, i64 %43)\n %57 = call i32 @stat(i8* nonnull %35, %stat* nonnull %36)\n br i1 %39, label LBL_13, label LBL_12\n LBL_12:\n %58 = call i64 @FUNC(i64* nonnull %sv_2, i64 1024, i64* nonnull @gv_2)\n br label LBL_13\n LBL_13:\n %59 = load i64, i64* @gv_3, align 8\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = call i64 @FUNC(i64 %61, i64* nonnull %sv_2)\n br label LBL_10\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder %__dirstream* %23, { 2, 1, 0, 3, 4 }\n uselistorder i8* %3, { 1, 0 }\n uselistorder i64* %sv_2, { 0, 1, 3, 2, 4 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder %dirent** %.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }\n uselistorder %dirent* null, { 1, 0 }\n uselistorder %dirent* (%__dirstream*)* @readdir, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 5, 1 }\n uselistorder i64 (i64*, i64, i64)* @pstrcpy, { 3, 2, 1, 0 }\n uselistorder i1 false, { 2, 1, 0, 3 }\n uselistorder i64 %arg1, { 1, 3, 2, 0, 4 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_10, { 3, 2, 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vhost_scsi_send_evt_13735", "fun_name": "vhost_scsi_send_evt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg5, 4294967295\n %2 = zext i32 %arg4 to i64\n %3 = call i64 @FUNC(i64 %0, i64 %2, i64 %1)\n %4 = icmp eq i64 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_6, label LBL_1\n LBL_1:\n %5 = icmp eq i32* %arg2, null\n %6 = icmp eq i32* %arg3, null\n %or.cond = or i1 %5, %6\n br i1 %or.cond, label LBL_5, label LBL_2\n LBL_2:\n %7 = inttoptr i64 %3 to i32*\n store i32 1, i32* %7, align 4\n %8 = bitcast i64* %rsi to i32*\n %9 = load i32, i32* %8, align 8\n %10 = add i64 %3, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = bitcast i64* %rdx to i32*\n %13 = load i32, i32* %12, align 8\n %14 = icmp ult i32 %13, 256\n store i32 %13, i32* %.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = udiv i32 %13, 256\n %16 = or i32 %15, 64\n %17 = add i64 %3, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %.pre = load i32, i32* %12, align 8\n store i32 %.pre, i32* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i32, i32* %.reg2mem\n %19 = urem i32 %.reload, 256\n %20 = add i64 %3, 12\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n br label LBL_5\n LBL_5:\n %22 = add i64 %3, 16\n %23 = call i64 @FUNC(i64 %22, i64 %0)\n %24 = add i64 %0, 12\n %25 = add i64 %0, 8\n %26 = call i64 @FUNC(i64 %25, i64 %24)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %13, { 1, 0, 2 }\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "AcquireCLocale_10012", "fun_name": "AcquireCLocale", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = load i64, i64* @gv_0, align 8\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mddev_suspend_17427", "fun_name": "mddev_suspend", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %5 = call i32 @fwrite(i64* bitcast ([18 x i8]* @gv_1 to i64*), i32 1, i32 17, %_IO_FILE* %4)\n call void @exit(i32 1)\n unreachable\n LBL_2:\n store i32 1, i32* %arg1, align 4\n %6 = call i64 @FUNC()\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 4\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = zext i1 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n ret i64 %7\n\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "gf_isom_hint_rtp_read_13018", "fun_name": "gf_isom_hint_rtp_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %storemerge11.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.013.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32*, align 8\n %6 = call i64 @FUNC(i64 %4)\n %7 = trunc i64 %6 to i32\n %8 = bitcast i64* %arg1 to i32*\n store i32 %7, i32* %8, align 4\n %9 = call i64 @FUNC(i64 %4, i64 2)\n %10 = call i64 @FUNC(i64 %4, i64 1)\n %11 = trunc i64 %10 to i8\n %12 = add i64 %5, 4\n %13 = inttoptr i64 %12 to i8*\n store i8 %11, i8* %13, align 1\n %14 = call i64 @FUNC(i64 %4, i64 1)\n %15 = trunc i64 %14 to i8\n %16 = add i64 %5, 5\n %17 = inttoptr i64 %16 to i8*\n store i8 %15, i8* %17, align 1\n %18 = call i64 @FUNC(i64 %4, i64 4)\n %19 = call i64 @FUNC(i64 %4, i64 1)\n %20 = trunc i64 %19 to i8\n %21 = add i64 %5, 6\n %22 = inttoptr i64 %21 to i8*\n store i8 %20, i8* %22, align 1\n %23 = call i64 @FUNC(i64 %4, i64 7)\n %24 = trunc i64 %23 to i8\n %25 = add i64 %5, 7\n %26 = inttoptr i64 %25 to i8*\n store i8 %24, i8* %26, align 1\n %27 = call i64 @FUNC(i64 %4)\n %28 = trunc i64 %27 to i16\n %29 = add i64 %5, 8\n %30 = inttoptr i64 %29 to i16*\n store i16 %28, i16* %30, align 2\n %31 = call i64 @FUNC(i64 %4, i64 13)\n %32 = call i64 @FUNC(i64 %4, i64 1)\n %33 = trunc i64 %32 to i8\n %34 = call i64 @FUNC(i64 %4, i64 1)\n %35 = trunc i64 %34 to i8\n %36 = add i64 %5, 10\n %37 = inttoptr i64 %36 to i8*\n store i8 %35, i8* %37, align 1\n %38 = call i64 @FUNC(i64 %4, i64 1)\n %39 = trunc i64 %38 to i8\n %40 = add i64 %5, 11\n %41 = inttoptr i64 %40 to i8*\n store i8 %39, i8* %41, align 1\n %42 = call i64 @FUNC(i64 %4)\n %43 = icmp eq i8 %33, 0\n br i1 %43, label LBL_6, label LBL_1\n LBL_1:\n %44 = call i64 @FUNC(i64 %4)\n %45 = trunc i64 %44 to i32\n %46 = icmp ugt i32 %45, 4\n store i32 4, i32* %sv_0.0.lcssa.reg2mem\n br i1 %46, label LBL_2, label LBL_5\n LBL_2:\n %47 = bitcast i32** %sv_1 to i64*\n %48 = add i64 %5, 24\n %49 = inttoptr i64 %48 to i64*\n store i32 4, i32* %sv_0.013.reg2mem\n br label LBL_3\n LBL_3:\n %50 = call i64 @FUNC(i64* nonnull %47, i64 %4)\n %51 = trunc i64 %50 to i32\n %52 = icmp eq i32 %51, 0\n store i64 %50, i64* %rax.0.shrunk.reg2mem\n br i1 %52, label LBL_4, label LBL_20\n LBL_4:\n %sv_0.013.reload = load i32, i32* %sv_0.013.reg2mem\n %53 = load i32*, i32** %sv_1, align 8\n %54 = ptrtoint i32* %53 to i64\n %55 = load i64, i64* %49, align 8\n %56 = call i64 @FUNC(i64 %55, i64 %54)\n %57 = load i32*, i32** %sv_1, align 8\n %58 = load i32, i32* %57, align 4\n %59 = add i32 %58, %sv_0.013.reload\n %60 = icmp ult i32 %59, %45\n store i32 %59, i32* %sv_0.013.reg2mem\n store i32 %59, i32* %sv_0.0.lcssa.reg2mem\n br i1 %60, label LBL_3, label LBL_5\n LBL_5:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %61 = icmp eq i32 %sv_0.0.lcssa.reload, %45\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br i1 %61, label LBL_6, label LBL_20\n LBL_6:\n %62 = trunc i64 %42 to i16\n %63 = icmp eq i16 %62, 0\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %63, label LBL_20, label LBL_7\n LBL_7:\n %64 = add i64 %5, 32\n %65 = inttoptr i64 %64 to i64*\n store i32 0, i32* %storemerge11.reg2mem\n br label LBL_8\n LBL_8:\n %66 = call i64 @FUNC(i64 %4)\n %67 = urem i64 %66, 256\n %68 = call i64 @FUNC(i64 %67)\n %69 = icmp eq i64 %68, 0\n %70 = icmp eq i1 %69, false\n br i1 %70, label LBL_10, label LBL_9\n LBL_9:\n %71 = add i64 %5, 16\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = zext i32 %73 to i64\n %75 = call i64 @FUNC(i64 1, i64 2, i64 %74, i64 %3, i64 %2, i64 %1)\n store i64 4294967295, i64* %rax.0.shrunk.reg2mem\n br label LBL_20\n LBL_10:\n %76 = call i64 @FUNC(i64 %68, i64 %4)\n %77 = trunc i64 %76 to i32\n %78 = icmp eq i32 %77, 0\n store i64 %76, i64* %rax.0.shrunk.reg2mem\n br i1 %78, label LBL_11, label LBL_20\n LBL_11:\n %storemerge11.reload = load i32, i32* %storemerge11.reg2mem\n %79 = trunc i64 %66 to i32\n %80 = urem i32 %79, 256\n %81 = inttoptr i64 %68 to i32*\n %82 = icmp eq i32 %80, 3\n br i1 %82, label LBL_16, label LBL_12\n LBL_12:\n %83 = icmp ugt i32 %80, 3\n br i1 %83, label LBL_18, label LBL_13\n LBL_13:\n %trunc = trunc i64 %66 to i8\n switch i8 %trunc, label LBL_18 [\n i8 1, label LBL_14\n i8 2, label LBL_15\n ]\n LBL_14:\n %84 = load i32, i32* %81, align 4\n %85 = icmp eq i32 %84, 0\n br i1 %85, label LBL_18, label LBL_17\n LBL_15:\n %86 = load i32, i32* %81, align 4\n %87 = icmp eq i32 %86, 0\n br i1 %87, label LBL_18, label LBL_17\n LBL_16:\n %88 = load i32, i32* %81, align 4\n %89 = icmp eq i32 %88, 0\n br i1 %89, label LBL_18, label LBL_17\n LBL_17:\n %90 = load i64, i64* %65, align 8\n %91 = call i64 @FUNC(i64 %90, i64 %68)\n br label LBL_19\n LBL_18:\n %92 = call i64 @FUNC(i64 %68)\n br label LBL_19\n LBL_19:\n %93 = mul i32 %storemerge11.reload, 65536\n %sext = add i32 %93, 65536\n %94 = ashr exact i32 %sext, 16\n %95 = trunc i32 %94 to i16\n %96 = icmp ugt i16 %62, %95\n store i32 %94, i32* %storemerge11.reg2mem\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %96, label LBL_8, label LBL_20\n LBL_20:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i32* %81, { 2, 0, 1 }\n uselistorder i32 %80, { 1, 0 }\n uselistorder i64 %68, { 0, 1, 3, 2, 4 }\n uselistorder i64 %66, { 1, 2, 0 }\n uselistorder i16 %62, { 1, 0 }\n uselistorder i32 %45, { 2, 1, 0 }\n uselistorder i32** %sv_1, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9 }\n uselistorder i64 %4, { 2, 3, 0, 1, 4, 5, 8, 7, 6, 9, 10, 12, 11, 13, 14, 15, 16 }\n uselistorder i32* %sv_0.013.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge11.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 3, 2, 6, 4, 5, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @gf_list_add, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5 }\n uselistorder i32 4, { 1, 0, 2 }\n uselistorder i64 (i64)* @gf_bs_read_u16, { 1, 0 }\n uselistorder i64 7, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_bs_read_int, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @gf_bs_read_u32, { 1, 0 }\n uselistorder label LBL_20, { 2, 1, 5, 3, 4, 0 }\n uselistorder label LBL_18, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_17, { 2, 0, 1 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "virtio_blk_data_plane_stop_3142", "fun_name": "virtio_blk_data_plane_stop", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i8\n %3 = xor i8 %2, 1\n %4 = zext i8 %3 to i64\n %5 = icmp eq i8 %3, 0\n %6 = icmp eq i1 %5, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_6, label LBL_1\n LBL_1:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 1\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = zext i8 %10 to i64\n %12 = icmp eq i8 %10, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_6, label LBL_2\n LBL_2:\n store i8 1, i8* %9, align 1\n %14 = call i64 @FUNC(i64 %7)\n %15 = add i64 %7, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = icmp eq i64 %17, 0\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = call i64 @FUNC(i64 %17)\n store i64 0, i64* %16, align 8\n %.pre = add i64 %7, 16\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_5\n LBL_4:\n %20 = add i64 %7, 16\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %7, 24\n %23 = call i64 @FUNC(i64 %22)\n store i64 %20, i64* %.pre-phi.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %24 = add i64 %7, 32\n %25 = call i64 @FUNC(i64 %24)\n %26 = call i64 @FUNC(i64 %.pre-phi.reload)\n %27 = add i64 %7, 48\n %28 = call i64 @FUNC(i64 %27)\n %29 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %29, align 1\n store i8 0, i8* %9, align 1\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 3, 2, 5, 4, 1, 7, 6, 8 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dccp_error_13585", "fun_name": "dccp_error", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i32* %arg3, i64 %arg4, i64* %arg5, i64 %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i32* %arg3 to i64\n %sv_1 = alloca i64, align 8\n %4 = trunc i64 %arg4 to i32\n %sext11 = mul i64 %arg6, 72057594037927936\n %5 = ashr exact i64 %sext11, 56\n %6 = call i64 @FUNC(i64 %3, i32 %4, i64 3, i64* nonnull %sv_1)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 ptrtoint ([26 x i8]* @gv_0 to i64), i64* %.reg2mem\n br i1 %8, label LBL_1, label LBL_8\n LBL_1:\n %9 = inttoptr i64 %6 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 0\n store i64 ptrtoint ([40 x i8]* @gv_1 to i64), i64* %.reg2mem\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %12 = trunc i64 %2 to i32\n %13 = sub i32 %12, %4\n %14 = zext i8 %10 to i32\n %15 = mul i32 %14, 4\n %16 = icmp ult i32 %13, %15\n %17 = icmp eq i1 %16, false\n store i64 ptrtoint ([40 x i8]* @gv_1 to i64), i64* %.reg2mem\n br i1 %17, label LBL_3, label LBL_8\n LBL_3:\n %18 = add i64 %6, 1\n %19 = inttoptr i64 %18 to i8*\n %20 = load i8, i8* %19, align 1\n %21 = icmp eq i8 %20, 0\n store i32 %13, i32* %sv_0.0.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = zext i8 %20 to i32\n %23 = mul i32 %22, 4\n %24 = add nsw i32 %23, -4\n %25 = icmp ugt i32 %24, %13\n store i32 %24, i32* %sv_0.0.reg2mem\n store i64 ptrtoint ([35 x i8]* @gv_2 to i64), i64* %.reg2mem\n br i1 %25, label LBL_8, label LBL_5\n LBL_5:\n %26 = trunc i64 %1 to i32\n %27 = icmp eq i32 %26, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %27, label LBL_10, label LBL_6\n LBL_6:\n %28 = trunc i64 %arg7 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %30, label LBL_10, label LBL_7\n LBL_7:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %31 = urem i64 %5, 256\n %32 = call i64 @FUNC(i64 %3, i32 %28, i32 %4, i32 %sv_0.0.reload, i64 33, i64 %31)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n store i64 ptrtoint ([26 x i8]* @gv_3 to i64), i64* %.reg2mem\n store i64 1, i64* %storemerge.reg2mem\n br i1 %34, label LBL_10, label LBL_8\n LBL_8:\n %35 = ptrtoint i32* %arg1 to i64\n %36 = call i64 @FUNC(i64 %35, i64 33)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %.reload = load i64, i64* %.reg2mem\n %39 = trunc i64 %5 to i8\n %40 = call i64 @FUNC(i64 %35, i8 %39, i64 0, i64 %3, i64 0, i64 0, i64 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %.reload)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %13, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %4, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 5, 4, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 2, 1, 0, 4, 3 }\n uselistorder i64 ptrtoint ([40 x i8]* @gv_1 to i64), { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 4, 3, 2 }\n uselistorder label LBL_8, { 0, 1, 3, 2, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dup_task_struct_18033", "fun_name": "dup_task_struct", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %9 = call i64 @FUNC(i64 %2, i64 %0)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_6, label LBL_4\n LBL_4:\n %13 = inttoptr i64 %2 to i64*\n store i64 %5, i64* %13, align 8\n %14 = add i64 %2, 32\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i64 @FUNC(i64 %2, i64 %0)\n %20 = call i64 @FUNC(i64 %2)\n %21 = inttoptr i64 %20 to i64*\n store i64 3735928559, i64* %21, align 8\n %22 = call i64 @FUNC()\n %23 = trunc i64 %22 to i32\n %24 = add i64 %2, 8\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n %26 = add i64 %2, 24\n %27 = call i64 @FUNC(i64 %26, i64 2)\n %28 = add i64 %2, 28\n %29 = call i64 @FUNC(i64 %28, i64 0)\n %30 = add i64 %2, 12\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %32 = add i64 %2, 16\n %33 = inttoptr i64 %32 to i64*\n store i64 0, i64* %33, align 8\n %34 = call i64 @FUNC(i64 %5, i64 1)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %35 = call i64 @FUNC(i64 %5)\n %36 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 2, 0, 1, 3 }\n uselistorder i64 %2, { 11, 0, 2, 5, 4, 3, 6, 8, 7, 9, 10, 12, 1, 13, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @atomic_set, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pop_output_configuration_1162", "fun_name": "pop_output_configuration", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 12\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = trunc i64 %0 to i32\n %6 = and i64 %0, 4294967295\n %7 = icmp eq i32 %5, 1\n %8 = icmp eq i1 %7, false\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %1 to i64*\n store i64 %0, i64* %9, align 8\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %0, 20\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %0, 24\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %0, 16\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = inttoptr i64 %17 to i32*\n store i32 %20, i32* %21, align 4\n %22 = load i64, i64* %16, align 8\n %23 = load i32, i32* %14, align 4\n %24 = add i64 %22, 4\n %25 = inttoptr i64 %24 to i32*\n store i32 %23, i32* %25, align 4\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 4, 3, 5, 6, 1, 0, 2, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nsexec_12854", "fun_name": "nsexec", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %1 = load i32, i32* %0\n %2 = load i32, i32* %0\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i32, align 4\n store i32 0, i32* %sv_3, align 4\n %3 = call i64 @FUNC()\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, -1\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %5, label LBL_27, label LBL_1\n LBL_1:\n %6 = and i64 %3, 4294967295\n %7 = bitcast i32* %sv_3 to i64*\n %8 = call i64 @FUNC(i64 %6, i64* nonnull %7)\n %9 = load i32, i32* %sv_3, align 4\n %10 = icmp eq i32 %9, -1\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_3:\n %13 = ptrtoint i32* %sv_2 to i64\n %14 = trunc i64 %13 to i32\n %15 = insertvalue [2 x i32] undef, i32 %14, 0\n %16 = call i32 @pipe([2 x i32] %15)\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0))\n unreachable\n LBL_5:\n %20 = ptrtoint i64* %sv_1 to i64\n %21 = trunc i64 %20 to i32\n %22 = insertvalue [8 x i32] undef, i32 %21, 0\n %23 = insertvalue %__jmp_buf_tag undef, [8 x i32] %22, 0\n %24 = insertvalue [1 x %__jmp_buf_tag] undef, %__jmp_buf_tag %23, 0\n %25 = call i32 @_setjmp([1 x %__jmp_buf_tag] %24)\n %26 = icmp eq i32 %25, 1\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_26, label LBL_6\n LBL_6:\n store i8 0, i8* %sv_0, align 1\n %28 = call i32 @close(i32 %1)\n %29 = load i32, i32* %sv_2, align 4\n %30 = bitcast i8* %sv_0 to i64*\n %31 = call i32 @read(i32 %29, i64* nonnull %30, i32 1)\n %32 = icmp eq i32 %31, 1\n %33 = load i8, i8* %sv_0, align 1\n %34 = icmp eq i8 %33, 1\n %or.cond = icmp eq i1 %32, %34\n br i1 %or.cond, label LBL_8, label LBL_7\n LBL_7:\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_2, i64 0, i64 0))\n unreachable\n LBL_8:\n %36 = call i32 @setsid()\n %37 = icmp slt i32 %36, 0\n %38 = icmp eq i1 %37, false\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %39 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n unreachable\n LBL_10:\n %40 = call i32 @setuid(i32 0)\n %41 = icmp slt i32 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_12, label LBL_11\n LBL_11:\n %43 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0))\n unreachable\n LBL_12:\n %44 = call i32 @setgid(i32 0)\n %45 = icmp slt i32 %44, 0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_14, label LBL_13\n LBL_13:\n %47 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0))\n unreachable\n LBL_14:\n %48 = call i32 @setgroups(i32 0, i32* null)\n %49 = icmp slt i32 %48, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_16, label LBL_15\n LBL_15:\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_6, i64 0, i64 0))\n unreachable\n LBL_16:\n %52 = icmp eq i32 %2, -1\n br i1 %52, label LBL_25, label LBL_17\n LBL_17:\n %53 = call i32 (i32, i32, ...) @ioctl(i32 %2, i32 21518)\n %54 = icmp slt i32 %53, 0\n %55 = icmp eq i1 %54, false\n br i1 %55, label LBL_19, label LBL_18\n LBL_18:\n %56 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_7, i64 0, i64 0))\n unreachable\n LBL_19:\n %57 = call i32 @dup3(i32 %2, i32 0, i32 0)\n %58 = icmp eq i32 %57, 0\n br i1 %58, label LBL_21, label LBL_20\n LBL_20:\n %59 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_8, i64 0, i64 0))\n unreachable\n LBL_21:\n %60 = call i32 @dup3(i32 %2, i32 1, i32 0)\n %61 = icmp eq i32 %60, 1\n br i1 %61, label LBL_23, label LBL_22\n LBL_22:\n %62 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_9, i64 0, i64 0))\n unreachable\n LBL_23:\n %63 = call i32 @dup3(i32 %2, i32 2, i32 0)\n %64 = icmp eq i32 %63, 2\n br i1 %64, label LBL_25, label LBL_24\n LBL_24:\n %65 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_10, i64 0, i64 0))\n unreachable\n LBL_25:\n %66 = call i64 @FUNC(i64* nonnull %7)\n store i64 %66, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_26:\n %67 = bitcast i32* %sv_2 to i64*\n %68 = call i64 @FUNC(i64 %6, i64* nonnull %sv_1, i64* nonnull %67, i64* nonnull %7)\n %69 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_11, i64 0, i64 0))\n unreachable\n LBL_27:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %7, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i32* %sv_3, { 1, 2, 0 }\n uselistorder i32* %sv_2, { 2, 1, 0 }\n uselistorder i32 %2, { 4, 3, 2, 0, 1 }\n uselistorder i32* %0, { 1, 0 }\n uselistorder i32 (i32, i32, i32)* @dup3, { 2, 1, 0 }\n uselistorder i32 (i32)* @close, { 1, 0 }\n uselistorder i64 (i8*)* @bail, { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i32 0, { 0, 1, 8, 2, 3, 9, 10, 4, 11, 5, 12, 6, 13, 14, 7, 15 }\n uselistorder i32 1, { 4, 7, 5, 8, 6, 10, 11, 13, 12, 2, 1, 0, 3, 9 }\n uselistorder label LBL_27, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fw_cfg_add_i64_2627", "fun_name": "fw_cfg_add_i64", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i16\n %2 = call i64 @FUNC(i64 8)\n %3 = call i64 @FUNC(i64 %arg3)\n %4 = inttoptr i64 %2 to i64*\n store i64 %3, i64* %4, align 8\n %5 = call i64 @FUNC(i64 %0, i16 %1, i64 %2, i64 8)\n ret i64 %5\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stl_update_connects_remove_1_5818", "fun_name": "stl_update_connects_remove_1", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n %5 = icmp eq i1 %4, false\n %6 = trunc i64 %arg2 to i32\n %7 = icmp slt i32 %6, 0\n %or.cond = or i1 %7, %5\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_7, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = ashr exact i64 %sext, 32\n %13 = ashr exact i64 %sext, 31\n %14 = add nsw i64 %13, %12\n %15 = mul i64 %14, 4\n %16 = add i64 %11, %15\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, -1\n %20 = zext i1 %19 to i64\n %21 = add i64 %16, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = icmp eq i32 %23, -1\n %25 = zext i1 %24 to i64\n %26 = add nuw nsw i64 %25, %20\n %27 = add i64 %16, 8\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp eq i32 %29, -1\n %31 = zext i1 %30 to i64\n %32 = add nuw nsw i64 %26, %31\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_3, label LBL_2\n LBL_2:\n %36 = add i64 %8, 16\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = add i32 %38, -1\n store i32 %39, i32* %37, align 4\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_3:\n %40 = icmp eq i32 %33, 1\n %41 = icmp eq i1 %40, false\n br i1 %41, label LBL_5, label LBL_4\n LBL_4:\n %42 = add i64 %8, 20\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = add i32 %44, -1\n store i32 %45, i32* %43, align 4\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %46 = icmp eq i32 %33, 2\n %47 = icmp eq i1 %46, false\n store i64 %32, i64* %rax.0.reg2mem\n br i1 %47, label LBL_7, label LBL_6\n LBL_6:\n %48 = add i64 %8, 24\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = add i32 %50, -1\n store i32 %51, i32* %49, align 4\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 2, 5, 1, 4, 0, 3, 6 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1, 5 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_7, { 1, 2, 3, 4, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "local_remove_8463", "fun_name": "local_remove", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %sv_1 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %arg2)\n %4 = call i64 @FUNC(i64 %arg2)\n %5 = call i64 @FUNC(i64 %1, i64 %3)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, -1\n store i64 4294967295, i64* %sv_0.1.reg2mem\n br i1 %7, label LBL_4, label LBL_1\n LBL_1:\n %8 = inttoptr i64 %arg2 to i8*\n %9 = bitcast i64* %sv_1 to %stat*\n %10 = call i32 @fstatat(i32 %6, i8* %8, %stat* nonnull %9, i32 256)\n %11 = icmp slt i32 %10, 0\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = and i32 %2, 61440\n %13 = icmp eq i32 %12, 16384\n %14 = icmp eq i1 %13, false\n %spec.select = select i1 %14, i32 0, i32 512\n %15 = call i64 @FUNC(i64 %1, i32 %6, i64 %4, i32 %spec.select)\n store i64 %15, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %16 = and i64 %5, 4294967295\n %17 = call i64 @FUNC(i64 %16)\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %18 = call i64 @FUNC(i64 %4)\n %19 = call i64 @FUNC(i64 %3)\n %20 = and i64 %sv_0.1.reload, 4294967295\n ret i64 %20\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_lpc_324", "fun_name": "decode_lpc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.24.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i32\n %sv_2.06.reg2mem = alloca i32\n %sv_3.07.reg2mem = alloca i32\n %storemerge38.reg2mem = alloca i32\n %sv_0.1.lcssa.reg2mem = alloca i64\n %sv_4.0.lcssa.reg2mem = alloca i32\n %sv_5.0.lcssa.reg2mem = alloca i32\n %sv_0.1.in10.reg2mem = alloca i64\n %sv_5.011.reg2mem = alloca i32\n %sv_4.012.reg2mem = alloca i32\n %storemerge213.reg2mem = alloca i32\n %sv_0.114.reg2mem = alloca i64\n %sv_6.0.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.019.reg2mem = alloca i64\n %storemerge20.reg2mem = alloca i32\n %sv_6.021.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = icmp slt i32 %arg3, 2\n br i1 %2, label LBL_17, label LBL_1\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = trunc i64 %arg2 to i32\n %6 = icmp eq i32 %5, 1\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_6, label LBL_2\n LBL_2:\n %8 = add i64 %3, 4\n %9 = add i32 %arg3, -1\n %10 = ashr i32 %9, 1\n %11 = zext i32 %10 to i64\n %12 = icmp eq i32 %10, 0\n store i32 %4, i32* %sv_6.021.reg2mem\n store i32 0, i32* %storemerge20.reg2mem\n store i64 %8, i64* %sv_0.019.reg2mem\n store i64 %8, i64* %sv_0.0.lcssa.reg2mem\n store i32 %4, i32* %sv_6.0.lcssa.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %sv_0.019.reload = load i64, i64* %sv_0.019.reg2mem\n %storemerge20.reload = load i32, i32* %storemerge20.reg2mem\n %sv_6.021.reload = load i32, i32* %sv_6.021.reg2mem\n %13 = inttoptr i64 %sv_0.019.reload to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i32 %14, %sv_6.021.reload\n store i32 %15, i32* %13, align 4\n %16 = add i64 %sv_0.019.reload, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i32 %18, %15\n store i32 %19, i32* %17, align 4\n %20 = add i64 %sv_0.019.reload, 8\n %21 = add i32 %storemerge20.reload, 1\n %22 = sext i32 %21 to i64\n %23 = icmp slt i64 %22, %11\n store i32 %19, i32* %sv_6.021.reg2mem\n store i32 %21, i32* %storemerge20.reg2mem\n store i64 %20, i64* %sv_0.019.reg2mem\n store i64 %20, i64* %sv_0.0.lcssa.reg2mem\n store i32 %19, i32* %sv_6.0.lcssa.reg2mem\n br i1 %23, label LBL_3, label LBL_4\n LBL_4:\n %24 = urem i32 %arg3, 2\n %25 = icmp eq i32 %24, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_5, label LBL_17\n LBL_5:\n %sv_6.0.lcssa.reload = load i32, i32* %sv_6.0.lcssa.reg2mem\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %26 = inttoptr i64 %sv_0.0.lcssa.reload to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i32 %27, %sv_6.0.lcssa.reload\n store i32 %28, i32* %26, align 4\n store i64 %sv_0.0.lcssa.reload, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_6:\n %29 = icmp eq i32 %5, 2\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_12, label LBL_7\n LBL_7:\n %31 = add i64 %3, 4\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i32 %33, %4\n %35 = zext i32 %34 to i64\n store i32 %34, i32* %32, align 4\n %36 = icmp slt i32 %arg3, 3\n store i64 %35, i64* %rax.0.reg2mem\n br i1 %36, label LBL_17, label LBL_8\n LBL_8:\n %sv_0.19 = add i64 %3, 8\n %37 = add i32 %arg3, -2\n %38 = ashr i32 %37, 1\n %39 = zext i32 %38 to i64\n %40 = icmp eq i32 %38, 0\n store i64 %sv_0.19, i64* %sv_0.114.reg2mem\n store i32 0, i32* %storemerge213.reg2mem\n store i32 %34, i32* %sv_4.012.reg2mem\n store i32 %33, i32* %sv_5.011.reg2mem\n store i64 %3, i64* %sv_0.1.in10.reg2mem\n store i32 %33, i32* %sv_5.0.lcssa.reg2mem\n store i32 %34, i32* %sv_4.0.lcssa.reg2mem\n store i64 %sv_0.19, i64* %sv_0.1.lcssa.reg2mem\n br i1 %40, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.1.in10.reload = load i64, i64* %sv_0.1.in10.reg2mem\n %sv_5.011.reload = load i32, i32* %sv_5.011.reg2mem\n %sv_4.012.reload = load i32, i32* %sv_4.012.reg2mem\n %storemerge213.reload = load i32, i32* %storemerge213.reg2mem\n %sv_0.114.reload = load i64, i64* %sv_0.114.reg2mem\n %41 = inttoptr i64 %sv_0.114.reload to i32*\n %42 = load i32, i32* %41, align 4\n %43 = add i32 %42, %sv_5.011.reload\n %44 = add i32 %43, %sv_4.012.reload\n store i32 %44, i32* %41, align 4\n %45 = add i64 %sv_0.1.in10.reload, 12\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i32 %47, %43\n %49 = add i32 %48, %44\n store i32 %49, i32* %46, align 4\n %50 = add i32 %storemerge213.reload, 1\n %sv_0.1 = add i64 %sv_0.114.reload, 8\n %51 = sext i32 %50 to i64\n %52 = icmp slt i64 %51, %39\n store i64 %sv_0.1, i64* %sv_0.114.reg2mem\n store i32 %50, i32* %storemerge213.reg2mem\n store i32 %49, i32* %sv_4.012.reg2mem\n store i32 %48, i32* %sv_5.011.reg2mem\n store i64 %sv_0.114.reload, i64* %sv_0.1.in10.reg2mem\n store i32 %48, i32* %sv_5.0.lcssa.reg2mem\n store i32 %49, i32* %sv_4.0.lcssa.reg2mem\n store i64 %sv_0.1, i64* %sv_0.1.lcssa.reg2mem\n br i1 %52, label LBL_9, label LBL_10\n LBL_10:\n %53 = urem i32 %arg3, 2\n %54 = icmp eq i32 %53, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %54, label LBL_17, label LBL_11\n LBL_11:\n %sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem\n %sv_4.0.lcssa.reload = load i32, i32* %sv_4.0.lcssa.reg2mem\n %sv_5.0.lcssa.reload = load i32, i32* %sv_5.0.lcssa.reg2mem\n %55 = inttoptr i64 %sv_0.1.lcssa.reload to i32*\n %56 = load i32, i32* %55, align 4\n %57 = add i32 %sv_4.0.lcssa.reload, %sv_5.0.lcssa.reload\n %58 = add i32 %57, %56\n store i32 %58, i32* %55, align 4\n store i64 %sv_0.1.lcssa.reload, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_12:\n %59 = icmp eq i32 %5, 3\n %60 = icmp eq i1 %59, false\n br i1 %60, label LBL_17, label LBL_13\n LBL_13:\n %61 = add i64 %3, 4\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = add i32 %63, %4\n %65 = zext i32 %64 to i64\n store i32 %64, i32* %62, align 4\n %66 = icmp slt i32 %arg3, 3\n store i64 %65, i64* %rax.0.reg2mem\n br i1 %66, label LBL_17, label LBL_14\n LBL_14:\n %67 = add i64 %3, 8\n %68 = inttoptr i64 %67 to i32*\n %69 = load i32, i32* %68, align 4\n %70 = add i32 %69, %63\n %71 = add i32 %70, %64\n store i32 %71, i32* %68, align 4\n %72 = add i32 %arg3, -3\n %73 = icmp eq i32 %72, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %73, label LBL_17, label LBL_15\n LBL_15:\n %74 = zext i32 %72 to i64\n %75 = add i64 %3, 12\n store i32 0, i32* %storemerge38.reg2mem\n store i32 %71, i32* %sv_3.07.reg2mem\n store i32 %70, i32* %sv_2.06.reg2mem\n store i32 %69, i32* %sv_1.05.reg2mem\n store i64 %75, i64* %sv_0.24.reg2mem\n br label LBL_16\n LBL_16:\n %sv_0.24.reload = load i64, i64* %sv_0.24.reg2mem\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem\n %sv_3.07.reload = load i32, i32* %sv_3.07.reg2mem\n %storemerge38.reload = load i32, i32* %storemerge38.reg2mem\n %76 = inttoptr i64 %sv_0.24.reload to i32*\n %77 = load i32, i32* %76, align 4\n %78 = add i32 %77, %sv_1.05.reload\n %79 = add i32 %78, %sv_2.06.reload\n %80 = add i32 %79, %sv_3.07.reload\n store i32 %80, i32* %76, align 4\n %81 = add i64 %sv_0.24.reload, 4\n %82 = add i32 %storemerge38.reload, 1\n %83 = sext i32 %82 to i64\n %84 = icmp slt i64 %83, %74\n store i32 %82, i32* %storemerge38.reg2mem\n store i32 %80, i32* %sv_3.07.reg2mem\n store i32 %79, i32* %sv_2.06.reg2mem\n store i32 %78, i32* %sv_1.05.reg2mem\n store i64 %81, i64* %sv_0.24.reg2mem\n store i64 %74, i64* %rax.0.reg2mem\n br i1 %84, label LBL_16, label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %72, { 1, 0 }\n uselistorder i64 %sv_0.114.reload, { 0, 2, 1 }\n uselistorder i32 %4, { 2, 3, 0, 1 }\n uselistorder i64 %3, { 4, 5, 6, 0, 1, 3, 2 }\n uselistorder i32* %sv_6.021.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge20.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.019.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.114.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge213.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_4.012.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_5.011.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.1.in10.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge38.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.06.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.24.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 2, 8, 5, 6, 7, 3, 4 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 8, { 2, 1, 0, 3 }\n uselistorder i32 0, { 0, 3, 7, 1, 4, 6, 2, 5 }\n uselistorder i32 2, { 0, 2, 1, 3 }\n uselistorder i32 %arg3, { 5, 6, 0, 3, 4, 1, 2, 7 }\n uselistorder label LBL_17, { 0, 1, 4, 5, 6, 7, 8, 9, 2, 3 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_pci_cleanup_msix_7165", "fun_name": "_pci_cleanup_msix", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = add i32 %2, -1\n %4 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %4, align 4\n %5 = and i64 %1, 4294967295\n %6 = icmp eq i32 %2, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_6, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %8, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = add i64 %8, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = load i64, i64* @gv_0, align 8\n %16 = zext i32 %14 to i64\n %17 = call i64 @FUNC(i64 %15, i64 %16, i32 %11)\n %18 = trunc i64 %17 to i32\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC()\n br label LBL_3\n LBL_3:\n store i32 0, i32* %13, align 4\n store i32 0, i32* %10, align 4\n %21 = add i64 %8, 16\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %8, 12\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = load i64, i64* @gv_0, align 8\n %28 = zext i32 %26 to i64\n %29 = call i64 @FUNC(i64 %27, i64 %28, i32 %23)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_5, label LBL_4\n LBL_4:\n %32 = call i64 @FUNC()\n br label LBL_5\n LBL_5:\n store i32 0, i32* %25, align 4\n store i32 0, i32* %22, align 4\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 0, 2, 1, 4, 3 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 ()* @WARN, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @rangeset_remove_range, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xps_true_callback_glyph_name_5465", "fun_name": "xps_true_callback_glyph_name", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg3 to i64\n %5 = bitcast i64* %arg3 to i8*\n %6 = call i32 @strlen(i8* %5)\n %7 = add i64 %4, 8\n %8 = inttoptr i64 %7 to i32*\n store i32 %6, i32* %8, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %9 = call i64 @FUNC(i64 4294967295, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_tsc_khz_9543", "fun_name": "set_tsc_khz", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg3 to i8\n %1 = icmp eq i8 %0, 1\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load i32, i32* @gv_0, align 4\n %3 = zext i32 %2 to i64\n store i64 %3, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = load i8, i8* bitcast (i32* @gv_1 to i8*), align 4\n %6 = icmp eq i8 %5, 1\n %7 = load i32, i32* @gv_2, align 4\n br i1 %6, label LBL_6, label LBL_3\n LBL_3:\n %8 = trunc i64 %4 to i32\n %9 = icmp ult i32 %7, %8\n br i1 %9, label LBL_4, label LBL_5\n LBL_4:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 1, i32* %12, align 4\n %13 = add i64 %10, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 1, i32* %14, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %15 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %16 = call i32 @fwrite(i64* bitcast ([46 x i8]* @gv_4 to i64*), i32 1, i32 45, %_IO_FILE* %15)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_6:\n %17 = load i32, i32* inttoptr (i64 4210756 to i32*), align 4\n %18 = urem i32 %17, 64\n %19 = icmp eq i32 %18, 0\n %20 = zext i32 %18 to i64\n %21 = shl i64 1, %20\n %storemerge = select i1 %19, i64 1, i64 %21\n %22 = and i64 %4, 4294967295\n %23 = call i64 @FUNC(i64 %storemerge, i64 %22, i32 %7)\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_8, label LBL_7\n LBL_7:\n %25 = load i32, i32* @gv_5, align 4\n %26 = zext i32 %25 to i64\n %27 = icmp ult i64 %23, %26\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %29 = trunc i64 %4 to i32\n %30 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %28, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_6, i64 0, i64 0), i32 %29)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_9:\n store i64 %23, i64* %arg1, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 2, 3, 1 }\n uselistorder %_IO_FILE** @gv_3, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "usb_net_handle_data_2274", "fun_name": "usb_net_handle_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n store i64 4294967295, i64* %sv_0.01.reg2mem\n switch i32 %4, label LBL_7 [\n i32 1, label LBL_1\n i32 2, label LBL_4\n ]\n LBL_1:\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n store i64 4294967295, i64* %sv_0.01.reg2mem\n switch i32 %7, label LBL_7 [\n i32 1, label LBL_2\n i32 2, label LBL_3\n ]\n LBL_2:\n %8 = call i64 @FUNC(i64 %3, i64 %2)\n store i64 %8, i64* %sv_0.0.in.reg2mem\n br label LBL_6\n LBL_3:\n %9 = call i64 @FUNC(i64 %3, i64 %2)\n store i64 %9, i64* %sv_0.0.in.reg2mem\n br label LBL_6\n LBL_4:\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 2\n %14 = icmp eq i1 %13, false\n store i64 4294967295, i64* %sv_0.01.reg2mem\n br i1 %14, label LBL_7, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %3, i64 %2)\n store i64 %15, i64* %sv_0.0.in.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %16 = icmp eq i32 %sv_0.0, -1\n %17 = icmp eq i1 %16, false\n store i64 %sv_0.0.in.reload, i64* %sv_0.01.reg2mem\n store i64 %sv_0.0.in.reload, i64* %sv_0.02.reg2mem\n br i1 %17, label LBL_8, label LBL_7\n LBL_7:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = add i64 %2, 4\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %25 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_1, i64 0, i64 0), i32 %4, i32 %23, i64 %20)\n store i64 %sv_0.01.reload, i64* %sv_0.02.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %26 = and i64 %sv_0.02.reload, 4294967295\n ret i64 %26\n\n uselistorder i64 %2, { 4, 3, 1, 0, 2, 5, 6 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0.01.reg2mem, { 0, 4, 1, 3, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 0, 2, 1 }\n uselistorder i64 0, { 3, 4, 0, 1, 2, 5 }\n uselistorder i32 2, { 2, 0, 1 }\n uselistorder label LBL_7, { 3, 0, 2, 1 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fq_flow_idx_13191", "fun_name": "fq_flow_idx", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = ptrtoint i32* %arg2 to i64\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %3, i64 %4)\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = and i64 %5, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 %9)\n ret i64 %11\n\n uselistorder i64 4294967295, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ahci_irq_raise_16985", "fun_name": "ahci_irq_raise", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2, i64 1)\n %4 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i64 %3, 0\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %3, i64 0)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %10 = and i64 %1, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n store i64 %11, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "RegisterMPCImage_11836", "fun_name": "RegisterMPCImage", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0))\n %2 = inttoptr i64 %0 to i64*\n store i64 %1, i64* %2, align 8\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i32*\n store i32 1, i32* %7, align 4\n %8 = add i64 %0, 20\n %9 = inttoptr i64 %8 to i32*\n store i32 1, i32* %9, align 4\n %10 = call i64 @FUNC(i64 %0)\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %12 = add i64 %11, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 4198767, i64* %13, align 8\n %14 = add i64 %11, 32\n %15 = inttoptr i64 %14 to i64*\n store i64 4198774, i64* %15, align 8\n %16 = add i64 %11, 40\n %17 = inttoptr i64 %16 to i64*\n store i64 4198781, i64* %17, align 8\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0))\n %19 = inttoptr i64 %11 to i64*\n store i64 %18, i64* %19, align 8\n %20 = add i64 %11, 16\n %21 = inttoptr i64 %20 to i32*\n store i32 1, i32* %21, align 4\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_2, i64 0, i64 0))\n %23 = add i64 %11, 8\n %24 = inttoptr i64 %23 to i64*\n store i64 %22, i64* %24, align 8\n %25 = call i64 @FUNC(i64 %11)\n ret i64 0\n\n uselistorder i64 (i64)* @RegisterMagickInfo, { 1, 0 }\n uselistorder i32 1, { 1, 2, 3, 0 }\n uselistorder i64 (i8*)* @ConstantString, { 3, 2, 1, 0 }\n uselistorder i64 (i8*)* @SetMagickInfo, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qeth_clear_channels_9636", "fun_name": "qeth_clear_channels", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i32 @puts(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = add i64 %0, 4\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = icmp eq i32 %3, 0\n %9 = trunc i64 %5 to i32\n %10 = icmp eq i32 %9, 0\n %. = select i1 %10, i64 %7, i64 %5\n %rax.0.in = select i1 %8, i64 %., i64 %2\n %rax.0 = and i64 %rax.0.in, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 (i64)* @qeth_clear_channel, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spapr_set_vsmt_mode_14065", "fun_name": "spapr_set_vsmt_mode", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %6 = call i64 @FUNC()\n %7 = call i64 @FUNC()\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_1\n LBL_1:\n %11 = load i32, i32* inttoptr (i64 4210716 to i32*), align 4\n %12 = icmp slt i32 %11, 2\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %5, i64 %2, i64 %1)\n br label LBL_17\n LBL_3:\n %14 = load i32, i32* @gv_1, align 4\n %15 = zext i32 %14 to i64\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i8\n %18 = icmp eq i8 %17, 1\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = load i32, i32* @gv_1, align 4\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @gv_2, i64 0, i64 0), i64 %20, i64 %5, i64 %2, i64 %1)\n br label LBL_17\n LBL_5:\n %22 = trunc i64 %3 to i32\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n %25 = trunc i64 %6 to i32\n %26 = icmp eq i1 %24, false\n %27 = load i32, i32* @gv_1, align 4\n br i1 %26, label LBL_8, label LBL_6\n LBL_6:\n %28 = icmp ugt i32 %27, %22\n br i1 %28, label LBL_7, label LBL_9\n LBL_7:\n %29 = zext i32 %27 to i64\n %30 = and i64 %3, 4294967295\n %31 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @gv_3, i64 0, i64 0), i64 %30, i64 %29, i64 %2, i64 %1)\n br label LBL_17\n LBL_8:\n %32 = sub i32 %27, %25\n %33 = xor i32 %27, %25\n %34 = xor i32 %32, %27\n %35 = and i32 %34, %33\n %36 = icmp slt i32 %35, 0\n %37 = icmp slt i32 %32, 0\n %38 = icmp eq i1 %37, %36\n %39 = select i1 %38, i32 %27, i32 %25\n store i32 %39, i32* %arg1, align 4\n br label LBL_9\n LBL_9:\n %40 = call i64 @FUNC()\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i32 %22, %25\n %or.cond = or i1 %43, %42\n br i1 %or.cond, label LBL_17, label LBL_10\n LBL_10:\n %44 = and i64 %3, 4294967295\n %45 = call i64 @FUNC(i64 %44)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n br i1 %47, label LBL_17, label LBL_11\n LBL_11:\n %48 = and i64 %45, 4294967295\n %49 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_4, i64 0, i64 0), i64 %44, i64 %48, i64 %2, i64 %1)\n %50 = load i32, i32* @gv_1, align 4\n %51 = zext i32 %50 to i64\n %sext = mul i64 %6, 4294967296\n %52 = ashr exact i64 %sext, 32\n %53 = icmp slt i64 %52, %51\n br i1 %53, label LBL_14, label LBL_12\n LBL_12:\n %54 = ashr i32 %22, 31\n %55 = zext i32 %54 to i64\n %56 = mul i64 %55, 4294967296\n %57 = or i64 %56, %44\n %58 = and i64 %6, 4294967295\n %59 = srem i64 %57, %58\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n %62 = icmp eq i1 %61, false\n br i1 %62, label LBL_14, label LBL_13\n LBL_13:\n %63 = load i64, i64* %sv_0, align 8\n %64 = call i64 @FUNC(i64 %63)\n store i64 0, i64* %sv_0, align 8\n br label LBL_17\n LBL_14:\n br i1 %24, label LBL_16, label LBL_15\n LBL_15:\n %65 = call i64 @FUNC(i64* nonnull %sv_0, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @gv_5, i64 0, i64 0), i32 %50, i32 %25, i64 %44, i64 %1)\n br label LBL_16\n LBL_16:\n %66 = call i64 @FUNC(i64* nonnull %sv_0)\n br label LBL_17\n LBL_17:\n %67 = ptrtoint i64* %arg2 to i64\n %68 = load i64, i64* %sv_0, align 8\n %69 = call i64 @FUNC(i64 %67, i64 %68)\n ret i64 %69\n\n uselistorder i64 %44, { 3, 0, 2, 1 }\n uselistorder i32 %32, { 1, 0 }\n uselistorder i32 %27, { 4, 0, 1, 5, 2, 3 }\n uselistorder i32 %25, { 2, 1, 4, 0, 3 }\n uselistorder i32 %22, { 2, 0, 1, 3 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 6, 0, 1, 7, 8, 2, 3, 4, 5, 9 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %3, { 1, 2, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 4, 3, 2, 1, 0 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 3, 1, 0, 4 }\n uselistorder i32* @gv_1, { 3, 2, 1, 0 }\n uselistorder i64 (i64*, i8*, i64, i64, i64, i64)* @error_setg, { 3, 2, 1, 0 }\n uselistorder i1 false, { 1, 0, 3, 2, 4 }\n uselistorder i64 ()* @kvm_enabled, { 1, 0 }\n uselistorder label LBL_17, { 2, 3, 1, 0, 4, 5, 6 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "recovery_delete_character_6912", "fun_name": "recovery_delete_character", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i32, i32* @gv_0, align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0))\n %5 = call i64 @FUNC()\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_2:\n %6 = load i8, i8* bitcast (i8** @gv_2 to i8*), align 8\n %7 = icmp eq i8 %6, 0\n br i1 %7, label LBL_4, label LBL_3\n LBL_3:\n %8 = call i32 @strlen(i8* bitcast (i8** @gv_2 to i8*))\n %9 = sext i32 %8 to i64\n %10 = add i64 %9, add (i64 ptrtoint (i8** @gv_2 to i64), i64 -1)\n %11 = inttoptr i64 %10 to i8*\n store i8 0, i8* %11, align 1\n br label LBL_4\n LBL_4:\n %12 = call i64 @FUNC()\n store i64 %12, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i8 0, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "av_fast_malloc_15031", "fun_name": "av_fast_malloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = and i64 %1, 4294967295\n %3 = icmp ugt i64 %2, %arg3\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = mul i64 %arg3, 17\n %6 = udiv i64 %5, 16\n %7 = add nuw nsw i64 %6, 32\n %8 = icmp ugt i64 %7, %arg3\n %9 = select i1 %8, i64 %7, i64 %arg3\n %10 = call i64 @FUNC(i64 %4)\n %11 = call i64 @FUNC(i64 %9)\n store i64 %11, i64* %arg1, align 8\n %12 = icmp eq i64 %9, 0\n %13 = icmp eq i1 %12, false\n %14 = trunc i64 %9 to i32\n %15 = select i1 %13, i32 %14, i32 0\n %16 = ptrtoint i32* %arg2 to i64\n store i32 %15, i32* %arg2, align 4\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %arg3, { 2, 0, 1, 3 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "get_video_clock_3490", "fun_name": "get_video_clock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i128 @FUNC(i64 %7)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %9 = add i64 %2, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i128 @FUNC(i64 %11)\n %13 = call i64 @__asm_movsd.1(i128 %12)\n %14 = call i128 @FUNC()\n %15 = call i64 @FUNC(i128 %14)\n %16 = call i128 @FUNC(i64 4696837146684686336)\n %17 = call i128 @__asm_movq.2(i64 %15)\n %18 = call i128 @FUNC(i128 %17, i128 %16)\n %19 = call i128 @FUNC(i128 %18, i64 %13)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_vmread_7304", "fun_name": "handle_vmread", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 0)\n %2 = call i64 @FUNC(i64 1)\n store i64 0, i64* %sv_1, align 8\n %3 = call i64 @FUNC(i64 %0)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_1, label LBL_10\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i64 %0)\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_3:\n %12 = udiv i64 %2, 268435456\n %13 = urem i64 %12, 16\n %14 = call i64 @FUNC(i64 %0, i64 %13)\n %15 = call i64 @FUNC(i64 %0, i64 %14, i64* nonnull %sv_0)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = call i64 @FUNC(i64 %0, i64 1)\n %20 = call i64 @FUNC(i64 %0)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_5:\n %21 = trunc i64 %2 to i32\n %22 = and i32 %21, 1024\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = load i64, i64* %sv_0, align 8\n %25 = udiv i64 %2, 8\n %26 = urem i64 %25, 16\n %27 = call i64 @FUNC(i64 %0, i64 %26, i64 %24)\n br label LBL_9\n LBL_7:\n %28 = call i64 @FUNC(i64 %0, i64 %1, i32 %21, i64 1, i64* nonnull %sv_1)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %30, label LBL_8, label LBL_10\n LBL_8:\n %31 = call i64 @FUNC(i64 %0)\n %32 = trunc i64 %31 to i32\n %33 = icmp eq i32 %32, 0\n %. = select i1 %33, i64 4, i64 8\n %34 = load i64, i64* %sv_1, align 8\n %35 = call i64 @FUNC(i64 %0, i64 %34, i64* nonnull %sv_0, i64 %., i64 0)\n br label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64 %0)\n %37 = call i64 @FUNC(i64 %0)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 0, 2, 1 }\n uselistorder i64 %0, { 5, 4, 6, 7, 8, 3, 2, 1, 10, 9, 0, 11, 12 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 4, 3, 2 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 (i64)* @kvm_skip_emulated_instruction, { 2, 1, 0 }\n uselistorder i64 1, { 0, 5, 6, 1, 7, 2, 3, 4 }\n uselistorder label LBL_10, { 2, 0, 3, 4, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_vc2enc_init_transforms_12407", "fun_name": "ff_vc2enc_init_transforms", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg3, 4294967296\n store i64 4198726, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n store i64 4198733, i64* %2, align 8\n %3 = ashr exact i64 %sext, 32\n %4 = mul i64 %arg2, 8589934592\n %5 = mul i64 %4, %3\n %6 = ashr exact i64 %5, 30\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = icmp eq i64 %7, 0\n %. = zext i1 %10 to i64\n ret i64 %.\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "server_audit_deinit_6483", "fun_name": "server_audit_deinit", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4\n %1 = icmp eq i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n %3 = call i64 @FUNC(i64* nonnull @gv_1)\n %4 = call i64 @FUNC(i64* nonnull @gv_2)\n %5 = load i32, i32* @gv_3, align 4\n %6 = icmp eq i32 %5, 1\n %7 = icmp eq i1 %6, false\n %8 = load i64, i64* @gv_4, align 8\n %9 = icmp eq i64 %8, 0\n %or.cond = or i1 %7, %9\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %8)\n br label LBL_5\n LBL_3:\n %11 = icmp eq i32 %5, 2\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = call i64 @FUNC()\n br label LBL_5\n LBL_5:\n %14 = call i64 @FUNC(i64* nonnull @gv_5)\n %15 = call i64 @FUNC(i64* nonnull @gv_6)\n %16 = call i64 @FUNC()\n %17 = load %_IO_FILE*, %_IO_FILE** @gv_7, align 8\n %18 = call i32 @fwrite(i64* bitcast ([9 x i8]* @gv_8 to i64*), i32 1, i32 8, %_IO_FILE* %17)\n br label LBL_6\n LBL_6:\n ret i64 0\n\n uselistorder i64 (i64*)* @flogger_mutex_destroy, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64*)* @coll_free, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "evdns_get_default_hosts_filename_9530", "fun_name": "evdns_get_default_hosts_filename", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_0, i64 0, i64 0))\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dmix_sub_c_1883", "fun_name": "dmix_sub_c", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = icmp sgt i64 %arg4, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = zext i32 %arg3 to i64\n %3 = ptrtoint i32* %arg1 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %4 = mul i64 %.reload, 4\n %5 = add i64 %4, %1\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8, i64 %2)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %4, %3\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = sub i32 %13, %10\n store i32 %14, i32* %12, align 4\n %15 = add i32 %storemerge2.reload, 1\n %16 = sext i32 %15 to i64\n %17 = icmp slt i64 %16, %arg4\n store i64 %16, i64* %.reg2mem\n store i32 %15, i32* %storemerge2.reg2mem\n store i64 %16, i64* %.lcssa.reg2mem\n br i1 %17, label LBL_2, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "callbackValDup_13180", "fun_name": "callbackValDup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 0)\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dispatcher_wait_15489", "fun_name": "dispatcher_wait", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %1 = and i64 %arg2, 4294967295\n %narrow = mul nuw nsw i64 %1, 1125899907\n %2 = udiv i64 %narrow, 1125899906842624\n store i64 %2, i64* %sv_1, align 8\n store i64 %0, i64* %sv_0, align 8\n %3 = add i64 %0, 128\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = add i32 %5, 1\n %7 = bitcast i64* %sv_0 to %_TYPEDEF_fd_set*\n %8 = bitcast i64* %sv_1 to %timeval*\n %9 = call i32 @select(i32 %6, %_TYPEDEF_fd_set* nonnull %7, %_TYPEDEF_fd_set* null, %_TYPEDEF_fd_set* null, %timeval* nonnull %8)\n %10 = icmp eq i32 %9, -1\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n unreachable\n LBL_2:\n %13 = icmp eq i32 %9, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_3, label LBL_5\n LBL_3:\n %15 = load i32, i32* %4, align 4\n %16 = zext i32 %15 to i64\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %17 = sext i32 %storemerge1.reload to i64\n %18 = icmp sgt i64 %17, %16\n %19 = add i32 %storemerge1.reload, 1\n store i32 %19, i32* %storemerge1.reg2mem\n br i1 %18, label LBL_5, label LBL_4\n LBL_5:\n ret i64 0\n\n uselistorder i32 %storemerge1.reload, { 1, 0 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "kvm_irqchip_commit_routes_331", "fun_name": "kvm_irqchip_commit_routes", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC()\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %6, label LBL_4, label LBL_2\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %8, align 4\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC(i64 %7, i64 0, i64 %7)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 %10, i64* %rax.0.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @gv_1, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_2, i64 0, i64 0))\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder label LBL_4, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fstrndup_11134", "fun_name": "fstrndup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = trunc i64 %arg2 to i32\n %3 = call i64* @malloc(i32 %2)\n %4 = ptrtoint i64* %3 to i64\n %5 = inttoptr i64 %arg1 to i64*\n %6 = call i64* @memccpy(i64* %3, i64* %5, i32 0, i32 %2)\n store i64 %4, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "iwl_mvm_free_inactive_queue_18450", "fun_name": "iwl_mvm_free_inactive_queue", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = add i64 %0, 4\n %7 = call i64 @FUNC(i64 %6)\n %8 = ashr exact i64 %sext, 28\n %9 = add i64 %8, %0\n %10 = add i64 %9, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %9, 12\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = add i64 %9, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = call i64 @FUNC(i64 %6)\n %20 = urem i32 %15, 256\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %0, i64 %21)\n %23 = and i64 %5, 4294967295\n %24 = call i64 @FUNC(i64 %0, i64 %23)\n %25 = icmp eq i64 %24, 0\n %.pre = trunc i64 %5 to i32\n br i1 %25, label LBL_3, label LBL_2\n LBL_2:\n %26 = call i64 @FUNC(i64 %0, i32 %.pre, i64 %24, i64 0)\n br label LBL_3\n LBL_3:\n %27 = trunc i32 %18 to i8\n %28 = inttoptr i64 %22 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = mul i32 %12, 4\n %33 = and i32 %32, 1020\n %34 = zext i32 %33 to i64\n %35 = add i64 %31, %34\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = call i64 @FUNC(i64 %0, i32 %.pre, i32 %37, i8 %27, i64 0)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_5, label LBL_4\n LBL_4:\n %41 = call i64 @FUNC(i64 %6)\n %42 = add i64 %9, 20\n %43 = inttoptr i64 %42 to i32*\n store i32 0, i32* %43, align 4\n %44 = call i64 @FUNC(i64 %6)\n %45 = and i64 %38, 4294967295\n %46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_0, i64 0, i64 0), i64 %23, i64 %45)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n %47 = trunc i64 %arg3 to i8\n %48 = icmp eq i8 %47, 1\n store i64 0, i64* %rax.0.reg2mem\n br i1 %48, label LBL_7, label LBL_6\n LBL_6:\n %49 = call i64 @FUNC(i64 %0, i32 %.pre, i64 0, i64 1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 2, 3, 1, 4, 5, 0, 6, 7, 8 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64, i32, i64, i64)* @iwl_mvm_invalidate_sta_queue, { 1, 0 }\n uselistorder i64 (i64)* @spin_unlock_bh, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock_bh, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 3, 2 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rate_control_16405", "fun_name": "rate_control", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i32\n %xmm1.1.reg2mem = alloca i128\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_5.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %xmm1.0.reg2mem = alloca i128\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = add i64 %4, 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = add i64 %4, 12\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = trunc i64 %2 to i32\n %sext14 = mul i64 %2, 4294967296\n %12 = ashr exact i64 %sext14, 32\n %13 = mul nsw i64 %12, 1431655766\n %14 = udiv i64 %13, 4294967296\n %15 = ashr i32 %11, 31\n %16 = trunc i64 %14 to i32\n %17 = sub i32 %16, %15\n %18 = add i64 %4, 16\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = inttoptr i64 %5 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = call i128 @FUNC(i64 %22)\n %24 = call i64 @__asm_movsd.1(i128 %23)\n %25 = call i128 @FUNC(i128 %23, i128 %23)\n %26 = call i128 @FUNC(i64 %20)\n %27 = call i128 @FUNC(i128 %3, i128 %3)\n %28 = call i128 @FUNC(i64 %20)\n %29 = call i128 @FUNC(i64 %24)\n %30 = call i128 @FUNC(i64 4636737291354636288)\n %31 = call i128 @FUNC(i128 %29, i128 %30)\n %32 = call i128 @FUNC(i128 %31, i128 %28)\n %33 = call i128 @FUNC(i128 %26, i128 %32)\n %34 = call i64 @__asm_movsd.1(i128 %33)\n %35 = call i64 @FUNC(i64 %4, i32 %7, i32 %10, i32 %11)\n %36 = trunc i64 %35 to i32\n %37 = and i32 %17, -2\n %38 = add i64 %4, 4\n %39 = inttoptr i64 %38 to i32*\n store i32 %11, i32* %sv_1.0.reg2mem\n store i32 %37, i32* %sv_5.0.reg2mem\n store i32 %36, i32* %sv_0.0.reg2mem\n store i128 %32, i128* %xmm1.1.reg2mem\n br label LBL_3\n LBL_1:\n %xmm1.0.reload = load i128, i128* %xmm1.0.reg2mem\n %. = select i1 %74, i32 1, i32 -1\n %40 = mul i32 %., %sv_5.0.reload\n %41 = load i32, i32* %39, align 4\n %42 = add i32 %40, %sv_1.0.reload\n %43 = zext i32 %41 to i64\n %44 = zext i32 %42 to i64\n %45 = call i64 @FUNC(i64 %44, i64 0, i64 %43)\n %46 = trunc i64 %45 to i32\n %47 = call i64 @FUNC(i64 %4, i32 %7, i32 %10, i32 %46)\n %48 = trunc i64 %47 to i32\n %49 = load i32, i32* %39, align 4\n %50 = icmp slt i32 %40, 0\n %51 = zext i1 %50 to i32\n %52 = add i32 %40, %51\n %53 = ashr i32 %52, 1\n %54 = zext i32 %49 to i64\n %55 = zext i32 %53 to i64\n %56 = call i64 @FUNC(i64 %55, i64 1, i64 %54)\n %57 = icmp eq i32 %sv_4.0.reload, %46\n %58 = icmp eq i1 %57, false\n %59 = trunc i64 %56 to i32\n store i32 %46, i32* %sv_1.0.reg2mem\n store i32 %59, i32* %sv_5.0.reg2mem\n store i32 %48, i32* %sv_0.0.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_4.0.reg2mem\n store i32 %48, i32* %sv_3.0.reg2mem\n store i32 %46, i32* %sv_2.0.reg2mem\n store i128 %xmm1.0.reload, i128* %xmm1.1.reg2mem\n br i1 %58, label LBL_3, label LBL_2\n LBL_2:\n %60 = zext i32 %sv_3.0.reload to i64\n %sext = mul i64 %47, 4294967296\n %61 = ashr exact i64 %sext, 32\n %62 = icmp sgt i64 %61, %60\n %storemerge.in = select i1 %62, i32 %sv_2.0.reload, i32 %46\n %63 = sub i32 %48, %sv_3.0.reload\n %64 = xor i32 %sv_3.0.reload, %48\n %65 = xor i32 %63, %48\n %66 = and i32 %65, %64\n %67 = icmp slt i32 %66, 0\n %68 = icmp eq i32 %63, 0\n %69 = icmp slt i32 %63, 0\n %70 = icmp ne i1 %69, %67\n %71 = or i1 %68, %70\n %72 = select i1 %71, i32 %48, i32 %sv_3.0.reload\n store i32 %storemerge.in, i32* %sv_1.1.reg2mem\n store i32 %72, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_3:\n %xmm1.1.reload = load i128, i128* %xmm1.1.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %73 = sext i32 %sv_0.0.reload to i64\n %74 = icmp slt i64 %20, %73\n store i128 %xmm1.1.reload, i128* %xmm1.0.reg2mem\n br i1 %74, label LBL_1, label LBL_4\n LBL_4:\n %75 = call i128 @FUNC(i128 %xmm1.1.reload, i128 %xmm1.1.reload)\n %76 = call i128 @__asm_cvtsi2sd.2(i32 %sv_0.0.reload)\n %77 = call i128 @FUNC(i64 %34)\n call void @FUNC(i128 %77, i128 %76)\n %78 = icmp ugt i64 %20, %73\n store i128 %76, i128* %xmm1.0.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %78, label LBL_1, label LBL_5\n LBL_5:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %79 = load i32, i32* %39, align 4\n %80 = zext i32 %79 to i64\n %81 = zext i32 %sv_1.1.reload to i64\n %82 = call i64 @FUNC(i64 %81, i64 0, i64 %80)\n %83 = trunc i64 %82 to i32\n %84 = add i64 %4, 24\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n %86 = inttoptr i64 %18 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = ashr i32 %sv_0.1.reload, 3\n %89 = zext i32 %87 to i64\n %90 = zext i32 %88 to i64\n %91 = call i64 @FUNC(i64 %90, i64 %89)\n %92 = trunc i64 %91 to i32\n %93 = add i32 %92, 4\n %94 = add i64 %4, 20\n %95 = inttoptr i64 %94 to i32*\n %96 = load i32, i32* %95, align 4\n %97 = add i32 %93, %96\n %98 = add i64 %4, 28\n %99 = inttoptr i64 %98 to i32*\n store i32 %97, i32* %99, align 4\n ret i64 0\n\n uselistorder i1 %74, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i32 %sv_3.0.reload, { 0, 2, 3, 1 }\n uselistorder i32 %sv_2.0.reload, { 1, 0 }\n uselistorder i32 %63, { 1, 2, 0 }\n uselistorder i32 %48, { 3, 4, 5, 2, 0, 1 }\n uselistorder i32 %46, { 2, 0, 1, 3, 4 }\n uselistorder i128 %23, { 2, 1, 0 }\n uselistorder i64 %20, { 0, 1, 3, 2 }\n uselistorder i32 %11, { 0, 2, 1 }\n uselistorder i64 %4, { 0, 1, 2, 3, 4, 8, 7, 6, 5 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i128* %xmm1.0.reg2mem, { 1, 2, 0 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64 (i64, i64, i64)* @av_clip, { 0, 2, 1 }\n uselistorder i64 (i64, i32, i32, i32)* @count_hq_slice, { 1, 0 }\n uselistorder i64 32, { 1, 0, 2, 3 }\n uselistorder i64 4294967296, { 0, 4, 1, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "password_scheme_detect_17684", "fun_name": "password_scheme_detect", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %0 = load i64, i64* @gv_0, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = load i64, i64* @gv_0, align 8\n %3 = call i64 @FUNC(i64 %1, i64 %2, i64* nonnull %sv_0, i64* nonnull %sv_4)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_1, label LBL_6\n LBL_1:\n %7 = ptrtoint i64* %arg3 to i64\n %8 = ptrtoint i8* %arg2 to i64\n %9 = ptrtoint i8* %arg1 to i64\n br label LBL_2\n LBL_2:\n %10 = load i64, i64* %sv_4, align 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %8, i64 %12, i64* nonnull %sv_1, i64* nonnull %sv_2, i64* nonnull %sv_3)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp slt i32 %14, 0\n %17 = icmp eq i1 %16, false\n %18 = icmp eq i1 %15, false\n %19 = icmp eq i1 %17, %18\n br i1 %19, label LBL_3, label LBL_5\n LBL_3:\n %20 = load i64, i64* %sv_2, align 8\n %21 = load i64, i64* %sv_1, align 8\n %22 = load i64, i64* %sv_4, align 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %9, i64 %7, i64 %24, i64 %21, i64 %20, i64* nonnull %sv_3)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = icmp slt i32 %26, 0\n %29 = icmp eq i1 %28, false\n %30 = icmp eq i1 %27, false\n %31 = icmp eq i1 %29, %30\n br i1 %31, label LBL_6, label LBL_4\n LBL_4:\n store i64 0, i64* %sv_0, align 8\n br label LBL_5\n LBL_5:\n %32 = load i64, i64* @gv_0, align 8\n %33 = call i64 @FUNC(i64 %1, i64 %32, i64* nonnull %sv_0, i64* nonnull %sv_4)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n br i1 %36, label LBL_2, label LBL_6\n LBL_6:\n %37 = load i64, i64* %sv_0, align 8\n ret i64 %37\n\n uselistorder i32 %26, { 1, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %sv_4, { 1, 2, 3, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0 }\n uselistorder i64* %sv_0, { 2, 1, 3, 0 }\n uselistorder i1 false, { 5, 3, 1, 4, 2, 0 }\n uselistorder i32 0, { 6, 2, 3, 4, 5, 0, 1 }\n uselistorder i64 (i64, i64, i64*, i64*)* @hash_table_iterate, { 1, 0 }\n uselistorder i64* @gv_0, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vrend_decode_set_clip_state_8109", "fun_name": "vrend_decode_set_clip_state", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv5.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = trunc i64 %arg2 to i32\n %1 = icmp eq i32 %0, 32\n store i64 22, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_6\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = ptrtoint i64* %sv_1 to i64\n %4 = add i64 %3, -144\n store i64 0, i64* %indvars.iv5.reg2mem\n br label LBL_4\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = add nuw nsw i64 %indvars.iv.reload, %13\n %6 = call i64 @FUNC(i64 %2, i64 %5)\n %7 = and i64 %6, 4294967295\n %8 = call i128 @FUNC(i64 %7)\n %9 = call i32 @FUNC(i128 %8)\n %10 = mul i64 %5, 4\n %11 = add i64 %4, %10\n %12 = inttoptr i64 %11 to i32*\n store i32 %9, i32* %12, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %indvars.iv.next6 = add nuw nsw i64 %indvars.iv5.reload, 1\n %exitcond7 = icmp eq i64 %indvars.iv.next6, 8\n store i64 %indvars.iv.next6, i64* %indvars.iv5.reg2mem\n br i1 %exitcond7, label LBL_5, label LBL_4\n LBL_4:\n %indvars.iv5.reload = load i64, i64* %indvars.iv5.reg2mem\n %13 = mul i64 %indvars.iv5.reload, 4\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_2\n LBL_5:\n %14 = call i64 @FUNC(i64 %7, i64* nonnull %sv_0)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %indvars.iv5.reload, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "VectorClamp_6645", "fun_name": "VectorClamp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = call i128 @__asm_movss.1(i32 %3)\n %5 = call i128 @FUNC(i128 %4)\n %6 = call i128 @FUNC(i32 0)\n %7 = call i64 @FUNC()\n %8 = call i32 @__asm_movd.2(i128 %6)\n %9 = call i128 @FUNC(i32 %8)\n %10 = call i128 @FUNC(i32 1065353216)\n %11 = call i64 @FUNC()\n %12 = call i32 @__asm_movd.2(i128 %10)\n %13 = bitcast i64* %arg1 to i32*\n store i32 %12, i32* %13, align 4\n %14 = add i64 %2, 4\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i128 @__asm_movss.1(i32 %16)\n %18 = call i128 @FUNC(i128 %17)\n %19 = call i128 @FUNC(i32 0)\n %20 = call i64 @FUNC()\n %21 = call i32 @__asm_movd.2(i128 %19)\n %22 = call i128 @FUNC(i32 %21)\n %23 = call i128 @FUNC(i32 1065353216)\n %24 = call i64 @FUNC()\n %25 = call i32 @__asm_movd.2(i128 %23)\n store i32 %25, i32* %15, align 4\n %26 = add i64 %2, 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = call i128 @__asm_movss.1(i32 %28)\n %30 = call i128 @FUNC(i128 %29)\n %31 = call i128 @FUNC(i32 0)\n %32 = call i64 @FUNC()\n %33 = call i32 @__asm_movd.2(i128 %31)\n %34 = call i128 @FUNC(i32 %33)\n %35 = call i128 @FUNC(i32 1065353216)\n %36 = call i64 @FUNC()\n %37 = call i32 @__asm_movd.2(i128 %35)\n store i32 %37, i32* %27, align 4\n %38 = add i64 %2, 12\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = call i128 @__asm_movss.1(i32 %40)\n %42 = call i128 @FUNC(i128 %41)\n %43 = call i128 @FUNC(i32 0)\n %44 = call i64 @FUNC()\n %45 = call i32 @__asm_movd.2(i128 %43)\n %46 = call i128 @FUNC(i32 %45)\n %47 = call i128 @FUNC(i32 1065353216)\n %48 = call i64 @FUNC()\n %49 = call i32 @__asm_movd.2(i128 %47)\n %50 = sext i32 %49 to i64\n store i32 %49, i32* %39, align 4\n ret i64 %50\n\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 ()* @MagickMin, { 3, 2, 1, 0 }\n uselistorder i64 ()* @MagickMax, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pipe_fasync_8276", "fun_name": "pipe_fasync", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sext = mul i64 %arg1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %sext3 = mul i64 %arg3, 4294967296\n %4 = ashr exact i64 %sext3, 32\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = trunc i64 %1 to i32\n %10 = urem i32 %9, 2\n %11 = icmp eq i32 %10, 0\n store i32 0, i32* %sv_0.0.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = trunc i64 %4 to i32\n %13 = and i64 %3, 4294967295\n %14 = call i64 @FUNC(i64 %13, i64 %2, i32 %12, i64 %7)\n %15 = trunc i64 %14 to i32\n store i32 %15, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %16 = and i32 %9, 2\n %17 = icmp eq i32 %16, 0\n %18 = icmp slt i32 %sv_0.0.reload, 0\n %or.cond = or i1 %17, %18\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_3\n LBL_3:\n %19 = add i64 %7, 8\n %20 = trunc i64 %4 to i32\n %21 = and i64 %3, 4294967295\n %22 = call i64 @FUNC(i64 %21, i64 %2, i32 %20, i64 %19)\n %23 = trunc i64 %22 to i32\n %24 = icmp slt i32 %23, 0\n %25 = icmp eq i1 %24, false\n %brmerge = or i1 %11, %25\n store i32 %23, i32* %sv_0.1.reg2mem\n br i1 %brmerge, label LBL_5, label LBL_4\n LBL_4:\n %26 = call i64 @FUNC(i64 4294967295, i64 %2, i32 0, i64 %7)\n store i32 %23, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %27 = call i64 @FUNC(i64 %7)\n %28 = zext i32 %sv_0.1.reload to i64\n ret i64 %28\n\n uselistorder i32 %9, { 1, 0 }\n uselistorder i64 %7, { 3, 1, 2, 0, 4 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 2, 0, 3 }\n uselistorder i64 (i64, i64, i32, i64)* @fasync_helper, { 2, 1, 0 }\n uselistorder i32 0, { 2, 3, 1, 4, 0, 5 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "txtc_dump_10760", "fun_name": "txtc_dump", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64 %arg2)\n %1 = inttoptr i64 %arg2 to %_IO_FILE*\n %2 = call i32 @fwrite(i64* bitcast ([3 x i8]* @gv_1 to i64*), i32 1, i32 2, %_IO_FILE* %1)\n %3 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %1, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_1, i64 0, i64 0))\n %4 = call i64 @FUNC(i64 ptrtoint ([14 x i8]* @gv_0 to i64), i64 %arg1, i64 %arg2)\n ret i64 0\n\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mobi_buffer_move_19212", "fun_name": "mobi_buffer_move", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = sub i32 0, %1\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n %5 = select i1 %4, i32 %2, i32 %1\n %6 = sext i32 %5 to i64\n %7 = add i64 %0, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %9, %0\n %11 = icmp slt i32 %1, 0\n br i1 %11, label LBL_4, label LBL_1\n LBL_1:\n %12 = add i64 %6, %arg3\n %13 = add i64 %12, %9\n %14 = add i64 %0, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp ugt i64 %13, %16\n br i1 %17, label LBL_2, label LBL_3\n LBL_2:\n %18 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0))\n %19 = add i64 %0, 24\n %20 = inttoptr i64 %19 to i32*\n store i32 -1, i32* %20, align 4\n br label LBL_8\n LBL_3:\n %21 = add i64 %10, %6\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_4:\n %22 = icmp ult i64 %9, %6\n br i1 %22, label LBL_5, label LBL_6\n LBL_5:\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_1, i64 0, i64 0))\n %24 = add i64 %0, 24\n %25 = inttoptr i64 %24 to i32*\n store i32 -1, i32* %25, align 4\n br label LBL_8\n LBL_6:\n %26 = sub i64 %10, %6\n store i64 %26, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %27 = inttoptr i64 %10 to i64*\n %28 = inttoptr i64 %storemerge.reload to i64*\n %29 = trunc i64 %arg3 to i32\n %30 = call i64* @memmove(i64* %27, i64* %28, i32 %29)\n %31 = load i64, i64* %8, align 8\n %32 = add i64 %31, %arg3\n store i64 %32, i64* %8, align 8\n br label LBL_8\n LBL_8:\n ret i64 %0\n\n uselistorder i64 %10, { 1, 2, 0 }\n uselistorder i64 %9, { 2, 1, 0 }\n uselistorder i64* %8, { 1, 0, 2 }\n uselistorder i64 %6, { 3, 2, 0, 1 }\n uselistorder i32 %1, { 2, 0, 1 }\n uselistorder i64 %0, { 1, 3, 2, 4, 0, 5 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i8*, i8*)* @debug_print, { 1, 0 }\n uselistorder i64 %arg3, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "HB_MyanmarShape_10813", "fun_name": "HB_MyanmarShape", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %.pre-phi17.reg2mem = alloca i32*\n %storemerge39.reg2mem = alloca i32\n %storemerge48.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.010.reg2mem = alloca i32\n %sv_1.012.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i32, align 4\n %sv_3 = alloca i64, align 8\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n store i64 %2, i64* %sv_3, align 8\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i32*\n %11 = load i32, i32* %10, align 4\n %12 = icmp eq i32 %11, 1\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_1, i64 0, i64 0), i32 53, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %13 = trunc i64 %1 to i32\n %14 = add i32 %8, %13\n %15 = load i64, i64* @gv_3, align 8\n %16 = call i64 @FUNC(i64 %2, i64 %15)\n %17 = load i32, i32* %7, align 4\n %18 = zext i32 %17 to i64\n %19 = and i64 %1, 4294967295\n %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_4, i64 0, i64 0), i64 %19, i64 %18)\n %21 = icmp sgt i32 %14, %13\n br i1 %21, label LBL_4, label LBL_2.LBL_13_crit_edge\n LBL_3:\n %.pre = add i64 %2, 56\n %.pre16 = inttoptr i64 %.pre to i32*\n store i32* %.pre16, i32** %.pre-phi17.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br label LBL_13\n LBL_4:\n %22 = bitcast i64* %rdi to i32*\n %23 = add i64 %2, 64\n %24 = inttoptr i64 %23 to i64*\n %25 = bitcast i32* %sv_2 to i64*\n %26 = add i64 %2, 56\n %27 = inttoptr i64 %26 to i32*\n %28 = and i64 %16, 4294967295\n %29 = add i64 %2, 24\n %30 = inttoptr i64 %29 to i64*\n store i32 %13, i32* %sv_1.012.reg2mem\n store i32 0, i32* %sv_0.010.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem\n %31 = load i64, i64* %24, align 8\n %32 = call i64 @FUNC(i64 %31, i32 %sv_1.012.reload, i32 %14, i64* nonnull %25)\n %33 = trunc i64 %32 to i32\n %34 = load i32, i32* %sv_2, align 4\n %35 = icmp eq i32 %34, 0\n %36 = sub i32 %33, %sv_1.012.reload\n %37 = zext i32 %36 to i64\n %38 = zext i32 %sv_1.012.reload to i64\n %39 = select i1 %35, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0)\n %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_7, i64 0, i64 0), i64 %38, i64 %37, i8* %39)\n %41 = sext i32 %sv_1.012.reload to i64\n store i64 %41, i64* %sv_3, align 8\n %42 = load i32, i32* %27, align 4\n %43 = load i32, i32* %sv_2, align 4\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %28, i64* nonnull %sv_3, i64 %44)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n br i1 %48, label LBL_7, label LBL_6\n LBL_6:\n %49 = sub i32 %42, %sv_0.010.reload\n %50 = zext i32 %49 to i64\n %51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_8, i64 0, i64 0), i64 %50)\n %52 = load i32, i32* %27, align 4\n %53 = add i32 %52, %49\n store i32 %53, i32* %27, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_7:\n %54 = call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_9, i64 0, i64 0))\n %55 = zext i32 %42 to i64\n %56 = sext i32 %sv_0.010.reload to i64\n %57 = icmp slt i64 %56, %55\n store i64 %56, i64* %.reg2mem\n store i32 %sv_0.010.reload, i32* %storemerge48.reg2mem\n br i1 %57, label LBL_8, label LBL_9\n LBL_8:\n %storemerge48.reload = load i32, i32* %storemerge48.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %58 = load i64, i64* %30, align 8\n %59 = mul i64 %.reload, 2\n %60 = add i64 %58, %59\n %61 = inttoptr i64 %60 to i16*\n %62 = load i16, i16* %61, align 2\n %63 = zext i32 %storemerge48.reload to i64\n %64 = zext i16 %62 to i32\n %65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_10, i64 0, i64 0), i64 %63, i32 %64)\n %66 = add i32 %storemerge48.reload, 1\n %67 = sext i32 %66 to i64\n %68 = icmp slt i64 %67, %55\n store i64 %67, i64* %.reg2mem\n store i32 %66, i32* %storemerge48.reg2mem\n br i1 %68, label LBL_8, label LBL_9\n LBL_9:\n %69 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_11, i64 0, i64 0))\n %70 = icmp slt i32 %sv_1.012.reload, %33\n br i1 %70, label LBL_10, label LBL_12\n LBL_10:\n %71 = zext i32 %sv_0.010.reload to i64\n %72 = trunc i32 %sv_0.010.reload to i16\n store i32 %sv_1.012.reload, i32* %storemerge39.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge39.reload = load i32, i32* %storemerge39.reg2mem\n %73 = zext i32 %storemerge39.reload to i64\n %74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_12, i64 0, i64 0), i64 %73, i64 %71)\n %75 = load i32, i32* %22, align 8\n %76 = sub i32 %storemerge39.reload, %75\n %77 = sext i32 %76 to i64\n %78 = mul i64 %77, 2\n %79 = add i64 %78, %5\n %80 = inttoptr i64 %79 to i16*\n store i16 %72, i16* %80, align 2\n %81 = add nsw i32 %storemerge39.reload, 1\n %exitcond = icmp eq i32 %81, %33\n store i32 %81, i32* %storemerge39.reg2mem\n br i1 %exitcond, label LBL_12, label LBL_11\n LBL_12:\n %82 = icmp sgt i32 %14, %33\n store i32 %33, i32* %sv_1.012.reg2mem\n store i32 %42, i32* %sv_0.010.reg2mem\n store i32* %27, i32** %.pre-phi17.reg2mem\n store i32 %42, i32* %sv_0.0.lcssa.reg2mem\n br i1 %82, label LBL_5, label LBL_13\n LBL_13:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %.pre-phi17.reload = load i32*, i32** %.pre-phi17.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %.pre-phi17.reload, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %storemerge39.reload, { 0, 2, 1 }\n uselistorder i64 %55, { 1, 0 }\n uselistorder i32 %42, { 0, 1, 3, 2 }\n uselistorder i32 %33, { 0, 2, 1, 3, 4 }\n uselistorder i32 %sv_1.012.reload, { 0, 1, 4, 3, 2, 5 }\n uselistorder i32 %sv_0.010.reload, { 3, 2, 0, 1, 4 }\n uselistorder i32 %14, { 1, 2, 0 }\n uselistorder i32 %13, { 0, 2, 1 }\n uselistorder i32* %sv_2, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 2, 3, 0, 4, 5, 6, 7, 8 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_1.012.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.010.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge48.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge39.reg2mem, { 1, 0, 2 }\n uselistorder i32 (i8*)* @puts, { 1, 0 }\n uselistorder i64 56, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__of_get_next_child_17688", "fun_name": "__of_get_next_child", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.lcssa.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n store i64 %arg1, i64* %storemerge1.reg2mem\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = add i64 %arg2, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n store i64 %3, i64* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %4 = icmp eq i64 %storemerge1.reload, 0\n %5 = icmp eq i1 %4, false\n store i64 %storemerge1.reload, i64* %storemerge2.reg2mem\n store i64 %storemerge1.reload, i64* %storemerge.lcssa.reg2mem\n br i1 %5, label LBL_3, label LBL_5\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %6 = call i64 @FUNC(i64 %storemerge2.reload)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 %storemerge2.reload, i64* %storemerge.lcssa.reg2mem\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n %10 = add i64 %storemerge2.reload, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i1 %13, false\n store i64 %12, i64* %storemerge2.reg2mem\n store i64 %12, i64* %storemerge.lcssa.reg2mem\n br i1 %14, label LBL_3, label LBL_5\n LBL_5:\n %storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem\n %15 = call i64 @FUNC(i64 %arg2)\n ret i64 %storemerge.lcssa.reload\n\n uselistorder i64 %storemerge2.reload, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge.lcssa.reg2mem, { 0, 2, 1, 3 }\n uselistorder i1 false, { 2, 1, 0 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_aio_complete_2568", "fun_name": "qemu_aio_complete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %arg2 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 1\n %10 = icmp eq i1 %9, false\n %. = select i1 %10, i64 ptrtoint ([6 x i8]* @gv_0 to i64), i64 ptrtoint ([5 x i8]* @gv_1 to i64)\n %11 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %., i64 %2, i64 %1)\n %12 = add i64 %3, 16\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = add i32 %14, 1\n store i32 %15, i32* %13, align 4\n br label LBL_2\n LBL_2:\n %16 = add i64 %3, 20\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = add i32 %18, -1\n store i32 %19, i32* %17, align 4\n %20 = add i64 %3, 24\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_4, label LBL_3\n LBL_3:\n store i32 0, i32* %21, align 4\n %24 = call i64 @FUNC(i64 %3)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_4:\n %25 = zext i32 %19 to i64\n %26 = icmp eq i32 %19, 0\n %27 = icmp slt i32 %19, 0\n %28 = icmp eq i1 %27, false\n %29 = icmp eq i1 %26, false\n %30 = icmp eq i1 %28, %29\n store i64 %25, i64* %rax.0.reg2mem\n br i1 %30, label LBL_14, label LBL_5\n LBL_5:\n %31 = add i64 %3, 28\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_7, label LBL_6\n LBL_6:\n store i32 0, i32* %32, align 4\n %35 = load i32, i32* %17, align 4\n %36 = add i32 %35, 1\n store i32 %36, i32* %17, align 4\n %37 = add i64 %3, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39, i64 4198662, i64 %3)\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_7:\n %41 = add i64 %3, 16\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n %46 = zext i1 %45 to i32\n %47 = add i64 %3, 32\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n %49 = call i64 @FUNC(i64 %3)\n %50 = call i64 @FUNC(i64 %3)\n %51 = add i64 %3, 8\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = icmp eq i32 %53, 1\n br i1 %54, label LBL_10, label LBL_8\n LBL_8:\n %55 = icmp sgt i32 %53, 0\n %56 = or i32 %53, 1\n %57 = icmp eq i32 %56, 3\n %or.cond = icmp eq i1 %55, %57\n store i64 %3, i64* %rdi.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_13\n LBL_9:\n %58 = add i64 %3, 12\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = icmp eq i32 %60, 0\n store i64 %3, i64* %rdi.0.reg2mem\n br i1 %61, label LBL_13, label LBL_10\n LBL_10:\n %62 = load i32, i32* %48, align 4\n %63 = icmp eq i32 %62, 0\n %64 = icmp eq i1 %63, false\n %65 = add i64 %3, 40\n %66 = inttoptr i64 %51 to i64*\n %67 = load i64, i64* %66, align 8\n %68 = call i64 @FUNC(i64 %67)\n br i1 %64, label LBL_12, label LBL_11\n LBL_11:\n %69 = call i64 @FUNC(i64 %68, i64 %65)\n store i64 %68, i64* %rdi.0.reg2mem\n br label LBL_13\n LBL_12:\n %70 = call i64 @FUNC(i64 %68, i64 %65)\n store i64 %68, i64* %rdi.0.reg2mem\n br label LBL_13\n LBL_13:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %71 = add i64 %rdi.0.reload, 16\n %72 = inttoptr i64 %71 to i64*\n %73 = load i64, i64* %72, align 8\n %74 = call i64 @FUNC(i64 %73)\n store i64 %74, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %68, { 1, 3, 0, 2 }\n uselistorder i64 %65, { 1, 0 }\n uselistorder i32 %53, { 1, 0, 2 }\n uselistorder i32 %19, { 1, 2, 0, 3 }\n uselistorder i32* %17, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 8, 0, 7, 1, 9, 10, 11, 13, 14, 5, 6, 12, 4, 15, 16, 2, 3, 17 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 4, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4 }\n uselistorder i32 0, { 1, 2, 0, 3, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder label LBL_14, { 1, 2, 0, 3 }\n uselistorder label LBL_13, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qdev_get_prop_mask64_3282", "fun_name": "qdev_get_prop_mask64", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64* %arg1, @gv_0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_2, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_3, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = urem i32 %4, 64\n %6 = icmp eq i32 %5, 0\n %7 = zext i32 %5 to i64\n %8 = shl i64 1, %7\n %storemerge = select i1 %6, i64 1, i64 %8\n ret i64 %storemerge\n\n uselistorder i64* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_filter_728", "fun_name": "parse_filter", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge13.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %1, align 4\n %2 = add i64 %0, 4\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n store i32 0, i32* %5, align 4\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n store i32 0, i32* %7, align 4\n store i32 0, i32* %storemerge13.reg2mem\n store i64 %arg1, i64* %sv_0.02.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge13.reload = load i32, i32* %storemerge13.reg2mem\n %8 = inttoptr i64 %sv_0.02.reload to i8*\n %9 = call i8* @strpbrk(i8* %8, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %10 = icmp eq i8* %9, null\n br i1 %10, label LBL_9, label LBL_2\n LBL_2:\n %11 = ptrtoint i8* %9 to i64\n %12 = add i64 %11, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 42\n br i1 %15, label LBL_8, label LBL_3\n LBL_3:\n switch i32 %storemerge13.reload, label LBL_8 [\n i32 3, label LBL_7\n i32 2, label LBL_6\n i32 0, label LBL_4\n i32 1, label LBL_5\n ]\n LBL_4:\n %16 = call i32 @strtol(i8* %13, i8** null, i32 10)\n store i32 %16, i32* %1, align 4\n br label LBL_8\n LBL_5:\n %17 = call i32 @strtol(i8* %13, i8** null, i32 10)\n store i32 %17, i32* %3, align 4\n br label LBL_8\n LBL_6:\n %18 = call i32 @strtol(i8* %13, i8** null, i32 16)\n store i32 %18, i32* %5, align 4\n br label LBL_8\n LBL_7:\n %19 = call i32 @strtol(i8* %13, i8** null, i32 16)\n store i32 %19, i32* %7, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_8:\n %20 = add nuw nsw i32 %storemerge13.reload, 1\n %21 = icmp ult i32 %20, 4\n store i32 %20, i32* %storemerge13.reg2mem\n store i64 %12, i64* %sv_0.02.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %21, label LBL_1, label LBL_11\n LBL_9:\n %22 = icmp eq i32 %storemerge13.reload, 0\n %23 = icmp eq i1 %22, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %23, label LBL_11, label LBL_10\n LBL_10:\n %24 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %25 = inttoptr i64 %arg1 to i8*\n %26 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %24, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_2, i64 0, i64 0), i8* %25)\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_11\n LBL_11:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i8* %13, { 0, 3, 1, 2, 4 }\n uselistorder i8* %9, { 1, 0 }\n uselistorder i32 %storemerge13.reload, { 2, 1, 0 }\n uselistorder i32* %storemerge13.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i32 (i8*, i8**, i32)* @strtol, { 3, 2, 0, 1 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i8** null, { 0, 1, 3, 2 }\n uselistorder i64 %arg1, { 1, 0 }\n uselistorder label LBL_11, { 3, 2, 0, 1 }\n uselistorder label LBL_8, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ovl_setattr_6212", "fun_name": "ovl_setattr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 %2, i64* %storemerge.in.reg2mem\n br i1 %4, label LBL_1, label LBL_5\n LBL_1:\n %5 = call i64 @FUNC(i64 %1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %storemerge.in.reg2mem\n br i1 %8, label LBL_5, label LBL_2\n LBL_2:\n %9 = call i64 @FUNC(i64 %1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %1)\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = call i64 @FUNC(i64 %15)\n %17 = call i64 @FUNC(i64 %13, i64 %0, i64 0)\n %18 = load i64, i64* %14, align 8\n %19 = call i64 @FUNC(i64 %18)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = call i64 @FUNC(i64 %1)\n store i64 %sv_0.0.reload, i64* %storemerge.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i64 %1, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "proto_seq_printf_8446", "fun_name": "proto_seq_printf", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %0, 176\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 168\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = call i64 @FUNC(i64 %8)\n %10 = add i64 %0, 160\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %12)\n %14 = add i64 %0, 152\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %0, 144\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %0, 136\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %0, 128\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %0, 120\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %0, 112\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = call i64 @FUNC(i64 %36)\n %38 = add i64 %0, 104\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %40)\n %42 = add i64 %0, 96\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %45 = call i64 @FUNC(i64 %44)\n %46 = add i64 %0, 88\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = call i64 @FUNC(i64 %48)\n %50 = add i64 %0, 80\n %51 = inttoptr i64 %50 to i64*\n %52 = load i64, i64* %51, align 8\n %53 = call i64 @FUNC(i64 %52)\n %54 = add i64 %0, 72\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %56)\n %58 = add i64 %0, 64\n %59 = inttoptr i64 %58 to i64*\n %60 = load i64, i64* %59, align 8\n %61 = call i64 @FUNC(i64 %60)\n %62 = add i64 %0, 56\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = call i64 @FUNC(i64 %64)\n %66 = add i64 %0, 48\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = call i64 @FUNC(i64 %68)\n %70 = add i64 %0, 40\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = call i64 @FUNC(i64 %72)\n %74 = add i64 %0, 32\n %75 = inttoptr i64 %74 to i64*\n %76 = load i64, i64* %75, align 8\n %77 = call i64 @FUNC(i64 %76)\n %78 = add i64 %0, 24\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = call i64 @FUNC(i64 %80)\n %82 = call i64 @FUNC(i64 %0)\n %83 = call i64 @FUNC(i64 %0)\n %84 = call i64 @FUNC(i64 %1)\n %85 = call i64 @FUNC(i64 %84, i64 %0)\n %86 = and i64 %85, 4294967295\n %87 = add i64 %0, 8\n %88 = inttoptr i64 %87 to i32*\n %89 = load i32, i32* %88, align 4\n %90 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([121 x i8], [121 x i8]* @gv_0, i64 0, i64 0), i64 %86, i32 %89, i64 %86, i64 %83)\n ret i64 %90\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 3, 2, 1, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 }\n uselistorder i64 (i64)* @proto_method_implemented, { 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "TfLiteIntArrayCreate_5787", "fun_name": "TfLiteIntArrayCreate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = trunc i64 %1 to i32\n %5 = call i64* @malloc(i32 %4)\n %6 = icmp eq i64* %5, null\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %5 to i64\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %9 = bitcast i64* %5 to i32*\n %10 = trunc i64 %arg1 to i32\n store i32 %10, i32* %9, align 4\n %11 = ptrtoint i64* %5 to i64\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %5, { 0, 3, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "setup_common_1282", "fun_name": "setup_common", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg2 to i32\n %1 = call i64* @memset(i64* nonnull @gv_0, i32 0, i32 256)\n %2 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_1, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 0, i64 %arg1, i32 %0, i64 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "quantize_mantissas_169", "fun_name": "quantize_mantissas", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 1544\n %2 = inttoptr i64 %1 to i32*\n %3 = add i64 %0, 1540\n %4 = inttoptr i64 %3 to i32*\n %5 = add i64 %0, 1536\n %6 = inttoptr i64 %5 to i32*\n %7 = add i64 %0, 1568\n %8 = inttoptr i64 %7 to i64*\n %9 = add i64 %0, 1560\n %10 = inttoptr i64 %9 to i64*\n %11 = add i64 %0, 1552\n %12 = inttoptr i64 %11 to i64*\n %13 = add i64 %0, 1576\n %14 = inttoptr i64 %13 to i32*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = mul nuw nsw i64 %indvars.iv.reload, 96\n store i32 0, i32* %2, align 4\n store i32 0, i32* %4, align 4\n store i32 0, i32* %6, align 4\n store i64 0, i64* %8, align 8\n store i64 0, i64* %10, align 8\n store i64 0, i64* %12, align 8\n %16 = load i32, i32* %14, align 4\n %17 = icmp eq i32 %16, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge12.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %18 = mul i64 %.reload, 4\n %19 = add i64 %18, %0\n %20 = add i64 %19, 1580\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %19, %15\n %24 = add i64 %23, 72\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = add i64 %23, 48\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %23, 24\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = inttoptr i64 %23 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = zext i32 %22 to i64\n %36 = zext i32 %26 to i64\n %37 = call i64 @FUNC(i64 %0, i32 %34, i32 %32, i32 %29, i64 %36, i64 %35)\n %38 = add i32 %storemerge12.reload, 1\n %39 = load i32, i32* %14, align 4\n %40 = zext i32 %39 to i64\n %41 = sext i32 %38 to i64\n %42 = icmp slt i64 %41, %40\n store i64 %41, i64* %.reg2mem\n store i32 %38, i32* %storemerge12.reg2mem\n store i64 %40, i64* %.lcssa.reg2mem\n br i1 %42, label LBL_2, label LBL_3\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %23, { 1, 2, 0, 3 }\n uselistorder i32* %14, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7, 8 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_response_8516", "fun_name": "add_response", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i32 @strlen(i8* %arg2)\n %2 = sext i32 %1 to i64\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = add i64 %5, %2\n %7 = add i64 %0, 16\n %8 = call i64 @FUNC(i64 %0, i64 %7, i64 %6)\n %9 = load i64, i64* %4, align 8\n %10 = add i64 %9, %0\n %11 = inttoptr i64 %10 to i64*\n %12 = bitcast i8* %arg2 to i64*\n %13 = call i64* @memmove(i64* %11, i64* %12, i32 %1)\n %14 = load i64, i64* %4, align 8\n %15 = add i64 %14, %2\n store i64 %15, i64* %4, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_new_mount_13554", "fun_name": "do_new_mount", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64 %arg3, i64 %arg4, i8* %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.09.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = inttoptr i64 %0 to i64*\n %2 = load i64, i64* %1, align 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = icmp eq i8* %arg2, null\n %8 = icmp eq i1 %7, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %8, label LBL_1, label LBL_16\n LBL_1:\n %9 = ptrtoint i8* %arg2 to i64\n %10 = call i64 @FUNC(i64 %9)\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 4294967277, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_16\n LBL_2:\n %sext = mul i64 %arg3, 4294967296\n %13 = ashr exact i64 %sext, 32\n %sext6 = mul i64 %arg4, 4294967296\n %14 = ashr exact i64 %sext6, 32\n %15 = inttoptr i64 %10 to i32*\n %16 = icmp eq i64 %6, ptrtoint (i64* @gv_1 to i64)\n store i64 %13, i64* %sv_2.0.reg2mem\n store i64 %14, i64* %sv_1.0.reg2mem\n br i1 %16, label LBL_7, label LBL_3\n LBL_3:\n %17 = load i32, i32* %15, align 4\n %18 = urem i32 %17, 2\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_5, label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %10)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_5:\n %22 = and i32 %17, 2\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n store i64 %13, i64* %sv_2.0.reg2mem\n store i64 %14, i64* %sv_1.0.reg2mem\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = or i64 %13, 8192\n %26 = or i64 %14, 3\n store i64 %25, i64* %sv_2.0.reg2mem\n store i64 %26, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %27 = ptrtoint i8* %arg5 to i64\n %28 = trunc i64 %sv_2.0.reload to i32\n %29 = call i64 @FUNC(i64 %10, i32 %28, i64 %27, i64 %arg6)\n %30 = icmp ult i64 %29, -1000\n br i1 %30, label LBL_9, label LBL_8\n LBL_8:\n %31 = call i64 @FUNC(i64 %10)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_9:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %32 = load i32, i32* %15, align 4\n %33 = and i32 %32, 4\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_11, label LBL_10\n LBL_10:\n %35 = inttoptr i64 %29 to i64*\n %36 = load i64, i64* %35, align 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_11, label LBL_12\n LBL_11:\n %41 = call i64 @FUNC(i64 %10)\n store i64 %29, i64* %sv_0.09.reg2mem\n br label LBL_13\n LBL_12:\n %42 = call i64 @FUNC(i64 %29, i64 %9)\n %43 = call i64 @FUNC(i64 %10)\n %44 = icmp ult i64 %42, -1000\n store i64 %42, i64* %sv_0.09.reg2mem\n store i64 %42, i64* %rax.0.reg2mem\n br i1 %44, label LBL_13, label LBL_16\n LBL_13:\n %45 = ptrtoint i64* %arg1 to i64\n %sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem\n %46 = call i64 @FUNC(i64 %sv_0.09.reload)\n %47 = trunc i64 %sv_1.0.reload to i32\n %48 = call i64 @FUNC(i64 %46, i64 %45, i32 %47)\n %49 = trunc i64 %48 to i32\n %50 = icmp eq i32 %49, 0\n br i1 %50, label LBL_15, label LBL_14\n LBL_14:\n %51 = call i64 @FUNC(i64 %sv_0.09.reload)\n br label LBL_15\n LBL_15:\n %52 = and i64 %48, 4294967295\n store i64 %52, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.09.reload, { 1, 0 }\n uselistorder i64 %29, { 2, 1, 3, 0, 4 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i64 %14, { 2, 0, 1 }\n uselistorder i64 %13, { 2, 0, 1 }\n uselistorder i64 %10, { 2, 1, 0, 3, 4, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 5, 3, 4 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i64)* @put_filesystem, { 3, 1, 0, 2 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_16, { 4, 1, 0, 5, 2, 3 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "spl_ptr_heap_init_9892", "fun_name": "spl_ptr_heap_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 56)\n %1 = inttoptr i64 %0 to i64*\n store i64 %arg3, i64* %1, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i64*\n store i64 %arg2, i64* %3, align 8\n %4 = add i64 %0, 16\n %5 = inttoptr i64 %4 to i64*\n store i64 %arg1, i64* %5, align 8\n %6 = call i64 @FUNC(i64 0, i64 10, i64 0)\n %7 = add i64 %0, 24\n %8 = inttoptr i64 %7 to i64*\n store i64 %6, i64* %8, align 8\n %9 = add i64 %0, 32\n %10 = inttoptr i64 %9 to i64*\n store i64 10, i64* %10, align 8\n %11 = add i64 %0, 40\n %12 = inttoptr i64 %11 to i64*\n store i64 0, i64* %12, align 8\n %13 = add i64 %0, 48\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %14, align 4\n ret i64 %0\n\n uselistorder i64 10, { 1, 0 }\n uselistorder i64 (i64)* @emalloc, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_cp_6242", "fun_name": "do_cp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i64 %arg2)\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %6 = and i64 %arg2, 4294967295\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n store i64 %7, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mpeg_flush_2670", "fun_name": "ff_mpeg_flush", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = add i64 %0, 176\n %3 = inttoptr i64 %2 to i64*\n store i64 0, i64* %3, align 8\n %4 = add i64 %0, 168\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n %6 = add i64 %0, 160\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, align 8\n %8 = add i64 %0, 188\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %0, 184\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %0, 192\n %13 = inttoptr i64 %12 to i32*\n store i32 -1, i32* %13, align 4\n %14 = add i64 %0, 196\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = add i64 %0, 200\n %17 = inttoptr i64 %16 to i32*\n store i32 0, i32* %17, align 4\n %18 = add i64 %0, 204\n %19 = inttoptr i64 %18 to i32*\n store i32 0, i32* %19, align 4\n %20 = add i64 %0, 208\n %21 = inttoptr i64 %20 to i32*\n store i32 0, i32* %21, align 4\n %22 = add i64 %0, 212\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %0, 216\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %0, 220\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 7, 0, 8 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_import_message_12307", "fun_name": "gf_import_message", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = load i128, i128* %0\n %5 = load i128, i128* %0\n %6 = load i128, i128* %0\n %7 = load i128, i128* %0\n %8 = load i128, i128* %0\n %9 = load i128, i128* %0\n %10 = load i128, i128* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i32, align 4\n %11 = trunc i64 %2 to i8\n %12 = icmp eq i8 %11, 0\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i128 %10)\n %14 = call i64 @FUNC(i128 %9)\n %15 = call i64 @FUNC(i128 %8)\n %16 = call i64 @FUNC(i128 %7)\n %17 = call i64 @FUNC(i128 %6)\n %18 = call i64 @FUNC(i128 %5)\n %19 = call i64 @FUNC(i128 %4)\n %20 = call i64 @FUNC(i128 %3)\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %21 = ashr exact i64 %sext, 32\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n %. = select i1 %23, i64 2, i64 1\n %24 = call i64 @FUNC(i64 1, i64 %.)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_4, label LBL_3\n LBL_3:\n store i32 24, i32* %sv_1, align 4\n %27 = ptrtoint i32* %sv_1 to i64\n %28 = bitcast i64* %sv_0 to i8*\n %29 = call i32 @vsprintf(i8* nonnull %28, i8* %arg3, i64 %27)\n %30 = call i64 @FUNC(i64 %., i64 1, i64* nonnull %sv_0, i64 %., i64 %arg5, i64 %arg6)\n br label LBL_4\n LBL_4:\n %31 = and i64 %21, 4294967295\n ret i64 %31\n\n uselistorder i64 %., { 1, 0, 2 }\n uselistorder i128* %0, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 2, 3, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bitmap_free_3028", "fun_name": "bitmap_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n %2 = call i64 @FUNC(i64 %arg1)\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 (i64)* @g_free, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megasas_decode_evt_9617", "fun_name": "megasas_decode_evt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = call i64 @FUNC(i64 %8)\n %10 = urem i32 %2, 65536\n %11 = zext i32 %10 to i64\n %12 = trunc i32 %2 to i16\n %13 = icmp eq i16 %12, 0\n store i64 %11, i64* %rax.0.reg2mem\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i64 @FUNC(i64 %11)\n %15 = add i64 %5, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = and i64 %19, 4294967295\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %5, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = zext i32 %24 to i64\n %26 = call i64 @FUNC(i64 %25)\n %27 = and i64 %26, 4294967295\n %28 = urem i64 %9, 65536\n %29 = call i64 @FUNC(i64 %25, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %27, i64 %21, i64 %28, i64 %14)\n store i64 %29, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ebt_size_mwt_11182", "fun_name": "ebt_size_mwt", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32 %arg2, i64 %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32*\n %sv_0.0.reg2mem = alloca i64\n %sv_1.05.reg2mem = alloca i32\n %sv_2.06.reg2mem = alloca i32\n %rcx.07.reg2mem = alloca i64\n %.reg2mem = alloca i32*\n %sv_3 = alloca i32*, align 8\n %0 = icmp eq i32 %arg2, 0\n %1 = icmp eq i1 %0, false\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %1, label LBL_1, label LBL_13\n LBL_1:\n %2 = ptrtoint i32* %arg1 to i64\n %3 = bitcast i32** %sv_3 to i64*\n store i64 %2, i64* %3, align 8\n %4 = icmp ult i32 %arg2, 4\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_13, label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg4 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = trunc i64 %arg3 to i32\n store i32* %arg1, i32** %.reg2mem\n store i64 %5, i64* %rcx.07.reg2mem\n store i32 0, i32* %sv_2.06.reg2mem\n store i32 %arg2, i32* %sv_1.05.reg2mem\n br label LBL_3\n LBL_3:\n %sv_1.05.reload = load i32, i32* %sv_1.05.reg2mem\n %sv_2.06.reload = load i32, i32* %sv_2.06.reg2mem\n %rcx.07.reload = load i64, i64* %rcx.07.reg2mem\n %.reload = load i32*, i32** %.reg2mem\n %9 = icmp eq i64 %rcx.07.reload, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_5, label LBL_4\n LBL_4:\n %10 = load i32, i32* %7, align 4\n %11 = zext i32 %10 to i64\n %12 = add i64 %rcx.07.reload, %11\n store i64 %12, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %13 = ptrtoint i32* %.reload to i64\n %14 = call i64 @FUNC(i64 %5, i64 %13, i64 4)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n store i32 %15, i32* %rax.0.shrunk.reg2mem\n br i1 %17, label LBL_6, label LBL_13\n LBL_6:\n %18 = call i64 @FUNC()\n %19 = and i64 %18, 4294967295\n %20 = call i64 @FUNC(i64 %5, i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i32 %21, i32* %rax.0.shrunk.reg2mem\n br i1 %23, label LBL_7, label LBL_13\n LBL_7:\n %24 = add i32 %sv_1.05.reload, -4\n %25 = load i32, i32* %.reload, align 4\n %26 = icmp ult i32 %24, %25\n %27 = icmp eq i1 %26, false\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %27, label LBL_8, label LBL_13\n LBL_8:\n %28 = call i64 @FUNC(i64 %13, i32 %8, i64 %5, i64 %arg5)\n %29 = trunc i64 %28 to i32\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n store i32 %29, i32* %rax.0.shrunk.reg2mem\n br i1 %31, label LBL_9, label LBL_13\n LBL_9:\n %32 = load i32, i32* %.reload, align 4\n %33 = zext i32 %32 to i64\n %sext4 = mul i64 %28, 4294967296\n %34 = ashr exact i64 %sext4, 32\n %35 = icmp slt i64 %34, %33\n store i32 -22, i32* %rax.0.shrunk.reg2mem\n br i1 %35, label LBL_13, label LBL_10\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %36 = call i64 @FUNC()\n %37 = add i64 %13, 4\n %38 = load i32, i32* %.reload, align 4\n %39 = sext i32 %38 to i64\n %40 = add i64 %37, %39\n %41 = inttoptr i64 %40 to i32*\n store i32* %41, i32** %sv_3, align 8\n %42 = icmp eq i64 %sv_0.0.reload, 0\n store i32* %41, i32** %.pre-phi.reg2mem\n br i1 %42, label LBL_12, label LBL_11\n LBL_11:\n %43 = inttoptr i64 %sv_0.0.reload to i32*\n store i32 %29, i32* %43, align 4\n %44 = load i32*, i32** %sv_3, align 8\n store i32* %44, i32** %.pre-phi.reg2mem\n br label LBL_12\n LBL_12:\n %45 = sub i32 %24, %25\n %46 = trunc i64 %36 to i32\n %47 = add i32 %sv_2.06.reload, %29\n %48 = sub i32 %47, %32\n %49 = add i32 %48, %46\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n %50 = icmp ult i32 %45, 4\n store i32* %.pre-phi.reload, i32** %.reg2mem\n store i64 %arg5, i64* %rcx.07.reg2mem\n store i32 %49, i32* %sv_2.06.reg2mem\n store i32 %45, i32* %sv_1.05.reg2mem\n store i32 %49, i32* %rax.0.shrunk.reg2mem\n br i1 %50, label LBL_13, label LBL_3\n LBL_13:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %29, { 1, 2, 0, 3 }\n uselistorder i32 %24, { 1, 0 }\n uselistorder i64 %rcx.07.reload, { 1, 0 }\n uselistorder i64 %5, { 2, 3, 4, 0, 1 }\n uselistorder i32** %sv_3, { 0, 2, 1 }\n uselistorder i32** %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rcx.07.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.06.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.05.reg2mem, { 1, 0, 2 }\n uselistorder i32** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 6, 5, 4, 3, 2, 1, 7, 8 }\n uselistorder i32 -22, { 1, 0 }\n uselistorder i64 ()* @ebt_compat_entry_padsize, { 1, 0 }\n uselistorder i64 4, { 2, 1, 0 }\n uselistorder i32 4, { 1, 0 }\n uselistorder i32 0, { 3, 4, 5, 2, 0, 1, 6 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ssl3_send_change_cipher_spec_10300", "fun_name": "ssl3_send_change_cipher_spec", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, %2\n %5 = icmp eq i1 %4, false\n %.pre = ptrtoint i32* %arg1 to i64\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %.pre, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i8*\n store i8 20, i8* %11, align 1\n %12 = add i64 %.pre, 16\n %13 = inttoptr i64 %12 to i32*\n store i32 1, i32* %13, align 4\n %14 = add i64 %.pre, 20\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %16 = trunc i64 %arg3 to i32\n store i32 %16, i32* %arg1, align 4\n br label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %.pre, i64 22)\n ret i64 %17\n\n uselistorder i64 %.pre, { 0, 3, 2, 1 }\n uselistorder i32* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "netio_recv_6420", "fun_name": "netio_recv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg3 to i32\n %4 = call i64* @memset(i64* %arg2, i32 0, i32 %3)\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, 0\n %9 = icmp slt i64 %7, 0\n %10 = icmp eq i1 %9, false\n %11 = icmp eq i1 %8, false\n %12 = icmp eq i1 %10, %11\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_9\n LBL_2:\n %13 = add i64 %2, 24\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = ptrtoint i64* %arg2 to i64\n %18 = trunc i64 %7 to i32\n %19 = inttoptr i64 %7 to i8*\n %20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i8* %19, i32 %18)\n %21 = load i64, i64* @gv_1, align 8\n %sext = mul i64 %7, 4294967296\n %22 = ashr exact i64 %sext, 32\n %23 = call i64 @FUNC(i64 %21, i64 %17, i64 %22)\n br label LBL_4\n LBL_4:\n %24 = add i64 %2, 32\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = trunc i64 %2 to i32\n %29 = icmp eq i32 %28, 0\n %30 = icmp eq i1 %29, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %30, label LBL_6, label LBL_9\n LBL_6:\n %31 = add i64 %2, 40\n %32 = inttoptr i64 %31 to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n br i1 %34, label LBL_8, label LBL_7\n LBL_7:\n %35 = trunc i64 %2 to i32\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %37, label LBL_8, label LBL_9\n LBL_8:\n %38 = add i64 %2, 64\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = add i64 %40, 1\n store i64 %41, i64* %39, align 8\n %42 = add i64 %2, 72\n %43 = inttoptr i64 %42 to i64*\n %44 = load i64, i64* %43, align 8\n %sext2 = mul i64 %7, 4294967296\n %45 = ashr exact i64 %sext2, 32\n %46 = add i64 %44, %45\n store i64 %46, i64* %43, align 8\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %2, { 0, 1, 3, 2, 5, 4, 6, 7 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }\n uselistorder i64 32, { 0, 2, 1 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_9, { 4, 0, 1, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "guest_cpuid_has_xsave_17876", "fun_name": "guest_cpuid_has_xsave", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1, i64 0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = add i64 %1, 16\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = and i32 %5, 67108864\n %7 = icmp eq i32 %6, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %7, label LBL_2, label LBL_3\n LBL_2:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "xdr_kadm5_ret_t_9647", "fun_name": "xdr_kadm5_ret_t", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sv_0 = alloca i32, align 4\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %2 to i32\n store i32 %6, i32* %sv_0, align 4\n br label LBL_2\n LBL_2:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i32* nonnull %sv_0)\n %9 = trunc i64 %8 to i8\n %10 = icmp eq i8 %9, 1\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_3, label LBL_5\n LBL_3:\n %11 = icmp eq i32 %3, 1\n %12 = icmp eq i1 %11, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %12, label LBL_5, label LBL_4\n LBL_4:\n %13 = load i32, i32* %sv_0, align 4\n store i32 %13, i32* %arg2, align 4\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "perf_event_enable_on_exec_8112", "fun_name": "perf_event_enable_on_exec", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.04.reg2mem = alloca i32\n %sv_2.05.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %1)\n %3 = load i64, i64* @gv_0, align 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %sext = mul i64 %arg1, 4294967296\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %5, %6\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_7, label LBL_1\n LBL_1:\n %11 = inttoptr i64 %9 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_7, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i64 %9)\n %15 = call i64 @FUNC(i64 %14, i64 %9)\n %16 = call i64 @FUNC(i64 %9, i64 %14, i64 2)\n %17 = add i64 %9, 8\n %storemerge.in2 = inttoptr i64 %17 to i64*\n %storemerge3 = load i64, i64* %storemerge.in2, align 8\n %18 = icmp eq i64 %storemerge3, %17\n %19 = icmp eq i1 %18, false\n store i64 %storemerge3, i64* %storemerge6.reg2mem\n store i32 0, i32* %sv_2.05.reg2mem\n store i32 0, i32* %sv_1.04.reg2mem\n br i1 %19, label LBL_3, label LBL_6\n LBL_3:\n %sv_1.04.reload = load i32, i32* %sv_1.04.reg2mem\n %sv_2.05.reload = load i32, i32* %sv_2.05.reg2mem\n %storemerge6.reload = load i64, i64* %storemerge6.reg2mem\n %20 = call i64 @FUNC(i64 %storemerge6.reload, i64 %9)\n %21 = trunc i64 %20 to i32\n %22 = or i32 %sv_2.05.reload, %21\n %23 = call i64 @FUNC(i64 %storemerge6.reload)\n %24 = trunc i64 %23 to i32\n %25 = or i32 %sv_1.04.reload, %24\n %storemerge.in = inttoptr i64 %storemerge6.reload to i64*\n %storemerge = load i64, i64* %storemerge.in, align 8\n %26 = icmp eq i64 %storemerge, %17\n %27 = icmp eq i1 %26, false\n store i64 %storemerge, i64* %storemerge6.reg2mem\n store i32 %22, i32* %sv_2.05.reg2mem\n store i32 %25, i32* %sv_1.04.reg2mem\n br i1 %27, label LBL_3, label LBL_4\n LBL_4:\n %phitmp = icmp eq i32 %22, 0\n br i1 %phitmp, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %9)\n %29 = call i64 @FUNC(i64 %14, i64 %9, i32 %25)\n store i64 %28, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_6:\n %30 = load i64, i64* @gv_0, align 8\n %31 = call i64 @FUNC(i64 %9, i64 %14, i64 2, i64 %30)\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n %32 = call i64 @FUNC(i64 %1)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %33 = call i64 @FUNC(i64 %14, i64 %9)\n %34 = call i64 @FUNC(i64 %1)\n %35 = icmp eq i64 %sv_0.0.reload, 0\n store i64 %34, i64* %rax.0.reg2mem\n br i1 %35, label LBL_10, label LBL_9\n LBL_9:\n %36 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %25, { 1, 0 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i64 %storemerge6.reload, { 2, 1, 0 }\n uselistorder i64 %17, { 2, 0, 1 }\n uselistorder i64 %14, { 1, 2, 0, 3, 4 }\n uselistorder i64 %9, { 0, 3, 1, 2, 4, 5, 6, 7, 8, 9, 10 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64* %storemerge6.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_2.05.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.04.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @local_irq_restore, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 2, 0, 1, 4, 3 }\n uselistorder label LBL_10, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "avi_read_idx1_1889", "fun_name": "avi_read_idx1", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 24\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = trunc i64 %arg2 to i32\n %.off = add i32 %7, 32767\n %8 = icmp ult i32 %.off, 65535\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_14\n LBL_1:\n %10 = inttoptr i64 %3 to i32*\n %11 = call i64 @FUNC(i64 %6)\n %12 = load i32, i32* %10, align 4\n %13 = add i32 %12, 4\n %14 = zext i32 %13 to i64\n %15 = call i64 @FUNC(i64 %6, i64 %14, i64 0)\n %16 = call i64 @FUNC(i64 %0, i64 1)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = call i64 @FUNC(i64 %6)\n br label LBL_3\n LBL_3:\n %sext = mul i64 %11, 4294967296\n %21 = ashr exact i64 %sext, 32\n %22 = add i64 %3, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 -1, i32* %23, align 4\n %24 = call i64 @FUNC(i64 %6, i64 %21, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br i1 false, label LBL_4, label LBL_14\n LBL_4:\n br label LBL_5\n LBL_5:\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 undef, label LBL_6, label LBL_14\n LBL_6:\n br i1 undef, label LBL_13, label LBL_7\n LBL_7:\n br i1 undef, label LBL_9, label LBL_8\n LBL_8:\n br label LBL_12\n LBL_9:\n br i1 undef, label LBL_11, label LBL_10\n LBL_10:\n br i1 undef, label LBL_12, label LBL_11\n LBL_11:\n br label LBL_12\n LBL_12:\n br label LBL_13\n LBL_13:\n store i64 0, i64* %rax.0.reg2mem\n br i1 undef, label LBL_5, label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @avio_seek, { 1, 0 }\n uselistorder i64 (i64)* @avio_tell, { 1, 0 }\n uselistorder label LBL_14, { 1, 0, 2, 3 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "delete_sdp_line_12911", "fun_name": "delete_sdp_line", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = icmp eq i64 %arg2, 0\n %3 = icmp eq i1 %2, false\n store i64 %arg2, i64* %sv_1.0.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %4 = inttoptr i64 %sv_1.0.reload to i8*\n %5 = load i8, i8* %4, align 1\n %6 = icmp ne i8 %5, 10\n %7 = icmp ugt i64 %sv_1.0.reload, %0\n %or.cond = icmp eq i1 %7, %6\n %8 = add i64 %sv_1.0.reload, -1\n store i64 %8, i64* %sv_1.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %9 = inttoptr i64 %arg2 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 10\n store i64 %arg2, i64* %sv_0.0.lcssa.reg2mem\n br i1 %11, label LBL_6, label LBL_3\n LBL_3:\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %14, %0\n store i64 %arg2, i64* %sv_0.01.reg2mem\n br label LBL_5\n LBL_4:\n %16 = add i64 %sv_0.01.reload, 1\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = icmp eq i8 %18, 10\n store i64 %16, i64* %sv_0.01.reg2mem\n store i64 %16, i64* %sv_0.0.lcssa.reg2mem\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %20 = icmp ult i64 %sv_0.01.reload, %15\n store i64 %sv_0.01.reload, i64* %sv_0.0.lcssa.reg2mem\n br i1 %20, label LBL_4, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %21 = sub i64 %sv_0.0.lcssa.reload, %sv_1.0.reload\n %22 = sub i64 1, %1\n %23 = add i64 %22, %sv_1.0.reload\n %24 = call i64 @FUNC(i64 %1, i64 %23, i64 %21, i64 0)\n %25 = icmp eq i64 %24, 0\n %26 = icmp eq i1 %25, false\n %. = select i1 %26, i64 0, i64 4294967295\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_1.0.reload, { 4, 3, 0, 2, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i8 10, { 1, 0, 2 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 %arg2, { 1, 0, 3, 2, 4 }\n uselistorder label LBL_6, { 1, 0, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bin_to_readable_10452", "fun_name": "bin_to_readable", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2, i64* %arg3, i8 %arg4) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i8\n %sv_1.1.reg2mem = alloca i32\n %sv_2.1.reg2mem = alloca i16*\n %sv_0.0.reg2mem = alloca i8\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i16*\n %sv_3.0.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %0 = urem i8 %arg4, 32\n %1 = icmp eq i8 %0, 0\n store i32 0, i32* %.pre-phi.reg2mem\n store i32 0, i32* %storemerge.reg2mem\n br i1 %1, label LBL_0._crit_edge, label %2\n LBL_1:\n %5 = ptrtoint i64* %arg3 to i64\n %6 = ptrtoint i16* %arg1 to i64\n %7 = add i64 %6, %arg2\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n store i64 %5, i64* %sv_3.0.reg2mem\n store i16* %arg1, i16** %sv_2.0.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i8 0, i8* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i16*, i16** %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %8 = icmp slt i8 %sv_0.0.reload, %arg4\n store i16* %sv_2.0.reload, i16** %sv_2.1.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i8 %sv_0.0.reload, i8* %sv_0.1.reg2mem\n br i1 %8, label LBL_3, label LBL_6\n LBL_3:\n %9 = ptrtoint i16* %sv_2.0.reload to i64\n %10 = icmp ugt i64 %7, %9\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = add i64 %9, 1\n %13 = inttoptr i64 %12 to i16*\n %14 = bitcast i16* %sv_2.0.reload to i8*\n %15 = load i8, i8* %14, align 1\n %16 = zext i8 %15 to i32\n %17 = urem i8 %sv_0.0.reload, 32\n %18 = zext i8 %17 to i32\n %rdx.0 = shl i32 %16, %18\n %19 = or i32 %rdx.0, %sv_1.0.reload\n %sext = mul i32 %19, 65536\n %20 = ashr exact i32 %sext, 16\n %21 = add i8 %sv_0.0.reload, 8\n store i16* %13, i16** %sv_2.1.reg2mem\n store i32 %20, i32* %sv_1.1.reg2mem\n store i8 %21, i8* %sv_0.1.reg2mem\n br label LBL_6\n LBL_5:\n %22 = icmp eq i8 %sv_0.0.reload, 0\n store i16* %sv_2.0.reload, i16** %sv_2.1.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.reg2mem\n store i8 %arg4, i8* %sv_0.1.reg2mem\n br i1 %22, label LBL_7, label LBL_6\n LBL_6:\n %sv_0.1.reload = load i8, i8* %sv_0.1.reg2mem\n %sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem\n %sv_2.1.reload = load i16*, i16** %sv_2.1.reg2mem\n %23 = urem i32 %sv_1.1.reload, 65536\n %24 = and i32 %23, %storemerge.reload\n %25 = add i64 %sv_3.0.reload, 1\n %26 = zext i32 %24 to i64\n %27 = add i64 %26, ptrtoint ([17 x i8]* @gv_0 to i64)\n %28 = inttoptr i64 %27 to i8*\n %29 = load i8, i8* %28, align 1\n %30 = inttoptr i64 %sv_3.0.reload to i8*\n store i8 %29, i8* %30, align 1\n %rdx.1.in = lshr i32 %23, %.pre-phi.reload\n %sext4 = mul i32 %rdx.1.in, 65536\n %31 = ashr exact i32 %sext4, 16\n %32 = sub i8 %sv_0.1.reload, %arg4\n store i64 %25, i64* %sv_3.0.reg2mem\n store i16* %sv_2.1.reload, i16** %sv_2.0.reg2mem\n store i32 %31, i32* %sv_1.0.reg2mem\n store i8 %32, i8* %sv_0.0.reg2mem\n br label LBL_2\n LBL_7:\n %33 = inttoptr i64 %sv_3.0.reload to i8*\n store i8 0, i8* %33, align 1\n ret i64 %sv_3.0.reload\n\n uselistorder i64 %sv_3.0.reload, { 3, 2, 1, 0 }\n uselistorder i16* %sv_2.0.reload, { 0, 2, 3, 1 }\n uselistorder i32 %sv_1.0.reload, { 0, 2, 1 }\n uselistorder i8 %sv_0.0.reload, { 1, 3, 4, 0, 2 }\n uselistorder i32* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_0.0.reg2mem, { 1, 0, 2 }\n uselistorder i16** %sv_2.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32* %sv_1.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i8* %sv_0.1.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32 65536, { 0, 2, 1 }\n uselistorder i32 0, { 0, 3, 1, 2 }\n uselistorder i8 0, { 3, 1, 0, 2 }\n uselistorder i8 %arg4, { 2, 0, 3, 1 }\n uselistorder label LBL_6, { 0, 2, 1 }\n uselistorder label LBL_0._crit_edge, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pmcraid_reset_enable_ioa_9387", "fun_name": "pmcraid_reset_enable_ioa", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %2, i64 1)\n %6 = and i64 %4, 2\n %7 = icmp eq i64 %6, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 2, i64 %13)\n %15 = add i64 %2, 16\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 2, i64 %17)\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0, 2, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64, i64)* @iowrite32, { 1, 0 }\n uselistorder i64 2, { 1, 2, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unwind_next_frame_4836", "fun_name": "unwind_next_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i8\n %3 = icmp eq i8 %2, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n %8 = add i64 %0, 32\n %9 = add i64 %0, 24\n %10 = inttoptr i64 %9 to i64*\n store i64 %0, i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n store i64 %rdi.0.reload, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_3:\n %11 = call i64 @FUNC(i64 %storemerge.in.reload)\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i8\n %14 = icmp eq i8 %13, 0\n store i64 %11, i64* %storemerge.in.reg2mem\n store i64 1, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_6\n LBL_4:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = add i64 %storemerge.in.reload, 8\n store i64 %storemerge, i64* %arg1, align 8\n %15 = load i64, i64* %5, align 8\n %16 = icmp ult i64 %storemerge.in.reload, %15\n br i1 %16, label LBL_3, label LBL_5\n LBL_5:\n %17 = load i64, i64* %7, align 8\n %18 = call i64 @FUNC(i64 %17, i64 8)\n store i64 %18, i64* %arg1, align 8\n %19 = load i64, i64* %10, align 8\n %20 = call i64 @FUNC(i64 %17, i64 %19, i64 %4, i64 %8)\n %21 = trunc i64 %20 to i8\n %22 = icmp eq i8 %21, 1\n %23 = icmp eq i1 %22, false\n store i64 %17, i64* %rdi.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %23, label LBL_2, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge.in.reload, { 1, 0, 2 }\n uselistorder i64 %0, { 0, 3, 2, 1, 5, 4 }\n uselistorder i64* %rdi.0.reg2mem, { 2, 0, 1 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dlt_file_message_6782", "fun_name": "dlt_file_message", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %sext2 = mul i64 %arg3, 4294967296\n %5 = ashr exact i64 %sext2, 32\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 %4, i64* %rdi.0.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32 @puts(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))\n store i64 ptrtoint ([16 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %9 = icmp eq i64* %arg1, null\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_12\n LBL_3:\n %sext = mul i64 %arg2, 4294967296\n %11 = ashr exact i64 %sext, 32\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = add i64 %4, 16\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = icmp slt i64 %11, %17\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = and i64 %11, 4294967295\n %20 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_1, i64 0, i64 0), i64 %19, i64 %3, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_6:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %21 = add i64 %4, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = ashr exact i64 %sext, 29\n %25 = add i64 %23, %24\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = inttoptr i64 %rdi.0.reload to %_IO_FILE*\n %29 = trunc i64 %27 to i32\n %30 = call i32 @fseek(%_IO_FILE* %28, i32 %29, i32 0)\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_8, label LBL_7\n LBL_7:\n %32 = load i64, i64* %22, align 8\n %33 = add i64 %32, %24\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = and i64 %11, 4294967295\n %37 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_2, i64 0, i64 0), i64 %36, i64 %35, i64 %2, i64 %1)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n %38 = and i64 %5, 4294967295\n %39 = call i64 @FUNC(i64 %4, i64 %38)\n %40 = trunc i64 %39 to i32\n %41 = icmp slt i32 %40, 0\n %42 = icmp eq i1 %41, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %42, label LBL_9, label LBL_12\n LBL_9:\n %43 = call i64 @FUNC(i64 %4, i64 %38)\n %44 = trunc i64 %43 to i32\n %45 = icmp slt i32 %44, 0\n %46 = icmp eq i1 %45, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %46, label LBL_10, label LBL_12\n LBL_10:\n %47 = call i64 @FUNC(i64 %4, i64 %38)\n %48 = trunc i64 %47 to i32\n %49 = icmp slt i32 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %50, label LBL_11, label LBL_12\n LBL_11:\n %51 = add i64 %4, 20\n %52 = inttoptr i64 %51 to i32*\n store i32 %12, i32* %52, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %11, { 1, 2, 0, 3 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %4, { 1, 2, 3, 4, 6, 5, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 5, 7, 4 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @dlt_vlog, { 1, 0 }\n uselistorder [16 x i8]* @gv_0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 0, 5, 6 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder label LBL_12, { 4, 0, 1, 2, 5, 6, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_ac_filter_196", "fun_name": "decode_ac_filter", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %.reg2mem5 = alloca i32\n %.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 72\n %2 = call i64 @FUNC(i64 %1, i64 4)\n %3 = trunc i64 %2 to i32\n %4 = add i32 %3, 1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = call i64 @FUNC(i64 %1, i64 4)\n %7 = trunc i64 %6 to i32\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i32*\n store i32 %7, i32* %9, align 4\n %10 = bitcast i64* %rdi to i32*\n %11 = load i32, i32* %10, align 8\n %12 = icmp eq i32 %11, 0\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %12, label LBL_3, label LBL_1\n LBL_1:\n %13 = add i64 %0, 8\n %14 = and i64 %6, 4294967295\n %15 = call i64 @FUNC(i64 %1, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = add i32 %16, 1\n %18 = inttoptr i64 %13 to i32*\n store i32 %17, i32* %18, align 4\n %19 = load i32, i32* %10, align 8\n %20 = zext i32 %19 to i64\n %21 = icmp ugt i32 %19, 1\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %.reg2mem5\n store i64 %20, i64* %.lcssa.reg2mem\n br i1 %21, label LBL_2, label LBL_3\n LBL_2:\n %.reload6 = load i32, i32* %.reg2mem5\n %.reload = load i64, i64* %.reg2mem\n %.pre = load i32, i32* %9, align 4\n %22 = zext i32 %.pre to i64\n %23 = call i64 @FUNC(i64 %1, i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = add i32 %24, 1\n %26 = mul i64 %.reload, 4\n %27 = add i64 %13, %26\n %28 = inttoptr i64 %27 to i32*\n store i32 %25, i32* %28, align 4\n %29 = add i32 %.reload6, 1\n %30 = load i32, i32* %10, align 8\n %31 = zext i32 %30 to i64\n %32 = sext i32 %29 to i64\n %33 = icmp slt i64 %32, %31\n store i64 %32, i64* %.reg2mem\n store i32 %29, i32* %.reg2mem5\n store i64 %31, i64* %.lcssa.reg2mem\n br i1 %33, label LBL_2, label LBL_3\n LBL_3:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %13, { 1, 0 }\n uselistorder i32* %10, { 2, 0, 1 }\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem5, { 2, 0, 1 }\n uselistorder i64 (i64, i64)* @get_bits, { 3, 0, 2, 1 }\n uselistorder i64 4, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "secure_check_6141", "fun_name": "secure_check", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = call i64 @FUNC(i64 %arg1, i64 8, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %6, 305419896\n %8 = icmp eq i1 %7, false\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = add i64 %arg1, 8\n %10 = add i64 %arg1, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %9, i64 %13, i64 1)\n %phitmp = and i64 %14, 4294967295\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %15 = call i64 @FUNC()\n ret i64 %sv_0.0.reload\n\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @secure_decrypt, { 1, 0 }\n uselistorder i64 8, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_modinit_12273", "fun_name": "_modinit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 4198662)\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "am_check_url_5532", "fun_name": "am_check_url", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %.reg2mem = alloca i8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = inttoptr i64 %arg2 to i8*\n %2 = load i8, i8* %1, align 1\n %3 = icmp eq i8 %2, 0\n %4 = icmp eq i1 %3, false\n store i8 %2, i8* %.reg2mem\n store i64 %arg2, i64* %storemerge1.reg2mem\n store i64 200, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %.reload = load i8, i8* %.reg2mem\n %5 = icmp ugt i8 %.reload, 31\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 0, i64 1, i64 400, i64 %0, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0))\n store i64 400, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %7 = icmp eq i8 %.reload, 92\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n %9 = call i64 @FUNC(i64 0, i64 1, i64 400, i64 %0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0))\n store i64 400, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_5:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %10 = add i64 %storemerge1.reload, 1\n %11 = inttoptr i64 %10 to i8*\n %12 = load i8, i8* %11, align 1\n %13 = icmp eq i8 %12, 0\n %14 = icmp eq i1 %13, false\n store i8 %12, i8* %.reg2mem\n store i64 %10, i64* %storemerge1.reg2mem\n store i64 200, i64* %rax.0.reg2mem\n br i1 %14, label LBL_1, label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 4, 3, 2 }\n uselistorder i64 (i64, i64, i64, i64, i8*)* @AM_LOG_RERROR, { 1, 0 }\n uselistorder i64 400, { 1, 2, 0, 3 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i8 0, { 1, 0 }\n uselistorder label LBL_6, { 0, 2, 3, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "query_update_api_7520", "fun_name": "query_update_api", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.ph1219.reg2mem = alloca i32\n %.in26.reg2mem = alloca i64\n %.in27.reg2mem = alloca i64\n %sv_1.0.ph23.reg2mem = alloca i1\n %sv_0.0.ph24.reg2mem = alloca i32\n %.in.reg2mem = alloca i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i32, align 4\n %sv_4 = alloca i32, align 4\n %sv_5 = alloca i32, align 4\n %sv_6 = alloca i8*, align 8\n %sv_7 = alloca i8*, align 8\n %sv_8 = alloca i8*, align 8\n %sv_9 = alloca i64, align 8\n store i8* null, i8** %sv_8, align 8\n store i8* null, i8** %sv_7, align 8\n store i8* null, i8** %sv_6, align 8\n store i32 0, i32* %sv_5, align 4\n store i32 0, i32* %sv_4, align 4\n store i32 0, i32* %sv_3, align 4\n store i64 0, i64* %sv_9, align 8\n %0 = load i8*, i8** @gv_0, align 8\n %1 = icmp eq i8* %0, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = load i32*, i32** @gv_1, align 8\n %3 = icmp eq i32* %2, null\n %4 = load [6 x i8]*, [6 x i8]** @gv_2, align 8\n %5 = getelementptr inbounds [6 x i8], [6 x i8]* %4, i64 0, i64 0\n %6 = call i32 @strcmp(i8* %5, i8* nonnull %0)\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %3, false\n %or.cond = icmp eq i1 %8, %7\n br i1 %or.cond, label LBL_4, label LBL_2\n LBL_2:\n %9 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_7, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_3, i64 0, i64 0))\n %10 = load i8*, i8** @gv_0, align 8\n %11 = icmp eq i8* %10, null\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = load i8*, i8** %sv_7, align 8\n %13 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_7, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i8* %12, i8* nonnull %10)\n br label LBL_4\n LBL_4:\n %14 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_8, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @gv_5, i64 0, i64 0))\n %15 = load i32, i32* inttoptr (i64 4210836 to i32*), align 4\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = load i8*, i8** %sv_7, align 8\n %19 = icmp eq i8* %18, null\n %20 = load [6 x i8]*, [6 x i8]** @gv_2, align 8\n %21 = load i8*, i8** %sv_8, align 8\n %22 = getelementptr inbounds [6 x i8], [6 x i8]* %20, i64 0, i64 0\n %23 = select i1 %19, i8* bitcast (i8** @gv_6 to i8*), i8* %18\n %24 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_8, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_7, i64 0, i64 0), i8* %21, i8* %22, i8* %23)\n br label LBL_6\n LBL_6:\n %25 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_8, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_9, i64 0, i64 0))\n %26 = load [6 x i8]*, [6 x i8]** @gv_2, align 8\n %27 = load i8*, i8** %sv_6, align 8\n %28 = getelementptr inbounds [6 x i8], [6 x i8]* %26, i64 0, i64 0\n %29 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_10, i64 0, i64 0), i8* %27, i8* %28)\n %30 = load i8*, i8** %sv_6, align 8\n %31 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_11, i64 0, i64 0), i8* %30)\n %32 = load i8*, i8** %sv_6, align 8\n %33 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_12, i64 0, i64 0), i8* %32, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_13, i64 0, i64 0))\n %34 = load i8*, i8** %sv_6, align 8\n %35 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_14, i64 0, i64 0), i8* %34)\n %36 = load i8*, i8** %sv_8, align 8\n %37 = call i32 @strlen(i8* %36)\n %38 = sext i32 %37 to i64\n %39 = load i8*, i8** %sv_6, align 8\n %40 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_15, i64 0, i64 0), i8* %39, i64 %38)\n %41 = load i8*, i8** %sv_6, align 8\n %42 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_16, i64 0, i64 0), i8* %41)\n %43 = load i8*, i8** %sv_8, align 8\n %44 = load i8*, i8** %sv_6, align 8\n %45 = call i32 (i8**, i8*, ...) @asprintf(i8** nonnull %sv_6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_17, i64 0, i64 0), i8* %44, i8* %43)\n %46 = call i64 @FUNC(i64 ptrtoint ([15 x i8]* @gv_13 to i64), i64 80, i32* nonnull %sv_4, i64 2)\n %47 = load i32, i32* %sv_4, align 4\n %48 = icmp slt i32 %47, 1\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %48, label LBL_21, label LBL_7\n LBL_7:\n %49 = load i8*, i8** %sv_6, align 8\n %50 = call i32 @strlen(i8* %49)\n store i32 %50, i32* %sv_3, align 4\n %51 = load i8*, i8** %sv_6, align 8\n %52 = ptrtoint i8* %51 to i64\n %53 = load i32, i32* %sv_4, align 4\n %54 = zext i32 %53 to i64\n %55 = call i64 @FUNC(i64 %54, i64 %52, i32* nonnull %sv_3, i64 2)\n store i64 1024, i64* %sv_9, align 8\n %56 = load i32, i32* %sv_4, align 4\n %57 = zext i32 %56 to i64\n %58 = call i64 @FUNC(i64 %57, i64* nonnull %sv_2, i64* nonnull %sv_9, i64 2)\n %59 = load i32, i32* %sv_4, align 4\n %60 = call i32 @close(i32 %59)\n %61 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_5, i64 1024)\n %62 = icmp eq i64 %61, 0\n %63 = icmp eq i1 %62, false\n store i64 %61, i64* %.in.reg2mem\n store i32 0, i32* %sv_0.0.ph24.reg2mem\n store i1 false, i1* %sv_1.0.ph23.reg2mem\n store i32 0, i32* %sv_0.1.reg2mem\n br i1 %63, label LBL_9, label LBL_21\n LBL_8:\n %64 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_5, i64 1024)\n %65 = icmp eq i64 %64, 0\n %66 = icmp eq i1 %65, false\n store i64 %64, i64* %.in.reg2mem\n store i32 %sv_0.0.ph1219.reload, i32* %sv_0.0.ph24.reg2mem\n store i1 true, i1* %sv_1.0.ph23.reg2mem\n store i32 %sv_0.0.ph1219.reload, i32* %sv_0.1.reg2mem\n br i1 %66, label LBL_9, label LBL_21\n LBL_9:\n %sv_1.0.ph23.reload = load i1, i1* %sv_1.0.ph23.reg2mem\n %sv_0.0.ph24.reload = load i32, i32* %sv_0.0.ph24.reg2mem\n %.in.reload = load i64, i64* %.in.reg2mem\n store i64 %.in.reload, i64* %.in26.reg2mem\n store i32 %sv_0.0.ph24.reload, i32* %sv_0.0.ph1219.reg2mem\n br label LBL_10.lr.ph\n LBL_10:\n %.in27.reload = load i64, i64* %.in27.reg2mem\n %67 = inttoptr i64 %.in27.reload to i8*\n %68 = call i64 @FUNC(i64 %.in27.reload)\n %69 = load i8, i8* %67, align 1\n %70 = icmp eq i8 %69, 0\n %71 = icmp eq i1 %70, false\n br i1 %71, label LBL_11, label LBL_8\n LBL_11:\n br i1 %sv_1.0.ph23.reload, label LBL_12, label LBL_19\n LBL_12:\n %72 = call i8* @strtok(i8* nonnull %67, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_18, i64 0, i64 0))\n %73 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_19, i64 0, i64 0))\n %74 = call i32 @strcmp(i8* %72, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_20, i64 0, i64 0))\n %75 = icmp eq i32 %74, 0\n %76 = icmp eq i1 %75, false\n br i1 %76, label LBL_15, label LBL_13\n LBL_13:\n %77 = call i32 @atoi(i8* %73)\n store i32 %77, i32* bitcast (i64* @gv_21 to i32*), align 8\n %78 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_5, i64 1024)\n %79 = icmp eq i64 %78, 0\n %80 = icmp eq i1 %79, false\n store i64 %78, i64* %.in26.reg2mem\n store i32 1, i32* %sv_0.0.ph1219.reg2mem\n store i32 1, i32* %sv_0.1.reg2mem\n br i1 %80, label LBL_10.lr.ph, label LBL_21\n LBL_14:\n %sv_0.0.ph1219.reload = load i32, i32* %sv_0.0.ph1219.reg2mem\n %.in26.reload = load i64, i64* %.in26.reg2mem\n store i64 %.in26.reload, i64* %.in27.reg2mem\n br label LBL_10\n LBL_15:\n %81 = call i32 @strcmp(i8* %72, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_22, i64 0, i64 0))\n %82 = icmp eq i32 %81, 0\n %83 = icmp eq i1 %82, false\n br i1 %83, label LBL_20, label LBL_16\n LBL_16:\n %84 = load i64, i64* @gv_23, align 8\n %85 = icmp eq i64 %84, 0\n br i1 %85, label LBL_18, label LBL_17\n LBL_17:\n %86 = call i64 @FUNC(i64 %84)\n br label LBL_18\n LBL_18:\n %87 = call i8* @strdup(i8* %73)\n %88 = ptrtoint i8* %87 to i64\n store i64 %88, i64* @gv_23, align 8\n br label LBL_19\n LBL_19:\n %89 = call i64 @FUNC(i64* nonnull %sv_2, i32* nonnull %sv_5, i64 1024)\n %90 = icmp eq i64 %89, 0\n %91 = icmp eq i1 %90, false\n store i64 %89, i64* %.in27.reg2mem\n store i32 %sv_0.0.ph1219.reload, i32* %sv_0.1.reg2mem\n br i1 %91, label LBL_10, label LBL_21\n LBL_20:\n %92 = call i32 @strcmp(i8* %72, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_24, i64 0, i64 0))\n br label LBL_19\n LBL_21:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %93 = load i8*, i8** %sv_6, align 8\n %94 = ptrtoint i8* %93 to i64\n %95 = call i64 @FUNC(i64 %94)\n %96 = load i8*, i8** %sv_8, align 8\n %97 = ptrtoint i8* %96 to i64\n %98 = call i64 @FUNC(i64 %97)\n %99 = load i8*, i8** %sv_7, align 8\n %100 = ptrtoint i8* %99 to i64\n %101 = call i64 @FUNC(i64 %100)\n %102 = icmp eq i32 %sv_0.1.reload, 1\n %103 = icmp eq i1 %102, false\n br i1 %103, label LBL_25, label LBL_22\n LBL_22:\n %104 = call i32 @time(i32* bitcast (i32** @gv_1 to i32*))\n %105 = load i8*, i8** @gv_0, align 8\n %106 = icmp eq i8* %105, null\n br i1 %106, label LBL_24, label LBL_23\n LBL_23:\n %107 = bitcast i8* %105 to i64*\n call void @free(i64* %107)\n br label LBL_24\n LBL_24:\n %108 = load [6 x i8]*, [6 x i8]** @gv_2, align 8\n %109 = getelementptr inbounds [6 x i8], [6 x i8]* %108, i64 0, i64 0\n %110 = call i8* @strdup(i8* %109)\n store i8* %110, i8** @gv_0, align 8\n br label LBL_25\n LBL_25:\n ret i64 0\n\n uselistorder i32 %sv_0.0.ph1219.reload, { 1, 2, 0 }\n uselistorder i8* %73, { 1, 0 }\n uselistorder i64 %.in27.reload, { 1, 0 }\n uselistorder i8** %sv_8, { 4, 3, 2, 6, 1, 5, 0 }\n uselistorder i8** %sv_7, { 3, 2, 5, 1, 4, 0 }\n uselistorder i8** %sv_6, { 10, 9, 8, 18, 7, 17, 6, 16, 5, 15, 4, 14, 3, 13, 2, 12, 1, 11, 0 }\n uselistorder i32* %sv_5, { 3, 2, 1, 0, 4 }\n uselistorder i32* %sv_4, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64* %sv_2, { 3, 2, 1, 0, 4 }\n uselistorder i64* %.in.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.0.ph24.reg2mem, { 0, 2, 1 }\n uselistorder i1* %sv_1.0.ph23.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.in27.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i8* (i8*)* @strdup, { 1, 0 }\n uselistorder i64 (i64)* @my_free, { 2, 1, 0, 3 }\n uselistorder i64 (i64*, i32*, i64)* @get_next_string_from_buf, { 3, 2, 1, 0 }\n uselistorder i64 1024, { 4, 2, 1, 0, 3 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i32 (i8**, i8*, ...)* @asprintf, { 10, 1, 9, 11, 8, 0, 7, 6, 5, 4, 3, 2 }\n uselistorder i1 false, { 8, 9, 5, 3, 6, 7, 2, 0, 1, 10, 4 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 3, 1, 0 }\n uselistorder i8** @gv_0, { 3, 2, 1, 0 }\n uselistorder i32 0, { 6, 7, 0, 2, 1, 8, 9, 3, 4, 5 }\n uselistorder i8* null, { 0, 4, 1, 2, 3, 5, 6, 7 }\n uselistorder i32 1, { 10, 1, 3, 11, 19, 12, 13, 14, 18, 17, 16, 15, 9, 8, 7, 6, 5, 4, 2, 0 }\n uselistorder label LBL_21, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_19, { 1, 0, 2 }\n uselistorder label LBL_10.lr.ph, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "create_or_die_9700", "fun_name": "create_or_die", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 (i8*, i32, ...) @open(i8* %0, i32 577)\n %2 = icmp slt i32 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = load i32*, i32** @gv_0, align 8\n %4 = ptrtoint i32* %3 to i64\n %5 = add i64 %4, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = load i32, i32* %3, align 4\n %9 = call i32 @fchown(i32 %1, i32 %8, i32 %7)\n %10 = zext i32 %1 to i64\n ret i64 %10\n LBL_2:\n %11 = call i32* @__errno_location()\n %12 = load i32, i32* %11, align 4\n %13 = load i32*, i32** @gv_0, align 8\n %14 = icmp eq i32* %13, null\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = ptrtoint i32* %13 to i64\n %16 = call i64 @FUNC(i64 %15)\n br label LBL_4\n LBL_4:\n %17 = load i32, i32* inttoptr (i64 4210788 to i32*), align 4\n %18 = icmp slt i32 %17, 0\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = load i64, i64* @gv_1, align 8\n %20 = call i64 @FUNC(i64 %19)\n %21 = load i8*, i8** @gv_2, align 8\n %22 = call i32 @unlink(i8* %21)\n br label LBL_6\n LBL_6:\n %23 = call i32* @__errno_location()\n store i32 %12, i32* %23, align 4\n %24 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_3, i64 0, i64 0), i64 %arg1)\n unreachable\n\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i32* ()* @__errno_location, { 1, 0 }\n uselistorder i32** @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "do_set_master_9897", "fun_name": "do_set_master", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = call i64 @FUNC(i64 %0)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_0.LBL_5_crit_edge, label LBL_2\n LBL_1:\n %.pre = trunc i64 %1 to i32\n store i32 %.pre, i32* %.pre-phi.reg2mem\n br label LBL_5\n LBL_2:\n %4 = inttoptr i64 %2 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = trunc i64 %1 to i32\n %7 = icmp eq i32 %5, %6\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br i1 %8, label LBL_3, label LBL_10\n LBL_3:\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n store i64 4294967201, i64* %rax.0.shrunk.reg2mem\n br i1 %14, label LBL_10, label LBL_4\n LBL_4:\n %15 = trunc i64 %2 to i32\n %16 = icmp eq i32 %15, 0\n store i32 %6, i32* %.pre-phi.reg2mem\n store i64 %2, i64* %rax.0.shrunk.reg2mem\n br i1 %16, label LBL_5, label LBL_10\n LBL_5:\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %17 = icmp eq i32 %.pre-phi.reload, 0\n br i1 %17, label LBL_9, label LBL_6\n LBL_6:\n %18 = call i64 @FUNC(i64 %0)\n %19 = and i64 %1, 4294967295\n %20 = call i64 @FUNC(i64 %18, i64 %19)\n %21 = icmp eq i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 4294967274, i64* %rax.0.shrunk.reg2mem\n br i1 %22, label LBL_7, label LBL_10\n LBL_7:\n %23 = add i64 %20, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %25, 8\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = icmp eq i64 %28, 0\n store i64 4294967201, i64* %rax.0.shrunk.reg2mem\n br i1 %29, label LBL_10, label LBL_8\n LBL_8:\n %30 = trunc i64 %20 to i32\n %31 = icmp eq i32 %30, 0\n store i64 %20, i64* %rax.0.shrunk.reg2mem\n br i1 %31, label LBL_9, label LBL_10\n LBL_9:\n store i64 0, i64* %rax.0.shrunk.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 7, 2, 1, 3, 5, 4, 6 }\n uselistorder label LBL_10, { 6, 1, 0, 2, 4, 3, 5 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jswrap_graphics_setColorX_9086", "fun_name": "jswrap_graphics_setColorX", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64* %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i32\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.2.reg2mem = alloca i32\n %sv_2.2.reg2mem = alloca i32\n %sv_3.2.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i32, i32* %0\n %3 = load i32, i32* %0\n %sv_4 = alloca i32, align 4\n %4 = bitcast i32* %sv_4 to i64*\n %5 = call i64 @FUNC(i64* nonnull %4, i64 %1)\n %6 = and i64 %5, 4294967295\n %7 = xor i64 %6, 1\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %10, label LBL_21, label LBL_1\n LBL_1:\n %11 = ptrtoint i64* %arg4 to i64\n %12 = ptrtoint i64* %arg3 to i64\n %13 = ptrtoint i64* %arg2 to i64\n %14 = call i128 @FUNC(i64 %13)\n %15 = call i32 @FUNC(i128 %14)\n %16 = call i128 @FUNC(i64 %12)\n %17 = call i32 @FUNC(i128 %16)\n %18 = call i128 @FUNC(i64 %11)\n %19 = call i32 @FUNC(i128 %18)\n %20 = call i64 @FUNC(i64 %12)\n %21 = trunc i64 %20 to i8\n %22 = icmp eq i8 %21, 1\n br i1 %22, label LBL_17, label LBL_2\n LBL_2:\n %23 = call i64 @FUNC(i64 %11)\n %24 = trunc i64 %23 to i8\n %25 = icmp eq i8 %24, 1\n br i1 %25, label LBL_17, label LBL_3\n LBL_3:\n %26 = call i128 @FUNC(i32 %15)\n %27 = load i32, i32* inttoptr (i64 4202560 to i32*), align 64\n %28 = call i128 @FUNC(i32 %27)\n %29 = call i128 @FUNC(i128 %28, i128 %26)\n %30 = call i32 @FUNC(i128 %29)\n %31 = call i128 @FUNC(i32 %17)\n %32 = call i128 @FUNC(i32 1132462080)\n %33 = call i128 @FUNC(i128 %32, i128 %31)\n %34 = call i32 @FUNC(i128 %33)\n %35 = call i128 @FUNC(i32 %19)\n %36 = call i128 @FUNC(i32 1132462080)\n %37 = call i128 @FUNC(i128 %36, i128 %35)\n %38 = call i32 @FUNC(i128 %37)\n %39 = icmp slt i32 %30, 255\n %spec.select = select i1 %39, i32 %30, i32 255\n %40 = icmp slt i32 %34, 255\n %sv_2.0 = select i1 %40, i32 %34, i32 255\n %41 = icmp slt i32 %38, 255\n %spec.select3 = select i1 %41, i32 %38, i32 255\n %42 = icmp slt i32 %spec.select, 0\n %43 = icmp eq i1 %42, false\n %sv_3.1 = select i1 %43, i32 %spec.select, i32 0\n %44 = icmp slt i32 %sv_2.0, 0\n %45 = icmp eq i1 %44, false\n %spec.select4 = select i1 %45, i32 %sv_2.0, i32 0\n %46 = icmp slt i32 %spec.select3, 0\n %47 = icmp eq i1 %46, false\n %sv_1.1 = select i1 %47, i32 %spec.select3, i32 0\n %48 = urem i32 %3, 256\n %49 = icmp eq i32 %48, 0\n store i32 %sv_3.1, i32* %sv_3.2.reg2mem\n store i32 %spec.select4, i32* %sv_2.2.reg2mem\n store i32 %sv_1.1, i32* %sv_1.2.reg2mem\n br i1 %49, label LBL_10, label LBL_4\n LBL_4:\n %50 = zext i32 %48 to i64\n store i64 %50, i64* @0, align 8\n %trunc = trunc i32 %3 to i8\n store i32 %sv_3.1, i32* %sv_3.2.reg2mem\n store i32 %spec.select4, i32* %sv_2.2.reg2mem\n store i32 %sv_1.1, i32* %sv_1.2.reg2mem\n switch i8 %trunc, label LBL_10 [\n i8 1, label LBL_5\n i8 2, label LBL_6\n i8 3, label LBL_7\n i8 4, label LBL_8\n i8 5, label LBL_9\n ]\n LBL_5:\n store i32 %sv_1.1, i32* %sv_3.2.reg2mem\n store i32 %sv_3.1, i32* %sv_2.2.reg2mem\n store i32 %spec.select4, i32* %sv_1.2.reg2mem\n br label LBL_10\n LBL_6:\n store i32 %sv_1.1, i32* %sv_3.2.reg2mem\n store i32 %spec.select4, i32* %sv_2.2.reg2mem\n store i32 %sv_3.1, i32* %sv_1.2.reg2mem\n br label LBL_10\n LBL_7:\n store i32 %spec.select4, i32* %sv_3.2.reg2mem\n store i32 %sv_1.1, i32* %sv_2.2.reg2mem\n store i32 %sv_3.1, i32* %sv_1.2.reg2mem\n br label LBL_10\n LBL_8:\n store i32 %spec.select4, i32* %sv_3.2.reg2mem\n store i32 %sv_3.1, i32* %sv_2.2.reg2mem\n store i32 %sv_1.1, i32* %sv_1.2.reg2mem\n br label LBL_10\n LBL_9:\n store i32 %sv_3.1, i32* %sv_3.2.reg2mem\n store i32 %sv_1.1, i32* %sv_2.2.reg2mem\n store i32 %spec.select4, i32* %sv_1.2.reg2mem\n br label LBL_10\n LBL_10:\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %sv_2.2.reload = load i32, i32* %sv_2.2.reg2mem\n %sv_3.2.reload = load i32, i32* %sv_3.2.reg2mem\n %51 = icmp eq i32 %2, 16\n %52 = icmp eq i1 %51, false\n br i1 %52, label LBL_12, label LBL_11\n LBL_11:\n %53 = ashr i32 %sv_1.2.reload, 3\n %54 = udiv i32 %sv_2.2.reload, 4\n %55 = mul i32 %54, 32\n %56 = udiv i32 %sv_3.2.reload, 8\n %57 = mul i32 %56, 2048\n %58 = or i32 %55, %57\n %59 = or i32 %58, %53\n store i32 %59, i32* %sv_0.0.reg2mem\n br label LBL_18\n LBL_12:\n %60 = icmp eq i32 %2, 32\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_14, label LBL_13\n LBL_13:\n %62 = mul i32 %sv_2.2.reload, 256\n %63 = mul i32 %sv_3.2.reload, 65536\n %64 = or i32 %63, %sv_1.2.reload\n %65 = or i32 %64, %62\n %66 = or i32 %65, -16777216\n store i32 %66, i32* %sv_0.0.reg2mem\n br label LBL_18\n LBL_14:\n %67 = icmp eq i32 %2, 24\n %68 = icmp eq i1 %67, false\n br i1 %68, label LBL_16, label LBL_15\n LBL_15:\n %69 = mul i32 %sv_2.2.reload, 256\n %70 = mul i32 %sv_3.2.reload, 65536\n %71 = or i32 %sv_1.2.reload, %70\n %72 = or i32 %71, %69\n store i32 %72, i32* %sv_0.0.reg2mem\n br label LBL_18\n LBL_16:\n %73 = add i32 %sv_2.2.reload, %sv_3.2.reload\n %74 = add i32 %73, %sv_1.2.reload\n %75 = icmp sgt i32 %74, 383\n %76 = sext i1 %75 to i32\n store i32 %76, i32* %sv_0.0.reg2mem\n br label LBL_18\n LBL_17:\n %77 = call i64 @FUNC(i64 %13)\n %78 = trunc i64 %77 to i32\n store i32 %78, i32* %sv_0.0.reg2mem\n br label LBL_18\n LBL_18:\n %79 = trunc i64 %arg5 to i8\n %80 = icmp eq i8 %79, 0\n br i1 %80, label LBL_20, label LBL_19\n LBL_19:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_4, align 4\n br label LBL_20\n LBL_20:\n %81 = call i64 @FUNC(i64* nonnull %4)\n store i64 %81, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %sv_3.2.reload, { 0, 3, 2, 1 }\n uselistorder i32 %sv_2.2.reload, { 0, 3, 2, 1 }\n uselistorder i32 %sv_1.2.reload, { 1, 2, 3, 0 }\n uselistorder i32 %48, { 1, 0 }\n uselistorder i32 %sv_1.1, { 4, 0, 3, 6, 5, 1, 2 }\n uselistorder i32 %spec.select4, { 1, 6, 5, 2, 0, 3, 4 }\n uselistorder i32 %sv_3.1, { 4, 3, 1, 0, 2, 5, 6 }\n uselistorder i32* %sv_3.2.reg2mem, { 0, 5, 4, 3, 2, 1, 6, 7 }\n uselistorder i32* %sv_2.2.reg2mem, { 0, 5, 4, 3, 2, 1, 6, 7 }\n uselistorder i32* %sv_1.2.reg2mem, { 0, 5, 4, 3, 2, 1, 6, 7 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i32* %0, { 1, 0 }\n uselistorder i32 32, { 1, 0, 2 }\n uselistorder i32 0, { 3, 0, 4, 1, 5, 2, 6 }\n uselistorder i64 (i64)* @jsvIsUndefined, { 1, 0 }\n uselistorder i128 (i64)* @jsvGetFloat, { 2, 1, 0 }\n uselistorder label LBL_21, { 1, 0 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_10, { 1, 2, 3, 4, 5, 0, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unix_notinflight_13457", "fun_name": "unix_notinflight", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64* nonnull @gv_0)\n %5 = icmp eq i64 %3, 0\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %3)\n %7 = add i64 %6, 8\n %8 = call i64 @FUNC(i64 %7)\n %9 = urem i64 %8, 256\n %10 = call i64 @FUNC(i64 %9)\n %11 = call i64 @FUNC(i64 %6)\n %12 = icmp eq i64 %11, 0\n br i1 %12, label LBL_3, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %7)\n br label LBL_3\n LBL_3:\n %14 = load i64, i64* @gv_1, align 8\n %15 = add i64 %14, -1\n store i64 %15, i64* @gv_1, align 8\n br label LBL_4\n LBL_4:\n %16 = trunc i64 %1 to i32\n %17 = add i32 %16, -1\n store i32 %17, i32* %arg1, align 4\n %18 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %18\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stibp_state_6142", "fun_name": "stibp_state", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i32, i32* inttoptr (i64 4210724 to i32*), align 4\n %1 = icmp eq i32 %0, 1\n %2 = icmp eq i1 %1, false\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_8\n LBL_1:\n %3 = load i32, i32* @gv_1, align 4\n %4 = icmp sgt i32 %3, 4\n br i1 %4, label LBL_7, label LBL_2\n LBL_2:\n %5 = icmp sgt i32 %3, 2\n br i1 %5, label LBL_6, label LBL_3\n LBL_3:\n store i64 ptrtoint ([18 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n switch i32 %3, label LBL_7 [\n i32 2, label LBL_5\n i32 0, label LBL_8\n i32 1, label LBL_4\n ]\n LBL_4:\n store i64 ptrtoint ([16 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem\n br label LBL_8\n LBL_5:\n store i64 ptrtoint ([19 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem\n br label LBL_8\n LBL_6:\n %6 = call i64 @FUNC(i64* nonnull @gv_5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 ptrtoint ([21 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem\n br i1 %8, label LBL_7, label LBL_8\n LBL_7:\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 5, 4, 2, 3 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder i64 ptrtoint (i64* @gv_0 to i64), { 1, 0 }\n uselistorder i32 1, { 1, 2, 0 }\n uselistorder label LBL_8, { 3, 0, 4, 5, 1, 2 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hbitmap_iter_init_1275", "fun_name": "hbitmap_iter_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge4.reg2mem = alloca i64\n %sv_0.03.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n store i64 %0, i64* %arg1, align 8\n %1 = add i64 %0, 40\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = urem i32 %3, 64\n %5 = zext i32 %4 to i64\n %storemerge = lshr i64 %arg3, %5\n %6 = add i64 %0, 32\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = icmp ult i64 %storemerge, %8\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_1, i64 0, i64 0), i32 27, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = udiv i64 %storemerge, 64\n %12 = add i64 %10, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = load i32, i32* %2, align 4\n %15 = add i64 %10, 16\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = add i64 %10, 24\n store i64 3, i64* %indvars.iv.reg2mem\n store i64 %storemerge, i64* %sv_0.03.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.03.reload = load i64, i64* %sv_0.03.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %18 = udiv i64 %sv_0.03.reload, 64\n %19 = mul i64 %indvars.iv.reload, 8\n %20 = add i64 %19, %0\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = mul i64 %18, 8\n %24 = add i64 %23, %22\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = urem i64 %sv_0.03.reload, 64\n %28 = shl i64 -1, %27\n %29 = and i64 %26, %28\n %30 = icmp eq i64 %indvars.iv.reload, 3\n store i64 %29, i64* %storemerge4.reg2mem\n br i1 %30, label LBL_4, label LBL_5\n LBL_4:\n %31 = add i64 %17, %19\n %32 = inttoptr i64 %31 to i64*\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n store i64 %storemerge4.reload, i64* %32, align 8\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1\n %33 = icmp eq i64 %indvars.iv.reload, 0\n %34 = icmp eq i1 %33, false\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %18, i64* %sv_0.03.reg2mem\n br i1 %34, label LBL_3, label LBL_6\n LBL_5:\n %35 = trunc i64 %sv_0.03.reload to i32\n %36 = urem i32 %35, 64\n %37 = icmp eq i32 %36, 0\n %38 = zext i32 %36 to i64\n %39 = shl i64 -1, %38\n %.op = add i64 %39, -1\n %40 = select i1 %37, i64 -2, i64 %.op\n %41 = and i64 %40, %29\n store i64 %41, i64* %storemerge4.reg2mem\n br label LBL_4\n LBL_6:\n ret i64 0\n\n uselistorder i32 %36, { 1, 0 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 2, 0, 1, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64 3, { 1, 0 }\n uselistorder i64 64, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_mi_data_5139", "fun_name": "print_mi_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.02.reg2mem = alloca i32\n %sv_0.14.reg2mem = alloca i32\n %storemerge5.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = add i64 %3, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = call i64 @FUNC(i64 %3, i64 %arg3, i64 %arg2)\n %9 = icmp sgt i32 %4, 0\n %10 = inttoptr i64 %arg2 to %_IO_FILE*\n br i1 %9, label LBL_1, label LBL_6\n LBL_1:\n %11 = trunc i64 %2 to i8\n %12 = icmp sgt i32 %7, 0\n store i32 0, i32* %storemerge5.reg2mem\n store i32 0, i32* %sv_0.14.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %13 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8 %11)\n store i32 %sv_0.14.reload, i32* %sv_0.0.lcssa.reg2mem\n br i1 %12, label LBL_3, label LBL_5\n LBL_3:\n %14 = add i32 %sv_0.14.reload, %7\n store i32 %sv_0.14.reload, i32* %sv_0.02.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %15 = sext i32 %sv_0.02.reload to i64\n %16 = mul i64 %15, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = add i64 %18, %arg4\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = zext i32 %21 to i64\n %23 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %22)\n %24 = add i32 %sv_0.02.reload, 1\n %exitcond = icmp eq i32 %24, %14\n store i32 %24, i32* %sv_0.02.reg2mem\n store i32 %14, i32* %sv_0.0.lcssa.reg2mem\n br i1 %exitcond, label LBL_5, label LBL_4\n LBL_5:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %25 = call i32 @fputc(i32 10, %_IO_FILE* %10)\n %26 = add i32 %sv_0.0.lcssa.reload, 8\n %27 = add nuw nsw i32 %storemerge5.reload, 1\n %exitcond7 = icmp eq i32 %27, %4\n store i32 %27, i32* %storemerge5.reg2mem\n store i32 %26, i32* %sv_0.14.reg2mem\n br i1 %exitcond7, label LBL_6, label LBL_2\n LBL_6:\n %28 = call i32 @fputc(i32 10, %_IO_FILE* %10)\n %29 = sext i32 %28 to i64\n ret i64 %29\n\n uselistorder i32 %sv_0.14.reload, { 1, 2, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.14.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 (i32, %_IO_FILE*)* @fputc, { 1, 0 }\n uselistorder i32 10, { 1, 0 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_audio_input_fetch_frame_3742", "fun_name": "gf_audio_input_fetch_frame", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rsi = alloca i64, align 8\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i32, align 4\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_11\n LBL_1:\n %2 = add i64 %arg1, 8\n %3 = bitcast i32* %sv_1 to i64*\n %4 = call i64 @FUNC(i64 %arg1, i64 0, i64 %2, i64* nonnull %3, i64 %arg2)\n %5 = inttoptr i64 %2 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp eq i32 %6, 0\n store i64 %arg1, i64* %rdi.0.reg2mem\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %arg1, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i64 0)\n store i64 %10, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %12 = icmp eq i64 %4, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_5, label LBL_4\n LBL_4:\n %14 = load i32, i32* %5, align 4\n %15 = zext i32 %14 to i64\n %16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_0, i64 0, i64 0), i64 %15)\n %17 = call i64 @FUNC(i64 ptrtoint ([48 x i8]* @gv_0 to i64), i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %18 = add i64 %arg1, 12\n %19 = inttoptr i64 %18 to i32*\n store i32 1, i32* %19, align 4\n %20 = call i128 @FUNC(i64 %rdi.0.reload)\n %21 = call i32 @FUNC(i128 %20)\n %22 = bitcast i32* %sv_0 to i64*\n %23 = call i64 @FUNC(i64 %rdi.0.reload, i64* nonnull %22)\n %24 = load i32, i32* %sv_0, align 4\n %25 = add i32 %24, %arg3\n store i32 %25, i32* %sv_0, align 4\n %26 = load i32, i32* %sv_1, align 4\n %27 = sub i32 %25, %26\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = add i32 %27, %arg3\n %31 = zext i32 %30 to i64\n %32 = zext i32 %arg3 to i64\n %33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @gv_1, i64 0, i64 0), i64 %31, i32 %26, i32 %25, i64 %32)\n store i32 0, i32* %19, align 4\n %34 = call i64 @FUNC(i64 ptrtoint ([79 x i8]* @gv_1 to i64), i64 0, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %35 = icmp eq i32 %arg3, 0\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %35, label LBL_11, label LBL_8\n LBL_8:\n %36 = call i128 @FUNC(i32 %21)\n %37 = load i32, i32* inttoptr (i64 4202872 to i32*), align 8\n %38 = call i128 @FUNC(i32 %37)\n %39 = call i128 @FUNC(i128 %38, i128 %36)\n %40 = call i32 @FUNC(i128 %39)\n %41 = icmp sgt i32 %27, %40\n %42 = load i32, i32* %sv_1, align 4\n %43 = zext i32 %42 to i64\n %44 = load i32, i32* %sv_0, align 4\n %45 = sub i32 %44, %arg3\n br i1 %41, label LBL_9, label LBL_10\n LBL_9:\n %46 = zext i32 %27 to i64\n %47 = zext i32 %45 to i64\n %48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @gv_2, i64 0, i64 0), i64 %47, i64 %43, i64 %46)\n %49 = bitcast i64* %rsi to i32*\n %50 = load i32, i32* %49, align 8\n %51 = zext i32 %50 to i64\n %52 = call i64 @FUNC(i64 ptrtoint ([86 x i8]* @gv_2 to i64), i64 %51, i64 2)\n store i32 0, i32* %19, align 4\n %53 = call i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %54 = zext i32 %45 to i64\n %55 = zext i32 %27 to i64\n %56 = zext i32 %arg3 to i64\n %57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @gv_3, i64 0, i64 0), i64 %56, i64 %54, i64 %43, i64 %55)\n %58 = call i64 @FUNC(i64 ptrtoint ([78 x i8]* @gv_3 to i64), i64 %55)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %27, { 3, 2, 1, 0, 4 }\n uselistorder i32* %19, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i32* %sv_1, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 6, 1, 5, 4, 3 }\n uselistorder [78 x i8]* @gv_3, { 1, 0 }\n uselistorder [86 x i8]* @gv_2, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @gf_mo_release_data, { 1, 0 }\n uselistorder [79 x i8]* @gv_1, { 1, 0 }\n uselistorder i64 (i64, i64)* @gf_mo_adjust_clock, { 1, 0 }\n uselistorder [48 x i8]* @gv_0, { 1, 0 }\n uselistorder i32 %arg3, { 5, 3, 4, 6, 2, 0, 1 }\n uselistorder i64 %arg1, { 1, 2, 3, 0, 4, 5, 6 }\n uselistorder label LBL_11, { 1, 3, 0, 4, 5, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pc_system_firmware_init_960", "fun_name": "pc_system_firmware_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0))\n %2 = inttoptr i64 %1 to i32*\n %3 = call i64 @FUNC(i64 %1)\n %4 = load i32, i32* %2, align 4\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_2:\n %7 = call i64 @FUNC(i64 0, i64 0, i64 0)\n %8 = call i64 @FUNC()\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i64 %7, 0\n br i1 %10, label LBL_6, label LBL_3\n LBL_3:\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %13 = call i32 @fwrite(i64* bitcast ([46 x i8]* @gv_2 to i64*), i32 1, i32 45, %_IO_FILE* %12)\n call void @exit(i32 1)\n unreachable\n LBL_5:\n store i32 1, i32* %2, align 4\n %14 = call i64 @FUNC(i64 %0)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_6:\n %15 = icmp eq i1 %11, false\n store i64 %7, i64* %sv_0.0.reg2mem\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n %16 = call i64 @FUNC()\n %17 = call i64 @FUNC(i64 0, i64 0, i64 0)\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %18 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %18, label LBL_10, label LBL_9\n LBL_9:\n %19 = call i64 @FUNC(i64 %0, i64 %sv_0.0.reload)\n store i64 %19, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %20 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %21 = call i32 @fwrite(i64* bitcast ([49 x i8]* @gv_3 to i64*), i32 1, i32 48, %_IO_FILE* %20)\n call void @exit(i32 1)\n unreachable\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %11, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_1, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @drive_get, { 1, 0 }\n uselistorder i64 (i64)* @old_pc_system_rom_init, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gdImageCreate_5403", "fun_name": "gdImageCreate", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv11.reg2mem = alloca i64\n %0 = and i64 %arg2, 4294967295\n %1 = and i64 %arg1, 4294967295\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_8\n LBL_1:\n %sext3 = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext3, 32\n %6 = and i64 %5, 4294967295\n %7 = call i64 @FUNC(i64 8, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %9, label LBL_2, label LBL_8\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %10 = ashr exact i64 %sext, 32\n %11 = and i64 %10, 4294967295\n %12 = call i64 @FUNC(i64 8, i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_3, label LBL_8\n LBL_3:\n %15 = call i64 @FUNC(i64 1, i64 4208)\n %16 = ashr exact i64 %sext3, 29\n %17 = call i64 @FUNC(i64 %16)\n %18 = inttoptr i64 %15 to i64*\n store i64 %17, i64* %18, align 8\n %19 = call i64 @FUNC(i64 %16)\n %20 = add i64 %15, 8\n %21 = inttoptr i64 %20 to i64*\n store i64 %19, i64* %21, align 8\n %22 = add i64 %15, 16\n %23 = inttoptr i64 %22 to i32*\n store i32 0, i32* %23, align 4\n %24 = add i64 %15, 20\n %25 = inttoptr i64 %24 to i32*\n store i32 0, i32* %25, align 4\n %26 = add i64 %15, 24\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n %28 = add i64 %15, 28\n %29 = inttoptr i64 %28 to i32*\n store i32 0, i32* %29, align 4\n %30 = add i64 %15, 32\n %31 = inttoptr i64 %30 to i32*\n store i32 0, i32* %31, align 4\n %32 = trunc i64 %5 to i32\n %33 = icmp sgt i32 %32, 0\n store i64 0, i64* %indvars.iv11.reg2mem\n br i1 %33, label LBL_4, label LBL_5\n LBL_4:\n %indvars.iv11.reload = load i64, i64* %indvars.iv11.reg2mem\n %34 = load i64, i64* %18, align 8\n %35 = mul i64 %indvars.iv11.reload, 8\n %36 = add i64 %34, %35\n %37 = call i64 @FUNC(i64 %10, i64 1)\n %38 = inttoptr i64 %36 to i64*\n store i64 %37, i64* %38, align 8\n %39 = load i64, i64* %21, align 8\n %40 = add i64 %39, %35\n %41 = call i64 @FUNC(i64 %10, i64 1)\n %42 = inttoptr i64 %40 to i64*\n store i64 %41, i64* %42, align 8\n %indvars.iv.next12 = add nuw nsw i64 %indvars.iv11.reload, 1\n %exitcond13 = icmp eq i64 %indvars.iv.next12, %6\n store i64 %indvars.iv.next12, i64* %indvars.iv11.reg2mem\n br i1 %exitcond13, label LBL_5, label LBL_4\n LBL_5:\n %43 = trunc i64 %10 to i32\n %44 = add i64 %15, 36\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = add i64 %15, 40\n %47 = inttoptr i64 %46 to i32*\n store i32 %32, i32* %47, align 4\n %48 = add i64 %15, 44\n %49 = inttoptr i64 %48 to i32*\n store i32 0, i32* %49, align 4\n %50 = add i64 %15, 48\n %51 = inttoptr i64 %50 to i32*\n store i32 -1, i32* %51, align 4\n %52 = add i64 %15, 52\n %53 = inttoptr i64 %52 to i32*\n store i32 0, i32* %53, align 4\n %54 = add i64 %15, 56\n %55 = inttoptr i64 %54 to i32*\n store i32 1, i32* %55, align 4\n %56 = add i64 %15, 60\n %57 = inttoptr i64 %56 to i32*\n store i32 0, i32* %57, align 4\n %58 = add i64 %15, 64\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %60 = mul i64 %indvars.iv.reload, 4\n %61 = add i64 %60, %15\n %62 = add i64 %61, 68\n %63 = inttoptr i64 %62 to i32*\n store i32 1, i32* %63, align 4\n %64 = add i64 %61, 1092\n %65 = inttoptr i64 %64 to i32*\n store i32 0, i32* %65, align 4\n %66 = add i64 %61, 2116\n %67 = inttoptr i64 %66 to i32*\n store i32 0, i32* %67, align 4\n %68 = add i64 %61, 3140\n %69 = inttoptr i64 %68 to i32*\n store i32 0, i32* %69, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 256\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_6\n LBL_7:\n %70 = add i64 %15, 4164\n %71 = inttoptr i64 %70 to i32*\n store i32 0, i32* %71, align 4\n %72 = add i64 %15, 4168\n %73 = inttoptr i64 %72 to i32*\n store i32 0, i32* %73, align 4\n %74 = add i64 %15, 4172\n %75 = inttoptr i64 %74 to i32*\n store i32 0, i32* %75, align 4\n %76 = add i64 %15, 4176\n %77 = inttoptr i64 %76 to i32*\n store i32 0, i32* %77, align 4\n %78 = load i32, i32* %45, align 4\n %79 = add i32 %78, -1\n %80 = add i64 %15, 4180\n %81 = inttoptr i64 %80 to i32*\n store i32 %79, i32* %81, align 4\n %82 = load i32, i32* %47, align 4\n %83 = add i32 %82, -1\n %84 = add i64 %15, 4184\n %85 = inttoptr i64 %84 to i32*\n store i32 %83, i32* %85, align 4\n %86 = add i64 %15, 4192\n %87 = inttoptr i64 %86 to i64*\n store i64 0, i64* %87, align 8\n %88 = add i64 %15, 4200\n %89 = inttoptr i64 %88 to i32*\n store i32 1, i32* %89, align 4\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %35, { 1, 0 }\n uselistorder i64 %15, { 0, 2, 3, 4, 5, 6, 7, 8, 9, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 }\n uselistorder i64 %10, { 2, 0, 1, 3 }\n uselistorder i64 %sext3, { 1, 0 }\n uselistorder i64* %indvars.iv11.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64)* @gdMalloc, { 1, 0 }\n uselistorder i64 (i64, i64)* @gdCalloc, { 2, 1, 0 }\n uselistorder i64 32, { 3, 1, 0, 2 }\n uselistorder i64 4294967296, { 1, 0, 2 }\n uselistorder i32 0, { 4, 5, 6, 7, 1, 2, 3, 8, 9, 10, 11, 0, 12, 13, 14, 15, 16, 17, 18, 19 }\n uselistorder i64 (i64, i64)* @overflow2, { 2, 1, 0 }\n uselistorder label LBL_8, { 3, 0, 1, 2 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "udf_alloc_i_data_9449", "fun_name": "udf_alloc_i_data", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %arg2, i64 0)\n %5 = inttoptr i64 %3 to i64*\n store i64 %4, i64* %5, align 8\n %6 = icmp eq i64 %4, 0\n %7 = icmp eq i1 %6, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alloc_clusters_noref_14499", "fun_name": "alloc_clusters_noref", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge14.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 %arg2)\n %2 = trunc i64 %1 to i32\n %3 = icmp sgt i32 %2, 0\n br i1 %3, label LBL_1, label LBL_7\n LBL_1:\n %4 = add i64 %0, 1\n br label LBL_2\n LBL_2:\n store i32 0, i32* %storemerge14.reg2mem\n br label LBL_3\n LBL_3:\n store i64 %4, i64* %arg1, align 8\n %5 = call i64 @FUNC(i64 %0, i64 %0)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_5, label LBL_4\n LBL_4:\n %sext2 = mul i64 %5, 4294967296\n %9 = ashr exact i64 %sext2, 32\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_5:\n %10 = icmp eq i32 %6, 0\n br i1 %10, label LBL_6, label LBL_2\n LBL_6:\n %storemerge14.reload = load i32, i32* %storemerge14.reg2mem\n %11 = add nuw nsw i32 %storemerge14.reload, 1\n %12 = icmp slt i32 %11, %2\n store i32 %11, i32* %storemerge14.reg2mem\n br i1 %12, label LBL_3, label LBL_7\n LBL_7:\n %sext = mul i64 %1, 4294967296\n %13 = ashr exact i64 %sext, 32\n %14 = sub i64 %0, %13\n %15 = add i64 %0, 8\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = urem i32 %17, 64\n %19 = zext i32 %18 to i64\n %rdx.0 = shl i64 %14, %19\n store i64 %rdx.0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64 %0, { 3, 0, 1, 4, 2, 5 }\n uselistorder i32* %storemerge14.reg2mem, { 1, 0, 2 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "helper_idivq_EAX_T0_14893", "fun_name": "helper_idivq_EAX_T0", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 1)\n unreachable\n LBL_2:\n %4 = load i64, i64* @gv_1, align 8\n store i64 %4, i64* %sv_0, align 8\n %5 = load i64, i64* @gv_2, align 8\n store i64 %5, i64* %sv_1, align 8\n %6 = call i64 @FUNC(i64* nonnull %sv_0, i64* nonnull %sv_1, i64 %0)\n %7 = load i64, i64* %sv_0, align 8\n store i64 %7, i64* @gv_1, align 8\n %8 = load i64, i64* %sv_1, align 8\n store i64 %8, i64* @gv_2, align 8\n ret i64 %8\n\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i64* %sv_0, { 1, 0, 2 }\n uselistorder i64 (i64)* @raise_exception, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "saa7134_video_fini_7160", "fun_name": "saa7134_video_fini", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %2, 8\n %6 = and i64 %1, 4294967295\n %7 = call i64 @FUNC(i64 %6, i64 %5)\n %8 = add i64 %2, 12\n %9 = call i64 @FUNC(i64 %6, i64 %8)\n %10 = add i64 %2, 16\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %2)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, 0\n store i64 %12, i64* %rax.0.reg2mem\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = add i64 %2, 20\n %16 = call i64 @FUNC(i64 %15)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64 %2, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 (i64)* @v4l2_ctrl_handler_free, { 1, 0 }\n uselistorder i64 (i64, i64)* @saa7134_pgtable_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_entropy_decoder_9983", "fun_name": "init_entropy_decoder", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp slt i32 %3, 3900\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = sub i64 %7, %10\n %12 = icmp sgt i64 %11, 5\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %12, label LBL_2, label LBL_10\n LBL_2:\n %13 = call i64 @FUNC(i64 %8)\n %14 = trunc i64 %13 to i32\n %15 = add i64 %2, 24\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n br label LBL_4\n LBL_3:\n %17 = add i64 %2, 48\n %18 = call i64 @FUNC(i64 %17, i64 32)\n %19 = trunc i64 %18 to i32\n %20 = add i64 %2, 24\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n br label LBL_4\n LBL_4:\n %22 = bitcast i64* %rdi to i32*\n %23 = add i64 %2, 28\n %24 = inttoptr i64 %23 to i32*\n store i32 0, i32* %24, align 4\n %25 = load i32, i32* %22, align 8\n %26 = icmp slt i32 %25, 3821\n br i1 %26, label LBL_8, label LBL_5\n LBL_5:\n %27 = add i64 %2, 24\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = icmp slt i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_8, label LBL_6\n LBL_6:\n %32 = urem i32 %29, -2147483648\n store i32 %32, i32* %28, align 4\n %33 = add i64 %2, 8\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = add i64 %2, 16\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = sub i64 %35, %38\n %40 = icmp sgt i64 %39, 5\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %40, label LBL_7, label LBL_10\n LBL_7:\n %41 = call i64 @FUNC(i64 %36)\n %42 = trunc i64 %41 to i32\n store i32 %42, i32* %24, align 4\n br label LBL_8\n LBL_8:\n %43 = add i64 %2, 32\n %44 = inttoptr i64 %43 to i32*\n store i32 10, i32* %44, align 4\n %45 = add i64 %2, 36\n %46 = inttoptr i64 %45 to i32*\n store i32 16384, i32* %46, align 4\n %47 = add i64 %2, 40\n %48 = inttoptr i64 %47 to i32*\n store i32 10, i32* %48, align 4\n %49 = add i64 %2, 44\n %50 = inttoptr i64 %49 to i32*\n store i32 16384, i32* %50, align 4\n %51 = load i32, i32* %22, align 8\n %52 = icmp slt i32 %51, 3900\n store i64 0, i64* %rax.0.reg2mem\n br i1 %52, label LBL_10, label LBL_9\n LBL_9:\n %53 = add i64 %2, 16\n %54 = inttoptr i64 %53 to i64*\n %55 = load i64, i64* %54, align 8\n %56 = add i64 %55, 1\n store i64 %56, i64* %54, align 8\n %57 = call i64 @FUNC(i64 %2)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 4, 5, 6, 7, 8, 9, 2, 1, 3, 10, 11, 12, 0, 13, 14 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 (i64)* @bytestream_get_be32, { 1, 0 }\n uselistorder label LBL_10, { 1, 0, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "socket_dgram_284", "fun_name": "socket_dgram", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 1\n %6 = icmp eq i1 %5, false\n br i1 %6, label LBL_4, label LBL_1\n LBL_1:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i64 %12)\n %14 = load i64, i64* %9, align 8\n %15 = add i64 %14, 8\n %16 = inttoptr i64 %15 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %17)\n %19 = icmp eq i64* %arg2, null\n br i1 %19, label LBL_3, label LBL_2\n LBL_2:\n %20 = ptrtoint i64* %arg2 to i64\n %21 = add i64 %20, 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i64 %25)\n %27 = load i64, i64* %22, align 8\n %28 = add i64 %27, 8\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_4, i64 0, i64 0), i64 %30)\n br label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 %3, i64 %2)\n %phitmp = and i64 %32, 4294967295\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_4:\n %33 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_5, i64 0, i64 0))\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %34 = call i64 @FUNC(i64 %3)\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 4, 2, 0, 1, 3, 5 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i8*, i64)* @qemu_opt_set, { 3, 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "sun4m_fdc_class_init_1055", "fun_name": "sun4m_fdc_class_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = load i64, i64* @gv_0, align 8\n store i64 %1, i64* %arg1, align 8\n %2 = add i64 %0, 16\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 0, i64 %4)\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i8*\n store i8 1, i8* %7, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wm9713_soc_probe_4807", "fun_name": "wm9713_soc_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0, i64 4660, i64 65535)\n %3 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %3, align 8\n %4 = icmp ult i64 %2, -1000\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %5 = call i64 @FUNC(i64 %2, i64* nonnull @gv_0)\n %6 = icmp ult i64 %5, -1000\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = load i64, i64* %3, align 8\n %8 = call i64 @FUNC(i64 %7)\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %9 = call i64 @FUNC(i64 %0, i64 %5)\n %10 = call i64 @FUNC(i64 %0, i64 1, i64 32767, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_4, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "assign_cfs_rq_runtime_8077", "fun_name": "assign_cfs_rq_runtime", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC()\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = sub i64 %2, %5\n %7 = add i64 %1, 32\n %8 = call i64 @FUNC(i64 %7)\n %9 = inttoptr i64 %1 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, -1\n %12 = icmp eq i1 %11, false\n store i64 %6, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_1, label LBL_3\n LBL_1:\n %13 = call i64 @FUNC(i64 %1)\n %14 = add i64 %1, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = call i64 @FUNC(i64 %16, i64 %6)\n %19 = load i64, i64* %15, align 8\n %20 = sub i64 %19, %18\n store i64 %20, i64* %15, align 8\n %21 = add i64 %1, 16\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n store i64 %18, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %23 = add i64 %1, 20\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i64 %1, 24\n %27 = inttoptr i64 %26 to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %7)\n %30 = load i64, i64* %4, align 8\n %31 = add i64 %30, %sv_0.0.reload\n store i64 %31, i64* %4, align 8\n %32 = add i64 %0, 16\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %25, %34\n store i64 %31, i64* %.reg2mem\n br i1 %35, label LBL_5, label LBL_4\n LBL_4:\n store i32 %25, i32* %33, align 4\n %36 = add i64 %0, 24\n %37 = inttoptr i64 %36 to i64*\n store i64 %28, i64* %37, align 8\n %.pre = load i64, i64* %4, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_5\n LBL_5:\n %.reload = load i64, i64* %.reg2mem\n %38 = icmp eq i64 %.reload, 0\n %39 = icmp eq i1 %38, false\n %40 = zext i1 %39 to i64\n ret i64 %40\n\n uselistorder i64* %15, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i64* %4, { 0, 2, 1, 3 }\n uselistorder i64 %1, { 2, 1, 0, 4, 3, 5, 6 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cdrom_probe_device_17320", "fun_name": "cdrom_probe_device", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 0)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %. = select i1 %2, i64 0, i64 100\n ret i64 %.\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "skl_init_module_17915", "fun_name": "skl_init_module", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.shrunk.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i16, align 2\n store i16 0, i16* %sv_2, align 2\n store i64 0, i64* %sv_1, align 8\n %5 = add i64 %3, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = zext i32 %7 to i64\n %9 = and i64 %2, 4294967295\n %10 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %8, i64 %1)\n %11 = add i64 %3, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 1\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = add i64 %13, 4\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_2, i64 0, i64 0), i32 %15, i32 %19, i64 %8, i64 %1)\n store i64 1, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_2:\n %21 = call i64 @FUNC(i64 %4, i64 %3, i16* nonnull %sv_2, i64* nonnull %sv_1)\n %22 = trunc i64 %21 to i32\n %23 = icmp slt i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = ptrtoint i64* %sv_1 to i64\n %26 = trunc i64 %25 to i32\n %27 = call i64 @FUNC(i64 %4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_3, i64 0, i64 0), i32 %22, i32 %26, i64 %8, i64 %1)\n store i64 %21, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_4:\n %28 = trunc i64 %2 to i32\n store i32 %28, i32* %sv_0, align 4\n %29 = load i64, i64* %sv_1, align 8\n %30 = add i64 %4, 8\n %31 = call i64 @FUNC(i64 %30, i32* nonnull %sv_0, i64 %29)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_6, label LBL_5\n LBL_5:\n %35 = trunc i64 %30 to i32\n %36 = call i64 @FUNC(i64 %30, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i32 %32, i32 %35, i64 %8, i64 %1)\n %37 = load i64, i64* %sv_1, align 8\n %38 = call i64 @FUNC(i64 %37)\n store i64 %31, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_6:\n %39 = add i64 %3, 20\n %40 = inttoptr i64 %39 to i32*\n store i32 2, i32* %40, align 4\n store i64 %31, i64* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.shrunk.reload = load i64, i64* %rax.0.shrunk.reg2mem\n %rax.0 = and i64 %rax.0.shrunk.reload, 4294967295\n ret i64 %rax.0\n\n uselistorder i64 %31, { 1, 0, 2 }\n uselistorder i64 %30, { 1, 0, 2 }\n uselistorder i64 %8, { 2, 1, 0, 3 }\n uselistorder i64* %sv_1, { 1, 2, 3, 0, 4 }\n uselistorder i64 %4, { 2, 1, 3, 0, 4 }\n uselistorder i64 %1, { 2, 1, 0, 3 }\n uselistorder i64* %rax.0.shrunk.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i8*, i32, i32, i64, i64)* @dev_err, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tls12_get_pkey_idx_9691", "fun_name": "tls12_get_pkey_idx", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "path_walk_10524", "fun_name": "path_walk", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i8* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i32*\n store i32 0, i32* %3, align 4\n %4 = bitcast i32* %sv_0 to i64*\n %5 = call i64 @FUNC(i64* nonnull %4)\n %6 = call i64 @FUNC(i64 %1, i64 %0)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %sv_0, align 4\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = load i64, i64* @gv_0, align 8\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = call i64 @FUNC(i64* %arg2)\n %13 = bitcast i64* %rsi to i32*\n %14 = load i32, i32* %13, align 8\n %15 = or i32 %14, 1\n %16 = bitcast i64* %arg2 to i32*\n store i32 %15, i32* %16, align 4\n %17 = call i64 @FUNC(i64 %1, i64 %0)\n %18 = trunc i64 %17 to i32\n store i32 %18, i32* %sv_0, align 4\n br label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64* nonnull %4)\n %20 = load i32, i32* %sv_0, align 4\n %21 = zext i32 %20 to i64\n ret i64 %21\n\n uselistorder i32* %sv_0, { 2, 1, 0, 3 }\n uselistorder i64 (i64, i64)* @link_path_walk, { 1, 0 }\n uselistorder i64 (i64*)* @path_get, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "lha_read_file_header_1_13688", "fun_name": "lha_read_file_header_1", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %rsi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %1 = call i64 @FUNC(i64 %0, i64 16, i64 0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %0)\n store i64 %4, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_2:\n %5 = ptrtoint i64* %arg2 to i64\n %6 = inttoptr i64 %1 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i32\n %9 = add nuw nsw i32 %8, 2\n %10 = bitcast i64* %arg2 to i32*\n store i32 %9, i32* %10, align 4\n %11 = add i64 %1, 1\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = add i64 %1, 2\n %15 = call i64 @FUNC(i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = add i64 %5, 4\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %1, 6\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = add i64 %5, 8\n %23 = inttoptr i64 %22 to i32*\n store i32 %21, i32* %23, align 4\n %24 = add i64 %1, 10\n %25 = call i64 @FUNC(i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = add i64 %5, 12\n %28 = inttoptr i64 %27 to i32*\n store i32 %26, i32* %28, align 4\n %29 = add i64 %1, 14\n %30 = inttoptr i64 %29 to i8*\n %31 = load i8, i8* %30, align 1\n %32 = zext i8 %31 to i32\n %33 = bitcast i64* %rsi to i32*\n %34 = load i32, i32* %33, align 8\n %35 = add i32 %34, -16\n %36 = sub i32 %35, %32\n %37 = icmp ugt i8 %31, -26\n %38 = icmp slt i32 %36, 0\n %or.cond = or i1 %37, %38\n br i1 %or.cond, label LBL_12, label LBL_3\n LBL_3:\n %39 = sext i32 %34 to i64\n %40 = call i64 @FUNC(i64 %0, i64 %39, i64 0)\n %41 = icmp eq i64 %40, 0\n %42 = icmp eq i1 %41, false\n br i1 %42, label LBL_4, label LBL_5\n LBL_4:\n %43 = icmp eq i8 %31, 0\n %.pre = add i64 %40, 15\n store i32 0, i32* %storemerge4.reg2mem\n br i1 %43, label LBL_8, label LBL_6\n LBL_5:\n %44 = call i64 @FUNC(i64 %0)\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_6:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %45 = sext i32 %storemerge4.reload to i64\n %46 = add i64 %.pre, %45\n %47 = inttoptr i64 %46 to i8*\n %48 = load i8, i8* %47, align 1\n %49 = icmp eq i8 %48, -1\n br i1 %49, label LBL_12, label LBL_7\n LBL_7:\n %50 = add nuw i32 %storemerge4.reload, 1\n %51 = icmp ult i32 %50, %32\n store i32 %50, i32* %storemerge4.reg2mem\n br i1 %51, label LBL_6, label LBL_8\n LBL_8:\n %52 = zext i8 %31 to i64\n %53 = add i64 %5, 16\n %54 = call i64 @FUNC(i64 %53, i64 %.pre, i64 %52)\n %55 = add i64 %.pre, %52\n %56 = call i64 @FUNC(i64 %55)\n %57 = trunc i64 %56 to i32\n %58 = urem i32 %57, 65536\n %59 = add i64 %5, 24\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n %61 = add i64 %5, 28\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = or i32 %63, 1\n store i32 %64, i32* %62, align 4\n %65 = load i32, i32* %33, align 8\n %66 = add i32 %65, -2\n %67 = sext i32 %66 to i64\n %68 = call i64 @FUNC(i64 0, i64 %40, i64 2, i64 %67)\n %69 = call i64 @FUNC(i64 %0, i64 %67)\n %70 = load i32, i32* %18, align 4\n %71 = add i32 %70, 2\n %72 = sext i32 %71 to i64\n %73 = bitcast i32* %sv_0 to i64*\n %74 = call i64 @FUNC(i64 %0, i64 %5, i64 0, i64 2, i64 %72, i64* nonnull %73)\n %75 = trunc i64 %74 to i32\n %76 = icmp eq i32 %75, 0\n %77 = icmp slt i32 %75, 0\n %78 = icmp eq i1 %77, false\n %79 = icmp eq i1 %76, false\n %80 = icmp eq i1 %78, %79\n %phitmp = and i64 %74, 4294967295\n store i64 %phitmp, i64* %rax.0.reg2mem\n br i1 %80, label LBL_9, label LBL_13\n LBL_9:\n %81 = load i32, i32* %18, align 4\n %82 = load i32, i32* %sv_0, align 4\n %83 = sub i32 %81, %82\n %84 = add i32 %83, 2\n store i32 %84, i32* %18, align 4\n %85 = icmp slt i32 %84, 0\n br i1 %85, label LBL_12, label LBL_10\n LBL_10:\n %86 = trunc i64 %68 to i8\n %spec.select = select i1 %77, i64 %phitmp, i64 0\n %87 = icmp eq i8 %13, %86\n store i64 %spec.select, i64* %rax.0.reg2mem\n br i1 %87, label LBL_13, label LBL_11\n LBL_11:\n %88 = call i64 @FUNC(i64 %0, i64 1001, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_0, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_12:\n %89 = call i64 @FUNC(i64 %0, i64 1002, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %phitmp, { 1, 0 }\n uselistorder i32 %75, { 1, 0 }\n uselistorder i64 %.pre, { 1, 2, 0 }\n uselistorder i64 %40, { 1, 0, 2 }\n uselistorder i32 %32, { 1, 0 }\n uselistorder i8 %31, { 1, 0, 2, 3 }\n uselistorder i32* %18, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 6, 2, 3, 4, 1, 5, 0, 7 }\n uselistorder i32* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 5, 2, 1, 4, 3 }\n uselistorder i64 (i64, i64, i8*)* @archive_set_error, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 0, 1 }\n uselistorder i64 (i64)* @archive_le32dec, { 1, 0 }\n uselistorder i32 2, { 1, 2, 0 }\n uselistorder i64 (i64)* @truncated_error, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i64, i64)* @__archive_read_ahead, { 1, 0 }\n uselistorder i64 0, { 5, 6, 7, 8, 4, 9, 10, 14, 11, 15, 12, 1, 2, 0, 16, 3, 13 }\n uselistorder i64 16, { 1, 0 }\n uselistorder label LBL_13, { 2, 3, 1, 0, 4, 5 }\n uselistorder label LBL_12, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "idxd_shutdown_7102", "fun_name": "idxd_shutdown", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %1)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %7 = trunc i64 %2 to i32\n %8 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0))\n %9 = call i64 @FUNC(i64 %1)\n %10 = call i64 @FUNC(i64 %1)\n %11 = icmp sgt i32 %7, 0\n br i1 %11, label LBL_3, label LBL_7\n LBL_3:\n %12 = inttoptr i64 %1 to i64*\n %13 = add i64 %1, 8\n %14 = inttoptr i64 %13 to i64*\n %wide.trip.count = and i64 %2, 4294967295\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_4\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %15 = load i64, i64* %12, align 8\n %16 = load i64, i64* %14, align 8\n %17 = mul i64 %indvars.iv.reload, 4\n %18 = add i64 %16, %17\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = call i64 @FUNC(i64 %21)\n %23 = icmp eq i64 %indvars.iv.reload, 0\n br i1 %23, label LBL_6, label LBL_5\n LBL_5:\n %24 = call i64 @FUNC(i64 %15)\n %25 = call i64 @FUNC(i64 %15)\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n %26 = call i64 @FUNC(i64 %1)\n %27 = add i64 %1, 16\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29)\n ret i64 %30\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %1, { 2, 3, 1, 0, 5, 4, 6 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "readUInt16_6927", "fun_name": "readUInt16", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = urem i64 %0, 256\n %2 = call i64 @FUNC(i64 %arg1)\n %3 = mul i64 %2, 256\n %4 = and i64 %3, 65280\n %5 = or i64 %4, %1\n ret i64 %5\n\n uselistorder i64 (i64)* @readUInt8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flac_probe_271", "fun_name": "flac_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp slt i32 %3, 4\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i32 @memcmp(i64* %arg1, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4)\n %6 = icmp eq i32 %5, 0\n %spec.select = select i1 %6, i64 50, i64 0\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i32 4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpu_notify_map_clients_locked_325", "fun_name": "cpu_notify_map_clients_locked", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 %0, i64* %.lcssa.reg2mem\n br i1 %2, label LBL_1, label LBL_2\n LBL_1:\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %3)\n %8 = call i64 @FUNC(i64* nonnull @gv_0)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n store i64 %8, i64* %.lcssa.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 0, { 1, 0 }\n uselistorder i64 (i64*)* @QLIST_EMPTY, { 1, 0 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_framequeue_skip_samples_991", "fun_name": "ff_framequeue_skip_samples", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv12.reg2mem = alloca i64\n %sv_0.0.off07.reg2mem = alloca i64\n %sv_0.0.off0.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = call i64 @FUNC(i64 %2, i64 0)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = sext i32 %10 to i64\n %12 = icmp ugt i64 %11, %arg2\n %13 = zext i1 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = load i64, i64* %7, align 8\n %16 = add i64 %15, 4\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = zext i32 %18 to i64\n %20 = call i64 @FUNC(i64 %19)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %.pre = load i64, i64* %7, align 8\n store i32 1, i32* %storemerge4.reg2mem\n br i1 %22, label LBL_2, label LBL_1\n LBL_1:\n %23 = add i64 %.pre, 40\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n store i32 %25, i32* %storemerge4.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %26 = add i64 %.pre, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = call i64 @FUNC(i64 %29)\n %31 = icmp eq i1 %22, false\n br i1 %31, label LBL_2.LBL_5_crit_edge, label LBL_4\n LBL_3:\n %sext = mul i64 %30, 4294967296\n %32 = ashr exact i64 %sext, 32\n %33 = mul i64 %32, %arg2\n %extract.t = trunc i64 %33 to i32\n %phitmp = mul i64 %33, 4\n store i32 %extract.t, i32* %sv_0.0.off0.reg2mem\n store i64 %phitmp, i64* %sv_0.0.off07.reg2mem\n br label LBL_5\n LBL_4:\n store i32 0, i32* %sv_0.0.off0.reg2mem\n store i64 0, i64* %sv_0.0.off07.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.off07.reload = load i64, i64* %sv_0.0.off07.reg2mem\n %sv_0.0.off0.reload = load i32, i32* %sv_0.0.off0.reg2mem\n %34 = load i64, i64* %7, align 8\n %35 = add i64 %34, 8\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = zext i32 %37 to i64\n %39 = call i64 @FUNC(i64 1, i64 %38)\n %40 = call i64 @FUNC(i64 %arg2, i64 %39, i64 %arg3)\n %41 = trunc i64 %40 to i32\n %42 = load i64, i64* %7, align 8\n %43 = add i64 %42, 12\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i32 %45, %41\n store i32 %46, i32* %44, align 4\n %47 = load i64, i64* %7, align 8\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = trunc i64 %arg2 to i32\n %51 = sub i32 %49, %50\n store i32 %51, i32* %48, align 4\n %52 = load i64, i64* %7, align 8\n %53 = add i64 %52, 16\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = sub i32 %55, %sv_0.0.off0.reload\n store i32 %56, i32* %54, align 4\n %57 = icmp sgt i32 %storemerge4.reload, 0\n br i1 %57, label LBL_6, label LBL_10\n LBL_6:\n %wide.trip.count = zext i32 %storemerge4.reload to i64\n store i64 0, i64* %indvars.iv12.reg2mem\n br label LBL_7\n LBL_7:\n %indvars.iv12.reload = load i64, i64* %indvars.iv12.reg2mem\n %58 = load i64, i64* %7, align 8\n %59 = mul i64 %indvars.iv12.reload, 8\n %60 = add nuw nsw i64 %59, 24\n %61 = add i64 %60, %58\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = add i64 %63, %sv_0.0.off07.reload\n store i64 %64, i64* %62, align 8\n %indvars.iv.next13 = add nuw nsw i64 %indvars.iv12.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next13, %wide.trip.count\n store i64 %indvars.iv.next13, i64* %indvars.iv12.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_7\n LBL_8:\n %65 = sext i32 %storemerge4.reload to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %66 = load i64, i64* %7, align 8\n %67 = mul i64 %indvars.iv.reload, 8\n %68 = add i64 %66, %67\n %69 = add i64 %68, 24\n %70 = inttoptr i64 %69 to i64*\n %71 = load i64, i64* %70, align 8\n %72 = add i64 %68, 32\n %73 = inttoptr i64 %72 to i64*\n store i64 %71, i64* %73, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %74 = icmp slt i64 %indvars.iv.next, %65\n %75 = icmp ult i64 %indvars.iv.next, 8\n %or.cond = icmp eq i1 %74, %75\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_10\n LBL_10:\n %76 = add i64 %2, 8\n %77 = inttoptr i64 %76 to i64*\n %78 = load i64, i64* %77, align 8\n %79 = add i64 %78, %arg2\n store i64 %79, i64* %77, align 8\n %80 = add i64 %2, 16\n %81 = inttoptr i64 %80 to i32*\n store i32 1, i32* %81, align 4\n %82 = call i64 @FUNC(i64 %2, i64 0)\n ret i64 %82\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i32 %storemerge4.reload, { 1, 2, 0 }\n uselistorder i64* %7, { 2, 3, 4, 5, 6, 0, 1, 7, 8 }\n uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %indvars.iv12.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 8, { 3, 2, 0, 1, 4, 5 }\n uselistorder i32 0, { 1, 0, 2, 3, 4 }\n uselistorder i64 (i64)* @av_assert1, { 1, 0 }\n uselistorder i64 %arg2, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "e1000e_macreg_write_1775", "fun_name": "e1000e_macreg_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = and i64 %arg3, 4294967295\n %6 = call i64 @FUNC(i64 %0, i32 %4, i32 %1, i64 %5)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "unserialize_uep_5738", "fun_name": "unserialize_uep", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 24)\n %1 = icmp eq i64 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_11\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = inttoptr i64 %0 to i32*\n %5 = call i64 @FUNC(i64 %0, i64 0, i64 24)\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %6 to i32\n store i32 %7, i32* %4, align 4\n %8 = call i64 @FUNC(i64 %3)\n %9 = trunc i64 %8 to i32\n %10 = add i64 %0, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 %9, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %3)\n %13 = trunc i64 %12 to i32\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n %16 = call i64 @FUNC(i64 %3)\n %17 = trunc i64 %16 to i32\n %18 = add i64 %0, 12\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = icmp slt i32 %17, 1\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_5, label LBL_2\n LBL_2:\n %sext = mul i64 %16, 4294967296\n %21 = ashr exact i64 %sext, 29\n %22 = call i64 @FUNC(i64 %21)\n %23 = icmp eq i64 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n store i32 1, i32* %arg2, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_4:\n %25 = load i32, i32* %19, align 4\n %26 = sext i32 %25 to i64\n %27 = mul i64 %26, 8\n %28 = call i64 @FUNC(i64 %22, i64 0, i64 %27)\n store i64 %22, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %29 = add i64 %0, 16\n %30 = inttoptr i64 %29 to i64*\n store i64 %sv_0.0.reload, i64* %30, align 8\n %31 = load i32, i32* %19, align 4\n %32 = icmp eq i32 %31, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_11, label LBL_6\n LBL_6:\n %33 = call i64 @FUNC(i64 %3)\n %34 = trunc i64 %33 to i32\n %35 = icmp slt i32 %34, 0\n br i1 %35, label LBL_7, label LBL_8\n LBL_7:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %arg3)\n br label LBL_9\n LBL_8:\n %37 = and i64 %33, 4294967295\n %38 = call i64 @FUNC(i64 %3, i64 %37)\n %39 = icmp eq i64 %38, 0\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_10, label LBL_9\n LBL_9:\n store i32 1, i32* %arg2, align 4\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %41 = mul i64 %.reload, 8\n %42 = add i64 %41, %sv_0.0.reload\n %43 = inttoptr i64 %42 to i64*\n store i64 %38, i64* %43, align 8\n %44 = add i32 %storemerge3.reload, 1\n %45 = load i32, i32* %19, align 4\n %46 = zext i32 %45 to i64\n %47 = sext i32 %44 to i64\n %48 = icmp slt i64 %47, %46\n store i64 %47, i64* %.reg2mem\n store i32 %44, i32* %storemerge3.reg2mem\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %48, label LBL_6, label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i32* %19, { 2, 0, 1, 3 }\n uselistorder i64 %3, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %0, { 0, 3, 1, 4, 2, 5, 6, 7, 8, 9, 10 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 2, 4, 3 }\n uselistorder i64 (i64)* @undo_read_4c, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i64)* @vim_memset, { 1, 0 }\n uselistorder i64 (i64)* @U_ALLOC_LINE, { 1, 0 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_11, { 0, 3, 1, 4, 2 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rmap_recycle_10100", "fun_name": "rmap_recycle", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %1)\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = call i64 @FUNC(i64 %1, i64 %arg3, i32 %4)\n %6 = call i64 @FUNC(i64 %1, i64 %5, i64 0, i64 0)\n %7 = call i64 @FUNC(i64 %1)\n ret i64 %7\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ahci_uninit_6661", "fun_name": "ahci_uninit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 %7, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_5, label LBL_1\n LBL_1:\n %8 = and i64 %1, 4294967295\n store i64 %7, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_4\n LBL_2:\n %storemerge12.reload = load i32, i32* %storemerge12.reg2mem\n %9 = call i64 @FUNC(i64 %.reload)\n %10 = add nuw nsw i32 %storemerge12.reload, 1\n %exitcond = icmp eq i32 %10, 2\n store i32 %10, i32* %storemerge12.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %11 = add i32 %storemerge3.reload, 1\n %12 = sext i32 %11 to i64\n %13 = icmp sgt i64 %8, %12\n %14 = load i64, i64* %6, align 8\n store i64 %14, i64* %.reg2mem\n store i32 %11, i32* %storemerge3.reg2mem\n store i64 %14, i64* %.lcssa.reg2mem\n br i1 %13, label LBL_4, label LBL_5\n LBL_4:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n store i32 0, i32* %storemerge12.reg2mem\n br label LBL_2\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n %15 = call i64 @FUNC(i64 %.lcssa.reload)\n ret i64 %15\n\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64* %6, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %storemerge12.reg2mem, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0, 2 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dlm_add_cb_4726", "fun_name": "dlm_add_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %sext4 = mul i64 %arg3, 4294967296\n %2 = ashr exact i64 %sext4, 32\n %sext5 = mul i64 %arg4, 4294967296\n %3 = ashr exact i64 %sext5, 32\n %sext6 = mul i64 %arg5, 4294967296\n %4 = ashr exact i64 %sext6, 32\n %5 = call i64 @FUNC(i64* nonnull @gv_0)\n %6 = load i64, i64* @gv_1, align 8\n %7 = add i64 %6, 1\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = add i64 %6, 2\n %spec.select = select i1 %9, i64 %7, i64 %10\n store i64 %spec.select, i64* @gv_1, align 8\n %11 = call i64 @FUNC(i64* nonnull @gv_0)\n %12 = add i64 %0, 8\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = urem i32 %14, 2\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_2, label LBL_1\n LBL_1:\n %17 = trunc i64 %3 to i32\n %18 = trunc i64 %2 to i32\n %19 = trunc i64 %1 to i32\n %20 = and i64 %4, 4294967295\n %21 = call i64 @FUNC(i64 %0, i32 %19, i32 %18, i32 %17, i64 %20, i64 %spec.select)\n store i64 %21, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %22 = add i64 %0, 12\n %23 = call i64 @FUNC(i64 %22)\n %24 = add i64 %0, 16\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = trunc i64 %3 to i32\n %28 = trunc i64 %2 to i32\n %29 = trunc i64 %1 to i32\n %30 = and i64 %4, 4294967295\n %31 = call i64 @FUNC(i64 %0, i32 %29, i32 %28, i32 %27, i64 %30, i64 %spec.select)\n %32 = trunc i64 %31 to i32\n %33 = icmp slt i32 %32, 0\n %34 = icmp eq i64 %26, 0\n %35 = icmp eq i1 %34, false\n %or.cond = or i1 %35, %33\n br i1 %or.cond, label LBL_6, label LBL_3\n LBL_3:\n %36 = add i64 %0, 24\n %37 = call i64 @FUNC(i64 %36)\n %38 = call i64 @FUNC(i64 1, i64 %0)\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n br i1 %40, label LBL_5, label LBL_4\n LBL_4:\n %41 = add i64 %0, 4\n %42 = call i64 @FUNC(i64 %41)\n %43 = add i64 %0, 32\n %44 = call i64 @FUNC(i64 %43, i64 %22)\n %45 = call i64 @FUNC(i64 %41)\n br label LBL_6\n LBL_5:\n %46 = add i64 %0, 28\n %47 = load i32, i32* %13, align 4\n %48 = zext i32 %47 to i64\n %49 = call i64 @FUNC(i64 %48, i64 %46)\n br label LBL_6\n LBL_6:\n %50 = call i64 @FUNC(i64 %22)\n store i64 %50, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %22, { 1, 0, 2 }\n uselistorder i64 %spec.select, { 1, 0, 2 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4, 5, 7, 8, 9, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @mutex_unlock, { 1, 0 }\n uselistorder i64 (i64)* @mutex_lock, { 1, 0 }\n uselistorder i64 32, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qlcnic_napi_disable_17921", "fun_name": "qlcnic_napi_disable", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %8 = load i64, i64* %7, align 8\n %9 = mul i64 %.reload, 4\n %10 = add i64 %8, %9\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %10)\n %13 = call i64 @FUNC(i64 %10)\n %14 = add i32 %storemerge2.reload, 1\n %15 = sext i32 %14 to i64\n %16 = icmp sgt i64 %3, %15\n store i64 %15, i64* %.reg2mem\n store i32 %14, i32* %storemerge2.reg2mem\n br i1 %16, label LBL_2, label LBL_3\n LBL_3:\n ret i64 %3\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.reg2mem, { 1, 0, 2 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "parse_waveformatex_1518", "fun_name": "parse_waveformatex", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i8, align 1\n %sv_2 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = bitcast i64* %arg2 to i32*\n store i32 %5, i32* %7, align 4\n br label LBL_2\n LBL_2:\n %8 = ptrtoint i64* %arg2 to i64\n %9 = call i64 @FUNC(i64 %3)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %8, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = bitcast i32* %sv_2 to i64*\n %14 = call i64 @FUNC(i64 %3, i64* nonnull %13)\n store i8 0, i8* %sv_1, align 1\n %15 = bitcast i8* %sv_1 to i64*\n %16 = call i32 @memcmp(i64* nonnull %sv_0, i64* nonnull %15, i32 12)\n %17 = icmp eq i32 %16, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_4, label LBL_3\n LBL_3:\n %19 = load i32, i32* %sv_2, align 4\n %20 = add i64 %8, 8\n %21 = inttoptr i64 %20 to i32*\n store i32 %19, i32* %21, align 4\n %22 = bitcast i64* %rsi to i32*\n %23 = load i32, i32* %22, align 8\n %24 = zext i32 %23 to i64\n %25 = zext i32 %19 to i64\n %26 = call i64 @FUNC(i64 %25, i64 %24)\n %27 = trunc i64 %26 to i32\n %28 = add i64 %8, 12\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %30 = load i64, i64* @gv_0, align 8\n %31 = call i64 @FUNC(i64 %30, i64* nonnull %13)\n %32 = trunc i64 %31 to i32\n %33 = add i64 %8, 12\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = and i64 %31, 4294967295\n %36 = icmp eq i32 %32, 0\n %37 = icmp eq i1 %36, false\n store i64 %35, i64* %rax.0.reg2mem\n br i1 %37, label LBL_6, label LBL_5\n LBL_5:\n %38 = call i64 @FUNC(i64 %3, i64 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i64 %2, i64 %1)\n store i64 %38, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 2, 0, 1, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder i32 0, { 1, 2, 3, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "musb_rx_packet_complete_2040", "fun_name": "musb_rx_packet_complete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %2, 16\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %9, 4\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = add i64 %2, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = add i64 %14, 4\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = add i64 %2, 32\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = add i64 %19, 4\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = and i32 %22, -2\n store i32 %23, i32* %21, align 4\n %24 = icmp eq i32 %3, 0\n %25 = icmp eq i1 %24, false\n %26 = load i64, i64* %18, align 8\n br i1 %25, label LBL_1, label LBL_2\n LBL_1:\n %27 = add i64 %26, 4\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = and i32 %29, -29\n store i32 %30, i32* %28, align 4\n br label LBL_3\n LBL_2:\n %31 = inttoptr i64 %26 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = and i32 %32, -3\n store i32 %33, i32* %31, align 4\n %34 = load i64, i64* %18, align 8\n %35 = add i64 %34, 4\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = and i32 %37, -29\n store i32 %38, i32* %36, align 4\n %39 = load i64, i64* %18, align 8\n %40 = inttoptr i64 %39 to i32*\n %41 = load i32, i32* %40, align 4\n %42 = and i32 %41, -481\n store i32 %42, i32* %40, align 4\n br label LBL_3\n LBL_3:\n %43 = add i64 %2, 40\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = add i64 %45, 4\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = icmp eq i32 %48, 2\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_6, label LBL_4\n LBL_4:\n store i32 0, i32* %47, align 4\n %51 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %51, align 4\n %52 = load i64, i64* %18, align 8\n %53 = add i64 %52, 4\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = or i32 %55, 8\n store i32 %56, i32* %54, align 4\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %57 = load i64, i64* %18, align 8\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = or i32 %59, 64\n store i32 %60, i32* %58, align 4\n br label LBL_6\n LBL_6:\n %61 = load i64, i64* %44, align 8\n %62 = add i64 %61, 4\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = icmp eq i32 %64, 1\n %66 = icmp eq i1 %65, false\n br i1 %66, label LBL_11, label LBL_7\n LBL_7:\n store i32 0, i32* %63, align 4\n %67 = add i64 %2, 48\n %68 = inttoptr i64 %67 to i64*\n %69 = load i64, i64* %68, align 8\n %70 = add i64 %69, 4\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = icmp eq i32 %72, 0\n br i1 %73, label LBL_9, label LBL_8\n LBL_8:\n %74 = ptrtoint i64* %arg1 to i64\n %75 = add i64 %74, 4\n %76 = inttoptr i64 %75 to i32*\n %77 = load i32, i32* %76, align 4\n %78 = zext i32 %77 to i64\n %79 = call i64 @FUNC(i64 %6, i64 %2, i32 %3, i64 1, i64 %78, i64 4198733)\n store i64 %79, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_9:\n %80 = load i64, i64* %18, align 8\n %81 = add i64 %80, 4\n %82 = inttoptr i64 %81 to i32*\n %83 = load i32, i32* %82, align 4\n %84 = or i32 %83, 16\n store i32 %84, i32* %82, align 4\n br i1 %25, label LBL_11, label LBL_10\n LBL_10:\n %85 = load i64, i64* %18, align 8\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = or i32 %87, 128\n store i32 %88, i32* %86, align 4\n br label LBL_11\n LBL_11:\n %89 = load i64, i64* %44, align 8\n %90 = add i64 %89, 4\n %91 = inttoptr i64 %90 to i32*\n %92 = load i32, i32* %91, align 4\n %93 = icmp slt i32 %92, 0\n %94 = icmp eq i1 %93, false\n br i1 %94, label LBL_17, label LBL_12\n LBL_12:\n %95 = icmp eq i32 %92, 3\n %96 = icmp eq i1 %95, false\n br i1 %96, label LBL_14, label LBL_13\n LBL_13:\n %97 = call i64 @FUNC(i64 %6, i64 4198726, i64 1)\n store i64 %97, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_14:\n %98 = load i64, i64* %18, align 8\n %99 = add i64 %98, 4\n %100 = inttoptr i64 %99 to i32*\n %101 = load i32, i32* %100, align 4\n %102 = or i32 %101, 4\n store i32 %102, i32* %100, align 4\n br i1 %25, label LBL_16, label LBL_15\n LBL_15:\n %103 = load i64, i64* %18, align 8\n %104 = inttoptr i64 %103 to i32*\n %105 = load i32, i32* %104, align 4\n %106 = or i32 %105, 32\n store i32 %106, i32* %104, align 4\n br label LBL_16\n LBL_16:\n %107 = and i64 %1, 4294967295\n %108 = call i64 @FUNC(i64 %6, i64 %107, i64 1)\n store i64 %108, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_17:\n %109 = bitcast i64* %arg1 to i32*\n store i32 %92, i32* %109, align 4\n %110 = load i64, i64* %18, align 8\n %111 = add i64 %110, 4\n %112 = inttoptr i64 %111 to i32*\n %113 = load i32, i32* %112, align 4\n %114 = and i32 %113, 24\n %115 = icmp eq i32 %114, 0\n %116 = icmp eq i1 %115, false\n br i1 %116, label LBL_21, label LBL_18\n LBL_18:\n %117 = or i32 %113, 1536\n store i32 %117, i32* %112, align 4\n br i1 %25, label LBL_20, label LBL_19\n LBL_19:\n %118 = load i64, i64* %18, align 8\n %119 = inttoptr i64 %118 to i32*\n %120 = load i32, i32* %119, align 4\n %121 = or i32 %120, 1024\n store i32 %121, i32* %119, align 4\n br label LBL_20\n LBL_20:\n %122 = bitcast i64* %rdi to i32*\n %123 = load i32, i32* %122, align 8\n %124 = add i64 %2, 56\n %125 = inttoptr i64 %124 to i32*\n store i32 %123, i32* %125, align 4\n br label LBL_21\n LBL_21:\n %126 = and i64 %1, 4294967295\n %127 = call i64 @FUNC(i64 %6, i64 %126, i64 1)\n store i64 %127, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %25, { 3, 2, 1, 0, 4 }\n uselistorder i64* %18, { 8, 9, 6, 7, 4, 5, 2, 3, 1, 10, 0, 11 }\n uselistorder i64 %6, { 3, 2, 1, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i64 %2, { 2, 1, 0, 3, 7, 6, 5, 4 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @musb_rx_intr_set, { 1, 0 }\n uselistorder i32 -29, { 1, 0 }\n uselistorder i64 4, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 11, 12, 13 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfs_init_server_7022", "fun_name": "nfs_init_server", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdx.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg2 to i64\n %6 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %4, i64 %2, i64 %1)\n %7 = add i64 %5, 40\n %8 = call i64 @FUNC(i64 %5, i64 %7, i32 2)\n %9 = call i64 @FUNC(i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = call i64 @FUNC(i64 %8)\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_1, i64 0, i64 0), i64 %12, i64 2, i64 %7, i64 %2, i64 %1)\n %14 = call i64 @FUNC(i64 %8)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_2:\n %15 = call i64 @FUNC(i64 %8, i64 %5)\n %16 = trunc i64 %15 to i32\n %17 = icmp slt i32 %16, 0\n store i64 %15, i64* %sv_0.0.reg2mem\n store i64 %5, i64* %rdx.0.reg2mem\n br i1 %17, label LBL_10, label LBL_3\n LBL_3:\n %18 = ptrtoint i64* %arg1 to i64\n store i64 %8, i64* %arg1, align 8\n %19 = add i64 %5, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = urem i32 %21, 256\n %23 = add i64 %18, 8\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = add i64 %5, 12\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_5, label LBL_4\n LBL_4:\n %29 = zext i32 %27 to i64\n %30 = call i64 @FUNC(i64 %29, i64 0)\n %31 = trunc i64 %30 to i32\n %32 = add i64 %18, 12\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n br label LBL_5\n LBL_5:\n %34 = add i64 %5, 16\n %35 = inttoptr i64 %34 to i32*\n %36 = load i32, i32* %35, align 4\n %37 = icmp eq i32 %36, 0\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = zext i32 %36 to i64\n %39 = call i64 @FUNC(i64 %38, i64 0)\n %40 = trunc i64 %39 to i32\n %41 = add i64 %18, 16\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n br label LBL_7\n LBL_7:\n %43 = add i64 %5, 20\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = mul i32 %45, 100\n %47 = add i64 %18, 24\n %48 = inttoptr i64 %47 to i32*\n store i32 %46, i32* %48, align 4\n %49 = add i64 %5, 24\n %50 = inttoptr i64 %49 to i32*\n %51 = load i32, i32* %50, align 4\n %52 = mul i32 %51, 100\n %53 = add i64 %18, 28\n %54 = inttoptr i64 %53 to i32*\n store i32 %52, i32* %54, align 4\n %55 = add i64 %5, 28\n %56 = inttoptr i64 %55 to i32*\n %57 = load i32, i32* %56, align 4\n %58 = mul i32 %57, 100\n %59 = add i64 %18, 32\n %60 = inttoptr i64 %59 to i32*\n store i32 %58, i32* %60, align 4\n %61 = add i64 %5, 32\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = mul i32 %63, 100\n %65 = zext i32 %64 to i64\n %66 = add i64 %18, 36\n %67 = inttoptr i64 %66 to i32*\n store i32 %64, i32* %67, align 4\n %68 = call i64 @FUNC(i64 %18)\n %69 = trunc i64 %68 to i32\n %70 = icmp slt i32 %69, 0\n store i64 %68, i64* %sv_0.0.reg2mem\n store i64 %65, i64* %rdx.0.reg2mem\n br i1 %70, label LBL_10, label LBL_8\n LBL_8:\n %71 = add i64 %5, 48\n %72 = inttoptr i64 %71 to i32*\n %73 = load i32, i32* %72, align 4\n %74 = zext i32 %73 to i64\n %75 = call i64 @FUNC(i64 %18, i64 %74)\n %76 = trunc i64 %75 to i32\n %77 = icmp slt i32 %76, 0\n store i64 %75, i64* %sv_0.0.reg2mem\n store i64 %74, i64* %rdx.0.reg2mem\n br i1 %77, label LBL_10, label LBL_9\n LBL_9:\n %78 = add i64 %5, 36\n %79 = inttoptr i64 %78 to i32*\n %80 = load i32, i32* %79, align 4\n %81 = zext i32 %80 to i64\n %82 = add i64 %18, 20\n %83 = inttoptr i64 %82 to i32*\n store i32 %80, i32* %83, align 4\n %84 = call i64 @FUNC(i64 %18)\n %85 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %8, i64 %81, i64 %7, i64 %2, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n store i64 0, i64* %arg1, align 8\n %86 = call i64 @FUNC(i64 %8)\n %87 = and i64 %sv_0.0.reload, 4294967295\n %88 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_3, i64 0, i64 0), i64 %87, i64 %rdx.0.reload, i64 %7, i64 %2, i64 %1)\n store i64 %87, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %18, { 2, 3, 4, 5, 6, 7, 8, 9, 1, 0, 10 }\n uselistorder i64 %8, { 4, 2, 3, 5, 0, 1, 6 }\n uselistorder i64 %7, { 2, 1, 0, 3 }\n uselistorder i64 %5, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 12, 11, 13 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64)* @nfs_block_size, { 1, 0 }\n uselistorder i64 (i64)* @PTR_ERR, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @dprintk, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_scsi_handle_ctrl_1042", "fun_name": "virtio_scsi_handle_ctrl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pcnet_common_init_8487", "fun_name": "pcnet_common_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.03.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 0, i64 4198710, i64 %1)\n %4 = add i64 %1, 32\n %5 = inttoptr i64 %4 to i64*\n store i64 %3, i64* %5, align 8\n %6 = call i64 @FUNC(i64 %1)\n %7 = bitcast i64* %rdi to i32*\n %8 = load i32, i32* %7, align 8\n %9 = call i64 @FUNC(i64 %2)\n %10 = zext i32 %8 to i64\n %11 = call i64 @FUNC(i64 %0, i64 %1, i64 %9, i64 %10, i64 %1)\n %12 = add i64 %1, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = call i64 @FUNC(i64 %11)\n %15 = call i64 @FUNC(i64 %14, i64 %1)\n %16 = add i64 %1, 6\n %17 = inttoptr i64 %16 to i64*\n %18 = call i64* @memcpy(i64* %17, i64* %arg2, i32 6)\n %19 = add i64 %1, 13\n %20 = inttoptr i64 %19 to i8*\n store i8 0, i8* %20, align 1\n %21 = add i64 %1, 12\n %22 = inttoptr i64 %21 to i8*\n store i8 0, i8* %22, align 1\n %23 = add i64 %1, 14\n %24 = inttoptr i64 %23 to i8*\n store i8 0, i8* %24, align 1\n %25 = add i64 %1, 15\n %26 = inttoptr i64 %25 to i8*\n store i8 17, i8* %26, align 1\n %27 = add i64 %1, 17\n %28 = inttoptr i64 %27 to i8*\n store i8 0, i8* %28, align 1\n %29 = add i64 %1, 16\n %30 = inttoptr i64 %29 to i8*\n store i8 0, i8* %30, align 1\n %31 = add i64 %1, 19\n %32 = inttoptr i64 %31 to i8*\n store i8 0, i8* %32, align 1\n %33 = add i64 %1, 18\n %34 = inttoptr i64 %33 to i8*\n store i8 0, i8* %34, align 1\n %35 = add i64 %1, 21\n %36 = inttoptr i64 %35 to i8*\n store i8 87, i8* %36, align 1\n %37 = add i64 %1, 20\n %38 = inttoptr i64 %37 to i8*\n store i8 87, i8* %38, align 1\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %39 = add i64 %indvars.iv.reload, %16\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = zext i8 %41 to i32\n %43 = add nsw i32 %sv_0.03.reload, %42\n %sext = mul i32 %43, 65536\n %44 = ashr exact i32 %sext, 16\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %44, i32* %sv_0.03.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %45 = urem i32 %44, 65536\n %46 = zext i32 %45 to i64\n %47 = call i64 @FUNC(i64 %46)\n %48 = trunc i64 %47 to i16\n %49 = inttoptr i64 %33 to i16*\n store i16 %48, i16* %49, align 2\n %50 = add i64 %1, 40\n %51 = inttoptr i64 %50 to i32*\n store i32 64, i32* %51, align 4\n ret i64 %1\n\n uselistorder i32 %44, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.03.reg2mem, { 1, 0, 2 }\n uselistorder i32 65536, { 1, 0 }\n uselistorder i8 0, { 0, 3, 1, 4, 5, 2, 6 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "igmpv3_clear_delrec_9818", "fun_name": "igmpv3_clear_delrec", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %rdi.0.lcssa.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = call i64 @FUNC(i64 %1)\n store i64 0, i64* %arg1, align 8\n %3 = call i64 @FUNC(i64 %1)\n %4 = icmp eq i64 %1, 0\n %5 = icmp eq i1 %4, false\n store i64 %1, i64* %sv_1.03.reg2mem\n store i64 %1, i64* %rdi.0.lcssa.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %6 = inttoptr i64 %sv_1.03.reload to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %sv_1.03.reload)\n %9 = add i64 %sv_1.03.reload, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %sv_1.03.reload)\n %14 = icmp eq i64 %7, 0\n %15 = icmp eq i1 %14, false\n store i64 %7, i64* %sv_1.03.reg2mem\n store i64 %sv_1.03.reload, i64* %rdi.0.lcssa.reg2mem\n br i1 %15, label LBL_1, label LBL_2\n LBL_2:\n %rdi.0.lcssa.reload = load i64, i64* %rdi.0.lcssa.reg2mem\n %16 = call i64 @FUNC()\n %17 = icmp eq i64 %rdi.0.lcssa.reload, 0\n %18 = icmp eq i1 %17, false\n store i64 %rdi.0.lcssa.reload, i64* %storemerge2.reg2mem\n br i1 %18, label LBL_3, label LBL_6\n LBL_3:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %19 = add i64 %storemerge2.reload, 24\n %20 = call i64 @FUNC(i64 %19)\n %21 = add i64 %storemerge2.reload, 16\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n store i64 0, i64* %22, align 8\n %24 = call i64 @FUNC(i64 %19)\n %25 = icmp eq i64 %23, 0\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %sv_0.01.reg2mem\n br i1 %26, label LBL_4, label LBL_5\n LBL_4:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %27 = inttoptr i64 %sv_0.01.reload to i64*\n %28 = load i64, i64* %27, align 8\n %29 = call i64 @FUNC(i64 %sv_0.01.reload)\n %30 = icmp eq i64 %28, 0\n %31 = icmp eq i1 %30, false\n store i64 %28, i64* %sv_0.01.reg2mem\n br i1 %31, label LBL_4, label LBL_5\n LBL_5:\n %32 = inttoptr i64 %storemerge2.reload to i64*\n %33 = load i64, i64* %32, align 8\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %33, i64* %storemerge2.reg2mem\n br i1 %35, label LBL_3, label LBL_6\n LBL_6:\n %36 = call i64 @FUNC()\n ret i64 %36\n\n uselistorder i64 %storemerge2.reload, { 0, 2, 1 }\n uselistorder i64* %sv_1.03.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.01.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @kfree, { 1, 0 }\n uselistorder i1 false, { 4, 3, 2, 1, 5, 0 }\n uselistorder i64 (i64)* @spin_unlock_bh, { 1, 0 }\n uselistorder i64 (i64)* @spin_lock_bh, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_best_2937", "fun_name": "find_best", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1)\n %2 = and i64 %1, 2\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %1, 4\n %6 = icmp ne i64 %5, 0\n %spec.select = zext i1 %6 to i64\n ret i64 %spec.select\n LBL_2:\n ret i64 1\n\n uselistorder i64 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "script_config_tun_10248", "fun_name": "script_config_tun", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_3\n LBL_1:\n %2 = inttoptr i64 %arg2 to i8*\n %3 = call i32 @setenv(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i8* %2, i32 1)\n %4 = call i32 @system(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i32* @__errno_location()\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i8* @strerror(i32 %8)\n %11 = ptrtoint i8* %10 to i64\n %12 = call i64 @FUNC(i64 %6, i64 1, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_1, i64 0, i64 0), i64 %9, i64 %arg2, i64 %11)\n %13 = sub i32 0, %8\n %14 = zext i32 %13 to i64\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_page_type_preemptible_6046", "fun_name": "put_page_type_preemptible", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 1, i64 0)\n ret i64 %1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rv34_decoder_alloc_2763", "fun_name": "rv34_decoder_alloc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = mul i32 %3, 4\n %5 = add i32 %4, 4\n %6 = add i64 %2, 64\n %7 = inttoptr i64 %6 to i32*\n store i32 %5, i32* %7, align 4\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = mul i32 %13, %10\n %15 = sext i32 %14 to i64\n %16 = mul i64 %15, 4\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i64 %2, 16\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = load i32, i32* %9, align 4\n %21 = load i32, i32* %12, align 4\n %22 = mul i32 %21, %20\n %23 = sext i32 %22 to i64\n %24 = mul i64 %23, 4\n %25 = call i64 @FUNC(i64 %24)\n %26 = add i64 %2, 24\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n %28 = load i32, i32* %9, align 4\n %29 = load i32, i32* %12, align 4\n %30 = mul i32 %29, %28\n %31 = sext i32 %30 to i64\n %32 = mul i64 %31, 4\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %2, 32\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = load i32, i32* %7, align 4\n %37 = mul i32 %36, 8\n %38 = sext i32 %37 to i64\n %39 = mul i64 %38, 4\n %40 = call i64 @FUNC(i64 %39)\n %41 = add i64 %2, 40\n %42 = inttoptr i64 %41 to i64*\n store i64 %40, i64* %42, align 8\n %43 = load i32, i32* %9, align 4\n %44 = load i32, i32* %12, align 4\n %45 = mul i32 %44, %43\n %46 = sext i32 %45 to i64\n %47 = mul i64 %46, 4\n %48 = call i64 @FUNC(i64 %47)\n %49 = add i64 %2, 56\n %50 = inttoptr i64 %49 to i64*\n store i64 %48, i64* %50, align 8\n %51 = load i64, i64* %19, align 8\n %52 = icmp eq i64 %51, 0\n br i1 %52, label LBL_4, label LBL_1\n LBL_1:\n %53 = load i64, i64* %27, align 8\n %54 = icmp eq i64 %53, 0\n br i1 %54, label LBL_4, label LBL_2\n LBL_2:\n %55 = load i64, i64* %35, align 8\n %56 = icmp eq i64 %55, 0\n br i1 %56, label LBL_4, label LBL_3\n LBL_3:\n %57 = load i64, i64* %42, align 8\n %58 = icmp ne i64 %57, 0\n %59 = icmp eq i64 %48, 0\n %60 = icmp eq i1 %59, false\n %or.cond = icmp eq i1 %60, %58\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %61 = call i64 @FUNC(i64 %2)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_5:\n %62 = load i32, i32* %7, align 4\n %63 = mul i32 %62, 4\n %64 = sext i32 %63 to i64\n %65 = mul i64 %64, 4\n %66 = add i64 %65, %57\n %67 = add i64 %2, 48\n %68 = inttoptr i64 %67 to i64*\n store i64 %66, i64* %68, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @av_mallocz, { 3, 2, 1, 0 }\n uselistorder i32 4, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ide_drive_pio_post_load_956", "fun_name": "ide_drive_pio_post_load", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp ult i32 %2, 10\n store i64 4294967274, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %1, 4294967296\n %5 = ashr exact i64 %sext, 29\n %6 = add i64 %5, ptrtoint (i64* @gv_0 to i64)\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %4, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 %8, i64* %10, align 8\n %11 = add i64 %4, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %4, 24\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = sext i32 %16 to i64\n %18 = add i64 %13, %17\n %19 = add i64 %4, 32\n %20 = inttoptr i64 %19 to i64*\n store i64 %18, i64* %20, align 8\n %21 = add i64 %4, 28\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = sext i32 %23 to i64\n %25 = add i64 %18, %24\n %26 = add i64 %4, 40\n %27 = inttoptr i64 %26 to i64*\n store i64 %25, i64* %27, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %4, { 1, 0, 4, 3, 2, 5 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ttm_bo_cleanup_refs_and_unlock_17424", "fun_name": "ttm_bo_cleanup_refs_and_unlock", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.06.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = call i64 @FUNC(i64 %1)\n %3 = urem i64 %2, 256\n %4 = icmp eq i64 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = add i64 %0, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n store i64 %7, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_2:\n %8 = add i64 %0, 36\n store i64 %8, i64* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %9 = call i64 @FUNC(i64 %storemerge3.reload, i64 1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %.not = icmp ne i1 %11, true\n %12 = trunc i64 %arg3 to i8\n %13 = icmp eq i8 %12, 1\n %or.cond = or i1 %13, %.not\n br i1 %or.cond, label LBL_8, label LBL_4\n LBL_4:\n %14 = add i64 %0, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %16)\n %18 = call i64 @FUNC(i64 %0)\n %19 = trunc i64 %arg2 to i8\n %20 = call i64 @FUNC(i64 %storemerge3.reload, i64 1, i8 %19, i64 3000)\n %21 = icmp slt i64 %20, 0\n %22 = icmp eq i1 %21, false\n store i64 %20, i64* %rax.0.reg2mem\n br i1 %22, label LBL_5, label LBL_12\n LBL_5:\n %23 = icmp eq i64 %20, 0\n %24 = icmp eq i1 %23, false\n store i64 4294967280, i64* %rax.0.reg2mem\n br i1 %24, label LBL_6, label LBL_12\n LBL_6:\n %25 = call i64 @FUNC(i64 %0)\n %26 = call i64 @FUNC(i64 %0, i64 0, i64 1, i64 0)\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_9, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_8:\n store i64 4294967280, i64* %sv_0.06.reg2mem\n br i1 %11, label LBL_10, label LBL_9\n LBL_9:\n %30 = call i64 @FUNC(i64 %1)\n %31 = urem i64 %30, 256\n %32 = icmp eq i64 %31, 0\n store i64 0, i64* %sv_0.06.reg2mem\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %sv_0.06.reload = load i64, i64* %sv_0.06.reg2mem\n %33 = call i64 @FUNC(i64 %0)\n %34 = call i64 @FUNC(i64 %0)\n store i64 %sv_0.06.reload, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %35 = call i64 @FUNC(i64 %0)\n %36 = call i64 @FUNC(i64 %1)\n %37 = add i64 %0, 32\n %38 = call i64 @FUNC(i64 %37, i64 4198919)\n %39 = call i64 @FUNC(i64 %0)\n %40 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %20, { 1, 0, 2 }\n uselistorder i1 %11, { 1, 0 }\n uselistorder i64 %storemerge3.reload, { 1, 0 }\n uselistorder i64 %0, { 5, 6, 8, 7, 9, 10, 0, 1, 2, 3, 4, 11, 12, 13 }\n uselistorder i64* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.06.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 3, 1, 2 }\n uselistorder i64 4294967280, { 1, 0 }\n uselistorder i64 (i64)* @spin_unlock, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @list_empty, { 1, 0 }\n uselistorder label LBL_12, { 2, 3, 4, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "hugetlb_vm_op_close_8388", "fun_name": "hugetlb_vm_op_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %0)\n %4 = icmp eq i64 %2, 0\n store i64 %3, i64* %rax.0.reg2mem\n br i1 %4, label LBL_4, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0, i64 1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %7, label LBL_4, label LBL_2\n LBL_2:\n %8 = call i64 @FUNC(i64 %1, i64 %0, i64 %0)\n %9 = add i64 %0, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = call i64 @FUNC(i64 %1, i64 %0, i64 %11)\n %13 = sub i64 %12, %8\n %14 = call i64 @FUNC(i64 %2, i64 %8, i64 %12)\n %15 = sub i64 %13, %14\n %16 = call i64 @FUNC(i64 %2, i64 4198767)\n %17 = icmp eq i64 %15, 0\n store i64 %16, i64* %rax.0.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %3, i64 %15)\n %19 = sub i64 0, %18\n %20 = call i64 @FUNC(i64 %1, i64 %19)\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 2, 1 }\n uselistorder i64 %0, { 2, 1, 3, 0, 4, 5, 6, 7 }\n uselistorder i64 (i64, i64, i64)* @vma_hugecache_offset, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_4, { 2, 3, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "color_cmyk_to_rgb_10422", "fun_name": "color_cmyk_to_rgb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %.pre-phi22.reg2mem = alloca i64*\n %xmm0.016.reg2mem = alloca i128\n %indvars.iv19.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = trunc i64 %2 to i32\n %5 = icmp ult i32 %4, 4\n br i1 %5, label LBL_7, label LBL_1\n LBL_1:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 16\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %6, 48\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %9, %12\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_7, label LBL_2\n LBL_2:\n %15 = add i64 %6, 80\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = icmp eq i32 %9, %17\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_7, label LBL_3\n LBL_3:\n %20 = add i64 %6, 112\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = icmp eq i32 %9, %22\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_7, label LBL_4\n LBL_4:\n %25 = add i64 %6, 20\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = add i64 %6, 52\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = icmp eq i32 %27, %30\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_7, label LBL_5\n LBL_5:\n %33 = add i64 %6, 84\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = icmp eq i32 %27, %35\n %37 = icmp eq i1 %36, false\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = add i64 %6, 116\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = icmp eq i32 %27, %40\n br i1 %41, label LBL_8, label LBL_7\n LBL_7:\n %42 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %43 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %42, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @gv_2, i64 0, i64 0), i64 36)\n %44 = sext i32 %43 to i64\n store i64 %44, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_8:\n %45 = add i64 %6, 8\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %6, 12\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = mul i32 %50, %47\n %52 = add i64 %6, 24\n %53 = inttoptr i64 %52 to i32*\n %54 = load i32, i32* %53, align 4\n %55 = urem i32 %54, 32\n %56 = icmp eq i32 %55, 0\n %notmask25 = shl nsw i32 -1, %55\n %57 = sub i32 0, %notmask25\n %phitmp7 = sub i32 %57, 1\n %storemerge = select i1 %56, i32 0, i32 %phitmp7\n %58 = call i128 @FUNC(i128 %3, i128 %3)\n %59 = call i128 @FUNC(i32 %storemerge)\n %60 = call i128 @FUNC(i32 1065353216)\n %61 = call i128 @FUNC(i128 %60, i128 %59)\n %62 = call i64 @__asm_movss.1(i128 %61)\n %63 = add i64 %6, 56\n %64 = inttoptr i64 %63 to i32*\n %65 = load i32, i32* %64, align 4\n %66 = urem i32 %65, 32\n %67 = icmp eq i32 %66, 0\n %notmask26 = shl nsw i32 -1, %66\n %68 = sub i32 0, %notmask26\n %phitmp10 = sub i32 %68, 1\n %storemerge1 = select i1 %67, i32 0, i32 %phitmp10\n %69 = call i128 @FUNC(i128 %59, i128 %59)\n %70 = call i128 @FUNC(i32 %storemerge1)\n %71 = call i128 @FUNC(i32 1065353216)\n %72 = call i128 @FUNC(i128 %71, i128 %70)\n %73 = call i64 @__asm_movss.1(i128 %72)\n %74 = add i64 %6, 88\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = urem i32 %76, 32\n %78 = icmp eq i32 %77, 0\n %notmask27 = shl nsw i32 -1, %77\n %79 = sub i32 0, %notmask27\n %phitmp13 = sub i32 %79, 1\n %storemerge2 = select i1 %78, i32 0, i32 %phitmp13\n %80 = call i128 @FUNC(i128 %70, i128 %70)\n %81 = call i128 @FUNC(i32 %storemerge2)\n %82 = call i128 @FUNC(i32 1065353216)\n %83 = call i128 @FUNC(i128 %82, i128 %81)\n %84 = call i64 @__asm_movss.1(i128 %83)\n %85 = add i64 %6, 120\n %86 = inttoptr i64 %85 to i32*\n %87 = load i32, i32* %86, align 4\n %88 = urem i32 %87, 32\n %89 = icmp eq i32 %88, 0\n %notmask = shl nsw i32 -1, %88\n %90 = sub i32 0, %notmask\n %phitmp = sub i32 %90, 1\n %storemerge3 = select i1 %89, i32 0, i32 %phitmp\n %91 = call i128 @FUNC(i128 %81, i128 %81)\n %92 = call i128 @FUNC(i32 %storemerge3)\n %93 = call i128 @FUNC(i32 1065353216)\n %94 = call i128 @FUNC(i128 %93, i128 %92)\n %95 = call i64 @__asm_movss.1(i128 %94)\n %96 = icmp eq i32 %51, 0\n br i1 %96, label LBL_8.LBL_12_crit_edge, label LBL_10\n LBL_9:\n %.pre = add i64 %6, 128\n %.pre21 = inttoptr i64 %.pre to i64*\n store i64* %.pre21, i64** %.pre-phi22.reg2mem\n br label LBL_12\n LBL_10:\n %97 = trunc i64 %62 to i32\n %98 = trunc i64 %73 to i32\n %99 = trunc i64 %84 to i32\n %100 = trunc i64 %95 to i32\n %101 = add i64 %6, 32\n %102 = inttoptr i64 %101 to i64*\n %103 = add i64 %6, 64\n %104 = inttoptr i64 %103 to i64*\n %105 = add i64 %6, 96\n %106 = inttoptr i64 %105 to i64*\n %107 = add i64 %6, 128\n %108 = inttoptr i64 %107 to i64*\n %wide.trip.count = zext i32 %51 to i64\n store i64 0, i64* %indvars.iv19.reg2mem\n store i128 %94, i128* %xmm0.016.reg2mem\n br label LBL_11\n LBL_11:\n %xmm0.016.reload = load i128, i128* %xmm0.016.reg2mem\n %indvars.iv19.reload = load i64, i64* %indvars.iv19.reg2mem\n %109 = load i64, i64* %102, align 8\n %110 = mul i64 %indvars.iv19.reload, 4\n %111 = add i64 %109, %110\n %112 = inttoptr i64 %111 to i32*\n %113 = load i32, i32* %112, align 4\n %114 = call i128 @FUNC(i128 %xmm0.016.reload, i128 %xmm0.016.reload)\n %115 = call i128 @FUNC(i32 %113)\n %116 = call i128 @FUNC(i32 %97)\n %117 = call i128 @FUNC(i128 %115, i128 %116)\n %118 = call i64 @__asm_movss.1(i128 %117)\n %119 = trunc i64 %118 to i32\n %120 = load i64, i64* %104, align 8\n %121 = add i64 %120, %110\n %122 = inttoptr i64 %121 to i32*\n %123 = load i32, i32* %122, align 4\n %124 = call i128 @FUNC(i128 %117, i128 %117)\n %125 = call i128 @FUNC(i32 %123)\n %126 = call i128 @FUNC(i32 %98)\n %127 = call i128 @FUNC(i128 %125, i128 %126)\n %128 = call i64 @__asm_movss.1(i128 %127)\n %129 = trunc i64 %128 to i32\n %130 = load i64, i64* %106, align 8\n %131 = add i64 %130, %110\n %132 = inttoptr i64 %131 to i32*\n %133 = load i32, i32* %132, align 4\n %134 = call i128 @FUNC(i128 %127, i128 %127)\n %135 = call i128 @FUNC(i32 %133)\n %136 = call i128 @FUNC(i32 %99)\n %137 = call i128 @FUNC(i128 %135, i128 %136)\n %138 = call i64 @__asm_movss.1(i128 %137)\n %139 = trunc i64 %138 to i32\n %140 = load i64, i64* %108, align 8\n %141 = add i64 %140, %110\n %142 = inttoptr i64 %141 to i32*\n %143 = load i32, i32* %142, align 4\n %144 = call i128 @FUNC(i128 %137, i128 %137)\n %145 = call i128 @FUNC(i32 %143)\n %146 = call i128 @FUNC(i32 %100)\n %147 = call i128 @FUNC(i128 %145, i128 %146)\n %148 = call i64 @__asm_movss.1(i128 %147)\n %149 = trunc i64 %148 to i32\n %150 = call i128 @FUNC(i32 1065353216)\n %151 = call i128 @FUNC(i128 %150, i32 %119)\n %152 = call i64 @__asm_movss.1(i128 %151)\n %153 = trunc i64 %152 to i32\n %154 = call i128 @FUNC(i32 1065353216)\n %155 = call i128 @FUNC(i128 %154, i32 %129)\n %156 = call i64 @__asm_movss.1(i128 %155)\n %157 = trunc i64 %156 to i32\n %158 = call i128 @FUNC(i32 1065353216)\n %159 = call i128 @FUNC(i128 %158, i32 %139)\n %160 = call i64 @__asm_movss.1(i128 %159)\n %161 = trunc i64 %160 to i32\n %162 = call i128 @FUNC(i32 1065353216)\n %163 = call i128 @FUNC(i128 %162, i32 %149)\n %164 = call i64 @__asm_movss.1(i128 %163)\n %165 = trunc i64 %164 to i32\n %166 = call i128 @FUNC(i32 %153)\n %167 = load i32, i32* inttoptr (i64 4202616 to i32*), align 8\n %168 = call i128 @FUNC(i32 %167)\n %169 = call i128 @FUNC(i128 %168, i128 %166)\n %170 = call i128 @__asm_mulss.2(i128 %169, i32 %165)\n %171 = load i64, i64* %102, align 8\n %172 = add i64 %171, %110\n %173 = call i32 @FUNC(i128 %170)\n %174 = inttoptr i64 %172 to i32*\n store i32 %173, i32* %174, align 4\n %175 = call i128 @FUNC(i32 %157)\n %176 = call i128 @FUNC(i32 1132396544)\n %177 = call i128 @FUNC(i128 %176, i128 %175)\n %178 = call i128 @__asm_mulss.2(i128 %177, i32 %165)\n %179 = load i64, i64* %104, align 8\n %180 = add i64 %179, %110\n %181 = call i32 @FUNC(i128 %178)\n %182 = inttoptr i64 %180 to i32*\n store i32 %181, i32* %182, align 4\n %183 = call i128 @FUNC(i32 %161)\n %184 = call i128 @FUNC(i32 1132396544)\n %185 = call i128 @FUNC(i128 %184, i128 %183)\n %186 = call i128 @__asm_mulss.2(i128 %185, i32 %165)\n %187 = load i64, i64* %106, align 8\n %188 = add i64 %187, %110\n %189 = call i32 @FUNC(i128 %186)\n %190 = inttoptr i64 %188 to i32*\n store i32 %189, i32* %190, align 4\n %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next20, %wide.trip.count\n store i64 %indvars.iv.next20, i64* %indvars.iv19.reg2mem\n store i128 %186, i128* %xmm0.016.reg2mem\n store i64* %108, i64** %.pre-phi22.reg2mem\n br i1 %exitcond, label LBL_12, label LBL_11\n LBL_12:\n %191 = bitcast i64* %rdi to i32*\n %.pre-phi22.reload = load i64*, i64** %.pre-phi22.reg2mem\n %192 = load i64, i64* %.pre-phi22.reload, align 8\n %193 = inttoptr i64 %192 to i64*\n call void @free(i64* %193)\n store i64 0, i64* %.pre-phi22.reload, align 8\n store i32 8, i32* %53, align 4\n store i32 8, i32* %64, align 4\n store i32 8, i32* %75, align 4\n %194 = load i32, i32* %191, align 8\n %195 = add i32 %194, -1\n %196 = bitcast i64* %arg1 to i32*\n store i32 %195, i32* %196, align 4\n %197 = add i64 %6, 136\n %198 = inttoptr i64 %197 to i32*\n store i32 0, i32* %198, align 4\n %199 = load i32, i32* %191, align 8\n %200 = icmp ugt i32 %199, 3\n %201 = zext i32 %199 to i64\n store i64 3, i64* %indvars.iv.reg2mem\n store i64 %201, i64* %rax.0.reg2mem\n br i1 %200, label LBL_13, label LBL_14\n LBL_13:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %202 = mul i64 %indvars.iv.next, 32\n %203 = add i64 %202, %45\n %204 = mul i64 %indvars.iv.reload, 32\n %205 = add i64 %204, %45\n %206 = inttoptr i64 %205 to i64*\n %207 = inttoptr i64 %203 to i64*\n %208 = call i64* @memcpy(i64* %206, i64* %207, i32 32)\n %exitcond24 = icmp eq i64 %indvars.iv.next, %201\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %201, i64* %rax.0.reg2mem\n br i1 %exitcond24, label LBL_14, label LBL_13\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i64 %201, { 0, 2, 1 }\n uselistorder i32 %165, { 2, 1, 0 }\n uselistorder i128 %137, { 2, 1, 0 }\n uselistorder i128 %127, { 2, 1, 0 }\n uselistorder i128 %117, { 2, 1, 0 }\n uselistorder i64 %110, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i128 %xmm0.016.reload, { 1, 0 }\n uselistorder i128 %81, { 1, 0, 2 }\n uselistorder i128 %70, { 1, 0, 2 }\n uselistorder i128 %59, { 1, 0, 2 }\n uselistorder i64 %6, { 1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 18, 19, 17, 16, 14, 15, 13, 12, 11, 10 }\n uselistorder i64* %indvars.iv19.reg2mem, { 1, 0, 2 }\n uselistorder i128* %xmm0.016.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i64 128, { 1, 0 }\n uselistorder i32 -1, { 4, 0, 1, 2, 3 }\n uselistorder i32 32, { 4, 0, 1, 2, 3 }\n uselistorder label LBL_13, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "str_matches_option_10757", "fun_name": "str_matches_option", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i1\n %0 = inttoptr i64 %arg2 to i8*\n %1 = call i32 @strlen(i8* %0)\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = icmp eq i32 %3, %1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = sext i32 %1 to i64\n %6 = add nsw i64 %5, -1\n %7 = sext i32 %3 to i64\n %8 = icmp eq i64 %6, %7\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i32 @strncmp(i8* %2, i8* %0, i32 %3)\n %11 = icmp eq i32 %10, 0\n store i1 %11, i1* %rax.0.shrunk.reg2mem\n br label LBL_5\n LBL_3:\n %12 = icmp ugt i32 %3, %1\n store i1 false, i1* %rax.0.shrunk.reg2mem\n br i1 %12, label LBL_4, label LBL_5\n LBL_4:\n %13 = call i32 @strncmp(i8* %2, i8* %0, i32 %1)\n %14 = icmp eq i32 %13, 0\n store i1 %14, i1* %rax.0.shrunk.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.shrunk.reload = load i1, i1* %rax.0.shrunk.reg2mem\n %rax.0 = zext i1 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %3, { 1, 0, 2, 3 }\n uselistorder i32 %1, { 2, 1, 0, 3 }\n uselistorder i1* %rax.0.shrunk.reg2mem, { 0, 2, 1, 3 }\n uselistorder i32 (i8*, i8*, i32)* @strncmp, { 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "thread_pool_completion_bh_480", "fun_name": "thread_pool_completion_bh", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.2.lcssa.reg2mem = alloca i64\n %rdi.24.reg2mem = alloca i64\n %.reg2mem14 = alloca i32*\n %rdi.1.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i32*\n %.pre-phi13.reg2mem = alloca i64\n %rdi.06.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i32*, align 8\n %sv_1 = alloca i32*, align 8\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n store i32* %3, i32** %sv_1, align 8\n %4 = icmp eq i64 %2, 0\n store i64 -8, i64* %rdi.2.lcssa.reg2mem\n br i1 %4, label LBL_10, label LBL_1\n LBL_1:\n %5 = bitcast i32** %sv_1 to i64*\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 %0, i64* %rdi.06.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.06.reload = load i64, i64* %rdi.06.reg2mem\n store i32* %3, i32** %.reg2mem14\n store i64 %rdi.06.reload, i64* %rdi.24.reg2mem\n br label LBL_9\n LBL_3:\n %8 = add i64 %39, 24\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %39, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %0, i64 %39, i64 %13, i32 %10)\n %15 = load i64, i64* %41, align 8\n %16 = icmp eq i64 %15, 0\n store i64 %39, i64* %.pre-phi13.reg2mem\n br i1 %16, label LBL_5, label LBL_4\n LBL_4:\n %17 = add i64 %15, 32\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n store i64 %19, i64* %41, align 8\n %.pre = load i32*, i32** %sv_1, align 8\n %.pre12 = ptrtoint i32* %.pre to i64\n store i64 %.pre12, i64* %.pre-phi13.reg2mem\n br label LBL_5\n LBL_5:\n %.pre-phi13.reload = load i64, i64* %.pre-phi13.reg2mem\n %20 = add i64 %.pre-phi13.reload, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n %23 = icmp eq i64 %22, 0\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = call i64 @FUNC()\n %25 = load i64, i64* %7, align 8\n %26 = call i64 @FUNC(i64 %25)\n %27 = call i64 @FUNC(i64 %25)\n %28 = add i64 %.pre-phi13.reload, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30)\n %32 = load i64, i64* %7, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = call i64 @FUNC(i64 %.pre-phi13.reload)\n store i32* %3, i32** %sv_1, align 8\n store i64 %.pre-phi13.reload, i64* %rdi.06.reg2mem\n br label LBL_2\n LBL_7:\n %35 = call i64 @FUNC(i64 %.pre-phi13.reload)\n %36 = load i32*, i32** %sv_0, align 8\n %37 = ptrtoint i32* %36 to i64\n store i32* %36, i32** %.pre-phi.reg2mem\n store i64 %37, i64* %.reg2mem\n store i64 %.pre-phi13.reload, i64* %rdi.1.reg2mem\n br label LBL_8\n LBL_8:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %.pre-phi.reload = load i32*, i32** %.pre-phi.reg2mem\n store i64 %.reload, i64* %5, align 8\n %38 = icmp eq i64 %.reload, 0\n store i32* %.pre-phi.reload, i32** %.reg2mem14\n store i64 %rdi.1.reload, i64* %rdi.24.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.2.lcssa.reg2mem\n br i1 %38, label LBL_10, label LBL_9\n LBL_9:\n %rdi.24.reload = load i64, i64* %rdi.24.reg2mem\n %.reload15 = load i32*, i32** %.reg2mem14\n %39 = ptrtoint i32* %.reload15 to i64\n %40 = add i64 %39, 32\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = inttoptr i64 %42 to i32*\n store i32* %43, i32** %sv_0, align 8\n %44 = load i32, i32* %.reload15, align 4\n %45 = icmp eq i32 %44, 1\n store i32* %43, i32** %.pre-phi.reg2mem\n store i64 %42, i64* %.reg2mem\n store i64 %rdi.24.reload, i64* %rdi.1.reg2mem\n br i1 %45, label LBL_3, label LBL_8\n LBL_10:\n %rdi.2.lcssa.reload = load i64, i64* %rdi.2.lcssa.reg2mem\n %46 = call i64 @FUNC(i64 %rdi.2.lcssa.reload)\n ret i64 %46\n\n uselistorder i64* %41, { 2, 1, 0 }\n uselistorder i64 %39, { 4, 1, 2, 3, 0 }\n uselistorder i64 %.pre-phi13.reload, { 0, 3, 5, 2, 1, 4 }\n uselistorder i32* %3, { 2, 0, 1 }\n uselistorder i32** %sv_1, { 3, 0, 2, 1 }\n uselistorder i32** %sv_0, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1, 3, 4 }\n uselistorder i64* %rdi.06.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.pre-phi13.reg2mem, { 0, 2, 1 }\n uselistorder i32** %.pre-phi.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.1.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @qemu_aio_unref, { 1, 0 }\n uselistorder i64 (i64)* @aio_context_release, { 1, 0 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder i64 (i64)* @aio_context_acquire, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mxf_resolve_essence_group_choice_8341", "fun_name": "mxf_resolve_essence_group_choice", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i64* %arg2, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_7, label LBL_1\n LBL_1:\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_7\n LBL_2:\n %6 = ptrtoint i64* %arg2 to i64\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %6, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = and i64 %1, 4294967295\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %11 = load i64, i64* %9, align 8\n %12 = mul i64 %.reload, 8\n %13 = add i64 %11, %12\n %14 = call i64 @FUNC(i64 %7, i64 %13, i64 1)\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_6, label LBL_4\n LBL_4:\n %16 = add i64 %14, 8\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %14 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %7, i64 %20, i64 %18)\n %22 = icmp eq i64 %21, 0\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %7, i64 %21, i64 2)\n %24 = icmp eq i64 %23, 0\n store i64 %14, i64* %rax.0.reg2mem\n br i1 %24, label LBL_6, label LBL_7\n LBL_6:\n %25 = add i32 %storemerge1.reload, 1\n %26 = sext i32 %25 to i64\n %27 = icmp sgt i64 %10, %26\n store i64 %26, i64* %.reg2mem\n store i32 %25, i32* %storemerge1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_3, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %14, { 0, 2, 1, 3 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i64 (i64, i64, i64)* @mxf_resolve_strong_ref, { 1, 0 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 3, 2 }\n uselistorder label LBL_6, { 2, 0, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "use_normal_update_speed_1988", "fun_name": "use_normal_update_speed", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.lcssa.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem39 = alloca i64\n %.reg2mem37 = alloca i64\n %storemerge1216.reg2mem = alloca i32\n %.reg2mem35 = alloca i64\n %.reg2mem33 = alloca i64\n %storemerge815.reg2mem = alloca i32\n %.reg2mem31 = alloca i64\n %storemerge18.reg2mem = alloca i32\n %.reg2mem29 = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 30\n %2 = add i64 %1, %0\n %3 = inttoptr i64 %2 to i32*\n store i32 8, i32* %3, align 4\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %6, %1\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i32 %9, -1\n %11 = zext i32 %10 to i64\n %12 = icmp slt i32 %10, 0\n %13 = icmp eq i1 %12, false\n store i64 %11, i64* %rax.1.lcssa.reg2mem\n br i1 %13, label LBL_1, label LBL_8\n LBL_1:\n %14 = add i64 %0, 24\n %15 = inttoptr i64 %14 to i64*\n %16 = ashr exact i64 %sext, 29\n %17 = add i64 %0, 16\n %18 = inttoptr i64 %17 to i32*\n %.pre = load i64, i64* %15, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %.pre, i64* %.reg2mem29\n store i32 %10, i32* %storemerge18.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge18.reload = load i32, i32* %storemerge18.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %19 = sext i32 %storemerge18.reload to i64\n %20 = mul i64 %19, 16\n %21 = load i32, i32* %18, align 4\n %22 = icmp eq i32 %21, 0\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %.reload30 = load i64, i64* %.reg2mem29\n %23 = add i64 %.reload30, %16\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = add i64 %20, %25\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = add i64 %26, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n store i64 %26, i64* %.reg2mem31\n store i32 0, i32* %storemerge815.reg2mem\n store i64 %.reload, i64* %.reg2mem37\n store i64 %.reload30, i64* %.reg2mem39\n store i64 0, i64* %rax.0.reg2mem\n br i1 %32, label LBL_7, label LBL_5\n LBL_4:\n %33 = add i64 %.reload, %16\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = add i64 %35, %20\n %37 = add i64 %36, 4\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %39, 0\n store i64 0, i64* %.reg2mem33\n store i64 %36, i64* %.reg2mem35\n store i32 0, i32* %storemerge1216.reg2mem\n store i64 %.reload, i64* %.reg2mem37\n store i64 %.reload, i64* %.reg2mem39\n store i64 0, i64* %rax.0.reg2mem\n br i1 %40, label LBL_7, label LBL_6\n LBL_5:\n %storemerge815.reload = load i32, i32* %storemerge815.reg2mem\n %.reload32 = load i64, i64* %.reg2mem31\n %41 = add i64 %.reload32, 8\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i32 %storemerge815.reload, %28\n %45 = sext i32 %44 to i64\n %46 = mul i64 %45, 4\n %47 = add i64 %46, %43\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n %50 = icmp slt i32 %49, 0\n %51 = zext i1 %50 to i32\n %52 = add i32 %49, %51\n %53 = ashr i32 %52, 1\n store i32 %53, i32* %48, align 4\n %54 = add i32 %storemerge815.reload, 1\n %55 = load i64, i64* %15, align 8\n %56 = add i64 %55, %16\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = add i64 %58, %20\n %60 = add i64 %59, 4\n %61 = inttoptr i64 %60 to i32*\n %62 = load i32, i32* %61, align 4\n %63 = zext i32 %62 to i64\n %64 = sext i32 %54 to i64\n %65 = icmp slt i64 %64, %63\n store i64 %59, i64* %.reg2mem31\n store i32 %54, i32* %storemerge815.reg2mem\n store i64 %55, i64* %.reg2mem37\n store i64 %55, i64* %.reg2mem39\n store i64 %63, i64* %rax.0.reg2mem\n br i1 %65, label LBL_5, label LBL_7\n LBL_6:\n %storemerge1216.reload = load i32, i32* %storemerge1216.reg2mem\n %.reload36 = load i64, i64* %.reg2mem35\n %.reload34 = load i64, i64* %.reg2mem33\n %66 = add i64 %.reload36, 8\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = mul i64 %.reload34, 4\n %70 = add i64 %68, %69\n %71 = inttoptr i64 %70 to i32*\n %72 = load i32, i32* %71, align 4\n %73 = icmp slt i32 %72, 0\n %74 = zext i1 %73 to i32\n %75 = add i32 %72, %74\n %76 = ashr i32 %75, 1\n store i32 %76, i32* %71, align 4\n %77 = add i32 %storemerge1216.reload, 1\n %78 = load i64, i64* %15, align 8\n %79 = add i64 %78, %16\n %80 = inttoptr i64 %79 to i64*\n %81 = load i64, i64* %80, align 8\n %82 = add i64 %81, %20\n %83 = add i64 %82, 4\n %84 = inttoptr i64 %83 to i32*\n %85 = load i32, i32* %84, align 4\n %86 = zext i32 %85 to i64\n %87 = sext i32 %77 to i64\n %88 = icmp slt i64 %87, %86\n store i64 %87, i64* %.reg2mem33\n store i64 %82, i64* %.reg2mem35\n store i32 %77, i32* %storemerge1216.reg2mem\n store i64 %78, i64* %.reg2mem37\n store i64 %78, i64* %.reg2mem39\n store i64 %86, i64* %rax.0.reg2mem\n br i1 %88, label LBL_6, label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %.reload40 = load i64, i64* %.reg2mem39\n %.reload38 = load i64, i64* %.reg2mem37\n %89 = add i32 %storemerge18.reload, -1\n %90 = icmp slt i32 %89, 0\n %91 = icmp eq i1 %90, false\n store i64 %.reload38, i64* %.reg2mem\n store i64 %.reload40, i64* %.reg2mem29\n store i32 %89, i32* %storemerge18.reg2mem\n store i64 %rax.0.reload, i64* %rax.1.lcssa.reg2mem\n br i1 %91, label LBL_2, label LBL_8\n LBL_8:\n %rax.1.lcssa.reload = load i64, i64* %rax.1.lcssa.reg2mem\n ret i64 %rax.1.lcssa.reload\n\n uselistorder i64 %20, { 3, 1, 2, 0 }\n uselistorder i64 %.reload, { 0, 2, 3, 1 }\n uselistorder i64 %16, { 0, 2, 1, 3 }\n uselistorder i64* %15, { 2, 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 3, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem29, { 1, 0, 2 }\n uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem31, { 2, 0, 1 }\n uselistorder i32* %storemerge815.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem33, { 2, 0, 1 }\n uselistorder i64* %.reg2mem35, { 2, 0, 1 }\n uselistorder i32* %storemerge1216.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem37, { 0, 2, 1, 4, 3 }\n uselistorder i64* %.reg2mem39, { 0, 2, 1, 4, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 3, 2 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mobi_decode_infl_5804", "fun_name": "mobi_decode_infl", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i8* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i8\n %sv_1.0.reg2mem = alloca i8\n %sv_2.0.reg2mem = alloca i8*\n %sv_0.0.ph.reg2mem = alloca i8\n %sv_1.0.ph.reg2mem = alloca i8\n %sv_3.2.ph.reg2mem = alloca i32\n %sv_2.0.ph.reg2mem = alloca i8*\n %rcx.0.ph.ph.reg2mem = alloca i64\n %sv_0.0.ph.ph.reg2mem = alloca i8\n %sv_1.0.ph.ph.reg2mem = alloca i8\n %sv_3.2.ph.ph.reg2mem = alloca i32\n %sv_2.0.ph.ph.reg2mem = alloca i8*\n %.reg2mem118 = alloca i32\n %rcx.0.ph.ph.be.reg2mem = alloca i64\n %sv_3.2.ph.ph.be.reg2mem = alloca i32\n %.reg2mem = alloca i32\n %sv_0.0.ph.be.reg2mem = alloca i8\n %sv_1.0.ph.be.reg2mem = alloca i8\n %sv_3.2.ph.be.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %rsi = alloca i64, align 8\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = bitcast i64* %rsi to i32*\n %6 = trunc i64 %3 to i32\n %7 = add i64 %4, 1\n %8 = add i64 %4, 1024\n store i32 %6, i32* %.reg2mem118\n store i8* %arg3, i8** %sv_2.0.ph.ph.reg2mem\n store i32 %6, i32* %sv_3.2.ph.ph.reg2mem\n store i8 105, i8* %sv_1.0.ph.ph.reg2mem\n store i8 60, i8* %sv_0.0.ph.ph.reg2mem\n br label LBL_19\n LBL_1:\n %sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem\n %9 = ptrtoint i8* %sv_2.0.reload to i64\n %10 = add i64 %9, 1\n %11 = inttoptr i64 %10 to i8*\n %12 = sext i8 %69 to i32\n %13 = icmp ult i8 %69, 5\n br i1 %13, label LBL_2, label LBL_5\n LBL_2:\n %14 = icmp ult i8 %69, 3\n %15 = select i1 %14, i8 105, i8 100\n %16 = and i32 %12, 2\n %17 = icmp eq i32 %16, 0\n %18 = select i1 %17, i8 62, i8 60\n %19 = icmp eq i8 %sv_0.0.reload, %18\n %20 = icmp eq i8 %sv_0.0.reload, 0\n %or.cond = or i1 %20, %19\n store i8* %11, i8** %sv_2.0.reg2mem\n store i8 %15, i8* %sv_1.0.reg2mem\n store i8 %18, i8* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_21, label LBL_3\n LBL_3:\n %narrow = select i1 %17, i32 0, i32 %.reload119\n store i32 %narrow, i32* %sv_3.2.ph.be.reg2mem\n store i8 %15, i8* %sv_1.0.ph.be.reg2mem\n store i8 %18, i8* %sv_0.0.ph.be.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.ph.be.reload = load i8, i8* %sv_0.0.ph.be.reg2mem\n %sv_1.0.ph.be.reload = load i8, i8* %sv_1.0.ph.be.reg2mem\n %sv_3.2.ph.be.reload = load i32, i32* %sv_3.2.ph.be.reg2mem\n store i8* %11, i8** %sv_2.0.ph.reg2mem\n store i32 %sv_3.2.ph.be.reload, i32* %sv_3.2.ph.reg2mem\n store i8 %sv_1.0.ph.be.reload, i8* %sv_1.0.ph.reg2mem\n store i8 %sv_0.0.ph.be.reload, i8* %sv_0.0.ph.reg2mem\n br label LBL_20\n LBL_5:\n %sv_1.0.reload = load i8, i8* %sv_1.0.reg2mem\n %.off = add i8 %69, -11\n %21 = icmp ult i8 %.off, 9\n br i1 %21, label LBL_6, label LBL_7\n LBL_6:\n %22 = icmp eq i8 %sv_0.0.reload, 62\n %23 = icmp eq i1 %22, false\n %spec.select = select i1 %23, i32 %sv_3.2.ph.reload, i32 %.reload119\n %24 = urem i32 %12, 256\n %.neg14 = sub nsw i32 10, %24\n %25 = add i32 %.neg14, %spec.select\n store i32 %25, i32* %sv_3.2.ph.be.reg2mem\n store i8 %sv_1.0.reload, i8* %sv_1.0.ph.be.reg2mem\n store i8 0, i8* %sv_0.0.ph.be.reg2mem\n br label LBL_4\n LBL_7:\n %26 = icmp eq i8 %sv_1.0.reload, 105\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_13, label LBL_8\n LBL_8:\n %28 = sub i32 %.reload119, %sv_3.2.ph.reload\n %29 = icmp slt i32 %sv_3.2.ph.reload, 0\n %30 = icmp slt i32 %28, 0\n %or.cond8 = or i1 %29, %30\n br i1 %or.cond8, label LBL_10, label LBL_9\n LBL_9:\n %31 = sext i32 %sv_3.2.ph.reload to i64\n %32 = add i64 %7, %31\n %33 = sext i32 %28 to i64\n %34 = add i64 %32, %33\n %35 = icmp ugt i64 %34, %8\n br i1 %35, label LBL_10, label LBL_11\n LBL_10:\n %36 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %4, i32 %sv_3.2.ph.reload, i64 %rcx.0.ph.ph.reload, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_11:\n %37 = add i64 %31, %4\n %38 = inttoptr i64 %32 to i64*\n %39 = inttoptr i64 %37 to i64*\n %40 = call i64* @memmove(i64* %38, i64* %39, i32 %28)\n %41 = inttoptr i64 %37 to i8*\n store i8 %69, i8* %41, align 1\n %42 = load i32, i32* %5, align 8\n %43 = add i32 %42, 1\n store i32 %43, i32* %arg2, align 4\n %44 = icmp eq i8 %sv_0.0.reload, 62\n %45 = zext i1 %44 to i32\n %spec.select12 = add i32 %sv_3.2.ph.reload, %45\n store i32 %42, i32* %.reg2mem\n store i32 %spec.select12, i32* %sv_3.2.ph.ph.be.reg2mem\n store i64 %37, i64* %rcx.0.ph.ph.be.reg2mem\n br label LBL_12\n LBL_12:\n %rcx.0.ph.ph.be.reload = load i64, i64* %rcx.0.ph.ph.be.reg2mem\n %sv_3.2.ph.ph.be.reload = load i32, i32* %sv_3.2.ph.ph.be.reg2mem\n %.reload = load i32, i32* %.reg2mem\n store i32 %.reload, i32* %.reg2mem118\n store i8* %11, i8** %sv_2.0.ph.ph.reg2mem\n store i32 %sv_3.2.ph.ph.be.reload, i32* %sv_3.2.ph.ph.reg2mem\n store i8 %sv_1.0.reload, i8* %sv_1.0.ph.ph.reg2mem\n store i8 %sv_0.0.reload, i8* %sv_0.0.ph.ph.reg2mem\n store i64 %rcx.0.ph.ph.be.reload, i64* %rcx.0.ph.ph.reg2mem\n br label LBL_19\n LBL_13:\n %46 = icmp eq i8 %sv_0.0.reload, 60\n %47 = sext i1 %46 to i32\n %spec.select13 = add i32 %sv_3.2.ph.reload, %47\n %48 = sub i32 %.reload119, %spec.select13\n %49 = icmp slt i32 %spec.select13, 0\n %50 = icmp slt i32 %48, 0\n %or.cond10 = or i1 %49, %50\n br i1 %or.cond10, label LBL_15, label LBL_14\n LBL_14:\n %51 = sext i32 %spec.select13 to i64\n %52 = add i64 %7, %51\n %53 = sext i32 %48 to i64\n %54 = add i64 %52, %53\n %55 = icmp ugt i64 %54, %8\n br i1 %55, label LBL_15, label LBL_16\n LBL_15:\n %56 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %4, i32 %spec.select13, i64 %rcx.0.ph.ph.reload, i64 %2, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_16:\n %57 = add i64 %51, %4\n %58 = inttoptr i64 %57 to i8*\n %59 = load i8, i8* %58, align 1\n %60 = icmp eq i8 %59, %69\n br i1 %60, label LBL_18, label LBL_17\n LBL_17:\n %61 = zext i8 %59 to i64\n %62 = urem i32 %12, 256\n %63 = zext i32 %62 to i64\n %64 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64 %4, i32 %spec.select13, i64 %61, i64 %63, i64 %1)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_22\n LBL_18:\n %65 = inttoptr i64 %57 to i64*\n %66 = inttoptr i64 %52 to i64*\n %67 = call i64* @memmove(i64* %65, i64* %66, i32 %48)\n %68 = add i32 %.reload119, -1\n store i32 %68, i32* %arg2, align 4\n store i32 %.reload119, i32* %.reg2mem\n store i32 %spec.select13, i32* %sv_3.2.ph.ph.be.reg2mem\n store i64 %52, i64* %rcx.0.ph.ph.be.reg2mem\n br label LBL_12\n LBL_19:\n %rcx.0.ph.ph.reload = load i64, i64* %rcx.0.ph.ph.reg2mem\n %sv_0.0.ph.ph.reload = load i8, i8* %sv_0.0.ph.ph.reg2mem\n %sv_1.0.ph.ph.reload = load i8, i8* %sv_1.0.ph.ph.reg2mem\n %sv_3.2.ph.ph.reload = load i32, i32* %sv_3.2.ph.ph.reg2mem\n %sv_2.0.ph.ph.reload = load i8*, i8** %sv_2.0.ph.ph.reg2mem\n %.reload119 = load i32, i32* %.reg2mem118\n store i8* %sv_2.0.ph.ph.reload, i8** %sv_2.0.ph.reg2mem\n store i32 %sv_3.2.ph.ph.reload, i32* %sv_3.2.ph.reg2mem\n store i8 %sv_1.0.ph.ph.reload, i8* %sv_1.0.ph.reg2mem\n store i8 %sv_0.0.ph.ph.reload, i8* %sv_0.0.ph.reg2mem\n br label LBL_20\n LBL_20:\n %sv_0.0.ph.reload = load i8, i8* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i8, i8* %sv_1.0.ph.reg2mem\n %sv_3.2.ph.reload = load i32, i32* %sv_3.2.ph.reg2mem\n %sv_2.0.ph.reload = load i8*, i8** %sv_2.0.ph.reg2mem\n store i8* %sv_2.0.ph.reload, i8** %sv_2.0.reg2mem\n store i8 %sv_1.0.ph.reload, i8* %sv_1.0.reg2mem\n store i8 %sv_0.0.ph.reload, i8* %sv_0.0.reg2mem\n br label LBL_21\n LBL_21:\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %69 = load i8, i8* %sv_2.0.reload, align 1\n %70 = icmp eq i8 %69, 0\n %71 = icmp eq i1 %70, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %71, label LBL_1, label LBL_22\n LBL_22:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %69, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 %sv_3.2.ph.reload, { 0, 1, 2, 3, 6, 4, 5 }\n uselistorder i32 %.reload119, { 4, 3, 2, 1, 0, 5 }\n uselistorder i64 %57, { 1, 0 }\n uselistorder i64 %52, { 0, 2, 1 }\n uselistorder i64 %51, { 1, 0 }\n uselistorder i32 %spec.select13, { 0, 2, 1, 5, 4, 3 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %31, { 1, 0 }\n uselistorder i8 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i8 %18, { 1, 0, 2 }\n uselistorder i8 %15, { 1, 0 }\n uselistorder i8* %11, { 2, 1, 0 }\n uselistorder i8 %sv_0.0.reload, { 3, 5, 4, 2, 0, 1 }\n uselistorder i64 %4, { 5, 0, 6, 1, 4, 3, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %sv_3.2.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_1.0.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i8* %sv_0.0.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_3.2.ph.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rcx.0.ph.ph.be.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_2.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_3.2.ph.reg2mem, { 0, 2, 1 }\n uselistorder i8* %sv_1.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i8* %sv_0.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i8* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i8* %sv_0.0.reg2mem, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i8*, i64, i32, i64, i64, i64)* @debug_print, { 2, 1, 0 }\n uselistorder i8 62, { 1, 2, 0 }\n uselistorder i8 60, { 2, 1, 0 }\n uselistorder i8 105, { 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 0, 4, 3 }\n uselistorder i32* %arg2, { 1, 0 }\n uselistorder label LBL_20, { 1, 0 }\n uselistorder label LBL_12, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "start_frame_2777", "fun_name": "start_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i64\n %storemerge2.in.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 32\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %9, 20\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = add i64 %9, 16\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = call i64 @FUNC(i64 %9, i64 1, i32 %15, i32 %12)\n %17 = add i64 %9, 24\n %18 = inttoptr i64 %17 to i64*\n store i64 %16, i64* %18, align 8\n %19 = call i64 @FUNC(i64 %16, i64 %0)\n %20 = inttoptr i64 %4 to i64*\n %21 = add i64 %16, 32\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %22 = load i32, i32* %11, align 4\n %23 = icmp ne i64 %indvars.iv.reload, 1\n %24 = icmp eq i64 %indvars.iv.reload, 2\n %25 = icmp eq i1 %24, false\n %or.cond = icmp eq i1 %23, %25\n store i32 %22, i32* %storemerge2.in.reg2mem\n br i1 %or.cond, label LBL_3, label LBL_2\n LBL_2:\n %26 = load i64, i64* %20, align 8\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = urem i32 %28, 32\n %30 = ashr i32 %22, %29\n store i32 %30, i32* %storemerge2.in.reg2mem\n br label LBL_3\n LBL_3:\n %31 = mul i64 %indvars.iv.reload, 8\n %32 = add i64 %31, %16\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = icmp eq i64 %34, 0\n br i1 %35, label LBL_7, label LBL_4\n LBL_4:\n %storemerge2.in.reload = load i32, i32* %storemerge2.in.reg2mem\n %36 = mul i64 %indvars.iv.reload, 4\n %37 = add i64 %21, %36\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %39, 0\n %41 = icmp slt i32 %39, 0\n %42 = icmp eq i1 %41, false\n %43 = icmp eq i1 %40, false\n %44 = icmp eq i1 %42, %43\n store i64 0, i64* %storemerge1.reg2mem\n br i1 %44, label LBL_6, label LBL_5\n LBL_5:\n %45 = add i32 %storemerge2.in.reload, -1\n %46 = mul i32 %39, %45\n %47 = sext i32 %46 to i64\n store i64 %47, i64* %storemerge1.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %48 = add i64 %storemerge1.reload, %34\n %49 = sub i32 0, %39\n %50 = icmp slt i32 %49, 0\n %51 = icmp eq i1 %50, false\n %52 = select i1 %51, i32 %49, i32 %39\n %53 = mul i32 %52, %storemerge2.in.reload\n %54 = inttoptr i64 %48 to i64*\n %55 = call i64* @memset(i64* %54, i32 0, i32 %53)\n br label LBL_7\n LBL_7:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 4\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_1\n LBL_8:\n %56 = load i64, i64* %20, align 8\n %57 = add i64 %56, 4\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = urem i32 %59, 4\n %61 = icmp eq i32 %60, 0\n br i1 %61, label LBL_10, label LBL_9\n LBL_9:\n %62 = add i64 %16, 8\n %63 = inttoptr i64 %62 to i64*\n %64 = load i64, i64* %63, align 8\n %65 = inttoptr i64 %64 to i64*\n %66 = call i64* @memcpy(i64* %65, i64* %65, i32 1024)\n br label LBL_10\n LBL_10:\n %67 = call i64 @FUNC(i64 %16, i64 4294967295)\n %68 = call i64 @FUNC(i64 %9, i64 %67)\n ret i64 %68\n\n uselistorder i32 %39, { 2, 1, 0, 4, 3 }\n uselistorder i32 %storemerge2.in.reload, { 1, 0 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 4, 3, 1, 2 }\n uselistorder i64 %16, { 2, 3, 0, 1, 4, 5 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge2.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 2, 1, 0 }\n uselistorder i1 false, { 2, 3, 1, 0 }\n uselistorder i64 1, { 1, 0, 2 }\n uselistorder i64 8, { 1, 0, 2 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "git_configset_get_int_50", "fun_name": "git_configset_get_int", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i8* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64* nonnull %sv_0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = load i64, i64* %sv_0, align 8\n %7 = call i64 @FUNC(i64 %0, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = bitcast i64* %arg3 to i32*\n store i32 %8, i32* %9, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "afs_rx_discard_new_call_3949", "fun_name": "afs_rx_discard_new_call", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = inttoptr i64 %arg2 to i64*\n store i64 0, i64* %0, align 8\n %1 = call i64 @FUNC(i64 %arg2)\n ret i64 %1\n\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "trak_Size_9837", "fun_name": "trak_Size", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_4, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = and i64 %2, 4294967295\n store i64 %5, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_3:\n %6 = add i64 %0, 56\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = add i64 %8, %0\n store i64 %9, i64* %7, align 8\n br label LBL_4\n LBL_4:\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_8, label LBL_5\n LBL_5:\n %14 = call i64 @FUNC(i64 %12)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_7, label LBL_6\n LBL_6:\n %17 = and i64 %14, 4294967295\n store i64 %17, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_7:\n %18 = add i64 %0, 56\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = load i64, i64* %11, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %23, %20\n store i64 %24, i64* %19, align 8\n br label LBL_8\n LBL_8:\n %25 = add i64 %0, 16\n %26 = inttoptr i64 %25 to i64*\n %27 = load i64, i64* %26, align 8\n %28 = icmp eq i64 %27, 0\n br i1 %28, label LBL_12, label LBL_9\n LBL_9:\n %29 = call i64 @FUNC(i64 %27)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n br i1 %31, label LBL_11, label LBL_10\n LBL_10:\n %32 = and i64 %29, 4294967295\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_11:\n %33 = add i64 %0, 56\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = load i64, i64* %26, align 8\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = add i64 %38, %35\n store i64 %39, i64* %34, align 8\n br label LBL_12\n LBL_12:\n %40 = add i64 %0, 24\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n br i1 %43, label LBL_16, label LBL_13\n LBL_13:\n %44 = call i64 @FUNC(i64 %42)\n %45 = trunc i64 %44 to i32\n %46 = icmp eq i32 %45, 0\n br i1 %46, label LBL_15, label LBL_14\n LBL_14:\n %47 = and i64 %44, 4294967295\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_15:\n %48 = add i64 %0, 56\n %49 = inttoptr i64 %48 to i64*\n %50 = load i64, i64* %49, align 8\n %51 = load i64, i64* %41, align 8\n %52 = inttoptr i64 %51 to i64*\n %53 = load i64, i64* %52, align 8\n %54 = add i64 %53, %50\n store i64 %54, i64* %49, align 8\n br label LBL_16\n LBL_16:\n %55 = add i64 %0, 32\n %56 = inttoptr i64 %55 to i64*\n %57 = load i64, i64* %56, align 8\n %58 = icmp eq i64 %57, 0\n br i1 %58, label LBL_20, label LBL_17\n LBL_17:\n %59 = call i64 @FUNC(i64 %57)\n %60 = trunc i64 %59 to i32\n %61 = icmp eq i32 %60, 0\n br i1 %61, label LBL_19, label LBL_18\n LBL_18:\n %62 = and i64 %59, 4294967295\n store i64 %62, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_19:\n %63 = add i64 %0, 56\n %64 = inttoptr i64 %63 to i64*\n %65 = load i64, i64* %64, align 8\n %66 = load i64, i64* %56, align 8\n %67 = inttoptr i64 %66 to i64*\n %68 = load i64, i64* %67, align 8\n %69 = add i64 %68, %65\n store i64 %69, i64* %64, align 8\n br label LBL_20\n LBL_20:\n %70 = add i64 %0, 40\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = icmp eq i64 %72, 0\n br i1 %73, label LBL_24, label LBL_21\n LBL_21:\n %74 = call i64 @FUNC(i64 %72)\n %75 = trunc i64 %74 to i32\n %76 = icmp eq i32 %75, 0\n br i1 %76, label LBL_23, label LBL_22\n LBL_22:\n %77 = and i64 %74, 4294967295\n store i64 %77, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_23:\n %78 = add i64 %0, 56\n %79 = inttoptr i64 %78 to i64*\n %80 = load i64, i64* %79, align 8\n %81 = load i64, i64* %71, align 8\n %82 = inttoptr i64 %81 to i64*\n %83 = load i64, i64* %82, align 8\n %84 = add i64 %83, %80\n store i64 %84, i64* %79, align 8\n br label LBL_24\n LBL_24:\n %85 = add i64 %0, 48\n %86 = inttoptr i64 %85 to i64*\n %87 = load i64, i64* %86, align 8\n %88 = icmp eq i64 %87, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %88, label LBL_28, label LBL_25\n LBL_25:\n %89 = call i64 @FUNC(i64 %87)\n %90 = trunc i64 %89 to i32\n %91 = icmp eq i32 %90, 0\n br i1 %91, label LBL_27, label LBL_26\n LBL_26:\n %92 = and i64 %89, 4294967295\n store i64 %92, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_27:\n %93 = add i64 %0, 56\n %94 = inttoptr i64 %93 to i64*\n %95 = load i64, i64* %94, align 8\n %96 = load i64, i64* %86, align 8\n %97 = inttoptr i64 %96 to i64*\n %98 = load i64, i64* %97, align 8\n %99 = add i64 %98, %95\n store i64 %99, i64* %94, align 8\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_28:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 8, 9, 7, 10, 6, 11, 5, 12, 4, 13, 3, 14, 0, 1, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 9, 1, 8, 7, 6, 5, 4, 3 }\n uselistorder i64 (i64)* @gf_isom_box_size, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_28, { 1, 2, 0, 3, 4, 5, 6, 7, 8 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_user_6255", "fun_name": "free_user", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = add i64 %arg1, 4\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %arg1)\n ret i64 %2\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_hv_vapic_msr_write_8544", "fun_name": "kvm_hv_vapic_msr_write", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %4, label LBL_1, label LBL_4\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 2096\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = udiv i64 %arg3, 4294967296\n %10 = call i64 @FUNC(i64 %0, i64 2097, i64 %9)\n br label LBL_3\n LBL_3:\n %11 = and i64 %arg3, 4294967295\n %12 = and i64 %5, 4294967295\n %13 = call i64 @FUNC(i64 %0, i64 %12, i64 %11)\n store i64 %13, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64, i64, i64)* @apic_reg_write, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 %arg3, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "init_tg_cfs_entry_5278", "fun_name": "init_tg_cfs_entry", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = and i64 %arg4, 4294967295\n %4 = call i64 @FUNC(i64 %3)\n store i64 %2, i64* %arg2, align 8\n %5 = add i64 %1, 8\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = call i64 @FUNC(i64 %1)\n %sext = mul i64 %arg4, 4294967296\n %8 = ashr exact i64 %sext, 29\n %9 = add i64 %8, %1\n %10 = inttoptr i64 %9 to i64*\n store i64 %1, i64* %10, align 8\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, %8\n %15 = inttoptr i64 %14 to i64*\n store i64 %0, i64* %15, align 8\n %16 = icmp eq i64* %arg3, null\n br i1 %16, label LBL_4, label LBL_1\n LBL_1:\n %17 = ptrtoint i64* %arg5 to i64\n %18 = icmp eq i64* %arg5, null\n %19 = icmp eq i1 %18, false\n store i64 %4, i64* %storemerge.reg2mem\n br i1 %19, label LBL_2, label LBL_3\n LBL_2:\n %20 = add i64 %17, 8\n %21 = inttoptr i64 %20 to i64*\n %22 = load i64, i64* %21, align 8\n store i64 %22, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n store i64 %storemerge.reload, i64* %arg3, align 8\n %23 = add i64 %0, 8\n %24 = inttoptr i64 %23 to i64*\n store i64 %1, i64* %24, align 8\n %25 = add i64 %0, 16\n %26 = call i64 @FUNC(i64 %25, i64 0)\n %27 = add i64 %0, 24\n %28 = inttoptr i64 %27 to i64*\n store i64 %17, i64* %28, align 8\n br label LBL_4\n LBL_4:\n ret i64 %0\n\n uselistorder i64 %1, { 1, 2, 0, 3, 4 }\n uselistorder i64 %0, { 0, 2, 1, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ecm_state_change_8822", "fun_name": "ecm_state_change", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i8*\n %sext = mul i64 %arg2, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n store i64 %1, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0.0.reg2mem\n switch i32 %trunc, label LBL_8 [\n i32 0, label LBL_9\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n i32 5, label LBL_5\n i32 6, label LBL_6\n i32 7, label LBL_7\n ]\n LBL_1:\n store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_2:\n store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_3:\n store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_3, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_4:\n store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_5:\n store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_6:\n store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_6, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_7:\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_8:\n store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_8, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_9, i64 0, i64 0), i8* nonnull %sv_0.0.reload)\n %3 = sext i32 %2 to i64\n ret i64 %3\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder label LBL_9, { 8, 1, 2, 3, 4, 5, 6, 7, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nfc_stop_poll_5951", "fun_name": "nfc_stop_poll", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %3)\n %5 = call i64 @FUNC(i64 %2)\n %6 = trunc i64 %1 to i8\n %7 = icmp eq i8 %6, 0\n store i64 4294967277, i64* %sv_0.0.reg2mem\n br i1 %7, label LBL_1, label LBL_3\n LBL_1:\n %8 = add i64 %2, 1\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = icmp eq i8 %10, 1\n store i64 4294967274, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_2, label LBL_3\n LBL_2:\n store i8 0, i8* %9, align 1\n %12 = add i64 %2, 16\n %13 = inttoptr i64 %12 to i32*\n store i32 0, i32* %13, align 4\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %14 = call i64 @FUNC(i64 %2)\n ret i64 %sv_0.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tx3g_dump_style_nobox_10209", "fun_name": "tx3g_dump_style_nobox", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i32* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.reg2mem12 = alloca i32\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = inttoptr i64 %arg1 to %_IO_FILE*\n %3 = call i32 @fwrite(i64* bitcast ([8 x i8]* @gv_0 to i64*), i32 1, i32 7, %_IO_FILE* %2)\n %4 = trunc i64 %1 to i32\n %.pre5 = ptrtoint i32* %arg2 to i64\n %.pre7 = add i64 %.pre5, 4\n %.pre9 = inttoptr i64 %.pre7 to i32*\n %.pre11 = load i32, i32* %.pre9, align 4\n %5 = or i32 %.pre11, %4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %arg4, 4294967295\n %8 = ptrtoint i32* %arg3 to i64\n %9 = call i64 @FUNC(i64 %arg1, i32 %4, i32 %.pre11, i64 %8, i64 %7)\n br label LBL_2\n LBL_2:\n %10 = call i32 @fwrite(i64* bitcast ([9 x i8]* @gv_1 to i64*), i32 1, i32 8, %_IO_FILE* %2)\n %11 = add i64 %.pre5, 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i32 @fwrite(i64* bitcast ([7 x i8]* @gv_2 to i64*), i32 1, i32 6, %_IO_FILE* %2)\n br label LBL_10\n LBL_4:\n %17 = urem i32 %13, 2\n %18 = icmp eq i32 %17, 0\n store i32 %13, i32* %.reg2mem\n br i1 %18, label LBL_6, label LBL_5\n LBL_5:\n %19 = call i32 @fwrite(i64* bitcast ([6 x i8]* @gv_3 to i64*), i32 1, i32 5, %_IO_FILE* %2)\n %.pre = load i32, i32* %12, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_6\n LBL_6:\n %.reload = load i32, i32* %.reg2mem\n %20 = and i32 %.reload, 2\n %21 = icmp eq i32 %20, 0\n store i32 %.reload, i32* %.reg2mem12\n br i1 %21, label LBL_8, label LBL_7\n LBL_7:\n %22 = call i32 @fwrite(i64* bitcast ([8 x i8]* @gv_4 to i64*), i32 1, i32 7, %_IO_FILE* %2)\n %.pre4 = load i32, i32* %12, align 4\n store i32 %.pre4, i32* %.reg2mem12\n br label LBL_8\n LBL_8:\n %.reload13 = load i32, i32* %.reg2mem12\n %23 = and i32 %.reload13, 4\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_10, label LBL_9\n LBL_9:\n %25 = call i32 @fwrite(i64* bitcast ([12 x i8]* @gv_5 to i64*), i32 1, i32 11, %_IO_FILE* %2)\n br label LBL_10\n LBL_10:\n %26 = add i64 %.pre5, 16\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = zext i32 %28 to i64\n %30 = add i64 %.pre5, 12\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = zext i32 %32 to i64\n %34 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %2, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_6, i64 0, i64 0), i64 %33, i64 %29)\n %35 = add i64 %.pre5, 20\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_7, i64 0, i64 0), i32 %37)\n %39 = call i32 @fwrite(i64* bitcast ([4 x i8]* @gv_8 to i64*), i32 1, i32 3, %_IO_FILE* %2)\n %40 = sext i32 %39 to i64\n ret i64 %40\n\n uselistorder i32 %.pre11, { 1, 0 }\n uselistorder i64 %.pre5, { 0, 2, 1, 3, 4 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder %_IO_FILE* %2, { 1, 2, 5, 4, 3, 0, 6, 7 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem12, { 0, 2, 1 }\n uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 2, 1, 0 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "machine_halt_17691", "fun_name": "machine_halt", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n br label LBL_1\n LBL_1:\n br label LBL_1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "base_sock_create_19042", "fun_name": "base_sock_create", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 1\n store i64 1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = and i64 %arg4, 4294967295\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5, i64 0, i64 0, i64* nonnull @gv_0, i64 %4)\n %sext5 = mul i64 %6, 4294967296\n %7 = icmp eq i64 %sext5, 0\n %8 = icmp eq i1 %7, false\n store i64 2, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = ptrtoint i64* %arg2 to i64\n %10 = ashr exact i64 %sext5, 32\n %11 = inttoptr i64 %10 to i32*\n %12 = call i64 @FUNC(i64 %9, i64 %10)\n %13 = add i64 %9, 16\n %14 = inttoptr i64 %13 to i64*\n store i64 ptrtoint (i64* @gv_1 to i64), i64* %14, align 8\n %15 = add i64 %9, 24\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n %17 = call i64 @FUNC(i64 %10, i64 1)\n %18 = trunc i64 %arg3 to i32\n store i32 %18, i32* %11, align 4\n %19 = add nsw i64 %10, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 1, i32* %20, align 4\n %21 = call i64 @FUNC(i64* nonnull @gv_2, i64 %10)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unit_create_cgroups_4319", "fun_name": "unit_create_cgroups", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rdi.03.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64* %arg1, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @gv_1, i64 0, i64 0), i32 56, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %8, label LBL_3, label LBL_14\n LBL_3:\n %9 = add i64 %5, 16\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = call i64 @FUNC(i64 %13, i64 %6, i64 %5)\n %15 = trunc i64 %14 to i32\n %16 = icmp slt i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = sub i32 0, %15\n %19 = call i8* @strerror(i32 %18)\n %20 = ptrtoint i8* %19 to i64\n %21 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %6, i64 %20, i64 %6, i64 %2, i64 %1)\n %22 = inttoptr i64 %6 to i64*\n call void @free(i64* %22)\n %23 = and i64 %14, 4294967295\n store i64 %23, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_5:\n %sext = mul i64 %arg2, 4294967296\n %24 = ashr exact i64 %sext, 32\n %25 = and i64 %24, 4294967295\n %26 = call i64 @FUNC(i64 %25, i64 %6)\n %27 = trunc i64 %26 to i32\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_7, label LBL_6\n LBL_6:\n %30 = sub i32 0, %27\n %31 = call i8* @strerror(i32 %30)\n %32 = ptrtoint i8* %31 to i64\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_4, i64 0, i64 0), i64 %6, i64 %32, i64 %6, i64 %2, i64 %1)\n store i64 ptrtoint ([31 x i8]* @gv_4 to i64), i64* %rdi.03.reg2mem\n br label LBL_8\n LBL_7:\n %34 = icmp eq i64 %25, 0\n store i64 %25, i64* %rdi.03.reg2mem\n store i64 0, i64* %rdi.1.reg2mem\n br i1 %34, label LBL_11, label LBL_8\n LBL_8:\n %rdi.03.reload = load i64, i64* %rdi.03.reg2mem\n %35 = call i64 @FUNC(i64 %6, i64 %rdi.03.reload)\n %36 = trunc i64 %35 to i8\n %37 = icmp eq i8 %36, 1\n store i64 %6, i64* %rdi.1.reg2mem\n br i1 %37, label LBL_11, label LBL_9\n LBL_9:\n %38 = call i64 @FUNC(i64 %25, i64 %6, i64 %6)\n %39 = trunc i64 %38 to i32\n %40 = icmp slt i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %25, i64* %rdi.1.reg2mem\n br i1 %41, label LBL_11, label LBL_10\n LBL_10:\n %42 = sub i32 0, %39\n %43 = call i8* @strerror(i32 %42)\n %44 = ptrtoint i8* %43 to i64\n %45 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_5, i64 0, i64 0), i64 %6, i64 %44, i64 %6, i64 %2, i64 %1)\n store i64 ptrtoint ([32 x i8]* @gv_5 to i64), i64* %rdi.1.reg2mem\n br label LBL_11\n LBL_11:\n %46 = icmp eq i32 %15, 0\n br i1 %46, label LBL_13, label LBL_12\n LBL_12:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %47 = inttoptr i64 %rdi.1.reload to i64*\n call void @free(i64* %47)\n store i64 %6, i64* %arg1, align 8\n br label LBL_13\n LBL_13:\n %48 = add i64 %5, 8\n %49 = inttoptr i64 %48 to i8*\n store i8 1, i8* %49, align 1\n %50 = trunc i64 %24 to i32\n %51 = add i64 %5, 12\n %52 = inttoptr i64 %51 to i32*\n store i32 %50, i32* %52, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_14\n LBL_14:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %25, { 0, 3, 1, 2, 4 }\n uselistorder i32 %15, { 2, 1, 0 }\n uselistorder i64 %6, { 11, 6, 7, 8, 9, 0, 10, 4, 5, 12, 3, 1, 2, 13, 14 }\n uselistorder i64 %5, { 0, 1, 3, 2, 4 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder [32 x i8]* @gv_5, { 1, 0 }\n uselistorder i8 1, { 1, 0 }\n uselistorder [31 x i8]* @gv_4, { 1, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @log_error, { 2, 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_14, { 1, 2, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__nlmsg_put_5694", "fun_name": "__nlmsg_put", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = trunc i64 %arg3 to i32\n %3 = trunc i64 %arg5 to i32\n %4 = trunc i64 %arg6 to i32\n %5 = add i32 %3, 16\n %6 = add i64 %arg5, 19\n %7 = and i64 %6, 4294967292\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %9 = trunc i64 %arg4 to i16\n %10 = add i64 %8, 2\n %11 = inttoptr i64 %10 to i16*\n store i16 %9, i16* %11, align 2\n %12 = trunc i32 %5 to i16\n %13 = inttoptr i64 %8 to i16*\n store i16 %12, i16* %13, align 2\n %14 = add i64 %8, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %4, i32* %15, align 4\n %16 = add i64 %8, 12\n %17 = inttoptr i64 %16 to i32*\n store i32 %1, i32* %17, align 4\n %18 = add i64 %8, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %2, i32* %19, align 4\n %20 = add i32 %3, 19\n %21 = and i32 %20, -4\n %22 = sub i32 %21, %5\n %sext = mul i64 %arg5, 4294967296\n %23 = ashr exact i64 %sext, 32\n %24 = add nsw i64 %23, 16\n %25 = add i64 %24, %8\n %26 = inttoptr i64 %25 to i64*\n %27 = call i64* @memset(i64* %26, i32 0, i32 %22)\n ret i64 %8\n\n uselistorder i32 %5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xilinx_axidma_realize_17304", "fun_name": "xilinx_axidma_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 16\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %2 = mul nuw nsw i64 %indvars.iv.reload, 24\n %3 = add i64 %1, %2\n %4 = inttoptr i64 %3 to i32*\n %5 = trunc i64 %indvars.iv.reload to i32\n store i32 %5, i32* %4, align 4\n %6 = add i64 %3, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 0, i64* %7, align 8\n %8 = add i64 %3, 16\n %9 = inttoptr i64 %8 to i64*\n store i64 0, i64* %9, align 8\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 2\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %3\n\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ext4_ext_put_gap_in_cache_4914", "fun_name": "ext4_ext_put_gap_in_cache", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0.0.shrunk.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i32* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n %sext = mul i64 %6, 4294967296\n %7 = ashr exact i64 %sext, 29\n %8 = add i64 %7, %4\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = icmp eq i64 %10, 0\n %12 = icmp eq i1 %11, false\n br i1 %12, label LBL_2, label LBL_1\n LBL_1:\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i64 %4, i64 %7, i64 %3, i64 %2, i64 %1)\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 -1, i32* %sv_0.0.shrunk.reg2mem\n br label LBL_9\n LBL_2:\n %14 = inttoptr i64 %10 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %16)\n %18 = trunc i64 %17 to i32\n %19 = icmp ugt i32 %18, %arg3\n %20 = icmp eq i1 %19, false\n %21 = load i32, i32* %14, align 4\n %22 = zext i32 %21 to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n br i1 %20, label LBL_4, label LBL_3\n LBL_3:\n %25 = sub i32 %24, %arg3\n %26 = call i64 @FUNC(i64 %10)\n %27 = load i32, i32* %14, align 4\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n %30 = and i64 %29, 4294967295\n %31 = and i64 %26, 4294967295\n %32 = zext i32 %arg3 to i64\n %33 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i64 %32, i64 %30, i64 %31, i64 %2, i64 %1)\n store i32 %arg3, i32* %sv_1.0.reg2mem\n store i32 %25, i32* %sv_0.0.shrunk.reg2mem\n store i64 %31, i64* %rcx.0.reg2mem\n br label LBL_9\n LBL_4:\n %34 = call i64 @FUNC(i64 %10)\n %35 = trunc i64 %34 to i32\n %36 = add i32 %35, %24\n %37 = icmp ugt i32 %36, %arg3\n br i1 %37, label LBL_8, label LBL_5\n LBL_5:\n %38 = load i32, i32* %14, align 4\n %39 = zext i32 %38 to i64\n %40 = call i64 @FUNC(i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = call i64 @FUNC(i64 %10)\n %43 = trunc i64 %42 to i32\n %44 = add i32 %43, %41\n %45 = call i64 @FUNC(i64 %4)\n %46 = trunc i64 %45 to i32\n %47 = call i64 @FUNC(i64 %10)\n %48 = load i32, i32* %14, align 4\n %49 = zext i32 %48 to i64\n %50 = call i64 @FUNC(i64 %49)\n %51 = and i64 %50, 4294967295\n %52 = zext i32 %arg3 to i64\n %53 = and i64 %47, 4294967295\n %54 = call i64 @FUNC(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_2, i64 0, i64 0), i64 %51, i64 %53, i64 %52, i64 %2, i64 %1)\n %55 = icmp eq i32 %44, %46\n %56 = icmp eq i1 %55, false\n br i1 %56, label LBL_7, label LBL_6\n LBL_6:\n %57 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %58 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_4 to i64*), i32 1, i32 14, %_IO_FILE* %57)\n call void @exit(i32 1)\n unreachable\n LBL_7:\n %59 = sub i32 %46, %44\n store i32 %44, i32* %sv_1.0.reg2mem\n store i32 %59, i32* %sv_0.0.shrunk.reg2mem\n store i64 %52, i64* %rcx.0.reg2mem\n br label LBL_9\n LBL_8:\n %60 = load %_IO_FILE*, %_IO_FILE** @gv_3, align 8\n %61 = call i32 @fwrite(i64* bitcast ([15 x i8]* @gv_4 to i64*), i32 1, i32 14, %_IO_FILE* %60)\n call void @exit(i32 1)\n unreachable\n LBL_9:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %sv_0.0.shrunk.reload = load i32, i32* %sv_0.0.shrunk.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.0 = zext i32 %sv_0.0.shrunk.reload to i64\n %62 = zext i32 %sv_1.0.reload to i64\n %63 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_5, i64 0, i64 0), i64 %62, i64 %sv_0.0, i64 %rcx.0.reload, i64 %2, i64 %1)\n %64 = call i64 @FUNC(i64 %5, i32 %sv_1.0.reload, i64 %sv_0.0, i64 0)\n ret i64 %64\n\n uselistorder i64 %sv_0.0, { 1, 0 }\n uselistorder i32 %sv_1.0.reload, { 1, 0 }\n uselistorder i32* %14, { 1, 2, 0, 3, 4 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i64 %4, { 2, 1, 0 }\n uselistorder i64 %2, { 3, 2, 1, 0 }\n uselistorder i64 %1, { 3, 2, 1, 0 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %sv_0.0.shrunk.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder void (i32)* @exit, { 1, 0 }\n uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fwrite, { 1, 0 }\n uselistorder %_IO_FILE** @gv_3, { 2, 1, 0 }\n uselistorder i64 4294967295, { 1, 2, 3, 4, 0, 5 }\n uselistorder i64 (i64)* @ext4_ext_get_actual_len, { 3, 2, 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 4, 3, 1, 2, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @ext_debug, { 3, 2, 1, 0 }\n uselistorder i32 %arg3, { 5, 1, 0, 3, 4, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "put_mnt_ns_10013", "fun_name": "put_mnt_ns", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = call i64 @FUNC(i64 %arg1)\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n store i64 %0, i64* %rax.0.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64* nonnull @gv_0)\n %4 = call i64 @FUNC(i64* nonnull @gv_1)\n %5 = add i64 %arg1, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = call i64 @FUNC(i64 %7, i64 0, i64* nonnull %sv_0)\n %9 = call i64 @FUNC(i64* nonnull @gv_1)\n %10 = call i64 @FUNC(i64* nonnull @gv_0)\n %11 = call i64 @FUNC(i64* nonnull %sv_0)\n %12 = call i64 @FUNC(i64 %arg1)\n store i64 %12, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wddx_stack_destroy_12581", "fun_name": "wddx_stack_destroy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.1.lcssa.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %rdi.14.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_6, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %storemerge5.reg2mem\n store i64 %1, i64* %rdi.14.reg2mem\n store i64 %1, i64* %rdi.1.lcssa.reg2mem\n br i1 %5, label LBL_5, label LBL_2\n LBL_2:\n %rdi.14.reload = load i64, i64* %rdi.14.reg2mem\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %sext = mul i64 %storemerge5.reload, 4294967296\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %6, %rdi.14.reload\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %9, %6\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %13, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %16, 0\n store i64 %13, i64* %.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %16)\n %.pre = add i64 %16, %6\n %.pre6 = inttoptr i64 %.pre to i64*\n %.pre8 = load i64, i64* %.pre6, align 8\n store i64 %.pre8, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %19 = call i64 @FUNC(i64 %.reload)\n %20 = add nuw nsw i64 %storemerge5.reload, 1\n %21 = and i64 %20, 4294967295\n %22 = load i32, i32* %3, align 4\n %23 = zext i32 %22 to i64\n %24 = icmp ult i64 %21, %23\n store i64 %21, i64* %storemerge5.reg2mem\n store i64 %.reload, i64* %rdi.14.reg2mem\n store i64 %.reload, i64* %rdi.1.lcssa.reg2mem\n br i1 %24, label LBL_2, label LBL_5\n LBL_5:\n %rdi.1.lcssa.reload = load i64, i64* %rdi.1.lcssa.reg2mem\n %25 = call i64 @FUNC(i64 %rdi.1.lcssa.reload)\n br label LBL_6\n LBL_6:\n ret i64 0\n\n uselistorder i64 %.reload, { 0, 2, 1 }\n uselistorder i64 %6, { 0, 2, 1 }\n uselistorder i32* %3, { 1, 0 }\n uselistorder i64* %storemerge5.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @efree, { 0, 2, 1 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "writev_f_3115", "fun_name": "writev_f", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.0.ph8.reg2mem = alloca i32\n %sv_1.0.ph7.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.ph.reg2mem = alloca i32\n %sv_2.0.ph.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i32, align 4\n %sv_6 = alloca i32, align 4\n %sext = mul i64 %arg1, 4294967296\n %5 = ashr exact i64 %sext, 32\n store i32 0, i32* %sv_6, align 4\n %6 = trunc i64 %5 to i32\n %7 = inttoptr i64 %arg2 to i8**\n store i32 205, i32* %sv_2.0.ph.reg2mem\n store i32 0, i32* %sv_1.0.ph.reg2mem\n store i32 0, i32* %sv_0.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_1.0.ph.reload = load i32, i32* %sv_1.0.ph.reg2mem\n %sv_2.0.ph.reload = load i32, i32* %sv_2.0.ph.reg2mem\n store i32 %sv_1.0.ph.reload, i32* %sv_1.0.ph7.reg2mem\n store i32 %sv_0.0.ph.reload, i32* %sv_0.0.ph8.reg2mem\n br label LBL_16\n LBL_2:\n %8 = icmp eq i32 %16, 113\n store i32 1, i32* %sv_1.0.ph7.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.0.ph8.reg2mem\n br i1 %8, label LBL_16, label LBL_4\n LBL_3:\n %sv_0.0.ph8.reload = load i32, i32* %sv_0.0.ph8.reg2mem\n %sv_1.0.ph7.reload = load i32, i32* %sv_1.0.ph7.reg2mem\n store i32 %sv_0.0.ph8.reload, i32* %sv_0.0.reg2mem\n br label LBL_8\n LBL_4:\n %9 = icmp sgt i32 %16, 113\n br i1 %9, label LBL_7, label LBL_5\n LBL_5:\n store i32 1, i32* %sv_0.0.reg2mem\n switch i32 %16, label LBL_7 [\n i32 67, label LBL_8\n i32 80, label LBL_6\n ]\n LBL_6:\n %10 = load i64, i64* @gv_0, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n store i32 %12, i32* %sv_2.0.ph.reg2mem\n store i32 %sv_1.0.ph7.reload, i32* %sv_1.0.ph.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.0.ph.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_1, label LBL_21\n LBL_7:\n %15 = call i64 @FUNC(i64 4210828)\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_8:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %16 = call i32 @getopt(i32 %6, i8** %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %17 = icmp eq i32 %16, -1\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_2, label LBL_9\n LBL_9:\n %19 = add nsw i64 %5, 4294967295\n %20 = and i64 %19, 4294967295\n %21 = load i32, i32* @gv_2, align 4\n %22 = zext i32 %21 to i64\n %23 = icmp ugt i64 %20, %22\n br i1 %23, label LBL_11, label LBL_10\n LBL_10:\n %24 = call i64 @FUNC(i64 ptrtoint (i64* @gv_3 to i64))\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_11:\n %25 = sext i32 %21 to i64\n %26 = mul i64 %25, 8\n %27 = add i64 %26, %arg2\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29)\n %31 = icmp slt i64 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_13, label LBL_12\n LBL_12:\n %33 = load i32, i32* @gv_2, align 4\n %34 = sext i32 %33 to i64\n %35 = mul i64 %34, 8\n %36 = add i64 %35, %arg2\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = inttoptr i64 %38 to i8*\n %40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_4, i64 0, i64 0), i8* %39)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_13:\n %41 = trunc i64 %30 to i32\n store i32 ptrtoint (i32* @gv_5 to i32), i32* @gv_2, align 4\n %42 = urem i32 %41, 512\n %43 = icmp eq i32 %42, 0\n br i1 %43, label LBL_15, label LBL_14\n LBL_14:\n %44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_6, i64 0, i64 0), i32 %41)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_15:\n %45 = sub i32 %6, ptrtoint (i32* @gv_5 to i32)\n %46 = add i64 %arg2, shl (i64 sext (i32 ptrtoint (i32* @gv_5 to i32) to i64), i64 3)\n %47 = bitcast i32* %sv_5 to i64*\n %48 = call i64 @FUNC(i64* nonnull %47, i64 %46, i32 %45, i32 %sv_2.0.ph.reload)\n %49 = icmp eq i64 %48, 0\n %50 = icmp eq i1 %49, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %50, label LBL_16, label LBL_21\n LBL_16:\n %51 = bitcast i64* %sv_4 to %timeval*\n %52 = call i32 @gettimeofday(%timeval* nonnull %51, %timezone* null)\n %sext4 = mul i64 %30, 4294967296\n %53 = ashr exact i64 %sext4, 32\n %54 = call i64 @FUNC(i64* nonnull %47, i64 %53, i32* nonnull %sv_6)\n %55 = trunc i64 %54 to i32\n %56 = bitcast i64* %sv_3 to %timeval*\n %57 = call i32 @gettimeofday(%timeval* nonnull %56, %timezone* null)\n %58 = icmp slt i32 %55, 0\n %59 = icmp eq i1 %58, false\n br i1 %59, label LBL_18, label LBL_17\n LBL_17:\n %60 = sub i32 0, %55\n %61 = call i8* @strerror(i32 %60)\n %62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_7, i64 0, i64 0), i8* %61)\n br label LBL_20\n LBL_18:\n %63 = icmp eq i32 %sv_1.0.ph7.reload, 0\n %64 = icmp eq i1 %63, false\n br i1 %64, label LBL_20, label LBL_19\n LBL_19:\n %65 = load i64, i64* %sv_4, align 8\n %66 = load i64, i64* %sv_3, align 8\n %67 = call i64 @FUNC(i64 %66, i64 %3, i64 %65, i64 %4, i64 %2, i64 %1)\n store i64 %67, i64* %sv_3, align 8\n %68 = load i32, i32* %sv_6, align 4\n %69 = load i32, i32* %sv_5, align 4\n %70 = zext i32 %69 to i64\n %71 = zext i32 %sv_0.0.reload to i64\n %72 = and i64 %54, 4294967295\n %73 = zext i32 %68 to i64\n %74 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_8, i64 0, i64 0), i64* nonnull %sv_3, i64 %53, i64 %70, i64 %73, i64 %72, i64 %71)\n br label LBL_20\n LBL_20:\n %75 = call i64 @FUNC(i64* nonnull %47)\n %76 = call i64 @FUNC(i64 %48)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_21\n LBL_21:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %41, { 1, 0 }\n uselistorder i32 %16, { 3, 2, 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 0, 2, 1 }\n uselistorder i32* %sv_6, { 1, 0, 2 }\n uselistorder i64* %sv_4, { 1, 0 }\n uselistorder i64* %sv_3, { 0, 2, 3, 1 }\n uselistorder i32* %sv_2.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 5, 4, 3, 7, 1 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i32 (%timeval*, %timezone*)* @gettimeofday, { 1, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 2, 3, 1, 0 }\n uselistorder i32* @gv_2, { 2, 1, 0 }\n uselistorder i1 false, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 0, { 4, 7, 8, 9, 10, 1, 21, 3, 11, 12, 2, 13, 14, 22, 15, 16, 0, 17, 18, 23, 5, 6, 19, 20 }\n uselistorder i32 113, { 1, 0 }\n uselistorder i32 0, { 6, 7, 8, 2, 9, 0, 1, 5, 3, 4 }\n uselistorder i32 1, { 4, 7, 15, 12, 14, 13, 11, 10, 9, 8, 6, 5, 3, 2, 1, 0 }\n uselistorder i64 %arg2, { 2, 0, 1, 3 }\n uselistorder label LBL_21, { 2, 1, 3, 4, 6, 5, 0 }\n uselistorder label LBL_20, { 1, 0, 2 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_ctx_consttime_flag_9895", "fun_name": "test_ctx_consttime_flag", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = icmp eq i64 %0, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC()\n %3 = icmp eq i64 %2, 0\n store i64 0, i64* %storemerge2.reg2mem\n store i64 0, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %3, label LBL_5, label LBL_2\n LBL_2:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n %4 = icmp eq i64 %storemerge2.reload, 0\n %5 = icmp eq i1 %4, false\n %storemerge1 = select i1 %5, i64 %2, i64 %0\n %6 = call i64 @FUNC(i64 %storemerge1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n store i64 %2, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC(i64 %storemerge1)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n store i64 %2, i64* %sv_1.0.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_5, label LBL_4\n LBL_4:\n %12 = icmp eq i64 %storemerge2.reload, 1\n store i64 1, i64* %storemerge2.reg2mem\n store i64 %2, i64* %sv_1.0.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_5, label LBL_2\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %13 = call i64 @FUNC(i64 %0)\n %14 = call i64 @FUNC(i64 %sv_1.0.reload)\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %storemerge2.reload, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1, 3, 4 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64 (i64)* @BN_CTX_free, { 1, 0 }\n uselistorder i64 1, { 0, 1, 4, 2, 3 }\n uselistorder i32 0, { 2, 3, 0, 1 }\n uselistorder i32 1, { 2, 1, 0 }\n uselistorder label LBL_5, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "stbtt__new_active_4171", "fun_name": "stbtt__new_active", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %1 = alloca i64\n %rsi = alloca i64, align 8\n %2 = load i64, i64* %1\n %3 = load i128, i128* %0\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i128 %3)\n %6 = call i64 @FUNC(i64 %4, i64 32, i64 %arg4)\n %7 = add i64 %arg2, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = call i128 @__asm_movss.1(i32 %9)\n %11 = trunc i64 %2 to i32\n %12 = call i128 @__asm_movss.1(i32 %11)\n %13 = call i128 @FUNC(i128 %10, i128 %12)\n %14 = add i64 %arg2, 12\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = call i128 @__asm_movss.1(i32 %16)\n %18 = add i64 %arg2, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = call i128 @__asm_movss.1(i32 %20)\n %22 = call i128 @FUNC(i128 %17, i128 %21)\n %23 = call i128 @FUNC(i128 %13, i128 %22)\n %24 = call i64 @FUNC(i128 %23)\n %25 = icmp eq i64 %6, 0\n %26 = icmp eq i1 %25, false\n %27 = zext i1 %26 to i64\n %28 = call i64 @FUNC(i64 %27)\n br i1 %26, label LBL_1, label LBL_2\n LBL_1:\n %29 = inttoptr i64 %6 to i32*\n %30 = trunc i64 %24 to i32\n %31 = bitcast i64* %rsi to i32*\n %32 = trunc i64 %5 to i32\n %33 = call i128 @FUNC(i128 %23, i128 %23)\n call void @FUNC(i128 %33, i32 %30)\n %34 = call i128 @__asm_movss.1(i32 %30)\n %35 = call i128 @__asm_movss.1(i32 -2147483648)\n %36 = call i128 @FUNC(i128 %34, i128 %35)\n %37 = call i32 @FUNC(i128 %36)\n %38 = call i128 @__asm_movd.2(i32 %37)\n %39 = call i64 @FUNC()\n %40 = trunc i64 %39 to i32\n %41 = sub i32 0, %40\n %42 = call i128 @FUNC(i128 %38, i128 %38)\n %43 = call i128 @FUNC(i32 %41)\n %44 = call i64 @FUNC(i128 %43)\n %storemerge = trunc i64 %44 to i32\n store i32 %storemerge, i32* %29, align 4\n %45 = load i32, i32* %31, align 8\n %46 = call i128 @__asm_movss.1(i32 %45)\n %47 = load i32, i32* %29, align 4\n %48 = call i128 @__asm_movss.1(i32 %47)\n %49 = load i32, i32* %19, align 4\n %50 = call i128 @__asm_movss.1(i32 %49)\n %51 = call i128 @__asm_movss.1(i32 %32)\n %52 = call i128 @FUNC(i128 %51, i128 %50)\n %53 = call i128 @FUNC(i128 %52, i128 %48)\n %54 = call i128 @FUNC(i128 %46, i128 %53)\n %55 = call i32 @FUNC(i128 %54)\n %56 = call i128 @__asm_movd.2(i32 %55)\n %57 = call i64 @FUNC()\n %58 = call i128 @FUNC(i128 %56, i128 %56)\n %59 = trunc i64 %57 to i32\n %60 = call i128 @FUNC(i32 %59)\n %61 = call i64 @FUNC(i128 %60)\n %62 = add i64 %6, 4\n %63 = trunc i64 %61 to i32\n %64 = inttoptr i64 %62 to i32*\n store i32 %63, i32* %64, align 4\n %65 = call i128 @__asm_movss.1(i32 %63)\n %66 = call i128 @FUNC(i128 %54, i128 %54)\n %67 = trunc i64 %arg3 to i32\n %68 = call i128 @FUNC(i32 %67)\n %69 = call i128 @FUNC(i128 %65, i128 %68)\n %70 = call i64 @FUNC(i128 %69)\n %71 = trunc i64 %70 to i32\n store i32 %71, i32* %64, align 4\n %72 = load i32, i32* %15, align 4\n %73 = call i128 @__asm_movss.1(i32 %72)\n %74 = call i64 @FUNC(i128 %73)\n %75 = add i64 %6, 8\n %76 = trunc i64 %74 to i32\n %77 = inttoptr i64 %75 to i32*\n store i32 %76, i32* %77, align 4\n %78 = add i64 %6, 16\n %79 = inttoptr i64 %78 to i64*\n store i64 0, i64* %79, align 8\n %80 = add i64 %arg2, 16\n %81 = inttoptr i64 %80 to i32*\n %82 = load i32, i32* %81, align 4\n %83 = icmp eq i32 %82, 0\n %. = select i1 %83, i32 -1, i32 1\n %84 = add i64 %6, 24\n %85 = inttoptr i64 %84 to i32*\n store i32 %., i32* %85, align 4\n br label LBL_2\n LBL_2:\n ret i64 %6\n\n uselistorder i128 %56, { 1, 0 }\n uselistorder i128 %54, { 2, 1, 0 }\n uselistorder i128 %38, { 1, 0 }\n uselistorder i32* %29, { 1, 0 }\n uselistorder i128 %23, { 1, 0, 2 }\n uselistorder i64 %6, { 4, 0, 1, 2, 3, 5, 6 }\n uselistorder i64 ()* @STBTT_ifloor, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cp2112_gpio_set_6648", "fun_name": "cp2112_gpio_set", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %1, 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = add i64 %1, 16\n %8 = call i64 @FUNC(i64 %7)\n %9 = inttoptr i64 %6 to i8*\n store i8 1, i8* %9, align 1\n %10 = trunc i64 %arg3 to i32\n %11 = icmp ne i32 %10, 0\n %. = sext i1 %11 to i8\n %12 = add i64 %6, 1\n %13 = inttoptr i64 %12 to i8*\n store i8 %., i8* %13, align 1\n %14 = trunc i64 %arg2 to i32\n %15 = urem i32 %14, 32\n %16 = icmp eq i32 %15, 0\n %17 = shl i32 1, %15\n %phitmp = trunc i32 %17 to i8\n %storemerge = select i1 %16, i8 1, i8 %phitmp\n %18 = add i64 %6, 2\n %19 = inttoptr i64 %18 to i8*\n store i8 %storemerge, i8* %19, align 1\n %20 = call i64 @FUNC(i64 %3, i64 1, i64 %6, i64 3, i64 1, i64 1)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_2, label LBL_1\n LBL_1:\n %24 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i32 %21)\n br label LBL_2\n LBL_2:\n %25 = call i64 @FUNC(i64 %7)\n ret i64 %25\n\n uselistorder i32 %15, { 1, 0 }\n uselistorder i64 %6, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vga_common_init_14002", "fun_name": "vga_common_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %sv_0.215.reg2mem = alloca i32\n %storemerge616.reg2mem = alloca i32\n %indvars.iv28.reg2mem = alloca i64\n %sv_0.120.reg2mem = alloca i32\n %storemerge921.reg2mem = alloca i32\n %sv_0.018.reg2mem = alloca i32\n %storemerge1119.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n store i64 0, i64* %indvars.iv28.reg2mem\n br label LBL_5\n LBL_1:\n %sv_0.018.reload = load i32, i32* %sv_0.018.reg2mem\n %storemerge1119.reload = load i32, i32* %storemerge1119.reg2mem\n %0 = lshr i32 %18, %storemerge1119.reload\n %1 = urem i32 %0, 2\n %2 = mul i32 %storemerge1119.reload, 4\n %3 = shl i32 %1, %2\n %4 = or i32 %3, %sv_0.018.reload\n %5 = add nuw nsw i32 %storemerge1119.reload, 1\n %exitcond26 = icmp eq i32 %5, 8\n store i32 %5, i32* %storemerge1119.reg2mem\n store i32 %4, i32* %sv_0.018.reg2mem\n br i1 %exitcond26, label LBL_2, label LBL_1\n LBL_2:\n %6 = mul i64 %indvars.iv28.reload, 4\n %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64)\n %8 = inttoptr i64 %7 to i32*\n store i32 %4, i32* %8, align 4\n store i32 0, i32* %storemerge921.reg2mem\n store i32 0, i32* %sv_0.120.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.120.reload = load i32, i32* %sv_0.120.reg2mem\n %storemerge921.reload = load i32, i32* %storemerge921.reg2mem\n %9 = mul i32 %storemerge921.reload, 2\n %10 = ashr i32 %18, %9\n %11 = urem i32 %10, 4\n %12 = mul i32 %storemerge921.reload, 4\n %13 = shl i32 %11, %12\n %14 = or i32 %13, %sv_0.120.reload\n %15 = add nuw nsw i32 %storemerge921.reload, 1\n %exitcond27 = icmp eq i32 %15, 4\n store i32 %15, i32* %storemerge921.reg2mem\n store i32 %14, i32* %sv_0.120.reg2mem\n br i1 %exitcond27, label LBL_4, label LBL_3\n LBL_4:\n %16 = add i64 %6, ptrtoint (i32** @gv_1 to i64)\n %17 = inttoptr i64 %16 to i32*\n store i32 %14, i32* %17, align 4\n %indvars.iv.next29 = add nuw nsw i64 %indvars.iv28.reload, 1\n %exitcond30 = icmp eq i64 %indvars.iv.next29, 256\n store i64 %indvars.iv.next29, i64* %indvars.iv28.reg2mem\n br i1 %exitcond30, label LBL_6, label LBL_5\n LBL_5:\n %indvars.iv28.reload = load i64, i64* %indvars.iv28.reg2mem\n %18 = trunc i64 %indvars.iv28.reload to i32\n store i32 0, i32* %storemerge1119.reg2mem\n store i32 0, i32* %sv_0.018.reg2mem\n br label LBL_1\n LBL_6:\n %19 = ptrtoint i64* %arg2 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_9\n LBL_7:\n %sv_0.215.reload = load i32, i32* %sv_0.215.reg2mem\n %storemerge616.reload = load i32, i32* %storemerge616.reg2mem\n %20 = lshr i32 %32, %storemerge616.reload\n %21 = urem i32 %20, 2\n %22 = mul i32 %storemerge616.reload, 2\n %23 = shl i32 %21, %22\n %24 = or i32 %23, %sv_0.215.reload\n %25 = or i32 %22, 1\n %26 = shl i32 %21, %25\n %27 = or i32 %24, %26\n %28 = add nuw nsw i32 %storemerge616.reload, 1\n %exitcond = icmp eq i32 %28, 4\n store i32 %28, i32* %storemerge616.reg2mem\n store i32 %27, i32* %sv_0.215.reg2mem\n br i1 %exitcond, label LBL_8, label LBL_7\n LBL_8:\n %29 = mul i64 %indvars.iv.reload, 4\n %30 = add i64 %29, ptrtoint (i32** @gv_2 to i64)\n %31 = inttoptr i64 %30 to i32*\n store i32 %27, i32* %31, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond25 = icmp eq i64 %indvars.iv.next, 16\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond25, label LBL_10, label LBL_9\n LBL_9:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %32 = trunc i64 %indvars.iv.reload to i32\n store i32 0, i32* %storemerge616.reg2mem\n store i32 0, i32* %sv_0.215.reg2mem\n br label LBL_7\n LBL_10:\n %33 = ptrtoint i64* %arg1 to i64\n %34 = bitcast i64* %rdi to i32*\n %35 = load i32, i32* %34, align 8\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %36, i64 1, i64 512)\n %38 = trunc i64 %37 to i32\n %39 = bitcast i64* %arg1 to i32*\n store i32 %38, i32* %39, align 4\n %40 = call i64 @FUNC(i64 %36)\n %41 = trunc i64 %40 to i32\n store i32 %41, i32* %39, align 4\n %42 = mul i32 %35, 1048576\n %43 = add i64 %33, 4\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = add i64 %33, 8\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_12, label LBL_11\n LBL_11:\n store i32 %42, i32* %46, align 4\n br label LBL_12\n LBL_12:\n %50 = add i64 %33, 12\n %51 = inttoptr i64 %50 to i32*\n store i32 1, i32* %51, align 4\n %52 = load i32, i32* %44, align 4\n %53 = add i64 %33, 16\n %54 = zext i32 %52 to i64\n %55 = call i64 @FUNC(i64 %53, i64 %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_3, i64 0, i64 0), i64 %54, i64* nonnull @gv_4)\n %56 = trunc i64 %arg3 to i8\n %57 = icmp eq i8 %56, 0\n %58 = icmp eq i1 %57, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %58, label LBL_14, label LBL_13\n LBL_13:\n %59 = call i64 @FUNC(i64 %19)\n store i64 %59, i64* %storemerge.reg2mem\n br label LBL_14\n LBL_14:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %60 = call i64 @FUNC(i64 %53, i64 %storemerge.reload)\n %61 = call i64 @FUNC(i64 %53)\n %62 = call i64 @FUNC(i64 %53)\n %63 = add i64 %33, 24\n %64 = inttoptr i64 %63 to i64*\n store i64 %62, i64* %64, align 8\n %65 = add i64 %33, 32\n %66 = inttoptr i64 %65 to i64*\n store i64 4198816, i64* %66, align 8\n %67 = add i64 %33, 40\n %68 = inttoptr i64 %67 to i64*\n store i64 4198827, i64* %68, align 8\n %69 = add i64 %33, 48\n %70 = inttoptr i64 %69 to i64*\n store i64 4198838, i64* %70, align 8\n %71 = add i64 %33, 56\n %72 = inttoptr i64 %71 to i64*\n store i64 ptrtoint (i64* @gv_5 to i64), i64* %72, align 8\n %73 = load i32, i32* @gv_6, align 4\n switch i32 %73, label LBL_17 [\n i32 0, label LBL_15\n i32 1, label LBL_16\n ]\n LBL_15:\n %74 = add i64 %33, 64\n %75 = inttoptr i64 %74 to i64*\n store i64 4198849, i64* %75, align 8\n %76 = add i64 %33, 72\n %77 = inttoptr i64 %76 to i64*\n store i64 4198856, i64* %77, align 8\n br label LBL_17\n LBL_16:\n %78 = add i64 %33, 64\n %79 = inttoptr i64 %78 to i64*\n store i64 4198863, i64* %79, align 8\n %80 = add i64 %33, 72\n %81 = inttoptr i64 %80 to i64*\n store i64 4198870, i64* %81, align 8\n br label LBL_17\n LBL_17:\n %82 = add i64 %33, 80\n %83 = inttoptr i64 %82 to i8*\n store i8 0, i8* %83, align 1\n %84 = call i64 @FUNC(i64 %33)\n ret i64 %84\n\n uselistorder i32 %42, { 1, 0 }\n uselistorder i64 %33, { 2, 3, 0, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }\n uselistorder i64 %indvars.iv.reload, { 1, 2, 0 }\n uselistorder i32 %27, { 1, 0 }\n uselistorder i32 %21, { 1, 0 }\n uselistorder i32 %storemerge616.reload, { 0, 2, 1 }\n uselistorder i32 %18, { 1, 0 }\n uselistorder i64 %indvars.iv28.reload, { 1, 2, 0 }\n uselistorder i32 %14, { 1, 0 }\n uselistorder i32 %storemerge921.reload, { 0, 2, 1 }\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i32 %storemerge1119.reload, { 0, 2, 1 }\n uselistorder i32* %storemerge1119.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.018.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge921.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.120.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge616.reg2mem, { 2, 1, 0 }\n uselistorder i32* %sv_0.215.reg2mem, { 2, 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 32, { 2, 0, 1 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i32 0, { 6, 8, 0, 1, 4, 5, 2, 3, 7 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder i32 4, { 4, 3, 0, 2, 1 }\n uselistorder i32 2, { 0, 3, 1, 4, 2 }\n uselistorder label LBL_17, { 1, 2, 0 }\n uselistorder label LBL_14, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "unix_notinflight_11054", "fun_name": "unix_notinflight", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.1.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64* nonnull @gv_0)\n %3 = icmp eq i64 %1, 0\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %rdi.1.reg2mem\n br i1 %3, label LBL_4, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = add i64 %4, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = urem i64 %6, 256\n %8 = call i64 @FUNC(i64 %7)\n %9 = call i64 @FUNC(i64 %4)\n %10 = trunc i64 %9 to i8\n %11 = icmp eq i8 %10, 0\n store i64 %4, i64* %rdi.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %5)\n store i64 %5, i64* %rdi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %13 = load i64, i64* @gv_1, align 8\n %14 = add i64 %13, -1\n store i64 %14, i64* @gv_1, align 8\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n br label LBL_4\n LBL_4:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %15 = add i64 %rdi.1.reload, -1\n %16 = inttoptr i64 %rdi.1.reload to i64*\n store i64 %15, i64* %16, align 8\n %17 = call i64 @FUNC(i64* nonnull @gv_0)\n ret i64 %17\n\n uselistorder i64 %rdi.1.reload, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64* @gv_0, { 0, 2, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_add_data_dir_14063", "fun_name": "qemu_add_data_dir", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.lcssa.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = icmp eq i8* %arg1, null\n br i1 %0, label LBL_6, label LBL_1\n LBL_1:\n %1 = load i32, i32* @gv_0, align 4\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n store i64 10, i64* %rax.0.reg2mem\n switch i32 %1, label LBL_2 [\n i32 10, label LBL_6\n i32 0, label LBL_5\n ]\n LBL_2:\n %.reload = load i64, i64* %.reg2mem\n %2 = mul i64 %.reload, 8\n %3 = add i64 %2, ptrtoint (i64* @gv_1 to i64)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = inttoptr i64 %5 to i8*\n %7 = call i32 @strcmp(i8* %6, i8* nonnull %arg1)\n %8 = icmp eq i32 %7, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_6, label LBL_3\n LBL_3:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %9 = add i32 %storemerge3.reload, 1\n %10 = load i32, i32* @gv_0, align 4\n %11 = zext i32 %10 to i64\n %12 = sext i32 %9 to i64\n %13 = icmp slt i64 %12, %11\n store i64 %12, i64* %.reg2mem\n store i32 %9, i32* %storemerge3.reg2mem\n br i1 %13, label LBL_2, label LBL_3.LBL_5_crit_edge\n LBL_4:\n %phitmp = sext i32 %10 to i64\n store i64 %phitmp, i64* %.lcssa.reg2mem\n br label LBL_5\n LBL_5:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n store i32 ptrtoint (i64* @gv_2 to i32), i32* @gv_0, align 4\n %14 = ptrtoint i8* %arg1 to i64\n %15 = mul i64 %.lcssa.reload, 8\n %16 = add i64 %15, ptrtoint (i64* @gv_1 to i64)\n %17 = inttoptr i64 %16 to i64*\n store i64 %14, i64* %17, align 8\n store i64 %.lcssa.reload, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }\n uselistorder label LBL_6, { 3, 0, 1, 2 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "iscsi_readv_writev_bh_cb_16220", "fun_name": "iscsi_readv_writev_bh_cb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 32\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = call i64 @FUNC(i64 %2)\n %8 = trunc i64 %1 to i32\n %9 = and i64 %1, 4294967295\n %10 = icmp eq i32 %8, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %rax.0.reg2mem\n br i1 %11, label LBL_2, label LBL_1\n LBL_1:\n %12 = add i64 %2, 24\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = call i64 @FUNC(i64 %14)\n store i64 0, i64* %13, align 8\n store i64 %2, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_udp_fd_16408", "fun_name": "qemu_chr_open_udp_fd", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = trunc i64 %arg1 to i32\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC(i64 24)\n %3 = inttoptr i64 %2 to i32*\n store i32 %0, i32* %3, align 4\n %4 = and i64 %arg1, 4294967295\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = add i64 %2, 16\n %9 = inttoptr i64 %8 to i32*\n store i32 0, i32* %9, align 4\n %10 = add i64 %2, 20\n %11 = inttoptr i64 %10 to i32*\n store i32 0, i32* %11, align 4\n %12 = inttoptr i64 %1 to i64*\n store i64 %2, i64* %12, align 8\n %13 = add i64 %1, 8\n %14 = inttoptr i64 %13 to i64*\n store i64 4198756, i64* %14, align 8\n %15 = add i64 %1, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 4198763, i64* %16, align 8\n %17 = add i64 %1, 24\n %18 = inttoptr i64 %17 to i64*\n store i64 4198770, i64* %18, align 8\n %19 = add i64 %1, 32\n %20 = inttoptr i64 %19 to i8*\n store i8 1, i8* %20, align 1\n ret i64 %1\n\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 24, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ffio_rewind_with_probe_data_900", "fun_name": "ffio_rewind_with_probe_data", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %2)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 40\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = add i64 %6, 16\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = sub i64 %9, %12\n %14 = add i64 %6, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %sext = mul i64 %13, 4294967296\n %17 = ashr exact i64 %sext, 32\n %18 = sub i64 %16, %17\n %19 = sext i32 %arg3 to i64\n %20 = icmp sgt i64 %18, %19\n br i1 %20, label LBL_3, label LBL_4\n LBL_3:\n %21 = call i64 @FUNC(i64 %2)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_4:\n %22 = trunc i64 %13 to i32\n %23 = trunc i64 %18 to i32\n %24 = sub i32 %arg3, %23\n %25 = add i32 %22, %arg3\n %26 = sub i32 %25, %24\n %27 = add i64 %6, 24\n %28 = inttoptr i64 %27 to i32*\n %29 = load i32, i32* %28, align 4\n %30 = sub i32 %26, %29\n %31 = xor i32 %29, %26\n %32 = xor i32 %30, %26\n %33 = and i32 %32, %31\n %34 = icmp slt i32 %33, 0\n %35 = icmp slt i32 %30, 0\n %36 = icmp eq i1 %35, %34\n %37 = select i1 %36, i32 %26, i32 %29\n %38 = icmp sgt i32 %37, %arg3\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %38, label LBL_5, label LBL_6\n LBL_5:\n %39 = sext i32 %37 to i64\n %40 = call i64 @FUNC(i64 %2, i64 1, i64 %39)\n store i64 %40, i64* %arg2, align 8\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %41 = icmp sgt i32 %26, %arg3\n store i64 %19, i64* %.pre-phi.reg2mem\n br i1 %41, label LBL_7, label LBL_8\n LBL_7:\n %42 = sub i32 %22, %24\n %43 = load i64, i64* %11, align 8\n %44 = sext i32 %24 to i64\n %45 = add i64 %43, %44\n %46 = add i64 %sv_0.0.reload, %19\n %47 = inttoptr i64 %46 to i64*\n %48 = inttoptr i64 %45 to i64*\n %49 = call i64* @memcpy(i64* %47, i64* %48, i32 %42)\n %.pre = sext i32 %26 to i64\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %50 = load i64, i64* %11, align 8\n %51 = call i64 @FUNC(i64 %50)\n store i64 %sv_0.0.reload, i64* %11, align 8\n %52 = add i64 %6, 32\n %53 = inttoptr i64 %52 to i64*\n store i64 %sv_0.0.reload, i64* %53, align 8\n store i32 %37, i32* %28, align 4\n store i64 %.pre-phi.reload, i64* %15, align 8\n %54 = load i64, i64* %53, align 8\n %55 = add i64 %54, %.pre-phi.reload\n store i64 %55, i64* %8, align 8\n %56 = add i64 %6, 48\n %57 = inttoptr i64 %56 to i32*\n store i32 0, i32* %57, align 4\n %58 = add i64 %6, 52\n %59 = inttoptr i64 %58 to i32*\n store i32 0, i32* %59, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %.pre-phi.reload, { 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i32 %30, { 1, 0 }\n uselistorder i32 %29, { 1, 0, 2 }\n uselistorder i32 %26, { 0, 1, 2, 5, 4, 3 }\n uselistorder i32 %24, { 2, 1, 0 }\n uselistorder i32 %22, { 1, 0 }\n uselistorder i64 %19, { 1, 0, 2 }\n uselistorder i64 %13, { 1, 0 }\n uselistorder i64* %11, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 2, 0, 3, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 32, { 1, 0 }\n uselistorder i64 4294967274, { 1, 0 }\n uselistorder i32 %arg3, { 1, 2, 0, 4, 3 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cxusb_mt352_frontend_attach_8168", "fun_name": "cxusb_mt352_frontend_attach", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i64 0, i64 0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n call void (i32, i8*, ...) @err(i32 ptrtoint (i32* @gv_0 to i32), i8* null)\n store i64 ptrtoint (i32* @gv_0 to i64), i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %5 = call i64 @FUNC(i64 %rdi.0.reload, i64 0, i64 0, i64 0, i64 0, i64 0)\n %6 = add i64 %rdi.0.reload, 8\n %7 = call i64 @FUNC(i64 4198815, i64* nonnull @gv_1, i64 %6)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %7, i64* %9, align 8\n %10 = icmp eq i64 %7, 0\n %. = select i1 %10, i64 4294967291, i64 0\n ret i64 %.\n\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i32* @gv_0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "pnm_validate_13627", "fun_name": "pnm_validate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i8\n %rax.0.reg2mem = alloca i64\n %storemerge.in.reg2mem = alloca i32\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i8, i8* %0\n %sv_0 = alloca i8, align 1\n %sv_1 = alloca i64, align 8\n %3 = bitcast i8* %sv_0 to i64*\n %4 = call i64 @FUNC(i64 %1, i64* nonnull %3, i64 2)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_8\n LBL_1:\n %8 = ptrtoint i64* %sv_1 to i64\n %9 = add i64 %8, -10\n store i32 %5, i32* %storemerge.in.reg2mem\n br label LBL_3\n LBL_2:\n %10 = sext i32 %storemerge to i64\n %11 = add i64 %9, %10\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = zext i8 %13 to i64\n %15 = call i64 @FUNC(i64 %1, i64 %14)\n %16 = trunc i64 %15 to i32\n %17 = icmp eq i32 %16, -1\n %18 = icmp eq i1 %17, false\n store i32 %storemerge, i32* %storemerge.in.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %18, label LBL_3, label LBL_8\n LBL_3:\n %storemerge.in.reload = load i32, i32* %storemerge.in.reg2mem\n %storemerge = add i32 %storemerge.in.reload, -1\n %19 = icmp slt i32 %storemerge, 0\n %20 = icmp eq i1 %19, false\n br i1 %20, label LBL_2, label LBL_4\n LBL_4:\n %21 = icmp sgt i32 %5, 1\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %21, label LBL_5, label LBL_8\n LBL_5:\n %22 = load i8, i8* %sv_0, align 1\n %23 = icmp eq i8 %22, 80\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = call i16** @__ctype_b_loc()\n %26 = load i16*, i16** %25, align 8\n %27 = ptrtoint i16* %26 to i64\n %28 = zext i8 %2 to i64\n %29 = mul i64 %28, 2\n %30 = add i64 %29, %27\n %31 = inttoptr i64 %30 to i16*\n %32 = load i16, i16* %31, align 2\n %33 = and i16 %32, 2048\n %34 = icmp eq i16 %33, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_7, label LBL_8\n LBL_7:\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %storemerge, { 2, 1, 0 }\n uselistorder i32 %5, { 1, 0, 2 }\n uselistorder i32* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 2, 3, 1, 4 }\n uselistorder label LBL_8, { 4, 1, 2, 0, 3 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gic_get_current_cpu_5457", "fun_name": "gic_get_current_cpu", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 2\n store i64 0, i64* %storemerge.reg2mem\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = load i32*, i32** @gv_0, align 8\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wifi_cleanup_10954", "fun_name": "wifi_cleanup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge7.reg2mem = alloca i32\n %.reg2mem27 = alloca i64\n %sv_0.0.ph8.reg2mem = alloca i32\n %.reg2mem25 = alloca i32\n %.reg2mem23 = alloca i64\n %.reg2mem21 = alloca i32\n %.reg2mem19 = alloca i32\n %storemerge4.reg2mem = alloca i64\n %storemerge39.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %sv_1 = alloca i64, align 8\n %4 = call i64 @FUNC(i64 %arg1)\n %5 = inttoptr i64 %4 to i32*\n %6 = add i64 %4, 80\n %7 = inttoptr i64 %6 to i64*\n store i64 %arg2, i64* %7, align 8\n %8 = load i32, i32* %5, align 4\n %9 = call i32 @write(i32 %8, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4)\n %10 = icmp eq i32 %9, 0\n %11 = icmp slt i32 %9, 0\n %12 = icmp eq i1 %11, false\n %13 = icmp eq i1 %10, false\n %14 = icmp eq i1 %12, %13\n br i1 %14, label LBL_2, label LBL_1\n LBL_1:\n %15 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_1, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_0 to i64), i64 4, i64 %3, i64 %2, i64 %1)\n br label LBL_5\n LBL_2:\n %16 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 64)\n %17 = load i32, i32* %5, align 4\n %18 = call i32 @read(i32 %17, i64* nonnull %sv_1, i32 64)\n %19 = call i32* @__errno_location()\n %20 = load i32, i32* %19, align 4\n %21 = zext i32 %20 to i64\n %22 = zext i32 %18 to i64\n %23 = call i64 @FUNC(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_2, i64 0, i64 0), i64 ptrtoint ([13 x i8]* @gv_3 to i64), i64 %22, i64 %21, i64 %2, i64 %1)\n %24 = bitcast i64* %sv_1 to i8*\n %25 = call i32 @strncmp(i8* nonnull %24, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0), i32 4)\n %26 = icmp eq i32 %25, 0\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_4, label LBL_3\n LBL_3:\n %28 = call i64 @FUNC(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_5, i64 0, i64 0), i64 ptrtoint ([5 x i8]* @gv_4 to i64), i64 4, i64 %21, i64 %2, i64 %1)\n store i64 %21, i64* %rcx.0.reg2mem\n br label LBL_5\n LBL_4:\n %29 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_6, i64 0, i64 0), i64* nonnull %sv_1, i64 4, i64 %21, i64 %2, i64 %1)\n store i64 %21, i64* %rcx.0.reg2mem\n br label LBL_5\n LBL_5:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %30 = add i64 %4, 8\n %31 = inttoptr i64 %30 to i8*\n store i8 1, i8* %31, align 1\n %32 = add i64 %4, 16\n %33 = inttoptr i64 %32 to i64*\n %34 = call i32 @pthread_mutex_lock(i64* %33)\n %35 = add i64 %4, 56\n %36 = inttoptr i64 %35 to i32*\n %37 = load i32, i32* %36, align 4\n %38 = icmp eq i32 %37, 0\n br i1 %38, label LBL_10, label LBL_6\n LBL_6:\n %39 = add i64 %4, 64\n %40 = inttoptr i64 %39 to i64*\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge39.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge39.reload = load i32, i32* %storemerge39.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %41 = load i64, i64* %40, align 8\n %42 = mul i64 %.reload, 8\n %43 = add i64 %41, %42\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = icmp eq i64 %45, 0\n store i64 ptrtoint (i64* @gv_7 to i64), i64* %storemerge4.reg2mem\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %47 = add i64 %45, 16\n %48 = inttoptr i64 %47 to i64*\n %49 = load i64, i64* %48, align 8\n store i64 %49, i64* %storemerge4.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %50 = inttoptr i64 %storemerge4.reload to i64*\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_8, i64 0, i64 0), i64 %45, i64* %50, i64 %rcx.0.reload, i64 %2, i64 %1)\n %52 = add i32 %storemerge39.reload, 1\n %53 = load i32, i32* %36, align 4\n %54 = zext i32 %53 to i64\n %55 = sext i32 %52 to i64\n %56 = icmp slt i64 %55, %54\n store i64 %55, i64* %.reg2mem\n store i32 %52, i32* %storemerge39.reg2mem\n br i1 %56, label LBL_7, label LBL_10\n LBL_10:\n %57 = add i64 %4, 60\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = icmp eq i32 %59, 0\n br i1 %60, label LBL_17, label LBL_11\n LBL_11:\n %61 = add i64 %4, 72\n %62 = inttoptr i64 %61 to i64*\n store i64 0, i64* %.reg2mem23\n store i32 %59, i32* %.reg2mem25\n store i32 0, i32* %sv_0.0.ph8.reg2mem\n br label LBL_12.lr.ph\n LBL_12:\n %.reload20 = load i32, i32* %.reg2mem19\n %63 = load i64, i64* %62, align 8\n %64 = add i64 %63, %88\n %65 = inttoptr i64 %64 to i64*\n %66 = load i64, i64* %65, align 8\n %67 = icmp eq i64 %66, 0\n store i32 %.reload20, i32* %.reg2mem21\n br i1 %67, label LBL_13, label LBL_14\n LBL_13:\n %.reload22 = load i32, i32* %.reg2mem21\n %68 = zext i32 %.reload22 to i64\n %69 = icmp slt i64 %.reload24, %68\n store i32 %.reload22, i32* %.reg2mem19\n br i1 %69, label LBL_12, label LBL_17\n LBL_14:\n %70 = add i64 %66, 16\n %71 = inttoptr i64 %70 to i64*\n %72 = load i64, i64* %71, align 8\n %73 = inttoptr i64 %72 to i64*\n %74 = call i64 @FUNC(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @gv_9, i64 0, i64 0), i64 %66, i64* %73, i64 %rcx.0.reload, i64 %2, i64 %1)\n %75 = call i32 @pthread_mutex_unlock(i64* %33)\n %76 = call i32 @pthread_mutex_lock(i64* %33)\n %77 = load i32, i32* %58, align 4\n %78 = icmp eq i32 %.reload20, %77\n %79 = icmp eq i1 %78, false\n store i32 %77, i32* %.reg2mem21\n br i1 %79, label LBL_13, label LBL_15\n LBL_15:\n %80 = load i64, i64* %71, align 8\n %81 = inttoptr i64 %80 to i64*\n %82 = call i64 @FUNC(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @gv_10, i64 0, i64 0), i64 %66, i64* %81, i64 %rcx.0.reload, i64 %2, i64 %1)\n %83 = add i32 %sv_0.0.ph8.reload, 1\n %84 = load i32, i32* %58, align 4\n %85 = zext i32 %84 to i64\n %86 = sext i32 %83 to i64\n %87 = icmp slt i64 %86, %85\n store i64 %86, i64* %.reg2mem23\n store i32 %84, i32* %.reg2mem25\n store i32 %83, i32* %sv_0.0.ph8.reg2mem\n br i1 %87, label LBL_12.lr.ph, label LBL_17\n LBL_16:\n %sv_0.0.ph8.reload = load i32, i32* %sv_0.0.ph8.reg2mem\n %.reload26 = load i32, i32* %.reg2mem25\n %.reload24 = load i64, i64* %.reg2mem23\n %88 = mul i64 %.reload24, 8\n store i32 %.reload26, i32* %.reg2mem19\n br label LBL_12\n LBL_17:\n %89 = load i32, i32* %36, align 4\n %90 = icmp eq i32 %89, 0\n br i1 %90, label LBL_20, label LBL_18\n LBL_18:\n %91 = add i64 %4, 64\n %92 = inttoptr i64 %91 to i64*\n store i64 0, i64* %.reg2mem27\n store i32 0, i32* %storemerge7.reg2mem\n br label LBL_19\n LBL_19:\n %storemerge7.reload = load i32, i32* %storemerge7.reg2mem\n %.reload28 = load i64, i64* %.reg2mem27\n %93 = load i64, i64* %92, align 8\n %94 = mul i64 %.reload28, 8\n %95 = add i64 %93, %94\n %96 = inttoptr i64 %95 to i64*\n %97 = load i64, i64* %96, align 8\n %98 = call i64 @FUNC(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_11, i64 0, i64 0), i64 %97, i64 %93, i64 %rcx.0.reload, i64 %2, i64 %1)\n %99 = add i32 %storemerge7.reload, 1\n %100 = load i32, i32* %36, align 4\n %101 = zext i32 %100 to i64\n %102 = sext i32 %99 to i64\n %103 = icmp slt i64 %102, %101\n store i64 %102, i64* %.reg2mem27\n store i32 %99, i32* %storemerge7.reg2mem\n br i1 %103, label LBL_19, label LBL_20\n LBL_20:\n %104 = call i32 @pthread_mutex_unlock(i64* %33)\n %105 = call i64 @FUNC(i64 %arg1)\n ret i64 %105\n\n uselistorder i64 %93, { 1, 0 }\n uselistorder i64 %.reload24, { 1, 0 }\n uselistorder i32 %.reload22, { 1, 0 }\n uselistorder i64 %66, { 0, 2, 1, 3 }\n uselistorder i32 %.reload20, { 1, 0 }\n uselistorder i32* %58, { 1, 2, 0 }\n uselistorder i32* %36, { 0, 1, 3, 2 }\n uselistorder i64* %33, { 0, 2, 1, 3 }\n uselistorder i64 %rcx.0.reload, { 3, 2, 1, 0 }\n uselistorder i64 %21, { 1, 3, 0, 2, 4 }\n uselistorder i64 %4, { 0, 1, 2, 3, 4, 5, 6, 8, 7 }\n uselistorder i64 %2, { 4, 7, 6, 5, 0, 3, 2, 1 }\n uselistorder i64 %1, { 4, 7, 6, 5, 0, 3, 2, 1 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge39.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem19, { 2, 1, 0 }\n uselistorder i32* %.reg2mem21, { 1, 0, 2 }\n uselistorder i64* %.reg2mem27, { 1, 0, 2 }\n uselistorder i32* %storemerge7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_unlock, { 1, 0 }\n uselistorder i64 (i8*, i64, i64*, i64, i64, i64)* @ALOGI, { 2, 1, 0 }\n uselistorder i32 (i64*)* @pthread_mutex_lock, { 1, 0 }\n uselistorder [5 x i8]* @gv_4, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @ALOGE, { 3, 2, 1, 0 }\n uselistorder i64 4, { 2, 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0 }\n uselistorder i32 0, { 0, 3, 1, 4, 2, 5, 9, 8, 6, 7 }\n uselistorder i32 1, { 20, 21, 22, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 2, 5, 1, 4, 0, 3 }\n uselistorder label LBL_19, { 1, 0 }\n uselistorder label LBL_12.lr.ph, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mptsas_update_interrupt_8839", "fun_name": "mptsas_update_interrupt", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %6 = call i64 @FUNC(i64 %0, i64 0)\n %7 = call i64 @FUNC(i64 %0, i64 0)\n ret i64 %7\n\n uselistorder i64 %0, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tcp_start_incoming_migration_2948", "fun_name": "tcp_start_incoming_migration", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i8* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 0, i64 256, i64 1, i64 0, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = and i64 %2, 4294967295\n %7 = call i64 @FUNC(i64 %6, i64 0, i64 4198721, i64 0, i64 %5)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_2\n LBL_2:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gen_neon_trn_u16_16776", "fun_name": "gen_neon_trn_u16", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = and i64 %arg2, 4294967295\n %1 = call i64 @FUNC()\n %2 = call i64 @FUNC()\n %3 = trunc i64 %2 to i32\n %4 = and i64 %arg1, 4294967295\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %5, i64 %4, i64 16)\n %7 = and i64 %2, 4294967295\n %8 = call i64 @FUNC(i64 %7, i64 %0, i64 65535)\n %9 = call i64 @FUNC(i64 %5, i64 %5, i32 %3)\n %10 = call i64 @FUNC(i64 %0, i64 %0, i64 16)\n %11 = call i64 @FUNC(i64 %7, i64 %4, i64 4294901760)\n %12 = call i64 @FUNC(i64 %0, i64 %0, i32 %3)\n %13 = call i64 @FUNC(i64 %4, i64 %5)\n %14 = call i64 @FUNC(i64 %7)\n %15 = call i64 @FUNC(i64 %5)\n ret i64 %15\n\n uselistorder i64 %5, { 0, 1, 3, 2, 4 }\n uselistorder i64 (i64)* @dead_tmp, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @tcg_gen_or_i32, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @tcg_gen_andi_i32, { 1, 0 }\n uselistorder i64 ()* @new_tmp, { 1, 0 }\n uselistorder i64 4294967295, { 2, 3, 4, 1, 5, 6, 0, 7 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "celt_header_4577", "fun_name": "celt_header", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = ashr exact i64 %sext, 31\n %3 = add nsw i64 %2, %1\n %4 = mul i64 %3, 8\n %5 = add i64 %4, %0\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = ashr exact i64 %sext, 29\n %10 = add i64 %8, %9\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = add i64 %5, 16\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = inttoptr i64 %5 to i64*\n %17 = load i64, i64* %16, align 8\n %18 = add i64 %5, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = sext i32 %20 to i64\n %22 = add i64 %17, %21\n %23 = add i64 %5, 12\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 60\n %27 = icmp eq i1 %26, false\n br i1 %27, label LBL_7, label LBL_1\n LBL_1:\n %28 = load i32, i32* inttoptr (i64 4210764 to i32*), align 4\n %29 = inttoptr i64 %22 to i64*\n %30 = call i32 @memcmp(i64* %29, i64* nonnull @gv_0, i32 %28)\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_7, label LBL_2\n LBL_2:\n %33 = call i64 @FUNC(i64 4)\n %34 = icmp eq i64 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %35, label LBL_3, label LBL_10\n LBL_3:\n %36 = inttoptr i64 %12 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = call i64 @FUNC(i64 %37, i64 8)\n %39 = trunc i64 %38 to i32\n %40 = icmp slt i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %41, label LBL_4, label LBL_10\n LBL_4:\n %42 = add i64 %22, 28\n %43 = call i64 @FUNC(i64 %42)\n %44 = add i64 %22, 36\n %45 = call i64 @FUNC(i64 %44)\n %46 = trunc i64 %45 to i32\n %47 = add i64 %22, 40\n %48 = call i64 @FUNC(i64 %47)\n %49 = trunc i64 %48 to i32\n %50 = add i64 %22, 44\n %51 = call i64 @FUNC(i64 %50)\n %52 = trunc i64 %51 to i32\n %53 = add i64 %22, 48\n %54 = call i64 @FUNC(i64 %53)\n %55 = add i64 %22, 56\n %56 = call i64 @FUNC(i64 %55)\n %57 = load i64, i64* %36, align 8\n %58 = inttoptr i64 %57 to i32*\n store i32 1, i32* %58, align 4\n %59 = load i64, i64* %36, align 8\n %60 = add i64 %59, 4\n %61 = inttoptr i64 %60 to i32*\n store i32 2, i32* %61, align 4\n %62 = load i64, i64* %36, align 8\n %63 = add i64 %62, 8\n %64 = inttoptr i64 %63 to i32*\n store i32 %46, i32* %64, align 4\n %65 = load i64, i64* %36, align 8\n %66 = add i64 %65, 12\n %67 = inttoptr i64 %66 to i32*\n store i32 %49, i32* %67, align 4\n %68 = load i64, i64* %36, align 8\n %69 = add i64 %68, 16\n %70 = inttoptr i64 %69 to i32*\n store i32 %52, i32* %70, align 4\n %71 = icmp eq i32 %46, 0\n br i1 %71, label LBL_6, label LBL_5\n LBL_5:\n %72 = and i64 %45, 4294967295\n %73 = call i64 @FUNC(i64 %12, i64 64, i64 1, i64 %72)\n br label LBL_6\n LBL_6:\n %74 = inttoptr i64 %33 to i32*\n %75 = trunc i64 %56 to i32\n %76 = add i32 %75, 1\n store i32 %76, i32* %74, align 4\n %77 = load i64, i64* %14, align 8\n %78 = call i64 @FUNC(i64 %77)\n store i64 %33, i64* %14, align 8\n %79 = load i64, i64* %36, align 8\n %80 = add i64 %79, 24\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = and i64 %54, 4294967295\n %84 = call i64 @FUNC(i64 %82, i64 %83)\n %85 = load i64, i64* %36, align 8\n %86 = add i64 %85, 24\n %87 = inttoptr i64 %86 to i64*\n %88 = load i64, i64* %87, align 8\n %89 = add i64 %88, 4\n %90 = and i64 %43, 4294967295\n %91 = call i64 @FUNC(i64 %89, i64 %90)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_7:\n %92 = icmp eq i64 %15, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %92, label LBL_10, label LBL_8\n LBL_8:\n %93 = inttoptr i64 %15 to i32*\n %94 = load i32, i32* %93, align 4\n %95 = icmp eq i32 %94, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %95, label LBL_10, label LBL_9\n LBL_9:\n %96 = load i32, i32* %24, align 4\n %97 = add i64 %12, 8\n %98 = call i64 @FUNC(i64 %0, i64 %97, i64 %22, i32 %96)\n %99 = load i32, i32* %93, align 4\n %100 = add i32 %99, -1\n store i32 %100, i32* %93, align 4\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %93, { 1, 0, 2 }\n uselistorder i32 %46, { 1, 0 }\n uselistorder i64 %22, { 6, 1, 0, 3, 2, 5, 4, 7 }\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64* %14, { 1, 0, 2 }\n uselistorder i64 %12, { 2, 0, 1 }\n uselistorder i64 %sext, { 2, 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 5, 3, 4 }\n uselistorder i64 (i64, i64)* @AV_WL32, { 1, 0 }\n uselistorder i64 1, { 1, 0, 2, 3, 4 }\n uselistorder i64 (i64)* @AV_RL32, { 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @av_malloc, { 1, 0 }\n uselistorder i64 4, { 1, 2, 0 }\n uselistorder i64 8, { 2, 3, 1, 4, 5, 0 }\n uselistorder label LBL_10, { 4, 1, 0, 5, 2, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rds_inc_info_copy_13746", "fun_name": "rds_inc_info_copy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %2 = call i64 @FUNC(i64 %1)\n store i64 %2, i64* %sv_0, align 8\n %3 = add i64 %1, 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = zext i32 %5 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0, i64 32)\n ret i64 %8\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alloc_block_14306", "fun_name": "alloc_block", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi5.reg2mem = alloca i32*\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n store i64 %arg2, i64* %sv_2, align 8\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %3, 28\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = icmp slt i64 %arg2, 0\n %8 = mul i64 %0, 512\n %9 = icmp slt i64 %8, %arg2\n %or.cond = or i1 %7, %9\n store i64 -22, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_1\n LBL_1:\n %10 = add i64 %3, 24\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = sext i32 %12 to i64\n %14 = udiv i64 %arg2, %13\n %15 = inttoptr i64 %3 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = mul i64 %14, 4\n %18 = and i64 %17, 17179869180\n %19 = add i64 %18, %16\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = icmp eq i32 %21, -1\n store i32* %20, i32** %.pre-phi5.reg2mem\n br i1 %22, label LBL_3, label LBL_2\n LBL_2:\n call void @__assert_fail(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @gv_1, i64 0, i64 0), i32 55, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0))\n %.pre = load i64, i64* %15, align 8\n %.pre3 = add i64 %.pre, %18\n %.pre4 = inttoptr i64 %.pre3 to i32*\n store i32* %.pre4, i32** %.pre-phi5.reg2mem\n br label LBL_3\n LBL_3:\n %23 = ptrtoint i64* %sv_2 to i64\n %24 = sext i32 %6 to i64\n %25 = add nsw i64 %24, 15\n %26 = udiv i64 %25, 16\n %27 = mul i64 %26, 16\n %28 = sub i64 %23, %27\n %.pre-phi5.reload = load i32*, i32** %.pre-phi5.reg2mem\n %29 = add i64 %3, 8\n %30 = inttoptr i64 %29 to i64*\n %31 = load i64, i64* %30, align 8\n %32 = add i64 %31, 511\n %33 = icmp slt i64 %31, 0\n %34 = select i1 %33, i64 %32, i64 %31\n %35 = udiv i64 %34, 512\n %36 = trunc i64 %35 to i32\n store i32 %36, i32* %.pre-phi5.reload, align 4\n %37 = load i32, i32* %5, align 4\n %38 = inttoptr i64 %28 to i64*\n %39 = call i64* @memset(i64* %38, i32 255, i32 %37)\n %40 = load i32, i32* %5, align 4\n %41 = sext i32 %40 to i64\n %42 = load i64, i64* %30, align 8\n %43 = add i64 %0, 8\n %44 = inttoptr i64 %43 to i64*\n %45 = load i64, i64* %44, align 8\n %46 = call i64 @FUNC(i64 %45, i64 %42, i64 %28, i64 %41)\n %47 = trunc i64 %46 to i32\n %48 = icmp slt i32 %47, 0\n %49 = icmp eq i1 %48, false\n br i1 %49, label LBL_5, label LBL_4\n LBL_4:\n %sext = mul i64 %46, 4294967296\n %50 = ashr exact i64 %sext, 32\n store i64 %50, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %51 = load i64, i64* %30, align 8\n %52 = load i32, i32* %11, align 4\n %53 = load i32, i32* %5, align 4\n %54 = add i32 %53, %52\n %55 = sext i32 %54 to i64\n %56 = add i64 %51, %55\n store i64 %56, i64* %30, align 8\n %57 = call i64 @FUNC(i64 %0)\n %58 = trunc i64 %57 to i32\n %59 = icmp slt i32 %58, 0\n store i64 %57, i64* %sv_0.0.reg2mem\n br i1 %59, label LBL_8, label LBL_6\n LBL_6:\n %60 = add i64 %3, 16\n %61 = inttoptr i64 %60 to i64*\n %62 = load i64, i64* %61, align 8\n %63 = and i64 %17, 4294967292\n %64 = add i64 %62, %63\n %65 = load i64, i64* %15, align 8\n %66 = add i64 %65, %18\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = zext i32 %68 to i64\n %70 = call i64 @FUNC(i64 %69)\n %71 = trunc i64 %70 to i32\n store i32 %71, i32* %sv_1, align 4\n %72 = load i64, i64* %44, align 8\n %73 = ptrtoint i32* %sv_1 to i64\n %74 = call i64 @FUNC(i64 %72, i64 %64, i64 %73, i64 4)\n %75 = trunc i64 %74 to i32\n %76 = icmp slt i32 %75, 0\n store i64 %74, i64* %sv_0.0.reg2mem\n br i1 %76, label LBL_8, label LBL_7\n LBL_7:\n %77 = load i64, i64* %sv_2, align 8\n %78 = call i64 @FUNC(i64 %0, i64 %77, i64 0)\n store i64 %78, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %79 = load i64, i64* %30, align 8\n %80 = load i32, i32* %11, align 4\n %81 = load i32, i32* %5, align 4\n %82 = add i32 %81, %80\n %83 = sext i32 %82 to i64\n %84 = sub i64 %79, %83\n store i64 %84, i64* %30, align 8\n %sext1 = mul i64 %sv_0.0.reload, 4294967296\n %85 = ashr exact i64 %sext1, 32\n store i64 %85, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %31, { 2, 1, 0 }\n uselistorder i64* %30, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64* %15, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 0, 2, 1 }\n uselistorder i64 %0, { 1, 2, 3, 0, 4 }\n uselistorder i32** %.pre-phi5.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 2, 1 }\n uselistorder i64 (i64, i64, i64, i64)* @bdrv_pwrite_sync, { 1, 0 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 512, { 1, 0 }\n uselistorder i64 16, { 2, 0, 1, 3 }\n uselistorder label LBL_9, { 1, 2, 3, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fdctrl_start_transfer_16", "fun_name": "fdctrl_start_transfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi20.reg2mem = alloca i32\n %.pre-phi18.reg2mem = alloca i8*\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 2\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n %5 = add i64 %0, 3\n %6 = inttoptr i64 %5 to i8*\n %7 = load i8, i8* %6, align 1\n %8 = add i64 %0, 4\n %9 = inttoptr i64 %8 to i8*\n %10 = load i8, i8* %9, align 1\n %11 = zext i8 %10 to i32\n %12 = add i64 %1, 1\n %13 = inttoptr i64 %12 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = zext i8 %14 to i64\n %16 = zext i8 %7 to i64\n %17 = call i64 @FUNC(i64 %16, i8 %4, i8 %10, i64 %15, i64 2)\n %18 = call i64 @FUNC(i64 %0)\n %19 = and i64 %17, 4294967295\n %20 = zext i8 %4 to i32\n %21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0), i64 %18, i64 %16, i32 %20, i32 %11, i64 %19)\n %22 = add i64 %0, 24\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = urem i32 %24, 2\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %1, i8 %7, i8 %4, i8 %10, i64 %26)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 4\n br i1 %29, label LBL_6, label LBL_1\n LBL_1:\n %30 = icmp sgt i32 %28, 4\n br i1 %30, label LBL_8, label LBL_2\n LBL_2:\n switch i32 %28, label LBL_3 [\n i32 3, label LBL_5\n i32 1, label LBL_7\n ]\n LBL_3:\n %31 = icmp eq i32 %28, 2\n %32 = icmp eq i1 %31, false\n br i1 %32, label LBL_8, label LBL_4\n LBL_4:\n %33 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 0)\n store i8 %4, i8* %6, align 1\n store i8 %7, i8* %9, align 1\n %34 = add i64 %0, 5\n %35 = inttoptr i64 %34 to i8*\n store i8 %10, i8* %35, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_5:\n %36 = call i64 @FUNC(i64 %0, i64 1, i64 2, i64 0)\n store i8 %4, i8* %6, align 1\n store i8 %7, i8* %9, align 1\n %37 = add i64 %0, 5\n %38 = inttoptr i64 %37 to i8*\n store i8 %10, i8* %38, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_6:\n %39 = call i64 @FUNC(i64 %0, i64 1, i64 0, i64 0)\n store i8 %4, i8* %6, align 1\n store i8 %7, i8* %9, align 1\n %40 = add i64 %0, 5\n %41 = inttoptr i64 %40 to i8*\n store i8 %10, i8* %41, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_7:\n %42 = add i64 %0, 10\n %43 = inttoptr i64 %42 to i8*\n %44 = load i8, i8* %43, align 1\n %45 = or i8 %44, 8\n store i8 %45, i8* %43, align 1\n br label LBL_8\n LBL_8:\n %46 = add i64 %0, 17\n %47 = inttoptr i64 %46 to i8*\n %48 = load i8, i8* %47, align 1\n %49 = icmp eq i8 %48, 0\n br i1 %49, label LBL_11, label LBL_9\n LBL_9:\n %50 = inttoptr i64 %1 to i8*\n %51 = add i64 %0, 18\n %52 = inttoptr i64 %51 to i8*\n %53 = load i8, i8* %52, align 1\n %54 = and i8 %53, 4\n %55 = load i8, i8* %50, align 1\n %56 = icmp eq i8 %54, %55\n br i1 %56, label LBL_11, label LBL_10\n LBL_10:\n %57 = zext i8 %55 to i64\n %58 = zext i8 %54 to i64\n %59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_1, i64 0, i64 0), i64 %58, i64 %57)\n %60 = call i64 @FUNC(i64 %0, i64 1, i64 4, i64 0)\n store i8 %4, i8* %6, align 1\n store i8 %7, i8* %9, align 1\n %61 = add i64 %0, 5\n %62 = inttoptr i64 %61 to i8*\n store i8 %10, i8* %62, align 1\n store i64 %0, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_11:\n %sext = mul i64 %arg2, 4294967296\n %63 = ashr exact i64 %sext, 32\n %64 = trunc i64 %63 to i8\n %65 = add i64 %0, 11\n %66 = inttoptr i64 %65 to i8*\n store i8 %64, i8* %66, align 1\n %67 = add i64 %0, 16\n %68 = inttoptr i64 %67 to i8*\n store i8 0, i8* %68, align 1\n %69 = add i64 %0, 13\n %70 = inttoptr i64 %69 to i8*\n %71 = load i8, i8* %70, align 1\n %72 = or i8 %71, 1\n store i8 %72, i8* %70, align 1\n %73 = bitcast i64* %rdi to i8*\n %74 = load i8, i8* %73, align 8\n %75 = icmp slt i8 %74, 0\n %76 = icmp eq i1 %75, false\n %77 = add i64 %0, 12\n %78 = inttoptr i64 %77 to i8*\n %79 = load i8, i8* %78, align 1\n %80 = or i8 %79, 16\n %81 = and i8 %79, -17\n %storemerge7 = select i1 %76, i8 %81, i8 %80\n store i8 %storemerge7, i8* %78, align 1\n %82 = add i64 %0, 5\n %83 = inttoptr i64 %82 to i8*\n %84 = load i8, i8* %83, align 1\n %85 = icmp eq i8 %84, 0\n %86 = icmp eq i1 %85, false\n br i1 %86, label LBL_13, label LBL_12\n LBL_12:\n %87 = add i64 %0, 8\n %88 = inttoptr i64 %87 to i8*\n %89 = load i8, i8* %88, align 1\n %90 = add i64 %0, 15\n %91 = inttoptr i64 %90 to i8*\n store i8 %89, i8* %91, align 1\n %.pre = add i64 %0, 6\n %.pre17 = inttoptr i64 %.pre to i8*\n store i8* %.pre17, i8** %.pre-phi18.reg2mem\n br label LBL_14\n LBL_13:\n %92 = icmp ult i8 %84, 7\n %93 = select i1 %92, i8 %84, i8 7\n %94 = urem i8 %93, 32\n %95 = icmp eq i8 %94, 0\n %96 = zext i8 %94 to i32\n %97 = shl i32 128, %96\n %phitmp = trunc i32 %97 to i8\n %storemerge5 = select i1 %95, i8 -128, i8 %phitmp\n %98 = add i64 %0, 15\n %99 = inttoptr i64 %98 to i8*\n store i8 %storemerge5, i8* %99, align 1\n %100 = add i64 %0, 6\n %101 = inttoptr i64 %100 to i8*\n %102 = load i8, i8* %101, align 1\n %103 = load i8, i8* %73, align 8\n %104 = icmp slt i8 %103, 0\n %105 = icmp eq i1 %104, false\n %106 = select i1 %105, i8 0, i8 %102\n %107 = sub i8 1, %10\n %108 = add i8 %107, %102\n %spec.select = add i8 %108, %106\n %109 = mul i8 %spec.select, %storemerge5\n store i8 %109, i8* %99, align 1\n store i8* %101, i8** %.pre-phi18.reg2mem\n br label LBL_14\n LBL_14:\n %.pre-phi18.reload = load i8*, i8** %.pre-phi18.reg2mem\n %110 = load i8, i8* %.pre-phi18.reload, align 1\n %111 = add i64 %0, 14\n %112 = inttoptr i64 %111 to i8*\n store i8 %110, i8* %112, align 1\n %113 = add i64 %0, 19\n %114 = inttoptr i64 %113 to i8*\n %115 = load i8, i8* %114, align 1\n %116 = and i8 %115, 2\n %117 = icmp eq i8 %116, 0\n br i1 %117, label LBL_14.LBL_23_crit_edge, label LBL_16\n LBL_15:\n %.pre19 = trunc i64 %63 to i32\n store i32 %.pre19, i32* %.pre-phi20.reg2mem\n br label LBL_23\n LBL_16:\n %118 = add i64 %0, 20\n %119 = inttoptr i64 %118 to i32*\n %120 = load i32, i32* %119, align 4\n %121 = zext i32 %120 to i64\n %122 = call i64 @FUNC(i64 %121)\n %123 = trunc i64 %122 to i32\n %124 = udiv i32 %123, 4\n %125 = urem i32 %124, 4\n %126 = add i64 %0, 15\n %127 = inttoptr i64 %126 to i8*\n %128 = load i8, i8* %127, align 1\n %129 = zext i8 %128 to i64\n %130 = load i8, i8* %83, align 1\n %131 = urem i8 %130, 32\n %132 = icmp eq i8 %131, 0\n %133 = zext i8 %131 to i32\n %134 = shl i32 128, %133\n %storemerge = select i1 %132, i32 128, i32 %134\n %135 = load i8, i8* %13, align 1\n %136 = zext i8 %135 to i32\n %137 = sub nsw i32 1, %11\n %138 = add nsw i32 %137, %136\n %139 = mul i32 %storemerge, %138\n %140 = zext i32 %139 to i64\n %141 = and i64 %63, 4294967295\n %142 = zext i32 %125 to i64\n %143 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0), i64 %142, i64 %141, i64 %140, i64 %129)\n %144 = trunc i64 %63 to i32\n %.off = add i32 %144, -3\n %switch = icmp ult i32 %.off, 2\n br i1 %switch, label LBL_18, label LBL_17\n LBL_17:\n %145 = icmp eq i32 %144, 5\n %146 = icmp eq i32 %125, 0\n %or.cond8 = icmp eq i1 %145, %146\n br i1 %or.cond8, label LBL_21, label LBL_19\n LBL_18:\n %.old = icmp eq i32 %125, 0\n br i1 %.old, label LBL_21, label LBL_22\n LBL_19:\n %147 = icmp eq i32 %144, 1\n %148 = icmp eq i32 %125, 2\n %or.cond = icmp eq i1 %147, %148\n br i1 %or.cond, label LBL_21, label LBL_20\n LBL_20:\n %149 = icmp eq i32 %144, 2\n %150 = icmp eq i32 %125, 1\n %151 = icmp eq i1 %149, %150\n br i1 %151, label LBL_21, label LBL_22\n LBL_21:\n %152 = load i8, i8* %70, align 1\n %153 = and i8 %152, -3\n store i8 %153, i8* %70, align 1\n %154 = load i32, i32* %119, align 4\n %155 = zext i32 %154 to i64\n %156 = call i64 @FUNC(i64 %155)\n %157 = load i32, i32* %119, align 4\n %158 = zext i32 %157 to i64\n %159 = call i64 @FUNC(i64 %158)\n store i64 %159, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_22:\n %160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_3, i64 0, i64 0), i64 %142, i64 %141)\n store i32 %144, i32* %.pre-phi20.reg2mem\n br label LBL_23\n LBL_23:\n %.pre-phi20.reload = load i32, i32* %.pre-phi20.reg2mem\n %161 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_4, i64 0, i64 0))\n %162 = load i8, i8* %70, align 1\n %163 = icmp eq i32 %.pre-phi20.reload, 1\n %spec.select15.v = select i1 %163, i8 4, i8 12\n %spec.select15 = or i8 %162, %spec.select15.v\n store i8 %spec.select15, i8* %70, align 1\n %164 = call i64 @FUNC(i64 %0)\n store i64 %164, i64* %rax.0.reg2mem\n br label LBL_24\n LBL_24:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %144, { 0, 2, 1, 4, 3 }\n uselistorder i32 %125, { 4, 2, 1, 3, 0 }\n uselistorder i8 %79, { 1, 0 }\n uselistorder i8* %70, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64 %63, { 1, 2, 0, 3 }\n uselistorder i32 %28, { 1, 0, 2, 3 }\n uselistorder i8 %10, { 0, 4, 2, 3, 5, 6, 7, 1 }\n uselistorder i8* %9, { 2, 3, 1, 0, 4 }\n uselistorder i8 %7, { 2, 3, 1, 0, 4, 5 }\n uselistorder i8* %6, { 2, 3, 1, 0, 4 }\n uselistorder i8 %4, { 2, 3, 1, 0, 4, 5, 6 }\n uselistorder i64 %0, { 13, 12, 15, 14, 16, 17, 18, 4, 21, 20, 19, 22, 23, 24, 25, 2, 10, 11, 27, 26, 7, 3, 28, 29, 1, 8, 9, 0, 5, 6, 30, 31, 32, 33, 34, 35 }\n uselistorder i8** %.pre-phi18.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 6, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder i32 128, { 0, 2, 1 }\n uselistorder i8 7, { 1, 0 }\n uselistorder i64 6, { 1, 0 }\n uselistorder i8 0, { 2, 3, 0, 4, 1, 5, 6, 7, 8 }\n uselistorder i64 (i64, i64, i64, i64)* @fdctrl_stop_transfer, { 3, 2, 1, 0 }\n uselistorder i32 4, { 1, 0, 3, 2 }\n uselistorder i32 2, { 3, 2, 1, 4, 0 }\n uselistorder i32 (i8*, ...)* @printf, { 1, 0, 2, 3 }\n uselistorder i64 1, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 (i64)* @get_cur_drv, { 1, 0 }\n uselistorder label LBL_23, { 1, 0 }\n uselistorder label LBL_21, { 0, 2, 3, 1 }\n uselistorder label LBL_8, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cpu_unregister_map_client_16472", "fun_name": "cpu_unregister_map_client", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = inttoptr i64 %arg1 to i64*\n store i64 %arg1, i64* %1, align 8\n br label LBL_2\n LBL_2:\n %2 = call i64 @FUNC(i64 %arg1)\n ret i64 %2\n\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "pm_update_sci_5022", "fun_name": "pm_update_sci", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = trunc i64 %1 to i32\n %6 = urem i32 %5, 16\n %7 = and i32 %6, %4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n %10 = add i64 %2, 4\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = zext i1 %9 to i64\n %14 = zext i32 %12 to i64\n %15 = call i64 @FUNC(i64 %14, i64 %13)\n %16 = and i32 %5, 8\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_2, label LBL_1\n LBL_1:\n %18 = and i32 %4, 16\n %19 = icmp eq i32 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %20, label LBL_2, label LBL_3\n LBL_2:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n %21 = call i64 @FUNC(i64 %2, i64 %storemerge.reload)\n ret i64 %21\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 16, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "print_uint16_15763", "fun_name": "print_uint16", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = inttoptr i64 %2 to i16*\n %4 = load i16, i16* %3, align 2\n %5 = zext i16 %4 to i32\n %6 = bitcast i64* %arg3 to i8*\n %7 = trunc i64 %arg4 to i32\n %8 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %6, i32 %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i32 %5)\n %9 = sext i32 %8 to i64\n ret i64 %9\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "asf_read_pts_14201", "fun_name": "asf_read_pts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %sext = mul i64 %1, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = urem i64 %2, %3\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_1, i64 0, i64 0), i32 49, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = bitcast i64* %sv_0 to i32*\n %8 = add i64 %6, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = add i64 %10, %2\n %12 = add i64 %6, 16\n %13 = call i64 @FUNC(i64 %12, i64 %11, i64 0)\n %14 = ptrtoint i64* %sv_0 to i64\n %15 = add i64 %14, 8\n %16 = inttoptr i64 %15 to i64*\n br label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %12)\n %18 = load i64, i64* %9, align 8\n %19 = call i64 @FUNC(i64 %6)\n %20 = call i64 @FUNC(i64 %6, i64 %14)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 -1, i64* %storemerge.reg2mem\n br i1 %23, label LBL_4, label LBL_6\n LBL_4:\n %24 = load i64, i64* %16, align 8\n %25 = call i64 @FUNC(i64 %14)\n %26 = load i32, i32* %7, align 8\n %27 = icmp eq i32 %26, %arg3\n %28 = icmp eq i1 %27, false\n br i1 %28, label LBL_3, label LBL_5\n LBL_5:\n %29 = sub i64 %17, %18\n store i64 %29, i64* %arg2, align 8\n store i64 %24, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %14, { 0, 2, 1 }\n uselistorder i64 %6, { 1, 0, 3, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "may_create_9098", "fun_name": "may_create", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0, i64 1)\n %3 = icmp eq i64* %arg2, null\n store i64 4294967279, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 4294967294, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_3\n LBL_2:\n %7 = call i64 @FUNC(i64 %1, i64 3)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "wake_futex_9661", "fun_name": "wake_futex", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = add i64 %0, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %11 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_2, i64 0, i64 0))\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %12 = call i64 @FUNC(i64 %0)\n %13 = call i64 @FUNC(i64 %0)\n %14 = call i64 @FUNC()\n %15 = add i64 %0, 16\n %16 = inttoptr i64 %15 to i64*\n store i64 0, i64* %16, align 8\n %17 = call i64 @FUNC(i64 %0, i64 0)\n %18 = call i64 @FUNC(i64 %0)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 2, 1, 4, 3, 5, 0, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ih264d_get_dpb_size_10928", "fun_name": "ih264d_get_dpb_size", "llvm_ir_function": "define i64 @FUNC(i8* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = urem i64 %1, 256\n %3 = add nuw nsw i64 %2, 4294967286\n %4 = and i64 %3, 4294967295\n store i64 %4, i64* @0, align 8\n %trunc = trunc i64 %3 to i32\n switch i32 %trunc, label LBL_16 [\n i32 0, label LBL_17\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 10, label LBL_4\n i32 11, label LBL_5\n i32 12, label LBL_6\n i32 20, label LBL_7\n i32 21, label LBL_8\n i32 22, label LBL_9\n i32 30, label LBL_10\n i32 31, label LBL_11\n i32 32, label LBL_12\n i32 40, label LBL_13\n i32 41, label LBL_14\n i32 42, label LBL_15\n ]\n LBL_1:\n br label LBL_17\n LBL_2:\n br label LBL_17\n LBL_3:\n br label LBL_17\n LBL_4:\n br label LBL_17\n LBL_5:\n br label LBL_17\n LBL_6:\n br label LBL_17\n LBL_7:\n br label LBL_17\n LBL_8:\n br label LBL_17\n LBL_9:\n br label LBL_17\n LBL_10:\n br label LBL_17\n LBL_11:\n br label LBL_17\n LBL_12:\n br label LBL_17\n LBL_13:\n br label LBL_17\n LBL_14:\n br label LBL_17\n LBL_15:\n br label LBL_17\n LBL_16:\n br label LBL_17\n LBL_17:\n %5 = ptrtoint i8* %arg1 to i64\n %6 = add i64 %5, 6\n %7 = inttoptr i64 %6 to i8*\n %8 = load i8, i8* %7, align 1\n %9 = sub i8 1, %8\n %10 = urem i8 %9, 32\n %11 = icmp eq i8 %10, 0\n br i1 %11, label %13, label %12\n\n uselistorder label %13, { 1, 0 }\n uselistorder label LBL_17, { 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "process_netbios_name_5192", "fun_name": "process_netbios_name", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.3.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.04.reg2mem = alloca i64\n %sv_1.45.reg2mem = alloca i64\n %sv_0.16.reg2mem = alloca i32\n %storemerge27.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 15\n %3 = inttoptr i64 %2 to i8*\n %4 = load i8, i8* %3, align 1\n store i32 0, i32* %storemerge27.reg2mem\n store i32 %arg3, i32* %sv_0.16.reg2mem\n store i64 %0, i64* %sv_1.45.reg2mem\n store i64 %1, i64* %sv_2.04.reg2mem\n br label LBL_1\n LBL_1:\n %sv_2.04.reload = load i64, i64* %sv_2.04.reg2mem\n %sv_1.45.reload = load i64, i64* %sv_1.45.reg2mem\n %sv_0.16.reload = load i32, i32* %sv_0.16.reg2mem\n %storemerge27.reload = load i32, i32* %storemerge27.reg2mem\n %5 = inttoptr i64 %sv_2.04.reload to i8*\n %6 = load i8, i8* %5, align 1\n %.off = add i8 %6, -32\n %7 = icmp ult i8 %.off, 95\n %8 = add i32 %sv_0.16.reload, -1\n %9 = icmp slt i32 %8, 1\n br i1 %7, label LBL_2, label LBL_4\n LBL_2:\n store i64 %sv_1.45.reload, i64* %sv_1.3.reg2mem\n store i32 %8, i32* %sv_0.0.reg2mem\n br i1 %9, label LBL_12, label LBL_3\n LBL_3:\n %10 = add i64 %sv_1.45.reload, 1\n %11 = inttoptr i64 %sv_1.45.reload to i8*\n store i8 %6, i8* %11, align 1\n store i64 %10, i64* %sv_1.3.reg2mem\n store i32 %8, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_4:\n store i64 %sv_1.45.reload, i64* %sv_1.0.reg2mem\n br i1 %9, label LBL_6, label LBL_5\n LBL_5:\n %12 = add i64 %sv_1.45.reload, 1\n %13 = inttoptr i64 %sv_1.45.reload to i8*\n store i8 60, i8* %13, align 1\n store i64 %12, i64* %sv_1.0.reg2mem\n br label LBL_6\n LBL_6:\n %14 = sext i8 %6 to i32\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %15 = add i32 %sv_0.16.reload, -2\n %16 = icmp slt i32 %15, 1\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n br i1 %16, label LBL_8, label LBL_7\n LBL_7:\n %17 = udiv i32 %14, 16\n %18 = urem i32 %17, 16\n %19 = add i64 %sv_1.0.reload, 1\n %20 = zext i32 %18 to i64\n %21 = add i64 %20, ptrtoint (i8** @gv_0 to i64)\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = inttoptr i64 %sv_1.0.reload to i8*\n store i8 %23, i8* %24, align 1\n store i64 %19, i64* %sv_1.1.reg2mem\n br label LBL_8\n LBL_8:\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %25 = add i32 %sv_0.16.reload, -3\n %26 = icmp slt i32 %25, 1\n store i64 %sv_1.1.reload, i64* %sv_1.2.reg2mem\n br i1 %26, label LBL_10, label LBL_9\n LBL_9:\n %27 = urem i32 %14, 16\n %28 = add i64 %sv_1.1.reload, 1\n %29 = zext i32 %27 to i64\n %30 = add i64 %29, ptrtoint (i8** @gv_0 to i64)\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = inttoptr i64 %sv_1.1.reload to i8*\n store i8 %32, i8* %33, align 1\n store i64 %28, i64* %sv_1.2.reg2mem\n br label LBL_10\n LBL_10:\n %sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem\n %34 = add i32 %sv_0.16.reload, -4\n %35 = icmp slt i32 %34, 1\n store i64 %sv_1.2.reload, i64* %sv_1.3.reg2mem\n store i32 %34, i32* %sv_0.0.reg2mem\n br i1 %35, label LBL_12, label LBL_11\n LBL_11:\n %36 = add i64 %sv_1.2.reload, 1\n %37 = inttoptr i64 %sv_1.2.reload to i8*\n store i8 62, i8* %37, align 1\n store i64 %36, i64* %sv_1.3.reg2mem\n store i32 %34, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %38 = add i64 %sv_2.04.reload, 1\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.3.reload = load i64, i64* %sv_1.3.reg2mem\n %39 = add nuw nsw i32 %storemerge27.reload, 1\n %exitcond = icmp eq i32 %39, 15\n store i32 %39, i32* %storemerge27.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.16.reg2mem\n store i64 %sv_1.3.reload, i64* %sv_1.45.reg2mem\n store i64 %38, i64* %sv_2.04.reg2mem\n br i1 %exitcond, label LBL_13, label LBL_1\n LBL_13:\n %40 = inttoptr i64 %sv_1.3.reload to i8*\n store i8 0, i8* %40, align 1\n store i64 %sv_1.3.reload, i64* %storemerge.in.reg2mem\n br label LBL_16\n LBL_14:\n %41 = inttoptr i64 %storemerge to i8*\n %42 = load i8, i8* %41, align 1\n %43 = icmp eq i8 %42, 32\n store i64 %storemerge, i64* %storemerge.in.reg2mem\n br i1 %43, label LBL_16, label LBL_15\n LBL_15:\n %44 = inttoptr i64 %storemerge.in.reload to i8*\n store i8 0, i8* %44, align 1\n br label LBL_17\n LBL_16:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = add i64 %storemerge.in.reload, -1\n %45 = icmp ult i64 %storemerge, %0\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_14, label LBL_17\n LBL_17:\n %47 = zext i8 %4 to i64\n ret i64 %47\n\n uselistorder i64 %storemerge, { 2, 1, 0 }\n uselistorder i64 %sv_1.2.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.1.reload, { 2, 1, 0 }\n uselistorder i64 %sv_1.0.reload, { 2, 1, 0 }\n uselistorder i8 %6, { 2, 1, 0 }\n uselistorder i64 %sv_1.45.reload, { 4, 5, 1, 2, 3, 0 }\n uselistorder i64 %sv_2.04.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i32* %storemerge27.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.16.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.45.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.3.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder i64 ptrtoint (i8** @gv_0 to i64), { 1, 0 }\n uselistorder i32 16, { 0, 2, 1 }\n uselistorder i64 1, { 5, 0, 1, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "_multi_string_alloc_and_copy_13461", "fun_name": "_multi_string_alloc_and_copy", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_10\n LBL_1:\n %2 = add i64 %arg1, 4\n store i32 0, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_2:\n %3 = add i32 %sv_0.0.reload, 1\n store i32 %3, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %4 = sext i32 %sv_0.0.reload to i64\n %5 = mul i64 %4, 4\n %6 = add i64 %5, %arg1\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_2, label LBL_4\n LBL_4:\n %11 = add i64 %5, %2\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_2, label LBL_5\n LBL_5:\n %16 = add i32 %sv_0.0.reload, 2\n %17 = call i64* @malloc(i32 %16)\n %18 = ptrtoint i64* %17 to i64\n store i32 0, i32* %storemerge1.reg2mem\n br label LBL_7\n LBL_6:\n %19 = add i64 %23, %18\n %20 = trunc i32 %27 to i8\n %21 = inttoptr i64 %19 to i8*\n store i8 %20, i8* %21, align 1\n %22 = add i32 %storemerge1.reload, 1\n store i32 %22, i32* %storemerge1.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %23 = sext i32 %storemerge1.reload to i64\n %24 = mul i64 %23, 4\n %25 = add i64 %24, %arg1\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_6, label LBL_8\n LBL_8:\n %30 = add i64 %24, %2\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 0\n %34 = icmp eq i1 %33, false\n br i1 %34, label LBL_6, label LBL_9\n LBL_9:\n %35 = add i32 %storemerge1.reload, 1\n %36 = add i64 %23, %18\n %37 = inttoptr i64 %36 to i8*\n store i8 0, i8* %37, align 1\n %38 = sext i32 %35 to i64\n %39 = add i64 %38, %18\n %40 = inttoptr i64 %39 to i8*\n store i8 0, i8* %40, align 1\n store i64 %18, i64* %storemerge.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %27, { 1, 0 }\n uselistorder i64 %24, { 1, 0 }\n uselistorder i64 %23, { 1, 0, 2 }\n uselistorder i32 %storemerge1.reload, { 2, 0, 1 }\n uselistorder i64 %18, { 0, 2, 3, 1 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 2, 3, 0, 4, 5, 1 }\n uselistorder i32 1, { 3, 4, 5, 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "exynos4210_init_board_irqs_14651", "fun_name": "exynos4210_init_board_irqs", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.2.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv7.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 128\n store i64 0, i64* %indvars.iv7.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv7.reload = load i64, i64* %indvars.iv7.reg2mem\n %2 = mul i64 %indvars.iv7.reload, 4\n %3 = add i64 %2, %0\n %4 = add i64 %3, 64\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = inttoptr i64 %3 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %6 to i64\n %10 = zext i32 %8 to i64\n %11 = call i64 @FUNC(i64 %10, i64 %9)\n %12 = trunc i64 %11 to i32\n %13 = add i64 %3, 384\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = icmp eq i64 %indvars.iv7.reload, 12\n %sv_0.0 = select i1 %15, i32 32, i32 0\n %16 = icmp eq i64 %indvars.iv7.reload, 13\n %sv_0.1 = select i1 %16, i32 33, i32 %sv_0.0\n %17 = icmp eq i32 %sv_0.1, 0\n br i1 %17, label LBL_3, label LBL_2\n LBL_2:\n %18 = add nsw i32 %sv_0.1, -32\n %19 = zext i32 %18 to i64\n %20 = mul i64 %19, 4\n %21 = add i64 %20, %1\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = load i32, i32* %7, align 4\n %25 = zext i32 %23 to i64\n %26 = zext i32 %24 to i64\n %27 = call i64 @FUNC(i64 %26, i64 %25)\n %28 = trunc i64 %27 to i32\n store i32 %28, i32* %14, align 4\n br label LBL_3\n LBL_3:\n %indvars.iv.next8 = add nuw nsw i64 %indvars.iv7.reload, 1\n %exitcond9 = icmp eq i64 %indvars.iv.next8, 16\n store i64 %indvars.iv.next8, i64* %indvars.iv7.reg2mem\n store i64 16, i64* %indvars.iv.reg2mem\n br i1 %exitcond9, label LBL_4, label LBL_1\n LBL_4:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = trunc i64 %indvars.iv.reload to i32\n %30 = udiv i32 %29, 4\n %31 = urem i64 %indvars.iv.reload, 4\n %32 = add nsw i32 %30, -16\n %33 = zext i32 %32 to i64\n %34 = mul i64 %33, 4\n %35 = or i64 %34, %31\n %36 = mul i64 %35, 4\n %37 = add i64 %36, ptrtoint (i32** @gv_0 to i64)\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = icmp eq i32 %39, 0\n store i64 0, i64* %rax.2.reg2mem\n br i1 %40, label LBL_6, label LBL_5\n LBL_5:\n %41 = add i32 %39, -32\n %42 = zext i32 %41 to i64\n %43 = mul i64 %42, 4\n %44 = add i64 %43, %1\n %45 = inttoptr i64 %44 to i32*\n %46 = load i32, i32* %45, align 4\n %47 = mul i64 %indvars.iv.reload, 4\n %48 = add i64 %47, %0\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = zext i32 %46 to i64\n %52 = zext i32 %50 to i64\n %53 = call i64 @FUNC(i64 %52, i64 %51)\n %54 = trunc i64 %53 to i32\n %55 = add i64 %48, 384\n %56 = inttoptr i64 %55 to i32*\n store i32 %54, i32* %56, align 4\n store i64 %53, i64* %rax.2.reg2mem\n br label LBL_6\n LBL_6:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_7, label LBL_4\n LBL_7:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }\n uselistorder i64* %indvars.iv7.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32 -32, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 (i64, i64)* @qemu_irq_split, { 2, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "raw_release_12669", "fun_name": "raw_release", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i32*\n %3 = add i64 %1, 24\n %4 = call i64 @FUNC(i64 %3)\n %5 = call i64 @FUNC(i64 %0)\n %6 = load i32, i32* %2, align 4\n %7 = icmp eq i32 %6, 0\n br i1 %7, label LBL_5, label LBL_1\n LBL_1:\n %8 = add i64 %1, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_4, label LBL_2\n LBL_2:\n %12 = zext i32 %10 to i64\n %13 = call i64 @FUNC(i64 4210733, i64 %12)\n %14 = icmp eq i64 %13, 0\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC(i64 %13, i64 %0)\n %16 = call i64 @FUNC(i64 %13)\n br label LBL_5\n LBL_4:\n %17 = call i64 @FUNC(i64 0, i64 %0)\n br label LBL_5\n LBL_5:\n %18 = add i64 %1, 8\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp slt i32 %20, 2\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n %22 = add i64 %1, 16\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = call i64 @FUNC(i64 %24)\n br label LBL_7\n LBL_7:\n %26 = add i64 %1, 4\n %27 = inttoptr i64 %26 to i32*\n store i32 0, i32* %27, align 4\n store i32 0, i32* %2, align 4\n store i32 0, i32* %19, align 4\n %28 = call i64 @FUNC(i64 %0)\n store i64 0, i64* %arg1, align 8\n %29 = call i64 @FUNC(i64 %0)\n %30 = call i64 @FUNC(i64 %0)\n ret i64 0\n\n uselistorder i64 %13, { 1, 0, 2 }\n uselistorder i64 %1, { 0, 1, 2, 3, 5, 4 }\n uselistorder i64 %0, { 3, 2, 4, 1, 0, 5, 6 }\n uselistorder i64 (i64, i64)* @raw_disable_allfilters, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "crypto_shash_final_9215", "fun_name": "crypto_shash_final", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = call i64 @FUNC(i64 %1)\n %4 = and i64 %3, %0\n %5 = icmp eq i64 %4, 0\n store i64 %1, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = call i64 @FUNC(i64 %1, i64 %0)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %1, { 1, 0, 2, 3 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cpg_div6_clock_calc_div_4089", "fun_name": "cpg_div6_clock_calc_div", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n %spec.select = select i1 %1, i64 %arg1, i64 1\n %2 = udiv i64 %spec.select, 2\n %3 = add i64 %2, %arg2\n %4 = udiv i64 %3, %spec.select\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = icmp ult i32 %5, 64\n %.op = and i64 %4, 4294967295\n %8 = select i1 %7, i64 %.op, i64 64\n store i64 %8, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %spec.select, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "torture_raw_write_19157", "fun_name": "torture_raw_write", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 4198757)\n %2 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 4198764)\n %3 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_2, i64 0, i64 0), i64 4198771)\n %4 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i64 4198778)\n ret i64 %0\n\n uselistorder i64 (i64, i8*, i64)* @torture_suite_add_1smb_test, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rfcomm_sock_recvmsg_13723", "fun_name": "rfcomm_sock_recvmsg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 0, i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %3)\n %8 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %8, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_2:\n %9 = and i64 %arg5, 4294967295\n %10 = ptrtoint i64* %arg3 to i64\n %11 = ptrtoint i64* %arg1 to i64\n %12 = call i64 @FUNC(i64 %11, i64 %0, i64 %10, i64 %arg4, i64 %9)\n %13 = trunc i64 %12 to i32\n %14 = call i64 @FUNC(i64 %0)\n %15 = urem i64 %arg5, 2\n %16 = icmp eq i64 %15, 0\n %17 = icmp eq i1 %16, false\n %18 = icmp slt i32 %13, 1\n %or.cond = or i1 %17, %18\n br i1 %or.cond, label LBL_4, label LBL_3\n LBL_3:\n %19 = and i64 %12, 4294967295\n %20 = call i64 @FUNC(i64 %19, i64 %0)\n br label LBL_4\n LBL_4:\n %21 = call i64 @FUNC(i64 %0)\n %22 = add i64 %0, 4\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = ashr i32 %24, 2\n %26 = zext i32 %25 to i64\n %27 = icmp sgt i64 %21, %26\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %0)\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = call i64 @FUNC(i64 %30)\n br label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %0)\n %33 = and i64 %12, 4294967295\n store i64 %33, i64* %storemerge.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 2, 1, 4, 3, 0, 5, 6, 7 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @rfcomm_pi, { 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "smp_proc_enc_info_6752", "fun_name": "smp_proc_enc_info", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @gv_1, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 1397638484, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n %6 = call i64 @FUNC(i64 %0, i64 2, i64* nonnull %sv_0)\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = call i64 @FUNC(i64 %0, i64 %7, i64 16)\n %9 = call i64 @FUNC(i64 %0, i64 0)\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "balloon_parse_567", "fun_name": "balloon_parse", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_6\n LBL_1:\n %4 = call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i32 6)\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %6, label LBL_6, label LBL_2\n LBL_2:\n %7 = add i64 %arg1, 6\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = icmp eq i8 %9, 44\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %12 = add i64 %arg1, 7\n %13 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %14 = call i64 @FUNC(i64 %13, i64 %12, i64 0)\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %sv_0.0.reg2mem\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %16, label LBL_5, label LBL_6\n LBL_4:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))\n %18 = call i64 @FUNC(i64 %17, i64 0, i64 0, i64 0)\n store i64 %18, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %19 = call i64 @FUNC(i64 %sv_0.0.reload, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_4, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i8*)* @qemu_find_opts, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2 }\n uselistorder label LBL_6, { 3, 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "i915_gem_context_close_7119", "fun_name": "i915_gem_context_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2, i64 4198714, i64 0)\n %4 = call i64 @FUNC(i64 %2)\n %5 = add i64 %0, 12\n %6 = call i64 @FUNC(i64 %5)\n ret i64 %6\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cifs_parse_devname_9911", "fun_name": "cifs_parse_devname", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @strspn(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %2 = icmp eq i32 %1, 2\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %2, label LBL_1, label LBL_6\n LBL_1:\n %3 = add i64 %arg1, 2\n %4 = inttoptr i64 %3 to i8*\n %5 = call i8* @strpbrk(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %6 = icmp eq i8* %5, null\n %7 = icmp eq i1 %6, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %7, label LBL_2, label LBL_6\n LBL_2:\n %8 = ptrtoint i8* %5 to i64\n %9 = add i64 %8, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = call i32 @strcspn(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %12 = sext i32 %11 to i64\n %13 = add i64 %9, %12\n %14 = sub i64 %13, %arg1\n %15 = call i64 @FUNC(i64 %arg1, i64 %14, i32 0)\n store i64 %15, i64* %arg2, align 8\n %16 = icmp eq i64 %14, 0\n %17 = icmp eq i1 %16, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %17, label LBL_3, label LBL_6\n LBL_3:\n %18 = inttoptr i64 %13 to i8*\n %19 = call i64 @FUNC(i64 %14, i64 92)\n %20 = load i8, i8* %18, align 1\n %21 = icmp eq i8 %20, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %21, label LBL_6, label LBL_4\n LBL_4:\n %22 = add i64 %13, 1\n %23 = inttoptr i64 %22 to i8*\n %24 = load i8, i8* %23, align 1\n %25 = icmp eq i8 %24, 0\n %26 = icmp eq i1 %25, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %26, label LBL_5, label LBL_6\n LBL_5:\n %27 = ptrtoint i64* %arg2 to i64\n %28 = call i64 @FUNC(i64 %22, i64 0)\n %29 = add i64 %27, 8\n %30 = inttoptr i64 %29 to i64*\n store i64 %28, i64* %30, align 8\n %31 = icmp eq i64 %28, 0\n %32 = icmp eq i1 %31, false\n %. = select i1 %32, i64 0, i64 4294967284\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 2, 4, 5, 6 }\n uselistorder i8 0, { 1, 2, 3, 0, 4 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64, i64, i32)* @kstrndup, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder i64 %arg1, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 0, 2, 1, 3, 4, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_mlp_calculate_parity_3160", "fun_name": "ff_mlp_calculate_parity", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %sv_0.2.lcssa.reg2mem = alloca i32\n %sv_1.22.reg2mem = alloca i32*\n %sv_0.23.reg2mem = alloca i32\n %.reg2mem34 = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32*\n %.pre-phi19.reg2mem = alloca i64\n %sv_1.14.reg2mem = alloca i32*\n %sv_0.15.reg2mem = alloca i32\n %.reg2mem32 = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_1.0.lcssa.reg2mem = alloca i32*\n %.pre-phi.reg2mem = alloca i64\n %sv_1.09.reg2mem = alloca i32*\n %sv_0.010.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i32* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = add i64 %1, %0\n %3 = urem i64 %0, 4\n %4 = icmp ne i64 %3, 0\n %5 = icmp ugt i64 %2, %0\n %or.cond8 = icmp eq i1 %4, %5\n store i64 %0, i64* %.reg2mem\n store i32 0, i32* %sv_0.010.reg2mem\n store i32* %arg1, i32** %sv_1.09.reg2mem\n store i64 %0, i64* %.pre-phi.reg2mem\n store i32* %arg1, i32** %sv_1.0.lcssa.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %or.cond8, label LBL_1, label LBL_2\n LBL_1:\n %sv_1.09.reload = load i32*, i32** %sv_1.09.reg2mem\n %sv_0.010.reload = load i32, i32* %sv_0.010.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = bitcast i32* %sv_1.09.reload to i8*\n %7 = load i8, i8* %6, align 1\n %8 = zext i8 %7 to i32\n %9 = xor i32 %sv_0.010.reload, %8\n %10 = add nuw i64 %.reload, 1\n %11 = inttoptr i64 %10 to i32*\n %12 = urem i64 %10, 4\n %13 = icmp ne i64 %12, 0\n %14 = icmp ugt i64 %2, %10\n %or.cond = icmp eq i1 %14, %13\n store i64 %10, i64* %.reg2mem\n store i32 %9, i32* %sv_0.010.reg2mem\n store i32* %11, i32** %sv_1.09.reg2mem\n store i64 %10, i64* %.pre-phi.reg2mem\n store i32* %11, i32** %sv_1.0.lcssa.reg2mem\n store i32 %9, i32* %sv_0.0.lcssa.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i32*, i32** %sv_1.0.lcssa.reg2mem\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %15 = add i64 %2, -3\n %16 = icmp ugt i64 %15, %.pre-phi.reload\n store i64 %.pre-phi.reload, i64* %.reg2mem32\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.15.reg2mem\n store i32* %sv_1.0.lcssa.reload, i32** %sv_1.14.reg2mem\n store i64 %.pre-phi.reload, i64* %.pre-phi19.reg2mem\n store i32* %sv_1.0.lcssa.reload, i32** %sv_1.1.lcssa.reg2mem\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_3:\n %sv_1.14.reload = load i32*, i32** %sv_1.14.reg2mem\n %sv_0.15.reload = load i32, i32* %sv_0.15.reg2mem\n %.reload33 = load i64, i64* %.reg2mem32\n %17 = load i32, i32* %sv_1.14.reload, align 4\n %18 = xor i32 %17, %sv_0.15.reload\n %19 = add i64 %.reload33, 4\n %20 = inttoptr i64 %19 to i32*\n %21 = icmp ugt i64 %15, %19\n store i64 %19, i64* %.reg2mem32\n store i32 %18, i32* %sv_0.15.reg2mem\n store i32* %20, i32** %sv_1.14.reg2mem\n store i64 %19, i64* %.pre-phi19.reg2mem\n store i32* %20, i32** %sv_1.1.lcssa.reg2mem\n store i32 %18, i32* %sv_0.1.lcssa.reg2mem\n br i1 %21, label LBL_3, label LBL_4\n LBL_4:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %sv_1.1.lcssa.reload = load i32*, i32** %sv_1.1.lcssa.reg2mem\n %.pre-phi19.reload = load i64, i64* %.pre-phi19.reg2mem\n %22 = zext i32 %sv_0.1.lcssa.reload to i64\n %23 = call i64 @FUNC(i64 %22)\n %24 = trunc i64 %23 to i32\n %25 = urem i32 %24, 256\n %26 = icmp ugt i64 %2, %.pre-phi19.reload\n store i64 %.pre-phi19.reload, i64* %.reg2mem34\n store i32 %25, i32* %sv_0.23.reg2mem\n store i32* %sv_1.1.lcssa.reload, i32** %sv_1.22.reg2mem\n store i32 %25, i32* %sv_0.2.lcssa.reg2mem\n br i1 %26, label LBL_5, label LBL_6\n LBL_5:\n %sv_1.22.reload = load i32*, i32** %sv_1.22.reg2mem\n %sv_0.23.reload = load i32, i32* %sv_0.23.reg2mem\n %.reload35 = load i64, i64* %.reg2mem34\n %27 = bitcast i32* %sv_1.22.reload to i8*\n %28 = load i8, i8* %27, align 1\n %29 = zext i8 %28 to i32\n %30 = xor i32 %sv_0.23.reload, %29\n %31 = add nuw i64 %.reload35, 1\n %32 = inttoptr i64 %31 to i32*\n %exitcond = icmp eq i64 %31, %2\n store i64 %31, i64* %.reg2mem34\n store i32 %30, i32* %sv_0.23.reg2mem\n store i32* %32, i32** %sv_1.22.reg2mem\n store i32 %30, i32* %sv_0.2.lcssa.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_5\n LBL_6:\n %sv_0.2.lcssa.reload = load i32, i32* %sv_0.2.lcssa.reg2mem\n %33 = zext i32 %sv_0.2.lcssa.reload to i64\n ret i64 %33\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64 %10, { 0, 1, 3, 2, 4 }\n uselistorder i64 %2, { 0, 2, 4, 3, 1 }\n uselistorder i64 %0, { 0, 1, 4, 2, 3 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.010.reg2mem, { 2, 0, 1 }\n uselistorder i32** %sv_1.09.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem32, { 2, 0, 1 }\n uselistorder i32* %sv_0.15.reg2mem, { 2, 0, 1 }\n uselistorder i32** %sv_1.14.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem34, { 2, 0, 1 }\n uselistorder i32* %sv_0.23.reg2mem, { 2, 0, 1 }\n uselistorder i32** %sv_1.22.reg2mem, { 2, 0, 1 }\n uselistorder i64 4, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_irqchip_send_msi_2774", "fun_name": "kvm_irqchip_send_msi", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n store i64 %5, i64* %sv_2, align 8\n %6 = zext i32 %arg3 to i64\n %7 = call i64 @FUNC(i64 %6)\n %8 = call i64* @memset(i64* nonnull %sv_1, i32 0, i32 12)\n %9 = bitcast i64* %sv_2 to i32*\n %10 = call i64 @FUNC(i64 %2, i64 1, i32* nonnull %9)\n store i64 %10, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_2:\n %11 = sext i32 %arg3 to i64\n %12 = call i64 @FUNC(i64 %2, i64 %arg2, i64 %11)\n %13 = inttoptr i64 %12 to i32*\n %14 = icmp eq i64 %12, 0\n %15 = icmp eq i1 %14, false\n store i32* %13, i32** %sv_0.0.reg2mem\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %2)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 0\n %19 = icmp eq i1 %18, false\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = and i64 %16, 4294967295\n store i64 %20, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_5:\n %21 = call i64 @FUNC(i64 24)\n %22 = inttoptr i64 %21 to i32*\n store i32 %17, i32* %22, align 4\n %23 = add i64 %21, 4\n %24 = inttoptr i64 %23 to i32*\n store i32 2, i32* %24, align 4\n %25 = add i64 %21, 8\n %26 = inttoptr i64 %25 to i32*\n store i32 0, i32* %26, align 4\n %27 = trunc i64 %arg2 to i32\n %28 = add i64 %21, 12\n %29 = inttoptr i64 %28 to i32*\n store i32 %27, i32* %29, align 4\n %30 = udiv i64 %arg2, 4294967296\n %31 = trunc i64 %30 to i32\n %32 = add i64 %21, 16\n %33 = inttoptr i64 %32 to i32*\n store i32 %31, i32* %33, align 4\n %34 = zext i32 %arg3 to i64\n %35 = call i64 @FUNC(i64 %34)\n %36 = trunc i64 %35 to i32\n %37 = add i64 %21, 20\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = call i64 @FUNC(i64 %2, i64 %21)\n %40 = call i64 @FUNC(i64 %2)\n store i32* %22, i32** %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %sv_0.0.reload = load i32*, i32** %sv_0.0.reg2mem\n %41 = ptrtoint i32* %sv_0.0.reload to i64\n %42 = add i64 %41, 4\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = icmp eq i32 %44, 2\n br i1 %45, label LBL_8, label LBL_7\n LBL_7:\n call void @__assert_fail(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i32 122, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_8\n LBL_8:\n %46 = load i32, i32* %sv_0.0.reload, align 4\n %47 = zext i32 %46 to i64\n %48 = call i64 @FUNC(i64 %2, i64 %47, i64 1)\n store i64 %48, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %21, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64 %2, { 4, 2, 1, 3, 5, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* (i64*, i32, i32)* @memset, { 1, 0 }\n uselistorder i64 (i64)* @le32_to_cpu, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 4, 1 }\n uselistorder i32 %arg3, { 1, 2, 0 }\n uselistorder i64 %arg2, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "x86_cpuid_set_model_id_4066", "fun_name": "x86_cpuid_set_model_id", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = inttoptr i64 %arg2 to i8*\n %2 = icmp eq i64 %arg2, 0\n %3 = icmp eq i1 %2, false\n %spec.select = select i1 %3, i8* %1, i8* bitcast (i8** @gv_0 to i8*)\n %4 = call i32 @strlen(i8* %spec.select)\n %5 = call i64* @memset(i64* %arg1, i32 0, i32 48)\n %6 = ptrtoint i8* %spec.select to i64\n %7 = sext i32 %4 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %8 = icmp slt i64 %indvars.iv.reload, %7\n store i32 0, i32* %storemerge3.reg2mem\n br i1 %8, label LBL_2, label LBL_3\n LBL_2:\n %9 = add i64 %indvars.iv.reload, %6\n %10 = inttoptr i64 %9 to i8*\n %11 = load i8, i8* %10, align 1\n %12 = zext i8 %11 to i32\n store i32 %12, i32* %storemerge3.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %13 = trunc i64 %indvars.iv.reload to i32\n %14 = ashr i32 %13, 2\n %15 = sext i32 %14 to i64\n %16 = mul i64 %15, 4\n %17 = add i64 %16, %0\n %18 = inttoptr i64 %17 to i32*\n %19 = load i32, i32* %18, align 4\n %20 = mul i32 %13, 8\n %21 = and i32 %20, 24\n %22 = shl i32 %storemerge3.reload, %21\n %23 = or i32 %22, %19\n store i32 %23, i32* %18, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, 48\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_4, label LBL_1\n LBL_4:\n ret i64 %0\n\n uselistorder i64 %indvars.iv.reload, { 0, 1, 3, 2 }\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "set_dumpable_8084", "fun_name": "set_dumpable", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp ult i32 %0, 2\n %2 = icmp ne i1 %1, true\n %3 = zext i1 %2 to i64\n %4 = call i64 @FUNC(i64 %3)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %7, label LBL_3, label LBL_1\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %9 = ashr exact i64 %sext, 32\n store i64 %3, i64* %rdi.0.reg2mem\n br label LBL_2\n LBL_2:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %10 = call i64 @FUNC(i64 %rdi.0.reload)\n %11 = and i64 %10, -2\n %12 = or i64 %11, %9\n %13 = call i64 @FUNC(i64 %8, i64 %10, i64 %12)\n %14 = icmp eq i64 %10, %13\n %15 = icmp eq i1 %14, false\n store i64 %8, i64* %rdi.0.reg2mem\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rdi.0.reg2mem, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_packetheader_15902", "fun_name": "get_packetheader", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i32 %arg3, 0\n %3 = load i64, i64* @gv_0, align 8\n %storemerge = select i1 %2, i64 0, i64 %3\n %4 = call i64 @FUNC(i64 %0, i64 %storemerge, i64 1)\n ret i64 %1\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "fieldmatch_init_16430", "fun_name": "fieldmatch_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %5 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n store i64 %5, i64* %sv_0, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %7, label LBL_1, label LBL_9\n LBL_1:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = call i64 @FUNC(i64 %8, i64 0, i64* nonnull %sv_0)\n %10 = add i64 %8, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_4, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_1, i64 0, i64 0))\n store i64 %14, i64* %sv_0, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %16, label LBL_3, label LBL_9\n LBL_3:\n %17 = call i64 @FUNC(i64 %8, i64 1, i64* nonnull %sv_0)\n br label LBL_4\n LBL_4:\n %18 = trunc i64 %3 to i32\n %19 = add i32 %18, -1\n %20 = and i32 %19, %18\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = add i64 %8, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = add i32 %25, -1\n %27 = and i32 %26, %25\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = call i64 @FUNC(i64 %8, i64 0, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i64 %4, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_7:\n %30 = add i64 %8, 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = mul i32 %25, %18\n %34 = icmp ugt i32 %32, %33\n store i64 0, i64* %rax.0.reg2mem\n br i1 %34, label LBL_8, label LBL_9\n LBL_8:\n %35 = and i64 %3, 4294967295\n %36 = call i64 @FUNC(i64 %8, i64 0, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @gv_3, i64 0, i64 0), i64 %35, i64 %2, i64 %1)\n store i64 4294967274, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %8, { 1, 3, 4, 2, 0, 5, 6 }\n uselistorder i64* %sv_0, { 0, 2, 1, 3 }\n uselistorder i64 %3, { 1, 0 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 5, 2, 3 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder i64 (i64, i64, i8*, i64, i64, i64)* @av_log, { 1, 0 }\n uselistorder i64 (i64, i64, i64*)* @ff_insert_inpad, { 1, 0 }\n uselistorder i64 (i8*)* @av_strdup, { 1, 0 }\n uselistorder label LBL_9, { 3, 0, 4, 1, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "vmport_class_initfn_1075", "fun_name": "vmport_class_initfn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n store i64 4198662, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i8*\n store i8 1, i8* %2, align 1\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_sg_vrml_mf_reset_6971", "fun_name": "gf_sg_vrml_mf_reset", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_12, label LBL_1\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = and i64 %1, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_12\n LBL_2:\n %6 = call i64 @FUNC(i64 %2)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_3, label LBL_12\n LBL_3:\n %10 = trunc i64 %1 to i32\n %11 = icmp eq i32 %10, 3\n br i1 %11, label LBL_8, label LBL_4\n LBL_4:\n %12 = icmp ult i32 %10, 4\n br i1 %12, label LBL_5, label LBL_9\n LBL_5:\n switch i32 %10, label LBL_9 [\n i32 1, label LBL_6\n i32 2, label LBL_7\n ]\n LBL_6:\n %13 = call i64 @FUNC()\n br label LBL_11\n LBL_7:\n %14 = call i64 @FUNC()\n br label LBL_11\n LBL_8:\n %15 = call i64 @FUNC()\n br label LBL_11\n LBL_9:\n %16 = icmp eq i64 %2, 0\n br i1 %16, label LBL_11, label LBL_10\n LBL_10:\n %17 = call i64 @FUNC(i64 %2)\n br label LBL_11\n LBL_11:\n %18 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg1, align 8\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i32*\n store i32 0, i32* %20, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %2, { 1, 2, 0, 3 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_12, { 3, 0, 1, 2 }\n uselistorder label LBL_11, { 1, 0, 2, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rose_getname_13804", "fun_name": "rose_getname", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %storemerge35.reg2mem = alloca i32\n %.reg2mem8 = alloca i64\n %storemerge26.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i64* %arg1 to i64\n %4 = trunc i64 %arg4 to i32\n %5 = call i64 @FUNC(i64 %3)\n %6 = call i64* @memset(i64* %arg2, i32 0, i32 56)\n %7 = icmp eq i32 %4, 0\n br i1 %7, label LBL_5, label LBL_1\n LBL_1:\n %8 = trunc i64 %1 to i32\n %9 = icmp eq i32 %8, 2\n store i64 1, i64* %storemerge.reg2mem\n br i1 %9, label LBL_2, label LBL_9\n LBL_2:\n %10 = inttoptr i64 %5 to i32*\n %11 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %11, align 4\n %12 = load i32, i32* %10, align 4\n %13 = add i64 %2, 4\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %15 = add i64 %5, 4\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %2, 8\n %19 = inttoptr i64 %18 to i32*\n store i32 %17, i32* %19, align 4\n %20 = add i64 %5, 8\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %2, 12\n %24 = inttoptr i64 %23 to i32*\n store i32 %22, i32* %24, align 4\n %25 = load i32, i32* %21, align 4\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_8, label LBL_3\n LBL_3:\n %27 = add i64 %5, 12\n %28 = add i64 %2, 16\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge26.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge26.reload = load i32, i32* %storemerge26.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %29 = mul i64 %.reload, 4\n %30 = add i64 %27, %29\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = add i64 %28, %29\n %34 = inttoptr i64 %33 to i32*\n store i32 %32, i32* %34, align 4\n %35 = add i32 %storemerge26.reload, 1\n %36 = load i32, i32* %21, align 4\n %37 = zext i32 %36 to i64\n %38 = sext i32 %35 to i64\n %39 = icmp slt i64 %38, %37\n store i64 %38, i64* %.reg2mem\n store i32 %35, i32* %storemerge26.reg2mem\n br i1 %39, label LBL_4, label LBL_8\n LBL_5:\n %40 = bitcast i64* %arg2 to i32*\n store i32 1, i32* %40, align 4\n %41 = add i64 %5, 52\n %42 = inttoptr i64 %41 to i32*\n %43 = load i32, i32* %42, align 4\n %44 = add i64 %2, 4\n %45 = inttoptr i64 %44 to i32*\n store i32 %43, i32* %45, align 4\n %46 = add i64 %5, 56\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i64 %2, 8\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n %51 = add i64 %5, 60\n %52 = inttoptr i64 %51 to i32*\n %53 = load i32, i32* %52, align 4\n %54 = add i64 %2, 12\n %55 = inttoptr i64 %54 to i32*\n store i32 %53, i32* %55, align 4\n %56 = load i32, i32* %52, align 4\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_8, label LBL_6\n LBL_6:\n %58 = add i64 %5, 64\n %59 = add i64 %2, 16\n store i64 0, i64* %.reg2mem8\n store i32 0, i32* %storemerge35.reg2mem\n br label LBL_7\n LBL_7:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload9 = load i64, i64* %.reg2mem8\n %60 = mul i64 %.reload9, 4\n %61 = add i64 %58, %60\n %62 = inttoptr i64 %61 to i32*\n %63 = load i32, i32* %62, align 4\n %64 = add i64 %59, %60\n %65 = inttoptr i64 %64 to i32*\n store i32 %63, i32* %65, align 4\n %66 = add i32 %storemerge35.reload, 1\n %67 = load i32, i32* %52, align 4\n %68 = zext i32 %67 to i64\n %69 = sext i32 %66 to i64\n %70 = icmp slt i64 %69, %68\n store i64 %69, i64* %.reg2mem8\n store i32 %66, i32* %storemerge35.reg2mem\n br i1 %70, label LBL_7, label LBL_8\n LBL_8:\n %71 = bitcast i64* %arg3 to i32*\n store i32 56, i32* %71, align 4\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %60, { 1, 0 }\n uselistorder i32* %52, { 1, 0, 2 }\n uselistorder i64 %29, { 1, 0 }\n uselistorder i32* %21, { 1, 0, 2 }\n uselistorder i64 %2, { 0, 5, 6, 7, 1, 2, 3, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge26.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem8, { 1, 0, 2 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 4, { 0, 2, 1, 3, 4 }\n uselistorder i32 56, { 1, 0 }\n uselistorder i32 0, { 0, 2, 1, 3, 5, 4 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 3, 0, 2 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_stream_gobble_5344", "fun_name": "jas_stream_gobble", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.in.reg2mem = alloca i64\n %sext413.in.reg2mem = alloca i64\n %storemerge59.lcssa.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %4 = ashr exact i64 %sext, 32\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n %7 = icmp slt i32 %5, 0\n %8 = icmp eq i1 %7, false\n %9 = icmp eq i1 %6, false\n %10 = icmp eq i1 %8, %9\n store i64 %4, i64* %storemerge.in.reg2mem\n br i1 %10, label LBL_3, label LBL_7\n LBL_3:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = call i64 @FUNC(i64 %11)\n %13 = trunc i64 %12 to i32\n %14 = icmp eq i32 %13, -1\n %15 = icmp eq i1 %14, false\n store i64 %4, i64* %storemerge59.lcssa.reg2mem\n store i64 %sext, i64* %sext413.in.reg2mem\n br i1 %15, label LBL_6, label LBL_5\n LBL_4:\n %16 = call i64 @FUNC(i64 %11)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, -1\n %19 = icmp eq i1 %18, false\n store i64 %storemerge5, i64* %storemerge59.lcssa.reg2mem\n store i64 %sext413, i64* %sext413.in.reg2mem\n br i1 %19, label LBL_6, label LBL_5\n LBL_5:\n %storemerge59.lcssa.reload = load i64, i64* %storemerge59.lcssa.reg2mem\n %20 = sub nsw i64 %4, %storemerge59.lcssa.reload\n store i64 %20, i64* %storemerge.in.reg2mem\n br label LBL_7\n LBL_6:\n %sext413.in.reload = load i64, i64* %sext413.in.reg2mem\n %sext413 = add i64 %sext413.in.reload, -4294967296\n %storemerge5 = ashr exact i64 %sext413, 32\n %21 = trunc i64 %storemerge5 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp slt i32 %21, 0\n %24 = icmp eq i1 %23, false\n %25 = icmp eq i1 %22, false\n %26 = icmp eq i1 %24, %25\n store i64 %4, i64* %storemerge.in.reg2mem\n br i1 %26, label LBL_4, label LBL_7\n LBL_7:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %storemerge = and i64 %storemerge.in.reload, 4294967295\n ret i64 %storemerge\n\n uselistorder i32 %21, { 1, 0 }\n uselistorder i64 %storemerge5, { 1, 0 }\n uselistorder i64 %sext413, { 1, 0 }\n uselistorder i64 %11, { 1, 0 }\n uselistorder i64 %4, { 0, 4, 2, 1, 3 }\n uselistorder i64* %sext413.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 1, 3, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64 (i64)* @jas_stream_getc, { 1, 0 }\n uselistorder i32 0, { 2, 3, 0, 1, 4 }\n uselistorder label LBL_7, { 0, 2, 1 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_symbol_1890", "fun_name": "get_symbol", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.shrunk.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.05.reg2mem = alloca i32\n %storemerge6.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i32 0, i32* %rax.0.shrunk.reg2mem\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %5 = add i64 %indvars.iv.reload, %0\n %6 = add i64 %5, 1\n %7 = call i64 @FUNC(i64 %1, i64 %6)\n %8 = trunc i64 %7 to i32\n %9 = icmp ne i32 %8, 0\n %10 = icmp ult i64 %indvars.iv.reload, 9\n %or.cond = icmp eq i1 %10, %9\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_2\n LBL_2:\n %11 = trunc i64 %indvars.iv.reload to i32\n %storemerge4 = add i32 %11, -1\n %12 = icmp slt i32 %storemerge4, 0\n %13 = icmp eq i1 %12, false\n store i32 1, i32* %sv_0.0.lcssa.reg2mem\n br i1 %13, label LBL_3, label LBL_5\n LBL_3:\n %14 = add i64 %0, 22\n store i32 %storemerge4, i32* %storemerge6.reg2mem\n store i32 1, i32* %sv_0.05.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.05.reload = load i32, i32* %sv_0.05.reg2mem\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n %15 = sext i32 %storemerge6.reload to i64\n %16 = add i64 %14, %15\n %17 = call i64 @FUNC(i64 %1, i64 %16)\n %18 = trunc i64 %17 to i32\n %factor = mul i32 %sv_0.05.reload, 2\n %19 = add i32 %factor, %18\n %storemerge = add i32 %storemerge6.reload, -1\n %20 = icmp slt i32 %storemerge, 0\n %21 = icmp eq i1 %20, false\n store i32 %storemerge, i32* %storemerge6.reg2mem\n store i32 %19, i32* %sv_0.05.reg2mem\n store i32 %19, i32* %sv_0.0.lcssa.reg2mem\n br i1 %21, label LBL_4, label LBL_5\n LBL_5:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %22 = trunc i64 %arg3 to i32\n %23 = icmp eq i32 %22, 0\n store i32 %sv_0.0.lcssa.reload, i32* %rax.0.shrunk.reg2mem\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = add i64 %5, 11\n %25 = call i64 @FUNC(i64 %1, i64 %24)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n %28 = sub i32 0, %sv_0.0.lcssa.reload\n %spec.select = select i1 %27, i32 %sv_0.0.lcssa.reload, i32 %28\n store i32 %spec.select, i32* %rax.0.shrunk.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem\n %rax.0 = zext i32 %rax.0.shrunk.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %sv_0.0.lcssa.reload, { 1, 2, 0 }\n uselistorder i32 %storemerge6.reload, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 3, 0, 1, 2 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge6.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.05.reg2mem, { 1, 0, 2 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 0, { 2, 3, 4, 5, 1, 6, 0, 7 }\n uselistorder i64 (i64, i64)* @get_rac, { 2, 3, 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ac3_decode_init_3269", "fun_name": "ac3_decode_init", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i32* %arg1 to i64\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i64*\n store i64 %0, i64* %4, align 8\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC()\n %7 = add i64 %3, 1040\n %8 = call i128 @FUNC(i32 1065353216)\n %9 = call i64 @FUNC(i64 %7, i64 8, i64 1)\n %10 = add i64 %3, 1048\n %11 = call i128 @FUNC(i32 1065353216)\n %12 = call i64 @FUNC(i64 %10, i64 9, i64 1)\n %13 = add i64 %3, 16\n %14 = call i128 @FUNC(i32 1084227584)\n %15 = call i64 @FUNC(i64 %13, i64 256)\n %16 = add i64 %3, 1056\n %17 = call i64 @FUNC(i64 %16, i64 %0)\n %18 = add i64 %3, 1064\n %19 = call i64 @FUNC(i64 %18, i64 %0)\n %20 = add i64 %3, 1072\n %21 = call i64 @FUNC(i64 %20, i64 0)\n %22 = load i32, i32* inttoptr (i64 4202560 to i32*), align 64\n %23 = call i128 @__asm_movss.1(i32 %22)\n %24 = call i64 @FUNC(i128 %23)\n %25 = add i64 %3, 8\n %26 = trunc i64 %24 to i32\n %27 = inttoptr i64 %25 to i32*\n store i32 %26, i32* %27, align 4\n %28 = bitcast i64* %rdi to i32*\n %29 = load i32, i32* %28, align 8\n %30 = icmp slt i32 %29, 1\n br i1 %30, label LBL_3, label LBL_1\n LBL_1:\n %31 = add i64 %0, 4\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp uge i32 %33, %29\n %.off = add i32 %33, -1\n %35 = icmp ugt i32 %.off, 1\n %36 = or i1 %34, %35\n br i1 %36, label LBL_3, label LBL_2\n LBL_2:\n store i32 %33, i32* %arg1, align 4\n br label LBL_3\n LBL_3:\n %37 = add i64 %3, 12\n %38 = inttoptr i64 %37 to i32*\n store i32 1, i32* %38, align 4\n %39 = add i64 %0, 8\n %40 = inttoptr i64 %39 to i32*\n store i32 1, i32* %40, align 4\n ret i64 0\n\n uselistorder i32 %33, { 2, 0, 1 }\n uselistorder i64 %0, { 1, 0, 3, 2, 4, 5 }\n uselistorder i64 (i64, i64, i64)* @ff_mdct_init, { 1, 0 }\n uselistorder i64 8, { 1, 2, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "truncpasses_2302", "fun_name": "truncpasses", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %rsi.3.lcssa.reg2mem = alloca i64\n %.reg2mem84 = alloca i32\n %.reg2mem82 = alloca i32\n %.reg2mem80 = alloca i32\n %.reg2mem78 = alloca i32\n %rsi.2.lcssa.reg2mem = alloca i64\n %.reg2mem76 = alloca i32\n %rsi.211.reg2mem = alloca i64\n %storemerge412.reg2mem = alloca i32\n %.reg2mem74 = alloca i64\n %.reg2mem72 = alloca i32\n %.reg2mem70 = alloca i32\n %.reg2mem68 = alloca i32\n %.reg2mem66 = alloca i32\n %rsi.1.lcssa.reg2mem = alloca i64\n %.reg2mem64 = alloca i32\n %.reg2mem62 = alloca i32\n %.reg2mem60 = alloca i32\n %.reg2mem58 = alloca i32\n %rsi.0.lcssa.reg2mem = alloca i64\n %.reg2mem56 = alloca i32\n %storemerge67.reg2mem = alloca i32\n %.reg2mem54 = alloca i64\n %rsi.18.reg2mem = alloca i64\n %storemerge59.reg2mem = alloca i32\n %.reg2mem52 = alloca i64\n %.reg2mem50 = alloca i32\n %sv_0.015.reg2mem = alloca i32\n %rsi.316.reg2mem = alloca i64\n %storemerge317.in.reg2mem = alloca i32\n %.reg2mem48 = alloca i64\n %.reg2mem46 = alloca i32\n %rsi.419.reg2mem = alloca i64\n %storemerge20.reg2mem = alloca i32\n %.reg2mem44 = alloca i64\n %.reg2mem42 = alloca i32\n %.reg2mem40 = alloca i32\n %.reg2mem38 = alloca i32\n %.reg2mem = alloca i32\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = and i64 %1, 4294967295\n %4 = icmp eq i32 %2, 0\n store i64 %3, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_19, label LBL_1\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = bitcast i64* %rdi to i32*\n %9 = ptrtoint i64* %arg2 to i64\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = add i64 %5, 12\n %13 = inttoptr i64 %12 to i32*\n %.pre = load i32, i32* %7, align 4\n store i32 %2, i32* %.reg2mem\n store i32 %.pre, i32* %.reg2mem38\n store i32 %.pre, i32* %.reg2mem40\n store i32 %.pre, i32* %.reg2mem42\n store i64 0, i64* %.reg2mem44\n store i32 0, i32* %storemerge20.reg2mem\n store i64 %9, i64* %rsi.419.reg2mem\n br label LBL_2\n LBL_2:\n %rsi.419.reload = load i64, i64* %rsi.419.reg2mem\n %storemerge20.reload = load i32, i32* %storemerge20.reg2mem\n %.reload43 = load i32, i32* %.reg2mem42\n %.reload41 = load i32, i32* %.reg2mem40\n %.reload39 = load i32, i32* %.reg2mem38\n %.reload = load i32, i32* %.reg2mem\n %14 = icmp eq i32 %.reload43, 0\n store i32 %.reload, i32* %.reg2mem78\n store i32 %.reload39, i32* %.reg2mem80\n store i32 %.reload41, i32* %.reg2mem82\n store i32 0, i32* %.reg2mem84\n store i64 %rsi.419.reload, i64* %rsi.3.lcssa.reg2mem\n br i1 %14, label LBL_18, label LBL_3\n LBL_3:\n %.reload45 = load i64, i64* %.reg2mem44\n %15 = mul i64 %.reload45, 8\n %16 = add i64 %rsi.419.reload, %15\n %17 = inttoptr i64 %16 to i64*\n store i32 %.reload39, i32* %.reg2mem46\n store i64 0, i64* %.reg2mem48\n store i32 %.reload41, i32* %storemerge317.in.reg2mem\n store i64 %rsi.419.reload, i64* %rsi.316.reg2mem\n store i32 0, i32* %sv_0.015.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.015.reload = load i32, i32* %sv_0.015.reg2mem\n %rsi.316.reload = load i64, i64* %rsi.316.reg2mem\n %storemerge317.in.reload = load i32, i32* %storemerge317.in.reg2mem\n %.reload49 = load i64, i64* %.reg2mem48\n %.reload47 = load i32, i32* %.reg2mem46\n %storemerge317 = add i32 %storemerge317.in.reload, -1\n %18 = load i64, i64* %17, align 8\n %19 = mul nsw i64 %.reload49, 24\n %20 = add i64 %18, %19\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = add i64 %20, 4\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = mul i32 %25, %22\n %27 = icmp eq i32 %26, 0\n store i32 %.reload47, i32* %.reg2mem76\n store i64 %rsi.316.reload, i64* %rsi.2.lcssa.reg2mem\n br i1 %27, label LBL_16, label LBL_5\n LBL_5:\n %28 = add i64 %20, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = icmp eq i32 %sv_0.015.reload, 0\n %31 = icmp slt i32 %sv_0.015.reload, 0\n %32 = icmp eq i1 %31, false\n %33 = icmp eq i1 %30, false\n %34 = icmp eq i1 %32, %33\n %35 = zext i1 %34 to i32\n %36 = add i64 %20, 16\n %37 = inttoptr i64 %36 to i64*\n %38 = sext i32 %storemerge317 to i64\n %.pre24 = load i32, i32* %29, align 4\n store i32 %25, i32* %.reg2mem66\n store i32 %22, i32* %.reg2mem68\n store i32 %.pre24, i32* %.reg2mem70\n store i32 %.pre24, i32* %.reg2mem72\n store i64 0, i64* %.reg2mem74\n store i32 0, i32* %storemerge412.reg2mem\n store i64 %rsi.316.reload, i64* %rsi.211.reg2mem\n br label LBL_13\n LBL_6:\n %rsi.18.reload = load i64, i64* %rsi.18.reg2mem\n %storemerge59.reload = load i32, i32* %storemerge59.reg2mem\n %.reload53 = load i64, i64* %.reg2mem52\n %.reload51 = load i32, i32* %.reg2mem50\n %39 = load i64, i64* %37, align 8\n %40 = mul i64 %.reload53, 16\n %41 = add i64 %39, %40\n %42 = inttoptr i64 %41 to i64*\n %43 = load i64, i64* %42, align 8\n %44 = add i64 %43, %97\n %45 = add i64 %44, 8\n %46 = inttoptr i64 %45 to i32*\n %47 = load i32, i32* %46, align 4\n %48 = add i64 %44, 12\n %49 = inttoptr i64 %48 to i32*\n %50 = load i32, i32* %49, align 4\n %51 = mul i32 %50, %47\n %52 = icmp eq i32 %51, 0\n store i32 %.reload51, i32* %.reg2mem56\n store i64 %rsi.18.reload, i64* %rsi.0.lcssa.reg2mem\n br i1 %52, label LBL_10, label LBL_7\n LBL_7:\n %53 = add i32 %storemerge59.reload, %35\n %54 = inttoptr i64 %44 to i64*\n %55 = sext i32 %53 to i64\n %56 = mul nsw i64 %55, 10\n %57 = add nsw i64 %56, %38\n %58 = add i64 %41, 8\n %59 = inttoptr i64 %58 to i32*\n store i64 0, i64* %.reg2mem54\n store i32 0, i32* %storemerge67.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge67.reload = load i32, i32* %storemerge67.reg2mem\n %.reload55 = load i64, i64* %.reg2mem54\n %60 = load i64, i64* %54, align 8\n %61 = mul i64 %.reload55, 4\n %62 = add i64 %60, %61\n %63 = load i32, i32* %11, align 4\n %64 = icmp eq i32 %63, 1\n %65 = select i1 %64, i64 100, i64 0\n %66 = add nsw i64 %57, %65\n %67 = mul i64 %66, 8\n %68 = add i64 %67, ptrtoint (i64* @gv_0 to i64)\n %69 = inttoptr i64 %68 to i64*\n %70 = load i64, i64* %69, align 8\n %71 = load i32, i32* %59, align 4\n %72 = sext i32 %71 to i64\n %73 = mul i64 %70, %72\n %74 = ashr i64 %73, 15\n %75 = load i32, i32* %13, align 4\n %76 = zext i32 %75 to i64\n %77 = call i64 @FUNC(i64 %62, i64 %76, i64 %74)\n %78 = trunc i64 %77 to i32\n %79 = inttoptr i64 %62 to i32*\n store i32 %78, i32* %79, align 4\n %80 = add i32 %storemerge67.reload, 1\n %81 = load i32, i32* %46, align 4\n %82 = load i32, i32* %49, align 4\n %83 = mul i32 %82, %81\n %84 = zext i32 %83 to i64\n %85 = sext i32 %80 to i64\n %86 = icmp slt i64 %85, %84\n store i64 %85, i64* %.reg2mem54\n store i32 %80, i32* %storemerge67.reg2mem\n br i1 %86, label LBL_8, label LBL_9\n LBL_9:\n %.pre25 = load i32, i32* %29, align 4\n store i32 %.pre25, i32* %.reg2mem56\n store i64 %76, i64* %rsi.0.lcssa.reg2mem\n br label LBL_10\n LBL_10:\n %rsi.0.lcssa.reload = load i64, i64* %rsi.0.lcssa.reg2mem\n %.reload57 = load i32, i32* %.reg2mem56\n %87 = add i32 %storemerge59.reload, 1\n %88 = zext i32 %.reload57 to i64\n %89 = sext i32 %87 to i64\n %90 = icmp slt i64 %89, %88\n store i32 %.reload57, i32* %.reg2mem50\n store i64 %89, i64* %.reg2mem52\n store i32 %87, i32* %storemerge59.reg2mem\n store i64 %rsi.0.lcssa.reload, i64* %rsi.18.reg2mem\n br i1 %90, label LBL_6, label LBL_11\n LBL_11:\n %.pre26 = load i32, i32* %21, align 4\n %.pre27 = load i32, i32* %24, align 4\n store i32 %.pre27, i32* %.reg2mem58\n store i32 %.pre26, i32* %.reg2mem60\n store i32 %.reload57, i32* %.reg2mem62\n store i32 %.reload57, i32* %.reg2mem64\n store i64 %rsi.0.lcssa.reload, i64* %rsi.1.lcssa.reg2mem\n br label LBL_12\n LBL_12:\n %rsi.1.lcssa.reload = load i64, i64* %rsi.1.lcssa.reg2mem\n %.reload65 = load i32, i32* %.reg2mem64\n %.reload63 = load i32, i32* %.reg2mem62\n %.reload61 = load i32, i32* %.reg2mem60\n %.reload59 = load i32, i32* %.reg2mem58\n %91 = add i32 %storemerge412.reload, 1\n %92 = mul i32 %.reload61, %.reload59\n %93 = zext i32 %92 to i64\n %94 = sext i32 %91 to i64\n %95 = icmp slt i64 %94, %93\n store i32 %.reload59, i32* %.reg2mem66\n store i32 %.reload61, i32* %.reg2mem68\n store i32 %.reload63, i32* %.reg2mem70\n store i32 %.reload65, i32* %.reg2mem72\n store i64 %94, i64* %.reg2mem74\n store i32 %91, i32* %storemerge412.reg2mem\n store i64 %rsi.1.lcssa.reload, i64* %rsi.211.reg2mem\n br i1 %95, label LBL_13, label LBL_15\n LBL_13:\n %rsi.211.reload = load i64, i64* %rsi.211.reg2mem\n %storemerge412.reload = load i32, i32* %storemerge412.reg2mem\n %.reload73 = load i32, i32* %.reg2mem72\n %.reload71 = load i32, i32* %.reg2mem70\n %.reload69 = load i32, i32* %.reg2mem68\n %.reload67 = load i32, i32* %.reg2mem66\n %96 = icmp eq i32 %.reload73, 0\n store i32 %.reload67, i32* %.reg2mem58\n store i32 %.reload69, i32* %.reg2mem60\n store i32 %.reload71, i32* %.reg2mem62\n store i32 0, i32* %.reg2mem64\n store i64 %rsi.211.reload, i64* %rsi.1.lcssa.reg2mem\n br i1 %96, label LBL_12, label LBL_6.lr.ph\n LBL_14:\n %.reload75 = load i64, i64* %.reg2mem74\n %97 = mul i64 %.reload75, 16\n store i32 %.reload71, i32* %.reg2mem50\n store i64 0, i64* %.reg2mem52\n store i32 0, i32* %storemerge59.reg2mem\n store i64 %rsi.211.reload, i64* %rsi.18.reg2mem\n br label LBL_6\n LBL_15:\n %.pre28 = load i32, i32* %7, align 4\n store i32 %.pre28, i32* %.reg2mem76\n store i64 %rsi.1.lcssa.reload, i64* %rsi.2.lcssa.reg2mem\n br label LBL_16\n LBL_16:\n %rsi.2.lcssa.reload = load i64, i64* %rsi.2.lcssa.reg2mem\n %.reload77 = load i32, i32* %.reg2mem76\n %98 = add i32 %sv_0.015.reload, 1\n %99 = zext i32 %.reload77 to i64\n %100 = sext i32 %98 to i64\n %101 = icmp slt i64 %100, %99\n store i32 %.reload77, i32* %.reg2mem46\n store i64 %100, i64* %.reg2mem48\n store i32 %storemerge317, i32* %storemerge317.in.reg2mem\n store i64 %rsi.2.lcssa.reload, i64* %rsi.316.reg2mem\n store i32 %98, i32* %sv_0.015.reg2mem\n br i1 %101, label LBL_4, label LBL_17\n LBL_17:\n %.pre29 = load i32, i32* %8, align 8\n store i32 %.pre29, i32* %.reg2mem78\n store i32 %.reload77, i32* %.reg2mem80\n store i32 %.reload77, i32* %.reg2mem82\n store i32 %.reload77, i32* %.reg2mem84\n store i64 %rsi.2.lcssa.reload, i64* %rsi.3.lcssa.reg2mem\n br label LBL_18\n LBL_18:\n %rsi.3.lcssa.reload = load i64, i64* %rsi.3.lcssa.reg2mem\n %.reload85 = load i32, i32* %.reg2mem84\n %.reload83 = load i32, i32* %.reg2mem82\n %.reload81 = load i32, i32* %.reg2mem80\n %.reload79 = load i32, i32* %.reg2mem78\n %102 = add i32 %storemerge20.reload, 1\n %103 = zext i32 %.reload79 to i64\n %104 = sext i32 %102 to i64\n %105 = icmp slt i64 %104, %103\n store i32 %.reload79, i32* %.reg2mem\n store i32 %.reload81, i32* %.reg2mem38\n store i32 %.reload83, i32* %.reg2mem40\n store i32 %.reload85, i32* %.reg2mem42\n store i64 %104, i64* %.reg2mem44\n store i32 %102, i32* %storemerge20.reg2mem\n store i64 %rsi.3.lcssa.reload, i64* %rsi.419.reg2mem\n store i64 %103, i64* %.lcssa.reg2mem\n br i1 %105, label LBL_2, label LBL_19\n LBL_19:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i32 %.reload79, { 1, 0 }\n uselistorder i32 %.reload77, { 0, 1, 2, 4, 3 }\n uselistorder i32 %.reload57, { 0, 1, 3, 2 }\n uselistorder i32* %49, { 1, 0 }\n uselistorder i32* %46, { 1, 0 }\n uselistorder i64 %44, { 2, 1, 0 }\n uselistorder i64 %rsi.316.reload, { 1, 0 }\n uselistorder i32 %sv_0.015.reload, { 0, 2, 1 }\n uselistorder i32 %.reload39, { 1, 0 }\n uselistorder i32 %.reload41, { 1, 0 }\n uselistorder i64 %rsi.419.reload, { 1, 2, 0 }\n uselistorder i64 %5, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem38, { 1, 0, 2 }\n uselistorder i32* %.reg2mem40, { 1, 0, 2 }\n uselistorder i32* %.reg2mem42, { 1, 0, 2 }\n uselistorder i64* %.reg2mem44, { 1, 0, 2 }\n uselistorder i32* %storemerge20.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.419.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem46, { 1, 0, 2 }\n uselistorder i64* %.reg2mem48, { 1, 0, 2 }\n uselistorder i32* %storemerge317.in.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rsi.316.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.015.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem50, { 2, 1, 0 }\n uselistorder i64* %.reg2mem52, { 2, 1, 0 }\n uselistorder i32* %storemerge59.reg2mem, { 2, 1, 0 }\n uselistorder i64* %rsi.18.reg2mem, { 2, 1, 0 }\n uselistorder i64* %.reg2mem54, { 1, 0, 2 }\n uselistorder i32* %storemerge67.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem56, { 0, 2, 1 }\n uselistorder i64* %rsi.0.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem58, { 1, 0, 2 }\n uselistorder i32* %.reg2mem60, { 1, 0, 2 }\n uselistorder i32* %.reg2mem62, { 1, 0, 2 }\n uselistorder i32* %.reg2mem64, { 1, 0, 2 }\n uselistorder i64* %rsi.1.lcssa.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem76, { 0, 2, 1 }\n uselistorder i64* %rsi.2.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i32* %.reg2mem78, { 0, 2, 1 }\n uselistorder i32* %.reg2mem80, { 0, 2, 1 }\n uselistorder i32* %.reg2mem82, { 0, 2, 1 }\n uselistorder i32* %.reg2mem84, { 0, 2, 1 }\n uselistorder i64* %rsi.3.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i64 12, { 1, 0 }\n uselistorder i64 8, { 0, 3, 4, 5, 1, 2 }\n uselistorder i32 0, { 4, 2, 8, 3, 7, 1, 12, 13, 9, 5, 0, 10, 6, 11 }\n uselistorder label LBL_18, { 1, 0 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "SProcXIBarrierReleasePointer_11647", "fun_name": "SProcXIBarrierReleasePointer", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64* @malloc(i32 8)\n %1 = ptrtoint i64* %0 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %1, 4\n %4 = call i64 @FUNC(i64 %3)\n %5 = add i64 %1, 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = add i64 %1, 12\n %8 = call i64 @FUNC(i64 %7)\n ret i64 %8\n\n uselistorder i64 (i64)* @swapl, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_blocks_1925", "fun_name": "decode_blocks", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge2.reg2mem = alloca i64\n %storemerge6.reg2mem = alloca i32\n %storemerge35.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp sgt i32 %5, 0\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %6, label LBL_1, label LBL_6\n LBL_1:\n %7 = trunc i64 %1 to i32\n %8 = icmp sgt i32 %7, 0\n store i32 0, i32* %storemerge6.reg2mem\n br label LBL_3.preheader\n LBL_2:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %9 = call i64 @FUNC(i64 %2, i64 0, i32 %storemerge35.reload, i32 %storemerge6.reload)\n %10 = trunc i64 %9 to i32\n %11 = icmp slt i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 4294967295, i64* %storemerge2.reg2mem\n br i1 %12, label LBL_3, label LBL_6\n LBL_3:\n %13 = add nuw nsw i32 %storemerge35.reload, 1\n %14 = icmp slt i32 %13, %7\n store i32 %13, i32* %storemerge35.reg2mem\n br i1 %14, label LBL_2, label LBL_4\n LBL_4:\n %15 = add nuw nsw i32 %storemerge6.reload, 1\n %16 = icmp slt i32 %15, %5\n store i32 %15, i32* %storemerge6.reg2mem\n store i64 0, i64* %storemerge2.reg2mem\n br i1 %16, label LBL_3.preheader, label LBL_6\n LBL_5:\n %storemerge6.reload = load i32, i32* %storemerge6.reg2mem\n store i32 0, i32* %storemerge35.reg2mem\n br i1 %8, label LBL_2, label LBL_4\n LBL_6:\n %storemerge2.reload = load i64, i64* %storemerge2.reg2mem\n ret i64 %storemerge2.reload\n\n uselistorder i32 %5, { 1, 0 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 2, 0 }\n uselistorder i32 0, { 1, 4, 0, 2, 3 }\n uselistorder label LBL_3.preheader, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gf_mpd_url_free_4507", "fun_name": "gf_mpd_url_free", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n br i1 %0, label LBL_2, label LBL_1\n LBL_1:\n %1 = call i64 @FUNC(i64 %arg1)\n br label LBL_2\n LBL_2:\n %2 = add i64 %arg1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_4, label LBL_3\n LBL_3:\n %6 = call i64 @FUNC(i64 %4)\n br label LBL_4\n LBL_4:\n %7 = call i64 @FUNC(i64 %arg1)\n ret i64 %7\n\n uselistorder i64 (i64)* @gf_free, { 2, 1, 0 }\n uselistorder i64 %arg1, { 1, 2, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_post_lcreate_3222", "fun_name": "v9fs_post_lcreate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg2 to i64\n %1 = trunc i64 %arg3 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = add i64 %0, 16\n %5 = add i64 %0, 8\n %6 = call i64 @FUNC(i64 %5, i64 %4)\n %7 = add i64 %0, 40\n %8 = add i64 %0, 36\n %9 = call i64 @FUNC(i64 %8, i64 %7)\n %10 = add i64 %0, 32\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %0, 28\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = zext i32 %16 to i64\n %18 = call i64 @FUNC(i64 %17, i32 %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %10)\n %19 = trunc i64 %18 to i32\n %20 = load i32, i32* %12, align 4\n %21 = add i32 %20, %19\n store i32 %21, i32* %12, align 4\n store i32 %21, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_2:\n %22 = bitcast i64* %arg2 to i32*\n store i32 0, i32* %22, align 4\n %23 = call i32* @__errno_location()\n %24 = load i32, i32* %23, align 4\n %25 = sub i32 0, %24\n %26 = add i64 %0, 4\n %27 = inttoptr i64 %26 to i32*\n %28 = load i32, i32* %27, align 4\n %29 = icmp slt i32 %28, 1\n store i32 %25, i32* %sv_0.0.reg2mem\n br i1 %29, label LBL_4, label LBL_3\n LBL_3:\n %30 = call i32 @close(i32 %28)\n store i32 %25, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %31 = ptrtoint i64* %arg1 to i64\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %32 = add i64 %0, 28\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %31, i64 %35, i32 %sv_0.0.reload)\n %37 = add i64 %0, 8\n %38 = call i64 @FUNC(i64 %37)\n %39 = add i64 %0, 16\n %40 = call i64 @FUNC(i64 %39)\n %41 = call i64 @FUNC(i64 %0)\n ret i64 %41\n\n uselistorder i32* %12, { 1, 0, 2 }\n uselistorder i64 %0, { 6, 5, 4, 7, 8, 2, 1, 0, 11, 10, 3, 9 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64 (i64)* @v9fs_string_free, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "parse_hex_10658", "fun_name": "parse_hex", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.02.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i64\n %0 = icmp eq i64 %arg2, 0\n store i64 0, i64* %storemerge4.reg2mem\n store i32 0, i32* %sv_0.03.reg2mem\n store i32 0, i32* %sv_0.0.lcssa.reg2mem\n br i1 %0, label LBL_4, label LBL_1\n LBL_1:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %1 = add i64 %storemerge4.reload, %arg1\n %2 = inttoptr i64 %1 to i8*\n %3 = load i8, i8* %2, align 1\n %4 = sext i8 %3 to i64\n %5 = and i64 %4, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, -1\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = bitcast i64* %arg3 to i32*\n store i32 1, i32* %10, align 4\n store i32 %sv_0.03.reload, i32* %sv_0.02.reg2mem\n br label LBL_5\n LBL_3:\n %11 = mul i32 %sv_0.03.reload, 16\n %12 = add i32 %11, %7\n %13 = add nuw i64 %storemerge4.reload, 1\n %14 = icmp ult i64 %13, %arg2\n store i64 %13, i64* %storemerge4.reg2mem\n store i32 %12, i32* %sv_0.03.reg2mem\n store i32 %12, i32* %sv_0.0.lcssa.reg2mem\n br i1 %14, label LBL_1, label LBL_4\n LBL_4:\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %15 = bitcast i64* %arg3 to i32*\n store i32 0, i32* %15, align 4\n store i32 %sv_0.0.lcssa.reload, i32* %sv_0.02.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.02.reload = load i32, i32* %sv_0.02.reg2mem\n %16 = zext i32 %sv_0.02.reload to i64\n ret i64 %16\n\n uselistorder i32 %sv_0.03.reload, { 1, 0 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.03.reg2mem, { 2, 0, 1 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i64* %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "DefragTrackerInit_13844", "fun_name": "DefragTrackerInit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = ptrtoint i32* %arg2 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %0)\n %3 = add i64 %0, 4\n %4 = add i64 %1, 4\n %5 = call i64 @FUNC(i64 %4, i64 %3)\n %6 = call i64 @FUNC(i64 %1)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %1)\n %10 = trunc i64 %9 to i32\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = add i64 %0, 12\n %14 = inttoptr i64 %13 to i32*\n store i32 2, i32* %14, align 4\n br label LBL_3\n LBL_2:\n %15 = call i64 @FUNC(i64 %1)\n %16 = trunc i64 %15 to i32\n %17 = add i64 %0, 8\n %18 = inttoptr i64 %17 to i32*\n store i32 %16, i32* %18, align 4\n %19 = add i64 %0, 12\n %20 = inttoptr i64 %19 to i32*\n store i32 10, i32* %20, align 4\n br label LBL_3\n LBL_3:\n %21 = call i64 @FUNC(i64 %1)\n %22 = trunc i64 %21 to i8\n %23 = add i64 %0, 16\n %24 = inttoptr i64 %23 to i8*\n store i8 %22, i8* %24, align 1\n %25 = add i64 %1, 8\n %26 = inttoptr i64 %25 to i16*\n %27 = load i16, i16* %26, align 2\n %28 = add i64 %0, 18\n %29 = inttoptr i64 %28 to i16*\n store i16 %27, i16* %29, align 2\n %30 = add i64 %1, 10\n %31 = inttoptr i64 %30 to i16*\n %32 = load i16, i16* %31, align 2\n %33 = add i64 %0, 20\n %34 = inttoptr i64 %33 to i16*\n store i16 %32, i16* %34, align 2\n %35 = call i64 @FUNC(i64 %1)\n %36 = trunc i64 %35 to i32\n %37 = add i64 %0, 24\n %38 = inttoptr i64 %37 to i32*\n store i32 %36, i32* %38, align 4\n %39 = call i64 @FUNC(i64 %1)\n %40 = trunc i64 %39 to i32\n %41 = add i64 %0, 28\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 4\n %43 = add i64 %0, 32\n %44 = inttoptr i64 %43 to i32*\n store i32 0, i32* %44, align 4\n %45 = add i64 %0, 36\n %46 = inttoptr i64 %45 to i32*\n store i32 0, i32* %46, align 4\n %47 = add i64 %0, 40\n %48 = call i64 @FUNC(i64 %47)\n %49 = call i64 @FUNC(i64 %0)\n ret i64 %49\n\n uselistorder i64 %0, { 3, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 1, 13, 14 }\n uselistorder i64 (i64, i64)* @COPY_ADDRESS, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "noise_scale_2084", "fun_name": "noise_scale", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv25.reg2mem = alloca i64\n %indvars.iv29.reg2mem = alloca i64\n %storemerge8.lcssa.reg2mem = alloca i32\n %sv_0.0.lcssa.reg2mem = alloca i32\n %sv_0.017.reg2mem = alloca i32\n %storemerge818.reg2mem = alloca i32\n %0 = sub i32 0, %arg2\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n %3 = select i1 %2, i32 %0, i32 %arg2\n %4 = mul i32 %3, 4\n %5 = and i32 %4, 12\n %6 = zext i32 %5 to i64\n %7 = add i64 %6, ptrtoint (i32** @gv_0 to i64)\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = icmp sgt i32 %arg3, 32767\n store i32 0, i32* %storemerge818.reg2mem\n store i32 %arg3, i32* %sv_0.017.reg2mem\n store i32 %arg3, i32* %sv_0.0.lcssa.reg2mem\n store i32 0, i32* %storemerge8.lcssa.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_1:\n %sv_0.017.reload = load i32, i32* %sv_0.017.reg2mem\n %storemerge818.reload = load i32, i32* %storemerge818.reg2mem\n %11 = udiv i32 %sv_0.017.reload, 2\n %12 = add nuw nsw i32 %storemerge818.reload, 1\n %13 = icmp ugt i32 %sv_0.017.reload, 65535\n store i32 %12, i32* %storemerge818.reg2mem\n store i32 %11, i32* %sv_0.017.reg2mem\n store i32 %11, i32* %sv_0.0.lcssa.reg2mem\n store i32 %12, i32* %storemerge8.lcssa.reg2mem\n br i1 %13, label LBL_1, label LBL_2\n LBL_2:\n %14 = ptrtoint i64* %arg1 to i64\n %storemerge8.lcssa.reload = load i32, i32* %storemerge8.lcssa.reg2mem\n %15 = ashr i32 %3, 2\n %16 = sub nsw i32 21, %15\n %17 = add i32 %storemerge8.lcssa.reload, %16\n %18 = icmp slt i32 %17, 32\n br i1 %18, label LBL_6, label LBL_3\n LBL_3:\n %19 = icmp sgt i32 %arg4, 0\n store i32 0, i32* %rax.0.in.reg2mem\n br i1 %19, label LBL_4, label LBL_13\n LBL_4:\n %wide.trip.count31 = zext i32 %arg4 to i64\n store i64 0, i64* %indvars.iv29.reg2mem\n br label LBL_5\n LBL_5:\n %indvars.iv29.reload = load i64, i64* %indvars.iv29.reg2mem\n %20 = mul i64 %indvars.iv29.reload, 4\n %21 = add i64 %20, %14\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29.reload, 1\n %exitcond32 = icmp eq i64 %indvars.iv.next30, %wide.trip.count31\n store i64 %indvars.iv.next30, i64* %indvars.iv29.reg2mem\n store i32 %arg4, i32* %rax.0.in.reg2mem\n br i1 %exitcond32, label LBL_13, label LBL_5\n LBL_6:\n %23 = icmp slt i32 %arg2, 0\n %24 = icmp eq i1 %23, false\n %25 = select i1 %24, i32 1, i32 -1\n %sv_0.0.lcssa.reload = load i32, i32* %sv_0.0.lcssa.reg2mem\n %26 = zext i32 %9 to i64\n %27 = ashr i32 %9, 31\n %28 = zext i32 %27 to i64\n %29 = mul i64 %28, 4294967296\n %30 = or i64 %29, %26\n %31 = zext i32 %sv_0.0.lcssa.reload to i64\n %32 = sdiv i64 %30, %31\n %33 = trunc i64 %32 to i32\n %34 = sext i32 %33 to i128\n %35 = icmp slt i32 %17, 1\n br i1 %35, label LBL_10, label LBL_7\n LBL_7:\n %36 = icmp sgt i32 %arg4, 0\n store i32 0, i32* %rax.0.in.reg2mem\n br i1 %36, label LBL_8, label LBL_13\n LBL_8:\n %37 = add i32 %17, 31\n %38 = urem i32 %37, 32\n %39 = shl i32 1, %38\n %40 = urem i32 %17, 32\n %wide.trip.count27 = zext i32 %arg4 to i64\n store i64 0, i64* %indvars.iv25.reg2mem\n br label LBL_9\n LBL_9:\n %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem\n %41 = mul i64 %indvars.iv25.reload, 4\n %42 = add i64 %41, %14\n %43 = inttoptr i64 %42 to i32*\n %44 = load i32, i32* %43, align 4\n %45 = sext i32 %44 to i128\n %46 = mul nsw i128 %45, %34\n %47 = trunc i128 %46 to i64\n %48 = udiv i64 %47, 4294967296\n %49 = trunc i64 %48 to i32\n %50 = add i32 %39, %49\n %51 = ashr i32 %50, %40\n %52 = mul i32 %51, %25\n store i32 %52, i32* %43, align 4\n %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1\n %exitcond28 = icmp eq i64 %indvars.iv.next26, %wide.trip.count27\n store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem\n store i32 %arg4, i32* %rax.0.in.reg2mem\n br i1 %exitcond28, label LBL_13, label LBL_9\n LBL_10:\n %53 = icmp sgt i32 %arg4, 0\n store i32 0, i32* %rax.0.in.reg2mem\n br i1 %53, label LBL_11, label LBL_13\n LBL_11:\n %54 = add i32 %17, 31\n %55 = urem i32 %54, 32\n %56 = shl i32 1, %55\n %57 = add i32 %17, 32\n %58 = zext i32 %56 to i64\n %59 = urem i32 %57, 64\n %60 = zext i32 %59 to i64\n %wide.trip.count = zext i32 %arg4 to i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_12\n LBL_12:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %61 = mul i64 %indvars.iv.reload, 4\n %62 = add i64 %61, %14\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n %65 = sext i32 %64 to i128\n %66 = mul nsw i128 %65, %34\n %67 = trunc i128 %66 to i64\n %68 = add i64 %67, %58\n %rdx.1 = ashr i64 %68, %60\n %69 = trunc i64 %rdx.1 to i32\n %70 = mul i32 %25, %69\n store i32 %70, i32* %63, align 4\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 %arg4, i32* %rax.0.in.reg2mem\n br i1 %exitcond, label LBL_13, label LBL_12\n LBL_13:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = zext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32 %17, { 5, 4, 0, 3, 2, 1 }\n uselistorder i32 %9, { 1, 0 }\n uselistorder i32 %3, { 1, 0 }\n uselistorder i32* %storemerge818.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.017.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv29.reg2mem, { 2, 0, 1 }\n uselistorder i64* %indvars.iv25.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32* %rax.0.in.reg2mem, { 0, 2, 6, 1, 5, 3, 4 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i32 31, { 1, 0, 2 }\n uselistorder i32 32, { 4, 0, 1, 2, 3 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i32 0, { 2, 5, 1, 6, 11, 8, 0, 7, 3, 4, 9, 10 }\n uselistorder i32 %arg4, { 1, 5, 6, 0, 4, 7, 2, 3, 8 }\n uselistorder i32 %arg2, { 2, 1, 0 }\n uselistorder label LBL_13, { 1, 5, 0, 4, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_fetch_timestamp_16763", "fun_name": "ff_fetch_timestamp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.2.reg2mem = alloca i64\n %rdi.1.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %rdi.26.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %1 = add i64 %0, 1312\n %2 = inttoptr i64 %1 to i64*\n store i64 -9223372036854775808, i64* %2, align 8\n %3 = add i64 %0, 1304\n %4 = inttoptr i64 %3 to i64*\n store i64 -9223372036854775808, i64* %4, align 8\n %5 = add i64 %0, 1320\n %6 = inttoptr i64 %5 to i64*\n store i64 -1, i64* %6, align 8\n %7 = add i64 %0, 1328\n %8 = inttoptr i64 %7 to i64*\n store i64 0, i64* %8, align 8\n %9 = ashr exact i64 %sext, 32\n %10 = add i64 %0, 1296\n %11 = inttoptr i64 %10 to i64*\n %12 = add i64 %0, 1288\n %13 = inttoptr i64 %12 to i64*\n %14 = trunc i64 %arg3 to i32\n %15 = icmp eq i32 %14, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 %0, i64* %rdi.26.reg2mem\n br label LBL_1\n LBL_1:\n %rdi.26.reload = load i64, i64* %rdi.26.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = add i64 %rdi.26.reload, %9\n %17 = mul i64 %indvars.iv.reload, 8\n %18 = add i64 %17, %0\n %19 = add i64 %18, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp slt i64 %16, %21\n store i64 %21, i64* %rax.0.reg2mem\n store i64 %rdi.26.reload, i64* %rdi.1.reg2mem\n br i1 %22, label LBL_9, label LBL_2\n LBL_2:\n %23 = load i64, i64* %11, align 8\n %24 = icmp slt i64 %23, %21\n br i1 %24, label LBL_5, label LBL_3\n LBL_3:\n %25 = icmp eq i64 %23, 0\n %26 = icmp eq i1 %25, false\n store i64 %23, i64* %rax.0.reg2mem\n store i64 %rdi.26.reload, i64* %rdi.1.reg2mem\n br i1 %26, label LBL_9, label LBL_4\n LBL_4:\n %27 = load i64, i64* %13, align 8\n %28 = icmp eq i64 %27, 0\n %29 = icmp eq i1 %28, false\n store i64 %27, i64* %rax.0.reg2mem\n store i64 %rdi.26.reload, i64* %rdi.1.reg2mem\n br i1 %29, label LBL_9, label LBL_5\n LBL_5:\n %30 = add i64 %18, 264\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = icmp eq i64 %32, 0\n store i64 0, i64* %rax.0.reg2mem\n store i64 %rdi.26.reload, i64* %rdi.1.reg2mem\n br i1 %33, label LBL_9, label LBL_6\n LBL_6:\n %34 = add i64 %18, 520\n %35 = inttoptr i64 %34 to i64*\n %36 = load i64, i64* %35, align 8\n store i64 %36, i64* %4, align 8\n %37 = add i64 %18, 776\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n store i64 %39, i64* %2, align 8\n %40 = add i64 %18, 1032\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n store i64 %42, i64* %6, align 8\n %43 = load i64, i64* %13, align 8\n %44 = load i64, i64* %20, align 8\n %45 = sub i64 %43, %44\n store i64 %45, i64* %8, align 8\n store i64 %rdi.26.reload, i64* %rdi.0.reg2mem\n br i1 %15, label LBL_8, label LBL_7\n LBL_7:\n store i64 9223372036854775807, i64* %20, align 8\n store i64 9223372036854775807, i64* %rdi.0.reg2mem\n br label LBL_8\n LBL_8:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %46 = add i64 %rdi.0.reload, %9\n %47 = load i64, i64* %31, align 8\n %48 = icmp slt i64 %46, %47\n store i64 %47, i64* %rax.0.reg2mem\n store i64 %rdi.0.reload, i64* %rdi.1.reg2mem\n store i64 %47, i64* %rax.2.reg2mem\n br i1 %48, label LBL_10, label LBL_9\n LBL_9:\n %rdi.1.reload = load i64, i64* %rdi.1.reg2mem\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %49 = icmp ult i64 %indvars.iv.next, 32\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %rdi.1.reload, i64* %rdi.26.reg2mem\n store i64 %rax.0.reload, i64* %rax.2.reg2mem\n br i1 %49, label LBL_1, label LBL_10\n LBL_10:\n %rax.2.reload = load i64, i64* %rax.2.reg2mem\n ret i64 %rax.2.reload\n\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64 %18, { 3, 2, 1, 0, 4 }\n uselistorder i64 %rdi.26.reload, { 4, 2, 0, 1, 3, 5 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rdi.26.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64* %rdi.1.reg2mem, { 0, 3, 4, 1, 2, 5 }\n uselistorder i64 8, { 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "av_get_double_1888", "fun_name": "av_get_double", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i8* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i128\n %rax.0.reg2mem = alloca i64\n %1 = load i128, i128* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i8* %arg2 to i64\n %sv_0 = alloca i32, align 4\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n store i64 1, i64* %sv_2, align 8\n %4 = call i128 @FUNC(i64 4607182418800017408)\n %5 = call i64 @__asm_movsd.1(i128 %4)\n store i64 %5, i64* %sv_1, align 8\n store i32 1, i32* %sv_0, align 4\n %6 = call i64 @FUNC(i64 %arg1, i64 %3, i64 %2, i64* nonnull %sv_1, i32* nonnull %sv_0, i64* nonnull %sv_2)\n %7 = trunc i64 %6 to i32\n %8 = icmp slt i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_2, label LBL_1\n LBL_1:\n %10 = call i128 @FUNC(i64 -4616189618054758400)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_2:\n %11 = load i64, i64* %sv_2, align 8\n %12 = call i128 @FUNC(i128 %1, i128 %1)\n %13 = call i128 @FUNC(i64 %11)\n %14 = load i64, i64* %sv_1, align 8\n %15 = call i128 @FUNC(i64 %14)\n %16 = call i128 @FUNC(i128 %15, i128 %13)\n %17 = load i32, i32* %sv_0, align 4\n %18 = zext i32 %17 to i64\n %19 = call i128 @FUNC(i128 %13, i128 %13)\n %20 = call i128 @__asm_cvtsi2sd.2(i32 %17)\n %21 = call i128 @FUNC(i128 %16, i128 %20)\n store i64 %18, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i128 %13, { 2, 1, 0 }\n uselistorder i64* %sv_2, { 1, 0, 2 }\n uselistorder i64* %sv_1, { 1, 0, 2 }\n uselistorder i32* %sv_0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "reds_on_client_semi_seamless_migrate_complete_10651", "fun_name": "reds_on_client_semi_seamless_migrate_complete", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0), i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC()\n %4 = call i64 @FUNC()\n %5 = load i32*, i32** @gv_1, align 8\n %6 = ptrtoint i32* %5 to i64\n %7 = add i64 %6, 4\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = load i32, i32* %5, align 4\n %11 = call i64 @FUNC()\n %12 = and i64 %11, 4294967295\n %13 = and i64 %3, 4294967295\n %14 = and i64 %4, 4294967295\n %15 = zext i32 %9 to i64\n %16 = zext i32 %10 to i64\n %17 = call i64 @FUNC(i64 %2, i64 %12, i64 %16, i64 %15, i64 %14, i64 %13)\n %18 = call i64 @FUNC(i64 %0)\n %19 = call i64 @FUNC(i64 %2)\n ret i64 %19\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "rd_detach_hba_9429", "fun_name": "rd_detach_hba", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = ptrtoint i64* %arg1 to i64\n %6 = add i64 %5, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = and i64 %3, 4294967295\n %12 = call i64 @FUNC(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @gv_0, i64 0, i64 0), i64 %11, i32 %10, i64 %4, i64 %2, i64 %1)\n %13 = call i64 @FUNC(i64 %8)\n store i64 0, i64* %7, align 8\n ret i64 %5\n\n uselistorder i64* %0, { 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "login_user_7826", "fun_name": "login_user", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %r9.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i64, align 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_17\n LBL_1:\n %6 = call i64 @FUNC(i64 %2)\n store i64 %3, i64* %sv_1, align 8\n %7 = ptrtoint i64* %sv_1 to i64\n %8 = call i64 @FUNC(i64* nonnull %sv_1)\n %9 = add i64 %2, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = icmp eq i64 %11, 0\n store i64 %7, i64* %rdi.0.reg2mem\n br i1 %12, label LBL_5, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %11 to i8*\n %14 = load i8, i8* %13, align 1\n %15 = icmp eq i8 %14, 0\n br i1 %15, label LBL_4, label LBL_3\n LBL_3:\n %16 = call i64 @FUNC(i64 %11)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %sv_0.0.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_6, label LBL_17\n LBL_4:\n %19 = inttoptr i64 %11 to i64*\n call void @free(i64* %19)\n store i64 %11, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_5:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %20 = call i64 @FUNC(i64 %rdi.0.reload)\n store i64 %20, i64* %10, align 8\n store i64 %3, i64* %sv_0.0.reg2mem\n br label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_8, label LBL_7\n LBL_7:\n %24 = call i64 @FUNC(i64 %3)\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = call i64 @FUNC(i64 %2, i64 %3, i64 1, i64* nonnull @gv_1, i64 %26, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %28 = icmp eq i64 %sv_0.0.reload, %3\n br i1 %28, label LBL_13, label LBL_9\n LBL_9:\n %29 = call i64 @FUNC(i64 %3, i64 %sv_0.0.reload)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n %32 = icmp eq i1 %31, false\n %33 = call i64 @FUNC(i64 %sv_0.0.reload)\n %34 = inttoptr i64 %33 to i64*\n %35 = load i64, i64* %34, align 8\n %36 = call i64 @FUNC(i64 %3)\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n br i1 %32, label LBL_11, label LBL_10\n LBL_10:\n %39 = call i64 @FUNC(i64 %2, i64 %3, i64 1, i64* nonnull @gv_2, i64 %38, i64 %35)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_11:\n %40 = call i64 @FUNC(i64 %2, i64 %3, i64 1, i64* nonnull @gv_3, i64 %38, i64 %35)\n store i64 %sv_0.0.reload, i64* %sv_1, align 8\n %41 = call i64 @FUNC(i64* nonnull %sv_1)\n %42 = call i64 @FUNC(i64 %sv_0.0.reload, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0))\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n store i64 %35, i64* %r9.0.reg2mem\n br i1 %44, label LBL_13, label LBL_12\n LBL_12:\n %45 = call i64 @FUNC(i64 %sv_0.0.reload)\n %46 = inttoptr i64 %45 to i64*\n %47 = load i64, i64* %46, align 8\n %48 = call i64 @FUNC(i64 %2, i64 %sv_0.0.reload, i64 1, i64* nonnull @gv_1, i64 %47, i64 %35)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_13:\n %49 = add i64 %sv_0.0.reload, 8\n %50 = call i64 @FUNC(i64 %49)\n %51 = load i32, i32* inttoptr (i64 4210740 to i32*), align 4\n %52 = zext i32 %51 to i64\n %53 = icmp slt i64 %50, %52\n br i1 %53, label LBL_15, label LBL_14\n LBL_14:\n %r9.0.reload = load i64, i64* %r9.0.reg2mem\n %54 = call i64 @FUNC(i64 %sv_0.0.reload)\n %55 = inttoptr i64 %54 to i64*\n %56 = load i64, i64* %55, align 8\n %57 = call i64 @FUNC(i64 %2, i64 %sv_0.0.reload, i64 1, i64* nonnull @gv_4, i64 %56, i64 %r9.0.reload)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_15:\n %58 = add i64 %2, 16\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = or i32 %60, 2\n store i32 %61, i32* %59, align 4\n %62 = load i32*, i32** @gv_5, align 8\n %63 = load i32, i32* %62, align 4\n %64 = and i32 %63, 16\n %65 = icmp eq i32 %64, 0\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %65, label LBL_17, label LBL_16\n LBL_16:\n %66 = add i64 %sv_0.0.reload, 16\n %67 = inttoptr i64 %66 to i32*\n %68 = load i32, i32* %67, align 4\n %69 = and i32 %68, -13\n %70 = or i32 %69, 8\n store i32 %70, i32* %67, align 4\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %35, { 1, 0, 3, 2 }\n uselistorder i64 %sv_0.0.reload, { 1, 5, 0, 6, 7, 4, 11, 12, 10, 9, 8, 2, 3 }\n uselistorder i64 %3, { 4, 5, 3, 7, 6, 2, 1, 8, 0, 9, 10 }\n uselistorder i64* %sv_1, { 0, 2, 1, 3, 4 }\n uselistorder i64 %2, { 5, 4, 1, 2, 3, 0, 6, 7, 8 }\n uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 8, 7, 6, 5, 3, 4 }\n uselistorder i64 (i64, i64, i64, i64*, i64, i64)* @sasl_logcommand, { 4, 3, 2, 1, 0 }\n uselistorder i64 1, { 1, 2, 3, 4, 5, 0 }\n uselistorder i64 (i64)* @entity, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @metadata_find, { 1, 0 }\n uselistorder i64 (i64*)* @hook_call_user_can_login, { 1, 0 }\n uselistorder i64 (i64)* @myuser_find_by_nick, { 1, 0 }\n uselistorder label LBL_17, { 1, 0, 4, 5, 6, 7, 2, 3 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "lzw_init_9378", "fun_name": "lzw_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %.lcssa.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %arg2 to i32\n %4 = call i64 @FUNC(i64 %2, i64 49168)\n %5 = bitcast i64* %arg1 to i32*\n store i32 %3, i32* %5, align 4\n %6 = trunc i64 %1 to i32\n %7 = urem i32 %6, 32\n %8 = shl i32 1, %7\n %9 = add i64 %2, 4\n %10 = inttoptr i64 %9 to i32*\n store i32 %8, i32* %10, align 4\n %11 = add i64 %2, 8\n %12 = inttoptr i64 %11 to i32*\n store i32 %8, i32* %12, align 4\n %13 = load i32, i32* %10, align 4\n %14 = add i32 %13, 1\n %15 = add i64 %2, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 %14, i32* %16, align 4\n %17 = load i32, i32* %10, align 4\n %18 = icmp eq i32 %17, 0\n store i64 0, i64* %indvars.iv.reg2mem\n store i64 0, i64* %.lcssa.reg2mem\n br i1 %18, label LBL_2, label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %19 = mul nuw nsw i64 %indvars.iv.reload, 12\n %20 = add i64 %19, %2\n %21 = add i64 %20, 16\n %22 = inttoptr i64 %21 to i32*\n store i32 0, i32* %22, align 4\n %23 = add i64 %20, 20\n %24 = inttoptr i64 %23 to i32*\n store i32 1, i32* %24, align 4\n %25 = add i64 %20, 24\n %26 = trunc i64 %indvars.iv.reload to i8\n %27 = inttoptr i64 %25 to i8*\n store i8 %26, i8* %27, align 1\n %28 = add i64 %20, 25\n %29 = inttoptr i64 %28 to i8*\n store i8 %26, i8* %29, align 1\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %30 = load i32, i32* %10, align 4\n %31 = zext i32 %30 to i64\n %32 = icmp ult i64 %indvars.iv.next, %31\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 %31, i64* %.lcssa.reg2mem\n br i1 %32, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i8 %26, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }\n uselistorder i32* %10, { 1, 0, 2, 3 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "crypto_larval_lookup_5543", "fun_name": "crypto_larval_lookup", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 -2, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %2 = and i32 %arg3, -4\n %3 = trunc i64 %arg2 to i32\n %4 = and i32 %2, %3\n %5 = sext i32 %4 to i64\n %6 = zext i32 %2 to i64\n %7 = zext i32 %4 to i64\n %8 = call i64 @FUNC(i64 %arg1, i64 %7, i64 %6)\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %8, i64* %sv_0.0.reg2mem\n br i1 %10, label LBL_5, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)\n %12 = xor i32 %4, 4\n %13 = and i32 %arg3, 4\n %14 = and i32 %13, %12\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)\n br label LBL_4\n LBL_4:\n %18 = and i64 %5, 4294967292\n %19 = call i64 @FUNC(i64 %arg1, i64 %18, i64 %6)\n store i64 %19, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %20 = icmp eq i64 %sv_0.0.reload, 0\n br i1 %20, label LBL_8, label LBL_6\n LBL_6:\n %21 = call i64 @FUNC(i64 %sv_0.0.reload)\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n store i64 %sv_0.0.reload, i64* %rax.0.reg2mem\n br i1 %23, label LBL_9, label LBL_7\n LBL_7:\n %24 = call i64 @FUNC(i64 %sv_0.0.reload)\n store i64 %24, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_8:\n %25 = and i64 %5, 4294967292\n %26 = call i64 @FUNC(i64 %arg1, i64 %25, i64 %6)\n store i64 %26, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.0.reload, { 3, 0, 1, 2 }\n uselistorder i64 %6, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 0 }\n uselistorder i32 %2, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i8*, i64)* @request_module, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @crypto_alg_lookup, { 1, 0 }\n uselistorder i32 1, { 1, 0 }\n uselistorder i64 %arg1, { 3, 1, 0, 2, 4, 5 }\n uselistorder label LBL_9, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "exynos4210_ltick_recalc_count_2429", "fun_name": "exynos4210_ltick_recalc_count", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem10 = alloca i64\n %.pre-phi4.reg2mem = alloca i32*\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n br i1 %4, label LBL_3, label LBL_1\n LBL_1:\n %5 = add i64 %2, 4\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_1.LBL_6_crit_edge, label LBL_3\n LBL_2:\n %.pre5 = add i64 %2, 12\n %.pre7 = inttoptr i64 %.pre5 to i32*\n %.pre9 = load i32, i32* %.pre7, align 4\n store i32 %.pre9, i32* %.reg2mem\n store i32* %6, i32** %.pre-phi4.reg2mem\n br label LBL_6\n LBL_3:\n %10 = add i64 %2, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = icmp eq i32 %12, 0\n br i1 %13, label LBL_8, label LBL_4\n LBL_4:\n %14 = add i64 %2, 12\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = icmp eq i32 %16, 0\n br i1 %17, label LBL_8, label LBL_4.LBL_6_crit_edge\n LBL_5:\n %.pre = add i64 %2, 4\n %.pre3 = inttoptr i64 %.pre to i32*\n store i32 %16, i32* %.reg2mem\n store i32* %.pre3, i32** %.pre-phi4.reg2mem\n br label LBL_6\n LBL_6:\n %.pre-phi4.reload = load i32*, i32** %.pre-phi4.reg2mem\n %.reload = load i32, i32* %.reg2mem\n %18 = load i32, i32* %.pre-phi4.reload, align 4\n %19 = icmp eq i32 %18, 0\n %20 = sext i32 %.reload to i64\n store i64 %20, i64* %sv_0.0.reg2mem\n br i1 %19, label LBL_12, label LBL_7\n LBL_7:\n %21 = sext i32 %18 to i64\n %22 = mul nsw i64 %20, %21\n store i64 %22, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_8:\n %23 = add i64 %2, 16\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp eq i32 %25, 0\n %27 = add i64 %2, 24\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n br i1 %26, label LBL_10, label LBL_9\n LBL_9:\n %30 = sext i32 %25 to i64\n %31 = mul i64 %29, %30\n %32 = add i64 %2, 32\n %33 = inttoptr i64 %32 to i64*\n store i64 %31, i64* %33, align 8\n store i64 %31, i64* %.reg2mem10\n br label LBL_11\n LBL_10:\n %34 = add i64 %2, 32\n %35 = inttoptr i64 %34 to i64*\n store i64 %29, i64* %35, align 8\n store i64 %29, i64* %.reg2mem10\n br label LBL_11\n LBL_11:\n %.reload11 = load i64, i64* %.reg2mem10\n %36 = add i64 %2, 40\n %37 = inttoptr i64 %36 to i64*\n store i64 0, i64* %37, align 8\n store i64 %.reload11, i64* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %38 = add i64 %2, 48\n %39 = inttoptr i64 %38 to i64*\n %40 = icmp ult i64 %sv_0.0.reload, 1000\n %sv_0.0. = select i1 %40, i64 %sv_0.0.reload, i64 1000\n store i64 %sv_0.0., i64* %39, align 8\n ret i64 %2\n\n uselistorder i64 %sv_0.0.reload, { 1, 0 }\n uselistorder i64 %29, { 0, 2, 1 }\n uselistorder i64 %20, { 1, 0 }\n uselistorder i64 %2, { 2, 3, 4, 6, 8, 7, 5, 1, 10, 9, 0, 11 }\n uselistorder i32* %.reg2mem, { 0, 2, 1 }\n uselistorder i32** %.pre-phi4.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem10, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 12, { 1, 0 }\n uselistorder label LBL_12, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "megasas_reset_target_9042", "fun_name": "megasas_reset_target", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 1\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %phitmp = and i64 %7, 4294967295\n store i64 %phitmp, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_2:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_0, i64 0, i64 0), i64 %0, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0))\n store i64 4294967295, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "st_change_trace_event_state_390", "fun_name": "st_change_trace_event_state", "llvm_ir_function": "define i64 @FUNC(i8* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %0 = mul i64 %indvars.iv.reload, 16\n %1 = add i64 %0, ptrtoint (i64* @gv_0 to i64)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i8*\n %5 = call i32 @strcmp(i8* %4, i8* %arg1)\n %6 = icmp eq i32 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_3, label LBL_2\n LBL_2:\n %8 = add i64 %0, ptrtoint (i8** @gv_1 to i64)\n %9 = trunc i64 %arg2 to i8\n %10 = inttoptr i64 %8 to i8*\n store i8 %9, i8* %10, align 8\n store i64 1, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_3:\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %11 = icmp ult i64 %indvars.iv.next, 10\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %11, label LBL_1, label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "addrrange_make_819", "fun_name": "addrrange_make", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n ret i64 %arg1\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_free_stream_2454", "fun_name": "ff_free_stream", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %4 = trunc i64 %1 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp slt i32 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n %10 = zext i1 %9 to i64\n %11 = call i64 @FUNC(i64 %10)\n %12 = add i64 %3, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %sext = mul i64 %1, 4294967296\n %15 = ashr exact i64 %sext, 29\n %16 = add nsw i64 %15, -8\n %17 = add i64 %16, %14\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, %2\n %21 = zext i1 %20 to i64\n %22 = call i64 @FUNC(i64 %21)\n %23 = add i64 %2, 8\n %24 = inttoptr i64 %23 to i64*\n %25 = load i64, i64* %24, align 8\n %26 = icmp eq i64 %25, 0\n br i1 %26, label LBL_2, label LBL_1\n LBL_1:\n %27 = call i64 @FUNC(i64 %25)\n br label LBL_2\n LBL_2:\n %28 = icmp eq i64* %arg2, null\n br i1 %28, label LBL_4, label LBL_3\n LBL_3:\n %29 = call i64 @FUNC(i64 %2)\n br label LBL_4\n LBL_4:\n %30 = add i64 %2, 16\n %31 = call i64 @FUNC(i64 %30)\n %32 = add i64 %2, 24\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %2, 32\n %35 = call i64 @FUNC(i64 %34)\n %36 = add i64 %2, 40\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = load i64, i64* %37, align 8\n %41 = add i64 %40, 8\n %42 = call i64 @FUNC(i64 %41)\n %43 = call i64 @FUNC(i64 %36)\n %44 = add i64 %2, 48\n %45 = call i64 @FUNC(i64 %44)\n %46 = add i64 %2, 56\n %47 = inttoptr i64 %46 to i64*\n %48 = load i64, i64* %47, align 8\n %49 = icmp eq i64 %48, 0\n br i1 %49, label LBL_6, label LBL_5\n LBL_5:\n %50 = call i64 @FUNC(i64 %48)\n br label LBL_6\n LBL_6:\n %51 = call i64 @FUNC(i64 %46)\n %52 = load i64, i64* %13, align 8\n %53 = add i32 %4, -1\n store i32 %53, i32* %arg1, align 4\n %54 = add i64 %52, %15\n %55 = call i64 @FUNC(i64 %54)\n ret i64 %55\n\n uselistorder i64 %2, { 3, 2, 4, 7, 6, 5, 1, 8, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 (i64)* @av_freep, { 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 (i64)* @av_assert0, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "v9fs_fill_statfs_8186", "fun_name": "v9fs_fill_statfs", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = mul i64 %1, 4294967296\n %sext = add i64 %3, -103079215104\n %4 = ashr exact i64 %sext, 32\n %5 = add i64 %2, 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = udiv i64 %4, %7\n %9 = urem i64 %4, %7\n %10 = trunc i64 %8 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n %13 = mul i64 %8, 4294967296\n %.op = ashr exact i64 %13, 32\n %14 = select i1 %12, i64 %.op, i64 1\n %sext3 = mul i64 %7, 4294967296\n %15 = ashr exact i64 %sext3, 32\n %16 = mul nsw i64 %14, %15\n %17 = add i64 %2, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = udiv i64 %19, %14\n %21 = ptrtoint i32* %arg2 to i64\n %22 = and i64 %16, 4294967295\n %23 = and i64 %9, 4294967295\n %24 = call i64 @FUNC(i64 %21, i64 7, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_0, i64 0, i64 0), i64 %23, i64 %22, i64 %20)\n ret i64 %24\n\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %7, { 0, 2, 1 }\n uselistorder i64 %4, { 1, 0 }\n uselistorder i64 32, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "dlm_lowcomms_stop_3971", "fun_name": "dlm_lowcomms_stop", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge3.reg2mem = alloca i32\n %storemerge24.reg2mem = alloca i32\n %0 = call i64 @FUNC(i64* nonnull @gv_0)\n store i32 0, i32* %storemerge24.reg2mem\n br label LBL_1\n LBL_1:\n %storemerge24.reload = load i32, i32* %storemerge24.reg2mem\n %1 = zext i32 %storemerge24.reload to i64\n %2 = call i64 @FUNC(i64 %1, i64 0)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_4, label LBL_2\n LBL_2:\n %4 = inttoptr i64 %2 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = or i32 %5, 15\n store i32 %6, i32* %4, align 4\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = icmp eq i64 %9, 0\n br i1 %10, label LBL_4, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %9 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = inttoptr i64 %12 to i64*\n store i64 0, i64* %13, align 8\n br label LBL_4\n LBL_4:\n %14 = add i32 %storemerge24.reload, 1\n %15 = load i32, i32* @gv_1, align 4\n %16 = zext i32 %15 to i64\n %17 = sext i32 %14 to i64\n %18 = icmp sgt i64 %17, %16\n store i32 %14, i32* %storemerge24.reg2mem\n br i1 %18, label LBL_5, label LBL_1\n LBL_5:\n %19 = call i64 @FUNC(i64* nonnull @gv_0)\n %20 = call i64 @FUNC()\n %21 = call i64 @FUNC(i64* nonnull @gv_0)\n %22 = call i64 @FUNC()\n store i32 0, i32* %storemerge3.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %23 = zext i32 %storemerge3.reload to i64\n %24 = call i64 @FUNC(i64 %23, i64 0)\n %25 = icmp eq i64 %24, 0\n br i1 %25, label LBL_10, label LBL_7\n LBL_7:\n %26 = call i64 @FUNC(i64 %24, i64 1)\n %27 = add i64 %24, 16\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = icmp eq i64 %29, 0\n br i1 %30, label LBL_9, label LBL_8\n LBL_8:\n %31 = load i64, i64* @gv_2, align 8\n %32 = call i64 @FUNC(i64 %31, i64 %29)\n br label LBL_9\n LBL_9:\n %33 = load i64, i64* @gv_2, align 8\n %34 = call i64 @FUNC(i64 %33, i64 %24)\n br label LBL_10\n LBL_10:\n %35 = add i32 %storemerge3.reload, 1\n %36 = load i32, i32* @gv_1, align 4\n %37 = zext i32 %36 to i64\n %38 = sext i32 %35 to i64\n %39 = icmp sgt i64 %38, %37\n store i32 %35, i32* %storemerge3.reg2mem\n br i1 %39, label LBL_11, label LBL_6\n LBL_11:\n store i32 0, i32* @gv_1, align 4\n %40 = call i64 @FUNC(i64* nonnull @gv_0)\n %41 = load i64, i64* @gv_2, align 8\n %42 = call i64 @FUNC(i64 %41)\n %43 = call i64 @FUNC(i64* nonnull @gv_3)\n ret i64 %43\n\n uselistorder i32* %4, { 1, 0 }\n uselistorder i64 %2, { 0, 2, 1 }\n uselistorder i32* %storemerge24.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @kmem_cache_free, { 1, 0 }\n uselistorder i64 (i64*)* @up, { 1, 0 }\n uselistorder i32* @gv_1, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @__nodeid2con, { 1, 0 }\n uselistorder i32 0, { 3, 0, 1, 2 }\n uselistorder i64 (i64*)* @down, { 1, 0 }\n uselistorder i32 1, { 10, 11, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_reset_requested_3509", "fun_name": "qemu_reset_requested", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8\n %1 = icmp eq i32 %0, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 2)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %4, label LBL_3, label LBL_2\n LBL_2:\n %5 = zext i32 %0 to i64\n store i32 0, i32* bitcast (i64* @gv_0 to i32*), align 8\n store i64 %5, i64* %storemerge.reg2mem\n br label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder label LBL_3, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "esp_reg_read_6236", "fun_name": "esp_reg_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.in.reg2mem = alloca i32\n %.pre-phi3.reg2mem = alloca i32*\n %.pre-phi7.reg2mem = alloca i32*\n %0 = ptrtoint i64* %arg1 to i64\n %1 = trunc i64 %arg2 to i32\n %2 = mul i64 %arg2, 4\n %3 = and i64 %2, 17179869180\n %4 = add i64 %3, %0\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %6 to i64\n %8 = and i64 %arg2, 4294967295\n %9 = call i64 @FUNC(i64 %8, i64 %7)\n %10 = icmp eq i32 %1, 3\n br i1 %10, label LBL_10, label LBL_1\n LBL_1:\n %11 = icmp ult i32 %1, 4\n br i1 %11, label LBL_2, label LBL_12\n LBL_2:\n switch i32 %1, label LBL_12 [\n i32 0, label LBL_3\n i32 2, label LBL_9\n ]\n LBL_3:\n %12 = add i64 %0, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = urem i32 %14, 2\n %16 = icmp eq i32 %15, 0\n %17 = icmp eq i1 %16, false\n br i1 %17, label LBL_5, label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 4, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_0, i64 0, i64 0))\n %19 = bitcast i64* %arg1 to i32*\n store i32 0, i32* %19, align 4\n %20 = call i64 @FUNC(i64 %0)\n %.pre = add i64 %0, 20\n %.pre2 = inttoptr i64 %.pre to i32*\n %.pre4 = add i64 %0, 24\n %.pre6 = inttoptr i64 %.pre4 to i32*\n store i32* %.pre6, i32** %.pre-phi7.reg2mem\n store i32* %.pre2, i32** %.pre-phi3.reg2mem\n br label LBL_7\n LBL_5:\n %21 = add i64 %0, 20\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %0, 24\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp ult i32 %23, %26\n %28 = icmp eq i1 %27, false\n store i32* %25, i32** %.pre-phi7.reg2mem\n store i32* %22, i32** %.pre-phi3.reg2mem\n br i1 %28, label LBL_7, label LBL_6\n LBL_6:\n %29 = add i64 %0, 28\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i32 %31, -1\n store i32 %32, i32* %30, align 4\n %33 = load i32, i32* %22, align 4\n %34 = add i32 %33, 1\n store i32 %34, i32* %22, align 4\n %35 = zext i32 %33 to i64\n %36 = mul i64 %35, 4\n %37 = add i64 %0, 32\n %38 = add i64 %37, %36\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = bitcast i64* %arg1 to i32*\n store i32 %40, i32* %41, align 4\n %42 = call i64 @FUNC(i64 %0)\n store i32* %25, i32** %.pre-phi7.reg2mem\n store i32* %22, i32** %.pre-phi3.reg2mem\n br label LBL_7\n LBL_7:\n %.pre-phi3.reload = load i32*, i32** %.pre-phi3.reg2mem\n %.pre-phi7.reload = load i32*, i32** %.pre-phi7.reg2mem\n %43 = load i32, i32* %.pre-phi3.reload, align 4\n %44 = load i32, i32* %.pre-phi7.reload, align 4\n %45 = icmp eq i32 %43, %44\n %46 = icmp eq i1 %45, false\n br i1 %46, label LBL_12, label LBL_8\n LBL_8:\n store i32 0, i32* %.pre-phi3.reload, align 4\n store i32 0, i32* %.pre-phi7.reload, align 4\n br label LBL_12\n LBL_9:\n %47 = add i64 %0, 8\n %48 = inttoptr i64 %47 to i32*\n %49 = load i32, i32* %48, align 4\n store i32 0, i32* %48, align 4\n %50 = add i64 %0, 4\n %51 = inttoptr i64 %50 to i32*\n %52 = load i32, i32* %51, align 4\n %53 = and i32 %52, -3\n store i32 %53, i32* %51, align 4\n %54 = add i64 %0, 16\n %55 = inttoptr i64 %54 to i32*\n store i32 3, i32* %55, align 4\n %56 = call i64 @FUNC(i64 %0)\n store i32 %49, i32* %rax.0.in.reg2mem\n br label LBL_13\n LBL_10:\n %57 = add i64 %0, 1060\n %58 = inttoptr i64 %57 to i32*\n %59 = load i32, i32* %58, align 4\n %60 = icmp eq i32 %59, 0\n %61 = icmp eq i1 %60, false\n br i1 %61, label LBL_12, label LBL_11\n LBL_11:\n %62 = add i64 %0, 1056\n %63 = inttoptr i64 %62 to i32*\n %64 = load i32, i32* %63, align 4\n store i32 %64, i32* %rax.0.in.reg2mem\n br label LBL_13\n LBL_12:\n %65 = load i32, i32* %5, align 4\n store i32 %65, i32* %rax.0.in.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.in.reload = load i32, i32* %rax.0.in.reg2mem\n %rax.0 = zext i32 %rax.0.in.reload to i64\n ret i64 %rax.0\n\n uselistorder i32* %25, { 1, 0, 2 }\n uselistorder i32* %22, { 1, 3, 2, 0, 4 }\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 15, 14, 4, 5, 6, 7, 9, 3, 13, 11, 12, 1, 2, 8, 10, 0 }\n uselistorder i32** %.pre-phi7.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32** %.pre-phi3.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %rax.0.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 20, { 1, 0 }\n uselistorder i64 (i64)* @esp_raise_irq, { 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 6, 0 }\n uselistorder i32 3, { 1, 0 }\n uselistorder i64 4, { 3, 0, 2, 4, 1 }\n uselistorder i64 %arg2, { 1, 0, 2 }\n uselistorder label LBL_12, { 3, 2, 1, 0, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "alloc_bottom_12375", "fun_name": "alloc_bottom", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = load i64, i64* @gv_0, align 8\n %2 = add i64 %1, %arg1\n store i64 %2, i64* @gv_0, align 8\n %3 = load i64, i64* @gv_1, align 8\n %4 = icmp ugt i64 %2, %3\n store i64 %1, i64* %.lcssa.reg2mem\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC(i64 %arg2)\n %7 = load i64, i64* @gv_0, align 8\n %8 = add i64 %7, %arg1\n store i64 %8, i64* @gv_0, align 8\n %9 = load i64, i64* @gv_1, align 8\n %10 = icmp ugt i64 %8, %9\n store i64 %7, i64* %.lcssa.reg2mem\n br i1 %10, label LBL_1, label LBL_2\n LBL_2:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64* @gv_1, { 1, 0, 2 }\n uselistorder i64 (i64)* @align_bottom, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "copyin_link_6813", "fun_name": "copyin_link", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 1\n %2 = call i64 @FUNC(i64 %1)\n %3 = add i64 %2, %1\n %4 = inttoptr i64 %3 to i8*\n store i8 0, i8* %4, align 1\n %5 = and i64 %arg2, 4294967295\n %6 = call i64 @FUNC(i64 %2, i64 %5, i64 %1)\n %7 = call i64 @FUNC(i64 %5, i64 %2)\n %8 = add i64 %0, 8\n %9 = inttoptr i64 %2 to i8*\n %10 = inttoptr i64 %8 to i8*\n %11 = call i32 @symlink(i8* %9, i8* %10)\n %12 = icmp slt i32 %11, 0\n %13 = icmp eq i1 %12, false\n br i1 %13, label LBL_2, label LBL_1\n LBL_1:\n %14 = call i32* @__errno_location()\n %15 = load i32, i32* %14, align 4\n %16 = call i8* @strerror(i32 %15)\n %17 = load i8*, i8** @gv_0, align 8\n %18 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_2, i64 0, i64 0), i8* %17, i8* %10, i8* %16)\n %20 = inttoptr i64 %2 to i64*\n call void @free(i64* %20)\n br label LBL_6\n LBL_2:\n %21 = add i64 %0, 268\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = add i64 %0, 264\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = call i32 @lchown(i8* %10, i32 %26, i32 %23)\n %28 = icmp slt i32 %27, 0\n %29 = icmp eq i1 %28, false\n br i1 %29, label LBL_5, label LBL_3\n LBL_3:\n %30 = call i32* @__errno_location()\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 1\n br i1 %32, label LBL_5, label LBL_4\n LBL_4:\n %33 = call i32* @__errno_location()\n %34 = load i32, i32* %33, align 4\n %35 = call i8* @strerror(i32 %34)\n %36 = load i8*, i8** @gv_0, align 8\n %37 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %38 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %37, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_3, i64 0, i64 0), i8* %36, i8* %10, i8* %35)\n br label LBL_5\n LBL_5:\n %39 = inttoptr i64 %2 to i64*\n call void @free(i64* %39)\n br label LBL_6\n LBL_6:\n ret i64 ptrtoint (i32* @0 to i64)\n\n uselistorder i8* %10, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 2, 1, 3, 4, 5, 0 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder %_IO_FILE** @gv_1, { 2, 1, 0 }\n uselistorder i8* (i32)* @strerror, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 1, 2, 0 }\n uselistorder i8 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "check_passwd_5803", "fun_name": "check_passwd", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.in.reg2mem = alloca i64\n %storemerge.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = call i64 @FUNC(i64 1)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n store i64 0, i64* %sv_1.0.reg2mem\n store i32 32, i32* %storemerge.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %8 = call i64 @FUNC(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %9 = icmp eq i64 %8, 0\n %10 = icmp eq i1 %9, false\n br i1 %10, label LBL_3, label LBL_2\n LBL_2:\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %2, i64 %1)\n store i64 4294967294, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_3:\n %12 = call i64 @FUNC(i64 %8)\n %13 = trunc i64 %12 to i32\n store i64 %8, i64* %sv_1.0.reg2mem\n store i32 %13, i32* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i32, i32* %storemerge.reg2mem\n %14 = mul i32 %storemerge.reload, 2\n %15 = call i64* @calloc(i32 %14, i32 1)\n %16 = icmp eq i64* %15, null\n %17 = icmp eq i1 %16, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %17, label LBL_5, label LBL_16\n LBL_5:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %18 = ptrtoint i64* %15 to i64\n %19 = sext i32 %storemerge.reload to i64\n %20 = add i64 %18, %19\n %21 = call i64 @FUNC()\n %22 = trunc i64 %21 to i32\n %23 = icmp eq i32 %22, 0\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n %24 = zext i32 %storemerge.reload to i64\n %25 = call i64 @FUNC(i64 %20, i64 %24)\n store i64 %25, i64* %sv_0.0.in.reg2mem\n br label LBL_9\n LBL_7:\n %26 = call i64 @FUNC()\n %27 = trunc i64 %26 to i32\n %28 = icmp eq i32 %27, 0\n store i64 4294967274, i64* %sv_0.1.reg2mem\n br i1 %28, label LBL_15, label LBL_8\n LBL_8:\n %29 = zext i32 %storemerge.reload to i64\n %30 = call i64 @FUNC(i64 %20, i64 %29)\n store i64 %30, i64* %sv_0.0.in.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = trunc i64 %sv_0.0.in.reload to i32\n %31 = icmp slt i32 %sv_0.0, 0\n store i64 %sv_0.0.in.reload, i64* %sv_0.1.reg2mem\n br i1 %31, label LBL_15, label LBL_10\n LBL_10:\n %32 = ptrtoint i64* %arg1 to i64\n %33 = call i64 @FUNC(i64 1)\n %34 = trunc i64 %33 to i32\n %35 = icmp eq i32 %34, 0\n br i1 %35, label LBL_13, label LBL_11\n LBL_11:\n %36 = call i64 @FUNC(i64 %32, i64 %arg2, i64 %20, i64 16, i64 1000, i64 16, i64 %18)\n %37 = trunc i64 %36 to i32\n %38 = icmp eq i32 %37, 0\n %39 = icmp eq i1 %38, false\n store i64 %36, i64* %sv_0.1.reg2mem\n br i1 %39, label LBL_15, label LBL_12\n LBL_12:\n %40 = add i64 %20, 16\n %41 = call i64 @FUNC(i64 %18, i64 %40, i64 16)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n %44 = icmp eq i1 %43, false\n %spec.select = select i1 %44, i64 %36, i64 1\n store i64 %spec.select, i64* %sv_0.1.reg2mem\n br label LBL_15\n LBL_13:\n %45 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %32, i64 %arg2, i64 %18)\n %46 = trunc i64 %45 to i32\n %47 = icmp eq i32 %46, 0\n %48 = icmp eq i1 %47, false\n store i64 %45, i64* %sv_0.1.reg2mem\n br i1 %48, label LBL_15, label LBL_14\n LBL_14:\n %49 = call i64 @FUNC(i64 %18, i64 %20, i64 %19)\n %50 = trunc i64 %49 to i32\n %51 = icmp eq i32 %50, 0\n %52 = icmp eq i1 %51, false\n %spec.select1 = select i1 %52, i64 %45, i64 1\n store i64 %spec.select1, i64* %sv_0.1.reg2mem\n br label LBL_15\n LBL_15:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n call void @free(i64* %15)\n %53 = call i64 @FUNC(i64 %sv_1.0.reload)\n %54 = and i64 %sv_0.1.reload, 4294967295\n store i64 %54, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %45, { 1, 0, 2 }\n uselistorder i64 %36, { 1, 0, 2 }\n uselistorder i64 %32, { 1, 0 }\n uselistorder i64 %20, { 4, 2, 3, 1, 0 }\n uselistorder i64 %19, { 1, 0 }\n uselistorder i64 %18, { 3, 4, 1, 2, 0 }\n uselistorder i64* %15, { 0, 2, 1 }\n uselistorder i32 %storemerge.reload, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i32* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.1.reg2mem, { 0, 2, 5, 3, 4, 6, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 3, 2, 1, 0 }\n uselistorder void (i64*)* @free, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @crypto_memneq, { 1, 0 }\n uselistorder i64 16, { 0, 3, 1, 2 }\n uselistorder i32 0, { 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3, 4 }\n uselistorder i64 (i64)* @IS_ENABLED, { 1, 0 }\n uselistorder i64 1, { 2, 3, 4, 5, 0, 1 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder label LBL_16, { 1, 0, 2 }\n uselistorder label LBL_15, { 1, 3, 2, 4, 5, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "virtio_balloon_to_target_1685", "fun_name": "virtio_balloon_to_target", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.1.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = icmp ult i64 %0, %arg2\n %spec.select = select i1 %1, i64 %0, i64 %arg2\n %2 = icmp eq i64 %spec.select, 0\n store i64 %0, i64* %rax.1.reg2mem\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = sub i64 %0, %spec.select\n %4 = udiv i64 %3, 4096\n %5 = trunc i64 %4 to i32\n store i32 %5, i32* %arg1, align 4\n %6 = ptrtoint i32* %arg1 to i64\n %7 = add i64 %6, 4\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %rax.1.reg2mem\n br label LBL_2\n LBL_2:\n %rax.1.reload = load i64, i64* %rax.1.reg2mem\n ret i64 %rax.1.reload\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fetch_description_8779", "fun_name": "fetch_description", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = icmp eq i64* %arg1, null\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_1, label LBL_7\n LBL_1:\n %5 = ptrtoint i64* %arg1 to i64\n %6 = bitcast i64* %arg1 to i8*\n %7 = call i8* @strpbrk(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %8 = icmp eq i8* %7, null\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n %9 = ptrtoint i8* %7 to i64\n %10 = add i64 %9, 1\n store i8 0, i8* %7, align 1\n %11 = inttoptr i64 %10 to i8*\n %12 = call i32 @strspn(i8* %11, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_0, i64 0, i64 0))\n %13 = sext i32 %12 to i64\n %14 = add i64 %10, %13\n store i64 %14, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_3:\n %15 = call i32 @strlen(i8* %6)\n %16 = sext i32 %15 to i64\n %17 = add i64 %16, %5\n store i64 %17, i64* %storemerge.in.reg2mem\n br label LBL_4\n LBL_4:\n %18 = call i64 @FUNC(i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64 %5)\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_7, label LBL_5\n LBL_5:\n %storemerge.in.reload = load i64, i64* %storemerge.in.reg2mem\n %20 = inttoptr i64 %18 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %storemerge.in.reload, i64 %21)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = call i64 @FUNC(i64 %18, i64 %storemerge.in.reload)\n %26 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %5, i64 %storemerge.in.reload, i64 %2, i64 %1)\n br label LBL_7\n LBL_7:\n ret i64 0\n\n uselistorder i64 %storemerge.in.reload, { 2, 1, 0 }\n uselistorder i8* %7, { 1, 0, 2 }\n uselistorder i64 %5, { 1, 2, 0 }\n uselistorder i64* %storemerge.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder [3 x i8]* @gv_0, { 1, 0 }\n uselistorder i64* %arg1, { 0, 2, 1 }\n uselistorder label LBL_7, { 2, 1, 0, 3 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vty_putchars_3390", "fun_name": "vty_putchars", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = trunc i64 %arg3 to i32\n %3 = call i64 @FUNC(i64 %1, i64 %0, i32 %2)\n ret i64 %3\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ion_handle_put_11153", "fun_name": "ion_handle_put", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2, i64 4198735)\n %4 = call i64 @FUNC(i64 %0)\n %5 = and i64 %3, 4294967295\n ret i64 %5\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "IRQ_resetbit_15988", "fun_name": "IRQ_resetbit", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i32 %3, -1\n %5 = bitcast i64* %arg1 to i32*\n store i32 %4, i32* %5, align 4\n %6 = add i64 %2, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = and i64 %arg2, 4294967295\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n ret i64 %10\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "monitor_set_cpu_3595", "fun_name": "monitor_set_cpu", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = and i64 %arg1, 4294967295\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %3, label LBL_1, label LBL_2\n LBL_1:\n %4 = load i64, i64* @gv_0, align 8\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = load i64, i64* @gv_0, align 8\n %9 = call i64 @FUNC(i64 %1)\n %10 = inttoptr i64 %8 to i64*\n store i64 %9, i64* %10, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "simple_number_5067", "fun_name": "simple_number", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %.lcssa.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %.reg2mem7 = alloca i64\n %.reg2mem5 = alloca i64*\n %.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %0 = ptrtoint i64* %sv_1 to i64\n %1 = bitcast i64* %sv_0 to i8*\n call void @FUNC(i8* nonnull %1, i64 0, i64 18)\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %sv_0, align 8\n %2 = add i64 %0, -16\n %3 = add i64 %0, -192\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %.reg2mem\n store i64* %4, i64** %.reg2mem5\n store i64 %2, i64* %.reg2mem7\n store i32 0, i32* %storemerge1.reg2mem\n store i64 %5, i64* %.lcssa.reg2mem\n br i1 %7, label LBL_1, label LBL_4\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload8 = load i64, i64* %.reg2mem7\n %.reload = load i64, i64* %.reg2mem\n %8 = call i64 @FUNC(i64 %.reload, i64 4199278)\n %9 = call i64 @FUNC(i64 %8)\n %10 = and i64 %9, 4294967295\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %9)\n %sext = mul i64 %12, 4294967296\n %13 = ashr exact i64 %sext, 32\n %14 = add i64 %.reload8, -168\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = icmp eq i64 %13, %16\n %18 = zext i1 %17 to i64\n %19 = call i64 @FUNC(i64 %18)\n %20 = add i64 %.reload8, -160\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 8\n %23 = icmp eq i32 %22, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_3, label LBL_2\n LBL_2:\n %.reload6 = load i64*, i64** %.reg2mem5\n %25 = call i64 @FUNC(i64 %9)\n %26 = load i64, i64* %.reload6, align 8\n %27 = call i64 @FUNC(i64 %25)\n %28 = inttoptr i64 %27 to i8*\n %29 = inttoptr i64 %26 to i8*\n %30 = call i32 @strcmp(i8* %28, i8* %29)\n %31 = icmp eq i32 %30, 0\n %32 = zext i1 %31 to i64\n %33 = call i64 @FUNC(i64 %32)\n %34 = call i64 @FUNC(i64 %25)\n br label LBL_3\n LBL_3:\n %35 = call i64 @FUNC(i64 %9)\n %36 = add i32 %storemerge1.reload, 1\n %37 = sext i32 %36 to i64\n %38 = mul nsw i64 %37, 24\n %39 = add i64 %38, %2\n %40 = add i64 %39, -176\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %.reg2mem\n store i64* %41, i64** %.reg2mem5\n store i64 %39, i64* %.reg2mem7\n store i32 %36, i32* %storemerge1.reg2mem\n store i64 %42, i64* %.lcssa.reg2mem\n br i1 %44, label LBL_1, label LBL_4\n LBL_4:\n %.lcssa.reload = load i64, i64* %.lcssa.reg2mem\n ret i64 %.lcssa.reload\n\n uselistorder i64 %9, { 1, 0, 3, 2 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.reg2mem5, { 2, 0, 1 }\n uselistorder i64* %.reg2mem7, { 2, 0, 1 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @QDECREF, { 1, 0 }\n uselistorder i64 (i64)* @g_assert, { 2, 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ensure_playlist_61", "fun_name": "ensure_playlist", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = icmp eq i64* %arg2, null\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_3\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 0, i64 %arg3, i64 0)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n call void @llvm.trap()\n unreachable\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_chr_open_pp_962", "fun_name": "qemu_chr_open_pp", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))\n %2 = call i64 @FUNC(i64 %1, i64 2)\n %3 = trunc i64 %2 to i32\n %4 = icmp slt i32 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_1, label LBL_2\n LBL_1:\n %6 = call i64 @FUNC(i64 24)\n %sext = mul i64 %2, 4294967296\n %7 = ashr exact i64 %sext, 32\n %8 = inttoptr i64 %6 to i64*\n store i64 %7, i64* %8, align 8\n %9 = add i64 %6, 8\n %10 = inttoptr i64 %9 to i64*\n store i64 4198816, i64* %10, align 8\n %11 = add i64 %6, 16\n %12 = inttoptr i64 %11 to i64*\n store i64 4198823, i64* %12, align 8\n store i64 %6, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "checkout_verify_paths_11096", "fun_name": "checkout_verify_paths", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = and i64 %arg2, 2\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_3, label LBL_1\n LBL_1:\n %4 = add i64 %0, 8\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %1, i64 %7, i64 %7, i32 1)\n %9 = trunc i64 %8 to i32\n %10 = icmp eq i32 %9, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 %7)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %13 = and i64 %arg2, 4294967293\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_4\n LBL_4:\n %15 = add i64 %0, 24\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = zext i32 %17 to i64\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %1, i64 %21, i64 %18, i32 1)\n %23 = trunc i64 %22 to i32\n %24 = icmp eq i32 %23, 0\n %25 = icmp eq i1 %24, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %25, label LBL_6, label LBL_5\n LBL_5:\n %26 = load i64, i64* %20, align 8\n %27 = call i64 @FUNC(i64 3, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_1, i64 0, i64 0), i64 %26)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %7, { 0, 2, 1 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 %0, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3 }\n uselistorder i64 (i64, i8*, i64)* @git_error_set, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i32)* @git_path_isvalid, { 1, 0 }\n uselistorder label LBL_6, { 2, 1, 0, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mxf_read_content_storage_2715", "fun_name": "mxf_read_content_storage", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3, i32 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = icmp eq i32 %arg3, 6401\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_5, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 16\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, 0\n store i64 0, i64* %.reg2mem\n br i1 %6, label LBL_3, label LBL_2\n LBL_2:\n %7 = sext i32 %arg4 to i64\n %8 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %arg5, i64 %arg6)\n %.pre = load i64, i64* %4, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_3\n LBL_3:\n %9 = ptrtoint i64* %arg2 to i64\n %.reload = load i64, i64* %.reg2mem\n %10 = call i64 @FUNC(i64 %.reload)\n %11 = call i64 @FUNC(i64 %9)\n %12 = trunc i64 %11 to i32\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 %12, i32* %14, align 4\n %sext = mul i64 %11, 4294967296\n %15 = ashr exact i64 %sext, 32\n %16 = call i64 @FUNC(i64 %15, i64 4)\n store i64 %16, i64* %4, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 4294967284, i64* %storemerge.reg2mem\n br i1 %18, label LBL_4, label LBL_5\n LBL_4:\n %19 = call i64 @FUNC(i64 %9, i64 4)\n %20 = load i32, i32* %14, align 4\n %21 = mul i32 %20, 4\n %22 = zext i32 %21 to i64\n %23 = load i64, i64* %4, align 8\n %24 = call i64 @FUNC(i64 %9, i64 %23, i64 %22)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %4, { 1, 2, 0, 3 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 3, 1 }\n uselistorder label LBL_5, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "fgetwln_11759", "fun_name": "fgetwln", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %.pre-phi.reg2mem = alloca i64*\n %0 = load i128, i128* @gv_0, align 8\n %1 = trunc i128 %0 to i64\n %2 = mul i64 %1, 24\n %3 = add i64 %2, ptrtoint (i64* @gv_1 to i64)\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = icmp eq i64 %5, %arg1\n %7 = icmp eq i64 %5, 0\n %or.cond = or i1 %6, %7\n store i64* %4, i64** %.pre-phi.reg2mem\n store i64 %3, i64* %sv_1.0.reg2mem\n br i1 %or.cond, label LBL_2, label LBL_1\n LBL_1:\n %8 = add i64 %1, 1\n %9 = sext i64 %8 to i128\n store i128 %9, i128* @gv_0, align 8\n %10 = mul i64 %8, 24\n %11 = add i64 %10, ptrtoint (i64* @gv_1 to i64)\n %.pre3 = inttoptr i64 %11 to i64*\n store i64* %.pre3, i64** %.pre-phi.reg2mem\n store i64 %11, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %.pre-phi.reload = load i64*, i64** %.pre-phi.reg2mem\n store i64 %arg1, i64* %.pre-phi.reload, align 8\n %12 = add i64 %sv_1.0.reload, 16\n %13 = inttoptr i64 %12 to i64*\n %14 = add i64 %sv_1.0.reload, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_3:\n %16 = load i64, i64* %13, align 8\n %17 = icmp eq i64 %16, 0\n %18 = icmp ugt i64 %sv_0.0.reload, %16\n %or.cond2 = or i1 %17, %18\n br i1 %or.cond2, label LBL_5, label LBL_3.LBL_8_crit_edge\n LBL_4:\n %.pre = load i64, i64* %15, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_8\n LBL_5:\n %19 = mul i64 %16, 2\n %storemerge1 = select i1 %17, i64 16, i64 %19\n store i64 %storemerge1, i64* %13, align 8\n %20 = load i64, i64* %15, align 8\n %21 = call i64 @reallocarray(i64 %20, i64 %storemerge1, i64 4)\n %22 = icmp eq i64 %21, 0\n %23 = icmp eq i1 %22, false\n br i1 %23, label LBL_7, label LBL_6\n LBL_6:\n store i64 0, i64* %arg2, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_7:\n store i64 %21, i64* %15, align 8\n store i64 %21, i64* %.reg2mem\n br label LBL_8\n LBL_8:\n %.reload = load i64, i64* %.reg2mem\n %24 = add i64 %sv_0.0.reload, 1\n %25 = mul i64 %sv_0.0.reload, 4\n %26 = add i64 %.reload, %25\n %27 = inttoptr i64 %26 to i32*\n store i32 %30, i32* %27, align 4\n %28 = icmp eq i32 %30, 10\n store i64 %24, i64* %sv_0.0.reg2mem\n store i64 %24, i64* %sv_0.1.reg2mem\n br i1 %28, label LBL_10, label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %29 = call i64 @FUNC(i64 %arg1)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, -1\n %32 = icmp eq i1 %31, false\n store i64 %sv_0.0.reload, i64* %sv_0.1.reg2mem\n br i1 %32, label LBL_3, label LBL_10\n LBL_10:\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n store i64 %sv_0.1.reload, i64* %arg2, align 8\n %33 = icmp eq i64 %sv_0.1.reload, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %34 = load i64, i64* %15, align 8\n store i64 %34, i64* %storemerge.reg2mem\n br label LBL_12\n LBL_12:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %sv_0.1.reload, { 1, 0 }\n uselistorder i32 %30, { 2, 1, 0 }\n uselistorder i64 %sv_0.0.reload, { 0, 2, 1, 3 }\n uselistorder i64* %15, { 0, 2, 3, 1 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %8, { 1, 0 }\n uselistorder i64** %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @fgetwc, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n uselistorder i128* @gv_0, { 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_12, { 2, 1, 0 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mch_realize_15319", "fun_name": "mch_realize", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 %0, i64* %sv_0, align 8\n %2 = add i64 %1, 8\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %1, i64 %1, i64 %4)\n %6 = call i64 @FUNC(i64 4198835, i64 %1)\n %7 = load i64, i64* %3, align 8\n %8 = add i64 %1, 120\n %9 = call i64 @FUNC(i64 %8, i64 %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 655360, i64 131072)\n %10 = call i64 @FUNC(i64 %8, i64 655360, i64 %8, i64 1)\n %11 = call i64 @FUNC(i64 %8, i64 0)\n %12 = add i64 %1, 24\n %13 = load i64, i64* %3, align 8\n %14 = add i64 %1, 16\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = call i64 @FUNC(i64 %1, i64 %16, i64 %12, i64 %13, i64 %12, i64 983040)\n %18 = ptrtoint i64* %sv_0 to i64\n %19 = add i64 %18, -8\n %20 = inttoptr i64 %19 to i64*\n store i64 0, i64* %indvars.iv.reg2mem\n br label LBL_1\n LBL_1:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %21 = mul i64 %indvars.iv.reload, 65536\n %22 = add nuw nsw i64 %21, 917504\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %23 = mul i64 %indvars.iv.next, 8\n %24 = add i64 %23, %12\n %25 = load i64, i64* %3, align 8\n %26 = load i64, i64* %15, align 8\n store i64 65536, i64* %20, align 8\n %27 = call i64 @FUNC(i64 %1, i64 %26, i64 %24, i64 %25, i64 %24, i64 %22)\n %exitcond = icmp eq i64 %indvars.iv.next, 12\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n %28 = call i64 @FUNC()\n %29 = call i64 @FUNC(i64 %28, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i64 0)\n %30 = trunc i64 %29 to i32\n %31 = icmp eq i32 %30, 0\n store i64 %29, i64* %rax.0.reg2mem\n br i1 %31, label LBL_4, label LBL_3\n LBL_3:\n %32 = call i64 @FUNC(i64 %1)\n store i64 %32, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %indvars.iv.next, { 0, 2, 1 }\n uselistorder i64 %1, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8, 10 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }\n uselistorder i64 65536, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64, i64, i64)* @init_pam, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qeth_get_trap_id_9480", "fun_name": "qeth_get_trap_id", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = ptrtoint i32* %arg1 to i64\n %sv_0 = alloca i32, align 4\n %4 = call i64 @FUNC(i64 0)\n %5 = trunc i64 %1 to i32\n %6 = bitcast i64* %arg2 to i32*\n store i32 %5, i32* %6, align 4\n %7 = call i64 @FUNC(i64 %3)\n %8 = bitcast i32* %sv_0 to i64*\n %9 = call i64 @FUNC(i64 %7, i64* nonnull %8)\n %10 = load i32, i32* %sv_0, align 4\n %11 = add i64 %2, 4\n %12 = inttoptr i64 %11 to i32*\n store i32 %10, i32* %12, align 4\n %13 = add i64 %2, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = icmp eq i64 %4, 0\n store i64 %2, i64* %rax.0.reg2mem\n br i1 %15, label LBL_8, label LBL_1\n LBL_1:\n %16 = call i64 @FUNC(i64 0, i64 0, i64 0, i64 0)\n %17 = trunc i64 %16 to i32\n %18 = icmp slt i32 %17, 2\n br i1 %18, label LBL_7, label LBL_2\n LBL_2:\n %19 = call i64 @FUNC(i64 %4, i64 2, i64 2, i64 2)\n %20 = trunc i64 %19 to i32\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n br i1 %22, label LBL_4, label LBL_3\n LBL_3:\n %23 = inttoptr i64 %4 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = add i64 %2, 12\n %26 = inttoptr i64 %25 to i32*\n store i32 %24, i32* %26, align 4\n br label LBL_4\n LBL_4:\n %27 = icmp slt i32 %17, 3\n br i1 %27, label LBL_7, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC(i64 %4, i64 3, i64 2, i64 2)\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %31 = icmp eq i1 %30, false\n br i1 %31, label LBL_7, label LBL_6\n LBL_6:\n %32 = call i64 @FUNC(i64 %4, i64 32)\n %33 = add i64 %2, 16\n %34 = inttoptr i64 %33 to i64*\n %35 = inttoptr i64 %4 to i64*\n %36 = call i64* @memcpy(i64* %34, i64* %35, i32 32)\n br label LBL_7\n LBL_7:\n %37 = call i64 @FUNC(i64 %4)\n store i64 %37, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %4, { 4, 2, 1, 3, 5, 0, 6 }\n uselistorder i64 %2, { 2, 1, 0, 3, 4 }\n uselistorder i64 2, { 1, 0, 4, 3, 2 }\n uselistorder i64 (i64, i64, i64, i64)* @stsi, { 2, 1, 0 }\n uselistorder label LBL_8, { 1, 0 }\n uselistorder label LBL_7, { 1, 2, 3, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "h2c_st_by_id_8365", "fun_name": "h2c_st_by_id", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %sext = mul i64 %arg2, 4294967296\n %2 = ashr exact i64 %sext, 32\n %3 = and i64 %1, 4294967295\n %4 = icmp sgt i64 %2, %3\n br i1 %4, label LBL_1, label LBL_2\n LBL_1:\n %5 = load i64, i64* @gv_0, align 8\n ret i64 %5\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = add i64 %6, 8\n %8 = and i64 %2, 4294967295\n %9 = call i64 @FUNC(i64 %7, i64 %8)\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n %12 = load i64, i64* @gv_1, align 8\n %spec.select = select i1 %11, i64 %9, i64 %12\n ret i64 %spec.select\n\n uselistorder i64 (i64, i64)* @eb32_lookup, { 2, 1, 0 }\n uselistorder i64 4294967295, { 2, 0, 3, 4, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "oidc_oauth_check_userid_7543", "fun_name": "oidc_oauth_check_userid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = ptrtoint i64* %arg2 to i64\n %5 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %6 = call i64 @FUNC(i64 %5)\n %7 = trunc i64 %6 to i32\n %8 = icmp eq i32 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_7, label LBL_1\n LBL_1:\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = inttoptr i64 %12 to i64*\n %15 = load i64, i64* %14, align 8\n store i64 %15, i64* %arg1, align 8\n br label LBL_6\n LBL_3:\n %16 = add i64 %5, 16\n %17 = inttoptr i64 %16 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = icmp eq i64 %18, 0\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = inttoptr i64 %18 to i64*\n %21 = load i64, i64* %20, align 8\n store i64 %21, i64* %arg1, align 8\n br label LBL_6\n LBL_5:\n %22 = icmp eq i64* %arg1, null\n br i1 %22, label LBL_11, label LBL_6\n LBL_6:\n %23 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i64 %5, i64 %3, i64 %2, i64 %1)\n store i64 200, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_7:\n %24 = icmp eq i64* %arg2, null\n br i1 %24, label LBL_11, label LBL_8\n LBL_8:\n %25 = call i64 @FUNC(i64 %5, i64 %4)\n %26 = trunc i64 %25 to i32\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_11, label LBL_9\n LBL_9:\n %28 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n br i1 %30, label LBL_11, label LBL_10\n LBL_10:\n %31 = call i64 @FUNC(i64 %5, i64 %4)\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_11:\n store i64 0, i64* %sv_2, align 8\n %32 = call i64 @FUNC(i64 %5, i64* nonnull %sv_2)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n br i1 %35, label LBL_13, label LBL_12\n LBL_12:\n %36 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @gv_3, i64 0, i64 0))\n store i64 %36, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_13:\n store i64 0, i64* %sv_1, align 8\n store i64 0, i64* %sv_0, align 8\n %37 = add i64 %4, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n %41 = load i64, i64* %sv_2, align 8\n br i1 %40, label LBL_16, label LBL_14\n LBL_14:\n %42 = call i64 @FUNC(i64 %5, i64 %4, i64 %41, i64* nonnull %sv_1, i64* nonnull %sv_0)\n %43 = trunc i64 %42 to i32\n %44 = icmp eq i32 %43, 0\n %45 = icmp eq i1 %44, false\n br i1 %45, label LBL_18, label LBL_15\n LBL_15:\n %46 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([42 x i8], [42 x i8]* @gv_5, i64 0, i64 0))\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_16:\n %47 = call i64 @FUNC(i64 %5, i64 %4, i64 %41, i64* nonnull %sv_1, i64* nonnull %sv_0)\n %48 = trunc i64 %47 to i32\n %49 = icmp eq i32 %48, 0\n %50 = icmp eq i1 %49, false\n br i1 %50, label LBL_18, label LBL_17\n LBL_17:\n %51 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_6, i64 0, i64 0))\n store i64 %51, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_18:\n %52 = load i64, i64* %sv_1, align 8\n %53 = icmp eq i64 %52, 0\n %54 = icmp eq i1 %53, false\n br i1 %54, label LBL_20, label LBL_19\n LBL_19:\n %55 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_7, i64 0, i64 0))\n %56 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_8, i64 0, i64 0))\n store i64 %56, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_20:\n %57 = load i64, i64* %sv_0, align 8\n %58 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_9, i64 0, i64 0), i64 %57)\n %59 = load i64, i64* %sv_1, align 8\n %60 = call i64 @FUNC(i64 %5, i64 %4, i64 %59)\n %61 = trunc i64 %60 to i32\n %62 = icmp eq i32 %61, 0\n %63 = icmp eq i1 %62, false\n br i1 %63, label LBL_22, label LBL_21\n LBL_21:\n %64 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @gv_10, i64 0, i64 0))\n %65 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_11, i64 0, i64 0))\n store i64 %65, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_22:\n %66 = call i64 @FUNC(i64 %5)\n %67 = call i64 @FUNC(i64 %5)\n %68 = call i64 @FUNC(i64 %5)\n %69 = icmp eq i64* %arg1, null\n %70 = icmp eq i64 %66, 0\n %or.cond = or i1 %69, %70\n br i1 %or.cond, label LBL_24, label LBL_23\n LBL_23:\n %71 = ptrtoint i64* %sv_0 to i64\n %72 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_12, i64 0, i64 0), i64 %66, i64 %5, i64 %71, i64 %1)\n %73 = add i64 %5, 24\n %74 = inttoptr i64 %73 to i64*\n %75 = load i64, i64* %74, align 8\n %76 = call i64 @FUNC(i64 %75, i64 %66, i64 %5)\n br label LBL_24\n LBL_24:\n %77 = add i64 %4, 24\n %78 = inttoptr i64 %77 to i64*\n %79 = load i64, i64* %78, align 8\n %80 = add i64 %4, 16\n %81 = inttoptr i64 %80 to i64*\n %82 = load i64, i64* %81, align 8\n %83 = load i64, i64* %sv_1, align 8\n %84 = and i64 %68, 4294967295\n %85 = and i64 %67, 4294967295\n %86 = call i64 @FUNC(i64 %5, i64 %83, i64 %82, i64 %79, i64 %85, i64 %84)\n %87 = load i64, i64* %sv_2, align 8\n %88 = icmp eq i64 %87, 0\n br i1 %88, label LBL_26, label LBL_25\n LBL_25:\n %89 = call i64 @FUNC(i64 %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_13, i64 0, i64 0), i64 %87, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_14, i64 0, i64 0), i64 %85, i64 %84)\n br label LBL_26\n LBL_26:\n %90 = load i64, i64* %sv_1, align 8\n %91 = call i64 @FUNC(i64 %90)\n store i64 200, i64* %rax.0.reg2mem\n br label LBL_27\n LBL_27:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %66, { 0, 2, 1 }\n uselistorder i64 %41, { 1, 0 }\n uselistorder i64* %sv_2, { 1, 2, 0, 3 }\n uselistorder i64* %sv_1, { 2, 3, 4, 5, 0, 1, 6 }\n uselistorder i64* %sv_0, { 3, 2, 0, 1, 4 }\n uselistorder i64 %5, { 17, 18, 15, 13, 16, 14, 19, 20, 21, 12, 22, 23, 24, 10, 11, 9, 25, 8, 26, 7, 27, 4, 5, 6, 1, 0, 3, 2, 28 }\n uselistorder i64 %4, { 2, 1, 3, 6, 5, 4, 0, 7 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i8*)* @oidc_error, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), { 1, 2, 0, 3 }\n uselistorder i64 (i64, i8*, i8*)* @oidc_oauth_return_www_authenticate, { 4, 3, 2, 1, 0 }\n uselistorder i64 200, { 1, 0 }\n uselistorder i64 (i64, i8*, i64, i64, i64, i64)* @oidc_debug, { 1, 0 }\n uselistorder i64* null, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 2, 0, 3, 4 }\n uselistorder label LBL_6, { 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "dccp_reset_code_convert_10374", "fun_name": "dccp_reset_code_convert", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = trunc i64 %arg1 to i8\n %1 = icmp ult i8 %0, 12\n store i64 0, i64* %storemerge.reg2mem\n br i1 %1, label LBL_1, label LBL_2\n LBL_1:\n %2 = ptrtoint i64* %sv_0 to i64\n %3 = mul i64 %arg1, 2\n %4 = and i64 %3, 510\n %5 = add nsw i64 %4, -32\n %6 = add i64 %5, %2\n %7 = inttoptr i64 %6 to i16*\n %8 = load i16, i16* %7, align 2\n %9 = zext i16 %8 to i64\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "snd_usb_pipe_sanity_check_5625", "fun_name": "snd_usb_pipe_sanity_check", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = and i64 %arg2, 4294967295\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 %1)\n %5 = trunc i64 %4 to i32\n %6 = call i64 @FUNC(i64 %2)\n %sext2 = mul i64 %6, 4294967296\n %7 = ashr exact i64 %sext2, 30\n %8 = add i64 %7, ptrtoint (i32** @gv_0 to i64)\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, %5\n %spec.select = select i1 %11, i64 0, i64 4294967295\n ret i64 %spec.select\n LBL_2:\n ret i64 4294967295\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mpeg4video_probe_11242", "fun_name": "mpeg4video_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i32\n %sv_1.1.lcssa.reg2mem = alloca i32\n %sv_2.1.lcssa.reg2mem = alloca i32\n %sv_3.1.lcssa.reg2mem = alloca i32\n %sv_4.1.lcssa.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %sv_2.0.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i32\n %sv_4.0.reg2mem = alloca i32\n %sv_5.012.reg2mem = alloca i32\n %sv_4.113.reg2mem = alloca i32\n %sv_3.114.reg2mem = alloca i32\n %sv_2.115.reg2mem = alloca i32\n %sv_1.116.reg2mem = alloca i32\n %sv_0.117.reg2mem = alloca i32\n %storemerge118.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = icmp eq i32 %3, 0\n store i32 0, i32* %sv_4.1.lcssa.reg2mem\n store i32 0, i32* %sv_3.1.lcssa.reg2mem\n store i32 0, i32* %sv_2.1.lcssa.reg2mem\n store i32 0, i32* %sv_1.1.lcssa.reg2mem\n store i32 0, i32* %sv_0.1.lcssa.reg2mem\n br i1 %4, label LBL_13, label LBL_1\n LBL_1:\n %5 = zext i32 %3 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge118.reg2mem\n store i32 0, i32* %sv_0.117.reg2mem\n store i32 0, i32* %sv_1.116.reg2mem\n store i32 0, i32* %sv_2.115.reg2mem\n store i32 0, i32* %sv_3.114.reg2mem\n store i32 0, i32* %sv_4.113.reg2mem\n store i32 -1, i32* %sv_5.012.reg2mem\n br label LBL_2\n LBL_2:\n %sv_5.012.reload = load i32, i32* %sv_5.012.reg2mem\n %sv_4.113.reload = load i32, i32* %sv_4.113.reg2mem\n %sv_3.114.reload = load i32, i32* %sv_3.114.reg2mem\n %sv_2.115.reload = load i32, i32* %sv_2.115.reg2mem\n %sv_1.116.reload = load i32, i32* %sv_1.116.reg2mem\n %sv_0.117.reload = load i32, i32* %sv_0.117.reg2mem\n %storemerge118.reload = load i32, i32* %storemerge118.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = mul i32 %sv_5.012.reload, 256\n %7 = add i64 %.reload, %0\n %8 = inttoptr i64 %7 to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i32\n %11 = or i32 %6, %10\n %12 = icmp eq i32 %6, 256\n %13 = icmp eq i1 %12, false\n store i32 %sv_4.113.reload, i32* %sv_4.0.reg2mem\n store i32 %sv_3.114.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_2.115.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.116.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.117.reload, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_12, label LBL_3\n LBL_3:\n %14 = icmp eq i32 %11, 176\n %15 = icmp eq i1 %14, false\n br i1 %15, label LBL_5, label LBL_4\n LBL_4:\n %16 = add i32 %sv_2.115.reload, 1\n store i32 %sv_4.113.reload, i32* %sv_4.0.reg2mem\n store i32 %sv_3.114.reload, i32* %sv_3.0.reg2mem\n store i32 %16, i32* %sv_2.0.reg2mem\n store i32 %sv_1.116.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.117.reload, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_5:\n %17 = icmp eq i32 %11, 177\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = add i32 %sv_1.116.reload, 1\n store i32 %sv_4.113.reload, i32* %sv_4.0.reg2mem\n store i32 %sv_3.114.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_2.115.reload, i32* %sv_2.0.reg2mem\n store i32 %19, i32* %sv_1.0.reg2mem\n store i32 %sv_0.117.reload, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_7:\n %20 = icmp ult i32 %11, 288\n br i1 %20, label LBL_8, label LBL_9\n LBL_8:\n %21 = add i32 %sv_4.113.reload, 1\n store i32 %21, i32* %sv_4.0.reg2mem\n store i32 %sv_3.114.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_2.115.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.116.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.117.reload, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_9:\n %22 = icmp ult i32 %11, 304\n br i1 %22, label LBL_10, label LBL_11\n LBL_10:\n %23 = add i32 %sv_3.114.reload, 1\n store i32 %sv_4.113.reload, i32* %sv_4.0.reg2mem\n store i32 %23, i32* %sv_3.0.reg2mem\n store i32 %sv_2.115.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.116.reload, i32* %sv_1.0.reg2mem\n store i32 %sv_0.117.reload, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_11:\n %.off = add i32 %11, -432\n %24 = icmp ugt i32 %.off, 6\n %.off7 = add i32 %11, -442\n %25 = icmp ugt i32 %.off7, 9\n %not.or.cond = icmp eq i1 %25, %24\n %26 = zext i1 %not.or.cond to i32\n %spec.select = add i32 %sv_0.117.reload, %26\n store i32 %sv_4.113.reload, i32* %sv_4.0.reg2mem\n store i32 %sv_3.114.reload, i32* %sv_3.0.reg2mem\n store i32 %sv_2.115.reload, i32* %sv_2.0.reg2mem\n store i32 %sv_1.116.reload, i32* %sv_1.0.reg2mem\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br label LBL_12\n LBL_12:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem\n %sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %27 = add i32 %storemerge118.reload, 1\n %28 = sext i32 %27 to i64\n %29 = icmp slt i64 %28, %5\n store i64 %28, i64* %.reg2mem\n store i32 %27, i32* %storemerge118.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.117.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.116.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.115.reg2mem\n store i32 %sv_3.0.reload, i32* %sv_3.114.reg2mem\n store i32 %sv_4.0.reload, i32* %sv_4.113.reg2mem\n store i32 %11, i32* %sv_5.012.reg2mem\n store i32 %sv_4.0.reload, i32* %sv_4.1.lcssa.reg2mem\n store i32 %sv_3.0.reload, i32* %sv_3.1.lcssa.reg2mem\n store i32 %sv_2.0.reload, i32* %sv_2.1.lcssa.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.1.lcssa.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem\n br i1 %29, label LBL_2, label LBL_13\n LBL_13:\n %sv_1.1.lcssa.reload = load i32, i32* %sv_1.1.lcssa.reg2mem\n %sv_2.1.lcssa.reload = load i32, i32* %sv_2.1.lcssa.reg2mem\n %sv_3.1.lcssa.reload = load i32, i32* %sv_3.1.lcssa.reg2mem\n %30 = icmp slt i32 %sv_2.1.lcssa.reload, %sv_1.1.lcssa.reload\n %31 = icmp slt i32 %sv_2.1.lcssa.reload, %sv_3.1.lcssa.reload\n %or.cond9 = or i1 %31, %30\n br i1 %or.cond9, label LBL_15, label LBL_14\n LBL_14:\n %sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem\n %sv_4.1.lcssa.reload = load i32, i32* %sv_4.1.lcssa.reg2mem\n %32 = icmp slt i32 %sv_4.1.lcssa.reload, %sv_3.1.lcssa.reload\n %33 = icmp slt i32 %sv_3.1.lcssa.reload, 1\n %or.cond6 = or i1 %32, %33\n %34 = icmp eq i32 %sv_0.1.lcssa.reload, 0\n %35 = icmp eq i1 %34, false\n %or.cond11 = or i1 %or.cond6, %35\n store i64 100, i64* %storemerge.reg2mem\n br i1 %or.cond11, label LBL_15, label LBL_16\n LBL_15:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_16\n LBL_16:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i32 %sv_3.1.lcssa.reload, { 2, 1, 0 }\n uselistorder i32 %sv_0.117.reload, { 5, 2, 3, 1, 0, 4 }\n uselistorder i32 %sv_1.116.reload, { 0, 2, 3, 5, 1, 4 }\n uselistorder i32 %sv_2.115.reload, { 0, 2, 3, 1, 5, 4 }\n uselistorder i32 %sv_3.114.reload, { 0, 5, 3, 2, 1, 4 }\n uselistorder i32 %sv_4.113.reload, { 0, 3, 5, 2, 1, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge118.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.117.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.116.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_2.115.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_3.114.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_4.113.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_5.012.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_4.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }\n uselistorder i32* %sv_3.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }\n uselistorder i32* %sv_2.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }\n uselistorder i32* %sv_1.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 1, 4, 5, 3, 2, 6 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i32 256, { 1, 0 }\n uselistorder i32 0, { 12, 5, 6, 7, 8, 9, 10, 0, 1, 2, 3, 4, 11 }\n uselistorder label LBL_16, { 1, 0 }\n uselistorder label LBL_12, { 0, 2, 3, 4, 5, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "st_set_trace_file_enabled_1092", "fun_name": "st_set_trace_file_enabled", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %2 = icmp eq %_IO_FILE* %1, null\n %3 = icmp eq i1 %2, false\n %4 = zext i1 %3 to i64\n %5 = urem i32 %0, 256\n %6 = zext i1 %3 to i32\n %7 = icmp eq i32 %5, %6\n store i64 %4, i64* %rax.0.reg2mem\n br i1 %7, label LBL_7, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 1)\n store i8 0, i8* bitcast (i64* @gv_1 to i8*), align 8\n %9 = call i64 @FUNC(i64 1)\n %10 = trunc i64 %arg1 to i8\n %11 = icmp eq i8 %10, 0\n br i1 %11, label LBL_6, label LBL_2\n LBL_2:\n %12 = load [10 x i8]*, [10 x i8]** @gv_2, align 8\n %13 = getelementptr inbounds [10 x i8], [10 x i8]* %12, i64 0, i64 0\n %14 = call %_IO_FILE* @fopen(i8* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0))\n store %_IO_FILE* %14, %_IO_FILE** @gv_0, align 8\n %15 = ptrtoint %_IO_FILE* %14 to i64\n %16 = icmp eq %_IO_FILE* %14, null\n store i64 %15, i64* %rax.0.reg2mem\n br i1 %16, label LBL_7, label LBL_3\n LBL_3:\n %17 = call i32 @fwrite(i64* nonnull @gv_4, i32 24, i32 1, %_IO_FILE* nonnull %14)\n %18 = icmp eq i32 %17, 1\n br i1 %18, label LBL_5, label LBL_4\n LBL_4:\n %19 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %20 = call i32 @fclose(%_IO_FILE* %19)\n %21 = sext i32 %20 to i64\n store %_IO_FILE* null, %_IO_FILE** @gv_0, align 8\n store i64 %21, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_5:\n store i8 1, i8* bitcast (i64* @gv_1 to i8*), align 8\n %22 = call i64 @FUNC(i64 0)\n store i64 %22, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_6:\n %23 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %24 = call i32 @fclose(%_IO_FILE* %23)\n %25 = sext i32 %24 to i64\n store %_IO_FILE* null, %_IO_FILE** @gv_0, align 8\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 2, 1, 3, 5 }\n uselistorder i32 (%_IO_FILE*)* @fclose, { 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i64)* @flush_trace_file, { 2, 1, 0 }\n uselistorder %_IO_FILE* null, { 2, 3, 0, 1, 4, 5 }\n uselistorder %_IO_FILE** @gv_0, { 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i32 1, { 2, 3, 0, 1 }\n uselistorder label LBL_7, { 2, 3, 4, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gb_loopback_transfer_18904", "fun_name": "gb_loopback_transfer", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1 = alloca i64, align 8\n %sv_2 = alloca i64, align 8\n %0 = and i64 %arg2, 4294967295\n %1 = add nuw nsw i64 %0, 4\n %2 = call i64 @FUNC(i64 %1, i64 0)\n %3 = icmp eq i64 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 4294967284, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_6\n LBL_1:\n %sext = mul i64 %arg2, 4294967296\n %5 = ashr exact i64 %sext, 32\n %6 = and i64 %5, 4294967295\n %7 = call i64 @FUNC(i64 %6, i64 0)\n %8 = icmp eq i64 %7, 0\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %2)\n store i64 4294967284, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_3:\n %11 = ptrtoint i64* %arg1 to i64\n %12 = inttoptr i64 %2 to i32*\n %13 = call i64 @FUNC(i64 %6)\n %14 = trunc i64 %13 to i32\n store i32 %14, i32* %12, align 4\n %15 = ptrtoint i64* %sv_2 to i64\n %16 = call i64 @FUNC(i64* nonnull %sv_2)\n %17 = add nsw i64 %5, 4\n %18 = and i64 %17, 4294967295\n %19 = call i64 @FUNC(i64 %15, i64 0, i64 %2, i64 %18, i64 %7, i64 %6)\n %20 = trunc i64 %19 to i32\n %21 = call i64 @FUNC(i64* nonnull %sv_1)\n %22 = call i64 @FUNC(i64 %11, i64* nonnull %sv_2, i64* nonnull %sv_1)\n %23 = icmp eq i32 %20, 0\n %24 = icmp eq i1 %23, false\n store i64 %19, i64* %sv_0.0.reg2mem\n br i1 %24, label LBL_5, label LBL_4\n LBL_4:\n %25 = trunc i64 %5 to i32\n %26 = add i64 %2, 4\n %27 = inttoptr i64 %26 to i64*\n %28 = inttoptr i64 %7 to i64*\n %29 = call i32 @memcmp(i64* %27, i64* %28, i32 %25)\n %30 = icmp eq i32 %29, 0\n %spec.select = select i1 %30, i64 %19, i64 4294967295\n store i64 %spec.select, i64* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %31 = call i64 @FUNC(i64 %2)\n %32 = call i64 @FUNC(i64 %7)\n %33 = and i64 %sv_0.0.reload, 4294967295\n store i64 %33, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %19, { 1, 0, 2 }\n uselistorder i64 %7, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 0, 1, 2, 4, 3, 5 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64*)* @do_gettimeofday, { 1, 0 }\n uselistorder i64 (i64)* @kfree, { 2, 1, 0 }\n uselistorder i64 4294967284, { 1, 0 }\n uselistorder i64 (i64, i64)* @kmalloc, { 1, 0 }\n uselistorder i64 4, { 1, 0, 2, 3 }\n uselistorder label LBL_6, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mk_vhost_fdt_close_6239", "fun_name": "mk_vhost_fdt_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rdi = alloca i64, align 8\n %1 = load i64, i64* %0\n %2 = load i64, i64* @gv_0, align 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %7 = trunc i64 %1 to i32\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32 @close(i32 %7)\n %9 = sext i32 %8 to i64\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %10 = ptrtoint i64* %arg1 to i64\n %11 = add i64 %10, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = add i64 %10, 8\n %15 = inttoptr i64 %14 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = add i64 %10, 16\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = zext i32 %13 to i64\n %21 = call i64 @FUNC(i64 %20, i64 %19)\n %22 = icmp eq i64 %21, 0\n %23 = zext i1 %22 to i64\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n %26 = icmp eq i32 %25, 0\n br i1 %26, label LBL_4, label LBL_3\n LBL_3:\n %27 = call i32 @close(i32 %7)\n %28 = sext i32 %27 to i64\n store i64 %28, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_4:\n %29 = zext i32 %16 to i64\n %30 = call i64 @FUNC(i64 %29, i64 %21)\n %31 = icmp eq i64 %30, 0\n br i1 %31, label LBL_7, label LBL_5\n LBL_5:\n %32 = inttoptr i64 %30 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = add i32 %33, -1\n store i32 %34, i32* %32, align 4\n %35 = icmp eq i32 %34, 0\n %36 = icmp eq i1 %35, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %36, label LBL_8, label LBL_6\n LBL_6:\n %37 = inttoptr i64 %21 to i32*\n %38 = add i64 %30, 4\n %39 = inttoptr i64 %38 to i32*\n store i32 -1, i32* %39, align 4\n %40 = add i64 %30, 8\n %41 = inttoptr i64 %40 to i32*\n store i32 0, i32* %41, align 4\n %42 = load i32, i32* %37, align 4\n %43 = add i32 %42, 1\n store i32 %43, i32* %37, align 4\n %44 = bitcast i64* %rdi to i32*\n %45 = load i32, i32* %44, align 8\n %46 = call i32 @close(i32 %45)\n %47 = sext i32 %46 to i64\n store i64 %47, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_7:\n %48 = call i32 @close(i32 %7)\n %49 = sext i32 %48 to i64\n store i64 %49, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %37, { 1, 0 }\n uselistorder i32* %32, { 1, 0 }\n uselistorder i64 %21, { 1, 0, 2 }\n uselistorder i64 %10, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 1, 3, 2 }\n uselistorder i32 -1, { 1, 0 }\n uselistorder i32 (i32)* @close, { 3, 2, 1, 0 }\n uselistorder label LBL_8, { 1, 2, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bitstr_tell_6451", "fun_name": "bitstr_tell", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i32* %arg1, null\n %3 = icmp eq i1 %2, false\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_4\n LBL_1:\n %4 = trunc i64 %1 to i32\n store i64 -1, i64* %rax.0.reg2mem\n switch i32 %4, label LBL_4 [\n i32 1, label LBL_2\n i32 2, label LBL_3\n ]\n LBL_2:\n %5 = ptrtoint i32* %arg1 to i64\n %6 = call i64 @FUNC(i64 %5)\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_3:\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 1, 2 }\n uselistorder label LBL_4, { 2, 3, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "blkdebug_refresh_filename_182", "fun_name": "blkdebug_refresh_filename", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge25.reg2mem = alloca i64\n %.pre-phi9.reg2mem = alloca i64*\n %storemerge37.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = add i64 %1, 272\n %3 = inttoptr i64 %2 to i64*\n %4 = load i64, i64* %3, align 8\n %5 = call i64 @FUNC(i64 %0)\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n store i64 %5, i64* %storemerge37.reg2mem\n br i1 %7, label LBL_1, label LBL_5\n LBL_1:\n %storemerge37.reload = load i64, i64* %storemerge37.reg2mem\n %8 = call i64 @FUNC(i64 %storemerge37.reload)\n %9 = inttoptr i64 %8 to i8*\n %10 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n %11 = icmp eq i32 %10, 0\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %storemerge37.reload)\n %13 = inttoptr i64 %12 to i8*\n %14 = call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_3, label LBL_4\n LBL_3:\n %16 = call i64 @FUNC(i64 %0, i64 %storemerge37.reload)\n %17 = icmp eq i64 %16, 0\n %18 = icmp eq i1 %17, false\n store i64 %16, i64* %storemerge37.reg2mem\n br i1 %18, label LBL_1, label LBL_5\n LBL_4:\n %19 = add i64 %1, 256\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = add i64 %23, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n store i64* %20, i64** %.pre-phi9.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %27, label LBL_13, label LBL_8\n LBL_5:\n %28 = add i64 %1, 256\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i64*\n %32 = load i64, i64* %31, align 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = inttoptr i64 %34 to i8*\n %36 = load i8, i8* %35, align 1\n %37 = icmp eq i8 %36, 0\n store i64* %29, i64** %.pre-phi9.reg2mem\n br i1 %37, label LBL_8, label LBL_6\n LBL_6:\n %38 = inttoptr i64 %4 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n %41 = icmp eq i1 %40, false\n %42 = bitcast i64* %arg1 to i8*\n %43 = inttoptr i64 %39 to i8*\n %44 = select i1 %41, i8* %43, i8* bitcast (i8** @gv_2 to i8*)\n %45 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %42, i32 256, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_3, i64 0, i64 0), i8* %44, i8* %35)\n %46 = icmp ult i32 %45, 256\n store i64* %29, i64** %.pre-phi9.reg2mem\n br i1 %46, label LBL_8, label LBL_7\n LBL_7:\n store i8 0, i8* %42, align 1\n store i64* %29, i64** %.pre-phi9.reg2mem\n br label LBL_8\n LBL_8:\n %.pre-phi9.reload = load i64*, i64** %.pre-phi9.reg2mem\n %47 = call i64 @FUNC()\n %48 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0))\n %49 = load i64, i64* %.pre-phi9.reload, align 8\n %50 = inttoptr i64 %49 to i64*\n %51 = load i64, i64* %50, align 8\n %52 = add i64 %51, 8\n %53 = inttoptr i64 %52 to i64*\n %54 = load i64, i64* %53, align 8\n %55 = call i64 @FUNC(i64 %54)\n %56 = load i64, i64* %.pre-phi9.reload, align 8\n %57 = inttoptr i64 %56 to i64*\n %58 = load i64, i64* %57, align 8\n %59 = add i64 %58, 8\n %60 = inttoptr i64 %59 to i64*\n %61 = load i64, i64* %60, align 8\n %62 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_6, i64 0, i64 0), i64 %61)\n %63 = call i64 @FUNC(i64 %0)\n %64 = icmp eq i64 %63, 0\n %65 = icmp eq i1 %64, false\n store i64 %63, i64* %storemerge25.reg2mem\n br i1 %65, label LBL_9, label LBL_12\n LBL_9:\n %storemerge25.reload = load i64, i64* %storemerge25.reg2mem\n %66 = call i64 @FUNC(i64 %storemerge25.reload)\n %67 = inttoptr i64 %66 to i8*\n %68 = call i32 @strcmp(i8* %67, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))\n %69 = icmp eq i32 %68, 0\n br i1 %69, label LBL_11, label LBL_10\n LBL_10:\n %70 = call i64 @FUNC(i64 %storemerge25.reload)\n %71 = call i64 @FUNC(i64 %70)\n %72 = call i64 @FUNC(i64 %storemerge25.reload)\n %73 = call i64 @FUNC(i64 %storemerge25.reload)\n %74 = call i64 @FUNC(i64 %47, i64 %73, i64 %72)\n br label LBL_11\n LBL_11:\n %75 = call i64 @FUNC(i64 %0, i64 %storemerge25.reload)\n %76 = icmp eq i64 %75, 0\n %77 = icmp eq i1 %76, false\n store i64 %75, i64* %storemerge25.reg2mem\n br i1 %77, label LBL_9, label LBL_12\n LBL_12:\n %78 = add i64 %1, 264\n %79 = inttoptr i64 %78 to i64*\n store i64 %47, i64* %79, align 8\n store i64 %1, i64* %rax.0.reg2mem\n br label LBL_13\n LBL_13:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge25.reload, { 4, 2, 1, 0, 3 }\n uselistorder i64* %29, { 2, 1, 0, 3 }\n uselistorder i64 %storemerge37.reload, { 2, 0, 1 }\n uselistorder i64 %1, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge37.reg2mem, { 2, 0, 1 }\n uselistorder i64** %.pre-phi9.reg2mem, { 0, 3, 2, 1, 4 }\n uselistorder i64* %storemerge25.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i64 (i64)* @qobject_incref, { 1, 0 }\n uselistorder i64 (i64)* @qdict_entry_value, { 1, 0 }\n uselistorder i64 (i64, i64)* @qdict_next, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }\n uselistorder i32 (i8*, i8*)* @strcmp, { 2, 1, 0 }\n uselistorder i64 (i64)* @qdict_entry_key, { 3, 2, 1, 0 }\n uselistorder i1 false, { 2, 1, 3, 4, 0 }\n uselistorder i64 (i64)* @qdict_first, { 1, 0 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_8, { 1, 2, 3, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "escape_pathname_5909", "fun_name": "escape_pathname", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.1.lcssa.reg2mem = alloca i8*\n %sv_0.0.in.reg2mem = alloca i64\n %sv_0.12.reg2mem = alloca i8*\n %storemerge3.reg2mem = alloca i64\n %.reg2mem4 = alloca i8*\n %.reg2mem = alloca i8\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_9\n LBL_1:\n %2 = inttoptr i64 %arg1 to i8*\n %3 = call i32 @strlen(i8* %2)\n %4 = mul i32 %3, 4\n %5 = or i32 %4, 1\n %6 = call i64* @malloc(i32 %5)\n %7 = icmp eq i64* %6, null\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_3, label LBL_2\n LBL_2:\n call void @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_3:\n %9 = bitcast i64* %6 to i8*\n %10 = load i8, i8* %2, align 1\n %11 = icmp eq i8 %10, 0\n %12 = icmp eq i1 %11, false\n store i8 %10, i8* %.reg2mem\n store i8* %2, i8** %.reg2mem4\n store i64 %arg1, i64* %storemerge3.reg2mem\n store i8* %9, i8** %sv_0.12.reg2mem\n store i8* %9, i8** %sv_0.1.lcssa.reg2mem\n br i1 %12, label LBL_4, label LBL_8\n LBL_4:\n %sv_0.12.reload = load i8*, i8** %sv_0.12.reg2mem\n %storemerge3.reload = load i64, i64* %storemerge3.reg2mem\n %.reload5 = load i8*, i8** %.reg2mem4\n %.reload = load i8, i8* %.reg2mem\n %13 = zext i8 %.reload to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = trunc i64 %14 to i32\n %16 = icmp eq i32 %15, 0\n %17 = load i8, i8* %.reload5, align 1\n br i1 %16, label LBL_6, label LBL_5\n LBL_5:\n %18 = zext i8 %17 to i32\n %19 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_0.12.reload, i32 5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0), i32 %18)\n %20 = call i32 @strlen(i8* %sv_0.12.reload)\n %21 = sext i32 %20 to i64\n %22 = ptrtoint i8* %sv_0.12.reload to i64\n %23 = add i64 %21, %22\n store i64 %23, i64* %sv_0.0.in.reg2mem\n br label LBL_7\n LBL_6:\n %24 = ptrtoint i8* %sv_0.12.reload to i64\n %25 = add i64 %24, 1\n store i8 %17, i8* %sv_0.12.reload, align 1\n store i64 %25, i64* %sv_0.0.in.reg2mem\n br label LBL_7\n LBL_7:\n %sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem\n %sv_0.0 = inttoptr i64 %sv_0.0.in.reload to i8*\n %26 = add i64 %storemerge3.reload, 1\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, 0\n %30 = icmp eq i1 %29, false\n store i8 %28, i8* %.reg2mem\n store i8* %27, i8** %.reg2mem4\n store i64 %26, i64* %storemerge3.reg2mem\n store i8* %sv_0.0, i8** %sv_0.12.reg2mem\n store i8* %sv_0.0, i8** %sv_0.1.lcssa.reg2mem\n br i1 %30, label LBL_4, label LBL_8\n LBL_8:\n %31 = ptrtoint i64* %6 to i64\n %sv_0.1.lcssa.reload = load i8*, i8** %sv_0.1.lcssa.reg2mem\n store i8 0, i8* %sv_0.1.lcssa.reload, align 1\n store i64 %31, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i8 %17, { 1, 0 }\n uselistorder i8* %sv_0.12.reload, { 1, 0, 2, 3, 4 }\n uselistorder i64* %6, { 2, 0, 1 }\n uselistorder i8* %.reg2mem, { 2, 0, 1 }\n uselistorder i8** %.reg2mem4, { 2, 0, 1 }\n uselistorder i64* %storemerge3.reg2mem, { 2, 0, 1 }\n uselistorder i8** %sv_0.12.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_0.0.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i32 1, { 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "decode_rfc3361_9190", "fun_name": "decode_rfc3361", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.07.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i64\n %sv_2.0.in9.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg1 to i32\n %3 = icmp sgt i32 %2, 1\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i32* @__errno_location()\n store i32 22, i32* %4, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_2:\n %5 = trunc i64 %1 to i8\n %sext = mul i64 %arg1, 4294967296\n %6 = ptrtoint i64* %arg2 to i64\n %7 = add i64 %6, 1\n %sext3 = add i64 %sext, -4294967296\n %8 = ashr exact i64 %sext3, 32\n switch i8 %5, label LBL_10 [\n i8 0, label LBL_3\n i8 1, label LBL_5\n ]\n LBL_3:\n %9 = and i64 %8, 4294967295\n %10 = call i64 @FUNC(i64 0, i64 0, i64 %9, i64 %7)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_11, label LBL_4\n LBL_4:\n %13 = and i64 %10, 4294967295\n %14 = call i64 @FUNC(i64 %13)\n %15 = call i64 @FUNC(i64 %14, i64 %13, i64 %9, i64 %7)\n store i64 %14, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_5:\n %16 = trunc i64 %8 to i32\n %17 = icmp ne i32 %16, 0\n %18 = urem i64 %sext3, 12884901889\n %19 = icmp eq i64 %18, 0\n %or.cond = icmp eq i1 %19, %17\n br i1 %or.cond, label LBL_7, label LBL_6\n LBL_6:\n %20 = call i32* @__errno_location()\n store i32 22, i32* %20, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_7:\n %21 = udiv i64 %8, 4\n %.tr = trunc i64 %21 to i32\n %22 = mul i32 %.tr, 16\n %23 = trunc i64 %21 to i32\n %24 = add i32 %23, 1\n %25 = add i32 %24, %22\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n store i64 %27, i64* %sv_2.0.in9.reg2mem\n store i64 %8, i64* %sv_1.08.reg2mem\n store i64 %7, i64* %sv_0.07.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.07.reload = load i64, i64* %sv_0.07.reg2mem\n %sv_1.08.reload = load i64, i64* %sv_1.08.reg2mem\n %sv_2.0.in9.reload = load i64, i64* %sv_2.0.in9.reg2mem\n %sv_2.0 = inttoptr i64 %sv_2.0.in9.reload to i8*\n %28 = inttoptr i64 %sv_0.07.reload to i32*\n %29 = load i32, i32* %28, align 4\n %30 = add i64 %sv_0.07.reload, 4\n %31 = insertvalue %in_addr undef, i32 %29, 0\n %32 = call i8* @inet_ntoa(%in_addr %31)\n %33 = sub i64 %27, %sv_2.0.in9.reload\n %34 = trunc i64 %33 to i32\n %35 = add i32 %25, %34\n %36 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %sv_2.0, i32 %35, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* %32)\n %37 = sext i32 %36 to i64\n %38 = add i64 %sv_2.0.in9.reload, %37\n %39 = mul i64 %sv_1.08.reload, 4294967296\n %sext5 = add i64 %39, -17179869184\n %40 = ashr exact i64 %sext5, 32\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n %43 = icmp eq i1 %42, false\n store i64 %38, i64* %sv_2.0.in9.reg2mem\n store i64 %40, i64* %sv_1.08.reg2mem\n store i64 %30, i64* %sv_0.07.reg2mem\n br i1 %43, label LBL_8, label LBL_9\n LBL_9:\n %phitmp = add i64 %38, -1\n %phitmp10 = inttoptr i64 %phitmp to i8*\n store i8 0, i8* %phitmp10, align 1\n store i64 %27, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_10:\n %44 = call i32* @__errno_location()\n store i32 22, i32* %44, align 4\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %38, { 1, 0 }\n uselistorder i64 %sv_2.0.in9.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.07.reload, { 1, 0 }\n uselistorder i64 %27, { 0, 2, 1 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64* %sv_2.0.in9.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.07.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 1, 2, 3, 4, 5 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i64 (i64)* @xmalloc, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @decode_rfc3397, { 1, 0 }\n uselistorder i8 0, { 1, 0 }\n uselistorder i32* ()* @__errno_location, { 2, 3, 0, 1 }\n uselistorder label LBL_11, { 4, 1, 0, 2, 3, 5 }\n uselistorder label LBL_8, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "aux_create_slave_1504", "fun_name": "aux_create_slave", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg2)\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 46, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = ptrtoint i64* %arg1 to i64\n %5 = call i64 @FUNC(i64 %1, i64 %4)\n %6 = call i64 @FUNC(i64 %1)\n %7 = call i64 @FUNC(i64 %1)\n %8 = call i64 @FUNC(i64 %1)\n %9 = call i64 @FUNC(i64 %8)\n %10 = zext i32 %arg3 to i64\n %11 = call i64 @FUNC(i64 %9, i64 %7, i64 %10)\n ret i64 %1\n\n uselistorder i64 %1, { 0, 4, 3, 2, 1, 5 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "free_winch_4198", "fun_name": "free_winch", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = icmp eq i32 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 0, i64 %arg1)\n br label LBL_2\n LBL_2:\n %5 = trunc i64 %1 to i32\n %6 = add i64 %arg1, 16\n %7 = call i64 @FUNC(i64 %6)\n %8 = icmp eq i32 %5, -1\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %9, i64 1)\n br label LBL_4\n LBL_4:\n %11 = add i64 %arg1, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, -1\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = zext i32 %13 to i64\n %16 = call i64 @FUNC(i64 %15)\n br label LBL_6\n LBL_6:\n %17 = add i64 %arg1, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %19, 0\n br i1 %20, label LBL_8, label LBL_7\n LBL_7:\n %21 = call i64 @FUNC(i64 %19, i64 0)\n br label LBL_8\n LBL_8:\n %22 = call i64 @FUNC(i64 %arg1)\n ret i64 %22\n\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flush_thread_19272", "fun_name": "flush_thread", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = load i64, i64* @gv_0, align 8\n %1 = load i64, i64* @gv_1, align 8\n %2 = icmp eq i64 %0, %1\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n store i64 0, i64* @gv_0, align 8\n br label LBL_2\n LBL_2:\n %4 = call i64 @FUNC()\n %5 = load i64, i64* @gv_1, align 8\n %6 = inttoptr i64 %5 to i64*\n %7 = load i64, i64* %6, align 8\n %8 = icmp eq i64 %7, ptrtoint (i64* @gv_2 to i64)\n %9 = icmp eq i1 %8, false\n store i64 %7, i64* %rax.0.reg2mem\n br i1 %9, label LBL_4, label LBL_3\n LBL_3:\n %10 = add i64 %5, 4096\n store i64 %10, i64* %6, align 8\n %11 = load i64, i64* @gv_1, align 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %11, 8\n %15 = inttoptr i64 %14 to i64*\n store i64 %13, i64* %15, align 8\n store i64 %11, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ipx_sendmsg_9225", "fun_name": "ipx_sendmsg", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg2 to i64\n %4 = ptrtoint i64* %arg1 to i64\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %3, 12\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = call i64 @FUNC(i64 %4)\n %10 = icmp ult i32 %8, 4\n %11 = icmp ult i64 %arg3, 65525\n %or.cond = icmp eq i1 %11, %10\n store i64 -22, i64* %sv_0.0.reg2mem\n br i1 %or.cond, label LBL_1, label LBL_9\n LBL_1:\n %12 = icmp eq i64* %arg2, null\n br i1 %12, label LBL_5, label LBL_2\n LBL_2:\n %13 = inttoptr i64 %5 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n %17 = call i64 @FUNC(i64 %4, i64* nonnull %sv_3, i64 24)\n %18 = trunc i64 %17 to i32\n %sext = mul i64 %17, 4294967296\n %19 = ashr exact i64 %sext, 32\n %20 = icmp eq i32 %18, 0\n %21 = icmp eq i1 %20, false\n store i64 %19, i64* %sv_0.0.reg2mem\n br i1 %21, label LBL_9, label LBL_4\n LBL_4:\n %22 = trunc i64 %2 to i32\n %23 = add i64 %3, 8\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = icmp ugt i32 %25, 23\n %27 = icmp eq i32 %22, 100\n %or.cond6 = icmp eq i1 %27, %26\n store i64 %3, i64* %sv_1.0.reg2mem\n store i64 -22, i64* %sv_0.0.reg2mem\n br i1 %or.cond6, label LBL_7, label LBL_9\n LBL_5:\n %28 = trunc i64 %1 to i32\n %29 = icmp eq i32 %28, 1\n %30 = icmp eq i1 %29, false\n store i64 -101, i64* %sv_0.0.reg2mem\n br i1 %30, label LBL_9, label LBL_6\n LBL_6:\n %31 = ptrtoint i64* %sv_2 to i64\n %32 = bitcast i64* %sv_2 to i32*\n store i32 100, i32* %32, align 8\n %33 = add i64 %5, 32\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = or i64 %31, 4\n %37 = inttoptr i64 %36 to i32*\n store i32 %35, i32* %37, align 4\n %38 = add i64 %5, 16\n %39 = inttoptr i64 %38 to i32*\n %40 = load i32, i32* %39, align 4\n %41 = add i64 %31, 8\n %42 = inttoptr i64 %41 to i32*\n store i32 %40, i32* %42, align 8\n %43 = add i64 %5, 20\n %44 = inttoptr i64 %43 to i32*\n %45 = load i32, i32* %44, align 4\n %46 = add i64 %31, 12\n %47 = inttoptr i64 %46 to i32*\n store i32 %45, i32* %47, align 4\n %48 = add i64 %5, 24\n %49 = add i64 %31, 16\n %50 = inttoptr i64 %49 to i64*\n %51 = inttoptr i64 %48 to i64*\n %52 = call i64* @memcpy(i64* %50, i64* %51, i32 6)\n store i64 %31, i64* %sv_1.0.reg2mem\n br label LBL_7\n LBL_7:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %53 = urem i32 %8, 2\n %54 = zext i32 %53 to i64\n %55 = call i64 @FUNC(i64 %4, i64 %sv_1.0.reload, i64 %3, i64 %arg3, i64 %54)\n %56 = trunc i64 %55 to i32\n %sext3 = mul i64 %55, 4294967296\n %57 = ashr exact i64 %sext3, 32\n %58 = icmp slt i32 %56, 0\n store i64 %57, i64* %sv_0.0.reg2mem\n br i1 %58, label LBL_9, label LBL_8\n LBL_8:\n %sext4 = mul i64 %arg3, 4294967296\n %59 = ashr exact i64 %sext4, 32\n store i64 %59, i64* %sv_0.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %60 = call i64 @FUNC(i64 %4)\n %61 = and i64 %sv_0.0.reload, 4294967295\n ret i64 %61\n\n uselistorder i64 %31, { 0, 2, 3, 4, 1 }\n uselistorder i64 %4, { 2, 1, 0, 3, 4 }\n uselistorder i64 %3, { 2, 0, 1, 3 }\n uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 4, 5, 6, 3, 2, 1 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i32 100, { 1, 0 }\n uselistorder i64 32, { 0, 1, 3, 2 }\n uselistorder i64 24, { 1, 0 }\n uselistorder i64 -22, { 1, 0 }\n uselistorder label LBL_9, { 5, 2, 3, 0, 4, 1 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jbd2_get_transaction_10105", "fun_name": "jbd2_get_transaction", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %rdi = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 %1, i64* %arg2, align 8\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n store i32 1, i32* %3, align 4\n %4 = call i64 @FUNC()\n %5 = add i64 %0, 16\n %6 = inttoptr i64 %5 to i64*\n store i64 %4, i64* %6, align 8\n %7 = bitcast i64* %rdi to i32*\n %8 = load i32, i32* %7, align 8\n %9 = add i32 %8, 1\n %10 = bitcast i64* %arg1 to i32*\n store i32 %9, i32* %10, align 4\n %11 = add i64 %0, 24\n %12 = inttoptr i64 %11 to i32*\n store i32 %8, i32* %12, align 4\n %13 = add i64 %1, 24\n %14 = inttoptr i64 %13 to i64*\n %15 = load i64, i64* %14, align 8\n %16 = load i64, i64* @gv_0, align 8\n %17 = add i64 %16, %15\n %18 = add i64 %0, 32\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = add i64 %0, 56\n %21 = call i64 @FUNC(i64 %20)\n %22 = add i64 %0, 60\n %23 = call i64 @FUNC(i64 %22, i64 0)\n %24 = add i64 %0, 64\n %25 = call i64 @FUNC(i64 %24, i64 0)\n %26 = add i64 %0, 68\n %27 = call i64 @FUNC(i64 %26, i64 0)\n %28 = add i64 %0, 72\n %29 = call i64 @FUNC(i64 %28)\n %30 = add i64 %0, 88\n %31 = call i64 @FUNC(i64 %30)\n %32 = load i64, i64* %19, align 8\n %33 = call i64 @FUNC(i64 %32)\n %34 = add i64 %1, 8\n %35 = inttoptr i64 %34 to i64*\n store i64 %33, i64* %35, align 8\n %36 = call i64 @FUNC(i64 %34)\n %37 = add i64 %1, 16\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = icmp eq i64 %39, 0\n br i1 %40, label LBL_2, label LBL_1\n LBL_1:\n %41 = load %_IO_FILE*, %_IO_FILE** @gv_1, align 8\n %42 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %41, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_3, i64 0, i64 0))\n call void @exit(i32 1)\n unreachable\n LBL_2:\n store i64 %0, i64* %38, align 8\n %43 = add i64 %0, 40\n %44 = inttoptr i64 %43 to i32*\n store i32 0, i32* %44, align 4\n %45 = load i64, i64* @gv_0, align 8\n %46 = add i64 %0, 48\n %47 = inttoptr i64 %46 to i64*\n store i64 %45, i64* %47, align 8\n ret i64 %0\n\n uselistorder i64 %0, { 0, 1, 2, 3, 6, 5, 4, 9, 8, 7, 10, 11, 12, 13 }\n uselistorder i64 (i64)* @INIT_LIST_HEAD, { 1, 0 }\n uselistorder i64 (i64, i64)* @atomic_set, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_nop_483", "fun_name": "test_nop", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i64 %arg1)\n %1 = call i64 @FUNC(i64 %0)\n %2 = icmp eq i64 %1, 0\n br i1 %2, label LBL_2, label LBL_1\n LBL_1:\n %3 = call i64 @FUNC(i64 %1)\n br label LBL_2\n LBL_2:\n %4 = call i64 @FUNC(i64 %0)\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "migrate_fd_connect_3044", "fun_name": "migrate_fd_connect", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = bitcast i64* %arg1 to i32*\n store i32 1, i32* %1, align 4\n %2 = call i64 @FUNC(i64 1)\n %3 = add i64 %0, 4\n %4 = inttoptr i64 %3 to i32*\n store i32 1, i32* %4, align 4\n %5 = call i64 @FUNC(i64 4198735, i64 %0)\n %6 = add i64 %0, 8\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = add i64 %0, 24\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = add i64 %0, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = zext i32 %10 to i64\n %15 = call i64 @FUNC(i64 %13, i64 %14)\n %16 = call i64 @FUNC(i64* nonnull @gv_0, i64 %0)\n %17 = add i64 %0, 32\n %18 = call i64 @FUNC(i64 %17, i64 4198720, i64 %0, i64 1)\n ret i64 %18\n\n uselistorder i64 %0, { 6, 5, 4, 3, 2, 1, 0, 7 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "boot_sector_init_2462", "fun_name": "boot_sector_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = inttoptr i64 %arg1 to i8*\n %1 = call i32 @mkstemp(i8* %0)\n %2 = icmp slt i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i32* @__errno_location()\n %5 = load i32, i32* %4, align 4\n %6 = call i8* @strerror(i32 %5)\n %7 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %8 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %7, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_1, i64 0, i64 0), i8* %0, i8* %6)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %9 = call i64 @FUNC()\n %10 = inttoptr i64 %9 to i8*\n %11 = call i32 @strcmp(i8* %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %12 = icmp eq i32 %11, 0\n %13 = icmp eq i1 %12, false\n store i32 512, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_3 to i8*), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_4, i64 0, i64 0), i32 305419896, i32 4112, i32 0, i32 4113)\n store i32 %14, i32* %sv_0.0.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %15 = call i32 @write(i32 %1, i64* bitcast (i8** @gv_3 to i64*), i32 %sv_0.0.reload)\n %16 = call i32 @close(i32 %1)\n %17 = icmp eq i32 %sv_0.0.reload, %15\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_6, label LBL_5\n LBL_5:\n %18 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %19 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %18, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_5, i64 0, i64 0), i8* %0)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %1, { 1, 0, 2 }\n uselistorder i8* %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder label LBL_6, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bm_line_12790", "fun_name": "bm_line", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %sv_0.1.reg2mem = alloca i32\n %sv_1.1.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i64\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_2.0.ph.reg2mem = alloca i64\n %sv_1.0.ph.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %sext = mul i64 %arg2, 4294967296\n %1 = ashr exact i64 %sext, 32\n %2 = trunc i64 %arg3 to i32\n %sext5 = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext5, 32\n %4 = trunc i64 %arg4 to i32\n %5 = trunc i64 %arg5 to i32\n %6 = sub i32 %4, %0\n %7 = sub i32 %5, %2\n %8 = icmp slt i32 %6, 0\n %9 = icmp eq i1 %8, false\n %10 = sub i32 0, %6\n %spec.select = select i1 %9, i32 %6, i32 %10\n %11 = icmp slt i32 %7, 0\n %12 = icmp eq i1 %11, false\n %13 = sub i32 0, %7\n %sv_3.0 = select i1 %12, i32 %7, i32 %13\n %14 = trunc i64 %1 to i32\n %15 = icmp slt i32 %14, %4\n %. = select i1 %15, i64 1, i64 4294967295\n %16 = trunc i64 %3 to i32\n %17 = icmp slt i32 %16, %5\n %storemerge = select i1 %17, i64 1, i64 4294967295\n %18 = sub i32 %spec.select, %sv_3.0\n %19 = sub i32 0, %sv_3.0\n %20 = zext i32 %19 to i64\n %sext15 = mul i64 %arg5, 4294967296\n %sext14 = ashr exact i64 %sext15, 32\n store i64 %1, i64* %sv_1.0.ph.reg2mem\n store i64 %3, i64* %sv_2.0.ph.reg2mem\n store i32 %18, i32* %sv_0.0.ph.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %sv_2.0.ph.reload = load i64, i64* %sv_2.0.ph.reg2mem\n %sv_1.0.ph.reload = load i64, i64* %sv_1.0.ph.reg2mem\n %21 = icmp eq i64 %sv_2.0.ph.reload, %sext14\n store i64 %sv_1.0.ph.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %22 = trunc i64 %sv_1.0.reload to i32\n %23 = icmp eq i32 %22, %4\n %or.cond = icmp eq i1 %21, %23\n br i1 %or.cond, label LBL_7, label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %24 = mul i32 %sv_0.0.reload, 2\n %25 = sext i32 %24 to i64\n %26 = icmp sgt i64 %25, %20\n store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br i1 %26, label LBL_4, label LBL_5\n LBL_4:\n %27 = sub i32 %sv_0.0.reload, %sv_3.0\n %28 = add i64 %sv_1.0.reload, %.\n %sext12 = mul i64 %28, 4294967296\n %29 = ashr exact i64 %sext12, 32\n store i64 %29, i64* %sv_1.1.reg2mem\n store i32 %27, i32* %sv_0.1.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %30 = icmp slt i32 %24, %spec.select\n store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem\n store i32 %sv_0.1.reload, i32* %sv_0.0.reg2mem\n br i1 %30, label LBL_6, label LBL_2\n LBL_6:\n %31 = add i32 %sv_0.1.reload, %spec.select\n %32 = add nsw i64 %sv_2.0.ph.reload, %storemerge\n %sext11 = mul i64 %32, 4294967296\n %33 = ashr exact i64 %sext11, 32\n store i64 %sv_1.1.reload, i64* %sv_1.0.ph.reg2mem\n store i64 %33, i64* %sv_2.0.ph.reg2mem\n store i32 %31, i32* %sv_0.0.ph.reg2mem\n br label LBL_1\n LBL_7:\n %34 = and i64 %sext14, 4294967295\n ret i64 %34\n\n uselistorder i32 %24, { 1, 0 }\n uselistorder i32 %sv_0.0.reload, { 1, 0, 2 }\n uselistorder i64 %sv_1.0.reload, { 2, 0, 1 }\n uselistorder i64 %sv_2.0.ph.reload, { 1, 0 }\n uselistorder i64 %sext14, { 1, 0 }\n uselistorder i32 %sv_3.0, { 1, 2, 0 }\n uselistorder i32 %spec.select, { 0, 2, 1 }\n uselistorder i32 %7, { 0, 2, 1 }\n uselistorder i32 %4, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 2, 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 32, { 2, 1, 0, 3, 4 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "luminanceToAlphaMatrix_6294", "fun_name": "luminanceToAlphaMatrix", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64* @memset(i64* %arg1, i32 0, i32 80)\n %2 = add i64 %0, 60\n %3 = call i128 @FUNC(i32 1046059418)\n %4 = call i64 @__asm_movss.1(i128 %3)\n %5 = trunc i64 %4 to i32\n %6 = inttoptr i64 %2 to i32*\n store i32 %5, i32* %6, align 4\n %7 = add i64 %0, 64\n %8 = call i128 @FUNC(i32 1060578420)\n %9 = call i64 @__asm_movss.1(i128 %8)\n %10 = trunc i64 %9 to i32\n %11 = inttoptr i64 %7 to i32*\n store i32 %10, i32* %11, align 4\n %12 = add i64 %0, 68\n %13 = load i32, i32* inttoptr (i64 4202524 to i32*), align 4\n %14 = call i128 @FUNC(i32 %13)\n %15 = call i64 @__asm_movss.1(i128 %14)\n %16 = trunc i64 %15 to i32\n %17 = inttoptr i64 %12 to i32*\n store i32 %16, i32* %17, align 4\n ret i64 %12\n\n uselistorder i64 %12, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_vp3_idct_dc_add_c_3140", "fun_name": "ff_vp3_idct_dc_add_c", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i16* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.04.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg2, 4294967296\n %3 = trunc i64 %1 to i32\n %sext6 = mul i32 %3, 65536\n %4 = ashr exact i32 %sext6, 16\n %5 = add nsw i32 %4, 15\n %6 = ashr i32 %5, 5\n %7 = ashr exact i64 %sext, 32\n store i32 0, i32* %storemerge5.reg2mem\n store i64 %2, i64* %sv_0.04.reg2mem\n br label LBL_1\n LBL_1:\n %sv_0.04.reload = load i64, i64* %sv_0.04.reg2mem\n %storemerge5.reload = load i32, i32* %storemerge5.reg2mem\n %8 = inttoptr i64 %sv_0.04.reload to i8*\n %9 = load i8, i8* %8, align 1\n %10 = zext i8 %9 to i32\n %11 = add nsw i32 %6, %10\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %12)\n %14 = trunc i64 %13 to i8\n store i8 %14, i8* %8, align 1\n %15 = add i64 %sv_0.04.reload, 1\n %16 = inttoptr i64 %15 to i8*\n %17 = load i8, i8* %16, align 1\n %18 = zext i8 %17 to i32\n %19 = add nsw i32 %6, %18\n %20 = zext i32 %19 to i64\n %21 = call i64 @FUNC(i64 %20)\n %22 = trunc i64 %21 to i8\n store i8 %22, i8* %16, align 1\n %23 = add i64 %sv_0.04.reload, 2\n %24 = inttoptr i64 %23 to i8*\n %25 = load i8, i8* %24, align 1\n %26 = zext i8 %25 to i32\n %27 = add nsw i32 %6, %26\n %28 = zext i32 %27 to i64\n %29 = call i64 @FUNC(i64 %28)\n %30 = trunc i64 %29 to i8\n store i8 %30, i8* %24, align 1\n %31 = add i64 %sv_0.04.reload, 3\n %32 = inttoptr i64 %31 to i8*\n %33 = load i8, i8* %32, align 1\n %34 = zext i8 %33 to i32\n %35 = add nsw i32 %6, %34\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %36)\n %38 = trunc i64 %37 to i8\n store i8 %38, i8* %32, align 1\n %39 = add i64 %sv_0.04.reload, 4\n %40 = inttoptr i64 %39 to i8*\n %41 = load i8, i8* %40, align 1\n %42 = zext i8 %41 to i32\n %43 = add nsw i32 %6, %42\n %44 = zext i32 %43 to i64\n %45 = call i64 @FUNC(i64 %44)\n %46 = trunc i64 %45 to i8\n store i8 %46, i8* %40, align 1\n %47 = add i64 %sv_0.04.reload, 5\n %48 = inttoptr i64 %47 to i8*\n %49 = load i8, i8* %48, align 1\n %50 = zext i8 %49 to i32\n %51 = add nsw i32 %6, %50\n %52 = zext i32 %51 to i64\n %53 = call i64 @FUNC(i64 %52)\n %54 = trunc i64 %53 to i8\n store i8 %54, i8* %48, align 1\n %55 = add i64 %sv_0.04.reload, 6\n %56 = inttoptr i64 %55 to i8*\n %57 = load i8, i8* %56, align 1\n %58 = zext i8 %57 to i32\n %59 = add nsw i32 %6, %58\n %60 = zext i32 %59 to i64\n %61 = call i64 @FUNC(i64 %60)\n %62 = trunc i64 %61 to i8\n store i8 %62, i8* %56, align 1\n %63 = add i64 %sv_0.04.reload, 7\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = zext i8 %65 to i32\n %67 = add nsw i32 %6, %66\n %68 = zext i32 %67 to i64\n %69 = call i64 @FUNC(i64 %68)\n %70 = trunc i64 %69 to i8\n store i8 %70, i8* %64, align 1\n %71 = add i64 %sv_0.04.reload, %7\n %72 = add nuw nsw i32 %storemerge5.reload, 1\n %exitcond = icmp eq i32 %72, 8\n store i32 %72, i32* %storemerge5.reg2mem\n store i64 %71, i64* %sv_0.04.reg2mem\n br i1 %exitcond, label LBL_2, label LBL_1\n LBL_2:\n ret i64 %7\n\n uselistorder i64 %sv_0.04.reload, { 8, 0, 1, 2, 3, 4, 5, 6, 7 }\n uselistorder i64 %7, { 1, 0 }\n uselistorder i32* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.04.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_clip_uint8, { 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "handle_rst_stream_frame_12834", "fun_name": "handle_rst_stream_frame", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg3 to i64\n %3 = ptrtoint i64* %arg2 to i64\n %sv_0 = alloca i64, align 8\n %4 = call i64 @FUNC(i64* nonnull %sv_0, i64 %3, i64 %2)\n %5 = trunc i64 %4 to i32\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_2, label LBL_1\n LBL_1:\n %7 = and i64 %4, 4294967295\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_2:\n %8 = ptrtoint i64* %arg1 to i64\n %9 = and i64 %1, 4294967295\n %10 = call i64 @FUNC(i64 %8, i64 %9)\n %11 = trunc i64 %10 to i32\n %12 = icmp eq i32 %11, 0\n br i1 %12, label LBL_4, label LBL_3\n LBL_3:\n store i64 ptrtoint ([41 x i8]* @gv_0 to i64), i64* %arg3, align 8\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_4:\n %13 = call i64 @FUNC(i64 %8, i64 %9)\n store i64 %13, i64* %sv_0, align 8\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_6, label LBL_5\n LBL_5:\n %15 = call i64 @FUNC(i64 %8, i64 %13)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %9, { 1, 0 }\n uselistorder i64* %sv_0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 4, 3 }\n uselistorder label LBL_6, { 1, 0, 2, 3 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "spr_read_decr_1565", "fun_name": "spr_read_decr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = urem i64 %1, 2\n %3 = icmp eq i64 %2, 0\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC()\n br label LBL_2\n LBL_2:\n %sext = mul i64 %arg2, 4294967296\n %5 = load i64, i64* @gv_0, align 8\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %6, ptrtoint (i64* @gv_1 to i64)\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = and i64 %9, 4294967295\n %11 = call i64 @FUNC(i64 %10, i64 %5)\n %12 = call i64 @FUNC(i64 %10)\n %13 = urem i64 %12, 2\n %14 = icmp eq i64 %13, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = call i64 @FUNC()\n %16 = call i64 @FUNC(i64 %0)\n store i64 %16, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64 (i64)* @tb_cflags, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "div32_16761", "fun_name": "div32", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = zext i32 %arg3 to i64\n %1 = udiv i64 %arg2, %0\n %2 = trunc i64 %1 to i32\n %3 = bitcast i64* %arg1 to i32*\n store i32 %2, i32* %3, align 4\n %4 = urem i64 %arg2, %0\n ret i64 %4\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "set_orig_addr_8033", "fun_name": "set_orig_addr", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = ptrtoint i64* %arg2 to i64\n %3 = bitcast i64* %arg1 to i16*\n store i16 30, i16* %3, align 2\n %4 = add i64 %0, 2\n %5 = inttoptr i64 %4 to i16*\n store i16 1, i16* %5, align 2\n %6 = add i64 %0, 4\n %7 = inttoptr i64 %6 to i64*\n %8 = call i64* @memset(i64* %7, i32 0, i32 8)\n %9 = call i64 @FUNC(i64 %2)\n %10 = trunc i64 %9 to i32\n %11 = inttoptr i64 %6 to i32*\n store i32 %10, i32* %11, align 4\n %12 = call i64 @FUNC(i64 %2)\n %13 = add i64 %0, 8\n %14 = inttoptr i64 %13 to i32*\n store i32 0, i32* %11, align 4\n %15 = add i64 %0, 12\n %16 = inttoptr i64 %15 to i32*\n store i32 0, i32* %16, align 4\n store i32 16, i32* %14, align 4\n br label LBL_2\n LBL_2:\n ret i64 %0\n\n uselistorder i32 0, { 1, 2, 0 }\n uselistorder i64 2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "vnc_queue_init_17266", "fun_name": "vnc_queue_init", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 96)\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 48\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %0, 88\n %5 = inttoptr i64 %4 to i64*\n store i64 0, i64* %5, align 8\n ret i64 %0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "ff_xface_generate_face_1332", "fun_name": "ff_xface_generate_face", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %indvars.iv.reg2mem = alloca i64\n %indvars.iv25.reg2mem = alloca i64\n %indvars.iv27.reg2mem = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %sv_0.17.reg2mem = alloca i32\n %indvars.iv18.reg2mem = alloca i64\n %sv_0.210.reg2mem = alloca i32\n %storemerge211.reg2mem = alloca i32\n %indvars.iv22.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %indvars.iv27.reg2mem\n store i64 1, i64* %indvars.iv25.reg2mem\n store i64 -2, i64* %indvars.iv.reg2mem\n br label LBL_30\n LBL_1:\n %indvars.iv22.reload = load i64, i64* %indvars.iv22.reg2mem\n %2 = add nuw nsw i64 %indvars.iv22.reload, 2\n %3 = trunc i64 %indvars.iv22.reload to i32\n %4 = add i32 %3, -2\n store i32 %4, i32* %storemerge211.reg2mem\n store i32 0, i32* %sv_0.210.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.210.reload = load i32, i32* %sv_0.210.reg2mem\n %storemerge211.reload = load i32, i32* %storemerge211.reg2mem\n %5 = icmp slt i32 %storemerge211.reload, 1\n %6 = sext i32 %storemerge211.reload to i64\n %7 = icmp sle i64 %indvars.iv22.reload, %6\n %8 = icmp sgt i32 %storemerge211.reload, 10\n store i64 %indvars.iv.reload, i64* %indvars.iv18.reg2mem\n store i32 %sv_0.210.reload, i32* %sv_0.17.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.17.reload = load i32, i32* %sv_0.17.reg2mem\n %indvars.iv18.reload = load i64, i64* %indvars.iv18.reg2mem\n %9 = icmp eq i64 %indvars.iv18.reload, %indvars.iv27.reload\n %or.cond5 = icmp eq i1 %7, %9\n %or.cond30 = or i1 %5, %or.cond5\n %10 = icmp slt i64 %indvars.iv18.reload, 1\n %or.cond = or i1 %8, %10\n %or.cond31 = or i1 %or.cond, %or.cond30\n store i32 %sv_0.17.reload, i32* %sv_0.0.reg2mem\n br i1 %or.cond31, label LBL_5, label LBL_4\n LBL_4:\n %11 = mul i32 %sv_0.17.reload, 2\n %12 = trunc i64 %indvars.iv18.reload to i32\n %13 = mul i32 %12, 10\n %14 = add i32 %13, %storemerge211.reload\n %15 = sext i32 %14 to i64\n %16 = add i64 %15, %0\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = zext i8 %18 to i32\n %20 = add i32 %11, %19\n store i32 %20, i32* %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %indvars.iv.next19 = add nsw i64 %indvars.iv18.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next19, %indvars.iv25.reload\n store i64 %indvars.iv.next19, i64* %indvars.iv18.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.17.reg2mem\n br i1 %exitcond, label LBL_6, label LBL_3\n LBL_6:\n %21 = add i32 %storemerge211.reload, 1\n %22 = sext i32 %21 to i64\n %23 = icmp slt i64 %2, %22\n store i32 %21, i32* %storemerge211.reg2mem\n store i32 %sv_0.0.reload, i32* %sv_0.210.reg2mem\n br i1 %23, label LBL_7, label LBL_2\n LBL_7:\n %24 = add nuw nsw i64 %indvars.iv22.reload, %177\n switch i32 %3, label LBL_23 [\n i32 9, label LBL_18\n i32 1, label LBL_8\n i32 2, label LBL_13\n ]\n LBL_8:\n %25 = add i64 %24, %1\n %26 = inttoptr i64 %25 to i8*\n %27 = load i8, i8* %26, align 1\n %28 = ashr i32 %sv_0.0.reload, 3\n %29 = sext i32 %28 to i64\n br i1 %178, label LBL_10, label LBL_9\n LBL_9:\n br i1 %179, label LBL_11, label LBL_12\n LBL_10:\n %30 = add i64 %29, ptrtoint (i8** @gv_0 to i64)\n %31 = inttoptr i64 %30 to i8*\n %32 = load i8, i8* %31, align 1\n %33 = urem i32 %sv_0.0.reload, 8\n %34 = xor i32 %33, 7\n %35 = icmp eq i32 %34, 0\n %36 = zext i8 %32 to i32\n %37 = lshr i32 %36, %34\n %38 = trunc i32 %37 to i8\n %rdx.0 = select i1 %35, i8 %32, i8 %38\n %39 = urem i8 %rdx.0, 2\n %40 = xor i8 %39, %27\n store i8 %40, i8* %26, align 1\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_11:\n %41 = add i64 %29, ptrtoint (i8** @gv_1 to i64)\n %42 = inttoptr i64 %41 to i8*\n %43 = load i8, i8* %42, align 1\n %44 = urem i32 %sv_0.0.reload, 8\n %45 = xor i32 %44, 7\n %46 = icmp eq i32 %45, 0\n %47 = zext i8 %43 to i32\n %48 = lshr i32 %47, %45\n %49 = trunc i32 %48 to i8\n %rdx.1 = select i1 %46, i8 %43, i8 %49\n %50 = urem i8 %rdx.1, 2\n %51 = xor i8 %50, %27\n store i8 %51, i8* %26, align 1\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_12:\n %52 = add i64 %29, ptrtoint (i8** @gv_2 to i64)\n %53 = inttoptr i64 %52 to i8*\n %54 = load i8, i8* %53, align 1\n %55 = urem i32 %sv_0.0.reload, 8\n %56 = xor i32 %55, 7\n %57 = icmp eq i32 %56, 0\n %58 = zext i8 %54 to i32\n %59 = lshr i32 %58, %56\n %60 = trunc i32 %59 to i8\n %rdx.2 = select i1 %57, i8 %54, i8 %60\n %61 = urem i8 %rdx.2, 2\n %62 = xor i8 %61, %27\n store i8 %62, i8* %26, align 1\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_13:\n %63 = add i64 %24, %1\n %64 = inttoptr i64 %63 to i8*\n %65 = load i8, i8* %64, align 1\n %66 = ashr i32 %sv_0.0.reload, 3\n %67 = sext i32 %66 to i64\n br i1 %178, label LBL_15, label LBL_14\n LBL_14:\n br i1 %179, label LBL_16, label LBL_17\n LBL_15:\n %68 = add i64 %67, ptrtoint (i8** @gv_3 to i64)\n %69 = inttoptr i64 %68 to i8*\n %70 = load i8, i8* %69, align 1\n %71 = urem i32 %sv_0.0.reload, 8\n %72 = xor i32 %71, 7\n %73 = icmp eq i32 %72, 0\n %74 = zext i8 %70 to i32\n %75 = lshr i32 %74, %72\n %76 = trunc i32 %75 to i8\n %rdx.3 = select i1 %73, i8 %70, i8 %76\n %77 = urem i8 %rdx.3, 2\n %78 = xor i8 %77, %65\n store i8 %78, i8* %64, align 1\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_16:\n %79 = add i64 %67, ptrtoint (i8** @gv_4 to i64)\n %80 = inttoptr i64 %79 to i8*\n %81 = load i8, i8* %80, align 1\n %82 = urem i32 %sv_0.0.reload, 8\n %83 = xor i32 %82, 7\n %84 = icmp eq i32 %83, 0\n %85 = zext i8 %81 to i32\n %86 = lshr i32 %85, %83\n %87 = trunc i32 %86 to i8\n %rdx.4 = select i1 %84, i8 %81, i8 %87\n %88 = urem i8 %rdx.4, 2\n %89 = xor i8 %88, %65\n store i8 %89, i8* %64, align 1\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_17:\n %90 = add i64 %67, ptrtoint (i8** @gv_5 to i64)\n %91 = inttoptr i64 %90 to i8*\n %92 = load i8, i8* %91, align 1\n %93 = urem i32 %sv_0.0.reload, 8\n %94 = xor i32 %93, 7\n %95 = icmp eq i32 %94, 0\n %96 = zext i8 %92 to i32\n %97 = lshr i32 %96, %94\n %98 = trunc i32 %97 to i8\n %rdx.5 = select i1 %95, i8 %92, i8 %98\n %99 = urem i8 %rdx.5, 2\n %100 = xor i8 %99, %65\n store i8 %100, i8* %64, align 1\n store i64 %63, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_18:\n %101 = add i64 %24, %1\n %102 = inttoptr i64 %101 to i8*\n %103 = load i8, i8* %102, align 1\n %104 = ashr i32 %sv_0.0.reload, 3\n %105 = sext i32 %104 to i64\n br i1 %178, label LBL_20, label LBL_19\n LBL_19:\n br i1 %179, label LBL_21, label LBL_22\n LBL_20:\n %106 = add i64 %105, ptrtoint (i8** @gv_6 to i64)\n %107 = inttoptr i64 %106 to i8*\n %108 = load i8, i8* %107, align 1\n %109 = urem i32 %sv_0.0.reload, 8\n %110 = xor i32 %109, 7\n %111 = icmp eq i32 %110, 0\n %112 = zext i8 %108 to i32\n %113 = lshr i32 %112, %110\n %114 = trunc i32 %113 to i8\n %rdx.6 = select i1 %111, i8 %108, i8 %114\n %115 = urem i8 %rdx.6, 2\n %116 = xor i8 %115, %103\n store i8 %116, i8* %102, align 1\n store i64 %101, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_21:\n %117 = add i64 %105, ptrtoint (i8** @gv_7 to i64)\n %118 = inttoptr i64 %117 to i8*\n %119 = load i8, i8* %118, align 1\n %120 = urem i32 %sv_0.0.reload, 8\n %121 = xor i32 %120, 7\n %122 = icmp eq i32 %121, 0\n %123 = zext i8 %119 to i32\n %124 = lshr i32 %123, %121\n %125 = trunc i32 %124 to i8\n %rdx.7 = select i1 %122, i8 %119, i8 %125\n %126 = urem i8 %rdx.7, 2\n %127 = xor i8 %126, %103\n store i8 %127, i8* %102, align 1\n store i64 %101, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_22:\n %128 = add i64 %105, ptrtoint (i8** @gv_8 to i64)\n %129 = inttoptr i64 %128 to i8*\n %130 = load i8, i8* %129, align 1\n %131 = urem i32 %sv_0.0.reload, 8\n %132 = xor i32 %131, 7\n %133 = icmp eq i32 %132, 0\n %134 = zext i8 %130 to i32\n %135 = lshr i32 %134, %132\n %136 = trunc i32 %135 to i8\n %rdx.8 = select i1 %133, i8 %130, i8 %136\n %137 = urem i8 %rdx.8, 2\n %138 = xor i8 %137, %103\n store i8 %138, i8* %102, align 1\n store i64 %101, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_23:\n %139 = add i64 %24, %1\n %140 = inttoptr i64 %139 to i8*\n %141 = load i8, i8* %140, align 1\n %142 = ashr i32 %sv_0.0.reload, 3\n %143 = sext i32 %142 to i64\n br i1 %178, label LBL_25, label LBL_24\n LBL_24:\n br i1 %179, label LBL_26, label LBL_27\n LBL_25:\n %144 = add i64 %143, ptrtoint (i8** @gv_9 to i64)\n %145 = inttoptr i64 %144 to i8*\n %146 = load i8, i8* %145, align 1\n %147 = urem i32 %sv_0.0.reload, 8\n %148 = xor i32 %147, 7\n %149 = icmp eq i32 %148, 0\n %150 = zext i8 %146 to i32\n %151 = lshr i32 %150, %148\n %152 = trunc i32 %151 to i8\n %rdx.12 = select i1 %149, i8 %146, i8 %152\n %153 = urem i8 %rdx.12, 2\n %154 = xor i8 %153, %141\n store i8 %154, i8* %140, align 1\n store i64 %139, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_26:\n %155 = add i64 %143, ptrtoint (i8** @gv_10 to i64)\n %156 = inttoptr i64 %155 to i8*\n %157 = load i8, i8* %156, align 1\n %158 = urem i32 %sv_0.0.reload, 8\n %159 = xor i32 %158, 7\n %160 = icmp eq i32 %159, 0\n %161 = zext i8 %157 to i32\n %162 = lshr i32 %161, %159\n %163 = trunc i32 %162 to i8\n %rdx.13 = select i1 %160, i8 %157, i8 %163\n %164 = urem i8 %rdx.13, 2\n %165 = xor i8 %164, %141\n store i8 %165, i8* %140, align 1\n store i64 %139, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_27:\n %166 = add i64 %143, ptrtoint (i8** @gv_11 to i64)\n %167 = inttoptr i64 %166 to i8*\n %168 = load i8, i8* %167, align 1\n %169 = urem i32 %sv_0.0.reload, 8\n %170 = xor i32 %169, 7\n %171 = icmp eq i32 %170, 0\n %172 = zext i8 %168 to i32\n %173 = lshr i32 %172, %170\n %174 = trunc i32 %173 to i8\n %rdx.14 = select i1 %171, i8 %168, i8 %174\n %175 = urem i8 %rdx.14, 2\n %176 = xor i8 %175, %141\n store i8 %176, i8* %140, align 1\n store i64 %139, i64* %rax.0.reg2mem\n br label LBL_28\n LBL_28:\n %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22.reload, 1\n %exitcond24 = icmp eq i64 %indvars.iv.next23, 10\n store i64 %indvars.iv.next23, i64* %indvars.iv22.reg2mem\n br i1 %exitcond24, label LBL_29, label LBL_1\n LBL_29:\n %indvars.iv.next28 = add nuw nsw i64 %indvars.iv27.reload, 1\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, 1\n %indvars.iv.next26 = add nuw nsw i64 %indvars.iv25.reload, 1\n %exitcond29 = icmp eq i64 %indvars.iv.next28, 10\n store i64 %indvars.iv.next28, i64* %indvars.iv27.reg2mem\n store i64 %indvars.iv.next26, i64* %indvars.iv25.reg2mem\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond29, label LBL_31, label LBL_30\n LBL_30:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %indvars.iv25.reload = load i64, i64* %indvars.iv25.reg2mem\n %indvars.iv27.reload = load i64, i64* %indvars.iv27.reg2mem\n %177 = mul nuw nsw i64 %indvars.iv27.reload, 10\n %178 = icmp eq i64 %indvars.iv27.reload, 1\n %179 = icmp eq i64 %indvars.iv27.reload, 2\n store i64 0, i64* %indvars.iv22.reg2mem\n br label LBL_1\n LBL_31:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i1 %179, { 2, 3, 1, 0 }\n uselistorder i1 %178, { 2, 3, 1, 0 }\n uselistorder i64 %indvars.iv27.reload, { 2, 1, 3, 4, 0 }\n uselistorder i64 %indvars.iv25.reload, { 1, 0 }\n uselistorder i64 %indvars.iv.reload, { 1, 0 }\n uselistorder i64 %143, { 1, 0, 2 }\n uselistorder i8 %141, { 2, 1, 0 }\n uselistorder i8* %140, { 1, 0, 2, 3 }\n uselistorder i64 %105, { 1, 0, 2 }\n uselistorder i8 %103, { 2, 1, 0 }\n uselistorder i8* %102, { 1, 0, 2, 3 }\n uselistorder i64 %67, { 1, 0, 2 }\n uselistorder i8 %65, { 2, 1, 0 }\n uselistorder i8* %64, { 1, 0, 2, 3 }\n uselistorder i64 %29, { 1, 0, 2 }\n uselistorder i8 %27, { 2, 1, 0 }\n uselistorder i8* %26, { 1, 0, 2, 3 }\n uselistorder i64 %24, { 0, 1, 3, 2 }\n uselistorder i32 %sv_0.0.reload, { 15, 14, 13, 3, 12, 11, 10, 2, 9, 8, 7, 0, 6, 5, 4, 1, 16, 17 }\n uselistorder i64 %indvars.iv18.reload, { 0, 1, 3, 2 }\n uselistorder i32 %sv_0.17.reload, { 1, 0 }\n uselistorder i32 %storemerge211.reload, { 2, 4, 0, 3, 1 }\n uselistorder i64 %indvars.iv22.reload, { 0, 4, 3, 2, 1 }\n uselistorder i64 %1, { 0, 1, 3, 2 }\n uselistorder i64* %indvars.iv22.reg2mem, { 2, 1, 0 }\n uselistorder i32* %storemerge211.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.210.reg2mem, { 1, 0, 2 }\n uselistorder i64* %indvars.iv18.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_0.17.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 10, 11, 12, 7, 8, 9, 1, 2, 3, 4, 5, 6 }\n uselistorder i32 7, { 11, 10, 9, 2, 1, 0, 8, 7, 6, 5, 4, 3 }\n uselistorder i32 2, { 1, 0 }\n uselistorder label LBL_28, { 2, 1, 0, 5, 4, 3, 8, 7, 6, 11, 10, 9 }\n uselistorder label LBL_5, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "symbols_12018", "fun_name": "symbols", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = icmp eq i64 %arg1, 0\n %1 = icmp eq i1 %0, false\n %rax.0 = select i1 %1, i64 %arg1, i64 0\n ret i64 %rax.0\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "bm_height_6744", "fun_name": "bm_height", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = icmp eq i32* %arg1, null\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n call void @__assert_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_1, i64 0, i64 0), i32 9, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_2, i64 0, i64 0))\n br label LBL_2\n LBL_2:\n %4 = and i64 %1, 4294967295\n ret i64 %4\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "Jsi_ObjArraySet_11972", "fun_name": "Jsi_ObjArraySet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %.pre-phi8.reg2mem = alloca i64*\n %rdx = alloca i64, align 8\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n %2 = trunc i64 %arg4 to i32\n %3 = call i64 @FUNC(i64 %1, i64 %0, i32 %2)\n %4 = trunc i64 %3 to i32\n %5 = icmp eq i32 %4, 0\n %6 = icmp slt i32 %4, 0\n %7 = icmp eq i1 %6, false\n %8 = icmp eq i1 %5, false\n %9 = icmp eq i1 %7, %8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %9, label LBL_1, label LBL_9\n LBL_1:\n %sext = mul i64 %arg4, 4294967296\n %10 = ashr exact i64 %sext, 29\n %11 = add i64 %10, %0\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = ptrtoint i32* %arg3 to i64\n %15 = icmp eq i64 %13, %14\n %16 = icmp eq i1 %15, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_2, label LBL_9\n LBL_2:\n %17 = icmp eq i64 %13, 0\n store i64* %12, i64** %.pre-phi8.reg2mem\n br i1 %17, label LBL_4, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %1, i64 %13)\n %.pre = add i64 %13, %10\n %.pre7 = inttoptr i64 %.pre to i64*\n store i64* %.pre7, i64** %.pre-phi8.reg2mem\n br label LBL_4\n LBL_4:\n %.pre-phi8.reload = load i64*, i64** %.pre-phi8.reg2mem\n %19 = add i64 %0, 8\n %20 = inttoptr i64 %19 to i32*\n %21 = load i32, i32* %20, align 4\n %22 = add i64 %0, 12\n %23 = inttoptr i64 %22 to i32*\n %24 = load i32, i32* %23, align 4\n %25 = sub i32 %21, %24\n %26 = xor i32 %24, %21\n %27 = xor i32 %25, %21\n %28 = and i32 %27, %26\n %29 = icmp slt i32 %28, 0\n %30 = icmp eq i32 %25, 0\n %31 = icmp slt i32 %25, 0\n %32 = icmp ne i1 %31, %29\n %33 = or i1 %30, %32\n %34 = zext i1 %33 to i64\n %35 = call i64 @FUNC(i64 %34)\n store i64 %14, i64* %.pre-phi8.reload, align 8\n %cond = icmp eq i32* %arg3, null\n br i1 %cond, label LBL_7, label LBL_5\n LBL_5:\n %36 = call i64 @FUNC(i64 %1, i64 %14)\n %37 = bitcast i64* %rdx to i32*\n %38 = load i32, i32* %37, align 8\n %39 = icmp eq i32 %38, 1\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_7, label LBL_6\n LBL_6:\n %41 = call i64 @FUNC(i64 %1, i64 %0, i64 %14, i64 1)\n br label LBL_7\n LBL_7:\n %42 = ashr exact i64 %sext, 32\n %43 = call i64 @FUNC(i64 %1, i64 %0)\n %44 = trunc i64 %43 to i32\n %45 = trunc i64 %42 to i32\n %46 = icmp slt i32 %45, %44\n store i64 0, i64* %rax.0.reg2mem\n br i1 %46, label LBL_9, label LBL_8\n LBL_8:\n %47 = add nsw i64 %42, 1\n %48 = and i64 %47, 4294967295\n %49 = call i64 @FUNC(i64 %1, i64 %0, i64 %48)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %42, { 1, 0 }\n uselistorder i32 %25, { 1, 2, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %1, { 3, 4, 2, 1, 0, 5 }\n uselistorder i64 %0, { 2, 3, 1, 5, 4, 0, 6 }\n uselistorder i64** %.pre-phi8.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4 }\n uselistorder i64 1, { 1, 2, 0 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder i1 false, { 1, 2, 3, 0, 4 }\n uselistorder label LBL_9, { 1, 0, 2, 3 }\n uselistorder label LBL_7, { 1, 2, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mvneta_bm_pool_use_4407", "fun_name": "mvneta_bm_pool_use", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem = alloca i32\n %rcx.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = mul i64 %arg2, 64\n %4 = and i64 %3, 16320\n %5 = add i64 %4, %2\n %6 = inttoptr i64 %5 to i32*\n %7 = load i32, i32* %6, align 4\n %8 = icmp eq i32 %7, 2\n %9 = icmp eq i1 %8, false\n store i64 %arg4, i64* %rcx.0.reg2mem\n br i1 %9, label LBL_3, label LBL_1\n LBL_1:\n %sext6 = mul i64 %arg4, 72057594037927936\n %10 = ashr exact i64 %sext6, 56\n %11 = add i64 %5, 4\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = urem i64 %10, 256\n %15 = trunc i64 %10 to i32\n %16 = urem i32 %15, 32\n %17 = shl i32 1, %16\n %18 = icmp eq i32 %13, %17\n store i64 %14, i64* %rcx.0.reg2mem\n br i1 %18, label LBL_3, label LBL_2\n LBL_2:\n %19 = add i64 %2, 8\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = call i64 @FUNC(i64 %21, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_0, i64 0, i64 0), i32 %13, i64 %14, i64 %arg5, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_3:\n %23 = icmp eq i32 %7, 1\n %24 = icmp eq i1 %23, false\n %25 = trunc i64 %arg3 to i32\n %26 = icmp eq i32 %7, %25\n %or.cond = or i1 %26, %24\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %27 = add i64 %2, 8\n %28 = inttoptr i64 %27 to i64*\n %29 = load i64, i64* %28, align 8\n %30 = call i64 @FUNC(i64 %29, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @gv_1, i64 0, i64 0), i32 %7, i64 %rcx.0.reload, i64 %arg5, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_5:\n %31 = add i64 %5, 8\n %32 = inttoptr i64 %31 to i32*\n %33 = load i32, i32* %32, align 4\n %34 = icmp ne i32 %33, 0\n %35 = icmp eq i32 %25, 1\n %or.cond9 = icmp eq i1 %35, %34\n store i32 %7, i32* %.reg2mem\n br i1 %or.cond9, label LBL_7, label LBL_6\n LBL_6:\n %36 = trunc i64 %arg5 to i32\n store i32 %36, i32* %32, align 4\n %.pre = load i32, i32* %6, align 4\n store i32 %.pre, i32* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i32, i32* %.reg2mem\n %37 = icmp eq i32 %.reload, 0\n %38 = icmp eq i1 %37, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %38, label LBL_12, label LBL_8\n LBL_8:\n %39 = add i64 %5, 16\n %40 = add i64 %5, 48\n %41 = inttoptr i64 %40 to i64*\n store i64 %2, i64* %41, align 8\n store i32 %25, i32* %6, align 4\n %42 = load i32, i32* %32, align 4\n %43 = add i64 %5, 60\n %44 = inttoptr i64 %43 to i32*\n store i32 %42, i32* %44, align 4\n %45 = load i32, i32* %32, align 4\n %46 = add i32 %45, 7\n %47 = and i32 %46, -8\n %48 = inttoptr i64 %39 to i32*\n store i32 %47, i32* %48, align 4\n %49 = add i64 %5, 32\n %50 = inttoptr i64 %49 to i64*\n store i64 4198976, i64* %50, align 8\n %51 = add i64 %5, 24\n %52 = inttoptr i64 %51 to i64*\n store i64 %5, i64* %52, align 8\n %53 = add i64 %5, 44\n %54 = call i64 @FUNC(i64 %53)\n %55 = call i64 @FUNC(i64 %2, i64 %5)\n %56 = trunc i64 %55 to i32\n %57 = icmp eq i32 %56, 0\n br i1 %57, label LBL_10, label LBL_9\n LBL_9:\n %58 = add i64 %5, 56\n %59 = inttoptr i64 %58 to i32*\n %60 = load i32, i32* %59, align 4\n %61 = add i64 %2, 8\n %62 = inttoptr i64 %61 to i64*\n %63 = load i64, i64* %62, align 8\n %64 = call i64 @FUNC(i64 %63, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_2, i64 0, i64 0), i32 %60, i64 %63, i64 %arg5, i64 %1)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_10:\n %65 = add i64 %5, 40\n %66 = inttoptr i64 %65 to i32*\n %67 = load i32, i32* %66, align 4\n %68 = zext i32 %67 to i64\n %69 = call i64 @FUNC(i64 %39, i64 %68, i64 0)\n %70 = trunc i64 %69 to i32\n %71 = load i32, i32* %66, align 4\n %72 = icmp eq i32 %71, %70\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %72, label LBL_12, label LBL_11\n LBL_11:\n %73 = zext i32 %71 to i64\n %74 = add i64 %5, 56\n %75 = inttoptr i64 %74 to i32*\n %76 = load i32, i32* %75, align 4\n %77 = and i64 %69, 4294967295\n %78 = zext i32 %76 to i64\n %79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_3, i64 0, i64 0), i64 %78, i64 %77, i64 %73)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %63, { 1, 0 }\n uselistorder i32* %32, { 1, 2, 0, 3 }\n uselistorder i64 %14, { 1, 0 }\n uselistorder i64 %10, { 1, 0 }\n uselistorder i32 %7, { 0, 2, 3, 1, 4 }\n uselistorder i32* %6, { 1, 0, 2 }\n uselistorder i64 %5, { 2, 1, 3, 4, 5, 12, 6, 11, 10, 7, 8, 9, 0, 13, 14, 15 }\n uselistorder i64 %2, { 3, 4, 5, 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 5, 1, 4, 3 }\n uselistorder i64 (i64, i8*, i32, i64, i64, i64)* @dev_err, { 2, 1, 0 }\n uselistorder i64 56, { 1, 2, 0 }\n uselistorder i64 %arg5, { 3, 0, 2, 1 }\n uselistorder i64 %arg4, { 1, 0 }\n uselistorder label LBL_12, { 2, 1, 3, 0, 4, 5 }\n uselistorder label LBL_7, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "incfs_kill_sb_6155", "fun_name": "incfs_kill_sb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %4, i64 %5, i64 %2, i64 %1)\n %8 = call i64 @FUNC(i64 %6)\n %9 = icmp eq i64* %arg1, null\n store i64 %8, i64* %rax.0.reg2mem\n br i1 %9, label LBL_9, label LBL_1\n LBL_1:\n %10 = call i64 @FUNC(i64 %6)\n %11 = icmp eq i64 %10, 0\n br i1 %11, label LBL_8, label LBL_2\n LBL_2:\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n br i1 %15, label LBL_5, label LBL_3\n LBL_3:\n %16 = add i64 %6, 16\n %17 = inttoptr i64 %16 to i32*\n %18 = load i32, i32* %17, align 4\n %19 = icmp eq i32 %18, 0\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64* nonnull @gv_1, i64 %10, i64 %14)\n br label LBL_5\n LBL_5:\n %21 = add i64 %6, 24\n %22 = inttoptr i64 %21 to i64*\n %23 = load i64, i64* %22, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_8, label LBL_6\n LBL_6:\n %25 = add i64 %6, 32\n %26 = inttoptr i64 %25 to i32*\n %27 = load i32, i32* %26, align 4\n %28 = icmp eq i32 %27, 0\n br i1 %28, label LBL_8, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64* nonnull @gv_1, i64 %10, i64 %23)\n br label LBL_8\n LBL_8:\n %30 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %arg1, align 8\n store i64 %6, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 2, 0, 1 }\n uselistorder i64 %6, { 0, 5, 2, 1, 4, 3, 6, 7 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i64 (i64*, i64, i64)* @vfs_rmdir, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "renameUnmapSelectCb_6917", "fun_name": "renameUnmapSelectCb", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %.reg2mem10 = alloca i64\n %.reg2mem8 = alloca i32\n %storemerge35.reg2mem = alloca i32\n %.reg2mem6 = alloca i64\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = trunc i64 %1 to i32\n %4 = icmp eq i32 %3, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_1, label LBL_11\n LBL_1:\n %5 = urem i64 %2, 2\n %6 = icmp eq i64 %5, 0\n store i64 1, i64* %rax.0.reg2mem\n br i1 %6, label LBL_2, label LBL_11\n LBL_2:\n %7 = ptrtoint i64* %arg2 to i64\n %8 = ptrtoint i64* %arg1 to i64\n %9 = add i64 %7, 8\n %10 = inttoptr i64 %9 to i64*\n %11 = load i64, i64* %10, align 8\n %12 = inttoptr i64 %11 to i32*\n %13 = load i32, i32* %12, align 4\n %14 = icmp eq i32 %13, 0\n br i1 %14, label LBL_7, label LBL_3\n LBL_3:\n %15 = add i64 %11, 8\n %16 = inttoptr i64 %15 to i64*\n store i32 %13, i32* %.reg2mem\n store i64 0, i64* %.reg2mem6\n store i32 0, i32* %storemerge35.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge35.reload = load i32, i32* %storemerge35.reg2mem\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload = load i32, i32* %.reg2mem\n %17 = load i64, i64* %16, align 8\n %18 = mul i64 %.reload7, 8\n %19 = add i64 %17, %18\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = icmp eq i64 %21, 0\n store i32 %.reload, i32* %.reg2mem8\n br i1 %22, label LBL_6, label LBL_5\n LBL_5:\n %23 = call i64 @FUNC(i64 %8, i64 0, i64 %21)\n %.pre = load i32, i32* %12, align 4\n store i32 %.pre, i32* %.reg2mem8\n br label LBL_6\n LBL_6:\n %.reload9 = load i32, i32* %.reg2mem8\n %24 = add i32 %storemerge35.reload, 1\n %25 = zext i32 %.reload9 to i64\n %26 = sext i32 %24 to i64\n %27 = icmp slt i64 %26, %25\n store i32 %.reload9, i32* %.reg2mem\n store i64 %26, i64* %.reg2mem6\n store i32 %24, i32* %storemerge35.reg2mem\n br i1 %27, label LBL_4, label LBL_7\n LBL_7:\n %28 = add i64 %7, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = icmp eq i32 %32, 0\n br i1 %33, label LBL_10, label LBL_8\n LBL_8:\n %34 = add i64 %30, 8\n %35 = inttoptr i64 %34 to i64*\n store i64 0, i64* %.reg2mem10\n store i32 0, i32* %storemerge4.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %.reload11 = load i64, i64* %.reg2mem10\n %36 = load i64, i64* %35, align 8\n %37 = mul i64 %.reload11, 8\n %38 = add i64 %36, %37\n %39 = inttoptr i64 %38 to i64*\n %40 = load i64, i64* %39, align 8\n %41 = call i64 @FUNC(i64 %8, i64 0, i64 %40)\n %42 = add i32 %storemerge4.reload, 1\n %43 = load i32, i32* %31, align 4\n %44 = zext i32 %43 to i64\n %45 = sext i32 %42 to i64\n %46 = icmp slt i64 %45, %44\n store i64 %45, i64* %.reg2mem10\n store i32 %42, i32* %storemerge4.reg2mem\n br i1 %46, label LBL_9, label LBL_10\n LBL_10:\n %47 = call i64 @FUNC(i64 %8, i64 %7)\n store i64 2, i64* %rax.0.reg2mem\n br label LBL_11\n LBL_11:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %31, { 1, 0 }\n uselistorder i32 %.reload9, { 1, 0 }\n uselistorder i32* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem6, { 1, 0, 2 }\n uselistorder i32* %storemerge35.reg2mem, { 1, 0, 2 }\n uselistorder i32* %.reg2mem8, { 0, 2, 1 }\n uselistorder i64* %.reg2mem10, { 1, 0, 2 }\n uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @sqlite3RenameTokenRemap, { 1, 0 }\n uselistorder i64 8, { 0, 2, 1, 3, 4 }\n uselistorder label LBL_11, { 2, 0, 1 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ath_beacon_config_adhoc_4088", "fun_name": "ath_beacon_config_adhoc", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i32* %arg2, i32* %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.0.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = urem i32 %3, 65536\n %5 = icmp eq i32 %4, 0\n %6 = icmp eq i1 %5, false\n %spec.select = select i1 %6, i32 %4, i32 100\n %7 = udiv i64 %2, 4294967296\n %8 = and i64 %2, 4294967295\n %9 = call i64 @FUNC(i64 %7, i64 %8)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i32 %spec.select, i32* %sv_0.0.reg2mem\n br i1 %12, label LBL_1, label LBL_3\n LBL_1:\n %13 = icmp eq i32 %spec.select, 0\n store i32 %10, i32* %sv_0.0.reg2mem\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = zext i32 %spec.select to i64\n %15 = and i64 %9, 4294967295\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n %17 = trunc i64 %16 to i32\n store i32 %17, i32* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %18 = add i64 %2, 24\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20)\n %22 = udiv i64 %21, 4294967296\n %23 = and i64 %21, 4294967295\n %24 = call i64 @FUNC(i64 %22, i64 %23)\n %25 = trunc i64 %24 to i32\n store i32 %sv_0.0.reload, i32* %sv_0.1.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %26 = add i32 %sv_0.1.reload, %spec.select\n %27 = icmp ult i32 %26, %25\n store i32 %26, i32* %sv_0.1.reg2mem\n br i1 %27, label LBL_4, label LBL_5\n LBL_5:\n %28 = and i64 %1, 4294967295\n %29 = zext i32 %spec.select to i64\n %30 = zext i32 %26 to i64\n %31 = call i64 @FUNC(i64 %2, i64 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %30, i64 %29, i64 %28)\n %32 = load i64, i64* %19, align 8\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = urem i32 %34, 2\n %36 = icmp eq i32 %35, 0\n %37 = icmp eq i1 %36, false\n %.pre = add i64 %2, 16\n %.pre3 = inttoptr i64 %.pre to i32*\n br i1 %37, label LBL_7, label LBL_6\n LBL_6:\n %38 = load i32, i32* %.pre3, align 4\n %39 = or i32 %38, 2\n store i32 %39, i32* %.pre3, align 4\n br label LBL_7\n LBL_7:\n %40 = or i32 %spec.select, 1\n %41 = call i64 @FUNC(i64 %2)\n %42 = load i64, i64* %19, align 8\n %43 = call i64 @FUNC(i64 %42, i64 0)\n %44 = load i64, i64* %19, align 8\n %45 = call i64 @FUNC(i64 %44, i64 %30, i32 %40)\n %46 = add i64 %2, 8\n %47 = inttoptr i64 %46 to i32*\n store i32 0, i32* %47, align 4\n %48 = load i32, i32* %.pre3, align 4\n %49 = load i64, i64* %19, align 8\n %50 = zext i32 %48 to i64\n %51 = call i64 @FUNC(i64 %49, i64 %50)\n %52 = icmp eq i32* %arg3, null\n store i64 %51, i64* %rax.0.reg2mem\n br i1 %52, label LBL_10, label LBL_8\n LBL_8:\n %53 = load i64, i64* %19, align 8\n %54 = inttoptr i64 %53 to i32*\n %55 = load i32, i32* %54, align 4\n %56 = urem i32 %55, 2\n %57 = icmp eq i32 %56, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %57, label LBL_10, label LBL_9\n LBL_9:\n %58 = ptrtoint i32* %arg3 to i64\n %59 = call i64 @FUNC(i64 %2, i64 %58)\n store i64 %59, i64* %rax.0.reg2mem\n br label LBL_10\n LBL_10:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32* %.pre3, { 0, 2, 1 }\n uselistorder i32 %26, { 1, 0, 2 }\n uselistorder i64 %21, { 1, 0 }\n uselistorder i64* %19, { 0, 1, 3, 2, 4, 5 }\n uselistorder i32 %spec.select, { 2, 3, 1, 5, 4, 0 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %2, { 2, 3, 4, 1, 5, 6, 7, 0 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64, i64)* @ath9k_hw_set_interrupts, { 1, 0 }\n uselistorder i32 2, { 0, 2, 1 }\n uselistorder i64 (i64, i64)* @TSF_TO_TU, { 1, 0 }\n uselistorder i64 4294967295, { 0, 2, 1, 3, 4 }\n uselistorder i64 4294967296, { 1, 2, 0 }\n uselistorder label LBL_7, { 1, 0 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "expread_10070", "fun_name": "expread", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64* %arg2, i64 %arg3, i64* %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem8 = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %sv_1.03.reg2mem = alloca i64\n %sv_2.04.reg2mem = alloca i64\n %storemerge5.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i64* %arg4 to i64\n %4 = ptrtoint i64* %arg2 to i64\n %5 = urem i64 %3, 2\n %6 = icmp eq i64 %5, 0\n %7 = icmp eq i1 %6, false\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %arg1, i64 %4, i64 %arg3, i64 %3)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_8\n LBL_2:\n %9 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i64 %arg3, i64 %arg1, i64 %3, i64 %2, i64 %1)\n %10 = add i64 %arg1, 4095\n %11 = icmp slt i64 %arg1, 0\n %12 = select i1 %11, i64 %10, i64 %arg1\n %13 = ashr i64 %12, 12\n %14 = add i64 %arg1, -1\n %15 = add i64 %14, %arg3\n %16 = udiv i64 %15, 4096\n %17 = icmp sgt i64 %13, %16\n store i64 0, i64* %rax.0.reg2mem\n br i1 %17, label LBL_8, label LBL_3\n LBL_3:\n %18 = add i64 %3, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = add i64 %3, 16\n %21 = inttoptr i64 %20 to i32*\n store i64 %3, i64* %.reg2mem\n store i64 %13, i64* %storemerge5.reg2mem\n store i64 %arg1, i64* %sv_2.04.reg2mem\n store i64 %arg3, i64* %sv_1.03.reg2mem\n store i64 %4, i64* %sv_0.02.reg2mem\n br label LBL_4\n LBL_4:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %sv_1.03.reload = load i64, i64* %sv_1.03.reg2mem\n %sv_2.04.reload = load i64, i64* %sv_2.04.reg2mem\n %storemerge5.reload = load i64, i64* %storemerge5.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %22 = mul i64 %storemerge5.reload, 4096\n %23 = sub i64 %sv_2.04.reload, %22\n %24 = sub i64 4096, %23\n %25 = icmp sgt i64 %24, 0\n %26 = icmp ult i64 %sv_1.03.reload, %24\n %or.cond = icmp eq i1 %25, %26\n %storemerge1 = select i1 %or.cond, i64 %sv_1.03.reload, i64 %24\n %27 = load i64, i64* %19, align 8\n %28 = mul i64 %storemerge5.reload, 4\n %29 = add i64 %27, %28\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, -1\n br i1 %32, label LBL_6, label LBL_5\n LBL_5:\n %33 = zext i32 %31 to i64\n %34 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_1, i64 0, i64 0), i64 %storemerge5.reload, i64 %33, i64 %.reload, i64 %2, i64 %1)\n %35 = load i64, i64* %19, align 8\n %36 = add i64 %35, %28\n %37 = inttoptr i64 %36 to i32*\n %38 = load i32, i32* %37, align 4\n %39 = mul i32 %38, 4096\n %40 = zext i32 %39 to i64\n %41 = add i64 %23, %40\n %42 = load i32, i32* %21, align 4\n %43 = zext i32 %42 to i64\n %44 = call i64 @FUNC(i64 %43, i64 %41)\n %45 = load i32, i32* %21, align 4\n %46 = inttoptr i64 %sv_0.02.reload to i64*\n %47 = trunc i64 %storemerge1 to i32\n %48 = call i32 @read(i32 %45, i64* %46, i32 %47)\n %49 = sext i32 %48 to i64\n %50 = icmp eq i64 %storemerge1, %49\n store i64 %sv_0.02.reload, i64* %.reg2mem8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %50, label LBL_7, label LBL_8\n LBL_6:\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @gv_2, i64 0, i64 0), i64 %storemerge5.reload, i64 %27, i64 %.reload, i64 %2, i64 %1)\n %52 = call i64 @FUNC(i64 %sv_2.04.reload, i64 %sv_0.02.reload, i64 %storemerge1, i64 %3)\n %53 = trunc i64 %52 to i32\n %54 = icmp eq i32 %53, 0\n store i64 %3, i64* %.reg2mem8\n store i64 4294967295, i64* %rax.0.reg2mem\n br i1 %54, label LBL_7, label LBL_8\n LBL_7:\n %.reload9 = load i64, i64* %.reg2mem8\n %55 = sub i64 %sv_1.03.reload, %storemerge1\n %56 = add i64 %storemerge1, %sv_2.04.reload\n %57 = add i64 %storemerge1, %sv_0.02.reload\n %58 = add nsw i64 %storemerge5.reload, 1\n %59 = icmp slt i64 %storemerge5.reload, %16\n store i64 %.reload9, i64* %.reg2mem\n store i64 %58, i64* %storemerge5.reg2mem\n store i64 %56, i64* %sv_2.04.reg2mem\n store i64 %55, i64* %sv_1.03.reg2mem\n store i64 %57, i64* %sv_0.02.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %59, label LBL_4, label LBL_8\n LBL_8:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %28, { 1, 0 }\n uselistorder i64 %27, { 1, 0 }\n uselistorder i64 %storemerge1, { 0, 1, 3, 2, 5, 4 }\n uselistorder i64 %24, { 1, 2, 0 }\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64 %storemerge5.reload, { 3, 0, 1, 2, 5, 4 }\n uselistorder i64 %sv_2.04.reload, { 2, 0, 1 }\n uselistorder i64 %sv_1.03.reload, { 2, 0, 1 }\n uselistorder i64 %sv_0.02.reload, { 3, 2, 0, 1 }\n uselistorder i64 %16, { 1, 0 }\n uselistorder i64 %3, { 0, 5, 1, 4, 6, 3, 7, 2 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i64* %storemerge5.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.04.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.03.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem8, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @DEBUG3, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @rawexpread_fully, { 1, 0 }\n uselistorder i64 %arg3, { 0, 1, 3, 2 }\n uselistorder i64 %arg1, { 0, 1, 6, 5, 4, 3, 2 }\n uselistorder label LBL_8, { 2, 1, 0, 3, 4 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "mov_write_hdlr_tag_3292", "fun_name": "mov_write_hdlr_tag", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i8*\n %sv_1.0.reg2mem = alloca i8*\n %sv_2.0.reg2mem = alloca i8*\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64* %arg2, null\n %5 = icmp eq i1 %4, false\n store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_0, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_2, i64 0, i64 0), i8** %sv_0.0.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = ptrtoint i64* %arg2 to i64\n %8 = icmp eq i32 %6, 1\n %9 = icmp eq i1 %8, false\n %10 = select i1 %9, i8* bitcast (i64* @gv_3 to i8*), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_4, i64 0, i64 0)\n %11 = add i64 %7, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = icmp eq i32 %15, 1\n %17 = icmp eq i1 %16, false\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_6, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i8* %10, i8** %sv_0.0.reg2mem\n br i1 %17, label LBL_2, label LBL_5\n LBL_2:\n %18 = icmp eq i32 %15, 2\n %19 = icmp eq i1 %18, false\n store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_7, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_8, i64 0, i64 0), i8** %sv_1.0.reg2mem\n store i8* %10, i8** %sv_0.0.reg2mem\n br i1 %19, label LBL_3, label LBL_5\n LBL_3:\n %20 = icmp eq i32 %15, 3\n %21 = icmp eq i1 %20, false\n store i8* null, i8** %sv_2.0.reg2mem\n store i8* null, i8** %sv_1.0.reg2mem\n store i8* %10, i8** %sv_0.0.reg2mem\n br i1 %21, label LBL_5, label LBL_4\n LBL_4:\n %22 = icmp eq i32 %6, 2\n %23 = icmp eq i1 %22, false\n %.5 = select i1 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0)\n store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_11, i64 0, i64 0), i8** %sv_2.0.reg2mem\n store i8* %.5, i8** %sv_1.0.reg2mem\n store i8* %10, i8** %sv_0.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i8*, i8** %sv_0.0.reg2mem\n %sv_1.0.reload = load i8*, i8** %sv_1.0.reg2mem\n %sv_2.0.reload = load i8*, i8** %sv_2.0.reg2mem\n %24 = call i64 @FUNC(i64 %2, i64 0)\n %25 = call i64 @FUNC(i64 %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0))\n %26 = call i64 @FUNC(i64 %2, i64 0)\n %27 = ptrtoint i8* %sv_0.0.reload to i64\n %28 = call i64 @FUNC(i64 %2, i64 %27, i64 4)\n %29 = call i64 @FUNC(i64 %2, i8* %sv_1.0.reload)\n %30 = call i64 @FUNC(i64 %2, i64 0)\n %31 = call i64 @FUNC(i64 %2, i64 0)\n %32 = call i64 @FUNC(i64 %2, i64 0)\n %33 = call i32 @strlen(i8* %sv_2.0.reload)\n %34 = urem i32 %33, 256\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %2, i64 %35)\n %37 = call i32 @strlen(i8* %sv_2.0.reload)\n %38 = sext i32 %37 to i64\n %39 = ptrtoint i8* %sv_2.0.reload to i64\n %40 = call i64 @FUNC(i64 %2, i64 %39, i64 %38)\n %41 = call i64 @FUNC(i64 %2, i64 %3)\n ret i64 %41\n\n uselistorder i8* %sv_2.0.reload, { 2, 0, 1 }\n uselistorder i8* %10, { 2, 3, 0, 1 }\n uselistorder i32 %6, { 1, 0 }\n uselistorder i64 %2, { 1, 0, 2, 6, 5, 4, 3, 10, 9, 8, 7, 11 }\n uselistorder i8** %sv_2.0.reg2mem, { 0, 4, 5, 1, 2, 3 }\n uselistorder i8** %sv_1.0.reg2mem, { 0, 4, 5, 1, 2, 3 }\n uselistorder i8** %sv_0.0.reg2mem, { 0, 4, 5, 1, 2, 3 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i64 (i64, i64, i64)* @put_buffer, { 1, 0 }\n uselistorder i64 (i64, i8*)* @put_tag, { 1, 0 }\n uselistorder i64 (i64, i64)* @put_be32, { 4, 3, 2, 1, 0 }\n uselistorder i64* %arg2, { 1, 0 }\n uselistorder label LBL_5, { 3, 4, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "audit_log_hex_4387", "fun_name": "audit_log_hex", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i16* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.lcssa.reg2mem = alloca i64\n %sv_0.02.reg2mem = alloca i64\n %storemerge3.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n br i1 %0, label LBL_7, label LBL_1\n LBL_1:\n %1 = ptrtoint i64* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %.tr = trunc i64 %arg3 to i32\n %4 = mul i32 %.tr, 2\n %5 = icmp slt i32 %4, %3\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %6 = sub i32 %4, %3\n %7 = add i32 %6, 1023\n %8 = icmp slt i32 %6, 0\n %9 = select i1 %8, i32 %7, i32 %6\n %10 = add i32 %9, 1024\n %11 = and i32 %10, -1024\n %12 = zext i32 %11 to i64\n %13 = call i64 @FUNC(i64 %1, i64 %12)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n store i64 %13, i64* %rax.0.reg2mem\n br i1 %15, label LBL_7, label LBL_3\n LBL_3:\n %16 = icmp eq i64 %arg3, 0\n store i64 %1, i64* %sv_0.0.lcssa.reg2mem\n br i1 %16, label LBL_6, label LBL_4\n LBL_4:\n %17 = ptrtoint i16* %arg2 to i64\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge3.reg2mem\n store i64 %1, i64* %sv_0.02.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.02.reload = load i64, i64* %sv_0.02.reg2mem\n %storemerge3.reload = load i32, i32* %storemerge3.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %18 = load [17 x i8]*, [17 x i8]** @gv_0, align 8\n %19 = ptrtoint [17 x i8]* %18 to i64\n %20 = add i64 %.reload, %17\n %21 = inttoptr i64 %20 to i8*\n %22 = load i8, i8* %21, align 1\n %23 = udiv i8 %22, 16\n %24 = zext i8 %23 to i64\n %25 = add i64 %24, %19\n %26 = add i64 %sv_0.02.reload, 1\n %27 = inttoptr i64 %25 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = inttoptr i64 %sv_0.02.reload to i8*\n store i8 %28, i8* %29, align 1\n %30 = load [17 x i8]*, [17 x i8]** @gv_0, align 8\n %31 = ptrtoint [17 x i8]* %30 to i64\n %32 = load i8, i8* %21, align 1\n %33 = urem i8 %32, 16\n %34 = zext i8 %33 to i64\n %35 = add i64 %34, %31\n %36 = add i64 %sv_0.02.reload, 2\n %37 = inttoptr i64 %35 to i8*\n %38 = load i8, i8* %37, align 1\n %39 = inttoptr i64 %26 to i8*\n store i8 %38, i8* %39, align 1\n %40 = add i32 %storemerge3.reload, 1\n %41 = sext i32 %40 to i64\n %42 = icmp ult i64 %41, %arg3\n store i64 %41, i64* %.reg2mem\n store i32 %40, i32* %storemerge3.reg2mem\n store i64 %36, i64* %sv_0.02.reg2mem\n store i64 %36, i64* %sv_0.0.lcssa.reg2mem\n br i1 %42, label LBL_5, label LBL_6\n LBL_6:\n %sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem\n %43 = inttoptr i64 %sv_0.0.lcssa.reload to i8*\n store i8 0, i8* %43, align 1\n %44 = mul i64 %arg3, 2\n %45 = call i64 @FUNC(i64 %1, i64 %44)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.02.reload, { 2, 0, 1 }\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %1, { 3, 1, 0, 2, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.02.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }\n uselistorder i8 16, { 1, 0 }\n uselistorder i64 %arg3, { 0, 2, 1, 3 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_7, { 2, 0, 1 }\n uselistorder label LBL_5, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "find_iface_10390", "fun_name": "find_iface", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_4\n LBL_1:\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 4\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i64, i64* %storemerge1.reg2mem\n %6 = add i64 %storemerge1.reload, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, %5\n %10 = icmp eq i1 %9, false\n store i64 %storemerge1.reload, i64* %rax.0.reg2mem\n br i1 %10, label LBL_3, label LBL_4\n LBL_3:\n %11 = add i64 %storemerge1.reload, 16\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = icmp eq i64 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 %13, i64* %storemerge1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %15, label LBL_2, label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %storemerge1.reload, { 1, 0, 2 }\n uselistorder i64* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 4, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hyperv_enabled_811", "fun_name": "hyperv_enabled", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = call i64 @FUNC(i64 %3, i64 1)\n %5 = trunc i64 %4 to i32\n %6 = icmp slt i32 %5, 1\n br i1 %6, label LBL_5, label LBL_1\n LBL_1:\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i8\n %9 = icmp eq i8 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %10, label LBL_6, label LBL_2\n LBL_2:\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i8*\n %13 = load i8, i8* %12, align 1\n %14 = icmp eq i8 %13, 0\n %15 = icmp eq i1 %14, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %15, label LBL_6, label LBL_3\n LBL_3:\n %16 = add i64 %0, 9\n %17 = inttoptr i64 %16 to i8*\n %18 = load i8, i8* %17, align 1\n %19 = icmp eq i8 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %20, label LBL_6, label LBL_4\n LBL_4:\n %21 = add i64 %0, 10\n %22 = inttoptr i64 %21 to i8*\n %23 = load i8, i8* %22, align 1\n %24 = icmp eq i8 %23, 0\n store i64 1, i64* %storemerge.reg2mem\n br i1 %24, label LBL_5, label LBL_6\n LBL_5:\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %0, { 2, 1, 0, 3, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 5, 4, 3, 2, 1 }\n uselistorder i64 1, { 3, 2, 1, 0, 6, 4, 5 }\n uselistorder label LBL_6, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "gfs2_dirent_find_space_11719", "fun_name": "gfs2_dirent_find_space", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = ptrtoint i16* %arg1 to i64\n %4 = trunc i64 %2 to i32\n %5 = add i32 %4, 4\n %6 = trunc i64 %1 to i32\n %7 = urem i32 %6, 65536\n %8 = add nuw nsw i32 %7, 4\n %9 = add i64 %3, 2\n %10 = inttoptr i64 %9 to i16*\n %11 = load i16, i16* %10, align 2\n %12 = zext i16 %11 to i32\n %13 = call i64 @FUNC(i64 %3)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %spec.select = select i1 %15, i32 %8, i32 4\n %16 = sub nsw i32 %12, %spec.select\n %17 = icmp ule i32 %5, %16\n %. = zext i1 %17 to i64\n ret i64 %.\n\n uselistorder i64* %0, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "clear_commits_17014", "fun_name": "clear_commits", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.reg2mem = alloca i64\n %.ph.reg2mem = alloca i64\n %storemerge1.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = zext i32 %3 to i64\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %5, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @gv_1, i64 0, i64 0), i64 %4)\n %7 = zext i32 %6 to i64\n %8 = call i64 @FUNC(i64 %7)\n %9 = load i32, i32* %2, align 4\n %10 = icmp eq i32 %9, 0\n store i32 0, i32* %storemerge1.reg2mem\n br i1 %10, label LBL_11, label LBL_1\n LBL_1:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %11 = zext i32 %storemerge1.reload to i64\n %12 = call i64 @FUNC(i64 %0, i64 %11)\n %13 = inttoptr i64 %12 to i64*\n %14 = load i64, i64* %13, align 8\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n %.pre3 = add i64 %12, 8\n %.pre4 = inttoptr i64 %.pre3 to i32*\n store i64 %14, i64* %.ph.reg2mem\n br i1 %16, label LBL_4, label LBL_2\n LBL_2:\n %17 = load i32, i32* %.pre4, align 4\n %18 = icmp eq i32 %17, 1\n br i1 %18, label LBL_10, label LBL_3\n LBL_3:\n call void @__assert_fail(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_2, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i32 34, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0))\n %.pr.pre = load i64, i64* %13, align 8\n store i64 %.pr.pre, i64* %.ph.reg2mem\n br label LBL_4\n LBL_4:\n %.ph.reload = load i64, i64* %.ph.reg2mem\n %.pr = load i32, i32* %.pre4, align 4\n %19 = icmp eq i32 %.pr, 1\n %20 = icmp eq i64 %.ph.reload, 0\n br i1 %19, label LBL_8, label LBL_5\n LBL_5:\n %21 = icmp eq i1 %20, false\n store i64 %.ph.reload, i64* %.reg2mem\n br i1 %21, label LBL_7, label LBL_6\n LBL_6:\n call void @__assert_fail(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i32 36, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0))\n %.pre = load i64, i64* %13, align 8\n store i64 %.pre, i64* %.reg2mem\n br label LBL_7\n LBL_7:\n %.reload = load i64, i64* %.reg2mem\n %22 = inttoptr i64 %.reload to i64*\n call void @free(i64* %22)\n br label LBL_10\n LBL_8:\n br i1 %20, label LBL_10, label LBL_9\n LBL_9:\n call void @__assert_fail(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @gv_3, i64 0, i64 0), i32 39, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0))\n br label LBL_10\n LBL_10:\n %23 = add i32 %storemerge1.reload, 1\n %24 = load i32, i32* %2, align 4\n %25 = zext i32 %24 to i64\n %26 = sext i32 %23 to i64\n %27 = icmp slt i64 %26, %25\n store i32 %23, i32* %storemerge1.reg2mem\n br i1 %27, label LBL_1, label LBL_11\n LBL_11:\n store i32 0, i32* %2, align 4\n ret i64 %0\n\n uselistorder i32* %2, { 2, 1, 0, 3 }\n uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.ph.reg2mem, { 0, 2, 1 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder void (i8*, i8*, i32, i8*)* @__assert_fail, { 2, 1, 0 }\n uselistorder i32 0, { 2, 0, 1 }\n uselistorder label LBL_10, { 1, 2, 3, 0 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "rt2x00mac_tx_rts_cts_5428", "fun_name": "rt2x00mac_tx_rts_cts", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = and i64 %0, 4294967295\n %3 = call i64 @FUNC(i64 %2)\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %7 = call i32 @fwrite(i64* bitcast ([33 x i8]* @gv_1 to i64*), i32 1, i32 32, %_IO_FILE* %6)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_2:\n %8 = inttoptr i64 %1 to i32*\n %9 = call i64 @FUNC(i64 %3, i64 %2)\n %10 = call i64 @FUNC(i64 %3, i64 0)\n %11 = add i64 %0, 8\n %12 = inttoptr i64 %11 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = add i64 %3, 8\n %15 = inttoptr i64 %14 to i64*\n %16 = load i64, i64* %15, align 8\n %17 = inttoptr i64 %13 to i64*\n %18 = load i64, i64* %17, align 8\n %19 = inttoptr i64 %16 to i64*\n store i64 %18, i64* %19, align 8\n %20 = call i64 @FUNC(i64 %3)\n %21 = inttoptr i64 %20 to i32*\n %22 = load i32, i32* %21, align 4\n %23 = and i32 %22, -16\n %24 = or i32 %23, 2\n store i32 %24, i32* %21, align 4\n %25 = load i32, i32* %8, align 4\n %26 = urem i32 %25, 2\n %27 = icmp eq i32 %26, 0\n %28 = or i32 %23, 18\n %29 = and i32 %24, -30\n %storemerge = select i1 %27, i32 %29, i32 %28\n %rdx.0 = zext i32 %storemerge to i64\n store i32 %storemerge, i32* %21, align 4\n %30 = load i32, i32* %8, align 4\n %31 = urem i32 %30, 2\n %32 = icmp eq i32 %31, 0\n %33 = inttoptr i64 %3 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %1, 8\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n br i1 %32, label LBL_4, label LBL_3\n LBL_3:\n %38 = call i64 @FUNC(i64 %3, i64 %37, i64 %rdx.0, i32 0, i64 %1, i64 %34)\n br label LBL_5\n LBL_4:\n %39 = call i64 @FUNC(i64 %3, i64 %37, i64 %rdx.0, i32 0, i64 %1, i64 %34)\n br label LBL_5\n LBL_5:\n %40 = ptrtoint i64* %arg2 to i64\n %41 = call i64 @FUNC(i64 %40, i64 %3)\n %42 = trunc i64 %41 to i32\n %43 = icmp eq i32 %42, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %43, label LBL_7, label LBL_6\n LBL_6:\n %44 = call i64 @FUNC(i64 %3)\n %45 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %46 = call i32 @fwrite(i64* bitcast ([31 x i8]* @gv_2 to i64*), i32 1, i32 30, %_IO_FILE* %45)\n store i64 1, i64* %rax.0.reg2mem\n br label LBL_7\n LBL_7:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %37, { 1, 0 }\n uselistorder i64 %34, { 1, 0 }\n uselistorder i64 %rdx.0, { 1, 0 }\n uselistorder i64 %3, { 2, 3, 0, 1, 4, 5, 6, 8, 7, 9 }\n uselistorder i64 %2, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i32 0, { 2, 0, 1, 3, 4 }\n uselistorder i64 1, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i64 0, { 0, 2, 4, 1, 5, 3 }\n uselistorder i64 (i64)* @IEEE80211_SKB_CB, { 1, 0 }\n uselistorder label LBL_7, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ea_probe_1956", "fun_name": "ea_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 2022707764\n br i1 %3, label LBL_15, label LBL_1\n LBL_1:\n %4 = icmp sgt i32 %2, 2022707764\n store i64 0, i64* %rax.0.reg2mem\n br i1 %4, label LBL_18, label LBL_2\n LBL_2:\n %5 = icmp eq i32 %2, 1737031971\n br i1 %5, label LBL_15, label LBL_3\n LBL_3:\n %6 = icmp sgt i32 %2, 1737031971\n store i64 0, i64* %rax.0.reg2mem\n br i1 %6, label LBL_18, label LBL_4\n LBL_4:\n %7 = icmp eq i32 %2, 1450741778\n br i1 %7, label LBL_15, label LBL_5\n LBL_5:\n %8 = icmp sgt i32 %2, 1450741778\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_18, label LBL_6\n LBL_6:\n %9 = icmp eq i32 %2, 1164413185\n br i1 %9, label LBL_15, label LBL_7\n LBL_7:\n %10 = icmp sgt i32 %2, 1164413185\n store i64 0, i64* %rax.0.reg2mem\n br i1 %10, label LBL_18, label LBL_8\n LBL_8:\n %11 = icmp eq i32 %2, 878082192\n br i1 %11, label LBL_15, label LBL_9\n LBL_9:\n %12 = icmp sgt i32 %2, 878082192\n store i64 0, i64* %rax.0.reg2mem\n br i1 %12, label LBL_18, label LBL_10\n LBL_10:\n %13 = icmp eq i32 %2, 591751049\n br i1 %13, label LBL_15, label LBL_11\n LBL_11:\n %14 = icmp sgt i32 %2, 591751049\n store i64 0, i64* %rax.0.reg2mem\n br i1 %14, label LBL_18, label LBL_12\n LBL_12:\n %15 = icmp eq i32 %2, 305419896\n br i1 %15, label LBL_15, label LBL_13\n LBL_13:\n %16 = icmp sgt i32 %2, 305419896\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_18, label LBL_14\n LBL_14:\n store i64 0, i64* %rax.0.reg2mem\n switch i32 %2, label LBL_18 [\n i32 -1996414139, label LBL_15\n i32 -1877855146, label LBL_15\n ]\n LBL_15:\n %17 = add i64 %0, 4\n %18 = call i64 @FUNC(i64 %17)\n %19 = trunc i64 %18 to i32\n %20 = icmp ult i32 %19, 1048576\n %21 = icmp ne i1 %20, true\n %22 = icmp eq i1 %21, false\n store i32 %19, i32* %sv_0.0.reg2mem\n br i1 %22, label LBL_17, label LBL_16\n LBL_16:\n %23 = and i64 %18, 4294967295\n %24 = call i64 @FUNC(i64 %23)\n %25 = trunc i64 %24 to i32\n store i32 %25, i32* %sv_0.0.reg2mem\n br label LBL_17\n LBL_17:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %sv_0.0.off = add i32 %sv_0.0.reload, -8\n %26 = icmp ugt i32 %sv_0.0.off, 1048567\n %. = select i1 %26, i64 0, i64 100\n store i64 %., i64* %rax.0.reg2mem\n br label LBL_18\n LBL_18:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 9, 8, 7, 6, 5, 4, 3, 2 }\n uselistorder i32 305419896, { 1, 0 }\n uselistorder i32 591751049, { 1, 0 }\n uselistorder i32 878082192, { 1, 0 }\n uselistorder i32 1164413185, { 1, 0 }\n uselistorder i32 1450741778, { 1, 0 }\n uselistorder i32 1737031971, { 1, 0 }\n uselistorder i32 2022707764, { 1, 0 }\n uselistorder i64 (i64)* @AV_RL32, { 1, 0 }\n uselistorder label LBL_18, { 0, 8, 7, 6, 5, 4, 3, 2, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_sdb_addrline_6415", "fun_name": "add_sdb_addrline", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %r8.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %sv_0 = alloca i64, align 8\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i8* %arg3, null\n %or.cond = or i1 %0, %1\n br i1 %or.cond, label LBL_6, label LBL_1\n LBL_1:\n %2 = ptrtoint i8* %arg3 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0, i64 47)\n %4 = trunc i64 %arg5 to i32\n %5 = icmp eq i32 %4, 114\n br i1 %5, label LBL_4, label LBL_2\n LBL_2:\n %6 = icmp sgt i32 %4, 114\n store i64 %arg4, i64* %rcx.0.reg2mem\n store i64 %arg5, i64* %r8.0.reg2mem\n br i1 %6, label LBL_5, label LBL_3\n LBL_3:\n %7 = icmp ne i32 %4, 1\n %8 = icmp eq i32 %4, 42\n %9 = icmp eq i1 %8, false\n %or.cond6 = icmp eq i1 %7, %9\n store i64 %arg4, i64* %rcx.0.reg2mem\n store i64 %arg5, i64* %r8.0.reg2mem\n br i1 %or.cond6, label LBL_5, label LBL_4\n LBL_4:\n store i64 %arg2, i64* %rcx.0.reg2mem\n store i64 %arg6, i64* %r8.0.reg2mem\n br label LBL_5\n LBL_5:\n %10 = ptrtoint i64* %arg1 to i64\n %r8.0.reload = load i64, i64* %r8.0.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %11 = call i64 @FUNC(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %2, i64 %arg4, i64 %rcx.0.reload, i64 %r8.0.reload, i64 %arg6)\n %12 = call i64 @FUNC(i64 %11)\n %13 = call i64 @FUNC(i64 %11, i64 10, i64 0, i64 1)\n %14 = call i64 @FUNC(i64 %11, i64 9, i64 0, i64 1)\n %15 = call i64 @FUNC(i64 %arg2, i64 16, i64* nonnull %sv_0, i64 32)\n %16 = call i64 @FUNC(i64 %10, i64 %15, i64 %11, i64 0)\n %17 = call i64 @FUNC(i64 %10, i64 %11, i64 %15, i64 0)\n %18 = inttoptr i64 %11 to i64*\n call void @free(i64* %18)\n store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem\n br label LBL_6\n LBL_6:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64* %rcx.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %r8.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 (i64, i64, i64, i64)* @sdb_add, { 1, 0 }\n uselistorder i64 (i64, i64, i64, i64)* @r_str_replace_ch, { 1, 0 }\n uselistorder i1 false, { 2, 4, 3, 0, 6, 5, 1 }\n uselistorder i32 114, { 1, 0 }\n uselistorder i64 %arg6, { 1, 0 }\n uselistorder i64 %arg4, { 2, 0, 1 }\n uselistorder i8* %arg3, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_5, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "is_manager_apk_6779", "fun_name": "is_manager_apk", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC(i64 %arg1, i64 12345, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0))\n ret i64 %0\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "xfrm6_tunnel_rcv_13616", "fun_name": "xfrm6_tunnel_rcv", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %1, 12\n %3 = call i64 @FUNC(i64 %2)\n %4 = and i64 %3, 4294967295\n %5 = call i64 @FUNC(i64 %0, i64 %4)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp slt i32 %6, 0\n %9 = icmp eq i1 %8, false\n %10 = icmp eq i1 %7, false\n %11 = icmp eq i1 %9, %10\n %12 = zext i1 %11 to i64\n ret i64 %12\n\n uselistorder i32 %6, { 1, 0 }\n uselistorder i1 false, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "term_close_18526", "fun_name": "term_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i8\n %4 = icmp eq i8 %3, 1\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = bitcast i64* %arg1 to i8*\n store i8 1, i8* %5, align 1\n %6 = add i64 %2, 16\n %7 = call i64 @FUNC(i64 %6)\n br label LBL_2\n LBL_2:\n %8 = add i64 %2, 8\n %9 = inttoptr i64 %8 to i64*\n %10 = load i64, i64* %9, align 8\n %11 = call i64 @FUNC(i64 %10)\n %12 = call i64 @FUNC(i64 %2)\n ret i64 %12\n\n uselistorder i64 %2, { 1, 2, 0 }\n uselistorder i8 1, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mux_chr_accept_input_1911", "fun_name": "mux_chr_accept_input", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %.reg2mem5 = alloca i32*\n %.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %sext = mul i64 %1, 4294967296\n %6 = ashr exact i64 %sext, 29\n %7 = add i64 %5, %6\n %8 = add i64 %7, 16\n %9 = inttoptr i64 %8 to i64*\n %10 = add i64 %7, 4112\n %11 = inttoptr i64 %10 to i64*\n %12 = inttoptr i64 %5 to i64*\n %13 = load i64, i64* %12, align 8\n %14 = ashr exact i64 %sext, 30\n %15 = add i64 %13, %14\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %5, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = add i64 %20, %14\n %22 = inttoptr i64 %21 to i32*\n %23 = load i32, i32* %22, align 4\n %24 = zext i32 %23 to i64\n %25 = icmp eq i32 %17, %23\n store i32 %23, i32* %.reg2mem\n store i32* %22, i32** %.reg2mem5\n store i64 %24, i64* %rax.0.reg2mem\n br i1 %25, label LBL_5, label LBL_2\n LBL_1:\n %.reload6 = load i32*, i32** %.reg2mem5\n %.reload = load i32, i32* %.reg2mem\n %26 = add i32 %.reload, 1\n store i32 %26, i32* %.reload6, align 4\n %27 = load i64, i64* %12, align 8\n %28 = add i64 %27, %14\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = load i64, i64* %19, align 8\n %32 = add i64 %31, %14\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = icmp eq i32 %30, %34\n store i32 %34, i32* %.reg2mem\n store i32* %33, i32** %.reg2mem5\n br i1 %35, label LBL_4, label LBL_2\n LBL_2:\n %36 = load i64, i64* %9, align 8\n %37 = icmp eq i64 %36, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %37, label LBL_5, label LBL_3\n LBL_3:\n %38 = load i64, i64* %11, align 8\n %39 = trunc i64 %38 to i32\n %40 = icmp eq i32 %39, 0\n %41 = icmp eq i1 %40, false\n store i64 %38, i64* %rax.0.reg2mem\n br i1 %41, label LBL_1, label LBL_5\n LBL_4:\n %42 = zext i32 %30 to i64\n store i64 %42, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %19, { 1, 0 }\n uselistorder i64* %12, { 1, 0 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %5, { 2, 1, 0 }\n uselistorder i32* %.reg2mem, { 2, 0, 1 }\n uselistorder i32** %.reg2mem5, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder label LBL_5, { 2, 1, 0, 3 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "WBMPReadInteger_8987", "fun_name": "WBMPReadInteger", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg2 to i64\n %1 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg2, align 8\n br label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %1)\n %3 = trunc i64 %2 to i32\n %4 = icmp eq i32 %3, -1\n %5 = icmp eq i1 %4, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %6 = urem i64 %2, 128\n %7 = or i64 %6, %0\n store i64 %7, i64* %arg2, align 8\n %8 = trunc i64 %2 to i8\n %9 = icmp sgt i8 %8, -1\n %10 = icmp eq i1 %9, false\n store i64 1, i64* %storemerge.reg2mem\n br i1 %10, label LBL_1, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %2, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "protocol_client_auth_sasl_step_len_460", "fun_name": "protocol_client_auth_sasl_step_len", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg2 to i64\n %3 = call i64 @FUNC(i64 %2, i64 0)\n %4 = trunc i64 %3 to i32\n %5 = icmp ult i32 %4, 1025\n br i1 %5, label LBL_2, label LBL_1\n LBL_1:\n %6 = trunc i64 %1 to i32\n %7 = ptrtoint i32* %arg1 to i64\n %8 = call i64 @FUNC(i64 %7, i32 %6, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_0, i64 0, i64 0), i64* nonnull @gv_1)\n %9 = call i64 @FUNC(i64 %7)\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_2:\n %10 = icmp eq i32 %4, 0\n %11 = icmp eq i1 %10, false\n %12 = ptrtoint i32* %arg1 to i64\n br i1 %11, label LBL_4, label LBL_3\n LBL_3:\n %13 = call i64 @FUNC(i64 %12, i64 0, i64 0)\n store i64 %13, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_4:\n %14 = call i64 @FUNC(i64 %12, i64 4198940, i32 %4)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %12, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i32* %arg1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nut_read_close_2465", "fun_name": "nut_read_close", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge1.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = add i64 %0, 8\n %3 = call i64 @FUNC(i64 %2)\n %4 = add i64 %0, 32\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = call i64 @FUNC(i64 %6)\n %8 = add i64 %0, 16\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp ugt i32 %10, 1\n br i1 %11, label LBL_1, label LBL_3\n LBL_1:\n %12 = add i64 %0, 24\n %13 = inttoptr i64 %12 to i64*\n store i64 1, i64* %.reg2mem\n store i32 1, i32* %storemerge1.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge1.reload = load i32, i32* %storemerge1.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %14 = load i64, i64* %13, align 8\n %15 = mul i64 %.reload, 8\n %16 = add i64 %14, %15\n %17 = call i64 @FUNC(i64 %16)\n %18 = add i32 %storemerge1.reload, 1\n %19 = load i32, i32* %9, align 4\n %20 = zext i32 %19 to i64\n %21 = sext i32 %18 to i64\n %22 = icmp slt i64 %21, %20\n store i64 %21, i64* %.reg2mem\n store i32 %18, i32* %storemerge1.reg2mem\n br i1 %22, label LBL_2, label LBL_3\n LBL_3:\n ret i64 0\n\n uselistorder i32* %9, { 1, 0 }\n uselistorder i64 %0, { 1, 0, 2, 3, 4 }\n uselistorder i64* %.reg2mem, { 1, 0, 2 }\n uselistorder i32* %storemerge1.reg2mem, { 1, 0, 2 }\n uselistorder i64 (i64)* @av_freep, { 2, 1, 0 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "nft_target_set_tgchk_param_5333", "fun_name": "nft_target_set_tgchk_param", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4, i64* %arg5, i8 %arg6, i64 %arg7) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg5 to i64\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %sext = mul i64 %arg7, 72057594037927936\n %3 = ashr exact i64 %sext, 56\n store i64 ptrtoint (i64* @gv_0 to i64), i64* %arg1, align 8\n %4 = add i64 %2, 8\n %5 = inttoptr i64 %4 to i64*\n store i64 %1, i64* %5, align 8\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i64*\n %8 = load i64, i64* %7, align 8\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n switch i32 %10, label LBL_3 [\n i32 2, label LBL_1\n i32 10, label LBL_2\n ]\n LBL_1:\n %11 = bitcast i64* %arg5 to i8*\n store i8 %arg6, i8* %11, align 1\n %12 = trunc i64 %3 to i32\n %13 = urem i32 %12, 256\n %14 = add i64 %0, 4\n %15 = inttoptr i64 %14 to i32*\n store i32 %13, i32* %15, align 4\n br label LBL_3\n LBL_2:\n %16 = bitcast i64* %arg5 to i8*\n store i8 %arg6, i8* %16, align 1\n %17 = trunc i64 %3 to i32\n %18 = urem i32 %17, 256\n %19 = add i64 %0, 4\n %20 = inttoptr i64 %19 to i32*\n store i32 %18, i32* %20, align 4\n br label LBL_3\n LBL_3:\n %21 = ptrtoint i64* %arg3 to i64\n %22 = add i64 %2, 16\n %23 = inttoptr i64 %22 to i64*\n store i64 %0, i64* %23, align 8\n %24 = add i64 %2, 24\n %25 = inttoptr i64 %24 to i64*\n store i64 %21, i64* %25, align 8\n %26 = add i64 %2, 32\n %27 = inttoptr i64 %26 to i64*\n store i64 %arg4, i64* %27, align 8\n %28 = add i64 %1, 16\n %29 = inttoptr i64 %28 to i64*\n %30 = load i64, i64* %29, align 8\n %31 = inttoptr i64 %30 to i32*\n %32 = load i32, i32* %31, align 4\n %33 = urem i32 %32, 2\n %34 = icmp eq i32 %33, 0\n br i1 %34, label LBL_5, label LBL_4\n LBL_4:\n %35 = call i64 @FUNC(i64 %30)\n %36 = inttoptr i64 %35 to i64*\n %37 = load i64, i64* %36, align 8\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = urem i32 %39, 32\n %41 = shl i32 1, %40\n %42 = add i64 %2, 40\n %43 = inttoptr i64 %42 to i32*\n store i32 %41, i32* %43, align 4\n br label LBL_6\n LBL_5:\n %44 = add i64 %2, 40\n %45 = inttoptr i64 %44 to i32*\n store i32 0, i32* %45, align 4\n br label LBL_6\n LBL_6:\n %46 = load i64, i64* %7, align 8\n %47 = inttoptr i64 %46 to i32*\n %48 = load i32, i32* %47, align 4\n %49 = add i64 %2, 44\n %50 = inttoptr i64 %49 to i32*\n store i32 %48, i32* %50, align 4\n ret i64 %2\n\n uselistorder i64 %2, { 1, 2, 3, 0, 4, 5, 6, 7 }\n uselistorder i64 %0, { 1, 0, 2 }\n uselistorder i64* %arg5, { 1, 0, 2 }\n uselistorder label LBL_3, { 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "flac_probe_13959", "fun_name": "flac_probe", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n %3 = load i32, i32* %2, align 4\n %4 = sext i32 %3 to i64\n %5 = add i64 %0, -4\n %6 = add i64 %5, %4\n %7 = icmp ult i64 %6, %0\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i32 @memcmp(i64* %arg1, i64* bitcast ([5 x i8]* @gv_0 to i64*), i32 4)\n %9 = icmp eq i32 %8, 0\n %spec.select = select i1 %9, i64 50, i64 0\n ret i64 %spec.select\n LBL_2:\n ret i64 0\n\n uselistorder i64 %0, { 1, 0, 2 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "tilde_expand_filename_4646", "fun_name": "tilde_expand_filename", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %storemerge3.in.reg2mem = alloca %passwd*\n %rdx.0.reg2mem = alloca i64\n %rcx.0.reg2mem = alloca i64\n %storemerge4.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* %0\n %5 = load i64, i64* %0\n %sv_0 = alloca i64, align 8\n %sv_1 = alloca i64, align 8\n %6 = trunc i64 %3 to i8\n %7 = icmp eq i8 %6, 126\n br i1 %7, label LBL_2, label LBL_1\n LBL_1:\n %8 = call i64 @FUNC(i64 %arg1)\n store i64 %8, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_2:\n %9 = add i64 %arg1, 1\n %10 = inttoptr i64 %9 to i8*\n %11 = call i8* @strchr(i8* %10, i32 47)\n %12 = ptrtoint i8* %11 to i64\n %13 = icmp eq i8* %11, null\n br i1 %13, label LBL_4, label LBL_3\n LBL_3:\n %14 = sub i64 %12, %9\n %15 = trunc i64 %14 to i32\n store i32 %15, i32* %storemerge4.reg2mem\n br label LBL_5\n LBL_4:\n %16 = call i32 @strlen(i8* %10)\n store i32 %16, i32* %storemerge4.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge4.reload = load i32, i32* %storemerge4.reg2mem\n %17 = icmp eq i32 %storemerge4.reload, 0\n %18 = icmp eq i1 %17, false\n br i1 %18, label LBL_7, label LBL_6\n LBL_6:\n %19 = trunc i64 %arg2 to i32\n %20 = call %passwd* @getpwuid(i32 %19)\n store %passwd* %20, %passwd** %storemerge3.in.reg2mem\n br label LBL_10\n LBL_7:\n %21 = icmp ult i32 %storemerge4.reload, 100\n br i1 %21, label LBL_9, label LBL_8\n LBL_8:\n %22 = call i64 @FUNC(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_0, i64 0, i64 0), i64 47, i64 %4, i64 %5, i64 %2, i64 %1)\n unreachable\n LBL_9:\n %23 = ptrtoint i64* %sv_1 to i64\n %24 = zext i32 %storemerge4.reload to i64\n %25 = inttoptr i64 %9 to i64*\n %26 = call i64* @memcpy(i64* nonnull %sv_0, i64* %25, i32 %storemerge4.reload)\n %27 = add i64 %23, -160\n %28 = add i64 %27, %24\n %29 = inttoptr i64 %28 to i8*\n store i8 0, i8* %29, align 1\n %30 = bitcast i64* %sv_0 to i8*\n %31 = call %passwd* @getpwnam(i8* nonnull %30)\n store i64 %9, i64* %rcx.0.reg2mem\n store i64 %24, i64* %rdx.0.reg2mem\n store %passwd* %31, %passwd** %storemerge3.in.reg2mem\n br label LBL_10\n LBL_10:\n %storemerge3.in.reload = load %passwd*, %passwd** %storemerge3.in.reg2mem\n %rcx.0.reload = load i64, i64* %rcx.0.reg2mem\n %32 = icmp eq %passwd* %storemerge3.in.reload, null\n %33 = icmp eq i1 %32, false\n br i1 %33, label LBL_12, label LBL_11\n LBL_11:\n %rdx.0.reload = load i64, i64* %rdx.0.reg2mem\n %34 = ptrtoint i64* %sv_0 to i64\n %35 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %34, i64 %rdx.0.reload, i64 %rcx.0.reload, i64 %2, i64 %1)\n unreachable\n LBL_12:\n %storemerge3 = ptrtoint %passwd* %storemerge3.in.reload to i64\n %36 = icmp eq i1 %13, false\n %37 = add i64 %storemerge3, 32\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n br i1 %36, label LBL_14, label LBL_13\n LBL_13:\n %40 = call i64 @FUNC(i64 %39)\n store i64 %40, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_14:\n %41 = inttoptr i64 %39 to i8*\n %42 = call i32 @strlen(i8* %41)\n %43 = add i64 %12, 1\n %44 = inttoptr i64 %43 to i8*\n %45 = call i32 @strlen(i8* %44)\n %46 = add i32 %45, %42\n %47 = add i32 %46, 2\n %48 = icmp slt i32 %47, 4097\n br i1 %48, label LBL_16, label LBL_15\n LBL_15:\n %49 = add i32 %46, 1\n %50 = zext i32 %49 to i64\n %51 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0), i64 %50, i64 4095, i64 %rcx.0.reload, i64 %2, i64 %1)\n unreachable\n LBL_16:\n %52 = sext i32 %47 to i64\n %53 = call i64 @FUNC(i64 %52)\n %54 = inttoptr i64 %53 to i8*\n %55 = load i64, i64* %38, align 8\n %56 = inttoptr i64 %55 to i8*\n %57 = call i32 @strcmp(i8* %56, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0))\n %58 = icmp eq i32 %57, 0\n %59 = load i64, i64* %38, align 8\n %60 = inttoptr i64 %59 to i8*\n %61 = select i1 %58, i8* bitcast (i64* @gv_4 to i8*), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @gv_3, i64 0, i64 0)\n %62 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %54, i32 %47, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_5, i64 0, i64 0), i8* %60, i8* %61, i8* %44)\n store i64 %53, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %39, { 1, 0 }\n uselistorder i32 %storemerge4.reload, { 2, 3, 1, 0 }\n uselistorder i64 %9, { 0, 2, 1, 3 }\n uselistorder i64* %sv_0, { 2, 0, 1 }\n uselistorder i64 %2, { 2, 1, 0 }\n uselistorder i64 %1, { 2, 1, 0 }\n uselistorder i32* %storemerge4.reg2mem, { 0, 2, 1 }\n uselistorder %passwd** %storemerge3.in.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %0, { 4, 3, 2, 1, 0 }\n uselistorder i8 0, { 1, 2, 0 }\n uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @fatal, { 4, 3, 2, 1, 0 }\n uselistorder i32 (i8*)* @strlen, { 2, 1, 0 }\n uselistorder i64 (i64)* @xstrdup, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "hashtable_init_6098", "fun_name": "hashtable_init", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %storemerge12.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n store i64 0, i64* %arg1, align 8\n %1 = add i64 %0, 8\n %2 = inttoptr i64 %1 to i32*\n store i32 3, i32* %2, align 4\n %3 = call i64 @FUNC(i64 3)\n %4 = mul i64 %3, 16\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %0, 16\n %7 = inttoptr i64 %6 to i64*\n store i64 %5, i64* %7, align 8\n %8 = icmp eq i64 %5, 0\n %9 = icmp eq i1 %8, false\n store i64 4294967295, i64* %storemerge.reg2mem\n br i1 %9, label LBL_1, label LBL_3\n LBL_1:\n %10 = add i64 %0, 24\n %11 = call i64 @FUNC(i64 %10)\n %12 = load i32, i32* %2, align 4\n %13 = zext i32 %12 to i64\n %14 = call i64 @FUNC(i64 %13)\n %15 = icmp eq i64 %14, 0\n store i64 0, i64* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %15, label LBL_3, label LBL_2\n LBL_2:\n %storemerge12.reload = load i64, i64* %storemerge12.reg2mem\n %16 = load i64, i64* %7, align 8\n %17 = mul i64 %storemerge12.reload, 16\n %18 = or i64 %17, 8\n %19 = add i64 %18, %16\n %20 = inttoptr i64 %19 to i64*\n store i64 %10, i64* %20, align 8\n %21 = load i64, i64* %7, align 8\n %22 = add i64 %21, %17\n %23 = inttoptr i64 %22 to i64*\n store i64 %10, i64* %23, align 8\n %24 = add nuw i64 %storemerge12.reload, 1\n %25 = load i32, i32* %2, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n %28 = icmp ult i64 %24, %27\n store i64 %24, i64* %storemerge12.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %28, label LBL_2, label LBL_3\n LBL_3:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %17, { 1, 0 }\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i32* %2, { 1, 0, 2 }\n uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }\n uselistorder i64 16, { 0, 2, 1 }\n uselistorder i64 (i64)* @hashsize, { 2, 0, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "jas_image_decode_8231", "fun_name": "jas_image_decode", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %sv_0.0.in.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = trunc i64 %arg2 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n store i64 %arg2, i64* %sv_0.0.in.in.reg2mem\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = call i64 @FUNC(i64 %arg1)\n %6 = trunc i64 %5 to i32\n %7 = icmp slt i32 %6, 0\n store i64 %5, i64* %sv_0.0.in.in.reg2mem\n store i64 0, i64* %storemerge.reg2mem\n br i1 %7, label LBL_9, label LBL_2\n LBL_2:\n %sv_0.0.in.in.reload = load i64, i64* %sv_0.0.in.in.reg2mem\n %8 = and i64 %sv_0.0.in.in.reload, 4294967295\n %9 = call i64 @FUNC(i64 %8)\n %10 = icmp eq i64 %9, 0\n store i64 0, i64* %storemerge.reg2mem\n br i1 %10, label LBL_9, label LBL_3\n LBL_3:\n %11 = inttoptr i64 %9 to i64*\n %12 = load i64, i64* %11, align 8\n %13 = icmp eq i64 %12, 0\n %14 = icmp eq i64 %arg1, 0\n %or.cond = or i1 %14, %13\n store i64 0, i64* %storemerge.reg2mem\n br i1 %or.cond, label LBL_9, label LBL_4\n LBL_4:\n %15 = and i64 %1, 4294967295\n %16 = call i64 @FUNC(i64 %15)\n %17 = trunc i64 %16 to i32\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %arg1, i64* %storemerge.reg2mem\n br i1 %19, label LBL_9, label LBL_5\n LBL_5:\n %20 = call i64 @FUNC(i64 %15)\n %21 = trunc i64 %20 to i32\n %22 = icmp eq i32 %21, 0\n %23 = icmp eq i1 %22, false\n store i64 %arg1, i64* %storemerge.reg2mem\n br i1 %23, label LBL_9, label LBL_6\n LBL_6:\n %24 = add i64 %arg1, 8\n %25 = inttoptr i64 %24 to i64*\n %26 = load i64, i64* %25, align 8\n %27 = icmp eq i64 %26, 0\n %28 = icmp eq i1 %27, false\n store i64 %arg1, i64* %storemerge.reg2mem\n br i1 %28, label LBL_9, label LBL_7\n LBL_7:\n %29 = call i64 @FUNC(i64 %arg1)\n %30 = and i64 %29, 4294967295\n %31 = call i64 @FUNC(i64 %30)\n store i64 %31, i64* %25, align 8\n %32 = icmp eq i64 %31, 0\n store i64 %arg1, i64* %storemerge.reg2mem\n br i1 %32, label LBL_8, label LBL_9\n LBL_8:\n %33 = call i64 @FUNC(i64 %arg1)\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %15, { 1, 0 }\n uselistorder i64* %storemerge.reg2mem, { 0, 8, 7, 6, 5, 4, 2, 3, 1 }\n uselistorder i32 1, { 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 5, 3, 8, 2, 7, 1, 0, 4, 6 }\n uselistorder label LBL_9, { 7, 6, 5, 4, 3, 1, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "svc_can_register_13369", "fun_name": "svc_can_register", "llvm_ir_function": "define i64 @FUNC(i16* %arg1, i64 %arg2, i32 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %0 = icmp ult i32 %arg4, 10000\n store i64 0, i64* %storemerge.reg2mem\n br i1 %0, label LBL_1, label LBL_2\n LBL_1:\n %1 = ptrtoint i16* %arg1 to i64\n %2 = call i64 @FUNC(i64 %1, i64 %arg2)\n %3 = zext i32 %arg4 to i64\n %4 = zext i32 %arg3 to i64\n %5 = call i64 @FUNC(i64 %4, i64 %3, i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64 %2)\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 0\n %8 = icmp eq i1 %7, false\n %9 = zext i1 %8 to i64\n store i64 %9, i64* %storemerge.reg2mem\n br label LBL_2\n LBL_2:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cifs_push_locks_8678", "fun_name": "cifs_push_locks", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.in.in.reg2mem = alloca i64\n %storemerge3.in.in.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = add i64 %2, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %3)\n %7 = trunc i64 %1 to i8\n %8 = icmp eq i8 %7, 1\n br i1 %8, label LBL_2, label LBL_1\n LBL_1:\n %9 = call i64 @FUNC(i64 %3)\n store i64 0, i64* %storemerge.in.in.reg2mem\n br label LBL_6\n LBL_2:\n %10 = add i64 %5, 8\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = urem i32 %12, 2\n %14 = icmp eq i32 %13, 0\n store i64 %2, i64* %storemerge3.in.in.reg2mem\n br i1 %14, label LBL_5, label LBL_3\n LBL_3:\n %15 = inttoptr i64 %5 to i32*\n %16 = load i32, i32* %15, align 4\n %17 = and i32 %16, 2\n %18 = icmp eq i32 %17, 0\n %19 = icmp eq i1 %18, false\n store i64 %2, i64* %storemerge3.in.in.reg2mem\n br i1 %19, label LBL_5, label LBL_4\n LBL_4:\n %20 = call i64 @FUNC(i64 %2)\n store i64 %20, i64* %storemerge3.in.in.reg2mem\n br label LBL_5\n LBL_5:\n %storemerge3.in.in.reload = load i64, i64* %storemerge3.in.in.reg2mem\n %storemerge3.in = and i64 %storemerge3.in.in.reload, 4294967295\n %21 = bitcast i64* %arg1 to i8*\n store i8 0, i8* %21, align 1\n %22 = call i64 @FUNC(i64 %3)\n store i64 %storemerge3.in, i64* %storemerge.in.in.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge.in.in.reload = load i64, i64* %storemerge.in.in.reg2mem\n ret i64 %storemerge.in.in.reload\n\n uselistorder i64 %5, { 1, 0 }\n uselistorder i64 %3, { 1, 0, 2, 3 }\n uselistorder i64 %2, { 2, 1, 0, 3 }\n uselistorder i64* %storemerge3.in.in.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64* %storemerge.in.in.reg2mem, { 0, 2, 1 }\n uselistorder i32 2, { 1, 0 }\n uselistorder i64 (i64)* @up_write, { 1, 0 }\n uselistorder label LBL_5, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "test_tco_second_timeout_pause_15804", "fun_name": "test_tco_second_timeout_pause", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %sv_0 = alloca i8*, align 8\n store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @gv_0, i64 0, i64 0), i8** %sv_0, align 8\n %0 = bitcast i8** %sv_0 to i64*\n %1 = call i64 @FUNC(i64* nonnull %0)\n %2 = call i64 @FUNC(i64* nonnull %0)\n %3 = call i64 @FUNC(i64* nonnull %0)\n %4 = call i64 @FUNC(i64 1)\n %5 = call i64 @FUNC(i64* nonnull %0, i64 16000)\n %6 = call i64 @FUNC(i64* nonnull %0)\n %7 = call i64 @FUNC(i64* nonnull %0)\n %8 = call i64 @FUNC(i64 64000000)\n %9 = call i64 @FUNC()\n %10 = call i64 @FUNC(i64 %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_1, i64 0, i64 0))\n %11 = inttoptr i64 %10 to i8*\n %12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))\n %13 = icmp eq i32 %12, 0\n %14 = zext i1 %13 to i64\n %15 = call i64 @FUNC(i64 %14)\n %16 = call i64 @FUNC(i64 %9)\n %17 = call i64 @FUNC(i64* nonnull %0)\n %18 = call i64 @FUNC()\n ret i64 %18\n\n uselistorder i8** %sv_0, { 1, 0 }\n uselistorder i64 (i64*)* @stop_tco, { 1, 0 }\n uselistorder i32 1, { 11, 9, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "util_acl_to_str_6721", "fun_name": "util_acl_to_str", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.01.reg2mem = alloca i64\n %0 = icmp eq i64* %arg1, null\n %1 = icmp eq i1 %0, false\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_20\n LBL_1:\n store i8 0, i8* bitcast (i8** @gv_1 to i8*), align 8\n %2 = ptrtoint i64* %arg1 to i64\n store i64 %2, i64* %sv_0.01.reg2mem\n br label LBL_2\n LBL_2:\n %sv_0.01.reload = load i64, i64* %sv_0.01.reg2mem\n %3 = inttoptr i64 %sv_0.01.reload to i32*\n %4 = load i32, i32* %3, align 4\n %5 = zext i32 %4 to i64\n store i64 %5, i64* @0, align 8\n store i64 ptrtoint ([5 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n switch i32 %4, label LBL_15 [\n i32 0, label LBL_18\n i32 1, label LBL_183\n i32 2, label LBL_20\n i32 3, label LBL_3\n i32 4, label LBL_5\n i32 5, label LBL_6\n i32 6, label LBL_7\n i32 7, label LBL_9\n i32 8, label LBL_11\n i32 9, label LBL_13\n ]\n LBL_3:\n store i32 5654595, i32* bitcast (i8** @gv_3 to i32*), align 8\n %6 = add i64 %sv_0.01.reload, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = icmp eq i32 %8, 0\n br i1 %9, label LBL_16, label LBL_4\n LBL_4:\n %10 = zext i32 %8 to i64\n %11 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %10)\n br label LBL_16\n LBL_5:\n store i32 1297237332, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n br label LBL_16\n LBL_6:\n store i32 1414484560, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n br label LBL_16\n LBL_7:\n store i32 1213486401, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n %12 = add i64 %sv_0.01.reload, 4\n %13 = inttoptr i64 %12 to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 0\n br i1 %15, label LBL_16, label LBL_8\n LBL_8:\n %16 = zext i32 %14 to i64\n %17 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_6 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), i64 %16)\n br label LBL_16\n LBL_9:\n store i8* inttoptr (i64 3347984616406607187 to i8*), i8** @gv_3, align 8\n store i16 32, i16* bitcast (i64* @gv_7 to i16*), align 8\n %18 = add i64 %sv_0.01.reload, 4\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n br i1 %21, label LBL_16, label LBL_10\n LBL_10:\n %22 = zext i32 %20 to i64\n %23 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64 %22)\n br label LBL_16\n LBL_11:\n store i8* inttoptr (i64 8389765490169570643 to i8*), i8** @gv_3, align 8\n store i64 2334400046015737714, i64* @gv_7, align 8\n store i8 0, i8* bitcast (i64* @gv_9 to i8*), align 8\n %24 = add i64 %sv_0.01.reload, 4\n %25 = inttoptr i64 %24 to i32*\n %26 = load i32, i32* %25, align 4\n %27 = icmp eq i32 %26, 0\n br i1 %27, label LBL_16, label LBL_12\n LBL_12:\n %28 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_10, i64 0, i64 0), i32 %26)\n br label LBL_16\n LBL_13:\n store i8* inttoptr (i64 2320815210769894224 to i8*), i8** @gv_3, align 8\n store i64 9082281330505025, i64* @gv_7, align 8\n %29 = add i64 %sv_0.01.reload, 4\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = icmp eq i32 %31, 0\n br i1 %32, label LBL_16, label LBL_14\n LBL_14:\n %33 = zext i32 %31 to i64\n %34 = call i32 (i8*, i8*, ...) @sprintf(i8* bitcast (i8** @gv_4 to i8*), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), i64 %33)\n br label LBL_16\n LBL_15:\n store i32 1061109567, i32* bitcast (i8** @gv_3 to i32*), align 8\n store i8 0, i8* bitcast (i8** @gv_6 to i8*), align 8\n br label LBL_16\n LBL_16:\n %35 = call i8* @strncat(i8* bitcast (i8** @gv_1 to i8*), i8* bitcast (i8** @gv_3 to i8*), i32 80)\n %36 = call i32 @strlen(i8* bitcast (i8** @gv_1 to i8*))\n %37 = sext i32 %36 to i64\n %38 = add i64 %37, ptrtoint (i8** @gv_1 to i64)\n %39 = inttoptr i64 %38 to i16*\n store i16 32, i16* %39, align 2\n %40 = add i64 %sv_0.01.reload, 8\n %41 = inttoptr i64 %40 to i64*\n %42 = load i64, i64* %41, align 8\n %43 = icmp eq i64 %42, 0\n %44 = icmp eq i1 %43, false\n store i64 %42, i64* %sv_0.01.reg2mem\n br i1 %44, label LBL_2, label LBL_17\n LBL_17:\n store i8 0, i8* bitcast (i64* @gv_11 to i8*), align 8\n %45 = call i32 @strlen(i8* bitcast (i8** @gv_1 to i8*))\n %46 = sext i32 %45 to i64\n %47 = add i64 %46, add (i64 ptrtoint (i8** @gv_1 to i64), i64 -1)\n %48 = inttoptr i64 %47 to i8*\n store i8 0, i8* %48, align 1\n store i64 ptrtoint (i8** @gv_1 to i64), i64* %rax.0.reg2mem\n br label LBL_20\n LBL_18:\n store i64 ptrtoint ([4 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n br label LBL_20\n LBL_19:\n store i64 ptrtoint ([5 x i8]* @gv_12 to i64), i64* %rax.0.reg2mem\n br label LBL_20\n LBL_20:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %4, { 1, 0 }\n uselistorder i64 %sv_0.01.reload, { 6, 4, 3, 2, 1, 0, 5 }\n uselistorder i64* %sv_0.01.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 5, 1, 4 }\n uselistorder i32 (i8*)* @strlen, { 1, 0 }\n uselistorder i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_8, i64 0, i64 0), { 1, 0 }\n uselistorder i16 32, { 1, 0 }\n uselistorder i8* bitcast (i8** @gv_6 to i8*), { 4, 0, 3, 2, 1 }\n uselistorder i32 (i8*, i8*, ...)* @sprintf, { 0, 3, 2, 1, 4 }\n uselistorder i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_5, i64 0, i64 0), { 1, 0 }\n uselistorder i8* bitcast (i8** @gv_4 to i8*), { 3, 2, 1, 0 }\n uselistorder i8** @gv_3, { 0, 4, 3, 2, 1 }\n uselistorder i32* bitcast (i8** @gv_3 to i32*), { 4, 3, 2, 1, 0 }\n uselistorder i32 0, { 1, 2, 3, 4, 5, 0 }\n uselistorder i8** @gv_1, { 1, 0 }\n uselistorder i8* bitcast (i8** @gv_1 to i8*), { 2, 0, 1, 3 }\n uselistorder i8 0, { 5, 6, 4, 0, 1, 2, 3, 7 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_20, { 1, 2, 4, 0, 3 }\n uselistorder label LBL_16, { 12, 1, 0, 3, 2, 5, 4, 7, 6, 10, 11, 9, 8 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "calculate_operand_data_length_12888", "fun_name": "calculate_operand_data_length", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg1 to i64\n %3 = trunc i64 %1 to i32\n %4 = add i64 %2, 4\n %5 = inttoptr i64 %4 to i32*\n %6 = load i32, i32* %5, align 4\n %7 = add i64 %2, 8\n %8 = inttoptr i64 %7 to i32*\n %9 = load i32, i32* %8, align 4\n %10 = add i64 %2, 12\n %11 = inttoptr i64 %10 to i32*\n %12 = load i32, i32* %11, align 4\n %13 = mul i32 %3, 4\n %14 = mul i32 %13, %6\n %15 = mul i32 %14, %9\n %16 = mul i32 %15, %12\n %17 = zext i32 %16 to i64\n ret i64 %17\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "imap_client_notify_auth_ready_10140", "fun_name": "imap_client_notify_auth_ready", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 128)\n %2 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0))\n %3 = call i64 @FUNC(i64 %0)\n %4 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_1, i64 0, i64 0), i64 %3)\n %5 = inttoptr i64 %1 to i8*\n %6 = call i64 @FUNC(i64 %1, i8* %5)\n %7 = call i64 @FUNC(i64 %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_2, i64 0, i64 0))\n %8 = call i64 @FUNC(i64 %1)\n %9 = call i64 @FUNC(i64 %0, i64 %8)\n %10 = add i64 %0, 8\n %11 = inttoptr i64 %10 to i32*\n store i32 1, i32* %11, align 4\n ret i64 %0\n\n uselistorder i64 %0, { 1, 0, 2, 3 }\n uselistorder i64 (i64, i8*)* @str_append, { 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "get_net_ns_by_id_13424", "fun_name": "get_net_ns_by_id", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %0 = trunc i64 %arg2 to i32\n %1 = icmp slt i32 %0, 0\n %2 = icmp eq i1 %1, false\n store i64 0, i64* %storemerge.reg2mem\n br i1 %2, label LBL_1, label LBL_4\n LBL_1:\n %3 = ptrtoint i64* %arg1 to i64\n %4 = and i64 %arg2, 4294967295\n %5 = call i64 @FUNC()\n %6 = call i64 @FUNC(i64 %3)\n %7 = add i64 %3, 8\n %8 = call i64 @FUNC(i64 %7, i64 %4)\n %9 = icmp eq i64 %8, 0\n store i64 0, i64* %sv_0.0.reg2mem\n br i1 %9, label LBL_3, label LBL_2\n LBL_2:\n %10 = call i64 @FUNC(i64 %8)\n store i64 %10, i64* %sv_0.0.reg2mem\n br label LBL_3\n LBL_3:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %11 = call i64 @FUNC(i64 %3)\n %12 = call i64 @FUNC()\n store i64 %sv_0.0.reload, i64* %storemerge.reg2mem\n br label LBL_4\n LBL_4:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "bson_validate_string_11013", "fun_name": "bson_validate_string", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %.pre-phi.reg2mem = alloca i32\n %sv_1.08.reg2mem = alloca i32\n %sv_0.19.reg2mem = alloca i32\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %sext = mul i64 %arg3, 4294967296\n %3 = ashr exact i64 %sext, 32\n %4 = trunc i64 %arg6 to i8\n %5 = icmp eq i8 %4, 0\n %6 = trunc i64 %1 to i32\n br i1 %5, label LBL_4, label LBL_1\n LBL_1:\n %7 = trunc i64 %2 to i8\n %8 = icmp eq i8 %7, 36\n %9 = icmp eq i1 %8, false\n br i1 %9, label LBL_4, label LBL_2\n LBL_2:\n %10 = and i64 %3, 4294967295\n %11 = call i64 @FUNC(i64 %arg2, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp eq i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = or i32 %6, 1\n %16 = bitcast i64* %arg1 to i32*\n store i32 %15, i32* %16, align 4\n br label LBL_4\n LBL_4:\n %17 = trunc i64 %3 to i32\n %18 = icmp sgt i32 %17, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %18, label LBL_5, label LBL_16\n LBL_5:\n %19 = trunc i64 %arg5 to i8\n %20 = icmp eq i8 %19, 0\n %21 = bitcast i64* %arg1 to i32*\n %22 = trunc i64 %arg4 to i8\n %23 = icmp eq i8 %22, 0\n %24 = or i32 %6, 2\n store i32 1, i32* %sv_0.19.reg2mem\n store i32 0, i32* %sv_1.08.reg2mem\n br label LBL_6\n LBL_6:\n %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem\n %sv_0.19.reload = load i32, i32* %sv_0.19.reg2mem\n br i1 %20, label LBL_9, label LBL_7\n LBL_7:\n %25 = sext i32 %sv_1.08.reload to i64\n %26 = add i64 %25, %arg2\n %27 = inttoptr i64 %26 to i8*\n %28 = load i8, i8* %27, align 1\n %29 = icmp eq i8 %28, 46\n %30 = icmp eq i1 %29, false\n br i1 %30, label LBL_9, label LBL_8\n LBL_8:\n store i32 %24, i32* %21, align 4\n br label LBL_9\n LBL_9:\n br i1 %23, label LBL_9.LBL_15_crit_edge, label LBL_11\n LBL_10:\n %.pre = add i32 %sv_1.08.reload, %sv_0.19.reload\n store i32 %.pre, i32* %.pre-phi.reg2mem\n store i32 %sv_0.19.reload, i32* %sv_0.0.reg2mem\n br label LBL_15\n LBL_11:\n %31 = sext i32 %sv_1.08.reload to i64\n %32 = add i64 %31, %arg2\n %33 = inttoptr i64 %32 to i8*\n %34 = load i8, i8* %33, align 1\n %35 = zext i8 %34 to i64\n %36 = mul i64 %35, 4\n %37 = add i64 %36, ptrtoint (i32** @gv_0 to i64)\n %38 = inttoptr i64 %37 to i32*\n %39 = load i32, i32* %38, align 4\n %40 = add i32 %39, 1\n %41 = add i32 %40, %sv_1.08.reload\n %42 = zext i32 %41 to i64\n %43 = icmp slt i64 %3, %42\n br i1 %43, label LBL_12, label LBL_13\n LBL_12:\n %44 = or i32 %6, 4\n store i32 %44, i32* %21, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_13:\n %45 = zext i32 %40 to i64\n %46 = call i64 @FUNC(i64 %32, i64 %45)\n %47 = trunc i64 %46 to i32\n %48 = icmp eq i32 %47, 0\n %49 = icmp eq i1 %48, false\n store i32 %41, i32* %.pre-phi.reg2mem\n store i32 %40, i32* %sv_0.0.reg2mem\n br i1 %49, label LBL_15, label LBL_14\n LBL_14:\n %50 = or i32 %6, 4\n store i32 %50, i32* %21, align 4\n store i64 4294967295, i64* %rax.0.reg2mem\n br label LBL_16\n LBL_15:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %.pre-phi.reload = load i32, i32* %.pre-phi.reg2mem\n %51 = icmp slt i32 %.pre-phi.reload, %17\n store i32 %sv_0.0.reload, i32* %sv_0.19.reg2mem\n store i32 %.pre-phi.reload, i32* %sv_1.08.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %51, label LBL_6, label LBL_16\n LBL_16:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %.pre-phi.reload, { 1, 0 }\n uselistorder i32 %40, { 0, 2, 1 }\n uselistorder i32 %sv_1.08.reload, { 2, 0, 3, 1 }\n uselistorder i32* %21, { 1, 0, 2 }\n uselistorder i32 %17, { 1, 0 }\n uselistorder i32 %6, { 1, 0, 2, 3 }\n uselistorder i64 %3, { 0, 2, 1 }\n uselistorder i32* %sv_0.19.reg2mem, { 1, 0, 2 }\n uselistorder i32* %sv_1.08.reg2mem, { 1, 0, 2 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2 }\n uselistorder i64* %0, { 1, 0 }\n uselistorder i8 0, { 1, 2, 3, 0 }\n uselistorder label LBL_16, { 0, 2, 3, 1 }\n uselistorder label LBL_15, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_4, { 3, 2, 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "cg3_realizefn_2318", "fun_name": "cg3_realizefn", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = call i64 @FUNC(i64 %0)\n %2 = call i64 @FUNC(i64 %0)\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n %5 = icmp eq i64 %4, 0\n br i1 %5, label LBL_3, label LBL_1\n LBL_1:\n %6 = add i64 %2, 20\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = zext i32 %8 to i64\n %10 = call i64 @FUNC(i64 %4, i64 %9, i64 1024)\n %11 = trunc i64 %10 to i32\n %12 = call i64 @FUNC(i64 %4)\n %13 = icmp ult i32 %11, 1025\n br i1 %13, label LBL_3, label LBL_2\n LBL_2:\n %14 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0))\n br label LBL_3\n LBL_3:\n %15 = add i64 %2, 16\n %16 = inttoptr i64 %15 to i32*\n %17 = load i32, i32* %16, align 4\n %18 = add i64 %2, 8\n %19 = zext i32 %17 to i64\n %20 = call i64 @FUNC(i64 %18, i64 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_2, i64 0, i64 0), i64 %19, i64* nonnull @gv_3)\n %21 = call i64 @FUNC(i64 %18, i64 1, i64 1)\n %22 = call i64 @FUNC(i64 %18)\n %23 = call i64 @FUNC(i64 %1, i64 %18)\n %24 = add i64 %2, 24\n %25 = call i64 @FUNC(i64 %1, i64 %24)\n %26 = call i64 @FUNC(i64 %0, i64 0, i64* nonnull @gv_4, i64 %2)\n %27 = add i64 %2, 32\n %28 = inttoptr i64 %27 to i64*\n store i64 %26, i64* %28, align 8\n %29 = add i64 %2, 44\n %30 = inttoptr i64 %29 to i32*\n %31 = load i32, i32* %30, align 4\n %32 = add i64 %2, 40\n %33 = inttoptr i64 %32 to i32*\n %34 = load i32, i32* %33, align 4\n %35 = zext i32 %34 to i64\n %36 = call i64 @FUNC(i64 %26, i64 %35, i32 %31)\n ret i64 %36\n\n uselistorder i64 %18, { 2, 1, 0, 3 }\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %2, { 2, 1, 5, 4, 3, 7, 6, 0, 8 }\n uselistorder i64 %1, { 1, 0 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i64 (i64)* @vmstate_register_ram_global, { 1, 0 }\n uselistorder label LBL_3, { 1, 0, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "__dvb_frontend_free_5580", "fun_name": "__dvb_frontend_free", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_2, label LBL_1\n LBL_1:\n %2 = call i64 @FUNC(i64 %0)\n br label LBL_2\n LBL_2:\n %3 = add i64 %0, 8\n %4 = inttoptr i64 %3 to i64*\n %5 = load i64, i64* %4, align 8\n %6 = call i64 @FUNC(i64 %0, i64 %5)\n %7 = call i64 @FUNC(i64 %0)\n ret i64 %7\n\n uselistorder i64 %0, { 1, 3, 2, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "connection_read_header_more_5729", "fun_name": "connection_read_header_more", "llvm_ir_function": "define i64 @FUNC(i32* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rax.0.reg2mem = alloca i64\n %rsi.2.reg2mem = alloca i64\n %rsi.1.reg2mem = alloca i64\n %rsi.0.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i64* %arg2 to i64\n %3 = icmp ne i64* %arg3, null\n %4 = trunc i64 %1 to i32\n %5 = icmp slt i32 %4, 1\n %or.cond4 = or i1 %3, %5\n store i64 %2, i64* %rsi.1.reg2mem\n br i1 %or.cond4, label LBL_4, label LBL_1\n LBL_1:\n %6 = load i64, i64* @gv_0, align 8\n %7 = ptrtoint i32* %arg1 to i64\n %8 = add i64 %7, 8\n %9 = inttoptr i64 %8 to i64*\n store i64 %6, i64* %9, align 8\n %10 = trunc i64 %7 to i32\n %11 = icmp eq i32 %10, 0\n %.pre = add i64 %7, 16\n store i64 %2, i64* %rsi.0.reg2mem\n br i1 %11, label LBL_3, label LBL_2\n LBL_2:\n %12 = call i64 @FUNC(i64 %.pre, i64 4294967295)\n store i64 4294967295, i64* %rsi.0.reg2mem\n br label LBL_3\n LBL_3:\n %rsi.0.reload = load i64, i64* %rsi.0.reg2mem\n %13 = inttoptr i64 %.pre to i32*\n %14 = load i32, i32* %13, align 4\n %15 = icmp eq i32 %14, 2\n %16 = icmp eq i1 %15, false\n store i64 %rsi.0.reload, i64* %rsi.1.reg2mem\n store i64 0, i64* %rax.0.reg2mem\n br i1 %16, label LBL_4, label LBL_9\n LBL_4:\n %rsi.1.reload = load i64, i64* %rsi.1.reg2mem\n %17 = add i64 %2, 8\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = icmp eq i64 %rsi.1.reload, %19\n %21 = icmp eq i64 %arg4, 0\n %or.cond = or i1 %21, %20\n store i64 %rsi.1.reload, i64* %rsi.2.reg2mem\n br i1 %or.cond, label LBL_6, label LBL_5\n LBL_5:\n %22 = call i64 @FUNC(i64 %2)\n %23 = add i64 %arg4, 16383\n %24 = and i64 %23, -16384\n %25 = sub i64 %24, %arg4\n %26 = icmp ult i64 %25, 1025\n %. = select i1 %26, i64 16384, i64 0\n %27 = add i64 %., %24\n %28 = icmp ugt i64 %27, %22\n %29 = select i1 %28, i64 %22, i64 %27\n %30 = call i64 @FUNC(i64 %2, i64 %29)\n store i64 %29, i64* %rsi.2.reg2mem\n br label LBL_6\n LBL_6:\n %rsi.2.reload = load i64, i64* %rsi.2.reg2mem\n %31 = icmp eq i64 %rsi.2.reload, 0\n br i1 %31, label LBL_8, label LBL_7\n LBL_7:\n %32 = add i64 %rsi.2.reload, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = add i64 %34, %arg4\n %36 = add i64 %rsi.2.reload, 16\n %37 = inttoptr i64 %36 to i64*\n %38 = load i64, i64* %37, align 8\n %39 = call i64 @FUNC(i64 %38)\n %40 = icmp ult i64 %35, %39\n %41 = icmp eq i1 %40, false\n store i64 %rsi.2.reload, i64* %rax.0.reg2mem\n br i1 %41, label LBL_8, label LBL_9\n LBL_8:\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_9\n LBL_9:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %rsi.2.reload, { 0, 2, 1, 3 }\n uselistorder i64 %22, { 1, 0 }\n uselistorder i64 %2, { 2, 4, 3, 1, 0 }\n uselistorder i64* %rsi.0.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rsi.1.reg2mem, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64 16, { 1, 0 }\n uselistorder i64 %arg4, { 0, 2, 1, 3 }\n uselistorder label LBL_9, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ocfs2_write_remove_suid_9080", "fun_name": "ocfs2_write_remove_suid", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %.pre-phi.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_0 = alloca i64, align 8\n store i64 0, i64* %sv_0, align 8\n %1 = call i64 @FUNC(i64 %0, i64* nonnull %sv_0)\n %2 = trunc i64 %1 to i32\n %3 = icmp slt i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = and i64 %1, 4294967295\n %6 = call i64 @FUNC(i64 %5)\n store i64 %5, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_2:\n %7 = load i64, i64* %sv_0, align 8\n %8 = call i64 @FUNC(i64 %0, i64 %7)\n %.pre = and i64 %8, 4294967295\n store i64 %.pre, i64* %.pre-phi.reg2mem\n br label LBL_3\n LBL_3:\n %.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem\n %9 = load i64, i64* %sv_0, align 8\n %10 = call i64 @FUNC(i64 %9)\n ret i64 %.pre-phi.reload\n\n uselistorder i64* %sv_0, { 1, 2, 0, 3 }\n uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }\n uselistorder i32 0, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "buf_format_6443", "fun_name": "buf_format", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.317.reg2mem = alloca i64\n %storemerge18.reg2mem = alloca i32\n %sv_0.2.lcssa.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i32\n %sv_0.1.reg2mem = alloca i64\n %sv_2.020.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_0.011.reg2mem = alloca i64\n %storemerge312.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i64\n %sv_4.0.reg2mem = alloca i32\n %sv_0.213.reg2mem = alloca i64\n %sv_1.114.reg2mem = alloca i32\n %storemerge215.reg2mem = alloca i32\n %.reg2mem23 = alloca i64\n %.reg2mem = alloca i8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i32, align 4\n %sv_7 = alloca i16, align 2\n %sv_8 = alloca i8, align 1\n %sv_9 = alloca i64, align 8\n %0 = icmp sgt i32 %arg4, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %0, label LBL_1, label LBL_26\n LBL_1:\n %1 = ptrtoint i64* %arg2 to i64\n %2 = ptrtoint i64* %arg1 to i64\n %3 = inttoptr i64 %arg3 to i8*\n %4 = bitcast i32* %sv_6 to i8*\n %5 = bitcast i64* %sv_5 to i8*\n %6 = bitcast i16* %sv_7 to i8*\n store i32 0, i32* %storemerge18.reg2mem\n store i64 0, i64* %sv_0.317.reg2mem\n br label LBL_25\n LBL_2:\n %sv_0.213.reload = load i64, i64* %sv_0.213.reg2mem\n %sv_1.114.reload = load i32, i32* %sv_1.114.reg2mem\n %storemerge215.reload = load i32, i32* %storemerge215.reg2mem\n %.reload = load i8, i8* %.reg2mem\n %7 = sext i8 %.reload to i64\n %8 = add nsw i64 %7, 4294967248\n %9 = and i64 %8, 4294967295\n store i64 %9, i64* @0, align 8\n %trunc = trunc i64 %8 to i32\n store i32 2, i32* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n store i64 -1, i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_26 [\n i32 0, label LBL_3\n i32 1, label LBL_3\n i32 2, label LBL_3\n i32 3, label LBL_3\n i32 4, label LBL_3\n i32 5, label LBL_3\n i32 6, label LBL_3\n i32 7, label LBL_3\n i32 8, label LBL_3\n i32 9, label LBL_3\n i32 25, label LBL_7\n i32 28, label LBL_9\n i32 35, label LBL_5\n i32 51, label LBL_10\n i32 57, label LBL_6\n i32 60, label LBL_8\n i32 67, label LBL_11\n ]\n LBL_3:\n %10 = icmp eq i32 %sv_1.114.reload, 1\n %11 = icmp eq i1 %10, false\n store i64 %sv_0.213.reload, i64* %sv_0.1.reg2mem\n store i32 %sv_1.114.reload, i32* %sv_1.0.reg2mem\n br i1 %11, label LBL_23, label LBL_4\n LBL_4:\n %.reload24 = load i64, i64* %.reg2mem23\n %12 = call i64 @FUNC(i64 0, i64 %.reload24)\n %13 = trunc i64 %12 to i32\n store i64 %sv_0.213.reload, i64* %sv_0.1.reg2mem\n store i32 %13, i32* %sv_1.0.reg2mem\n br label LBL_23\n LBL_5:\n store i32 2, i32* %sv_4.0.reg2mem\n store i64 1, i64* %sv_3.0.reg2mem\n br label LBL_11\n LBL_6:\n store i32 4, i32* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n br label LBL_11\n LBL_7:\n store i32 4, i32* %sv_4.0.reg2mem\n store i64 1, i64* %sv_3.0.reg2mem\n br label LBL_11\n LBL_8:\n store i32 8, i32* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n br label LBL_11\n LBL_9:\n store i32 8, i32* %sv_4.0.reg2mem\n store i64 1, i64* %sv_3.0.reg2mem\n br label LBL_11\n LBL_10:\n store i32 1, i32* %sv_4.0.reg2mem\n store i64 0, i64* %sv_3.0.reg2mem\n br label LBL_11\n LBL_11:\n %14 = icmp sgt i32 %sv_1.114.reload, 0\n store i64 %sv_0.213.reload, i64* %sv_0.1.reg2mem\n store i32 1, i32* %sv_1.0.reg2mem\n br i1 %14, label LBL_12, label LBL_23\n LBL_12:\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem\n %15 = zext i32 %sv_4.0.reload to i64\n %16 = icmp ugt i32 %sv_4.0.reload, 4\n store i32 0, i32* %storemerge312.reg2mem\n store i64 %sv_0.213.reload, i64* %sv_0.011.reg2mem\n br label LBL_13\n LBL_13:\n %17 = call i64 @FUNC(i64 %1, i64* nonnull %sv_9, i32 %sv_4.0.reload)\n %18 = icmp eq i64 %17, %15\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %18, label LBL_14, label LBL_26\n LBL_14:\n %sv_0.011.reload = load i64, i64* %sv_0.011.reg2mem\n %storemerge312.reload = load i32, i32* %storemerge312.reg2mem\n switch i32 %sv_4.0.reload, label LBL_15 [\n i32 8, label LBL_20\n i32 4, label LBL_19\n ]\n LBL_15:\n store i64 %15, i64* %sv_2.020.reg2mem\n br i1 %16, label LBL_22, label LBL_16\n LBL_16:\n store i64 %15, i64* %sv_2.020.reg2mem\n switch i32 %sv_4.0.reload, label LBL_22 [\n i32 1, label LBL_17\n i32 2, label LBL_18\n ]\n LBL_17:\n %19 = call i64 @FUNC(i64* nonnull %sv_9)\n %20 = trunc i64 %19 to i8\n store i8 %20, i8* %sv_8, align 1\n %21 = call i64 @FUNC(i64 %2, i8* nonnull %sv_8, i64 1)\n store i64 %21, i64* %sv_2.0.reg2mem\n br label LBL_21\n LBL_18:\n %22 = call i64 @FUNC(i64* nonnull %sv_9, i64 %sv_3.0.reload)\n %23 = trunc i64 %22 to i16\n store i16 %23, i16* %sv_7, align 2\n %24 = call i64 @FUNC(i64 %2, i8* nonnull %6, i64 2)\n store i64 %24, i64* %sv_2.0.reg2mem\n br label LBL_21\n LBL_19:\n %25 = call i64 @FUNC(i64* nonnull %sv_9, i64 %sv_3.0.reload)\n %26 = trunc i64 %25 to i32\n store i32 %26, i32* %sv_6, align 4\n %27 = call i64 @FUNC(i64 %2, i8* nonnull %4, i64 4)\n store i64 %27, i64* %sv_2.0.reg2mem\n br label LBL_21\n LBL_20:\n %28 = call i64 @FUNC(i64* nonnull %sv_9, i64 %sv_3.0.reload)\n store i64 %28, i64* %sv_5, align 8\n %29 = call i64 @FUNC(i64 %2, i8* nonnull %5, i64 8)\n store i64 %29, i64* %sv_2.0.reg2mem\n br label LBL_21\n LBL_21:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %30 = icmp slt i64 %sv_2.0.reload, 0\n %31 = icmp eq i1 %30, false\n store i64 %sv_2.0.reload, i64* %sv_2.020.reg2mem\n store i64 -1, i64* %rax.0.reg2mem\n br i1 %31, label LBL_22, label LBL_26\n LBL_22:\n %sv_2.020.reload = load i64, i64* %sv_2.020.reg2mem\n %32 = add i64 %sv_2.020.reload, %sv_0.011.reload\n %33 = add nuw nsw i32 %storemerge312.reload, 1\n %34 = icmp slt i32 %33, %sv_1.114.reload\n store i32 %33, i32* %storemerge312.reg2mem\n store i64 %32, i64* %sv_0.011.reg2mem\n store i64 %32, i64* %sv_0.1.reg2mem\n store i32 1, i32* %sv_1.0.reg2mem\n br i1 %34, label LBL_13, label LBL_23\n LBL_23:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem\n %35 = add i32 %storemerge215.reload, 1\n %36 = sext i32 %35 to i64\n %37 = add i64 %36, %arg3\n %38 = inttoptr i64 %37 to i8*\n %39 = load i8, i8* %38, align 1\n %40 = icmp eq i8 %39, 0\n %41 = icmp eq i1 %40, false\n store i8 %39, i8* %.reg2mem\n store i64 %37, i64* %.reg2mem23\n store i32 %35, i32* %storemerge215.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.114.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.213.reg2mem\n store i64 %sv_0.1.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %41, label LBL_2, label LBL_24\n LBL_24:\n %sv_0.2.lcssa.reload = load i64, i64* %sv_0.2.lcssa.reg2mem\n %42 = add nuw nsw i32 %storemerge18.reload, 1\n %43 = icmp slt i32 %42, %arg4\n store i32 %42, i32* %storemerge18.reg2mem\n store i64 %sv_0.2.lcssa.reload, i64* %sv_0.317.reg2mem\n store i64 %sv_0.2.lcssa.reload, i64* %rax.0.reg2mem\n br i1 %43, label LBL_25, label LBL_26\n LBL_25:\n %sv_0.317.reload = load i64, i64* %sv_0.317.reg2mem\n %storemerge18.reload = load i32, i32* %storemerge18.reg2mem\n %44 = load i8, i8* %3, align 1\n %45 = icmp eq i8 %44, 0\n %46 = icmp eq i1 %45, false\n store i8 %44, i8* %.reg2mem\n store i64 %arg3, i64* %.reg2mem23\n store i32 0, i32* %storemerge215.reg2mem\n store i32 1, i32* %sv_1.114.reg2mem\n store i64 %sv_0.317.reload, i64* %sv_0.213.reg2mem\n store i64 %sv_0.317.reload, i64* %sv_0.2.lcssa.reg2mem\n br i1 %46, label LBL_2, label LBL_24\n LBL_26:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %sv_0.317.reload, { 1, 0 }\n uselistorder i32 %sv_4.0.reload, { 4, 3, 0, 2, 1 }\n uselistorder i64 %sv_3.0.reload, { 2, 0, 1 }\n uselistorder i32 %sv_1.114.reload, { 2, 3, 0, 1 }\n uselistorder i64 %sv_0.213.reload, { 3, 0, 1, 2 }\n uselistorder i64 %2, { 3, 2, 0, 1 }\n uselistorder i16* %sv_7, { 1, 0 }\n uselistorder i32* %sv_6, { 1, 0 }\n uselistorder i64* %sv_5, { 1, 0 }\n uselistorder i8* %.reg2mem, { 1, 2, 0 }\n uselistorder i64* %.reg2mem23, { 1, 2, 0 }\n uselistorder i32* %storemerge215.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_1.114.reg2mem, { 1, 2, 0 }\n uselistorder i64* %sv_0.213.reg2mem, { 1, 2, 0 }\n uselistorder i32* %sv_4.0.reg2mem, { 0, 5, 3, 7, 2, 6, 4, 1 }\n uselistorder i64* %sv_3.0.reg2mem, { 0, 5, 3, 7, 2, 6, 4, 1 }\n uselistorder i32* %storemerge312.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_0.011.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64* %sv_2.020.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %sv_0.2.lcssa.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 1, 3, 4, 2, 5 }\n uselistorder i64 8, { 2, 1, 0, 3, 4 }\n uselistorder i64 (i64, i8*, i64)* @r_buf_write, { 3, 2, 1, 0 }\n uselistorder i64 1, { 5, 1, 0, 2, 3, 6, 7, 8, 9, 4 }\n uselistorder i1 false, { 0, 3, 1, 2, 4 }\n uselistorder i32 8, { 2, 0, 1, 3 }\n uselistorder i32 4, { 2, 3, 0, 1, 4 }\n uselistorder i64 -1, { 1, 2, 0, 3 }\n uselistorder i32 2, { 2, 1, 3, 0 }\n uselistorder i32 0, { 2, 1, 4, 7, 0, 5, 3, 6 }\n uselistorder i32 %arg4, { 1, 0 }\n uselistorder label LBL_26, { 0, 2, 3, 1, 4 }\n uselistorder label LBL_25, { 1, 0 }\n uselistorder label LBL_24, { 1, 0 }\n uselistorder label LBL_23, { 0, 1, 3, 2 }\n uselistorder label LBL_22, { 2, 0, 1 }\n uselistorder label LBL_13, { 1, 0 }\n uselistorder label LBL_11, { 1, 2, 3, 4, 5, 6, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "cc_name_185", "fun_name": "cc_name", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sext = mul i64 %arg1, 4294967296\n %0 = ashr exact i64 %sext, 32\n %1 = and i64 %0, 4294967295\n store i64 %1, i64* @0, align 8\n %trunc = trunc i64 %0 to i32\n store i64 ptrtoint ([3 x i8]* @gv_0 to i64), i64* %rax.0.reg2mem\n switch i32 %trunc, label LBL_14 [\n i32 0, label LBL_15\n i32 1, label LBL_1\n i32 2, label LBL_2\n i32 3, label LBL_3\n i32 4, label LBL_4\n i32 5, label LBL_5\n i32 6, label LBL_6\n i32 7, label LBL_7\n i32 8, label LBL_8\n i32 9, label LBL_9\n i32 10, label LBL_10\n i32 11, label LBL_11\n i32 12, label LBL_12\n i32 13, label LBL_13\n ]\n LBL_1:\n store i64 ptrtoint ([3 x i8]* @gv_1 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_2:\n store i64 ptrtoint ([3 x i8]* @gv_2 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_3:\n store i64 ptrtoint ([3 x i8]* @gv_3 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_4:\n store i64 ptrtoint ([3 x i8]* @gv_4 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_5:\n store i64 ptrtoint ([3 x i8]* @gv_5 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_6:\n store i64 ptrtoint ([3 x i8]* @gv_6 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_7:\n store i64 ptrtoint ([3 x i8]* @gv_7 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_8:\n store i64 ptrtoint ([3 x i8]* @gv_8 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_9:\n store i64 ptrtoint ([3 x i8]* @gv_9 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_10:\n store i64 ptrtoint ([3 x i8]* @gv_10 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_11:\n store i64 ptrtoint ([3 x i8]* @gv_11 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_12:\n store i64 ptrtoint ([3 x i8]* @gv_12 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_13:\n store i64 ptrtoint ([3 x i8]* @gv_13 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_14:\n store i64 ptrtoint (i64* @gv_14 to i64), i64* %rax.0.reg2mem\n br label LBL_15\n LBL_15:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %0, { 1, 0 }\n uselistorder i64* %rax.0.reg2mem, { 0, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 }\n uselistorder i32 1, { 1, 0 }\n uselistorder label LBL_15, { 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "add_crc_to_array_16510", "fun_name": "add_crc_to_array", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %storemerge.reg2mem = alloca i64\n %.reg2mem6 = alloca i64\n %.reg2mem4 = alloca i64\n %.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = load i64, i64* %0\n %3 = load i64, i64* %0\n %4 = load i64, i64* @gv_0, align 8\n %5 = load i64, i64* @gv_1, align 8\n %6 = icmp ugt i64 %4, %5\n br i1 %6, label LBL_0.LBL_7_crit_edge, label LBL_2\n LBL_1:\n %.pre = load i64, i64* @gv_2, align 8\n store i64 %5, i64* %.reg2mem4\n store i64 %.pre, i64* %.reg2mem6\n br label LBL_7\n LBL_2:\n %7 = icmp eq i64 %4, 0\n %8 = icmp eq i1 %7, false\n store i64 %4, i64* %.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n store i64 10, i64* @gv_0, align 8\n store i64 10, i64* %.reg2mem\n br label LBL_4\n LBL_4:\n %.reload = load i64, i64* %.reg2mem\n %9 = mul i64 %.reload, 2\n store i64 %9, i64* @gv_0, align 8\n %10 = mul i64 %.reload, 8\n %11 = load i64, i64* @gv_2, align 8\n %12 = call i64 @FUNC(i64 %11, i64 %10)\n store i64 %12, i64* @gv_2, align 8\n %13 = load i64, i64* @gv_0, align 8\n %14 = mul i64 %13, 8\n %15 = load i64, i64* @gv_3, align 8\n %16 = call i64 @FUNC(i64 %15, i64 %14)\n store i64 %16, i64* @gv_3, align 8\n %17 = load i64, i64* @gv_2, align 8\n %18 = icmp ne i64 %17, 0\n %19 = icmp eq i64 %16, 0\n %20 = icmp eq i1 %19, false\n %or.cond = icmp eq i1 %20, %18\n br i1 %or.cond, label LBL_4.LBL_7_crit_edge, label LBL_6\n LBL_5:\n %.pre3 = load i64, i64* @gv_1, align 8\n store i64 %.pre3, i64* %.reg2mem4\n store i64 %17, i64* %.reg2mem6\n br label LBL_7\n LBL_6:\n %21 = call i64 @FUNC(i64 0, i64 0, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_4, i64 0, i64 0), i64 %3, i64 %2, i64 %1)\n store i64 4294967284, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_7:\n %.reload7 = load i64, i64* %.reg2mem6\n %.reload5 = load i64, i64* %.reg2mem4\n %22 = mul i64 %.reload5, 4\n %23 = add i64 %22, %.reload7\n %24 = trunc i64 %arg1 to i32\n %25 = inttoptr i64 %23 to i32*\n store i32 %24, i32* %25, align 4\n %26 = load i64, i64* @gv_3, align 8\n %27 = load i64, i64* @gv_1, align 8\n %28 = mul i64 %27, 8\n %29 = add i64 %28, %26\n %30 = inttoptr i64 %29 to i64*\n store i64 %arg2, i64* %30, align 8\n %31 = load i64, i64* @gv_1, align 8\n %32 = add i64 %31, 1\n store i64 %32, i64* @gv_1, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_8\n LBL_8:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %.reload, { 1, 0 }\n uselistorder i64* %.reg2mem, { 0, 2, 1 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64* %0, { 2, 1, 0 }\n uselistorder i64 (i64, i64)* @av_realloc, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "free_l3_table_6678", "fun_name": "free_l3_table", "llvm_ir_function": "define i64 @FUNC(i32* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.1.reg2mem = alloca i32\n %sv_0.03.reg2mem = alloca i32\n %sv_1.14.reg2mem = alloca i32\n %sv_2.15.reg2mem = alloca i32\n %sv_0.0.ph.reg2mem = alloca i32\n %sv_1.0.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %1 = load i64, i64* %0\n %2 = ptrtoint i32* %arg1 to i64\n %3 = call i64 @FUNC(i64 %2)\n %4 = call i64 @FUNC(i64 %2)\n %5 = call i64 @FUNC(i64 %4)\n %6 = add i64 %2, 4\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = urem i32 %8, 2\n %10 = icmp eq i32 %9, 0\n %11 = zext i1 %10 to i64\n %12 = sub i64 %1, %11\n %13 = call i64 @FUNC(i64 %5)\n %14 = call i64 @FUNC(i64 %13)\n %15 = and i64 %12, 4294967295\n store i64 %15, i64* %indvars.iv.reg2mem\n store i32 %8, i32* %sv_1.0.reg2mem\n br label LBL_1\n LBL_1:\n %sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %16 = mul i64 %indvars.iv.reload, 8\n %17 = add i64 %16, %14\n %18 = inttoptr i64 %17 to i64*\n %19 = load i64, i64* %18, align 8\n %20 = call i64 @FUNC(i64 %19, i64 %5, i32 %sv_1.0.reload)\n %21 = trunc i64 %20 to i32\n %22 = icmp slt i32 %21, 0\n br i1 %22, label LBL_7, label LBL_2\n LBL_2:\n %23 = icmp eq i32 %21, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = load i64, i64* %18, align 8\n %26 = call i64 @FUNC(i64 %25, i64 %3)\n store i64 %26, i64* %18, align 8\n br label LBL_4\n LBL_4:\n %27 = icmp eq i64 %indvars.iv.reload, 0\n store i32 %21, i32* %sv_0.0.ph.reg2mem\n br i1 %27, label LBL_6, label LBL_5\n LBL_5:\n %28 = call i64 @FUNC()\n %29 = trunc i64 %28 to i32\n %30 = icmp eq i32 %29, 0\n %indvars.iv.next = add nsw i64 %indvars.iv.reload, -1\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n store i32 0, i32* %sv_1.0.reg2mem\n store i32 -4, i32* %sv_0.0.ph.reg2mem\n br i1 %30, label LBL_1, label LBL_6\n LBL_6:\n %sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem\n %31 = trunc i64 %indvars.iv.reload to i32\n %32 = add i32 %31, -1\n %33 = call i64 @FUNC(i64 %14)\n store i32 %32, i32* %sv_2.15.reg2mem\n store i32 0, i32* %sv_1.14.reg2mem\n store i32 %sv_0.0.ph.reload, i32* %sv_0.03.reg2mem\n br label LBL_9\n LBL_7:\n %34 = trunc i64 %indvars.iv.reload to i32\n %35 = call i64 @FUNC(i64 %14)\n %36 = icmp eq i32 %21, -5\n %37 = icmp eq i1 %36, false\n store i32 %34, i32* %sv_2.15.reg2mem\n store i32 %sv_1.0.reload, i32* %sv_1.14.reg2mem\n store i32 %21, i32* %sv_0.03.reg2mem\n br i1 %37, label LBL_9, label LBL_8\n LBL_8:\n store i32 %34, i32* %arg1, align 4\n store i32 1, i32* %7, align 4\n store i32 %21, i32* %sv_0.1.reg2mem\n br label LBL_11\n LBL_9:\n %sv_0.03.reload = load i32, i32* %sv_0.03.reg2mem\n %sv_2.15.reload = load i32, i32* %sv_2.15.reg2mem\n %38 = icmp eq i32 %sv_0.03.reload, -4\n %39 = icmp ult i32 %sv_2.15.reload, 511\n %or.cond = icmp eq i1 %39, %38\n store i32 %sv_0.03.reload, i32* %sv_0.1.reg2mem\n br i1 %or.cond, label LBL_10, label LBL_11\n LBL_10:\n %sv_1.14.reload = load i32, i32* %sv_1.14.reg2mem\n %40 = urem i32 %sv_1.14.reload, 2\n %41 = icmp eq i32 %40, 0\n %42 = zext i1 %41 to i32\n %43 = add i32 %sv_2.15.reload, %42\n store i32 %43, i32* %arg1, align 4\n store i32 %sv_1.14.reload, i32* %7, align 4\n store i32 -5, i32* %sv_0.1.reg2mem\n br label LBL_11\n LBL_11:\n %sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem\n %44 = icmp eq i32 %sv_0.1.reload, 0\n %45 = icmp slt i32 %sv_0.1.reload, 0\n %46 = icmp eq i1 %45, false\n %47 = icmp eq i1 %44, false\n %48 = icmp eq i1 %46, %47\n %49 = zext i32 %sv_0.1.reload to i64\n %50 = select i1 %48, i64 0, i64 %49\n ret i64 %50\n\n uselistorder i32 %sv_0.1.reload, { 0, 2, 1 }\n uselistorder i32 %sv_2.15.reload, { 1, 0 }\n uselistorder i32 %34, { 1, 0 }\n uselistorder i32 %21, { 0, 1, 3, 2, 4, 5 }\n uselistorder i64* %18, { 1, 0, 2 }\n uselistorder i64 %indvars.iv.reload, { 2, 3, 0, 1, 4 }\n uselistorder i64 %14, { 2, 1, 0 }\n uselistorder i32* %7, { 1, 0, 2 }\n uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.0.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 2, 1 }\n uselistorder i32* %sv_0.1.reg2mem, { 0, 3, 2, 1 }\n uselistorder i64 (i64)* @unmap_domain_page, { 1, 0 }\n uselistorder i32 -4, { 1, 0 }\n uselistorder i1 false, { 1, 0, 2, 3 }\n uselistorder i32 0, { 2, 3, 4, 0, 1, 5, 6, 7, 8 }\n uselistorder i32* %arg1, { 1, 0, 2 }\n uselistorder label LBL_11, { 1, 0, 2 }\n uselistorder label LBL_9, { 1, 0 }\n uselistorder label LBL_6, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "tsc210x_read_9118", "fun_name": "tsc210x_read", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %.pre-phi2.reg2mem = alloca i32*\n %1 = load i64, i64* %0\n %2 = trunc i64 %1 to i32\n %3 = icmp eq i32 %2, 0\n %4 = icmp eq i1 %3, false\n br i1 %4, label LBL_2, label LBL_1\n LBL_1:\n %5 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8\n %6 = call i32 @fwrite(i64* bitcast ([29 x i8]* @gv_1 to i64*), i32 1, i32 28, %_IO_FILE* %5)\n br label LBL_2\n LBL_2:\n %7 = ptrtoint i64* %arg1 to i64\n %8 = add i64 %7, 4\n %9 = inttoptr i64 %8 to i32*\n %10 = load i32, i32* %9, align 4\n %11 = icmp eq i32 %10, 2\n br i1 %11, label LBL_8, label LBL_3\n LBL_3:\n %12 = icmp sgt i32 %10, 2\n br i1 %12, label LBL_9, label LBL_4\n LBL_4:\n switch i32 %10, label LBL_9 [\n i32 0, label LBL_5\n i32 1, label LBL_7\n ]\n LBL_5:\n %13 = add i64 %7, 8\n %14 = inttoptr i64 %13 to i32*\n %15 = load i32, i32* %14, align 4\n %16 = zext i32 %15 to i64\n %17 = call i64 @FUNC(i64 %7, i64 %16)\n %18 = add i64 %7, 12\n %19 = inttoptr i64 %18 to i32*\n %20 = load i32, i32* %19, align 4\n %21 = icmp eq i32 %20, 0\n %22 = icmp eq i1 %21, false\n store i32* %14, i32** %.pre-phi2.reg2mem\n store i64 %17, i64* %sv_0.0.reg2mem\n br i1 %22, label LBL_10, label LBL_6\n LBL_6:\n %23 = add i64 %7, 16\n %24 = inttoptr i64 %23 to i32*\n %25 = load i32, i32* %24, align 4\n %26 = zext i32 %25 to i64\n %27 = call i64 @FUNC(i64 %26)\n store i32* %14, i32** %.pre-phi2.reg2mem\n store i64 %17, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_7:\n %28 = add i64 %7, 8\n %29 = inttoptr i64 %28 to i32*\n %30 = load i32, i32* %29, align 4\n %31 = zext i32 %30 to i64\n %32 = call i64 @FUNC(i64 %7, i64 %31)\n store i32* %29, i32** %.pre-phi2.reg2mem\n store i64 %32, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_8:\n %33 = add i64 %7, 8\n %34 = inttoptr i64 %33 to i32*\n %35 = load i32, i32* %34, align 4\n %36 = zext i32 %35 to i64\n %37 = call i64 @FUNC(i64 %7, i64 %36)\n store i32* %34, i32** %.pre-phi2.reg2mem\n store i64 %37, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_9:\n %38 = call i64 @FUNC(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_2, i64 0, i64 0))\n %.pre = add i64 %7, 8\n %.pre1 = inttoptr i64 %.pre to i32*\n store i32* %.pre1, i32** %.pre-phi2.reg2mem\n store i64 0, i64* %sv_0.0.reg2mem\n br label LBL_10\n LBL_10:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.pre-phi2.reload = load i32*, i32** %.pre-phi2.reg2mem\n %39 = call i64 @FUNC(i64 %7)\n %40 = load i32, i32* %.pre-phi2.reload, align 4\n %41 = add i32 %40, 1\n store i32 %41, i32* %.pre-phi2.reload, align 4\n %42 = add i64 %7, 20\n %43 = inttoptr i64 %42 to i32*\n store i32 0, i32* %43, align 4\n %44 = urem i64 %sv_0.0.reload, 65536\n ret i64 %44\n\n uselistorder i64 %7, { 7, 8, 0, 10, 9, 2, 1, 4, 3, 6, 5, 11 }\n uselistorder i32** %.pre-phi2.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 2, 1, 4, 5 }\n uselistorder i32 2, { 1, 0 }\n uselistorder %_IO_FILE** @gv_0, { 1, 0 }\n uselistorder i32 0, { 1, 2, 0, 3 }\n uselistorder label LBL_10, { 2, 3, 4, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ath9k_ps_wakeup_4713", "fun_name": "ath9k_ps_wakeup", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %0 = alloca i64\n %rdi = alloca i64, align 8\n %1 = ptrtoint i64* %arg1 to i64\n %2 = load i64, i64* %0\n %3 = call i64 @FUNC(i64 %1)\n %4 = add i64 %1, 12\n store i64 %4, i64* %rdi, align 8\n %5 = call i64 @FUNC(i64 %4, i64 %2)\n %6 = add i64 %1, 8\n %7 = inttoptr i64 %6 to i32*\n %8 = load i32, i32* %7, align 4\n %9 = add i32 %8, 1\n store i32 %9, i32* %7, align 4\n %10 = icmp eq i32 %8, 0\n %11 = icmp eq i1 %10, false\n br i1 %11, label LBL_3, label LBL_1\n LBL_1:\n %12 = bitcast i64* %rdi to i32*\n %13 = load i32, i32* %12, align 8\n %14 = load i64, i64* %rdi, align 8\n %15 = call i64 @FUNC(i64 %14, i64 0)\n %16 = icmp eq i32 %13, 0\n br i1 %16, label LBL_3, label LBL_2\n LBL_2:\n %17 = call i64 @FUNC(i64 %3)\n %18 = call i64 @FUNC(i64 %3)\n %19 = call i64 @FUNC(i64 %3)\n br label LBL_3\n LBL_3:\n %20 = call i64 @FUNC(i64 %4, i64 %2)\n ret i64 %20\n\n uselistorder i64 %3, { 2, 1, 0 }\n uselistorder i64* %rdi, { 2, 1, 0 }\n uselistorder i32 0, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "activate_14536", "fun_name": "activate", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %rdi.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i32\n %0 = ptrtoint i64* %arg1 to i64\n %sv_1 = alloca i32, align 4\n %sv_2 = alloca i64, align 8\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %1 = add i64 %0, 16\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = inttoptr i64 %3 to i32*\n %5 = load i32, i32* %4, align 4\n %6 = icmp eq i32 %5, 0\n br i1 %6, label LBL_11, label LBL_1\n LBL_1:\n store i64 0, i64* %sv_4, align 8\n store i64 0, i64* %sv_3, align 8\n %7 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4)\n %8 = trunc i64 %7 to i32\n %9 = icmp slt i32 %8, 1\n store i32 %8, i32* %sv_0.0.reg2mem\n store i64 %0, i64* %rdi.0.reg2mem\n br i1 %9, label LBL_5, label LBL_2\n LBL_2:\n %10 = load i64, i64* %sv_4, align 8\n %11 = call i64 @FUNC(i64 %0, i64* nonnull %sv_3, i64 %10, i64 %10)\n %12 = trunc i64 %11 to i32\n %13 = icmp slt i32 %12, 0\n %14 = icmp eq i1 %13, false\n br i1 %14, label LBL_4, label LBL_3\n LBL_3:\n %15 = and i64 %11, 4294967295\n store i64 %15, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_4:\n %16 = call i64 @FUNC(i64* nonnull %sv_4)\n %17 = load i64, i64* %sv_3, align 8\n %18 = add i64 %0, 8\n %19 = inttoptr i64 %18 to i64*\n %20 = load i64, i64* %19, align 8\n %21 = call i64 @FUNC(i64 %20, i64 %17)\n %22 = trunc i64 %21 to i32\n store i32 %22, i32* %sv_0.0.reg2mem\n store i64 %20, i64* %rdi.0.reg2mem\n br label LBL_5\n LBL_5:\n %sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem\n %23 = icmp slt i32 %sv_0.0.reload, 0\n %24 = icmp eq i1 %23, false\n br i1 %24, label LBL_7, label LBL_6\n LBL_6:\n %25 = zext i32 %sv_0.0.reload to i64\n store i64 %25, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_7:\n %rdi.0.reload = load i64, i64* %rdi.0.reg2mem\n %26 = bitcast i32* %sv_1 to i64*\n %27 = call i64 @FUNC(i64 %rdi.0.reload, i64* nonnull %26, i64* nonnull %sv_2)\n %28 = trunc i64 %27 to i32\n %29 = icmp eq i32 %28, 0\n br i1 %29, label LBL_9, label LBL_8\n LBL_8:\n %30 = load i64, i64* %sv_2, align 8\n %31 = load i32, i32* %sv_1, align 4\n %32 = add i64 %0, 8\n %33 = inttoptr i64 %32 to i64*\n %34 = load i64, i64* %33, align 8\n %35 = zext i32 %31 to i64\n %36 = call i64 @FUNC(i64 %34, i64 %35, i64 %30)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_9:\n %37 = add i64 %0, 8\n %38 = inttoptr i64 %37 to i64*\n %39 = load i64, i64* %38, align 8\n %40 = call i64 @FUNC(i64 %39)\n %41 = trunc i64 %40 to i32\n %42 = icmp eq i32 %41, 0\n store i64 0, i64* %rax.0.reg2mem\n br i1 %42, label LBL_12, label LBL_10\n LBL_10:\n %43 = call i64 @FUNC(i64 %39)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_11:\n %44 = add i64 %3, 8\n %45 = call i64 @FUNC(i64 %44)\n store i64 %45, i64* %rax.0.reg2mem\n br label LBL_12\n LBL_12:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0 }\n uselistorder i64* %sv_4, { 0, 2, 1, 3 }\n uselistorder i64* %sv_3, { 1, 0, 2 }\n uselistorder i64* %sv_2, { 1, 0 }\n uselistorder i64 %0, { 4, 3, 1, 2, 0, 5, 6 }\n uselistorder i64* %rax.0.reg2mem, { 0, 6, 2, 1, 5, 4, 3 }\n uselistorder i32 0, { 2, 3, 4, 5, 6, 7, 0, 1 }\n uselistorder label LBL_12, { 2, 1, 0, 3, 4, 5 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "colo_do_failover_15392", "fun_name": "colo_do_failover", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n br i1 %3, label LBL_2, label LBL_1\n LBL_1:\n %4 = call i64 @FUNC(i64 1)\n br label LBL_2\n LBL_2:\n %5 = call i64 @FUNC()\n %6 = trunc i64 %5 to i32\n %7 = icmp eq i32 %6, 1\n %8 = icmp eq i1 %7, false\n store i64 %5, i64* %rax.0.reg2mem\n br i1 %8, label LBL_4, label LBL_3\n LBL_3:\n %9 = call i64 @FUNC()\n store i64 %9, i64* %rax.0.reg2mem\n br label LBL_4\n LBL_4:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 1, { 2, 0, 1 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "stpncpy_17775", "fun_name": "stpncpy", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %sv_1.14.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64 %arg3, 0\n store i64 %0, i64* %sv_0.0.reg2mem\n br i1 %1, label LBL_6, label LBL_1\n LBL_1:\n %2 = add i64 %0, %arg3\n store i64 %arg3, i64* %sv_3.0.reg2mem\n store i64 %0, i64* %sv_1.0.reg2mem\n store i64 %arg2, i64* %sv_2.0.reg2mem\n br label LBL_2\n LBL_2:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %3 = add i64 %sv_1.0.reload, 1\n %4 = inttoptr i64 %sv_2.0.reload to i8*\n %5 = load i8, i8* %4, align 1\n %6 = inttoptr i64 %sv_1.0.reload to i8*\n store i8 %5, i8* %6, align 1\n %7 = icmp eq i8 %5, 0\n %8 = icmp eq i1 %7, false\n br i1 %8, label LBL_5, label LBL_3\n LBL_3:\n %9 = add i64 %sv_3.0.reload, -1\n %10 = icmp eq i64 %9, 0\n %11 = icmp eq i1 %10, false\n store i64 %9, i64* %.reg2mem\n store i64 %3, i64* %sv_1.14.reg2mem\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %11, label LBL_4, label LBL_6\n LBL_4:\n %sv_1.14.reload = load i64, i64* %sv_1.14.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %12 = add i64 %sv_1.14.reload, 1\n %13 = inttoptr i64 %sv_1.14.reload to i8*\n store i8 0, i8* %13, align 1\n %14 = add i64 %.reload, -1\n %15 = icmp eq i64 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %14, i64* %.reg2mem\n store i64 %12, i64* %sv_1.14.reg2mem\n store i64 %3, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_4, label LBL_6\n LBL_5:\n %17 = add i64 %sv_2.0.reload, 1\n %18 = add i64 %sv_3.0.reload, -1\n %19 = icmp eq i64 %18, 0\n %20 = icmp eq i1 %19, false\n store i64 %18, i64* %sv_3.0.reg2mem\n store i64 %3, i64* %sv_1.0.reg2mem\n store i64 %17, i64* %sv_2.0.reg2mem\n store i64 %2, i64* %sv_0.0.reg2mem\n br i1 %20, label LBL_2, label LBL_6\n LBL_6:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %3, { 3, 0, 1, 2 }\n uselistorder i64 %sv_1.0.reload, { 1, 0 }\n uselistorder i64 %0, { 1, 2, 0 }\n uselistorder i64* %sv_3.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.14.reg2mem, { 2, 0, 1 }\n uselistorder i64 -1, { 1, 2, 0 }\n uselistorder i1 false, { 1, 2, 0, 3 }\n uselistorder i64 1, { 2, 0, 1 }\n uselistorder label LBL_4, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "mov_text_cleanup_ftab_3470", "fun_name": "mov_text_cleanup_ftab", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rdi.01.reg2mem = alloca i64\n %storemerge2.reg2mem = alloca i32\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = icmp eq i64* %arg1, null\n br i1 %1, label LBL_3, label LBL_1\n LBL_1:\n %2 = add i64 %0, 8\n %3 = inttoptr i64 %2 to i32*\n %4 = load i32, i32* %3, align 4\n %5 = icmp eq i32 %4, 0\n store i64 0, i64* %.reg2mem\n store i32 0, i32* %storemerge2.reg2mem\n store i64 %0, i64* %rdi.01.reg2mem\n br i1 %5, label LBL_3, label LBL_2\n LBL_2:\n %rdi.01.reload = load i64, i64* %rdi.01.reg2mem\n %storemerge2.reload = load i32, i32* %storemerge2.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %6 = mul i64 %.reload, 8\n %7 = add i64 %rdi.01.reload, %6\n %8 = inttoptr i64 %7 to i64*\n %9 = load i64, i64* %8, align 8\n %10 = call i64 @FUNC(i64 %9)\n %11 = add i64 %9, %6\n %12 = call i64 @FUNC(i64 %11)\n %13 = add i32 %storemerge2.reload, 1\n %14 = load i32, i32* %3, align 4\n %15 = zext i32 %14 to i64\n %16 = sext i32 %13 to i64\n %17 = icmp slt i64 %16, %15\n store i64 %16, i64* %.reg2mem\n store i32 %13, i32* %storemerge2.reg2mem\n store i64 %11, i64* %rdi.01.reg2mem\n br i1 %17, label LBL_2, label LBL_3\n LBL_3:\n %18 = call i64 @FUNC(i64 %0)\n ret i64 %18\n\n uselistorder i64 %6, { 1, 0 }\n uselistorder i32* %3, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i32* %storemerge2.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rdi.01.reg2mem, { 2, 0, 1 }\n uselistorder i64 (i64)* @av_freep, { 0, 2, 1 }\n uselistorder label LBL_2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "target_munmap_15393", "fun_name": "target_munmap", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.33.reg2mem = alloca i32\n %storemerge4.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_3.1.reg2mem = alloca i64\n %sv_1.2.reg2mem = alloca i32\n %sv_3.0.reg2mem = alloca i64\n %sv_1.15.reg2mem = alloca i32\n %storemerge16.reg2mem = alloca i64\n %sv_1.08.reg2mem = alloca i32\n %storemerge29.reg2mem = alloca i64\n %0 = urem i64 %arg1, 4096\n %1 = icmp eq i64 %0, 0\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %1, label LBL_1, label LBL_17\n LBL_1:\n %2 = add i64 %arg2, 4095\n %3 = and i64 %2, -4096\n %4 = icmp eq i64 %3, 0\n %5 = icmp eq i1 %4, false\n store i64 4294967274, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_17\n LBL_2:\n %6 = add i64 %3, %arg1\n %7 = load i64, i64* @gv_0, align 8\n %8 = and i64 %7, %arg1\n %9 = add i64 %6, 4095\n %10 = and i64 %9, -4096\n %11 = icmp ult i64 %8, %arg1\n store i64 %8, i64* %storemerge29.reg2mem\n store i32 0, i32* %sv_1.08.reg2mem\n store i64 %6, i64* %sv_3.1.reg2mem\n store i64 %8, i64* %sv_2.0.reg2mem\n br i1 %11, label LBL_3, label LBL_9\n LBL_3:\n %sv_1.08.reload = load i32, i32* %sv_1.08.reg2mem\n %storemerge29.reload = load i64, i64* %storemerge29.reg2mem\n %12 = call i64 @FUNC(i64 %storemerge29.reload)\n %13 = trunc i64 %12 to i32\n %14 = or i32 %sv_1.08.reload, %13\n %15 = add i64 %storemerge29.reload, 4096\n %16 = icmp ult i64 %15, %arg1\n store i64 %15, i64* %storemerge29.reg2mem\n store i32 %14, i32* %sv_1.08.reg2mem\n br i1 %16, label LBL_3, label LBL_4\n LBL_4:\n %17 = load i64, i64* @gv_1, align 8\n %18 = add i64 %17, %8\n %19 = icmp eq i64 %10, %18\n %20 = icmp eq i1 %19, false\n store i64 %6, i64* %sv_3.0.reg2mem\n store i32 %14, i32* %sv_1.2.reg2mem\n br i1 %20, label LBL_7, label LBL_5\n LBL_5:\n %21 = icmp ult i64 %6, %10\n store i64 %6, i64* %storemerge16.reg2mem\n store i32 %14, i32* %sv_1.15.reg2mem\n store i64 %10, i64* %sv_3.0.reg2mem\n store i32 %14, i32* %sv_1.2.reg2mem\n br i1 %21, label LBL_6, label LBL_7\n LBL_6:\n %sv_1.15.reload = load i32, i32* %sv_1.15.reg2mem\n %storemerge16.reload = load i64, i64* %storemerge16.reg2mem\n %22 = call i64 @FUNC(i64 %storemerge16.reload)\n %23 = trunc i64 %22 to i32\n %24 = or i32 %sv_1.15.reload, %23\n %25 = add nuw i64 %storemerge16.reload, 4096\n %26 = icmp ult i64 %25, %10\n store i64 %25, i64* %storemerge16.reg2mem\n store i32 %24, i32* %sv_1.15.reg2mem\n store i64 %10, i64* %sv_3.0.reg2mem\n store i32 %24, i32* %sv_1.2.reg2mem\n br i1 %26, label LBL_6, label LBL_7\n LBL_7:\n %sv_1.2.reload = load i32, i32* %sv_1.2.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %27 = icmp eq i32 %sv_1.2.reload, 0\n store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem\n store i64 %8, i64* %sv_2.0.reg2mem\n br i1 %27, label LBL_9, label LBL_8\n LBL_8:\n %28 = load i64, i64* @gv_1, align 8\n %29 = add i64 %28, %8\n store i64 %sv_3.0.reload, i64* %sv_3.1.reg2mem\n store i64 %29, i64* %sv_2.0.reg2mem\n br label LBL_9\n LBL_9:\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_3.1.reload = load i64, i64* %sv_3.1.reg2mem\n %30 = icmp ult i64 %sv_3.1.reload, %10\n %31 = icmp eq i1 %30, false\n store i64 %sv_3.1.reload, i64* %storemerge4.reg2mem\n store i32 0, i32* %sv_1.33.reg2mem\n store i64 %10, i64* %sv_0.0.reg2mem\n br i1 %31, label LBL_13, label LBL_10\n LBL_10:\n %sv_1.33.reload = load i32, i32* %sv_1.33.reg2mem\n %storemerge4.reload = load i64, i64* %storemerge4.reg2mem\n %32 = call i64 @FUNC(i64 %storemerge4.reload)\n %33 = trunc i64 %32 to i32\n %34 = or i32 %sv_1.33.reload, %33\n %35 = add nuw i64 %storemerge4.reload, 4096\n %36 = icmp ult i64 %35, %10\n store i64 %35, i64* %storemerge4.reg2mem\n store i32 %34, i32* %sv_1.33.reg2mem\n br i1 %36, label LBL_10, label LBL_11\n LBL_11:\n %phitmp = icmp eq i32 %34, 0\n store i64 %10, i64* %sv_0.0.reg2mem\n br i1 %phitmp, label LBL_13, label LBL_12\n LBL_12:\n %37 = load i64, i64* @gv_1, align 8\n %38 = sub i64 %10, %37\n store i64 %38, i64* %sv_0.0.reg2mem\n br label LBL_13\n LBL_13:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %39 = icmp ugt i64 %sv_0.0.reload, %sv_2.0.reload\n %40 = icmp eq i1 %39, false\n br i1 %40, label LBL_16, label LBL_14\n LBL_14:\n %41 = sub i64 %sv_0.0.reload, %sv_2.0.reload\n %42 = inttoptr i64 %sv_2.0.reload to i64*\n %43 = trunc i64 %41 to i32\n %44 = call i32 @munmap(i64* %42, i32 %43)\n %45 = icmp eq i32 %44, 0\n br i1 %45, label LBL_16, label LBL_15\n LBL_15:\n %46 = zext i32 %44 to i64\n store i64 %46, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_16:\n %47 = call i64 @FUNC(i64 %arg1, i64 %6, i64 0)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_17\n LBL_17:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i32 %34, { 1, 0 }\n uselistorder i64 %storemerge4.reload, { 1, 0 }\n uselistorder i64 %sv_2.0.reload, { 1, 0, 2 }\n uselistorder i64 %storemerge16.reload, { 1, 0 }\n uselistorder i32 %14, { 0, 2, 1, 3 }\n uselistorder i64 %storemerge29.reload, { 1, 0 }\n uselistorder i64 %10, { 7, 0, 6, 1, 8, 2, 5, 3, 4, 9 }\n uselistorder i64 %8, { 3, 1, 4, 0, 2, 5 }\n uselistorder i64 %6, { 4, 2, 3, 1, 0, 5 }\n uselistorder i64* %storemerge29.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.08.reg2mem, { 2, 0, 1 }\n uselistorder i64* %storemerge16.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.15.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_3.1.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 3, 1 }\n uselistorder i64* %storemerge4.reg2mem, { 2, 0, 1 }\n uselistorder i32* %sv_1.33.reg2mem, { 2, 0, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 3, 1, 2 }\n uselistorder i64 (i64)* @page_get_flags, { 2, 1, 0 }\n uselistorder i32 0, { 3, 2, 0, 4, 1 }\n uselistorder i64 -4096, { 1, 2, 0 }\n uselistorder i64 4096, { 2, 3, 4, 0, 1 }\n uselistorder i32 1, { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }\n uselistorder i64 %arg1, { 4, 5, 3, 1, 2, 0 }\n uselistorder label LBL_17, { 2, 3, 0, 1 }\n uselistorder label LBL_10, { 1, 0 }\n uselistorder label LBL_9, { 1, 2, 0 }\n uselistorder label LBL_6, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "qemu_can_send_packet_5680", "fun_name": "qemu_can_send_packet", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = call i64 @FUNC()\n %1 = trunc i64 %0 to i32\n %2 = icmp eq i32 %1, 0\n %3 = icmp eq i1 %2, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %3, label LBL_1, label LBL_3\n LBL_1:\n %4 = icmp eq i64* %arg1, null\n %5 = icmp eq i1 %4, false\n store i64 1, i64* %rax.0.reg2mem\n br i1 %5, label LBL_2, label LBL_3\n LBL_2:\n %6 = ptrtoint i64* %arg1 to i64\n %7 = call i64 @FUNC(i64 %6)\n store i64 %7, i64* %rax.0.reg2mem\n br label LBL_3\n LBL_3:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }\n uselistorder i64* %arg1, { 1, 0 }\n uselistorder label LBL_3, { 2, 0, 1 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_put_be64_2139", "fun_name": "qemu_put_be64", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {\n LBL_0:\n %0 = ptrtoint i64* %arg1 to i64\n %1 = udiv i64 %arg2, 4294967296\n %2 = call i64 @FUNC(i64 %0, i64 %1)\n %3 = and i64 %arg2, 4294967295\n %4 = call i64 @FUNC(i64 %0, i64 %3)\n ret i64 %4\n\n uselistorder i64 (i64, i64)* @qemu_put_be32, { 1, 0 }\n uselistorder i64 4294967296, { 1, 0 }\n uselistorder i64 %arg2, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "postprocess_chroma_15391", "fun_name": "postprocess_chroma", "llvm_ir_function": "define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3, i64 %arg4) local_unnamed_addr {\n LBL_0:\n %storemerge6.lcssa.reg2mem = alloca i64\n %sv_0.013.reg2mem = alloca i64\n %sv_1.015.reg2mem = alloca i64\n %storemerge617.reg2mem = alloca i32\n %indvars.iv.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %1 = add i64 %0, 32\n %2 = inttoptr i64 %1 to i64*\n %3 = load i64, i64* %2, align 8\n %4 = add i64 %0, 40\n %5 = inttoptr i64 %4 to i64*\n %6 = load i64, i64* %5, align 8\n %7 = trunc i64 %arg3 to i32\n %8 = icmp sgt i32 %7, 0\n store i64 0, i64* %storemerge6.lcssa.reg2mem\n br i1 %8, label LBL_1, label LBL_6\n LBL_1:\n %9 = trunc i64 %arg4 to i32\n %10 = lshr i64 %3, 63\n %11 = add i64 %10, %3\n %12 = and i64 %11, -2\n %13 = lshr i64 %6, 63\n %14 = add i64 %13, %6\n %15 = and i64 %14, -2\n %16 = add i32 %9, 31\n %17 = urem i32 %16, 32\n %18 = shl i32 1, %17\n %19 = add i64 %0, 16\n %20 = inttoptr i64 %19 to i64*\n %21 = load i64, i64* %20, align 8\n %22 = add i64 %0, 8\n %23 = inttoptr i64 %22 to i64*\n %24 = load i64, i64* %23, align 8\n %25 = sub i32 16, %9\n %26 = trunc i64 %arg2 to i32\n %27 = icmp sgt i32 %26, 0\n %28 = urem i32 %25, 32\n %wide.trip.count = and i64 %arg2, 4294967295\n store i32 0, i32* %storemerge617.reg2mem\n store i64 %21, i64* %sv_1.015.reg2mem\n store i64 %24, i64* %sv_0.013.reg2mem\n br label LBL_4\n LBL_2:\n %indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem\n %29 = mul i64 %indvars.iv.reload, 2\n %30 = add i64 %29, %sv_0.013.reload\n %31 = inttoptr i64 %30 to i16*\n %32 = load i16, i16* %31, align 2\n %33 = sext i16 %32 to i32\n %34 = add i32 %18, %33\n %35 = shl i32 %34, %28\n %36 = trunc i32 %35 to i16\n store i16 %36, i16* %31, align 2\n %37 = add i64 %29, %sv_1.015.reload\n %38 = inttoptr i64 %37 to i16*\n %39 = load i16, i16* %38, align 2\n %40 = sext i16 %39 to i32\n %41 = add i32 %18, %40\n %42 = shl i32 %41, %28\n %43 = trunc i32 %42 to i16\n store i16 %43, i16* %38, align 2\n %indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1\n %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count\n store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem\n br i1 %exitcond, label LBL_3, label LBL_2\n LBL_3:\n %44 = add i64 %sv_0.013.reload, %12\n %45 = add i64 %sv_1.015.reload, %15\n %46 = add nuw nsw i32 %storemerge617.reload, 1\n %exitcond18 = icmp eq i32 %46, %7\n store i32 %46, i32* %storemerge617.reg2mem\n store i64 %45, i64* %sv_1.015.reg2mem\n store i64 %44, i64* %sv_0.013.reg2mem\n br i1 %exitcond18, label LBL_5, label LBL_4\n LBL_4:\n %sv_0.013.reload = load i64, i64* %sv_0.013.reg2mem\n %sv_1.015.reload = load i64, i64* %sv_1.015.reg2mem\n %storemerge617.reload = load i32, i32* %storemerge617.reg2mem\n store i64 0, i64* %indvars.iv.reg2mem\n br i1 %27, label LBL_2, label LBL_3\n LBL_5:\n %phitmp = and i64 %arg3, 4294967295\n store i64 %phitmp, i64* %storemerge6.lcssa.reg2mem\n br label LBL_6\n LBL_6:\n %storemerge6.lcssa.reload = load i64, i64* %storemerge6.lcssa.reg2mem\n ret i64 %storemerge6.lcssa.reload\n\n uselistorder i64 %29, { 1, 0 }\n uselistorder i32 %28, { 1, 0 }\n uselistorder i64 %0, { 3, 2, 0, 1 }\n uselistorder i64* %indvars.iv.reg2mem, { 1, 2, 0 }\n uselistorder i64* %storemerge6.lcssa.reg2mem, { 0, 2, 1 }\n uselistorder i64 4294967295, { 1, 0 }\n uselistorder label LBL_3, { 1, 0 }\n }", "label": "1" }, { "dataset": "CompRealVul", "file": "decode_sequence_of_13485", "fun_name": "decode_sequence_of", "llvm_ir_function": "define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64* %arg4, i64* %arg5) local_unnamed_addr {\n LBL_0:\n %storemerge.reg2mem = alloca i64\n %sv_0.0.reg2mem = alloca i64\n %sv_1.1.reg2mem = alloca i64\n %sv_2.0.off0.lcssa.reg2mem = alloca i64\n %sv_1.0.lcssa.reg2mem = alloca i64\n %.reg2mem71 = alloca i64\n %sv_1.033.reg2mem = alloca i64\n %sv_2.0.off034.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg3 to i64\n %sv_3 = alloca i64, align 8\n %sv_4 = alloca i64, align 8\n %sv_5 = alloca i64, align 8\n %sv_6 = alloca i64, align 8\n %sv_7 = alloca i64, align 8\n %1 = ptrtoint i64* %sv_7 to i64\n store i64 %arg1, i64* %sv_6, align 8\n store i64 %arg2, i64* %sv_5, align 8\n store i64 0, i64* %arg4, align 8\n store i64 0, i64* %arg5, align 8\n %2 = add i64 %1, -8\n %3 = inttoptr i64 %2 to i64*\n %4 = add i64 %1, -16\n %5 = inttoptr i64 %4 to i64*\n %6 = ptrtoint i64* %sv_5 to i64\n %7 = icmp eq i64 %arg2, 0\n %8 = icmp eq i1 %7, false\n store i64 %arg1, i64* %.reg2mem\n store i64 0, i64* %sv_2.0.off034.reg2mem\n store i64 0, i64* %sv_1.033.reg2mem\n store i64 %arg2, i64* %.reg2mem71\n store i64 0, i64* %sv_1.0.lcssa.reg2mem\n store i64 0, i64* %sv_2.0.off0.lcssa.reg2mem\n br i1 %8, label LBL_1, label LBL_7\n LBL_1:\n %.reload72 = load i64, i64* %.reg2mem71\n %sv_1.033.reload = load i64, i64* %sv_1.033.reg2mem\n %sv_2.0.off034.reload = load i64, i64* %sv_2.0.off034.reg2mem\n %.reload = load i64, i64* %.reg2mem\n store i64 0, i64* %3, align 8\n store i64 %6, i64* %5, align 8\n %9 = call i64 @FUNC(i64 %.reload, i64 %.reload72, i64* nonnull %sv_4, i64* nonnull %sv_3, i64* nonnull %sv_4, i64* nonnull %sv_6)\n %10 = trunc i64 %9 to i32\n %11 = icmp eq i32 %10, 0\n %12 = icmp eq i1 %11, false\n store i64 %sv_1.033.reload, i64* %sv_1.1.reg2mem\n store i64 %9, i64* %sv_0.0.reg2mem\n br i1 %12, label LBL_8, label LBL_2\n LBL_2:\n %13 = call i64 @FUNC(i64 %0, i64* nonnull %sv_4)\n %14 = trunc i64 %13 to i32\n %15 = icmp eq i32 %14, 0\n %16 = icmp eq i1 %15, false\n store i64 %sv_1.033.reload, i64* %sv_1.1.reg2mem\n store i64 4294967295, i64* %sv_0.0.reg2mem\n br i1 %16, label LBL_3, label LBL_8\n LBL_3:\n %17 = add i64 %sv_2.0.off034.reload, 1\n %18 = mul i64 %17, %17\n %19 = inttoptr i64 %sv_1.033.reload to i64*\n %20 = trunc i64 %18 to i32\n %21 = call i64* @realloc(i64* %19, i32 %20)\n %22 = icmp eq i64* %21, null\n %23 = icmp eq i1 %22, false\n store i64 %sv_1.033.reload, i64* %sv_1.1.reg2mem\n store i64 4294967294, i64* %sv_0.0.reg2mem\n br i1 %23, label LBL_4, label LBL_8\n LBL_4:\n %24 = ptrtoint i64* %21 to i64\n %25 = mul i64 %18, %sv_2.0.off034.reload\n %26 = add i64 %25, %24\n %27 = inttoptr i64 %26 to i64*\n %28 = trunc i64 %25 to i32\n %29 = call i64* @memset(i64* %27, i32 0, i32 %28)\n %30 = load i64, i64* %sv_4, align 8\n %31 = load i64, i64* %sv_3, align 8\n %32 = call i64 @FUNC(i64* nonnull %sv_4, i64 %31, i64 %30, i64 %0, i64 %26)\n %33 = trunc i64 %32 to i32\n %34 = icmp eq i32 %33, 0\n %35 = icmp eq i1 %34, false\n store i64 %24, i64* %sv_1.1.reg2mem\n store i64 %32, i64* %sv_0.0.reg2mem\n br i1 %35, label LBL_8, label LBL_4.dec_label_pc_401300_crit_edge\n LBL_5:\n %.pre = load i64, i64* %sv_5, align 8\n %36 = icmp eq i64 %.pre, 0\n %37 = icmp eq i1 %36, false\n store i64 %24, i64* %sv_1.0.lcssa.reg2mem\n store i64 %17, i64* %sv_2.0.off0.lcssa.reg2mem\n br i1 %37, label LBL_4.dec_label_pc_401300_crit_edge.LBL_1_crit_edge, label LBL_7\n LBL_6:\n %.pre70 = load i64, i64* %sv_6, align 8\n store i64 %.pre70, i64* %.reg2mem\n store i64 %17, i64* %sv_2.0.off034.reg2mem\n store i64 %24, i64* %sv_1.033.reg2mem\n store i64 %.pre, i64* %.reg2mem71\n br label LBL_1\n LBL_7:\n %sv_2.0.off0.lcssa.reload = load i64, i64* %sv_2.0.off0.lcssa.reg2mem\n %sv_1.0.lcssa.reload = load i64, i64* %sv_1.0.lcssa.reg2mem\n store i64 %sv_1.0.lcssa.reload, i64* %arg4, align 8\n store i64 %sv_2.0.off0.lcssa.reload, i64* %arg5, align 8\n store i64 0, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem\n %38 = call i64 @FUNC(i64 %0, i64 %sv_1.1.reload, i64 %sv_2.0.off034.reload)\n %39 = inttoptr i64 %sv_1.1.reload to i64*\n call void @free(i64* %39)\n %40 = and i64 %sv_0.0.reload, 4294967295\n store i64 %40, i64* %storemerge.reg2mem\n br label LBL_9\n LBL_9:\n %storemerge.reload = load i64, i64* %storemerge.reg2mem\n ret i64 %storemerge.reload\n\n uselistorder i64 %25, { 1, 0 }\n uselistorder i64 %24, { 2, 1, 0, 3 }\n uselistorder i64* %21, { 1, 0 }\n uselistorder i64 %17, { 1, 0, 2, 3 }\n uselistorder i64 %sv_2.0.off034.reload, { 2, 0, 1 }\n uselistorder i64 %sv_1.033.reload, { 0, 3, 1, 2 }\n uselistorder i64* %sv_4, { 0, 4, 1, 2, 3 }\n uselistorder i64* %sv_3, { 1, 0 }\n uselistorder i64 %0, { 2, 0, 1 }\n uselistorder i64* %.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_2.0.off034.reg2mem, { 2, 0, 1 }\n uselistorder i64* %sv_1.033.reg2mem, { 2, 0, 1 }\n uselistorder i64* %.reg2mem71, { 2, 0, 1 }\n uselistorder i64* %sv_1.1.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 3, 1, 2, 4 }\n uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }\n uselistorder i64 1, { 1, 0 }\n uselistorder i32 0, { 1, 0, 2, 3 }\n uselistorder i1 false, { 5, 1, 2, 3, 4, 0 }\n uselistorder label LBL_8, { 2, 0, 1, 3 }\n uselistorder label LBL_1, { 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "ff_pca_init_495", "fun_name": "ff_pca_init", "llvm_ir_function": "define i64 @FUNC(i64 %arg1) local_unnamed_addr {\n LBL_0:\n %rax.0.reg2mem = alloca i64\n %0 = trunc i64 %arg1 to i32\n %1 = icmp eq i32 %0, 0\n %2 = icmp slt i32 %0, 0\n %3 = icmp eq i1 %2, false\n %4 = icmp eq i1 %1, false\n %5 = icmp eq i1 %3, %4\n store i64 0, i64* %rax.0.reg2mem\n br i1 %5, label LBL_1, label LBL_5\n LBL_1:\n %6 = call i64 @FUNC(i64 40)\n %7 = icmp eq i64 %6, 0\n %8 = icmp eq i1 %7, false\n store i64 0, i64* %rax.0.reg2mem\n br i1 %8, label LBL_2, label LBL_5\n LBL_2:\n %sext = mul i64 %arg1, 4294967296\n %9 = inttoptr i64 %6 to i32*\n store i32 %0, i32* %9, align 4\n %10 = ashr exact i64 %sext, 32\n %11 = call i64 @FUNC(i64 %10, i64 8)\n %12 = add i64 %6, 8\n %13 = inttoptr i64 %12 to i64*\n store i64 %11, i64* %13, align 8\n %14 = add i64 %6, 16\n %15 = inttoptr i64 %14 to i32*\n store i32 0, i32* %15, align 4\n %sext6 = mul i64 %10, %sext\n %16 = ashr exact i64 %sext6, 32\n %17 = call i64 @FUNC(i64 %16, i64 8)\n %18 = add i64 %6, 24\n %19 = inttoptr i64 %18 to i64*\n store i64 %17, i64* %19, align 8\n %20 = call i64 @FUNC(i64 %10, i64 8)\n %21 = add i64 %6, 32\n %22 = inttoptr i64 %21 to i64*\n store i64 %20, i64* %22, align 8\n %23 = load i64, i64* %13, align 8\n %24 = icmp eq i64 %23, 0\n br i1 %24, label LBL_4, label LBL_3\n LBL_3:\n %25 = load i64, i64* %19, align 8\n %26 = icmp ne i64 %25, 0\n %27 = icmp eq i64 %20, 0\n %28 = icmp eq i1 %27, false\n %or.cond = icmp eq i1 %28, %26\n store i64 %6, i64* %rax.0.reg2mem\n br i1 %or.cond, label LBL_5, label LBL_4\n LBL_4:\n %29 = call i64 @FUNC(i64 %6)\n store i64 0, i64* %rax.0.reg2mem\n br label LBL_5\n LBL_5:\n %rax.0.reload = load i64, i64* %rax.0.reg2mem\n ret i64 %rax.0.reload\n\n uselistorder i64 %10, { 1, 0, 2 }\n uselistorder i64 %sext, { 1, 0 }\n uselistorder i64 %6, { 1, 0, 2, 3, 4, 5, 6, 7 }\n uselistorder i32 %0, { 0, 2, 1 }\n uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 2, 3 }\n uselistorder i64 (i64, i64)* @av_calloc, { 1, 0 }\n uselistorder i64 8, { 0, 1, 3, 2, 4 }\n uselistorder i64 32, { 2, 0, 1, 3 }\n uselistorder i1 false, { 0, 2, 3, 1 }\n uselistorder i32 1, { 0, 2, 1 }\n uselistorder label LBL_5, { 3, 0, 1, 2 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "kvm_emulate_hypercall_7029", "fun_name": "kvm_emulate_hypercall", "llvm_ir_function": "define i64 @FUNC(i64* %arg1) local_unnamed_addr {\n LBL_0:\n %sv_0.0.reg2mem = alloca i64\n %.reg2mem = alloca i64\n %sv_1.0.reg2mem = alloca i64\n %sv_2.0.reg2mem = alloca i64\n %sv_3.0.reg2mem = alloca i64\n %sv_4.0.reg2mem = alloca i64\n %0 = ptrtoint i64* %arg1 to i64\n %sv_5 = alloca i64, align 8\n %1 = call i64 @FUNC(i64 %0, i64 0)\n %2 = call i64 @FUNC(i64 %0, i64 1)\n %3 = call i64 @FUNC(i64 %0, i64 2)\n %4 = call i64 @FUNC(i64 %0, i64 3)\n %5 = call i64 @FUNC(i64 %0, i64 4)\n %6 = call i64 @FUNC(i64 %1, i64 %2, i64 %3, i64 %4, i64 %5)\n %7 = call i64 @FUNC(i64 %0)\n %8 = trunc i64 %7 to i32\n %9 = icmp eq i32 %8, 0\n %10 = icmp eq i1 %9, false\n store i64 %1, i64* %sv_4.0.reg2mem\n store i64 %2, i64* %sv_3.0.reg2mem\n store i64 %3, i64* %sv_2.0.reg2mem\n store i64 %4, i64* %sv_1.0.reg2mem\n br i1 %10, label LBL_2, label LBL_1\n LBL_1:\n %11 = and i64 %1, 4294967295\n %12 = and i64 %2, 4294967295\n %13 = and i64 %3, 4294967295\n %14 = and i64 %4, 4294967295\n store i64 %11, i64* %sv_4.0.reg2mem\n store i64 %12, i64* %sv_3.0.reg2mem\n store i64 %13, i64* %sv_2.0.reg2mem\n store i64 %14, i64* %sv_1.0.reg2mem\n br label LBL_2\n LBL_2:\n %15 = trunc i64 %0 to i32\n %16 = icmp eq i32 %15, 0\n br i1 %16, label LBL_4, label LBL_3\n LBL_3:\n store i64 1, i64* %sv_5, align 8\n store i64 1, i64* %.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_4:\n %sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem\n switch i64 %sv_4.0.reload, label LBL_7 [\n i64 0, label LBL_5\n i64 1, label LBL_6\n ]\n LBL_5:\n store i64 0, i64* %sv_5, align 8\n store i64 0, i64* %.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_6:\n %sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem\n %sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem\n %sv_3.0.reload = load i64, i64* %sv_3.0.reg2mem\n %17 = call i64 @FUNC(i64 %0, i64 %sv_2.0.reload, i64 %sv_1.0.reload)\n %18 = call i64 @FUNC(i64 %0, i64 %sv_3.0.reload, i64 %17, i64* nonnull %sv_5)\n %phitmp = and i64 %18, 4294967295\n %.pre = load i64, i64* %sv_5, align 8\n store i64 %.pre, i64* %.reg2mem\n store i64 %phitmp, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_7:\n store i64 2, i64* %sv_5, align 8\n store i64 2, i64* %.reg2mem\n store i64 1, i64* %sv_0.0.reg2mem\n br label LBL_8\n LBL_8:\n %sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem\n %.reload = load i64, i64* %.reg2mem\n %19 = call i64 @FUNC(i64 %0, i64 0, i64 %.reload)\n %20 = add i64 %0, 1\n store i64 %20, i64* %arg1, align 8\n ret i64 %sv_0.0.reload\n\n uselistorder i64 %4, { 1, 0, 2 }\n uselistorder i64 %3, { 1, 0, 2 }\n uselistorder i64 %2, { 1, 0, 2 }\n uselistorder i64 %1, { 1, 0, 2 }\n uselistorder i64* %sv_5, { 2, 0, 1, 3, 4 }\n uselistorder i64 %0, { 1, 0, 3, 4, 2, 5, 6, 7, 8, 9, 10 }\n uselistorder i64* %.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 3, 4, 1 }\n uselistorder i64 4294967295, { 0, 4, 3, 2, 1 }\n uselistorder i64 2, { 0, 2, 1 }\n uselistorder i64 1, { 8, 1, 2, 5, 0, 3, 7, 6, 4 }\n uselistorder i64 (i64, i64)* @kvm_register_read, { 4, 3, 2, 1, 0 }\n }", "label": "0" }, { "dataset": "CompRealVul", "file": "qemu_system_shutdown_request_769", "fun_name": "qemu_system_shutdown_request", "llvm_ir_function": "define i64 @FUNC() local_unnamed_addr {\n LBL_0:\n %0 = call i64 @FUNC()\n %1 = call i64 @FUNC()\n store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8\n %2 = call i64 @FUNC()\n ret i64 %2\n }", "label": "0" } ]